{"id":10901,"date":"2024-11-15T11:40:53","date_gmt":"2024-11-15T11:40:53","guid":{"rendered":"https:\/\/www.ssdnodes.com\/?p=10901"},"modified":"2025-05-18T12:18:56","modified_gmt":"2025-05-18T12:18:56","slug":"install-webmin-on-rocky-linux-9-and-use-it","status":"publish","type":"post","link":"https:\/\/www.ssdnodes.com\/blog\/install-webmin-on-rocky-linux-9-and-use-it\/","title":{"rendered":"Simple Guide \u2013 How to Install Webmin on Rocky Linux 9 and How to Use it"},"content":{"rendered":"<p>Are you looking for a detailed, step-by-step guide to install Webmin on Rocky Linux 9? You've come to the right place!<\/p>\n<p><a href=\"https:\/\/webmin.com\/\" target=\"_blank\" rel=\"noopener\">Webmin<\/a> is a powerful, free, and open-source <a href=\"https:\/\/www.ssdnodes.com\/blog\/tools-to-manage-multiple-linux-servers-free\/\">web server management tool<\/a> designed to make things easier when it comes to Linux server management. With a user-friendly web interface, Webmin allows you to manage sysadmin configurations such as user accounts, disk quotas, DNS settings, and services. You can also easily handle web servers, databases, and much more.<\/p>\n<p>For those using a <a href=\"https:\/\/www.ssdnodes.com\/blog\/installing-lamp-on-ubuntu-22-04-lts-jammy-jellyfish\/\">LAMP stack<\/a> on Rocky Linux, Webmin simplifies the management of Apache, MySQL, PHP applications, directly from your browser.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10980 size-full\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/How-to-Install-Webmin-on-Rocky-Linux-9-Article-.jpg\" alt=\"Install Webmin on Rocky Linux 9\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/How-to-Install-Webmin-on-Rocky-Linux-9-Article-.jpg 600w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/How-to-Install-Webmin-on-Rocky-Linux-9-Article--300x200.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>In this tutorial, I\u2019ll guide you through the process of installing Webmin on a Rocky Linux server. We\u2019ll also explore essential system administration tasks such as monitoring system performance, adding users with custom permissions, managing packages, and executing software or commands directly from Webmin\u2019s dashboard.<\/p>\n<h2><strong>Prerequisites<\/strong><\/h2>\n<ul>\n<li>A Rocky Linux 9 server with root access or a <code>sudo<\/code> user. If you haven't noticed, we offer extremely powerful Rocky Linux servers at the globe's absolute lowest price. Take a look at our <a href=\"https:\/\/www.ssdnodes.com\/cheap-vps-hosting\/\">offerings<\/a> and prepare for your mind to be blown \ud83e\udd2f.<\/li>\n<li>Access your sever via SSH, check out <a href=\"https:\/\/www.ssdnodes.com\/blog\/tutorial-setting-up-and-securing-ssh-based-authentication\/\">How to access your server using SSH<\/a> for instructions.<\/li>\n<\/ul>\n<h3><strong>Note<\/strong><\/h3>\n<blockquote><p>If you want to install Webmin in minutes without the hassle, try our 1-click Webmin application. Just choose a <a href=\"https:\/\/www.ssdnodes.com\/\">server<\/a>, click <strong>Customize Your Own Server<\/strong>, go to the <strong>Apps<\/strong> tab under <strong>Select Server Image<\/strong>, and select <strong>Webmin<\/strong>\u2014it\u2019s that simple! On the other hand, if you're into DIY, keep reading.<\/p><\/blockquote>\n<h2><strong>Step 1: Updating Rocky Linux System Packages<\/strong><\/h2>\n<p>Start by checking for updates on your Rocky Linux 9 system:<\/p>\n<pre><code>sudo dnf check-update<\/code><\/pre>\n<p>If you see a list of packages that need to be updated, then, it's a good idea to perform a comprehensive update that installs available updates:<\/p>\n<pre><code>sudo dnf upgrade<\/code><\/pre>\n<h2><strong>Step 2: Install Webmin on Rocky Linux 9<\/strong><\/h2>\n<p>To install Webmin on Rocky Linux 9, you'll download the Webmin repository setup script, and install a repository that will allow you to manage and update Webmin packages with the <code>dnf<\/code> package manager. Next, you'll update the package cache, and finally you'll use the <code>dnf install webmin<\/code> command.<\/p>\n<h3>Download and Run the Setup Script<\/h3>\n<p>Use Curl to download the setup script:<\/p>\n<pre><code class=\"language-python\">sudo curl -o setup-repos.sh https:\/\/raw.githubusercontent.com\/webmin\/webmin\/master\/setup-repos.sh<\/code><\/pre>\n<p>Run this script:<\/p>\n<pre><code class=\"language-python\">sh setup-repos.sh<\/code><\/pre>\n<p>You\u2019ll receive output similar to the following:<\/p>\n<pre><code class=\"language-yaml\"> Setting up Webmin repository ..\r\n .. done\r\n Webmin package can now be installed using dnf install webmin command.<\/code><\/pre>\n<p>We can now install Webmin using <code>dnf<\/code> .<\/p>\n<h3>Install Webmin<\/h3>\n<p>After the repositories setup, you can now install Webmin:<\/p>\n<pre><code class=\"language-yaml\">sudo dnf install webmin<\/code><\/pre>\n<p>You\u2019ll receive output like this:<\/p>\n<pre><code class=\"language-yaml\">==========================================================================================================\r\n Package                         Architecture    Version                     Repository              Size\r\n==========================================================================================================\r\nInstalling:\r\n webmin                          noarch          2.202-1                     webmin-noarch           39 M\r\nInstalling dependencies:\r\n perl-AutoLoader                 noarch          5.74-481.el9                appstream               20 k\r\n perl-B                          x86_64          1.80-481.el9                appstream              178 k\r\n perl-Carp                       noarch          1.50-460.el9                appstream               29 k\r\n perl-Class-Struct               noarch          0.66-481.el9                appstream               21 k\r\n perl-Data-Dumper                x86_64          2.174-462.el9               appstream               55 k\r\n perl-Digest                     noarch          1.19-4.el9                  appstream               25 k\r\n ..\r\n ..\r\nTransaction Summary\r\n==========================================================================================================\r\nInstall  73 Packages\r\n\r\nTotal download size: 49 M\r\nInstalled size: 156 M\r\nIs this ok [y\/N]:<\/code><\/pre>\n<p>Type <code>y<\/code> and then hit <code>ENTER<\/code> .<\/p>\n<p>Output:<\/p>\n<pre><code class=\"language-yaml\">  ...\r\n  ...\r\n  ...\r\n  perl-overload-1.31-481.el9.noarch                   perl-overloading-0.02-481.el9.noarch\r\n  perl-parent-1:0.238-460.el9.noarch                  perl-podlators-1:4.14-460.el9.noarch\r\n  perl-subs-1.03-481.el9.noarch                       perl-vars-1.05-481.el9.noarch\r\n  rocky-indexhtml-9.0-2.el9.noarch                    shared-mime-info-2.1-5.el9.x86_64\r\n  tar-2:1.34-6.el9_4.1.x86_64                         unzip-6.0-56.el9.x86_64\r\n  webmin-2.202-1.noarch\r\n\r\nComplete!<\/code><\/pre>\n<p>Check that the <code>webmin<\/code> service is running properly:<\/p>\n<pre><code class=\"language-python\">sudo systemctl status webmin<\/code><\/pre>\n<pre><code class=\"language-python\">\u25cf webmin.service - Webmin server daemon\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/webmin.service; enabled; preset: disabled)\r\n     Active: active (running) since Sun 2024-09-29 18:34:52 UTC; 16min ago\r\n   Main PID: 15367 (miniserv.pl)\r\n      Tasks: 1 (limit: 48896)\r\n     Memory: 26.4M\r\n        CPU: 10.377s\r\n     CGroup: \/system.slice\/webmin.service\r\n             \u2514\u250015367 \/usr\/bin\/perl \/usr\/libexec\/webmin\/miniserv.pl \/etc\/webmin\/miniserv.conf\r\n\r\nSep 29 18:34:52 ssdnodes-test1711422637 systemd[1]: Starting Webmin server daemon...\r\nSep 29 18:34:52 ssdnodes-test1711422637 systemd[1]: Started Webmin server daemon.<\/code><\/pre>\n<p>If you see <code>Active: active (running)<\/code> in the output, this means everything went well. If you\u2019re having trouble at this point, make sure to carefully read the previous instructions and make sure your Webmin repository was properly set up.<\/p>\n<p><strong>Note:<\/strong> Webmin is accessible via port <code>10000<\/code>. If you have a firewall, you need to allow Webmin's port through the <code>firewall-cmd<\/code> firewall, you may also need to allow port <code>80<\/code> for resolving a Let\u2019s Encrypt certificate:<\/p>\n<pre><code class=\"language-python\">sudo firewall-cmd --add-port=10000\/tcp --permanent\r\nsudo firewall-cmd --add-port=80\/tcp --permanent<\/code><\/pre>\n<p>Reload the <code>firewall-cmd<\/code> to apply changes:<\/p>\n<pre><code class=\"language-yaml\">sudo firewall-cmd --reload<\/code><\/pre>\n<p><strong><em>Warning:<\/em> You should be extremely careful with your firewall security. It is best to allow only a few trusted IP addresses or IP ranges to access your Webmin control panel.<\/strong><\/p>\n<h3>Access Webmin<\/h3>\n<p>With Webmin installed on your Rocky Linux 9 server, use your browser to visit the following URL, replacing <code>your_ip_address_or_domain<\/code> with your server's IP address or domain name:<\/p>\n<pre><code class=\"language-python\">https:\/\/your_ip_address_or_domain:10000<\/code><\/pre>\n<p>At first, your browser will show a \"Not Secure\" warning. This is normal, as Webmin uses a self-signed certificate, which browsers don't recognize as trusted. Don\u2019t worry, we\u2019ll fix this in the next step.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10944\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/CERT_AUTHORITY_INVALID.webp\" alt=\"Webmin Self-signed certificate\" width=\"575\" height=\"478\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/CERT_AUTHORITY_INVALID.webp 678w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/CERT_AUTHORITY_INVALID-300x250.webp 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/p>\n<p>Click the <strong>Advanced<\/strong> button or <strong>More information<\/strong> depending on the browser, and choose to proceed.<\/p>\n<h3>Webmin\u2019s Default Login<\/h3>\n<p>The default login credentials of Webmin are the same as your Unix user. You can also use the root account of your server with <code>root<\/code> as a username and the root\u2019s password. This will allow you to login to your Webmin dashboard.<\/p>\n<h3>Webmin Dashboard<\/h3>\n<p>You\u2019ll be moved to the dashboard:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10945\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/dashboard-1024x390.png\" alt=\"Webmin Dashboard on Rocky Linux\" width=\"849\" height=\"323\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/dashboard-1024x390.png 1024w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/dashboard-300x114.png 300w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/dashboard-768x292.png 768w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/dashboard-1536x585.png 1536w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/dashboard.png 1586w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/p>\n<p>With this, you have Webmin installed on your Rocky Linux 9 server and you are ready to use it for server management! But before that, you need to secure it with HTTPS using a Let\u2019s Encrypt SSL certificate.<\/p>\n<h3><strong>Reader Alert: Side Note!<\/strong><\/h3>\n<blockquote><p>To avoid all these steps and install Webmin in minutes, you can use our tried and tested 1-click <strong>Webmin<\/strong> application. Just choose a <a href=\"https:\/\/www.ssdnodes.com\/\">server<\/a>, click <strong>Customize Your Own Server<\/strong>, under <strong>Select Server<\/strong> <strong>Image<\/strong> go to the <strong>Apps<\/strong> tab, then choose <strong>Webmin<\/strong>. This will set up Webmin in minutes!<\/p><\/blockquote>\n<h2>Step 3: Adding a Let\u2019s Encrypt SSL Certificate to Webmin<\/h2>\n<p>Webmin manages sensitive components on your Rocky Linux server, and it is important to secure it using HTTPS. To do this, follow these steps and set up a Let\u2019s Encrypt SSL certificate.<\/p>\n<h3>Install Certbot<\/h3>\n<p>First you\u2019ll need to install the Certbot Let's Encrypt client application, which manages certificate requests.<\/p>\n<p>If you haven\u2019t already, enable the EPEL repository:<\/p>\n<pre><code class=\"language-bash\">sudo dnf install epel-release -y<\/code><\/pre>\n<p>Then install certbot:<\/p>\n<pre><code class=\"language-yaml\">sudo dnf install certbot -y<\/code><\/pre>\n<p>Next, use Certbot to request a new Let's Encrypt certificate. Replace\u00a0<code>webmin.your_domain.com<\/code>\u00a0with your domain and\u00a0<code>your_email@example.com<\/code>\u00a0with your email address:<\/p>\n<pre><code class=\"language-yaml\">sudo certbot certonly --standalone -d webmin.your_domain.com -m your_email@example.com --agree-tos<\/code><\/pre>\n<p>After the certificate is generated, your output should be similar to the following:<\/p>\n<pre><code class=\"language-yaml\">Successfully received certificate.\r\nCertificate is saved at: \/etc\/letsencrypt\/live\/webmin.your_domain.com\/fullchain.pem\r\nKey is saved at:         \/etc\/letsencrypt\/live\/webmin.your_domain.com\/privkey.pem\r\nThis certificate expires on 2025-01-03.\r\nThese files will be updated when the certificate renews.\r\nCertbot has set up a scheduled task to automatically renew this certificate in the background.<\/code><\/pre>\n<p>In this output, you have the following part. This indicates the path of the certificate file and the private key file. Copy these two paths and save them for the next step:<\/p>\n<pre><code class=\"language-yaml\">Certificate is saved at: \/etc\/letsencrypt\/live\/webmin.your_domain.com\/fullchain.pem\r\nKey is saved at:         \/etc\/letsencrypt\/live\/webmin.your_domain.com\/privkey.pem<\/code><\/pre>\n<h3>Installing the Let's Encrypt Certificate<\/h3>\n<p>On Webmin, you can install the Let's Encrypt certificate you generated earlier by setting up certificate and private key paths.<\/p>\n<ol>\n<li>Click <strong>Webmin<\/strong> in the left-hand menu, then <strong>Webmin Configuration<\/strong>.<\/li>\n<li>Click on <strong>SSL Encryption<\/strong>.<\/li>\n<li>On the <strong>SSL Settings<\/strong> tab set up the <strong>Private key file<\/strong> field to the path you copied earlier: <code>\/etc\/letsencrypt\/live\/webmin.your_domain.com\/privkey.pem<\/code><\/li>\n<li>Select the <strong>Certificate file<\/strong> as <strong>Separate file<\/strong>, and fill in the field with your certificate file: <code>\/etc\/letsencrypt\/live\/webmin.your_domain.com\/fullchain.pem<\/code><\/li>\n<li>Click <strong>Save<\/strong><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10946\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_LetsEncrypt-1024x598.webp\" alt=\"Webmin Let's Encrypt\" width=\"572\" height=\"334\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_LetsEncrypt-1024x598.webp 1024w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_LetsEncrypt-300x175.webp 300w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_LetsEncrypt-768x448.webp 768w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_LetsEncrypt.webp 1298w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/p>\n<p>Restart Webmin on your Rocky Linux shell:<\/p>\n<pre><code class=\"language-yaml\">sudo systemctl restart webmin<\/code><\/pre>\n<p>Wait for a few seconds while Webmin reboots, then refresh the page. Let's Encrypt should now be enabled with HTTPS protection.<\/p>\n<p>You can now use Webmin for web server management.<\/p>\n<h2><strong>Step 4: Using Webmin to Perform Basic Sysadmin Tasks<\/strong><\/h2>\n<p>Webmin includes various modules for managing your system. In this step, you'll learn how to:<\/p>\n<ol>\n<li>Use Webmin to view system log messages.<\/li>\n<li>Change the Webmin Port<\/li>\n<li>Navigate the file system.<\/li>\n<li>Monitor server status.<\/li>\n<li>Install and Update packages.<\/li>\n<li>Manage Unix users and groups.<\/li>\n<li>Handle Webmin accounts.<\/li>\n<\/ol>\n<h3>View System Logs<\/h3>\n<p>In case you want to investigate and monitor your system, you can view your Rocky Linux server logs directly on the Webmin dashboard.<\/p>\n<ol>\n<li>On the left-hand Webmin menu click <strong>System<\/strong> then <strong>System Logs<\/strong>.<\/li>\n<li>On the toolbar, you can choose how many line you want to show and you can filter basic on specific text.<\/li>\n<li>You can also choose between types of logs, such as errors, alerts, and debug messages.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10947\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/SystemLogs-1024x595.webp\" alt=\"Webmin System Logs\" width=\"670\" height=\"389\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/SystemLogs-1024x595.webp 1024w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/SystemLogs-300x174.webp 300w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/SystemLogs-768x446.webp 768w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/SystemLogs.webp 1306w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/p>\n<h3>Change the Webmin Port<\/h3>\n<p>You may want to change the default Webmin <code>10000<\/code> port so you can access your interface directly from a clean URL such as <code>https:\/\/webmin.your_domain.com<\/code>, instead of the default <code>https:\/\/webmin.your_domain.com:10000<\/code>.<\/p>\n<p>To achieve this, go to <strong>Webmin<\/strong> on the left-hand menu, then:<\/p>\n<ol>\n<li>Click <strong>Ports and Addresses<\/strong>.<\/li>\n<li>Under <strong>Listen on port<\/strong>, change the <code>10000<\/code> default port to <code>443<\/code> HTTPS port.<\/li>\n<li>Click <strong>Save<\/strong>.<\/li>\n<li>You\u2019ll be redirected to the new URL at <code>https:\/\/your_domain.com<\/code> or <code>https:\/\/webmin.your_domain.com<\/code>.<\/li>\n<\/ol>\n<h3>Webmin File Manager<\/h3>\n<p>To view your Rocky Linux files directly from the Webmin UI:<\/p>\n<ol>\n<li>On the left-hand Webmin menu click <strong>Tools<\/strong>.<\/li>\n<li>Click on <strong>File Manager<\/strong>.<\/li>\n<li>On the right menu, you can create new files, directories and even upload and download files from external URLs.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10948\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/FileManager-1024x574.webp\" alt=\"Webmin File Manager on Rocky Linux\" width=\"631\" height=\"354\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/FileManager-1024x574.webp 1024w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/FileManager-300x168.webp 300w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/FileManager-768x431.webp 768w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/FileManager.webp 1314w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/li>\n<\/ol>\n<h3>Monitoring Server Status<\/h3>\n<p>You can use Webmin to monitor services such as DHCP, PostgreSQL, and Sendmail servers.<\/p>\n<p>Navigate to <strong>Tools<\/strong>, then <strong>System and Server Status<\/strong>. Here you\u2019ll find all the services you can monitor:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10949\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Monitor-1024x431.webp\" alt=\"System and Server Status \" width=\"734\" height=\"309\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Monitor-1024x431.webp 1024w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Monitor-300x126.webp 300w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Monitor-768x323.webp 768w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Monitor.webp 1307w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<h3><strong>Installing Packages<\/strong><\/h3>\n<p>To install a software package on Rocky Linux using Webmin, follow these steps:<\/p>\n<ol>\n<li>On the left-hand Webmin menu click <strong>System<\/strong> then <strong>Software Packages<\/strong>.<\/li>\n<li>Click <strong>Install a new package<\/strong>, then Select the <strong>Package from YUM<\/strong> radio button.<\/li>\n<li>Type in the package name you want to install, for example <code>vim<\/code>, then click <strong>Install<\/strong>. You'll be taken to a page that asks you to confirm installing the package and it's dependencies.<\/li>\n<li>Click <strong>Install Now<\/strong>.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10950\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/webmin-install-package-1024x348.webp\" alt=\"Installing Packages on Webmin\" width=\"670\" height=\"228\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/webmin-install-package-1024x348.webp 1024w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/webmin-install-package-300x102.webp 300w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/webmin-install-package-768x261.webp 768w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/webmin-install-package-1536x522.webp 1536w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/webmin-install-package.webp 1598w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/p>\n<h3>Updating Packages<\/h3>\n<p>To update all your packages to the latest version using Webmin, follow these steps:<\/p>\n<ol>\n<li>Navigate to <strong>System<\/strong> then <strong>Software Package Updates<\/strong>.<\/li>\n<li>Check and uncheck packages you want updated.<\/li>\n<li>To update all packages, make sure they are all checked, then click <strong>Update Selected Packages<\/strong>. You'll go to a page listing the packages that will be updated.<\/li>\n<li>Click <strong>Install Now<\/strong>.<\/li>\n<\/ol>\n<p>The update process will begin, and once it\u2019s complete, you might be prompted to reboot the system. To reboot click on the \"<strong>Reboot Now<\/strong>\" button.<\/p>\n<h3><strong>Managing Unix Users and Groups<\/strong><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10951\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/users_and_groups-1024x529.webp\" alt=\"Webmin Users and Groups\" width=\"518\" height=\"268\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/users_and_groups-1024x529.webp 1024w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/users_and_groups-300x155.webp 300w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/users_and_groups-768x396.webp 768w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/users_and_groups.webp 1296w\" sizes=\"auto, (max-width: 518px) 100vw, 518px\" \/><\/p>\n<p>A Unix user is a user that connects to your server via SSH or FTP, owns files, and has a home directory. In this section, we'll create a new user with a home directory and add them to the <code>sudo<\/code> group for admin rights. We'll use <code>example_user<\/code> but feel free to choose any other name.<\/p>\n<ol>\n<li>Click <strong>System<\/strong> &gt; <strong>Users and Groups<\/strong>.You\u2019ll see a table for all the current system users under <strong>Local Users<\/strong> and a table for the current system groups under <strong>Local Groups<\/strong>.<\/li>\n<li>In the <strong>Local Users<\/strong> table, click <strong>Create a new user<\/strong>.<\/li>\n<li>Type in <code>example_user<\/code> in the <strong>Username<\/strong> field.<\/li>\n<li>Select <strong>Automatic<\/strong> for the <strong>User ID<\/strong> field.<\/li>\n<li>For <strong>Real Name<\/strong>, set it to the full name of the user or add a descriptive name such as <strong>Testing User<\/strong> or <strong>Network User<\/strong>.<\/li>\n<li>Select <strong>Automatic<\/strong> for the <strong>Home Directory<\/strong> field to be created automatically.<\/li>\n<li>Set <strong>Shell<\/strong> to <code>bin\/bash<\/code>.<\/li>\n<li>Set <strong>Password<\/strong> to <strong>Normal password<\/strong> and insert a strong password for your user.<\/li>\n<li>In the <strong>Group Membership<\/strong> menu, select <strong>New group with same name as user<\/strong> for the <strong>Primary group<\/strong>.<\/li>\n<li>In the <strong>Secondary groups<\/strong>, click on <strong>sudo<\/strong> in the <strong>All groups<\/strong> list then click the right arrow. This adds <code>sudo<\/code> to the <strong>In groups<\/strong> list.<\/li>\n<li>Click <strong>Create<\/strong>.<\/li>\n<\/ol>\n<p>With this, you now have a new user called <code>example_user<\/code> on your system with <code>sudo<\/code> privileges.<\/p>\n<h3>Creating a Safe Webmin User<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10952\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_Users-1-1024x456.webp\" alt=\"Webmin Users\" width=\"614\" height=\"273\" srcset=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_Users-1-1024x456.webp 1024w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_Users-1-300x134.webp 300w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_Users-1-768x342.webp 768w, https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2024\/10\/Webmin_Users-1.webp 1311w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/p>\n<p>In addition to managing Unix users, Webmin also allows you to create a safe user with access to limited, non-critical modules. This is useful for users who don't need full system control but require access to certain tools, such as viewing or applying software updates.<\/p>\n<p>To create a safe Webmin user:<\/p>\n<ol>\n<li>Click <strong>Webmin<\/strong> in the left menu, then <strong>Webmin Users<\/strong>.<\/li>\n<li>Select <strong>Create a new safe user<\/strong>.<\/li>\n<li>Enter a <strong>Username<\/strong> and set a strong password.<\/li>\n<li>Check <strong>Force change at next login<\/strong> to ensure the user sets a new password.<\/li>\n<li>Assign a <strong>Real Name<\/strong> (like \"Update Viewer\").<\/li>\n<li>Under <strong>Security and limits options<\/strong>, set the <strong>Inactivity logout time<\/strong> (e.g., 30 minutes) and <strong>Minimum password length<\/strong>.<\/li>\n<li>In <strong>Available Webmin modules<\/strong>, choose only the specific modules the user should access, like <strong>System and Server Status<\/strong>.<\/li>\n<li>Click <strong>Create<\/strong>.<\/li>\n<\/ol>\n<p>The new user will only see the assigned modules when they log in, ensuring restricted access.<\/p>\n<p>Log out from Webmin by clicking the red logout icon at the bottom of the left-hand menu, and log in with the new user.<\/p>\n<h3>Creating a Privileged Webmin User<\/h3>\n<p>If a user needs full system control, you can create a privileged Webmin account with administrative privileges. This user will have access to all Webmin modules or specific critical ones.<\/p>\n<p>To create a privileged Webmin user:<\/p>\n<ol>\n<li>Click <strong>Webmin<\/strong> in the left menu, then <strong>Webmin Users<\/strong>.<\/li>\n<li>Choose <strong>Create a new privileged user<\/strong>.<\/li>\n<li>Enter a <strong>Username<\/strong> and set a strong password.<\/li>\n<li>Enable <strong>Force change at next login<\/strong>.<\/li>\n<li>Assign a <strong>Real Name<\/strong> (like \"Admin User\").<\/li>\n<li>Under <strong>Security and limits options<\/strong>, set parameters such as <strong>Inactivity logout time<\/strong> (e.g., 30 minutes) and <strong>Minimum password length<\/strong> (e.g., 15 characters). You can also restrict access by IP or time.<\/li>\n<li>In <strong>Available Webmin modules<\/strong>, select all or choose specific modules based on the user\u2019s role.<\/li>\n<li>Click <strong>Create<\/strong>.<\/li>\n<\/ol>\n<p>After logging in with this new account, the user will have full or specific system access, based on the selected permissions.<\/p>\n<h1><strong>Conclusion<\/strong><\/h1>\n<p>With this, you\u2019ve learned how to install Webmin on Rocky Linux, and used it to perform many sysadmin tasks. For more information on how to use Webmin to manage your Rocky Linux server, check out the official\u00a0<a href=\"https:\/\/webmin.com\/docs\/\" target=\"_blank\" rel=\"noopener\">documentation<\/a>.<\/p>\n<h2>FAQ<\/h2>\n<h3>How do I update Webmin on Rocky Linux?<\/h3>\n<p>To update Webmin on Rocky Linux, simply run <code>dnf update webmin<\/code> or <code>yum update webmin<\/code>, depending on your package manager. You should also check the Webmin repository for the latest stable version.<\/p>\n<h3>Is Webmin secure on Rocky Linux?<\/h3>\n<p>Webmin can be secure on Rocky Linux if configured properly. You should enable SSL, use strong passwords, limit access to trusted IPs, and keep it updated regularly. Additionally, you should obviously restrict root login and create dedicated admin users with specific permissions.<\/p>\n<h3>How can I troubleshoot Webmin not loading on Rocky Linux?<\/h3>\n<p>If Webmin isn\u2019t loading, check the following:<\/p>\n<ol>\n<li>Ensure Webmin is running with <code>sudo systemctl status webmin<\/code>.<\/li>\n<li>Verify that port <strong>10000<\/strong> is open on the firewall.<\/li>\n<li>Check Webmin logs located at <code>\/var\/webmin\/miniserv.log<\/code> for any errors.<\/li>\n<li>Restart Webmin with <code>sudo systemctl restart webmin<\/code>.<\/li>\n<\/ol>\n<p>These steps should help diagnose common loading issues.<\/p>\n<h3>How can I schedule cron jobs using Webmin on Rocky Linux?<\/h3>\n<p>Webmin provides an easy way to schedule cron jobs. Go to <strong>System<\/strong> &gt; <strong>Scheduled Cron Jobs<\/strong>, where you can view existing jobs or create new ones. You can specify commands, set the frequency (minute, hour, day, etc.), and manage job ownership.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Master Webmin on Rocky Linux 9: Easy Installation Guide. Get full control of your server with Webmin in just a few steps!<\/p>\n","protected":false},"author":19,"featured_media":10982,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[18,30],"tags":[],"class_list":["post-10901","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts\/10901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/comments?post=10901"}],"version-history":[{"count":8,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts\/10901\/revisions"}],"predecessor-version":[{"id":12976,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts\/10901\/revisions\/12976"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/media\/10982"}],"wp:attachment":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/media?parent=10901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/categories?post=10901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/tags?post=10901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}