MENU

Fun & Interesting

How I Setup a Headless Raspberry Pi for AI Workloads

Jake Watkins 800 2 weeks ago
Video Not Working? Fix It Now

Title - How to setup a headless Raspberry PI Description: This is how I configure my Raspberry PIs to run headless. All of Pis in my cluster run w/o a mouse, keyboard or display connected. In this video you'll see how to setup the initial image so you can SSH onto your PI. Then we'll finish the base setup by updating the image with the newest bits and then install Docker you can effortlessly run whatever workloads you need. The reason I'm doing this is to create a computer cluster I can use for AI lab. I'm using Raspberry Pis because I have a bunch just sitting around not doing anything. If things go well and I need to scale out I can just add more PIs. I'd get 5s now they cost the same as a 4 and bring nearly twice the compute power. Commands I used: Ssh-keygen -t rsa -f ~/.ssh/raspberrypi add this line to sudoers: {your user name} [tab] ALL=(ALL:ALL) NOPASSWD: ALL to update: sudo apt update sudo apt upgrade to install docker: curl -sSL https://get.docker.com | sh sudo usermod -aG docker $USER

Comment