分类
Linux

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”

由棋仙

人生就是一场旅行,不必在乎目的地,在乎的,只是沿途的风景,和看风景的心情.

发表评论

电子邮件地址不会被公开。 必填项已用*标注