Skip to content

WSL2 环境编译项目,访问 github 网络失败,求编译部署建议 #647

Open

Description

@buGanFor

在Windows自带的WSL2的Ubuntu中对项目进行初始化编译时需要获取github.com中的内容,主机挂的🪜与WSL是不同的网卡,Ubuntu无法享受梯子的加速效果,所以环境初始化(bash build.sh init)和项目编译(bash build.sh)一直不成功,有什么好的办法吗;或者有什么对此项目更好的部署和编译方法。

Activity

  1. TMT365 commented on Sep 15, 2026

    @TMT365

    我使用的是镜像模式的,可以成功,但是还要把安全证书给WSL2。/usr/local/share/ca-certificates/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions