卸载 Redis Software
提示
来自deepseek解释
原文链接:https://redis.io/docs/latest/operate/rs/installing-upgrading/uninstalling/
使用脚本 rl_uninstall.sh 卸载 Redis Software 并从节点移除其文件。该脚本还会从节点删除所有 Redis 数据和配置。
卸载脚本不会将节点从集群中移除,但节点状态会变为 down(离线)。有关节点移除的说明,请参见移除集群节点。
卸载 Redis Software
要从集群节点卸载 Redis Software:
导航到脚本所在位置,默认位于
/opt/redislabs/bin/。以 root 用户身份运行卸载脚本:
shsudo ./rl_uninstall.sh
在节点上运行卸载脚本时,它仅从该节点卸载 Redis Software。要为整个集群卸载 Redis Software,需要在每个集群节点上运行卸载脚本。