Sync time and set time zone for CentOS 7

Install ntp service

 

Enable ntp service start at boot up

add params“-g -x”,Enable ntp service works with delay

Restart ntp service

Set the time zone to Shanghai +800 (CST Time Zone)

check the time now

未经允许不得转载:VPS啦 » Sync time and set time zone for CentOS 7

赞 (0) 打赏

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