Skip to content

Configure and Install Core Services#

  • Get the installation environment variables. For more information on the variables, see Environment Variables.

Configure Privacera Manager UI#

  1. In a terminal window, connect to the cloud Linux instance using an SSH client. Follow the steps given in the links below.

  2. Get the <PRIVACERA_HUB_REPO_NAME> and log onto the Privacera Docker Hub, substituting the value you've received for <PRIVACERA_HUB_USER>.  You will be prompted for the password.  Use the value for <PRIVACERA_HUB_PASSWORD>.

    docker login <PRIVACERA_HUB_REPO_NAME> -u <PRIVACERA_HUB_USER>
    
  3. 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>
    
  4. 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. 

  5. Create 'pm-env.sh', a shell script used by Privacera Manager during the installation process and for future 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
    
  6. Run the following commands.

    cd ~/privacera/privacera-manager/
    cd config/pm-ui/
    cp sample.application-custom.properties application-custom.properties
    

    Note

    If you want to run the Privacera Manager UI on a specific port other than the default port, do the following changes:

    vi application-custom.properties

    Change the server port, Privacer Manger UI will run on this port.

    server.port=6888

Start the Privacera Manager UI#

To start the UI service, run the following commands. If you're installing for the first time, it will download and extract the docker image of Privacera Manager. For more information on the other shell commands, refer to Privacera Manager Command Line.

cd  ~/privacera/privacera-manager
./privacera-manager.sh pm-ui start

This will download, and extract the Privacera Manager components.

It will give you a URL along with the port number. Copy the URL in a browser tab, for example, http://10.xxx.xx.44:6888.

On the Privacera login page, enter your login credentials. If its your first time for installing Privacera using the Privacera Manager UI, then use the following default credentials to log in.

  • Username: pmanager
  • Password: pmanager

Note

You can change the default password, after you've logged in. On the top-right corner, click Profile button, and then click Change Password.

Once logged in, the following landing page is displayed.

To begin with the installation of Privacera products and services on a cloud platform, click Setup Environment.

Upgrading Privacera Platform#

You can upgrade Privacera Platform to a new release version. To get the new version, contact Privacera Sales Account Manager.

rel_X.X.X.X is the format in which you will receive the release version.

To upgrade using the new version, you should be having an existing Privacera Platform installed in your environment. Follow the steps to upgrade:

  1. Open the pm-env.sh file to add the new release version for the Privacera Manager packages.

    vi ~/privacera/privacera-manager/config/pm-env.sh
    
  2. Update the version for the following variables with the new release version.

    • In the PRIV_MGR_PACKAGE variable, update the release version in the path of the URL /privacera/rel/rel_X.X.X.X/.
    • In the PRIV_MGR_IMAGE variable, update the release version in the path of the URL /privacera-manager:rel_X.X.X.X.
  3. Run the upgrade. This only upgrades the Privacera Manager packages.

    cd ~/privacera/privacera-manager
    ./privacera-manager.sh upgrade-manager
    
  4. Start the PM UI.

    cd  ~/privacera/privacera-manager
    ./privacera-manager.sh pm-ui start