本文將詳細(xì)介紹WMware中redhat 5 安裝oracle 11g方法,需要的朋友可以參考下
1.安裝Oracle11g所需要的補(bǔ)丁包,安裝光盤上全有,進(jìn)入光盤的Server目錄:(最好通過oracle的官方文檔來確定需要安裝哪些包)
2.修改用戶驗(yàn)證選項(xiàng) 修改/etc/pam.d/login文件加上如下參數(shù) session required pam_limits.so
3.修改用戶配置文件
修改/etc/profile文件加入如下參數(shù):
if [ $USER = “oracle” ]; then
if [ $SHELL = “/bin/ksh” ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
4.安裝目錄配置
# mkdir -p /u01/
# chown -R oracle:oinstall /u01/
# chmod -R 775 /u01/
5. 修改用戶bash shell
#su – oracle
$ vi .bash_profile
增加以下內(nèi)容,注意:orcl為oracle數(shù)據(jù)庫的實(shí)例名.
export ORACLE_BASE=/u01/app
export ORACLE_HOME=$ORACLE_BASE/oracle
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin
6.安裝oralce,把oracle安裝文件從windows機(jī)器D盤上拷貝過來安裝.(可以通過xmanager中的xftp來實(shí)現(xiàn)文件傳輸)
7.#mkdir/mnt/smb
#cd /mnt/smb
#cp linux_11gR2_database_1of2.zip /tmp
#cp linux_11gR2_database_2of2.zip /tmp
#cd /tmp
#unzip linux_11gR2_database_1of2.zip /tmp
#unzip linux_11gR2_database_2of2.zip /tmp
8.改用oracle用戶登錄Redhat5.5安裝
9.$cd /tmp/database
改為1024*768分辨率
$./runInstaller
然后啟動圖形界面安裝.
我的做完后運(yùn)行dbca,在運(yùn)行到EM出現(xiàn)了錯誤提示,”You needto run Netca to configure a listener before you can proceed.Otherwise you maychoose to continue without Database Control configuration”
只要運(yùn)行了netca,命令就行了,然后按照他的要求進(jìn)行點(diǎn)擊下一步就行了。
1.安裝Oracle11g所需要的補(bǔ)丁包,安裝光盤上全有,進(jìn)入光盤的Server目錄:(最好通過oracle的官方文檔來確定需要安裝哪些包)
2.修改用戶驗(yàn)證選項(xiàng) 修改/etc/pam.d/login文件加上如下參數(shù)
session required pam_limits.so
3.修改用戶配置文件
修改/etc/profile文件加入如下參數(shù):
if [ $USER = “oracle” ]; then
if [ $SHELL = “/bin/ksh” ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
4.安裝目錄配置
# mkdir -p /u01/
# chown -R oracle:oinstall /u01/
# chmod -R 775 /u01/
5. 修改用戶bash shell
#su – oracle
$ vi .bash_profile
增加以下內(nèi)容,注意:orcl為oracle數(shù)據(jù)庫的實(shí)例名.
export ORACLE_BASE=/u01/app
export ORACLE_HOME=$ORACLE_BASE/oracle
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin
6.安裝oralce,把oracle安裝文件從windows機(jī)器D盤上拷貝過來安裝.(可以通過xmanager中的xftp來實(shí)現(xiàn)文件傳輸)
7.#mkdir/mnt/smb
#cd /mnt/smb
#cp linux_11gR2_database_1of2.zip /tmp
#cp linux_11gR2_database_2of2.zip /tmp
#cd /tmp
#unzip linux_11gR2_database_1of2.zip /tmp
#unzip linux_11gR2_database_2of2.zip /tmp
8.改用oracle用戶登錄Redhat5.5安裝
9.$cd /tmp/database
改為1024*768分辨率
$./runInstaller
然后啟動圖形界面安裝.
我的做完后運(yùn)行dbca,在運(yùn)行到EM出現(xiàn)了錯誤提示,”You needto run Netca to configure a listener before you can proceed.Otherwise you maychoose to continue without Database Control configuration”