Solaris for ISPs 安装指南

软件安装

本节讨论从命令行安装 Solaris for ISPs 的步骤。

安装 Solaris for ISPs 组件
  1. 登录到您要安装该软件的计算机上,并给予自己根访问权。

    如果您正在进行远程安装,则输入:

    • % rlogin remotehostname
    • % password
    • % su
    • Password: rootpassword

  2. 将目录变更为您安装所使用的媒体的根。

    将目录变更为您解包存放该电子分发物的目录,或已装配的 CD-ROM 的根目录。


注意:

然后请进入单个组件安装部分,以安装该组件。


安装 Solaris for ISPs 平台 (SUNWisp)

Solaris for ISPs 平台提供具有配置管理工具和强化记录功能的平台扩展。如果这是这台机器上的第一项 Solaris for ISPs 安装,那么您必须安装该软件。

  1. 将目录变更为 components/SUNWisp/

  2. 输入 ./install

    正文将请求为安装该组件提供一些配置信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWisp/)。

  4. Do you want to install the Solaris for ISPs Administration Guide?

    回车键选择 yes,或输入 b 选择 no。如选择 yes,则安装 HTML 格式的 Solaris for ISPs 管理指南

  5. Do you want to install the Host Configuration manual pages?

    回车键选择 yes,或输入 b 选择 no。如选择 yes,则安装主机配置命令行工具的手册页。

然后进行 "确定安装已经成功"

安装 JDK 1.1.5 (SUNWjdk)

JDK 1.1.5 提供 Solaris for ISPs 的多个组件所需的 Java 类。您无法定制该软件的安装。您必须在安装 JDK 1.1.5 之前安装 Solaris for ISPs 平台 (SUNWisp)。

  1. 将目录变更为 components/SUNWjdk/

  2. 输入 ./install

    正文请求为安装该组件提供信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWjdk/)。

然后进行 "确定安装已经成功"

安装 HotJava 1.1.4 (SUNWdthj)

这是您访问 SunTM Internet Administrator 必须使用的 Web 浏览器。您不能定制该软件的安装。您必须在安装 HotJavaTM 之前安装 Solaris for ISPs 平台 (SUNWisp)。

  1. 将目录变更为 components/SUNWdthj/

  2. 输入 ./install

    正文请求为安装该组件提供信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWdthj/)。

然后进行 "确定安装已经成功"

为 Solaris for ISPs 安装许可证服务器 (SUNWlicsw)

Solaris for ISPs 的 FlexLM 服务器。您无法定制该软件的安装。您必须在安装此许可证服务器之前安装 Solaris for ISPs 平台 (SUNWisp)。使用该软件的许可证书取得许可密钥,以便在 Sun Directory Services 中初始化更多的条目。安装方法:

  1. 将目录变更为 components/SUNWlicsw/

  2. 输入 ./install

    正文请求为安装该组件提供信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWlicsw/)。

然后进行 "确定安装已经成功"

安装 Sun Directory Services (SUNWconn)

这一“轻型目录访问协议”(LDAP) 实施方法在 SunTM Directory Services 中为用户(管理员)、服务配置和订户信息提供了共享的仓库。您必须在安装 Sun Directory Services 之前安装 Solaris for ISPs 平台 (SUNWisp) 和 JDK 1.1.5 (SUNWjdk)。

