In this article, we will have explained the necessary steps to install Webmin on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with
sudo privileges. All the commands in this tutorial should be run as a non-root user.
Webmin is a web-based interface for system administration for Unix. After installing Webmin on your system you are able to manage users, groups, disk quotas, create files and directories as well as configure the most popular services including web, FTP, email, and database servers.
Install Webmin on CentOS
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
sudo dnf update
Step 2. Install Webmin.
Open your nano text editor and create the repository file:
sudo nano /etc/yum.repos.d/webmin.repo
Paste the following command:
[Webmin] name=Webmin Distribution Neutral #baseurl=https://download.webmin.com/download/yum mirrorlist=https://download.webmin.com/download/yum/mirrorlist enabled=1
Then, import the Webmin GPG key using the following rpm command:
sudo rpm --import http://www.webmin.com/jcameron-key.asc
Now, Install the latest version of Webmin using the following command:
sudo dnf install webmin
The output should look like the following:
Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/ as root with your root password.
The Webmin service will start automatically.
Step 3. Setup Firewall for Webmin
Now if you are running a firewall on a CentOS machine then you need to open port 10000 because by default Webmin listens on port 10000:
sudo firewall-cmd --zone=public --add-port=10000/tcp --permanent sudo firewall-cmd --reload
Step 4. Accessing Webmin Web Interface.
Now to access Webmin open the following link in your favorite browser using the following URL. The below URL contains the hostname or IP address of your server followed by port number 10000 which is by default for Webmin:
Congratulation, you have learned how to install Webmin on CentOS 8. For further reading on Install Jami, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.