Apache ActiveMQ Artemis by Neodoo En » Histórico » Versión 4
Francisco Javier Solans Benedí, 2024-04-10 06:07
| 1 | 2 | Francisco Javier Solans Benedí | # Usage Instructions |
|---|---|---|---|
| 2 | 1 | Francisco Javier Solans Benedí | |
| 3 | 4 | Francisco Javier Solans Benedí | {{toc}} |
| 4 | |||
| 5 | 2 | Francisco Javier Solans Benedí | ## Getting started |
| 6 | 1 | Francisco Javier Solans Benedí | |
| 7 | 2 | Francisco Javier Solans Benedí | 1. Launch the product via 1-Click |
| 8 | 2. Use a web browser to access the **Administration** console at: http://[ec2-ip]:8161/console, where [ec2_ip] is the public ip provided by Amazon for your instance. |
||
| 9 | 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 | 2 | 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 | 1 | Francisco Javier Solans Benedí | |
| 21 | 2 | Francisco Javier Solans Benedí | ## Installation details |
| 22 | 1 | Francisco Javier Solans Benedí | |
| 23 | ActiveMQ Artemis server is installed in /usr/java/apache-artemis-[version] directory, which is linked to /usr/java/apache-artemis. |
||
| 24 | 2 | Francisco Javier Solans Benedí | |
| 25 | 1 | Francisco Javier Solans Benedí | Server service is configured with systemd. |
| 26 | |||
| 27 | View status server: |
||
| 28 | 2 | Francisco Javier Solans Benedí | ``` shell |
| 29 | 1 | Francisco Javier Solans Benedí | [centos@ip-172-31-9-232 etc]$ sudo systemctl status artemis |
| 30 | 2 | Francisco Javier Solans Benedí | ``` |
| 31 | 1 | Francisco Javier Solans Benedí | |
| 32 | 2 | Francisco Javier Solans Benedí | Stop server: |
| 33 | ``` shell |
||
| 34 | 1 | Francisco Javier Solans Benedí | [centos@ip-172-31-9-232 etc]$ sudo systemctl stop artemis |
| 35 | 2 | Francisco Javier Solans Benedí | ``` |
| 36 | |||
| 37 | Start server: |
||
| 38 | ``` shell |
||
| 39 | 1 | Francisco Javier Solans Benedí | [centos@ip-172-31-9-232 etc]$ sudo systemctl start artemis |
| 40 | 2 | Francisco Javier Solans Benedí | ``` |
| 41 | |||
| 42 | ## Other useful data |
||
| 43 | |||
| 44 | **Location of sensitive information** |
||
| 45 | All the information is saved in the folder is /var/lib/\<name of your broker\> |
||
| 46 | |||
| 47 | **Encryption configuration** |
||
| 48 | 1 | Francisco Javier Solans Benedí | There is no encrypted data. |
| 49 | |||
| 50 | 2 | Francisco Javier Solans Benedí | **Changing system credentials** |
| 51 | 1 | Francisco Javier Solans Benedí | To change the ActiveMQ credentials you can follow the instructions in the following link: |
| 52 | 2 | Francisco Javier Solans Benedí | * https://activemq.apache.org/components/artemis/documentation/latest/masking-passwords |
| 53 | 1 | Francisco Javier Solans Benedí | |
| 54 | 2 | Francisco Javier Solans Benedí | **Instructions on how the user interacts with ActiveMQ to decrypt necessary data** |
| 55 | 1 | Francisco Javier Solans Benedí | You can use the ActiveMQ management console to view all necessary data. |
| 56 | |||
| 57 | 2 | Francisco Javier Solans Benedí | **How to assess and monitor the health and proper function of the application.** |
| 58 | 1 | Francisco Javier Solans Benedí | 1. Navigate to your Amazon EC2 console and verify that you're in the correct region. |
| 59 | 2. Choose Instance and select your launched instance. |
||
| 60 | 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. |
||
| 61 | |||
| 62 | 2 | Francisco Javier Solans Benedí | ## Additional resources |
| 63 | 1 | Francisco Javier Solans Benedí | |
| 64 | Following resources will help you with your first steps using Apache ActiveMQ Artemis: |
||
| 65 | 2 | Francisco Javier Solans Benedí | * https://activemq.apache.org/getting-started |
| 66 | * https://activemq.apache.org/components/artemis |