Ubuntu 16.04 LTS 设定时区 同步时间

设定时区:dpkg-reconfigure tzdata

           选择Asia -> 再选择Shanghai -> OK




同步时间命令:

           1、sudo apt-get install ntpdate // 安装时间同步工具


           2、sudo ntpdate cn.pool.ntp.org // 与网络服务器同步时间

          3、date // 查看时间是否已同步

猜你喜欢

转载自blog.csdn.net/G_66_hero/article/details/77604315