0% found this document useful (0 votes)
45 views41 pages

Apex Installation

The document outlines the installation process for Oracle Apex 21.1 and 21.2, including prerequisites like Oracle 12c and Tomcat, as well as configuration steps for users and connections. It details commands for unlocking user accounts, setting up database connections, and installing Oracle REST Data Services (ORDS). Additionally, it provides guidance on creating tablespaces and running Apex applications locally.

Uploaded by

Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views41 pages

Apex Installation

The document outlines the installation process for Oracle Apex 21.1 and 21.2, including prerequisites like Oracle 12c and Tomcat, as well as configuration steps for users and connections. It details commands for unlocking user accounts, setting up database connections, and installing Oracle REST Data Services (ORDS). Additionally, it provides guidance on creating tablespaces and running Apex applications locally.

Uploaded by

Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

Apex 21.

1 Install +++

1-Oracle 12c Install

2-Apex Install

3-tnsnames.ora Service

4-SQL Developer Connections

5-@apex_rest_config.sql

6-orclpdb Connection

alter USER APEX_210200 IDENTIFIED BY sys account UNLOCK;

alter USER APEX_LISTENER IDENTIFIED BY sys account UNLOCK;

alter USER APEX_PUBLIC_USER IDENTIFIED BY sys account UNLOCK;

alter USER APEX_REST_PUBLIC_USER IDENTIFIED BY sys account UNLOCK;

7- Use orclsys Connection

alter USER ANONYMOUS IDENTIFIED BY sys account UNLOCK;

8-ORDS Install
01-Short Path
- Oracle XE 21c +XEpdb1 alter session(https://www.youtube.com/watch?v=DYleroLay5E) OR Use Container
- Oracle Apex 21.2 Install
- Oracle ORDS With SQL Developer Standalone port (Ex:8082) +images Path

02-Long Path
- Oracle XE 21c +XEpdb1 alter session
- Tomcat Install
- Oracle ORDS With SQL Developer Not Standalone port
- Oracle Apex 21.2 Install
- Adjust Tomcat +ORDS and Images path
- Run Apex ==> http://localhost/ords ==>Tomcat -->ORDS

01-Short Path
- Oracle XE 21c +XEpdb1 alter session(https://www.youtube.com/watch?v=DYleroLay5E) OR Use Container
- Oracle Apex 21.2 Install
- Oracle ORDS With SQL Developer Standalone port (Ex:8082) +images Path
- Run Apex ==> http://localhost:8082/ords

- Oracle XE 21c +XEpdb1 alter session(https://www.youtube.com/watch?v=DYleroLay5E) OR Use Container


- Oracle Apex 21.2 Install
- Oracle ORDS With SQL Developer Standalone port (Ex:8082) +images Path
Installing Application Express into a CDB
SYSTEM_DRIVE:\ 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/

Installing Application Express Locally in a PDB


SYSTEM_DRIVE:\ sqlplus /nolog
SQL> CONNECT SYS as SYSDBA
Enter password: SYS_password

ALTER SESSION SET CONTAINER =<PDB_NAME> ;

@apexins.sql tablespace_apex tablespace_files tablespace_temp images


@apxrtins.sql SYSAUX SYSAUX TEMP /i/

##############################################################################################

##############################################################################################

##############################################################################################

02-Long Path
- Oracle XE 21c +XEpdb1 alter session OR 12C ALTER SESSION SET CONTAINER="PDB_NAME"
- Tomcat Install
- Oracle ORDS With SQL Developer Not Standalone port
- Oracle Apex 21.2 Install
- Adjust Tomcat +ORDS and Images path

01 OraXE18C 12c 19c=======>orclpdb==>https://localhost:5500/em


02 TomCat
03 Oracle Apex
04 ORDS

1-

install Oracle DBase 12c-19c

3-
4-

5-

6-

7-
8-

9-

10-
11-

12-
13-

14-

15-
16-

17-
18-

19-
Oracle Enterprise Manager Database Express URL: https://localhost:5500/em

20-
21-

22-

23-

24-
25-

26-

27-

28-
29-

30-

31-
32-

33-

34-

G:\app\azab\virtual\product\12.2.0\dbhome_1\network\admin
35-
36-

37-

38-

39-

DBase Installation DONE!!!!!!!!!!!!!!!!!!


DBASE commands

CMD==>sqlplus /nolog===>conn /as sysdba

--CDB ===>Container dbase ==>orcle


--orclpdb
---------------------------------------------->
--Container
---------------------------------------------
Oracle Enterprise Manager Database Express URL: https://localhost:5500/em
--------------------------------------------
show con_name ===>CDB$ROOT
• ---------------Go To pluggable orclpdb

• alter session set container=orclpdb;


or
• alter session set container=XEpdb1;

alter user hr identified by hr account unlock;


alter session set container=CDB$ROOT;
---------------------------------------------------
shutdown immediate
startup
select name,open_mode from v$pdbs;
alter pluggable database orclpdb open;
alter pluggable database orclpdb save state;

--------------tnsnames.ora -------------------------------------------------------
ORCLpdb =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orclpdb)
)
)
---------------------------------------------------------------------------------------
conn hr/hr@orclpdb
Select * from Employees
INSTALL TOMCAT 80

