ORACLE之RAC搭建过程10-上传RAC安装包
1、以grid用户登录rac1,创建RAC安装包存放路径:
[grid@rac1 ~]$ mkdir /oracle/soft
[grid@rac1 soft]$ ll
total 3323828
-rw-r–r-- 1 root root 1239269270 Feb 17 10:05 linux.x64_11gR2_database_1of2.zip
-rw-r–r-- 1 root root 1111416131 Feb 17 10:03 linux.x64_11gR2_database_2of2.zip
-rw-r–r-- 1 root root 1052897657 Feb 17 10:04 linux.x64_11gR2_grid.zip
[grid@rac1 soft]$
[grid@rac1 asmlib]$ ll
total 148
-rw-r–r-- 1 root root 38720 Feb 17 10:22 kmod-oracleasm-2.0.8-28.el7.x86_64.rpm
-rw-r–r-- 1 root root 19360 Feb 17 10:22 oracleasmlib-2.0.12-1.el7.x86_64.rpm
-rw-r–r-- 1 root root 86908 Feb 17 10:22 oracleasm-support-2.1.11-2.el7.x86_64.rpm
[grid@rac1 asmlib]$
在 Oracle Grid Infrastructure 或 Oracle RAC 软件的安装过程中,
OUI 使用 SSH 运行命令并将文件复制到其他节点。在安装过程中,系统中的隐藏文件(例如 .bashrc 或 .cshrc)如果包含stty 命令,
则会导致生成文件错误和其他安装错误。
要避免该问题,必须在每个 Oracle 安装所有者的用户主目录中修改这些文件以取消所有 STDERR 输出,
如下所示:
Bourne、Bash 或 Korn shell:
if [ -t 0 ]; then
stty intr ^C
fi
注:如果由远程 shell 加载的隐藏文件包含 stty 命令,则 OUI 将指示错误并停止安装。