更新链接

This commit is contained in:
Zhang Peng 2019-02-22 11:40:47 +08:00
parent dbab4b8c60
commit 3979cb6daf
12 changed files with 17 additions and 17 deletions

View File

@ -91,7 +91,7 @@ replaceLogstashConfig() {
sed -i "s/# http.host: \"127.0.0.1\"/ http.host: ${IP}/g" ${ELASTIC_SOFTWARE_PATH}/logstash-${version}/config/logstash.yml
touch ${ELASTIC_SOFTWARE_PATH}/logstash-${version}/bin/nohup.out
cd ${ELASTIC_SOFTWARE_PATH}/logstash-${version}/bin
wget "https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/elk/config/logstash.conf"
wget "https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/elk/config/logstash.conf"
}
# 替换 Kibana 配置
@ -140,6 +140,6 @@ replaceFilebeatConfig
# 最后,将启动脚本下载到本地
mkdir -p /home/zp/script
wget -P /home/zp/script "https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/elk/boot-elk.sh"
wget -P /home/zp/script "https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/elk/boot-elk.sh"
#setPrivilegeForUser

View File

@ -1,8 +1,8 @@
# 安装 JDK
使用方法:
使用方法:执行以下任意命令即可执行脚本。
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/jdk/install-jdk8.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/jdk/install-jdk8.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/jdk/install-jdk8.sh | bash
```
脚本会下载解压 jdk8 到 `/usr/lib/jvm/java` 路径下。

View File

@ -5,7 +5,7 @@
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/jenkins/install-jenkins.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/jenkins/install-jenkins.sh | bash
```
脚本会下载解压 Jenkins 到 `/opt/jenkins` 路径下。

View File

@ -3,7 +3,7 @@
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/kafka/install-kafka.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/kafka/install-kafka.sh | bash
```
脚本会下载解压 kafka 到 `/opt/kafka` 路径下。

View File

@ -3,7 +3,7 @@
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/maven/install-maven3.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/maven/install-maven3.sh | bash
```
脚本会下载解压 maven 到 `/opt/maven` 路径下。

View File

@ -3,7 +3,7 @@
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/mongodb/install-mongodb.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/mongodb/install-mongodb.sh | bash
```
脚本会下载解压 redis 到 `/opt/mongodb` 路径下。

View File

@ -5,7 +5,7 @@
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/nginx/install-nginx.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/nginx/install-nginx.sh | bash
```
脚本会下载解压 nginx 到 `/opt/nginx` 路径下。
@ -15,6 +15,6 @@ curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/servic
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/nginx/install-nginx-by-yum.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/nginx/install-nginx-by-yum.sh | bash
```

View File

@ -3,5 +3,5 @@
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/nodejs/install-nodejs.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/nodejs/install-nodejs.sh | bash
```

View File

@ -3,7 +3,7 @@
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/redis/install-redis.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/redis/install-redis.sh | bash
```
脚本会下载解压 redis 到 `/opt/redis` 路径下。

View File

@ -3,7 +3,7 @@
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/rocketmq/install-rocketmq.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/rocketmq/install-rocketmq.sh | bash
```
脚本会下载解压 RocketMQ 到 `/opt/rocketmq` 路径下。

View File

@ -5,11 +5,11 @@
使用方法:
```sh
wget --no-check-certificate --no-cookies https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/tomcat/install-tomcat8.sh
wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/tomcat/install-tomcat8.sh
chmod -R 777 install-tomcat8.sh
./install-tomcat8.sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/tomcat/install-tomcat8.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/tomcat/install-tomcat8.sh | bash
```
脚本会下载解压 tomcat 到 `/opt/tomcat` 路径下。

View File

@ -3,7 +3,7 @@
使用方法:
```sh
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/zookeeper/install-zookeeper.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/zookeeper/install-zookeeper.sh | bash
```
脚本会下载解压 zookeeper 到 `/opt/zookeeper` 路径下。