How To Install mod_qos on Fedora 34
Introduction
In this tutorial we learn how to install mod_qos
on Fedora 34.
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 34. 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 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the mod_qos
package we can use the following command:
sudo dnf remove mod_qos
mod_qos Package Contents on Fedora 34
/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/1f
/usr/lib/.build-id/1f/e4a7db3e151d0f51c1cedd750abf7a355e97c3
/usr/lib/.build-id/20
/usr/lib/.build-id/20/4ffc01f64938032a752849c4cb285400a8173f
/usr/lib/.build-id/25
/usr/lib/.build-id/25/6f15cd5b7b6a43d3d14fafdb85e4b2d8b5604c
/usr/lib/.build-id/39
/usr/lib/.build-id/39/2b5aec3f39218054770790f79452a9745fb6d4
/usr/lib/.build-id/46
/usr/lib/.build-id/46/4458c195f4af1b177f7911105b6a3672e78e79
/usr/lib/.build-id/53
/usr/lib/.build-id/53/5464ed39f6525cb491474a700e239987318540
/usr/lib/.build-id/82
/usr/lib/.build-id/82/8839cfbd08cf6572d0aa1ec18d84faf7332a34
/usr/lib/.build-id/90
/usr/lib/.build-id/90/f084d96346bc13faa88c2722677e3f05307c3b
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/13941ce7250aecf74cad4443e130e58c36832c
/usr/lib/.build-id/9d/3226ac60472a30100a1dbd22fdb4939d6fbf73
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/28d2158005eaa6cd7edf98207820af6d7c221d
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/5320cbc4abe1d701305fa967a9a2eaebe6c109
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/27f7573e1a2b8120c234a47c23909ce2e529a9
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/fa0f14a6a022734f81d91286cc43b7ccb14887
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/5aaa7bab6063c3a9be78e5e30433b7b2efd1a8
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/f16fdbd8cf0002ade34bdad35246314b526f5d
/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 34 using yum and dnf.