Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Startup of RocketMQ

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report