有关配置字段的详细信息,请参阅 Sun Directory Services 3.1 管理指南Sun Directory Services 3.1 用户指南Solaris for ISPs 管理指南 的第 5 和第 6 章

  1. 将目录变更为 components/SUNWconn/

    安装该组件前,请查阅 Solaris for ISPs 管理指南 的第 4 章以确认组件依赖性

  2. 输入 ./install

    正文将请求为安装该组件提供一些配置信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWconn/)。

  4. Do you want to run the RADIUS server included with Solaris for ISPs?

    回车键选择 yes,或输入 b 选择 no。如选择 no,则与 Solaris for ISPs 捆绑的 RADIUS 服务器将只安装,不启动。

  5. What country do you wish to specify as your root for this install of Sun Directory Services?

    输入您的两个字符的国家代码。可以按回车键接受缺省的 [US],也可指定您的两个字符的国家代码。

  6. Organization name for root of Sun Directory Services

    输入您的组织名(例如,Sun)。


    注意:

    第 2 和第 3 步中输入的值用来定义您在 OSI 树中的顶层判别名。例如,o=sun,c=us


  7. Root DN (distinguished name) for Sun Directory Services?

    输入用来绑定到目录服务的服务器管理员的判别名。使用格式 cn=admin,o=sun,c=US,其中cn 为 commonName(公用名),o 为 organizationName(组织名),c 为 countryName(国家名)。


    注意:

    这里,co 必须分别匹配 步骤 5步骤 6 中指定的值。


  8. Top level domain for Sun Directory Services?

    输入 Sun Directory Services DITs 的顶层域(例如,COM)。

  9. What do you wish to use as youradministrative root password?

    输入用来绑定到目录服务的服务器管理员(在 步骤 7 中指定)的口令。


    注意:

    如果您要 Sun Internet Administrator 联系此目录服务服务器,那么记下第 2 至第 6 步中输入的信息。


  10. Do you wish to have the Web Gateway server automatically started and monitored?

    Web 网关允许您通过一个 HTML 界面浏览目录中的条目。按回车键选择 yes,或输入 b 选择 no

  11. Do you wish to have the Sun Directory Services administration server automatically started and monitored?

    回车键选择 yes,或输入 b 选择 no


    注意:

    对守护程序进行监视使得在守护程序停止运行时,可以自动重新启动它们。如果您未选择在安装后启动和监视守护程序,您还可以在另外的时间手工启动这些守护程序,请参照 "启动目录服务"。有关应该怎样启动守护程序的详细信息,请参阅 Sun Directory Services 3.1 管理指南


然后进行 "确定安装已经成功"

安装 SKIP (SUNWicg)

Simple Key-management for Internet Protocols (SunscreenTM SKIP) 是推荐的用于 IP 加密的密钥管理标准。您无法定制此软件的安装。您必须在安装 SKIP 之前安装 Solaris for ISPs 平台 (SUNWisp) 。

  1. 将目录变更为 components/SUNWicg/

  2. 输入 ./install

    正文请求为安装该组件提供信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWicg/)。

然后进行 "确定安装已经成功"

安装 Sun Internet FTP Server (SUNWftp)

您无法定制 FTP 服务器的安装。您必须在安装 SunTM Internet FTP ServerTM 之前安装 Solaris for ISPs 平台 (SUNWisp) 和 JDK 1.1.5 (SUNWjdk)。安装后,若要访问本软件的基于浏览器的图形用户界面,一定要将此 Sun Internet FTP Server 在网络上的 Sun Internet Administrator 控制台注册。安装方法:

  1. 将目录变更为 components/SUNWftp/

  2. 输入 ./install

    正文请求为安装该组件提供信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWftp/)。

然后进行 "确定安装已经成功"

安装 Sun Internet News Server (SUNWsns)

这是一个具有高度可缩放性的多线程新闻服务器。您必须在安装 SunTM Internet News ServerTM 之前安装 Solaris for ISPs 平台 (SUNWisp) 和 JDK 1.1.5 (SUNWjdk)。安装后,若要访问本软件的基于浏览器的图形用户界面,一定要将此 Sun Internet News Server 在网络上的 Sun Internet Administrator 控制台注册。安装方法:

  1. 将目录变更为 components/SUNWsns/

    安装该组件前,请查阅 Solaris for ISPs 管理指南 的第 4 章以确认组件依赖性。

  2. 输入 ./install

    正文将请求为安装该组件提供一些配置信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWsns/)。

  4. Select the desired News server configuration

    回车键选择 Reader and Feeder Services,这是缺省的 [c] 选项。或输入:

    • a 选择 Reader Service Only (Remote feed),或
    • b 选择 Feeder Service Only


    注意:

    这三种选择使您可以指定您想从此新闻服务器提供的服务类型。


  5. Enter the UNIX user name of the News service administrator

    回车键接受负责管理此新闻服务器的新闻服务管理员的缺省 UNIX 用户名。缺省 uid 是根 (root)。Sun Internet News Server 只能被根访问。

  6. Enter the Unix group name of the News service administrator

    回车键接受负责管理此新闻服务器的新闻服务管理员的缺省 UNIX 组名。缺省 gidsys

