티스토리 뷰

머신 하드웨어 정보, 오라클 릴리즈, 커널 릴리즈등을 확인한다.

[root@enp0s3 ~]# uname -m
x86_64
[root@enp0s3 ~]# cat /etc/oracle-release
Oracle Linux Server release 7.9
[root@enp0s3 ~]# uname -r
3.10.0-1160.42.2.el7.x86_64

 

Preinstallation을 사용하지 않을 경우 필요한 패키지가 설치되어 있는지 확인하고 설치한다. 다음은 19c의 ol7 기준 필요 패키지이다. 

[root@enp0s3 ~]# rpm -q bc binutils compat-libcap1 compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel fontconfig-devel glibc glibc-devel ksh libaio libaio-devel libXrender libXrender-devel libX11 libXau libXi libXtst libgcc libstdc++ libstdc++-devel libxcb make policycoreutils policycoreutils-python smartmontools sysstat
bc-1.06.95-13.el7.x86_64
binutils-2.27-44.base.0.1.el7.x86_64
compat-libcap1-1.10-7.el7.x86_64
compat-libstdc++-33-3.2.3-72.el7.x86_64
elfutils-libelf-0.176-5.el7.x86_64
elfutils-libelf-devel-0.176-5.el7.x86_64
fontconfig-devel-2.13.0-4.3.el7.x86_64
glibc-2.17-324.0.1.el7_9.x86_64
glibc-devel-2.17-324.0.1.el7_9.x86_64
ksh-20120801-142.0.1.el7.x86_64
libaio-0.3.109-13.el7.x86_64
libaio-devel-0.3.109-13.el7.x86_64
libXrender-0.9.10-1.el7.x86_64
libXrender-devel-0.9.10-1.el7.x86_64
libX11-1.6.7-2.el7.x86_64
libXau-1.0.8-2.1.el7.x86_64
libXi-1.7.9-1.el7.x86_64
libXtst-1.2.3-1.el7.x86_64
libgcc-4.8.5-44.0.3.el7.x86_64
libstdc++-4.8.5-44.0.3.el7.x86_64
libstdc++-devel-4.8.5-44.0.3.el7.x86_64
libxcb-1.13-1.el7.x86_64
make-3.82-24.el7.x86_64
policycoreutils-2.5-34.0.1.el7.x86_64
policycoreutils-python-2.5-34.0.1.el7.x86_64
smartmontools-7.0-2.el7.x86_64
sysstat-10.1.5-19.el7.x86_64

 

설치에 필요한 그룹을 groupadd 명령으로 생성한다. 나열한 그룹외에도 asm관련된 그룹을 추가할 수도있다. 

[root@enp0s3 ~]# groupadd -g 54321 oinstall
[root@enp0s3 ~]# grep oinstall /etc/group    # 이렇게 one-by-one으로 확인할 수도 있다
oinstall:x:54321:
[root@enp0s3 ~]# groupadd -g 54322 dba
[root@enp0s3 ~]# groupadd -g 54323 oper
[root@enp0s3 ~]# groupadd -g 54324 backupdba
[root@enp0s3 ~]# groupadd -g 54325 dgdba
[root@enp0s3 ~]# groupadd -g 54326 kmdba
[root@enp0s3 ~]# tail /etc/group             # tail, vim, cat, more 명령으로 확인할 수도 있다
stapdev:x:158:
tcpdump:x:72:
sjh:x:1000:
vboxsf:x:982:sjh
oinstall:x:54321:
dba:x:54322:
oper:x:54323:
backupdba:x:54324:
dgdba:x:54325:
kmdba:x:54326:
[root@enp0s3 ~]# more /etc/group             # tail, vim, cat, more 명령으로 확인할 수도 있다
root:x:0:
bin:x:1:

# ... 생략 ...

oinstall:x:54321:
dba:x:54322:
oper:x:54323:
backupdba:x:54324:
dgdba:x:54325:
kmdba:x:54326:

 

설치 오너 사용자를 생성한다. 

[root@enp0s3 ~]# useradd -u 54321 -g oinstall -G dba,oper,backupdba,dgdba,kmdba oracle
[root@enp0s3 ~]# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba)
[root@enp0s3 ~]# groups oracle
oracle : oinstall dba oper backupdba dgdba kmdba
[root@enp0s3 ~]# passwd oracle
oracle 사용자의 비밀 번호 변경 중
새  암호:
잘못된 암호: 암호는 8 개의 문자 보다 짧습니다
새  암호 재입력:
passwd: 모든 인증 토큰이 성공적으로 업데이트 되었습니다.

 

설치에 필요한 디렉토리를 mkdir로 생성하고 액세스 권한, 디렉토리 소유권을 수정한다. 아래 예에서는 이미 mkdir로 생성하고 설치했던 디렉토리라서 mkdir 명령 부분이나 chown 명령 적용에 관한 내용이 없지만 간단히 수행할 수 있다. 해당 디렉토리는 각각 ORACLE_HOME, 오라클 인벤토리 디렉토리에 해당한다. 접근 권한은 775 또는 755로 설정하고 진행한다.  

[root@enp0s3 ~]# mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1
[root@enp0s3 ~]# mkdir -p /u01/app/oraInventory
[root@enp0s3 sjh]# ls -la /u01/app/oracle
합계 0
drwxr-xr-x. 3 root root 21 11월 11 15:02 .
drwxr-xr-x. 4 root root 40 11월 11 15:02 ..
drwxr-xr-x. 3 root root 20 11월 11 15:02 product
[root@enp0s3 ~]# ls -la /u01/app/oraInventory/
합계 0
drwxr-xr-x. 2 root root  6 11월 11 15:02 .
drwxr-xr-x. 4 root root 40 11월 11 15:02 ..
[root@enp0s3 ~]# chown -R oracle:oinstall /u01/app/oracle/
[root@enp0s3 ~]# chown -R oracle:oinstall /u01/app/oraInventory/
[root@enp0s3 ~]# chmod -R 755 /u01/app/oracle
[root@enp0s3 ~]# chmod -R 755 /u01/app/oraInventory/
[root@enp0s3 ~]# ls -la /u01/app/oracle
합계 0
drwxr-xr-x. 3 oracle oinstall 21 11월 11 15:02 .
drwxr-xr-x. 4 root   root     40 11월 11 15:02 ..
drwxr-xr-x. 3 oracle oinstall 20 11월 11 15:02 product
[root@enp0s3 ~]# ls -la /u01/app/oraInventory/
합계 0
drwxr-xr-x. 2 oracle oinstall  6 11월 11 15:02 .
drwxr-xr-x. 4 root   root     40 11월 11 15:02 ..

 

방금 생성한 설치 소유자 계정으로 로그인하여 리소스 제한을 확인한다.  필요 시 /etc/security/limits.conf 파일을 통해 수정한다. 

[root@enp0s3 ~]# su - oracle
마지막 로그인 실패: 월 11월  8 14:33:36 KST 2021 gateway에서 시작 일시 ssh:notty
마지막 로그인 후 12 번의 로그인 시도가 실패하였습니다.
[oracle@enp0s3 ~]$ ulimit -Sn
1024
[oracle@enp0s3 ~]$ ulimit -Sn
1024
[oracle@enp0s3 ~]$ ulimit -Hn
65536
[oracle@enp0s3 ~]$ ulimit -Su
16384
[oracle@enp0s3 ~]$ ulimit -Hu
16384
[oracle@enp0s3 ~]$ ulimit -Ss
10240
[oracle@enp0s3 ~]$ ulimit -Hs
32768

 

.bash_profile 위치는 각 유저 홈 디렉토리에 있고, 유저 홈 디렉토리는 ~<유저명>/ 이나 /home/<유저명>/ 으로 변경 (이동) 할 수 있다. 예를 들어 ~oracle/.bash_profile 또는 /home/oracle/.bash_profile

