diff options
Diffstat (limited to 'redis.sh')
-rw-r--r-- | redis.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,4 +9,8 @@ wget -O - "http://redis.googlecode.com/files/redis-2.2.2.tar.gz" | tar zxv cd redis-2.2.2 make install echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf +mkdir -p /opt/redis +echo "daemonize yes" > /opt/redis/redis.conf +echo "dir `pwd`" >> /opt/redis/redis.conf +edis-server /opt/redis/redis.conf cd $dir |