We can install and configure Virtualmin on Ubuntu 20.04. we will also need to install Webmin on ubuntu. Let’s see, how to install Webmin on ubuntu.
How To Install and Configure Virtualmin On Ubuntu 20.04
We have to install Webmin because it’s a main system configuration tool before installing the Virtualmin.
Install Webmin On Ubuntu 20.04:
You need to install the python dependencies before installing it using the following commands.
sudo apt update sudo apt install python apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl curl
Create a directory and download the package.
sudo mkdir -p /opt/lvmfolder/webadmin sudo curl -L -O http://www.webmin.com/download/deb/webmin-current.deb
Now run the below script to install Webmin. This might take several minutes depends on your internet connection speed.
sudo apt install ./webmin-current.deb
After a few minutes, you will receive the output like below:
Webmin install complete. You can now login to https://ubuntu:10000/ as root with your root password, or as any user who can use sudo to run commands as root. Processing triggers for systemd (245.4-4ubuntu3.2) ...
Access the Webmin using the URL: https://ubuntu:10000/
You can use your ubuntu system credentials to log in.
If you want to access it with the IP address, you can make changes in /etc/webmin/miniserv.conf This file and allow the IP range. you can access the Webmin with IP address.
We’ve successfully installed Webmin on ubuntu 20.04.
Install Virtualmin On Ubuntu 20.04:
Before installing the Virtualmin, it only supports the TLS version and non-TLS wouldn’t be supported. Let’s create a directory and download the script to install it.
sudo mkdir -p /opt/lvmfolder/virtualmin sudo curl -O http://software.virtualmin.com/gpl/scripts/install.sh
Once the script is downloaded. we need to make it executable using the below command.
sudo chmod +x install.sh
Run the script to install it.
When you run the above command, it will ask you to continue by typing “y” and also give an FQDN.
Continue? (y/n) y [INFO] Started installation log in /root/virtualmin-install.log ▣□□ Phase 1 of 3: Setup [ERROR] Your system hostname ubuntu is not fully qualified. Please enter a fully qualified hostname (e.g.: host.example.com): host.virtualmin.com
It will take a few minutes to install and Once is done. you can see the Virtualmin on the Webmin Portal URL.