Oracle 12C配置EM

12C配置OEM同之前的版本差別較大,沒有了emctl,而是直接使用如下方法配置:

SQL*Plus: Release 12.1.0.2.0 Production on Tue Jul 19 07:19:33 2016
Copyright (c) 1982, 2014, Oracle.  All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> exec DBMS_XDB_CONFIG.SETHTTPPORT(8080);
PL/SQL procedure successfully completed.
SQL> 

配置成功後直接訪問
http://hostname:8080/em就OK了

參考文檔:

To configure EM Express for a CDB: 
In SQL*Plus, access a container in a CDB.
The user must have common SYSDBA administrative privilege, and you must exercise this privilege using AS SYSDBA at connect time. The container can be the root or a PDB.
See "Accessing a Container in a CDB with SQL*Plus".
Set the HTTP or HTTPS port in one of the following ways:
To set the HTTP port, run the following procedure:
exec DBMS_XDB_CONFIG.SETHTTPPORT(http_port_number);
Replace http_port_number with the appropriate HTTP port number.
To set the HTTPS port, run the following procedure:
exec DBMS_XDB_CONFIG.SETHTTPSPORT(https_port_number);
Replace https_port_number with the appropriate HTTPS port number.
Each container must use a unique port for EM Express.
Repeat steps 1 and 2 for each container that you want to manage and monitor with EM Express.
After the port is set for each container, you can access EM Express using one of the following URLs:
The URL for the HTTP port:
http://database_hostname:http_port_number/em

發佈了161 篇原創文章 · 獲贊 50 · 訪問量 60萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章