oracle 安装apex,在Oracle 10g 上安装 Apex 4.0

摘要:

本文主要介绍在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:

http://localhost: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:

http://localhost: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. On the File Users page, click New.

9. The New File Realm User page opens.

10. In the User ID field, type the name of the APEX Listener administrator: adminlistener

11. In the Group List field, type the role to which the user belongs: Admin

12. In the Password field, type a unique password.

13. In the Confirm New Password field, type the user password again.

14. Click OK.

15. Create another user for the APEX Listener manager:

a. User ID: managerlistener

b. Group List: Manager

c. Click OK when you are done.

Deployment

Before You Begin

The Application Express Listener file, apex.war, must be available before you start this task.

1. On the navigation tree, click on Application node. The Applications page is displayed.

2. Click the Deploy button. The Deploy Applications or Modules page is displayed.

3. Select Packaged File to be Uploaded to the Server, and click Browse.

4. Navigate to the location of the apex.war file, select the file, and click Open. You are returned to the Deploy Applications or Modules page.

5. Specify and select the following:

a. Type: Web Application

b. Context Root: apex

c. Application Name: apex

d. Status: Enabled

e. Description: Application Express Listener

f. Accept all other default settings, and click OK.

You are returned to the Applications page. If a check mark does not appear in the Enabled field for apex, then select the check box next to the apex application and click the Enable button.

APEX Listener Administration

1. On your browser, specify http://host:port/apex/listenerConfigure to display the Oracle Application Express Listener Administration. Refer to the Configuration section for detailed information.

登陆Apex Administration ,配置用户和workspace

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

5、安装中文语言包

中文Shell

Set NLS_LANG=SIMPLIFIED CHINESE_CHINA.AL32UTF8

日文Shell

Set NLS_LANG=JAPANESE_JAPAN.AL32UTF8

Set the NLS_LANG environment variable, making sure that the character set is AL32UTF8. For example:

Bourne or Korn shell:

NLS_LANG=American_America.AL32UTF8

export NLS_LANG

C shell:

setenv NLS_LANG American_America.AL32UTF8

For Windows based systems:

set NLS_LANG=American_America.AL32UTF8

Navigate to the directory under apex/builder based on the language you need to install. For example for German, navigate to apex/builder/de. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS specifying the SYSDBA role. For example:

On Windows:

SYSTEM_DRIVE:\ sqlplus /nolog

SQL> CONNECT SYS as SYSDBA

Enter password: SYS_password

On UNIX and Linux:

$ sqlplus /nolog

SQL> CONNECT SYS as SYSDBA

Enter password: SYS_password

Execute the following statement:

ALTER SESSION SET CURRENT_SCHEMA = APEX_040000;

Execute the appropriate language specific script. For example:

@load_lang.sql0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Oracle APEX 20.2是一种用于构建Web应用程序的工具,在Windows操作系统上安装Oracle APEX 20.2需要以下步骤: 1. 首先,确保你的Windows系统符合Oracle APEX 20.2的系统要求。这包括操作系统的版本、CPU和内存要求等。可以在Oracle官方网站上找到详细的系统要求信息。 2. 下载Oracle APEX 20.2安装文件。你可以从Oracle官方网站上找到最新的安装文件,一般以压缩包形式提供。 3. 解压缩安装文件。用文件解压缩工具(比如WinRAR)将下载的压缩包解压到一个合适的目录。 4. 运行安装程序。在解压后的目录中找到安装程序(通常是setup.exe或install.exe),双击运行它。 5. 阅读和接受许可协议。安装程序会要求你阅读并接受Oracle APEX的许可协议。如果你同意协议的条款,请选择“接受”或“同意”选项。 6. 选择安装选项。安装程序会询问你想要安装哪些组件。选择Oracle APEX 20.2以及其他相关组件,比如Oracle数据库。 7. 配置安装参数。在安装过程中,你需要提供一些必要的配置参数,如数据库连接信息、端口号等。确保提供正确的信息以确保安装顺利进行。 8. 等待安装完成。安装程序将会自动执行必要的步骤,包括复制文件、创建数据库和配置环境等。等待安装程序完成所有的操作。 9. 完成安装安装完成后,你将获得一条成功安装的消息。此时,你可以启动Oracle APEX 20.2并开始使用它来构建Web应用程序了。 总之,安装Oracle APEX 20.2在Windows操作系统上需要下载安装文件、解压缩、运行安装程序、配置参数,最后等待安装完成。按照以上步骤进行,你应该能成功安装Oracle APEX 20.2。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值