11g RAC完整安裝圖解(VM Workstation8.0+Centos5.5)02-Oracle安裝,vmworkstation
在節點1(crydb01)上執行:
[root@crydb01 app]# chown -R oracle:oinstall /u01/app/oracle[oracle@crydb01 database]$ ./runInstaller Starting Oracle Universal Installer...Checking Temp space: must be greater than 80 MB. Actual 985 MB PassedChecking swap space: must be greater than 150 MB. Actual 1905 MB PassedChecking monitor: must be configured to display at least 256 colors. Actual 16777216 PassedPreparing to launch Oracle Universal Installer from /tmp/OraInstall2015-02-13_01-49-31AM. Please wait ...
在中輸入Oracle使用者的密碼並點擊”Setup”:
注意此處應保證在兩個節點上對應目錄的磁碟空間足夠,否則會報錯.
為了簡單,這裡統一設定密碼
下面是先決條件檢查:
忽略此失敗,繼續:
點擊”Finish”開始漫長的安裝過程…
這個問題先不管,可以安裝後處理.
又到了執行root.sh的時候了:
分別在兩個節點上以root執行圖中所示的指令碼.
[root@crydb01 ~]# cd /u01/app/oracle/product/11.2.0/dbhome_1/[root@crydb01 dbhome_1]# ./root.shRunning Oracle 11g root.sh script...The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.2.0/dbhome_1Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying dbhome to /usr/local/bin ...The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying oraenv to /usr/local/bin ...The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: y Copying coraenv to /usr/local/bin ...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root.sh script.Now product-specific root actions will be performed.Finished product-specific root actions.
最後安裝完成: