Update 'Magicbane out of the Box'
+14
-1
@@ -16,10 +16,23 @@ Copy Magicbane out of the container
|
||||
|
||||
`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
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
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`
|
||||
|
||||
Reference in New Issue
Block a user