Dreamhunter Blog

你指尖跃动的电光,是我此生不变的信仰

vuePress-theme-reco Dreamhunter    2019 - 2022
Dreamhunter Blog

Choose mode

  • dark
  • auto
  • light
首页
分类
  • algorithm
  • database
  • devops
  • docker
  • front
  • git
  • hackintosh
  • http
  • java
  • linux
  • odoo
  • nginx
  • macos
  • mq
  • other
  • python
  • redis
  • router
标签
归档
GitHub (opens new window)
author-avatar

Dreamhunter

119

文章

40

标签

首页
分类
  • algorithm
  • database
  • devops
  • docker
  • front
  • git
  • hackintosh
  • http
  • java
  • linux
  • odoo
  • nginx
  • macos
  • mq
  • other
  • python
  • redis
  • router
标签
归档
GitHub (opens new window)
  • Linux

    • Linux终端下使用酸酸乳
    • Windows10使用vscode利用linux子系统运行odoo12
    • docker 部署 trojan-go acme nginx 自动申请证书
    • Install ubuntu with xrdp in termux
    • linux chm 文件 转换为 html 文件
    • 从零用云服务器搭建一个网站
    • mkcert 本地测试 https
    • nginx Access-Control-Allow-Origin
    • nginx upstream
    • offline install oh-my-zsh
    • Ubuntu 使用阿里云软件源
    • wsl linux custom install
    • wsl2 docker compact vdisk
    • wsl2 安装 和 ssh xrdp 端口转发
    • wsl2 使用 Windows ip
    • xampp建站

wsl2 使用 Windows ip

vuePress-theme-reco Dreamhunter    2019 - 2022

wsl2 使用 Windows ip

Dreamhunter 2021/7/11 linuxwsl

# 查询 win 的 ip

cat /etc/resolv.conf|grep nameserver|awk '{print $2}'

# 使用 win 的代理

export winip=`cat /etc/resolv.conf|grep nameserver|awk '{print $2}'` && export HTTP_PROXY=http://$winip:8889 && export HTTPS_PROXY=http://$winip:8889

wsl2 安装 和 ssh xrdp 端口转发 xampp建站

  • 查询 win 的 ip
  • 使用 win 的代理