Hello, friends. In this post, you will learn how to install Virtualmin on CentOS 8. In addition to that, we will leave it ready to add new Virtual hosts.
Virtualmin is a powerful and flexible web hosting control panel for Linux and BSD systems. Available in an Open Source community-supported version, and a more feature-filled version with premium support, Virtualmin is the cost-effective and comprehensive solution to virtual web hosting management.
Also, Virtualmin is a web hosting control panel, designed to make it easy to manage websites, mailbox users, databases, and web applications. It provides website owner accounts, easily installable web applications, file management, and a comprehensive and easy to use API for integration with billing and support systems.
Install Virtualmin on CentOS 8
The first step is to set the hostname of the computer correctly, for it executes the hostnamectl command as follows:
sudo hostnamectl set-hostname virtual.osradar.com
Remember to replace the example hostname with your own.
Then, open the corresponding ports in the firewall so that Virtualmin can function correctly:
sudo firewall-cmd --zone=public --add-port=10000/tcp --permanent
And restart the firewall.
sudo firewall-cmd --reload
Then download the installation script provided by Virtualmin
Once it is downloaded, you just need to assign it execution permissions
chmod +x install.sh
and run it as root or using sudo
Then the whole installation process will start, it can take a few minutes depending on your computer. If everything goes well, you will see a message like this:
[SUCCESS] Installation Complete! [SUCCESS] If there were no errors above, Virtualmin should be ready [SUCCESS] to configure at https://virtual.osradar.com:10000 (or https://192.168.1.22:10000). [SUCCESS] You'll receive a security warning in your browser on your first visit.
So, now you have to complete the installation.
Complete the installation
In the previous screen output, you will have the address where you have to access from the browser to open the Webmin and Virtualmin console
When you see the login screen, enter your root credentials
Then, you will see a screen of a post-installation wizard click on Next
You will then be asked to use the memory according to the capabilities of the server.
On the next screen, you can enable the use of ClamAV.
Then, you will be asked if you want to enable MariaDB and PostgreSQL support.
In case you want to enable it, you will be asked for the password.
Then, you have to set the size of that database. This all depends on the capabilities of your computer.
The next step is the configuration of the DNS.
And finally, if you want to create a default virtual host,
In the end, you will see the following screen.
This indicates that the installation process has been completed successfully.
By clicking on the following button, the installer will refresh the system and it will be ready to use.
Virtualmin is a very complete Webmin module for hosting control. It is flexible, powerful, and with an interface that makes everything simple. Although all the potential can be deployed if we have a powerful computer. Now you know how to install it on CentOS 8