如何使用 IBM HTTP Server 支持AIX 联机文档?(1) 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 登录)。
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]