Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
252 views3 pages

Installing Apex191

This document provides instructions to install Oracle Application Express (APEX) 19.1 on an Oracle database. The steps include: 1. Downloading and extracting APEX files 2. Creating an APEX tablespace and running installation scripts 3. Configuring APEX and unlocking necessary user accounts 4. Accessing the APEX administration and end user interfaces

Uploaded by

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

Installing Apex191

This document provides instructions to install Oracle Application Express (APEX) 19.1 on an Oracle database. The steps include: 1. Downloading and extracting APEX files 2. Creating an APEX tablespace and running installation scripts 3. Configuring APEX and unlocking necessary user accounts 4. Accessing the APEX administration and end user interfaces

Uploaded by

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

1. download apex_19.1.

zip to d:\apex
2 open command prompt
3. cd to d:\apex
4. d:\apex> sqlplus / as sysdba;

5. check tablespace for names


sql> select name from v$tablespace;

6. check datafile locations


sql> select name from v$datafile;

copy directory path of datafiles

7. create apex table space


sql> create tablespace apex
datafile 'path_to_tablespaces\APEX.DBF'
SIZE 100M AUTOEXTEND ON;

sql> exit;

8. cd to d:\apex
d:\apex> sqlplus / as sysdba;

sql> @apexins.sql APEX APEX TEMP /i/

9. d:\apex> sqlplus / as sysdba

SQL> @apxldimg.sql

Enter value for 1: D:

10. d:\apex> sqlplus / as sysdba

SQL> @apxconf.sql

Enter the administrator's username [ADMIN]APEX191#


Enter APEX191# email [APEX191#][email protected]
Enter APEX191# password []Password321#

Enter a port for the XDB HTTP listener [ 8080]8080

11. SQL> alter user anonymous account unlock;


SQL> alter user XDB account unlock;
SQL> alter user FLOW_FILES account unlock;
SQL> alter user APEX_PUBLIC_USER account unlock;

12. admin portal

http://server_ip_address:8080/apex/apex_admin
username : APEX191#
password : Password321#

13. normal user


workspace: internal
username : APEX191#
password : Password321#

14. Create the APEX_LISTENER and APEX_REST_PUBLIC_USER users by running the


"apex_rest_config.sql" script.

d:\apex> sqlplus as / sysdba


SQL> @apex_rest_config.sql

15. Embedded PL/SQL Gateway (EPG) Configuration

If you want to use the Embedded PL/SQL Gateway (EPG) to front APEX,
you can follow the instructions here. This is used for both the first
installation and upgrades.

For an ORDS installation you only need to run the "apex_epg_config.sql"


script. The rest is optional.

Run the "apex_epg_config.sql" script, passing in the base directory of the


installation software as a parameter.

d:\apex> sqlplus as / sysdba


SQL> @apex_epg_config.sql d:

/********** for other than ords only begins ***********************/


Unlock the ANONYMOUS account.
d:\apex> sqlplus as / sysdba

DECLARE
l_passwd VARCHAR2(40);
BEGIN
l_passwd := DBMS_RANDOM.string('a',10) || DBMS_RANDOM.string('x',10) ||
'1#';
-- Remove CONTAINER=ALL for non-CDB environments.
EXECUTE IMMEDIATE 'ALTER USER anonymous IDENTIFIED BY ' || l_passwd ||
' ACCOUNT UNLOCK CONTAINER=ALL';
END;
/

Check the port setting for XML DB Protocol Server.

d:\apex> sqlplus as / sysdba


SQL> SELECT DBMS_XDB.gethttpport FROM DUAL;

If it is set to "0", you will need to set it to a non-zero value to enable


it.

d:\apex> sqlplus as / sysdba


SQL> EXEC DBMS_XDB.sethttpport(8080);

PL/SQL procedure successfully completed.


/********** for other than ords only begins ***********************/

16. for changing admin user password


d:\apex> sqlplus as / sysdba
SQL> @apxchpwd.sql

You might also like