Skip to content

Commit 3979cb6

Browse files
committed
更新链接
1 parent dbab4b8 commit 3979cb6

12 files changed

Lines changed: 17 additions & 17 deletions

File tree

codes/linux/ops/service/elk/install-elk.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ replaceLogstashConfig() {
9191
sed -i "s/# http.host: \"127.0.0.1\"/ http.host: ${IP}/g" ${ELASTIC_SOFTWARE_PATH}/logstash-${version}/config/logstash.yml
9292
touch ${ELASTIC_SOFTWARE_PATH}/logstash-${version}/bin/nohup.out
9393
cd ${ELASTIC_SOFTWARE_PATH}/logstash-${version}/bin
94-
wget "https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/elk/config/logstash.conf"
94+
wget "https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/elk/config/logstash.conf"
9595
}
9696

9797
# 替换 Kibana 配置
@@ -140,6 +140,6 @@ replaceFilebeatConfig
140140

141141
# 最后,将启动脚本下载到本地
142142
mkdir -p /home/zp/script
143-
wget -P /home/zp/script "https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/elk/boot-elk.sh"
143+
wget -P /home/zp/script "https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/elk/boot-elk.sh"
144144
#setPrivilegeForUser
145145

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# 安装 JDK
22

3-
使用方法:
3+
使用方法:执行以下任意命令即可执行脚本。
44

55
```sh
6-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/jdk/install-jdk8.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/jdk/install-jdk8.sh | bash
7+
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/jdk/install-jdk8.sh | bash
78
```
8-
脚本会下载解压 jdk8 到 `/usr/lib/jvm/java` 路径下。

codes/linux/ops/service/jenkins/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
使用方法:
66

77
```sh
8-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/jenkins/install-jenkins.sh | bash
8+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/jenkins/install-jenkins.sh | bash
99
```
1010

1111
脚本会下载解压 Jenkins 到 `/opt/jenkins` 路径下。

codes/linux/ops/service/kafka/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
使用方法:
44

55
```sh
6-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/kafka/install-kafka.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/kafka/install-kafka.sh | bash
77
```
88

99
脚本会下载解压 kafka 到 `/opt/kafka` 路径下。

codes/linux/ops/service/maven/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
使用方法:
44

55
```sh
6-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/maven/install-maven3.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/maven/install-maven3.sh | bash
77
```
88

99
脚本会下载解压 maven 到 `/opt/maven` 路径下。

codes/linux/ops/service/mongodb/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
使用方法:
44

55
```sh
6-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/mongodb/install-mongodb.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/mongodb/install-mongodb.sh | bash
77
```
88

99
脚本会下载解压 redis 到 `/opt/mongodb` 路径下。

codes/linux/ops/service/nginx/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
使用方法:
66

77
```sh
8-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/nginx/install-nginx.sh | bash
8+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/nginx/install-nginx.sh | bash
99
```
1010

1111
脚本会下载解压 nginx 到 `/opt/nginx` 路径下。
@@ -15,6 +15,6 @@ curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/servic
1515
使用方法:
1616

1717
```sh
18-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/nginx/install-nginx-by-yum.sh | bash
18+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/nginx/install-nginx-by-yum.sh | bash
1919
```
2020

codes/linux/ops/service/nodejs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
使用方法:
44

55
```sh
6-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/nodejs/install-nodejs.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/nodejs/install-nodejs.sh | bash
77
```

codes/linux/ops/service/redis/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
使用方法:
44

55
```sh
6-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/redis/install-redis.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/redis/install-redis.sh | bash
77
```
88

99
脚本会下载解压 redis 到 `/opt/redis` 路径下。

codes/linux/ops/service/rocketmq/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
使用方法:
44

55
```sh
6-
curl -o- https://github.com/dunwu/os-tutorial/blob/master/codes/linux/ops/service/rocketmq/install-rocketmq.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/rocketmq/install-rocketmq.sh | bash
77
```
88

99
脚本会下载解压 RocketMQ 到 `/opt/rocketmq` 路径下。

0 commit comments

Comments
 (0)