oracle-EM安装
1.登录数据库
export ORACLE_SID=orcl21 生效实例
sqlplus / as sysdba
>startup nomount;
>alter database mount;
>alter database open;
>exec dbms_xdb_config.sethttpport(5501); //exec
>exec dbms_xdb_config.sethttpsport(5500);
>select dbms_xdb_config.gethttpport from dual; 查看http端口
>select dbms_xdb_config.gethttpsport from dual; 查看https端口
>exec dbms_xdb_config.sethttpport(0); 关闭http端口
>exec dbms_xdb_config.sethttpsport(0); 关闭https端口
lsnrctl status
在浏览器输入5501端口访问:http://ip:5501/em,如下
输入用户名密码 sys/密码,显示如下