1, Downloads:
wget http://mirrors.tuna.tsinghua.edu.cn/apache/rocketmq/4.6.0/rocketmq-all-4.6.0-source-release.zip
2, extract:
unzip rocketmq-all-4.6.0-source-release.zip
3, the compiler:
mvn -Prelease-all -DskipTests clean install -U
4, start NameServer:
Enter the directory: /rocketmq-all-4.6.0-source-release/distribution/target/rocketmq-4.6.0/rocketmq-4.6.0:
(1) nohup sh mqnamesrv &: part of the back to start
(2) sh mqnamesrv: Start terminal belongs, a direct output log information, press ctrl + c can directly close to exit
5, view the log:
tail -f ~/logs/rocketmqlogs/namesrv.log