標籤:oracle
檢查系統內容:
[[email protected] ~]# grep MemTotal /proc/meminfo #實體記憶體不低於1GB
MemTotal: 1491520 kB
[[email protected] ~]# grep SwapTotal /proc/meminfo #交換分區為實體記憶體的1.5-2陪;實體記憶體為2-16GB時,交換分區與實體記憶體相同
SwapTotal: 2097148 kB
安裝oracle依賴軟體:
yum install -y binutils compat-libcap1-1.10-1 compat-libstdc++-33 gcc gcc-c++ glibc glibc glibc-devel glibc-devel ksh libgcc libgcc libstdc++ libstdc++ libstdc++-devel libstdc++-devel libaio libaio libaio-devel libaio-devel make sysstat elftils-libelf unixODBC unixODBC unixODBC-devel elfutils-libelf elfutils-libelf-devel
修改系統內容:
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
本文出自 “龍愛雪琪” 部落格,請務必保留此出處http://dragon123.blog.51cto.com/9152073/1597633
red hat6.1 部署32位 oracle 11g