【正文】
(修改核心參數(shù),如果沒有這個文件,自己vi一個)oracle@linux:~ more /etc/ Disable response to broadcasts. You don39。t want yourself being a Smurf amplifier. = 1 enable route verification on all interfaces = 1 enable ipV6 forwarding = 1 = 262144 = 262144 = 262144 = 262144 = 2097152 = 2147483648 = 4096 = 250 32000 100 128 = 65536 = 1024 65000最大共享內(nèi)存段尺寸(字節(jié)):shmmax = xxxxx*1024*2(為內(nèi)存的2倍,切換到字節(jié)。要是超過這個值,在運行dbca時會出現(xiàn)Ora 27123:Unable to attach to shared memeroy segment)后來看到網(wǎng)上說官方文檔建議是內(nèi)存的1/2,Shmmni 最小共享內(nèi)存 所有內(nèi)存大小,但是我照內(nèi)存的2倍也能成功安裝oracle。最小共享內(nèi)存段尺寸(字節(jié))Shmmni4個參數(shù)依次為SEMMSL(每個用戶擁有信號量最大數(shù));SEMMNS(系統(tǒng)信號量最大數(shù));SEMOPM(每次semopm系統(tǒng)調(diào)用操作數(shù));SEMMNI(系統(tǒng)辛苦量集數(shù)最大數(shù)).注解:可以用sysctl –p來確認(rèn)參數(shù)文件/etc/,使用/etc/,在這里要注意的一點是在系統(tǒng)重新啟動之后不能自動讀取剛才創(chuàng)建的文件。 需要調(diào)整一下:chkconfig onc、編輯/etc/security/, 設(shè)置oracle對文件的要求linux:~ vi /etc/security/ /etc/security/Each line describes a limit for a user in the form:domain type item valueWhere:domain can be: an user name a group name, with @group syntax the wildcard *, for default entry the wildcard %, can be also used with %group syntax, for maxlogin limittype can have the two values: soft for enforcing the soft limits hard for enforcing hard limitsitem can be one of the following: core limits the core file size (KB) data max data size (KB) fsize maximum filesize (KB) memlock max lockedinmemory address space (KB) nofile max number of open files rss max resident set size (KB) stack max