Configure EM Database Express for database services on OCI

This article refers to the following documents:

Step 1: Set the port in the database

The default is not set. This can be confirmed with the following command:

$ lsnrctl status | grep HTTP
SQL> select dbms_xdb_config.getHttpsPort() from dual;

Set the HTTPS port to 5500:

exec dbms_xdb_config.sethttpsport(5500);

Confirm that the PROTOCOL is tcps, which means HTTPS:

$ lsnrctl status | grep HTTP
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=ocp19c.sub07290808380.training.oraclevcn.com)(PORT=5500))(Security=(my_wallet_directory=/u01/app/oracle/product/19.0.0.0/dbhome_1/admin/DB0523_fcq_nrt/xdb_wallet))(Presentation=HTTP)(Session=RAW))

It can also be confirmed in the database:

SQL> select dbms_xdb_config.getHttpsPort() from dual;

DBMS_XDB_CONFIG.GETHTTPSPORT()
------------------------------
                          5500

Give Wallet permissions

This step is suspected to be related to OCI, in short, refer to MOS.

Get my_wallet_directory from the following command:

$ lsnrctl status | grep xdb_wallet
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=ocp19c.sub07290808380.training.oraclevcn.com)(PORT=5500))(Security=(my_wallet_directory=/u01/app/oracle/product/19.0.0.0/dbhome_1/admin/DB0523_fcq_nrt/xdb_wallet))(Presentation=HTTP)(Session=RAW))

Enter the my_wallet_directory directory, and modify the permissions of the files in it:

cd /u01/app/oracle/product/19.0.0.0/dbhome_1/admin/DB0523_fcq_nrt/xdb_wallet
chmod 640 *

Turn on the network firewall

OCI network firewall needs to open port 5500, this is omitted.
The operating system also needs to open port 5500:

iptables -I INPUT -p tcp -m tcp --dport 5500 -j ACCEPT
service iptables save

access

The URLs are as follows:

https://<hostname>:<port>/em

insert image description here

Just one point, there is no need to enter the Container Name.
insert image description here

This interface is not as rich as the previous Flash, but Flash is no longer supported.

Guess you like

Origin blog.csdn.net/stevensxiao/article/details/130982154