How To Install hitch on Rocky Linux 8

In this tutorial we learn how to install hitch on Rocky Linux 8. hitch is Network proxy that terminates TLS/SSL connections

Introduction

In this tutorial we learn how to install hitch on Rocky Linux 8.

What is hitch

hitch is a network proxy that terminates TLS/SSL connections and forwards the unencrypted traffic to some backend. It is designed to handle 10s of thousands of connections efficiently on multicore machines.

We can use yum or dnf to install hitch on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install hitch.

Install hitch on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install hitch

Install hitch on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install hitch

How To Uninstall hitch on Rocky Linux 8

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

sudo dnf remove hitch

hitch Package Contents on Rocky Linux 8

/etc/hitch
/etc/hitch/hitch.conf
/etc/systemd/system/hitch.service.d/limit.conf
/run/hitch/hitch.pid
/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/77c3e4b380aaebf5bedaa93c1ea63fe1ecbe4c
/usr/lib/systemd/system/hitch.service
/usr/sbin/hitch
/usr/share/doc/hitch
/usr/share/doc/hitch/CHANGES.rst
/usr/share/doc/hitch/README.md
/usr/share/doc/hitch/architecture.md
/usr/share/doc/hitch/certificates.md
/usr/share/doc/hitch/configuration.md
/usr/share/doc/hitch/hitch.conf.example
/usr/share/doc/hitch/installation.md
/usr/share/doc/hitch/proxy-protocol.md
/usr/share/doc/hitch/vhosts.md
/usr/share/licenses/hitch
/usr/share/licenses/hitch/LICENSE
/usr/share/man/man5/hitch.conf.5.gz
/usr/share/man/man8/hitch.8.gz
/var/lib/hitch

References

Summary

In this tutorial we learn how to install hitch on Rocky Linux 8 using yum and dnf.