VisionAIre
  • About Nodeflux
  • Visionaire Stream
    • Overview
    • Requirements
      • Credential Keys
      • Tested Hardware
      • Bandwith Requirements
    • Installation Guide
      • Dependencies
      • Simple Installation
      • Advanced Installation
      • Clustering Installation
      • Add-ons Analytics Installation
        • People Attributes Installation
        • Vehicle Attributes Installation
        • OVOD Installation
        • OVIC Installation
        • VM Installation
        • VLM Installation
    • Analytics
      • Face Recognition
        • Additional Information
          • Overview
          • Disclaimer
          • Metrics
          • Testing
      • People Analytics
      • Crowd Estimation
      • PPE Detection
      • License Plate Recognition
      • Vehicle Analytics
      • Water Level Monitoring
        • Camera Guideline
      • Pre-Flood Monitoring
      • Person Smoking Detection
      • Person with Handphone Detection
      • Smoke and Fire Detection
      • Person Using Firearms Detection
      • Vandalism Attempt Recognition
      • ATM Burglary Incident Recognition
      • Road Crash Monitoring
      • People Fighting Recognition
      • Riot Recognition
    • Developer Guide
      • How our APIs work
      • HTTP APIs
      • Websocket
      • Database Structure
    • Changelogs
  • Visionaire Snapshot
    • Overview
    • Requirements
    • Installation Guide
      • Face Searching & Matching
        • Single Node
        • Clustering
      • Helmet Detection
      • Chicken Estimation
      • Face Detection
      • Over Dimension Over Load
      • Frontal License Plate Recognition
    • Analytics
      • Face Searching & Matching
        • Face Enrollment
          • Image Guideline
          • Face and Image Quality Assessment
            • Setup On Premise
            • API
          • Insert / Update / Delete Enrollment
          • Batch Enrollment
      • Helmet Detection
      • Chicken Estimation
      • People Demography
      • Face Detection
      • Over Dimension Over Load
      • License Plate Recognition -Frontal
    • Developer Guide
      • APIs
        • Face Searching & Matching
        • Helmet Detection
        • Chicken Estimation
        • People Demography
        • Face Detection
        • Over Dimension Over Load
        • Frontal License Plate Recognition
      • Vanilla APIs for Face Enrollment
      • Porting Enrollment Database Cluster to Docker
    • Changelogs
  • VisionAIre Dashboard
    • Introduction
    • Add Analytic Assignment
    • Accessing Vanilla Database
    • Connect to Vanilla Websocket
    • Create your own visualization
      • Migration from Old Streamer to New Streamer
      • Drawing Region of Interest
      • Additional Visualization Query
Powered by GitBook
On this page
  • Installing Dependencies: Ubuntu 22.04 or above
  • 1. Install nvidia-driver 5.25.0 (GNOME GUI Nvidia Installation Method)
  • 2. Install docker-ce runtime
  • 3. Install nvidia-docker
  • 4. Install docker-compose
  • Installing Dependencies: CentOS7
  • 1. Install nvidia-driver
  • 2. Install docker-ce
  • 3. Install nvidia-docker
  • 4. Install docker-compose

Was this helpful?

Export as PDF
  1. Visionaire Stream
  2. Installation Guide

Dependencies

Please ensure that your server used to run VisionAIre is deployed with some depedencies below before continue to the installation processes.

PreviousInstallation GuideNextSimple Installation

Last updated 1 year ago

Was this helpful?

Installing Dependencies: Ubuntu 22.04 or above

  1. Install nvidia driver 5.35 ()

  2. Install docker runtime latest ()

  3. Install nvidia-docker latest ()

  4. Install docker-compose latest ()

1. Install nvidia-driver 5.25.0 (GNOME GUI Nvidia Installation Method)

Open the Software & Updates application window. Select TAB Additional Drivers and choose any proprietary NVIDIA driver. The higher the driver number the latest the version.

2. Install docker-ce runtime

  • Update the apt package index and install packages to allow apt to use a repository over HTTPS

sudo apt-get update
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common
  • Add Docker’s official GPG key

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  • Use the following command to set up the stable repository.

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
  • Update the apt package index, and install the latest version of Docker Engine and containerd, or go to the next step to install a specific version:

sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
  • Verify that Docker Engine is installed correctly by running the hello-world image.

sudo docker run hello-world

This command downloads a test image and runs it in a container. When the container runs, it prints an informational message and exits.

  • Post-installation steps for Linux. This allows you to run Docker command without sudo .

    sudo groupadd docker
    sudo usermod -aG docker $USER
  • Log-out from Linux, then log in again. You now can run Docker without sudo.

3. Install nvidia-docker

  • Setup the stable repository and the GPG key

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
   && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
   && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
  • Install the nvidia-docker2 package (and dependencies) after updating the package listing

sudo apt-get update
sudo apt-get install -y nvidia-docker2
  • Restart the Docker daemon to complete the installation after setting the default runtime

sudo systemctl restart docker
  • At this point, a working setup can be tested by running a base CUDA container (version above 11.6)

sudo docker run --rm --gpus all nvidia/cuda:11.6-base nvidia-smi

4. Install docker-compose

Run this command in Terminal to download the current stable release of Docker Compose:

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

Apply executable permissions to the binary:

sudo chmod +x /usr/local/bin/docker-compose

Installing Dependencies: CentOS7

  1. Install nvidia driver > 5.15

1. Install nvidia-driver

  • Update yum

sudo yum update
  • Import Elrepo gpg key

sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
  • Install Elrepo RPM

sudo yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
  • Install nvidia-driver via nvidia-detect

sudo yum install nvidia-detect
  • Check if the driver is working

nvidia-detect -v

Reboot your computer to ensure the driver is working

2. Install docker-ce

Install the yum-utils package (which provides the yum-config-manager utility) and set up the stable repository.

sudo yum install -y yum-utils
sudo yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

Install the latest version of Docker Engine and containerd.

sudo yum install docker-ce docker-ce-cli containerd.io

Start Docker.

sudo systemctl start docker

Verify that Docker Engine is installed correctly by running the hello-world image.

sudo docker run hello-world

3. Install nvidia-docker

sudo dnf install -y tar bzip2 make automake gcc gcc-c++ vim pciutils elfutils-libelf-devel libglvnd-devel iptables

4. Install docker-compose

First, download the current stable release of Docker Compose (1.24.1.) by running the curl command:

sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

The –L option tells the system to follow any redirects, in case the file has been moved. –o changes the filename to docker-compose so you can easily find it when needed. The option /usr/local/bin/ specifies the location in which to store the software package.

sudo chmod +x /usr/local/bin/docker-compose

Install docker runtime ()

Install nvidia-docker ()

Install docker-compose ()

Next, to make the software executable:

link
link
link
change the file permissions
link
link
link
link
Page cover image