标签:style blog http color os io 文件 for 数据
$ unzip p8350262_10205_Generic.zip
$ 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 / 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 AM EM Configuration Assistant, Version 10.2.0.1.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: orcl Listener port number: 1521 Password for SYS user: Password for SYSMAN user: Password for SYSMAN user: Do you wish to continue? [yes(Y)/no(N)]: Y Mar 30, 2013 9:58:28 AM oracle.sysman.emcp.EMConfig perform INFO: 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 createRepository INFO: Creating the EM repository (this may take a while) ... Mar 30, 2013 10:00:42 AM oracle.sysman.emcp.EMReposConfig invoke INFO: Repository successfully created Enterprise Manager configuration completed successfully FINISHED EMCA at Mar 30, 2013 10:00:42 AM
$ emca -config dbcontrol db STARTED EMCA at Mar 30, 2013 10:01:47 AM EM Configuration Assistant, Version 10.2.0.1.0 Production Copyright (c) 2003, 2005, Oracle. All rights reserved. Enter the following information: Database SID: orcl Listener port number: 1521 Password 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 settings Database ORACLE_HOME ................ /u01/app/oracle/10.2.0/db_1 Database hostname ................ hndx Listener port number ................ 1521 Database SID ................ orcl Email address for notifications ............... Outgoing Mail (SMTP) server for notifications ............... ----------------------------------------------------------------- Do you wish to continue? [yes(Y)/no(N)]: Y Mar 30, 2013 10:02:42 AM oracle.sysman.emcp.EMConfig perform INFO: 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 startOMS INFO: Starting Database Control (this may take a while) ... Mar 30, 2013 10:04:24 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: Database Control started successfully Mar 30, 2013 10:04:24 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration INFO: >>>>>>>>>>> The Database Control URL is http://hndx:1158/em <<<<<<<<<<< Enterprise Manager configuration completed successfully FINISHED 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出品必属精品】
标签:style blog http color os io 文件 for 数据
原文地址:http://www.cnblogs.com/yaoweber/p/3932744.html