🐚 RocketMQ 安装脚本
parent
622c78d13d
commit
550a24532b
|
@ -25,9 +25,13 @@
|
||||||
> *`DOCS`: 安装配置文档,说明安装的方法以及一些注意事项。*
|
> *`DOCS`: 安装配置文档,说明安装的方法以及一些注意事项。*
|
||||||
|
|
||||||
* JDK 安装和配置:| [CODES](codes/deploy/tool/jdk) | [DOCS](docs/deploy/tool/jdk/install-jdk.md) |
|
* JDK 安装和配置:| [CODES](codes/deploy/tool/jdk) | [DOCS](docs/deploy/tool/jdk/install-jdk.md) |
|
||||||
|
* Jenkins 安装和配置:| [CODES](codes/deploy/tool/jenkins) | [DOCS](docs/deploy/tool/mongodb/install-jenkins.md) |
|
||||||
|
* Kafka 安装和配置:| [CODES](codes/deploy/tool/kafka) | [DOCS](docs/deploy/tool/kafka/install-kafka.md) |
|
||||||
* Maven 安装和配置:| [CODES](codes/deploy/tool/maven) | [DOCS](docs/deploy/tool/maven/install-maven.md) |
|
* Maven 安装和配置:| [CODES](codes/deploy/tool/maven) | [DOCS](docs/deploy/tool/maven/install-maven.md) |
|
||||||
* Mongodb 安装和配置:| [CODES](codes/deploy/tool/mongodb) | [DOCS](docs/deploy/tool/mongodb/install-mongodb.md) |
|
* Mongodb 安装和配置:| [CODES](codes/deploy/tool/mongodb) | [DOCS](docs/deploy/tool/mongodb/install-mongodb.md) |
|
||||||
* Nginx 安装和配置:| [CODES](codes/deploy/tool/nginx) | [DOCS](docs/deploy/tool/nginx/install-nginx.md) |
|
* Nginx 安装和配置:| [CODES](codes/deploy/tool/nginx) | [DOCS](docs/deploy/tool/nginx/install-nginx.md) |
|
||||||
* Nodejs 安装和配置:| [CODES](codes/deploy/tool/nodejs) | [DOCS](docs/deploy/tool/nodejs/install-nodejs.md) |
|
* Nodejs 安装和配置:| [CODES](codes/deploy/tool/nodejs) | [DOCS](docs/deploy/tool/nodejs/install-nodejs.md) |
|
||||||
* Redis 安装和配置:| [CODES](codes/deploy/tool/redis) | [DOCS](docs/deploy/tool/redis/install-redis.md) |
|
* Redis 安装和配置:| [CODES](codes/deploy/tool/redis) | [DOCS](docs/deploy/tool/redis/install-redis.md) |
|
||||||
|
* RocketMQ 安装和配置:| [CODES](codes/deploy/tool/rocketmq) | [DOCS](docs/deploy/tool/rocketmq/install-rocketmq.md) |
|
||||||
* Tomcat 安装和配置:| [CODES](codes/deploy/tool/tomcat) | [DOCS](docs/deploy/tool/tomcat/install-tomcat.md) |
|
* Tomcat 安装和配置:| [CODES](codes/deploy/tool/tomcat) | [DOCS](docs/deploy/tool/tomcat/install-tomcat.md) |
|
||||||
|
* Zookeeper 安装和配置:| [CODES](codes/deploy/tool/zookeeper) | [DOCS](docs/deploy/tool/zookeeper/install-zookeeper.md) |
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
# 安装 RocketMQ
|
||||||
|
|
||||||
|
使用方法:
|
||||||
|
|
||||||
|
```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
|
||||||
|
```
|
||||||
|
|
||||||
|
脚本会下载解压 RocketMQ 到 `/opt/software/rocketmq` 路径下。
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
###################################################################################
|
||||||
|
# 安装 rocketmq 脚本
|
||||||
|
# 适用于所有 linux 发行版本。
|
||||||
|
# Author: Zhang Peng
|
||||||
|
###################################################################################
|
||||||
|
|
||||||
|
# 下载并解压 rocketmq
|
||||||
|
echo -e "\n>>>>>>>>> install rocketmq"
|
||||||
|
|
||||||
|
root=/opt/software/rocketmq
|
||||||
|
version=4.2.0
|
||||||
|
mkdir -p ${root}
|
||||||
|
wget -O ${root}/rocketmq-all-${version}-bin-release.zip http://mirrors.hust.edu.cn/apache/rocketmq/${version}/rocketmq-all-${version}-bin-release.zip
|
||||||
|
cd ${root}
|
||||||
|
unzip -o rocketmq-all-${version}-bin-release.zip -d rocketmq-all-${version}/
|
Loading…
Reference in New Issue