Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This page section describes how to upgrade the Guacamole server and Libwhatsi as part of the upgrade to Abiquo 6.1.2 or higher. This upgrade is for remote access to public cloud and it is optional for customers using WebMKS only

En el RS: 

Yum install docker

To use the latest version of Guacamole, do these steps to install and run it in a Docker container on each Remote Services server.

  1. Log in to the Remote Services server and run the following commands.

    Code Block
    yum install docker
    
    /usr/bin/systemctl enable docker

...

  1. 
    
    /usr/bin/systemctl start docker

...

  1. 
    
    /usr/bin/systemctl stop guacd

...

  1. 
    
    docker pull guacamole/guacd 

...

  1. 
    
    docker run -t --name guacd -d -p 4822:4822 guacamole/guacd:latest

Comprobar que se ha creado bien el container con: docker ps

Crear file:  /etc/systemd/system/docker.guacamole.service 

...

  1. To check that the container was created correctly, run docker ps and check the output.

  2. Create the Docker Guacamole service file (question)

    Code Block
    cat > /etc/systemd/system/docker.guacamole.service <<EOF 

...

  1. 
    
    [Unit]

...

  1. 
    
    Wants=docker.service

...

  1. 
    
    After=docker.service

...

  1. 
    
    
    
    [Service]

...

  1. 
    
    RemainAfterExit=yes

...

  1. 
    
    ExecStart=/usr/bin/docker start guacd

...

  1. 
    
    #ExecStop=/usr/bin/docker stop guacd

...

  1. 
    
    
    
    [Install]

...

  1. 
    
    WantedBy=multi-user.target

...

  1. 
    
    EOF

...

  1. Edit /etc/guacamole/guacd.conf and add the following configuration.

    Code Block
    bind_port=4820

  2. Restart the services.

    Code Block
    /usr/bin/systemctl disable guacd

...

  1. 
    
    /usr/bin/systemctl enable docker.guacamole.service