How To Install and Configure Virtualmin On Ubuntu 20.04  

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. 

Check Out: How To Install Eclipse IDE On Ubuntu 20.04 / 19.10

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

Check Out: How To Install and Configure ModSecurity On Ubuntu 20.04

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. 

install webmin ubuntu

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.

allow=192.168.x.x

We’ve successfully installed Webmin on ubuntu 20.04. 

Check Out: How To Change Facebook Account Login Password

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. 

sudo ./install.sh

Check Out: How To Configure Master Kubernetes With Worker Node On Linux

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. 

That’s it.

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment