Redis客户端安装以及密码设置

1、redis客户端安装

redis客户端安装

2、redis密码设置

命令行设置

redis-cli -h hostname -p port   
config set requirepass password  
config get requirepass   

退出
redis-cli -h hostname -p port -a password

配置文件设置
cat redis.concf

port 6379
pidfile /var/run/redis.pid 
appendonly yes
protected-mode no
requirepass password   

redis-server redis.conf运行redis

3、redis可视化工具

redis desktop manager