Setting up redis on your VPS
Download, unzip and install redis:
$ curl -O http://redis.googlecode.com/files/redis-2.2.2.tar.gz
$ tar xzf redis-2.2.2.tar.gz
$ cd redis-2.2.2
$ make
then move the redis server launching script (redis-server) and the inbuilt redis client (redis-cli) to the /usr/bin/ folder so that these are accessible like terminal commands.
$ mv redis-server /usr/bin/
$ mv redis-cli /usr/bin/
and you are set. Now if you plan to use redis with python you might also wanna install the redis-python library:
$ easy_install redis
$ curl -O http://redis.googlecode.com/files/redis-2.2.2.tar.gz
$ tar xzf redis-2.2.2.tar.gz
$ cd redis-2.2.2
$ make
then move the redis server launching script (redis-server) and the inbuilt redis client (redis-cli) to the /usr/bin/ folder so that these are accessible like terminal commands.
$ mv redis-server /usr/bin/
$ mv redis-cli /usr/bin/
and you are set. Now if you plan to use redis with python you might also wanna install the redis-python library:
$ easy_install redis
Comments
Post a Comment