Update Server:
apt update && apt upgrade -y
Set hostname:
hostnamectl set-hostname guacamole.example.com
Install Docker:
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
sudo mkdir -m 0755 -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubu... | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
I'm replacing angled bracket with square bracket ###
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list ] /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Download Apache Guacamole Server and Client:
docker pull guacamole/guacd
docker pull guacamole/guacamole
docker images
Launch Apache Guacamole MySQL Container:
docker run --name guacamoledb -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=guacdb -d mysql/mysql-server
mkdir -p /opt/guacamole/mysql
I'm replacing angled bracket with square bracket ###
docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --mysql ] /opt/guacamole/mysql/01-initdb.sql
docker cp /opt/guacamole/mysql/01-initdb.sql guacamoledb:/docker-entrypoint-initdb.d
docker exec -it guacamoledb bash
cd /docker-entrypoint-initdb.d/
ls
mysql -u root -p
use guacdb;
source 01-initdb.sql;
show tables;
create user guacadmin@'%' identified by 'password';
grant SELECT,UPDATE,INSERT,DELETE on guacdb.* to guacadmin@'%';
flush privileges;
exit;
exit
Launch Guacamole Server Container:
docker run --name guacamole-server -d guacamole/guacd
Launch Guacamole Client Container:
docker run --name guacamole-client --link guacamole-server:guacd --link guacamoledb:mysql -e MYSQL_DATABASE=guacdb -e MYSQL_USER=guacadmin -e MYSQL_PASSWORD=password -d -p 80:8080 guacamole/guacamole
ss -altnp | grep :80
Access Apache Guacamole Dashboard
guacamole.example.com/guacamole
User: guacadmin
Password: guacadmin
Watch video How to install Apache Guacamole (cross-platform Remote Desktop Gateway) on ubuntu online without registration, duration hours minute second in high quality. This video was added by user Quickloss3 05 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 379 once and liked it like people.