From 602d501ab6d8c892cbc2a337b716023c34a9d7e1 Mon Sep 17 00:00:00 2001 From: TrumanDu Date: Wed, 3 Apr 2019 08:25:50 +0800 Subject: [PATCH] update readme --- README.md | 8 ++++---- README_zh.md | 11 +++++------ doc/TODO.md | 2 +- doc/zh-CN/TODO.md | 2 +- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f0facee..f85f35c 100644 --- a/README.md +++ b/README.md @@ -53,20 +53,20 @@ For example, click rct-dashboard -2.0.0-release.tar.gz to download and extract i 1. Preferred startup control center RCT-dashboard - Default Settings ``` - docker run -d --net=host xaecbd/rct-dashboard:2.0.0 + docker run -d --net=host xaecbd/rct-dashboard:latest ``` - Custom configurations (before execution, please placed on the host config/application.properties db/data.db) ``` - docker run -d -v /opt/app/rct/rct-dashboard/config:/opt/app/rct/rct-dashboard/config -v /opt/app/rct/rct-dashboard/db:/opt/app/rct/rct-dashboard/db --net=host xaecbd/rct-dashboard:2.0.0 + docker run -d -v /opt/app/rct/rct-dashboard/config:/opt/app/rct/rct-dashboard/config -v /opt/app/rct/rct-dashboard/db:/opt/app/rct/rct-dashboard/db --net=host xaecbd/rct-dashboard:latest ``` 2. Start the analyzer rct-analyze - Default Settings ``` - docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" --net=host xaecbd/rct-analyze:2.0.0 + docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" --net=host xaecbd/rct-analyze:latest ``` - Custom configurations (before execution, please place the config/application.properties on the host) ``` - docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:2.0.0 + docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:latest ``` Adjust the maximum heap size appropriately based on the RDB size. diff --git a/README_zh.md b/README_zh.md index c6f05d8..a906321 100644 --- a/README_zh.md +++ b/README_zh.md @@ -32,8 +32,7 @@ RCT 是一个通过解析rdb文件对redis内存结构分析的一站式平台 ## 快速开始 ### jre(linux和windows) - 在开始之前,首先确保安装jre1.8+,在release中下载发布包。 - + 在开始之前,首先确保安装jre1.8+,在release中下载**最新版本**发布包。 如点击RCT-Dashboard-2.0.0-release.tar.gz下载,解压(windows下可用winRAR软件解压,linux下可用命令```tar xvf RCT-Dashboard-2.0.0-release.tar.gz ```) 如点击RCT-Analyze-2.0.0-release.tar.gz下载,解压(windows下可用winRAR软件解压,linux下可用命令 @@ -53,20 +52,20 @@ RCT 是一个通过解析rdb文件对redis内存结构分析的一站式平台 1. 首选启动控制中心RCT-Dashboard - 默认配置 ``` - docker run -d --net=host xaecbd/rct-dashboard:2.0.0 + docker run -d --net=host xaecbd/rct-dashboard:latest ``` - 自定义配置(在执行之前,请先在宿主机上放置config/application.properties db/data.db) ``` - docker run -d -v /opt/app/rct/rct-dashboard/config:/opt/app/rct/rct-dashboard/config -v /opt/app/rct/rct-dashboard/db:/opt/app/rct/rct-dashboard/db --net=host xaecbd/rct-dashboard:2.0.0 + docker run -d -v /opt/app/rct/rct-dashboard/config:/opt/app/rct/rct-dashboard/config -v /opt/app/rct/rct-dashboard/db:/opt/app/rct/rct-dashboard/db --net=host xaecbd/rct-dashboard:latest ``` 2. 启动分析器RCT-Analyze - 默认配置 ``` - docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" --net=host xaecbd/rct-analyze:2.0.0 + docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" --net=host xaecbd/rct-analyze:latest ``` - 自定义配置(在执行之前,请先在宿主机上放置config/application.properties) ``` - docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:2.0.0 + docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:latest ``` 根据RDB大小,适当调整最大堆大小 3. 进入系统 diff --git a/doc/TODO.md b/doc/TODO.md index 1107ca5..f19f77b 100644 --- a/doc/TODO.md +++ b/doc/TODO.md @@ -1,5 +1,5 @@ 1. ~~[upgrate redis-replicator version](https://github.com/xaecbd/RCT/issues/2)~~ -2. rebuild **PrefixAnalyzer** prefix matching algorithm. +2. ~~~rebuild **PrefixAnalyzer** prefix matching algorithm.~~~ 3. develop rct-lite 4. add new analyze feature 5. update history report size to user-defined \ No newline at end of file diff --git a/doc/zh-CN/TODO.md b/doc/zh-CN/TODO.md index 1107ca5..f19f77b 100644 --- a/doc/zh-CN/TODO.md +++ b/doc/zh-CN/TODO.md @@ -1,5 +1,5 @@ 1. ~~[upgrate redis-replicator version](https://github.com/xaecbd/RCT/issues/2)~~ -2. rebuild **PrefixAnalyzer** prefix matching algorithm. +2. ~~~rebuild **PrefixAnalyzer** prefix matching algorithm.~~~ 3. develop rct-lite 4. add new analyze feature 5. update history report size to user-defined \ No newline at end of file