然后进行 "确定安装已经成功"

安装 Sun WebServer (SUNWhttp)

这是由一些 Solaris for ISPs 组件使用的,并可以用于标准的 Web 服务。您必须在安装 SunTM WebServerTM 之前安装 Solaris for ISPs 平台 (SUNWisp) 和 JDK 1.1.5 (SUNWjdk)。安装方法:

  1. 将目录变更为 components/SUNWhttp/,其中 componentid 是您要安装的 Solaris for ISPs 组件的软件包名。

  2. 输入 ./install

    正文将请求为安装该组件提供一些配置信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWhttp/)。

  4. Do you want SSL support?

    这使您可以通过“安全插座层”(Secure Socket Layer, SSL) 与 Sun Internet Administrator 进行安全的通讯。SSL 支持为受保护的、加密的通讯提供的 Verisign 证书。按 回车键选择 yes,或输入 b 选择 no。如果选择 no,则将不安装 SSL 软件包。

  5. Do you want Java(TM) Servlet support?

    使用 Servlet 而不是 CGI 正文,可在服务器端提供 Java 的跨平台优势,同时提高处理速度。要支持 Java Servlet 需要安装 JDK 1.1.5 组件。按回车键选择 yes,或输入 b 选择 no

  6. Do you want Apache configuration emulation so that Microsoft FrontPage Server Extensions may be installed?

    This option allows your customers to use Microsoft FrontPage for authoring, administration, and dynamic content.

    回车键选择 no,或输入 b 选择 yes


    注意:

    x86 目前不能使用 FrontPage Server Extensions(FrontPage 服务器扩展)。


  7. Do you want this installation to create and populate a web server and site in /var/http/sws_server?

    回车键选择 yes,或输入 b 选择 no。如选择 yes,则一个 Web 服务器和一个可定制的 Web 站点将被创建。

  8. Under what user name should a Web server daemon operate by default?

    指定此 Web 服务器守护程序在什么用户名下运行。


    注意:

    出于安全考虑,不要作为 root 用户或 nobody 用户运行 Sun WebServer。建议创建第二个用户,然后以该用户名执行 Sun WebServer 守护程序。


然后进行 "确定安装已经成功"

安装 Sun Internet Administrator (SUNWixamc)

这为分布式 Internet 服务提供了安全的集中管理。如果您安装 Sun Internet FTP Server (SUNWftp) 或 Sun Internet News Server (SUNWsns),您必须 安装此软件以访问它们的用户界面。您必须在安装 Sun Internet Administrator 之前安装 Solaris for ISPs 平台 (SUNWisp)、JDK 1.1.5 (SUNWjdk) 和 Sun WebServer (SUNWhttp)。

