Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

默认只有linux下的客户端,怎么编译windows下的呢 #15

Open
renakeji opened this issue Oct 22, 2017 · 3 comments
Open

默认只有linux下的客户端,怎么编译windows下的呢 #15

renakeji opened this issue Oct 22, 2017 · 3 comments

Comments

@renakeji
Copy link

默认只有linux下的客户端,怎么编译windows下的呢

@shixud
Copy link

shixud commented Jan 10, 2019

默认只有linux的下的客户端,怎么编译窗户下的呢
在编译客户端的时候需要指明对应的操作系统和构架:

  1. Linux平台32位系统:GOOS = linux GOARCH = 386
  2. Linux平台64位系统:GOOS = linux GOARCH = amd64
  3. Windows平台32位系统:GOOS = windows GOARCH = 386
  4. Windows平台64位系统:GOOS = windows GOARCH = amd64
  5. MAC平台32位系统:GOOS = darwin GOARCH = 386
  6. MAC平台64位系统:GOOS = darwin GOARCH = amd64
  7. ARM平台:GOOS = linux GOARCH = arm

在ngrok 目录下 执行 GOOS = linux GOARCH = amd64 make release-client

@lancerhe
Copy link

[root@localhost ngrok]# ll /usr/local/ngrok
total 28
drwxr-xr-x 2 root root 4096 Feb 24 12:28 bin
-rw-r--r-- 1 root root 1679 Feb 24 12:28 rootCA.key
-rw-r--r-- 1 root root 1123 Feb 24 12:28 rootCA.pem
-rw-r--r-- 1 root root 17 Feb 24 12:28 rootCA.srl
-rw-r--r-- 1 root root 1005 Feb 24 12:28 server.crt
-rw-r--r-- 1 root root 907 Feb 24 12:28 server.csr
-rw-r--r-- 1 root root 1675 Feb 24 12:28 server.key

Ngrok 目录下没有Make文件 在哪里编译客户端?
我找了很久没有找到源代码

@StarTreck1LightYear
Copy link

客户端在哪啊 这个脚本真的太不友好

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants