web analytics

How to Install Shinobi on Ubuntu Linux (Cloud9 IDE)

Shinobi a free and open source CCTV and NVR solution that is capable of recording IP as well as local camera footage. Shinobi is very easy to use even for novice users. If you want to test installing and using Shinobi then this post is for you.

This post will present a step by step guide on how to install Shinobi for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of the web application on Cloud9 as the free tier isn’t designed for that intended purpose. Now, and without further ado let’s dive into the tutorial.

Prerequisite

First, you’ll need to sign-up for the free version of Cloud9.

zero - Joomla on Cloud 9

Installation

Step One

After signing up and confirming your email, you’ll be directed to your dashboard, just click on the “add workspace” plus sign.

9 - Joomla on Cloud 9

Step Two

You’ll be directed to a new window where you should set up your workspace, select the blank option.

9 - Shinobi on Cloud9

Step Three

In the terminal type the following command to create a directory for Shinobi;

mkdir Shinobi

 

Step Four

Now we need to change directory to the newly created folder, so type the following command in the terminal;

cd Shinobi

Step Five

Now, we need to install Shinobi, to do so just copy the following command to your terminal.

sudo npm install shinobi

Step Six

We need to move some of the node modules, to do so copy and paste the following command in your terminal.

mv node_modules/shinobi/* .

Step Seven

Finally start to run Shinobi using the following command, please note that it will take a while and you’ll be asked many questions just type “y” for yes and create a password for the database.

sudo npm start

Step Eight

After the installation is completed, navigate to the top menu and select run with >> Node.js (default).

3 - Shinobi on Cloud9

Step Nine

Now, just click on the “Run Project” arrow, then click on the “Preview”, the installation window will appear in a browser like a side-window.

 

2 - Joomla on Cloud 9

Step Ten

You’ll then be directed to the login window, just use Username : ccio@m03.ca and Password : password.

1 - Shinobi on Cloud9

Step Eleven

Finally you’ll be directed to your portal where you can add and control your cameras.

2 - Shinobi on Cloud9

Congratulations, now you have a fully functional installation of Shinobi on Cloud9. But, remember this installation should be for development only and not as a production copy.