Oracle REST Data Services (ORDS) Configuration on Linux 8 – Part II

Before we proceed, the first part that includes apex installation and configuration can be found here

Download ORDS 23.4

Ords can be downloaded from Here

Download oracle JDK 17 +

https://www.oracle.com/in/java/technologies/downloads/#java17

Create following directories.

mkdir /u01/apex/ords_23.4
cd /u01/apex/ords_23.4
mkdir /u01/apex/ords_23.4/config
mkdir /u01/apex/ords_23.4/config/ords/standalone/logs

Unzip the downloaded directory

[oracle@ocisoumya ords_23.4]$ unzip ords-23.4.0.346.1619.zip -d /u01/apex/ords_23.4/

Install ORDS on linux 8

[oracle@ocisoumya ~]$ cd /u01/apex/ords_23.4/bin
[oracle@ocisoumya bin]$ ./ords –config /u01/apex/ords_23.4/config install –interactive –log-folder /u01/apex/ords_23.4/co              nfig/ords/standalone/logs
2024-04-01T14:40:08.532Z INFO        Your configuration folder /u01/apex/ords_23.4/config is located in ORDS product folder.                Oracle recommends to use a different configuration folder.
 
ORDS: Release 23.4 Production on Mon Apr 01 14:40:08 2024
 
Copyright (c) 2010, 2024, Oracle.
 
Configuration:
  /u01/apex/ords_23.4/config
 
The option –log-folder /u01/apex/ords_23.4/config/ords/standalone/logs is located in the ORDS product folder.  Oracle recom              mends to use a different –log-folder location.
 
Created folder /u01/apex/ords_23.4/config/ords/standalone/logs
The configuration folder /u01/apex/ords_23.4/config does not contain any configuration files.
 
Oracle REST Data Services – Interactive 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]:
  Enter the database host name [localhost]: ocisoumya
  Enter the database listen port [1521]:
  Enter the database service name [orcl]:
  Provide database user name with administrator privileges.
    Enter the administrator username: sys as sysdba
  Enter the database password for sys as sysdba:
Connecting to database user: sys as sysdba url: jdbc:oracle:thin:@//ocisoumya:1521/orcl
 
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]:
  Enter a number to configure and start ORDS in standalone mode
    [1] Configure and start ORDS in standalone mode
    [2] Skip
  Choose [1]:
  Enter a number to select the protocol
    [1] HTTP
    [2] HTTPS
  Choose [1]:
  Enter the HTTP port [8080]:
  Enter the APEX static resources location: /u01/apex/ords_23.4/config/ords/standalone/doc_root/images

copy images folder from apex installation folder to following path /u01/apex/ords_23.4/config/ords/standalone/doc_root/images which resides in ords installation directory.

[oracle@ocisoumya apex]$ cd
[oracle@ocisoumya ~]$ cd /u01/apex/apex
[oracle@ocisoumya apex]$ cp -r images/ /u01/apex/ords_23.4/config/ords/standalone/doc_root/

Categories

Leave a Reply

Your email address will not be published. Required fields are marked *