Step 2: Install Squid Proxy¶
To install Squid in RHEL 9 run the following script from core.redhat9 folder.
#!/bin/bash # install RPMs as root if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 exit 1 fi # install stock squid with ecap libs - look for gotcha at https://github.com/diladele/websafety/issues/1300 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 https://github.com/diladele/websafety/issues/1300. 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.