How To Install Webmin in Ubuntu 16.04, Debian & Fedora Systems

In this tutorial, you will see how to install Webmin in the Debian and Fedora distributions.

In this opportunity, we will talk about a fascinating tool for the administration of our Linux servers which is Webmin.

Webmin is a web interface that facilitates the management of different parameters of our servers and from which we can perform management tasks such as:

  • User account management
  • Apache configuration
  • DNS configuration
  • Share files, among others

Webmin supports multiple systems such as:

  • TurboLinux, Ubuntu Linux, United Linux, Ute Linux, White Dwarf Linux, Whitebox Linux, Wind River Linux, Windows, X / OS Linux, Xandros Linux, XenServer Linux, Yellow Dog Linux, Yoper Linux, Mac OS X, Linux Mint, Debian, CentOS.

Webmin Installation

Let's start with the installation process of Webmin in Ubuntu 16.04 LTS.

The first step will be to create the file where the updates will be stored, for that we will enable this repository by creating the webmin.repo file :

In RHEL, CentOS, and Fedora environments

/etc/yum.repos.d/webmin.repo

We will enter the following:

[Webmin]

name=Webmin Distribution Neutral

#baseurl=http://download.webmin.com/download/yum

mirrorlist=http://download.webmin.com/download/yum/mirrorlist

enabled=1

In Debian or Ubuntu we open using the vi or nano editor the following file: /etc/apt/sources.list 
Once opened we will enter the following lines:

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

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

We save using the Ctrl + O combination and exit by pressing the Ctrl + X combination.

Import and install the GPC keys, which will be used for Webmin's signed packages.

We will use the following commands in RedHat environments :

wget http://www.webmin.com/jcameron-key.asc

rpm --import jcameron-key.asc

In Debian environments we will use:

wget http://www.webmin.com/jcameron-key.asc

sudo apt-key add jcameron-key.asc

Install Webmin, for it we will first update the packages.

In Redhat environments we will use the following:

yum update
yum install webmin

In Debian environments we will use the following commands:

sudo apt-get update

sudo apt-get install webmin

Start the Webmin service.

In RedHat environments we will use:

/etc/init.d/webmin start

/etc/init.d/webmin status

In Debian environments we will use:

sudo /etc/init.d/webmin start

sudo /etc/init.d/webmin status

After performing this process we will configure access to Webmin, by default runs on TCP port 10000, which is why we must open this port in the firewall so that the communication is correct, for this we will use the iptables.

Remember that we must restart the service to apply the changes

In RedHatCentOS and Fedora environments we will use the following commands:

iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT

service iptables save

/etc/init.d/iptables restart

In the other environments we will use the command:

Sudo ufw allow 1000

Similar Posts

Leave a Reply

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