리뷰 Google Cloud 기초: Cloud Storage 및 Cloud SQL 시작하기개
리뷰 515864개
Awesome!
Hariharan P. · 11일 전에 리뷰됨
padmanaban B. · 11일 전에 리뷰됨
Ehsan H. · 11일 전에 리뷰됨
Sunil N. · 11일 전에 리뷰됨
Harold C. · 11일 전에 리뷰됨
Startup script provided in the instructions did not install apache because running cd /var/www/html returned a no such file or directory message. Used Gemini to get a new updated script 1. Root Cause: Package Lock Contention The startup script failed because it could not acquire the dpkg lock required to install software. On fresh Google Cloud VMs (specifically Debian/Ubuntu), the system often runs automatic background updates (like unattended-upgrades) immediately upon first boot. The logs show: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1152 (apt-get) Because the installation of apache2 failed, the service was never created, and the web server directory (/var/www/html) was never generated. 2. Missing apt-get update Your current script attempts to install packages without first updating the package index: Updated script #!/bin/bash # Wait for any background updates to finish while fuser /var/lib/dpkg/lock-frontend >/dev/null 2>&1 ; do echo "Waiting for other apt-get instances to finish..." sleep 5 done # Update package index and install Apache apt-get update apt-get install apache2 php php-mysql -y # Ensure the service is running systemctl restart apache2 After applying this fix, the vm instance was restarted and apache installed successfully.
Minal P. · 11일 전에 리뷰됨
Robert S. · 11일 전에 리뷰됨
OWOLABI y. · 11일 전에 리뷰됨
Fatma M. · 11일 전에 리뷰됨
Excellent lab
David W. · 11일 전에 리뷰됨
Ahmed R. · 11일 전에 리뷰됨
Leonor L. · 11일 전에 리뷰됨
Jaime R. · 11일 전에 리뷰됨
Juan Antonio C. · 11일 전에 리뷰됨
Todo ok
Javier G. · 11일 전에 리뷰됨
Celia L. · 11일 전에 리뷰됨
the url throws an error: This site can't be reached. The server is taking too long to respond. The site could be temporarily unavailable or busy.
Celia P. · 11일 전에 리뷰됨
Gonzalo D. · 11일 전에 리뷰됨
Izuchukwu O. · 11일 전에 리뷰됨
Eirik F. · 11일 전에 리뷰됨
Ahmad W. · 11일 전에 리뷰됨
Michael B. · 11일 전에 리뷰됨
Mohammad Shaad S. · 11일 전에 리뷰됨
Ahmad W. · 11일 전에 리뷰됨
Filipe L. · 11일 전에 리뷰됨
Google은 게시된 리뷰가 제품을 구매 또는 사용한 소비자에 의해 작성되었음을 보증하지 않습니다. 리뷰는 Google의 인증을 거치지 않습니다.