4.3 Setting Up the Code Repository for OHS

To deploy Oracle HTTP Server (OHS) you need to set up the code repository which provides sample deployment yaml files.

Perform the following steps on a node that has access to the Kubernetes cluster.
  1. Create a directory to setup the source code:
    mkdir <ohsscripts>
    For example:
    mkdir -p /OHSK8S/OHSscripts
  2. Download the latest OHS deployment scripts from the OHS repository:
    cd <ohsscripts>
    git clone https://github.com/oracle/fmw-kubernetes.git
    For example:
    cd /OHSK8S/OHSscripts
    git clone https://github.com/oracle/fmw-kubernetes.git
  3. Set the $SCRIPTDIR environment variable as follows:
    export SCRIPTDIR=<ohsscripts>/fmw-kubernetes/OracleHTTPServer/kubernetes
    For example:
    export SCRIPTDIR=/OHSK8S/OHSscripts/fmw-kubernetes/OracleHTTPServer/kubernetes