lsb_release : to print out the ubuntu release information
#lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.04
Release: 7.04
Codename: feisty
A student at FIT-KMITL
#lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.04
Release: 7.04
Codename: feisty
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 [...]
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