您的位置:首页 > 运维架构 > Linux

解决Ubuntu16.04时间不对的问题

2017-03-05 17:44 573 查看
使用ntpdate校准时间

首先安装ntpdate

sudo apt-get install ntpdate
校准时间

sudo ntpdate time.windows.com
如果你是安装的Windows+Ubuntu双系统,建议再将时间更新到硬件上,以免Windows的时间也是不对的

sudo hwclock --localtime --systohc

参考:http://www.cnblogs.com/qf19910623/p/5559514.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux ubuntu 时间校准