# yum -yinstall httpd
//
安装httpd会自动安装一下依赖包:
apr
apr-util
httpd-tools
mailcap
# rpm -qi httpd
Name : httpd
Version : 2.4.6
Release : 18.el7.centos
Architecture: x86_64
Install Date: Mon 11 Aug 2014 02:44:55 PMCST
Group : System Environment
/Daemons
Size : 9793373
License : ASL 2.0
Signature : RSA
/SHA256
, Wed 23 Jul 2014 11:21:22 PM CST, Key ID 24c6a8a7f4a80eb5
Source RPM : httpd-2.4.6-18.el7.centos.src.rpm
Build Date : Wed 23 Jul 2014 10:49:10 PM CST
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http:
//bugs
.centos.org>
Vendor : CentOS
URL : http:
//httpd
.apache.org/
Summary : Apache HTTP Server
Description :
The Apache HTTP Server is a powerful,efficient, and extensible web server.