ShinobiCE is a popular open-source video surveillance NVR (network video recorder) software that can be used to monitor live cameras and store recordings. In this tutorial, we will walk you through the steps to install ShinobiCE on Manjaro.
Before you begin, make sure you have the following prerequisites:
To clone the ShinobiCE repository from GitLab, you need to install the Git package on your system. To do so, open the terminal and type the following command:
sudo pacman -S git
The next step is to clone the ShinobiCE repository from GitLab. To do so, navigate to the directory where you want to install ShinobiCE and run the following command:
git clone https://gitlab.com/Shinobi-Systems/ShinobiCE
ShinobiCE has several dependencies that need to be installed before you can use it. To install them, run the following command:
sudo pacman -S mariadb mariadb-clients ffmpeg nodejs npm
Once the installation is complete, start and enable the MariaDB service using the following commands:
sudo systemctl start mariadb
sudo systemctl enable mariadb
Next, you need to create a database for ShinobiCE to use. To do so, run the following commands:
sudo mysql_secure_installation
Follow the prompts to set a root password, remove anonymous users, disallow remote login, and remove test databases. Then, log in to MariaDB using the following command:
sudo mysql -u root -p
Enter the root password when prompted and create a new database with the following command:
CREATE DATABASE shinobidb;
After installing the dependencies and creating the database, navigate to the ShinobiCE directory and run the installer using the following command:
npm install
The installation may take a few minutes to complete. Once it's done, copy the conf.sample.json
file to conf.json
using the following command:
cp conf.sample.json conf.json
Then, edit the conf.json
file using your favorite text editor and configure the settings for your setup.
Finally, start the ShinobiCE server using the following command:
npm start
You should see output similar to the following:
....
C, '',
.;::,. ;O: ;:.
,OOOOOO) oOOo :OOo
:OOOOOOOO)OOOOo::OOOO:
:OOOOOOOO)OOOOOOOOOOC:
'::::::::::,,,,:T:.'
C. ''
...
Shinobi 8.2.2
Database Connection Successful
Loading Configuration...
API Key : this_is_your_api_key
API Entry Point : http://localhost:8080
[Wed Mar 10 2021 16:49:25 GMT-0500 (Eastern Standard Time)] [info] [Camera Main] Starting Camera Daemon...
[Wed Mar 10 2021 16:49:25 GMT-0500 (Eastern Standard Time)] [info] [Motion Main] Starting Motion Daemon...
Visit your Shinobi dashboard at http://localhost:8080/super
You can now access the ShinobiCE dashboard by opening a web browser and navigating to http://localhost:8080/super
. The default username and password is admin
and admin
.
Congratulations! You have successfully installed ShinobiCE on Manjaro.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!