Cloudcone的vps时间显示有问题,导致有些应用无法使用。但使用ntpdate同步时间,会报错:

root@Debian:~# ntpdate pool.ntp.org
22 Jul 03:11:58 ntpdate[717]: no server suitable for synchronization found

初步判断是Cloudcone把ntp的端口123给封了,那我们用htpdate来同步时间吧

apt-get install htpdate
然后再查看时间
date –R
时间就是ok的了
htpdate的配置文件在/etc/default/htpdate

发表回复

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