Installation Procedure for Unix
Unix Binary Installation
This procedure explainshow to download and install the binary distribution on a Unix system.
NOTE: There are several alternative ways to perform this type ofinstallation.
- Download the activemq zipped tarball file to the Unix machine, using either a browser or a tool, i.e., wget, scp, ftp, etc. for example:
(see Download -> "The latest stable release")
wget http://activemq.apache.org/path/tofile/apache-activemq-x.x.x-bin.tar.gz
- Extract the files from the zipped tarball into a directory of your choice. For example:
cd[activemq_install_dir]
tar zxvfactivemq-x.x.x-bin.tar.gz
Starting ActiveMQ
There now followsinstructions on how to runthe ActiveMQ Message Broker.
On Windows:
From a console window,change to the installation directory and run ActiveMQ:
cd[activemq_install_dir]
whereactivemq_install_dir is the directory in which ActiveMQ was installed, e.g.,c:\Program Files\ActiveMQ-5.x.
Then type:
bin\activemq start
NOTE: Working directories get created relative to the currentdirectory. To create working directories in the proper place, ActiveMQ must belaunched from its home/installation directory.
On Unix:
From a command shell,change to the installation directory and run ActiveMQ as a foregroud process:
cd [activemq_install_dir]/bin
./activemq console
From a command shell,change to the installation directory and run ActiveMQ as a daemon process:
cd [activemq_install_dir]/bin
./activemq start
Testing the Installation
Using the administrative interface
- Open the administrative interface
- URL: http://127.0.0.1:8161/admin/
- Login: admin
- Passwort: admin
- Navigate to "Queues"
- Add a queue name and click create
- Send test message by klicking on "Send to"