Windows flow does not require hardcoded paths.

This commit is contained in:
Daniel Goldberg 2016-07-12 22:22:10 +03:00 committed by GitHub
parent 0b00db2fc2
commit aa9ded7ff2
1 changed files with 6 additions and 14 deletions

View File

@ -11,27 +11,19 @@ How to set C&C server:
python -m pip install Flask-Pymongo
python -m pip install Flask-Restful
python -m pip install python-dateutil
mkdir C:\MonkeyIsland\bin
mkdir C:\MonkeyIsland\db
mkdir C:\MonkeyIsland\cc\binaries
4. Put monkey binaries in C:\MonkeyIsland\cc\binaries:
mkdir MonkeyIsland\bin
mkdir MonkeyIsland\db
mkdir MonkeyIsland\cc\binaries
4. Put monkey binaries in MonkeyIsland\cc\binaries:
monkey-linux-64 - monkey binary for linux 64bit
monkey-linux-32 - monkey binary for linux 32bit
monkey-windows-32.exe - monkey binary for windows 32bit
monkey-windows-64.exe - monkey binary for windows 64bit
4. Download MongoDB & Extract to C:\MonkeyIsland\bin\mongodb
4. Download MongoDB & Extract to MonkeyIsland\bin\mongodb
http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-latest.zip
5. Install OpenSSL
https://slproweb.com/download/Win64OpenSSL_Light-1_0_2d.exe
6. Generate SSL Certificate, Run create_certificate.bat
How to Connect to build environment:
1. set hostname to MONKEYCC
2. Put monkey source code at C:\Code\monkey
3. Run:
net share binaries=C:\MonkeyIsland\cc\binaries
net share sources=C:\Code\monkey\chaos_monkey
4. Run batch/sh script according to build environment readme
6. Generate SSL Certificate, run create_certificate.bat when your current working directory is MonkeyIsland
How to run:
1. start run_mongodb.bat