#############################安装apache-apollo###############################################
####官方的安装文档:http://activemq.apache.org/apollo/documentation/getting-started.html
[root@internetofthings-01 apache-apollo-1.7.1]# tar xvf apache-apollo-1.7.1-unix-distro.tar.gz -C /data/application/
[root@internetofthings-01 bin]# pwd
/data/application/apache-apollo-1.7.1/bin
##创建 jm_ifms_broker实例
[root@internetofthings-01 bin]# ./apollo create jm_ifms_broker
[root@internetofthings-01 etc]# pwd
/data/application/apache-apollo-1.7.1/bin/jm_ifms_broker/etc
##允许所有网段访问
##vim /data/application/apache-apollo-1.7.1/bin/jm_ifms_broker/etc/apollo.xml
修改成
<web_admin bind="http://0.0.0.0:61680"/>
<web_admin bind="https://0.0.0.0:61681"/>
###修改用户名和密码
vim /data/application/apache-apollo-1.7.1/bin/jm_ifms_broker/etc/users.properties
admin=bee@123456@
##########
四、启动apollo
进入到实例目录下的bin目录下
执行
./apollo-broker run
############################
[root@internetofthings-01 bin]# pwd
/data/application/apache-apollo-1.7.1/bin/jm_ifms_broker/bin
[root@internetofthings-01 bin]# nohup ./apollo-broker run &