静默安装oracle clint比较简单,修改instantclient.crsp文件的几个位置即可

[root@localhost ~]# vi /etc/oralnstloc

inventory_loc=/u01/app/oralnventory/
inst_group=oinstall
[root@localhost ~]# chmod 664 /etc/oralnstloc
2 修改rsp文件
[oracle@localhost response]$ pwd
/u01/oracle/client/response
[oracle@localhost response]$ ls
clientadmin.rsp clientcustom.rsp clientruntime.rsp instantClient.rsp
[oracle@localhost response]$ vi instantClient.rsp
UNIX_GROUP_NAME=oinstall
ORACLE_HOME=/u01/app/oracle/product/10.2.0/client
ORACLE_HOME_NAME=OraClient10ghome1
SELECTED_LANGUAGES=en
INSTALL_TYPE="Administrator"

----11.2.0.client
[oracle@oracle12c client]$ ./runInstaller -silent -noconfig -responseFile /u01/oracleware/client/response/client_install.rsp
ORACLE_HOSTNAME=oracle12c
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/u01/app/oraInventory
SELECTED_LANGUAGES=en,zh_CN
ORACLE_HOME=/u01/app/oracle/product/11.2.0/client_1
ORACLE_BASE=/u01/app/oracle
oracle.install.client.installType=Administrator
------11.2.0.client
[oracle@localhost client]$ ./runInstaller -silent-responseFile /u01/oracle/client/response/instantClient.rsp
[root@localhost ~]# vi /etc/oralnstloc
inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall
[root@localhost ~]# mv /etc/oralnstloc /etc/oralnst.loc

[oracle@localhost client]$ more /etc/oralnst.loc
inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall

[oracle@localhost response]$ vi clientadmin.rsp
./runInstaller -silent -noconfig -responseFile /u01/app/software/client/response/clientadmin.rsp
---UNIX_GROUP_NAME="oinstall"?ORACLE_HOME="/u01/app/oracle/product/10.2.0/client_1"?ORACLE_HOME_NAME="OraClient10g"

./runInstaller -silent -noconfig -responseFile /u01/oracle/client/response/clientruntime.rsp UNIX_GROUP_NAME="oinstall"?ORACLE_HOME="/u01/app/oracle/product/10.2.0/client_1"?ORACLE_HOME_NAME="OraClient10g"
[oracle@localhost client]$ ./runInstaller -silent -noconfig -responseFile /u01/oracle/client/response/clientadmin.rsp
./runInstaller: line 13: dirname: command not found
WARNING:The following configuration scripts
/u01/app/oracle/product/10.2.0/client_1/root.sh

dev.gnum.com
----------------
oracle@ip-10-134-31-19:~$ cd /u01/app/oracle/oraInventory/logs/
oracle@ip-10-134-31-19:/u01/app/oracle/oraInventory/logs$ ll
total 568
drwxr-x--- 2 oracle oinstall 4096 Nov 4 08:51 ./
drwxr-xr-x 6 oracle oinstall 4096 Nov 4 08:53 ../
-rw-r--r-- 1 oracle oinstall 6511 Jun 18 2012 installActions2012-06-18_03-54-00AM.log
-rw-r----- 1 oracle oinstall 152710 Jun 20 2012 installActions2012-06-18_04-02-23AM.log
-rw-r----- 1 oracle oinstall 387892 Nov 4 08:54 installActions2014-11-04_08-44-50AM.log
-rw-r----- 1 oracle oinstall 2310 Jun 18 2012 oraInstall2012-06-18_04-02-23AM.err
-rw-r----- 1 oracle oinstall 0 Jun 18 2012 oraInstall2012-06-18_04-02-23AM.out
-rw-r----- 1 oracle oinstall 935 Nov 4 08:45 oraInstall2014-11-04_08-44-50AM.err
-rw-r----- 1 oracle oinstall 7180 Nov 4 08:54 oraInstall2014-11-04_08-44-50AM.out
-rw-r----- 1 oracle oinstall 728 Nov 4 08:54 silentInstall2014-11-04_08-44-50AM.log
oracle@ip-10-134-31-19:/u01/app/oracle/oraInventory/logs$ more silentInstall2014-11-04_08-44-50AM.log
silentInstall2014-11-04_08-44-50AM.log
Error in invoking target 'install' of makefile '/u01/app/oracle/product/10.2.0/client_1/sqlplus/lib/ins_sqlplus.mk'
. See '/u01/app/oracle/oraInventory/logs/installActions2014-11-04_08-44-50AM.log' for details.
WARNING:The following configuration scripts
/u01/app/oracle/product/10.2.0/client_1/root.sh
need to be executed as root for configuring the system. If you skip the execution of the configuration tools, the c
onfiguration will not be complete and the product wont function properly. In order to get the product to function p
roperly, you will be required to execute the scripts and the configuration tools after exiting the OUI.

The installation of Oracle Client was successful.
oracle@ip-10-134-31-19:/u01/app/oracle/oraInventory/logs$ su -
Password:
root@ip-10-134-31-19:~# cd /u01/app/oracle/product/10.2.0/client_1
root@ip-10-134-31-19:/u01/app/oracle/product/10.2.0/client_1# ./root.sh

