Centos7.4 离线安装httpd(解决rpm依赖)

时间:2019-12-10 18:46:06   收藏:0   阅读:2040

1、直接下载httpd的rpm安装包,安装失败需要先解决依赖。

[root@node06 ~]# rpm -ivh httpd-2.4.6-90.el7.centos.x86_64.rpm
warning: httpd-2.4.6-90.el7.centos.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
/etc/mime.types is needed by httpd-2.4.6-90.el7.centos.x86_64
httpd-tools = 2.4.6-90.el7.centos is needed by httpd-2.4.6-90.el7.centos.x86_64
libapr-1.so.0()(64bit) is needed by httpd-2.4.6-90.el7.centos.x86_64
libaprutil-1.so.0()(64bit) is needed by httpd-2.4.6-90.el7.centos.x86_64
[root@node06 ~]#

 

2、去 https://pkgs.org/ 下载httpd所依赖的7个rpm包

apr-1.4.8-5.el7.x86_64.rpm
apr-util-1.5.2-6.el7.x86_64.rpm
apr-util-ldap-1.5.2-6.el7.x86_64.rpm
postgresql-libs-9.2.24-1.el7_5.x86_64.rpm
mailcap-2.1.41-2.el7.noarch.rpm

httpd-tools-2.4.6-90.el7.centos.x86_64.rpm

httpd-2.4.6-90.el7.centos.x86_64.rpm

 

3、逐个安装

技术分享图片

 

 

 

原文:https://www.cnblogs.com/shwang/p/12018333.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!