General Guides

Search Knowledge Base by Keyword

How To Install Virtualmin (CentOS 7)

You are here:
Share:

What Is Virtualmin?

Virtualmin is a Webmin module that is typically used to manage multiple virtual hosts through a single interface, similar to cPanel. It supports multiple functions such as creating/managing Apache virtual hosts, MySQL database creation/management, generating DNS zones, managing mailboxes, and much more.

 

How Do I Install Virtualmin On CentOS 7?

This tutorial implies that you’re using the root account on a server to perform the installation and that you have a basic working knowledge of a Linux shell. Although this tutorial is written strictly for CentOS 7, Virtualmin offers an automated installation script for the following distros:

 

  • CentOS/RHEL/Scientific Linux 7 on x86_64
  • CentOS/RHEL/Scientific Linux 5 and 6 on i386 or x86_64
  • Debian 6, 7, and 8 on i386 or amd64
  • Ubuntu 12.04 LTS, 14.04 LTS, and 16.04 LTS on i386 or amd64 (non-LTS releases are not supported)

 

The following steps can be utilized to install Virtualmin in a CentOS 7 (RHEL 7) environment.

 

Step 1:  Ensure your server is up to date

 

 

Step 2:  Install perl for the Virtualmin script to execute correctly

 

 

Step 3:  Download the Virtualmin installer script using wget

 

 

Step 4:  Make the script executable

 

 

Step 5:  Execute the install script

 

 

Step 6:  As per the warning when the script is executed ensure that your OS is listed and type “y” then press “Enter” to continue with the installation

 

Showing the Virtualmin install script prompt in shell

 

Step 7:  If prompted you may need to enter in a fully qualified hostname

 

Please note that this domain name will need to resolve to your server.

 

Finish Setting Up Virtualmin With The Post-Installation Wizard

The installation should now be underway and may take a bit of time to complete. Once the installation is complete you can move on to the Post-Installation Wizard by logging into Virtualmin using YOURIPADDRESS:10000 as Virtualmin operates on port 10000 by default. You can choose to perform the post installation steps later, however it is strongly advised to proceed with them now using the following steps.

 

Step 1:  Click the “Next” button

 

Showing the first page of the Virtualmin Post Installation Wizard

 

Step 2:  Select the appropriate setting for your system

Step 3:  Click “Next”

 

Showing the second page of the Virtualmin Post Installation Wizard

 

Step 4:  Select if you’d like to run clamd in the background

Step 5:  Click “Next”

 

Showing the third page of the Virtualmin Post Installation Wizard

 

Step 6:  Select if you’d like to run spamd in the background

Step 7:  Click “Next”

 

Showing the fourth page of the Virtualmin Post Installation Wizard

 

Step 8:  Select if you’d like to run a MySQL server, PostgreSQL server or both

Step 9:  Click “Next”

 

Showing the fifth page of the Virtualmin Post Installation Wizard

 

Step 10:  Set a root password for the database server (MySQL/PostgreSQL)

Step 11:  Select if you’d like to remove the test MySQL database

Step 12:  Select if you’d like to remove the anonymous MySQL user

Step 13:  Click “Next”

 

Showing the sixth page of the Virtualmin Post Installation Wizard

 

Step 14:  Select the appropriate configuration for your system

Step 15:  Click “Next”

 

Showing the seventh page of the Virtualmin Post Installation Wizard

 

Step 16:  Set the Primary nameserver

Step 17:  Set the Secondary nameservers if needed

Step 18:  Click “Next”

 

Showing the eighth page of the Virtualmin Post Installation Wizard

 

Step 19:  Select to store plain-text or hashed password

Step 20:  Click “Next”

 

Showing the ninth page of the Virtualmin Post Installation Wizard

 

The Post-Installation Wizard should now be complete and you should be able to start using your new control panel. The first thing you should do is create a new virtual server so that you can begin hosting your site(s). We have written the following article to help you set up a virtual server in Virtualmin: Creating a New Virtual Server in Webmin/Virtualmin

 

Related Articles


Share: