启动文件 startredis.sh  : 

nohup /data/redis/bin/redis-server /data/redis/etc/redis.conf &

关闭文件 stopredis.sh  :

nohup /data/redis/bin/redis-cli -p 6379 -a Cb201609(redis密码) shutdown &

 

 

Windows下cmd

#redis 密码配置
cd d:\programs\redis
redis-cli -h 127.0.0.1 -p 6379 -a Cb201609(密码)
config set requirepass Cb201609
config get requirepass

相关文章:

  • 2021-10-08
  • 2021-07-01
  • 2021-12-13
  • 2021-10-13
  • 2022-01-01
猜你喜欢
  • 2021-05-30
  • 2021-07-17
  • 2022-12-23
  • 2021-11-18
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案