下载、解压、编译
wget http://download.redis.io/releases/redis-4.0.10.tar.gz tar xzf redis-4.0.10.tar.gz cd redis-4.0.10
# 需要gcc, yum install gcc make
常用命令
./redis-server ../redis.conf ./redis-cli shutdown killall -9 redis-server ./redis-cli -h host -p port -a password