#!/bin/bash # This installation script works on CentOS 7 # Run as root! if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 exit 1 fi set -e SCRIPT_PATH=$(dirname $(realpath -s $0)) . $SCRIPT_PATH/functions cd $SCRIPT_PATH/.. # Help function function HELP { cat <