27
Sep

Solutions: Change and Update Time Zone (Bangkok ICT) on CentOS/Debian or other Linux

rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Bangkok /etc/localtime

Update Timezone (CentOS)

yum -y install ntp
ntpdate pool.ntp.org

Update Timezone (Debian)

aptitude -y install ntpdate
ntpdate pool.ntp.org
#or
aptitude install ntp
vim /etc/ntp.conf

replace some server below

server 1.th.pool.ntp.org
server 0.asia.pool.ntp.org
server 2.asia.pool.ntp.org

Recheck your localtime

date

Short link: http://taxze.com/?p=31
Canonical link: http://www.taxze.com/change-localtime-and-update-linux/



Change Localtime and Update Linux

Leave a Reply “Change Localtime and Update Linux”