Setting up NTP Client on CentOS 5.3

setting up the ntp client for time synchronization on centos cando as follow

1. login to your shell as root

2. install ntp client by invoke this command
yum -y install ntp
3. edit ntp file configuration|
vi /etc/ntp.conf
comment out all the default time server and add your own time server. in case of me , Im in Thailand
so I use the time server that located in thailand.

server  clock.thaicert.org
server  time1.nimt.or.th
server  time2.nimt.or.th
server  time3.nimt.or.th

5. start the service

service ntpd start

6. start ntp on boot
chkconfig –levels 235 ntpd on

This entry was posted in sysadmin and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. Sven
    Posted October 23, 2009 at 7:28 pm | Permalink

    Correction for step 6:
    chkconfig –-level 235 ntpd on

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Tags

  • Pages

  • Categories

  • Archives