建立於: 7年前 ( 更新: 7年前 )
在新版的RHEL 7/CentOS 7或Fedora上,我們可以透過timedatectl來查看狀態及進行調整。
顯示目前設定(Show current settings)
timedatectl
要列出timezone可用指令(List available time zones, one per line.)
timedatectl list-timezones|grep Asia
找到timezone後,設定方式如下,例如:
timedatectl set-timezone Asia/Taipei
啟動網路時間同步(Enable network time synchronization)
timedatectl set-ntp true
No Comment
Post your comment