update installation process on linux

still not final, but improved
This commit is contained in:
itsikkes 2016-05-25 22:51:38 +03:00
parent bc1990c778
commit ace6a758f7
2 changed files with 12 additions and 7 deletions

View File

@ -24,14 +24,14 @@ Windows:
python -m pip install psutil
python -m pip install PyInstaller
type > C:\Python27\Lib\site-packages\zope\__init__.py
7. Download and extract UPX binary to C:\Code\monkey\chaos_monkey\bin\upx.exe:
7. Download and extract UPX binary to [source-path]\monkey\chaos_monkey\bin\upx.exe:
http://upx.sourceforge.net/download/upx391w.zip
8. Run [source-path]\monkey\chaos_monkey\build_windows.bat to build, output is in dist\monkey.exe
Linux (Tested on Ubuntu 12.04):
1. Run:
sudo apt-get update
apt-get install python-pip python-dev libffi-dev upx
sudo apt-get install python-pip python-dev libffi-dev upx libssl-dev
sudo pip install enum34
sudo pip install impacket
sudo pip install PyCrypto --upgrade

View File

@ -40,15 +40,17 @@ How to run:
---------------- On Linux ----------------:
1. Create the following directories:
sudo mkdir /var/monkey_island
sudo chmod 777 /var/monkey_island
mkdir -p /var/monkey_island/bin/mongodb
mkdir -p /var/monkey_island/db
mkdir -p /var/monkey_island/cc/binaries
2. Install the following packages:
python -m pip install flask
python -m pip install Flask-Pymongo
python -m pip install Flask-Restful
python -m pip install python-dateutil
sudo pip install flask
sudo pip install Flask-Pymongo
sudo pip install Flask-Restful
sudo pip install python-dateutil
3. put monkey binaries in /var/monkey_island/cc/binaries
monkey-linux-64 - monkey binary for linux 64bit
@ -65,10 +67,13 @@ How to run:
/var/monkey_island/bin/mongodb/bin)
5. install OpenSSL
apt-get install openssl
sudo apt-get install openssl
6. Generate SSL Certificate, Run create_certificate.sh
7. Copy monkey island server to /var/monkey_island:
cp -r [monkey_island_source]/cc /var/monkey_island/
How to run:
1. run run.sh
2. to clear db, run clear.db.sh