1.安装jdk8
1 | [admin@xfyun-bj-tools1 admin]$ tar xf downloads/jdk-8u192-linux-x64.tar.gz |
2.安装activemq
1 | [admin@xfyun-bj-tools1 admin]$ tar xf apache-activemq-5.11.1-bin.tar.gz |
3.配置开机启动
1 | [admin@xfyun-bj-tools1 admin]$ cat /etc/init.d/activemq |
4.添加执行权限
1 | [admin@xfyun-bj-tools1 admin]$ sudo chmod +x /etc/init.d/activemq |
5.开机启动
1 | [admin@xfyun-bj-tools1 admin]$ sudo systemctl enable activemq |