16 2 Apache服务器 2.2Apache Module amod_ evasive模块在EPEL软件库,EPEL是yum的一个软件源,里面包 含了许多基本源里没有的软件 安装EPEL源的方法: # yum -y install epel-release /使用yum安装EPEL软件库 yum repolist /看yum安装源 河南中医药大学/阮晓龙/13938213680/http://linux.xg.hactcm.edu.cn/http:/www.51xueweb.cn
河南中医药大学 / 阮晓龙 / 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安装源 16 2.2Apache Module
J 211.69. 35.213-Centos 7-Teach-rootecentos7teache--Xshell 5 (Free for Home/School 文件)乘辑()查(工具①选项卡B)W帮助(H)sh/root ·,國·6··8·A·:鹵田,,②”要加当前,左 1216935213ce057L+ [rootacentos7teach -]#yum install epel-release 2. Apache basded plugins: fast 00:0 aPache Module epe1/x8664/ metalink kkk 13.4 dates (1/ 3): epel/x86_64/updateinfo (3/3): updates/7/x86_64/primary_db Loading mirror speeds from cached hostfile s base: mirrors. tuna. tsinghua. edu s epel: mirrors. tuna, tsinghua. edu extras: mirrors. tuna. tsinghua. edu.cn updates: ftp sjtu. edu Package epel-release-7-11 noarch already installed and latest version Nothing to do [rootacentos7teach -]#yum repolist Loaded plugins: fastes Loading mirror speeds from cached hostfile base: mirrors. tuna. tsinghua. edu. cn Del: mirrors. tuna. tsinghua. edu.ci w extras: mirrors, tuna. tsinghua. edu. cn updates: mirrors. cqu entos-7- Base 9,591 Extra Packages for Enterprise Linux 7-x86_64 12,469 Centos-7-Extra Centos-7-Updates 2,41 仅相文本发送到图远项卡 河南中医药大学/阮晓龙/22 ssH2xemB0x40见31.241会舌4 LAP NU
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 17 2.2Apache Module
J 211.69,35.213-CentoS 7-Teach- rootecentos7te shell 5 (Free for Home/School 文件)乘辑()查(工具①选项卡(B)口0 8 ·,國·0··8·A:鹵团,,②”P要加当前,左 1216935213ce057L+ [@centos7teach -] yum install mod_evasive 2.A pache loading mrror speeds from cached hostfile aPache Module el: mirrors extras: mirrors. tuna. tsinghua. edu. cn Resolving Dependencies ->Running transaction check ---> Package mod_evasive x86_64 0: 1.10. 1-22.e17 will be installed package: mod_evasive-l 10.1-22.e17,x866 processIngDependencyhttpdforpackagemod_evasive-1.10.1-22.e17.x86_64 29:316::m5.6w11b6msta14 processIngDependency:libaprutil-1.so.0o(64bit)forpackagehttpd-2.4.6-6 7.e17.cent。s.6.x8664 I-runn6.xependency:libapr-1.s0.00(64bit)forpackage:httpd-2.4.6-67.e1 - Processing I---> Package apr-utiT x86_64 0: 1.5.2-6e17 will be instant Package apr Packagehttpd-tools.x86_640:2.4.6-67.e17.centos.6willbeinstalled --> Finished Dependency Resolution Dependencies Resolved Version Repository size x86641.10.1-22e17 x86 1.4.8-3,e174,1 updates apr-ut1 base 2.4,6-67.e17,cent updates httpd-tool: 24.6-67,e17 cento6 update 88k 仅相文本发送到图远项卡 河南中医药大学/阮晓龙/22 5sH2 xterm T B0x4040.211会活4 LAP NUN
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 18 2.2Apache Module
J 211.69. 35.213-Centos 7-Teach-rootecentos7teache--Xshell 5 (Free for Home/School 文件)乘辑()查(工具①选项卡B)W帮助(H)sh/root 19 ·,國·0··8·A:鹵团,,②”P要加当前,左 1216935213ce057L+ 2. Apache nstall 1 Package(+ Dependent packages) aPache Module Total down load size: 3.0M Ly/d/N]: y Downloading packages 14.8-3e174.1.x86_64.rpm 103kB00:00 (2/5):httpd-tools-2.4.6-67.e17.centos.6.x86_64.rpm 88 kB httpd-2.4.6-67.e17.centos6.x86_64.rpm (5/5):apr-uti1-1.5.2-6.e17.x86_64.rp""pm (4/5): mod evasive-1.10.1-22.e17.x8664 00 MB/s unning transaction check Running transaction test Installing: apr-1.4.8-3.e17_4.1. x86 Installing:httpd-tools-2.4.6-67.e17.centos6.) Installing mod_evasive-1 10 1-22. e17. x86_64 erifying:httpd-2.4.6-67.e17.centos.6.x86_64 mod evasive-1.10.1-22.e17.x8664 apr-uti1-1.5.2-6,e17,x86 //// Verif fying:httpd-tools-2.4.6-67 centos. 6.x86 64 Installed 640:1.10.1-22e17 Dependency Installed: pr,x86_640:1.4.8-3.e174.1 httpdx86-_640:2.4.6-67.e17.centos.6 httpd-tools.x86_640:2.4.6-67.e17.centos.6 [r。 otlacentos7 teach-]#■ 仅相文本发送到图远项卡 河南中医药大学/阮晓龙/22 5sH2 xterm T B0x4040.241会活4 LAP NU
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 19 2.2Apache Module
J 211.69. 35.213-Centos 7-Teach-rootecentos7teache--Xshell 5 (Free for Home/School 文件)乘辑()查(工具①选项卡B)W帮助(H)sh/root 20 ·,國·0··8·A:鹵团,,②”P要加当前,左 2. Apache po/s) adpn-, a k-g ei 8-3,e174.1,x8664.rpm 103kB00:0 aPache Module (2/5):httpd-tools-2.4.6-67.el7.centos.6.x86_64.rpm (3/5):httpd-2.4.6-67.e17.centos6.x86_64.rpm mod evasive-1.10.1-2 (5/5):apr-uti1-1.5.2-6,e17,x86_64.rpm 92kB00 Total 5.3NB/s|3.0MB Running transaction check Running transaction tes Transaction test succeeded Running transaction Installing:apr-1.4.8-3.e17-4.1.X86_64 Inst Installing:httpd-tools-2.4.6-67.e17.centos.6.x86 httpd-2.4.6-67.el Installin evasive.-1.10.1-22e17,x8664 5/ verifying:httpd-2.4.6-67.e17.centos.6.x86_64 apr-uti1-1.5.2-6,e17,x86_6 verifying apr-14.8-3.e17_4.1.x86_64 verifying:httpd-tools-2.4.6-67.e17.centos.6.x86_64 mod evasive,x86_640:1.10,1-22,e17 Dependency Installed 3.e174.1 1.x86640:1.5.2-6,e17 httpd-tools.x86_640:2.4.6-67.e17.centos.6 AH00558 e server s name, using fe80: 88c3: 6f51: 945e: cfc. Set the ' ServerName directive globally [r。 otlacentos7 teach-]#■ 仅相文本发送到图远项卡 河南中医药大学/阮晓龙/22 5sH2 xterm T B0x4040.241会活4 LAP NU
河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器 20 2.2Apache Module