Solaris 9 12/03 安装指南

(可选)配置 WAN Boot 日志服务器

如果要在系统(而不是客户机)上记录引导和安装日志消息,必须设置一个日志服务器。如果要在安装中使用带有 HTTPS 的日志服务器,必须将 WAN Boot 服务器配置为日志服务器。

要配置日志服务器,请按以下步骤进行操作。

配置日志服务器
  1. bootlog-cgi 脚本复制到日志服务器的 CGI 脚本目录中。


    # cp /usr/lib/inet/wanboot/bootlog-cgi \
      log-server-root/cgi-bin
    
    log-server-root/cgi-bin

    指定日志服务器的 Web 服务器目录中的 cgi-bin 目录。

  2. bootlog-cgi 脚本的权限更改为 755。


    # chmod 755 log-server-root/cgi-bin/bootlog-cgi
    
  3. 设置 wanboot.conf 文件中 boot_logger 参数的值。

    wanboot.conf 文件中,指定日志服务器中 bootlog-cgi 脚本的 URL。

    有关设置 wanboot.conf 文件中参数的详细信息,请参见创建 wanboot.conf 文件

    在安装期间,引导和安装日志消息记录在日志服务器的 /tmp 目录中。该日志文件名为 bootlog. hostname,其中 hostname 是客户机的主机名。


实例 40–10 针对使用 HTTPS 的 WAN Boot 安装配置日志服务器

以下实例将 WAN Boot 服务器配置为日志服务器。


# cp /usr/lib/inet/wanboot/bootlog-cgi /opt/apache/cgi-bin/
# chmod 755 /opt/apache/cgi-bin/bootlog-cgi