启动:
src/redis-server

客户端连接测试:
src/redis-cli

配置

cp redis /etc/init.d/
chmod +x /etc/init.d/redis
service redis status

在redis-cli中使用
auth {password} 进行认证

获取当前配置
CONFIG GET *

变更运行配置
CONFIG SET loglevel "notice"

rdb到aof切换

CONFIG SET appendonly yes

CONFIG SET save ""

 

相关文章:

  • 2021-06-10
  • 2021-06-14
  • 2022-12-23
猜你喜欢
  • 2021-04-02
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案