centos7rpm安装ntp ntpdate

标签:position   pos   x86   restart   ntp   centos7   emctl   top   start   

下载安装介质

ntp-4.2.6p5-29.el7.centos.2.x86_64.rpm

ntpdate-4.2.6p5-29.el7.centos.2.x86_64.rpm

开始安装

rpm -ivh ntpdate-4.2.6p5-29.el7.centos.2.x86_64.rpm

rpm -ivh ntp-4.2.6p5-29.el7.centos.2.x86_64.rpm

设置配置

vim /etc/ntp.conf

systemctl restart ntpd

systemctl enable ntpd

systemctl status ntpd

查看同步情况

ntpq -pn

 

centos7rpm安装ntp ntpdate

标签:position   pos   x86   restart   ntp   centos7   emctl   top   start   

原文地址:https://www.cnblogs.com/tianky/p/13490641.html

版权声明:完美者 发表于 2020-08-13 11:49:53。
转载请注明:centos7rpm安装ntp ntpdate | 完美导航

暂无评论

暂无评论...