NTP Configuration on RHEL
NTP Configuration: use the below script to configure your RHEL 7.x server for using public NTP from Google and ntp.org Asia pool. #/bin/bash rhel_version=`cat /etc/redhat-release` rhel='Red Hat Enterprise Linux' version7='release 7' index=`awk -v a="$rhel_version" -v b="$rhel" 'BEGIN{print index(a,b)}'` if [ $index -ne 0 ]; then index=`awk -v a="$rhel_version" -v b="$version7" 'BEGIN{print index(a,b)}'` if [ $index -ne 0 ]; then echo "Disable chronyd deamon." systemctl stop chronyd systemctl disable chronyd echo "Install ntpd deamon." yum install ntp -y systemctl enable ntpd echo "Start ntpd deamon." systemc...