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.
- Create a directory to setup the source
code:
For example:mkdir <ohsscripts>
mkdir -p /OHSK8S/OHSscripts
- Download the latest OHS deployment scripts from the OHS
repository:
For example:cd <ohsscripts> git clone https://github.com/oracle/fmw-kubernetes.git
cd /OHSK8S/OHSscripts git clone https://github.com/oracle/fmw-kubernetes.git
- Set the
$SCRIPTDIR
environment variable as follows:
For example:export SCRIPTDIR=<ohsscripts>/fmw-kubernetes/OracleHTTPServer/kubernetes
export SCRIPTDIR=/OHSK8S/OHSscripts/fmw-kubernetes/OracleHTTPServer/kubernetes