Skip to content

Instantly share code, notes, and snippets.

@ivanfioravanti
Forked from antond/redis install
Last active December 15, 2015 07:39
Show Gist options
  • Save ivanfioravanti/5224984 to your computer and use it in GitHub Desktop.
Save ivanfioravanti/5224984 to your computer and use it in GitHub Desktop.
1.CentOS 6.4
#yum groupinstall "Development tools"
$wget http://redis.googlecode.com/files/redis-2.6.14.tar.gz
$tar zxf redis-2.6.14.tar.gz
$cd redis-2.6.14
$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
///////
$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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment