바쁘다, 프로젝트 들어가야함..
1.필요 패치 파일
Oracle Software (RPM) - oracle-database-ee-19c-1.0-1.x86_64.rpm
Patch 35775632 - p35775632_190000_Linux-x86-64
OPatch - p6880880_190000_Linux-x86-64 (12.2.0.1.37 or later)
19.19 Release Update - p35042068_190000_Linux-x86-64
Merge Patch 35859251 - p35859251_1919000DBRU_Linux-x86-64
2. yum -y update
3. vi /etc/selinux/config
SELINUX=disabled
4. systemctl disable firewalld.service --now
5. reboot
yum install -y http://mirror.centos.org/centos/7/os/x86_64/Packages/compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
yum install -y http://mirror.centos.org/centos/7/os/x86_64/Packages/compat-libcap1-1.10-7.el7.x86_64.rpm
wget https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el9.x86_64.rpm
oracle-database-preinstall-19c-1.0-1.el9.x86_64.rpm
7. passwd oracle
8. chmod 777 oracle-database-ee-19c-1.0-1.x86_64.rpm
9. yum -y localinstall oracle-database-ee-19c-1.0-1.x86_64.rpm
10. cd /tmp
11. chown oracle.oinstall *.zip
hostnamectl set-hostname song
12.
# su - oracle
$ vi .profile_db
ORACLE_HOSTNAME=song; export ORACLE_HOSTNAME
ORACLE_UNQNAME=ORCLCDB; export ORACLE_UNQNAME
ORACLE_BASE=/opt/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/19c/dbhome_1; export ORACLE_HOME
ORACLE_SID=ORCLCDB;
export ORACLE_SID
BASE_PATH=/usr/sbin:$PATH; export BASE_PATH
PATH=$ORACLE_HOME/bin:$PATH:$ORACLE_HOME/OPatch:$BASE_PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
13.
$ vi .bash_profile
. .profile_db
$ mv /opt/oracle/product/19c/dbhome_1/OPatch /opt/oracle/product/19c/dbhome_1/OPatch_old
$ unzip /usr/local/src/p6880880_190000_Linux-x86-64.zip -d /opt/oracle/product/19c/dbhome_1
$ mv stubs.tar /opt/oracle/product/19c/dbhome_1/lib/stubs/
$ cd /opt/oracle/product/19c/dbhome_1/lib/stubs/
$ tar -xf stubs.tar
unzip /usr/local/src/p35037840_190000_Linux-x86-64.zip <== 아래 패치는 여기에 포함..
ㅁ
cd /opt/oracle/product/19c/dbhome_1/lib/stubs/35037840/35042068
opatch prereq CheckConflictAgainstOHWithDetail -ph ./
opatch apply
unzip p35859251_1919000DBRU_Linux-x86-64.zip
cd 35859251/
$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
$ opatch apply
/opt/oracle/product/19c/dbhome_1/bin/relink all
/etc/init.d/oracledb_ORCLCDB-19c configure
https://developersj.tistory.com/143 <=== 나중에 정리하자.
카페 게시글
DBA 로 가는 길(ORACLE)
Oracle 19c 안쓰고 파일 시스템 모드 로 install on linux9
생짜초보
추천 0
조회 10
24.10.13 19:13
댓글 0
다음검색