5 Installing Oracle
[Email protected] ~]# cd/temp/
[[email protected] 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
[email protected] temp]# unzip Linux.x64_11gR2_database_1of2.zip
[Email protected] temp]# unzip Linux.x64_11gR2_database_2of2.zip
[[email protected] 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) as shown, select Oracleand hit enter .
650) this.width=650; "title=" 05-001 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-001 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 14002506668emb.jpg "" 1154 "height=" 672 "/>
2) as shown, enter Password([email protected])and hit enter .
650) this.width=650; "title=" 05-002 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-002 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250670eomr.jpg "" 1155 "height=" 674 "/>
3) Enter the desktop of the Oracle user as shown in.
650) this.width=650; "title=" 05-003 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-003 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250675tcww.jpg "" 722 "height=" 543 "/>
[Email protected] desktop]$ cd/temp/database/
[[email protected] database]$ ls
Doc Install response rpm Runinstaller sshsetup stage welcome.html
[Email protected] database]$ ./runinstaller
4) as shown, after the./runinstaller, wait ...
650) this.width=650; "title=" 05-004 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-004 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250681sehm.jpg "" 725 "height=" 547 "/>
5) uncheck I wish to receive security updates via My OracleSupport as shown, click Next.
650) this.width=650; "title=" 05-005 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-005 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250687xsax.jpg "" 725 "height=" 544 "/>
6) Click Yes, as shown.
650) this.width=650; "title=" 05-006 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-006 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250691wvwk.jpg "" 724 "height=" 544 "/>
7) as shown, select Install database softwareonly, click Next.
650) this.width=650; "title=" 05-007 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-007 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250694brng.jpg "" 725 "height=" 544 "/>
8) as shown in the default selection, click Next.
650) this.width=650; "title=" 05-008 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-008 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250696l0g1.jpg "" 725 "height=" 544 "/>
9) as shown, add simplitied Chinese to the Selected Languages list and click Next.
650) this.width=650; "title=" 05-009 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-009 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250699ivs5.jpg "" 726 "height=" 544 "/>
10) as shown in the default selection, click Next.
650) this.width=650; "title=" 05-010 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-010 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250701noib.jpg "" 726 "height=" 544 "/>
11) as shown in the default selection, click Next.
650) this.width=650; "title=" 05-011 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-011 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250704bvwy.jpg "" 725 "height=" 543 "/>
12) as shown in the default selection, click Next.
650) this.width=650; "title=" 05-012 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-012 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250707uksn.jpg "" 725 "height=" 542 "/>
13) as shown in the default selection, click Next.
650) this.width=650; "title=" 05-013 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-013 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 14002507119ka6.jpg "" 725 "height=" 544 "/>
14) as shown, select IgnoreAll (make sure the package that is ignored has all been successfully installed), click Next.
650) this.width=650; "title=" 05-014 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-014 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250713x1wf.jpg "" 725 "height=" 547 "/>
15) Click Finishas shown in.
650) this.width=650; "title=" 05-015 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-015 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 14002507148ser.jpg "" 726 "height=" 544 "/>
16) as shown, Oracle 11g R2 x86_64 is in the installation ...
650) this.width=650; "title=" 05-016 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-016 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250715odyc.jpg "" 726 "height=" 544 "/>
17) as shown, follow the prompts to execute two required script files (/u01/app/orainventory/orainstroot.sh and /u01/app/oracle/product/11.2.0/db_1/ Root.sh).
650) this.width=650; "title=" 05-017 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-017 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250716tolm.jpg "" 726 "height=" 543 "/>
[Email protected] ~]# sh /u01/app/orainventory/orainstroot.sh
changing permissions of/u01/app/orainventory.
Adding read,write permissions for group.
Removing Read,write,execute permissions for the world.
Changing groupname of/u01/app/orainventory to Oinstall.
The execution of the script is complete.
[Email protected] ~]# sh /u01/app/oracle/product/11.2.0/db_1/root.sh
Running Oracle 11g root.sh script ...
The following environment variables is 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'll 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 would be performed.
Finished product-specific root actions.
18) as shown, the Oracle 11g R2 x86_64 has been successfully installed, click Close.
650) this.width=650; "title=" 05-018 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 05-018 "src=" http://img1.51cto.com/attachment/201405/16/665690_ 1400250717zyr1.jpg "" 726 "height=" 543 "/>
You can find the log of this install session at:
/u01/app/orainventory/logs/installactions2014-05-14_11-17-38pm.log