Oracle Install Guide
Memory Requirements:
Minimum:1 GB OFRAMRECOMMENDED:2GB of RAM or More#grep Memtotal/proc/meminfo
To view virtual memory space:
Df-h/dev/shm/
To install a dependency package:
Yum install binutils compat-libcap compat-libstdc++ gcc gcc-c++glibc glibc-devel ksh libgcc libstdc++ libstdc++-devel Lib AIO libaio-devel makesysstat UnixODBC unixodbc-devel
Modify the user's SHELL the restrictions, modifications /etc/security/limits.conf file
Vi/etc/security/limits.conforacle softnproc 2047oracle hardnproc 16384oracle softnofile 1024oracle hardnofile 65536
Modify the Linux kernel, modify the/etc/sysctl.conf file
FS.AIO-MAX-NR = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912/ 4398046511104kernel.shmmni = 4096kernel.sem = 32000 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_ Default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576
Edit /etc/profile
if [$USER = "Oracle"]; thenif [$SHELL = "/bin/ksh"]; Thenulimit-p 16384ulimit-n 65536elseulimit-u 16384-n 65536fifi
Create User:
Groupadd oinstallgroupadd dbauseradd-g oinstall-g dba-m oraclepasswd Oracle
Create the installation directory
Mkdir-p/data/u01/app/chown-r oracle:oinstall/data/u01/chmod-r 755/data/u01/app/
Configuration Oracle user's environment variable, first, switch to the newly created Oracle users under
Su Oraclevi. bash_profileexportoracle_base=/data/u01/app/exportoracle_home= $ORACLE _base/oracle/exportoracle_sid= Oraclesidexportpath= $ORACLE _home/bin: $PATH: $HOME/bin
This article from "Wang Jiadong elder brother" blog, declined reprint!
Installation of Oracle Database