-
-
Save timonweb/9551591 to your computer and use it in GitHub Desktop.
Revisions
-
antond revised this gist
Aug 6, 2012 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ 1.CentOS 6.3 #yum install make gcc #cd /opt $wget http://redis.googlecode.com/files/redis-2.x.xx.tar.gz $tar zxf redis-2.x.xx.tar.gz $cd redis-2.x.xx -
ponych created this gist
Jun 6, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ 1.安装(CentOS 6.2) $wget http://redis.googlecode.com/files/redis-2.x.xx.tar.gz $tar zxf redis-2.x.xx.tar.gz $cd redis-2.x.xx $make $make install ////// mkdir -p /usr/local/bin cp -pf redis-server /usr/local/bin cp -pf redis-benchmark /usr/local/bin cp -pf redis-cli /usr/local/bin cp -pf redis-check-dump /usr/local/bin cp -pf redis-check-aof /usr/local/bin make[1]: Leaving directory `/home/eric/redis-2.4.14/src' /////// $sudo cp redis.conf /etc/redis.conf $sudo mkdir /var/redis $sudo chown nobody:nobody /var/redis //// redisctl https://gist.github.com/2882960 //// redis.conf https://gist.github.com/2882936