Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Install ActiveMQ server in MAC OS system?

How can I install ActiveMQ Server in MAC OS X? Is there anyway to get its installation source for MAC OS?

Here are some of source files, for installation but not for MAC OS. http://activemq.apache.org/activemq-5144-release.html


Here is same question but there are steps for installation only. How (from where) can I get source for MAC OS?
Install & Configure ActiveMq On Mac
https://examples.javacodegeeks.com/enterprise-java/jms/activemq-tutorial-beginners/

I tried with Unix/Linux Version as suggested here by Hemin.
Here is result of (console output) it:

> user:bin systemuser$ ./activemq start INFO: Loading
> '/Users/systemuser/Downloads/apache-activemq-5.14.4//bin/env' INFO:
> Using java '/usr/bin/java' INFO: Starting - inspect logfiles specified
> in logging.properties and log4j.properties to get details INFO:
> pidfile created :
> '/Users/systemuser/Downloads/apache-activemq-5.14.4//data/activemq.pid'
> (pid '787')

Then I tried to open http://localhost:8161/admin But there is an alert (popup) window asking me for authentication as shown here.

enter image description here

I tried to enter system user/password but not worked. Can anyone help at this stage?

like image 727
Mobile App Developer Avatar asked Apr 10 '17 12:04

Mobile App Developer


People also ask

How can I tell if ActiveMQ is running on my Mac?

Monitoring ActiveMQ You can monitor ActiveMQ using the Web Console by pointing your browser at http://localhost:8161/admin . From ActiveMQ 5.8 onwards the web apps is secured out of the box. The default username and password is admin/admin.


2 Answers

You can install ActiveMQ with Homebrew package manager:

$ brew install apache-activemq

$ brew services start activemq

It will be installed in /usr/local/Cellar/activemq/x.x.x/ directory. (x.x.x = actual version being installed f.i. 5.15.10).

Open http://localhost:8161/admin to confirm ActiveMQ is up and running (default username and password: admin).

like image 73
Lyncean Patel Avatar answered Sep 24 '22 17:09

Lyncean Patel


1) Download appropriate ActiveMq binary from here.

2) Unzip your bundle.

3) Open terminal and, set the terminal path to ActiveMq -> bin

4) Write command activemq start

5) Open http://localhost:8161/admin to confirm Activemq is up and running. You should have the following console.enter image description here

like image 34
Hemin Avatar answered Sep 23 '22 17:09

Hemin