W~C停用

导航

RedHat8装Oracle19C

 
 
--关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service

 

配置源
wget https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm

 

 
安装依赖
yum install bc gcc gcc-c++ binutils compat-libcap1 compat-libstdc++ dtrace-modules dtrace-modules-headers dtrace-modules-provider-headers dtrace-utils elfutils-libelf elfutils-libelf-devel fontconfig-devel glibc glibc-devel ksh libaio libaio-devel libdtrace-ctf-devel libX11 libXau libXi libXtst libXrender libXrender-devel libgcc librdmacm-devel libstdc++ libstdc++-devel libxcb make smartmontools sysstat

 

 
 
安装软件
部分需要的本地依赖包下载地址:
https://www.aliyundrive.com/s/51xUe2Dd75i
 
 
 
 
 
yum localinstall -y compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
yum localinstall -y compat-libcap1-1.10-1.x86_64.rpm
dnf install libnsl
 
yum install -y gcc-c++ make
yum install -y ksh
yum install -y sysstat
yum install -y xorg-x11-utils
yum install java-11-openjdk-devel
yum install -y libnsl
rpm -ivh libaio-devel-0.3.112-1.el8.x86_64.rpm
rpm -ivh compat-libcap1-1.10-7.el7.x86_64.rpm
rpm -ivh compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
rpm -ivh ksh-20120801-254.el8.x86_64.rpm
rpm -ivh readline-7.0-10.el8.x86_64.rpm
rpm -ivh rlwrap-0.43-5.el8.x86_64.rpm
rpm -ivh oracle-database-preinstall-19c-1.0-2.el7.x86_64.rpm
export CV_ASSUME_DISTID=RHEL7.6
rpm -ivh oracle-database-ee-19c-1.0-1.x86_64.rpm --nodigest --nofiledigest
chmod -R 777 /etc/oratab
 
 
 
yum localinstall -y oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
rpm -ivh oracle-database-ee-19c-1.0-1.x86_64.rpm --nodigest --nofiledigest
 

 

 
 
 
 
 
 
 
 
 

posted on 2021-12-23 17:02  W~C停用  阅读(873)  评论(0编辑  收藏  举报