centos7 httpd升级至最新版

  1. 开启 EPEL , EPEL提供了CodeIT库需要的依赖
yum install -y epel-release

2、安装CodeIT库

cd /etc/yum.repos.d && wget https://repo.codeit.guru/codeit.el`rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release)`.repo

3、升级apache

yum update httpd

4、再次确认Apache的包版本

yum info httpd

你可能感兴趣的:(centos7 httpd升级至最新版)