How to Install Virtualmin on CentOS 7

r00t January 18, 2018

Install Virtualmin on CentOS 7

In this tutorial we’ll learn how to install Virtualmin on CentOS 7. We will also install and configure its prerequisites. Virtualmin is a Webmin module that’s typically utilized to manage multiple virtual hosts through a single interface, similar to cPanel. It supports numerous functions such as creating/managing Apache virtual servers, MySQL database creation/management, creating DNS zones, managing mailboxes, 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 Virtualmin on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum -y install epel-release
yum -y update

Also you need to make sure that you server has a hostname.Use the following command to check your current hostname:

hostname -f

Step 2. Installing Virtualmin.

Download the Virtualmin installer script using wget:


Make the script executable:

chmod +x

Now it is time to install VirtualMin. To do so, use the command below:


Install Virtualmin on CentOS 7

Step 3. Accessing the Virtualmin.

Now our Virtualmin is installed successfully and port 10000 is also exposed by the firewall program, we will point our web browser to our server as https://yourIPaddress:10000 in our web browser.

Congratulation’s! You have successfully install Virtualmin Control Panel on your CentOS 7 server. Thanks for using this tutorial for installing Virtualmin on CentOS 7 system.

The Tags:

Leave a Comment

Comments are closed.