您在这里输入的配置信息被存储在 /var/opt/SUNWixamc/awsconf/aws.conf 中。安装方法:

  1. 将目录变更为 components/SUNWixamc/,其中,componentid 是您要安装的 Solaris for ISPs 组件的软件包名称。

  2. 输入 ./install

    正文将请求为安装该组件提供一些配置信息。

  3. Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWixamc/)。

  4. Install the Solaris for ISPs manual pages?

    此选项使您可以安装联机 Solaris for ISPs man 页。按回车键选择 yes,或输入 b 选择 no

  5. Enter the host name of the Sun(TM) Directory Services servers

    输入 Sun Directory Services 服务器的主机名,Sun Internet Administrator 将与之联系以生成初始条目。

  6. Enter Sun(TM) Directory Services administrator's DN (Eg, cn=admin,o=sun,c=US). This value must match what you specified for Sun Directory Services

    输入您在安装 Sun Directory Services 时指定(在 步骤 7 中)的数据仓库管理员的判别名。若要指定,使用格式: cn=admin,o=sun,c=US,其中,cn 是 commonName(公用名),o 是 organizationName(组织名),c 是 countryName(国家名)。

  7. Enter Sun Directory Services administrator's password.

    输入在 步骤 6 中指定的数据仓库管理员的口令。

  8. Enter the Sun(TM) Directory Services top level DN (for example, o=sun,c=US). This value must match the Country and Organization name that were specified for Sun Directory Services.

    输入您在安装 Sun Directory Services 时指定(在 步骤 5步骤 6 中)的根域的顶层判别名。若要指定,使用格式:o=sun,c=US,其中,o 是 organizationName(组织名),c 是 countryName(国家名)。


    注意:

    您在第 2 至第 5 步输入的值,必须与您在安装目录服务(Sun Internet Administrator 将与之联系以生成初始条目)时输入的值相匹配。


  9. Enter a user name for the administrator of Sun(TM) Internet Administrator

    输入 Sun Internet Administrator 控制台的管理员的用户登录名。

  10. Enter a password for the administrator of Sun(TM) Internet Administrator

    输入在 步骤 9 中指定的 Sun Internet Administrator 的管理员的口令。


    注意:

    您需要在第 6 和第 7 步中输入的信息以登录到 Sun Internet Administrator 控制台。


然后进行 "确定安装已经成功"

安装 Sun Internet Services Monitor (SUNWixmon)

此性能监视软件允许您设置模拟用户对于服务的经验的特殊客户机。您必须在安装 SunTM Internet Services MonitorTM 之前安装 Solaris for ISPs 平台 (SUNWisp) 和 Sun WebServer (SUNWhttp)。安装方法:

    将目录变更为 components/SUNWixmon/

    输入 ./install

    正文将请求为安装该组件提供一些配置信息。

    Please enter the root of the distribution media:

    输入您正使用的安装媒体的路径。根据安装所使用的媒体,输入您用来解包存放该电子分发物的目录的路径,或输入已装配的 CD-ROM 的目录路径(例如,DistributionMediaPath/components/SUNWixmon/)。

    What port should the monitor use?

    回车键接受缺省端口。Sun Internet Services Monitor(Sun Internet 服务监视器)使用的缺省端口号为 2381。


    注意:

    在 Sun Internet Administrator 上注册后,您切不可变更 SUNWixmon Web 服务器进程的端口。变更端口会使 Sun Internet Administrator 需要的信息失效。如果必须变更端口,则请参见 Sun Internet Administrator 在线帮助。


然后进行 "确定安装已经成功"

安装 LDAP 客户库软件包 (SUNWlldap)

您可以在您的网络中的任何机器上安装 LDAP(轻型的目录访问协议)客户库,以便可以访问 LDAP 库。安装后,安装 LDAP 手册页修补程序(106497-01 或 106498-01)以访问手册页。安装方法:

  1. 如果您使用 CD-ROM 进行安装,那么加载 CD-ROM,并登录到想要安装此软件的计算机上。或者,登录到您解包存放此电子分发物的计算机上。

  2. 给予您自己根访问权。若要获得根访问权,输入:

    • % su
    • Password: rootpassword

  3. 将目录变更为安装媒体的根。

    将目录变更为您解包存放此电子分发物的目录,或已装配的 CD-ROM 的根目录。

  4. 将目录变更为 /components/SUNWisp/pkgs

  5. 输入 # tar -cvf SUNWlldap /tmp/SUNWlldap.tar

    即将 SUNWlldap.tar 软件包存储在 /tmp 目录中。您只有在准备将文件复制到另一台机器上时,才可以 tar 该文件。

  6. 如果您在从 CD-ROM 安装,则进入第 7 步。如果您从电子分发物安装,则您必须从解包此电子分发物的机器上注销,并登录到想安装该软件包的机器上。给予您自己根访问权,然后进行第 6 步。

  7. 获取 SUNWlldap.tar 并输入 # tar -xvf SUNWlldap.tar 以 untar 该文件。

  8. 输入 # pkgadd -d . SUNWlldap

    即安装 LDAP 客户库软件包。