oracle 11gr2 安裝需要修改的幾個檔案和案例

來源:互聯網
上載者:User

 

1、記憶體管理,在該檔案末尾添加
/etc/sysctl.conffs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 536870912 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576
# /sbin/sysctl -p
2、系統限制,開啟檔案數和進程數oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 10240
3、env
su - oraclevi .bash_profileexport ORACLE_HOSTNAME=escmtest001 export ORACLE_BASE=/u01/app/oracle/ #跟後面設定的保持一致 export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1/ #跟後面設定的保持一致export ORACLE_SID=<sid> #大小寫都可以滴export PATH=.:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/jdk/bin:$PATHexport LC_ALL="en_US" export LANG="en_US" export NLS_LANG="AMERICAN_AMERICA.ZHS16GBK" export NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"
su - oracle
4、exit
vi /etc/hosts
add 
 172.16.0.16 zmcytest001 
5、

[root@zmcytest001 network-scripts]# cat ifcfg-eth0 DEVICE="eth0" NM_CONTROLLED="yes" ONBOOT="yes" HWADDR=2C:76:8A:54:88:88 TYPE=Ethernet BOOTPROTO=none IPADDR=172.16.0.16 PREFIX=24 GATEWAY=172.16.0.254 DNS1=172.16.0.8 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME="System eth0" UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 [root@zmcytest001 network-scripts]# pwd /etc/sysconfig/network-scripts

聯繫我們

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