Skip to content

Basic Installation

This guide will help you to install GCS.uno 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

GCS.uno 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 GCS.uno 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 https://deb.nodesource.com/setup_11.x | 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 http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | 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 GCS.uno 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
cd
Clone GCS.uno server repository
git clone https://github.com/GCS-uno/gcs_uno_server.git
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.