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.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Aaron Kili
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.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

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.