首页 数据库 mysql教程 在Oracle 10g 上安装 Apex 4.0

在Oracle 10g 上安装 Apex 4.0

Jun 07, 2016 pm 04:58 PM

本文主要介绍在Oracle 10g 上安装 Oracle Apex 4.0以及如何安装语言包。一、环境Oracle 10g 10.2.0.4 Apex 4.0.1 Apex Listener

摘要:

本文主要介绍在Oracle 10g 上安装 Oracle Apex 4.0以及如何安装语言包。

一、环境

Oracle 10g  10.2.0.4
Apex 4.0.1
Apex Listener 1.0.2
Window 2003
JDK 6 update22
J2EE 6
GlassfishV3 3.0.1
      Oracle 10g需要安装下面的组件

Oracle XML DB
Oracle Text 

二、步骤

1、安装 JDK

2、安装Apex 4.0.1

解压缩

将目录变更到 apex跟目录 /apex_4.0.1/apex/下

使用 Oracle 的sys用户登陆sqlplus,

@apexins tablespace_apex tablespace_files tablespace_temp images

Where:

– tablespace_apex is the name of the tablespace for the Oracle

Application Express application user.

– tablespace_files is the name of the tablespace for the Oracle

Application Express files user.

– tablespace_temp is the name of the temporary tablespace.

– images is the virtual directory for Oracle Application Express images. To

support future Oracle Application Express upgrades, define the virtual

image directory as /i/.

Example:

@apexins SYSAUX SYSAUX TEMP /i/

sys用户重新登陆sqlplus

设置Admin密码

@apxchpwd

Configure APEX_PUBLIC_USER Account

Unlocking the APEX_PUBLIC_USER Account

ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK

Changing the Password for the APEX_PUBLIC_USER Account

ALTER USER APEX_PUBLIC_USER IDENTIFIED BY new_password

3、安装 GlassfishV3

按照安装文件提示安装。

To Start the Default Domain

as-install/bin/asadmin start-domain

Copy Oracle Application Express Images

1. Create folder i in /domains//docroot .

2. Copy all files and its folders from Oracle Application Express images directory /images to /domains//docroot/i .

To start the Administration Console, type the URL in your browser.

The default URL for the Administration Console is:

:4848

如果admin console 加载缓慢的话,执行下面步骤。执行缓慢的原因,glassfish要更新,下面步骤是去掉更新模块。

参考 in OGS 3.0.1 Admin Console very slow

停止glassfish的默认Dmain

* cd glassfishv3/glassfish

* mv modules/console-updatecenter-plugin.jar modules/console-updatecenter-plugin.jar.ORIG

* rm -r domains/domain1/osgi-cache

* rm -r domains/domain1/generated

4、部署 Apex Listener 1.0.2

Administration Console

1. To start the Administration Console, type the URL in your browser.

The default URL for the Administration Console is:

:4848

2. If prompted, log in to the Administration Console.

You will be prompted to log in if you chose to require an administration password at the time GlassFish server was installed.

 

Users and Roles

The APEX Listener requires users to be assigned roles to access the Application Express Listener Administration. For additional information on Security Realms, Users, Group List, Roles, refer to the Sun GlassFish Enterprise Server documentation.

Create Roles

The APEX Listener requires roles to be assigned to the users to access the Application Express Listener Administration. The two types of roles are: Admin

The user with an APEX Listener Admin role has permission to access the APEX Listener Administration Page. Manager

The user with an APEX Listener Manager role has permission to access the APEX Listener Status Information Page.

You can enable a default principal-to-role mapping on the Application Server using the Admin Console if the group list names is defined the same as the role names.

1. On the navigation tree, select Configuration, then Security. The Security page is displayed.

2. Click on the checkbox next to Default Principal to Role Mapping to enable this option.

3. Click on the Save button.

Note: Enabling the Default Principal to Role requires the Group List to be the same as the role name as described below when creating the user.

Create Users

You will need to create users to access the APEX Listener Administration page and Status page.

1. In the navigation tree, expand the Configuration node.

2. Expand the Security node.

3. Expand the Realms node.

4. Select the realm to add your user (e.g., file)

5. The Edit Realm page opens.

6. On the Edit Realm page, click the Manage Users button.

7. The File Users page opens.

8.在文件用户页面上,单击新建。

9.新文件领域用户页面打开。

10。在用户 ID 字段中,输入 APEX Listener 管理员的名称:adminlistener

11。在组列表字段中,输入用户所属的角色:Admin

12。在密码字段中,输入唯一的密码。

13。在确认新密码字段中,再次输入用户密码。

14。单击“确定”。

15。为 APEX Listener 管理器创建另一个用户:

a.用户 ID:managerlistener

b.群组列表:经理

c.完成后单击“确定”。

 

部署

开始之前

在开始此任务之前,Application Express 侦听器文件 apex.war 必须可用。

1.在导航树上单击“应用程序”节点。将显示“应用程序”页面。

2.单击部署按钮。将显示“部署应用程序或模块”页面。

3.选择要上传到服务器的打包文件,点击浏览。

4.导航到 apex.war 文件的位置,选择该文件,然后单击“打开”。您将返回到“部署应用程序或模块”页面。

5.指定并选择以下内容:

a.类型:Web 应用程序

b.上下文根: apex

c.应用名称:apex

d.状态:已启用

e.描述:Application Express 监听器

f.接受所有其他默认设置,然后单击“确定”。

 

