+5 votes
453 views
How to install Webmin on Ubuntu 19.04

in Internet by (551k points)
reopened | 453 views

1 Answer

+3 votes
Best answer

1. How to install Webmin repositories on Ubuntu Server 19.04
2. How to include the Webmin PGP key
3. How to update Webmin packages
4. How to install Webmin on Ubuntu Server 19.04
5. How to enable the firewall in Linux
6. How to access Webmin on Ubuntu Server 19.04
7. Webmin usage options in Ubuntu Server 19.04

If you are a system or network administrator , you belong to the support area of ​​your company or you are simply a lover of Linux operating systems TechnoWikis has great news for you and it is that you have a special utility to manage various (if not all ) aspects of your system both at the level of services, processes, users but also of permissions, information and tasks that we carry every day..

We know that Linux offers us some distributions with a graphical environment (GUI) but when it comes to a server-level operating system it is normal for us to use it in Core (terminal) mode, and support tasks can become somewhat tedious and error prone.

Next we will see a tool to facilitate these tasks and this utility is Webmin. Therefore, we ask you to read in detail this tutorial that TechnoWikis has prepared for you in a complete way and so you can implement it in your organization regardless of its size. For this case we will use Ubuntu 19.04 Server and if you still do not have it we invite you to download it in the following link:

Ubuntu 19.04 Server
What is Webmin?
First of all we must know what utility we are going to use and what are its advantages. Webmin has been literally developed as a web-based interface, that is, access through current browsers, in order to manage Unix systems (within which is Ubuntu Server) in a simple but dynamic way.

We can make use of current browsers with the only condition that they support Java, tables and forms, if so, it will be possible to configure user accounts, manage the Apache server, configure the DNS, edit files and many more tasks focused on Administration and support..

The Webmin tool is integrated by a web server which has several CGI programs whose purpose is to update the system files being /etc/inetd.conf and / etc / passwd some of the best known, both the Webmin server and the CGI programs have They have been written in Perl version 5 and do not use non-standard Perl modules for better performance and response times to the needs of each of us.

In this case we will use Webmin in Ubuntu Server 19.04 but quiet since Webmin can be installed on operating systems such as:

Operating systems compatible with Webmin on Ubuntu Server 19.04
  • Cygwin
  • Darwin
  • Debian
  • Endian Firewall Linux
  • Fedora Linux
  • FreeBSD
  • Generic Linux
  • Gentoo Linux
  • CentOS Linux
  • CloudLinux
  • HP / UX
  • IBM AIX
  • Immunix Linux
  • Lanthan Linux
  • Linux Mint
  • LinuxPPC
  • Lycoris Desktop / LX
  • Mac OS X
  • Mandrake Linux Corporate Server
  • Mandriva Linux
  • Mandriva Linux Enterprise Server
  • Netbsd
  • OpenBSD
  • OpenDarwin
  • openmamba Linux
  • Linux OpenNA
  • Oracle Enterprise Linux
  • Oracle VM
  • Redhat Enterprise Linux
  • Redhat Linux
  • Redhat Linux Desktop and many more

Webmin includes 113 standard modules by default and we can use many more by third parties but later we will see something about this. Without more words we will see how to install Webmin on Ubuntu Server 19.04..


1. How to install Webmin repositories on Ubuntu Server 19.04


The first essential step for everything to work as expected is to add the Webmin repository to the system as this allows us to install and update Webmin through the package manager.
Step 1

This repository must be added to the /etc/apt/sources.list file so that we will use the desired editor (nano or vim) and execute the following:
 sudo nano /etc/apt/sources.list 
In the open file we must enter the following line at the end of this:
 deb http://download.webmin.com/download/repository sarge contrib 
Step 2

This is the official Webmin repository for Ubuntu. image

We save the changes to the file using the Ctrl + O keys and we will exit it with the Ctrl + X keys.


2. How to include the Webmin PGP key

Step 1

Now we will add the Webmin PGP key so that the system can access the repository and perform the download, to achieve this we will execute the following in the console:
 wget http://www.webmin.com/jcameron-key.asc 
image
Step 2

Now we must integrate the key by executing:
 sudo apt-key add jcameron-key.asc 
image

3. How to update Webmin packages


Once the process is successful, we will update the Webmin repository packages that we have added, for this we execute the following:
 sudo apt update 
image

4. How to install Webmin on Ubuntu Server 19.04

Step 1

The time has come awaited by all and is to install Webmin on the server, for this we will execute the following:
 sudo apt install webmin 
image
Step 2

Enter the letter Y to confirm the download and installation of Webmin on the server, when the process is finished we will see the following summary: image

Note that in the final section of the summary we find a way to access the Webmin panel with the syntax:

 https: // IP Address: 10000 / https: // teamname: 10000 / 

5. How to enable the firewall in Linux


