How to install ActiveMQ Server on MAC OS?

How can I install ActiveMQ Server on MAC OS X? Is there a way to get the installation source code for MAC OS?

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


Here's the same question, but there are steps for installation only. How (where) can I get the source code for MAC OS?
Install and configure ActiveMq on Mac
https://examples.javacodegeeks.com/enterprise-java/jms/activemq-tutorial-beginners/

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

> 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 a warning popup asking me to authenticate as shown here.

enter image description here

I tried to enter system user / password but didn't work. Can anyone help at this point?

+6


source to share


6 answers


1) Download the corresponding ActiveMq binary from here .

2) Unpack your package.

3) Open terminal and set path to terminal ActiveMq → bin



4) Write a command activemq start

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

+14


source


You can also use the Homebrew package manager:

$ brew install apache-activemq



It will be installed in the / usr / local / Cellar / apache-activemq / xxx / directory . (xxx = actual version installed).

+12


source


Your steps are correct. but now that you are stuck at the credentials window. you can use admin as username and password. check the image below.

Typically, all servers by default have default credentials set as admin for username and password.

Hope this works ...

enter image description here

+6


source


From the ActiveMQ web console doc :

Starting with ActiveMQ 5.4.0, the web console is preconfigured with Basic Access Authentication Setup

By default, you can access the web console with admin / admin credentials. This can be changed (and more users can be added) in the jetty-realm.properties file.

jetty-realm.properties

admin: admin, admin
user: user, user

      

+2


source


Details on how to install ActiveMQ on different platforms can be found here: ActiveMQ-> Getting Started

+1


source


Well, for my local PoCs, I usually do it via Docker

:

  • Go to https://hub.docker.com/r/webcenter/activemq

    to view detailed instructions.

Premise:

  • Docker

    runs on your host computer

Example:

  • (in your terminal) docker pull webcenter/activemq

  • (in your terminal) docker run --name='activemq' -p 8161:8161 -it --rm -p webcenter/activemq:latest

  • (in your browser) Open http://localhost:8161/admin

    and specify admin

    BOTH as login AND password
  • DONE . Manage your threads / queues / posts.
0


source







All Articles