yum -yinstall httpd rpm -qi httpd 然后修改配置 cd /etc/httpd/ …