Centos intall Redis


wget http://download.redis.io/releases/redis-5.0.5.tar.gz
tar zxvf redis-5.0.5.tar.gz
mv redis-5.0.5 /usr/local/
cd /usr/local/redis
make
make test
make install
mkdir bin
cd src/
mv mkreleasehdr.sh redis-benchmark redis-check-aof redis-check-rdb redis-cli redis-server /usr/local/redis/bin/
mkdir ../conf
mv redis.conf conf/

├── bin
    ├── dump.rdb
    ├── mkreleasehdr.sh
    ├── redis-benchmark
    ├── redis-check-aof
    ├── redis-check-rdb
    ├── redis-cli
    └── redis-server
├── BUGS
├── conf
    ├── redis.conf
├── CONTRIBUTING
├── COPYING
├── sentinel.conf
├── src
├── tests
└── utils


cd conf/
vim redis.conf 
/usr/local/redis/bin/redis-server /usr/local/redis/conf/redis.conf