Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

make sure the ntp daemon is installed and enabled:

yum install ntp

Edit /etc/ntp.conf and replace server defiitions

server 134.79.110.75
server 134.79.110.10
server 134.79.110.138
server 134.79.110.201

restrict 134.79.110.75 noquery nomodify notrap nopeer
restrict 134.79.110.10 noquery nomodify notrap nopeer
restrict 134.79.110.138 noquery nomodify notrap nopeer
restrict 134.79.110.201 noquery nomodify notrap nopeer

systemctl start ntpd

systemctl start enable ntpd

Edit /etc/rc.local 

ntpdate -s 134.79.110.10
touch /var/lock/subsys/local

Fix permissions

chmod +x   /etc/rc.d/rc.local

Edit  /etc/sysconfig/network-scripts/ifcfg-eth0Edit 

NAME=eth0
TYPE=ethernet
BOOTPROTO=none
DEVICE=eth0
NETMASK=255.255.252.0
IPADDR=172.27.104.46
DNS1=134.79.111.111
GATEWAY=172.27.104.1
ONBOOT=yes
NM_CONTROLLED=no
IPV4_FAILURE_FATAL=no
IPV6INIT=no

...