Proyecto

General

Perfil

Apache ActiveMQ Classic by Neodoo En » Histórico » Versión 4

Francisco Javier Solans Benedí, 2024-04-10 06:21

1 3 Francisco Javier Solans Benedí
{{toc}}
2 1 Francisco Javier Solans Benedí
3 3 Francisco Javier Solans Benedí
# Usage Instructions
4 1 Francisco Javier Solans Benedí
5 3 Francisco Javier Solans Benedí
## Getting started
6 1 Francisco Javier Solans Benedí
7 3 Francisco Javier Solans Benedí
1. Launch the product via 1-Click
8 4 Francisco Javier Solans Benedí
2. Use a web browser to access the **Administration** console at: http://[ec2-ip]:8161/admin, where [ec2_ip] is the public ip provided by Amazon for your instance.
9 3 Francisco Javier Solans Benedí
3. Log in using the following credentials:
10
   * Username: admin or user
11
   * Password: the instance_id of the instance
12 1 Francisco Javier Solans Benedí
13
You can also access your instance via SSH using the username and your Amazon private key.
14
15 3 Francisco Javier Solans Benedí
The **username** depends on the operative system:
16
* Centos 9 Stream: 'ec2-user'
17
* Other Centos: 'centos'
18
* Ubuntu: 'ubuntu'
19
* Rocky Linux: 'rocky'
20
21 1 Francisco Javier Solans Benedí
## Installation details
22
23
To change the default username and password, edit the $ACTIVEMQ_HOME/conf/jetty-realm.properties file.
24 3 Francisco Javier Solans Benedí
25 1 Francisco Javier Solans Benedí
ActiveMQ server is installed in /usr/java/apache-activemq-[version] directory, which is linked to /usr/java/apache-activemq.
26 3 Francisco Javier Solans Benedí
27 1 Francisco Javier Solans Benedí
Server service is configured with systemd.
28
29
View status server:
30 3 Francisco Javier Solans Benedí
``` shell
31 1 Francisco Javier Solans Benedí
[centos@ip-172-31-9-232 etc]$ sudo systemctl status activemq
32 3 Francisco Javier Solans Benedí
```
33 1 Francisco Javier Solans Benedí
34 3 Francisco Javier Solans Benedí
Stop server:
35
``` shell
36 1 Francisco Javier Solans Benedí
[centos@ip-172-31-9-232 etc]$ sudo systemctl stop activemq
37 3 Francisco Javier Solans Benedí
```
38 1 Francisco Javier Solans Benedí
39 3 Francisco Javier Solans Benedí
Start server:
40
``` shell
41 1 Francisco Javier Solans Benedí
[centos@ip-172-31-9-232 etc]$ sudo systemctl start activemq
42 3 Francisco Javier Solans Benedí
```
43
44
## Other useful data
45
46
**Location of sensitive information**
47 1 Francisco Javier Solans Benedí
All the information is saved in the folder is /var/lib/<Your broker instance>
48
49 3 Francisco Javier Solans Benedí
**Encryption configuration**
50 1 Francisco Javier Solans Benedí
There is no encrypted data.
51
52 3 Francisco Javier Solans Benedí
**Changing system credentials**
53 1 Francisco Javier Solans Benedí
To change the ActiveMQ credentials you have to modify the file "/usr/java/activemq/conf/jetty.xml" 
54
For more information: https://activemq.apache.org/web-console
55
56 3 Francisco Javier Solans Benedí
**Instructions on how the user interacts with ActiveMQ to decrypt necessary data**
57 1 Francisco Javier Solans Benedí
You can use the ActiveMQ management console to view all necessary data.
58
59 3 Francisco Javier Solans Benedí
**How to assess and monitor the health and proper function of the application.**
60 2 Francisco Javier Solans Benedí
1. Navigate to your Amazon EC2 console and verify that you're in the correct region.
61 1 Francisco Javier Solans Benedí
2. Choose Instance and select your launched instance.
62
3. Select the server to display your metadata page and choose the Status checks tab at the bottom of the page to review if your status checks passed or failed.
63
64
## Additional resources
65
66
Following resources will help you with your first steps using Apache ActiveMQ:
67 3 Francisco Javier Solans Benedí
* https://activemq.apache.org/getting-started