Apex Installation Steps
Apex Installation Steps
Step 1. Create a new tablespace to act as the default tablespace for APEX.
==========================================================================
CREATE TABLESPACE APEX DATAFILE 'APEX.dbf' SIZE 100M AUTOEXTEND ON NEXT 1M;
Step 2. Connect to SQL*Plus as the SYS user and run the "apexins.sql" script,
specifying the relevant tablespace names and image URL.
===================================================================================
==================================================
@apexins.sql APEX APEX TEMP /i/
@apex_epg_config.sql C:\apex\apex_22.2_en\
Step 3. Once complete, change the admin password by running the "apxchpwd.sql"
scripts as the SYS user.
===================================================================================
====================
@apxchpwd.sql
If you want to add the user silently, you could run the following code, specifying
the required password and email.
BEGIN
APEX_UTIL.set_security_group_id( 10 );
APEX_UTIL.create_user(
p_user_name => 'ADMIN',
p_email_address => 'nomi647@hotmail.com',
p_web_password => 'Paki#1947',
p_developer_privs => 'ADMIN' );
APEX_UTIL.set_security_group_id( null );
COMMIT;
END;
/
If you want to add these users silently, you can specify the passwords as
parameters to the script.
@apex_rest_config.sql ApexPassword1 ApexPassword2
EXEC DBMS_XDB.sethttpport(8080);
Step 8. Change the password and unlock the APEX_PUBLIC_USER account. This will be
used for any Database Access Descriptors (DADs).
===================================================================================
===============================================
ALTER USER APEX_PUBLIC_USER IDENTIFIED BY Paki#1947 ACCOUNT UNLOCK;
http://localhot:8080/apex/apex_admin
http://127.0.0.1:8080/apex
http://localhost:8181/apex/apex_admin
Begin
DBMS_NETWORK_ACL_ADMIN.APPEND_HOST_ACE(
host => '*',
ace => xs$ace_type(privilege_list => xs$name_list('connect'),
principal_name => 'APEX_220200',
principal_type => xs_acl.ptype_db));
End;
/