filmov
tv
How to Install Apache ActiveMQ on CentOS 7.2
Показать описание
Apache ActiveMQ is a free and open source message broker and integration pattern server. It supports many cross language clients and protocols from JAVA, C++, C, Python, Perl, PHP etc. It provides many features such as Message Groups, Virtual Destinations, Wildcards and Composite Destinations etc. It can be easily integrated to spring applications.
java -version ; echo $JAVA_HOME
mv /var/apache-activemq-*/ /var/activemq/
cd /var/activemq
./bin/activemq console
./bin/activemq start
./bin/activemq stop
[Unit]
Description=ActiveMQ service
[Service]
Type=forking
ExecStart=/var/activemq/bin/activemq start
ExecStop=/var/activemq/bin/activemq stop
User=root
Group=root
Restart=always
RestartSec=9
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=activemq
[Install]
systemctl start activemq ; systemctl enable activemq ; systemctl status activemq
firewall-cmd --zone=public --permanent --add-port=8161/tcp ; firewall-cmd --reload
admin
admin
-----------------------------------------------------------------------------------------------------------
java -version ; echo $JAVA_HOME
mv /var/apache-activemq-*/ /var/activemq/
cd /var/activemq
./bin/activemq console
./bin/activemq start
./bin/activemq stop
[Unit]
Description=ActiveMQ service
[Service]
Type=forking
ExecStart=/var/activemq/bin/activemq start
ExecStop=/var/activemq/bin/activemq stop
User=root
Group=root
Restart=always
RestartSec=9
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=activemq
[Install]
systemctl start activemq ; systemctl enable activemq ; systemctl status activemq
firewall-cmd --zone=public --permanent --add-port=8161/tcp ; firewall-cmd --reload
admin
admin
-----------------------------------------------------------------------------------------------------------