{"id":2060,"date":"2023-06-01T13:21:36","date_gmt":"2023-11-21T16:26:13","guid":{"rendered":""},"modified":"2025-02-02T00:46:18","modified_gmt":"2025-02-01T23:46:18","slug":"how-to-install-sftpgo-on-rocky-linux","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/how-to-install-sftpgo-on-rocky-linux\/","title":{"rendered":"Linux VPS &#038; VPS Windows Setup Guide | NetCloud24 sFTPGo on Rocky Linux"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<header>\n<h1>\u00a0<\/h1>\n<\/header>\n<article>\n<p><strong>sFTPGo<\/strong> is a modern, full-featured, open-source SFTP server that supports FTP, FTPS, and SFTP protocols. It also comes with features like virtual users, event-driven automation, and cloud storage integration. In this guide, we will walk you through the steps to install sFTPGo on <strong>Rocky Linux<\/strong>. Hosting your sFTPGo setup on a  will provide enhanced performance, security, and scalability with the benefits of a powerful <strong>VPS server<\/strong>.<\/p>\n<h2>Step 1: Update Your VPS Server<\/h2>\n<p>Before installing sFTPGo, make sure your <a href=\"https:\/\/ie.netcloud24.com\">VPS server<\/a> is up to date. Run the following commands to update the system:<\/p>\n<pre><code>sudo dnf update -y<\/code><\/pre>\n<p>Running sFTPGo on a <strong>Windows VPS<\/strong> ensures you have dedicated resources and enhanced security, making file transfers faster and more reliable.<\/p>\n<h2>Step 2: Install sFTPGo<\/h2>\n<p>The sFTPGo package is not available in the default Rocky Linux repositories, but you can install it by adding the official repository. First, create a new repository file:<\/p>\n<pre><code>sudo nano \/etc\/yum.repos.d\/sftpgo.repo<\/code><\/pre>\n<p>Add the following contents to the file:<\/p>\n<pre><code>\r\n[sftpgo]\r\nname=sFTPGo Repository\r\nbaseurl=https:\/\/packages.sftpgo.com\/rpm\/stable\r\nenabled=1\r\ngpgcheck=1\r\ngpgkey=https:\/\/packages.sftpgo.com\/rpm\/stable\/gpg\r\n<\/code><\/pre>\n<p>Save the file and exit the editor. Then, install sFTPGo using the following commands:<\/p>\n<pre><code>\r\nsudo dnf install sftpgo -y\r\n<\/code><\/pre>\n<h2>Step 3: Start and Enable the sFTPGo Service<\/h2>\n<p>Once the installation is complete, start the sFTPGo service and enable it to run at boot:<\/p>\n<pre><code>\r\nsudo systemctl start sftpgo\r\nsudo systemctl enable sftpgo\r\n<\/code><\/pre>\n<p>To check if sFTPGo is running, use the following command:<\/p>\n<pre><code>sudo systemctl status sftpgo<\/code><\/pre>\n<h2>Step 4: Configure Firewall to Allow SFTP Traffic<\/h2>\n<p>If you are using a firewall on your VPS server, you need to allow traffic on port 22 (the default SFTP port). Use the following commands to configure the firewall:<\/p>\n<pre><code>\r\nsudo firewall-cmd --permanent --add-service=ssh\r\nsudo firewall-cmd --reload\r\n<\/code><\/pre>\n<p>This ensures that your sFTPGo server can accept incoming SFTP connections securely.<\/p>\n<h2>Step 5: Configure sFTPGo<\/h2>\n<p>sFTPGo comes with a default configuration that works for most setups, but you can customize it to suit your needs. The main configuration file is located at <code>\/etc\/sftpgo\/sftpgo.json<\/code>. Open the file for editing:<\/p>\n<pre><code>sudo nano \/etc\/sftpgo\/sftpgo.json<\/code><\/pre>\n<p>Here, you can adjust settings such as the listening port, authentication methods, and logging. Once you make the changes, save the file and restart the sFTPGo service to apply the changes:<\/p>\n<pre><code>sudo systemctl restart sftpgo<\/code><\/pre>\n<h2>Step 6: Create a Virtual User in sFTPGo<\/h2>\n<p>sFTPGo supports virtual users, which makes user management easier without the need for system-level accounts. To create a new virtual user, run the following command:<\/p>\n<pre><code>sudo sftpgo-admin user add<\/code><\/pre>\n<p>Follow the prompts to configure the new user, including the username, password, and home directory.<\/p>\n<h2>Step 7: Access sFTPGo Web Interface<\/h2>\n<p>sFTPGo comes with a web-based interface that allows you to manage users, configure settings, and monitor activity. To access the web interface, open your browser and navigate to <code>http:\/\/your-server-ip:8080<\/code>. The default login credentials are:<\/p>\n<ul>\n<li>Username: <code>admin<\/code><\/li>\n<li>Password: <code>changeme<\/code> (be sure to change this password upon first login)<\/li>\n<\/ul>\n<p>After logging in, you can manage users, configure the SFTP service, and set up event-driven workflows.<\/p>\n<h2>Step 8: Optimize Your VPS Server for sFTPGo<\/h2>\n<p>To ensure optimal performance for your sFTPGo server, hosting it on a  is recommended. A <strong>VPS server<\/strong> provides dedicated resources, enabling faster file transfers, increased storage, and better security for sensitive data. With a VPS, you can easily scale your infrastructure to meet growing data transfer demands and ensure uptime for your SFTP service.<\/p>\n<h2>Conclusion<\/h2>\n<p>sFTPGo is a feature-rich SFTP server that provides flexibility and secure file transfer options. By installing sFTPGo on Rocky Linux, you can efficiently manage file transfers, virtual users, and automated workflows. Hosting your sFTPGo setup on a  gives you the advantage of enhanced performance, security, and scalability, ensuring that your file transfer needs are met reliably.<\/p>\n<p>For more information on VPS hosting and optimizing your sFTPGo setup, visit  today.<\/p>\n<\/article>\n<footer>\n<p>\u00a9 2024 Windows VPS &#8211; 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 sFTPGo is a modern, full-featured, open-source SFTP server that supports FTP, FTPS, and SFTP protocols. It also comes with features like virtual users, event-driven automation, 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-2060","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\/2060","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=2060"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2060\/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=2060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=2060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=2060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}