Translate

2018년 8월 5일 일요일

[WebLogic][Linux] 웹로직 11g 콘솔모드 설치 (ver. 10.3.0 ~ 12.1.1)










지원 WebLogic ver: 10.3.0 ~ 12.1.1


실습환경
 - OS: OracleLinux 5
 - WebLogic ver: 10.3.6

1004lucifer



다운로드
오라클 링크가 바뀔 수 있기에 링크는 따로 걸지 않는다.
받아야 할 항목은 아래와 같다.




아래의 방법대로 리눅스에 웹로직을 설치 했다.


[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$ ll
total 1113868
-rwxr-xr-x 1 weblogic weblogic   72087592 Aug  5 10:08 jdk-6u45-linux-x64.bin
-rw-r--r-- 1 weblogic weblogic 1068506707 Aug  5 09:40 wls1036_generic.jar
[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$
# 설치파일에 실행 권한을 부여한다.
[weblogic@ae2793daea03 ~]$ chmod 755 wls1036_generic.jar
[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$ ll
total 1113868
-rwxr-xr-x 1 weblogic weblogic   72087592 Aug  5 10:08 jdk-6u45-linux-x64.bin
-rwxr-xr-x 1 weblogic weblogic 1068506707 Aug  5 09:40 wls1036_generic.jar
[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$
# 시스템언어가 한국어인 경우 설치과정도 한국어로 표시되는데 한국어 사용 시 오류가 발생할 수 있으므로 로케일을 C로 변경한다.
[weblogic@ae2793daea03 ~]$ export LANG=C
[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$
[weblogic@ae2793daea03 ~]$
# java 명령어를 이용해 설치파일을 실행한다.
[weblogic@ae2793daea03 ~]$ java -jar wls1036_generic.jar
Unable to instantiate GUI, defaulting to console mode.
Extracting 0%....................................................................................................100%





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Welcome:
--------

This installer will guide you through the installation of WebLogic 10.3.6.0.
Type "Next" or enter to proceed to the next prompt.  If you want to change data entered previously, type "Previous".  You may quit the installer at any time by typing "Exit".




Enter [Exit][Next]> 엔터입력





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Middleware Home Directory:
---------------------------------

    "Middleware Home" = [Enter new value or use default
"/home/weblogic/Oracle/Middleware"]



# 설치할 경로를 입력한다. 경로 권한 확인에 주의
Enter new Middleware Home OR [Exit][Previous][Next]> /app/weblogic1036





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Middleware Home Directory:
---------------------------------

    "Middleware Home" = [/app/weblogic1036] # 설치경로 변경됨 확인

Use above value or select another option:
    1 - Enter new Middleware Home
    2 - Change to default [/home/weblogic/Oracle/Middleware]




Enter option number to select OR [Exit][Previous][Next]> 엔터입력





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------
1004lucifer
Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[Yes]


# 보안 업데이트 받지 않기위해 3번 입력
Enter index number to select OR [Exit][Previous][Next]> 3





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "Receive Security Update:" = [Enter new value or use default "Yes"]



Enter [Yes][No]? No





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "Receive Security Update:" = [Enter new value or use default "Yes"]


    ** Do you wish to bypass initiation of the configuration manager and
    **  remain uninformed of critical security issues in your configuration?


Enter [Yes][No]? Yes





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[No] # No로 변경된 것 확인



Enter index number to select OR [Exit][Previous][Next]> 엔터입력





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
1004lucifer
Choose Install Type:
--------------------

Select the type of installation you wish to perform.

 ->1|Typical
    |  Install the following product(s) and component(s):
    | - WebLogic Server
    | - Oracle Coherence

   2|Custom
    |  Choose software products and components to install and perform optional
    |configuration.




# 커스텀으로 선택
Enter index number to select OR [Exit][Previous][Next]> 2





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Products and Components:
-------------------------------

    Release 10.3.6.0
    |_____WebLogic Server [1] x
    |    |_____Core Application Server [1.1] x
    |    |_____Administration Console [1.2] x
    |    |_____Configuration Wizard and Upgrade Framework [1.3] x
    |    |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
    |    |_____WebLogic SCA [1.5] x
    |    |_____WebLogic JDBC Drivers [1.6] x
    |    |_____Third Party JDBC Drivers [1.7] x
    |    |_____WebLogic Server Clients [1.8] x
    |    |_____WebLogic Web Server Plugins [1.9] x
    |    |_____UDDI and Xquery Support [1.10] x
    |    |_____Server Examples [1.11]
    |    |_____Evaluation Database [1.12] x
    |_____Oracle Coherence [2] x
         |_____Coherence Product Files [2.1] x
         |_____Coherence Examples [2.2]

    *Estimated size of installation: 690.2 MB



# Coherence 는 필요하지 않아 2번 선택 x 표시가 선택된 것
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 2





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Products and Components:
-------------------------------

    Release 10.3.6.0
    |_____WebLogic Server [1] x
    |    |_____Core Application Server [1.1] x
    |    |_____Administration Console [1.2] x
    |    |_____Configuration Wizard and Upgrade Framework [1.3] x
    |    |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
    |    |_____WebLogic SCA [1.5] x
    |    |_____WebLogic JDBC Drivers [1.6] x
    |    |_____Third Party JDBC Drivers [1.7] x
    |    |_____WebLogic Server Clients [1.8] x
    |    |_____WebLogic Web Server Plugins [1.9] x
    |    |_____UDDI and Xquery Support [1.10] x
    |    |_____Server Examples [1.11]
    |    |_____Evaluation Database [1.12] x
    |_____Oracle Coherence [2]      # x 표시가 없어진 것을 확인
         |_____Coherence Product Files [2.1]
         |_____Coherence Examples [2.2]

    *Estimated size of installation: 678.7 MB




Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 엔터입력





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

JDK Selection (Any * indicates Oracle Supplied VM):
---------------------------------------------------

JDK(s) chosen will be installed.  Defaults will be used in script string-substitution if installed.

   1|Add Local Jdk
   2|/app/jdk1.6.0_45[x] # 설치된 자바경로 기본선택 상태



   *Estimated size of installation:  678.7 MB

# 설치된 자바경로 선택이 되어있지 않다면 경로를 직접 입력해 줘야 한다.
Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]> 엔터입력





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Product Installation Directories:
----------------------------------------

Middleware Home Directory: [/app/weblogic1036]

Product Installation Directories:


    "WebLogic Server" = [Enter new value or use default
"/app/weblogic1036/wlserver_10.3"]  # 변경된 경로 확인




Enter new WebLogic Server OR [Exit][Previous][Next]> 엔터입력





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

The following Products and JDKs will be installed:
--------------------------------------------------

    WebLogic Platform 10.3.6.0
    |_____WebLogic Server
         |_____Core Application Server
         |_____Administration Console
         |_____Configuration Wizard and Upgrade Framework
         |_____Web 2.0 HTTP Pub-Sub Server
         |_____WebLogic SCA
         |_____WebLogic JDBC Drivers
         |_____Third Party JDBC Drivers
         |_____WebLogic Server Clients
         |_____WebLogic Web Server Plugins
         |_____UDDI and Xquery Support
         |_____Evaluation Database
1004lucifer
    *Estimated size of installation: 678.8 MB




Enter [Exit][Previous][Next]> 엔터입력
Aug 5, 2018 10:21:26 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Installing files..

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Performing String Substitutions...





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Configuring OCM...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Creating Domains...





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Installation Complete


Congratulations! Installation is complete.


Press [Enter] to continue or type [Exit]> 엔터입력





<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Clean up process in progress ...
[weblogic@ae2793daea03 ~]$




설치 후 도메인 구성은 아래를 참고
 - 링크: [WebLogic][Linux] 웹로직 콘솔모드 도메인구성 (10.3 ~ 12.1.1)




PS.
WebLogic v10.3.6을 사용시 Patch 파일을 구할 수 있다면 패치하기를 권장한다.
특히나 SSL/TLS(https)를 사용 예정이라면 패치하지 않은경우 특정브라우저에서 화면이 보이지않는 이슈가 있으니 가능하다면 하길 바란다.
 - 링크: 웹로직 Patch 설치/제거/확인 방법 (BSU 이용)
 - 링크: 특정 브라우저에서 HTTPS 접속 시 화면이 보이지 않는경우 (Cipher Suites 이슈)



주의(필수사항)!!
WebLogic 처음 설치 시 패치하기 전까지 원격실행 가능한 취약점이 존재하니 아래의 링크에서 취약점 패치를 무조건 해줘야 한다.
 - 링크: CVE-2017-10271 취약점 패치방법




====================
2019.01.09 추가내용.
WebLogic v10.3.6 사용 시 JDK7 사용할 것을 권장한다.

WebLogic 버전 v10.3.0 => v10.3.6 변경 시 JDK6 에서 GC 및 OOME(Out of Memory Error) 이슈가 발생을 했다.
링크: WebLogic v10.3.6 에서 발생하는 GC 및 OOME(Out of Memory Error) 이슈
====================


참고서적



댓글 없음 :

댓글 쓰기