当前位置:高等教育资讯网  >  中国高校课件下载中心  >  大学文库  >  浏览文档

河南中医药大学:《LINUX操作系统》教学课件_第04章:网站服务器(录课版)

资源类别:文库,文档格式:PDF,文档页数:100,文件大小:2.93MB,团购合买
点击下载完整版文档(PDF)

Linux服务器构建与运维管理 第4章:网站服务器 阮晓龙 3938213680/rxl@hactcm.edu.cn http://linux.xg.hactcm.edu.cn 河南中医药大学信息管理与信息系统教研室 信息技术学院网络与信息系统科研工作室 2020.3

Linux服务器构建与运维管理 第4章:网站服务器 1 阮晓龙 13938213680 / rxl@hactcm.edu.cn http://linux.xg.hactcm.edu.cn 河南中医药大学信息管理与信息系统教研室 信息技术学院网络与信息系统科研工作室 2020.3

2 提纲 Web服务器 口 Apache服务器 口使用 Apache发布网站 Apache的安装与配置 使用 Apache发布静态网站 使用 Apache发布多个网站 口LAMP 基于 Centos实现LAMP ■使用 WordPress实现内容网站服务 口提升 Apache的安全性 口通过 Apache日志分析洞察网站业务 南中医药大学/阮晓龙/13938213680/http://inux.xg.hactcm.edu.cn/http://www.51xueweb.cn

河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 提纲  Web服务器  Apache服务器  使用Apache发布网站 ◼ Apache的安装与配置 ◼ 使用Apache发布静态网站 ◼ 使用Apache发布多个网站  LAMP ◼ 基于CentOS实现LAMP ◼ 使用WordPress实现内容网站服务  提升Apache的安全性  通过Apache日志分析洞察网站业务 2

3 1Web服务器 1Web服务器简介 Web服务器是一种驻留于因特网上的计算机程序,实现两个作用 放置网站程序,让用户通过浏览器访问 放置数据文件,让用户下载 Web服务器端对客户端提供的网站程序有两种类型: 静态文档:htm、JS 动态文档:PHP、 ASP net、JSP、Ruby、 Python 口Web服务器使用HTTP进行通信,因此Web服务器亦称为HTTP服务器。 南中医药大学/阮晓龙/13938213680/http://inux.xg.hactcm.edu.cn/http://www.51xueweb.cn

河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 1.Web服务器  Web服务器是一种驻留于因特网上的计算机程序,实现两个作用: ◼ 放置网站程序,让用户通过浏览器访问 ◼ 放置数据文件,让用户下载  Web服务器端对客户端提供的网站程序有两种类型: ◼ 静态文档:html、JS ◼ 动态文档:PHP、ASP.net、JSP、Ruby、Python  Web服务器使用HTTP进行通信,因此Web服务器亦称为HTTP服务器。 3 1.1Web服务器简介

4 1Web服务器 1Web服务器简介 口由于不同的Web服务器对HTP请求的处理方式并不完全相同,进行相 应的处理时采用的资源分配策略和调度的方式也各有差异。 随着技术的发展,适应为各种不同功能、不同环境的Web服务器不断 出现,目前常用的Web服务器是 Apache、lS、 Tomcat、Ngin等。 口 Apache是Lnux平台中应用最广泛的Web服务器。 南中医药大学/阮晓龙/13938213680/http://inux.xg.hactcm.edu.cn/http://www.51xueweb.cn

河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 1.Web服务器  由于不同的Web服务器对HTTP请求的处理方式并不完全相同,进行相 应的处理时采用的资源分配策略和调度的方式也各有差异。  随着技术的发展,适应为各种不同功能、不同环境的Web服务器不断 出现,目前常用的Web服务器是Apache、IIS、Tomcat、Nginx等。  Apache是Linux平台中应用最广泛的Web服务器。 4 1.1Web服务器简介

1Web服务器 12Web服务器工作原理 Web服务器的处理流程一般分为四步:连接过程、请求过程、应答过 程以及关闭连接。 连接过程 口根据输入的∪RL地址,Web客户端(如浏览器)连接到相应的Web服务器上。 请求过程 口Web客户端运用 socket向其服务器提出各种请求。 应答过程 aWeb服务器接收到请求后实施任务处理,使用HTTP协议把任务处理的结果传输 到Web客户端。Web客户端获取数据后展示给用户。 ■关闭连接 口当应答过程完成以后,Web服务器和Web客户端之间断开连接。 南中医药大学/阮晓龙/13938213680/http://inux.xg.hactcm.edu.cn/http://www.51xueweb.cn

河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 1.Web服务器  Web服务器的处理流程一般分为四步:连接过程、请求过程、应答过 程以及关闭连接。 ◼ 连接过程:  根据输入的URL地址,Web客户端(如浏览器)连接到相应的Web服务器上。 ◼ 请求过程:  Web客户端运用socket向其服务器提出各种请求。 ◼ 应答过程:  Web服务器接收到请求后实施任务处理,使用HTTP协议把任务处理的结果传输 到Web客户端。Web客户端获取数据后展示给用户。 ◼ 关闭连接:  当应答过程完成以后,Web服务器和Web客户端之间断开连接。 5 1.2Web服务器工作原理

