oracle中安装em有三种方法
Oracle Universal Installer (OUI)
Oracle Database Configuration Assistant (DBCA)
Enterprise Manager Configuration Assistant (EMCA)
前两种是在图形化界面中安装,最后一种是纯命令安装
这里我们就看一下emca的用法:
一、卸载 EM Database Control
[oracle@odd-PROD1 ~]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Nov 2, 2016 2:17:58 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: PROD1
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Nov 2, 2016 2:18:21 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/PROD1/emca_2016_11_02_14_17_57.log.
Nov 2, 2016 2:18:22 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Nov 2, 2016 2:18:27 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Nov 2, 2016 2:21:11 PM