APEX 5 Installation Steps
APEX 5 Installation Steps
as follows:
http://host:port/pls/apex/apex_admin (Oracle HTTP Server with mod_plsql)
follows:
gateway)
If you are using the multitenant architecture in Oracle 12c, you should
read this article before you continue.
Setup
Installation
OHS Configuration
Network ACLS
Related articles.
Setup
Download the APEX software.
http://www.oracle.com/technetwork/developer-
tools/apex/downloads/index.html
Unzip the software either on your client PC, if you intend to install it
from there using the SQL*Plus client on your PC, or on the database
server if you intend to install it from there. The latter will be more
efficient as you will reduce the network traffic between the SQL*Plus
client and the database server.
Installation
Change directory to the directory holding the unzipped APEX software.
$ cd /home/oracle/apex
Connect to SQL*Plus as the SYS user and run the "apexins.sql" script,
specifying the relevant tablespace names and image URL.
GETHTTPPORT
-----------
0
1 row selected.
SQL>
If it is set to "0", you will need to set it to a non-zero value to enable it.
SQL>
OHS Configuration
Change the password and unlock the APEX_PUBLIC_USER account. This will
be used for any Database Access Descriptors (DADs).
If you don't want the password to expire you will need to create a new
profile with password expiration disabled and assign it to the user.
On the resulting page select "Oracle HTTP Server > Administration >
Advanced Configuration"
From the dropdown list slect "dads.conf" and click the "Go" button.
Edit the "dads.conf" file, adding an entry like that shown below, then
click the "Apply" button.
<Location /apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDatabaseConnectString pdb1 TNSFormat
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword myPassword
PlsqlRequestValidationFunction
wwv_flow_epg_include_modules.authorize
PlsqlPathAlias r
PlsqlPathAliasProcedure wwv_flow.resolve_friendly_url
Allow from all
</Location>
Select the "Oracle HTTP Server > Control > Restart" option.
Click the resulting "Restart" button.
Alternatively, edit the "dads.conf" file directly. For the OHS that comes
with Forms and Reports Services, this is located here
"$FR_INST/config/OHS/ohs1/mod_plsql/dads.conf". Once amended,
remember to restart the HTTP server.
$ $FR_INST/bin/opmnctl restartproc process-type=OHS
$ cp -R /tmp/apex/images $FR_INST/config/OHS/ohs1/htdocs/apex_images
Make them available from the "/i/" alias by adding the following alias to
the virtual host defined in the "ssl.conf" or "httpd.conf" file in the
"$FR_INST/config/OHS/ohs1" directory.
Alias /i/
"/u01/app/oracle/middleware/FR_inst/config/OHS/ohs1/htdocs/apex_images/"
Network ACLS
If your APEX installation needs to contact other servers on the
network, you will need to create the appropriate ACLs to allow account
to the network services. This is discussed here.
@apxldimg.sql;
1:/u01/app/oracle/product/11.2.0/dbhome_1
Hier is small bug in script- you should give not path to apex - give path to
e.g. /u01/app/oracle/product/11.2.0/dbhome_1
@apxconf.sql;
http://rac1.localdomain:8080/apex