Learn about downloading and installing Oracle Application Express.
How you install Oracle Application Express depends upon by the type of database you into which you are installing. This section describes how to download and install Oracle Application Express.
Install Oracle Application Express by downloading a ZIP file from the Oracle Application Express download page.
To install Oracle Application Express:
Note that the actual file name may differ if a more recent release has shipped since this document was published.
You should keep the directory tree where you unzip the files short and not under directories that contain spaces. For example, within Windows unzip to C:\TEMP .
SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password
$ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password
@apexins.sql tablespace_apex tablespace_files tablespace_temp images
@apexins.sql SYSAUX SYSAUX TEMP /i/
If you receive the following error, exit SQL*Plus and change your working directory to where you unzipped the installation file, for example C:\TEMP in Windows, before starting SQL*Plus:
SP2-0310: unable to open file "apexins.sql "
@apxrtins.sql tablespace_apex tablespace_files tablespace_temp images
@apxrtins.sql SYSAUX SYSAUX TEMP /i/
When Oracle Application Express installs, it creates three new database accounts:
If you configured RESTful Web services, then these additional accounts will be created:
If you are upgrading from a previous release, then FLOWS_FILES already exists and APEX_PUBLIC_USER is created if it does not already exist.
Learn how to create or update Instance Administrator account.
This section describes how to create or update your Instance Administrator account.
Skip this section if you are upgrading from a previous release of Oracle Application Express. In an upgrade scenario, the Instance Administrator account and password is preserved and carried over from the prior release.
Instance administrators are superusers that are responsible for managing an entire Oracle Application Express instance, including managing workspace provisioning, configuring features and instance settings, and managing security.
To perform these tasks, an Instance administrator signs in to the Oracle Application Express Administration Services application.
"Oracle Application Express Administration Services" in Oracle Application Express Administration Guide
Running the apxchpwd.sql script enables you to create or update your Instance Administrator account.
You must run the apxchpwd.sql script in the following scenarios:
You do not need to run apxchpwd.sql when upgrading from a previous release of Oracle Application Express. In an upgrade scenario, the Instance Administrator account password is preserved and carried over from the prior release.
Run the apxchpwd.sql script to create and update your Instance Administrator account.
To create or update your Instance Administrator account:
SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password
$ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password
@apxchpwd.sql
Follow the on-screen instructions. You will be prompted provide a username, password, and email address. If the account username does not exist, it will be created for you.
Restart the processes that you stopped before you began the installation.
After you install Oracle Application Express, you must restart the processes that you stopped before you began the installation.
It is important to correctly configure the APEX_PUBLIC_USER account to enable proper operation of Oracle Application Express.
The APEX_PUBLIC_USER account is created with a random password in a new installation of Oracle Application Express.
You must change the password for this account before configuring the database access descriptor (DAD) in a new installation.
Unlock the APEX_PUBLIC_USER account by running a SQL statement.
If you are upgrading from a prior release of Oracle Application Express, this step is unnecessary.
To unlock the APEX_PUBLIC_USER account:
SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password
$ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password
ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK
Change the password for the APEX_PUBLIC_USER account by running a SQL statement.
If you are upgrading from a prior release of Oracle Application Express, this step is unnecessary.
To change the password for the APEX_PUBLIC_USER account:
SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password
$ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password
ALTER USER APEX_PUBLIC_USER IDENTIFIED BY new_password
Where new_password is the new password you are setting for APEX_PUBLIC_USER . You will use this password when creating the DAD in the sections that follow.
You can set PASSWORD_LIFE_TIME parameter to unlimited by altering APEX_PUBLIC_USER to prevent password expiration. To do this create another profile in which the PASSWORD_LIFE_TIME parameter is set to unlimited and alter the APEX_PUBLIC_USER account and assign it to the new profile.
In the default profile in Oracle Database 11 g or later, the parameter PASSWORD_LIFE_TIME is set to 180. If you are using Oracle Database 11 g or later with Oracle Application Express, this causes the password for APEX_PUBLIC_USER to expire in 180 days. As a result, your Oracle Application Express instance will become unusable until you change the password.
Oracle Database Security Guide for information on creating profiles and assigning them to database users