当前位置:Gxlcms > 数据库问题 > CentOS7.3 安装Oracle 11gR2 64位

CentOS7.3 安装Oracle 11gR2 64位

时间:2021-07-01 10:21:17 帮助过:14人阅读

参考:CentOS7安装oracle 11gR2   Linux(CentOS 7.0)安装Oracle11g R2   0 VMWare 12 安装CentOS7.3   安装好,关闭虚拟机,压缩备份(文件2G大小)   1. 关闭安全措施 # service iptables stop    // 暂时关闭防火墙,重启系统后会自动打开 # chkconfig iptables off   // 永久关闭防火墙 (7.3 不用iptables,用firewalld) # sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config // 关闭Selinux # systemctl status firewalld.service    //查看防火墙状态 # systemctl stop firewalld.service      //关闭防火墙 # systemctl disable firewalld.service  //禁止使用防火墙(重启也是禁止的)   2. 安装oracle数据库所需要的软件包   Oracle Database Package Requirements for Linux x86-64    操作系统: Oracle Linux 7 and Red Hat Enterprise Linux 7 # yum install binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh # yum install libaio libaio-devel libgcc libstdc++ libstdc++-devel libXi libXtst make sysstat    另: # yum install kernel-headers numactl-devel glibc-headers glibc-common unixODBC-devel elfutils-libelf elfutils-libelf-devel # yum install glibc-static elfutils-libelf-devel-static libstdc++-static unixODBC libgomp      安装pdksh ?  RPM find for pdksh    3. 创建运行oracle数据库的系统用户和用户组 # su - # groupadd oinstall # groupadd dba # useradd -g oinstall -G dba oracle # passwd oracle # id oracle   为啥要创建oinstall用户组及dba组?   4. 创建oracle数据库安装目录 # su - # mkdir -p /data/oracle                       /oracle数据库安装目录 # mkdir -p /data/oraInventory             /oracle数据库配置文件目录 # mkdir -p /data/database                  /oracle数据库软件包解压目录 # cd /data # chown -R oracle:oinstall /data/oracle   /设置目录所有者为oinstall用户组的oracle用户 # chown -R oracle:oinstall /data/oraInventory # chown -R oracle:oinstall /data/database    5. 修改OS系统标识    oracle默认不支持CentOS系统安装: Oracle Database 11g Release 2 的OS要求   CentOS7.0.1611 基于 RHEL7.3   修改文件 /etc/redhat-release # su - # cat /proc/version # cat /etc/redhat-release # mv /etc/redhat-release /etc/redhat-release.bak # vi /etc/redhat-release # cat /etc/redhat-release redhat-7

CentOS7.3 安装Oracle 11gR2 64位

标签:arc   x86   tables   centos   pre   tps   release 2   pmf   user   

人气教程排行