Skip to content

Instantly share code, notes, and snippets.

@fxp
Last active October 25, 2016 09:26
Show Gist options
  • Save fxp/c51e30a889ea9384c324d0aacc42aed1 to your computer and use it in GitHub Desktop.
Save fxp/c51e30a889ea9384c324d0aacc42aed1 to your computer and use it in GitHub Desktop.
Install ActiveMQ on Aliyun
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
echo "export JAVA_HOME=/usr/lib/jvm/java-8-oracle/" >> ~/.bash_profile
source ~/.bash_profile
wget "http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.14.0/apache-activemq-5.14.0-bin.tar.gz&action=download" -O apache-activemq-5.14.0-bin.tar.gz
tar xvfz apache-activemq-5.14.0-bin.tar.gz
cd apache-activemq-5.14.0
./bin/activemq console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment