dnf install -y glibc-devel
dnf install -y ksh
dnf install -y libaio-devel
dnf install -y libstdc++-devel
dnf install -y make
dnf install -y nfs-utils
dnf install -y psmisc
dnf install -y sysstat
dnf install -y xorg-x11-utils
dnf install -y xorg-x11-xauth
dnf install -y libnsl*

curl -o compat-libcap1-1.10-7.el7.x86_64.rpm http://mirror.centos.org/centos/7/os/x86_64/Packages/compat-libcap1-1.10-7.el7.x86_64.rpm
dnf localinstall compat-libcap1-1.10-7.el7.x86_64.rpm -y

curl -o compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm http://mirror.centos.org/centos/7/os/x86_64/Packages/compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
dnf localinstall compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm -y

curl -o oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm 
dnf localinstall oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm -y

 

vi /etc/hosts

[자기IP] [Host명] [Domain명]

도메인은 가짜라도 입력해야 한다.

예) host.domain.com

 
rpm -Uvh ./oracle-database-xe-18c-1.0-1.x86_64.rpm

 

설치후

sqlplus / as sysdba; 

alter session set "_ORACLE_SCRIPT"=true;

설정할 것
user 생성시 기존버젼에서 하던대로 생성시키려면 필요함.

Posted by jtfafa
,