Server的建置.pdfVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Server的建置

WWW Server 的建置 第六章 WWW Server 的建置- 以 Apache 2.X 實作 學習目標:WWW 服務是網路上不可或缺的服務,而它也佔據了網路上大部分 的頻寬。這樣重要的服務是由網路上一群無以數計 WWW Server 所提供。本章 將以網路上佔有率最高之 WWW Server - Apache Software Foundation 所提供的 Apache 來實作,請各位依說明進行。。 一、取得 Apache 請直接連接到 或是到國內各大學之 FTP 站下載。Apache 目前有 1.X 以及 2.X 兩個分支,但其 間差異並不太大。本章以 Apache 2.X 來實作。 二、編譯 Apache2 在取得 Apache2 原始程式後之後,請將檔案放置在適當位置,然後執行 tar –zxvf httpd-2.x.x-tar.gz 會產生一個名為 httpd-2.x.x 的目錄,請切換到該目錄底下執行 ./configure 系統就會開始執行編譯前設定。有關 configure 的詳細參數,請執行 ./configure –help 在 configure 執行完畢後,請執行 make 系統就會開始編譯程式。而在程式編譯完畢後,請執行 make install 系統就會將編譯完畢的程式安裝到相關目錄去。 三、Apache2 的設定 Apache2 的預設目錄是放置在/usr/local/apache2 ,而設定檔在其下的conf 目 錄中。請切換到/usr/local/apache2/conf 下編輯 httpd.conf 這個檔案。以下將 就 httpd.conf 中需要注意的部份作一說明,凡是沒有特別提及的,請保留系 統預設值或是依據現況自行修改。 ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # WWW Server 的建置 # ServerRoot: The top of the directory tree under which the servers # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at URL:/docs-2.0/mod/core.html#lockfile); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot /usr/local/apache2 Apache Server 所在路徑, 預設是 /usr/local/apache2 # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the VirtualHost # directive. # # Change this to Listen on specific

文档评论(0)

f8r9t5c + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档