Step 2: Install Squid ProxyΒΆ

To install Squid in RHEL 9 run the script from core.redhat9 folder.


# install RPMs as root
if [[ $EUID -ne 0 ]]; then
   echo "This script must be run as root" 1>&2
   exit 1

# install stock squid with ecap libs - look for gotcha at
dnf -y install squid libecap libecap-devel

# make squid autostart after reboot
systemctl enable squid
systemctl restart squid

# install some useful packages
dnf -y install krb5-workstation mc net-tools python3 python3-pip

# and distro module for python
pip3 install distro


Default version of Squid in RHEL 9 does not have the negotiate_kerberos_wrapper compiled. This binary is needed to use Negotiate/Kerberos and Negotiate/NTLM proxy authentication protocols as described in the following issue If proxy authentication is desired, consider using Ubuntu 20.04 LTS based deployments (see article Ubuntu 20.04 LTS x86_64).

Press Next to continue to Step 3.