Previous Next JavaScript must be enabled to correctly display this content

## 6.1 Performing Pre-installation Tasks for APEX

Review and perform pre-installation tasks before installing Oracle APEX.

Before installing APEX, Oracle recommends that you complete the following steps:

1. Review and satisfy all APEX installation requirements.
2. If you are actively using APEX and upgrading the current installation, then shut down with normal or immediate priority the Oracle AI Database instances where you plan to install APEX. On Oracle Real Application Clusters (Oracle RAC) systems, shut down all instances on each node.

   An alternative to shutting down the database, you can prevent all users from accessing APEX when upgrading your installation from a previous release of APEX. Oracle only recommends this option in high availability production environments where planned outages are not available. For all other scenarios, the database should be shut down.

   To disable access to APEX, shut down the appropriate application server where Oracle REST Data Services is deployed.

   Once you have prevented access from APEX users, log in to SQLcl as `SYS`, connecting to the database where APEX is installed, and query `V$SESSION` to ensure there are no long running sessions which would interfere with the upgrade process.

3. Back up the Oracle AI Database installation.

   Oracle recommends that you create a backup of the current Oracle AI Database installation before you install APEX. You can use Oracle Database Recovery Manager, which is included in the Oracle AI Database installation, to perform the backup.

4. Start the Oracle AI Database instance that contains the target database.

   After backing up the system, you must start the Oracle instance that contains the target Oracle AI Database.

See Also:

- Oracle APEX Installation Requirements
- Oracle AI Database Backup and Recovery User’s Guide

Parent topic: Installing and Configuring Oracle REST Data Services and Oracle APEX