配置oracle em
环境是11g ,centos
步骤其实挺简单的,一步步按部就班就行了。但是要确保每一步都正确。
1.配置监听,必须正确,输出类似这样的
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=aca.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 02-JUN-2013 10:49:36
Uptime 0 days 0 hr. 36 min. 56 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /data/ora11r/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /data/ora11r/diag/tnslsnr/aca/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=aca.com)(PORT=1521)))
Services Summary...
Service "dbone" has 1 instance(s).
Instance "dbone", status READY, has 1 handler(s) for this service...
Service "dboneXDB" has 1 instance(s).
Instance "dbone", status READY, has 1 handler(s) for this service...
The command completed successfully
很关键,如果没有正确监听,那后面的做了也算扯蛋,不会得到正确的结果。
2.emca -repos create 创建repostiory ,用来存放database control管理用到的几张表
3.emca -config dbconsole db 11g 这个版本这步似乎可以省略,因为create的时候似乎已经config好了,但是这里重新运行一下也没什么不可以。
4.emctl start dbconsole 启动database control ,完了用浏览器进去 https://IP:1158/em 注意是https ,
这里出现这个界面,那就ok了。
|
![](https://192.168.1.11:1158/em/cabo/images/t.gif)