Skip to content

Instantly share code, notes, and snippets.

@mortenbra
Last active August 31, 2015 13:43

Revisions

  1. mortenbra revised this gist Aug 31, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions apex_install.sh
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ su - oracle

    # assumes you have already copied Apex installation file to server
    cd /u01/download
    unzip apex_5.0_en.zip
    unzip apex_5.0.1_en.zip
    cd apex

    # start sqlplus and run the installation script
    @@ -21,8 +21,8 @@ sqlplus /nolog
    # check the installation log (last 200 lines)
    tail -n 200 *.log

    # rename the folder so we can have multiple versions downloaded (apex51, apex60, etc)
    # rename the folder so we can have multiple versions downloaded (apex501, apex502, apex60, etc)
    cd /u01/download/
    mv apex apex50
    mv apex apex501

    # now remember to copy the Apex images files into the web server "/i/" folder
  2. mortenbra revised this gist Jun 16, 2015. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion apex_install.sh
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,6 @@
    su - oracle

    # assumes you have already copied Apex installation file to server
    # download the latest Apex version, either by wget or to a client and then use scp to copy the file
    cd /u01/download
    unzip apex_5.0_en.zip
    cd apex
  3. mortenbra created this gist Jun 13, 2015.
    29 changes: 29 additions & 0 deletions apex_install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    # 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
    # download the latest Apex version, either by wget or to a client and then use scp to copy the file
    cd /u01/download
    unzip apex_5.0_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 (apex51, apex60, etc)
    cd /u01/download/
    mv apex apex50

    # now remember to copy the Apex images files into the web server "/i/" folder