Web-based server configuration with Webmin
Smooth Interface
Manage your Linux server system with the easy and flexible Webmin tool.
Life without Linux as a server system is hard to imagine. Excellent performance, fabled stability, and impressive scalability have helped Linux conquer an increasing share of the server market. Despite this success in the server room, setting up, managing, and maintaining the services is often a complex task that requires in-depth knowledge of services and config files.
Various graphical tools have appeared to facilitate easier configuration. Whereas most tools are limited to a couple of services, Webmin [1], a free Perl-based remote management application, lets you manage a full range of Linux services through a single, standardized interface. A single interface configures daemons and firewalls, as well as watches logfiles, disk partitions, system processes, and configuration parameters. The project also offers a useful collection of modules [2] that extends the reach of Webmin's graphical oversight.
Installation
Most distributions have Webmin in their repositories, although the Webmin packages are missing from Debian and Ubuntu. Webmin is available in both RPM and DEB package format and as a generic tarball with detailed documentation for any other distribution. A compatibility list of the supported Linux versions is available online [3].
The Webmin project puts a great deal of effort into maintaining and developing the software. Users with older distributions will probably want to ignore the obsolete version in their distribution's repository and download the current version [4] (1.480 when this issue went to press). Depending on your distribution, first become root and type rpm -ivh webmin-Version.noarch.rpm or dpkg -i webmin_Version_all.deb to install Webmin on your system. The installation routine will report the successful completion of the install process.
Because Webmin has its own lean web server that serves up the administrative interface, you can access Webmin through the URL http://IP_address:10000 from any workstation on the network. After you authenticate as the administrator, the browser shows the configuration framework welcome page with some basic information on hard disk usage and the server operating system. On the left side of the window is a list of topics; clicking an item opens the matching submenu.
Hardening
The use of an administrative password as the default security feature has rightly been criticized in the past. Before you start using Webmin, you should use the on-board tools to harden the system against unauthorized access. First, select Webmin | Webmin Configuration to open the selection window. The important settings related to security include IP Access Control, Ports and Addresses, Authentication, and Trusted Referrers. Clicking an icon opens a new window with detailed modification options. For example, you can specify which computers on the local network are allowed to access Webmin. To exclude users or machines without administrative tasks, block their user- or hostname. If the computer has an Internet connection, it makes sense to change the default port of 10000.
To prevent automated brute force attacks on Webmin, you need to set the password timeout in Authentication to introduce a wait before allowing a second login attempt after an invalid login. To keep unauthorized users from accessing the Webmin server if a user forgets to log out, it is a good idea to enable the auto-logout feature, which logs users off after a defined inactivity period.
Helpers
The Others | System and Server Status option gives an overview of the active daemons and allows you to monitor their activities. From the table that displays active daemons, and you can check the box of an entry to add it to the permanent or temporary watch list. If something goes wrong, the service notifies you. Additionally, the System | Running Processes item gives detailed information on all of the active processes running on the system.
The Servers module on the left side of the Webmin window takes you to the service configuration features. The software lists all the modules that Webmin has loaded for server operations as individual menu items. If you follow one of the links, the corresponding configuration window appears, and you can click the buttons to modify the options. Most configuration items are self-explanatory, which removes the need to learn the details of the individual services.
Because Webmin writes modifications directly to the configuration files of individual services, you can still modify the configuration manually without the risk of conflicts or redundancy.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.