[RHEL5企業(yè)級(jí)Linux服務(wù)攻略]--第7季 Apache服務(wù)全攻略之常規(guī)配置_第1頁(yè)
[RHEL5企業(yè)級(jí)Linux服務(wù)攻略]--第7季 Apache服務(wù)全攻略之常規(guī)配置_第2頁(yè)
[RHEL5企業(yè)級(jí)Linux服務(wù)攻略]--第7季 Apache服務(wù)全攻略之常規(guī)配置_第3頁(yè)
[RHEL5企業(yè)級(jí)Linux服務(wù)攻略]--第7季 Apache服務(wù)全攻略之常規(guī)配置_第4頁(yè)
[RHEL5企業(yè)級(jí)Linux服務(wù)攻略]--第7季 Apache服務(wù)全攻略之常規(guī)配置_第5頁(yè)
已閱讀5頁(yè),還剩3頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、1.Apache相關(guān)軟件httpd-2.2.3-11.el5.i386.rpm :Apache服務(wù)的主程序包,服務(wù)器端必須安裝該軟件包httpd-devel-2.2.3-11.el5.i386.rpm :Apache開(kāi)發(fā)程序包 httpd-manual-2.2.3-11.el5.i386.rpm :Apache手冊(cè)文檔,包含HTML 格式的Apache 計(jì)劃的Apache User's Guide 說(shuō)明指南 system-config-httpd--1.el5.noarch.rpm :Apache配置工具2、Apache軟件包安裝httpd-devel-2.2.3-11.

2、el5.i386.rpm包要解決以下兩個(gè)依賴關(guān)系:apr-devel-1.2.7-11.i386.rpm apr-util-devel-1.2.7-6.i386.rpmsystem-config-httpd--1.el5.noarch.rpm包要解決以下兩個(gè)依賴關(guān)系:alchemist-1.0.36-2.el5.i386.rpm libxslt-python-1.1.17-2.i386.rpm  rootrhel5 # ll /mnt/cdrom/Server/ |grep httpd -r-xr-xr-x 1 root root  1111795

3、2007-08-27 httpd-2.2.3-11.el5.i386.rpm -r-xr-xr-x 1 root root   149662 2007-08-27 httpd-devel-2.2.3-11.el5.i386.rpm -r-xr-xr-x 1 root root   851004 2007-08-27 httpd-manual-2.2.3-11.el5.i386.rpm -r-xr-xr-x 1 root root   612538 2007-01-18 system-config-httpd--1.el5

4、.noarch.rpm rootrhel5 # rpm -qa |grep httpd rootrhel5 # rpm -ivh /mnt/cdrom/Server/httpd-2.2.3-11.el5.i386.rpm warning: /mnt/cdrom/Server/httpd-2.2.3-11.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing.            

5、60;   # 100%    1:httpd                  # 100% rootrhel5 # rpm -ivh /mnt/cdrom/Server/httpd-devel-2.2.3-11.el5.i386.rpm warning: /mnt/cdrom/Server/httpd-devel-2.2.3-11.el5.i386.rpm: Header V3 DS

6、A signature: NOKEY, key ID 37017186 error: Failed dependencies:         apr-devel is needed by httpd-devel-2.2.3-11.el5.i386         apr-util-devel is needed by httpd-devel-2.2.3-11.el5.i386 rootrhel5 # rpm -ivh /mnt/cdrom/Server/

7、apr-devel-1.2.7-11.i386.rpm warning: /mnt/cdrom/Server/apr-devel-1.2.7-11.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing.                # 100%    1:apr-devel      

8、        # 100% rootrhel5 # rpm -ivh /mnt/cdrom/Server/apr-util-devel-1.2.7-6.i386.rpm warning: /mnt/cdrom/Server/apr-util-devel-1.2.7-6.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing.          &

9、#160;     # 100%    1:apr-util-devel         # 100% rootrhel5 # rpm -ivh /mnt/cdrom/Server/httpd-devel-2.2.3-11.el5.i386.rpm warning: /mnt/cdrom/Server/httpd-devel-2.2.3-11.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 3701

10、7186 Preparing.                # 100%    1:httpd-devel            # 100% rootrhel5 # rpm -ivh /mnt/cdrom/Server/httpd-manual-2.2.3-11.el5.i386.rpm warning: /mnt

11、/cdrom/Server/httpd-manual-2.2.3-11.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing.                # 100%    1:httpd-manual           # 100%

12、 rootrhel5 # rpm -ivh /mnt/cdrom/Server/system-config-httpd--1.el5.noarch.rpm warning: /mnt/cdrom/Server/system-config-httpd--1.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies:         alchemist is needed by

13、system-config-httpd--1.el5.noarch         libxslt-python is needed by system-config-httpd--1.el5.noarch rootrhel5 # rpm -ivh /mnt/cdrom/Server/alchemist- alchemist-1.0.36-2.el5.i386.rpm        alchemist-devel-1.0.36-

14、2.el5.i386.rpm rootrhel5 # rpm -ivh /mnt/cdrom/Server/alchemist-1.0.36-2.el5.i386.rpm warning: /mnt/cdrom/Server/alchemist-1.0.36-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing.                # 100

15、%    1:alchemist              # 100% rootrhel5 # rpm -ivh /mnt/cdrom/Server/libxslt-python-1.1.17-2.i386.rpm warning: /mnt/cdrom/Server/libxslt-python-1.1.17-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Prepari

16、ng.                # 100%    1:libxslt-python         # 100% rootrhel5 # rpm -ivh /mnt/cdrom/Server/system-config-httpd--1.el5.noarch.rpm warning: /mnt/cdrom/Server/sys

17、tem-config-httpd--1.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing.                # 100%    1:system-config-httpd    # 100% rootrhel5 # 3、WEB常規(guī)應(yīng)用配置案例:部門內(nèi)部搭建一臺(tái)WEB服務(wù)器,

18、采用的IP地址和端口為88:80,首頁(yè)采用index.html文件。管理員E-mail地址為root,網(wǎng)頁(yè)的編碼類型采用GB2312,所有網(wǎng)站資源都存放在/var/www/html目錄下,并將Apache的根目錄設(shè)置為/etc/httpd目錄。解決方案:(1)修改主配置文件httpd.confvim /etc/httpd/conf/httpd.conf 設(shè)置Apache的根目錄為/etc/httpd設(shè)置客戶端訪問(wèn)超時(shí)時(shí)間為120秒這兩個(gè)設(shè)置為系統(tǒng)默認(rèn)哈設(shè)置httpd監(jiān)聽(tīng)端口80,默認(rèn)哈設(shè)置管理員E-mail地址為root設(shè)置WEB服務(wù)器的主機(jī)名和監(jiān)聽(tīng)端口為88:80設(shè)置Apache文檔目錄為/var/www/html,默認(rèn)哈設(shè)置主頁(yè)文件為index.html設(shè)

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論