How to install Virtualmin on CentOS 7?

Virtualmin is a Webmin module for managing multiple virtual hosts through a single interface, similar to Plesk or cPanel. You can easily manage your Apache virtual hosts, BIND DNS domains, MySQL databases, mailboxes as well as manage server resources and users using Virtualmin.

 

PREREQUISITES:
  • A fresh installation of RHEL / CentOS, Debian or Ubuntu OS.
  • Supported operating systems:
    • RHEL / CentOS Linux 6 and 7 on x86_64.
    • Debian 7, 8, and 9, on i386 and amd64.
    • Ubuntu 14.04 LTS and 16.04 LTS, on i386 and amd64.

 

MINIMUM SYSTEM REQUIREMENTS:
  • 512 MB RAM.
  • 20 GB HDD.
  • 1 Ghz CPU.

 

SUMMARY:
  1. Update your system.
  2. Setup a FQDN (Fully Qualified Domain Name) hostname.
  3. Install Virtualmin.

 

1. Update your system.

First of all, update the system and install some required packages.

Command: yum update

Command: yum install wget curl epel-release

 

2. Setup a FQDN (Fully Qualified Domain Name) hostname.

Next, you will need to set a FQDN (Fully Qualified Domain Name) hostname for your server. This can be done either in your hosting provider website or in your server command line.

Command: hostname server.your-domain.tld

 

3. Install Virtualmin.

Now all you need to do is download and install Virtualmin.

Command: cd /tmp/ && wget http://software.virtualmin.com/gpl/scripts/install.sh && sh install.sh

 

NOTE: You might be prompted to set a hostname or enter the name of your primary network interface.

 

Output:

[SUCCESS] Installation Complete!
[SUCCESS] If there were no errors above, Virtualmin should be ready
[SUCCESS] to configure at https://server.your-domain.tld:10000.

 

You can log into your freshly installed Virtualmin panel as soon as the installation is complete. You can use your domain or IP address to log in. 

Login link: https://server.your-domain.tld:10000

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.