From 371d1c134cd216cd4cbe881cd9c02ae9d804ac0d Mon Sep 17 00:00:00 2001 From: joy Date: Thu, 20 Nov 2025 10:41:12 +0800 Subject: [PATCH] 123 --- scripts/README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/scripts/README.md b/scripts/README.md index 28a14c6..6534c3a 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -250,9 +250,15 @@ cd /opt/ && wget -qO- http://116.205.97.109/scripts/Gitlab.sh |bash -s -- --unin #kafka -#redis - - +#redis【哨兵集群模式】 +cat > /opt/ip.txt << EOF +192.168.61.131 +192.168.61.132 +192.168.61.133 +EOF +cd /opt/ && wget -qO- http://116.205.97.109/scripts/ssh.sh |bash -s -- --file=/opt/ip.txt --user=root --passwd=XXXXXX #免密 +cd /opt/ && wget -qO- http://116.205.97.109/scripts/redis.sh |bash -s -- --install --ip=IP1(主),IP2,IP3 --passwd=XXXXXX #安装 +cd /opt/ && wget -qO- http://116.205.97.109/scripts/redis.sh |bash -s -- --uninstall -ip=IP1(主),IP2,IP3 --passwd=XXXXXX #卸载 #harbor