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

本文主要介绍在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
MySQL中的存储过程是什么?MySQL中的存储过程是什么?May 01, 2025 am 12:27 AM

存储过程是MySQL中的预编译SQL语句集合,用于提高性能和简化复杂操作。1.提高性能:首次编译后,后续调用无需重新编译。2.提高安全性:通过权限控制限制数据表访问。3.简化复杂操作:将多条SQL语句组合,简化应用层逻辑。

查询缓存如何在MySQL中工作?查询缓存如何在MySQL中工作?May 01, 2025 am 12:26 AM

MySQL查询缓存的工作原理是通过存储SELECT查询的结果,当相同查询再次执行时,直接返回缓存结果。1)查询缓存提高数据库读取性能,通过哈希值查找缓存结果。2)配置简单,在MySQL配置文件中设置query_cache_type和query_cache_size。3)使用SQL_NO_CACHE关键字可以禁用特定查询的缓存。4)在高频更新环境中,查询缓存可能导致性能瓶颈,需通过监控和调整参数优化使用。

与其他关系数据库相比,使用MySQL的优点是什么?与其他关系数据库相比,使用MySQL的优点是什么?May 01, 2025 am 12:18 AM

MySQL被广泛应用于各种项目中的原因包括:1.高性能与可扩展性,支持多种存储引擎;2.易于使用和维护,配置简单且工具丰富;3.丰富的生态系统,吸引大量社区和第三方工具支持;4.跨平台支持,适用于多种操作系统。

您如何处理MySQL中的数据库升级?您如何处理MySQL中的数据库升级?Apr 30, 2025 am 12:28 AM

MySQL数据库升级的步骤包括:1.备份数据库,2.停止当前MySQL服务,3.安装新版本MySQL,4.启动新版本MySQL服务,5.恢复数据库。升级过程需注意兼容性问题,并可使用高级工具如PerconaToolkit进行测试和优化。

您可以使用MySQL的不同备份策略是什么?您可以使用MySQL的不同备份策略是什么?Apr 30, 2025 am 12:28 AM

MySQL备份策略包括逻辑备份、物理备份、增量备份、基于复制的备份和云备份。1.逻辑备份使用mysqldump导出数据库结构和数据,适合小型数据库和版本迁移。2.物理备份通过复制数据文件,速度快且全面,但需数据库一致性。3.增量备份利用二进制日志记录变化,适用于大型数据库。4.基于复制的备份通过从服务器备份,减少对生产系统的影响。5.云备份如AmazonRDS提供自动化解决方案,但成本和控制需考虑。选择策略时应考虑数据库大小、停机容忍度、恢复时间和恢复点目标。

什么是mySQL聚类?什么是mySQL聚类?Apr 30, 2025 am 12:28 AM

MySQLclusteringenhancesdatabaserobustnessandscalabilitybydistributingdataacrossmultiplenodes.ItusestheNDBenginefordatareplicationandfaulttolerance,ensuringhighavailability.Setupinvolvesconfiguringmanagement,data,andSQLnodes,withcarefulmonitoringandpe

如何优化数据库架构设计以在MySQL中的性能?如何优化数据库架构设计以在MySQL中的性能?Apr 30, 2025 am 12:27 AM

在MySQL中优化数据库模式设计可通过以下步骤提升性能:1.索引优化:在常用查询列上创建索引,平衡查询和插入更新的开销。2.表结构优化:通过规范化或反规范化减少数据冗余,提高访问效率。3.数据类型选择:使用合适的数据类型,如INT替代VARCHAR,减少存储空间。4.分区和分表:对于大数据量,使用分区和分表分散数据,提升查询和维护效率。

您如何优化MySQL性能?您如何优化MySQL性能?Apr 30, 2025 am 12:26 AM

tooptimizemysqlperformance,lofterTheSeSteps:1)inasemproperIndexingTospeedUpqueries,2)使用ExplaintplaintoAnalyzeandoptimizequeryPerformance,3)ActiveServerConfigurationStersLikeTlikeTlikeTlikeIkeLikeIkeIkeLikeIkeLikeIkeLikeIkeLikeNodb_buffer_pool_sizizeandmax_connections,4)

See all articles

热AI工具

Undresser.AI Undress

Undresser.AI Undress

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

AI Clothes Remover

AI Clothes Remover

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

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

Video Face Swap

Video Face Swap

使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热工具

DVWA

DVWA

Damn Vulnerable Web App (DVWA) 是一个PHP/MySQL的Web应用程序,非常容易受到攻击。它的主要目标是成为安全专业人员在合法环境中测试自己的技能和工具的辅助工具,帮助Web开发人员更好地理解保护Web应用程序的过程,并帮助教师/学生在课堂环境中教授/学习Web应用程序安全。DVWA的目标是通过简单直接的界面练习一些最常见的Web漏洞,难度各不相同。请注意,该软件中

安全考试浏览器

安全考试浏览器

Safe Exam Browser是一个安全的浏览器环境,用于安全地进行在线考试。该软件将任何计算机变成一个安全的工作站。它控制对任何实用工具的访问,并防止学生使用未经授权的资源。

mPDF

mPDF

mPDF是一个PHP库,可以从UTF-8编码的HTML生成PDF文件。原作者Ian Back编写mPDF以从他的网站上“即时”输出PDF文件,并处理不同的语言。与原始脚本如HTML2FPDF相比,它的速度较慢,并且在使用Unicode字体时生成的文件较大,但支持CSS样式等,并进行了大量增强。支持几乎所有语言,包括RTL(阿拉伯语和希伯来语)和CJK(中日韩)。支持嵌套的块级元素(如P、DIV),

Dreamweaver CS6

Dreamweaver CS6

视觉化网页开发工具

适用于 Eclipse 的 SAP NetWeaver 服务器适配器

适用于 Eclipse 的 SAP NetWeaver 服务器适配器

将Eclipse与SAP NetWeaver应用服务器集成。