Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computer:shinobi_dvr [2019/01/20 05:39]
tdobes
computer:shinobi_dvr [2019/01/20 12:12] (current)
tdobes
Line 27: Line 27:
  
 # see https://​gitlab.com/​Shinobi-Systems/​Shinobi/​blob/​master/​INSTALL/​ubuntu.sh # see https://​gitlab.com/​Shinobi-Systems/​Shinobi/​blob/​master/​INSTALL/​ubuntu.sh
 +# and https://​shinobi.video/​docs/​start#​content-ubuntu--the-harder-way
 # ...maybe use jq to manipulate json for config + stuff? # ...maybe use jq to manipulate json for config + stuff?
  
Line 32: Line 33:
 # TODO: test and do this stuff # TODO: test and do this stuff
 pushd /​opt/​shinobi pushd /​opt/​shinobi
 +# TODO: Fix this stuff so it uses custom db username/​pass and possibly custom db name
 mysql -u $sqluser -p$sqlpass -e "​source sql/​user.sql"​ # this has the MySQL username, password, and database name hardcoded mysql -u $sqluser -p$sqlpass -e "​source sql/​user.sql"​ # this has the MySQL username, password, and database name hardcoded
 mysql -u $sqluser -p$sqlpass -e "​source sql/​framework.sql"​ # this has the MySQL database name hardcoded mysql -u $sqluser -p$sqlpass -e "​source sql/​framework.sql"​ # this has the MySQL database name hardcoded
Line 43: Line 45:
 popd popd
 touch /​opt/​shinobi/​INSTALL/​installed.txt touch /​opt/​shinobi/​INSTALL/​installed.txt
 +
 +cp /​opt/​shinobi/​conf.sample.json /​opt/​shinobi/​conf.json
 +# TODO: edit /​opt/​shinobi/​conf.json
 +cp /​opt/​shinobi/​super.sample.json /​opt/​shinobi/​super.json
 +# TODO: edit /​opt/​shinobi/​super.json
 +# generating password in super.json: echo -n admin | md5sum | cut -d' ' -f1
  
 # we intentionally omit making a symlink for the INSTALL/​shinobi script because it assumes we installed to the default dir and are using PM2 # we intentionally omit making a symlink for the INSTALL/​shinobi script because it assumes we installed to the default dir and are using PM2
computer/shinobi_dvr.1547984362.txt.gz · Last modified: 2019/01/20 05:39 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS