Skip to content

Instantly share code, notes, and snippets.

@mortenbra
Last active August 31, 2015 13:43
Install Apex into Oracle XE on CentOS
# install (or upgrade) Apex on Oracle XE on CentOS
# change to the "oracle" user (created as part of XE installation)
su - oracle
# assumes you have already copied Apex installation file to server
cd /u01/download
unzip apex_5.0.1_en.zip
cd apex
# start sqlplus and run the installation script
sqlplus /nolog
# connect sys as sysdba
# -- run the following for a full installation (including the Application Builder)
# @apexins.sql SYSAUX SYSAUX TEMP /i/
# -- run the following for a runtime-only installation (for production environments)
# @apxrtins.sql SYSAUX SYSAUX TEMP /i/
# check the installation log (last 200 lines)
tail -n 200 *.log
# rename the folder so we can have multiple versions downloaded (apex501, apex502, apex60, etc)
cd /u01/download/
mv apex apex501
# now remember to copy the Apex images files into the web server "/i/" folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment