How to Install Virtualmin on a Linux VPS

virtualmin-logo-220x45Virtualmin is very flexible and powerful web hosting control panel for Linux and UNIX systems. It is based on the Open Source web-based system system configuration tool Webmin. You can easily manage your virtual domains, databases, mailboxes, and much more through the Virtualmin interface which is clear, effective and very easy to use.

Virtualmin comes in two versions – Open Source version (GPL) and a commercial paid version named Virtualmin Professional. The paid version comes with few extra features and support. In this article we will show you how to install the free (GPL) version of Virtualmin on a Linux VPS.

Virtualmin can be installed on two ways, using the automated installer and a manual installation. It is highly recommended to use the automated script for installing because the script will install all necessary packages and services and many possible problems will be avoided. The automated script can be used to install Virtualmin on the following operating systems:

  • CentOS/RHEL/Scientific Linux 7 on x86_64
  • CentOS 6 on i386 or x86_64
  • RHEL 6 on i386 and x86_64
  • Scientific Linux 6 on i386 and x86_64
  • Debian 6, 7, and 8 on i386 or amd64
  • Ubuntu 10.04 LTS, 12.04 LTS, and 14.04 on i386 or amd64

Please note that it is recommended to install Virtualmin on a clean OS.

Let’s start with the installation. First of all log in to your Linux server as user root

ssh root@IP

Before proceeding any further, start a screen session executing the following command

screen -U -S virtualmin

Now, we need to update the system. It is very important all packages to be up to date because many packages in Virtualmin depend on the OS packages.
On RPM based systems you can upgrade the packages using the command:

yum -y update

On Debian-based systems use the following command:

apt-get update
apt-get upgrade

Go to Virtualmin’s official website and download the install script. In our case, we will download the install script for Virtualmin GPL

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

Make the script executable

chmod +x install.sh

and run the installer

Need a fast and easy fix?
✔ Unlimited Managed Support
✔ Supports Your Software
✔ 2 CPU Cores
✔ 2 GB RAM
✔ 50 GB PCIe4 NVMe Disk
✔ 1854 GeekBench Score
✔ Unmetered Data Transfer
NVME 2 VPS

Now just $43 .99
/mo

GET YOUR VPS
./install.sh

The script will install all necessary packages. It could take up to 15-45 minutes for the script to complete the installation of Virtualmin.

Once the installation is completed navigate your web browser to https://youriPaddress:10000 or https://yourdomain.tld:10000 to open the control panel. Log can log in using the root user to finish the post-installation setup wizard.

You can change the root password for Webmin using the following command

usr/share/webmin/changepass.pl /etc/webmin root PASSWORD

Where PASSWORD will be your new Virtualmin password.

For more information about how to configure and use Virtualmin please check their official documentation.

Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install Virtualmin for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

Leave a Comment