-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
const s="DeployOnWindows.md",o="blog",n="deployonwindows",i=`## \u524D\u7F6E\u51C6\u5907 | ||
### \u914D\u7F6E WSL2 | ||
\u8BE6\u60C5\u53C2\u770B\u6B65\u9AA41-5,\u987A\u4FBF\u5728\u5FAE\u8F6F\u5546\u5E97\u4E2D\u4E0B\u8F7DTerminal\u3002 | ||
[WSL\u624B\u52A8\u5B89\u88C5\u6B65\u9AA4](https://learn.microsoft.com/zh-cn/windows/wsl/install-manual) | ||
### \u4E0B\u8F7D Docker Desktop | ||
1. **\u8BBF\u95EE Docker Desktop \u5B98\u65B9\u4E0B\u8F7D\u9875\u9762** | ||
\u5728\u6D4F\u89C8\u5668\u4E2D\u6253\u5F00 [Docker Desktop \u7684\u5B98\u65B9\u4E0B\u8F7D\u9875\u9762](https://www.docker.com/products/docker-desktop) | ||
2. **\u4E0B\u8F7D Docker Desktop** | ||
\u5728\u4E0B\u8F7D\u9875\u9762\uFF0C\u627E\u5230\u9002\u7528\u4E8E Windows \u7684 Docker Desktop \u7248\u672C\uFF0C\u7136\u540E\u70B9\u51FB\u4E0B\u8F7D\u3002 | ||
3. **\u8FD0\u884C\u5B89\u88C5\u7A0B\u5E8F** | ||
\u4E0B\u8F7D\u5B8C\u6210\u540E\uFF0C\u627E\u5230\u4E0B\u8F7D\u7684\u5B89\u88C5\u7A0B\u5E8F\uFF08\u901A\u5E38\u5728\u4F60\u7684 "\u4E0B\u8F7D" \u6587\u4EF6\u5939\u4E2D\uFF09\uFF0C\u7136\u540E\u53CC\u51FB\u8FD0\u884C\u3002 | ||
### \u5B89\u88C5 Cygwin | ||
[cygwin\u5B98\u7F51](http://www.cygwin.com/) | ||
\u9009\u62E9setup-x86_64.exe\uFF0C\u7B49\u5F85\u5B89\u88C5\u5B8C\u6210\u3002 | ||
#### \u9A8C\u8BC1 Cygwin \u5B89\u88C5\u662F\u5426\u6210\u529F | ||
\`\`\`shell | ||
cygcheck -c cygwin | ||
\`\`\` | ||
![7.png](/img/blog/windows/pic/7.png) | ||
#### \u4E3A Cygwin \u914D\u7F6E\u73AF\u5883\u53D8\u91CF | ||
![8.png](/img/blog/windows/pic/8.png) | ||
![9.png](/img/blog/windows/pic/9.png) | ||
![10.png](/img/blog/windows/pic/10.png) | ||
![11.png](/img/blog/windows/pic/11.png) | ||
\u70B9\u51FB\u786E\u5B9A\u5373\u53EF\u6DFB\u52A0\u6210\u529F | ||
## \u5B89\u88C5 Higrees | ||
### \u51C6\u5907 Nacos | ||
[nacos\u5B98\u7F51\u624B\u518C](https://nacos.io/zh-cn/docs/v2/quickstart/quick-start-docker.html) | ||
\u6211\u4EEC\u8FD9\u91CC\u9009\u62E9nacos-docker\u7684\u6A21\u5F0F\u5B89\u88C5 | ||
![A.png](/img/blog/windows/pic/A.png) | ||
\u4E0B\u8F7D\u89E3\u538Bzip\u6587\u4EF6,\u8FDB\u5165 nacos-docker-master \u6587\u4EF6\u5939\u53F3\u952E\u9009\u62E9\u7EC8\u7AEF\u6253\u5F00\uFF0C\u6267\u884C\u547D\u4EE4\uFF0C\u6211\u4EEC\u8FD9\u91CC\u9009\u62E9\u5355\u673A\u6A21\u5F0F\u90E8\u7F72 | ||
\`\`\`powershell | ||
docker-compose -f example/standalone-derby.yaml up | ||
\`\`\` | ||
\u7B49\u5F85\u51FA\u73B0\u754C\u9762\uFF0C\u5373\u5B89\u88C5\u6210\u529F | ||
![B.png](/img/blog/windows/pic/B.png) | ||
### \u4F7F\u7528 Higrees \u5BF9\u63A5 Nacos | ||
**\u5B89\u88C5\u547D\u4EE4\uFF1A\u4F7F\u7528\u72EC\u7ACB\u90E8\u7F72\u7684 Nacos** | ||
\u5F53\u8BBF\u95EEdocker\u5BB9\u5668\u4E92\u76F8\u8BBF\u95EE\u65F6\u5019\u672C\u5730\u56DE\u73AF\u5730\u5740\u5E76\u4E0D\u662F\u771F\u6B63\u7684\u5730\u5740\uFF0C\u6240\u4EE5\u9700\u8981\u5728cygwin\u4E2D\u6267\u884C\u83B7\u53D6\u672C\u5730\u7F51\u5361\u5730\u5740 | ||
\`\`\`shell | ||
ipconfig | ||
\`\`\` | ||
![C.png](/img/blog/windows/pic/C.png) | ||
\`\`\` | ||
curl -fsSL https://higress.cn/standalone/get-higress.sh | bash -s -- -c nacos://192.168.0.1:8848 --nacos-username=nacos --nacos-password=nacos | ||
\`\`\` | ||
\u8BF7\u5C06 \`192.168.0.1\` \u66FF\u6362\u4E3A Nacos \u670D\u52A1\u5668\u7684 IP\uFF08\u5982\u679C Nacos \u90E8\u7F72\u5728\u672C\u673A\uFF0C\u8BF7\u4E0D\u8981\u4F7F\u7528\u5982 \`localhost\` \u6216 \`127.0.0.1\` \u7684 Loopback \u5730\u5740\uFF09\uFF0C\u5E76\u6309\u9700\u8C03\u6574 \`--nacos-username\` \u548C \`--nacos-password\` \u7684\u53D6\u503C\u3002\u5982\u679C Nacos \u670D\u52A1\u672A\u5F00\u542F\u8BA4\u8BC1\u529F\u80FD\uFF0C\u5219\u53EF\u4EE5\u79FB\u9664\u8FD9\u4E24\u4E2A\u53C2\u6570\u3002 | ||
\u5728\u8FD9\u91CC\u672A\u5F00\u542F\u6388\u6743\u670D\u52A1\uFF0C\u76F4\u63A5\u4F7F\u7528WLANIP\u66FF\u6362\u5BF9\u5E94\u7684IP | ||
\`\`\`shell | ||
curl -fsSL https://higress.cn/standalone/get-higress.sh | bash -s -- -c nacos://10.30.0.225:8848 | ||
\`\`\` | ||
\u8F93\u5165\u547D\u4EE4\u7B49\u5F85\u90E8\u7F72\uFF0C\u5373\u53EF\u770B\u5230\u751F\u6210\u7684\u7528\u6237\u540D\u4E0E\u5BC6\u7801 | ||
![D.png](/img/blog/windows/pic/D.png) | ||
### Higress \u63A7\u5236\u53F0\u914D\u7F6E | ||
**\u8BBF\u95EE \`http://localhost:8080/\`, \u767B\u5F55 Higress \u63A7\u5236\u53F0\u3002\u9996\u6B21\u8BBF\u95EE\u65F6\u9700\u8981\u5148\u8BBE\u7F6E\u7528\u6237\u540D\u5BC6\u7801** | ||
![13.png](/img/blog/windows/pic/13.png) | ||
**\u70B9\u51FB\u5DE6\u4FA7\u201C\u670D\u52A1\u6765\u6E90\u201D\u5BFC\u822A\u680F\uFF0C\u7136\u540E\u70B9\u51FB\u9875\u9762\u53F3\u4FA7\u7684\u201C\u521B\u5EFA\u670D\u52A1\u6765\u6E90\u201D\u6309\u94AE\u3002\u6309\u7167\u4E0B\u56FE\u6240\u793A\u5185\u5BB9\u586B\u5199\u8868\u5355\u5E76\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u3002** | ||
![14.png](/img/blog/windows/pic/14.png) | ||
**\u70B9\u51FB\u5DE6\u4FA7\u201C\u57DF\u540D\u7BA1\u7406\u201D\u5BFC\u822A\u680F\uFF0C\u7136\u540E\u70B9\u51FB\u9875\u9762\u53F3\u4FA7\u7684\u201C\u521B\u5EFA\u57DF\u540D\u201D\u6309\u94AE\u3002\u6309\u7167\u4E0B\u56FE\u6240\u793A\u5185\u5BB9\u586B\u5199\u8868\u5355\u5E76\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u3002** | ||
![15.png](/img/blog/windows/pic/15.png) | ||
**\u70B9\u51FB\u5DE6\u4FA7\u201C\u8DEF\u7531\u7BA1\u7406\u201D\u5BFC\u822A\u680F\uFF0C\u7136\u540E\u70B9\u51FB\u9875\u9762\u53F3\u4FA7\u7684\u201C\u521B\u5EFA\u8DEF\u7531\u201D\u6309\u94AE\u3002\u6309\u7167\u4E0B\u56FE\u7247\u6240\u793A\u5185\u5BB9\u586B\u5199\u8868\u5355\u5E76\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u3002** | ||
![16.png](/img/blog/windows/pic/16.png) | ||
### \u8BF7\u6C42\u9A8C\u8BC1 | ||
\`\`\`shell | ||
# should output a JSON object containing request data | ||
curl http://localhost/get?foo=bar -H 'host: foo.bar.com' | ||
\`\`\` | ||
![E.png](/img/blog/windows/pic/E.png) | ||
\u66F4\u591A\u8BE6\u60C5\u4E0E\u90E8\u7F72\u65B9\u6848\u53EF\u53C2\u8003 [quick start](https://higress.cn/docs/latest/user/quickstart/) | ||
`,c={title:"Windows \u4E0B Higress \u90E8\u7F72\u5B9E\u8DF5",description:"Windows\u90E8\u7F72Higress",keywords:["higress"],date:"2023-07-28",author:"Fkbqf",category:"ecosystem"},g={type:"content",filePath:"/home/runner/work/higress-group.github.io/higress-group.github.io/src/content/blog/DeployOnWindows.md",rawData:void 0};export{g as _internal,i as body,o as collection,c as data,s as id,n as slug}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.