Install Webmin in Ubuntu 19.10 and Ubuntu 19.04 Linux Systems. Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.
Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.
Install Webmin in Ubuntu
First, add the Webmin repository to the /etc/apt/sources.list file.
Method 1 – Add the Webmin repository
Open the file in your editor:
sudo nano /etc/apt/sources.list
Then add this line to the bottom of the file to add the new repository: /etc/apt/sources.list
deb http://download.webmin.com/download/repository sarge contrib
Save the file and exit the editor.
Method 2 – Add the Webmin repository
Open the file in your editor:
sudo vi /etc/apt/sources.list.d/webmin.list
Add below value to this file:
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
Save the file and exit the editor.
Install Webmin
sudo apt-get install software-properties-common apt-transport-https
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb https://download.webmin.com/download/repository sarge contrib"
sudo apt-get update
sudo apt-get install webmin
Once the installation finishes, you’ll be presented with the following output:
Output:
Webmin install complete. You can now login to
https://your_server_ip:10000 as root with your
root password, or as any user who can use `sudo`.
NOTE:
If Debian complains about missing dependencies, you can install them with the command:
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
If you are installing on Ubuntu and the apt-get command reports that some of the packages cannot be found, edit /etc/apt/sources.list and make sure the lines ending with universe are not commented out.
Access Webmin
Webmin by default run on port 10000, we can simply access Webmin by accessing our server on port 10000 in a web browser. It will ask for user credentials. Use your system user or root login with the password to access Webmin. To access Webmin, replace localhost with your system’s IP address or hostname.
To get access to the Ubuntu server via webmin in your client’s web browser go to https://SERVER-IP:10000. And login with system user or root login: https://localhost:10000/
In simple words, to log in to Webmin, navigate to http://your_domain and sign in with either the root user or any other user with sudo privileges.
If the Webmin server doesn’t respond, you might need to adjust firewall settings to allow port 10000.