ShinobiCE is an open-source video surveillance software designed for linux servers. It provides a web interface for managing CCTV cameras and their recordings.
In this tutorial, we will guide you on how to install ShinobiCE on nixOS Latest.
Update the nixOS system by running the following command on the terminal:
sudo nixos-rebuild switch --upgrade
Install git, which is a version control system, by running the following command:
sudo nix-env -i git
Clone the ShinobiCE repository by running the following command:
git clone https://gitlab.com/Shinobi-Systems/ShinobiCE.git
Navigate to the ShinobiCE directory by running the following command:
cd ShinobiCE
Install the required dependencies for ShinobiCE by running the following command:
sudo nix-shell -p make nodejs yarn ffmpeg sqlite postgresql
Note: If you want to use PostgreSQL, please install the database using the following command:
sudo nix-env -i postgresql
Create a config file by copying the example file provided in the ShinobiCE directory:
cp conf.sample.json conf.json
Edit the conf.json file using a text editor to add the configurations for your cameras and database.
nano conf.json
Start the ShinobiCE server by running the following command:
yarn start
This will start the server on the default port 8080.
Access ShinobiCE by pointing your web browser to the server's IP address and port:
https://your_server_ip:8080/
You will be prompted to create an account and log in.
Congratulations! You have successfully installed ShinobiCE on nixOS Latest. You can now add your cameras and start monitoring.
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!