6 1Web服务器 12Web服务器工作原理 Web服务器的处理流程一般分为四步:连接过程、请求过程、应答过 程以及关闭连接。 Internet 建立连接 请求过程 应答讨程 Web客户端 Web服务端 南中医药大学/阮晓龙/13938213680/http://inux.xg.hactcm.edu.cn/http://www.51xueweb.cn

河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 1.Web服务器  Web服务器的处理流程一般分为四步:连接过程、请求过程、应答过 程以及关闭连接。 6 1.2Web服务器工作原理

2 Apache服务器 21 Apache简介 ¤ Apache是最常用的开源网站服务器软件之一,支持∪NX、 Linux Windows等操作系统。 Apache官网为htps;/www.apache.org ■ Apache目前主流版本为24.37 R ∥ APACHE HUTP SERVER PROJECU AP 南中医药大学/阮晓龙/13938213680/http://inux.xg.hactcm.edu.cn/http://www.51xueweb.cn

河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 2.Apache服务器  Apache是最常用的开源网站服务器软件之一,支持UNIX、Linux、 Windows等操作系统。 ◼ Apache官网为https://www.apache.org ◼ Apache目前主流版本为2.4.37 7 2.1 Apache简介

Welcome to The Apache So x ←)→×佥 m口↓≡ Aes作5 APACHE SOFTWARE FOUNDATION 2OTHANNIVERSARY CELEBRATING 20 YEARS OF COMMUNITY-LED DEVELOPMENT " THE APACHE WAY peope THE WORLDS LARGEST OPEN SOURCE FOUNDATION The most popular open source software is Apache 200M+ lines of code in stewards p 1.058321099 liner of code comm ttec 750 ind dual ASF Members 350 Pro ects and In tarves 52 podlings in the Apache Incubator 520B- worth of Apache pe Gortwore products are made available to ANNUAL 2.30 REPORT googletm. V2010 COMMUNITY

8

)+c合 0 a www apache. org/foundation/ 回10%…食 m口↓≡ News Apache Way CELEBRATING 20 YEARS OF COMMUNITY-LED DEVELOPMENT ∥ APACHE THE APACHE WAY munity sponsors mission of the Apache Software Foundation (ASF) is to provide software for the public g WHAT IS THE ASF? Established in 1999, the ASF is a US 501c)(3)charitable organization, funded by individual donations and corporate sponsors. Our all-volunteer board oversees more than 350 leading Open Source projects including Apache Http Server-the words most popular Web server software The ASF provides an established framework for int property and financial contributions that simultaneously limits potential legal exposure for our projec committers Through the ASF's meritocratic process known as The Apache Way, more than 730 individual Members and 7,000 Committers successfully collaborate develop freely available enterprise grade software, benef iting millions of users worldwide thousands of software solutions are distributed under the Apache License, and the community actively participates in ASF mailing lists, mentoring initiatives and Apache Con, the Foundation s official user conference, trainings, and HOW DID THE ASF AND APACHEOR PROJECTS GROW? Formerly known as the Apache Group, the ASF porated in 1999 as a membership-based, not-for-profit corporation in order to ensure that the Apache projects continue to exist beyond the participation of individual volunteers. Individuals who have demonstrated a commitment to collaborative open-source software development, through sustained participation and contributions within the Foundations projects, are eligible for membership in the ASF An individual is awarded membership after nomination and approval by a majority of the existing ASF members. Thus, the ASF is governed by the community it most directly the people collaborating wthin its projects HOW ARE THE ASF AND APACHE PROJECTS GOVERNED? The ASF members periodically elect a Board of Directors to manage the organizational affairs of the Foundation, as accorded by the AsF Bylaws The Board, in turn, appoints a numbet of off icers to oversee the day-to-day operations of the Foundation. A number of public records of our operation are made available to the community A more detailed explanation of How the AsF works in terms of day to day operations is available, and the Apache Community Development proec goal is to help newcomers learn more about the Apache Software Foundation. wthin those projects. There are detailed descriptions of ASF and project governance models. WHO RUNS THE ASF?

9

welcome to The Apache so x+ →×合 o i www apache. org 110%)… m口↓≡ APACHE PROJECT LIST BY NAME BY CATEGORY H Hama Manifolder PreditionIo tapestry Artie AcCy Mave Big Data Mesos Build Management Airavata CouchEs MINA HITP.module AAA DnnD OFEIT Apache Software Fundation,ASF: Apache软件基金会 ASF早期发布了一款Web服务器软件叫做 Apache,取得了巨大的成功。 ASF将 Apache Web服务器软件自20版本起,更名为 Http Server Apache服务器软件是准确名称是: Apache Http Server。 使用 Apache服务器软件仅是习惯的说法而已。 Chemistry Cloudstork oGG MADI 正在解析9 bolcom

10 Apache Software Fundation,ASF:Apache软件基金会 ASF早期发布了一款Web服务器软件叫做Apache,取得了巨大的成功。 ASF将Apache Web服务器软件自2.0版本起,更名为HTTP Server。 Apache服务器软件是准确名称是:Apache HTTP Server。 使用Apache服务器软件仅是习惯的说法而已

点击下载完整版文档(PDF)VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
共100页,可试读20页,点击继续阅读 ↓↓
相关文档

关于我们|帮助中心|下载说明|相关软件|意见反馈|联系我们

Copyright © 2008-现在 cucdc.com 高等教育资讯网 版权所有