This tutorial will guide you through the installation of ShinobiCE on OpenSUSE Latest. ShinobiCE is a free, open-source, and community-driven CCTV software that allows you to monitor your cameras and manage your recordings.
Before you begin, make sure you have the following:
Open the terminal and execute the following commands to install the required packages.
sudo zypper update -y
sudo zypper install -y mediainfo ffmpeg libjpeg8 libjpeg8-devel libjpeg62 libjpeg62-devel libavcodec-dev libavformat-dev libswscale-dev libavdevice-dev build-essential git
Next, clone the ShinobiCE repository to your server.
git clone https://gitlab.com/Shinobi-Systems/ShinobiCE.git shinobi
ShinobiCE requires Node.js and NPM to be installed on your server. Execute the following commands to install Node.js and NPM on your server.
sudo zypper install nodejs
sudo zypper install npm
ShinobiCE uses MySQL as a database. If you don't have MySQL installed on your server, execute the following command to install it.
sudo zypper install mysql
You need to create a new MySQL database and user for ShinobiCE. Execute the following commands to create a new database and user.
mysql -u root -p
create database shinobice;
create user 'shinobice'@'localhost' identified by 'Your_Password_Here';
grant all privileges on shinobice.* to 'shinobice'@'localhost';
Replace Your_Password_Here
with a strong password of your choice.
Navigate to the shinobi
directory that you cloned in step 2.
cd shinobi
Execute the following command to install the required packages for ShinobiCE.
sudo npm install
Next, copy the .env.sample
file to .env
and edit the .env
file to add your MySQL database credentials.
cp .env.sample .env
nano .env
Update the following variables in the .env
file.
MYSQL_USER=shinobice
MYSQL_PASSWORD=Your_Password_Here
MYSQL_HOST=localhost
MYSQL_PORT=3306
MYSQL_DATABASE=shinobice
Save and close the file.
Execute the following command to start ShinobiCE.
npm start
Open a web browser and navigate to http://localhost:8080
. You should see the ShinobiCE login page.
Login to ShinobiCE with the default user admin@shinobi.video
and password admin
. You should be redirected to the dashboard.
Navigate to Settings
> Add User
and create a new user. After creating the user, navigate to Manage
> Add Monitor
and add your cameras.
Congratulations! You have successfully installed and configured ShinobiCE on OpenSUSE Latest.
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!