[root@oracle ~]# cd /temp/
專注于為中小企業(yè)提供成都做網(wǎng)站、網(wǎng)站設(shè)計服務(wù),電腦端+手機端+微信端的三站合一,更高效的管理,為中小企業(yè)鋼城免費做網(wǎng)站提供優(yōu)質(zhì)的服務(wù)。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動了超過千家企業(yè)的穩(wěn)健成長,幫助中小企業(yè)通過網(wǎng)站建設(shè)實現(xiàn)規(guī)模擴充和轉(zhuǎn)變。
[root@oracle temp]# ls
linux.x64_11gR2_database_1of2.zip lost+found yum
linux.x64_11gR2_database_2of2.zip pdksh-5.2.14-37.el5_8.1.x86_64.rpm
[root@oracle temp]# unzip linux.x64_11gR2_database_1of2.zip
[root@oracle temp]# unzip linux.x64_11gR2_database_2of2.zip
[root@oracle temp]# ls
database lost+found
linux.x64_11gR2_database_1of2.zip pdksh-5.2.14-37.el5_8.1.x86_64.rpm
linux.x64_11gR2_database_2of2.zip yum
1)如下圖所示,選擇oracle,敲擊回車鍵。
2)如下圖所示,輸入Password(1qaz@WSX),敲擊回車鍵。
3)如下圖所示,進入oracle用戶的桌面。
[oracle@oracle Desktop]$ cd /temp/database/
[oracle@oracle database]$ ls
doc install response rpm runInstaller sshsetup stage welcome.html
[oracle@oracle database]$ ./runInstaller
4)如下圖所示,在./runInstaller之后,等待…
5)如下圖所示,取消選中I wish to receive security updates via My Oracle Support,單擊Next。
6)如下圖所示,單擊Yes。
7)如下圖所示,選中Install database software only,單擊Next。
8)如下圖所示,缺省選擇,單擊Next。
9)如下圖所示,將Simplitied Chinese添加到Selected Languages列表中,單擊Next。
10)如下圖所示,缺省選擇,單擊Next。
11)如下圖所示,缺省選擇,單擊Next。
12)如下圖所示,缺省選擇,單擊Next。
13)如下圖所示,缺省選擇,單擊Next。
14)如下圖所示,選中Ignore All(請確保被忽略的這些Package已經(jīng)全部成功安裝),單擊Next。
15)如下圖所示,單擊Finish。
16)如下圖所示,Oracle 11g R2 x86_64正在安裝中…
17)如下圖所示,根據(jù)提示執(zhí)行兩個必須的腳本文件(/u01/app/oraInventory/orainstRoot.sh和/u01/app/oracle/product/11.2.0/db_1/root.sh)。
[root@oracle ~]# sh/u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@oracle ~]# sh/u01/app/oracle/product/11.2.0/db_1/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
18)如下圖所示,Oracle 11g R2 x86_64已經(jīng)成功安裝完成,單擊Close。
You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2014-05-14_11-17-38PM.log