目前使用的Linode主機預設時間是UTC

並不是我所在的時區,以下就把系統時區改在Taipei
rm -rf /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime
date -R

yum install -y ntp
ntpdate -d us.pool.ntp.org
ntpdate us.pool.ntp.org
date -R

chkconfig --levels 235 ntpd on
/etc/init.d/ntpd start
arrow
arrow
    全站熱搜

    正義的胖虎 發表在 痞客邦 留言(0) 人氣()