1.下载oracle 源
wget http://public-yum.oracle.com/public-yum-ol6.repo
2.导入密钥
wget https://yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
3.安装预配置脚本
yum install oracle-rdbms-server-11gR2-preinstall
再次检查依赖包
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.创建安装目录及修改权限
mkdir /u01/app -p
chmod 755 /u01/app -R
chown oracle:oinstall /u01/app -R
6.安装软件