How to install Virtualmin on a VPS Linux

Virtualmin is a very flexible and powerful web hosting control panel for Linux and UNIX systems. It is based on the Webmin open source System configuration tool. You can easily manage your virtual domains, databases, mailboxes and more through the Virtualmin interface, which is clear, efficient and very easy to use.

Virtualmin comes in two versions – an Open Source version (GPL) and a commercial, paid version called Virtualmin Professional. The paid version comes with several additional 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 bi-directionally, with an automatic installation and a manual installation. It is highly recommended to use an automatic script for installation, as the script will install all the required packages and services, and many possible problems can be avoided. An 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 login to the Linux server as root user

ssh [email protected]

Before continuing, start a screen session by running the following command

screen -U -S virtualmin

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

yum -y update

On a Debian based system use the following command:

apt-get update
apt-get upgrade

Go to VirtualMin’s official website and download the installation script. In our case, we will download the installation 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

./install.sh

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

After installation is complete, navigate to https: // youriPaddress: 10000 or https: //yourdomain.tld: 10000 in your web browser to open the control panel. You can login with a root user to complete the post-installation wizard.

You can change password for Webmin with the following command

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

Where PASSWORD will be your new Virtualmin password.

For more information on how to set up and use Virtualmin please check official documentation

Sidebar