Proyecto

General

Perfil

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

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

1 1 Francisco Javier Solans Benedí
# Usage instructions
2
3
## Getting started
4
5
Launch the product via 1-Click
6
7
Use a web browser to access the console application at: http://[ec2-ip]:8080/guacamole where [ec2_ip] is the public ip provided by Amazon for your instance.
8
9
Log in using the following credentials:
10
11
Username: guacadmin
12
13
Password: the instance_id of the instance
14
15
You can also access your instance via SSH using the username and your Amazon private key.
16
The username depends on the operative system:
17
  - Centos 9 Stream: 'ec2-user'
18
  - Other Centos: 'centos'
19
  - Ubuntu: 'ubuntu'
20
  - Rocky Linux: 'rocky'
21
22
## Installation details
23
24
Apache Guacamole 1.3.0 is compiled natively and runnning on APache Tomcat 9, with OpenJDK 11 and MySQL 8
25
The project location is /etc/guacamole ($GUACAMOLE_HOME) where configuration files are stored. The extensions are in $GUACAMOLE_HOME/extensions and the libraries in $GUACAMOLE_HOME/lib
26
Tomcat server is installed in /usr/java/apache-tomcat-[version] directory, which is linked to /usr/java/apache-tomcat, defined in $CATALINA_HOME.
27
The Apache Guacamole WAR is deployed at $CATALINA_HOME/webapps.
28
Services are configured with systemd.
29
(*) If the client wants to use other kind of authentication, project and libraries are provided at $HOME/software/guacamole directory
30
31
32
Authentication methods
33
34
MySQL
35
36
It uses the authentication module through MySQL database thanks to the library guacamole-auth-jdbc-mysql-x.x.x.jar, in $GUACAMOLE_HOME/extensions directory, the  JDBC driver of MySQL, mysql-connector-java-x.x.x.jar, in $GUACAMOLE_HOME/lib directory and the database configuration provided in the file: $GUACAMOLE_HOME/guacamole.properties
37
38
PostgreSQL
39
It uses the authentication module through PostgreSQL database thanks to the library guacamole-auth-jdbc-postgresql-x.x.x.jar, in $GUACAMOLE_HOME/extensions directory, the  JDBC driver of PostgreSQL, postgresql-x.x.x.jar, in $GUACAMOLE_HOME/lib directory and the database configuration provided in the file: $GUACAMOLE_HOME/guacamole.properties
40
41
42
Tomcat
43
44
View status of service:
45
46
$ sudo systemctl status tomcat
47
Stop service:
48
49
$ sudo systemctl stop tomcat
50
Start service:
51
52
$ sudo systemctl start tomcat
53
54
Guacamole
55
56
View status of service:
57
58
$ sudo systemctl status guacd
59
Stop service:
60
61
$ sudo systemctl stop guacd
62
Start service:
63
64
$ sudo systemctl start guacd
65
66
MySQL
67
68
View status of service:
69
70
$ sudo systemctl status mysqld
71
Stop service:
72
73
$ sudo systemctl stop mysqld
74
Start service:
75
76
$ sudo systemctl start mysqld
77
Access to MysQL console:
78
79
$ sudo mysql
80
81
PostgreSQL
82
83
View status of service:
84
85
$ sudo systemctl status postgresql
86
Stop service:
87
88
$ sudo systemctl stop postgresql
89
Start service:
90
91
$ sudo systemctl start postgresql
92
Access to MysQL console:
93
94
sudo -u postgres psql
95
96
## Other useful data
97
Location of sensitive information
98
There is no sensitive data
99
100
Encryption configuration
101
There is no encrypted data.
102
103
Changing system credentials
104
To change the Guacamole credentials you have to go to the right menu, click "Settings" button, users section, select user guacadmin and complete the form.
105
106
Instructions on how the user interacts with Guacamole to decrypt necessary data
107
You can use the Guacamole management console to view all necessary data.
108
109
How to assess and monitor the health and proper function of the application.
110
1. Navigate to your Amazon EC2 console and verify that you're in the correct region.
111
2. Choose Instance and select your launched instance.
112
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.
113
114
## Additional resources
115
116
Apache Tomcat: https://tomee.apache.org/
117
Apache Guacamole: https://guacamole.apache.org
118
MySQL: https://www.mysql.com/