Skip to content

Instantly share code, notes, and snippets.

@Nill-R
Last active February 5, 2020 06:22
Show Gist options
  • Save Nill-R/84c7676a9bd3ef1a15474d2e6eb346c1 to your computer and use it in GitHub Desktop.
Save Nill-R/84c7676a9bd3ef1a15474d2e6eb346c1 to your computer and use it in GitHub Desktop.
#!/bin/bash
gpg --fetch-keys https://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/key.txt
gpg --export 569130E8CA20FBC4CB3FDE555898470A764B32C9 | apt-key add -
echo 'deb http://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/ debian yggdrasil' | tee /etc/apt/sources.list.d/yggdrasil.list
apt-get update
apt-get -y install yggdrasil
wget https://gist.github.com/Nill-R/e09566aa33c841fe73aeac373f734f05/raw/bed12fcde5901bd2f3320ab6e936ff6eeaae2421/20-yggdrasil.conf -O /etc/rsyslog.d/20-yggdrasil.conf ; systemctl restart rsyslog
wget https://gist.github.com/Nill-R/cb84b232a0baf6550d4733849c76175d/raw/a150a6333ff122a12c5e311d83a115d86177d728/yggdrasil -O /etc/logrotate.d/yggdrasil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment