1.查看和手动修改时间 查看时间 date 修改时间 date -s ‘yyyy-mm-dd hh:mm:ss’ 2.使用ntp服务自动同步网络时间 1.检测是否安装和启动服务 service --status-all 2.安装ntp 服务 yum install ntp 3.同步时间 ntpdate ntp.api.bz 3.设置开机自启 systemctl enable ntpd.service