Install Webmin on Ubuntu 20.04
NOTE: IP address of your host running webmin must be set to static IP address. Follow guide here on how to set static IP address.
- Update Ubuntu before installing webmin packages
sudo apt update -y && sudo apt upgrade -y
- Install dependecies:
sudo apt install software-properties-common apt-transport-https
- Setup webmin repo
sudo wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
- Install webmin package
sudo apt install webmin -y
After installation you should see an output as shown 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.
- Check status of webmin service:
sudo systemctl status webmin
Output:
● webmin.service - LSB: web-based administration interface for Unix systems
Loaded: loaded (/etc/init.d/webmin; generated)
Active: active (running) since Mon 2020-10-19 15:43:32 UTC; 18s ago
Docs: man:systemd-sysv-generator(8)
Tasks: 1 (limit: 934)
Memory: 30.1M
CGroup: /system.slice/webmin.service
└─22386 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
Oct 19 15:43:30 ubuntu systemd[1]: Starting LSB: web-based administration interface for Unix systems...
Oct 19 15:43:30 ubuntu perl[22370]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Oct 19 15:43:32 ubuntu webmin[22370]: Webmin starting
Oct 19 15:43:32 ubuntu systemd[1]: Started LSB: web-based administration interface for Unix systems.
- Allow webmin access from firewall. (Optional) if it is enabled:
sudo ufw allow 10000/tcp
sudo ufw reload
sudo ufw status
- Connect to webmin via IP address of the server using sudo user or root account.
https://192.168.1.200:10000