CentOS – Linode Longview is not synchronize with your server
If you got a warning message from linode :
Your system’s clock is fast. Please ensure that ntp is installed and running.
How to solve the problem?
1. Change Time Zone (TZ)
$ sudo cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime
$ sudo vim /etc/sysconfig/clock
change Etc/UTC
to Asia/Taipei
or yourself
2. Install NTP
1 2 3 |
$ sudo yum install ntp $ sudo service ntpd start $ sudo chkconfig ntpd on |
$ sudo vim /etc/ntp/step-tickers
:
1 2 3 4 |
0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org |
$ sudo service ntpd restart
Done!