前期工作:
前面已經(jīng)講到了安裝Linux系統(tǒng)及加載相應(yīng)的軟件包,參考地址如下:
Linux oracle 9i圖文安裝教程一(https://www.jb51.net/os/RedHat/9918.html),
Linux oracle 9i圖文安裝教程二(https://www.jb51.net/os/RedHat/9919.html)
Linux oracle 9i圖文安裝教程三 (https://www.jb51.net/os/RedHat/9920.html)
這一節(jié)將將開始Oracle的安裝.其中包括更改Oracle默認(rèn)的JRE的路徑,解決"Error:You do not have sufficient provileges to write to the specified path. in component Database Configuration Assistant 9.2.0.1.0,Installation cannot continue for this component."的錯誤及安裝中必須的步驟. 本節(jié)中需在計算機(jī)中輸入的數(shù)據(jù)將以藍(lán)色字體標(biāo)記.
一:下載和解壓Oracle軟件包,將文件存到"/usr/Oracle"
http://www.oracle.com/technology/software/products/oracle9i/index.html
su oracle
gunzip ship_9204_linux_disk1.cpio.gz
gunzip ship_9204_linux_disk2.cpio.gz
gunzip ship_9204_linux_disk3.cpio.gz
cpio -idmv ship_9204_linux_disk1.cpio
cpio -idmv ship_9204_linux_disk2.cpio
cpio -idmv ship_9204_linux_disk3.cpio
二:更改默認(rèn)的jre路徑
su oracle
vi /usr/Oracle/Disk1/install/linux/oraparam.ini
JRE_LOCATION=/usr/jre1.3.1
三:開始安裝
su oracle
cd /usr/Oracle/Disk1
./runInstaller
四:進(jìn)入/tmp運(yùn)行安裝時必須的腳本
su -
cd /tmp
sh orainstRoot.sh
五:繼續(xù)安裝
六:解決下一個畫面中可能出現(xiàn)的錯誤"Error:You do not have sufficient provileges to write to the specified path. in component Database Configuration Assistant 9.2.0.1.0,Installation cannot continue for this component."
su -
cd /
mkdir oradata
chown oracle.dab /oradata
這里有一點(diǎn)不明白,為什么數(shù)據(jù)庫會默認(rèn)安裝在"/oradata"下,不知哪位大俠知道怎樣更改這里的設(shè)置,還請?zhí)崾疽欢?br />Linux oracle 9i圖文安裝教程一(https://www.jb51.net/os/RedHat/9918.html),
Linux oracle 9i圖文安裝教程二(https://www.jb51.net/os/RedHat/9919.html)
Linux oracle 9i圖文安裝教程三 (https://www.jb51.net/os/RedHat/9920.html)
Linux oracle 9i圖文安裝教程四 (https://www.jb51.net/os/RedHat/9921.html)
Linux oracle 9i圖文安裝教程五 (https://www.jb51.net/os/RedHat/9922.html)
Linux oracle 9i圖文安裝教程六 (https://www.jb51.net/os/RedHat/9923.html)