문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판이전 판다음 판 | 이전 판 | ||
| service:was:weblogic:install [2007/06/22 07:45] – mattabu | service:was:weblogic:install [2025/10/03 22:30] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 193: | 줄 193: | ||
| Configure Administrative Username and Password: | Configure Administrative Username and Password: | ||
| ----------------------------------------------- | ----------------------------------------------- | ||
| - | Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. | + | Create a user automatically assigned to the Administrative Role. |
| + | This user is the default administrator used to start development mode servers. | ||
| | Name | | Name | ||
| | | ||
| 줄 211: | 줄 212: | ||
| Configure Administrative Username and Password: | Configure Administrative Username and Password: | ||
| ----------------------------------------------- | ----------------------------------------------- | ||
| - | Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. | + | Create a user automatically assigned to the Administrative Role. |
| + | This user is the default administrator used to start development mode servers. | ||
| "*User password:" | "*User password:" | ||
| Input new *User password: OR [Exit][Reset][Accept]> | Input new *User password: OR [Exit][Reset][Accept]> | ||
| 줄 219: | 줄 221: | ||
| Configure Administrative Username and Password: | Configure Administrative Username and Password: | ||
| ----------------------------------------------- | ----------------------------------------------- | ||
| - | Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. | + | Create a user automatically assigned to the Administrative Role. |
| + | This user is the default administrator used to start development mode servers. | ||
| | Name | | Name | ||
| | | ||
| 줄 238: | 줄 241: | ||
| Configure Administrative Username and Password: | Configure Administrative Username and Password: | ||
| ----------------------------------------------- | ----------------------------------------------- | ||
| - | Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. | + | Create a user automatically assigned to the Administrative Role. |
| + | This user is the default administrator used to start development mode servers. | ||
| | Name | | Name | ||
| | | ||
| 줄 298: | 줄 302: | ||
| ===== Start Admin Server ===== | ===== Start Admin Server ===== | ||
| <code bash> | <code bash> | ||
| - | $ cd / | + | $ cd / |
| - | $ nohup ./ | + | $ nohup ./ |
| </ | </ | ||
| ===== Shutdown Admin Server ===== | ===== Shutdown Admin Server ===== | ||
| <code bash> | <code bash> | ||
| - | $ cd / | + | $ cd / |
| $ ./ | $ ./ | ||
| </ | </ | ||
| 줄 315: | 줄 319: | ||
| ==== Create ==== | ==== Create ==== | ||
| Console 메뉴에서 mydomain > Servers 를 선택하고, | Console 메뉴에서 mydomain > Servers 를 선택하고, | ||
| - | Name 에 적당한 이름(MyServer-1)을 입력하고, | + | Name 에 적당한 이름(Server-0)을 입력하고, |
| 마지막으로 Create 버튼을 클릭한다. 그러면 메뉴에서 mydomain > Servers 아래에 자신이 부여한 이름으로 Managed Server 가 생성된다. | 마지막으로 Create 버튼을 클릭한다. 그러면 메뉴에서 mydomain > Servers 아래에 자신이 부여한 이름으로 Managed Server 가 생성된다. | ||
| - | ==== Execute | + | |
| + | ==== Startup | ||
| 서버를 생성했다고 해서 끝이 난 것이 아니고, Shell Command 상에서 해당 Managed Server 를 실행해주어야 한다. | 서버를 생성했다고 해서 끝이 난 것이 아니고, Shell Command 상에서 해당 Managed Server 를 실행해주어야 한다. | ||
| <code bash> | <code bash> | ||
| - | $ nohup ./ | + | $ cd / |
| + | $ nohup ./ | ||
| + | </ | ||
| + | 만약 Managed Server 가 실행되지 않는다면, | ||
| + | cd / | ||
| + | boot.properties 파일이 없다면 아래내용을 입력한후 저장하고, | ||
| + | < | ||
| + | username=사용자아이디 | ||
| + | password=비밀번호 | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| ==== Shutdown ==== | ==== Shutdown ==== | ||
| <code bash> | <code bash> | ||
| - | $ / | + | $ / |
| - | -classpath / | + | -classpath / |
| -url t3:// | -url t3:// | ||
| -username 아이디 | -username 아이디 | ||
| - | -password 비밀번호 FORCESHUTDOWN | + | -password 비밀번호 FORCESHUTDOWN |
| + | </ | ||
| + | 또는 | ||
| + | < | ||
| + | $ cd / | ||
| + | $ ./ | ||
| </ | </ | ||
| ==== Start & Shutdowon 정리 ==== | ==== Start & Shutdowon 정리 ==== | ||
| - | 위와 같이 Weblogic Admin, Managed Server 를 시작, | + | * 위와 같이 Weblogic Admin, Managed Server 를 시작, |
| <code bash> | <code bash> | ||
| #!/bin/sh | #!/bin/sh | ||
| + | # | ||
| + | # desc : weblogic admin/ | ||
| + | # starlits@adminschool.net | ||
| + | # | ||
| ############################################################### | ############################################################### | ||
| 줄 462: | 줄 487: | ||
| exit 0; | exit 0; | ||
| - | </ | ||
| - | |||
| - | ===== non-root User로 80(< | ||
| - | 참고사이트 : http:// | ||
| - | |||
| - | ===== Debian 4.0 에서 Apache 2.2 + Weblogic 10 연동 ===== | ||
| - | 우선, Apache 2.2 를 설치한다. | ||
| - | < | ||
| - | # apt-get install apache2 apache2-mpm-prefork apache2-prefork-dev apache2-utils apache2.2-common | ||
| - | </ | ||
| - | |||
| - | 이미 설치된 웹로직 10 의 mod_wl_22.so 를 Apache 2.2 모듈 디렉토리로 복사한다. | ||
| - | < | ||
| - | # cd / | ||
| - | # apxs2 -i -a -n weblogic_module mod_wl_22.so | ||
| - | </ | ||
| - | |||
| - | weblogic.load 파일을 작성한다. | ||
| - | < | ||
| - | # cd / | ||
| - | # vi weblogic.load | ||
| - | LoadModule weblogic_module / | ||
| - | </ | ||
| - | |||
| - | weblogic.conf 파일을 작성한다. | ||
| - | < | ||
| - | # vi weblogic.conf | ||
| - | < | ||
| - | WebLogicCluster 아이피주소1: | ||
| - | DynamicServerList ON | ||
| - | MatchExpression *.jsp | ||
| - | ConnectTimeoutSecs 60 | ||
| - | KeepAliveEnabled ON | ||
| - | # Idempotent OFF | ||
| - | # | ||
| - | # | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | weblogic 모듈을 enable 시킨다. | ||
| - | < | ||
| - | # a2enmod weblogic | ||
| </ | </ | ||
| - | ===== 그 외 ===== | ||
| - | Apache 와 연동하는 법, 클러스터 구성하는 법 등에 대해서는 필요시 다시 정리하겠다. | ||
| - | 특히 클러스터를 구성을 하려면 L4가 있던지, Apache 와 연동이 되어 있어야 한다는 점은 알고 있어야겠다. | ||