In this article, we will have explained the necessary steps to install Webmin on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with
sudo privileges. All the commands in this tutorial should be run as a non-root user.
Webmin is a free, open-source, and web-based control panel that allows the system administrators to manage a Linux server from a web browser. Webmin provides users with a graphical web-based user interface to configure common system tasks and settings. If you don’t like the idea of using the command line to manage your server, then Webmin is a good graphical alternative to you.
Install Webmin on Rocky Linux 8
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
sudo apt update sudo apt upgrade sudo dnf install perl perl-Net-SSLeay openssl perl-Encode-Detect
Step 2. Install Webmin on the Ubuntu system.
- Installing Webmin on Rocky Linux via RPM Binary
Installing Webmin on your Debian system is straightforward, we will download a binary of Webmin rpm. To get the latest RPM binary release of this Server management platform, go to its official website and then visit the download page:
Next, install the downloaded RPM binary using the
dnf package manager:
rpm -ivh webmin-1.984-1.noarch.rpm
- Installing Webmin on Rocky Linux via the official Repository
Let’s add the yum repository of Webmin on Rocky Linux or Almalinux:
cat << EOF > /etc/yum.repos.d/webmin.repo [Webmin] name=Webmin mirrorlist=https://download.webmin.com/download/yum/mirrorlist enabled=1 gpgkey=http://www.webmin.com/jcameron-key.asc EOF
Next, install Webmin on our Rocky Linux machine. Here is the command to install Webmin:
sudo dnf update sudo dnf install webmin
Step 3. Configuring Firewall for Webmin
Now if you are running a firewall on a CentOS machine then you need to open port 10000 because by default Webmin listens on port 10000:
sudo firewall-cmd --zone=public --add-port=10000/tcp --permanent sudo firewall-cmd --reload
Step 4. Accessing Webmin Web UI.
Now, open your web browser and access the Webmin web interface using the URL
http://your-server-ip-address:10000. You will be redirected to the Webmin login page and enter your Rocky Linux server root as username and its password to log in.
That’s all you need to do to install Webmin on Ubuntu LTS Focal Fossa. I hope you find this quick tip helpful. For further reading on Install Webmin alternative for cPanel., please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.