平时用的少,但有时中间件服务器上又有需求,那就。。。来吧
--Oracle 11g client 静默安装
上传 p13390677_112040_Linux-x86-64_4of7.zip
groupadd -g 1101 oinstall
groupadd -g 1102 dba
useradd -u 1101 -g oinstall -G dba oracle
echo "ORAsys_007"|passwd oracle --stdin
mkdir /oracle
chown oracle:oinstall /oracle
chmod 755 /oracle
export ORACLE_BASE=/oracle/app/oracle
export ORACLE_HOME=/oracle/app/oracle/product/11.2.0/client_1
#export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
NAME=`hostname`
PS1="[$NAME:$LOGNAME]:\${PWD}$ "
umask 022
alias s='sqlplus / as sysdba'
export LANG=C
vi client.rsp
-
oracle.install.responseFileVersion=/oracle/install/rspfmt_clientinstall_response_schema_v11_2_0
-
UNIX_GROUP_NAME=oinstall
-
INVENTORY_LOCATION=/oracle/app/oraInventory
-
SELECTED_LANGUAGES=en
-
ORACLE_HOME=/oracle/app/oracle/product/11.2.0/client_1
-
ORACLE_BASE=/oracle/app/oracle
-
oracle.install.client.installType=Administrator
-
oracle.install.client.upgrading=false
-
oracle.installer.autoupdates.option=SKIP_UPDATES
-
PROXY_PORT=0
./runInstaller -silent -noconfig -ignorePrereq -responseFile /home/oracle/client.rsp
根据提示,用root执行 orainstRoot.sh...
{BANNED}{BANNED}{BANNED}最佳佳佳后验证
sqlldr |head -30
不报错即可
阅读(1345) | 评论(0) | 转发(0) |