1.下载安装包:curl -O https://archive.apache.org/dist/activemq/5.14.0/apache-activemq-5.14.0-bin.tar.gz
2.解压:tar -zxvf apache-activemq-5.14.0-bin.tar.gz
3.重命名:mv apache-activemq-5.14.0-bin.tar.gz activemq
4.进入bin目录:cd .../activemq/bin ,运行权限命令:chmod 755 activemq ,启动activemq: ./activemq
5.查询端口:61616 和8161 命令:netstat -lntp (centos 7若找不到命令,运行命令安装:sudo yum install net-tools ,sudo yum provides ifconfig ,都装一下)