Oracle 静默安装oracle client
静默安装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的更多相关文章
- Oracle 静默安装 oracle 12c
[oracle@local12cdg app]$ id oracleuid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba)[or ...
- linux 之静默安装oracle
Web服务器上面的Linux一般是不会有图形界面的,所有通过图形界面来安装Linux的方式在没有图形界面的Linux上面是行不通的,我们要使用的安装方式叫做Linux的静默安装.即在没有图形界面的Li ...
- CentOS 6.5下静默安装oracle
本例: 通过SSH远程连接云主机,上传oracle11g安装包,在centos6.5上无图形化界面静默安装oracle11g. 涉及工具及环境: 1.本地环境windows7+ssh远程连接工具xSh ...
- centos7 无界面静默安装 oracle
环境准备 Centos7.3.64 64位 这里使用的是阿里云 ECS主机(1核,2G内存,40G硬盘) Oracle 11g R2 64位安装介质(版本11.2.0.1)下载地址:http:/ ...
- 【静默】在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 ...
- CentOS 7静默安装Oracle 11g R2数据库软件
之前安装Oracle 11g R2数据库软件都是建立在图形界面上的,不过现在大部分服务器上都没有安装图形界面.图形界面安装较为方便,安装选项清晰,步骤明确,但Oracle还支持另一种安装方式,就是通过 ...
- CentOS静默安装Oracle 11gR2(x64)
环境 OS: CentOS 7.4; hosts: L134; IP: 192.168.1.134 DB: linux.x64_11gR2_database 安装依赖包 yum install -y ...
- Linux - 静默安装oracle数据库总结
Web服务器上面的Linux一般是不会有图形界面的,所有通过图形界面来安装Linux的方式在没有图形界面的Linux上面是行不通的,我们要使用的安装方式叫做Linux的静默安装.即在没有图形界面的Li ...
- Linux静默安装Oracle
打算在云服务器上装oracle服务,以前DBA美眉都是在图形化界面下安装,这次抓瞎了.赶紧上网查查,静默安装可以解决问题.于是乎赶紧开始部署,过程如下.安装环境:操作系统:CentOS 7内存:11G ...
随机推荐
- python爬虫-韩寒新浪博客博文
博客地址:http://blog.sina.com.cn/s/articlelist_1191258123_0_1.html 爬第一页博文 #-*-coding:utf--*- import re # ...
- svn working copy locked的解决方法
在使用svn更新或提交代码时,会报"svn working copy XXX locked"的错误,利用svn客户端工具TortoiseSVN的cleanup也不能解决问题. 我们 ...
- Python之单例模式总结
一.单例模式 a.单例模式分为四种:文件,类,基于__new__方法实现单例模式,基于metaclass方式实现 b.类实现如下: class Sigletion(objects): import t ...
- 第一个Python程序hello.py提示出现File "<stdin>",line 1错误
写第一个Python程序hello.py,内容仅有一句,print 'hello world', 运行 Python hello.py 出错,提示: File "<stdin>& ...
- 2017-02-23 错误信息:未在本地计算机上注册“Microsoft.ACE.oledb.12.0”提供程序。
问题如题,解决办法:去 http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/Access ...
- 机器学习(六)—随机森林Random Forest
1.什么是随机采样? Bagging可以简单的理解为:放回抽样,多数表决(分类)或简单平均(回归): Bagging的弱学习器之间没有boosting那样的联系,不存在强依赖关系,基学习器之间属于并列 ...
- 一些蠕虫传播研究的文章——TODO
www.arocmag.com/getarticle/?aid=4e02d91c19b0cced Internet 蠕虫防范技术研究http://www.arocmag.com/article/100 ...
- 【Prism】MEF版Commanding
引言 接下来的是Commanding Demo的改造. DelegateCommand WPF本身提供了一个RoutedCommand,然而没什么卵用.在Prism框架中提供了个更人性化的ICo ...
- (转)Android 弹软键盘时listview的变化控制
本文转自于:http://blog.csdn.net/hellohaifei/article/details/9377483 问题描述:界面中有三部分,上面是标题栏,中间是Listview,下面是输入 ...
- 省略setget方法
可以装一下这个插件再引入一个jar包实体类里不需要再写get/set方法了 maven坐标:<dependency> <groupId>org.projectlombok< ...