Skip to content

timedatectl 时钟问题

Tags:

导致了无法 apt update -y

一看发现同步并不成功

# 安装ntp
apt install ntp 
service ntp restart

# 选择时区
dpkg-reconfigure tzdata

# 结果还是不行
systemctl status systemd-timesyncd.service
systemctl status ntp.service

# 关闭自动同步服务 - 毕竟这个同步也没有成功...
timedatectl set-ntp off
root@lcloudiplc200g:~# timedatectl set-time 23:12:53

# 手动进行时间设置之后就可以了

Leave a Reply

Your email address will not be published.