1、下载ActiveMQ,链接网址:点我
2、上传安装包到服务器:
put e:/upload/apache-activemq-5.14.0-bin.tar.gz
如图:
3、解压:
tar -zxvf apache-activemq-5.14.0-bin.tar.gz
4、进入解压目录的bin目录:
cd apache-activemq-5.14.0/bin
5、启动:
./activemq start
6、开放端口:
/sbin/iptables -I INPUT -p tcp --dport 8161 -j ACCEPT
/etc/rc.d/init.d/iptables save
/etc/rc.d/init.d/iptables restart
7、登录
登陆地址:http://192.168.72.131:8161/
username:root
password:root