变更目录

This commit is contained in:
Zhang Peng 2019-05-07 11:09:43 +08:00
parent a72a40b612
commit 53614e4e55
37 changed files with 22 additions and 22 deletions

View File

@ -11,8 +11,8 @@ JDK8 会被安装到 `/usr/lib/jvm/java` 路径。
执行以下任意命令即可执行安装脚本。
```sh
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/jdk8-install.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/jdk8-install.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/jdk8-install.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/jdk8-install.sh | bash
```
## Redis 安装
@ -26,8 +26,8 @@ wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux
执行以下任意命令即可执行安装脚本。
```sh
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/redis-install.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/redis-install.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/redis-install.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/redis-install.sh | bash
```

View File

@ -76,7 +76,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://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/elk/config/logstash.conf"
wget "https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/elk/config/logstash.conf"
}
# 替换 Kibana 配置
@ -125,6 +125,6 @@ replaceFilebeatConfig
# 最后,将启动脚本下载到本地
mkdir -p /home/zp/script
wget -P /home/zp/script "https://raw.githubusercontent.com/dunwu/os-tutorial/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/soft/elk/boot-elk.sh"
#setPrivilegeForUser

View File

@ -9,6 +9,6 @@
使用方法:执行以下任意命令即可执行脚本。
```sh
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/git/install-gitlab.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/git/install-gitlab.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/git/install-gitlab.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/git/install-gitlab.sh | bash
```

View File

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

View File

@ -5,8 +5,8 @@
使用方法:执行以下任意命令即可执行脚本。
```sh
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/kafka/install-kafka.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/kafka/install-kafka.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/kafka/install-kafka.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/kafka/install-kafka.sh | bash
```
脚本会下载解压 kafka 到 `/opt/kafka` 路径下。

View File

@ -5,8 +5,8 @@
使用方法:执行以下任意命令即可执行脚本。
```sh
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/maven/install-maven3.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/maven/install-maven3.sh | bash
curl -o- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/maven/install-maven3.sh | bash
wget -qO- https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/maven/install-maven3.sh | bash
```
脚本会下载解压 maven 到 `/opt/maven` 路径下。

View File

@ -27,4 +27,4 @@ source /etc/profile
# 备份并替换 settings.xml使用 aliyun 镜像加速 maven
echo -e "\n>>>>>>>>> replace /opt/maven/apache-maven-${version}/conf/settings.xml"
cp /opt/maven/apache-maven-${version}/conf/settings.xml /opt/maven/apache-maven-${version}/conf/settings.xml.bak
wget -N https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/service/maven/settings-aliyun.xml -O /opt/maven/apache-maven-${version}/conf/settings.xml
wget -N https://raw.githubusercontent.com/dunwu/os-tutorial/master/codes/linux/ops/soft/maven/settings-aliyun.xml -O /opt/maven/apache-maven-${version}/conf/settings.xml

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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