blob: ee7613ba5cb5487cf12b61909d1b2089e3a66593 (
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
|
#!/bin/bash
# This file is in the public domain.
set -eu
source functions.sh
source config/user.conf
source config/internal.conf
# Check distro, if not supported echo and exit
# Javier - Check distro
./check-distro.sh
# Florian - Check distro
detect_distro
# Configure logs with journalD
./config_journald.sh
# Program versions
PG_VERSION=14
## Update
apt update
## General requirements
apt install uuid-runtime \
curl \
jq \
wget \
nginx \
postgresql-${PG_VERSION} \
postgresql-client-${PG_VERSION} \
dbconfig-pgsql \
certbot \
python3-certbot-nginx -y
## Add GNU Taler deb.taler.net to /etc/apt/sources.list
say "Adding GNU Taler apt repository"
say "Detected distro $DISTRO"
case $DISTRO in
debian)
echo "deb [signed-by=/etc/apt/keyrings/taler-systems.gpg] https://deb.taler.net/apt/debian stable main" >/etc/apt/sources.list.d/taler.list
;;
ubuntu)
echo "deb [signed-by=/etc/apt/keyrings/taler-systems.gpg] https://deb.taler.net/apt/ubuntu stable main" >/etc/apt/sources.list.d/taler.list
;;
*)
say "Unsupported distro: $DISTRO"
exit 1
;;
esac
wget -P /etc/apt/keyrings https://taler.net/taler-systems.gpg
## Specific GNU Taler packages
apt update
apt install taler-exchange -y
apt install taler-merchant -y
apt install taler-harness -y
apt install libeufin-sandbox libeufin-nexus -y
|