##Debian 7 wheezy activemq install
##down apache activemq binary from http://activemq.apache.org/download.html (current version: apache-activemq-5.8.0-bin.tar.gz)
##extract files to /opt
cd /opt
tar xzvf /root/Downloads/apache-activemq-5.8.0-bin.tar.gz
## make symbolic link
ln -s apache-activemq-5.8.0 activemq
cd /etc/init.d
ln -s /opt/activemq/bin/activemq
## generate activemq configuration file under /etc/default/activemq
/etc/init.d/activemq setup /etc/default/activemq
chown 'root':root '/etc/default/activemq'; chmod 600 '/etc/default/activemq'
##change admin password
vi /opt/activemq/conf/jetty-realm.properties
##update service autostart during boot
update-rc.d activemq defaults
沒有留言:
張貼留言