This is an old revision of the document!
Shinobi
Install
Install nodejs … Install mariadb or mysql
Install ffmpeg
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y sudo apt update -y && sudo apt install ffmpeg libav-tools x264 x265 -y
Clone git
git clone -b dev --depth 1 https://github.com/ShinobiCCTV/Shinobi.git shinobi cd shinobi npm i
Fill database
mysql < sql/database.sql mysql < sql/user.sql mysql ccio < sql/framework.sql mysql ccio < sql/default_data.sql
Create configuration files
cp conf.sample.json conf.json cp super.sample.json super.json
Start once
pm2 start camera.js pm2 start cron.js
Start as daemon
pm2 startup
Enter as superuser at http:<ip>:8080/super with: * user: admin@shinobi.video * pass: admin ===== Update ===== <code> git pull pm2 restart camera pm2 restart cron </code>