In this tutorial, we will show you how to install Virtualmin on CentOS 7. For those of you who didn’t know, Virtualmin is an advanced web server management panel, and a very good alternative to cPanel, with the same administrative structure based on root users, resellers, and clients. Once installed, you will be able to manage Apache, Nginx, PHP, DNS, MySQL, PostgreSQL, mailboxes, FTP, SSH, SSL, Subversion/Git repositories, and many more.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of Virtualmin in the CentOS 7 server.
- A server running one of the following operating systems: CentOS 7.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Table of Contents
Virtualmin OS Support
- 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.
Install Virtualmin on CentOS 7
Step 1. First, you need to update the system to ensure that we have all of the latest software installed.
Step 2. Install Virtualmin on CentOS 7.
Virtualmin can be installed in a number of ways an automated install script or manual Installation. Now you can enter this command to get the installer:
Once downloaded, do a
chmod +x to make the script executable:
chmod +x install.sh
Now it is time to install VirtualMin. To do so, use the command below:
./install.sh ### During the installation it will ask you for the host name make sure you enter this correctly ###
Once it has been completed you should see a line similar to the following:
ssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay: Succeeded.
Step 3. Accessing Virtualmin Web UI.
Virtualmin web-based monitoring will be available on HTTPS port 10000 by default. Open your favorite browser and navigate to
https://server-ip:10000. If you are using a firewall, please open port 10000 to enable access to the control panel.
Congratulations! You have successfully installed Virtualmin. Thanks for using this tutorial for installing Virtualmin webserver management in CentOS 7 system. For additional help or useful information, we recommend you to check the official Virtualmin website.