Oracle Apex 23.1 and ORDS 23.1.3 Install
Oracle Apex 23.1 Install On Oracle Database 21c Express Edition On Windows 10
=========================================================================
Step#1:Oracle APEX Downloads
===========================
https://www.oracle.com/tools/downloads/apex-downloads/
Step#2:Oracle Apex Install:
============================
Sqlplus
=========
connect database sys as sysdba
sys/sys@orclpdb as sysdba
ALTER SESSION SET CONTAINER=ORCLPDB;
Step#3:create table space :
============================
create tablespace apex
datafile 'D:\Oracle21\oradata\ORCL\orclpdb\APEX.dbf'
size 200M autoextend on next 10m maxsize unlimited;
Step#4:Run APEX Installation Script :
=====================================
D:\Oracle_Apex\Apex\apex>sqlplus
Enter user-name: sys@orclpdb as sysdba
Enter password:sys
SQL>@apexins.sql APEX APEX TEMP /i/
Step#5:Change APEX Admin Password
=================================
SQL>@apxchpwd.sql
Enter the administrator's username [ADMIN]ADMIN
User "ADMIN" does not yet exist and will be created.
Enter ADMIN's email [ADMIN] mojno12@gmail.com
Enter ADMIN's password []Abcd123#
Step#6: Unlock Database Accounts
================================
sqlplus
---------
sys/sys@orclpdb as sysdba
ALTER USER anonymous ACCOUNT UNLOCK;
ALTER USER apex_public_user ACCOUNT UNLOCK;
ALTER USER flows_files ACCOUNT UNLOCK;
Java Install
=====================
Step#7 : jdk-11.0.15 _windows-x64_bin download
==============================================
https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html
Step#8 :Java Install
=====================
jdk-11.0.15 _windows-x64_bin
Option#3: ORDS (Oracle REST Data Services) ords-23.1.2.115.1944 Install:
========================================================================
Step#9: Create Required Users for ORDS
=======================================
SQL>@apex_rest_config.sql
Enter a password for the APEX_LISTENER user []Abcd123#
Enter a password for the APEX_REST_PUBLIC_USER user []Abcd123#
Step#10: Disable the Oracle XML DB Protocol Server
==================================================
sqlplus
===========
CONNECT SYS as SYSDBA
SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
EXEC DBMS_XDB.SETHTTPPORT(0);
Step#11: Unlock ORDS Database Accounts
======================================
Sqlplus
=========
CONN / AS SYSDBA
ALTER USER APEX_LISTENER IDENTIFIED BY Abcd123# ACCOUNT UNLOCK;
ALTER USER APEX_PUBLIC_USER IDENTIFIED BY Abcd123# ACCOUNT UNLOCK;
ALTER USER APEX_REST_PUBLIC_USER IDENTIFIED BY Abcd123# ACCOUNT UNLOCK;
ALTER USER ORDS_PUBLIC_USER IDENTIFIED BY Abcd123# ACCOUNT UNLOCK;
Step#12:Oracle REST Data Services 23.1.3 Download (ORDS)
========================================================
https://www.oracle.com/database/sqldeveloper/technologies/db-actions/download/
Step#13: Configure Oracle REST Data Services (ORDS)
=======================================================
D:\Oracle_Apex\Ords>mkdir config
Step#14 : Run following command to configure ORDS and start in Standalone mode.
===============================================================================
D:\Oracle_Apex\Ords>java -jar ords.war --config D:\Oracle_Apex\Ords\config install
Enter a number to select the type of installation
[1] Install or upgrade ORDS in the database only
[2] Create or update a database pool and install/upgrade ORDS in the database
[3] Create or update a database pool only
Choose [2]:2
Enter a number to select the database connection type to use
[1] Basic (host name, port, service name)
[2] TNS (TNS alias, TNS directory)
[3] Custom database URL
Choose [1]:1
Enter the database host name [localhost]:localhost
Enter the database listen port [1521]:1521
Enter the database service name [orcl]: orclpdb
Retrieving information.
Enter the default tablespace for ORDS_METADATA and ORDS_PUBLIC_USER [SYSAUX]: APEX
Enter the temporary tablespace for ORDS_METADATA and ORDS_PUBLIC_USER [TEMP]: TEMP
Enter a number to select additional feature(s) to enable:
[1] Database Actions (Enables all features)
[2] REST Enabled SQL and Database API
[3] REST Enabled SQL
[4] Database API
[5] None
Choose [1]:1
Enter a number to configure and start ORDS in standalone mode
[1] Configure and start ORDS in standalone mode
[2] Skip
Choose [1]: 1
Enter a number to select the protocol
[1] HTTP
[2] HTTPS
Choose [1]:1
Enter the HTTP port [8080]:8080
Enter the APEX static resources location: D:\Oracle_Apex\Apex\apex\images
login
======
http://localhost:8080/ords
Workspace : internal
User name : admin
Password : Abcd123#
Comments
Post a Comment