Startup of RocketMQ
reference
http://www.linuxidc.com/Linux/2015-10/124112.htm
192.168.1.201
vi /usr/local/tomcat/webapps/appServer/WEB-INF/classes/properties/rocketMQ.properties
mq.host=192.168.1.188
mq.port=9876
See MQ server at 1.188.
Then Xshell to 1.188 and execute
cd ../ bin/ nohup sh mqnamesrv >/var/log/ns.log & nohup sh mqbroker -c ../ conf/2m-noslave/broker-a.properties > /var/log/mq.log 2>&1 &
or
sh mqnamesrvsh mqbroker -c ../ conf/2m-noslave/broker-a.properties
Amendment./ startdeploy.sh file, automatically modifying rocketMQ.properties file
cp rocketMQ.properties rocketMQ.properties.bak
sed -i -e "s/mq.host=192.168.1.125/mq.host=192.168.1.188/g" /root/properties/rocketMQ.properties