today:
30
yesterday:
301
Total:
1,001,936

SQL How to Update Oracle XE

admin 2018.04.25 21:01 Views : 139

How to Update Oracle XE Version 2 to APEX Version 4

If you have installed Oracle XE Version 2 (msi file: OracleXE.exe) then you can upgrade to the latest Oracle Apex version using the steps below.

Download and unzip the latest Apex kit from Oracle.com.

In the steps below substitute the word password with your actual XE system password.

When logging into Application Express Version 4 in Oracle Database XE, you will be presented with a login page that prompts for Workspace, Username and Password. The Workspace name is the same as the database username used to login to Oracle Database XE (except for the Admin user - see Login details below).


You should have a directory structure similar to this:
c:\oraclexe\apex (this is the unzipped Version 4 kit) 
c:\oraclexe\app (this is created by the Oracle XE installation) 
c:\oraclexe\oradata (this is created by the Oracle XE installation)

Step 1
Open DOS CMD window and change default to the directory of the unzipped Apex kit.
e.g.
CMD> cd c:\oraclexe\apex  ---- apex가 있는 위치 unzip파일 위치

Step 2 - Upgrade to Version 4 
CMD> sqlplus system/password as sysdba
SQL> @apexins.sql SYSAUX SYSAUX TEMP /i/

@apexins.sql APEX APEX TEMP /i/


Step 3 - Set images directory 
CMD> sqlplus system/password as sysdba
SQL> @apxldimg.sql c:\oraclexe

Step 4 - Set Admin password 
SQL> @apxchpwd.sql password

Step 5 - Enable remote http connections
SQL> exec dbms_xdb.setListenerLocalAccess (l_access => FALSE);

Login
URL: http://127.0.0.1:8080/apex 
Workspace: Internal 
Username: Admin 
Password: password


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

C:\Users\solat\Downloads\apex_20.2/apex
ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK
ALTER USER APEX_PUBLIC_USER IDENTIFIED BY Joseph0323

@apex_rest_config.sql
No. Subject Author Date Views
86 FOR LOOP admin 2016.05.20 269
85 SUBSTR admin 2016.05.26 272
84 CAPTCHA PLUG-IN admin 2016.05.27 299
83 Access Control List (ACL) admin 2016.06.07 343
82 Oracle 11g Access Control List for External Network Services admin 2016.06.07 302
81 ACL 보기 admin 2016.06.07 309
80 CREATE_ACL (1st STEP) admin 2016.06.07 314
79 ADD_PRIVILEGE (2nd STEP) admin 2016.06.07 348
78 Assign a network host to Access Control List admin 2016.06.07 295
77 DBMS_NETWORK_ACL_ADMIN admin 2016.06.07 343
76 DBMS_NETWORK_ACL_ADMIN admin 2016.06.07 354
75 APEX Web Services Proxy Settings admin 2016.06.07 359
74 How to set a proxy in UTL_HTTP admin 2016.06.07 320
73 function get area admin 2016.06.08 324
72 Membership Management admin 2016.06.09 435
71 control break admin 2016.06.25 398
70 SQL admin 2016.07.15 396
69 JavaScript for Member List admin 2016.08.17 432
68 APEX Password Change admin 2016.08.26 461
67 SQL Basics - Lesson 1 - Introduction admin 2017.06.17 100