Skip to content

Instantly share code, notes, and snippets.

@niradler
Last active October 17, 2021 19:06
Show Gist options
  • Save niradler/be497eb815e9136b2553bf6d7c7eee97 to your computer and use it in GitHub Desktop.
Save niradler/be497eb815e9136b2553bf6d7c7eee97 to your computer and use it in GitHub Desktop.
pi_setup.sh
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install shellinabox # https://ip:4200
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.920_all.deb
sudo dpkg --install webmin_1.920_all.deb # https://192.168.0.142:10000
Ping raspberrypi.local
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
sudo usermod -aG docker $(whoami)
apt-get -y install libffi-dev libssl-dev python3-dev python3 python3-pip
curl -sLS https://get.arkade.dev | sh
sudo nano /etc/dhcpcd.conf # set static ip
# k8s connection error: kubectl config view --raw >~/.kube/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment