Chinaunix首页 | 论坛 | 博客
  • 博客访问: 9267698
  • 博文数量: 1669
  • 博客积分: 16831
  • 博客等级: 上将
  • 技术积分: 12594
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-25 07:23
个人简介

柔中带刚,刚中带柔,淫荡中富含柔和,刚猛中荡漾风骚,无坚不摧,无孔不入!

文章分类

全部博文(1669)

文章存档

2023年(4)

2022年(1)

2021年(10)

2020年(24)

2019年(4)

2018年(19)

2017年(66)

2016年(60)

2015年(49)

2014年(201)

2013年(221)

2012年(638)

2011年(372)

分类: Oracle

2012-01-10 09:20:57

启用Oracle 11g中的Apex
分类: ORACLE11G 99人阅读 评论(0) 举报
 

ORACLE 的信息生命周期管理工具ILMA的使用前提是Apex.
Apex在oracle 11g Release 2版本中是默认安装的。但安装后没有启用。可以使用下面方法启用它。
SQL> show user
USER is "SYS"
SQL> spool apex
查看安装的Apex详情。
SQL> select * from dba_registry where comp_id = 'APEX';

APEX
Oracle Application Express
3.2.1.00.10                    VALID       02-APR-2010 14:20:27
SERVER                         SYS
APEX_030200
VALIDATE_APEX

FLOWS_FILES


SQL>
SQL> @%oracle_home%\RDBMS\ADMIN\epgstat.sql
+--------------------------------------+
| XDB protocol ports:                  |
|  XDB is listening for the protocol   |
|  when the protocol port is non-zero. |
+--------------------------------------+

        0        0

1 row selected.

+---------------------------+
| DAD virtual-path mappings |
+---------------------------+

/apex/*                          APEX

1 row selected.

+----------------+
| DAD attributes |
+----------------+

APEX         database-username        ANONYMOUS
             default-page             apex
             document-table-name      wwv_flow_file_objects$
             request-validation-funct wwv_flow_epg_include_modules.authorize
             ion

             document-procedure       wwv_flow_file_mgr.process_download
             nls-language             american_america.al32utf8
             document-path            docs

7 rows selected.

+---------------------------------------------------+
| DAD authorization:                                |
|  To use static authentication of a user in a DAD, |
|  the DAD must be authorized for the user.         |
+---------------------------------------------------+

no rows selected

+----------------------------+
| DAD authentication schemes |
+----------------------------+

APEX                 ANONYMOUS                        Anonymous

1 row selected.

+--------------------------------------------------------+
| ANONYMOUS user status:                                 |
|  To use static or anonymous authentication in any DAD, |
|  the ANONYMOUS account must be unlocked.               |
+--------------------------------------------------------+

ANONYMOUS       EXPIRED & LOCKED

1 row selected.

+-------------------------------------------------------------------+
| ANONYMOUS access to XDB repository:                               |
|  To allow public access to XDB repository without authentication, |
|  ANONYMOUS access to the repository must be allowed.              |
+-------------------------------------------------------------------+

false

1 row selected.

SQL>
查看HTTP所使用的port,其中0表示没有开启。
SQL> select dbms_xdb.getHTTPPort from dual;

          0

1 row selected.

SQL>
设置port并查看。
SQL> begin
  2    dbms_xdb.setHTTPPort(8080);
  3    commit;
  4  end;
  5  /

PL/SQL procedure successfully completed.

SQL>
SQL> select dbms_xdb.getHTTPPort from dual;

       8080

1 row selected.
启用匿名帐号。
SQL> ALTER USER ANONYMOUS ACCOUNT UNLOCK;
修改密码:
SQL> @%Oracle_home%\apex\apxchpwd.sql
Enter a value below for the password for the Application Express ADMIN user.


Enter a password for the ADMIN user              []

Session altered.

...changing password for ADMIN

PL/SQL procedure successfully completed.


Commit complete.

User altered.

SQL>
SQL>
修改访问权限:
SQL> begin
  2    DBMS_XDB.SETLISTENERLOCALACCESS (FALSE);
  3  end;
  4  /

PL/SQL procedure successfully completed.
通过下面链接访问Apex.

阅读(1467) | 评论(1) | 转发(1) |
给主人留下些什么吧!~~

sijialgc2012-09-19 15:12:45

公兴搬场 上海公兴搬场 公兴搬场公司 http://gxbcgs.com