linux-NTP

查看当前时区

# timedatectl
# timedatectl list-timezones
# timedatectl set-timezone Asia/Shanghai

修改国内NTP服务器

]# vim /etc/chrony.conf
server ntp.aliyun.com
server ntp1.aliyun.com
]# ll /etc/localtime
lrwxrwxrwx. 1 root root 35 Jan 22 20:01 /etc/localtime -> ../usr/share/zoneinfo/Asia/Shanghai

 服务器常用信息:https://help.aliyun.com/document_detail/92704.html

 配置Linux实例Chrony服务(CentOS 7):https://help.aliyun.com/document_detail/187016.html

 
posted @   不会跳舞的胖子  阅读(100)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 使用C#创建一个MCP客户端
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 按钮权限的设计及实现
点击右上角即可分享
微信分享提示