ubuntu 14.04.4 LTS install activemq

Reference: http://windows9834.blog.163.com/blog/static/27345004201411211284663/Operating

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>


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326547528&siteId=291194637