oracle 11g R2但樣本安裝前環境準備(針對使用者,許可權,記憶體 儲存和系統參數的相關調整)

來源:互聯網
上載者:User

標籤:

本文主要是講oracle11gR2對系統和物理配置的相關要求以及適當的參數調整 

系統:

[[email protected] ~]# cat /etc/system-releaseCentOS release 6.7 (Final)

核心版本:

[[email protected] ~]# uname -r2.6.32-573.el6.x86_64

核心相關參數:

[[email protected] ~]# vi /etc/sysctl.confkernel.shmall = 4294967296fs.aio-max-nr = 1048576fs.file-max = 6815744#kernel.shmall = 2097152#kernel.shmmax = 2147483648kernel.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 = 1048576# Auto-enabled by xs-tools:install.shnet.ipv4.conf.all.arp_notify = 1

應用進程開啟的檔案數:

[[email protected] ~]# vi /etc/security/limits.conforacle           soft    nproc   2047oracle           hard    nproc   16384

系統允許開啟的檔案數:

[[email protected] ~]# vi /etc/security/limits.conforacle           soft    nofile  1024oracle           hard    nofile  65536

相關的管理賬戶和組:

[[email protected] ~]# cat /etc/passwd|egrep -i "^(oracle)"|awk -F":" ‘{print $1}‘oracle[[email protected] ~]# groups oracleoracle : oinstall dba oper asmadmin asmdba[[email protected] ~]#

相關的工具包和開發包:



實體記憶體大小:

[[email protected] ~]# cat /proc/meminfo |grep -i memMemTotal:        3974196 kBMemFree:         2037892 kBShmem:              3920 kB

交換分區大小:

[[email protected] ~]# cat /proc/meminfo |grep -i swapSwapCached:            0 kBSwapTotal:       4112380 kBSwapFree:        4112380 kB

tmpfs分區大小

[[email protected] ~]# cat /etc/fstab |egrep tmpfstmpfs                   /dev/shm                tmpfs   defaults,size=6G       0 0

/tmp臨時目錄大小:

[[email protected] ~]# df -khFilesystem            Size  Used Avail Use% Mounted on/dev/mapper/VolGroup-lv_root                       45G  9.2G   34G  22% /tmpfs                 6.0G   80K  6.0G   1% /dev/shm/dev/xvda1            477M   30M  422M   7% /boot

oracle使用者環境變數設定

[[email protected] ~]$ cat !$cat .bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then. ~/.bashrcfi# User specific environment and startup programsumask 22                                    export ORACLE_BASE=/u01/app/oracle                    export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1export LD_LIBRARY=$ORACLE_HOME/libPATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:.export PATH


oracle 11g R2但樣本安裝前環境準備(針對使用者,許可權,記憶體 儲存和系統參數的相關調整)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.