http://sharadchhetri.com/2014/10/04/install-redis-server-centos-7-rhel-7/
sudo yum install redis
systemctl start redis.service
sudo systemctl start redis.service
sudo systemctl status redis.service
redis-cli ping
sudo firewall-cmd --zone=public --add-port=6379/tcp --permanent
sudo firewall-cmd --reload
sudo yum install redis
systemctl start redis.service
sudo systemctl start redis.service
sudo systemctl status redis.service
redis-cli ping
sudo firewall-cmd --zone=public --add-port=6379/tcp --permanent
sudo firewall-cmd --reload
ss -nlp|grep redis
http://blog.andolasoft.com/2013/07/how-to-install-and-configure-redis-server-on-centosfedora-server.html
edit the /etc/redis.conf file and bind the servers ip address to the localhost address
bind 127.0.0.1 192.168.1.155
comment out the following line
bind 127.0.0.1
sudo systemctl restart redis
redis-cli -h 192.168.1.155 ping
No comments:
Post a Comment