INSTALL TOMCAT 80
localhost

JDK Download

2-

3-

4-

5-

JDK Install
6-

7-

8-

9-
10-

Tomcat Download
1-

2-

3-
4-

Tomcat Install

1-

2-

3-
4-

5-

6-

7-
8-

9-

Tomcat Run
1-

2-
3-

4-

5-

Done!!!!!!

APEX 21.1 INSTALL

1-Download
2-

3-

4-

5-

6-
7-

8-

9-

10-Will Install Apex into Pluggable Database So ............

11-

APEX 21.1 INSTALL Commands


1-CMD AS ADMIN
2-SQLPLUS/NOLOG
3- alter session set container=orclpdb;
[email protected] SYSAUX SYSAUX TEMP /i/
--OR
--Create Table Space
CREATE TABLESPACE apex DATAFILE 'c:/apex01.dbf' SIZE 100M AUTOEXTEND ON NEXT 1M;
----------------------------------------------------------------->
--Install
SQL> @apexins.sql APEX apex TEMP /i/
----------------------------------------------------------------->
[email protected]
6-@apex_rest_config.sql
Enter a password for the APEX_LISTENER user [] sys
Enter a password for the APEX_REST_PUBLIC_USER user sys

12-
13-Apex Admin User

14-

15-

1-

SQL Developer
Create 2 Connections ==>orclsys ,orclpdbsys
--------------------------------------------------------------------
8-Use oraclpdb conn
----------------------------------------------------------------
alter USER APEX_210100 IDENTIFIED BY sys account UNLOCK;
alter USER APEX_LISTENER IDENTIFIED BY sys account UNLOCK;
alter USER APEX_PUBLIC_USER IDENTIFIED BY sys account UNLOCK;
alter USER APEX_REST_PUBLIC_USER IDENTIFIED BY sys account UNLOCK;
------------------------------------------
9-Use orclsys Connection
----------------------------------------------
alter USER ANONYMOUS IDENTIFIED BY sys account UNLOCK;

1-
2-

3-

4-

5-
ANONYMOUS
ORDS INSTALL

1-Download

2-

3-

4-
5-

6-

7-

8-
9-

10-

11-

12-

13-

14-
15-
to get Port Num
16-

17-

18-

19-
APEX ADMIN ==>CREATE WORKSPACE ==>WS LOGIN ==>CREATE APP ==>PDF TEST

java -jar ords.war validate

ORDS

8086

1-JDK 8
2-Go to ords ====> CMD AS ADMIN
3-java -jar ords.war install
4-STEPS
-------------------------------------------->
http://localhost/ords/

You might also like