Thursday, April 11, 2013

ubuntu install twisted, redis, restmq

Step 1 : install twisted
root@restmq:~# apt-get install python python-twisted python-twisted-web python-openssl python-simplejson python-setuptools intltool python-xdg python-chardet geoip-database python-libtorrent python-notify python-pygame python-glade2 librsvg2-common xdg-utils python-mako

Step 2: install redis.

root@restmq:~# apt-get install make cpp gcc


==========================

Installing Redis: jemalloc/jemalloc.h: No such file or directory


make distclean


root@restmq:/opt/redis-2.6.12/src# ./redis-server ../redis.conf
root@restmq:/opt/redis-2.6.12/src# pwd
/opt/redis-2.6.12/src
root@restmq:/opt/redis-2.6.12/src# ps -ef | grep redis
root     28454     1  0 22:27 ?        00:00:00 ./redis-server ../redis.conf
root     28458 18551  0 22:27 pts/1    00:00:00 grep --color=auto redis
root@restmq:/opt/redis-2.6.12/src# telnet localhost 6379
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.


Step 3: install restMQ:

==============================================

root@restmq:/opt/restmq/start_scripts# ./restmq_server --listen=192.168.1.44

No comments:

Post a Comment