Posts Tagged ‘ntp’

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 [...]

Tags: , ,

Setting up NTP Client on Solaris 10

1. vi /etc/inet/ntp.conf
#Created by bankster: 2009-05-07
#follow the last modified by Mr.Kitti :2008-06-17
#
# To start/stop/restart process :
#    # svcadm disable ntp
#    # svcadm enable ntp
#    # svcadm restart ntp
driftfile /etc/inet/ntp.drift
logfile /var/log/xntpd.log
server  clock.thaicert.org
server  time1.nimt.or.th
server  time2.nimt.or.th
server  time3.nimt.or.th
# end of /etc/inet/ntp.conf
2.
# touch /etc/inet/ntp.drift
# touch /var/log/xntpd.log
3. svcadm enable ntp

Tags: , , ,

ตั้งเวลาใน CentOS

date mmddhhmmyyyy
date 040203052009
เพิ่มเติม sync เวลาอัตโนมัติด้วย ntpdate

yum install ntp
chkconfig –levels 235 ntpd on
ntpdate 0.pool.ntp.org
service ntpd start

Tags: , , , ,