Reference: CentOS7 Install Oracle 11gr2 linux (CentOS 7.0) Install oracle11g r2 0 VMWare 12 installation centos7.3 Install, shut down virtual machine, compress backup (file 2G size) 1. Turn off security # service iptables stop //temporarily shut down the firewall, restart the system will automatically open the # chkconfig iptables off //Permanently turn off the firewall (7.3 no iptables , with Firewalld) # sed-i "s/selinux=enforcing/selinux=disabled/"/etc/selinux/config//close selinux# systemctl status Firewalld.service //View firewall status # systemctl stop firewalld.service //turn off firewall # Systemctl Disable Firewalld.service//prohibit the use of firewalls (reboot is also forbidden) 2. Software packages required to install Oracle databases Oracle database package Requirements for Linux x86-64 operating system: Oracle Linux 7 and Red Ha T Enterprise Linux 7# yum install binutils compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh# Yum Insta ll Libaio libaio-devel libgcc libstdc++ libstdc++-devel libxi libxtst make sysstat Another: # Yum install Kernel-head ERs 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 installation Pdksh? & nbsp; rpm find for Pdksh 3. Create a system user and user group that runs the Oracle database # su-# groupadd oinstall# groupadd dba# useradd-g oinstall-g dba oracle# passwd oracle# ID Oracle Why create Oinstall user group and DBA group? 4. Create Oracle Database installation directory # SU-# mkdir-p/data/oracle /orac Le database installation directory # Mkdir-p/data/orainventory /oracle Database configuration file directory # mkdir-p/data/database &N Bsp /oracle database package extract Directory # cd/data# chown-r oracle:oinstall/data/oracle/settings directory Oracle user with owner Oinstall user Group # chown-r oracle:oinstall/data/orainventory# chown-r oracle:oinstall/data/database & Nbsp;5. Modify OS System identity CentOS system installation is not supported by default: Oracle Database 11g Release 2 OS requirements CentOS7.0.1611 based on rhel7.3 modified text Piece/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-releaseredhat-7
CentOS7.3 Install Oracle 11gR2 64-bit