安装Redis
通过epel安装redis
sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum --enablerepo=epel -y install redis
sudo /etc/init.d/redis start
sudo chkconfig redis on
允许外部连接
sudo cp /etc/redis.conf /etc/redis.conf.org
sudo vim /etc/redis.conf
-bind 127.0.0.0
+bind 0.0.0.0
只进行动作确认就完结了。
redis-cli
# redis 127.0.0.1:6379> exit
``
以上