+3 votes
323 views
How to install Webmin on Ubuntu 18.04

in Linux / Unix by (551k points)
reopened | 323 views

1 Answer

+4 votes
Best answer

1. How to add Webmin repository in Ubuntu
2. How to update Webmin packages in Ubuntu
3. How to install Webmin on Ubuntu 18.04
4. How to enable Linux firewall
5. How to use Webmin in Ubuntu

The operating systems administration tools are focused on facilitating the management of the components and processes of each parameter in the environment. In this world of applications we have a special one that stands out and is Webmin, which constitutes an ideal solution for this centralized administration since it offers us a number of graphics and data in real time, with which our management task will be something much simpler to control..

We will learn through this tutorial how to install Webmin on Ubuntu 18.04 and so we will see how to use this tool to facilitate our daily work.

What is Webmin?
Webmin is a web-based interface that has been developed for system administration for Unix environments. Best of all, Webmin can be used through any modern web browser and through this interface we can configure user accounts, Apache, DNS, file sharing and many more actions.

With the use of Webmin we have an additional advantage and the need to manually edit Unix configuration files such as / etc / passwd is omitted, and thus manage the system from the console or remotely facilitating administrative work and support..

The Webmin platform consists of a simple web server and several CGI programs that are updated directly by system files such as /etc/inetd.conf and / etc / passwd. The web server and all CGI programs have been written in version 5 of Perl, and do not use non-standard Perl modules.

Operating systems
Some of the operating systems that are supported by Webmin are:
  • cAos Linux
  • Cendio LBS Linux
  • CentOS Linux
  • CloudLinux
  • Debian Linux
  • DEC / Compaq OSF / 1
  • HP / UX
  • IBM AIX
  • Immunix Linux
  • Lanthan Linux
  • Linux Mint
  • OpenBSD
  • OpenDarwin
  • Linux Openmamba
  • Redhat Enterprise Linux
  • Redhat Linux
  • Redhat Linux Desktop
  • Sangoma Linux
  • SuSE Linux
  • SuSE OpenExchange Linux
  • SuSE SLES Linux
  • Synology DSM and many more.

Now let's see how to install Webmin on Ubuntu 18.04..


1. How to add Webmin repository in Ubuntu

Step 1

First, it will be necessary to add the Webmin repository in order to easily install and update Webmin using the package manager. We must add this repository in the file /etc/apt/sources.list and for this we will use some editor like this:
 sudo nano /etc/apt/sources.list 
In the deployed file we will paste the following line:
 deb http://download.webmin.com/download/repository sarge contrib 
image
Step 2

Now we will save the changes using the Ctrl + O keys and exit using Ctrl + X.
Now, we are going to add the Webmin PGP key so that the system makes use of the repository, for this we execute the following:
 wget http://www.webmin.com/jcameron-key.asc 
image
Step 3

Now we execute the following to add the key:
 sudo apt-key add jcameron-key.asc 
image

2. How to update Webmin packages in Ubuntu


Once the keys have been added, we will update them by running:
 sudo apt update 

3. How to install Webmin on Ubuntu 18.04

Step 1

We proceed to install Webmin by running the following line:
 sudo apt install webmin 
image
Step 2

Enter the letter S to confirm the download and installation of Webmin, once the process is finished we will see the following: image
Step 3

In the final part we can see the syntax of access to Webmin through the browser which can be in two ways:
 https: // IP Address: 10000 / https: // teamname: 10000 / 

4. How to enable Linux firewall


It will be necessary that we authorize port 10000 in the firewall since through it the connectivity to Webmin will be established, for this, we will execute the following:
 sudo ufw allow 10000 
image

5. How to use Webmin in Ubuntu

Step 1

Once we configure the firewall, we will access from the browser and because a secure HTTP protocol (HTTPS) is being used, we will see the following warning:

image

Step 2

We click on the Advanced line and we will see this:

image

Step 3

There we click on the bottom line Continue to ... and we will be redirected to the following:

image

Step 4

There we will enter the credentials of access to Ubuntu 18.04 and this will be the environment offered by Webmin: image
Step 5

We can see that on the left side side there are different options such as:
Webmin
From this option we have the opportunity to control various aspects of application settings such as users, themes, languages, etc: image
System
As the name implies, from here it will be possible to access multiple system configuration parameters such as event log, users, groups, PAM authentication, passwords and more. image
Servers
From this option we will have access to parameters of mail servers such as Exim, Qmail, Postfix and Sendmail if we have them available.
Others
From this section we will have handy tools such as file manager, HTTP connections, SSH connections, command line and more. image
Networking
Thanks to this section it will be possible to manage all network settings such as IPv4 addressing, IPv6, bandwidth, network interface management and more. image
Hardware
Useful for controlling and knowing in real time hardware aspects such as disk partitions, RAID, iSCII, system time and more. image
Cluster
From this section it will be possible to carry out tasks related to clusters such as changing passwords, users, cron jobs, Shell and more. image
Un-used Modules
In this section we find all the modules that have not been detected in the system or that are obsolete. image

At the bottom we have the opportunity to apply a dark theme to Webmin to create a much better visual impact:

image

We can see that in the Dashboard we find precise information about the server such as:

  • Percentage of CPU usage, RAM virtual memory, etc.
  • Webmin version
  • Host name
  • OS version
  • Kernel version
  • System activity time
  • Running processes
  • Updates available and much more.
Thus, Webmin is a powerful utility for obtaining accurate information about the system and its components.

by (3.5m points)
edited

Related questions

+5 votes
1 answer
asked Oct 15, 2019 in Linux / Unix by backtothefuture (551k points) | 217 views
+5 votes
1 answer
asked Oct 15, 2019 in Linux / Unix by backtothefuture (551k points) | 270 views
+5 votes
1 answer
asked Oct 15, 2019 in Linux / Unix by backtothefuture (551k points) | 337 views
+5 votes
1 answer
+4 votes
1 answer
asked Oct 13, 2019 in Linux / Unix by backtothefuture (551k points) | 2.3k views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users