system: ubuntu 14.04.4 LTS
installation: activemq
1: Download the linux version of activemq from the official website, upload it to the server and decompress it
tar zxvf apache-activemq-5.14.0-bin.tar.gz
2: Configure activemq to start
vim /etc/profile export PATH=/root/activemq/bin/linux-86-64 source /etc/profile
3: start, shut down, restart activemq
activemq start activemq stop activemq restart
4: The default login of the web console is admin, admin, modify the login password of the web console
cd /activemq/conf vim jetty-realm.properties activemq restart
5: Set up the client program to connect to the activemq borker
<!-- Add --> before systemUsage tag in activemq.xml file <!-- Also add a web console permission--> <!-- activemq,username, activemq.password set in credentials.properties --> <plugins> <simpleAuthenticationPlugin> <users> <authenticationUser username="${activemq.username}" password="${activemq.password}" groups="users,admins" /> </users> </simpleAuthenticationPlugin> </plugins>