Beruflich Dokumente
Kultur Dokumente
Installation Guide
With Oracle Database 12C Enterprise Edition
M Kamal Hossain
www.apexexplorer.com
dbhossain@yahoo.com
skype: apexexplorer
www.apexexplorer.com
1
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Table of Contents
Part 1. Overview 3
Part 2. Installing Oracle Database 12C Enterprise Edition (EE) 3
2.1 General Installation Steps 3
2.1.1 Downloading Oracle Database 12C installation file 3
2.1.2 Merging Database Installation files in to a single disk file 3
2.1.3 Start Oracle Database Installation 6
2.1.4 Installer Step-1, Configure Security Updates 7
2.1.5 Configure Security Updates, Installer Warning Message 8
2.1.6 Installer Step-2, Select Installation Options 8
2.1.7 Installer Step-3, System Class 8
2.1.8 Installer Step-4, Grid Installation Options 9
2.1.9 Installer Step-5, Select Install Type 9
2.1.10 Installer Step-6, Select Product Languages 10
2.1.11 Installer Step-7, Select Database Edition 10
2.1.12 Installer Step-8, Specify Oracle Home user 11
2.1.13 Installer Step-9, Specify Installation Location 12
2.1.14 Installer Step-10, Select Configuration Type 13
2.1.15 Installer Step-11, Specify Database Identifiers 14
2.1.16 Installer Step-12, Specify Configuration Options 15
2.1.17 Installer Step-13, Specify Database Storage Options 18
2.1.18 Installer Step-14, Specify Management Options 19
2.1.19 Installer Step-15, Specify Recovery Options 20
2.1.20 Installer Step-16, Specify Schema Password 20
2.1.21 Installer Step-17, Perform Prerequisite Checks 22
2.1.22 Installer Step-18, Summary of selection 23
2.1.23 Installer Step-19, Install product in progress... 24
2.1.24 Installer Step-20, Installation was successfully finished. 27
Part 3. Installing Oracle Application Express 5.0 29
3.1 Creating Table Space for Apex installation 29
3.1.1 Downloading Oracle Apex 5.0 Installation file 29
3.1.2 Creating Table Space for Apex Installation 29
3.1.3 Locating Oracle Apex 5.0 source file in the command prompt for install 30
3.1.4 Start Installation of Apex 5.0 31
3.1.5 Apex Installation in progress 32
3.1.6 Loading Apex required Images into Database 34
3.1.7 Unlocking required database users. 35
3.1.8 Defining Apex Administrator and authentication 36
3.1.9 Defining apex http port 37
3.1.10 Embedded PL/SQL Gateway (EPG) Configuration 37
3.1.11 Create the APEX_LISTENER and APEX_REST_PUBLIC_USER 39
3.1.12 Launching Oracle Apex 5.0 Interface www.apexexplorer.com 40
Part 1. Overview
2
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
This guide provides a step by step walk-through of a basic Oracle Apex 5.0 Installation. If you are new to
installing Oracle Apex 5.0, the Oracle document provides too much detail for every possible platform.
Therefore, I decided to create this comprehensive, step by step guide with clear instruction on how to set
up a Oracle Apex 5.0 environment.
The installation in this document is based on a Windows Server 2008 SP2 64-bit platform, with
Oracle database 12C Enterprise Edition. Besides you can find my other Installation guide for Oracle apex
4.2.2 with Oracle database 11g R2 EE from my blog www.apexexplorer.com
If you already have a pre-configured database then you can skip the
part of Oracle Database installation steps.
Visit the Oracle website and go to the download section to download the required database
installation source file as shown in the below:
This is important to unzip the installation files and merge the both disks in to a single disk file. If
the merging is not correctly done, installation will fail due to file dependency error.
So, we will learn here the technique how to unzip and make a single disk of installer correctly.
After downloading the above file you will get 2 zipped file as shown below:
www.apexexplorer.com
Let us Create a blank separate folder inside your computer drive as shown in the below:
"Oracle Database 12C_R1" folder will be our final installer disk(Merged disk).
3
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
FIg:1 After extracting "winx64_12102_database_1of2.zip" you will find the above folder inside it.
Fig: 2 showing content of Extracted folder " Win64_12102_database_1of2" (database folder) has been
moved to the "Oracle Database 12C_R1" folder.
Now time to unzip folder " winx64_12102_database_2of2.zip". After unzip this file, go to inside
and find folder "Components" as shown below
D:\.....\winx64_12102_database_2of2\database\stage\Components
www.apexexplorer.com
Fig: 3 Showing the content of "Components" folder of " winx64_12102_database_2of2" after being
extracted.
4
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Now copy the above contents of components folder (5 folders) as shown in Fig:3 and Paste inside the
Components folder of "D:\Oracle Database 12C_R1\database\stage\Components as shown in the
Figure-4
Fig:4 Showing the contents of components folder from winx64_12102_database_2of2 has been moved
inside the Components folder of " Oracle Database 12C_R1"
www.apexexplorer.com
So, we have made a single complete disk of Oracle Database 12C installer.
5
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Fig: 5
Fig: 6
www.apexexplorer.com
6
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Fig: 7
www.apexexplorer.com
7
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Just ignore the warning message in this stage by clicking "Yes" button
Choose "Create and configure a database" option button and click 'Next>' button
www.apexexplorer.com
8
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Choose "Single instance database installation" as Grid Installation options and click 'Next>' button.
www.apexexplorer.com
9
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
I have selected English as my useful language. You can select as you need. click 'Next>' button
www.apexexplorer.com
1
0
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Go to your Operating system and find user creation wizard. create any user that you prefer, I have
created a user named oracle. Remember this user must be general user, administrative privilege will not
be allowed for oracle home user and OS password complexity must be maintained. I have assigned
password for this example "Kamal123"
After creating user from OS end, come back to this screen and choose "Use Existing Windows user"
and input user name and password. Now click 'Next>' button.
www.apexexplorer.com
1
1
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
I have selected the default location in drive C, you can choose your desired location here, click 'Next>'
button
www.apexexplorer.com
1
2
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
1
3
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
1
4
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
I have enabled the sample schemas by checking the checkbox in the Sample Schemas Tab. In the
Memory Tab I have enabled the automatic memory management by checking the check box. click 'Next>'
button.
www.apexexplorer.com
1
5
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
1
6
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
1
7
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
www.apexexplorer.com
Enable Recovery by checking the checkbox and choose File System and keep the default recovery area
location as shown. click 'Next>' button.
1
9
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
Choose "Use the same password for all accounts" option and enter your desired password. I have
entered sys as password and have ignored the password recommendation warning. Click 'Next>' button.
2
0
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
2
1
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
2
2
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
Have patience in this stage to complete the full and final installation steps.
2
3
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
2
4
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
2
5
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
2
6
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
www.apexexplorer.com
www.apexexplorer.com
Go to the Oracle website and download the Oracle Apex 5.0 installation file and unzip it.
apex_5.0_en.zip
In my system after unzipped, Apex 5.0 installation file located in the below directory:
D:\SOFTWARES\ORACLE\apex_5.0_en
There is no GUI Wizard for Oracle Apex Installation. We have to install and configure it inside the Oracle
database server running several scripts manually. Create a separate Tablespace named APEX _TS
where Oracle Apex will store its own files.
Open a command prompt window and log in to the database using SYS user with SYSDBA privilege.
Create a table space named 'APEX_TS' using the below command (Figure 3-1 & 3-2):
Note: After typing the above command press Enter key to execute the command. You can enter any
directory for data file location
www.apexexplorer.com
Figure: 3-1 showing how to connect database with sys user and create Table Space for apex installation.
2
9
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
3.1.3: Locating Oracle Apex 5.0 source file in the command prompt for install
After successfully created the above table space 'APEX_TS', quit from database connection if
you are already connected or open a new command prompt window as shown in the Figure 3-2,
Now get into the Oracle apex 5.0 installation source directory as shown below
Tablespace created.
SQL> quit
C:\Users\Administrator> cd D:\SOFTWARES\ORACLE\apex_5.0_en\apex
C:\ >D:
D:\SOFTWARES\ORACLE\apex_5.0_en\apex
Fig: 3-2
Make sure you are inside the oracle apex installation file directory as shown in the Fig 3-2. now
log in to the database using user SYS with SYSDBA privilege as shown in the Figure 3-3
Now type the below command and press Enter key to start installation :
Note: Make sure there is at least 1 space between @apexins and APEX_TS, APEX_TS and
APEX_TS, APEX_TS and TEMP, TEMP and /i/
3
0
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Fig: 3-3
Apex installation will continue and it will take 25 to 40 minutes, depending on your system configuration.
You can find the installation progress in the Figure 3-4 to 3-6
www.apexexplorer.com
Fig: 3-4
3
1
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Fig: 3-5
www.apexexplorer.com
Fig: 3-6
After completing the apex installation successfully, make sure you are inside the apex installation
directory in the command prompt as you have done in the previous steps and if you are not connected in
the database then connect using SYS user with SYSDBA privilege.
Type the below command and press Enter key to start loading images in the database (Figure 3-7):
SQL> @apxldimg
After entering value for 1 press Enter key and the images will be started loading. Usually it takes 10 to 15
minutes, but depends on system configuration. Figure 3-8 showing the end of successfully images
loading.
Fig: 3-7
www.apexexplorer.com
3
3
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Fig: 3-8
After completing the above stages, make sure you are inside the apex installation
directory in the command prompt as you have done in the previous steps and if you are not
connected in the database then connect using SYS user with SYSDBA privilege.
www.apexexplorer.com
3
4
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Fig: 3-9
After completing the above stages, make sure you are inside the apex installation directory in the
command prompt as you have done in the previous steps and if you are not connected in the database
then connect using SYS user with SYSDBA privilege.
SQL> @apxchpwd
www.apexexplorer.com
Fig: 3-10
After completing the above stages, make sure you are inside the apex installation directory in the
command prompt as you have done in the previous steps and if you are not connected in the database
then connect using SYS user with SYSDBA privilege
Execute the below query to check the current http port (Figure 3-11)
GETHTTPPORT
--------------------
0
Execute the below command to set the http port. you can set any port number that you desire. default
port is 8080, I have assigned 7777.
FIg: 3-11
www.apexexplorer.com
After completing the above stages, make sure you are inside the apex installation directory in the
command prompt as you have done in the previous steps and if you are not connected in the database
then connect using SYS user with SYSDBA privilege
Run the below script and provide Oracle database installation base directory as parameter and press
Enter Key as shown (Figure 3-12,3-13)
3
6
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
SQL> @apex_epg_config
Here 'C:\app\oracle' is the base directory of the Oracle Database installation in my system as shown in
the Figure 3-12, your base directory might be different than me, please check your base directory.
This step will take couple of minutes to complete
Fig: 3-12
www.apexexplorer.com
3
7
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Fig:3-13
After completing the above stages, make sure you are inside the apex installation directory in the
command prompt as you have done in the previous steps and if you are not connected in the database
then connect using SYS user with SYSDBA privilege
Execute the below query to check the current http port (Figure 3-14)
SQL> @apex_rest_config
3
8
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Fig:3-14
http://192.168.1.20:7777/apex
http://rnd:7777/apex
workspace : Internal
3
9
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
password: <admin password> you provided this password in the stage 3.1.8
Fig: 3-15
www.apexexplorer.com
4
0
HOW TO INSTALL ORACLE APEX 5.0 WITH DATABASE 12C ENTERPRISE EDITION May 1, 2015
Fig: 3-16
www.apexexplorer.com
4
1