centos7 build activemq Service

First, download and install jdk

Download jdk-8u211-linux-x64.rpm
installation: yum -y install jdk-8u211- linux-x64.rpm

 

Second, the official website to download the package activemq

Official website: http://apache.fayea.com/activemq/

Download activemq archive:

# wget http://apache.fayea.com/activemq/5.15.9/apache-activemq-5.15.9-bin.tar.gz
# tar -xvf apache-activemq-5.15.9-bin.tar.gz

 

// start activemq Service

# cd apache-activemq-5.15.9
# ./bin/linux-x86-64/activemq start

 

// Check whether the service start
# ps -elf | grep activemq

 

// Check whether the port is activated

# Netstat -apn | grep 8161

 

Third, the browser landing

Browser, type http: // server IP: 8161 / admin
jumped interface login user name and password, the default user name and password: admin

 

Enter your user name and password to access the main interface service

 

 

Fourth, modify the web page Password:

Modify the configuration file: conf / jetty- realm.properties
# grep -Ev '#|^$' conf/jetty-realm.properties
  admin: admin, admin
  user: user, user

// It is noteworthy that the username and password format
username: password, role name

Modify the admin password, only need to file "admin: admin, admin" modified "admin: newly modified password, admin"

 

Guess you like

Origin www.cnblogs.com/carriezhangyan/p/11492628.html