Getting started
-
Launch the product via 1-Click
-
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.
-
Log in using the following credentials:
-
Username: karaf
-
Password: the instance_id of the instance
-
You can also access your instance via SSH using the username and your Amazon private key.
The username depends on the operative system:
- Centos 9 Stream: 'ec2-user'
- Other Centos: 'centos'
- Ubuntu: 'ubuntu'
- Rocky Linux: 'rocky'
Installation details
- To change the default username and password, edit the $KARAF_HOME/etc/users.properties file.
- Apache Karaf server is installed in /usr/java/apache-karaf-[version] directory, which is linked to /usr/java/apache-karaf.
- Server service is configured with systemd.
View status server:
[centos@ip-172-31-9-232 etc]$ sudo systemctl status karaf
Stop server:
[centos@ip-172-31-9-232 etc]$ sudo systemctl stop karaf
Start server:
[centos@ip-172-31-9-232 etc]$ sudo systemctl start karaf
Other useful data
Location of sensitive information
There is not sensitive data.
Encryption configuration
There is no encrypted data.
Changing system credentials
To change Karaf credentials you can follow the instructions in the following link:
Instructions on how the user interacts with Karaf to decrypt necessary data
You can use the Karaf management console to view all necessary data.
How to assess and monitor the health and proper function of the application.
1. Navigate to your Amazon EC2 console and verify that you're in the correct region.
2. Choose Instance and select your launched instance.
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.
Additional resources
Following resources will help you with your first steps using Apache Karaf:
- Website: https://karaf.apache.org/
- Quick start: https://karaf.apache.org/manual/latest/quick-start.html