Centos环境下odi12c代理静默安装

1.建立用户和用户组

groupadd odi

useradd -g odi -m -d /home/odi odi

passwd odi

###注意,需要切换到odi用户

su - odi 

2.vi /u01/odi.rsp

###注意:ORACLE_HOME=/u01/odi12c根据你的实际情况修改,其他可以不动

[ENGINE]

#DO NOT CHANGE THIS.

Response File Version=1.0.0.0.0

[GENERIC]

#The oracle home location. This can be an existing Oracle Home or a new Oracle Home

ORACLE_HOME=/u01/odi12c

#Set this variable value to the Installation Type selected. e.g. Standalone Installation, Enterprise Installation.

INSTALL_TYPE=Standalone Installation

#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.

MYORACLESUPPORT_USERNAME=

#Provide the My Oracle Support Password

MYORACLESUPPORT_PASSWORD=<SECURE VALUE>

#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration M

anager configuration

DECLINE_SECURITY_UPDATES=true

#Set this to true if My Oracle Support Password is specified

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

#Provide the Proxy Host

PROXY_HOST=

#Provide the Proxy Port

PROXY_PORT=

#Provide the Proxy Username

PROXY_USER=

#Provide the Proxy Password

PROXY_PWD=<SECURE VALUE>

#Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]

COLLECTOR_SUPPORTHUB_URL=

3.vi /u01/oraInst.loc

###注意:根据实际情况

inventory_loc=/home/odi/oraInventory

inst_group=odi

4.开始静默安装,注意路径一定要用绝对路径

java -jar fmw_12.2.1.4.0_odi.jar -silent -responseFile /u01/odi.rsp -invPtrLoc /u01/oraInst.loc

5.centos服务器上启动代理,从windows环境,复制域配置文件到/u01/odi12c/目录,类似,

/u01/odi12c/user_projects/

cd /u01/odi12c

chown -R odi:odi user_projects

6.修改文件,agent.sh,setStartupEnv.sh,setODIDomainEnv.sh

cd /u01/odi12c/user_projects/domains/base_domain/bin

vi setStartupEnv.sh

######批量替换方法

:%s#D:/Oracle/Middleware/Oracle_Home/#/u01/odi12c/#g

7.修改和检查system-comp-config.xml文件

cd /u01/odi12c/user_projects/domains/base_domain/config/fmwconfig/components

more system-comp-config.xml

8.后台启动代理进程

nohup sh /u01/odi12c/user_projects/domains/base_domain/bin/agent.sh -NAME=OracleDIAgent1 -PORT=20910 &

9.验证测试

续:odi12c Windows环境安装_zhj9705的博客-CSDN博客

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值