apache apollo安装部署整理

安装很简单:
wget http://archive.apache.org/dist/activemq/activemq-apollo/1.7.1/apache-apollo-1.7.1-unix-distro.tar.gz
tar -zxvfapache-apollo-1.7.1-unix-distro.tar.gz
cd apache-apollo-1.7.1/bin
./apollo create mybroker

修改配置文件:
vim mybroker/etc/apollo.xml

<web_admin bind="http://127.0.0.1:61680"/>
<web_admin bind="https://127.0.0.1:61681"/>
<web_admin bind="http://0.0.0.0:61680"/>
<web_admin bind="https://0.0.0.0:61681"/>

vim mybroker/etc/apollo.xml

 <connector id="tcp" bind="tcp://0.0.0.0:61613" connection_limit="2000" protocol="mqtt"/>

注意要配置hosts,比如:

vim /etc/hosts

127.0.0.1  node103

启动:
nohup ./mybroker/bin/apollo-broker run&

打开访问页面:
http://192.168.1.103:61680/console/index.html

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。