2018年7月24日 星期二

[研究] Apache ActiveMQ 5.15.4 安裝 (CentOS 7.x)

[研究] Apache ActiveMQ 5.15.4 安裝 (CentOS 7.x)

2018-07-24

官方網站
http://activemq.apache.org/

Pre-Installation Requirements
http://activemq.apache.org/getting-started.html#GettingStarted-Pre-InstallationRequirements
Java Runtime Environment (JRE)  JRE 1.7 (1.6 for version <=5.10.0)

How to Install Apache ActiveMQ on CentOS 7
Published on: Wed, Jan 25, 2017
https://www.vultr.com/docs/how-to-install-apache-activemq-on-centos-7

[root@localhost ~]# java -version
openjdk version "1.8.0_161"
OpenJDK Runtime Environment (build 1.8.0_161-b14)
OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

[root@localhost ~]# echo "JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")" | sudo tee -a /etc/profile
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64/jre/

[root@localhost ~]# source /etc/profile

[root@localhost ~]# wget http://ftp.mirror.tw/pub/apache//activemq/5.15.4/apache-activemq-5.15.4-bin.tar.gz

[root@localhost ~]# tar zxvf apache-activemq-5.15.4-bin.tar.gz -C /usr/local

[root@localhost ~]# cd  /usr/local/apache-activemq-5.15.4/bin

[root@localhost bin]# ./activemq start
INFO: Loading '/usr/local/apache-activemq-5.15.4//bin/env'
INFO: Using java '/usr/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
INFO: pidfile created : '/usr/local/apache-activemq-5.15.4//data/activemq.pid' (pid '3149')
[root@localhost bin]#

[root@localhost bin]# ./activemq status
INFO: Loading '/usr/local/apache-activemq-5.15.4//bin/env'
INFO: Using java '/usr/bin/java'
ActiveMQ is running (pid '3149')
[root@localhost bin]#

測試畫面請看這篇

[研究] Apache ActiveMQ 5.15.4安裝 (Windows 2016)
http://shaurong.blogspot.com/2018/07/apache-activemq-5154-windows-2016.html

(完)

相關

[研究] Apache ActiveMQ 5.15.4安裝 (Windows 2016)
http://shaurong.blogspot.com/2018/07/apache-activemq-5154-windows-2016.html

[研究] Apache ActiveMQ 5.15.4安裝 (CentOS 7.x)
http://shaurong.blogspot.com/2018/07/apache-activemq-centos-7x.html

沒有留言:

張貼留言