CENTOS — Setup Shinobi cctv

Installing FFmpeg

yum install epel-release -y
yum update -y
shutdown -r now
sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
yum install ffmpeg ffmpeg-devel -y

Node Js

sudo yum install curl -y
yum remove nodejs-6.14.2-1.el7.x86_64
curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -
yum install npm -y
yum install nodejs -y

Getting ready to install Shinobi

yum install git -y
git clone https://gitlab.com/Shinobi-Systems/Shinobi.git Shinobi
cd Shinobi
chmod +x INSTALL/centos.sh && INSTALL/centos.sh

I asked the install each item it asked about I also selected to use SQLite3

Open ports required to access Shinobi

firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --reload
systemctl restart firewalld
firewall-cmd --zone=public --list-port

Was this helpful?

0 / 0