How to Install Webmin Control Panel in Debian 9

Webmin is a popular, open source web-based system info and administration tool for Unix-like systems including Linux and Windows systems. It is sort of a Linux control panel which enables you to view a summary of current system info and statistics, manage system configurations such as setting up user accounts, disk quotas, services configuration such as Apache, DNS, PHP or MySQL, file sharing and many more remotely via a web browser.

Its latest release is Webmin 1.850 which includes let’s encrypt fixes, majordomo module improvements, support for firewalld forwarding, authentic theme and translation updates plus several bug fixes.

Suggested Read: 20 Control Panels to Manage Linux Servers

In this short and straightforward article, I will explain how to install Webmin on Debian 9 and its derivatives such as Ubuntu and Linux Mint systems.

Step 1: Add Webmin Repository

1. To add and enable Webmin official repository, you need to first create a file called webmin.list under /etc/apt/sources.list.d/ directory.

$ sudo vi /etc/apt/sources.list.d/webmin.list
OR
$ sudo nano /etc/apt/sources.list.d/webmin.list

Then add these two following lines to the file.

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

2. Next import the GPG key for the above repository as follows.

$ wget http://www.webmin.com/jcameron-key.asc
$ sudo apt-key add jcameron-key.asc

Step 2: Install Latest Webmin Version

3. Now update the system and install Webmin like this.

$ sudo apt update
$ sudo apt install webmin

Attention: If you are using a firewall, please open port 80 and 10000 to enable access to the Webmin.

Once the installation is complete, start Webmin for the time being and enable it to auto-start at the next system boot as follows.

$ sudo systemctl start webmin
$ sudo systemctl enable webmin
$ sudo systemctl status webmin

Step 3: Access Webmin Control Panel

4. Webmin service listens on port 10000, so open a web browser and type the following URL to access Webmin.

https://SERVER_IP:10000
OR
https://Domain.com:10000
OR
https://localhost:10000  

Then provide user credentials for the system; enter your root or system admin user login password to access Webmin dashboard.

Webmin Login
Webmin Login
Webmin Debian 9 Info
Webmin Debian 9 Info

Webmin Homepage: http://www.webmin.com/

That’s it! You have successfully installed Webmin on Dabian 9 and Ubuntu based systems. To send us any queries, use the feedback form below.

Two small things before you go

If something didn’t work on your setup, leave a comment and tell me which distro and version you’re on. I read every one, and most of these articles got better because a reader pointed out what was missing.

And if it did work, share it. TecMint has stayed free for 14 years because people pass these articles around, and that traffic is what pays for writing the next one.

Leave a comment
Get two free Linux courses

Learn the Linux basics with two free courses and join 34,000+ readers getting practical TecMint tutorials and selected Pro TecMint articles every week.

Pro TecMint
Get lifetime access for $99

If you want to go beyond the free tutorials, Pro gives you 18 courses, 5 ebooks, and every future course I add. One payment, lifetime access, no renewals.

Aaron Kili
Aaron Kili
Contributor
About the author

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

4 Comments

Leave a Reply
  1. When I do:

    $ sudo systemctl start webmin
    

    I get this error:

    Failed to start webmin.service: Unit webmin.service not found.
    

    Any ideas?

    Reply
    • @Mex

      First ensure that you have actually installed Webmin as shown in this guide; if so, then try to go into /var/webmin directory:
      $su –
      #cd /var/webmin

      And look through these files for any errors:
      #cat miniserv.error
      #cat cat miniserv.log

      Reply
      • I just tried,

        $ sudo systemctl start webmin
        

        again, and somehow everything seems to be working fine. No idea what happened before, I tried a few times. Anyway, all seems good now.

        Reply
        • @Mex

          Oh, may be it was a system delay in reading the unit file or some other configs. Good that it’s up and running, thanks for the feedback.

          Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.