Apache Karaf by Neodoo En » Histórico » Versión 1
Francisco Javier Solans Benedí, 2024-03-13 06:28
| 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 Hawtio console at: http://[ec2-ip]:8181/hawtio, where [ec2_ip] is the public ip provided by Amazon for your instance. |
||
| 6 | |||
| 7 | Log in using the following credentials: |
||
| 8 | |||
| 9 | Username: karaf |
||
| 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 $KARAF_HOME/etc/users.properties file. |
||
| 24 | Apache Karaf server is installed in /usr/java/apache-karaf-[version] directory, which is linked to /usr/java/apache-karaf. |
||
| 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 karaf |
||
| 31 | Stop server: |
||
| 32 | |||
| 33 | [centos@ip-172-31-9-232 etc]$ sudo systemctl stop karaf |
||
| 34 | Start server: |
||
| 35 | |||
| 36 | [centos@ip-172-31-9-232 etc]$ sudo systemctl start karaf |
||
| 37 | Other useful data |
||
| 38 | Location of sensitive information |
||
| 39 | There is not sensitive data. |
||
| 40 | |||
| 41 | Encryption configuration |
||
| 42 | There is no encrypted data. |
||
| 43 | |||
| 44 | Changing system credentials |
||
| 45 | To change Karaf credentials you can follow the instructions in the following link: |
||
| 46 | https://karaf.apache.org/manual/latest/security |
||
| 47 | |||
| 48 | Instructions on how the user interacts with Karaf to decrypt necessary data |
||
| 49 | You can use the Karaf 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 Karaf: |
||
| 59 | |||
| 60 | Website: https://karaf.apache.org/ |
||
| 61 | Quick start: https://karaf.apache.org/manual/latest/quick-start.html |