Tuesday 7 June 2011

NTP


Network Time Protocol (NTP)

            NTP Server is used for Synchronizes the system's clock to client.
Configuration file:
            1.         /etc/ntp.conf

            Configure NTP (Server Side):
# vi /etc/ntp.conf
            Do the following changes…
            Line no. 3      copy and paste below this line and provide # in line no. 3
            Line no. 4      Edit similar like below
restrict <IP of Server> netmask <subnet mask> nomodify notrap

Ex.-     3
4 restrict <192.168.10.3> netmask <255.255.255.0> nomodify notrap
            Esc. :wq!

# service ntpd restart
# chkconfig - - list ntpd
# chkconfig ntpd on
# chkconfig ntpd restart

            Configure NTP (Client Side):-
# service ntpd restart
# ntpdate –b <IP of server>
# service ntpd stop
# service ntpd start
# ntpq -p                                                       (For query of synchronization)

No comments:

Post a Comment

Boot to UEFI Mode or legacy BIOS mode

Boot to UEFI Mode or legacy BIOS mode Choose UEFI or legacy BIOS modes while installing Windows. After Windows is installed, if you nee...