wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-10.noarch.rpm
rpm -ivh epel-release-7-10.noarch.rpm
vi /etc/redis.conf 改监听
/bin/systemctl start redis.service
netstat -an|grep 6379
firewall-cmd --zone=public --add-port=6379/tcp --permanent
firewall-cmd --reload