Skip to content

Instantly share code, notes, and snippets.

@ilyas-it83
Last active June 15, 2020 11:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ilyas-it83/7f886d8c6986f3428a4246f2293ec9e0 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Starting the Azure IoT Edge Installation"
#apt-get repository configuration
curl https://packages.microsoft.com/config/ubuntu/18.04/multiarch/prod.list > ./microsoft-prod.list
sudo cp ./microsoft-prod.list /etc/apt/sources.list.d/
#Install Microsoft GPG public key
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo cp ./microsoft.gpg /etc/apt/trusted.gpg.d/
#Install the container runtime
sudo apt-get update
sudo apt-get install moby-engine
sudo apt-get install moby-cli
#Install the Azure IoT Edge Security Daemon
sudo apt-get update
sudo apt-get install iotedge
echo "Azure IoT Instllation is complete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment