版权声明:http://www.sunansheng.com/ https://blog.csdn.net/sunansheng/article/details/74196149
1- The installation requires
Before installing
Oracle Application Express (Oracle APEX) you need to:
- Install Oracle Database (10g, 11g or 12c)
![](http://pic.sunansheng.com/csdn/74196149/358777.png)
2- Download Oracle APEX
![](http://pic.sunansheng.com/csdn/74196149/349717.png)
To download, you need to log in with an account of
Oracle, if not, you can register a free account.
![](http://pic.sunansheng.com/csdn/74196149/349727.png)
3- Installing Oracle APEX
Decompress
zip file you have downloaded in some position of hard disk drive. Here I decompress it at
C:/DevPrograms.
Note: Your folder must be named apex. This is compulsory.
![](http://pic.sunansheng.com/csdn/74196149/353390.png)
![](http://pic.sunansheng.com/csdn/74196149/353393.png)
Open
CMD and
CD to
apex directory:
![](http://pic.sunansheng.com/csdn/74196149/353398.png)
Next, enter sqlplus statement in order to log in
sqlplus (Note: Don't open
sqlplus directly. It should be through
CMD after
CD to
apexdirectory).
![](http://pic.sunansheng.com/csdn/74196149/353411.png)
Sign in to user
sys, as
sysdba.
![](http://pic.sunansheng.com/csdn/74196149/353413.png)
Login successful:
![](http://pic.sunansheng.com/csdn/74196149/353424.png)
Run script
apexins.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--
-- Run script apexins.sql with parameters:
--
-- @apexins.sql tablespace_apex tablespace_files tablespace_temp images
--
-- Where:
-- tablespace_apex is the name of the tablespace for the Oracle Application Express application user.
-- tablespace_files is the name of the tablespace for the Oracle Application Express files user.
-- tablespace_temp is the name of the temporary tablespace or tablespace group.
-- images is the virtual directory for Oracle Application Express images.
-- (To support future Oracle Application Express upgrades, define the virtual image directory as /i/.)
--
@apexins.sql sysaux sysaux
temp
/i/
|
![](http://pic.sunansheng.com/csdn/74196149/353448.png)
Wait for about 30 minutes until the above statement is completed.
![](http://pic.sunansheng.com/csdn/74196149/353454.png)
The above script create some
SCHEMA on Database, you can test by querying view
ALL_USERS on
SQLPlus:
![](http://pic.sunansheng.com/csdn/74196149/353461.png)
4- Configuring APEX
You need log in
SQLPlus again from
CMD and sign in
sys user as
sysdba.
![](http://pic.sunansheng.com/csdn/74196149/360861.png)
This script will load the
Application Express images into
XDB and then configure a
DAD for use by
Application Express in the
Embedded PL/SQL Gateway.
1
2
3
4
5
6
|
--
-- Running script apex_epg_config.sql with parameter:
-- @apex_epg_config.sql <parent of apex directory>
--
@apex_epg_config.sql C:\DevPrograms
|
![](http://pic.sunansheng.com/csdn/74196149/360895.png)
![](http://pic.sunansheng.com/csdn/74196149/360933.png)
1
2
3
|
-- Unlock user anonymous:
alter
user
anonymous account unlock;
|
![](http://pic.sunansheng.com/csdn/74196149/360941.png)
Run script
apexconf.sql
Used to perform the final configuration steps for Oracle Application Express, including setting the XDB HTTP listener port and Application Express ADMIN password.
Used to perform the final configuration steps for Oracle Application Express, including setting the XDB HTTP listener port and Application Express ADMIN password.
1
2
3
4
5
6
7
|
--
-- Running script: @apxconf.sql
-- Setup password for ADMIN
-- Configuring XDB Http Listener port
--
@apxconf.sql
|
![](http://pic.sunansheng.com/csdn/74196149/360946.png)
To
user, you can use
ADMIN by default, and email can be skipped.
To password, the system requires you to enter a strong password:
Password does not conform to this site's password complexity rules.
- Password must contain at least 6 characters.
- Password must contain at least one alphabetic character (abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ).
- Password must contain at least one punctuation character (!"#$%&()``*+,-/:;?_).
- Password must contain at least one upper-case alphabetic character.
- Password must contain at least one lower-case alphabetic character.
![](http://pic.sunansheng.com/csdn/74196149/360958.png)
Port default is
8080:
![](http://pic.sunansheng.com/csdn/74196149/360964.png)
The configuration has been completed.
5- Running Oracle APEX admin
![](http://pic.sunansheng.com/csdn/74196149/358953.png)
![](http://pic.sunansheng.com/csdn/74196149/358958.png)
You have successfully logged into the system of management of
Oracle APEX:
![](http://pic.sunansheng.com/csdn/74196149/359005.png)
6- Getting Started with Oracle APEX programming
Next you can be ready with Oracle APEX programming, you can read document:
![](http://pic.sunansheng.com/csdn/74196149/361443.png)