Guide to install Webmin on Ubuntu 20. First of all, make sure to update the system first. Then do the upgrade followed by restarting the server.
# apt update; apt upgrade # reboot
Install from Webmin Repository
# echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
After that, download the PGP key from Webmin using wget.
# apt install gnupg -y # wget -q -O- http://www.webmin.com/jcameron-key.asc | sudo apt-key add
After that, update.
# apt update
Then, install Webmin
# apt install webmin -y
After Webmin is successfully installed, then log in to the Webmin panel using port 10000 by default. You can type your IP address for example: 22.214.171.124:10000
You will be redirected to https and will be asked that the page has a Potential Security Risk Ahead warning notification.
You can ignore the message, because it means that the SSL certificate you are currently accessing is generated and signed using a private key. To continue, click Advanced... then Accept The Risk and Continue.
You are now on the Webmin front page. To log in, you need to enter your username and password into the login page. Where the username is filled with root and the password is filled with the root password of your current server. Then Sign In.
Congratulations! You have now successfully installed Webmin on Ubuntu 20, and successfully logged in as root.