lunes, 13 de julio de 2015

Instalar Guacamole 0.9.7 HTML5 Remote Desktop Gateway en CentOS 7

guacamole.incubator.apache.org




Guacamole es un Remote Desktop Gateway con el cual podras crear Sesiones Remotas de tipo RDP, VNC, SSH y Telnet desde un único frontend web.
Para funcionar Guacamole no se necesita de ningún tipo de Cliente o Applet y es esto es gracias a que Guacamoles es una App Web basada en HTML5.




Para instalar Guacamole basta con seguir con las guias de instalación del proyecto Guacamole:



Pero para facilitar la tarea junte todos los ingredientes en un script de instalación.

El script funciona en CentOS 7, instala dependencias, baja y compila los source files de Guacamole y configura el OS para que en pocos minutos tengas disponible tu GW.

Para instalar Guacamole:

# wget http://sourceforge.net/projects/guacamoleinstallscript/files/CentOS/guacamole-install-script.sh
# chmod +x guacamole-install-script.sh
# ./guacamole-install-script.sh


Completar el Menu de Instalación y listo! A probar el Guacamole!



Luego estare realizando un script de instalación para Debian/Ubuntu y lo subire a sourceforge!

http://guacamoleinstallscript.sourceforge.net


Saludos
Hernan


26 comentarios:

  1. Great!

    But after reboot, guacamole no more works with ip:8080/guacamole. Do you can help me?...

    ResponderEliminar
    Respuestas
    1. Sure!, You installed the guacamole in a fresh install of CentOS 7? and can you verify the firewall and tomcat services? Regards

      Eliminar
    2. The firewall ports are fine, but when i check tomcat service with sudo systemctl status tomcat.service -l ; this the output:

      - Loaded: loaded (/usr/lib/systemd/system/tomcat.service; enabled)
      Active: failed (Result: exit-code) since Qui 2015-08-13 08:12:22 BRT; 13s ago
      Process: 15245 ExecStop=/usr/libexec/tomcat/server stop (code=exited, status=1/FAILURE)
      Process: 15210 ExecStart=/usr/libexec/tomcat/server start (code=exited, status=0/SUCCESS)
      Main PID: 15210 (code=exited, status=0/SUCCESS)

      Thanks!

      Eliminar
    3. In all tests with a minimal CentOS 7 version all works fine, but it occurs to me that SELinux can bring you problems, try disabling SELinux with the command "setenforce 0" and then restart tomcat and guacd daemon.
      Also after an update on my install script file, now I can see that the logs entries dont work fine, so which soon will be updating the install script.

      Regards

      Eliminar
    4. Thanks, Hernan!

      I will wait for new version of your script. So i will reinstall a clean CentOS 7.

      Best regards!

      Eliminar
    5. Hi
      Recently I uploaded the install script with minimal modifications, please check and tell me if you need any help.
      Regards!
      Hernan

      Eliminar
  2. Actualice el script para instalar la versión 0.9.8 de Guacamole, el script sigue siendo para autenticaciones de usuarios locales, a medida que el tiempo este a mi favor voy a ir mejorando el script para agregar funcionalidades.

    Hernan

    ResponderEliminar
    Respuestas
    1. Greatifull!

      Can I change the user and password information requested in the beginning of script installation?

      Best regards!

      Eliminar
    2. Sure!, Remember, remember, the fifth of November!, no no hahaha...
      Just remember the installer runs on a fresh install of CentOS 7.

      Kind Regards
      Hernan

      Eliminar
  3. Actualice el script para que el tomcat permita https en el puerto 8443.

    Que lo disfruten!

    ResponderEliminar
  4. Actualice el script para instalar la version 0.9.9 de Guacamole y agregue mas soporte para la configuación del firewall.

    A probarlo!

    ResponderEliminar
  5. very nice and easy script. Is it possible to integrate libjpeg-turbo-official-1.4.2.x86_64.rpm?

    ResponderEliminar
  6. Hi Hernan, thanks for your wonderful script. Works nicely and save a lot of time. I have a question/request: this will be a killer script if can support upgrades too: think if I've installed guacamole at 0.9.7 using your script.. now it's 0.9.9 and it would be awesome if upgrading guacamole only needs to run the script again... Have you thought about an upgrade option/script?

    thanks again for sharing your work

    ResponderEliminar
    Respuestas
    1. Hi Lorenzo

      Yes, I've thought about adding this functionality, I see that many people are using the script and think it's time to incorporate some improvements. So far he has missed me some time, but it is certainly something I will.

      Regards
      Hernan

      Eliminar
    2. time is rare nowdays.. let me know if I can help somehow. cheers and thanks for replying

      Eliminar
    3. What's the alternative right now?, reinstall?

      Eliminar
    4. Hi Ciro, I have not had time to test and add Upgrade functionality. Please see that: https://guacamole.incubator.apache.org/doc/gug/jdbc-auth.html

      I can not promise but probably add the upgrade option in the next script update.
      Regards

      Eliminar
  7. Hola Hernan, tu script es muy bueno y me da gusto que lo haya hecho alguien que habla español. En este sentido te puedo preguntar de que manera puedo integrar la extension para soporte de autenticación LDAP a 0.9.10-incubating ya le di muchas vueltas a la documentación y nada. Espero puedas ayudarme o en todo caso implementarlo en tu script en el futuro.

    Poro otra parte tu respuesta acerca de las actualizaciones futuras de guacamole, ejecutar tu script otra ves no creo que haga la actualizacion automatica. Dime si estoy mal o no en que solo consiste en cambiar el guacamole.war en la carpeta del tomcat con la nueva version compilada para hacer el upgrade o hay otras cosas mas que configurar al hacer el upgrade.

    ResponderEliminar
    Respuestas
    1. Hola Jason, gracias por el saludo y el animo. Por lo que he visto no es dificil implementar LDAP, lamentablemente yo he estado muy atareado y no pude actualizar el script con la funcionalidad de LDAP y de upgrade, lo que mas tiempo lleva son las pruebas.

      Para el upgrade te recomendaria que leas bien los docs de guacamole, la base de datos es lo mas importante, asegurate de hacer un bkp antes de correr la actualizacion.

      Saludos
      Hernan

      Eliminar
  8. Is there a script that works with Ubuntu I cannot get ANYONE's Guacamole to work with Ubuntu 16 but your script for CentOS works perfectly. I want to run this on Ubuntu 16 please can you help?

    ResponderEliminar
    Respuestas
    1. Hi, sorry for the delay, please write directly to my email.-
      At the moment the script only works for CentOS.
      If you wish you could hire my services, to convert the script to work with Ubuntu / Debian.
      Regards
      Hernan

      Eliminar
  9. hola buenas, felicidades por el script va bien,
    una vez instalado el problea que tengo es que no carga ninguna maquina que tengo activas
    tengo otro gucamole (una version mas antigua y me conecta a todas las maquinas pero desde esta version no me conecta con ninguna.
    sabes que puede ser?
    GRACIASS

    ResponderEliminar
    Respuestas
    1. Hola.
      Tenes mas datos para otorgar? el message acusa algun problema?
      Saludos

      Eliminar
  10. Hello, I getting this error:

    https://i.imgur.com/FjLfWIP.gif

    How I can this fix? Thanks

    ResponderEliminar
    Respuestas
    1. Sorry for the delay in respond.
      Could you solve your problem? try turning off selinux.

      Regards

      Eliminar