Skip to content

Commit 4fe80b5

Browse files
committed
更新路径
1 parent ad4e118 commit 4fe80b5

15 files changed

Lines changed: 21 additions & 21 deletions

File tree

codes/demos/bash/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# linux-notes `codes/bash`
1+
# OS `codes/bash`
22

33
> 本目录的代码是和 `docs/shell.md` 相关的示例代码。
44
>

codes/demos/practice/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# linux-notes `codes/practice`
1+
# OS `codes/practice`
22

33
> 本目录的代码是本人在开发中总结的一些实用代码。
44
>

codes/deploy/sys/yum/change-yum-repo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ version=`cat /etc/redhat-release | awk '{print substr($4,1,1)}'`
1818
# 根据发型版本选择相应 yum 镜像
1919
if [ ${version} == 5 ]; then
2020
# Cento5 已废弃,只能使用 http://vault.centos.org/ 替换,但由于是国外镜像,速度较慢
21-
wget --no-cookie --no-check-certificate -O /etc/yum.repos.d/CentOS-Base.repo https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/sys/yum/CentOS-Base.repo
21+
wget --no-cookie --no-check-certificate -O /etc/yum.repos.d/CentOS-Base.repo https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/sys/yum/CentOS-Base.repo
2222

2323
# 根据实际发型版本情况替换
2424
detailVersion=`lsb_release -r | awk '{print substr($2,1,3)}'`

codes/deploy/tool/elk/install-elk.sh

Lines changed: 3 additions & 3 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/linux-notes/blob/master/codes/deploy/tool/elk/config/logstash.conf
94+
wget "https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/elk/config/logstash.conf"
9595
}
9696

9797
# 替换 Kibana 配置
@@ -107,7 +107,7 @@ replaceKibanaConfig() {
107107
replaceFilebeatConfig() {
108108
cp ${ELASTIC_SOFTWARE_PATH}/filebeat-${version}-linux-x86_64/filebeat.yml ${ELASTIC_SOFTWARE_PATH}/filebeat-${version}-linux-x86_64/filebeat.yml.bak
109109
cd ${ELASTIC_SOFTWARE_PATH}/filebeat-${version}-linux-x86_64
110-
wget https://github.com/dunwu/linux-notes/blob/master/codes/deploy/tool/elk/config/filebeat.yml
110+
wget https://github.com/dunwu/OS/blob/master/codes/deploy/tool/elk/config/filebeat.yml
111111
sed -i 's/127.0.0.1/'"${IP}"'/g' ${ELASTIC_SOFTWARE_PATH}/filebeat-${version}-linux-x86_64/filebeat.yml
112112
}
113113

@@ -140,6 +140,6 @@ replaceFilebeatConfig
140140

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

codes/deploy/tool/jdk/README.md

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

77
```sh
8-
curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jdk/install-jdk8.sh | bash
8+
curl -o- https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/jdk/install-jdk8.sh | bash
99
```
1010

1111
脚本会下载解压 jdk8 到 `/opt/java` 路径下。
@@ -15,9 +15,9 @@ curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/
1515
使用方法:
1616

1717
```sh
18-
wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jdk/install-jdk8-by-yum.sh
18+
wget --no-check-certificate --no-cookies https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/jdk/install-jdk8-by-yum.sh
1919
chmod -R 777 install-jdk8-by-yum.sh
2020
./install-jdk8-by-yum.sh
21-
curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jdk/install-jdk8-by-yum.sh | bash
21+
curl -o- https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/jdk/install-jdk8-by-yum.sh | bash
2222
```
2323
脚本会下载解压 jdk8 到 `/usr/lib/jvm/java` 路径下。

codes/deploy/tool/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://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/jenkins/install-jenkins.sh | bash
8+
curl -o- https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/jenkins/install-jenkins.sh | bash
99
```
1010

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

codes/deploy/tool/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://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/kafka/install-kafka.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/kafka/install-kafka.sh | bash
77
```
88

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

codes/deploy/tool/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://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/maven/install-maven3.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/maven/install-maven3.sh | bash
77
```
88

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

codes/deploy/tool/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://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/mongodb/install-mongodb.sh | bash
6+
curl -o- https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/mongodb/install-mongodb.sh | bash
77
```
88

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

codes/deploy/tool/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://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/nginx/install-nginx.sh | bash
8+
curl -o- https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/nginx/install-nginx.sh | bash
99
```
1010

1111
脚本会下载解压 nginx 到 `/opt/nginx` 路径下。
@@ -15,6 +15,6 @@ curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/
1515
使用方法:
1616

1717
```sh
18-
curl -o- https://raw.githubusercontent.com/dunwu/linux/master/codes/deploy/tool/nginx/install-nginx-by-yum.sh | bash
18+
curl -o- https://raw.githubusercontent.com/dunwu/OS/master/codes/deploy/tool/nginx/install-nginx-by-yum.sh | bash
1919
```
2020

0 commit comments

Comments
 (0)