- 博客(3)
- 收藏
- 关注
原创 服务器时间同步
1.在ntp目录下安NTPyum install -y ntp ntpdate或rpm -ivh --force --nodeps *.rpm2.启动NTPCentos7: systemctl start ntpd3.查看时间/时间同步date /ntpdate -u ip(时钟服务器)4.查看硬件时间 sudo hwclock --show5.写入硬件biossudo hwclock --systohc 之后再查看硬件时间6编辑cron任务sudo crontab -e.
2022-04-16 10:06:30
590
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人