summaryrefslogtreecommitdiff
path: root/doc/sphinx/installation.rst
blob: c9d01215ea98123d7d19fc285102dbf4fe1aed1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
..
  This file is part of Anastasis
  Copyright (C) 2019-2021 Anastasis SARL

  Anastasis is free software; you can redistribute it and/or modify it under the
  terms of the GNU Affero General Public License as published by the Free Software
  Foundation; either version 2.1, or (at your option) any later version.

  Anastasis is distributed in the hope that it will be useful, but WITHOUT ANY
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License along with
  Anastasis; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>

  @author Christian Grothoff
  @author Dominik Meister
  @author Dennis Neufeld

------------
Installation
------------

.. note::

  Currently, GNU Anastasis is released as alpha-quality software.
  When testing Anastasis, please choose ``demoland`` as
  your country of residence!
  **It is not yet production ready! You cannot rely on it to keep
  your secrets recoverable today!**  In particular, we need to
  still review the various country-specific questions used to create
  unique user identifiers at the beginning of the backup and
  recovery process.  Community feedback on those inputs would be
  particularly welcome!



Please install the following packages before proceeding with the
exchange compilation.

.. include:: frags/list-of-dependencies.rst

-  GNU Taler exchange

-  GNU Taler merchant backend

Except for the last two, these are available in most GNU/Linux distributions
and should just be installed using the respective package manager.


Installing from source
----------------------

The following instructions will show how to install libgnunetutil and
the GNU Taler exchange from source.

Installing GNUnet
^^^^^^^^^^^^^^^^^

.. include:: frags/installing-gnunet.rst

Installing the Taler Exchange
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. include:: frags/installing-taler-exchange.rst

Installing the Taler Merchant
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. include:: frags/installing-taler-merchant.rst

Installing Anastasis
^^^^^^^^^^^^^^^^^^^^

.. include:: frags/installing-anastasis.rst

Installing GNUnet-gtk
^^^^^^^^^^^^^^^^^^^^^

.. include:: frags/installing-gnunet-gtk.rst

Installing Anastasis-gtk
^^^^^^^^^^^^^^^^^^^^^^^^

.. include:: frags/installing-anastasis-gtk.rst



Installing Anastasis binary packages on Debian
----------------------------------------------

.. include:: frags/installing-debian.rst


Installing the graphical front-end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

To install the Anastasis Gtk+ frontend, you can simply run:

.. code-block:: console

   # apt install anastasis-gtk

To use ``anastasis-gtk``, you can simply run:

.. code-block:: console

   $ anastasis-gtk


Installing the backend
^^^^^^^^^^^^^^^^^^^^^^

If you want to install the Anastasis backend-end (which normal users do not
need), you should run:

.. code-block:: console

   # apt install -t sid anastasis-httpd

Note that the latter package does not perform all of the configuration work.
It does setup the user users and the systemd service scripts, but you still
must configure the database backup, HTTP reverse proxy (typically with TLS
certificates), Taler merchant backend for payments, authentication services,
prices and the terms of service.

Sample configuration files for the HTTP reverse proxy can be found in
``/etc/anastasis.conf``.

Note that the package does not complete the integration of the backend
with the HTTP reverse proxy (typically with TLS certificates).  A
configuration fragment for Nginx or Apache will be placed in
``/etc/{apache,nginx}/conf-available/anastasis.conf``.

To operate an Anastasis backend with payments, you additionally
need to install a Taler merchant backend via:

.. code-block:: console

   # apt install -t sid taler-merchant-httpd



Installing Anastasis binary packages on Ubuntu
----------------------------------------------

.. include:: frags/installing-ubuntu.rst

Installing the graphical front-end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

To install the Anastasis front-end, you can now simply run:

.. code-block:: console

   # apt install -t focal-fossa anastasis-gtk

To use ``anastasis-gtk``, you can simply run:

.. code-block:: console

   $ anastasis-gtk


Installing the backend
^^^^^^^^^^^^^^^^^^^^^^

If you want to install the Anastasis backend-end (which normal users do not
need), you should run:

.. code-block:: console

   # apt install -t focal-fossa anastasis-httpd

Note that the latter package does not perform all of the configuration work.
It does setup the user users and the systemd service scripts, but you still
must configure the database backup, HTTP reverse proxy (typically with TLS
certificates), Taler merchant backend for payments, authentication services,
prices and the terms of service.

Sample configuration files for the HTTP reverse proxy can be found in
``/etc/anastasis.conf``.

To operate an Anastasis backend with payments, you additionally
need to install a Taler merchant backend via:

.. code-block:: console

   # apt install -t sid taler-merchant-httpd