解决CentOS系统时间问题。有些VPS使用一段时间后会出现时间过快或者过慢的问题。比较简单的解决方法就是手动运行一下命令。
1.安装时间服务器ntp
yum install ntp
2.同步时间
ntpdate time.nist.gov
3.几个时间服务器列表:
time.nist.gov
time.nuri.net
asia.pool.ntp.org
asia.pool.ntp.org
asia.pool.ntp.org
asia.pool.ntp.org
解决CentOS系统时间问题。有些VPS使用一段时间后会出现时间过快或者过慢的问题。比较简单的解决方法就是手动运行一下命令。
1.安装时间服务器ntp
yum install ntp
2.同步时间
ntpdate time.nist.gov
3.几个时间服务器列表:
time.nist.gov
time.nuri.net
asia.pool.ntp.org
asia.pool.ntp.org
asia.pool.ntp.org
asia.pool.ntp.org