{"id":2108,"date":"2024-01-25T21:51:41","date_gmt":"2023-01-07T22:16:40","guid":{"rendered":""},"modified":"2025-02-02T00:46:18","modified_gmt":"2025-02-01T23:46:18","slug":"how-to-create-remote-desktop-gateway-via-apache-guacamole-on-almalinux-9","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/how-to-create-remote-desktop-gateway-via-apache-guacamole-on-almalinux-9\/","title":{"rendered":"How to Create Remote Desktop Gateway via Apache Guacamole on AlmaLinux 9"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<header>\n<h1>\u00a0<\/h1>\n<\/header>\n<article>\n<section>\n<h2>Introduction<\/h2>\n<p>Apache Guacamole is a powerful open-source clientless remote desktop gateway that supports standard protocols like VNC, RDP, and SSH. This guide will walk you through setting up Apache Guacamole on AlmaLinux 9 to create a Remote Desktop Gateway. This setup is ideal for those utilizing a  for remote access and management.<\/p>\n<\/section>\n<section>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>An AlmaLinux 9 server with root access<\/li>\n<li>Java Development Kit (JDK) installed<\/li>\n<li>Tomcat installed<\/li>\n<li>Basic knowledge of Linux commands<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>Step 1: Update Your System<\/h2>\n<p>Start by updating your system to ensure all packages are up to date:<\/p>\n<pre><code>sudo dnf update -y<\/code><\/pre>\n<\/section>\n<section>\n<h2>Step 2: Install Required Packages<\/h2>\n<p>Install the necessary packages, including the JDK and Tomcat:<\/p>\n<pre><code>sudo dnf install java-11-openjdk tomcat -y<\/code><\/pre>\n<\/section>\n<section>\n<h2>Step 3: Download Apache Guacamole<\/h2>\n<p>Download the latest Apache Guacamole server and client packages:<\/p>\n<pre><code>wget https:\/\/archive.apache.org\/dist\/guacamole\/1.4.0\/binary\/guacamole-server-1.4.0.tar.gz\r\nwget https:\/\/archive.apache.org\/dist\/guacamole\/1.4.0\/binary\/guacamole-client-1.4.0.war<\/code><\/pre>\n<\/section>\n<section>\n<h2>Step 4: Install Guacamole Server<\/h2>\n<p>Extract the downloaded server package and navigate to the extracted directory:<\/p>\n<pre><code>tar -xzf guacamole-server-1.4.0.tar.gz\r\ncd guacamole-server-1.4.0<\/code><\/pre>\n<p>Compile and install Guacamole Server:<\/p>\n<pre><code>sudo .\/configure --with-init-dir=\/etc\/init.d\r\nmake\r\nsudo make install<\/code><\/pre>\n<p>Next, start the Guacamole service:<\/p>\n<pre><code>sudo systemctl start guacd\r\nsudo systemctl enable guacd<\/code><\/pre>\n<\/section>\n<section>\n<h2>Step 5: Configure Guacamole<\/h2>\n<p>Move the Guacamole client WAR file to the Tomcat webapps directory:<\/p>\n<pre><code>sudo mv guacamole-client-1.4.0.war \/usr\/share\/tomcat\/webapps\/guacamole.war<\/code><\/pre>\n<p>Create the Guacamole configuration directory:<\/p>\n<pre><code>sudo mkdir \/etc\/guacamole\r\nsudo ln -s \/usr\/share\/tomcat\/.guacamole \/etc\/guacamole<\/code><\/pre>\n<p>Create the <code>guacamole.properties<\/code> configuration file:<\/p>\n<pre><code>sudo nano \/etc\/guacamole\/guacamole.properties<\/code><\/pre>\n<p>Add the following lines to the file:<\/p>\n<pre><code>guacd-hostname=localhost\r\nguacd-port=4822\r\n<\/code><\/pre>\n<p>Save the file and restart Tomcat:<\/p>\n<pre><code>sudo systemctl restart tomcat<\/code><\/pre>\n<\/section>\n<section>\n<h2>Step 6: Access Guacamole Web Interface<\/h2>\n<p>Open your web browser and navigate to <code>http:\/\/your_server_ip:8080\/guacamole<\/code>. You should see the Guacamole login page.<\/p>\n<p>Use the default username and password:<\/p>\n<ul>\n<li>Username: <code>guacadmin<\/code><\/li>\n<li>Password: <code>guacadmin<\/code><\/li>\n<\/ul>\n<p>For security, change the default password after your first login.<\/p>\n<\/section>\n<section>\n<h2>Step 7: Add Remote Desktop Connection<\/h2>\n<p>Once logged in, you can add remote desktop connections by clicking on the &#8220;Settings&#8221; option and then &#8220;Connections.&#8221; Enter the details for the remote machines you wish to connect to.<\/p>\n<\/section>\n<section>\n<h2>Step 8: Conclusion<\/h2>\n<p>You have successfully set up Apache Guacamole as a Remote Desktop Gateway on AlmaLinux 9. This configuration allows you to access your remote servers conveniently, especially beneficial for those using a . Explore more options with , including <a href=\"https:\/\/ie.netcloud24.com\">Windows VPSVirtual Private Server Hosting<\/a> and <a href=\"https:\/\/ie.netcloud24.com\">Windows VPS Hosting UK<\/a> for optimal server management.<\/p>\n<\/section>\n<\/article>\n<footer>\n<p>\u00a9 2024 Apache Guacamole Setup Tutorial. All rights reserved.<\/p>\n<\/footer>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 Introduction Apache Guacamole is a powerful open-source clientless remote desktop gateway that supports standard protocols like VNC, RDP, and SSH. This guide will walk you through\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-2108","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=2108"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2108\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=2108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=2108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=2108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}