How To Install mod_qos on Fedora 36

In this tutorial we learn how to install mod_qos in Fedora 36. mod_qos is Quality of service module for Apache

Introduction

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

What is mod_qos

The mod_qos module may be used to determine which requests should be served and which shouldn’t in order to avoid resource over-subscription. The module collects different attributes such as the request URL, HTTP request and response headers, the IP source address, the HTTP response code, history data (based on user session and source IP address), the number of concurrent requests to the server (total or requests having similar attributes), the number of concurrent TCP connections (total or from a single source IP), and so forth. Counteractive measures to enforce the defined rules are dynamic timeout adjustment, request delay, response throttling, and dropping of TCP connections.

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

Install mod_qos 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_qos using dnf by running the following command:

sudo dnf -y install mod_qos

Install mod_qos 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_qos using yum by running the following command:

sudo yum -y install mod_qos

How To Uninstall mod_qos on Fedora 36

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

sudo dnf remove mod_qos

mod_qos Package Contents on Fedora 36

/etc/httpd/conf.modules.d/10-mod_qos.conf
/usr/bin/qscheck
/usr/bin/qsdt
/usr/bin/qsexec
/usr/bin/qsfilter2
/usr/bin/qsgeo
/usr/bin/qsgrep
/usr/bin/qshead
/usr/bin/qslog
/usr/bin/qslogger
/usr/bin/qspng
/usr/bin/qsre
/usr/bin/qsrespeed
/usr/bin/qsrotate
/usr/bin/qssign
/usr/bin/qstail
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/1664827161d9d05a2bcbe065ec6d1b2673bd30
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/8ce71b299feca809f2a8ce11e1829b2de09cf1
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/d0b118eb2eb2800ec7569b2cb9afd46f5ca21e
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/1daed5dbb9bf0405185462ecedf5ead4195396
/usr/lib/.build-id/59
/usr/lib/.build-id/59/4621df3fb96e77580b425efed86601b8f39207
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/d998aabfe9839f01e28f857fabd782c985433e
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/9db8aaeec605c225a129be938e4cb74ae1b3dc
/usr/lib/.build-id/87
/usr/lib/.build-id/87/d5c5a950316fbd16ab40b3a9dbc90e6e707da9
/usr/lib/.build-id/93
/usr/lib/.build-id/93/958c3d5d45eed17b013b548d8dabd63d5c57bb
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/afe00cbfa13fac0bfa6f3de35833d1d6dbb032
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/3f1a7a674714c5deaf88b14b4796839e8aaa6d
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/271f8a16e79250a78b6c40ebfb4c47b3aabf13
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/2372eefe19147f4ce4b203782800c074a99c45
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/aaa7d61fbf9154d32cd86909ede3b4195bfd4c
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/63da25974a36c5dc14071854c43d916de8f008
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/2f31efb981985e6f58a39620a7115d1bbb0c27
/usr/lib64/httpd/modules/mod_qos.so
/usr/share/doc/mod_qos
/usr/share/doc/mod_qos/README.TXT
/usr/share/doc/mod_qos/doc
/usr/share/doc/mod_qos/doc/CHANGES.txt
/usr/share/doc/mod_qos/doc/LICENSE.txt
/usr/share/doc/mod_qos/doc/MESSAGES.txt
/usr/share/doc/mod_qos/doc/favicon.ico
/usr/share/doc/mod_qos/doc/glossary.html
/usr/share/doc/mod_qos/doc/headerfilterrules.txt
/usr/share/doc/mod_qos/doc/images
/usr/share/doc/mod_qos/doc/images/ClientPrefer.png
/usr/share/doc/mod_qos/doc/images/ClosedLoop.png
/usr/share/doc/mod_qos/doc/images/Events.png
/usr/share/doc/mod_qos/doc/images/LimitCount.png
/usr/share/doc/mod_qos/doc/images/LimitCountExample.png
/usr/share/doc/mod_qos/doc/images/QS_ClientEventBlockCount.png
/usr/share/doc/mod_qos/doc/images/Rule.png
/usr/share/doc/mod_qos/doc/images/Serialization.png
/usr/share/doc/mod_qos/doc/images/SrvMinDataRate.png
/usr/share/doc/mod_qos/doc/images/UserTracking.png
/usr/share/doc/mod_qos/doc/images/directive_seq.gif
/usr/share/doc/mod_qos/doc/images/download.jpg
/usr/share/doc/mod_qos/doc/images/link.png
/usr/share/doc/mod_qos/doc/images/mod_qos.gif
/usr/share/doc/mod_qos/doc/images/qsloc.png
/usr/share/doc/mod_qos/doc/images/qsloc1.png
/usr/share/doc/mod_qos/doc/images/qsloc2.png
/usr/share/doc/mod_qos/doc/images/qsloc3.png
/usr/share/doc/mod_qos/doc/images/qslogFormat.png
/usr/share/doc/mod_qos/doc/images/qslog_spreadsheet_example.png
/usr/share/doc/mod_qos/doc/index.html
/usr/share/doc/mod_qos/doc/qsdt.1.html
/usr/share/doc/mod_qos/doc/qsexec.1.html
/usr/share/doc/mod_qos/doc/qsfilter2.1.html
/usr/share/doc/mod_qos/doc/qsfilter2_process.gif
/usr/share/doc/mod_qos/doc/qsgeo.1.html
/usr/share/doc/mod_qos/doc/qsgrep.1.html
/usr/share/doc/mod_qos/doc/qshead.1.html
/usr/share/doc/mod_qos/doc/qslog.1.html
/usr/share/doc/mod_qos/doc/qslogger.1.html
/usr/share/doc/mod_qos/doc/qspng.1.html
/usr/share/doc/mod_qos/doc/qsre.1.html
/usr/share/doc/mod_qos/doc/qsrespeed.1.html
/usr/share/doc/mod_qos/doc/qsrotate.1.html
/usr/share/doc/mod_qos/doc/qssign.1.html
/usr/share/doc/mod_qos/doc/qstail.1.html
/usr/share/man/man1/mod_qos.1.gz
/usr/share/man/man1/qsdt.1.gz
/usr/share/man/man1/qsexec.1.gz
/usr/share/man/man1/qsfilter2.1.gz
/usr/share/man/man1/qsgeo.1.gz
/usr/share/man/man1/qsgrep.1.gz
/usr/share/man/man1/qshead.1.gz
/usr/share/man/man1/qslog.1.gz
/usr/share/man/man1/qslogger.1.gz
/usr/share/man/man1/qspng.1.gz
/usr/share/man/man1/qsre.1.gz
/usr/share/man/man1/qsrespeed.1.gz
/usr/share/man/man1/qsrotate.1.gz
/usr/share/man/man1/qssign.1.gz
/usr/share/man/man1/qstail.1.gz

References

Summary

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