[oracle@enp0s3 ~]$ ls -la /home/oracle/.bash_profile
-rw-r--r--. 1 oracle oinstall 193 11월 23  2019 /home/oracle/.bash_profile
[oracle@enp0s3 ~]$ vim /home/oracle/.bash_profile

 

.bash_profile 을 수정하여 환경 변수 설정, umask 설정을 완료한다. 다음은 샘플 bash_profile 이다. umask는 추가/수정하기 전에, 022나 0022 외 값일 때만 추가한다. 

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1
export PATH=$PATH:$HOME/.local/bin:$HOME/bin:/usr/sbin:$HOME/.local/bin:$ORACLE_HOME/bin
export ORACLE_SID=orcl
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export NLS_LANG=AMERICAN_KOREA.AL32UTF8

umask 022

 

source 또는 .(마침표) 명령을 사용해서 수정한 bash_profile 내용을 바로 반영한다. 그렇지 않으면 로그아웃 후 다시 로그인 해야 적용된다. umask나 환경 변수를 echo 명령으로 설정한 값들이 반영됐는지 알 수 있다.  보다시피 .bash_profile 에 환경 변수 추가 후, 바로 ORACLE_HOME 변수를 호출하면 아무것도 출력되지 않는다. 그러나 source나 .명령 하면 적용이 되는 것을 확인할 수 있다. 

[oracle@enp0s3 ~]$ echo $ORACLE_HOME

