Installation environment: CentOS 7 , JAVA 7
First let's unzip tar -zxvf apache-activemq- 5.12 .0-bin .tar .gz
Create the activemq folder in the /usr/local directory mkdir /usr/local/activemq
Move to the newly created folder mv apache-activemq-5.12.0 / usr/local/activemq
It's half done now
We enter the apache-activemq-5.12.0 / bin directory
Start the service command: ./activemq start
At this time, we go to visit our http://192.168.8.131:8161/admin/ service address (192.168.8.131 is the ip address of the activemq environment, 8161 is the default background management port number), there may be a connection timeout, the connection If it does not go up, it is likely to be the cause of the firewall at this time, just turn off the firewall.
Previously used: service iptables stop to close the firewall, the shutdown failed
If using CentOS 7 use this command to turn off the firewall: systemctl stop firewalld
When accessing our service address, you can enter the default username and password as admin at this time.
If you have any questions, you can leave a message, please advise!