Step 3. Install Web Safety ICAP filter

Download and install the latest version of Web Safety by running bash Contents of this script are shown below.


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

# default arc

# get latest build
curl -O$MAJOR.$MINOR/amd64/release/centos7/websafety-${MAJOR}-${MINOR}.x86_64.rpm

# install it
yum -y --nogpgcheck localinstall websafety-${MAJOR}-${MINOR}.x86_64.rpm

# package installed everything needed for apache, so just restart
systemctl restart httpd.service