基于RHEL6.5安装Oracle11g详细教程(5)——安装Oracle
5 安装Oracle
[root@oracle ~]# cd /temp/
专注于为中小企业提供成都做网站、网站设计服务,电脑端+手机端+微信端的三站合一,更高效的管理,为中小企业钢城免费做网站提供优质的服务。我们立足成都,凝聚了一批互联网行业人才,有力地推动了超过千家企业的稳健成长,帮助中小企业通过网站建设实现规模扩充和转变。
[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已经全部成功安装),单击Next。
15)如下图所示,单击Finish。
16)如下图所示,Oracle 11g R2 x86_64正在安装中…
17)如下图所示,根据提示执行两个必须的脚本文件(/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已经成功安装完成,单击Close。
You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2014-05-14_11-17-38PM.log
分享标题:基于RHEL6.5安装Oracle11g详细教程(5)——安装Oracle
文章分享:http://azwzsj.com/article/psppss.html