Ubuntu同步网络时间

Ubuntu同步网络时间
装完Ubuntu设置完时间,重启总是恢复设置前的时间。 设定时区:dpkg-reconfigure tzdata 选择Asia -> 再选择Shanghai -> OK 解决方法: 1.安装ntpdate工具 sudo apt-get install ntpdate   2.将系统时间与网络同步 ntpdate cn.pool.ntp.org   3.将时间写入硬件 hwclock --systohc   4.查看时间是否已同步 date  
Copyright © 香港虚拟主机_美国虚拟主机_香港服务器_美国服务器租用托管 保留所有权利.   Theme  Ality 蜀ICP备14006632号-1

用户登录