[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [onionperf/master] Adds short deployment instructions



commit 2df6b54fd5ebd1f854ba6f263b0462df0a8d6e13
Author: Ana C. Custura <ana@xxxxxxxxxxxxxx>
Date:   Wed Jun 5 14:45:52 2019 +0100

    Adds short deployment instructions
---
 README.md | 37 +++++++++++++++++++++++++++++++++++--
 1 file changed, 35 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index d2f2f05..ccd4065 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,37 @@ can later be used to visualize changes in Tor client performance over time.
 For more information, see https://git.torproject.org/onionperf
 For a dockerized setup, see https://github.com/hiromipaw/onionperf-docker
 
+## Quick deployment instructions
+
+These are the quick deployment instructions for the current Debian stable distribution.
+
+```
+sudo apt install git cmake make build-essential gcc libigraph0-dev libglib2.0-dev python-dev libxml2-dev python-lxml python-networkx python-scipy python-matplotlib python-numpy libevent-dev libssl-dev
+
+echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list
+apt update
+apt-get -t stretch-backports install python-stem tor
+
+
+git clone https://github.com/shadow/tgen.git
+cd tgen
+mkdir build
+cd build
+cmake .. -DCMAKE_INSTALL_PREFIX=/home/$USER/.local
+make
+ln -s ~/tgen/build/tgen /usr/bin/tgen
+
+git clone https://github.com/ana-cc/onionperf
+cd onionperf
+git checkout steins_gate
+sudo python setup.py build
+sudo python setup.py install
+```
+
+## Step-by-step installation instructions
+
+Here you can find more detailed instructions for the current Debian stable distribution.
+
 ### Get OnionPerf
 
 ```
@@ -95,10 +126,12 @@ large dependencies.
 ### Build Tor
 
 **Note**: You can install Tor with apt, although the
-preferred method is to build from source. To install using apt:
+preferred method is to build from source. To install using from backports:
 
 ```
-sudo apt install tor
+echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list
+apt update
+apt-get -t stretch-backports install tor
 ```
 Or, if building from source:
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits