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:04]
Joseph Mertens
linux:apacheguacamole [2023/04/12 22:34] (aktuell)
Joseph Mertens
Zeile 90: Zeile 90:
  
   systemctl status tomcat   systemctl status tomcat
 +
 +  cd /usr/share/tomcat/conf
  
   nano conf/server.xml   nano conf/server.xml
Zeile 97: Zeile 99:
            URIEncoding="UTF-8"            URIEncoding="UTF-8"
            redirectPort="8443" />            redirectPort="8443" />
 +
 +  cd /usr/share/tomcat/conf
  
   nano server.xml   nano server.xml
Zeile 105: Zeile 109:
                remoteIpProxiesHeader="x-forwarded-by"                remoteIpProxiesHeader="x-forwarded-by"
                protocolHeader="x-forwarded-proto" />                protocolHeader="x-forwarded-proto" />
 +               
 +  systemctl restart tomcat
  
   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 134: 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 142: 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 150: 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 157: 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 177: Zeile 185:
   systemctl start mariadb   systemctl start mariadb
    
-  mysql -u root -p+  ''mysql -u root -p''
  
   create database guacdb23;   create database guacdb23;
Zeile 187: 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.1681326284.txt.gz · Zuletzt geändert: 2023/04/12 21:04 von Joseph Mertens