How To Install mod_bw on Fedora 36

In this tutorial we learn how to install mod_bw in Fedora 36. mod_bw is Bandwidth Limiter For Apache

Introduction

In this tutorial we learn how to install mod_bw on Fedora 36.

What is mod_bw

mod_bw is a bandwidth administration module for Apache httpd 2.x * Restricts the number of simultaneous connections per vhost/dir * Limits the bandwidth for files on vhost/dir

We can use yum or dnf to install mod_bw on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mod_bw.

Install mod_bw on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mod_bw using dnf by running the following command:

sudo dnf -y install mod_bw

Install mod_bw on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mod_bw using yum by running the following command:

sudo yum -y install mod_bw

How To Uninstall mod_bw on Fedora 36

To uninstall only the mod_bw package we can use the following command:

sudo dnf remove mod_bw

mod_bw Package Contents on Fedora 36

/etc/httpd/conf.d/mod_bw.conf
/usr/lib/.build-id
/usr/lib/.build-id/85
/usr/lib/.build-id/85/bd1a8d8b9f14771e9a7313bd8a863dae7151a1
/usr/lib64/httpd/modules/mod_bw.so
/usr/share/doc/mod_bw
/usr/share/doc/mod_bw/ChangeLog
/usr/share/doc/mod_bw/LICENSE
/usr/share/doc/mod_bw/TODO
/usr/share/doc/mod_bw/mod_bw.txt

References

Summary

In this tutorial we learn how to install mod_bw on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).