1. Official website download
Or direct command download in the terminal
mkdir /etc/activemq
cd /etc/activemq
wget http://archive.apache.org/dist/activemq/5.14.5/apache-activemq-5.14.5-bin.tar.gz
Two, unzip
tar -zxvf apache-activemq-5.14.5-bin.tar.gz
View catalog
ls -s
Enter /bin/linux-x86-64/ file
cd apache-activemq-5.14.5/bin/linux-x86-64/
Three, start the process
./activemq start
Fourth, open the mapping port (8161 and 61616 ports)
firewall-cmd --zone=public --add-port=6379/tcp --permanent
firewall-cmd --zone=public --add-port=61616/tcp --permanent
If it appearsFirewallD is not running
The firewall is turned on because the firewall is not turned
on:
systemctl start firewalld.service
Check firewalld status, show running
systemctl status firewalld
Execute again
Web visit
Be careful to close the protective wall, otherwise the web page will not load
systemctl stop firewalld.service
Related instructions
Turn on the firewall: systemctl start firewalld.service
Turn off automatic startup: systemctl disable firewalld.service
Turn on boot: systemctl enable firewalld.service
Five, test access (http://ip address: 8161)
Username/password: admin/admin