ActiveMQ-5.8.0 安裝和啟動
阿新 • • 發佈:2019-02-02
安裝環境:linux rhe
activemq版本:5.8.0
2.解壓縮到指定的目錄
Shell程式碼
Shell程式碼
Xshell程式碼
- tar zxvf apache-activemq-5.8.0-bin.tar.gz -C /usr/local
- cd /usr/local/apache-activemq-5.8.0/bin
- chmod 775 activemq
- bin/activemq setup ~/.activemqrc
- bin/activemq start
- INFO: Loading '/home/chenzhou/.activemqrc'
- INFO: Using java '/usr/java/jdk1.6.0_03/bin/java'
- INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
- INFO: pidfile created : '/usr/local/apache-activemq-5.8.0/data/activemq-localhost.localdomain.pid' (pid '18567')
- bin/activemq start > /tmp/smlog 2>&1 &
- nohup bin/activemq start
- nohup bin/activemq start > /tmp/smlog 2>&1 &
- netstat -ntlp|grep 8161
- netstat -an|grep 61616