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