CentOS7.6手动编译httpd-2.4.25
手动编译httpd-2.4.25 系统:CentOS7.1810 httpd:2.4.25 编译时报错解决技巧:报什么错,就装这个错误的devel,比如报http2错误,就yum search http2,找到libnghttp2-devel,然后yum install libnghttp2-devel再重新configure # 配置EPEL源,有些包只有epel源有 [root@centos7 ~]# cat /etc/yum.repos.d/epel.repo [epel] name=aliyun epel baseurl=https://mirrors.aliyun.com/epel/7/x86_64/ gpgcheck=1 gpgkey=https://mirrors.aliyun.com/epel/RPM-GPG-KEY-EPEL-7 enabled=1 一、下载地址: https://www.lanzous.com/i5csh0h http://archive.apache.org/dist/httpd/httpd-2.4.25.tar.bz2 二、安装依赖 [root@imooc-nginx ~]# yum install gcc openssl-devel pcre-devel apr-devel apr-utils-devel libnghttp2-devel