Apache TomEE by Neodoo En » Histórico » Versión 2
Francisco Javier Solans Benedí, 2024-04-10 07:16
| 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 Manager Application at: http://[ec2-ip]:8080/manager, or the Host Manager Application at: http://[ec2-ip]:8080/host-manager where [ec2_ip] is the public ip provided by Amazon for your instance. |
||
| 9 | 3. Log in using the following credentials: |
||
| 10 | * Username: admin |
||
| 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 | 2 | Francisco Javier Solans Benedí | |
| 15 | 1 | Francisco Javier Solans Benedí | The username depends on the operative system: |
| 16 | 2 | Francisco Javier Solans Benedí | * 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 | 1 | Francisco Javier Solans Benedí | |
| 23 | To change the default username and password, edit the $TOMEE_HOME/conf/tomcat-users.xml file. |
||
| 24 | 2 | Francisco Javier Solans Benedí | |
| 25 | 1 | Francisco Javier Solans Benedí | Tomcat server is deployed in /usr/java/apache-tomee-[version] directory, which is linked to /usr/java/apache-tomee. |
| 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 tomee |
| 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 tomee |
| 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 tomee |
| 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 no sensible information. |
| 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 the Tomee credentials you have to modify the following file: /usr/java/apache-tomcat/conf/tomcat-users.xml. |
| 54 | |||
| 55 | 2 | Francisco Javier Solans Benedí | **Instructions on how the user interacts with Tomee to decrypt necessary data** |
| 56 | 1 | Francisco Javier Solans Benedí | You can use the Tomee management console to view all necessary data. |
| 57 | |||
| 58 | 2 | Francisco Javier Solans Benedí | **How to assess and monitor the health and proper function of the application.** |
| 59 | 1 | Francisco Javier Solans Benedí | 1. Navigate to your Amazon EC2 console and verify that you're in the correct region. |
| 60 | 2. Choose Instance and select your launched instance. |
||
| 61 | 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. |
||
| 62 | |||
| 63 | 2 | Francisco Javier Solans Benedí | ## Additional resources |
| 64 | 1 | Francisco Javier Solans Benedí | |
| 65 | 2 | Francisco Javier Solans Benedí | * Apache TomEE website: https://tomee.apache.org/ |