1.1 Installation
Currently used version is activemq-5.14.0, can download the corresponding version of the official website
Step 1: The server requires a pre-installed JDK (this does not describe how to install the JDK)
Step 2: Unpack the installation package Apache-activemq-5.14.0.zip
Unzip Apache-activemq-5.14.0.zip
Step 3: Enter the bin directory to execute the command start
CD Apache-activemq-5.14.0/bin
./activemq Start
Step 4: After successful startup, the process of two ports will be started by default and can be viewed by command
Netstat-apn|grep 8161(this default port can be modified, see later)
Netstat-apn|grep 61616(this default port can be modified, see later)
1.2 Stop Service
Go to the Bin directory to execute commands
CD Apache-activemq-5.14.0/bin
./ACTIVEMQ Stop
1.3 Start-up service
Go to the Bin directory to execute commands
CD Apache-activemq-5.14.0/bin
./activemq Start
After the service starts successfully, the service can be opened normally.
Login user admin Password: admin
1.4 Modifying port numbers
8161 port number, configured in Apache-activemq-5.14.0/conf/jetty.xml
61616 port number, configured in Apache-activemq-5.14.0/conf/activemq.xml
After modifying the port number, you need to restart the service to take effect
ACTIVEMQ Installation Instructions