Linux安装redis
yum install gcc-c++
make
make install
/root/usr/local/bin
使用redis-cli进行连接测试
shutdown 关闭redis
exit 退出
ps -ef|grep redis