How to install Virtualmin/Webmin control panel in CentOS 7?

Before starting the installation, we need to update packages.

 

After Creating the VPS with CentOS 7 first, we need to do yum update.

 

To do that, use the following command.

 

yum -y update

 

After the yum update we need to check if Perl installed. Because Virtualmin requires Perl and for editing of text files will also need to install nano. 

yum -y install perl wget nano

Now we will begin the installation of Virtualmin/Webmin panel on CentOS 7. 

 

  1. Download the installer.
wget="http://software.virtualmin.com/gpl/scripts/install.sh">http://software.virtualmin.com/gpl/scripts/install.sh

 

  1. After downloading installer use following command to install it.
chmod +x install.sh
./install.sh

 

After initiating above command, press the ‘y’ key and then press Enter. The installation will start, and it may take about 10-15 minutes to finish the installation.

 

Once installations completed, we need to configure it.

  1. Access Virtualmin web panel from your web browser.

 

https://serverip:10000 (always use https)

 

  1. Now login to Webmin panel by using following credentials.

 

User: root

Password: your root ssh password

 

  1. After logging in you will see Post-installation Wizard.

Click "Next"

 

  1. Select the appropriate setting for your system

Click "Next"

 

  1. Select if you’d like to run Clamd in the background.

Click "Next"

 

  1. Select if you’d like to run SpamAssassin in the background.

Click "Next"

 

  1. Select if you’d like to run a MySQL server, PostgreSQL server or both

Click "Next"

  1. Set a root password for the database server (MySQL/PostgreSQL)

 

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

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

Click "Next"

 

  1. Select the appropriate configuration for your system.

Click "Next"

 

  1. Set the Primary nameserver

         Set the Secondary nameservers if needed

Click "Next"

 

  1. Select to store plain-text or hashed password

 

Click "Next"

 

The Post-Installation Wizard is now completed.

The following setup will help you to set up a virtual server in Virtualmin and Add a New Site. 

 

  1. Login to Webmin

 

  1. Select Virtualmin

 

  1. Select Create Virtual Server option

 

  1. Fill in the required information for the domain

 

  1. New virtual server type
  2. Domain name
  3. Description
  4. Administration password
  5. Server configuration template
  6. Account plan
  7. Administration username

 

Note:

1. You need to use the active domain in order to host a domain in Webmin control panel.

2. If you want to host the sub-domain, you need to create the sub-server under the “create the virtual server” option.

 

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to Install Tomcat 7 on Centos?

Tomcat is an open-source web server that is built in Java Servlet and JavaServer Pages...

How to Install Minecraft Game Server in Linux VPS?

This article will assist you to install Minecraft Server in your Linux VPS. Checkout our VPS...

How to determine what is using the most disk space on a Linux server?

There are times when you receive following error while accessing the cPanel WebMail or WHM. You...

How to set Automate Tasks on a Linux VPS Using Cron?

One of our Linux VPS customers faced an issue wherein his Virtual Machine’s system clock was...

How to install Virtualmin / Webmin control panel in Ubuntu 16/18?

Before installing Virtualmin/Webmin on Ubuntu 16. We need to make sure that our system is up to...