How to Install Webmin on CentOS 7

r00t July 29, 2017

Install Webmin on CentOS 7

In this tutorial we’ll learn how to install Webmin on CentOS 7. We will also install and configure its prerequisites. Webmin is a web-based graphical tool for unix . It is used to manage services like User management, Disk managemet, Network, Iptables (Firewall), Cron, Apache, DNS, File sharing and much more .

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Webmin on CentOS 7

Step 1. First, ensure your system is fully up-to-date by running the following:

yum -y update

Step 2. Installing Webmin.

This step installs the official package repository so the package can be installed, and so upgrades can be downloaded later:

cd /etc/yum.repos.d/

We need to create a webmin.repo file so it knows where to find the necessary packages:

nano webmin.repo

In this file paste the following content:

[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

Now we need to import the repository’s GPG key so we can verify package signatures:

wget http://www.webmin.com/jcameron-key.asc
rpm --import jcameron-key.asc

Next, run the commands below to install Webmin:

yum -y install webmin

Step 3. Configure Firewall.

Webmin listens on port no 10000, allow it on firewall:

firewall-cmd --permanent --zone=public --add-port=10000/tcp
firewall-cmd --reload

Step 4. Accessing Webmin.

After installing Webmin, Let’s access its administrative interface to finish up. Visit https://your_ip:10000 in your browser to complete the installation.

Congratulation’s! You have successfully configured Webmin on your CentOS 7 server.

Save

The Tags:

Leave a Comment

Comments are closed.