It seems nginx is not installed. Try the following commands
sudo apt update
sudo apt install nginx
Refer to the following link about nginx installation
https://ubuntu.com/tutorials/install-and-configure-nginx#1-overview
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
K
It seems nginx is not installed. Try the following commands
sudo apt update
sudo apt install nginx
Refer to the following link about nginx installation
https://ubuntu.com/tutorials/install-and-configure-nginx#1-overview
Hello, @Raza Syed !
Where am I seeing this?
Why am I running into errors when attempting to create the VM?
Chances are you haven't done anything wrong! This unit has some external dependencies which can fail on rare occasion. Deleting the virtual machine and trying again (or waiting for a new sandbox) usually resolves the problem. Sorry for the inconvenience!
If you want to try deleting the virtual machine before the sandbox expires, you can use az vm delete
:
az vm delete \
--resource-group myResourceGroup \
--name myVM \
--force-deletion none
In practice, that looks more like this (you'll need to use your own resource group):
az vm delete \
--resource-group learn-12abcdef-gh34-5i67-a1b2-3456789cd012 \
--name my-vm \
--force-deletion none
If successful, you should see something like this:
If you are still running into issues, let us know in the comments and we'll continue to troubleshoot this.
If this has been helpful, please take a moment to accept answers as this helps increase visibility of this question for other members of the Microsoft Q&A community. Thank you for helping to improve Microsoft Q&A!