首页 > 代码库 > 全世界最详细的图形化VMware中linux环境下oracle安装(三)【weber出品必属精品】
全世界最详细的图形化VMware中linux环境下oracle安装(三)【weber出品必属精品】
- 数据库软件和数据库都建好了,基本上可以说完成90%的工作,但是美中不足的就是企业管理器还没有安装好,现在我们就开始安装企业管理器吧。
- 安装之前我们先将补丁给补上。补丁我们也是采用禁默安装。补丁:p8350262_10205_Generic.zip
- 将补丁上传到目录:$ORACLE_HOME/OPatch/ 解压缩:
$ unzip p8350262_10205_Generic.zip
- 得到一个目录为:8350262
- 打补丁:
$ emctl stop dbconsole$ cd $ORACLE_HOME/OPatch$ ./opatch apply 8350262
- 补丁安装上去之后
$ lsnrctl status 显示: No Listener
- 然后我们做:
$ cd /u01/database/response/$ cp netca.rsp /u01$ netca /silent /responseFile /u01/netca.rsp ---其实用-silent -responseFile /u01/netca.rsp也是可以的,但是不知为何有些机子不行
- 安装完监听器后我们进入sqlplus去将数据库注册到这个监听器上。
$ sqlplus / as sysdba;sqlplus>alter system register
- 监听器安装完成后我们进行安装资料库
SQL> select username from dba_users where username=‘SYSMAN‘; no rows selected
- 执行安装资料库命令:
$ emca -repos create STARTED EMCA at Mar 30, 2013 9:57:23 AMEM Configuration Assistant, Version 10.2.0.1.0 ProductionCopyright (c) 2003, 2005, Oracle. All rights reserved.Enter the following information:Database SID: orclListener port number: 1521Password for SYS user: Password for SYSMAN user: Password for SYSMAN user: Do you wish to continue? [yes(Y)/no(N)]: YMar 30, 2013 9:58:28 AM oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at /u01/app/oracle/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2013-03-30_09-57-2-AM.log.Mar 30, 2013 9:58:28 AM oracle.sysman.emcp.EMReposConfig createRepositoryINFO: Creating the EM repository (this may take a while) ...Mar 30, 2013 10:00:42 AM oracle.sysman.emcp.EMReposConfig invokeINFO: Repository successfully createdEnterprise Manager configuration completed successfullyFINISHED EMCA at Mar 30, 2013 10:00:42 AM
- 资料库安装完成后我们进行安装控制台:
$ emca -config dbcontrol dbSTARTED EMCA at Mar 30, 2013 10:01:47 AMEM Configuration Assistant, Version 10.2.0.1.0 ProductionCopyright (c) 2003, 2005, Oracle. All rights reserved.Enter the following information:Database SID: orclListener port number: 1521Password for SYS user: Password for DBSNMP user: Password for SYSMAN user: Invalid username/password.Password for SYSMAN user: Email address for notifications (optional): Outgoing Mail (SMTP) server for notifications (optional): -----------------------------------------------------------------You have specified the following settingsDatabase ORACLE_HOME ................ /u01/app/oracle/10.2.0/db_1Database hostname ................ hndxListener port number ................ 1521Database SID ................ orclEmail address for notifications ............... Outgoing Mail (SMTP) server for notifications ............... -----------------------------------------------------------------Do you wish to continue? [yes(Y)/no(N)]: YMar 30, 2013 10:02:42 AM oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at /u01/app/oracle/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2013-03-30_10-01-4-AM.log.Mar 30, 2013 10:02:48 AM oracle.sysman.emcp.util.DBControlUtil startOMSINFO: Starting Database Control (this may take a while) ...Mar 30, 2013 10:04:24 AM oracle.sysman.emcp.EMDBPostConfig performConfigurationINFO: Database Control started successfullyMar 30, 2013 10:04:24 AM oracle.sysman.emcp.EMDBPostConfig performConfigurationINFO: >>>>>>>>>>> The Database Control URL is http://hndx:1158/em <<<<<<<<<<<Enterprise Manager configuration completed successfullyFINISHED EMCA at Mar 30, 2013 10:04:24 AM
- 马上就大功告成了
$ firefox http://hndx:1158/em --如果报错:用户名密码错误,请先创建口令文件:
- 创建口令文件:
orapwd file=$ORACLE_HOME/dbs/orapworcl password=xxxxx---用户名自己定义
- 是不是看到火狐浏览器的界面很亲切呢。这里估计还会有错误,就是要添加证书,进入后添加点击下面的添加就好了
全世界最详细的图形化VMware中linux环境下oracle安装(三)【weber出品必属精品】
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。