您将返回到“应用程序”页面。如果 apex 的“已启用”字段中未出现复选标记,请选中 apex 应用程序旁边的复选框,然后单击“启用”按钮。

APEX 监听器管理

1.在浏览器上,指定 :port/apex/listenerConfigure 以显示 Oracle Application Express Listener Administration。详细信息请参阅配置部分。

登陆Apex Administration,配置用户和工作空间

创建第一个用户和工作空间

5、安装中文语言包

中文Shell

设置NLS_LANG=简体中文_CHINA.AL32UTF8

日文Shell

设置 NLS_LANG=JAPANESE_JAPAN.AL32UTF8

设置NLS_LANG环境变量,确保字符集为AL32UTF8。例如:
Bourne 或 Korn shell:
NLS_LANG=American_America.AL32UTF8
导出 NLS_LANG
C shell:
setenv NLS_LANG American_America.AL32UTF8
对于基于 Windows 的系统:
set NLS_LANG=American_America.AL32UTF8
根据您需要安装的语言导航到 apex/builder 下的目录。例如,对于德语,导航至 apex/builder/de。启动 SQL*Plus 并以 SYS 身份连接到安装了 Oracle Application Express 的数据库,指定 SYSDBA 角色。例如:
在 Windows 上:
SYSTEM_DRIVE: sqlplus /nolog
SQL>以 SYSDBA 身份连接 SYS
输入密码:SYS_password
在 UNIX 和 Linux 上:
$ sqlplus /nolog
SQL> CONNECT SYS as SYSDBA
输入密码:SYS_password
执行以下语句:
ALTER SESSION SET CURRENT_SCHEMA = APEX_040000;
执行适当的语言特定脚本。例如:
@load_lang.sql

在Oracle 10g 上安装 Apex 4.0

本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn

热AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover

AI Clothes Remover

用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

AI Hentai Generator

AI Hentai Generator

免费生成ai无尽的。

热门文章

R.E.P.O.能量晶体解释及其做什么(黄色晶体)
3 周前 By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.最佳图形设置
3 周前 By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.如果您听不到任何人,如何修复音频
3 周前 By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25:如何解锁Myrise中的所有内容
4 周前 By 尊渡假赌尊渡假赌尊渡假赌

热工具

记事本++7.3.1

记事本++7.3.1

好用且免费的代码编辑器

SublimeText3汉化版

SublimeText3汉化版

中文版,非常好用

禅工作室 13.0.1

禅工作室 13.0.1

功能强大的PHP集成开发环境

Dreamweaver CS6

Dreamweaver CS6

视觉化网页开发工具

SublimeText3 Mac版

SublimeText3 Mac版

神级代码编辑软件(SublimeText3)

如何使用Alter Table语句在MySQL中更改表? 如何使用Alter Table语句在MySQL中更改表? Mar 19, 2025 pm 03:51 PM

本文讨论了使用MySQL的Alter Table语句修改表,包括添加/删除列,重命名表/列以及更改列数据类型。

如何为MySQL连接配置SSL/TLS加密? 如何为MySQL连接配置SSL/TLS加密? Mar 18, 2025 pm 12:01 PM

文章讨论了为MySQL配置SSL/TLS加密,包括证书生成和验证。主要问题是使用自签名证书的安全含义。[角色计数:159]

说明InnoDB全文搜索功能。 说明InnoDB全文搜索功能。 Apr 02, 2025 pm 06:09 PM

InnoDB的全文搜索功能非常强大,能够显着提高数据库查询效率和处理大量文本数据的能力。 1)InnoDB通过倒排索引实现全文搜索,支持基本和高级搜索查询。 2)使用MATCH和AGAINST关键字进行搜索,支持布尔模式和短语搜索。 3)优化方法包括使用分词技术、定期重建索引和调整缓存大小,以提升性能和准确性。

哪些流行的MySQL GUI工具(例如MySQL Workbench,PhpMyAdmin)是什么? 哪些流行的MySQL GUI工具(例如MySQL Workbench,PhpMyAdmin)是什么? Mar 21, 2025 pm 06:28 PM

文章讨论了流行的MySQL GUI工具,例如MySQL Workbench和PhpMyAdmin,比较了它们对初学者和高级用户的功能和适合性。[159个字符]

您如何处理MySQL中的大型数据集? 您如何处理MySQL中的大型数据集? Mar 21, 2025 pm 12:15 PM

文章讨论了处理MySQL中大型数据集的策略,包括分区,碎片,索引和查询优化。

如何使用Drop Table语句将表放入MySQL中? 如何使用Drop Table语句将表放入MySQL中? Mar 19, 2025 pm 03:52 PM

本文讨论了使用Drop Table语句在MySQL中放下表,并强调了预防措施和风险。它强调,没有备份,该动作是不可逆转的,详细介绍了恢复方法和潜在的生产环境危害。

您如何用外国钥匙代表关系? 您如何用外国钥匙代表关系? Mar 19, 2025 pm 03:48 PM

文章讨论了使用外国密钥来代表数据库中的关系,重点是最佳实践,数据完整性和避免的常见陷阱。

如何在JSON列上创建索引? 如何在JSON列上创建索引? Mar 21, 2025 pm 12:13 PM

本文讨论了在PostgreSQL,MySQL和MongoDB等各个数据库中的JSON列上创建索引,以增强查询性能。它解释了索引特定的JSON路径的语法和好处,并列出了支持的数据库系统。

See all articles