适用于 UNIX 的 Sun Java Enterprise System 5 安装指南

启动和停止 Web Server

当您安装 Web Server 时,默认情况下会安装以下两个服务器实例:Administration Server 实例和 Web Server 实例。

Procedure启动 Web Server

  1. 启动 Administration Server。例如:

    对于 Solaris OS: /var/opt/SUNWwbsvr7/admin-server/bin/startserv

    对于 Linux 和 HP-UX:/var/opt/sun/webserver7/admin-server/bin/startserv

  2. 启动 Web Server 实例。例如:

    对于 Solaris OS:/var/opt/SUNWwbsvr7/https-instanceName/bin/startserv

    对于 Linux 和 HP-UX:/var/opt/sun/webserver7/https-instanceName/bin/startserv

  3. 访问 Web Server Administration Server 管理实例:

    在浏览器窗口中,使用 http://hostname .domainname :adminport 格式。例如:

    对于 SSL 端口(此为默认端口):https://host1.example.com:8989

    对于 HTTP 端口:http://host1.example.com:8800

    若能登录,则证明安装已成功。

Procedure停止 Web Server

  1. 停止 Administration Server。例如:

    对于 Solaris OS:/var/opt/SUNWwbsvr7/admin-server/bin/stopserv

    对于 Linux 和 HP-UX:/var/opt/sun/webserver7/admin-server/bin/stopserv

  2. 停止 Web Server 实例。例如:

    对于 Solaris OS:/var/opt/SUNWwbsvr7/https-instanceName/bin/stopserv

    对于 Linux 和 HP-UX:/var/opt/sun/webserver7/https-instanceName/bin/stopserv