Skip to content

Instantly share code, notes, and snippets.

@ilyas-it83
Created June 6, 2020 14:55
Show Gist options
  • Save ilyas-it83/19cefee6776f9718778c6ccc563ddbf3 to your computer and use it in GitHub Desktop.
Save ilyas-it83/19cefee6776f9718778c6ccc563ddbf3 to your computer and use it in GitHub Desktop.
Azure IoTEdge RaspberryPi Setup
#!/bin/bash
echo "Installing Azure IoT Edge on Raspbian Stretch"
curl https://packages.microsoft.com/config/debian/stretch/multiarch/prod.list > ./microsoft-prod.list
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo cp ./microsoft.gpg /etc/apt/trusted.gpg.d/
echo "Installing Container Runtime for Azure IoT Edge on Raspbian Stretch"
sudo apt-get update
sudo apt-get install moby-engine
sudo apt-get install moby-cli
echo "Installing Container Runtime for Azure IoT Edge on Raspbian Stretch"
sudo apt-get update
sudo apt-get install iotedge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment