Azure-AZ-900-Study-Guide icon indicating copy to clipboard operation
Azure-AZ-900-Study-Guide copied to clipboard

Having an issue with the 'Create an Azure Virtual Machine' exercise

Open rusirrius opened this issue 10 months ago • 0 comments

Apologies if I'm posting this incorrectly, but I'm having an issue completing a particular exercise on the learning path.

I've created a Linux VM as specified on Unit 4 in the 'Describe Azure compute and networking sections' area.

However, when I go to configure Nginx, there seems to be some sort of error in the configuration.

This is what I am asked to copy into the console once I have created the VM: az vm extension set
--resource-group learn-f188aab2-964a-4afb-8ae8-9487162b6c91
--vm-name my-vm
--name customScript
--publisher Microsoft.Azure.Extensions
--version 2.1
--settings '{"fileUris":["https://raw.githubusercontent.com/MicrosoftDocs/mslearn-welcome-to-azure/master/configure-nginx.sh"]}'
--protected-settings '{"commandToExecute": "./configure-nginx.sh"}'

I have attached a file showing the errors that then appear.

This is a frustrating issue, especially as I appear to need Nginx for the future exercises.

Any guidance is greatly appreciated.

Nginx issue.txt

rusirrius avatar Sep 01 '23 14:09 rusirrius