一、 环境
Linux操作系统: centos6.9
Apache版本: Apache2.2
二、 安装步骤
1、 检查系统上是否有旧版本的apache
[root@VM_0_11_centos ~]# rpm -qa httpd
如果有旧版本就执行卸载
[root@VM_0_11_centos ~]# rpm -e httpd
2、 查看yum上的apache版本
[root@VM_0_11_centos ~]# yum list httpd
Loaded plugins: fastestmirror, priorities, security
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* webtatic: uk.repo.webtatic.com
Available Packages
httpd.