千家信息网

linux centos7 安装ntp服务并启动,设置开机重启

发表于:2025-12-02 作者:千家信息网编辑
千家信息网最后更新 2025年12月02日,yum list |grep ntpdyum -y install ntpsystemctl start ntpdsystemctl status ntpdsystemctl enable ntpds
千家信息网最后更新 2025年12月02日linux centos7 安装ntp服务并启动,设置开机重启
yum list |grep ntpdyum -y install ntpsystemctl start ntpdsystemctl status ntpdsystemctl enable ntpdsystemctl list-unit-files|grep ntpd

yum确认是否安装
yum安装
启动ntpd服务
查看状态
设置开机启动
查看是否设置开机启动

0