Browse Source

raspi-docker

master
zeus 3 years ago
parent
commit
95947c3092
  1. 37
      raspi-docker/modules/ROOT/pages/index-install.adoc

37
raspi-docker/modules/ROOT/pages/index-install.adoc

@ -19,9 +19,17 @@ networkd is a small and lean service to configure network interfaces, designed m
[source,sh]
----
sudo apt-get install apt-transport-https ca-certificates software-properties-common -y
apt-get install apt-transport-https ca-certificates software-properties-common git gcc g++ make jq -y
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
apt-get install -y nodejs
npm install -g pm2
----
== Download and install Docker.
* *sudo su* # if not already done
@ -140,6 +148,33 @@ or simple run:
/root/get-certs-swarmlab
----
== Install WireGuard
To install the most recent version of WireGuard, we’ll need packages from the Debian unstable release.
[source,sh]
----
sh -c "echo 'deb http://deb.debian.org/debian/ unstable main' >> /etc/apt/sources.list.d/unstable.list"
sh -c "printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' >> /etc/apt/preferences.d/limit-unstable"
----
Update and Install the WireGuard packages
[source,sh]
----
apt update
apt install wireguard --assume-yes
----
== Create Keys
[source,sh]
----
(umask 077 && wg genkey > wg-private.key)
wg pubkey < wg-private.key > wg-public.key
----
== Reboot

Loading…
Cancel
Save