After you can ssh login, first we look at a variety of software update and upgrade. Then we start configuring deploy IoT Edge.
First, test to see whether pip python with the installation, because the back docker use.
Too lazy to capture the specific processes see the documentation
link: Azure IoT Edge ON Raspberry Pi 3 with Raspbian .
After configured:
Return Azure portal 400 error:
But he should be a connection, the opportunity to show off 406 Error:
Then we
iotedge check
Check where the problem is, ah, then found that by operating among the above installation is not equipped iotedge of. . amount. . Illogical ah = =. . Well, whatever he installed our own.
sudo apt-get install iotedge
Then appeared the following figure, configure it
and then
sudo vi /etc/iotedge/config.yaml
Edit the settings into the document. Vi also change the settings and then found not delete or backspace thing. Configured simply forgot how good the next vim
sudo apt-get install vim
Then add device information according to which the notes
After setting the restart iotedge server:
sudo iotedge restart edgeAgent
sudo systemctl restart iotedge
Ah because of vim blue with blue powershell with crimes against humanity too, replaced by a non-administrator mode powershell continue iotedge check
Well well my fault, need to give permission
sudo iotedge check
Ah, continue to roll back configuration changes
after changing for the better, reconnect restart the service:
sudo iotedgectl setup --connection-string "HostName=nicai;DeviceId=raspberry;SharedAccessKey=wobucai" --auto-cert-gen-force-no-passwords
sudo iotedgectl restart
Then run detect what is not normal:
every few minutes to look at,
Ness