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