logo
. . .

How To Install Webmin on Ubuntu 20.04

To install Webmin on Ubuntu using APT, follow these steps. This guide has been tested on Ubuntu 18.04 and 20.04.

Step:-1. Log in Your Server to SSH as the root user.

For further information regarding best linux vps in india ,cloud server cost in india,cheap cloud hosting india provider, please contact us directly.

Step:-2. Edit your APT sources file by running the command:
#nano /etc/apt/sources.list

Step:-3. Add the Webmin repository to the file by including the following line:

#deb http://download.webmin.com/download/repository sarge contrib

Step:-4. Download the GPG key of the developer who signed the repository:

#wget https://download.webmin.com/jcameron-key.asc
Add the key to your list of trusted keys:
#apt-key add jcameron-key.asc
Step:-5   Update your package lists with the command:

#apt-get update

Step:-6.  Install Webmin by running:

apt-get install webmin
If necessary, open port 10000 on your server firewall. We recommend using ConfigServer Security & Firewall (CSF) or Firewalld for managing iptables firewall rules.

Step:-7.  Set a password for the root Webmin user by executing the following command:

/usr/share/webmin/changepass.pl /etc/webmin/ root NewStrongPassword
Make sure to add a space before the command to prevent it from being saved in your bash history.

You will receive a notification confirming that the password for the Webmin user root has been updated successfully.

 After setting the password, log in to Webmin using your server’s hostname or IP address followed by port 10000 (e.g., https://YourServerHostname:10000).

Step:-8. If you encounter the error “Can’t locate ./acl/md5-lib.pl…”, follow these steps:

Navigate to the Webmin directory by running:

#cd /usr/share/webmin
Run the password reset script again or try this variation of the command:

#./changepass.pl /etc/webmin/ root NewStrongPassword
Remember to maintain a formal tone throughout the installation process.