Fix Your system’s clock is fast. Please ensure that ntp is installed and running.

Change Time Zone (TZ)

cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime
vim /etc/sysconfig/clock

change Etc/UTC to Asia/Taipei or yourself
TZ can look in http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Install NTP
yum install ntp
chkconfig ntpd on

vim /etc/ntp/step-tickers
add
0.pool.ntp.org
1.pool.ntp.org
2.pool.ntp.org
3.pool.ntp.org

service ntpd restart

now your time is auto sync
so it’s fix

Bash

save fix.sh
and run ” bash fix.sh”

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注