• Httpd服务入门知识-Httpd服务安装


               Httpd服务入门知识-Httpd服务安装

                                          作者:尹正杰

    版权声明:原创作品,谢绝转载!否则将追究法律责任。

    一.Httpd概述

    1>.Httpd介绍

      20世纪90年代初,国家超级计算机应用中心NCSA开发
    
      1995年开源社区发布apache(a patchy server)     ASF: apache software foundation     FSF:Free Software Foundation

    2>.httpd特性

      高度模块化:
        core + modules
      DSO:
        Dynamic Shared Object 动态加
    /卸载
      MPM:
        multi
    -processing module 多路处理模块

    3>.httpd功能特性

    虚拟主机
      IP、Port、FQDN
    
    CGI:Common Gateway Interface,通用网关接口   
    反向代理
    负载均衡
    路径别名
    丰富的用户认证机制   basic   digest
    支持第三方模块

    4>.httpd-2.4新特性

      MPM支持运行为DSO机制;以模块形式按需加载
    
      event MPM生产环境可用
    
      异步读写机制
    
      支持每模块及每目录的单独日志级别定义
    
      每请求相关的专用配置
    
      增强版的表达式分析式
    
      毫秒级持久连接时长定义
    
      基于FQDN的虚拟主机不需要NameVirutalHost指令
    
      新指令,AllowOverrideList
    
      支持用户自定义变量
    
      更低的内存消耗
    
      httpd2.4新增一些模块:
        (1)mod_proxy_fcgi:
            基于fcgi模块去连接PHP的
        (2)mod_ratelimit:
            用作速率限定
        (3)mod_request:
            对请求方法限定的
        (4)mod_remoteip:
            对远端ip做限定的,对于基于IP的访问做了修改,不在使用order,allow,deny这些机制;而是统一使用require进行。
        除了上面描述的新特性外随着版本的提示特性还在逐步增多,我这里就不一一举例啦。

    二.MPM工作模式

    prefork:
      多进程I/O模型,每个进程响应一个请求,默认模型   一个主进程:
        生成和回收n个子进程,创建套接字,不响应请求   多个子进程:
        工作work进程,每个子进程处理一个请求;系统初始时,预先生成多个空闲进程,等待请求,最大不超过1024个
    worker:
      复用的多进程I
    /O模型,多进程多线程,IIS使用此模型   一个主进程:生成m个子进程,每个子进程负责生个n个线程,每个线程响应一个请求,并发响应请求:m*n
    event:
      事件驱动模型(worker模型的变种)   一个主进程:生成m个子进程,每个进程直接响应n个请求,并发响应请求:m
    *n,有专门的线程来管理这些keep-alive类型的线程,当有真实请求时,将请求传递给服务线程,执行完毕后,又允许释放。这样增强了高并发场景下的请求处理能力

    1>.prefork MPM

    2>.worker MPM

    3>.event MPM

     

    4>.进程角色

     

    三.Httpd 安装

    1>.版本

    httpd的官网地址:
      http://httpd.apache.org/
    
    CentOS 6.x默认版本:
      httpd-2.2:event 测试版,在2018年1月1日该版本停止维护,因此咱们不推荐使用该版本。
    
    CentOS 7.x默认版本:  
        httpd-2.4:event 稳定版 

    2>.安装方式

    rpm:
      CentOS发行版,稳定,建议使用
    编译:
      定制或特殊需求

    3>.CentOS 7.x使用yun方式安装

    [root@node101.yinzhengjie.org.cn ~]# yum info httpd
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.huaweicloud.com
     * epel: mirrors.yun-idc.com
     * extras: mirrors.huaweicloud.com
     * updates: centosz7.centos.org
    Installed Packages
    Name        : httpd
    Arch        : x86_64
    Version     : 2.4.6
    Release     : 90.el7.centos
    Size        : 9.4 M
    Repo        : installed
    From repo   : base
    Summary     : Apache HTTP Server
    URL         : http://httpd.apache.org/
    License     : ASL 2.0
    Description : The Apache HTTP Server is a powerful, efficient, and extensible
                : web server.
    
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# yum info httpd
    [root@node101.yinzhengjie.org.cn ~]# yum -y install httpd
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.huaweicloud.com
     * epel: mirrors.yun-idc.com
     * extras: mirrors.huaweicloud.com
     * updates: centosz7.centos.org
    Resolving Dependencies
    --> Running transaction check
    ---> Package httpd.x86_64 0:2.4.6-90.el7.centos will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ============================================================================================================================================================================
     Package                              Arch                                  Version                                               Repository                           Size
    ============================================================================================================================================================================
    Installing:
     httpd                                x86_64                                2.4.6-90.el7.centos                                   base                                2.7 M
    
    Transaction Summary
    ============================================================================================================================================================================
    Install  1 Package
    
    Total download size: 2.7 M
    Installed size: 9.4 M
    Downloading packages:
    httpd-2.4.6-90.el7.centos.x86_64.rpm                                                                                                                 | 2.7 MB  00:00:02     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : httpd-2.4.6-90.el7.centos.x86_64                                                                                                                         1/1 
      Verifying  : httpd-2.4.6-90.el7.centos.x86_64                                                                                                                         1/1 
    
    Installed:
      httpd.x86_64 0:2.4.6-90.el7.centos                                                                                                                                        
    
    Complete!
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# yum -y install httpd
    [root@node101.yinzhengjie.org.cn ~]# rpm -ql httpd
    /etc/httpd
    /etc/httpd/conf
    /etc/httpd/conf.d
    /etc/httpd/conf.d/README
    /etc/httpd/conf.d/autoindex.conf
    /etc/httpd/conf.d/userdir.conf
    /etc/httpd/conf.d/welcome.conf
    /etc/httpd/conf.modules.d
    /etc/httpd/conf.modules.d/00-base.conf
    /etc/httpd/conf.modules.d/00-dav.conf
    /etc/httpd/conf.modules.d/00-lua.conf
    /etc/httpd/conf.modules.d/00-mpm.conf
    /etc/httpd/conf.modules.d/00-proxy.conf
    /etc/httpd/conf.modules.d/00-systemd.conf
    /etc/httpd/conf.modules.d/01-cgi.conf
    /etc/httpd/conf/httpd.conf
    /etc/httpd/conf/magic
    /etc/httpd/logs
    /etc/httpd/modules
    /etc/httpd/run
    /etc/logrotate.d/httpd
    /etc/sysconfig/htcacheclean
    /etc/sysconfig/httpd
    /run/httpd
    /run/httpd/htcacheclean
    /usr/lib/systemd/system/htcacheclean.service
    /usr/lib/systemd/system/httpd.service
    /usr/lib/tmpfiles.d/httpd.conf
    /usr/lib64/httpd
    /usr/lib64/httpd/modules
    /usr/lib64/httpd/modules/mod_access_compat.so
    /usr/lib64/httpd/modules/mod_actions.so
    /usr/lib64/httpd/modules/mod_alias.so
    /usr/lib64/httpd/modules/mod_allowmethods.so
    /usr/lib64/httpd/modules/mod_asis.so
    /usr/lib64/httpd/modules/mod_auth_basic.so
    /usr/lib64/httpd/modules/mod_auth_digest.so
    /usr/lib64/httpd/modules/mod_authn_anon.so
    /usr/lib64/httpd/modules/mod_authn_core.so
    /usr/lib64/httpd/modules/mod_authn_dbd.so
    /usr/lib64/httpd/modules/mod_authn_dbm.so
    /usr/lib64/httpd/modules/mod_authn_file.so
    /usr/lib64/httpd/modules/mod_authn_socache.so
    /usr/lib64/httpd/modules/mod_authz_core.so
    /usr/lib64/httpd/modules/mod_authz_dbd.so
    /usr/lib64/httpd/modules/mod_authz_dbm.so
    /usr/lib64/httpd/modules/mod_authz_groupfile.so
    /usr/lib64/httpd/modules/mod_authz_host.so
    /usr/lib64/httpd/modules/mod_authz_owner.so
    /usr/lib64/httpd/modules/mod_authz_user.so
    /usr/lib64/httpd/modules/mod_autoindex.so
    /usr/lib64/httpd/modules/mod_buffer.so
    /usr/lib64/httpd/modules/mod_cache.so
    /usr/lib64/httpd/modules/mod_cache_disk.so
    /usr/lib64/httpd/modules/mod_cache_socache.so
    /usr/lib64/httpd/modules/mod_cgi.so
    /usr/lib64/httpd/modules/mod_cgid.so
    /usr/lib64/httpd/modules/mod_charset_lite.so
    /usr/lib64/httpd/modules/mod_data.so
    /usr/lib64/httpd/modules/mod_dav.so
    /usr/lib64/httpd/modules/mod_dav_fs.so
    /usr/lib64/httpd/modules/mod_dav_lock.so
    /usr/lib64/httpd/modules/mod_dbd.so
    /usr/lib64/httpd/modules/mod_deflate.so
    /usr/lib64/httpd/modules/mod_dialup.so
    /usr/lib64/httpd/modules/mod_dir.so
    /usr/lib64/httpd/modules/mod_dumpio.so
    /usr/lib64/httpd/modules/mod_echo.so
    /usr/lib64/httpd/modules/mod_env.so
    /usr/lib64/httpd/modules/mod_expires.so
    /usr/lib64/httpd/modules/mod_ext_filter.so
    /usr/lib64/httpd/modules/mod_file_cache.so
    /usr/lib64/httpd/modules/mod_filter.so
    /usr/lib64/httpd/modules/mod_headers.so
    /usr/lib64/httpd/modules/mod_heartbeat.so
    /usr/lib64/httpd/modules/mod_heartmonitor.so
    /usr/lib64/httpd/modules/mod_include.so
    /usr/lib64/httpd/modules/mod_info.so
    /usr/lib64/httpd/modules/mod_lbmethod_bybusyness.so
    /usr/lib64/httpd/modules/mod_lbmethod_byrequests.so
    /usr/lib64/httpd/modules/mod_lbmethod_bytraffic.so
    /usr/lib64/httpd/modules/mod_lbmethod_heartbeat.so
    /usr/lib64/httpd/modules/mod_log_config.so
    /usr/lib64/httpd/modules/mod_log_debug.so
    /usr/lib64/httpd/modules/mod_log_forensic.so
    /usr/lib64/httpd/modules/mod_logio.so
    /usr/lib64/httpd/modules/mod_lua.so
    /usr/lib64/httpd/modules/mod_macro.so
    /usr/lib64/httpd/modules/mod_mime.so
    /usr/lib64/httpd/modules/mod_mime_magic.so
    /usr/lib64/httpd/modules/mod_mpm_event.so
    /usr/lib64/httpd/modules/mod_mpm_prefork.so
    /usr/lib64/httpd/modules/mod_mpm_worker.so
    /usr/lib64/httpd/modules/mod_negotiation.so
    /usr/lib64/httpd/modules/mod_proxy.so
    /usr/lib64/httpd/modules/mod_proxy_ajp.so
    /usr/lib64/httpd/modules/mod_proxy_balancer.so
    /usr/lib64/httpd/modules/mod_proxy_connect.so
    /usr/lib64/httpd/modules/mod_proxy_express.so
    /usr/lib64/httpd/modules/mod_proxy_fcgi.so
    /usr/lib64/httpd/modules/mod_proxy_fdpass.so
    /usr/lib64/httpd/modules/mod_proxy_ftp.so
    /usr/lib64/httpd/modules/mod_proxy_http.so
    /usr/lib64/httpd/modules/mod_proxy_scgi.so
    /usr/lib64/httpd/modules/mod_proxy_wstunnel.so
    /usr/lib64/httpd/modules/mod_ratelimit.so
    /usr/lib64/httpd/modules/mod_reflector.so
    /usr/lib64/httpd/modules/mod_remoteip.so
    /usr/lib64/httpd/modules/mod_reqtimeout.so
    /usr/lib64/httpd/modules/mod_request.so
    /usr/lib64/httpd/modules/mod_rewrite.so
    /usr/lib64/httpd/modules/mod_sed.so
    /usr/lib64/httpd/modules/mod_setenvif.so
    /usr/lib64/httpd/modules/mod_slotmem_plain.so
    /usr/lib64/httpd/modules/mod_slotmem_shm.so
    /usr/lib64/httpd/modules/mod_socache_dbm.so
    /usr/lib64/httpd/modules/mod_socache_memcache.so
    /usr/lib64/httpd/modules/mod_socache_shmcb.so
    /usr/lib64/httpd/modules/mod_speling.so
    /usr/lib64/httpd/modules/mod_status.so
    /usr/lib64/httpd/modules/mod_substitute.so
    /usr/lib64/httpd/modules/mod_suexec.so
    /usr/lib64/httpd/modules/mod_systemd.so
    /usr/lib64/httpd/modules/mod_unique_id.so
    /usr/lib64/httpd/modules/mod_unixd.so
    /usr/lib64/httpd/modules/mod_userdir.so
    /usr/lib64/httpd/modules/mod_usertrack.so
    /usr/lib64/httpd/modules/mod_version.so
    /usr/lib64/httpd/modules/mod_vhost_alias.so
    /usr/lib64/httpd/modules/mod_watchdog.so
    /usr/libexec/initscripts/legacy-actions/httpd
    /usr/libexec/initscripts/legacy-actions/httpd/configtest
    /usr/libexec/initscripts/legacy-actions/httpd/graceful
    /usr/sbin/apachectl
    /usr/sbin/fcgistarter
    /usr/sbin/htcacheclean
    /usr/sbin/httpd
    /usr/sbin/rotatelogs
    /usr/sbin/suexec
    /usr/share/doc/httpd-2.4.6
    /usr/share/doc/httpd-2.4.6/ABOUT_APACHE
    /usr/share/doc/httpd-2.4.6/CHANGES
    /usr/share/doc/httpd-2.4.6/LICENSE
    /usr/share/doc/httpd-2.4.6/NOTICE
    /usr/share/doc/httpd-2.4.6/README
    /usr/share/doc/httpd-2.4.6/VERSIONING
    /usr/share/doc/httpd-2.4.6/httpd-dav.conf
    /usr/share/doc/httpd-2.4.6/httpd-default.conf
    /usr/share/doc/httpd-2.4.6/httpd-info.conf
    /usr/share/doc/httpd-2.4.6/httpd-languages.conf
    /usr/share/doc/httpd-2.4.6/httpd-manual.conf
    /usr/share/doc/httpd-2.4.6/httpd-mpm.conf
    /usr/share/doc/httpd-2.4.6/httpd-multilang-errordoc.conf
    /usr/share/doc/httpd-2.4.6/httpd-vhosts.conf
    /usr/share/doc/httpd-2.4.6/proxy-html.conf
    /usr/share/httpd
    /usr/share/httpd/error
    /usr/share/httpd/error/HTTP_BAD_GATEWAY.html.var
    /usr/share/httpd/error/HTTP_BAD_REQUEST.html.var
    /usr/share/httpd/error/HTTP_FORBIDDEN.html.var
    /usr/share/httpd/error/HTTP_GONE.html.var
    /usr/share/httpd/error/HTTP_INTERNAL_SERVER_ERROR.html.var
    /usr/share/httpd/error/HTTP_LENGTH_REQUIRED.html.var
    /usr/share/httpd/error/HTTP_METHOD_NOT_ALLOWED.html.var
    /usr/share/httpd/error/HTTP_NOT_FOUND.html.var
    /usr/share/httpd/error/HTTP_NOT_IMPLEMENTED.html.var
    /usr/share/httpd/error/HTTP_PRECONDITION_FAILED.html.var
    /usr/share/httpd/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    /usr/share/httpd/error/HTTP_REQUEST_TIME_OUT.html.var
    /usr/share/httpd/error/HTTP_REQUEST_URI_TOO_LARGE.html.var
    /usr/share/httpd/error/HTTP_SERVICE_UNAVAILABLE.html.var
    /usr/share/httpd/error/HTTP_UNAUTHORIZED.html.var
    /usr/share/httpd/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
    /usr/share/httpd/error/HTTP_VARIANT_ALSO_VARIES.html.var
    /usr/share/httpd/error/README
    /usr/share/httpd/error/contact.html.var
    /usr/share/httpd/error/include
    /usr/share/httpd/error/include/bottom.html
    /usr/share/httpd/error/include/spacer.html
    /usr/share/httpd/error/include/top.html
    /usr/share/httpd/icons
    /usr/share/httpd/icons/README
    /usr/share/httpd/icons/README.html
    /usr/share/httpd/icons/a.gif
    /usr/share/httpd/icons/a.png
    /usr/share/httpd/icons/alert.black.gif
    /usr/share/httpd/icons/alert.black.png
    /usr/share/httpd/icons/alert.red.gif
    /usr/share/httpd/icons/alert.red.png
    /usr/share/httpd/icons/apache_pb.gif
    /usr/share/httpd/icons/apache_pb.png
    /usr/share/httpd/icons/apache_pb.svg
    /usr/share/httpd/icons/apache_pb2.gif
    /usr/share/httpd/icons/apache_pb2.png
    /usr/share/httpd/icons/back.gif
    /usr/share/httpd/icons/back.png
    /usr/share/httpd/icons/ball.gray.gif
    /usr/share/httpd/icons/ball.gray.png
    /usr/share/httpd/icons/ball.red.gif
    /usr/share/httpd/icons/ball.red.png
    /usr/share/httpd/icons/binary.gif
    /usr/share/httpd/icons/binary.png
    /usr/share/httpd/icons/binhex.gif
    /usr/share/httpd/icons/binhex.png
    /usr/share/httpd/icons/blank.gif
    /usr/share/httpd/icons/blank.png
    /usr/share/httpd/icons/bomb.gif
    /usr/share/httpd/icons/bomb.png
    /usr/share/httpd/icons/box1.gif
    /usr/share/httpd/icons/box1.png
    /usr/share/httpd/icons/box2.gif
    /usr/share/httpd/icons/box2.png
    /usr/share/httpd/icons/broken.gif
    /usr/share/httpd/icons/broken.png
    /usr/share/httpd/icons/burst.gif
    /usr/share/httpd/icons/burst.png
    /usr/share/httpd/icons/c.gif
    /usr/share/httpd/icons/c.png
    /usr/share/httpd/icons/comp.blue.gif
    /usr/share/httpd/icons/comp.blue.png
    /usr/share/httpd/icons/comp.gray.gif
    /usr/share/httpd/icons/comp.gray.png
    /usr/share/httpd/icons/compressed.gif
    /usr/share/httpd/icons/compressed.png
    /usr/share/httpd/icons/continued.gif
    /usr/share/httpd/icons/continued.png
    /usr/share/httpd/icons/dir.gif
    /usr/share/httpd/icons/dir.png
    /usr/share/httpd/icons/diskimg.gif
    /usr/share/httpd/icons/diskimg.png
    /usr/share/httpd/icons/down.gif
    /usr/share/httpd/icons/down.png
    /usr/share/httpd/icons/dvi.gif
    /usr/share/httpd/icons/dvi.png
    /usr/share/httpd/icons/f.gif
    /usr/share/httpd/icons/f.png
    /usr/share/httpd/icons/folder.gif
    /usr/share/httpd/icons/folder.open.gif
    /usr/share/httpd/icons/folder.open.png
    /usr/share/httpd/icons/folder.png
    /usr/share/httpd/icons/folder.sec.gif
    /usr/share/httpd/icons/folder.sec.png
    /usr/share/httpd/icons/forward.gif
    /usr/share/httpd/icons/forward.png
    /usr/share/httpd/icons/generic.gif
    /usr/share/httpd/icons/generic.png
    /usr/share/httpd/icons/generic.red.gif
    /usr/share/httpd/icons/generic.red.png
    /usr/share/httpd/icons/generic.sec.gif
    /usr/share/httpd/icons/generic.sec.png
    /usr/share/httpd/icons/hand.right.gif
    /usr/share/httpd/icons/hand.right.png
    /usr/share/httpd/icons/hand.up.gif
    /usr/share/httpd/icons/hand.up.png
    /usr/share/httpd/icons/icon.sheet.gif
    /usr/share/httpd/icons/icon.sheet.png
    /usr/share/httpd/icons/image1.gif
    /usr/share/httpd/icons/image1.png
    /usr/share/httpd/icons/image2.gif
    /usr/share/httpd/icons/image2.png
    /usr/share/httpd/icons/image3.gif
    /usr/share/httpd/icons/image3.png
    /usr/share/httpd/icons/index.gif
    /usr/share/httpd/icons/index.png
    /usr/share/httpd/icons/layout.gif
    /usr/share/httpd/icons/layout.png
    /usr/share/httpd/icons/left.gif
    /usr/share/httpd/icons/left.png
    /usr/share/httpd/icons/link.gif
    /usr/share/httpd/icons/link.png
    /usr/share/httpd/icons/movie.gif
    /usr/share/httpd/icons/movie.png
    /usr/share/httpd/icons/odf6odb.png
    /usr/share/httpd/icons/odf6odc.png
    /usr/share/httpd/icons/odf6odf.png
    /usr/share/httpd/icons/odf6odg.png
    /usr/share/httpd/icons/odf6odi.png
    /usr/share/httpd/icons/odf6odm.png
    /usr/share/httpd/icons/odf6odp.png
    /usr/share/httpd/icons/odf6ods.png
    /usr/share/httpd/icons/odf6odt.png
    /usr/share/httpd/icons/odf6otc.png
    /usr/share/httpd/icons/odf6otf.png
    /usr/share/httpd/icons/odf6otg.png
    /usr/share/httpd/icons/odf6oth.png
    /usr/share/httpd/icons/odf6oti.png
    /usr/share/httpd/icons/odf6otp.png
    /usr/share/httpd/icons/odf6ots.png
    /usr/share/httpd/icons/odf6ott.png
    /usr/share/httpd/icons/p.gif
    /usr/share/httpd/icons/p.png
    /usr/share/httpd/icons/patch.gif
    /usr/share/httpd/icons/patch.png
    /usr/share/httpd/icons/pdf.gif
    /usr/share/httpd/icons/pdf.png
    /usr/share/httpd/icons/pie0.gif
    /usr/share/httpd/icons/pie0.png
    /usr/share/httpd/icons/pie1.gif
    /usr/share/httpd/icons/pie1.png
    /usr/share/httpd/icons/pie2.gif
    /usr/share/httpd/icons/pie2.png
    /usr/share/httpd/icons/pie3.gif
    /usr/share/httpd/icons/pie3.png
    /usr/share/httpd/icons/pie4.gif
    /usr/share/httpd/icons/pie4.png
    /usr/share/httpd/icons/pie5.gif
    /usr/share/httpd/icons/pie5.png
    /usr/share/httpd/icons/pie6.gif
    /usr/share/httpd/icons/pie6.png
    /usr/share/httpd/icons/pie7.gif
    /usr/share/httpd/icons/pie7.png
    /usr/share/httpd/icons/pie8.gif
    /usr/share/httpd/icons/pie8.png
    /usr/share/httpd/icons/portal.gif
    /usr/share/httpd/icons/portal.png
    /usr/share/httpd/icons/poweredby.png
    /usr/share/httpd/icons/ps.gif
    /usr/share/httpd/icons/ps.png
    /usr/share/httpd/icons/quill.gif
    /usr/share/httpd/icons/quill.png
    /usr/share/httpd/icons/right.gif
    /usr/share/httpd/icons/right.png
    /usr/share/httpd/icons/screw1.gif
    /usr/share/httpd/icons/screw1.png
    /usr/share/httpd/icons/screw2.gif
    /usr/share/httpd/icons/screw2.png
    /usr/share/httpd/icons/script.gif
    /usr/share/httpd/icons/script.png
    /usr/share/httpd/icons/small
    /usr/share/httpd/icons/small/back.gif
    /usr/share/httpd/icons/small/back.png
    /usr/share/httpd/icons/small/binary.gif
    /usr/share/httpd/icons/small/binary.png
    /usr/share/httpd/icons/small/binhex.gif
    /usr/share/httpd/icons/small/binhex.png
    /usr/share/httpd/icons/small/blank.gif
    /usr/share/httpd/icons/small/blank.png
    /usr/share/httpd/icons/small/broken.gif
    /usr/share/httpd/icons/small/broken.png
    /usr/share/httpd/icons/small/burst.gif
    /usr/share/httpd/icons/small/burst.png
    /usr/share/httpd/icons/small/comp1.gif
    /usr/share/httpd/icons/small/comp1.png
    /usr/share/httpd/icons/small/comp2.gif
    /usr/share/httpd/icons/small/comp2.png
    /usr/share/httpd/icons/small/compressed.gif
    /usr/share/httpd/icons/small/compressed.png
    /usr/share/httpd/icons/small/continued.gif
    /usr/share/httpd/icons/small/continued.png
    /usr/share/httpd/icons/small/doc.gif
    /usr/share/httpd/icons/small/doc.png
    /usr/share/httpd/icons/small/folder.gif
    /usr/share/httpd/icons/small/folder.png
    /usr/share/httpd/icons/small/folder2.gif
    /usr/share/httpd/icons/small/folder2.png
    /usr/share/httpd/icons/small/forward.gif
    /usr/share/httpd/icons/small/forward.png
    /usr/share/httpd/icons/small/generic.gif
    /usr/share/httpd/icons/small/generic.png
    /usr/share/httpd/icons/small/generic2.gif
    /usr/share/httpd/icons/small/generic2.png
    /usr/share/httpd/icons/small/generic3.gif
    /usr/share/httpd/icons/small/generic3.png
    /usr/share/httpd/icons/small/image.gif
    /usr/share/httpd/icons/small/image.png
    /usr/share/httpd/icons/small/image2.gif
    /usr/share/httpd/icons/small/image2.png
    /usr/share/httpd/icons/small/index.gif
    /usr/share/httpd/icons/small/index.png
    /usr/share/httpd/icons/small/key.gif
    /usr/share/httpd/icons/small/key.png
    /usr/share/httpd/icons/small/movie.gif
    /usr/share/httpd/icons/small/movie.png
    /usr/share/httpd/icons/small/patch.gif
    /usr/share/httpd/icons/small/patch.png
    /usr/share/httpd/icons/small/ps.gif
    /usr/share/httpd/icons/small/ps.png
    /usr/share/httpd/icons/small/rainbow.gif
    /usr/share/httpd/icons/small/rainbow.png
    /usr/share/httpd/icons/small/sound.gif
    /usr/share/httpd/icons/small/sound.png
    /usr/share/httpd/icons/small/sound2.gif
    /usr/share/httpd/icons/small/sound2.png
    /usr/share/httpd/icons/small/tar.gif
    /usr/share/httpd/icons/small/tar.png
    /usr/share/httpd/icons/small/text.gif
    /usr/share/httpd/icons/small/text.png
    /usr/share/httpd/icons/small/transfer.gif
    /usr/share/httpd/icons/small/transfer.png
    /usr/share/httpd/icons/small/unknown.gif
    /usr/share/httpd/icons/small/unknown.png
    /usr/share/httpd/icons/small/uu.gif
    /usr/share/httpd/icons/small/uu.png
    /usr/share/httpd/icons/sound1.gif
    /usr/share/httpd/icons/sound1.png
    /usr/share/httpd/icons/sound2.gif
    /usr/share/httpd/icons/sound2.png
    /usr/share/httpd/icons/sphere1.gif
    /usr/share/httpd/icons/sphere1.png
    /usr/share/httpd/icons/sphere2.gif
    /usr/share/httpd/icons/sphere2.png
    /usr/share/httpd/icons/svg.png
    /usr/share/httpd/icons/tar.gif
    /usr/share/httpd/icons/tar.png
    /usr/share/httpd/icons/tex.gif
    /usr/share/httpd/icons/tex.png
    /usr/share/httpd/icons/text.gif
    /usr/share/httpd/icons/text.png
    /usr/share/httpd/icons/transfer.gif
    /usr/share/httpd/icons/transfer.png
    /usr/share/httpd/icons/unknown.gif
    /usr/share/httpd/icons/unknown.png
    /usr/share/httpd/icons/up.gif
    /usr/share/httpd/icons/up.png
    /usr/share/httpd/icons/uu.gif
    /usr/share/httpd/icons/uu.png
    /usr/share/httpd/icons/uuencoded.gif
    /usr/share/httpd/icons/uuencoded.png
    /usr/share/httpd/icons/world1.gif
    /usr/share/httpd/icons/world1.png
    /usr/share/httpd/icons/world2.gif
    /usr/share/httpd/icons/world2.png
    /usr/share/httpd/icons/xml.png
    /usr/share/httpd/noindex
    /usr/share/httpd/noindex/css
    /usr/share/httpd/noindex/css/bootstrap-theme.min.css
    /usr/share/httpd/noindex/css/bootstrap.min.css
    /usr/share/httpd/noindex/css/fonts
    /usr/share/httpd/noindex/css/fonts/Bold
    /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.eot
    /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.svg
    /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.ttf
    /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.woff
    /usr/share/httpd/noindex/css/fonts/BoldItalic
    /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.eot
    /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.svg
    /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.ttf
    /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.woff
    /usr/share/httpd/noindex/css/fonts/ExtraBold
    /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.eot
    /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.svg
    /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.ttf
    /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.woff
    /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic
    /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot
    /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg
    /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf
    /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff
    /usr/share/httpd/noindex/css/fonts/Italic
    /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.eot
    /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.svg
    /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.ttf
    /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.woff
    /usr/share/httpd/noindex/css/fonts/Light
    /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.eot
    /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.svg
    /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.ttf
    /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.woff
    /usr/share/httpd/noindex/css/fonts/LightItalic
    /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.eot
    /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.svg
    /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.ttf
    /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.woff
    /usr/share/httpd/noindex/css/fonts/Regular
    /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.eot
    /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.svg
    /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.ttf
    /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.woff
    /usr/share/httpd/noindex/css/fonts/Semibold
    /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.eot
    /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.svg
    /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.ttf
    /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.woff
    /usr/share/httpd/noindex/css/fonts/SemiboldItalic
    /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot
    /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg
    /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf
    /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff
    /usr/share/httpd/noindex/css/open-sans.css
    /usr/share/httpd/noindex/images
    /usr/share/httpd/noindex/images/apache_pb.gif
    /usr/share/httpd/noindex/images/poweredby.png
    /usr/share/httpd/noindex/index.html
    /usr/share/man/man8/apachectl.8.gz
    /usr/share/man/man8/fcgistarter.8.gz
    /usr/share/man/man8/htcacheclean.8.gz
    /usr/share/man/man8/httpd.8.gz
    /usr/share/man/man8/rotatelogs.8.gz
    /usr/share/man/man8/suexec.8.gz
    /var/cache/httpd
    /var/cache/httpd/proxy
    /var/lib/dav
    /var/log/httpd
    /var/www
    /var/www/cgi-bin
    /var/www/html
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# rpm -ql httpd

    四.CentOS 7程序环境(httpd-2.4)

    1>.配置文件

    [root@node101.yinzhengjie.org.cn ~]# ll /etc/httpd/conf/httpd.conf       #主配置文件
    -rw-r--r-- 1 root root 11753 Aug  6 21:44 /etc/httpd/conf/httpd.conf
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# ll /etc/httpd/conf.d/*.conf
    -rw-r--r-- 1 root root 2926 Aug  8 19:41 /etc/httpd/conf.d/autoindex.conf
    -rw-r--r-- 1 root root 1252 Aug  6 21:44 /etc/httpd/conf.d/userdir.conf
    -rw-r--r-- 1 root root  824 Aug  6 21:44 /etc/httpd/conf.d/welcome.conf
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# egrep -v "^ *#|^$" /etc/httpd/conf/httpd.conf 
    ServerRoot "/etc/httpd"
    Listen 80
    Include conf.modules.d/*.conf
    User apache
    Group apache
    ServerAdmin root@localhost
    <Directory />
        AllowOverride none
        Require all denied
    </Directory>
    DocumentRoot "/var/www/html"
    <Directory "/var/www">
        AllowOverride None
        Require all granted
    </Directory>
    <Directory "/var/www/html">
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
    </Directory>
    <IfModule dir_module>
        DirectoryIndex index.html
    </IfModule>
    <Files ".ht*">
        Require all denied
    </Files>
    ErrorLog "logs/error_log"
    LogLevel warn
    <IfModule log_config_module>
        LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
        LogFormat "%h %l %u %t "%r" %>s %b" common
        <IfModule logio_module>
          LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
        </IfModule>
        CustomLog "logs/access_log" combined
    </IfModule>
    <IfModule alias_module>
        ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
    </IfModule>
    <Directory "/var/www/cgi-bin">
        AllowOverride None
        Options None
        Require all granted
    </Directory>
    <IfModule mime_module>
        TypesConfig /etc/mime.types
        AddType application/x-compress .Z
        AddType application/x-gzip .gz .tgz
        AddType text/html .shtml
        AddOutputFilter INCLUDES .shtml
    </IfModule>
    AddDefaultCharset UTF-8
    <IfModule mime_magic_module>
        MIMEMagicFile conf/magic
    </IfModule>
    EnableSendfile on
    IncludeOptional conf.d/*.conf
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# egrep -v "^ *#|^$" /etc/httpd/conf/httpd.conf      #查看主服务器的默认配置信息

    2>.检查配置语法

    [root@node101.yinzhengjie.org.cn ~]# httpd -t
    Syntax OK
    [root@node101.yinzhengjie.org.cn ~]# 

    3>.服务单元文件

    [root@node101.yinzhengjie.org.cn ~]# ll /usr/lib/systemd/system/httpd.service 
    -rw-r--r-- 1 root root 752 Aug  6 21:44 /usr/lib/systemd/system/httpd.service
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# ll /etc/sysconfig/httpd 
    -rw-r--r-- 1 root root 802 Aug  6 21:44 /etc/sysconfig/httpd
    [root@node101.yinzhengjie.org.cn ~]# 

    3>.服务控制和启动

    [root@node101.yinzhengjie.org.cn ~]# systemctl enable httpd.service 
    Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# systemctl disable httpd.service 
    Removed symlink /etc/systemd/system/multi-user.target.wants/httpd.service.
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# systemctl start httpd.service 
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# systemctl stop httpd.service 
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# systemctl restart httpd.service 
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# systemctl status httpd.service 
    ● httpd.service - The Apache HTTP Server
       Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
       Active: active (running) since Sat 2019-12-07 08:59:12 CST; 17s ago
         Docs: man:httpd(8)
               man:apachectl(8)
     Main PID: 4491 (httpd)
       Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
       CGroup: /system.slice/httpd.service
               ├─4491 /usr/sbin/httpd -DFOREGROUND
               ├─4492 /usr/sbin/httpd -DFOREGROUND
               ├─4493 /usr/sbin/httpd -DFOREGROUND
               ├─4494 /usr/sbin/httpd -DFOREGROUND
               ├─4495 /usr/sbin/httpd -DFOREGROUND
               └─4496 /usr/sbin/httpd -DFOREGROUND
    
    Dec 07 08:59:12 node101.yinzhengjie.org.cn systemd[1]: Starting The Apache HTTP Server...
    Dec 07 08:59:12 node101.yinzhengjie.org.cn systemd[1]: Started The Apache HTTP Server.
    [root@node101.yinzhengjie.org.cn ~]# 

    4>.站点网页文档根目录

    [root@node101.yinzhengjie.org.cn ~]# grep ^DocumentRoot /etc/httpd/conf/httpd.conf         #默认网页文档根目录
    DocumentRoot "/var/www/html"
    [root@node101.yinzhengjie.org.cn ~]#

    5>.模块文件路径

    [root@node101.yinzhengjie.org.cn ~]# ll /etc/httpd/modules/ | wc -l
    101
    [root@node101.yinzhengjie.org.cn ~]#  
    [root@node101.yinzhengjie.org.cn ~]# ll /usr/lib64/httpd/modules | wc -l
    101
    [root@node101.yinzhengjie.org.cn ~]# 

    6>.主程序文件

    [root@node101.yinzhengjie.org.cn ~]# ll /usr/sbin/httpd 
    -rwxr-xr-x 1 root root 523680 Aug  8 19:42 /usr/sbin/httpd
    [root@node101.yinzhengjie.org.cn ~]# 

    7>.主进程文件

    [root@node101.yinzhengjie.org.cn ~]# ll /etc/httpd/run/httpd.pid 
    -rw-r--r-- 1 root root 5 Dec  7 08:59 /etc/httpd/run/httpd.pid
    [root@node101.yinzhengjie.org.cn ~]# 

    8>.日志文件目录

    [root@node101.yinzhengjie.org.cn ~]# ll /var/log/httpd/
    total 12
    -rw-r--r-- 1 root root    0 Nov 18 19:37 access_log         #存放访问日志
    -rw-r--r-- 1 root root 1097 Dec  7 08:59 error_log          #存放错误日志
    [root@node101.yinzhengjie.org.cn ~]# 

    9>.帮助文档包

    [root@node101.yinzhengjie.org.cn ~]# yum info httpd-manual
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.huaweicloud.com
     * epel: mirrors.yun-idc.com
     * extras: mirrors.huaweicloud.com
     * updates: centosz7.centos.org
    Installed Packages
    Name        : httpd-manual
    Arch        : noarch
    Version     : 2.4.6
    Release     : 90.el7.centos
    Size        : 5.5 M
    Repo        : installed
    From repo   : base
    Summary     : Documentation for the Apache HTTP server
    URL         : http://httpd.apache.org/
    License     : ASL 2.0
    Description : The httpd-manual package contains the complete manual and
                : reference guide for the Apache HTTP server. The information can
                : also be found at http://httpd.apache.org/docs/2.4/.
    
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# yum info httpd-manual
    [root@node101.yinzhengjie.org.cn ~]# yum -y install httpd-manual
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.huaweicloud.com
     * epel: mirrors.yun-idc.com
     * extras: mirrors.huaweicloud.com
     * updates: centosz7.centos.org
    Resolving Dependencies
    --> Running transaction check
    ---> Package httpd-manual.noarch 0:2.4.6-90.el7.centos will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================================================================================
     Package                             Arch                          Version                                    Repository                   Size
    ================================================================================================================================================
    Installing:
     httpd-manual                        noarch                        2.4.6-90.el7.centos                        base                        1.3 M
    
    Transaction Summary
    ================================================================================================================================================
    Install  1 Package
    
    Total download size: 1.3 M
    Installed size: 5.5 M
    Downloading packages:
    httpd-manual-2.4.6-90.el7.centos.noarch.rpm                                                                              | 1.3 MB  00:00:02     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : httpd-manual-2.4.6-90.el7.centos.noarch                                                                                      1/1 
      Verifying  : httpd-manual-2.4.6-90.el7.centos.noarch                                                                                      1/1 
    
    Installed:
      httpd-manual.noarch 0:2.4.6-90.el7.centos                                                                                                     
    
    Complete!
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# yum -y install httpd-manual
    [root@node101.yinzhengjie.org.cn ~]# rpm -ql httpd-manual
    /etc/httpd/conf.d/manual.conf
    /usr/share/httpd/manual
    /usr/share/httpd/manual/BUILDING
    /usr/share/httpd/manual/LICENSE
    /usr/share/httpd/manual/bind.html
    /usr/share/httpd/manual/caching.html
    /usr/share/httpd/manual/configuring.html
    /usr/share/httpd/manual/content-negotiation.html
    /usr/share/httpd/manual/convenience.map
    /usr/share/httpd/manual/custom-error.html
    /usr/share/httpd/manual/developer
    /usr/share/httpd/manual/developer/API.html
    /usr/share/httpd/manual/developer/debugging.html
    /usr/share/httpd/manual/developer/documenting.html
    /usr/share/httpd/manual/developer/filters.html
    /usr/share/httpd/manual/developer/hooks.html
    /usr/share/httpd/manual/developer/index.html
    /usr/share/httpd/manual/developer/modguide.html
    /usr/share/httpd/manual/developer/modules.html
    /usr/share/httpd/manual/developer/new_api_2_4.html
    /usr/share/httpd/manual/developer/output-filters.html
    /usr/share/httpd/manual/developer/request.html
    /usr/share/httpd/manual/developer/thread_safety.html
    /usr/share/httpd/manual/dns-caveats.html
    /usr/share/httpd/manual/dso.html
    /usr/share/httpd/manual/env.html
    /usr/share/httpd/manual/expr.html
    /usr/share/httpd/manual/faq
    /usr/share/httpd/manual/faq/index.html
    /usr/share/httpd/manual/filter.html
    /usr/share/httpd/manual/glossary.html
    /usr/share/httpd/manual/handler.html
    /usr/share/httpd/manual/howto
    /usr/share/httpd/manual/howto/access.html
    /usr/share/httpd/manual/howto/auth.html
    /usr/share/httpd/manual/howto/cgi.html
    /usr/share/httpd/manual/howto/htaccess.html
    /usr/share/httpd/manual/howto/index.html
    /usr/share/httpd/manual/howto/public_html.html
    /usr/share/httpd/manual/howto/ssi.html
    /usr/share/httpd/manual/images
    /usr/share/httpd/manual/images/apache_header.gif
    /usr/share/httpd/manual/images/build_a_mod_2.png
    /usr/share/httpd/manual/images/build_a_mod_3.png
    /usr/share/httpd/manual/images/build_a_mod_4.png
    /usr/share/httpd/manual/images/caching_fig1.gif
    /usr/share/httpd/manual/images/caching_fig1.png
    /usr/share/httpd/manual/images/caching_fig1.tr.png
    /usr/share/httpd/manual/images/custom_errordocs.png
    /usr/share/httpd/manual/images/down.gif
    /usr/share/httpd/manual/images/favicon.ico
    /usr/share/httpd/manual/images/feather.gif
    /usr/share/httpd/manual/images/feather.png
    /usr/share/httpd/manual/images/filter_arch.png
    /usr/share/httpd/manual/images/filter_arch.tr.png
    /usr/share/httpd/manual/images/home.gif
    /usr/share/httpd/manual/images/index.gif
    /usr/share/httpd/manual/images/left.gif
    /usr/share/httpd/manual/images/mod_filter_new.gif
    /usr/share/httpd/manual/images/mod_filter_new.png
    /usr/share/httpd/manual/images/mod_filter_new.tr.png
    /usr/share/httpd/manual/images/mod_filter_old.gif
    /usr/share/httpd/manual/images/mod_rewrite_fig1.gif
    /usr/share/httpd/manual/images/mod_rewrite_fig1.png
    /usr/share/httpd/manual/images/mod_rewrite_fig2.gif
    /usr/share/httpd/manual/images/mod_rewrite_fig2.png
    /usr/share/httpd/manual/images/pixel.gif
    /usr/share/httpd/manual/images/rewrite_backreferences.png
    /usr/share/httpd/manual/images/rewrite_process_uri.png
    /usr/share/httpd/manual/images/rewrite_rule_flow.png
    /usr/share/httpd/manual/images/right.gif
    /usr/share/httpd/manual/images/ssl_intro_fig1.gif
    /usr/share/httpd/manual/images/ssl_intro_fig1.png
    /usr/share/httpd/manual/images/ssl_intro_fig2.gif
    /usr/share/httpd/manual/images/ssl_intro_fig2.png
    /usr/share/httpd/manual/images/ssl_intro_fig3.gif
    /usr/share/httpd/manual/images/ssl_intro_fig3.png
    /usr/share/httpd/manual/images/sub.gif
    /usr/share/httpd/manual/images/syntax_rewritecond.png
    /usr/share/httpd/manual/images/syntax_rewriterule.png
    /usr/share/httpd/manual/images/up.gif
    /usr/share/httpd/manual/index.html
    /usr/share/httpd/manual/install.html
    /usr/share/httpd/manual/invoking.html
    /usr/share/httpd/manual/license.html
    /usr/share/httpd/manual/logs.html
    /usr/share/httpd/manual/misc
    /usr/share/httpd/manual/misc/index.html
    /usr/share/httpd/manual/misc/password_encryptions.html
    /usr/share/httpd/manual/misc/perf-tuning.html
    /usr/share/httpd/manual/misc/relevant_standards.html
    /usr/share/httpd/manual/misc/security_tips.html
    /usr/share/httpd/manual/mod
    /usr/share/httpd/manual/mod/core.html
    /usr/share/httpd/manual/mod/directive-dict.html
    /usr/share/httpd/manual/mod/directives.html
    /usr/share/httpd/manual/mod/event.html
    /usr/share/httpd/manual/mod/index.html
    /usr/share/httpd/manual/mod/mod_access_compat.html
    /usr/share/httpd/manual/mod/mod_actions.html
    /usr/share/httpd/manual/mod/mod_alias.html
    /usr/share/httpd/manual/mod/mod_allowmethods.html
    /usr/share/httpd/manual/mod/mod_asis.html
    /usr/share/httpd/manual/mod/mod_auth_basic.html
    /usr/share/httpd/manual/mod/mod_auth_digest.html
    /usr/share/httpd/manual/mod/mod_auth_form.html
    /usr/share/httpd/manual/mod/mod_authn_anon.html
    /usr/share/httpd/manual/mod/mod_authn_core.html
    /usr/share/httpd/manual/mod/mod_authn_dbd.html
    /usr/share/httpd/manual/mod/mod_authn_dbm.html
    /usr/share/httpd/manual/mod/mod_authn_file.html
    /usr/share/httpd/manual/mod/mod_authn_socache.html
    /usr/share/httpd/manual/mod/mod_authnz_ldap.html
    /usr/share/httpd/manual/mod/mod_authz_core.html
    /usr/share/httpd/manual/mod/mod_authz_dbd.html
    /usr/share/httpd/manual/mod/mod_authz_dbm.html
    /usr/share/httpd/manual/mod/mod_authz_groupfile.html
    /usr/share/httpd/manual/mod/mod_authz_host.html
    /usr/share/httpd/manual/mod/mod_authz_owner.html
    /usr/share/httpd/manual/mod/mod_authz_user.html
    /usr/share/httpd/manual/mod/mod_autoindex.html
    /usr/share/httpd/manual/mod/mod_buffer.html
    /usr/share/httpd/manual/mod/mod_cache.html
    /usr/share/httpd/manual/mod/mod_cache_disk.html
    /usr/share/httpd/manual/mod/mod_cache_socache.html
    /usr/share/httpd/manual/mod/mod_cern_meta.html
    /usr/share/httpd/manual/mod/mod_cgi.html
    /usr/share/httpd/manual/mod/mod_cgid.html
    /usr/share/httpd/manual/mod/mod_charset_lite.html
    /usr/share/httpd/manual/mod/mod_data.html
    /usr/share/httpd/manual/mod/mod_dav.html
    /usr/share/httpd/manual/mod/mod_dav_fs.html
    /usr/share/httpd/manual/mod/mod_dav_lock.html
    /usr/share/httpd/manual/mod/mod_dbd.html
    /usr/share/httpd/manual/mod/mod_deflate.html
    /usr/share/httpd/manual/mod/mod_dialup.html
    /usr/share/httpd/manual/mod/mod_dir.html
    /usr/share/httpd/manual/mod/mod_dumpio.html
    /usr/share/httpd/manual/mod/mod_echo.html
    /usr/share/httpd/manual/mod/mod_env.html
    /usr/share/httpd/manual/mod/mod_example.html
    /usr/share/httpd/manual/mod/mod_expires.html
    /usr/share/httpd/manual/mod/mod_ext_filter.html
    /usr/share/httpd/manual/mod/mod_file_cache.html
    /usr/share/httpd/manual/mod/mod_filter.html
    /usr/share/httpd/manual/mod/mod_headers.html
    /usr/share/httpd/manual/mod/mod_heartbeat.html
    /usr/share/httpd/manual/mod/mod_heartmonitor.html
    /usr/share/httpd/manual/mod/mod_ident.html
    /usr/share/httpd/manual/mod/mod_imagemap.html
    /usr/share/httpd/manual/mod/mod_include.html
    /usr/share/httpd/manual/mod/mod_info.html
    /usr/share/httpd/manual/mod/mod_isapi.html
    /usr/share/httpd/manual/mod/mod_lbmethod_bybusyness.html
    /usr/share/httpd/manual/mod/mod_lbmethod_byrequests.html
    /usr/share/httpd/manual/mod/mod_lbmethod_bytraffic.html
    /usr/share/httpd/manual/mod/mod_lbmethod_heartbeat.html
    /usr/share/httpd/manual/mod/mod_ldap.html
    /usr/share/httpd/manual/mod/mod_log_config.html
    /usr/share/httpd/manual/mod/mod_log_debug.html
    /usr/share/httpd/manual/mod/mod_log_forensic.html
    /usr/share/httpd/manual/mod/mod_logio.html
    /usr/share/httpd/manual/mod/mod_lua.html
    /usr/share/httpd/manual/mod/mod_macro.html
    /usr/share/httpd/manual/mod/mod_mime.html
    /usr/share/httpd/manual/mod/mod_mime_magic.html
    /usr/share/httpd/manual/mod/mod_negotiation.html
    /usr/share/httpd/manual/mod/mod_nw_ssl.html
    /usr/share/httpd/manual/mod/mod_privileges.html
    /usr/share/httpd/manual/mod/mod_proxy.html
    /usr/share/httpd/manual/mod/mod_proxy_ajp.html
    /usr/share/httpd/manual/mod/mod_proxy_balancer.html
    /usr/share/httpd/manual/mod/mod_proxy_connect.html
    /usr/share/httpd/manual/mod/mod_proxy_express.html
    /usr/share/httpd/manual/mod/mod_proxy_fcgi.html
    /usr/share/httpd/manual/mod/mod_proxy_fdpass.html
    /usr/share/httpd/manual/mod/mod_proxy_ftp.html
    /usr/share/httpd/manual/mod/mod_proxy_html.html
    /usr/share/httpd/manual/mod/mod_proxy_http.html
    /usr/share/httpd/manual/mod/mod_proxy_scgi.html
    /usr/share/httpd/manual/mod/mod_proxy_wstunnel.html
    /usr/share/httpd/manual/mod/mod_ratelimit.html
    /usr/share/httpd/manual/mod/mod_reflector.html
    /usr/share/httpd/manual/mod/mod_remoteip.html
    /usr/share/httpd/manual/mod/mod_reqtimeout.html
    /usr/share/httpd/manual/mod/mod_request.html
    /usr/share/httpd/manual/mod/mod_rewrite.html
    /usr/share/httpd/manual/mod/mod_sed.html
    /usr/share/httpd/manual/mod/mod_session.html
    /usr/share/httpd/manual/mod/mod_session_cookie.html
    /usr/share/httpd/manual/mod/mod_session_crypto.html
    /usr/share/httpd/manual/mod/mod_session_dbd.html
    /usr/share/httpd/manual/mod/mod_setenvif.html
    /usr/share/httpd/manual/mod/mod_slotmem_plain.html
    /usr/share/httpd/manual/mod/mod_slotmem_shm.html
    /usr/share/httpd/manual/mod/mod_so.html
    /usr/share/httpd/manual/mod/mod_socache_dbm.html
    /usr/share/httpd/manual/mod/mod_socache_dc.html
    /usr/share/httpd/manual/mod/mod_socache_memcache.html
    /usr/share/httpd/manual/mod/mod_socache_shmcb.html
    /usr/share/httpd/manual/mod/mod_speling.html
    /usr/share/httpd/manual/mod/mod_ssl.html
    /usr/share/httpd/manual/mod/mod_status.html
    /usr/share/httpd/manual/mod/mod_substitute.html
    /usr/share/httpd/manual/mod/mod_suexec.html
    /usr/share/httpd/manual/mod/mod_unique_id.html
    /usr/share/httpd/manual/mod/mod_unixd.html
    /usr/share/httpd/manual/mod/mod_userdir.html
    /usr/share/httpd/manual/mod/mod_usertrack.html
    /usr/share/httpd/manual/mod/mod_version.html
    /usr/share/httpd/manual/mod/mod_vhost_alias.html
    /usr/share/httpd/manual/mod/mod_watchdog.html
    /usr/share/httpd/manual/mod/mod_xml2enc.html
    /usr/share/httpd/manual/mod/module-dict.html
    /usr/share/httpd/manual/mod/mpm_common.html
    /usr/share/httpd/manual/mod/mpm_netware.html
    /usr/share/httpd/manual/mod/mpm_winnt.html
    /usr/share/httpd/manual/mod/mpmt_os2.html
    /usr/share/httpd/manual/mod/prefork.html
    /usr/share/httpd/manual/mod/quickreference.html
    /usr/share/httpd/manual/mod/worker.html
    /usr/share/httpd/manual/mpm.html
    /usr/share/httpd/manual/new_features_2_0.html
    /usr/share/httpd/manual/new_features_2_2.html
    /usr/share/httpd/manual/new_features_2_4.html
    /usr/share/httpd/manual/platform
    /usr/share/httpd/manual/platform/ebcdic.html
    /usr/share/httpd/manual/platform/index.html
    /usr/share/httpd/manual/platform/netware.html
    /usr/share/httpd/manual/platform/perf-hp.html
    /usr/share/httpd/manual/platform/rpm.html
    /usr/share/httpd/manual/platform/win_compiling.html
    /usr/share/httpd/manual/platform/windows.html
    /usr/share/httpd/manual/programs
    /usr/share/httpd/manual/programs/ab.html
    /usr/share/httpd/manual/programs/apachectl.html
    /usr/share/httpd/manual/programs/apxs.html
    /usr/share/httpd/manual/programs/configure.html
    /usr/share/httpd/manual/programs/dbmmanage.html
    /usr/share/httpd/manual/programs/fcgistarter.html
    /usr/share/httpd/manual/programs/htcacheclean.html
    /usr/share/httpd/manual/programs/htdbm.html
    /usr/share/httpd/manual/programs/htdigest.html
    /usr/share/httpd/manual/programs/htpasswd.html
    /usr/share/httpd/manual/programs/httpd.html
    /usr/share/httpd/manual/programs/httxt2dbm.html
    /usr/share/httpd/manual/programs/index.html
    /usr/share/httpd/manual/programs/log_server_status.html
    /usr/share/httpd/manual/programs/logresolve.html
    /usr/share/httpd/manual/programs/other.html
    /usr/share/httpd/manual/programs/rotatelogs.html
    /usr/share/httpd/manual/programs/split-logfile.html
    /usr/share/httpd/manual/programs/suexec.html
    /usr/share/httpd/manual/rewrite
    /usr/share/httpd/manual/rewrite/access.html
    /usr/share/httpd/manual/rewrite/advanced.html
    /usr/share/httpd/manual/rewrite/avoid.html
    /usr/share/httpd/manual/rewrite/flags.html
    /usr/share/httpd/manual/rewrite/htaccess.html
    /usr/share/httpd/manual/rewrite/index.html
    /usr/share/httpd/manual/rewrite/intro.html
    /usr/share/httpd/manual/rewrite/proxy.html
    /usr/share/httpd/manual/rewrite/remapping.html
    /usr/share/httpd/manual/rewrite/rewritemap.html
    /usr/share/httpd/manual/rewrite/tech.html
    /usr/share/httpd/manual/rewrite/vhosts.html
    /usr/share/httpd/manual/sections.html
    /usr/share/httpd/manual/server-wide.html
    /usr/share/httpd/manual/sitemap.html
    /usr/share/httpd/manual/socache.html
    /usr/share/httpd/manual/ssl
    /usr/share/httpd/manual/ssl/index.html
    /usr/share/httpd/manual/ssl/ssl_compat.html
    /usr/share/httpd/manual/ssl/ssl_faq.html
    /usr/share/httpd/manual/ssl/ssl_howto.html
    /usr/share/httpd/manual/ssl/ssl_intro.html
    /usr/share/httpd/manual/stopping.html
    /usr/share/httpd/manual/style
    /usr/share/httpd/manual/style/build.properties
    /usr/share/httpd/manual/style/css
    /usr/share/httpd/manual/style/css/manual-chm.css
    /usr/share/httpd/manual/style/css/manual-loose-100pc.css
    /usr/share/httpd/manual/style/css/manual-print.css
    /usr/share/httpd/manual/style/css/manual-zip-100pc.css
    /usr/share/httpd/manual/style/css/manual-zip.css
    /usr/share/httpd/manual/style/css/manual.css
    /usr/share/httpd/manual/style/css/prettify.css
    /usr/share/httpd/manual/style/lang
    /usr/share/httpd/manual/style/latex
    /usr/share/httpd/manual/style/latex/atbeginend.sty
    /usr/share/httpd/manual/style/scripts
    /usr/share/httpd/manual/style/scripts/prettify.js
    /usr/share/httpd/manual/style/xsl
    /usr/share/httpd/manual/style/xsl/util
    /usr/share/httpd/manual/suexec.html
    /usr/share/httpd/manual/upgrading.html
    /usr/share/httpd/manual/urlmapping.html
    /usr/share/httpd/manual/vhosts
    /usr/share/httpd/manual/vhosts/details.html
    /usr/share/httpd/manual/vhosts/examples.html
    /usr/share/httpd/manual/vhosts/fd-limits.html
    /usr/share/httpd/manual/vhosts/index.html
    /usr/share/httpd/manual/vhosts/ip-based.html
    /usr/share/httpd/manual/vhosts/mass.html
    /usr/share/httpd/manual/vhosts/name-based.html
    [root@node101.yinzhengjie.org.cn ~]# 
    [root@node101.yinzhengjie.org.cn ~]# rpm -ql httpd-manual
    [root@node101.yinzhengjie.org.cn ~]# systemctl restart httpd      #httpd-manaual服务安装成功后,需要重启httpd服务,然后咱们就可以在web界面进行访问了,访问界面如下图所示。

  • 相关阅读:
    bzoj3751 / P2312 解方程
    P1270 “访问”美术馆(树形dp)
    [bzoj1085][SCOI2005]骑士精神
    [bzoj1208][HNOI2004]宠物收养所
    [bzoj1196][HNOI2006]公路修建问题
    [bzoj1093][ZJOI2007]最大半连通子图
    [bzoj1103][POI2007]大都市meg
    [Apio2009][bzoj1179]Atm
    [bzoj1191][HNOI2006]超级英雄Hero
    [bzoj2458][BeiJing2011]最小三角形
  • 原文地址:https://www.cnblogs.com/yinzhengjie/p/11992699.html
Copyright © 2020-2023  润新知