redis官网 https://redis.io/download
下载稳定版
wget http://download.redis.io/redis-stable.tar.gz
tar -xvf redis-stable.tar.gz
cd redis-stable
make
vi redis.conf
daemonize no 改为 yes,后台启动
logfile "/data/redis.log"
启动
./src/redis-server redis.conf
ps -ef|grep redis