Step 2: Install Squid Proxy

Default Squid version in CentOS 8 is rather old and has some limitations, but for now we will be using it as is. Later we might have recompilation instructions posted here. So to install Squid in CentOS 8 run the following script from core.centos8 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
dnf -y install squid libecap libecap-devel

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


Default version of Squid in CentOS 8 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 18 based deployments (see article Ubuntu 18 LTS x86_64).

Press Next to continue to Step 3.