1,JDK环境安装部署
rpm -ivh jdk-7u79-linux-x64.rpm echo '#set JDK' >>/etc/profile echo 'export JAVA_HOME=/usr/java/jdk1.7.0_79' >>/etc/profile echo 'export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar' >>/etc/profile echo 'export PATH=${JAVA_HOME}/bin:${JRE_HOME}/bin:$PATH' >>/etc/profile
2,activemq下载上传:
tar -xvzf apache-activemq-5.14.1-bin.tar.gz mv apache-activemq-5.14.1 activemq ./activemq/bin/activemq start