Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:apacheguacamole

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
linux:apacheguacamole [2023/04/12 21:32]
Joseph Mertens
linux:apacheguacamole [2023/04/12 22:34] (aktuell)
Joseph Mertens
Zeile 113: Zeile 113:
  
   mkdir /etc/guacamole   mkdir /etc/guacamole
 +
 +  cd /etc/guacamole
  
   wget https://dlcdn.apache.org/guacamole/1.5.0/binary/guacamole-1.5.0.war   wget https://dlcdn.apache.org/guacamole/1.5.0/binary/guacamole-1.5.0.war
Zeile 140: Zeile 142:
                  
     <!-- Per-user authentication and config information -->     <!-- Per-user authentication and config information -->
 +  
     <!-- A user using md5 to hash the password     <!-- A user using md5 to hash the password
          guacadmin user and its md5 hashed password below is used to           guacadmin user and its md5 hashed password below is used to 
Zeile 148: Zeile 150:
             password="d41e98d1eafa6d6011d3a70f1a5b92f0"             password="d41e98d1eafa6d6011d3a70f1a5b92f0"
             encoding="md5">             encoding="md5">
 +  
         <!-- First authorized Remote connection -->         <!-- First authorized Remote connection -->
         <connection name="Server SSH">         <connection name="Server SSH">
Zeile 156: Zeile 158:
             <param name="port">22</param>             <param name="port">22</param>
         </connection>         </connection>
 +  
         <!-- Second authorized remote connection -->         <!-- Second authorized remote connection -->
         <connection name="Windows 10 RDP">         <connection name="Windows 10 RDP">
Zeile 163: Zeile 165:
             <param name="port">3389</param>             <param name="port">3389</param>
             <param name="username">Need User</param>             <param name="username">Need User</param>
- <param name="password">Need This Line</param>+  <param name="password">Need This Line</param>
             <param name="ignore-cert">true</param>             <param name="ignore-cert">true</param>
- <param name="security">any</param>+  <param name="security">any</param>
         </connection>         </connection>
 +  
     </authorize>     </authorize>
- 
-  </user-mapping> 
      
 +  </user-mapping>
 +
   http://yourserverip:8080/guacamole/   http://yourserverip:8080/guacamole/
  
Zeile 193: Zeile 195:
   flush privileges;   flush privileges;
  
 +  show databases;
 +
 +  quit
 +
 +  wget https://dlcdn.apache.org/guacamole/1.5.0/binary/guacamole-auth-jdbc-1.5.0.tar.gz
 +
 +  mkdir /etc/guacamole/extensions
 +  mkdir /etc/guacamole/lib
      
 +  VER=1.5.0
 +  
 +  tar xzf guacamole-auth-jdbc-${VER}.tar.gz guacamole-auth-jdbc-${VER}/mysql
 +
 +  cp guacamole-auth-jdbc-${VER}/mysql/guacamole-auth-jdbc-mysql-${VER}.jar /etc/guacamole/extensions/
 +
 +  mysql -u root -p guacdb23 < guacamole-auth-jdbc-${VER}/mysql/schema/001-create-schema.sql
 +
 +  mysql -u root -p guacdb23 < guacamole-auth-jdbc-${VER}/mysql/schema/002-create-admin-user.sql
 +
 +  wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-j-8.0.31.tar.gz
 +
 +  tar xzvf mysql-connector-j-8.0.31.tar.gz
 +
 +  cp mysql-connector-j-8.0.31/mysql-connector-j-8.0.31.jar /etc/guacamole/lib
 +
 +  nano /etc/guacamole/guacamole.properties
 +
 +  mysql-hostname: localhost
 +  mysql-database: guacdb23
 +  mysql-username: gcadmin_23
 +  mysql-password: D0notUseThis
 +
 +  systemctl restart tomcat guacd mariadb
 +
 +  Browse to your Guacamole instance and login  http://yoursite:8080/guacamole/
 +
 +  username : guacadmin
 +  password: guacadmin
linux/apacheguacamole.1681327966.txt.gz · Zuletzt geändert: 2023/04/12 21:32 von Joseph Mertens