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

关于作者: Harrison K

为您推荐

广告位

Leave a Reply

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