Skip to content

Sentinel-Turing-1 : Setup of the Sentinel-Hub

The objective of this document is to enable a user with the minimum server configration to setup the Sentinel-Hub

Minimum Configuration Required

  • Cores : 4
  • RAM : 8-16GB
  • Storage Space : 50GB
  • Storage Type : SSD

Install Golang (required 1.12+)

Add the Golang PPA repository to get the latest version of Golang.

sudo add-apt-repository ppa:longsleep/golang-backports

After adding the PPA, update packages list using the below command.

sudo apt-get update

Install the latest version of Golang and other required packages

sudo apt-get install -y git golang-go make

Setting up Golang environment variables

Export the following Go environment variables

export GOROOT=/usr/lib/go

export GOPATH=$HOME/go

export GOBIN=$GOPATH/bin

export PATH=$PATH:$GOROOT/bin:$GOBIN

You can also append the above lines to $HOME/.bashrc file and run the following command to reflect in current Terminal session

source $HOME/.bashrc

Installing the sentinel-hub

  1. Download sentinel-hub files from the official sentinel-hub repository

    go get github.com/sentinel-official/hub

  2. Navigate to the hub folder

    cd $GOPATH/src/github.com/sentinel-official/hub

    If you want to install specific version or commit you can run the below command. By default you get development branch.

    git checkout COMMIT_HASH or git checkout VERSION

  3. Run following command to install the sentinel-hub

    make install

Walkthrough - Sentinel Hub Setup on Sentinel-Turing-1 (YouTube URL)

Sentinel-Turing-1 - Setup Hub