Installation will be performed on Oracle Linux 6u3 x64 with Oracle database 11.2.0.3 installed and configured.
1. Download latest versions of Apex, Glassfish server and ApexListener
2. Create tablespace in database(this is optional as you can install apex in any tablespace, for example SYSAUX)
CREATE TABLESPACE APEX_TS DATAFILE
'/u01/app/oracle/oradata/fdapex/apex01.dbf' SIZE 2048M AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED
LOGGING
ONLINE
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K
BLOCKSIZE 8K
SEGMENT SPACE MANAGEMENT AUTO
FLASHBACK ON;
2. Unzip Apex installation, go to unpacked Apex folder and as SYS user connectand run the installation:
SQL>@apexins APEX_TS APEX_TS TEMP /i/
3. When installation is finished change the admin user password. Be aware that admin password should contain one upper letter and one of the punctation marks.
SQL>@apxchpwd
4. As SYS user define password for APEX_PUBLIC_USER
SQL>alter user APEX_PUBLIC_USER identified by <new_password>
5. Install JDK latest version
6. Install Glassfish server
sh Glassfish-4.0-unix.sh
Follow the screens:
7. Enable secure admin
asadmin enable-secure-admin
If there is a problem with this then define admin user password:
asadmin change-admin-password
here current password is blank, just press enter and then define new password.
8. Create service for automatic start with computer boot:
asadmin create-service
9. Install apex-listener
-Copy images folder from Apex unzipped folder to specific location, for example /home/oracle/apex/images
-Unzip apex listener archive
Define configuration directory
java -jar apex.war configdir /home/oracle/apex
then configure database communication
java -jar apex.war setup
then configure images folder
java -jar apex.war static /home/oracle/apex/images
10. Deploy apex.war and i.war
Login to Glasswish admin console
localhost:4848
To install the deployment:
On the navigation tree, click the Application node.
The Applications page displays.
Click the Deploy button.
The Deploy Applications or Modules page displays.
Select Packaged File to be Uploaded to the Server and click Browse.
Navigate to the location of the apex.war file, select the file, and click Open.
The Deploy Applications or Modules page displays.
On the Deploy Applications or Modules page, specify the following:
Type: Web Application
Context Root: apex
Application Name: apex
Status: Enabled
Description: Application Express Listener
Accept all other default settings and click OK.
Repeat the previous steps to deploy the i.war file. Clear the Context Root field so that the context root set in the sun-web.xml is used.
Start Apex:
http://localhost:8080/apex
If for some reason you get blank screen when trying to access this page, please check and apply patch number 16760897 to Apex installation. Check README.txt
Thats all!