This article describes the deployment method of ActiveMQ in Linux environment. Share with you for your reference, the details are as follows: ActiveMQ environment deployment Download address: http://activemq.apache.org/activemq-5143-release.html Download apache-activemq-5.14.3-bin.tar.gz . Manual: http://activemq.apache.org/getting-started.html 1. ActiveMQ requires JDK support Appendix describes how to install JDK on Linux 2. Install ActiveMQ 1. Unzip apache-activemq-5.14.3-bin.tar.gz tar -zxvf apache-activemq-5.14.3-bin.tar.gz 2. Enter cd apache-activemq-5.14.3/bin 3. Start activemq ./activemq start At this point, our ActiveMQ is running. 3. Use ActiveMQ comes with a web server (jetty, developed in Java). It doesn’t matter if you don’t understand it. We just need to learn how to use it first. apache-activemq-5.14.3/conf/jetty.xml is the basic configuration of the server. Access this web server: Default backend: View the queue: Appendix: Install JDK on Linux 1. Download http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Download jdk-8u121-linux-x64.tar.gz . 2. Give permissions chmod +x jdk-8u121-linux-x64.rpm 3. Installation procedure rpm -ivh jdk-8u121-linux-x64.rpm 4. Check after installation is complete cd /usr #Found an additional 'java' directory below cd /java #default jdk1.8.0_121 latest 5. Configure environment variables vi /etc/profile #Add #set java environment at the end export JAVA_HOME=/usr/java/jdk1.8.0_121 export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export PATH=$PATH:/usr/local/php/bin:$JAVA_HOME/bin Use the #echo $JAVA_HOME #echo $CLASSPATH #echo $PATH Check whether JDK is installed successfully. #java -version java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode) If you see the JVM version and related information, the installation is successful! I hope this article will help you maintain your Linux server. You may also be interested in:
|
<<: Mysql5.7 my.ini file loading path and data location modification method under windows7
>>: JS native 2048 game source code sharing (the latest on the Internet)
1. What is Docker Swarm? Docker Swarm is a cluste...
1. Radio grouping As long as the name is the same,...
In a web page, the <input type="file"...
You may remember that in the past articles we hav...
According to the coefficient of pi and the radius...
Table of contents Results at a Glance Heart Effec...
Keepalived+Nginx+Tomcat to achieve high availabil...
HTML consists of two parts: head and body ** The ...
Tetris is a very classic little game, and I also ...
I used Vue.js to make a nine-grid image display m...
Official Website https://cli.vuejs.org/en/guide/ ...
Recently, due to work needs, I need to format num...
First, I will give you the VMware 14 activation c...
question The seamless scrolling of pictures and t...
1. Download the mysql-5.7.17-winx64.zip installat...