Installing ShinobiCE on nixOS Latest

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.

Prerequisites

Steps

  1. Update the nixOS system by running the following command on the terminal:

    sudo nixos-rebuild switch --upgrade
    
  2. Install git, which is a version control system, by running the following command:

    sudo nix-env -i git 
    
  3. Clone the ShinobiCE repository by running the following command:

    git clone https://gitlab.com/Shinobi-Systems/ShinobiCE.git
    
  4. Navigate to the ShinobiCE directory by running the following command:

    cd ShinobiCE
    
  5. 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
    
  6. Create a config file by copying the example file provided in the ShinobiCE directory:

    cp conf.sample.json conf.json
    
  7. Edit the conf.json file using a text editor to add the configurations for your cameras and database.

    nano conf.json
    
  8. Start the ShinobiCE server by running the following command:

    yarn start
    

    This will start the server on the default port 8080.

  9. 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!