Oracle 静默安装oracle client的更多相关文章

  1. Oracle 静默安装 oracle 12c

    [oracle@local12cdg app]$ id oracleuid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba)[or ...

  2. linux 之静默安装oracle

    Web服务器上面的Linux一般是不会有图形界面的,所有通过图形界面来安装Linux的方式在没有图形界面的Linux上面是行不通的,我们要使用的安装方式叫做Linux的静默安装.即在没有图形界面的Li ...

  3. CentOS 6.5下静默安装oracle

    本例: 通过SSH远程连接云主机,上传oracle11g安装包,在centos6.5上无图形化界面静默安装oracle11g. 涉及工具及环境: 1.本地环境windows7+ssh远程连接工具xSh ...

  4. centos7 无界面静默安装 oracle

    环境准备 Centos7.3.64  64位   这里使用的是阿里云 ECS主机(1核,2G内存,40G硬盘) Oracle 11g R2 64位安装介质(版本11.2.0.1)下载地址:http:/ ...

  5. 【静默】在RHEL 6.5上静默安装Oracle 18c

    [静默]在RHEL 6.5上静默安装Oracle 18c Oracle 18c.18c其实就是12.2.0.2,19c就是12.2.0.3.db_home.zip 安装包大概4.25G,解压后有8.9 ...

  6. CentOS 7静默安装Oracle 11g R2数据库软件

    之前安装Oracle 11g R2数据库软件都是建立在图形界面上的,不过现在大部分服务器上都没有安装图形界面.图形界面安装较为方便,安装选项清晰,步骤明确,但Oracle还支持另一种安装方式,就是通过 ...

  7. CentOS静默安装Oracle 11gR2(x64)

    环境 OS: CentOS 7.4; hosts: L134; IP: 192.168.1.134 DB: linux.x64_11gR2_database 安装依赖包 yum install -y ...

  8. Linux - 静默安装oracle数据库总结

    Web服务器上面的Linux一般是不会有图形界面的,所有通过图形界面来安装Linux的方式在没有图形界面的Linux上面是行不通的,我们要使用的安装方式叫做Linux的静默安装.即在没有图形界面的Li ...

  9. Linux静默安装Oracle

    打算在云服务器上装oracle服务,以前DBA美眉都是在图形化界面下安装,这次抓瞎了.赶紧上网查查,静默安装可以解决问题.于是乎赶紧开始部署,过程如下.安装环境:操作系统:CentOS 7内存:11G ...

随机推荐

  1. MongoDB快速入门(三)- 集合

    创建集合 MongoDB 的 db.createCollection(name, options) 用于创建集合. 在命令中, name 是要创建集合的名称. Options 是一个文档,用于指定集合 ...

  2. JMeter学习(一)目录介绍

    JMeter也学了一阵子了,对于基本的操作已了解,再回过头来看看Jmeter的目录,本篇是对于它的目录进行一些简单的介绍. JMeter解压之后打开,根目录如下图: 1.bin:可执行文件目录 2.d ...

  3. HDFS文件访问权限

    HDFS中的文件访问权限 针对文件和目录,HDFS的权限模式与POSIX非常相似一共提供三类权限模式:只读权限(r).写入权限(w)和可执行权限(x).读取文件或列出目录内容时需要只读权限.写入一个文 ...

  4. 如何在myEclipse中创建配置文件,比如:XXX.properties

    myEclipse是没有直接生成配置文件的方法,除非去配置某些插件. 目前通用的方法是:随便新建一个文件(比如:XXX.xml),然后对该文件重命名,改成XXX.properties即可. 很简单有没 ...

  5. Codeforces Beta Round #61 (Div. 2) D. Petya and His Friends 想法

    D. Petya and His Friends time limit per test 2 seconds memory limit per test 256 megabytes input sta ...

  6. Android开源项目-Easypermissions

    Easypermissions简化了Android M的运行时权限的申请.结果处理.判断等步骤. 1 相关文档 官方文档: https://github.com/googlesamples/easyp ...

  7. 《Advanced Bash-scripting Guide》学习(三):自删除脚本和自读取内容的脚本

    本文所选的例子来自于<Advanced Bash-scripting Gudie>一书,译者 杨春敏 黄毅 自删除脚本 #!/bin/rm #自删除脚本 #当你运行这个脚本时,基本上什么都 ...

  8. 解决mysql登录报错:ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

    今天在安装一个压缩包mysql-5.7.19时,碰到了一系列问题,现将这些问题罗列出来: 一.  ERROR 2003 (HY000): Can't connect to MySQL server o ...

  9. Android Design TextinputLayout

    使用该布局 需要在build.gradle中的dependencies块中添加两个依赖来向下兼容 dependencies { compile fileTree(dir: 'libs', includ ...

  10. Senior Manufacturing Technical Manager

    Job Description As a Manufacturing Technical Manager, you will be responsible for bringing new produ ...