Permalink
Browse files

Update scripts/install_and_run_redis_2_6

  • Loading branch information...
1 parent f8aed32 commit 9a4b0b4a9e3b1a8210dc4c7a0d834cb1861be213 proby committed Sep 18, 2012
Showing with 7 additions and 9 deletions.
  1. +7 −9 scripts/install_and_run_redis_2_6
@@ -20,9 +20,6 @@ REDIS_VERSION=2.6.0-rc6
# Check what is running
redis-cli info | grep redis_version
-# shutdown the 2.4 server
-redis-cli shutdown
-
# download
wget http://redis.googlecode.com/files/redis-$REDIS_VERSION.tar.gz
@@ -37,15 +34,16 @@ make
# daemonize!
echo "daemonize yes" > redis.conf
-# start the 2.6 server
-#cd $REDIS_26_DIR
-#./src/redis-server redis.conf
-sudo cp src/redis-server /usr/local/bin/
-sudo cp src/redis-cli /usr/local/bin/
-redis-server redis.conf
+ps aux | grep redis
+# shutdown the 2.4 server
+redis-cli shutdown
ps aux | grep redis
+# start the 2.6 server
+./src/redis-server redis.conf
+
+ps aux | grep redis
# Verify that 2.6 is running
redis-cli info | grep redis_version

0 comments on commit 9a4b0b4

Please sign in to comment.