• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Webmin on Rocky Linux 9.3

  • 00:36 Cat /etc/os-release
  • 00:54 dnf install wget tar perl -y
  • 02:09 wget https://www.webmin.com/download/webmin-current.tar.gz
  • 02:27 ll
  • 02:38 tar xvf webmin-current.tar.gz
  • 03:26 ll
  • 03:38 mkdir -p /usr/local/webmin
  • 03:56 ./webmin-2.110/setup.sh /usr/local/webmin/
  • 05:36 firewall-cmd --add-port=10000/tcp --permanent
  • 06:05 firewall-cmd --reload
{{postValue.id}}

To Install Webmin On Rocky Linux 9.3

Introduction:

Webmin is a web-based server management control panel for Unix-like systems that allows the user to configure operating system internals, such as users, disk quotas, services, and configuration files, as well as modify and control open-source apps, such as BIND, Apache HTTP Server, PHP, and MySQL.

Installation Steps:

Step 1: First check the OS version by using the below command

[root@linuxhelp ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.3 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.3 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.3"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.3"

Step 2: Install the necessary dependencies to install webmin by using the below command

[root@linuxhelp ~]# dnf install wget tar perl -y
Rocky Linux 9 - BaseOS                                                                                                                                           4.5 kB/s | 4.1 kB     00:00
Rocky Linux 9 - BaseOS                                                                                                                                           1.3 MB/s | 2.2 MB     00:01
Rocky Linux 9 - AppStream                                                                                                                                        4.7 kB/s | 4.5 kB     00:00
Rocky Linux 9 - AppStream                                                                                                                                        3.8 MB/s | 7.4 MB     00:01
Rocky Linux 9 - Extras                                                                                                                                           3.1 kB/s | 2.9 kB     00:00
Package wget-1.21.1-7.el9.x86_64 is already installed.
Package tar-2:1.34-6.el9_1.x86_64 is already installed.
Dependencies resolved.
=================================================================================================================================================================================================
Package                                                    Architecture                         Version                                           Repository                               Size
=================================================================================================================================================================================================
Installing:
perl                                                       x86_64                               4:5.32.1-480.el9                                  appstream                                13 k
Installing dependencies:
gcc-c++                                                    x86_64                               11.4.1-2.1.el9                                    appstream                                13 M
libstdc++-devel                                            x86_64                               11.4.1-2.1.el9                                    appstream                               2.2 M
perl-Archive-Zip                                           noarch                               1.68-6.el9                                        appstream                               106 k
perl-Attribute-Handlers                                    noarch                               1.01-480.el9                                      appstream                                28 k
perl-CPAN                                                  noarch                               2.29-3.el9                                        appstream                               556 k
Transaction Summary
=================================================================================================================================================================================================
Install  130 Packages

Total download size: 22 M
Installed size: 64 M
Downloading Packages:
(1/130): perl-Package-Generator-1.106-23.el9.noarch.rpm                                                                                                           77 kB/s |  23 kB     00:00
(2/130): perl-Module-Load-0.36-4.el9.noarch.rpm                                                                                                                   57 kB/s |  17 kB     00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                            4.7 MB/s |  22 MB     00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
 Preparing        :                                                                                                                                                                         1/1
 Installing       : perl-threads-1:2.25-460.el9.x86_64                                                                                                                                    1/130
 Installing       : perl-threads-shared-1.61-460.el9.0.1.x86_64                                                                                                                           2/130
Installed:
 gcc-c++-11.4.1-2.1.el9.x86_64
 libstdc++-devel-11.4.1-2.1.el9.x86_64
 perl-4:5.32.1-480.el9.x86_64
 perl-Archive-Zip-1.68-6.el9.noarch
 perl-utils-5.32.1-480.el9.noarch
 perl-vmsish-1.04-480.el9.noarch
 sombok-2.4.0-16.el9.x86_64

Complete!

Step 3: Download the Webmin Installation file by using the wget command

[root@linuxhelp ~]# wget https://www.webmin.com/download/webmin-current.tar.gz
--2024-04-21 03:11:56--  https://www.webmin.com/download/webmin-current.tar.gz
Resolving www.webmin.com (www.webmin.com)... 216.105.38.11
Connecting to www.webmin.com (www.webmin.com)|216.105.38.11|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://webmin.com/download/webmin-current.tar.gz [following]
--2024-04-21 03:11:58--  https://webmin.com/download/webmin-current.tar.gz
Resolving webmin.com (webmin.com)... 216.105.38.11
Connecting to webmin.com (webmin.com)|216.105.38.11|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://prdownloads.sourceforge.net/webadmin/webmin-2.110.tar.gz [following]
--2024-04-21 03:11:59--  https://prdownloads.sourceforge.net/webadmin/webmin-2.110.tar.gz
Resolving prdownloads.sourceforge.net (prdownloads.sourceforge.net)... 204.68.111.105
Connecting to prdownloads.sourceforge.net (prdownloads.sourceforge.net)|204.68.111.105|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://downloads.sourceforge.net/project/webadmin/webmin/2.110/webmin-2.110.tar.gz [following]
--2024-04-21 03:12:00--  https://downloads.sourceforge.net/project/webadmin/webmin/2.110/webmin-2.110.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://excellmedia.dl.sourceforge.net/project/webadmin/webmin/2.110/webmin-2.110.tar.gz [following]
--2024-04-21 03:12:02--  https://excellmedia.dl.sourceforge.net/project/webadmin/webmin/2.110/webmin-2.110.tar.gz
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19, 2401:fb00:0:1fe:8000::5
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46518197 (44M) [application/x-gzip]
Saving to: ‘webmin-current.tar.gz’

webmin-current.tar.gz                            100%[=======================================================================================================>]  44.36M  11.2MB/s    in 4.0s

2024-04-21 03:12:06 (11.1 MB/s) - ‘webmin-current.tar.gz’ saved [46518197/46518197]

Step 4: Once the file has completed downloading, unpack it with the below command.

[root@linuxhelp ~]# tar xvf webmin-current.tar.gz
webmin-2.110/
webmin-2.110/acl/
webmin-2.110/acl/module.info.fi
webmin-2.110/acl/module.info.mt.auto
webmin-2.110/acl/module.info.hr.auto
webmin-2.110/acl/config.info.no
webmin-2.110/acl/config.info.pl
webmin-2.110/acl/module.info.el.auto
webmin-2.110/acl/switch.cgi
webmin-2.110/acl/webmin.schema
webmin-2.110/acl/module.info.da.auto
webmin-2.110/acl/twofactor.pl
webmin-2.110/acl/edit_sync.cgi
webmin-2.110/acl/module.info.ur.auto
webmin-2.110/acl/list_sessions.cgi
webmin-2.110/acl/module.info.sk.auto
webmin-2.110/acl/module.info.be.auto
webmin-2.110/acl/config.info.es
webmin-2.110/acl/module.info.th.auto
webmin-2.110/acl/module.info.da
webmin-2.110/acl/maketables.cgi
webmin-2.110/acl/module.info.lv.auto
webmin-2.110/acl/images/
webmin-2.110/change-user/module.info.ar
webmin-2.110/change-user/module.info.cs.auto
webmin-2.110/change-user/module.info.pt_BR.auto
webmin-2.110/password_change.cgi
webmin-2.110/config-irix

Step 5: Create a new directory for Webmin by using the below command

[root@linuxhelp ~]# mkdir -p /usr/local/webmin

Step 6: Run the install script by using the below ./ command

[root@linuxhelp ~]# ./webmin-2.110/setup.sh /usr/local/webmin
****************************************************************************
          Welcome to the Webmin setup script, version 2.110
****************************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin from /root/webmin-2.110 to /usr/local/webmin

****************************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:

****************************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl):

