Scylla Installation Documentation
Scylla Installation Documentation
www.scylla.ai
Table of contents
1. Introduction
2. Specification
3. CLI Installation
4. CLI Commands
Introduction
This document describes all the installation and configuration process for
the Scylla starting from scratch. It covers all aspect of its installation and
configuration including all various software needed.
Specification
This document contains installation and configuration steps only for linux
platform for version 18.04.
CLI Installation Package installation
Unzip Scylla CLI node package anywhere where it is convenient for you.
CLI Installation Verify Node.js installation
$ node --version
CLI Installation Verify Node.js installation
If you have installed node js it will return node version e.g. v11.14.0 otherwise it will show that
command not found. If it shows command not found don’t panic just run below
written commands on your terminal to install node js or just go to this link:
https://nodejs.org/en/download/ and download node installer.
$ node --version
$ curl -o-
https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
# Alternatively
$ wget -qO-
https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
Configuration
$ export NVM_DIR=”$HOME/.nvm”
$ [ -s “$NVM_DIR/nvm.sh” ] && \. “$NVM_DIR/nvm.sh”
$ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
CLI Installation NVM installation
Verify your installation
$ nvm — version
Install Node.js
NVM usage
Create a symlink.
$ cd scylla-node-installer
$ npm link
CLI Installation Verify symlink
$ scylla
$ scylla uninstall to remove scylla from the system: yet not implemented.
This command checks if the current platform is compatible with the Scylla
requirements. There are 5 points which this command checks.
$ sudo curl -L
https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname
-s`-`uname -m` -o /usr/local/bin/docker-compose
4. Install Nvidia-docker2
Console guide will walk you through the configuration process. For Access Key ID and
Access Secret Key specify the values you got from the development team, for region
specify eu-central-1 and Output Format specify json.
Note: Once finished the wizard will create a config file under ~/.aws in a file named
credentials
1) Access key id
2) Secret Access key
3) Default region
4) Output format
CLI Commands Scylla install
Please double check before approving.
After configuration it will try to login AWS ECR. If you logged in successfully you should
see Login succeeded.
CLI Commands Scylla install
8. Create 2 folders and 2 files
Folders
Files
/etc/scylla/config.json
/etc/scylla/scylla_cfg.json
After execution this command it checks network devices and shows checkbox list.
CLI Commands Scylla config
If you have connected cameras on the list it will show filled checkbox circle otherwise
bordered checkbox circle. You can choose all devices by clicking a button on your keyboard.
If you want to remove selections just click on the I button. If you want to choose specific
camera, press click down or up buttons and press space button. If you choose all devices
click on the enter. It will open user and pass interactive inputs for selected cameras.
CLI Commands Scylla config
Once you entered user and pass wait until it connects to the camera. If connection fails it
will open confirmation dialog to try again or skip a camera installation.
CLI Commands Scylla config
After installation this command changes /etc/scylla/config.json file cameras property and
adds installed cameras.
For each cameras it adds properties like this:
CLI Commands Scylla config
If you want to add cameras manually open /etc/scylla/config.json file, find cameras property
and add camera after end of cameras array. Camera configuration requires 4 properties that
you should confirm. Camera name, camera type e.g rtsp, url (udp stream url) and device id
(device urn). Scylla cli checks connected cameras with id parameter so it is encouraged to
add this parameter if you have it.
Config.json by default includes 3 default cameras. Please DO NOT REMOVE first one. It is
required for scylla. Other 2 options are not mandatory they are just an example you can
remove or replace them.
There is limitation while installing cameras. You can not choose more than 8 cameras.
Address: Phone number:
Scylla, Inc. +1(747)228-3878
Albert Stepanyan Email:
Chief Executive Officer [email protected]
4500 Park Granada Suite 202, Calabasas CA 91302