From 7ded0e74ce61967ef06df220efa4184bc2b3e141 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 6 Feb 2019 18:00:21 +0000 Subject: use html5 semantic to test reader mode --- tutorial-ubuntu1804.html.j2 | 110 +++++++++++++++++++++++--------------------- 1 file changed, 58 insertions(+), 52 deletions(-) diff --git a/tutorial-ubuntu1804.html.j2 b/tutorial-ubuntu1804.html.j2 index f0e1941f..9645f169 100644 --- a/tutorial-ubuntu1804.html.j2 +++ b/tutorial-ubuntu1804.html.j2 @@ -1,38 +1,36 @@ {% extends "common/base.j2" %} {% block body_content %} -
- +
+ +

{{ _("Tutorial: GNUnet on Ubuntu 18.04") }}

- +
+

{{ _("Introduction") }}

-

- Welcome to the hopefully painless GNUnet tutorial for Ubuntu 18.04! It provides - very concrete instructions on how to compile, install and configure a current - version of GNUnet. The goal is to support newcomers, either end users or - developers, who want to get in touch with GNUnet for the first time. After - installing GNUnet we will make sure that out new GNUnet installation is working - correctly. + Welcome to the hopefully painless GNUnet tutorial for Ubuntu 18.04! + It provides very concrete instructions on how to compile, install + and configure a current version of GNUnet. The goal is to support + newcomers, either end users or developers, who want to get in touch + with GNUnet for the first time. After installing GNUnet we will make + sure that out new GNUnet installation is working correctly.

-

- Attention: If you came across the official gnunet package for Ubuntu 18.04, - ignore it! It is ancient and not compatible with current GNUnet - installations. + Attention: If you came across the official gnunet package for + Ubuntu 18.04, ignore it! It is ancient and not compatible with + current GNUnet installations.

-

- Now let's start! + Now let's start!

- +
+

{{ _("Requirements") }}

-

- First let's install the following Ubuntu 18.04 packages to use GNUnet - painlessly. Optional dependencies are listed in Appendix A. They are required - for some experimental GNUnet features. + First let's install the following Ubuntu 18.04 packages to use + GNUnet painlessly. Optional dependencies are listed in Appendix + A. They are required for some experimental GNUnet features.

- $ sudo apt install git libtool autoconf autopoint \
build-essential libgcrypt-dev libidn11-dev zlib1g-dev \
@@ -40,9 +38,9 @@ libjansson-dev libcurl4-gnutls-dev libsqlite3-dev openssl \
libnss3-tools libmicrohttpd-dev
- +
+

{{ _("Make an installation directory") }}

-

Next we create a directory in our home directory where we store the source code later. We should keep this directory after @@ -50,24 +48,22 @@ uninstalling GNUnet again (see chapter *Uninstall GNUnet and its dependencies*).

- $ mkdir ~/gnunet_installation - +
+

{{ _("Get the source code") }}

-

We download the GNUnet source code using git.

- $ cd ~/gnunet_installation
$ git clone --depth 1 https://gnunet.org/git/gnunet.git
- +
+

{{ _("Compile and Install") }}

-

Installing GNUnet is not hard. We have two options: installing a *production version* and installing a *development version*. If @@ -76,9 +72,9 @@ debug symbols that can be displayed with a debugger). Otherwise choose the production version.

- +
+

{{ _("Option 1: GNUnet for production / usage") }}

- $ cd ~/gnunet_installation/gnunet
$ ./bootstrap
@@ -89,7 +85,8 @@ $ make -j$(nproc || echo -n 1)
$ sudo make install
- +
+

{{ _("Option 2: GNUnet for development") }}

@@ -102,7 +99,8 @@ $ sudo make install - - +

That's it. It wasn't that nasty, was it?

+--> +
+

{{ _("Configuration") }}

@@ -200,7 +200,8 @@ $ gnunet-arm -e - +

+

{{ _("Make sure it works") }}

@@ -214,7 +215,8 @@

  • Name resolution using GNS with a browser (do it on the command line first)
  • Serving a website using VPN (do name resolution with a browser first)
  • - +
    +

    {{ _("filesharing") }}

    @@ -247,7 +249,8 @@ It gives us the command line call to download the file (and store it as ostrom.pdf)!

    - +
    +

    {{ _("CADET (and Chat)") }}

    @@ -274,8 +277,8 @@ $ gnunet-cadet P4T5GHS1PCZ06R82D3KW8Z8J1113BQZWAWGYHTZ8G1ZXMWXQGAVG my-secret-port - - +

    +

    {{ _("Name resolution using GNS on the command line") }}

    GNS is the GNU name service, a fully decentralized alternatice to DNS. We'll publish an IP address in a GNS record try to resolve it on the command line. First we need an identity which is the @@ -341,8 +344,8 @@ public record. Bobs friend would simply use "ccc.alice.bob.myself" to resolve our "ccc" record.

    - - +
    +

    {{ _("Name resolution using GNS with a browser") }}

    @@ -415,14 +418,15 @@ our friend Bob prepared his system, too, he can resolve our record by typing "ccc.alice.myself".

    - - +
    +

    {{ _("VPN") }}

    TBD

    - +
    +

    {{ _("Uninstall GNUnet and its dependencies") }}

    @@ -438,16 +442,18 @@ $ sudo mv /etc/nsswitch.conf.original /etc/nsswitch.conf
    $ sudo rm /lib/$(uname -m)-linux-gnu/libnss_gns.so.2
    - - +
    +

    {{ _("Appendix A: Optional GNUnet features") }}

    TBD

    - +
    +

    {{ _("Troubleshooting") }}

    - +
    +

    {{ _("You can't reach other people's nodes") }}

    @@ -488,6 +494,6 @@ $ cp /etc/nsswitch.conf.original /etc/nsswitch.conf --> - -

    + + {% endblock body_content %} -- cgit v1.2.3