http://www.webdeveloperjuice.com/2010/02/02/11-easy-steps-for-installing-apache-activemq-and-configuring-it-for-php-application/ ========================================================================= tcp://192.168.0.50:61616/ http://192.168.0.50:8161/admin ========================================================================= Step 1: Apache ActiveMQ installation I am installing ActiveMQ in /usr/share/php directory. cd /usr/share/php wget http://mirror.its.uidaho.edu/pub/apache/activemq/apache-activemq/5.3.0/apache-activemq-5.3.0-bin.tar.gz tar zxvf apache-activemq-5.3.0-bin.tar.gz mv apache-activemq-5.3.0 activemq ========================================================================= Step 2: Run Apache ActiveMq activemq/bin/activemq start or nohup activemq/bin/activemq start > /usr/local/queueTest/smlog 2>&1 & ========================================================================= Step3: Check running status of ActiveMq netstat -an|grep 61616 ps -ef|grep activemq ========================================================================= Step4: ActiveMQ Web Admin interface http://localhost:8161/admin/ ========================================================================= Step5: Stop Apache AcitveMQ kill -9 [PID] ========================================================================= Step6: ActiveMQ admin command ActiveMQ is taking configuration details via simple xml (default:activemq.xml) file located in conf directory. vi activemq/conf/activemq.xml Make a small change in activemq.xml and your activemq-admin command will start working Change the default createConnector=ˇ¨falseˇ¨ to createConnector=ˇ¨trueˇ¨ like below: Now you can use below command for starting Apache ActiveMQ, stopping it and listing the connected brokers. activemq/bin/activemq-admin start activemq/bin/activemq-admin stop activemq/bin/activemq-admin list