{"id":2550,"date":"2022-08-09T15:37:39","date_gmt":"2024-11-30T20:20:12","guid":{"rendered":""},"modified":"2025-02-02T00:46:18","modified_gmt":"2025-02-01T23:46:18","slug":"how-to-install-and-use-guacamole-remote-desktop-on-centos-8","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/how-to-install-and-use-guacamole-remote-desktop-on-centos-8\/","title":{"rendered":"Linux VPS &#038; VPS Windows Setup Guide | NetCloud24 and Use Guacamole Remote Desktop on CentOS 8"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<header>\n<h1>\u00a0<\/h1>\n<\/header>\n<article>\n<p>Apache Guacamole is a clientless remote desktop gateway that allows you to access remote servers through a web browser. It supports protocols like RDP, VNC, and SSH. In this guide, we\u2019ll walk you through the process of installing and using Guacamole Remote Desktop on CentOS 8. If you&#8217;re using a , the process may be slightly different, but Guacamole can still be a great solution for managing remote desktop connections across multiple systems.<\/p>\n<h2>Prerequisites<\/h2>\n<p>Before proceeding with the installation, ensure you have the following:<\/p>\n<ul>\n<li>A CentOS 8 server with root or sudo access.<\/li>\n<li>A basic understanding of how to use the terminal.<\/li>\n<li>Java, Tomcat, and other dependencies installed on your server.<\/li>\n<\/ul>\n<p>If you\u2019re using , you can still run Guacamole, but the installation process might vary slightly depending on the system configuration. Hosting Guacamole on a <a href=\"https:\/\/ie.netcloud24.com\">Windows VPSServer VPS<\/a> offers flexibility, security, and dedicated resources for remote desktop management.<\/p>\n<h2>Step 1: Update Your System<\/h2>\n<p>Before installing any packages, it&#8217;s important to update your CentOS 8 system to ensure that all existing packages are up to date. Run the following commands:<\/p>\n<pre><code>sudo dnf update -y<\/code><\/pre>\n<h2>Step 2: Install Required Dependencies<\/h2>\n<p>Guacamole requires several dependencies, including Java, Tomcat, and MySQL. Install them with the following commands:<\/p>\n<pre><code>sudo dnf install epel-release -y\r\nsudo dnf install wget libtool cairo-devel libjpeg-turbo-devel libpng-devel uuid-devel -y\r\nsudo dnf install java-11-openjdk-devel -y\r\nsudo dnf install mariadb-server mariadb -y\r\nsudo systemctl start mariadb\r\nsudo systemctl enable mariadb<\/code><\/pre>\n<h2>Step 3: Install and Configure Tomcat<\/h2>\n<p>Tomcat is the web server that Guacamole will run on. Install and configure Tomcat:<\/p>\n<pre><code>sudo dnf install tomcat tomcat-webapps tomcat-admin-webapps -y\r\nsudo systemctl start tomcat\r\nsudo systemctl enable tomcat<\/code><\/pre>\n<h2>Step 4: Install Guacamole<\/h2>\n<p>Download the latest version of Guacamole and its components:<\/p>\n<pre><code>wget https:\/\/apache.org\/dyn\/closer.lua\/guacamole\/1.3.0\/source\/guacamole-server-1.3.0.tar.gz\r\ntar -xzf guacamole-server-1.3.0.tar.gz\r\ncd guacamole-server-1.3.0<\/code><\/pre>\n<p>Next, compile and install Guacamole:<\/p>\n<pre><code>sudo .\/configure --with-init-dir=\/etc\/init.d\r\nsudo make\r\nsudo make install\r\nsudo ldconfig<\/code><\/pre>\n<h2>Step 5: Configure Guacamole Client<\/h2>\n<p>Now, you need to set up the Guacamole web application client. Download the WAR file and place it in Tomcat&#8217;s webapps directory:<\/p>\n<pre><code>wget https:\/\/apache.org\/dyn\/closer.lua\/guacamole\/1.3.0\/binary\/guacamole.war\r\nsudo mv guacamole.war \/var\/lib\/tomcat\/webapps\/<\/code><\/pre>\n<h2>Step 6: Configure Guacamole for MySQL<\/h2>\n<p>To use MySQL as the backend for Guacamole, install the MySQL connector and configure the Guacamole properties file:<\/p>\n<pre><code>wget https:\/\/dev.mysql.com\/get\/Downloads\/Connector-J\/mysql-connector-java-8.0.23.tar.gz\r\ntar -xzf mysql-connector-java-8.0.23.tar.gz\r\nsudo mv mysql-connector-java-8.0.23\/mysql-connector-java-8.0.23.jar \/var\/lib\/tomcat\/lib\/<\/code><\/pre>\n<p>Then, create the Guacamole properties file:<\/p>\n<pre><code>sudo nano \/etc\/guacamole\/guacamole.properties<\/code><\/pre>\n<p>Inside this file, configure the MySQL settings:<\/p>\n<pre><code>mysql-hostname: localhost\r\nmysql-port: 3306\r\nmysql-database: guacamole_db\r\nmysql-username: guac_user\r\nmysql-password: your_password<\/code><\/pre>\n<h2>Step 7: Access Guacamole Web Interface<\/h2>\n<p>After configuring Tomcat and MySQL, restart Tomcat and access the Guacamole web interface by navigating to <code>http:\/\/your-server-ip:8080\/guacamole<\/code>.<\/p>\n<h2>Step 8: Use Guacamole Remote Desktop<\/h2>\n<p>Once logged into Guacamole, you can start adding connections for remote desktops, such as RDP, VNC, or SSH. The web-based interface allows you to manage and access your servers remotely without the need for any additional client software.<\/p>\n<h2>Benefits of Hosting Guacamole on a VPS<\/h2>\n<p>Hosting Guacamole on a  or <a href=\"https:\/\/ie.netcloud24.com\">virtual private server hosting Windows<\/a> provides a scalable, secure, and reliable solution for managing remote desktops. Whether you&#8217;re using a <a href=\"https:\/\/ie.netcloud24.com\">UK Windows VPS<\/a> or a <a href=\"https:\/\/ie.netcloud24.com\">Microsoft SQL VPS Windows<\/a>, the dedicated resources offered by <a href=\"https:\/\/ie.netcloud24.com\">Windows VPSVirtual Private Servers<\/a> will ensure better performance when managing multiple remote connections.<\/p>\n<p>Consider using a <a href=\"https:\/\/ie.netcloud24.com\">Windows VPS<\/a> solution for enhanced control and flexibility, especially when managing complex remote desktop environments.<\/p>\n<h2>Conclusion<\/h2>\n<p>Apache Guacamole provides a seamless and powerful way to manage remote desktop connections through your browser. By following this guide, you can install and configure Guacamole on CentOS 8 and start using it to manage your remote infrastructure. For better performance and scalability, consider hosting Guacamole on a <a href=\"https:\/\/ie.netcloud24.com\">Windows VPS Hosting UK<\/a> server.<\/p>\n<\/article>\n<footer>\n<p>\u00a9 2024 VPS Hosting Solutions<\/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 Apache Guacamole is a clientless remote desktop gateway that allows you to access remote servers through a web browser. It supports protocols like RDP, VNC, and\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-2550","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\/2550","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=2550"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2550\/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=2550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=2550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=2550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}