1.配置public-yum-ol6.repo

切换到目录  cd /etc/yum.repos.d/

运行指令    wget https://public-yum.oracle.com/public-yum-ol6.repo

2.配置RPM-GPG-KEY

切换到目录  cd /etc/pki/rpm-gpg/

运行指令    

wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

3.安装oracle安装所需要的环境

运行指令  yum install oracle-rdbms-server-11gR2-preinstall

4.查看安装结果日志

Logo

更多推荐