Skip to content

Instantly share code, notes, and snippets.

View m3rryqold's full-sized avatar
🎯
Focusing

Merrygold Odey m3rryqold

🎯
Focusing
View GitHub Profile

Kubernetes the hard way

Prerequisites

install client tools

cfssl and cfssljson

install

wget -q --show-progress --https-only --timestamping \
  https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/linux/cfssl \
  https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/linux/cfssljson
@m3rryqold
m3rryqold / setup_pritunl.sh
Last active September 8, 2022 12:06
Pritunl setup and launch
#!/usr/bin/env bash
sudo tee /etc/apt/sources.list.d/pritunl.list << EOF
deb http://repo.pritunl.com/stable/apt focal main
EOF
# Import signing key from keyserver
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A
# Alternative import from download if keyserver offline
# curl https://raw.githubusercontent.com/pritunl/pgp/master/pritunl_repo_pub.asc | sudo apt-key add -
#!/usr/bin/env bash
# setup Pritunl startup script
cat << Parent_EOF > setup-pritunl.sh
#! /bin/bash
sudo tee /etc/apt/sources.list.d/pritunl.list << EOF
deb http://repo.pritunl.com/stable/apt focal main
EOF