1. cd /usr/rocketmq/distribution/target/rocketmq-4.7.1-SNAPSHOT/rocketmq-4.7.1-SNAPSHOT
2. echo "ROCKETMQ_HOME=`pwd`" >> ~/.bash_profile
3. source ~/.bash_profile
1. cd /usr/rocketmq/distribution/target/rocketmq-4.7.1-SNAPSHOT/rocketmq-4.7.1-SNAPSHOT
2. echo "ROCKETMQ_HOME=`pwd`" >> ~/.bash_profile
3. source ~/.bash_profile