输入date查看当前时间 1先安装npt sudo apt-get install ntpdate 2设置时区 sudo ntpdate pool.ntp.org 3设置重启有效 sudo hwclock --systohc