[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [www] branch master updated: removed bandwith unlimited, ma
From: |
gnunet |
Subject: |
[GNUnet-SVN] [www] branch master updated: removed bandwith unlimited, made archlinux tutorial more generic, deleted old template |
Date: |
Sun, 18 Aug 2019 23:14:26 +0200 |
This is an automated email from the git hooks/post-receive script.
rexxnor pushed a commit to branch master
in repository www.
The following commit(s) were added to refs/heads/master by this push:
new af28711 removed bandwith unlimited, made archlinux tutorial more
generic, deleted old template
af28711 is described below
commit af287112facab73fb19b18c4dabc4008f3e188a7
Author: rexxnor <address@hidden>
AuthorDate: Sun Aug 18 23:10:49 2019 +0200
removed bandwith unlimited, made archlinux tutorial more generic, deleted
old template
---
template/install-on-archpi.html.j2 | 65 +++++++++++++++++++++-----------------
template/install-on-macos.html.j2 | 17 ++--------
template/install.html.j2 | 12 +++----
3 files changed, 44 insertions(+), 50 deletions(-)
diff --git a/template/install-on-archpi.html.j2
b/template/install-on-archpi.html.j2
index fccf46e..1ef61eb 100644
--- a/template/install-on-archpi.html.j2
+++ b/template/install-on-archpi.html.j2
@@ -3,20 +3,22 @@
<article class="container">
<header>
- <h1>{{ _("Tutorial: GNUnet on Archlinux/Pi") }}</h1>
+ <h1>{{ _("Tutorial: GNUnet on Arch Linux/Pi") }}</h1>
</header>
- Welcome to this GNUnet tutorial for Archlinux on a Raspberry Pi 3. If you
want
- to run a GNUnet node on a separte system, permanently online, with low energy
- consumption, this might be the thing for you. This tutorial shows you how to
- install, run, and operate it.
+ Welcome to this GNUnet tutorial for Arch Linux. This was also tested for the
+ Raspberry Pi 3 image of Arch Linux. If you want to run a GNUnet node on a
+ separte system, permanently online, with low energy consumption, this might
+ be the thing for you. This tutorial shows you how to install, run, and
+ operate it.
- <h2>{{ _("Requirements") }}</h2>
+ <h2>{{ _("Requirements for Raspberry Pi 3") }}</h2>
- <p>First you need the hardware. This tutorial works with a Raspberry Pi 3.
The
- other Pi versions I haven't tested, but they should probably work, too. To
- install Archlinux on the Pi3, follow the instructions from <a
+ <p>First you need the hardware. This tutorial works with a Raspberry Pi 3 or
+ any Arch Linux system. The other Pi versions I haven't tested, but they
should
+ probably work, too. To install Arch Linux on the Pi3, follow the instructions
+ from <a
href="https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3">archlinuxarm.org</a>.</p>
<p>That was easy, right? Our goal now is to build GNUnet from source. So,
let's
@@ -26,13 +28,13 @@
> sudo pacman -S base-devel
</code></p>
- <p>Now we can continue to install the following Archlinux dependencies to
- compile GNUnet on our Pi.</p>
+ <p>Now we can continue to install the following Arch Linux dependencies to
+ compile GNUnet.</p>
<p><code>
$ pacman -Su libmicrohttpd libgcrypt gnurl libunistring gnutls libidn
libextractor openssl libltdl sqlite texinfo which gettext zlib
- pkg-config git miniupnpc libextractor jansson nim
+ pkg-config git miniupnpc libextractor jansson
</code></p>
<h2>{{ _("Get the Source Code") }}</h2>
@@ -41,21 +43,39 @@
in the next step:<p>
<p><code>
- > git clone https://gnunet.org/git/gnunet.git<br>
+ > git clone https://gnunet.org/git/gnunet.git<br>
</code></p>
- <p>Now it's time to compile GNUnet.</p>
+ <p>Now it's time to compile and install GNUnet.</p>
<p><code>
> cd gnunet<br>
+ > export GNUNET_PREFIX=/usr # for example, other locations possible
> ./bootstrap # Run this to generate the configure files.<br>
- > ./configure # Use --help to see the various flags available to you.<br>
+ > ./configure --prefix=$GNUNET_PREFIX --disable-documentation # Use --help
to see the various flags available to you.<br>
> make -j$(nproc || echo -n 1)<br>
> sudo make install<br>
</code></p>
<p>Congrats! GNUnet is now installed!</p>
+ <h3>{{ _("In Addition: gnunet-gtk") }}</h3>
+
+ <p>For gnunet-gtk we need a few more dependencies.</p>
+
+ <p><code>
+ $ pacman -Su gtk3 glade
+ </code></p>
+ <code>
+ $ cd ../gnunet-gtk<br>
+ $ ./bootstrap<br>
+ $ export GNUNET_PREFIX=/usr # for example, other locations possible
+ $ export CFLAGS="-g -Wall -O0"<br>
+ $ ./configure --prefix=$GNUNET_PREFIX --disable-documentation
--with-gnunet=$GNUNET_PREFIX<br>
+ $ make -j$(nproc || echo -n 1)<br>
+ $ sudo make install
+ </code>
+
<h2>{{ _("Run") }}</h2>
<p>By default GNUnet looks in our home directory for the file
@@ -65,24 +85,11 @@
> touch ~/.config/gnunet.conf
</code></p>
<br />
- <p>
- It's reccomended that you increase your bandwidth restrictions
- from the acutely low defaults. The example below sets the WAN
- and LAN limits to the value "unlimited".
- </p>
- <br />
- <code>
- $ gnunet-config -s ats -o WAN_QUOTA_IN -V unlimited<br />
- $ gnunet-config -s ats -o WAN_QUOTA_OUT -V unlimited<br />
- $ gnunet-config -s ats -o LAN_QUOTA_IN -V unlimited<br />
- $ gnunet-config -s ats -o LAN_QUOTA_OUT -V unlimited<br />
- </code>
- <br />
<p>Now we can start it with the commandline tool gnunet-arm (Automatic
Restart
Manager).</p>
<p><code>
- > gnunet-arm -s
+ > gnunet-arm -s
</code></p>
<p>It starts the default GNUnet services. We can list them with the -I
option:</p>
diff --git a/template/install-on-macos.html.j2
b/template/install-on-macos.html.j2
index 2529adb..e97efd7 100644
--- a/template/install-on-macos.html.j2
+++ b/template/install-on-macos.html.j2
@@ -17,7 +17,7 @@
<h2>{{ _("Requirements") }}</h2>
<p>
- As a bare minimum, we recommend you install <a
href="https://brew.sh">homebrew</a> and <a
href="https://developer.apple.com/xcode/">XCode</a> before reading any further.
+ As a bare minimum, we recommend you install <a
href="https://brew.sh">homebrew</a>. If you want to install GNUnet from source
you should also install <a href="https://developer.apple.com/xcode/">XCode</a>
and follow the specific instructions below.
</p>
@@ -52,19 +52,6 @@
$ touch ~/.config/gnunet.conf
</code>
</p>
- <br />
- <p>
- It's reccomended that you increase your bandwidth restrictions
- from the acutely low defaults. The example below sets the WAN
- and LAN limits to the value "unlimited".
- </p>
- <br />
- <code>
- $ gnunet-config -s ats -o WAN_QUOTA_IN -V unlimited<br />
- $ gnunet-config -s ats -o WAN_QUOTA_OUT -V unlimited<br />
- $ gnunet-config -s ats -o LAN_QUOTA_IN -V unlimited<br />
- $ gnunet-config -s ats -o LAN_QUOTA_OUT -V unlimited<br />
- </code>
<br />
<p>
GNUnet and its services are managed using the command line tool `gnunet-arm`
@@ -163,7 +150,7 @@ vpn (gnunet-service-vpn)
debug symbols that can be displayed with a debugger). Otherwise choose the
production version.
</p>
-
+
<h4>{{ _("Option 1: GNUnet for production / usage") }}</h4>
<p>
diff --git a/template/install.html.j2 b/template/install.html.j2
index 84c581a..9e7f8e9 100644
--- a/template/install.html.j2
+++ b/template/install.html.j2
@@ -9,17 +9,17 @@
<div class="row container justify-content-center">
<div class="col-md">
{% trans %}
- <p>The following GNUnet installation instructions help you building from
source for your distribution.</p>
+ <p>The following GNUnet installation instructions help you building from
source for your distribution.</p>
<p><i>Please note that the installation process will get much easier
once we have proper packages again (planned for winter 2019).</i></p>
- <p>You have already installed GNUnet and want to use it?
+ <p>You have already installed GNUnet and want to use it?
<a href="https://gnunet.org/en/use">Check this out!</a> </p>
{% endtrans %}
</div>
<div class="col-md">
{% trans %}
- <p>Please be aware that this project is still in an early alpha
- stage when it comes to running software – its not an easy task
- to rewrite the whole Internet! We are happy to get your
+ <p>Please be aware that this project is still in an early alpha
+ stage when it comes to running software – its not an easy task
+ to rewrite the whole Internet! We are happy to get your
<a href="engage.html">helping hand</a> anytime!</p>
<p>Further information is available in our <a
href="https://docs.gnunet.org/#toc-Using-GNUnet-1">handbook</a>.</p>
<p>If you have any queries about the installation or the usage, please
<a href="engage.html">get in touch!</a></p>
@@ -50,7 +50,7 @@
</div>
<div class="col-md">
<p><a href="install-on-archpi.html"><img src="{{
url('static/images/archlinux-logo.svg') }}" class="distro-logo"
style="width:300px;height:auto"></a></p>
- <h3>Arch-Pi</h3>
+ <h3>Arch Linux/Arch-Pi</h3>
</div>
<div class="col-md">
</div>
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [www] branch master updated: removed bandwith unlimited, made archlinux tutorial more generic, deleted old template,
gnunet <=