[oracle@enp0s3 ~]$ source ~/.bash_profile
[oracle@enp0s3 ~]$ umask
0022
[oracle@enp0s3 ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/19.0.0/dbhome_1

 

오라클 데이터베이스 소프트웨어는 오라클 테크놀로지 네트워크 (OTN) 웹사이트, 오라클 소프트웨어 딜리버리 클라우드 포털에서 다운로드할 수 있다. 무결성 체크는 cksum, sha256sum 명령으로 실행할 수 있다.

[oracle@enp0s3 ~]$ cksum /tmp/LINUX.X64_193000_db_home.zip
3680739943 3059705302 /tmp/LINUX.X64_193000_db_home.zip
[oracle@enp0s3 ~]$ sha256sum /tmp/LINUX.X64_193000_db_home.zip
ba8329c757133da313ed3b6d7f86c5ac42cd9970a28bf2e6233f3235233aa8d8  /tmp/LINUX.X64_193000_db_home.zip

 

ORACLE_HOME 디렉토리에 다운로드 받은 소프트웨어 압축을 해제한다. 이때 unzip 명령을 사용할 수 있다. 

[oracle@enp0s3 ~]$ cd $ORACLE_HOME
[oracle@enp0s3 dbhome_1]$ unzip -q /tmp/LINUX.X64_193000_db_home.zip  # unzip -q 옵션으로 조용하게 명령 실행..

 

리스폰스 파일을 백업한다.

[oracle@enp0s3 dbhome_1]$ cd $ORACLE_HOME/install/response
[oracle@enp0s3 response]$ ls
db_install.rsp
[oracle@enp0s3 response]$ cp db_install.rsp db_install.rsp.bkp

 

오라클 데이터베이스 소프트웨어 설치 인스톨러의 파일명은 runInstaller이고, ORACLE_HOME 디렉토리에 위치한다. GUI를 사용하거나 사일런트 모드 (또는 자동 모드) 라고 하는 명령줄 옵션을 사용해서 GUI 없이 설치하는 방법으로 총 두 가지 방법이 있다. GUI를 통해 설치하는 것은 간단하므로 사일런트 모드로 설치하는 방법을 설명하고자 한다. 또한 사일런트 모드에서도 db_install.rsp 리스폰스 파일을 수정하고 이 리스폰스 파일을 통해 설치하는 방법, 리스폰스 파일 내에서 파라미터를 수정하고 사용하는 것이 아닌, runInstaller 명령의 옵션으로 명시적으로 파라미터를 구성하여 명령을 실행하는 방법으로 총 두 가지의 사일런트 모드 설치 사용 방법이 존재한다. 아래에서 두 가지 방법을 모두 설명한다. 

 

우선 runInstaller 사일런트 모드에서 주요 옵션 확인은 -help 또는 -h로 할 수 있다:

[oracle@enp0s3 dbhome_1]$ ./runInstaller -h
Usage:  runInstaller [<flag>] [<option>]
Following are the possible flags:
        -help - 도움말을 표시합니다.
        -silent - 자동 모드로 실행됩니다. 입력 항목은 응답 파일 또는 명령행 변수 값 쌍 목록이 될 수 있습니다.
                [-ignorePrereqFailure - 모든 필요 조건 검사 실패를 무시합니다.]
        -responseFile - 사용할 응답 파일의 전체 경로를 지정합니다.
        -logLevel - 이 인수에 제공된 우선순위 레벨까지 메시지 로그를 사용으로 설정합니다. 적합한 옵션: severe, warning, info, config, fine, finer, finest.
        -executePrereqs | -executeConfigTools | -createGoldImage
        -executePrereqs - 필요 조건 검사만 실행합니다.
        -executeConfigTools - 설치된 홈에 대한 구성 툴을 실행합니다.
        -createGoldImage - 현재 Oracle 홈에서 골드 이미지를 생성합니다.

                -destinationLocation - 생성된 골드 이미지가 위치할 전체 경로를 지정합니다.
                [-exclFiles - 새 골드 이미지에서 제외할 파일에 대한 전체 경로를 지정합니다.]
        -debug - 디버그 모드로 실행합니다.
        -printdiskusage - 디스크 사용에 대한 디버그 정보를 기록합니다.
        -printmemory - 메모리 사용에 대한 디버그 정보를 기록합니다.
        -printtime - 시간 사용에 대한 디버그 정보를 기록합니다.
        -waitForCompletion - 설치 프로그램을 생성하고 콘솔 프롬프트를 반환하는 대신 설치가 완료될 때까지 기다립니다.
        -noconfig - 구성 툴을 실행하지 않습니다.
        -noconsole - 콘솔에서 메시지 표시를 숨깁니다. 콘솔이 할당되지 않습니다.
        -ignoreInternalDriverError - 모든 내부 드라이버 오류를 무시합니다.
        -noCopy - 소프트웨어를 원격 노드로 복사하지 않고 구성을 수행합니다.
        -applyRU - Oracle 홈에 릴리스 업데이트를 적용합니다.
        -applyOneOffs - Oracle 홈에 일회용 패치를 적용합니다. 여러 개의 일회용 패치를 콤마로 구분된 위치 목록으로 전달할 수 있습니다.

 

[주의] db_install.rsp 파일을 백업한 후 db_install.rsp 파일 내 파라미터를 필요에 따라 적절히 수정한다. 참고: 응답 파일에 대한 상대 경로를 지정하지 마십시오. 상대 경로를 지정하면 설치 프로그램이 실패합니다.

 

방법1: 명령줄에 파라미터 명시 

[oracle@enp0s3 dbhome_1]$ ./runInstaller -waitforcompletion -silent oracle.install.option=INSTALL_DB_SWONLY UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/app/oraInventory ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1 ORACLE_BASE=/u01/app/oracle oracle.install.db.InstallEdition=EE oracle.install.db.OSDBA_GROUP=dba oracle.install.db.OSOPER_GROUP=oper oracle.install.db.OSBACKUPDBA_GROUP=backupdba oracle.install.db.OSDGDBA_GROUP=dgdba oracle.install.db.OSKMDBA_GROUP=kmdba oracle.install.db.OSRACDBA_GROUP=dba oracle.install.db.rootconfig.executeRootScript=true oracle.install.db.rootconfig.configMethod=ROOT
Oracle Database 설정 마법사 실행 중...

[WARNING] [INS-32047] 중앙 인벤토리에 대해 지정된 위치(/u01/app/oraInventory)가 비어 있지 않습니다.
   작업: 인벤토리에 빈 위치를 제공하는 것이 좋습니다.

 'root' 사용자에 대한 비밀번호 입력:
이 세션에 대한 응답 파일을 다음에서 찾을 수 있습니다.
 /u01/app/oracle/product/19.0.0/dbhome_1/install/response/db_2021-11-11_01-23-57PM.rsp

다음 위치에서 이 설치 세션의 로그를 찾을 수 있습니다.
 /tmp/InstallActions2021-11-11_01-23-57PM/installActions2021-11-11_01-23-57PM.log
Successfully Setup Software.
설치 세션 로그 이동 위치:
 /u01/app/oraInventory/logs/InstallActions2021-11-11_01-23-57PM

 

방법2: 리스폰스 파일 불러오기 

db_install.rsp 수정. 파일 위치는 ORACLE_HOME/install/response/

####################################################################
## Copyright(c) Oracle Corporation 1998,2019. All rights reserved.##
##                                                                ##
## Specify values for the variables listed below to customize     ##
## your installation.                                             ##
##                                                                ##
## Each variable is associated with a comment. The comment        ##
## can help to populate the variables with the appropriate        ##
## values.                                                        ##
##                                                                ##
## IMPORTANT NOTE: This file contains plain text passwords and    ##
## should be secured to have read permission only by oracle user  ##
## or db administrator who owns this installation.                ##
##                                                                ##
####################################################################


#------------------------------------------------------------------------------
# Do not change the following system generated value.
#------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0

#-------------------------------------------------------------------------------
# Specify the installation option.
# It can be one of the following:
#   - INSTALL_DB_SWONLY
#   - INSTALL_DB_AND_CONFIG
#-------------------------------------------------------------------------------
oracle.install.option=INSTALL_DB_SWONLY

#-------------------------------------------------------------------------------
# Specify the Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=oinstall

#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/u01/app/oraInventory

#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#-------------------------------------------------------------------------------
ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1

#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base.
#-------------------------------------------------------------------------------
ORACLE_BASE=/u01/app/oracle

#-------------------------------------------------------------------------------
# Specify the installation edition of the component.
#
# The value should contain only one of these choices.
#   - EE     : Enterprise Edition
#   - SE2     : Standard Edition 2


#-------------------------------------------------------------------------------

oracle.install.db.InstallEdition=EE
###############################################################################
#                                                                             #
# PRIVILEGED OPERATING SYSTEM GROUPS                                          #
# ------------------------------------------                                  #
# Provide values for the OS groups to which SYSDBA and SYSOPER privileges     #
# needs to be granted. If the install is being performed as a member of the   #
# group "dba", then that will be used unless specified otherwise below.       #
#                                                                             #
# The value to be specified for OSDBA and OSOPER group is only for UNIX based #
# Operating System.                                                           #
#                                                                             #
###############################################################################

#------------------------------------------------------------------------------
# The OSDBA_GROUP is the OS group which is to be granted SYSDBA privileges.
#-------------------------------------------------------------------------------
oracle.install.db.OSDBA_GROUP=dba

#------------------------------------------------------------------------------
# The OSOPER_GROUP is the OS group which is to be granted SYSOPER privileges.
# The value to be specified for OSOPER group is optional.
#------------------------------------------------------------------------------
oracle.install.db.OSOPER_GROUP=oper

#------------------------------------------------------------------------------
# The OSBACKUPDBA_GROUP is the OS group which is to be granted SYSBACKUP privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSBACKUPDBA_GROUP=backupdba

#------------------------------------------------------------------------------
# The OSDGDBA_GROUP is the OS group which is to be granted SYSDG privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSDGDBA_GROUP=dgdba

#------------------------------------------------------------------------------
# The OSKMDBA_GROUP is the OS group which is to be granted SYSKM privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSKMDBA_GROUP=kmdba

#------------------------------------------------------------------------------
# The OSRACDBA_GROUP is the OS group which is to be granted SYSRAC privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSRACDBA_GROUP=dba
################################################################################
#                                                                              #
#                      Root script execution configuration                     #
#                                                                              #
################################################################################

#-------------------------------------------------------------------------------------------------------
# Specify the root script execution mode.
#
#   - true  : To execute the root script automatically by using the appropriate configuration methods.
#   - false : To execute the root script manually.
#
# If this option is selected, password should be specified on the console.
#-------------------------------------------------------------------------------------------------------
oracle.install.db.rootconfig.executeRootScript=true

#--------------------------------------------------------------------------------------
# Specify the configuration method to be used for automatic root script execution.
#
# Following are the possible choices:
#   - ROOT
#   - SUDO
#--------------------------------------------------------------------------------------
oracle.install.db.rootconfig.configMethod=ROOT

#--------------------------------------------------------------------------------------
# Specify the absolute path of the sudo program.
#
# Applicable only when SUDO configuration method was chosen.
#--------------------------------------------------------------------------------------
oracle.install.db.rootconfig.sudoPath=

#--------------------------------------------------------------------------------------
# Specify the name of the user who is in the sudoers list.
# Applicable only when SUDO configuration method was chosen.
oracle.install.db.rootconfig.sudoPath=

#--------------------------------------------------------------------------------------
# Specify the name of the user who is in the sudoers list.
# Applicable only when SUDO configuration method was chosen.
# Note:For Single Instance database installations,the sudo user name must be the username of the user installing the database.
#--------------------------------------------------------------------------------------
oracle.install.db.rootconfig.sudoUserName=

###############################################################################
#                                                                             #
#                               Grid Options                                  #
#                                                                             #
###############################################################################

#------------------------------------------------------------------------------
# Value is required only if the specified install option is INSTALL_DB_SWONLY
#
# Specify the cluster node names selected during the installation.
#
# Example : oracle.install.db.CLUSTER_NODES=node1,node2
#------------------------------------------------------------------------------
oracle.install.db.CLUSTER_NODES=

###############################################################################
#                                                                             #
#                        Database Configuration Options                       #
#                                                                             #
###############################################################################

#-------------------------------------------------------------------------------
# Specify the type of database to create.
# It can be one of the following:
#   - GENERAL_PURPOSE
#   - DATA_WAREHOUSE
# GENERAL_PURPOSE: A starter database designed for general purpose use or transaction-heavy applications.
# DATA_WAREHOUSE : A starter database optimized for data warehousing applications.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.type=

#-------------------------------------------------------------------------------
# Specify the Starter Database Global Database Name.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.globalDBName=

#-------------------------------------------------------------------------------
# Specify the Starter Database SID.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.SID=

#-------------------------------------------------------------------------------
# Specify whether the database should be configured as a Container database.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.ConfigureAsContainerDB=

#-------------------------------------------------------------------------------
# Specify the  Pluggable Database name for the pluggable database in Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.PDBName=

#-------------------------------------------------------------------------------
# Specify the Starter Database character set.
#
#  One of the following
#  AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
#  EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
#  BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
#  AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
#  IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
#  KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
#  ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.characterSet=

#------------------------------------------------------------------------------
# This variable should be set to true if Automatic Memory Management
# in Database is desired.
# If Automatic Memory Management is not desired, and memory allocation
# is to be done manually, then set it to false.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryOption=

#-------------------------------------------------------------------------------
# Specify the total memory allocation for the database. Value(in MB) should be
# at least 256 MB, and should not exceed the total physical memory available
# on the system.
# Example: oracle.install.db.config.starterdb.memoryLimit=512
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryLimit=

#-------------------------------------------------------------------------------
# This variable controls whether to load Example Schemas onto
# the starter database or not.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.installExampleSchemas=

###############################################################################
#                                                                             #
# Passwords can be supplied for the following four schemas in the             #
# starter database:                                                           #
#   SYS                                                                       #
#   SYSTEM                                                                    #
#   DBSNMP (used by Enterprise Manager)                                       #
#                                                                             #
# Same password can be used for all accounts (not recommended)                #
# or different passwords for each account can be provided (recommended)       #
#                                                                             #
###############################################################################

#------------------------------------------------------------------------------
# This variable holds the password that is to be used for all schemas in the
# starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.ALL=

#-------------------------------------------------------------------------------
# Specify the SYS password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYS=

#-------------------------------------------------------------------------------
# Specify the SYSTEM password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSTEM=

#-------------------------------------------------------------------------------
# Specify the DBSNMP password for the starter database.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.DBSNMP=

#-------------------------------------------------------------------------------
# Specify the PDBADMIN password required for creation of Pluggable Database in the Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.PDBADMIN=

#-------------------------------------------------------------------------------
# Specify the management option to use for managing the database.
# Options are:
# 1. CLOUD_CONTROL - If you want to manage your database with Enterprise Manager Cloud Control along with Database Express.
# 2. DEFAULT   -If you want to manage your database using the default Database Express option.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.managementOption=

#-------------------------------------------------------------------------------
# Specify the OMS host to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsHost=

#-------------------------------------------------------------------------------
# Specify the OMS port to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsPort=

#-------------------------------------------------------------------------------
# Specify the EM Admin user name to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminUser=

#-------------------------------------------------------------------------------
# Specify the EM Admin password to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminPassword=

###############################################################################
#                                                                             #
# SPECIFY RECOVERY OPTIONS                                                    #
# ------------------------------------                                        #
# Recovery options for the database can be mentioned using the entries below  #
#                                                                             #
###############################################################################

#------------------------------------------------------------------------------
# This variable is to be set to false if database recovery is not required. Else
# this can be set to true.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.enableRecovery=

#-------------------------------------------------------------------------------
# Specify the type of storage to use for the database.
# It can be one of the following:
#   - FILE_SYSTEM_STORAGE
#   - ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.storageType=

#-------------------------------------------------------------------------------
# Specify the database file location which is a directory for datafiles, control
# files, redo logs.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=

#-------------------------------------------------------------------------------
# Specify the recovery location.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=

#-------------------------------------------------------------------------------
# Specify the existing ASM disk groups to be used for storage.
#
# Applicable only when oracle.install.db.config.starterdb.storageType=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.diskGroup=

#-------------------------------------------------------------------------------
# Specify the password for ASMSNMP user of the ASM instance.
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.ASMSNMPPassword=

 

runInstaller 명령 시, responseFile 옵션의 파일 경로에는 상대 경로 포함되어도 상관없이 정상 실행된다. 

[oracle@enp0s3 dbhome_1]$ ./runInstaller -waitforcompletion -silent -responseFile $ORACLE_HOME/install/response/db_install.rsp
Oracle Database 설정 마법사 실행 중...

[WARNING] [INS-32047] 중앙 인벤토리에 대해 지정된 위치(/u01/app/oraInventory)가 비어 있지 않습니다.
   작업: 인벤토리에 빈 위치를 제공하는 것이 좋습니다.

 'root' 사용자에 대한 비밀번호 입력:
이 세션에 대한 응답 파일을 다음에서 찾을 수 있습니다.
 /u01/app/oracle/product/19.0.0/dbhome_1/install/response/db_2021-11-11_02-31-00PM.rsp

다음 위치에서 이 설치 세션의 로그를 찾을 수 있습니다.
 /tmp/InstallActions2021-11-11_02-31-00PM/installActions2021-11-11_02-31-00PM.log
Successfully Setup Software.
설치 세션 로그 이동 위치:
 /u01/app/oraInventory/logs/InstallActions2021-11-11_02-31-00PM

 


오라클 설치가 완료되어 데이터베이스를 생성할 준비가 되었다. 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG more
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함