Created
July 7, 2017 09:17
-
-
Save jpzhu/ad0653c80d8ddc57321ae971aa3fec1c to your computer and use it in GitHub Desktop.
timezone ntp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# timedatectl list-timezones | |
##*** Grep possible Asian timezones ***## | |
# timedatectl list-timezones | grep Asia | |
## 列出可用的时区 (传统用法) | |
# ln -s /usr/share/zoneinfo | |
## 修改时区,参数来自于上面的输出 | |
# timedatectl set-timezone America/Chicago | |
## 打开或禁用ntp | |
# timedatectl set-ntp 0 | |
# timedatectl set-ntp 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment