Skip to content

Build Squid 6 on Ubuntu 22.04 LTS

Note

Fully functional web filtering virtual appliance based on Squid with support of HTTPS filtering, latest version of Web Safety and fully functional Admin UI is available at our site.

This tutorial describes how to rebuild latest version of Squid 6 capable of web filtering and HTTPS decryption on Ubuntu 22.04 LTS. All scripts mentioned in this tutorial can be downloaded from our GitHub repository.

First step is to update all system packages to the latest version. Run the script 01_update.sh to do it. Contents of this script are shown below.

#!/bin/bash
if [[ $EUID -ne 0 ]]; then
  echo "This script must be run as root" 1>&2
  exit 1
fi
apt-get update && apt-get -y upgrade && reboot