단어 httpcws&&대기 열 httpsqs 설치
3667 단어 대기 열 httpsqs 설치단어
- # :
- cd /usr/local/
- wget http://httpcws.googlecode.com/files/httpcws-1.0.0-x86_64-bin.tar.gz
- tar zxvf httpcws-1.0.0-x86_64-bin.tar.gz
- rm -f httpcws-1.0.0-x86_64-bin.tar.gz
- mv httpcws-1.0.0-x86_64-bin/ httpcws
- cd httpcws/
- ulimit -SHn 65535
- #/usr/local/httpcws/httpcws -d -x /usr/local/httpcws/dict/
- echo '/usr/local/httpcws/httpcws -d -x /usr/local/httpcws/dict/' >>/etc/rc.local
- ##
- ##http://code.google.com/p/httpcws/
- #
- cd ~
- ulimit -SHn 65535
- wget http://httpsqs.googlecode.com/files/libevent-2.0.12-stable.tar.gz
- tar zxvf libevent-2.0.12-stable.tar.gz
- cd libevent-2.0.12-stable/
- ./configure --prefix=/usr/local/libevent-2.0.12-stable/
- make
- make install
- cd ~
-
- wget http://httpsqs.googlecode.com/files/tokyocabinet-1.4.47.tar.gz
- tar zxvf tokyocabinet-1.4.47.tar.gz
- cd tokyocabinet-1.4.47/
- ./configure --prefix=/usr/local/tokyocabinet-1.4.47/
- make
- make install
- cd ~
-
- wget http://httpsqs.googlecode.com/files/httpsqs-1.7.tar.gz
- tar zxvf httpsqs-1.7.tar.gz
- cd httpsqs-1.7/
- make
- make install
-
- cd ~
- ##httpsqs -d -p 1218 -x /data/queue/
- echo ' httpsqs -d -p 1218 -x /data/queue/' >>/etc/rc.local
-
- ##
- httpsqs -d -p 1218 -x /data/queue/ &
- /usr/local/httpcws/httpcws -d -x /usr/local/httpcws/dict/ &
- ## :
- ## http://code.google.com/p/httpsqs/