Webmin is an open-source web-based system configuration tool for Linux system administration. With the help of Webmin web-based, you can set up Apache web server, Samba, DNS, Mail, FTP, Database, File system and package management. This tool also allows you to manage users, groups, disk quotas, and create files and directories as well.
- Some of the things you can do with Webmin are:
- You can create, edit and delete user accounts.
- Set up Disk Quotas to manage the amount of disk space available to users.
- Install, view, and delete software packages on the system.
- Update system IP address, DNS settings, and other configurations.
- Create and configure virtual hosts for the Apache Webserver.
- Manage MySQL or PostgreSQL database server.
- Share files and directories with Windows systems via the Samba file sharing.
In this article, we will explain to you how to install Webmin on CentOS/RHEL.
Step 1: Update CentOS/RHEL System
First, you make sure that your system is up-to-date. You can use the DNF package to update your system.
# dnf update -y
Step 2: Add Webmin Repository
Webmin package is not available in the default repository. So you can add a Webmin repository to install the Webmin.
# vim /etc/yum.repos.d/webmin.repo
name=Webmin Distribution Neutral
You should also download and install the GPG key with which the packages are signed.
# wget https://download.webmin.com/jcameron-key.asc
# rpm --import jcameron-key.asc
Step 3: Install Webmin
To install Webmin using the downloaded RPM file, issue the following command.
# dnf install webmin
Step 4: Start Webmin
Run the following commands to start the webmin service and make it start automatically.
# systemctl enable webmin
# systemctl start webmin
Step 5: Add Firewall Rule
Webmin runs on 10000 port and If the firewall is enabled then run the following command to add the firewall rule.
# firewall-cmd --zone=public --add-port=10000/tcp --permanent
# firewall-cmd --reload
Step 6: Access Webmin
Now, we are ready to log in to Webmin using hostname or IP and enter the username as root and password (current root secret word).
Check the running process by clicking System > Running Processes
You can change the SSH configuration also. Click on Servers > SSH Server
Change system network configuration, Networking > Network Configuration