Skip to content

Instantly share code, notes, and snippets.

@antond
Forked from ponych/redis install
Created August 6, 2012 19:34
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save antond/3277842 to your computer and use it in GitHub Desktop.
Save antond/3277842 to your computer and use it in GitHub Desktop.
redis install on CentOS
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
$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
Copy link

ghost commented Jun 15, 2014

FWIW, googlecode doesn't host the latest production release; use

http://download.redis.io/releases/redis-2.8.11.tar.gz

instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment