1.安装前准备
yum install -y binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel libaio libaio-devel libgcc libstdc++ libstdc++-devel make sysstat ld-linux.so.2
建议官方要求的这些依赖包都要安装上。
创建组和用户
groupadd oinstall
useradd oracle -g oinstall
passwd oracle123
创建目录
mkdir -p /u01/app/oracle
chown -R oracle:oinstall /u01/app/oracle
chmod -R 775 /u01/app/
1.2 其他信息检查
客户端安装介质解压目录:/home/oracle
客户端的安装目录:/u01/app/oracle/11.2/client
2.配置响应文件
默认的响应文件在解压的目录下的client/response目录下,比如这里是/home/oracle/client/response/client_install.rsp,内容如下:
$ more /opt/oclient/client/response/client_install.rsp
###############################################################################
## Copyright(c) Oracle Corporation 1998,2008. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
###############################################################################
#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/or