Відгуки: Deploy a Compute Instance with a Remote Startup Script: Challenge Lab
53829 відгуків
Ragavendiran B. · Відгук надано 25 днів тому
Ivan H. · Відгук надано 25 днів тому
Pau C. · Відгук надано 25 днів тому
Bo Bo H. · Відгук надано 25 днів тому
Likesh B. · Відгук надано 25 днів тому
Manuel Ventura d. · Відгук надано 25 днів тому
Marc P. · Відгук надано 26 днів тому
Dion M. · Відгук надано 26 днів тому
Michelle l. · Відгук надано 26 днів тому
Sankara Subramanian S. · Відгук надано 26 днів тому
pintu c. · Відгук надано 26 днів тому
Preethi R. · Відгук надано 26 днів тому
Tal M. · Відгук надано 26 днів тому
Muhammad Naveed S. · Відгук надано 26 днів тому
Windu F. · Відгук надано 26 днів тому
Landry Freidy B. · Відгук надано 26 днів тому
Tejaswini V. · Відгук надано 26 днів тому
Sneha M. · Відгук надано 26 днів тому
Aidil M. · Відгук надано 26 днів тому
Nicanor C. · Відгук надано 26 днів тому
Amey N. · Відгук надано 26 днів тому
amgad refaat amin a. · Відгук надано 27 днів тому
Tomasz Z. · Відгук надано 27 днів тому
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. · Відгук надано 27 днів тому
Ganapathi K. · Відгук надано 27 днів тому
Ми не гарантуємо, що опубліковані відгуки написали клієнти, які придбали продукти чи скористалися ними. Відгуки не перевіряються Google.