如何使用IBM HTTP Server支持AIX联机文档?

来源:岁月联盟 编辑:zhu 时间:2008-01-26
如何使用IBM HTTP Server支持AIX联机文档?内容简介:【aix教程】 AIX 4.3提供了一个可选择安装的组件----基于Web的文档和文档查询服务。它答应你检索联机的HTML文档。可以将一台服务器设置为文档服务器,别的机器作为客户端访问并检索AIX 文档。 在RS/   【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时才须指定。
 

图片内容