💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
## Ntpdate #### 安装ntpdate ~~~ yum install ntpdate ~~~ #### 同步命令 ~~~ ntpdate cn.pool.ntp.org ~~~ #### 查看当前时区 ~~~ ls -la /etc/localtime ~~~ 结果 ~~~ 0 lrwxrwxrwx. 1 root root 35 3月 26 00:37 /etc/localtime -> ../usr/share/zoneinfo/Asia/Shanghai ~~~ #### 删除当前本地时间 ~~~ rm /etc/localtime ~~~ #### 设置时区为上海 ~~~ ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ~~~ #### 设置为定时同步时间 ~~~ */30 * * * * ntpdate cn.pool.ntp.org //每半小时同步 ~~~