Proyecto

General

Perfil

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

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

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 2 Francisco Javier Solans Benedí
### Authentication methods
33 1 Francisco Javier Solans Benedí
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 2 Francisco Javier Solans Benedí
### Tomcat
42 1 Francisco Javier Solans Benedí
43
View status of service:
44
45
$ sudo systemctl status tomcat
46
Stop service:
47
48
$ sudo systemctl stop tomcat
49
Start service:
50
51
$ sudo systemctl start tomcat
52
53 2 Francisco Javier Solans Benedí
### Guacamole
54 1 Francisco Javier Solans Benedí
55
View status of service:
56
57
$ sudo systemctl status guacd
58
Stop service:
59
60
$ sudo systemctl stop guacd
61
Start service:
62
63
$ sudo systemctl start guacd
64
65 2 Francisco Javier Solans Benedí
### MySQL
66 1 Francisco Javier Solans Benedí
67
View status of service:
68
69
$ sudo systemctl status mysqld
70
Stop service:
71
72
$ sudo systemctl stop mysqld
73
Start service:
74
75
$ sudo systemctl start mysqld
76
Access to MysQL console:
77
78
$ sudo mysql
79
80 2 Francisco Javier Solans Benedí
### PostgreSQL
81 1 Francisco Javier Solans Benedí
82
View status of service:
83
84
$ sudo systemctl status postgresql
85
Stop service:
86
87
$ sudo systemctl stop postgresql
88
Start service:
89
90
$ sudo systemctl start postgresql
91
Access to MysQL console:
92
93
sudo -u postgres psql
94
95
## Other useful data
96
Location of sensitive information
97
There is no sensitive data
98
99
Encryption configuration
100
There is no encrypted data.
101
102
Changing system credentials
103
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.
104
105
Instructions on how the user interacts with Guacamole to decrypt necessary data
106
You can use the Guacamole management console to view all necessary data.
107
108
How to assess and monitor the health and proper function of the application.
109
1. Navigate to your Amazon EC2 console and verify that you're in the correct region.
110
2. Choose Instance and select your launched instance.
111
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.
112
113
## Additional resources
114
115
Apache Tomcat: https://tomee.apache.org/
116
Apache Guacamole: https://guacamole.apache.org
117
MySQL: https://www.mysql.com/