Hyper-V를 이용한 WSL2 Ubuntu 백엔드 개발 환경 구성sudo apt update or sudo apt-get update시 오류 발생sudo hwclock --hctosys gets the latest time from your Windows machine’s RTC and sets the system time to that.sudo nano /etc/resolv.conf This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
[network]
generateResolvConf = false
nameserver 172.X.X.X
resolv.conf파일의 nameserver를 8.8.8.8로 변경
참고자료 :