Install Usermin on Rocky Linux 8

This guide provides a step-wise tutorial on how to install Usermin on Rocky Linux 8. Usermin, according to Webmin page, is web-based interface for webmail, password changing, mail filters, fetchmail and much more. It is designed for use by regular non-root users on a Unix system, and limits them to tasks that they would be able to perform if logged in via SSH or at the console.

Install Usermin on Rocky Linux 8

You can install Usermin directly using the RPM binary file or simply install it from the Usermin YUM repositories.

Install Usermin using RPM binary file

Obtain the link to the latest stable release Usermin RPM file from Usermin downloads page.

Run, the installation command using the command below

dnf install link-to.rpm

For example, to install Usermin 1.823;

dnf install -y

Install Usermin on Rocky Linux 8 from YUM/DNF Repository

You can also choose to install Usermin from YUM repository.

With this method, you need to create Usermin YUM repository;

cat > /etc/yum.repos.d/webmin.repo << 'EOL'
name=Webmin Distribution Neutral

Next, install Usermin;

dnf install usermin -y

Running Usermin on Rocky Linux 8

Start Usermin by running the command below;

service usermin start

No SystemD service created for Usermin.

Create Usermin Systemd Service

However, if you want to create Systemd, run the commands below;

chkconfig --add usermin
chkconfig usermin on
cp /run/systemd/generator.late/usermin.service /etc/systemd/system/usermin.service
echo -e '[Install]\' >> /etc/systemd/system/usermin.service
chkconfig usermin off && chkconfig --del usermin
service usermin stop

Start as systemd service and enable it to run on boot;

systemctl enable --now usermin

Checking the status;

systemctl status usermin

Access Usermin Web Interface

Usermin listens on port 20000/tcp by default;

ss -atlnp | grep 20000
LISTEN 0      128*    users:(("",pid=10911,fd=6))

Open this port on firewall to allow external access;

firewall-cmd --add-port=20000/tcp --permanent
firewall-cmd --reload

Next, access Usermin from browser using the address https://<usermin-server-IP>:20000.

Accept the self-signed SSL warning and proceed to Usermin login page.

Login using your account credentials.

Install Usermin on Rocky Linux 8

Usermin dashboard.

Install Usermin on Rocky Linux 8

Getting Started with Usermin

You can now learn how to get started with Usermin modules by checking the documentation page.

Other Tutorials

Install Webmin on Rocky Linux 8

Install Monitorix on Rocky Linux 8

Install Wine on Rocky Linux 8

Founder of|Linux Engineer|Author at

Leave a Comment