Timezone 更新系统时间

广告位

选择timezone: tzselect 查看时区: cat /etc/sysconfig/clock vim /etc/sysconfig/clock ZONE=Asia/Shanghai ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 更新时间: yum -y install ntp ntpdate ntpdate [cn.pool.ntp.org](http://cn.pool.ntp.org/) hwclock –systohc

选择timezone:

tzselect

查看时区:

cat /etc/sysconfig/clock

vim /etc/sysconfig/clock

ZONE=Asia/Shanghai

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

更新时间:

yum -y install ntp ntpdate

ntpdate [cn.pool.ntp.org](http://cn.pool.ntp.org/)

hwclock --systohc
juanhao.z

关于作者: juanhao.z

为您推荐

广告位

Leave a Reply

Your email address will not be published. Required fields are marked *