Step 1. Update your System

Before going further run the script bash as root to upgrade your system to the most recent state. Contents of this script are shown below. Please take into account we first disable SeLinux to prove that all works as expected; later SeLinux may be enabled back as needed.


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

# enable epel repository and update
yum -y install epel-release && yum -y update

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

# and reboot