Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. See the standard modules page for a list of all the functions built into Webmin.

In this guide, we will explain how to install Webmin on CentOS 7.

Deploying your cloud server
If you have not already registered with Cloudwafer, you should begin by getting signed up. Take a moment to create an account after which you can easily deploy your own cloud servers.

Once you have signed up, log into your Cloudwafer Client Area with the password provided in your mail and deploy your Cloudwafer cloud server.

Updating System Packages
It is always recommended that you update the system to the latest packages before beginning any major installations. This is done with the command below:

sudo yum update

Step 1: Install Perl The Virtualmin install script requires perl for execution. If it's not already installed, issue the command below to install it:

 sudo yum -y install perl

Step 2: Download the Virtualmin Install Script
Issue the command below to download the Virtialmin installer script:

wget http://software.virtualmin.com/gpl/scripts/install.sh

Step 3: Execute the VirtualMin Install Script
We need to execute the script we downloaded in the step above by issuing the command below:

sudo sh install.sh

Upon executing the script, a welcome message is displayed as shown below. Press Y to continue with the installation:

Upon proceeding, there are three (3) Phases to the installation.

Phase 1: This contains disabling SELinux, downloading the Virtualmin repo and installing the Virtualmin Release Package as shown below:

Phase 2: This includes installing packages and repos such as the EPEL repo, Yum Utils Package, PHP 7, LAMP Stack, etc as shown below

Phase 3: This is the configuration phase where the packages installed are configured. Packages include AWStats, Apache, ClamAV, etc, as shown below:

The above screenshot marks the end of the installation process.

Proceed to visit your domain on port 10000 on your browser: https://domain_name:10000 replacing domain_name with the domain name you pointed at your server. In this guide, the domain is test.cloudwaferlabs.com.ng, so we visit test.cloudwaferlabs.com.ng:10000

Enter root as the username and your root password in the password entry.

After logging in, next is the Post-Installation Wizard.

Step 3: Adding a Valid Certificate with Let's Encrypt
Under Webmin, navigate to Webmin Configuration, next click on SSL Encryption.

Naviage to the Lets's Encrypt Section.