RaspberryPi as a NVR solution

por | 23 abril, 2019

https://medium.com/@turhan.oz/raspberrypi-shinobi-as-a-nvr-solution-5e4bcca64c32

Install Shinobi

Now that our OS is properly configured and that we can access to our device through ssh, let’s install Shinobi. The easiest way is to run the following command on your PI (as defined on the documentation) :

$ sudo su
$ sh <(curl -s https://gitlab.com/Shinobi-Systems/Shinobi-Installer/raw/master/shinobi-install.sh)

The installation will be interactive, as follow :

# install location
Install Location for Shinobi
*Note : Default install location is “/home”
Do you want to install a custom location for Shinobi?
(y)es or (N)o? Default : No
# shinobi version
Install Shinobi CE or Shinobi Pro?
— — — — — — — — — — — — — — — — — — — — — — -
*Note : Shinobi Pro is free for personal use.
*Learn more at http://shinobi.video/pro
— — — — — — — — — — — — — — — — — — — — — — -
©E or (P)ro? Default : Pro
# install branch (master in stable)
Install the Development branch?
(y)es or (N)o? Default : No
N
# OS selection
The installer will say that the OS is not detected. Select ubuntu instead.
Shinobi Installer
========
Select your OS
If your OS is not on the list please refer to the docs.
========
1. Ubuntu
2. CentOS
3. MacOS
4. FreeBSD
5. OpenSUSE
========
1
# DB : choose MariaDB as RDBMS and choose a root password
Shinobi — Do you want to Install MariaDB? Choose No if you already have it.
(y)es or (N)o
y
# install shinobi database
Shinobi — Database Installation
(y)es or (N)o
y
# configure Shinobi to start on boot
Shinobi — Start Shinobi and set to start on boot?
(y)es or (N)o
y

# installation size
The entire raspbian + shinobi (including all dependencies) only took less that 2GB of space.

$ df -hl
Filesystem Size Used Avail Use% Mounted on
/dev/root 7.3G 1.8G 5.2G 26% /

Now installation is complete !!!