aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-15 11:28:23 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-15 11:28:23 +0200
commit0a0dd2431d29bf91bbb338e6d8d6738632c49f8e (patch)
tree2e70e947ac351ae05b3b199af93e116895d928d4
parent091ff7864c218c1756b7d70b7d10ca68b5679528 (diff)
downloadwww-0a0dd2431d29bf91bbb338e6d8d6738632c49f8e.tar.gz
www-0a0dd2431d29bf91bbb338e6d8d6738632c49f8e.zip
improve setup phase
-rw-r--r--template/install.html.j213
1 files changed, 11 insertions, 2 deletions
diff --git a/template/install.html.j2 b/template/install.html.j2
index b1494ca4..598aaa6a 100644
--- a/template/install.html.j2
+++ b/template/install.html.j2
@@ -85,13 +85,22 @@ If you have any queries about the installation or the usage, please <a href="eng
85 </code> 85 </code>
86 <p> 86 <p>
87 {% trans %} 87 {% trans %}
88 Before building GNUnet, make sure that you setup the required groups and
89 add your user to the group <code>gnunet</code>:
90 {% endtrans %}
91 </p>
92 <code class="block">
93 # addgroup gnunetdns <br>
94 # adduser --system --home "/var/lib/gnunet" --group gnunet --shell /bin/sh<br>
95 # usermod -a -G gnunet &lt;username&gt;
96 </code>
97 <p>
98 {% trans %}
88 To compile GNUnet, execute: 99 To compile GNUnet, execute:
89 {% endtrans %} 100 {% endtrans %}
90 </p> 101 </p>
91 <code class="block"> 102 <code class="block">
92 $ export GNUNET_PREFIX=/usr/local/lib # or other directory of your choice<br> 103 $ export GNUNET_PREFIX=/usr/local/lib # or other directory of your choice<br>
93 $ sudo addgroup gnunetdns <br>
94 $ sudo adduser --system --home "/var/lib/gnunet" --group gnunet --shell /bin/sh<br>
95 $ ./bootstrap # only if you install from git <br> 104 $ ./bootstrap # only if you install from git <br>
96 $ ./configure --prefix=$GNUNET_PREFIX/.. <br> 105 $ ./configure --prefix=$GNUNET_PREFIX/.. <br>
97 $ make 106 $ make