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