Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Startup of RocketMQ

Shulou Source: shulou.com Published: 2022-06-03 06:46:15 11月14日 Update

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

Tags: Files servers references services Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Technology OPPO Reno NVidia Microsoft