在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
2. Copy all files and its folders from Oracle Application Express images directory
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. 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 :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.sql

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Full table scanning may be faster in MySQL than using indexes. Specific cases include: 1) the data volume is small; 2) when the query returns a large amount of data; 3) when the index column is not highly selective; 4) when the complex query. By analyzing query plans, optimizing indexes, avoiding over-index and regularly maintaining tables, you can make the best choices in practical applications.

Yes, MySQL can be installed on Windows 7, and although Microsoft has stopped supporting Windows 7, MySQL is still compatible with it. However, the following points should be noted during the installation process: Download the MySQL installer for Windows. Select the appropriate version of MySQL (community or enterprise). Select the appropriate installation directory and character set during the installation process. Set the root user password and keep it properly. Connect to the database for testing. Note the compatibility and security issues on Windows 7, and it is recommended to upgrade to a supported operating system.

MySQL is an open source relational database management system. 1) Create database and tables: Use the CREATEDATABASE and CREATETABLE commands. 2) Basic operations: INSERT, UPDATE, DELETE and SELECT. 3) Advanced operations: JOIN, subquery and transaction processing. 4) Debugging skills: Check syntax, data type and permissions. 5) Optimization suggestions: Use indexes, avoid SELECT* and use transactions.

MySQL and MariaDB can coexist, but need to be configured with caution. The key is to allocate different port numbers and data directories to each database, and adjust parameters such as memory allocation and cache size. Connection pooling, application configuration, and version differences also need to be considered and need to be carefully tested and planned to avoid pitfalls. Running two databases simultaneously can cause performance problems in situations where resources are limited.

Data Integration Simplification: AmazonRDSMySQL and Redshift's zero ETL integration Efficient data integration is at the heart of a data-driven organization. Traditional ETL (extract, convert, load) processes are complex and time-consuming, especially when integrating databases (such as AmazonRDSMySQL) with data warehouses (such as Redshift). However, AWS provides zero ETL integration solutions that have completely changed this situation, providing a simplified, near-real-time solution for data migration from RDSMySQL to Redshift. This article will dive into RDSMySQL zero ETL integration with Redshift, explaining how it works and the advantages it brings to data engineers and developers.

In MySQL database, the relationship between the user and the database is defined by permissions and tables. The user has a username and password to access the database. Permissions are granted through the GRANT command, while the table is created by the CREATE TABLE command. To establish a relationship between a user and a database, you need to create a database, create a user, and then grant permissions.

LaravelEloquent Model Retrieval: Easily obtaining database data EloquentORM provides a concise and easy-to-understand way to operate the database. This article will introduce various Eloquent model search techniques in detail to help you obtain data from the database efficiently. 1. Get all records. Use the all() method to get all records in the database table: useApp\Models\Post;$posts=Post::all(); This will return a collection. You can access data using foreach loop or other collection methods: foreach($postsas$post){echo$post->

MySQL is suitable for beginners because it is simple to install, powerful and easy to manage data. 1. Simple installation and configuration, suitable for a variety of operating systems. 2. Support basic operations such as creating databases and tables, inserting, querying, updating and deleting data. 3. Provide advanced functions such as JOIN operations and subqueries. 4. Performance can be improved through indexing, query optimization and table partitioning. 5. Support backup, recovery and security measures to ensure data security and consistency.
