码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2019-11-26 09:34:43      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:gre   files   grep   unit   启动   emctl   pre   install   centos7   

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

yum list |grep ntpd
yum -y install ntp
systemctl start ntpd
systemctl status ntpd
systemctl enable ntpd
systemctl list-unit-files|grep ntpd

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

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

标签:gre   files   grep   unit   启动   emctl   pre   install   centos7   

原文地址:https://blog.51cto.com/11263100/2453322

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!