CentOSLinuxTutorials

How To Install Webmin on CentOS 7

Install Webmin on CentOS 7

In this tutorial, we will show you how to install Webmin on CentOS 7. For those of you who didn’t know, Webmin is a free control panel for managing VPS. Webmin is a web-based interface that is used to manage the VPS web hosting server. With the help of a website, you can set up a user account, apache, DNS and file sharing, and other actions. Webmin is very suitable for beginners who do not know much about the Unix or Linux command line.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you the step-by-step installation of Webmin on the CentOS 7 server.

Prerequisites

  • A server running one of the following operating systems: CentOS 7.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install Webmin on CentOS 7

Step 1. First, add the Webmin official repository.

Webmin isn’t available in the default CentOS repositories, you must add its repository to your system before installing. To do that, run the commands below to create a repository file for Webmin:

nano /etc/yum.repos.d/webmin.repo

And add the following lines:

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

We’ll need to install the Webmin GPG key now, using the following command:

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

The next step is to update the repositories and all available package updates, to make sure we’re installing the latest version of Webmin. Run the following command:

yum check-update

Step 2. Install Webmin.

Install Webmin with the following command:

yum install webmin -y

Start the service and make it start automatically every time you reboot your server:

chkconfig webmin on
service webmin start

By default, Webmin will listen on port 10000. Enable Webmin port:

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

Step 3. Access Webmin.

Finally, we can access the Webmin panel using our web browser. Webmin uses 10000 as its default port. Type this into our URL address web browser. https://your-ip-address:10000 then login as superuser or root access privileges. If you are using a firewall, please open ports 80 and 10000 to enable access to the control panel.

Install Webmin on CentOS 7

Congratulations! You have successfully installed Webmin. Thanks for using this tutorial for installing the Webmin control panel in CentOS 7 system. For additional help or useful information, we recommend you to check the official Webmin website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

Save

Save

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button