[root@localhost apps]# redis-cli shutdown
[root@localhost apps]# redis-server /opt/apps/redis-7.2.4/redis.conf
关闭redis,关闭防火墙,在改好redis.conf文件后,启动时以配置文件的方式启动即可成功访问
[root@localhost apps]# redis-cli shutdown
[root@localhost apps]# redis-server /opt/apps/redis-7.2.4/redis.conf
关闭redis,关闭防火墙,在改好redis.conf文件后,启动时以配置文件的方式启动即可成功访问