Deploy a Compute Instance with a Remote Startup Script: Challenge Lab Reviews
53746 reviews
Preethi R. · Reviewed 10 ימים ago
Tal M. · Reviewed 10 ימים ago
Muhammad Naveed S. · Reviewed 11 ימים ago
Windu F. · Reviewed 11 ימים ago
Landry Freidy B. · Reviewed 11 ימים ago
Tejaswini V. · Reviewed 11 ימים ago
Sneha M. · Reviewed 11 ימים ago
Aidil M. · Reviewed 11 ימים ago
Nicanor C. · Reviewed 11 ימים ago
Amey N. · Reviewed 11 ימים ago
amgad refaat amin a. · Reviewed 11 ימים ago
Tomasz Z. · Reviewed 11 ימים ago
I've identified and fixed the issues preventing your VM from serving web content. What went wrong: 1. Windows Line Endings: Your install-web.sh file had Windows-style line endings (\r\n). When Linux tried to run the script, it saw the command as apt-get update\r, which is an invalid operation. 2. Leading Space: There was a space at the very beginning of your script ( #!/bin/bash), which can sometimes interfere with how the shell interprets the file. 3. Apt Lock: On the first boot, your script failed because another system process (likely the automatic agent installation) was already using the package manager (apt-get). What I did: 1. Cleaned the Script: I removed the Windows carriage returns and the leading space from install-web.sh. 2. Updated the Bucket: I uploaded the corrected script back to your GCS bucket. 3. Restarted the VM: I reset the web2 instance to force it to run the startup script again. Verification: I verified that the VM is now correctly serving the default Apache page: 1 HTTP/1.1 200 OK 2 Server: Apache/2.4.67 (Debian) You should now be able to go back to the lab console and successfully validate the "test that the vm is serving web content" step!
Lennart Joshua M. · Reviewed 11 ימים ago
Ganapathi K. · Reviewed 11 ימים ago
Abderrahmen k. · Reviewed 11 ימים ago
MW A. · Reviewed 11 ימים ago
Emil T. · Reviewed 12 ימים ago
Naveen N. · Reviewed 12 ימים ago
Patel H. · Reviewed 12 ימים ago
Tony C. · Reviewed 12 ימים ago
Harshil P. · Reviewed 12 ימים ago
Ferdinando A. · Reviewed 12 ימים ago
Adrian L. · Reviewed 12 ימים ago
Muhammad Naveed S. · Reviewed 12 ימים ago
Nikhil S. · Reviewed 12 ימים ago
We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.