Webmin is modern and open-source web hosting control panel for easy Linux server administering. Using, webmin you can manage user accounts, groups, disk quotas, configure DNS settings and change settings for common packages. You also can manage populer services including web, FTP, email and database servers. In simple word, with Webmin, you can configure almost every aspect of the system. In this tutorial we will help you to install Webmin on CentOS 8 system.
Ensure that you are logged in as root or user with sudo access.
Step 1 – Enable Webmin Repository
First of all, we need to enable the Webmin repository then we will install Webmin using dnf package manager.
Open your text editor and create a repository file by typing:
sudo nano /etc/yum.repos.d/webmin.repo
Put the following text into that file.
[Webmin] name=Webmin Distribution Neutral baseurl=https://download.webmin.com/download/yum mirrorlist=https://download.webmin.com/download/yum/mirrorlist enabled=1
Save the file and close the editor.
Step 2 – Import Webmin GPG key
Now import the Webmin GPG key using the following rpm command:
sudo rpm --import http://www.webmin.com/jcameron-key.asc
Step 3 – Install Latest Webmin
Once the repository is enabled, Install the latest version of Webmin by typing:
sudo dnf install webmin
It should display output as below:
Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
Webmin service will start automatically.
To be able to access the Webmin interface from a web browser, you need to open the Webmin port in your server’s firewall.
Run the following commands to allow traffic on port 10000:
sudo firewall-cmd --zone=public --add-port=10000/tcp
sudo firewall-cmd --runtime-to-permanent
Step 4 – Access Webmin
At this stage Webmin is installed on your server. By default, Webmin run on port
10000, launch your web browser and type your server’s hostname name or public IP address followed by the Webmin port
You will be prompt for user credentials enter root or your user login with the password to access Webmin. On successful login, you will be redirect to dashboard and you can control your server now.
That’s it! Webmin is now available on your CentOS 8 system.
Webmin is very easy to use and a lightweight web-based application that allows you to manage Linux servers. In this article, we show you step wise how to install Webmin on CentOS 8 machine. To get more information about Webmin go through official Webmin documentation page.
If you have face any issue while installing, feel free to leave a comment below.