From 3d83d52843d3cebe213c046744e68470e07d16ab Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Thu, 11 Oct 2018 14:16:42 +0800 Subject: [PATCH] :memo: Writing docs. --- codes/deploy/tool/jdk/README.md | 5 ++--- codes/deploy/tool/jenkins/README.md | 4 +--- codes/deploy/tool/kafka/README.md | 4 +--- codes/deploy/tool/mongodb/README.md | 4 +--- codes/deploy/tool/nginx/README.md | 8 ++------ codes/deploy/tool/nodejs/README.md | 4 +--- codes/deploy/tool/redis/README.md | 4 +--- codes/deploy/tool/rocketmq/README.md | 4 +--- codes/deploy/tool/tomcat/README.md | 2 ++ codes/deploy/tool/zookeeper/README.md | 4 +--- 10 files changed, 13 insertions(+), 30 deletions(-) diff --git a/codes/deploy/tool/jdk/README.md b/codes/deploy/tool/jdk/README.md index fa494e3..4b9c469 100644 --- a/codes/deploy/tool/jdk/README.md +++ b/codes/deploy/tool/jdk/README.md @@ -5,9 +5,7 @@ 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jdk/install-jdk8.sh -chmod -R 777 install-jdk8.sh -./install-jdk8.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jdk/install-jdk8.sh | bash ``` 脚本会下载解压 jdk8 到 `/opt/java` 路径下。 @@ -20,5 +18,6 @@ chmod -R 777 install-jdk8.sh wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jdk/install-jdk8-by-yum.sh chmod -R 777 install-jdk8-by-yum.sh ./install-jdk8-by-yum.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jdk/install-jdk8-by-yum.sh | bash ``` 脚本会下载解压 jdk8 到 `/usr/lib/jvm/java` 路径下。 diff --git a/codes/deploy/tool/jenkins/README.md b/codes/deploy/tool/jenkins/README.md index 9199014..af6b3d3 100644 --- a/codes/deploy/tool/jenkins/README.md +++ b/codes/deploy/tool/jenkins/README.md @@ -5,9 +5,7 @@ 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jenkins/install-jenkins.sh -chmod -R 777 install-jenkins.sh -./install-jenkins.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jenkins/install-jenkins.sh | bash ``` 脚本会下载解压 Jenkins 到 `/opt/jenkins` 路径下。 diff --git a/codes/deploy/tool/kafka/README.md b/codes/deploy/tool/kafka/README.md index 71f8011..b2de5e5 100644 --- a/codes/deploy/tool/kafka/README.md +++ b/codes/deploy/tool/kafka/README.md @@ -3,9 +3,7 @@ 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/kafka/install-kafka.sh -chmod -R 777 install-kafka.sh -./install-kafka.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/kafka/install-kafka.sh | bash ``` 脚本会下载解压 kafka 到 `/opt/kafka` 路径下。 diff --git a/codes/deploy/tool/mongodb/README.md b/codes/deploy/tool/mongodb/README.md index 8a516e8..bffc68a 100644 --- a/codes/deploy/tool/mongodb/README.md +++ b/codes/deploy/tool/mongodb/README.md @@ -3,9 +3,7 @@ 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/mongodb/install-mongodb.sh -chmod -R 777 install-mongodb.sh -./install-mongodb.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/mongodb/install-mongodb.sh | bash ``` 脚本会下载解压 redis 到 `/opt/mongodb` 路径下。 diff --git a/codes/deploy/tool/nginx/README.md b/codes/deploy/tool/nginx/README.md index d728a76..0e1da48 100644 --- a/codes/deploy/tool/nginx/README.md +++ b/codes/deploy/tool/nginx/README.md @@ -5,9 +5,7 @@ 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/nginx/install-nginx.sh -chmod -R 777 install-nginx.sh -./install-nginx.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/nginx/install-nginx.sh | bash ``` 脚本会下载解压 nginx 到 `/opt/nginx` 路径下。 @@ -17,8 +15,6 @@ chmod -R 777 install-nginx.sh 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jdk/install-nginx-by-yum.sh -chmod -R 777 install-nginx-by-yum.sh -./install-nginx-by-yum.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/nginx/install-nginx-by-yum.sh | bash ``` diff --git a/codes/deploy/tool/nodejs/README.md b/codes/deploy/tool/nodejs/README.md index e14f517..8798c86 100644 --- a/codes/deploy/tool/nodejs/README.md +++ b/codes/deploy/tool/nodejs/README.md @@ -3,7 +3,5 @@ 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/nodejs/install-nodejs.sh -chmod -R 777 install-nodejs.sh -./install-nodejs.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/nodejs/install-nodejs.sh | bash ``` diff --git a/codes/deploy/tool/redis/README.md b/codes/deploy/tool/redis/README.md index 26d5fd2..956ec63 100644 --- a/codes/deploy/tool/redis/README.md +++ b/codes/deploy/tool/redis/README.md @@ -3,9 +3,7 @@ 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/redis/install-redis.sh -chmod -R 777 install-redis.sh -./install-redis.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/redis/install-redis.sh | bash ``` 脚本会下载解压 redis 到 `/opt/redis` 路径下。 diff --git a/codes/deploy/tool/rocketmq/README.md b/codes/deploy/tool/rocketmq/README.md index 6d18a5d..1d1974a 100644 --- a/codes/deploy/tool/rocketmq/README.md +++ b/codes/deploy/tool/rocketmq/README.md @@ -3,9 +3,7 @@ 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/rocketmq/install-rocketmq.sh -chmod -R 777 install-rocketmq.sh -./install-rocketmq.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/rocketmq/install-rocketmq.sh | bash ``` 脚本会下载解压 RocketMQ 到 `/opt/rocketmq` 路径下。 diff --git a/codes/deploy/tool/tomcat/README.md b/codes/deploy/tool/tomcat/README.md index 753d79f..032a44f 100644 --- a/codes/deploy/tool/tomcat/README.md +++ b/codes/deploy/tool/tomcat/README.md @@ -8,6 +8,8 @@ wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/tomcat/install-tomcat8.sh chmod -R 777 install-tomcat8.sh ./install-tomcat8.sh + +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/tomcat/install-tomcat8.sh | bash ``` 脚本会下载解压 tomcat 到 `/opt/tomcat` 路径下。 diff --git a/codes/deploy/tool/zookeeper/README.md b/codes/deploy/tool/zookeeper/README.md index 63e5701..c7be4f7 100644 --- a/codes/deploy/tool/zookeeper/README.md +++ b/codes/deploy/tool/zookeeper/README.md @@ -3,9 +3,7 @@ 使用方法: ```sh -wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/zookeeper/install-zookeeper.sh -chmod -R 777 install-zookeeper.sh -./install-zookeeper.sh +curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/zookeeper/install-zookeeper.sh | bash ``` 脚本会下载解压 zookeeper 到 `/opt/zookeeper` 路径下。