Webmin: what it is and how to install it

Published by TheJoe on

Estimated reading time: 2 minutes

Webmin is a web-based user interface for GNU / Linux system administrators. Through a simple browser, the administrator can manage the server / servers with ease.

Administer users, the quote, permissions, the groups, Apache, enable DNS, configuring file sharing are just some of the possibilities offered by Webmin.

Webmin can be installed both locally and remotely. In all cases, a terminal and door opening will be needed 10000 on all server firewalls. If you haven't yet installed a firewall for your server, or you are undecided on which to choose I recommend my last article in which I talk about ten most used firewalls to protect Linux.

We install Webmin from a remote console on a Debian server. To begin the installation, you will need to establish an SSH connection with the server. If an SSH service is listening on the server we will get this result.

~$ ssh user@server
The authenticity of host 'server (' can't be established. ECDSA key fingerprint is SHA256:9jqmhko9Yo1EQAS1QeNy9xKceHFG5F8W6kp7EX9U3Rs. Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'server' (ECDSA) to the list of known hosts.


We will talk about the correct setting of SSH keys in another article. Now we download on the server l’latest version of Webmin the official site (to date the 1.979).

~$ wget

We install the dependencies.

~$ sudo apt install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

We unpack Webmin and enter its directory.

~$ tar -xzvf webmin-X.Y.tar.gz
~$ cd webmin-X.Y.tar.gz

Let's start the installer.

~$ sudo sh

Once installation is complete, open a browser and type the server address on the port 10000. In my case “http://server:10000“.

Look here:  Shutter, utility for screenshots
The Webmin login screen.

At this point it will be sufficient to log in with the system administrative credentials.

What could go wrong?

Very trivially the door 10000 Webmin is usually closed by firewalls. Although Webmin can be configured to listen on another port at our convenience, it will be necessary at the first login to make sure that the / firewalls allow inbound traffic (to the server) on the door 10000, or configure port-forwarding.

In the image above we see a typical example of a network scheme. To connect to Webmin we need to open the traffic on the port 10000 of the firewall installed on the server, and any other firewalls that stand between the server and the router, be (if there was) on the firewall of the router.

The / firewalls installed on the client or on the client LAN will not need to be configured.

If you don't know which firewall to choose for your server, I suggest you read my latest article, in which I compared ten firewalls for Linux.


I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.