• 数据库软件(上传至/root目录)
  • p13390677_112040_Linux-x86-64_1of7
  • p13390677_112040_Linux-x86-64_2of7
  • 其他软件包(上传至/root目录)

安装软件包

#安装compat包
rpm -ivh compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm

#查看已安装的ksh
rpm -qa|grep ksh    

#删除已安装的ksh
rpm -e ksh-20120801-139.el7.x86_64 --nodeps

#安装ksh包
rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm

安装依赖包

yum -y install autoconf
yum -y install binutils-devel
yum -y install dos2unix
yum -y install python-devel
yum -y install glibc-*
yum -y install glibc-*.i686
yum -y install libXpm-*.i686
yum -y install libXp.so.6
yum -y install libXtst.so.6
yum -y install libstdc++-docs
yum -y install libgcc_s.so.1
yum -y install libstdc++.i686
yum -y install libstdc++-devel.i686
yum -y install libaio.i686
yum -y install libaio-devel
yum -y install libaio-devel.i686
yum -y install libXp
yum -y install numactl-devel
yum -y install unixODBC
yum -y install unixODBC-devel
yum -y install elfutils-libelf-devel
yum -y install redhat-lsb-core
yum -y install *vnc*
yum -y install ksh 
yum -y install compat-libstdc++-33
yum -y install compat-libstdc++-33.i686
yum -y install compat-gcc-44
yum -y install compat-gcc-44-c++
yum -y install gcc
yum -y install gcc-c++
yum -y install libstdc++-devel
yum -y install numactl

安装软件时无法扩大窗口的BUG

#加参数,否则报错、提示窗口无法扩大
./runInstaller -jreLoc /etc/alternatives/jre_1.8.0

安装进度在86%时报错

Centos7.9+Oracle11g 单机文件系统安装注意事项_c++

解决办法:修改$ORACLE_HOME/sysman/lib/ins_emagent.mk

将$(MK_EMAGENT_NMECTL)修改为$(MK_EMAGENT_NMECTL) -lnnz11

Centos7.9+Oracle11g 单机文件系统安装注意事项_c++_02

su - oracle
cd $ORACLE_HOME/sysman/lib
cp ins_emagent.mk ins_emagent.mk.bak
vi ins_emagent.mk

进入vi编辑器后,命令模式输入/NMECTL进行查找,定位到要修改的行,在后面追加参数-lnnz11

保存后点击retry按钮

Centos7.9+Oracle11g 单机文件系统安装注意事项_c++_03