Up to this point we have installed Webmin and the next step will be to grant the connectivity permission since this will be from a web browser, this is achieved by granting authorization to port 10000 in the Ubuntu Server 19.04 firewall, for this permission it is enough to execute the following:
 sudo ufw allow 10000 
image

6. How to access Webmin on Ubuntu Server 19.04

Step 1

It is time to know the interface and use of Webmin on our server, for this we go to a browser, in this case Google Chrome, and in the address bar we enter one of the following options:
 https: // solvetic: 10000 / https: // Server_IP: 10000 / 
Step 2

We will see the following warning since it is a secure HTTPS connection:

image

Step 3

We click on the Advanced Settings button and there we click on the "Continue to ... (not sure)" line:

image

Step 4

By clicking there we will be redirected to the Webmin login window where we will enter the credentials with which we access the system:

image

Step 5

Click on the Sign in button and the initial Webmin environment in Ubuntu Server 19.04 will be as follows: image
Dashboard
In the initial window called Dashboard we find specific details such as:
  • Name of the team.
  • Used version of Webmin.
  • System usage time.
  • Processor Information
  • Current RAM.
  • Hard disk space.
  • Operating system used.
  • Kernel version.
  • Virtual memory and more.
Step 6

At the bottom we find two sections where it will be possible to visualize the last logins as well as the use of the disk: image

7. Webmin usage options in Ubuntu Server 19.04


On the left side we find a series of options that are the Webmin menus and from where it is possible to access the required information as well as configure the tool as necessary.
Webmin
It is the configuration section of the utility which is divided into sections such as:
  • Webmin configuration (themes, anonymous access, use of modules and much more)
  • Adjust interface and language
  • Backup Settings
  • Webmin user settings
  • Stock history and more
image
System
It is one of the most delicate since from there it will be possible:
  • View current server processes
  • Change passwords
  • View and update software packages
  • Adjust scheduled tasks
  • PAM configuration
  • Access system events
  • Run information backups
  • See users and groups
image
Servers
This section is intended for configuring mail servers such as Exim, Qmail, Postfix and Sendmail image
Others
This section can be classified as a set of tools to work on the server, there are:
  • A file manager
  • A command console
  • Possibility of creating custom commands
  • Establish SSH connections
  • View system and server status
  • Access protected web directories
  • Use the HTTP tunnel
image

As a point to indicate, the "System and Server Status" section is ideal to have a complete overview of Ubuntu Server behavior with states such as good, regular or bad:

image
Net
As the name implies, there we handle all aspects of the network as it is:
  • Firewall management
  • General configuration of network interfaces
  • Manage the bandwidth used
  • Configure the NIS client and server and more
image
Hardware
A section dedicated to the hardware components of our Ubuntu server such as:
  • Manage printers
  • Manage logical volumes.
  • Set the system time.
  • Manage the Linux RAID.
  • ISCSI configuration.
  • View the current hard drive partitions.
image
Cluster
This section is specially integrated to configure everything related to the cluster (if we have it) in the system, there it will be possible:
  • Assign Users
  • Change passwords
  • Copy files
  • Use console commands
  • Validate the integrated servers
image
Un-used Modules
Here we find all the modules that for one reason or another are no longer used in Webmin and when selecting any of them we will see a description of their operation and role. image
Reset modules
This option allows us to configure the modules to their factory state.

At the bottom we find a series of icons that allow us to perform specific actions on Webmin such as:

  • Anchor the navigation menu.
  • Use night mode.
  • Access the terminal.
  • Add to Favorites.
  • Set up the general theme.
  • Edit the user with which we access.
image

At the beginning of the study we talked about the Webmin modules, we are going to mention only a few so that we understand and see the scope that this utility gives us:

  • ADSL Client
  • BSD Firewall
  • Apache Webserver
  • Bootup and shutdown
  • Backup Configuration Files
  • Cluster Cron Jobs
  • Usermin Servers Cluster
  • Disk and Network Filesystems
  • File Manager
  • GRUB Boot Loader
  • FirewallD
  • HTTP Tunnel
  • Initial System Bootup
  • Linux IPv6 Firewall
  • Linux Firewall
  • MySQL Database Server
  • Network Services and Protocols

We see how Webmin is a powerful tool to manage various aspects of our server and thus have a much more complete administration.


by (3.5m points)
edited

Related questions

+3 votes
1 answer
asked Oct 14, 2019 in Linux / Unix by backtothefuture (551k points) | 323 views
+4 votes
1 answer
asked Mar 19, 2020 in Linux / Unix by backtothefuture (551k points) | 944 views
+4 votes
1 answer
asked Oct 25, 2019 in Linux / Unix by backtothefuture (551k points) | 343 views
+4 votes
1 answer
asked Sep 21, 2019 in Virtualization by backtothefuture (551k points) | 212 views
+4 votes
1 answer
asked Sep 16, 2019 in Linux / Unix by backtothefuture (551k points) | 564 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users