2 Apache服务器 认安装一些模块。如果需要实现某种特定的功能就需 22Apadha Module mod evasive模块在EPEL软件库 EPEL是yum的一个软件源,里面包含了许多基本源里没有的软件 m - install epel-release 口∥查看um安 2. Apac
6 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 模块是在内核空间运行的程序,实际上是一种目标对象文件,没有链 接,不能独立运行,但是其代码可以在运行时链接到系统中作为内核 的一部分运行或从内核中取下,可以动态的扩展内核的功能。 Apache安装时会默认安装一些模块,如果需要实现某种特定的功能就需 要增加Apache模块。 以mod_evasive为例来讲Apache模块的安装。 mod_evasive是Apache服务器的防DDOS模块。 16 2.2Apache Module 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 mod_evasive模块在EPEL软件库。 EPEL是yum的一个软件源,里面包含了许多基本源里没有的软件。 安装EPEL源的方法: # yum -y install epel-release //使用yum安装EPEL软件库 # yum repolist //查看yum安装源 17 2.2Apache Module 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 18 2.2Apache Module
②塭名, 二 2 Apach∈ 目翻多 加
7 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 19 2.2Apache Module 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 20 2.2Apache Module 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 21 2.2Apache Module
2 Apache服务器 中有所区别。 的后缀名为Jod,且每一个模块对应一个con文 Centos中块存放在/usr/b54/htpd/ modules目录中,Cens中模块的 2 Apache=,温m它试 花
8 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 Apache模块安装后存放位置和模块的引用在Ubuntu Server和CentOS 中有所区别。 在Ubuntu Server中已安装模块存放在/etc/apache2/mods-available目录 中,已启用模块存放在/etc/apache2/mods-enabled目录中,Ubuntu Server中模块的后缀名为.load,且每一个模块对应一个.conf文件。 CentOS中模块存放在/usr/lib64/httpd/modules目录中,CentOS中模块的 后缀名为.so。 22 2.2Apache Module 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 23 2.2Apache Module 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 24 2.2Apache Module Apache配置文件apache.conf的配置信息
2 Apache服务器 2.2Apada Module Apache模块只与 Apache的版本有关,和操作系统无关。 Apache246中常用的模块,如表4-1示 手游的心G料 2.ApacheH 22Apadha Module 2.Apache
9 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 Apache模块只与Apache的版本有关,和操作系统无关。 Apache 2.4.6中常用的模块,如表4-1所示。 25 2.2Apache Module 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 26 2.2Apache Module 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 27 2.2Apache Module
3.在 Ubuntu Server上使用 Apache 3单取动padh 在 Ubuntu Server上安装 Apache的方式有两种 通过Apache官网下载安装包(httpr//httpd.apacheorg/downoadcgi 3在Ubu 3在Ubu 10
10 河南中医药大学 / 阮晓龙 / 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 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 29 3.1安装与启动Apache 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 30 3.1安装与启动Apache