This document provides a step-by-step guide to installing Oracle APEX on an Oracle database running on Oracle Linux.
It covers prerequisites, setup, and configuration for APEX, ORDS, Java, and Tomcat.
The aim to simplify the installation process for easy deployment.
Prerequiste:
ORDS Software (link) as you want version installation-- App Node or as you want
Apache Tomcat 9.0.112 (Sofware) (link)--App Node or as you want
JDK8 or JDK11--App Node or as you want
Installation: (APEX installation done in database node)
After downloaded then move the above Apex file into oracle software or ORACLE_HOME.
Unzip those files into the required directories with the help of unzip utility on respective nodes.
Example:
$unzip -o Apex_Software.zip (same command for other zip files)
APEX:
After Unzipping apex file, Create a tablespace only for apex in the database.
After creating the tablespace, Execute the apex installation scripts present in the apex directory.
$sqlplus / as sysdba
2. APEX – Default tablespace for APEX application schemas
3. APEX TEMP – Apex temporary tablespace for temporary segments
4. /i/– For ORDS, this means you must later map /i/ to APEX static files via ORDS config.
After execution, It asks for apex listener and apex_rest_public_user passwords.

After the execution, change the apex users
APEX_LISTENER and APEX_PUBLIC_USER in the database level and set the password.
Then, set the port number as 0 as we need to set the default port 8080 while using PLSQL gateway.
$sqlplus / as sysdba
SQL>ALTER USER SYS IDENTIFIED BY "oracle";
SQL>exit
$ $ORACLE_HOME/bin/orapwd FILE=$ORACLE_HOME/dbs/orapw$ORACLE_SID PASSWORD='oracle' ENTRIES=10
(These steps done as per your requirement you want database or application node)
export CATALINA_HOME=/apps/oracle/DEV/apache/apache-tomcat-9.0.112
export CATALINA_BASE=$CATALINA_HOME
export TOMCAT_SCRIPT_HOME=$CATALINA_HOME/bin
After creating the tomcat environment file, navigate to $CATALINA_HOME/bin and then start the tomcat using sh startup.sh script.
$ ll
$sh startup.sh or $ ./startup.sh
To open the tomcat front end page, use this default link to view,
http://hostname.domain.in:8080
After the successful installation, The above page can be opened without any errors.
Then, we need to add an tomcat user entry in the xml file.Navigate to /apps/oracle/DEV/apache/apache-tomcat-9.0.112/conf and we can find the file called tomcat-users.xml .
Open the file and add the entries at the line 55th line,
<user username="oracle'' password=''oracle'' roles=”manager-gui'' />
ORDS Configuration:
$ unzip -o ORDS_Software.zip
After unzipping the ords zip file, create a directory called conf directory will be created inside ords.
Then, we need to add the database name and domain entries into the ords_params.properties file. this file will be located inside the params folder.
We need to add the hostname, port, service name and the SID in the ords_params.properties file.
Enter the following in the ords_params.properties file,
db.port=1521 --as per your db port
db.servicename=DEV
db.username=APEX_PUBLIC_USER
migrate.apex.rest=false
plsql.gateway.add=true
rest.services.apex.add=true
rest.services.ords.add=true
schema.tablespace.default=APEX
schema.tablespace.temp=TEMP
standalone.mode=false
user.tablespace.default=APEX
user.tablespace.temp=TEMP
sys.user=SYS
sys.password=oracle
After params file configuration, then move on to apex.war file creation by navigating to /apps/oracle/DEV/ords where we can find the ords.war file.
Take a backup of ords war file. then, rename the ords.war to apex.war.
ORDS Installation:
To install ORDS use the single line command used to run in the ORDS directory,
Specify the database connection type to use.
Enter number for [1] Basic [2] TNS [3] Custom URL [1]:
Enter the name of the database server [erpdevdb.domain.in]:
Enter the database listen port [1521]:
Enter 1 to specify the database service name, or 2 to specify the database SID [1]:
Enter the database service name [DEV]:
Enter 1 if you want to verify/install Oracle REST Data Services schema or 2 to skip this step [1]:2
Enter 1 if you want to use PL/SQL Gateway or 2 to skip this step.
If using Oracle Application Express or migrating from mod_plsql then you must enter 1 [1]:
Enter the PL/SQL Gateway database user name [APEX_PUBLIC_USER]:
Enter the database password for APEX_PUBLIC_USER:
Confirm password:
Enter 1 to specify passwords for Application Express RESTful Services database users (APEX_LISTENER, APEX_REST_PUBLIC_USER) or 2 to skip this step [1]:2
Enter a number to select a feature to enable:
[1] SQL Developer Web (Enables all features)
[2] REST Enabled SQL
[3] Database API
[4] REST Enabled SQL and Database API
[5] None
Choose [1]:5
2026-11-04T10:25:21.355Z INFO reloaded pools: []
Enter 1 if you wish to start in standalone mode or 2 to exit [1]:2
[applmgr@erpdevappl ords]$
After this command, below steps will be done and we need to give the required information to it.
Then, Create a Image directory and copy the oracle application express images.
Create a directory i inside the $CATALINA_HOME/webapps folder
Now, copy the oracle application express images into the webapps i folder
Then, copy the apex.war file from ORDS to the webapps folder
Finally, Bounce the tomcat and check apex front end is opening or not,
$ ll
$sh shutdown.sh or $ ./shutdown.sh
$sh startup.sh or $ ./startup.sh
Finally, Apex has been running. http://erpdevappl.domain.in:8080/apex




