aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-08-21 08:05:53 +0000
committerng0 <ng0@infotropique.org>2017-08-21 08:05:53 +0000
commit76e9cc144c86a49aa458536a4b5e8c97c4c968d3 (patch)
tree765697035d4e247f1043192751c3241a88ca622d
parentf47c0fe740332a8149c73360351f28680a5c35b9 (diff)
downloadgnunet-76e9cc144c86a49aa458536a4b5e8c97c4c968d3.tar.gz
gnunet-76e9cc144c86a49aa458536a4b5e8c97c4c968d3.zip
doc: install: mixed fixes.
-rw-r--r--doc/chapters/installation.texi23
1 files changed, 13 insertions, 10 deletions
diff --git a/doc/chapters/installation.texi b/doc/chapters/installation.texi
index 06152b5f7..d622f7b13 100644
--- a/doc/chapters/installation.texi
+++ b/doc/chapters/installation.texi
@@ -313,10 +313,13 @@ development headers for the various libraries are also installed. There maybe
313files for other distributions, or you might be able to find equivalent packages 313files for other distributions, or you might be able to find equivalent packages
314for your distribution. 314for your distribution.
315 315
316In the code instructions below, @emph{#} indicates commands run as privileged root
317user and @emph{$} shows commands run as unprivileged ("normal") system user.
318
316While it is possible to build and install GNUnet without having root access, 319While it is possible to build and install GNUnet without having root access,
317we will assume that you have full control over your system in these 320we will assume that you have full control over your system in these
318instructions. First, you should create a system user "gnunet" and an additional 321instructions. First, you should create a system user @emph{gnunet} and an additional
319group "gnunetdns". On Debian and Ubuntu GNU/Linux, type:@ 322group @emph{gnunetdns}. On Debian and Ubuntu GNU/Linux, type:@
320@code{@ 323@code{@
321 # adduser --system --home /var/lib/gnunet --group --disabled-password gnunet@ 324 # adduser --system --home /var/lib/gnunet --group --disabled-password gnunet@
322 # addgroup --system gnunetdns@ 325 # addgroup --system gnunetdns@
@@ -332,16 +335,16 @@ group "gnunetdns". On Debian and Ubuntu GNU/Linux, type:@
332 $ cd gnunet-0.10.?@ 335 $ cd gnunet-0.10.?@
333 $ ./configure --with-sudo=sudo --with-nssdir=/lib@ 336 $ ./configure --with-sudo=sudo --with-nssdir=/lib@
334 $ make@ 337 $ make@
335 $ sudo make install@ 338 $ sudo make install@
336}@ 339}@
337 340
338If you want to be able to enable DEBUG-level log messages, add 341If you want to be able to enable DEBUG-level log messages, add
339@code{--enable-logging=verbose} to the end of the ./configure command. 342@code{--enable-logging=verbose} to the end of the @code{./configure} command.
340DEBUG-level log messages are in English-only and should only be useful for 343DEBUG-level log messages are in English-only and should only be useful for
341developers (or for filing really detailed bug reports). 344developers (or for filing really detailed bug reports).
342 345
343Finally, you probably want to compile gnunet-gtk, which includes gnunet-setup 346Finally, you probably want to compile @code{gnunet-gtk}, which includes gnunet-setup
344(graphical tool for configuration) and gnunet-fs-gtk (graphical tool for 347(graphical tool for configuration) and @code{gnunet-fs-gtk} (graphical tool for
345file-sharing):@ 348file-sharing):@
346 349
347@code{@ 350@code{@
@@ -353,7 +356,7 @@ file-sharing):@
353 $ cd ..@ 356 $ cd ..@
354 $ sudo ldconfig # just to be safe@ 357 $ sudo ldconfig # just to be safe@
355}@ 358}@
356 Now, edit @code{/etc/gnunet.conf} to contain the following:@ 359 Next, edit the file @file{/etc/gnunet.conf} to contain the following:@
357@code{@ 360@code{@
358 [arm]@ 361 [arm]@
359 SYSTEM_ONLY = YES@ 362 SYSTEM_ONLY = YES@
@@ -390,7 +393,7 @@ $USER on the system, run:@
390}@ 393}@
391 394
392to allow them to access the system-wide GNUnet services. Then, each user should 395to allow them to access the system-wide GNUnet services. Then, each user should
393create a configuration file "~/.config/gnunet.conf" with the lines:@ 396create a configuration file @file{~/.config/gnunet.conf} with the lines:@
394 397
395@code{@ 398@code{@
396 [arm]@ 399 [arm]@
@@ -405,7 +408,7 @@ and start the per-user services using@
405 $ gnunet-arm -c ~/.config/gnunet.conf -s@ 408 $ gnunet-arm -c ~/.config/gnunet.conf -s@
406}@ 409}@
407 410
408Again, adding a @file{crontab} entry to autostart the peer is advised:@ 411Again, adding a @code{crontab} entry to autostart the peer is advised:@
409@code{@ 412@code{@
410@@reboot /usr/local/bin/gnunet-arm -c $HOME/.config/gnunet.conf -s@ 413@@reboot /usr/local/bin/gnunet-arm -c $HOME/.config/gnunet.conf -s@
411}@ 414}@
@@ -433,7 +436,7 @@ hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
433 436
434 437
435The exact details may differ a bit, which is fine. Add the text 438The exact details may differ a bit, which is fine. Add the text
436"gns [NOTFOUND=return]" after "files": 439@emph{"gns [NOTFOUND=return]"} after @emph{"files"}:
437@example 440@example
438hosts: files gns [NOTFOUND=return] mdns4_minimal [NOTFOUND=return] dns mdns4 441hosts: files gns [NOTFOUND=return] mdns4_minimal [NOTFOUND=return] dns mdns4
439@end example 442@end example