---
title: "配置EM"
author: "llyilo"
date: "2017-04-11T09:58:47Z"
tags: []
categories: ["数据库"]
slug: "em"
draft: false
lastmod: "2017-04-11T09:58:47Z"
id: 2368547
url: "https://llyilo.iteye.com/blog/2368547"
---

配置EM

 

使用EMCA

 

复制create 命令进行创建（emca -config dbcontrol db -repos create）（注：要打开数据库）

 

Enter the following information:

 

Database SID: PROD（数据库名称）

 

Listener port number: 1521（端口号）

 

Listener ORACLE\_HOME \[ /u01/app/oracle/product/11.2.0/dbhome\_1 ]:

 

Password for SYS user: 

 

Password for DBSNMP user:  （需要解锁alter user dbsnmp identified by ORACLE account unlock;）

 

Password for SYSMAN user: 

 

Email address for notifications (optional):

 

Outgoing Mail (SMTP) server for notifications (optional):

 

\[oracle@node1 ~]$ emctl status dbconsole

 

 

 

启用em

 

\[oracle@node1 ~]$ emctl start dbconsole