Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

Webmin – A Web Based System Administration Tool for Linux - DesignLinux

Jan 20 2022
designlinux 0 Comments

Webmin is an open-source web-based system configuration tool for Linux system administration. With the help of this tool, we can manage internal system configuration such as setting up user accounts, disk quotas, services configuration like Apache, DNS, PHP, MySQL, file sharing, and much more.

Webmin application is based on Perl module and it uses TCP port 10000 with OpenSSL library for communicating via browser.

Some of the things you can do with Webmin are:

  • Create, edit and delete user accounts on your system.
  • Share Files and Directories with other Linux systems via the NFS protocol.
  • Set up Disk Quotas to manage the amount of disk space available to users.
  • Install, view, and delete software packages on the system.
  • Change system’s IP address, DNS settings, and routing configuration.
  • Set up a Linux Firewall to secure your system.
  • Create and configure virtual hosts for the Apache Webserver.
  • Manage databases, tables, and fields in a MySQL or PostgreSQL database server.
  • Share files and directories with Windows systems via the Samba file sharing.

In this article, you will learn how to install the latest version of the Webmin system administration tool in Linux systems.

Installing Webmin Control Panel in Linux

We are using the Webmin repository for installing the latest Webmin tool with their required dependencies and we also receive up-to-date automatic updates of Webmin via repository.

Install Webmin in RHEL Systems

On RHEL-based distributions, such as Fedora, CentOS, Rocky & AlmaLinux, you need to add and enable Webmin repository, do to this create a file called /etc/yum.repos.d/webmin.repo and add the following lines to it as a root user.

# vi /etc/yum.repos.d/webmin.repo
[Webmin]
name=Webmin Distribution Neutral
#baseurl=https://download.webmin.com/download/yum
mirrorlist=https://download.webmin.com/download/yum/mirrorlist
enabled=1
gpgkey=https://download.webmin.com/jcameron-key.asc
gpgcheck=1

You should also download and install the GPG key with which the packages are signed, with the commands:

# wget https://download.webmin.com/jcameron-key.asc
# rpm --import jcameron-key.asc

You will now be able to install Webmin with the commands:

# yum install webmin
Install Webmin in RHEL Systems
Install Webmin in RHEL Systems

Install Webmin in Debian Systems

Similarly, you need to add and enable Webmin APT repository to the /etc/apt/sources.list file on your Debian systems such as Ubuntu and Mint.

$ sudo nano /etc/apt/sources.list

Add the following line at the bottom of the file. Save and close it.

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

Next, import and install GPG Key for installing signed packages for Webmin.

$ wget https://download.webmin.com/jcameron-key.asc
$ sudo apt-key add jcameron-key.asc    

On Debian 11 and Ubuntu 22.04 or higher, the commands are :

$ wget https://download.webmin.com/jcameron-key.asc
$ sudo cat jcameron-key.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/jcameron-key.gpg

You will now be able to install Webmin with the commands:

$ sudo apt-get install apt-transport-https
$ sudo apt-get update
$ sudo apt-get install webmin

Starting Webmin in Linux

Run the following commands to start the service.

------------------- [on RedHat based systems] -------------------
# /etc/init.d/webmin start
# /etc/init.d/webmin status
Start Webmin in CentOS
Start Webmin on RedHat Systems
------------------- [on Debian based systems] -------------------

$ sudo /etc/init.d/webmin start
$ sudo /etc/init.d/webmin status
Start Webmin in Ubuntu
Start Webmin on Debian Systems

Step 3: Accessing Webmin Control Panel

By default Webmin runs on port 10000, so we need to open the Webmin port on our firewall to access it. The easiest way to open the port on the firewall is using the following commands.

------------------- [On FirewallD] -------------------

# firewall-cmd --add-port=10000/tcp
# firewall-cmd --reload
------------------- [On UFW] -------------------

$ sudo ufw allow 10000
------------------- [On IPtables] -------------------

# iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
# service iptables save
# /etc/init.d/iptables restart

Now we should be able to access and login to Webmin using URL http://localhost:10000/ and enter the username as root and password (current root password), for remote access just replace localhost with your remote IP address.

http://localhost:10000/
OR
http://IP-address:10000/
Webmin Admin Login
Webmin Admin Login
Webmin Linux System Information
Webmin Linux System Information
Webmin Configuration
Webmin Configuration
Webmin Linux Running Processes
Webmin Linux Running Processes

For more information visit webmin documentation.

Related

Tags: webmin, webmin setup

Duplicity – Create Encrypted Incremental Backups in Linux

Prev Post

11 Best Tools to Access Remote Linux Desktop

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 2
  • 67
  • 605,817

DesignLinux.com © All rights reserved

Go to mobile version