Friday, August 4, 2023

Oracle APEX (apex_23.1) - installation procedure with Oracle 19.16.0.0.0

  1. Download REST services https://www.oracle.com/database/sqldeveloper/technologies/db-actions/download/ or go to C:\Oracle\product\19.0.0.0\dbhome_1\ords
  2. Change ords.war => apex.war



  3. Download APEX from https://www.oracle.com/tools/downloads/apex-downloads/
  4. Extract files f.e. in C:\temp\ folder (keep the folder tree) 
  5. Run command line and navigate to folder where apex directory was extracted (C:\Temp\apex_23.1_en\apex>)s
  6. Run SQLPlus on server with Oracle database, connect with` SYS as SYSDBA (previously check if Environment variable for ORACLE_SID is configured) 



  7. Check database status with query SELECT INSTANCE_NAME, STATUS, DATABASE_STATUS FROM V$INSTANCE; (should be 'ACTIVE')
  8. Check parameter SHOW PARAMETER MEMORY_TARGET (should be at least '300M')
  9. Check parameter SHOW PARAMETER WORKAREA_SIZE_POLICY (should be set to 'AUTO') 

  10. Create new tablespace for APEX CREATE TABLESPACE apex DATAFILE SIZE 100M AUTOEXTEND ON NEXT 1M;
  11. Run installation script @apxrtins.sql tablespace_apex tablespace_files tablespace_temp images @apexins.sql APEX APEX TEMP /i/ 

  12. Unlock apex_public user ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK
  13. Change the password for public user ALTER USER APEX_PUBLIC_USER IDENTIFIED BY "new_password";
  14. Change password for admin user by running @apxchpwd.sql
  15. Change password policy for APEX_PUBLIC_USER profile alter profile DEFAULT limit password_life_time UNLIMITED;
  16. Check the port with query  SELECT DBMS_XDB.gethttpport FROM DUAL; If it is set to 0 change it with  EXEC DBMS_XDB.sethttpport(8080);


No comments:

Post a Comment

Problem with database open ORA-19804, ORA-19809, ORA-03113

1. Try to login to database with SYS AS SYSDBA user. If the instance is idle, run the startup command. 2. If ORA-03113 occured, check the la...