Sun Java Enterprise System 2005Q4 インストールガイド(UNIX 版)

Web Server の起動と停止

Web Server のインストール時には、デフォルトで 2 つのサーバーインスタンスがインストールされます。管理サーバーインスタンスと Web Server インスタンスです。Web Server には依存関係がありません。

ProcedureWeb Server Administration Server とインスタンスの起動

手順
  1. コマンド行で、WebServer-base/https-admserv ディレクトリに移動します。

  2. 次のコマンドを入力して Web Server 管理プロセスを起動します。


    ./start
  3. WebServer-base/https-hostname.domainname に移動します。

  4. 次のコマンドを入力して Web Server インスタンスを起動します。


    ./start

    次のメッセージが表示されるはずです。startup: Server started successfully.

  5. 2つの Web Server プロセスが実行中であることを確認します。たとえば、Solaris OS の場合は次のようにします。


    /usr/bin/ps -ef | grep SUNWwbsvr

    ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n http
    ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-host1.example.com
    webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n https-admserv
    webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n https-admserv
    webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-host1.example.com/config
    webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-host1.example.com/config
  6. 管理サーバーのグラフィカルインタフェースにアクセスします。

    ブラウザで、http://hostname .domainname:adminport という形式で入力します。次に例を示します。

    http://host1.example.com:8888

    ログインすることにより、インストールが成功したことを確認できます。

ProcedureWeb Server Administration Server とインスタンスの停止

手順
  1. コマンド行で、WebServer-base/https-admserv ディレクトリに移動します。

  2. 次のコマンドを入力して Web Server 管理プロセスを停止します。


    ./stop
  3. WebServer-base/https-hostname.domainname に移動します。

  4. 次のコマンドを入力して Web Server インスタンスを停止します。


    ./stop
  5. Web Server プロセスが実行していないことを確認します。次に例を示します。


    ps -ef | grep SUNWwbsvr