January 2019
M T W T F S S
« Dec    
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories

WordPress Quotes

Cherish your visions and your dreams as they are the children of your soul, the blueprints of your ultimate achievements.
Napoleon Hill

Recent Comments

January 2019
M T W T F S S
« Dec    
 123456
78910111213
14151617181920
21222324252627
28293031  

Short Cuts

2012 SERVER (64)
2016 windows (9)
AIX (13)
Amazon (34)
Ansibile (19)
Apache (133)
Asterisk (2)
cassandra (2)
Centos (209)
Centos RHEL 7 (261)
chef (3)
cloud (2)
cluster (3)
Coherence (1)
DB2 (5)
DISK (25)
DNS (9)
Docker (28)
Eassy (11)
ELKS (1)
EXCHANGE (3)
Fedora (6)
ftp (5)
GIT (3)
GOD (2)
Grub (1)
Hacking (10)
Hadoop (6)
horoscope (23)
Hyper-V (10)
IIS (15)
IPTABLES (15)
JAVA (7)
JBOSS (32)
jenkins (1)
Kubernetes (2)
Ldap (5)
Linux (189)
Linux Commands (167)
Load balancer (5)
mariadb (14)
Mongodb (4)
MQ Server (24)
MYSQL (84)
Nagios (5)
NaturalOil (13)
Nginx (31)
Ngix (1)
openldap (1)
Openstack (6)
Oracle (34)
Perl (3)
Postfix (19)
Postgresql (1)
PowerShell (2)
Python (3)
qmail (36)
Redis (12)
RHCE (28)
SCALEIO (1)
Security on Centos (29)
SFTP (1)
Shell (64)
Solaris (58)
Sql Server 2012 (4)
squid (3)
SSH (10)
SSL (14)
Storage (1)
swap (3)
TIPS on Linux (28)
tomcat (60)
Uncategorized (29)
Veritas (2)
vfabric (1)
VMware (28)
Weblogic (38)
Websphere (71)
Windows (19)
Windows Software (2)
wordpress (1)
ZIMBRA (17)

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Who's Online

14 visitors online now
5 guests, 9 bots, 0 members

Hit Counter provided by dental implants orange county

ActiveMQ standalone installation and use tutorial

ActiveMQ standalone installation and use tutorial

First of all, simply introduce the MQ, MQ English name MessageQueue, Chinese name is that we use the message queue, why use it, that white is a message to accept and forward the container can be used for message push.

ActiveMQ is produced by Apache, one of the most popular, powerful open source message bus. ActiveMQ is a JMS provider implementation that fully supports JMS 1.1 and J2EE 1.4 specifications. It is very fast and supports multiple languages ??of clients and protocols, and can be easily embedded into enterprise application environments with many advanced features, Here we have to install ActiveMQ standalone version.

1. In the official website to download ActiveMQ, and upload to the server

2. Unpack the installation

# tar -zxvf apache-activemq-5.11.1-bin.tar.gz
3. If the startup script activemq does not have executable permissions, then you need authorization

# chmod 755 /opt/activeMQ/apache-activemq-5.11.1/bin/activemq
4. Configure the port

ActiveMQ(???61616)
( 8161) conf/jetty.xml

5. Start ActiveMQ

# /opt/activeMQ/apache-activemq-5.11.1/bin/activemq start

6. Access ActiveMQ

Click manage ActiveMQ account password verification interface, the default account password: admin / admin

7. Security
configuration ActiveMQ If you do not join the security mechanism, anyone who knows the specific address of the message service (including IP, port, message address [queue or subject address]), can be unscrupulous to send and receive messages. So we have to configure ActiveMQ security, ActiveMQ message security configuration strategy has a variety of, we take a simple authorization configuration as an example.

7.1 In the conf/activemq.xml file, add the following at the end of the broker tag:

# vim /opt/activeMQ/apache-activemq-5.11.1/conf/activemq.xml





roberto roberto,users,admins
7.2 Make sure that authentication is enabled

authenticate true

7.3 Console Login User Name The password is stored in the conf/jetty-realm.properties file, as follows:

# vim /opt/activeMQ/apache-activemq-5.11.1/conf/jetty-realm.properties

# Defines users that can access the web (console, demo, etc.)
# username: password [,rolename …]
admin: roberto, admin
user: user, user
Modify the admin user’s password to roberto

7.4 Restart ActiveMQ
# /opt/activeMQ/apache-activemq-5.11.1/bin/activemq restart

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

Blue Captcha Image
Refresh

*

Protected by WP Anti Spam