mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
update README.md
This commit is contained in:
@@ -8,16 +8,18 @@ kubernetes cluster service can also access your local service
|
||||
```shell
|
||||
git clone https://github.com/wencaiwulue/kubevpn.git
|
||||
cd kubevpn
|
||||
make kubevpn-linux/kubevpn-macos/kubevpn-windows
|
||||
make kubevpn-linux
|
||||
make kubevpn-macos
|
||||
make kubevpn-windows
|
||||
```
|
||||
|
||||
if you are using windows, you can build by this command:
|
||||
|
||||
```shell
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o kubevpn.exe ./pkg
|
||||
go build
|
||||
```
|
||||
|
||||
attention: if you are using Windows, you need run kubevpn.exe in terminal which needs to be opened by administrator
|
||||
attention: if you are using Windows, run kubevpn.exe in terminal which needs to be opened by administrator
|
||||
|
||||
## Functions
|
||||
|
||||
|
||||
@@ -7,13 +7,15 @@
|
||||
```shell
|
||||
git clone https://github.com/wencaiwulue/kubevpn.git
|
||||
cd kubevpn
|
||||
make kubevpn-linux/kubevpn-macos/kubevpn-windows
|
||||
make kubevpn-linux
|
||||
make kubevpn-macos
|
||||
make kubevpn-windows
|
||||
```
|
||||
|
||||
如果你在使用 Windows 系统,可以使用下面这条命令构建:
|
||||
|
||||
```shell
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o kubevpn.exe ./pkg
|
||||
go build
|
||||
```
|
||||
|
||||
注意,执行需要 sudo 权限,如果是 Windows 系统,需要在管理员模式下的 terminal 中运行
|
||||
|
||||
Reference in New Issue
Block a user