Synch clock with windows server Linux

Here you can discuss Operating Systems Linux/Windows issues.
Post Reply
admin
Posts: 2062
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

Synch clock with windows server Linux

Post by admin »

1 - vi /etc/ntp.conf

Comment out the existing ntp servers:
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
#server 0.centos.pool.ntp.org
#server 1.centos.pool.ntp.org
#server 2.centos.pool.ntp.org

<<IP address of windows server >>

Exit with saving.

2 - /etc/init.d/ntpd restart (restarting ntpd)

3 - ntpdate -u <<IP address of windows server >>

4 - Verify ntp with ntpq -p

5 - Make changes permanent in order to work if you restart the server,

chkconfig --levels 2345 ntpd on
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests