linux卸载redis

正文开始

pkill redis-server 关闭redis服务器 ps aux | grep redis 查看redis进程id 假如是 12345678 kill -9 12345678 回车即可(非正常关闭) ./bin/redis-cli shutdown(正常关闭)

正文结束

Could not connect to Redis at 127.0.0.1:6379: Connection refused php redis zrem、srem 批量移除