Sun Java Enterprise System 2005Q4 설치 설명서

Web Server 시작 및 중지

Web Server를 설치할 때 기본적으로 두 서버 인스턴스, Administration Server 인스턴스와 Web Server 인스턴스가 설치됩니다. Web Server는 어느 것에도 종속되지 않습니다.

ProcedureWeb Server Administration Server 및 인스턴스를 시작하려면

단계
  1. 명령줄에서 WebServer-base /https-admserv로 변경합니다.

  2. 다음명령을입력하여관리프로세스를시작합니다


    ./start
  3. WebServer-base/https- hostname.domainname으로 변경합니다.

  4. 다음명령을입력하여인스턴스를시작합니다


    ./start

    다음 메시지가 표시되어야 합니다. startup: Server started successfully.

  5. 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. Administration Server 그래픽 인터페이스에 액세스합니다.

    브라우저에서 http://hostname .domainname: adminport 형식을 입력합니다. 예를 들면 다음과 같습니다

    http://host1.example.com:8888

    로그인되면성공적으로설치된것입니다

Procedure및인스턴스를중지하려면

단계
  1. 명령줄에서 WebServer-base /https-admserv로 변경합니다.

  2. 다음명령을입력하여관리프로세스를중지합니다


    ./stop
  3. WebServer-base/https- hostname.domainname으로 변경합니다.

  4. 다음명령을입력하여인스턴스를중지합니다


    ./stop
  5. Web Server 프로세스가 더 이상 실행되지 않는지 확인합니다. 예를 들면 다음과 같습니다


    ps -ef | grep SUNWwbsvr