iankronquist / beeswax

A Next Generation Honeypot for a 2016 Oregon State Senior Project
MIT License
67 stars 6 forks source link

Fix install script and push it up stream #15

Closed iankronquist closed 8 years ago

iankronquist commented 8 years ago
  1. Create a fresh ubuntu vm. It may be useful to create an Ubuntu Vagrantfile.
  2. Clone the senior-project-experiment
  3. Run, as root, our install script. Remember to provide it with the two arguments.
  4. It's broken, I'm sure. Fix it.
  5. Delete Ubuntu VM (vagrant destroy) and repeat steps 2-4 until it works.
  6. Fork MHN and clone your fork.
  7. Copy over our script and commit it into MHN. It should go in scripts.
  8. Delete Ubuntu VM. Create a new Ubuntu VM.
  9. Walk through the MHN install instructions and install MHN and our honeypot
  10. Rinse and repeat from step 8 until it works smoothly.
  11. Open PR. Fix anything which the MHN people ask for.
pixel5919 commented 8 years ago

Add you need to export COMPOSE_API_VERSION=1.18 Notes: SERVER_URL=$1 DEPLOY_KEY=$2

pixel5919 commented 8 years ago

Line 5 in docker file is where the error is occurring RUN yum -y install httpd php php-mysql curl

pixel5919 commented 8 years ago

The issue is with RUN yum -y install http it is a known bug in with Docker: https://hub.docker.com/r/centos/httpd/builds/bmjn5nzj2xv683uoem6mckr/.

iankronquist commented 8 years ago

@pixel5919 disabling AUFS seems to be sufficient to fix this. You just need to add this line to /etc/default/docker.

DOCKER_OPTS="--storage-driver=devicemapper"

Can you make the install script change the config file and then restart the Docker service?

service docker restart
pixel5919 commented 8 years ago

Okay now try it, I also updated #17

Notes:

pixel5919 commented 8 years ago

Modern Honeypot Network is reviewing the pull request at https://github.com/threatstream/mhn/pull/270 closing the issue.