This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. pip 설치를 위한 python-setuptools 다운 | |
wget http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg | |
# 2. pip 설치를 위한 python-setuptools 설치 | |
sh setuptools-0.6c11-py2.7.egg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 필요 패키지들 설치 | |
yum -y groupinstall 'Development Tools' | |
yum -y install openssl-devel* ncurses-devel* zlib*.x86_64 | |
yum -y install bzip2 bzip2-devel bzip2-libs | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo iptables -t nat -A PREROUTING -p tcp -d your_ip_address --dport 80 -j REDIRECT --to-port 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char * space_remove(char *str) | |
{ | |
// change BUF_SIZE depending on the length of your string | |
char buf[BUF_SIZE]={0,}; | |
char *p; | |
p = strtok(str, "\r\n\t "); | |
strcat(buf, p); | |
while(p!=NULL){ | |
p = strtok(NULL, "\r\n\t "); | |
if(p!=NULL) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[local|localrc]] | |
DEST=/opt | |
# If git protocol is blocked in your testing environment | |
# GIT_BASE=${GIT_BASE:-https://git.openstack.org} | |
# Credentials | |
DATABASE_PASSWORD=openstack |
NewerOlder