Download Privacera Packages#
Obtain the values for the following variables from your Privacera technical sales representative. For more information on the variables, see Environment Variables.
- PRIVACERA_HUB_REPO_NAME
- PRIVACERA_HUB_USER
- PRIVACERA_HUB_PASSWORD
- PRIVACERA_IMAGE_TAG
- PRIVACERA_BASE_DOWNLOAD_URL
- PRIV_MGR_IMAGE
- PRIV_MGR_PACKAGE
These values will be used as you set installation properties in the steps below.
-
In a terminal window, connect to the cloud Linux instance using an SSH client. Follow the steps given in the links below.
-
If you're using an AWS instance, click here.
-
If you're using an Azure instance, click here.
-
If you're using a GCP instance, click here.
-
-
Replace
<PRIV_MGR_PACKAGE>
,<PRIV_MGR_IMAGE>
and<PRIVACERA_HUB_REPO_NAME>
below:export PRIV_MGR_PACKAGE=<PRIV_MGR_PACKAGE> export PRIV_MGR_IMAGE=<PRIV_MGR_IMAGE> export PRIVACERA_HUB_REPO_NAME=<PRIVACERA_HUB_REPO_NAME>
-
Get the
<PRIVACERA_HUB_REPO_NAME>
and log onto the Privacera Docker Hub. Replace<PRIVACERA_HUB_USER>
below:docker login $PRIVACERA_HUB_REPO_NAME -u <PRIVACERA_HUB_USER>
-
Default installation folders for Privacera and Privacera Manager are '~/privacera', and '~/privacera/privacera-manager', (If you use a different folder, you will need to adjust the commands and sequences accordingly. )
Use the following sequence to first create the installation folder, then using wget, download and extract the privacera-manager components as shown
mkdir -p ~/privacera/downloads cd ~/privacera/downloads wget $PRIV_MGR_PACKAGE -O privacera-manager.tar.gz cd ~/privacera tar -zxf ~/privacera/downloads/privacera-manager.tar.gz
The folder '~/privacera/privacera-manager' will contain all the required components.
-
Create 'pm-env.sh', a shell script for future Privacera Manager upgrades.
cd ~/privacera/privacera-manager/config echo '#!/bin/bash' > pm-env.sh echo "export PRIV_MGR_PACKAGE=$PRIV_MGR_PACKAGE" >> pm-env.sh echo "export PRIV_MGR_IMAGE=$PRIV_MGR_IMAGE" >> pm-env.sh
After the packages are downloaded, the next step is to set up the environment for installing the packages. (For an overview of the installation steps, click here.)