Linux - CentOS 7 系统语言设置 - 时区
进入到root用户,需要输入密码,该密码不会在命令行显示
su root

查看当前时区
timedatectl

设置东八区 _北京时间
timedatectl set-timezone Asia/Shanghai

自动校准时区 -安装ntp服务
yum -y install ntp

启动ntp服务
systemctl start ntpd

查看npt运行状态
systemctl status ntpd

npt设置开机自启动
systemctl enable ntpd

npt服务手动校准时间
ntpdate -u ntp.aliyun.com

设置完成

1931

被折叠的 条评论
为什么被折叠?



