1、vi /etc/sysconfig/clock ZONE="Asia/Shanghai" #修改时间为上海时区 2、yum -y install ntp ntpdate安装ntp服务 3、ntpdate cn.pool.ntp.org更新时间 4、date查看是否更新为上海网络时间