【正文】
境變量:編輯:.bash_profile,在里面填上如下的內(nèi)容。Login as the oracle user and add the following lines at the end of the .bash_profile file: Oracle SettingsTMP=/tmp。 export TMPTMPDIR=$TMP。 export TMPDIRORACLE_BASE=/u01/app/oracle。 export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/。 export ORACLE_HOMEORACLE_SID=TSH1。 export ORACLE_SIDORACLE_TERM=xterm。 export ORACLE_TERMPATH=/usr/sbin:$PATH。 export PATHPATH=$ORACLE_HOME/bin:$PATH。 export PATHLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib。 export LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib。 export CLASSPATHif [ $USER = oracle ]。 then if [ $SHELL = /bin/ksh ]。 then ulimit p 16384 ulimit n 65536 else ulimit u 16384 n 65536 fifiInstallationLog into the oracle user. If you are using X emulation then set the DISPLAY environmental variable:DISPLAY=本機(jī)的IP地址:。 export DISPLAYStart the Oracle Universal Installer (OUI) by issuing the following mand in the database directory:./runInstaller安裝完以后,要把/etc/redhatrelease這個(gè)文件的內(nèi)容改過來。Edit the /etc/redhatrelease file restoring the original release information:Red Hat Enterprise Linux Server release 5 (Tikanga)Edit the /etc/oratab file setting the restart flag for each instance to 39。Y39。:TSH1:/u01/app/oracle/product/:Y注:在安裝完數(shù)據(jù)庫后的總結(jié)。我首先是把數(shù)據(jù)庫軟件安裝以后,再運(yùn)行DBCA的。在運(yùn)行DBCA時(shí)。我把內(nèi)存分高了。提示:ORA27123:unable to attach to shared memory segment。后來我把內(nèi)存分低一點(diǎn)。就通過了。在操作系統(tǒng)下看:共享內(nèi)存:[root@oracleERP ~] cat /proc/sys/kernel/shmmax 2999999999只有2999999999而我把它分了:7294967295,臨時(shí)給shmmax分內(nèi)存。Echo 7294967295 /proc/sys/kernel/shmmax.。這樣臨時(shí)給shmmax分好了。如果想永久的分shmmax,。就要編輯:/etc/設(shè)置: = 7294967295就可以了。好了!寫了幾個(gè)小時(shí)終于寫完了。19 / 19