Technical posts/Web & WAS

webtier 12c silent 설치

ODB 2017. 3. 15. 18:01

webtier 12c / OHS 12c silent installation


먼저 설치 이미지를 준비한다


http://www.oracle.com/technetwork/middleware/webtier/downloads/index-jsp-156711.html

에서 아래를 다운로드 한다


파일 준비가 끝났다면 준비된 서버에 업로드 하자

필자의 OS정보는 아래와 같다

 [webtier@centos6 bin]$ uname -a

Linux centos6 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

[webtier@centos6 bin]$ cat /etc/redhat-release

CentOS release 6.6 (Final)


설치를 하기 전에 requirement를 살펴보면

http://docs.oracle.com/cd/E23104_01/sysreqs1221/sysrs.htm#BABJBCAI

이고

x86-64

Oracle Linux 6 (Update 6)

Red Hat Linux 6 (Update 6)

binutils-2.20.51.0.2-5.28.el6
compat-libcap1-1.10-1
compat-libstdc++-33-3.2.3-69.el6 for x86_64
compat-libstdc++-33-3.2.3-69.el6 for i686
gcc-4.4.4-13.el6
gcc-c++-4.4.4-13.el6
glibc-2.12-1.7.el6 for x86_64
glibc-2.12-1.7.el6 for i686
glibc-devel-2.12-1.7.el6 for i686
libaio-0.3.107-10.el6
libaio-devel-0.3.107-10.el6
libgcc-4.4.4-13.el6
libstdc++-4.4.4-13.el6 for x86_64
libstdc++-4.4.4-13.el6 for i686
libstdc++-devel-4.4.4-13.el6
libXext for i686
libXtst for i686
openmotif-2.2.3 for x86_64
openmotif22-2.2.3 for x86_64
sysstat-9.0.4-11.el6


잘 설치하도록 하자


필자는 귀찮아서 

yum install -y binutils*el6 compat-libcap* compat-libstdc*.el6 compat-libstdc*i686 gcc*.el6 gcc-c*el6 glibc*el6 glibc*i686 glibc-deve*i686 libaio*el6 libaio-devel*el6 libgcc*el6 libstdc++*el6 libstdc++i686 libXext*i686 libXtst*i686 openmotif* openmotif*i686 sysstat*el6

로 설치를 했다


유저생성은 webtier

그룹은 web

으로 생성하고 진행 한다


설치파일 압축을 풀고


[webtier@centos6 webtier]$ unzip *.zip
Archive:  fmw_12.2.1.2.0_ohs_linux64_Disk1_1of1.zip
  inflating: fmw_12.2.1.2.0_ohs_linux64.bin
  inflating: fmw_12212_readme.htm

[webtier@centos6 webtier]$


oraInst.loc 생성
[webtier@centos6 webtier]$ mkdir /webtier/oraInventory
[webtier@centos6 webtier]$ cd /webtier/oraInventory
[webtier@centos6 webtier]$ vi oraInst.loc
[webtier@centos6 webtier]$ cat oraInst.loc
inventory_loc=/webtier/oraInventory

inst_group=web


설치시작


./fmw_12.2.1.2.0_ohs_linux64.bin -silent  -invPtrLoc /webtier/oraInventory/oraInst.loc  ORACLE_HOME=/webtier/ohs1221 DECLINE_SECURITY_UPDATES=true INSTALL_TYPE="Standalone HTTP Server (Managed independently of WebLogic server)"

[webtier@centos6 webtier]$ ./fmw_12.2.1.2.0_ohs_linux64.bin -silent  -invPtrLoc /webtier/oraInventory/oraInst.loc  ORACLE_HOME=/webtier/ohs1221 DECLINE_SECURITY_UPDATES=true INSTALL_TYPE="Standalone HTTP Server (Managed independently of WebLogic server)"
0%...................................................................................................100%
Launcher log file is /tmp/OraInstall2017-03-15_10-31-41AM/launcher2017-03-15_10-31-41AM.log.
Checking if CPU speed is above 300 MHz.   Actual 2499.999 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 2047 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 82627 MB    Passed


Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2017-03-15_10-31-41AM
Log: /tmp/OraInstall2017-03-15_10-31-41AM/install2017-03-15_10-31-41AM.log
Setting ORACLE_HOME to /webtier/ohs1221
Setting DECLINE_SECURITY_UPDATES to true
Setting INSTALL_TYPE to Standalone HTTP Server (Managed independently of WebLogic server)
Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
Skipping Software Updates
Starting check : CertifiedVersions
Expected result: One of redhat-7,redhat-6,oracle-6,oracle-7,SuSE-11,SuSE-12
Actual Result: redhat-6.6
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.


Starting check : Packages
Checking for binutils-2.20.51.0.2; found binutils-2.20.51.0.2-5.44.el6-x86_64.  Passed
Checking for compat-libcap1-1.10; found compat-libcap1-1.10-1-x86_64.   Passed
Checking for compat-libstdc++-33-3.2.3-x86_64; found compat-libstdc++-33-3.2.3-69.el6-x86_64. Passed
Checking for libgcc-4.4.4-x86_64; found libgcc-4.4.7-17.el6-x86_64.     Passed
Checking for libstdc++-4.4.4-x86_64; found libstdc++-4.4.7-17.el6-x86_64.       Passed
Checking for libstdc++-devel-4.4.4-x86_64; found libstdc++-devel-4.4.7-17.el6-x86_64.   Passed
Checking for sysstat-9.0.4; found sysstat-9.0.4-31.el6-x86_64.  Passed
Checking for gcc-4.4.4; found gcc-4.4.7-17.el6-x86_64.  Passed
Checking for gcc-c++-4.4.4; found gcc-c++-4.4.7-17.el6-x86_64.  Passed
Checking for make-3.81; found make-1:3.81-23.el6-x86_64.        Passed
Checking for glibc-2.12-x86_64; found glibc-2.12-1.192.el6-x86_64.      Passed
Checking for glibc-devel-2.12-x86_64; found glibc-devel-2.12-1.192.el6-x86_64.  Passed
Checking for libaio-0.3.107-x86_64; found libaio-0.3.107-10.el6-x86_64. Passed
Checking for libaio-devel-0.3.107-x86_64; found libaio-devel-0.3.107-10.el6-x86_64.     Passed
Check complete. The overall result of this check is: Passed
Packages Check: Success.


Starting check : Kernel
Checking for VERSION=2.6.32; found VERSION=2.6.32-504.el6.x86_64.       Passed
Checking for hardnofiles=4096; found hardnofiles=4096.  Passed
Checking for softnofiles=4096; found softnofiles=4096.  Passed
Check complete. The overall result of this check is: Passed
Kernel Check: Success.


Starting check : TotalMemory
Expected result: 1024MB
Actual Result: 4840MB
Check complete. The overall result of this check is: Passed
TotalMemory Check: Success.


Starting check : CheckJDKVersion
Expected result: 1.8.0_101
Actual Result: 1.8.0_101
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.


Validations are enabled for this session.
Verifying data
Copying Files
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Visit http://www.oracle.com/support/policies.html for Oracle Technical Support policies.
Percent Complete : 100

The installation of Oracle HTTP Server 12.2.1.2.0 completed successfully.
Logs successfully copied to /webtier/oraInventory/logs.
[webtier@centos6 webtier]$ ls
fmw_12.2.1.2.0_ohs_linux64.bin                 fmw_12212_readme.htm  
fmw_12.2.1.2.0_ohs_linux64_Disk1_1of1 (1).zip  ohs1221               oraInventory

[webtier@centos6 webtier]$ 


설치끝!

"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."