From ed547fbe6d179426d63240805e56d27fe2db17c1 Mon Sep 17 00:00:00 2001 From: Allan Date: Mon, 17 Jul 2017 19:17:15 +0200 Subject: [PATCH] Update to deploy-to-ubuntu.md A fresh install (Off CD / ISO) doesn't include python-pip or python virtualenv module. The fixes above take care of the additional requirements, as well as updating pip. --- docs/deploy-to-ubuntu.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/deploy-to-ubuntu.md b/docs/deploy-to-ubuntu.md index 929b7192..5517fead 100644 --- a/docs/deploy-to-ubuntu.md +++ b/docs/deploy-to-ubuntu.md @@ -8,9 +8,13 @@ tl;dr: ```shell sudo apt-get install software-properties-common && sudo apt-add-repository ppa:ansible/ansible -sudo apt-get update && sudo apt-get install ansible +sudo apt-get update && sudo apt-get install ansible python-pip +pip install virtualenv +pip install --upgrade pip git clone https://github.com/trailofbits/algo -cd algo && ./algo +cd aldo +python -m virtualenv env && source env/bin/activate && python -m pip install -U pip && python -m pip install -r requirements.txt +./algo ``` **Warning**: If you run Algo on your existing server, the iptables rules will be overwritten. If you don't want to overwrite the rules, you must deploy via `ansible-playbook` and skip the `iptables` tag as described in [deploy-from-ansible.md](deploy-from-ansible.md).