Testing Perl ..
.. done

****************************************************************************
Operating system name:    Rocky Linux
Operating system version: 9.3

****************************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
- What port to run the web server on. There must not be another
  web server already using this port.
- The login name required to access the web server.
- The password required to access the web server.
- If the web server should use SSL (if your system supports it).
- Whether to start webmin at boot time.

Web server port (default 10000):
Login name (default admin):
Login password:
Password again:
Use SSL (y/n): y
Start Webmin at boot time (y/n): y

****************************************************************************
Copying files to /usr/local/webmin ..
.. done

Creating web server config files ..
.. done

Creating access control file ..
.. done

Inserting path to perl into scripts ..
.. done

Creating start and stop scripts ..
.. done

Copying config files ..
.. done

Configuring Webmin to start at boot time ..
.. done

Creating uninstall script /etc/webmin/uninstall.sh ..
.. done

Changing ownership and permissions ..
.. done

Running postinstall scripts ..
.. done

Enabling background status collection ..
.. done

Attempting to start Webmin web server ..
.. done

****************************************************************************
Webmin has been installed and started successfully.

Since Webmin was installed outside the package manager, ensure the
following recommended Perl modules and packages are present:
Perl modules:
 - DateTime, DateTime::Locale, DateTime::TimeZone, Data::Dumper
 - Digest::MD5, Digest::SHA, Encode::Detect, File::Basename
 - File::Path, Net::SSLeay, Time::HiRes, Time::Local, Time::Piece
 - lib, open
Packages:
 - openssl - Cryptography library with TLS implementation
 - shared-mime-info - Shared MIME information database
 - tar gzip unzip - File compression and packaging utilities

Use your web browser to go to the following URL and login
with the name and password you entered previously:

 https://linuxhelp:10000

Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask you if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.

Step 7: Allow default webmin port 10000 on firewall and reload the firewall by using the below commands

[root@linuxhelp ~]# firewall-cmd --add-port=10000/tcp --permanent
success
[root@linuxhelp ~]# firewall-cmd --reload
success

Step 8: Now go to the web browser and search with your IP address or domain name along with the port 10000 as shown in the below image. Snap1

Step 9: Then click Advanced and Accept the Risk and continue option to enter into the webmin console as shown in the below image.

Snap2 Snap3 Step 10: Now you will see the login page. Here enter the credentials username and password which was created during installation.

Snap4

Step 11: This is the webmin dashboard console

Snap5

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to installation of Webmin on Rocky Linux 9.3. Your feedback is much welcome.

Tags:
jacob
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is Webmin?

A

Webmin is a web-based system administration tool that allows users to manage Unix-like systems, including Rocky Linux, through a web browser.

Q

Why should I install Webmin on Rocky Linux?

A

Installing Webmin provides a user-friendly interface for system administration tasks, making it easier to manage services, users, file systems, and more.

Q

Can I change the default port used by Webmin?

A

Yes, you can change the default port (10000) used by Webmin by modifying the Webmin configuration file (/etc/webmin/miniserv.conf) and restarting the Webmin service.

Q

Can I manage multiple Rocky Linux servers with a single Webmin instance?

A

Yes, you can manage multiple servers with a single Webmin instance by configuring Webmin to connect to remote servers using SSH or other supported protocols.

Q

How do I access Webmin after the installation?

A

After installing Webmin, you can access it by navigating to https://your_server_ip:10000 in a web browser. Make sure to replace your_server_ip with the actual IP address of your Rocky Linux server.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.