diff --git a/plugins/redis/index.html b/plugins/redis/index.html
index ec400b9cc..3b3944cf5 100755
--- a/plugins/redis/index.html
+++ b/plugins/redis/index.html
@@ -20,7 +20,9 @@
复制状态
集群状态
集群节点
- 日志
+ 运行日志
+ 相关说明
+
diff --git a/plugins/redis/install.sh b/plugins/redis/install.sh
index ca9af8c7b..22b40fd23 100755
--- a/plugins/redis/install.sh
+++ b/plugins/redis/install.sh
@@ -10,6 +10,7 @@ serverPath=$(dirname "$rootPath")
# https://www.cnblogs.com/zlonger/p/16177595.html
# https://www.cnblogs.com/BNTang/articles/15841688.html
+# ps -ef|grep redis |grep -v grep | awk '{print $2}' | xargs kill
# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/redis && bash install.sh install 7.2.2
diff --git a/plugins/redis/js/redis.js b/plugins/redis/js/redis.js
index 70835a7c6..1697e96aa 100755
--- a/plugins/redis/js/redis.js
+++ b/plugins/redis/js/redis.js
@@ -279,3 +279,19 @@ function submitConf(version) {
});
}
+
+function redisReadme(){
+ var cmd_01 = '/www/server/redis/bin/redis-cli --cluster create 127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 --cluster-replicas 0';
+ var cmd_02 = '/www/server/redis/bin/redis-cli --cluster create 127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 127.0.0.1:6382 127.0.0.1:6383 127.0.0.1:6384 --cluster-replicas 1';
+
+
+ var readme = '
';
+ readme += '- 集群创建1
';
+ readme += '- '+cmd_01+'
';
+ readme += '- 集群创建2
';
+ readme += '- '+cmd_02+'
';
+ readme += '
';
+
+ $('.soft-man-con').html(readme);
+}
+