How To Install Webmin on CentOS 7

Learn how to install and configure the Webmin tool in your CentOS 7 distribution (Linux)

What is Webmin?

Webmin is a web interface that gives us the possibility to manage different parameters of our servers and from which we can perform administration tasks such as:

  • Administration of user accounts.
  • Apache configuration.
  • DNS configuration.
  • Share files between Windows systems using Samba.
  • Set disk quotas.
  • Set the Firewall configuration among other features.
  • The Webmin applications are based on the Pearl modules and use the TCP port 10000 with an OpenSSL library for the entire web communication process, providing greater security and reliability.

Create the Repository and Install Webmin

The first step that is recommended to run is to create our repository where we have to store all the information associated with Webmin, for this we will create a repository called webmin.repo and use the following command for this process:

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

We can see that when we access it, we will have a blank file, we must add the following to that file:

[Webmin]

name=Webmin Distribution Neutral

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

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

enabled=1

We save the changes using the key combination: Ctrl +O

and we left the editor using the combination: Ctrl +X

Once this process is done, we proceed to download .asc key and import it using RPM.
For this we will use the following command:

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

Next, we will use the following command for the import:

sudo rpm --import jcameron-key.asc

With all the above-configured we proceed to install Webmin using the following command:

sudo yum install webmin

In case we use the firewall in CentOS 7 it is necessary that we add a rule so that the communication port of Webmin is enabled, remember that the default port is 10000.

For this we must edit the iptables file with the editor we want, for In this case we will use nano and enter the following:

sudo nano /etc/sysconfig/iptables

Now add the following line:

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

Save the changes as we had seen before and left the editor. It is necessary to restart the service since we make changes in a configuration file, for this, we use the command:

service iptables restart

How to access Webmin in CentOS 7

To access Webmin, we must go to a browser and enter the following:

http://IP_Address:10000

To see the IP of our CentOS 7 team we can use the ifconfig or ip address command, in our case the IP is 192.168.0.68 so we will enter the route;

http://192.168.0.38:1000

Next, we must enter the credentials.

Press Login to access the Webmin web console and see the following.

From this point, we can manage various server parameters such as:

  • System
  • Services
  • Cluster
  • Hardware
  • Users, etc.

In the main window, we can see all the current system configuration, such as available memory, virtual memory, processor type, Webmin version, etc.

3. Webmin options in CentOS 7

When we access the console we will have many options, all very useful for managing the team and users, we will analyze some of the most important.

System

From this tab, we can manage various tasks associated with the system such as:

  • See what services are currently running and which start at the start of the login
  • Change passwords
  • View discs and discs s
  • See users and groups
  • Schedule tasks , etc.

Servers

From this tab we have the possibility to see what roles our CentOS 7 server is performing and manage them from here, we can manage roles like:

  • SSH
  • Sendmail
  • Postfix
  • Apache, etc.

Others

From this option, we have additional tools for server management such as login via SSH, Java file management, file management, etc.

Networking

Using this option, we have all the management of the Networking parameters such as:

  • Enabling and configuring Firewall
  • Administration of IPv4 and IPv6
  • Monitoring bandwidth
  • Administration of network parameters, etc.

Hardware

Through this option, we have access to manage parameters such as:

  • Hard drives
  • Volumes
  • System time
  • Partitions, etc.

Cluster

Through this option, we have all the cluster administration options such as:

  • Copy of files
  • Creating clusters
  • Users and group s of the clusters
  • Shell commands for clusters, among others.

Un-used Modules

It refers to some modules that are already deprecated by Webmin but still remain available for management.

As we have been able to analyze with Webmin we have a completely complete platform and full of options for the roles that we fulfill as support and IT personnel.

With this tool you will have in a graphic and simple way all the necessary configurations for your servers in Linux.

Similar Posts

Leave a Reply

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