Oracle APEX 4.2安装与配置 1.4.2 About the Embedded PL/SQL Gateway
Oracle XML DB Protocol Server 和 embedded PL/SQL gateway随着Oracle数据库安装。它提供Oracle数据库内的Web服务器和建立动态应用必须的结构。embedded PL/SQL gateway运行在数据库的XML DB协议服务器中并包含mod_plsql核心特性。下面的图片说明了Oracle embedded PL/SQL gateway的体系结构。
安全方面:The embedded PL/SQL gateway运行Oracle数据库内部作为XML DB HTTP 协议监听器的一部分。因为Oracle Application Express在安装时与HTTP监听器是同样的数据库,它不可能从数据库分离HTTP监听器。因此Oracle不推荐在Internet中使用embedded PL/SQL gateway。
使用The embedded PL/SQL gateway时images位于数据库内部。
1.4.3 Selecting a Web Listener in an Oracle RAC
Environment
当在运行Oracle Real Application Clusters (Oracle RAC)环境Oracle Application Express时,Oracle推荐使用Oracle Application Express Listener或 Oracle HTTP Server with mod_plsql。Oracle Application Express Listener 或 Oracle HTTP Server with mod_plsql允许你指定一个连接使用服务名格,这样HTTP Server能够访问所有节点。
Oracle推荐不要the embedded PL/SQL gateway选项对应Oracle RAC d的安装。The embedded PL/SQL gateway 使用的HTTP Server建立在数据库实例内,由于这个原因利用Oracle RAC 体系机构带来的好处。
1.5 可用的安装场景
场景 1: Downloading from OTN and Configuring the Oracle Application Express Listener
4 / 51
Oracle APEX 4.2安装与配置 场景 2: Downloading from OTN and Configuring the Embedded PL/SQL Gateway
场景 3: Downloading from OTN and Configuring Oracle HTTP Server
1.5.1 Downloading from OTN and Configuring the
Oracle Application Express Listener:
以下步骤对应在OTN上下载并配置Oracle Application Express监听器 Step 1: Install the Oracle Database and Complete Pre-installation Tasks Step 2: Download and Install Oracle Application Express Step 3: Change the Password for the ADMIN Account Step 4: Configure RESTful Services Step 5: Restart Processes
Step 6: Configure APEX_PUBLIC_USER Account
Step 7: Download and Install Oracle Application Express Listener Step 8: Enable Network Services in Oracle Database 11g Step 9: Security Considerations
Step 10: About Developing Oracle Application Express in Other Languages
Step 11: About Managing JOB_QUEUE_PROCESSES
Step 12: Create a Workspace and Add Oracle Application Express Users
1.5.2 Downloading from OTN and Configuring the
Embedded PL/SQL Gateway
以下步骤对应在OTN上下载并配置the Embedded PL/SQL Gateway Step 1: Install the Oracle Database and Complete Pre-installation Tasks Step 2: Download and Install Oracle Application Express Step 3: Change the Password for the ADMIN Account Step 4: Configure the Embedded PL/SQL Gateway Step 5: Enable Network Services in Oracle Database 11g Step 6: Security Considerations
Step 7: About Running Oracle Application Express in Other Languages Step 8: About Managing JOB_QUEUE_PROCESSES Step 9: Configuring the SHARED_SERVERS Parameter
5 / 51
Oracle APEX 4.2安装与配置 Step 10: Create a Workspace and Add Oracle Application Express Users
1.5.3 Downloading from OTN and Configuring Oracle
HTTP Server
以下步骤对应在OTN上下载并配置Oracle HTTP Server
Step 1: Install the Oracle Database and Complete Pre-installation Tasks Step 2: Download and Install Oracle Application Express Step 3: Change the Password for the ADMIN Account Step 4: Restart Processes
Step 5: Configure Oracle HTTP Server Distributed with Oracle Database 11g or Oracle Application Server 10g
Step 6: Enable Network Services in Oracle Database 11g Step 7: Security Considerations
Step 8: About Running Oracle Application Express in Other Languages Step 9: About Managing JOB_QUEUE_PROCESSES
Step 10: About Obfuscating PlsqlDatabasePassword Parameter Step 11: Create a Workspace and Add Oracle Application Express Users
2 Oracle Application Express安装要求
本章描述了Oracle Application Express安装的要求
2.1 Oracle Database 要求
Oracle Application Express release 4.2 必须Oracle database (Enterprise Edition, Standard Edition or Standard Edition One) Release 10.2.0.4或更高版本。Oracle Application Express 4.2也能使用Oracle Database Express Edition 10g Release 2 和之后的版本。Oracle HTTP Server不包含在Oracle Database Express Edition.中。
2.1.1 检查目标数据库的shared_pool_size
Oracle Application Express 必须最少100M的shared_pool_size
6 / 51
Oracle APEX 4.2安装与配置 查看并修改shared_pool_size sqlplus / as sysdba show parameter pfile
show parameter shared_pool_size
alter system set shared_pool_size=100m scope=spfile; shutdown immediate startup
2.2 Browser 要求
运行或开发Oracle Application Express应用,Web browsers必须使能avaScript。下列browsers对于开发Oracle Application Express应用是必须的:
Microsoft Internet Explorer 7.0 or later Mozilla Firefox 14 or later Google Chrome 21 or later Apple Safari 5.0 or later
2.3 Web Listener 要求
为了运行Oracle Application Express你必须至少能访问下列之一: ? Oracle Application Express Listener
Oracle Application Express Listener是基于JAVA的Web服务器,它具备文件系统缓存特性,能够提高文件上传能力,并且Oracle WebLogic Server, Oracle Glassfish Server, and OC4J上是认证的
? Embedded PL/SQL gateway
Oracle XML DB Protocol server with the embedded PL/SQL gateway 随着Oracle Database 11g Release 1安装。它提供了在数据库中的Web server 和建立动态应用必须得基础架构。
? Oracle HTTP Server and mod_plsql
Oracle HTTP Server使用mod_plsql插件和Oracle数据库中的Oracle Application Express引擎通讯。
以下产品包含相应版本的HTTP Server和mod_plsql: Oracle Database 10g Companion CD Release 2 Oracle Database 11g Release 1 or 2
7 / 51
Oracle APEX 4.2安装与配置 2.4 Disk Space 要求
Oracle Application Express软件下载,在文件系统中需要:278 MB 仅下载英文版本(apex_4.2_en.zip) 和 935 MB 下载完整版本(apex_4.2.zip).
Oracle Application Express表空间需要275 MB的空闲空间 SYSTEM表空间需要100 MB的空闲空间
Oracle Application Express 表空间为每个附加的语言安装需要 (other than English) 60 MB的空闲空间
2.5 Oracle XML DB 要求
Oracle XML DB 必须在数据库中安装。如果你通过使用DBCA安装预配置的数据库,那么Oracle XML DB 将已经安装并配置。
提示:安装程序将会先进行检查,如果XML DB未安装将会退出; Oracle XML DB安装将会建立帐号ANONYMOUS,为了使Oracle Application Express工作空间正确的工作,ANONYMOUS帐号必须删除。
2.6 PL/SQL Web Toolkit
Oracle Application Express必须PL/SQL Web Toolkit release 10.1.2.0.6或之后版本。为指导查看PL/SQL Web Toolkit的当前版本和安装release 10.1.2.0.6,请查看在apex/owa目录下的README.txt文件。
3 从OTN下载并安装Oracle Application Express
本章描述如何从OTN上下在Oracle Application Express的ZIP文件,并完成Oracle Application Express安装
3.1 推荐的安装之前的任务
在安装Oracle Application Express之前,Oracel推荐你完成如下任务:
1. 认真回顾所有安装需求;
2. 关闭你需要安装Oracle Application Express的数据库实例,对于
8 / 51