- 开启 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
网友评论