Update 'Magicbane out of the Box'

master
MagicBot 3 years ago
parent
commit
e3f4ad9fc4
  1. 15
      Magicbane-out-of-the-Box.md

15
Magicbane-out-of-the-Box.md

@ -16,10 +16,23 @@ Copy Magicbane out of the container
`docker cp CONTAINERID:/home/mbbox/magicbane /home/YOURDIRHERE/` `docker cp CONTAINERID:/home/mbbox/magicbane /home/YOURDIRHERE/`
Setup config
`mkdir magicbane/mb.conf`
<br>
`cp magicbane/mb.data/magicbane.conf magicbane/mb.conf/`
Install middleware Install middleware
```console ```console
RUN apt-get update && apt-get -y install --no-install-recommends \ sudo apt-get update && apt-get -y install --no-install-recommends \
mysql-server sudo lsof git openssh-client locales locales-all && apt-get clean mysql-server sudo lsof git openssh-client locales locales-all && apt-get clean
``` ```
Make sure MySQL is running.
`sudo service mysql start`
Configure Magicbane database and user accounts. The formerly MagicBox and now Magicbane administrator should edit this file to assign his own database user and passwords. Make sure to edit `magicbane/mb.conf/magicbane.conf` accordingly.
`sudo mysql < magicbane/mb.data/magicbanesql.conf`

Loading…
Cancel
Save