在节点1(crydb01)上执行:
[[email protected] app]# chown -R oracle:oinstall /u01/app/oracle
[[email protected] 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执行图中所示的脚本.
[[email protected] ~]# cd /u01/app/oracle/product/11.2.0/dbhome_1/
[[email protected] 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.
最后安装完成:
时间: 2024-10-20 06:47:16