Download APEX from OTN
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
Install Apex for Full Development Environment
@apexins.sql APEX_DATA APEX_FILES TEMP /i/
Change password for user ADMIN - The same script can be used for password lost
@apxchpwd.sql
Configure the Embedded PL/SQL Gateway
@apex_epg_config.sql /u01/app/oracle/product
Updating the Images Directory
@apxldimg.sql /u01/app/oracle/product
Change job_queue_processes parameter in database
SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes';
ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 20 scope=both;
Enable XDB Service
SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
EXEC DBMS_XDB.SETHTTPPORT(8080);
Create ACL to allow access
DECLARE
ACL_PATH VARCHAR2(4000);
BEGIN
-- Look for the ACL currently assigned to 'localhost' and give APEX_040200
-- the "connect" privilege if APEX_040200 does not have the privilege yet.
SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
WHERE HOST = 'localhost' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200',
'connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
'APEX_040200', TRUE, 'connect');
END IF;
EXCEPTION
-- When no ACL has been assigned to 'localhost'.
WHEN NO_DATA_FOUND THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('local-access-users.xml',
'ACL that lets users to connect to localhost',
'APEX_040200', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('local-access-users.xml','localhost');
END;
/
COMMIT;
Unlock Database schemas
ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK;
ALTER USER ANONYMOUS ACCOUNT UNLOCK
Access APEX Application Builder
http://hostname:8080/apex/
Access APEX Console Administrador
http://hostname:8080/apex/apex_admin
WORKSPACE: INTERNAL
USERNAME: Admin
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
Install Apex for Full Development Environment
@apexins.sql APEX_DATA APEX_FILES TEMP /i/
Change password for user ADMIN - The same script can be used for password lost
@apxchpwd.sql
Configure the Embedded PL/SQL Gateway
@apex_epg_config.sql /u01/app/oracle/product
Updating the Images Directory
@apxldimg.sql /u01/app/oracle/product
Change job_queue_processes parameter in database
SELECT VALUE FROM v$parameter WHERE NAME = 'job_queue_processes';
ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 20 scope=both;
Enable XDB Service
SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
EXEC DBMS_XDB.SETHTTPPORT(8080);
Create ACL to allow access
DECLARE
ACL_PATH VARCHAR2(4000);
BEGIN
-- Look for the ACL currently assigned to 'localhost' and give APEX_040200
-- the "connect" privilege if APEX_040200 does not have the privilege yet.
SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
WHERE HOST = 'localhost' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200',
'connect') IS NULL THEN
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
'APEX_040200', TRUE, 'connect');
END IF;
EXCEPTION
-- When no ACL has been assigned to 'localhost'.
WHEN NO_DATA_FOUND THEN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('local-access-users.xml',
'ACL that lets users to connect to localhost',
'APEX_040200', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('local-access-users.xml','localhost');
END;
/
COMMIT;
Unlock Database schemas
ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK;
ALTER USER ANONYMOUS ACCOUNT UNLOCK
Access APEX Application Builder
http://hostname:8080/apex/
Access APEX Console Administrador
http://hostname:8080/apex/apex_admin
WORKSPACE: INTERNAL
USERNAME: Admin
Comentários
Postar um comentário