Polarity Admin Guide Version 5
Release Notes
  • Guides
    • Installing License
    • Authentication
      • LDAP Troubleshooting
      • SAML
        • Azure ADFS
        • Okta
        • SAML Troublshooting
    • Installing SSL Certificate
      • Configuring Certificate Signing Request (CSR)
    • Configuring a Proxy
    • Upgrade PostgreSQL to v15
    • Enabling SMTP
    • Server Environment Variables
    • File System Layout
    • Configuring a FQDN
    • Upgrade Polarity Server v4 to v5
    • Update Polarity V5
    • Troubleshooting V5
    • Fresh Installation Polarity Server v5
    • Enabling Source Analytics
      • Splunk
        • Sending Source Analytics to Splunk
        • Source Analytics Integration
      • Elasticsearch
        • Sending Source Analytics to Elasticsearch
        • Source Analytics Integration
  • Integrations
    • Installation
    • Install Multiple Copies of an Integration
    • Modifying Integration Name & Acronym
  • REST API
    • Authentication
    • Search Integrations
    • Integration Information
      • Integration Attributes
      • Updating Integrations
      • Updating Integration Permissions
      • Integration Options
Powered by GitBook
On this page
  • Server Requirements
  • Deployment Methods
  • Confirm Operating System
  • Install OS Dependencies
  • Check Docker Components
  • Download the Self-Extracting Installation Scripts
  1. Guides

Fresh Installation Polarity Server v5

This page walks through how to quickly install Polarity Server version 5 on a new server.

Server Requirements

We recommend the following server specs for a deployment of up to around 50 users:

  • 4 Cores

  • 32 GB of RAM

  • 250 GB storage

    • ensure wherever /app is installed has enough storage for containers

Deployment Methods

  1. Amazon Machine Image (AMI)

    • Amazon Linux 2023

  2. Single server container deployment

    • Supported Operating Systems:

      • Debian-Based Distros, such as:

        • Debian 11 / 12

        • Ubuntu 22.04 LTS / 24.04 LTS

      • Enterprise Linux-Based Distros, such as:

        • RedHat Enterprise Linux 8 / 9

        • CentOS Stream

        • Rocky Linux 8 / 9

        • Oracle Linux 8 / 9

        • Amazon Linux

  3. Single server container deployment - separating out Redis and Postgres to different servers

    • Typically, this will be done in AWS using Elasticache and RDS


Confirm Operating System

uname -a
cat /etc/os-release

Install OS Dependencies

Amazon Linux 2

Docker

yum install docker -y

JQ / Postgres / WGET

yum install -y jq postgresql wget

Docker Compose

These commands install Docker Compose and add the path to your user's default PATH.

wget https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -O /usr/local/bin/docker-compose
chmod -v +x /usr/local/bin/docker-compose

echo 'export PATH="$PATH:/usr/local/bin"' >> ~/.bashrc

source ~/.bashrc
EL 8 / 9 (eg. CentOS Stream, Rocky Linux, RHEL, etc.)

Docker

dnf config-manager --add-repo=https://download.docker.com/linux/rhel/docker-ce.repo
dnf install docker-ce -y --allowerasing

JQ / Postgres / WGet

dnf install -y jq postgresql wget

Docker Compose

wget https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -O /usr/local/bin/docker-compose
chmod -v +x /usr/local/bin/docker-compose
Debian / Ubuntu

Update Dependencies

sudo apt-get update

Docker

sudo apt-get install -y docker.io

JQ / Postgres / WGET/Python Utils

sudo apt-get install -y jq postgresql-client wget python3-distutils-extra

Docker Compose

sudo wget https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -O /usr/local/bin/docker-compose
sudo chmod -v +x /usr/local/bin/docker-compose

Check Docker Components

docker --version
docker-compose --version

Download the Self-Extracting Installation Scripts

Please reach out to your Polarity Customer Success Representative for the link.

PreviousTroubleshooting V5NextEnabling Source Analytics

Last updated 7 months ago