WSL2访问宿主机解决方案

2022-06-17 17:20

export winip=$(ip route | grep default | awk '{print $3}')
export http_proxy="http://${winip}:1080"
export HTTP_PROXY="http://${winip}:1080"
export https_proxy="http://${winip}:1080"
export HTTPS_PROXY="http://${winip}:1080"
export ftp_proxy="http://${winip}:1080"
export FTP_PROXY="http://${winip}:1080"
export rsync_proxy="http://${winip}:1080"
export RSYNC_PROXY="http://${winip}:1080"
export ALL_PROXY="$socks5://${winip}:1080"
export all_proxy="$socks5://${winip}:1080"
git config --global http.proxy "${http_proxy}"
git config --global https.proxy "${https_proxy}"

解决Windows11一些非人类问题的办法

2022-06-19 14:32

Meow~

2021-09-12 23:31

Related Posts

  • Dubhe系统构思
  • Qt实践踩坑合集
  • 解决Windows11一些非人类问题的办法
  • Meow~

Powered by Hugo Theme - kagome

🌞 light 🌛 dark 🤖️ auto