Difference between revisions of "Install Guacamole - HTML5 RDP Gateway"
Jump to navigation
Jump to search
m (Chris moved page CentOS7 Guacamole - HTML5 RDP Gateway to Install Guacamole - HTML5 RDP Gateway) |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* guacamole is a great way to present windows apps and desktops to the internet.<br> | * guacamole is a great way to present windows apps and desktops to the internet.<br> | ||
You have only one https port open to the internet and the application is working pretty nice and fast. | You have only one https port open to the internet and the application is working pretty nice and fast. | ||
− | * | + | * https://guacamole.apache.org/ |
+ | * Tested with Rocky Linux 9 | ||
+ | |||
+ | You can install Ansible on a separated control node as well, then you need to configure ansible target host with ssh keys.<br> | ||
+ | For that, you can look into my ansible course at | ||
+ | * https://github.com/joe-speedboat/workshop.ansible | ||
+ | |||
=install= | =install= | ||
− | + | * do this steps as root user | |
+ | |||
+ | ==setup ansible== | ||
yum makecache | yum makecache | ||
yum -y upgrade | yum -y upgrade | ||
+ | curl -L ansible.bitbull.ch | bash | ||
− | + | ==prepare ansible role== | |
+ | <pre> | ||
+ | ansible-galaxy install joe-speedboat.guacamole | ||
+ | ansible-galaxy install joe-speedboat.mariadb | ||
+ | ansible-galaxy collection install ansible.posix community.mysql community.general | ||
− | + | vim /etc/ansible/playbooks/install_guacamole.yml | |
+ | ---------- | ||
+ | - hosts: localhost | ||
+ | become: True | ||
+ | vars: | ||
+ | mariadb_user_password: '.change-this_000.' | ||
+ | mariadb_root_password: '.change-this_111.' | ||
+ | tasks: | ||
+ | - dnf: | ||
+ | name: firewalld | ||
+ | - systemd: | ||
+ | name: firewalld | ||
+ | state: started | ||
+ | enabled: True | ||
+ | - firewalld: | ||
+ | service: https | ||
+ | permanent: true | ||
+ | state: enabled | ||
+ | - systemd: | ||
+ | name: firewalld | ||
+ | state: restarted | ||
+ | enabled: True | ||
+ | roles: | ||
+ | - joe-speedboat.guacamole | ||
+ | ---------- | ||
+ | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |||
+ | ==fire== | ||
+ | ansible-playbook /etc/ansible/playbooks/install_guacamole.yml | ||
+ | |||
+ | ==remove ansible== | ||
+ | * if not needed anymore | ||
+ | * note passwords from setup above as needed | ||
<pre> | <pre> | ||
− | + | dnf -y remove ansible-core | |
− | + | rm -rfv /etc/ansible | |
− | + | rm -rf $HOME/.ansible | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | + | [[Category:Ansible]] | |
− | + | [[Category:Howtos]] | |
− | + | [[Category:Rocky9]] | |
− | + | ||
+ | ==Test== | ||
+ | * firefox: https://guacamole-host.domain.local | ||
+ | :* user: guacadmin | ||
+ | :* password: guacadmin | ||
− | + | [[Category:Ansible]] | |
− | |||
[[Category:Howtos]] | [[Category:Howtos]] | ||
+ | [[Category:Rocky9]] |
Latest revision as of 06:53, 17 May 2023
Contents
1 general
- guacamole is a great way to present windows apps and desktops to the internet.
You have only one https port open to the internet and the application is working pretty nice and fast.
- https://guacamole.apache.org/
- Tested with Rocky Linux 9
You can install Ansible on a separated control node as well, then you need to configure ansible target host with ssh keys.
For that, you can look into my ansible course at
2 install
- do this steps as root user
2.1 setup ansible
yum makecache yum -y upgrade curl -L ansible.bitbull.ch | bash
2.2 prepare ansible role
ansible-galaxy install joe-speedboat.guacamole ansible-galaxy install joe-speedboat.mariadb ansible-galaxy collection install ansible.posix community.mysql community.general vim /etc/ansible/playbooks/install_guacamole.yml ---------- - hosts: localhost become: True vars: mariadb_user_password: '.change-this_000.' mariadb_root_password: '.change-this_111.' tasks: - dnf: name: firewalld - systemd: name: firewalld state: started enabled: True - firewalld: service: https permanent: true state: enabled - systemd: name: firewalld state: restarted enabled: True roles: - joe-speedboat.guacamole ----------
2.3 fire
ansible-playbook /etc/ansible/playbooks/install_guacamole.yml
2.4 remove ansible
- if not needed anymore
- note passwords from setup above as needed
dnf -y remove ansible-core rm -rfv /etc/ansible rm -rf $HOME/.ansible
2.5 Test
- firefox: https://guacamole-host.domain.local
- user: guacadmin
- password: guacadmin