vi /etc/redis/6380.conf
480requirepass 自己的密码

重启服务
service redis_6380 restart


或者重启服务器
reboot

Liunx测试
redis-cli -h 172.16.200.91 -p 6380 -a password

客户端

Centos 6.9 Redis 配置安全密码

相关文章:

  • 2021-11-28
  • 2021-05-29
  • 2022-12-23
  • 2021-11-28
  • 2021-04-02
  • 2021-05-11
  • 2021-12-07
  • 2022-12-23
猜你喜欢
  • 2021-10-17
  • 2022-01-03
  • 2021-06-06
  • 2021-12-12
  • 2021-10-25
相关资源
相似解决方案