目录
1 软件环境
- VirtualBox 5.2
- Oracle Linux 6.7
- Oracle 12.1.0.2
2 概述
2.1官方文档
【官方文档】
https://docs.oracle.com/database/121/ADMIN/cdb_create.htm#ADMIN14210
2.2 EM Express 12c体系结构
2.3 EM Express 12c配置方法
配置HTTP或HTTPS监听监听程序端口:
- 验证dispatchers参数
dispatchers="(PROTOCOL=TCP)(SERVICE=<sid>XDB)" |
- 配置EM Express端口
exec DBMS_XDB_CONFIG.SETHTTPSPORT(5500); |
- URL访问EM Express
https://database-hostname:portnumber/em/ |
3 non-CDB 配置EM Express
3.1 查看监听器状态
[oracle@strong ~]$ lsnrctl status
EM Express默认端口是5500,说明EM Express已配置。
3.2 查看数据库配置
SQL> SELECT NAME, CDB, CON_ID FROM V$DATABASE;
3.3 查看EM Express配置
SQL> SELECT DBMS_XDB_CONFIG.GETHTTPPORT() FROM DUAL;
SQL> SELECT DBMS_XDB_CONFIG.GETHTTPSPORT FROM DUAL;
3.4 访问EM Express
https://192.168.56.102:5500/em/