1、编辑
# vim /etc/sysconfig/clock
ZONE="Asia/Shanghai"
UTC=false
ARC=false
加入上面内容
:wq!
# yum install ntp -y
安装ntp
然后
# ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# ntpdate asia.pool.ntp.org
1、编辑
# vim /etc/sysconfig/clock
ZONE="Asia/Shanghai"
UTC=false
ARC=false
加入上面内容
:wq!
# yum install ntp -y
安装ntp
然后
# ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# ntpdate asia.pool.ntp.org