1.下载oracle 源

    1. wget http://public-yum.oracle.com/public-yum-ol6.repo

    2.导入密钥

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

    3.安装预配置脚本

    1. yum install oracle-rdbms-server-11gR2-preinstall

    再次检查依赖包

    1. yum install -y binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh libgcc libstdc++ libstdc++-devel libaio libaio-devel make sysstat unixODBC-devel pdksh

    4.上传解压文件
    5.创建安装目录及修改权限

    1. mkdir /u01/app -p
    2. chmod 755 /u01/app -R
    3. chown oracle:oinstall /u01/app -R

    6.安装软件