0% found this document useful (0 votes)
235 views1 page

Oracle Apex Installation and Configuration

This document outlines the steps to install APEX and configure additional users and privileges: 1. It creates two tablespaces named APEX and SMS and sets autoextend properties. 2. It runs scripts to install APEX, change the admin password, and configure the listener and public user. 3. An image installation script is run and the anonymous user is unlocked with a randomized password. 4. The HTTP port is retrieved and set, and a new SMS user is created with privileges to execute stored procedures, roles, and other common privileges.

Uploaded by

Muhammad Asif
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)
235 views1 page

Oracle Apex Installation and Configuration

This document outlines the steps to install APEX and configure additional users and privileges: 1. It creates two tablespaces named APEX and SMS and sets autoextend properties. 2. It runs scripts to install APEX, change the admin password, and configure the listener and public user. 3. An image installation script is run and the anonymous user is unlocked with a randomized password. 4. The HTTP port is retrieved and set, and a new SMS user is created with privileges to execute stored procedures, roles, and other common privileges.

Uploaded by

Muhammad Asif
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/ 1

1.

Creating Tablespaces
CREATE TABLESPACE apex DATAFILE 'C:\app\SPIDER\oradata\orcl\apex01.dbf' SIZE 100M
AUTOEXTEND ON NEXT 1M;
CREATE TABLESPACE SMS DATAFILE 'C:\app\SPIDER\oradata\orcl\sms01.dbf' SIZE 500M
AUTOEXTEND ON NEXT 1M;

2.Installation of APEX
@apexins.sql APEX APEX TEMP /i/

3.Admin Password Changing


@apxchpwd.sql

4.APEX Listener and APEX Public user


@apex_rest_config.sql

5.Image installation
@apex_epg_config.sql C:

6.Unlock Anonymous User


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';
END;

7. Get & Set Port


SELECT DBMS_XDB.gethttpport FROM DUAL;
EXEC DBMS_XDB.sethttpport(8080);

8.Create User & Privileges


create user sms
identified by sms
default tablespace SMS;
-- Grant/Revoke object privileges
grant execute on DBMS_STATS to SMS;
-- Grant/Revoke role privileges
grant resource to SMS;
-- Grant/Revoke system privileges
grant alter session to SMS;
grant create database link to SMS;
grant create sequence to SMS;
grant create session to SMS;
grant create synonym to SMS;
grant create view to SMS;
grant unlimited tablespace to SMS;

You might also like