ubuntu环境搭建专栏🔗点击跳转 Ubuntu系统环境搭建(二)——同步网络时间 安装ntpdate sudo apt-get install ntpdate 设置系统时间与网络时间同步 sudo ntpdate cn.pool.ntp.org 设置时区亚洲上海 sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 将时间更新到硬件 sudo hwclock --systohc 查看时间 date