赞
踩
下载:http://activemq.apache.org/apollo/download.html
编译
http://blog.itpub.net/28624388/viewspace-1175404/
http://activemq.apache.org/apollo/versions/1.7/website/documentation/getting-started.html
http://activemq.apache.org/apollo/versions/1.7/website/documentation/user-manual.html#TCP_Transports
java jre环境
tar -zxvf jre-8u121-linux-x64.gz
编辑:/root/.bashrc
export JAVA_HOME=/usr/local/java/jre1.8.0_121
export PATH=$JAVA_HOME/bin:$PATH
source /root/.bashrc
#tar -zxvf apache-apollo-1.7-unix-distro.tar.gz -C /usr/local
编辑:/root/.bashrc
export APOLLO_HOME=/usr/local/apache-apollo-1.7.1
export PATH=$APOLLO_HOME/bin:$PATH
source /root/.bashrc
创建broke
cd /home/apollo/ 在这个目录下面创建
http://blog.itpub.net/28624388/viewspace-1175404/
开机启动
sudo ln -s /var/lib/mybroker/bin/apollo-broker-service /etc/init.d/apollo
sudo update-rc.d apollo defaults
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。