系统环境:redhat7.4
oracle版本:11.2
步骤:
1.关闭防火墙,selinux,配置yum包
systemctl stop firewalld
systemctl disable firewalld
vim /etc/selinux/conf
selinux disabled
vim /etc/yum.repos.d/rhel7.repo
[rhel7]
name=rhel7
baseurl=file:///mnt
gpgcheck=0
enable=1
2.准备安装包并解压
p13390677_112040_Linux-x86-64_1of7.zip
p13390677_112040_Linux-x86-64_2of7.zip
unzip p13390677_112040_Linux-x86-64_1of7.zip
unzip p13390677_112040_Linux-x86-64_2of7.zip
3.安装安装包
yum -y install binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel libXi libXtst make sysstat
No package compat-libstdc++-33 available.
可以忽略
安装Oracle ODBC Drivers
yum -y install unixODBC
4.准备安装所需用户和组
id oracle
groupadd oinstall
groupadd -g dba
useradd -g oinstall -G dba oracle
id oracle
passwd oracle
5.配置kernel内核参数