Linux centos7 installs the ntp service and starts it, and sets the boot restart
Yum list | grep ntpdyum-y install ntpsystemctl start ntpdsystemctl status ntpdsystemctl enable ntpdsystemctl list-unit-files | grep ntpd
Yum confirms whether to install
Yum installation
Start the ntpd service
View statu
Set up boot boot
Check to see if boot is set