aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-13 13:50:10 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-13 13:50:10 +0100
commit37b4006a8e89a6ad6b2f900aa98c7afacad6af26 (patch)
treea1754d82c2b4f167e3d7276be9232b687bf22a1d /doc
parentf7ef810b99d2c47d5a07739ecb0be1667f32567f (diff)
downloadgnunet-37b4006a8e89a6ad6b2f900aa98c7afacad6af26.tar.gz
gnunet-37b4006a8e89a6ad6b2f900aa98c7afacad6af26.zip
fix tutorial: SERVICEHOME is obsolete, we now have GNUNET_TEST_HOME
Diffstat (limited to 'doc')
-rw-r--r--doc/gnunet-c-tutorial.tex9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex
index 2b4a0d8e1..799e20786 100644
--- a/doc/gnunet-c-tutorial.tex
+++ b/doc/gnunet-c-tutorial.tex
@@ -355,6 +355,11 @@ $ gnunet-statistics -c ~/peer1.conf -s dht # print statistics about DHT service
355 355
356\subsection{Starting Two Peers by Hand} 356\subsection{Starting Two Peers by Hand}
357 357
358This section describes how to start two peers on the same machine by hand.
359The process is rather painful, but the description is somewhat instructive.
360In practice, you might prefer the automated method described in
361Section~\ref{sec:testbed}.
362
358\subsubsection{Setup a second peer} 363\subsubsection{Setup a second peer}
359We will now start a second peer on your machine. 364We will now start a second peer on your machine.
360For the second peer, you will need to manually create a modified 365For the second peer, you will need to manually create a modified
@@ -376,7 +381,7 @@ $ cat $PREFIX/share/gnunet/config.d/*.conf > peer2.conf
376Now you have to edit {\tt peer2.conf} and change: 381Now you have to edit {\tt peer2.conf} and change:
377\begin{itemize} 382\begin{itemize}
378 \itemsep0em 383 \itemsep0em
379 \item{\texttt{SERVICEHOME} under \texttt{PATHS}} 384 \item{\texttt{GNUNET\_TEST\_HOME} under \texttt{PATHS}}
380 \item{Every (uncommented) value for ``\texttt{PORT}'' (add 10000) in any 385 \item{Every (uncommented) value for ``\texttt{PORT}'' (add 10000) in any
381 section (the option may be commented out if \texttt{PORT} is 386 section (the option may be commented out if \texttt{PORT} is
382 prefixed by "\#", in this case, UNIX domain sockets are used 387 prefixed by "\#", in this case, UNIX domain sockets are used
@@ -460,7 +465,7 @@ $ gnunet-core -c peer1.conf
460Peer `9TVUCS8P5A7ILLBGO6 [...shortened...] 1KNBJ4NGCHP3JPVULDG' 465Peer `9TVUCS8P5A7ILLBGO6 [...shortened...] 1KNBJ4NGCHP3JPVULDG'
461\end{lstlisting} 466\end{lstlisting}
462 467
463\subsection{Starting Peers Using the Testbed Service} 468\subsection{Starting Peers Using the Testbed Service} \label{sec:testbed}
464 469
465GNUnet's testbed service is used for testing scenarios where a number of peers 470GNUnet's testbed service is used for testing scenarios where a number of peers
466are to be started. The testbed can manage peers on a single host or on multiple 471are to be started. The testbed can manage peers on a single host or on multiple