Hướng dẫn cài đặt NTP đồng bộ time trên Centos 7
Hướng dẫn cài đặt NTP đồng bộ time trên Centos 7 yum install ntp -y systemctl start ntpd touch /var/spool/cron/crontabs touch /var/spool/cron/root chmod 777 /var/spool/cron/* echo "*/1 * * * * /usr/sbin/ntpdate -b -s 2.pool.ntp.org" >> /var/spool/cron/crontabs echo "*/1 * * * * /usr/sbin/ntpdate -b -s 2.pool.ntp.org" >> /var/spool/cron/root systemctl restart crond /usr/sbin/ntpdate -b -s 2.pool.ntp.org Chúc bạn thành công |
Bây giờ là 03:14 AM. Giờ GMT +7 |
Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.