Training: Instruction to develop new skills.
Hi Andrew Rowley,
Please try the following:
- Activate a new sandbox and create the VM as mentioned in the Exercise (step1 at Create a Linux VM and install Nginx)
- After step 1, please make a note of Public IP address that was assigned to VM.
- Before moving into step2, connect to newly created VM using ssh command in cloud shell. Please run the below command to connect VM. ssh azureuser@<VM public ip address>
- system asks you to prompt to Yes/No. Enter Yes.
- Please run the below commands one after another (in cloud shell).
- sudo apt-get update
- sudo apt-get install -y nginx
- echo "<html><body><h2>Welcome to Azure! My name is $(hostname).</h2></body></html>" | sudo tee -a /var/www/html/index.html
- exit
After completing the step 5, Continue your module from step2 of Task 1: Create a Linux virtual machine and install Nginx at module 3 of 14.
If the issue persists, please let us know we will help you further.