How to use Webmin A web based sys-admin tool

Webmin is AN open-source web-based system configuration tool for UNIX/Linux Based systems system administration. With the assistance of this tool, we will manage internal system configuration like putting in place user accounts, disk quotas, services configuration like Apache, DNS, PHP, MySQL, file sharing, and far a lot of.

Webmin application relies on Perl module and it uses tcp port 10000 with OpenSSL library for act via browser.

Some of the items you’ll do with Webmin are:

  • Create, edit and delete user accounts on your system.
  • Share Files and Directories with different UNIX system systems via the NFS protocol.
  • Set up Disk Quotas to manage the quantity of disc space on the market to users.
  • Install, view, and delete package packages on the system.
  • Change system’s IP address, DNS settings, and routing configuration.
  • Set up a UNIX system Firewall to secure your system.
  • Create and set up virtual hosts for the Apache Webserver.
  • Manage databases, tables, and fields during a MySQL or PostgreSQL info server.
  • Share files and directories with Windows systems via the Samba file sharing.

In this article, you will learn the way to put in the newest version of the Webmin system administration tool in UNIX/Linux systems.

Installing Webmin control panel in UNIX/Linux systems

We area unit using the webmin repository for putting in the newest Webmin tool with their needed dependencies and that we conjointly receive up-to-date automatic updates of Webmin via repository.

Installing Webmin in RedHat Based Linux

On RHEL-based distributions, like fedora, CentOS, Rocky & AlmaLinuxyou would like to feature and alter Webmin repository, do to the present produce a file known as /etc/yum.repos.d/webmin.repo and add the subsequent lines there to as a root user.

# nano /etc/yum.repos.d/webmin.repo
name=Webmin Distribution Neutral

Type the Below Commands after saving the etc/yum.repos.d/webmin.repo

# wget
# rpm --import jcameron-key.asc
# yum install webmin

Installing Webmin in Debain Based Linux

Similarly, you wish to feature and alter Webmin APT repository to the /etc/apt/sources.list file on your Debian systems like Ubuntu and Mint OS.

$ sudo nano /etc/apt/sources.list

Add the following line then save and close the file

deb sarge contrib

Now type the below commands to add the GPG key

$ wget
$ sudo apt-key add jcameron-key.asc   

For Debain 11 and Ubuntu 22.0 use the Below commands

$ wget
$ sudo cat jcameron-key.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/jcameron-key.gpg

Now Install the Webmin using Below Commands

$ sudo apt-get update
$ sudo apt-get install webmin

How to start Webmin

In RedHat Based OS:

# /etc/init.d/webmin start

In Debain Based OS:

$ sudo /etc/init.d/webmin start

Allow Firewall to Access Webmin

If you have a firewall active then you have to allow the port 10000 as Webmin run on tcp/10000

In FirewallD:

# firewall-cmd --add-port=10000/tcp
# firewall-cmd --reload

Also Read : Real world examples of using firewalld on CentOS/RHEL 7


$ sudo ufw allow 10000

Also Read: How to Setup a Firewall with UFW on an Ubuntu and Debian Cloud Server

In IPTables:

# iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
# service iptables save
# /etc/init.d/iptables restart

Now you should be able to access the Webmin portal using your localhost

Type the Below url in your browser

URL: http://localhost:10000


Password:(Your root Password)

For more Information You Can Visit the Webmin Official Documentation

One comment

Leave a Reply