From 803f91e91efaeb4b508fba482aa3a36f08d3170f Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Mon, 5 Sep 2016 01:00:00 +0400 Subject: [PATCH] small tweaks --- INSTALL.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 1fecb9a..bbcbec7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,7 +2,7 @@ # Installing Cowrie in seven steps. - [Installing Cowrie in seven steps.](#installing-cowrie-in-six-steps) - * [Step 1: Install required Debian packages](#step-1--install-required-debian-packages) + * [Step 1: Install required Python packages](#step-1--install-required-debian-packages) + [Option A: dependencies for virtualenv](#option-a--dependencies-for-virtualenv) + [Option B: dependencies for bare install](#option-b--dependencies-for-bare-install) * [Step 2: Create a user account](#step-2--create-a-user-account) @@ -14,21 +14,22 @@ * [Step 7: Port redirection (optional)](#step-7--port-redirection--optional-) * [Troubleshooting](#troubleshooting) -## Step 1: Install required Debian packages +## Step 1: Install dependencies -There are two ways to install Cowrie: with a python virtual -environment, or directly on to the system. The virtual environment -is prefered as it isolates Cowrie and its dependencies from other -python software on the system. +There are two ways to install Cowrie's Python dependencies: in a +Python virtual environment or directly on to the system. The virtual +environment is preferred as it isolates Cowrie and its dependencies +from other Python software on the system. ### Option A: dependencies for virtualenv +This install virtual environments and other dependencies. The actual python packages are installed later. + On Debian based systems (tested on Debian 8, 2016-08-30): ``` $ sudo apt-get install git virtualenv libmpfr-dev libssl-dev libmpc-dev libffi-dev build-essential libpython-dev ``` - ### Option B: dependencies for bare install Install prerequisites on Debian based systems (untested 2016-08-30): @@ -136,7 +137,8 @@ In the absence of a virtual environment, you may run: $ ./start.sh ``` -When using Python Virtual Environments you should add the name of the venv as the first argument +When using Python Virtual Environments you can add the name of the +venv as the first argument or activate it before starting. ``` $ ./start.sh cowrie-env