Proyecto

General

Perfil

Apache Tomcat by Neodoo En » Histórico » Versión 1

Francisco Javier Solans Benedí, 2024-03-13 06:30

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 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.
6
7
Log in using the following credentials:
8
9
Username: admin
10
11
Password: the instance_id of the instance
12
13
You can also access your instance via SSH using the username and your Amazon private key.
14
The username depends on the operative system:
15
  - Centos 9 Stream: 'ec2-user'
16
  - Other Centos: 'centos'
17
  - Ubuntu: 'ubuntu'
18
  - Rocky Linux: 'rocky'
19
20
Installation details
21
22
To change the default  and password, edit the $TOMCAT_HOME/conf/tomcat-users.xml file.
23
Tomcat server is deployed in /usr/java/apache-tomcat-[version] directory, which is linked to /usr/java/apache-tomcat.
24
Server service is configured with systemd.
25
26
27
View status server:
28
29
[centos@ip-172-31-9-232 etc]$ sudo systemctl status tomcat
30
Stop server:
31
32
[centos@ip-172-31-9-232 etc]$ sudo systemctl stop tomcat
33
Start server:
34
35
[centos@ip-172-31-9-232 etc]$ sudo systemctl start tomcat
36
37
Other useful data
38
39
Location of sensitive information
40
There is no sensitive data.
41
42
Encryption configuration
43
There is no encrypted data.
44
45
Changing system credentials
46
To change the tomcat credentials you have to modify the following file: /usr/java/apache-tomcat/conf/tomcat-users.xml. 
47
48
Instructions on how the user interacts with Tomcat to decrypt necessary data
49
You can use the Tomcat 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
Apache Tomcat website: http://tomcat.apache.org/