CentOS Linux install and configure NTP to synchronize the system clock
Q. How do I install and configure NTP under CentOS Linux 5 server to synchronize the system clock?
A. You can easily install NTP (Network Time Protocol, a means of transmitting time signals over a computer network) using yum command under Redhat or CentOS/Fedora core Linux.
Procedure
Login as the root user
Type the following command to install ntp
# yum install ntp
Turn on service
# chkconfig ntpd on
Synchronize the system clock with 0.pool.ntp.org server:
# ntpdate pool.ntp.org
Start the NTP:
# /etc/init.d/ntpd start
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Linux or FreeBSD command to display system time and date
- Ubuntu Linux how to set the date and time via Network Time Protocol (NTP)
- HP-UX UNIX Configure an NTP Server
- FreeBSD: Set date time and timezone
- PHP Linux installation or php upgrade howto
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: CentOS, network_time_protocol, ntpd, ntp_client, ntp_network, redhat, synchronize, system_clock



June 28th, 2008 (2 weeks ago) at 5:26 pm
Nice inof, but how do i configure a NTP server? i want to do this with a client and a server… Thanks