Last active
June 15, 2020 11:24
-
-
Save ilyas-it83/7f886d8c6986f3428a4246f2293ec9e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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