Set up NTPD Service on Fedora 12

We are seting up NTPD service to synchronize the system time on our Fedora 12 (64-bit) servers.

1. Install essential packages
# yum -y install ntpdate ntp

2. Initialize time synchronization
# ntpdate

3. Configure NTPD service
# vi /etc/ntpd.conf
Add one line "server"

4. Add NTPD to the default run level
# chkconfig ntpd on

5. Start NTPD service
# /etc/init.d/ntpd start

6. Synchronize timezone
# mv /etc/localtime /etc/localtime.bak
Check your timezone in /usr/share/zoneinfo/ and set your timezone
# ln -sf /usr/share/zoneinfo/Asia/Hong_Kong /etc/localtime
# date

Free Web Hosting