Skip to main content

Privacera Platform

Table of Contents

System requirements for Google Cloud Platform (GCP)


Privacera Manager requires a Virtual Machine (VM) with the CentOS operating system.

See System Requirements for Docker in GCP to learn more.

Install Docker and Docker compose
  1. Ensure the following ports are opened on the host: Ports of Privacera Services.

  2. SSH to the VM as the administrator $VM_USER

  3. Set the VM_USER to the OS user:

    sudo yum install -y docker wget 
    sudo sed -i 's/1024:4096/1024000:1024000/g' /etc/sysconfig/docker 
    sudo cat /etc/sysconfig/docker 
    sudo service docker start sudo systemctl enable docker 
    sudo usermod -a -G docker ${VM_USER}
  4. Log into the VM as VM_USER, this forces the usermod action.

  5. Install Docker-Compose:

    sudo curl -L${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose 
    sudo chmod +x /usr/local/bin/docker-compose
Possible error messages and actions
  • Error message: "usermod: group ‘docker’ does not exist"

    Check if 'docker' is added to groups.

    grep "docker" /etc/password

    If you find ‘dockerroot’, instead of ‘docker’, edit or create /etc/docker/daemon.json

    sudo vi /etc/docker/daemon.json 
    { "group": "dockerroot" }
    sudo usermod -aG dockerroot ${USER} 
    sudo service docker restart 
  • Repository is unavailable or subscription manager is not found in the CentOS base

    Open the config file.

    sudo vi /etc/yum/pluginconf.d/subscription-manager.conf

    Disable the subscription manager.

    [main] enabled=0
  • SELinux Enabled

    1. Verify the status of SELinux. If it is enforcing, you need to disable it.

    2. Run the following command.

      sudo vi /etc/selinux/config
    3. To disable SELinux, set the following line.

    4. Reboot the system.

      sudo reboot