26 mate使用文本文件保存用户验证信息 2.ApacheAN mod authnz ldap 允许使用一个LDAP目录存储用户名和密码 数据库来执行基本认证和授权 2.aPache Module mod authz host 基于主机的组验证 mod authz user用户验证模块 mod autoindex 生成目录索引 mod cach 基于UR键的内窨动态缓冲 mod 在非线程型MPM( prefork)上提供对cG脚 在线程型 MPM(worker)上用一个外部cG mod coid 守护进程执行CG脚本 指定目录索引文件以及为目录提供尾斜杠” 允许 Apache修改或青除传送到co脚本和 mod env mod example 一个很简单的 Apache模块AP演示模块 过虑信息 是否是是是否是是是是否是是是是 处理服务器端图像映射 mod include 析HTM文件 仅限于在 Windows平台上实现sAP扩展 mod_ldap 使用第三方LDAP模块进行LDAP链接服务否 南中医药大学/阮晓龙/13938213680/http://inux.xg.hactcm.edu.cn/http://www.51xueweb.cn
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 26 2.2Apache Module
27 mod ldap 使用第三方LDAP模块进行LDAP链接服务 2 Apache肝 mod log config 允许记录日志和定制日志文件格式 否是否是 2.aPache Module mod logio 记录每个请求的输入、输出的字节数 mod mime 联合被请求文件扩展名和文件行为的内容 mod negotiation 供内容协商 为 Netware打开SsL加密 mod持H1的代网关服务器 mod proxy mod_ proxy的AJP支持模块 mod_proxy_balancer mod_proxy的负载均衡模块 mod_proxy_ ftp mod_ proxy的FTP支持模块 mod_proxy_http mod proxy l的HTP支持模块 mod setenvif 允许设置基于请求的环境变里 mod so 许运行时加载DsO模块 mod ssl 使用SSL和TLS的加密 mod status 提供服务器性能运行信息 是否否否否否是否否是是否否 mod usedin 设置每个用户的网站目录 mod usertrack 记录用户在网站上的活动 mod vhost alias|提供大里虚拟机的动态配置 南中医药大学/阮晓龙/13938213680/http://inux.xg.hactcm.edu.cn/http://www.51xueweb.cn
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 27 2.2Apache Module
28 3.在 Ubuntu server上使用 Apache 31安装与启动 Apache 口在 Ubuntu Serve上安装 Apache的方式有两种 ■使用APT工具在线获取 对应版本为24.34 ■通过Apache官网下载安装包(htp/httpdapache.org/download.cg) 口目前 Apache的最新版本为24.37 南中医药大学/阮晓龙/13938213680/http://inux.xg.hactcm.edu.cn/http://www.51xueweb.cn
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 在Ubuntu Server上安装Apache的方式有两种 ◼ 使用APT工具在线获取 对应版本为2.4.34 ◼ 通过Apache官网下载安装包(http://httpd.apache.org/download.cgi) 目前Apache的最新版本为2.4.37 28 3.1安装与启动Apache
linistratorepruanubuntuserver1810x64:--Xshell 6 (Free for Home/School 文件编查(工具①诚项卡)翻帮即sh/ administrator 9 administrator@ruanubuntuserver1810x64: -S sudo apt-cache madison apache2 3在Ubu 4.34-lubuntu2ihttp://archive.ubuntucom/ubuntucosmic/mainamd6 装与启动 Apache nistrator@ruanubuntuserver1810x64 inistrator@ruanubuntuserver1810x64: - S sudo apt-cache policy apache2 tu250 archive untu cosmic/main amd64 Packages administrator@ruanubuntuserver1810x64 administrator@ruanubuntuserver1810x64: -S sudo apt-cache showpkg apache2 ntu (/var/ib/apt/li: ache是 linux下的apt软件包管理工具,它可查询apt的二进制软 binary-amd64_Package 件包绥行文件。apt包管理的大多数信息查询功能都可实现。 Description Language va/1b/a2显示指定软件包的信息,包括版本号、安装状态、包依赖关系等。 _main -binary-amd64_Pack MD5:d02426bc36搜索软件包,可以按关键字查找软件包,通常用于查询的关键字会使用 Description Langue:/var/ib/a 软件包的名字或软件包的一部分。 main i18n Translation M0D5:d02426bc36星示软件包的赖关系信息。 显示当前系统所使用的数据源的统计信息,可以使用该命令查看数据源 的相关统计信息。 22.4.10~ apt-cache policy package_name apache2 显示软件包的安装状态和版本信息。 pt-cache depends package name 显示指定软件包所依赖的软件包。当需要了解杲个软件包依赖于其他哪 keystone 些包时,可以使用 apt-cache depends来查询包依赖关系 查询指定软件包的反向依赖关系,即哪些其他的软件包需要依赖所指定 ache2246-4-的教件包做为安装和运行的必须条件 显示缓存中的每个软件包的简要描述信息 apt-cache unmet 可南中医药大学/阮晓龙 nistratoxe211.69.35.21222 早示不符合一致性的依赖关系
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 29 3.1安装与启动Apache
linistratorepruanubuntuserver1810x64:--Xshell 6 (Free for Home/School 文件编查(工具①诚项卡)翻帮即sh/ administrator 30 ministrator@ruanubuntuserver1810x64: -S sudo apt show version apache2 3.在Ubuw2 ubuntu 2 支与启动 Apache ntu-devel-discussalists. ubuntu. com> Debian Apache Maintainers <debian-apache@lists. debian. org> hpad. net/ubuntu/+fileb 2. 4. 34-lubuntu2), apache2-data (2. 4. 34-lubuntu 2), apac ubuntu), lsb-base, mime-support, perl, props, perl: any apache2-doc, apache2-suexec-pristine I apache2-suexec-custom, ww-brow he2. 2-common Breaks: li y- uwsgT(<<2.4.33) Replaces: apache 2. 2-bin, apache2. 2-common, libapache2-mod-proxy-uwsgi (< 2.4.33 Homepage:http://httpd.apacheorg/ server p: //archive. ubuntu. com/ubuntu cosmic/main amd64 Packages al is to build a secure, efficient and extensible Http server as standards-compliant open source software The result has long been the number one web server on the Internet Installing this package results in a full installation, including the configuration fil it scripts and support scripts N: Unable to locate package version N: Unable to locate package administrator@ruanubuntuserver1810x64: -S 可南中医药大学/阮晓龙 nistratoxe211.69.35.21222 ssH2对emrB0o3741会话4 CAo NUM
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 30 3.1安装与启动Apache