需要的安装包:
- autogen-libopts-5.18-5.el7.x86_64.rpm
- ntpdate-4.2.6p5-18.el7.centos.x86_64.rpm
- ntp-4.2.6p5-18.el7.centos.x86_64.rpm
安装方法:
4. 优先安装autogen
[root@master01 ntpdata-pkg_for-not-net]# rpm -ivh autogen-libopts-5.18-5.el7.x86_64.rpm
warning: autogen-libopts-5.18-5.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing… ################################# [100%]
- 并行安装ntpdata 和 ntp
- [root@master01 ntpdata-pkg_for-not-net]# rpm -ivh ntpdate-4.2.6p5-18.el7.centos.x86_64.rpm ntp-4.2.6p5-18.el7.centos.x86_64.rpm
Preparing… ################################# [100%]
package ntpdate-4.2.6p5-29.el7.centos.x86_64 (which is newer than ntpdate-4.2.6p5-18.el7.centos.x86_64) is already installed
file /etc/sysconfig/ntpdate from install of ntpdate-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntpdate-4.2.6p5-29.el7.centos.x86_64
file /usr/sbin/ntpdate from install of ntpdate-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntpdate-4.2.6p5-29.el7.centos.x86_64
file /usr/lib/systemd/system/ntpdate.service from install of ntpdate-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntpdate-4.2.6p5-29.el7.centos.x86_64
file /usr/libexec/ntpdate-wrapper from install of ntpdate-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntpdate-4.2.6p5-29.el7.centos.x86_64
package ntp-4.2.6p5-29.el7.centos.x86_64 (which is newer than ntp-4.2.6p5-18.el7.centos.x86_64) is already installed
file /usr/sbin/ntpd from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64
file /usr/bin/ntpstat from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64
file /usr/sbin/ntp-keygen from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64
file /usr/sbin/ntpdc from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64
file /usr/sbin/ntpq from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64
file /usr/sbin/ntptime from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64
file /usr/sbin/tickadj from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64
file /usr/share/man/man5/ntp_acc.5.gz from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64
file /usr/share/man/man5/ntp_misc.5.gz from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64
file /usr/share/man/man8/ntpd.8.gz from install of ntp-4.2.6p5-18.el7.centos.x86_64 conflicts with file from package ntp-4.2.6p5-29.el7.centos.x86_64