linux install build RocketMQ

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

     

    

   

 

Released six original articles · won praise 0 · Views 458

Guess you like

Origin blog.csdn.net/wangqian19920214/article/details/103888007