Loading...
Advance Linux

NTP Server

To Configure the NTP Server

first  check the date and time of pc

timedatctl status

it should  be  correct according our time zone  ist

Step 1 : TO  INSTALL THE PACKAGE
yum install ntp*  -y
rpm -qa ntp* 
Step 3 :To configure M.C.F 
vi /etc/ntp.conf

go to line  18

restrict 192.168.50.0 mask 255.255.255.0 nomodify notrap  nopeer
server 127.127.1.0 iburst
:wq
Step 4 : To Start The Service
service ntpd restart
Now Check From Client Side
date
ntpdate -u  192.168.0.1  [ To assign the ntp server ip}
Leave a Reply

Your email address will not be published. Required fields are marked *