Check the system environment:
[Email protected] ~]# grep memtotal/proc/meminfo #物理内存不低于1GB
memtotal:1491520 KB
[[email protected] ~]# grep swaptotal/proc/meminfo #交换分区为物理内存的1.5-2 accompany; Swap partitions are the same as physical memory when physical memory is 2-16GB
swaptotal:2097148 KB
To install Oracle dependent software:
Yum install-y binutils compat-libcap1-1.10-1 compat-libstdc++-33 gcc gcc-c++ glibc glibc glibc-devel glibc-devel ksh LIBG CC LIBGCC libstdc++ libstdc++ libstdc++-devel libstdc++-devel libaio libaio libaio-devel libaio-devel make Sysstat elftil S-libelf UnixODBC UnixODBC unixodbc-devel elfutils-libelf elfutils-libelf-devel
To modify the system environment:
groupadd oinstallgroupadd dbauseradd -g oinstall -g dba oracleecho " Qwe123 "| passwd root --stdinmkdir /opt/oraclechown -r oracle:oinstall /opt/ Oracle/chmod -r 755 /opt/oracle/[[email protected] ~]# vim ~oracle/.bash_ profileumask 022export oracle_base=/opt/oracleexport oracle_sid=/orc1export display=:0. 0export lang=zh_cn. utf-8[[email protected] ~]# vim /etc/sysctl.conffs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_ Local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586[[email protected] ~]# vim /etc/security/limits.conforacle soft nproc 8192oracle hard nofile 65536oracle soft nofile 32768oracle hard nproc 16384 [[email protected] ~]# su oracle[[email protected] root]$ cd /opt/ oracle/database/[[email protected] database]$ ./runinstaller -jreloc /usr/lib/jvm/ jre-1.6.0
This article is from the "Dragon Love Xue qi" blog, please make sure to keep this source http://dragon123.blog.51cto.com/9152073/1597633
Red hat6.1 Deploy 32-bit Oracle 11g