red hat6.1 部署32位 oracle 11g

來源:互聯網
上載者:User

標籤: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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.