How To Install Webmin in Ubuntu 22.04, Debian & Fedora Systems
If you're a Linux server administrator, you may have heard of Webmin. This powerful tool provides a web-based interface for managing various aspects of your server, including user accounts, Apache configuration, DNS settings, and file sharing.
In this tutorial, we'll show you how to install Webmin on both Debian and Fedora distributions. With support for a wide range of Linux systems, including Ubuntu, CentOS, and Linux Mint, Webmin is a versatile tool that can help streamline your server management tasks.
Whether you're new to Linux administration or a seasoned pro, Webmin offers a user-friendly interface that can make your job easier. So if you're looking for a powerful and flexible tool for managing your Linux servers, be sure to check out Webmin today!
Let’s start with the installation process of Webmin in Ubuntu 22.04 LTS.
The first step will be to create the file where the updates will be stored, for that we will enable this repository by creating the webmin.repo file :
In RHEL, CentOS, and Fedora environments
We will enter the following:
[Webmin] name=Webmin Distribution Neutral #baseurl=http://download.webmin.com/download/yum mirrorlist=http://download.webmin.com/download/yum/mirrorlist enabled=1
In Debian or Ubuntu we open using the vi or nano editor the following file: /etc/apt/sources.list
Once opened we will enter the following lines:
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
We save using the Ctrl + O combination and exit by pressing the Ctrl + X combination.
Import and install the GPC keys, which will be used for Webmin’s signed packages.
We will use the following commands in RedHat environments :
wget http://www.webmin.com/jcameron-key.asc rpm --import jcameron-key.asc
In Debian environments we will use:
wget http://www.webmin.com/jcameron-key.asc sudo apt-key add jcameron-key.asc
Install Webmin, for it we will first update the packages.
In Redhat environments we will use the following:
yum update yum install webmin
In Debian environments we will use the following commands:
sudo apt-get update sudo apt-get install webmin
Start the Webmin service.
In RedHat environments we will use:
/etc/init.d/webmin start /etc/init.d/webmin status
In Debian environments we will use:
sudo /etc/init.d/webmin start sudo /etc/init.d/webmin status
After performing this process we will configure access to Webmin, by default runs on TCP port 10000, which is why we must open this port in the firewall so that the communication is correct, for this we will use the iptables.
In RedHat, CentOS and Fedora environments we will use the following commands:
iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT service iptables save /etc/init.d/iptables restart
In the other environments we will use the command:
Sudo ufw allow 1000
It might be interesting
Ryzen 7 5800X, Ryzen 5 5600G and Ryzen 5 5600X continue to hold the lead
No Alder Lake models in the top 5 of Mindfactory's fresh report Germany's largest retailer, Mindfactory, has released its sales statistics for the fifth week of this year (last week).
IBM with New Cisco Backed Database
IBM is about to acquire their new Cisco backed database that will come with a sound security. They come with the Guardium with $225 million budget.
Microsoft plans to release games from Japanese and Asian developers for the Xbox Series X|S
Microsoft is expanding its publishing team in the Asian region and plans to release breakthrough, high-budget Xbox Series X|S games from Japanese developers.
How To Encrypt Directories with eCryptfs on Linux
In today's discussion, we will delve into the intricacies of eCryptfs, an incredibly powerful tool that enables us to encrypt our directories in Linux.