Virtualmin is an open-source control panel for managing websites on web servers. Here I have provided you steps to install Virtualmin on ubuntu server.
If you are using root user to install the Virtualmin control panel, then it is recommended to create a new a user with sudo access to install Virtualmin due to security reasons.
If you are not sure how to create a new user on ubuntu server and assign sudo access to this user, you can read this article to know how to create new user on ubuntu and grant sudo access.
Let’s begin – update the packages first
Sudo apt update
Installing Virtualmin On Ubuntu Server
The easiest way to get the install script onto your server, is to login to your server and use wget or curl.
wget https://software.virtualmin.com/gpl/scripts/virtualmin-install.sh
Run the Install Script and Configure Virtualmin:
Execute the downloaded install script using a command like the following:
sudo sh virtualmin-install.sh
After a few minutes, your system should have everything it needs to provide a full-featured virtual web hosting environment!
Now login to Virtualmin by browsing to port 10000 on the address of your server using the HTTPS protocol.
Ignore the SSL certificate validation error (the SSL certificate is a self-signed one after initial installation but can be replaced with a valid certificate after initial configuration is complete).
Follow the steps in the post-install wizard to setup Virtualmin to suit your environment and needs. Virtualmin will check the configuration of the system and validate some server settings to ensure your system is ready for service.
Click Create Virtual Server to start making your first website in Virtualmin!