这两天在论坛上看到有人在询问“如何将EM的访问方式由HTTPS便成为HTTP”,其实很简单,看下面实验。
------------------------------------------------------
具体看实验,版本32bit+11gr+win7。
--------------------------------------------------------------
设置oracle11gem控制台不使用安全连接,即不使用https。
1、首先设置控制台为不安全登陆模式
C:/Users/Administrator>emctl unsecure dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://Laidye:1158/em/console/aboutApplication
Configuring DBConsole for HTTP... Done.
DBCONSOLE already stopped... Done.
Agent is already stopped... Done.
Unsecuring dbconsole... Started.
DBConsole is now unsecured... Done.
Unsecuring dbconsole... Sucessful.
2、启动控制台
C:/Users/Administrator>emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
http://Laidye:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...OracleDBConsoleTEST
服务正在启动 .........................
OracleDBConsoleTEST 服务已经启动成功。
3、登陆界面
4、恢复默认https启动方式
C:/Users/Administrator>emctl secure dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
http://Laidye:1158/em/console/aboutApplication
Please enter repository password:
********
DBCONSOLE already stopped... Done.
Agent is already stopped... Done.
Securing dbconsole... Started.
Please enter repository schema password:
Securing dbconsole... Sucessful.
5、启控制台
C:/Users/Administrator>emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://Laidye:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...OracleDBConsoleTEST
服务正在启动 ................................................
OracleDBConsoleTEST 服务已经启动成功。
6、登陆界面