美文网首页
Linux查看和校验服务器时间

Linux查看和校验服务器时间

作者: 刘小刀tina | 来源:发表于2020-05-12 10:00 被阅读0次

1,首先yum 安装本地ntpdate客户端,更新ntpdate cn.pool.ntp.org时使用

yum install ntpdate

2,使用 ntpdate cn.pool.ntp.org进行更新。

ntpdate cn.pool.ntp.org

3.查看是否校对成功

date


查看mysql 数据库当前的时间:

select now();

相关文章

网友评论

      本文标题:Linux查看和校验服务器时间

      本文链接:https://www.haomeiwen.com/subject/kfivnhtx.html