admin管理员组

文章数量:1540896

2024年1月11日发(作者:)

OAM及OIM安装详细过程一.安装产品虚拟机:VMware8系统:OracleEnterpriseLinux5.564位介质:Oracledatabase11.2.0JDK_1.6.0.24OID_11.1.1.5.0OAM_11.1.1.5.0WebTier_11.1.1.5.0Webgate_11.1.1.5.0SOA_11.1.1.5.0OIM_11.1.1.5.0二.OAM安装及配置步骤1.安装数据库创建oracle用户及用户组[root@localhost~]#useraddoracle[root@localhost~]#passwdoracle(输入密码)[root@localhost~]#groupaddoinstall[root@localhost~]#groupadddba[root@localhostoracle]#mkdirodrive[root@localhostoracle]#mkdirinstall[root@localhostoracle]#usermod-goinstall-Gdbaoracle[root@localhostoracle]#chown-Roracle:oinstall/home/oracle/odrive修改hosts文件:[root@localhostoracle]#vi/etc/omainlocalhost::test修改网络并重启[root@localhost~]#vi/etc/sysconfig/networkHOSTNAME=启动数据库安装[oracle@idmtestdatabase]$pwd/home/oracle/install/database[oracle@idmtestdatabase]$./runInstaller(注:如果Checkingmonitor:没有通过,则要安装VM-tool)

按图示步骤进行

正确的OracleBase为:/home/oracle/odrive/db11g正确的组名为:oinstall

正确的ORACLE_SID:buy360DatabaseAdministrator(OSDBA)Group:dbaDatabaseOperator(OSOPER)Group:oinstall

先决条件检查:(1).点击fixandcheckagain,按提示执行脚本(2).载入系统安装盘,进入到Server目录,安装先决条件中检查失败的包(3).SwapSize问题选择忽略(4).继续安装安装完成后执行安装后脚本修改.bah_profile文件[oracle@idmtest~]$_profile#.bash_profile#Getthealiasesandfunctionsif[-f~/.bashrc];then.~/.bashrcfi#UserspecificenvironmentandstartupprogramsPATH=$PATH:$HOME/binexportPATHORACLE_HOME=/home/oracle/odrive/db11g/product/11.2.0/dbhome_1exportORACLE_HOMEPATH=$ORACLE_HOME/bin:$PATHexportPATH

保存后执行:[oracle@idmtest~]$_profile关闭防火墙[root@idmtest~]#vi/etc/selinux/config#ThisfilecontrolsthestateofSELinuxonthesystem.#SELINUX=cantakeoneofthesethreevalues:#enforcing-SELinuxsecuritypolicyisenforced.#permissive-SELinuxprintswarningsinsteadofenforcing.#X=disabled#SELINUXTYPE=levaluesare:#targeted-Onlytargetednetworkdaemonsareprotected.#XTYPE=targeted启动监听器[oracle@idmtest~]$lsnrctlstart如果报错,提示.11.1找不到或者有问题,解决方法:[root@idmtest~]#chcon-ttexrel_shlib_t/home/oracle/odrive/db11g/product/11.2.0/dbhome_1/lib/.11.1查看监听器状态[oracle@idmtest~]$lsnrctlstatusLSNRCTLforLinux:Version11.2.0.1.0-Productionon14-MAY-201220:17:20Copyright(c)1991,2009,tingto(ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))STATUSoftheLISTENER------------------------AliasLISTENERVersionTNSLSNRforLinux:Version11.2.0.1.0-ProductionStartDate14-MAY-201220:15:50Uptime0days0hr.1min.32secTraceLeveloffSecurityON:LocalOSAuthenticationSNMPOFFListenerLogFile/home/oracle/odrive/db11g/product/11.2.0/dbhome_1/log/diag/tnslsnr/idmtest/listener/(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)))ThelistenersupportsnoservicesThecommandcompletedsuccessfully创建数据库实例

[oracle@idmtest~]$dbca按图示操作

正确的SID:buy360

完成后再修改.bash_profile文件添加两行:ORACLE_SID=buy360exportORACLE_SID在查看监听器状态,会看到如下信息所示:[oracle@idmtestdb11g]$lsnrctlstatusLSNRCTLforLinux:Version11.2.0.1.0-Productionon23-JUL-201223:20:33Copyright(c)1991,2009,tingto(ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))STATUSoftheLISTENER------------------------AliasLISTENERVersionTNSLSNRforLinux:Version11.2.0.1.0-ProductionStartDate22-JUL-201221:39:10Uptime1days1hr.41min.23secTraceLeveloffSecurityON:LocalOSAuthenticationSNMPOFFListenerLogFile/home/oracle/odrive/db11g/product/11.2.0/dbhome_1/log/diag/tnslsnr/idmtest/listener/(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)))Service"buy360"has1instance(s).Instance"buy360",statusREADY,has1handler(Service"buy360XDB"has1instance(s).Instance"buy360",statusREADY,has1handler(Thecommandcompletedsuccessfully至此数据库安装完成2.安装JDK执行:oracle@idmtestodrive]$/home/oracle/install/切换到root用户修改.bash_profile文件#JAVAJAVA_HOME=/home/oracle/odrive/jdk1.6.0_24exportJAVA_HOME

PATH=$JAVA_HOME/bin:$PATHexportPATH检验结果:[oracle@idmtest~]$su-oracle[oracle@idmtest~]$java-versionjavaversion"1.6.0_26"Java(TM)SERuntimeEnvironment(build1.6.0_26-b03)JavaHotSpot(TM)ClientVM(build20.1-b02,mixedmode,sharing)JDK安装完成3.安装Weblogic[oracle@idmtestinstall]$java-jarwls1035_按图示执行:

4.创建OID和OAMSchema执行:./rcuHome/bin/rcu启动RCU按图示步骤执行:

密码:abcd1234

Schema创建完成5.安装OID启动Installer按图示步骤进行:

执行安装后脚本

安装11.1.1.5升级补丁

6.创建OID实例[oracle@idmtestbin]$cd/home/oracle/odrive/middleware/Oracle_IDM1/bin[oracle@idmtestbin]$./

OracleInstanceLocation:/home/oracle/odrive/middleware/asinst_1OracleInstanceName:asinst_1

密码:abcd1234

7.安装WebTier

安装11.1.1.5.0补丁

本文标签: 安装执行完成修改步骤