Step 1: Update the SystemΒΆ

It is recommended to update the system prior to installation. Run 01_update.sh script to do it.

Note

Web Safety is only tested on RedHat 9 / Rocky Linux running with disabled SELinux. Please complete the installation with disabled SELinux first and re-enable it afterwards adjusting the permissions as necessary if desired. Note, reboot in the script below is not optional!

#!/bin/bash

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

# update the system
dnf -y update

# disable selinux
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config

# and reboot
reboot

Press Next to continue to Step 2.