How do you install Virtualmin on Redhat or CentOS? Core

Virtualmin is a web hosting control panel for Linux and BSD systems that is both powerful and adaptable. Virtualmin is the cost-effective and complete solution to virtual web hosting administration, available in an Open Source community-supported version as well as a more feature-rich version with premium support.

To install the control panel, we must first connect to our server using an SSH client.

Then, before installing Virtualmin, we must update the packages.

The following commands can be used to accomplish this:

yum -y update

yum -y install perl

yum install wget

After that, we may installVirtualmin using the following commands:


Then change the permission to execute

chmod 755

To Install Virtualmin execute the following command as root user.


End of the installationprocess a login URL will display, which we may use to log in to Virtualmin. To log in, we must provide the root username and password.

After logging in, we’ll see a post-installation wizard, which will allow us to customiseVirtualmin.

To host a website, we can use Virtualmin to construct a new Virtual server. We may also relocate our WordPress site to the Virtualmin hosting management panel by importing databases and files.

Errors that People Make and How to Fix Them

Users may encounter difficulties when connecting to Virtualmin after it has been installed on the server.Some of the errors, as well as how to remedy them, are listed below.

WARNING: The certificate of ‘’ is not trusted

When the SSL certificate is missing, this error occurs when accessing through https://.

When we receive this warning, we can choose to disregard it temporarily by selecting the advanced option.

However, once we’re in the panel, we can use the Webmin Configuration/SSL encryption/Let’s Encrypt page to acquire a genuine, free SSL certificate. This will resolve the issue.


When connecting to the Virtualmin portal, we may receive this problem.This indicates that the server has not responded.Because a firewall is activated as part of the installation process, many operating systems block access to port 10000 by default. This may prohibit you from accessing http://yourserver:10000/ from a different computer on your network or over the Internet.

You can use SSH to log in as root and manually update the firewall configuration file. This is /etc/sysconfig/iptables on Redhat and derivative systems, and /var/lib/iptables on Debian.

-A INPUT -p tcp -m tcp –dport 10000 -j ACCEPT

It should go after similar lines in the file that allow access to ports 80, 22, and so on. After you’ve inserted this line, you’ll need to apply the firewall configuration.

The command /etc/init.d/iptables restart is commonly used to accomplish this.

At Velan, our server support engineers can install Virtualmin& manage your Linux server. If you are interested in our service, please fill the Quick connect form to get in touch with us.


Quick Connect With Us