In this article, we will have explained the necessary steps to install Webmin on CentOS 7. 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. By using Webmin you can easily change settings for common packages including database, webservers and managing users, groups and software packages. After installing Webmin on your system you are able to create new user accounts, manage or update packages on your system by using dashboard.
Install Webmin on CentOS
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
Step 2. Install Webmin.
First, enable Webmin repository on your system:
Paste the following content into the file:
Now import GPG key and enable Webmin repository running below command:
Install the latest version of Webmin by typing:
The output should look like the following:
Step 3. Setup Firewall.
Now if you are running firewall on CentOS machine then you need to open port 10000 because by default Webmin listens on port 10000:
Step 4. Accessing Webmin Web Interface.
Now to access Webmin open following link in your favorite browser using the following URL. The below URL contains 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 7. If you have any question, please leave a comment below.