官网:http://activemq.apache.org/apollo/index.html
环境:ubuntu 16.04
1.安装好jdk
2.下载解压
wget http://mirrors.hust.edu.cn/apache/activemq/activemq-apollo/1.7.1/apache-apollo-1.7.1-unix-distro.tar.gz
tar -zxvf apache-apollo-1.7.1-unix-distro.tar.gz
3.创建broker
(在当前用户工作目录创建即可)
apache-apollo-1.7.1/bin/apollo create apollo_broker
如果参照:http://activemq.apache.org/apollo/documentation/getting-started.html
在/var/lib目录创建broker,则创建和运行一般都需要root权限才可以;
4.修改配置,允许指定主机访问web管理控制台
参考:http://activemq.apache.org/apollo/documentation/user-manual.html#Web_Based_Administration
apollo_broker/etc/apollo.xml文件,不绑定回送地址127.0.0.1
apollo_broker/etc/login.config文件,添加白名单文件
允许以下主机访问web控制台