CentOS7使用yum安装Oracle19c
1、查看防火墙状态systemctl status firewalld

2、关闭系统防火墙(如外网环境不能关闭防火墙自行开放相关需要使用的端口即可)systemctl stop firewalld

3、禁用防火墙服务systemctl disable firewalld

4、关闭selinuxvi /etc/selinux/configSELINUX=disabled

5、安装oracle需要的依赖(已通过互联网提前下载并制作yum仓库,配置一个离线yum源直接安装即可)vi /etc/yum.repos.d/local.repo[local]name=localenable=1baseurl=file:///root/basegpgchech=0执行如下命令查看cat /etc/yum.repos.d/local.repo

6、清除Yum缓存yum clean all

7、安装oracle-database-preinstallyum -y localinstall oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm --nogpgcheck











8、安装Oracle 19cyum -y localinstall oracle-database-ee-19c-1.0-1.x86_64.rpm --nogpgcheck

9、通过如下命令查看oracle是否安装成功ps -ef | grep ora一般安装oracle ,默认会有 oracle 的用户。id oracle
