歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> IBM AIX >> 如何使用 IBM HTTP Server 支持AIX 聯機文檔?

如何使用 IBM HTTP Server 支持AIX 聯機文檔?

日期:2017/2/27 17:41:11   编辑:IBM AIX
IBMAIXIBM AIX AIX 4.3提供了一個可選擇安裝的組件----基於Web的文檔和文檔查詢服務。它允許你檢索聯機的HTML文檔。可以將一台服務器設置為文檔服務器,別的機器作為客戶端訪問並檢索AIX 文檔。
在RS/6000客戶端安裝的組件有:
1. Web 浏覽器
2. bos.docsearch.client.*文件集

在RS/6000服務器端安裝的組件有:
1. Web 浏覽器
2. Web Server
3. 完整的bos.docsearch.*文件集
4. 文檔庫(Documentation libraries)

有多種方法來安裝和配置該組件,但是最簡單的方法是用configassist命令並選擇Configure Online Documentation and Search。當然也可以用SMIT菜單。以下介紹配置文檔服務器的步驟(以 root 登錄)。


1. 安裝 Web 浏覽器
===================
用smit install_latest安裝在AIX4.3 Bonus Pack CD中提供的Netscape navigator。選擇以下的包:

Netscape.msg.en_US.nav.rte
Netscape.nav.rte

2. 安裝Web Server
==================
在AIX4.3.3 Bonus Pack中包含了IBM HTTP Server作為Web服務器,代替了以前版本的Netscape FastTrack Server(AIX4.2.1)和 Lotus Go Web Server(AIX4.3.2)。
用smit install_latest安裝在AIX4.3 Bonus Pack CD中提供的IBM HTTP Web Server。選擇以下的包: - http_server.base (IBM HTTP Server)
- http_server.admin (Administration Server - used to configure the IBM HTTP Server)
- http_server.msg.xx_XX.admin (where xx_XX is your country code)
- http_server.frca (AIX 4.3.3 or later, or AIX 4.3.2 with APAR IY01609. This APAR cannot be installed on AIX 4.2.1.)
- http_server.html.xx_XX (where xx_XX is your country code)
- http_server.man.en_US (Apache documentation)
- http_server.modules

3. 安裝Documentation Search Service
====================================
用smit install_latest安裝在AIX4.3 安裝盤中的所有bos.docsearch文件集。

4. 配置Documentation Search Service
====================================
用smit web_configure 來設置

- Default browser
這裡選擇或鍵入起動浏覽器的命令,如netscape
- Documentation and Search Server
這裡我們設置文檔和查詢服務器的位置為:Local - this coomputer 回車,
在Web server SOFTWARE中選擇IBM HTTP Server web server, 回車。
如果不是AIX 4.3.3,則沒有該選項,請選擇"Other local server or above in non-default location",按回車,在以下的目錄中,根據你的web server 路徑設置改變相應的值,(如下例為HTTP Server 1.3.6,對於HTTP Server1.3.3,路徑為/usr/lpp/HTTPServer/share/cgi-bin 和 /usr/lpp/HTTPServer/share/htdocs) Local web server PORT number [80]
Local web server cgi-bin DIRECTORY /usr/HTTPServer/cgi-bin
Local web server HTML document directory /usr/HTTPServer/htdocs
按回車
5. 安裝聯機手冊(Online Manuals)
================================
隨AIX 安裝CD, 有兩張文檔CD:
The AIX Version 4.3 Base Documentation CD
The AIX Version 4.3 Extended Documentation CD
用smit install_latest將CD中的聯機手冊按需安裝到硬盤。對了,別忘了安裝bos.docregister,它是使用所有聯機文檔的先決條件。


6. 激活Documentation Search Service
====================================
配置完Documentation Search Service後,需要log out並重新log in,使得環境變量生效。

在CDE環境中,雙擊Application Manager 中的Documentation Search Service 圖標。或在命令行鍵入docsearch來激活Documentation Search Service,Netscape 將會起動,顯示Documentation Search Serviceyemian,之後,你就可以使用基於Browser的AIX聯機文檔了!

一個更簡單的使用辦法是在浏覽器中,鍵入如下的URL, 即可使用AIX 的Documentation Search Service:

http://[:]/cgi-bin/ds_form

其中:只是端口為非80時才須指定。



Copyright © Linux教程網 All Rights Reserved