11g RAC完全安装图解(VM Workstation8.0+Centos5.5)02-Oracle安装
在节点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 Passed
Checking swap space: must be greater than 150 MB. Actual 1905 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing 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.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/dbhome_1
Enter 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 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.
最后安装完成:
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。