RocketMQ
RocketMQ部署
部署环境:操作系统centos 7.2、jdk1.8、Maven 3.5.4、rocketmq 4.2.0
1、Java安装
yum install -y java
2、maven安装
下载地址:https://maven.apache.org/download.cgi
安装包放入/usr/local下
tar vxf apache-maven-3.5.4-bin.tar.gz ln -s apache-maven-3.5.4 maven3
修改环境变量
vi .bash_profile MAVEN_HOME=/usr/local/maven3 export MAVEN_HOME export PATH=${PATH}:${MAVEN_HOME}/bin source .bash_profile
验证
3、RocketMQ安装
官方介绍:http://rocketmq.apache.org/docs/quick-start/
下载后放入/usr/local目录下
unzip rocketmq-all-4.2.0-source-release.zip ln -s rocketmq-all-4.2.0 rocketmq
cd rocketmq mvn -Prelease-all -DskipTests clean install -U