개요
테스트 환경
WebLogic : Oracle WebLogic Server 12cR2 (12.2.1.3)
JDK : 1.8.0_221
CentOS 7.6
WebLogic 설치
환경 변수
ML_HOME=/home/weblogic/middleware
WL_HOME=$ML_HOME/wlserver
1. WebLogic Engine 설치
shell> java –jar fmw_12.2.1.3.0_wls.jar –silent –invPtrLoc /apsolute/path –responseFile /absolute/path
invPtrLoc 예)
inventory_loc=/home/weblogic/oraInventory/ inst_groups=weblogic |
responseFile 예)
ENGINE] Response File Version=1.0.0.0.0 [GENERIC] ORACLE_HOME=/home/weblogic/middleware INSTALL_TYPE=WebLogic Server MYORACLESUPPORT_USERNAME= MYORACLESUPPORT_PASSWORD=<SECURE VALUE> DECLINE_SECURITY_UPDATES=true SECURITY_UPDATES_VIA_MY ORACLESUPPORT=false PROXY_HOST= PROXY_PORT= PROXY_USER= PROXY_PWD=<SECURE VALUE> COLLECTOR_SUPPORTHUB_URL= |
2. 도메인 생성(CLI 모드)
shell> cp $WL_HOME/common/templates/scripts/wlst/basicWLSDomain.py /tmp/
shell> vi /tmp/basicWLSDomain.py
shell> $ML_HOME/oracle_common/common/bin/wlst.sh /tmp/basicWLSDomain.py
or
shell> $WL_HOME/common/bin/wlst.sh /tmp/basicWLSDomain.py ( 구버전에서 사용)
3. 도메인 구동
shell> $ML_HOME/user_projects/domains/basicWLSDmain/startWebLogic.sh
4. 웹로직 관리자 접속
http://ip:7001/console
WebLogic 삭제
1. 도메인 삭제
1.1 $ML_HOME/domain-registry.xml 수정
<?xml version="1.0" encoding="UTF-8"?> <domain-registry xmlns="http://xmlns.oracle.com/weblogic/domain-registry"> <domain location="/home/weblogic/middleware/user_projects/domains/basicWLSDomain"/> => 라인 삭제 </domain-registry> |
1.2 도메인이 설치된 디렉토리 삭제
shell> cd /home/weblogic/middleware/user_projects/domains
shell> rm -rf basicWLSDomain
2. WebLogic 엔진 삭제
$ML_HOME/oui/bin/deinstall -silent
'WEB & WAS > WebLogic' 카테고리의 다른 글
[WebLogic] WebLogic 설치후 JDK 업데이트 하기 (0) | 2019.09.11 |
---|---|
[WebLogic] Apache WebLogic 연동 (0) | 2019.09.10 |
[WebLogic] Node Manager 설정 (0) | 2019.09.10 |
[WebLogic] 어플리케이션 배포 (0) | 2019.09.09 |
[WebLogic] 서버 생성 (0) | 2019.09.08 |