shinobi on Freebsd 11



  • hi all , this is a quick install howto , for freebsd 11
    ATM not sure if there are any bugs or problems , but this is a starting point i guess

    this will install the packages that are needed

    pkg install -y ffmpeg libav x264 x265 wget node npm mariadb102-server mariadb102-client git

    echo mysql_enable="YES" >> /etc/rc.conf

    /usr/local/etc/rc.d/mysql-server start

    cd ~
    git clone https://github.com/ShinobiCCTV/Shinobi.git shinobi

    chmod -R 755 shinobi
    cd shinobi
    cd sql

    mysql -u root -p
    source ./user.sql
    source ./framework.sql
    source ./default_data.sql

    CREATE USER 'majesticflame'@'127.0.0.1' IDENTIFIED BY '';
    GRANT ALL PRIVILEGES ON * . * TO 'majesticflame'@'127.0.0.1';
    FLUSH PRIVILEGES;

    CREATE USER 'majesticflame'@'YOURLOCALIPHERE' IDENTIFIED BY '';
    GRANT ALL PRIVILEGES ON * . * TO 'majesticflame'@'YOURLOCALIPHERE';
    FLUSH PRIVILEGES;
    exit

    cd ..
    cp conf.sample.json conf.json
    cp super.sample.json super.json

    edit conf.json to reflect your sql credentials.
    vi conf.json

    npm install&&npm install pm2 -g
    pm2 start camera.js

    Username : [email protected]
    Password : password

    .


 

Looks like your connection to Shinobi Forum was lost, please wait while we try to reconnect.