1, environment JDK1.8 maven
2. Download, unzip
Download: http://rocketmq.apache.org/release_notes/release-notes-4.3.0/
3, configure the environment variables
ROCKET_HOME=D:\software\rocketmq-all-4.3.0
PATH=%ROCKET_HOME%\bin
4, start NAMESERVER
Open CMD enter the next installation bin directory start mqnamesrv.cmd following window appears, do not turn off, indicating the successful launch NAMESERVER
5, start BROKER
Open CMD enter the installation bin directory under execution start mqbroker.cmd -n 127.0.0.1:9876 autoCreateTopicEnable = true pop up window, do not turn off, indicating the successful launch BROKER
6, RocketMQ plug-in deployment
Download: https: //github.com/apache/rocketmq-externals.git
git clone https://github.com/apache/rocketmq-externals.git or download the zip package to choose their own way
Open CMD into rocketmq-externals \ rocketmq-console \ modify the configuration files in src \ main \ resources directory
server.contextPath= server.port=8088 ### SSL setting #server.ssl.key-store=classpath:rmqcngkeystore.jks #server.ssl.key-store-password=rocketmq #server.ssl.keyStoreType=PKCS12 #server.ssl.keyAlias=rmqcngkey #spring.application.index=true spring.application.name=rocketmq-console spring.http.encoding.charset=UTF-8 spring.http.encoding.enabled=true spring.http.encoding.force=true logging.config=classpath:logback.xml #if this value is empty,use env value rocketmq.config.namesrvAddr NAMESRV_ADDR | now, you can set it in ops page.default localhost:9876 rocketmq.config.namesrvAddr=127.0.0.1:9876 #if you use rocketmq version < 3.5.8, rocketmq.config.isVIPChannel should be false.default true rocketmq.config.isVIPChannel= #rocketmq-console's data path:dashboard/monitor rocketmq.config.dataPath=/tmp/rocketmq-console/data #set it false if you don't want use dashboard.default true rocketmq.config.enableDashBoardCollect=true #set the message track trace topic if you don't want use the default one rocketmq.config.msgTrackTopicName= rocketmq.config.ticketKey=ticket #Must create userInfo file: ${rocketmq.config.dataPath}/users.properties if the login is required rocketmq.config.loginRequired=false
7, into the open CMD \ rocketmq-externals \ rocketmq-console execute mvn clean package -Dmaven.test.skip = true
8, after the completion of the translation to the next target directory
Open CMD execute java -jar rocketmq-console-ng- 1.0.1.jar start the management console
9, a browser plug-in input 127.0.0.1:8088 follows the successful installation instructions
Reference Links: https://www.cnblogs.com/linjiqin/p/9553663.html