Thursday, March 15, 2007

How to configure a Red Hat Linux machine to sync with a Time Server.

Getting Red Hat Linux to connect to and sync with a time server is very easy, maybe even easier than Windows. To do this, make sure you're logged into the system as root, and open a terminal windows.

1- cd /etc

2- vi ntp.conf

3- Add the following text: server 10.6.35.105
*where 10.6.35.105 is the IP address of your time server

4- wq!

5- Go to the Date & Time settings (Applications>System Settings>Date & Time) and click the "Enable Network Time Protocol" checkbox. You should see the IP address (or hostname, if your /etc/hosts file is configured) in the NTP servers box.

6- Click OK, and your system should sync with the time server!