官网下载地址:http://activemq.apache.org/download.html
官方文档:http://activemq.apache.org/getting-started.html
1、下载安装包:
wget http://archive.apache.org/dist/activemq/5.15.3/apache-activemq-5.15.3-bin.tar.gz
2、解压:
tar zxvf apache-activemq-5.15.3-bin.tar.gz
3、启动:(activemq_install_dir:安装目录)
3.1、将ActiveMQ作为守护程序进程运行:
cd [activemq_install_dir]/bin
./activemq start
3.2、将ActiveMQ作为前台进程运行:
cd [activemq_install_dir]/bin
./activemq console
4、web控制台访问:
URL: http://127.0.0.1:8161/admin/
Login: admin
Passwort: admin
5、停止:
cd [activemq_install_dir]/bin
./activemq stop