启动redis:
src/redis-server redis6381.conf
启动配置文件为redis6381.conf的redis 服务
执行以下命令使用主的redis服务停止
redis-cli -h 192.168.9.18 -p 6379 shutdown #表示把192.168.9.18这台redis 关闭
本文介绍了如何通过配置文件启动特定端口的Redis服务,并演示了如何远程关闭指定IP地址的Redis服务实例。
启动redis:
src/redis-server redis6381.conf
启动配置文件为redis6381.conf的redis 服务
执行以下命令使用主的redis服务停止
redis-cli -h 192.168.9.18 -p 6379 shutdown #表示把192.168.9.18这台redis 关闭

被折叠的 条评论
为什么被折叠?