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