Proyecto

General

Perfil

Apache Karaf by Neodoo En » Histórico » Versión 2

Francisco Javier Solans Benedí, 2024-04-10 06:57

1 2 Francisco Javier Solans Benedí
{{toc}}
2 1 Francisco Javier Solans Benedí
3 2 Francisco Javier Solans Benedí
# Usage Instructions
4 1 Francisco Javier Solans Benedí
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 Hawtio console at: http://[ec2-ip]:8181/hawtio, where [ec2_ip] is the public ip provided by Amazon for your instance.
9
3. Log in using the following credentials:
10
   * Username: karaf
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
23 1 Francisco Javier Solans Benedí
To change the default username and password, edit the $KARAF_HOME/etc/users.properties file.
24 2 Francisco Javier Solans Benedí
25 1 Francisco Javier Solans Benedí
Apache Karaf server is installed in /usr/java/apache-karaf-[version] directory, which is linked to /usr/java/apache-karaf.
26 2 Francisco Javier Solans Benedí
27 1 Francisco Javier Solans Benedí
Server service is configured with systemd.
28
29
View status server:
30 2 Francisco Javier Solans Benedí
``` shell
31 1 Francisco Javier Solans Benedí
[centos@ip-172-31-9-232 etc]$ sudo systemctl status karaf
32 2 Francisco Javier Solans Benedí
```
33 1 Francisco Javier Solans Benedí
34 2 Francisco Javier Solans Benedí
Stop server:
35
``` shell
36 1 Francisco Javier Solans Benedí
[centos@ip-172-31-9-232 etc]$ sudo systemctl stop karaf
37 2 Francisco Javier Solans Benedí
```
38 1 Francisco Javier Solans Benedí
39 2 Francisco Javier Solans Benedí
Start server:
40
``` shell
41 1 Francisco Javier Solans Benedí
[centos@ip-172-31-9-232 etc]$ sudo systemctl start karaf
42 2 Francisco Javier Solans Benedí
```
43
44
## Other useful data
45
46
**Location of sensitive information**
47 1 Francisco Javier Solans Benedí
There is not sensitive data.
48
49 2 Francisco Javier Solans Benedí
**Encryption configuration**
50 1 Francisco Javier Solans Benedí
There is no encrypted data.
51
52 2 Francisco Javier Solans Benedí
**Changing system credentials**
53 1 Francisco Javier Solans Benedí
To change Karaf credentials you can follow the instructions in the following link:
54
https://karaf.apache.org/manual/latest/security
55
56 2 Francisco Javier Solans Benedí
**Instructions on how the user interacts with Karaf to decrypt necessary data**
57 1 Francisco Javier Solans Benedí
You can use the Karaf management console to view all necessary data.
58
59 2 Francisco Javier Solans Benedí
**How to assess and monitor the health and proper function of the application.**
60 1 Francisco Javier Solans Benedí
1. Navigate to your Amazon EC2 console and verify that you're in the correct region.
61
2. Choose Instance and select your launched instance.
62
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.
63
64 2 Francisco Javier Solans Benedí
## Additional resources
65 1 Francisco Javier Solans Benedí
66
Following resources will help you with your first steps using Apache Karaf:
67 2 Francisco Javier Solans Benedí
* Website: https://karaf.apache.org/
68
* Quick start: https://karaf.apache.org/manual/latest/quick-start.html