原文链接:
https://www.openprogrammer.info/2015/05/10/how-to-install-redis-3-x-on-new-centos-6-6-server/
Installing Redis on clean CentOS.
Pre installation Redis
Install Redis
Check Redis status/start/stop
Set a password (Very Important)
1
2
3
4
5
|
nano
/
etc
/
redis
/
6379.conf
# find # requirepass foobared
#replace it with your password
requirepass
somePassword
service
redis_6379
restart
|
#make sure to have custom firewall permissions with the password, you can use iptables.