Skip to content

Basic Installation

This guide will help you to install server app along with NodeJS, Redis Server and RethinkDB on Ubuntu 16.04 server.

If you don't have one, get it from Google Cloud, AWS, Digital Ocean or any other provider.
A server with 1 CPU, 1Gb RAM and 10Gb of hard drive will fit for testing.

You can also use VirtualBox with your desktop or laptop PC or even Raspberry Pi or similar card-size computers.

You will need SSH access to your server. Login and be ready to copy-paste below commands.

Installing on other OSs server can be deployed on any system (Linux, MacOS, Windows). Check the original installation guides of the mentioned components on how to install on your favourite OS.

Network settings with cloud providers

If you set up a server with cloud providers, check network firewall rules to allow access to UDP and TCP ports for telemetry and video streaming.
By default server uses UDP and TCP ports from 30000 to 65000 for telemetry, and TCP ports 554, 1935, 8081 for video streaming.

System update

Run the following command in your terminal shell:

sudo apt-get update && sudo apt-get upgrade -y

Install some helpers

sudo apt-get install curl git

Install Node JS

curl -sL | sudo -E bash -
sudo apt-get install -y nodejs build-essential

Install PM2 process manager

sudo npm install pm2 -g

Install RethinkDB

Run these commands:

source /etc/lsb-release && echo "deb $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- | sudo apt-key add -
sudo apt-get update && sudo apt-get install rethinkdb -y

Install Redis Server

sudo apt-get install redis-server -y

Install server app

Set right permissions on some dirs to avoid errors from git and npm

sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config
CD to you home directory if you are out of it
Clone server repository
git clone
CD to project's directory:
cd gcs_uno_server
Install app dependencies
npm install
Build front-end files
npm run build

Follow Configuration and Running guide.