diff --git a/404.html b/404.html index d069c6e94..ffa7972d5 100644 --- a/404.html +++ b/404.html @@ -11,13 +11,13 @@ - - + +
跳到主要内容

找不到页面

我们找不到您要找的页面。

请联系原始链接来源网站的所有者,并告知他们链接已损坏。

- - + + \ No newline at end of file diff --git a/about/index.html b/about/index.html index 10784a3eb..09c2d2e14 100644 --- a/about/index.html +++ b/about/index.html @@ -11,13 +11,13 @@ - - + +
跳到主要内容

关于

您好,我是一名专注于云平台开发的工程师。我拥有多年的云平台开发经验,熟练掌握云平台相关技术和业务。

在我的职业生涯中,我曾参与过多个云平台的开发项目,包括公有云、私有部署、定制项目等。我擅长使用 Vue、Java 来构建可靠、高效的云平台解决方案。

此外,我还具备良好的团队协作和沟通能力,能够与其他团队成员配合完成复杂的项目开发任务。同时,我也善于学习和钻研新技术,不断提升自己的技能和水平。

总之,我是一名充满热情和创造力的云平台开发者,致力于为客户提供高质量、高效的解决方案。

YiRanCN,这是我的 GitHub 主页,欢迎大家 follow 和 star。

微信号:jiot_cloud 邮箱:jiotcloud@163.com

img

采用最主流、最前沿的的编程语言和技术框架:

  • JDK17/Spring6/SpringBoot3
  • hivemq/mqtt
  • Netty4
  • ts/Vue3/arco.design
  • flutter/dart
  • 其他
- - + + \ No newline at end of file diff --git a/assets/js/009da349.cf442cd4.js b/assets/js/009da349.470b541d.js similarity index 98% rename from assets/js/009da349.cf442cd4.js rename to assets/js/009da349.470b541d.js index f03976367..6ee81b39e 100644 --- a/assets/js/009da349.cf442cd4.js +++ b/assets/js/009da349.470b541d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5093],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),d=a,f=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=d;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:a,i[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>y,frontMatter:()=>o,metadata:()=>l,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={sidebar_position:1},i="\u6982\u8ff0",l={unversionedId:"study/back/index",id:"study/back/index",title:"\u6982\u8ff0",description:"\u540e\u7aef\u662f\u76f8\u5f53\u4e8e\u524d\u7aef\u6765\u8bf4\u7684\uff0c\u7528\u6237\u770b\u4e0d\u5230\u7684\u5185\u5bb9\u7edf\u4e00\u6210\u4e3a\u540e\u7aef\uff0c\u540e\u7aef\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a",source:"@site/docs/study/back/index.md",sourceDirName:"study/back",slug:"/study/back/",permalink:"/docs/study/back/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",permalink:"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0"},next:{title:"Zookeeper",permalink:"/docs/study/back/Zookeeper"}},c={},u=[{value:"\u53c2\u8003\u8d44\u6599",id:"\u53c2\u8003\u8d44\u6599",level:3}],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u540e\u7aef\u662f\u76f8\u5f53\u4e8e\u524d\u7aef\u6765\u8bf4\u7684\uff0c\u7528\u6237\u770b\u4e0d\u5230\u7684\u5185\u5bb9\u7edf\u4e00\u6210\u4e3a\u540e\u7aef\uff0c\u540e\u7aef\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"API \u63a5\u53e3"),(0,a.yg)("li",{parentName:"ul"},"\u6570\u636e\u5e93"),(0,a.yg)("li",{parentName:"ul"},"\u534f\u8bae\u4ea4\u4e92\u670d\u52a1\u7aef"),(0,a.yg)("li",{parentName:"ul"},"websocket \u670d\u52a1\u7aef"),(0,a.yg)("li",{parentName:"ul"},"\u77ed\u4fe1\u3001\u90ae\u4ef6\u670d\u52a1"),(0,a.yg)("li",{parentName:"ul"},"\u96c6\u7fa4\u670d\u52a1\u3001\u5206\u5e03\u5f0f\u670d\u52a1")),(0,a.yg)("h3",{id:"\u53c2\u8003\u8d44\u6599"},"\u53c2\u8003\u8d44\u6599"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/535122950"},"\u5f20\u5f66\u98de-\u4e0a\u624b\u62a5\u544a\uff5c\u4eca\u5929\u804a\u804a\u817e\u8baf\u76ee\u524d\u5728\u7528\u7684\u5fae\u670d\u52a1\u67b6\u6784\uff01"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5093],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),d=a,f=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=d;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:a,i[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>y,frontMatter:()=>o,metadata:()=>l,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={sidebar_position:1},i="\u6982\u8ff0",l={unversionedId:"study/back/index",id:"study/back/index",title:"\u6982\u8ff0",description:"\u540e\u7aef\u662f\u76f8\u5f53\u4e8e\u524d\u7aef\u6765\u8bf4\u7684\uff0c\u7528\u6237\u770b\u4e0d\u5230\u7684\u5185\u5bb9\u7edf\u4e00\u6210\u4e3a\u540e\u7aef\uff0c\u540e\u7aef\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a",source:"@site/docs/study/back/index.md",sourceDirName:"study/back",slug:"/study/back/",permalink:"/docs/study/back/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",permalink:"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0"},next:{title:"Zookeeper",permalink:"/docs/study/back/Zookeeper"}},c={},u=[{value:"\u53c2\u8003\u8d44\u6599",id:"\u53c2\u8003\u8d44\u6599",level:3}],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u540e\u7aef\u662f\u76f8\u5f53\u4e8e\u524d\u7aef\u6765\u8bf4\u7684\uff0c\u7528\u6237\u770b\u4e0d\u5230\u7684\u5185\u5bb9\u7edf\u4e00\u6210\u4e3a\u540e\u7aef\uff0c\u540e\u7aef\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"API \u63a5\u53e3"),(0,a.yg)("li",{parentName:"ul"},"\u6570\u636e\u5e93"),(0,a.yg)("li",{parentName:"ul"},"\u534f\u8bae\u4ea4\u4e92\u670d\u52a1\u7aef"),(0,a.yg)("li",{parentName:"ul"},"websocket \u670d\u52a1\u7aef"),(0,a.yg)("li",{parentName:"ul"},"\u77ed\u4fe1\u3001\u90ae\u4ef6\u670d\u52a1"),(0,a.yg)("li",{parentName:"ul"},"\u96c6\u7fa4\u670d\u52a1\u3001\u5206\u5e03\u5f0f\u670d\u52a1")),(0,a.yg)("h3",{id:"\u53c2\u8003\u8d44\u6599"},"\u53c2\u8003\u8d44\u6599"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/535122950"},"\u5f20\u5f66\u98de-\u4e0a\u624b\u62a5\u544a\uff5c\u4eca\u5929\u804a\u804a\u817e\u8baf\u76ee\u524d\u5728\u7528\u7684\u5fae\u670d\u52a1\u67b6\u6784\uff01"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/013f59b8.8c1176df.js b/assets/js/013f59b8.06a3d4b9.js similarity index 99% rename from assets/js/013f59b8.8c1176df.js rename to assets/js/013f59b8.06a3d4b9.js index 027c07269..58f51616a 100644 --- a/assets/js/013f59b8.8c1176df.js +++ b/assets/js/013f59b8.06a3d4b9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3325],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=r.createContext({}),u=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=u(e.components);return r.createElement(i.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,c=e.originalType,i=e.parentName,p=a(e,["components","mdxType","originalType","parentName"]),d=u(n),y=o,f=d["".concat(i,".").concat(y)]||d[y]||s[y]||c;return n?r.createElement(f,l(l({ref:t},p),{},{components:n})):r.createElement(f,l({ref:t},p))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=n.length,l=new Array(c);l[0]=y;var a={};for(var i in t)hasOwnProperty.call(t,i)&&(a[i]=t[i]);a.originalType=e,a[d]="string"==typeof e?e:o,l[1]=a;for(var u=2;u{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>s,frontMatter:()=>c,metadata:()=>a,toc:()=>u});var r=n(58168),o=(n(96540),n(15680));const c={sidebar_position:3},l="TCP \u8bbe\u5907\u63a5\u5165",a={unversionedId:"iotcloud/connect/tcp",id:"iotcloud/connect/tcp",title:"TCP \u8bbe\u5907\u63a5\u5165",description:"TCP \u63a5\u5165\u5e94\u8be5\u5c5e\u4e8e\u6700\u4e3a\u4f20\u7edf\u7684\u63a5\u5165\u65b9\u5f0f\uff0c\u534f\u8bae\u53ef\u4ee5\u91c7\u7528\u79c1\u6709\u534f\u8bae\u6216\u901a\u7528\u7684 Modbus \u7b49\u3002",source:"@site/docs/iotcloud/connect/tcp.md",sourceDirName:"iotcloud/connect",slug:"/iotcloud/connect/tcp",permalink:"/docs/iotcloud/connect/tcp",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"iotCloudSidebar",previous:{title:"MQTT \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/mqtt"},next:{title:"HTTP \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/http"}},i={},u=[{value:"TCP \u6ce8\u518c\u5305",id:"tcp-\u6ce8\u518c\u5305",level:4},{value:"ModbusRTU \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",id:"modbusrtu-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",level:4},{value:"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",id:"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",level:4},{value:"\u6587\u672c\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",id:"\u6587\u672c\u79c1\u6709\u534f\u8bae-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",level:4}],p={toc:u},d="wrapper";function s(e){let{components:t,...n}=e;return(0,o.yg)(d,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"tcp-\u8bbe\u5907\u63a5\u5165"},"TCP \u8bbe\u5907\u63a5\u5165"),(0,o.yg)("p",null,"TCP \u63a5\u5165\u5e94\u8be5\u5c5e\u4e8e\u6700\u4e3a\u4f20\u7edf\u7684\u63a5\u5165\u65b9\u5f0f\uff0c\u534f\u8bae\u53ef\u4ee5\u91c7\u7528\u79c1\u6709\u534f\u8bae\u6216\u901a\u7528\u7684 Modbus \u7b49\u3002"),(0,o.yg)("p",null,"\u672c\u5e73\u53f0\u5b9e\u73b0\u4e86 ModbusRTU \u534f\u8bae\uff0c\u4ee5\u53ca\u652f\u6301\u79c1\u6709\u534f\u8bae\u7684 TCP \u4e8c\u8fdb\u5236\u3001TCP \u6587\u672c\u534f\u8bae\u3002"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u7279\u522b\u8bf4\u660e"),"\uff0cTCP \u8bbe\u5907\u63a5\u5165\uff0c\u4e91\u7aef\u4f5c\u4e3a TCP \u7684\u670d\u52a1\u7aef\uff0c\u66b4\u6f0f\u7684 15000 \u7aef\u53e3\u53f7\uff0c\u8bbe\u5907\u7aef\u4f5c\u4e3a TCP \u7684\u5ba2\u6237\u7aef\u3002"),(0,o.yg)("p",null,"\u76ee\u524d\uff0c\u8be5\u5e73\u53f0\u5b9e\u73b0\u4ee5\u4e0b\u4e09\u79cd\u6a21\u5f0f\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"ModbusRTU \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"),(0,o.yg)("li",{parentName:"ul"},"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"),(0,o.yg)("li",{parentName:"ul"},"\u6587\u672c\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f")),(0,o.yg)("h4",{id:"tcp-\u6ce8\u518c\u5305"},"TCP \u6ce8\u518c\u5305"),(0,o.yg)("p",null,"\u4e09\u79cd\u6a21\u5f0f\u7684\u8bbe\u5907\u7aef\u6ce8\u518c\u5230\u4e91\u7aef\u7684\u65b9\u5f0f\u662f\u4e00\u6837\u7684\u3002"),(0,o.yg)("p",null,"\u8bbe\u5907\u7aef\u53d1\u8d77\u5230\u4e91\u7aef\u7684 TCP \u7684\u8fde\u63a5\u6210\u529f\u540e\uff0c\u5e94\u8be5\u7acb\u5373\u53d1\u9001\u6ce8\u518c\u5305\uff0c\u6ce8\u518c\u5305\u7684\u683c\u5f0f\u4e3a ",(0,o.yg)("strong",{parentName:"p"},"${device.code}&${device.pwd}"),"\u3002"),(0,o.yg)("p",null,"\u4e91\u7aef\u9a8c\u8bc1\u6210\u529f\u540e\uff0c\u540e\u7eed\u8bbe\u5907\u7aef\u53d1\u9001\u7684\u6d88\u606f\u624d\u4f1a\u88ab\u6b63\u5e38\u7684\u89e3\u6790\uff0c\u5426\u5219\u4e91\u7aef\u4f1a\u79bb\u5f00\u65ad\u6389 TCP \u8fde\u63a5\u3002"),(0,o.yg)("h4",{id:"modbusrtu-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"},"ModbusRTU \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"),(0,o.yg)("p",null,"\u9009\u62e9\u4e86\u6b64\u79cd\u534f\u8bae\u683c\u5f0f\u7684\u8bbe\u5907\uff0c\u5e94\u8be5\u914d\u7f6e ",(0,o.yg)("strong",{parentName:"p"},"Modbus \u914d\u7f6e")," \uff0c\u8ba9\u5c5e\u6027\u548c\u5bc4\u5b58\u5668\u5efa\u7acb\u5173\u7cfb\uff0c\u4ee5\u4fdd\u8bc1\u4e91\u7aef\u53ef\u4ee5\u6839\u636e\u5173\u7cfb\u53bb\u8f6e\u8be2\u8bbe\u5907\u7684\u6570\u636e\u3002"),(0,o.yg)("h4",{id:"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"},"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"),(0,o.yg)("h4",{id:"\u6587\u672c\u79c1\u6709\u534f\u8bae-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"},"\u6587\u672c\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3325],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=r.createContext({}),u=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=u(e.components);return r.createElement(i.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,c=e.originalType,i=e.parentName,p=a(e,["components","mdxType","originalType","parentName"]),d=u(n),y=o,f=d["".concat(i,".").concat(y)]||d[y]||s[y]||c;return n?r.createElement(f,l(l({ref:t},p),{},{components:n})):r.createElement(f,l({ref:t},p))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=n.length,l=new Array(c);l[0]=y;var a={};for(var i in t)hasOwnProperty.call(t,i)&&(a[i]=t[i]);a.originalType=e,a[d]="string"==typeof e?e:o,l[1]=a;for(var u=2;u{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>s,frontMatter:()=>c,metadata:()=>a,toc:()=>u});var r=n(58168),o=(n(96540),n(15680));const c={sidebar_position:3},l="TCP \u8bbe\u5907\u63a5\u5165",a={unversionedId:"iotcloud/connect/tcp",id:"iotcloud/connect/tcp",title:"TCP \u8bbe\u5907\u63a5\u5165",description:"TCP \u63a5\u5165\u5e94\u8be5\u5c5e\u4e8e\u6700\u4e3a\u4f20\u7edf\u7684\u63a5\u5165\u65b9\u5f0f\uff0c\u534f\u8bae\u53ef\u4ee5\u91c7\u7528\u79c1\u6709\u534f\u8bae\u6216\u901a\u7528\u7684 Modbus \u7b49\u3002",source:"@site/docs/iotcloud/connect/tcp.md",sourceDirName:"iotcloud/connect",slug:"/iotcloud/connect/tcp",permalink:"/docs/iotcloud/connect/tcp",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"iotCloudSidebar",previous:{title:"MQTT \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/mqtt"},next:{title:"HTTP \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/http"}},i={},u=[{value:"TCP \u6ce8\u518c\u5305",id:"tcp-\u6ce8\u518c\u5305",level:4},{value:"ModbusRTU \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",id:"modbusrtu-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",level:4},{value:"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",id:"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",level:4},{value:"\u6587\u672c\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",id:"\u6587\u672c\u79c1\u6709\u534f\u8bae-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f",level:4}],p={toc:u},d="wrapper";function s(e){let{components:t,...n}=e;return(0,o.yg)(d,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"tcp-\u8bbe\u5907\u63a5\u5165"},"TCP \u8bbe\u5907\u63a5\u5165"),(0,o.yg)("p",null,"TCP \u63a5\u5165\u5e94\u8be5\u5c5e\u4e8e\u6700\u4e3a\u4f20\u7edf\u7684\u63a5\u5165\u65b9\u5f0f\uff0c\u534f\u8bae\u53ef\u4ee5\u91c7\u7528\u79c1\u6709\u534f\u8bae\u6216\u901a\u7528\u7684 Modbus \u7b49\u3002"),(0,o.yg)("p",null,"\u672c\u5e73\u53f0\u5b9e\u73b0\u4e86 ModbusRTU \u534f\u8bae\uff0c\u4ee5\u53ca\u652f\u6301\u79c1\u6709\u534f\u8bae\u7684 TCP \u4e8c\u8fdb\u5236\u3001TCP \u6587\u672c\u534f\u8bae\u3002"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u7279\u522b\u8bf4\u660e"),"\uff0cTCP \u8bbe\u5907\u63a5\u5165\uff0c\u4e91\u7aef\u4f5c\u4e3a TCP \u7684\u670d\u52a1\u7aef\uff0c\u66b4\u6f0f\u7684 15000 \u7aef\u53e3\u53f7\uff0c\u8bbe\u5907\u7aef\u4f5c\u4e3a TCP \u7684\u5ba2\u6237\u7aef\u3002"),(0,o.yg)("p",null,"\u76ee\u524d\uff0c\u8be5\u5e73\u53f0\u5b9e\u73b0\u4ee5\u4e0b\u4e09\u79cd\u6a21\u5f0f\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"ModbusRTU \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"),(0,o.yg)("li",{parentName:"ul"},"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"),(0,o.yg)("li",{parentName:"ul"},"\u6587\u672c\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f")),(0,o.yg)("h4",{id:"tcp-\u6ce8\u518c\u5305"},"TCP \u6ce8\u518c\u5305"),(0,o.yg)("p",null,"\u4e09\u79cd\u6a21\u5f0f\u7684\u8bbe\u5907\u7aef\u6ce8\u518c\u5230\u4e91\u7aef\u7684\u65b9\u5f0f\u662f\u4e00\u6837\u7684\u3002"),(0,o.yg)("p",null,"\u8bbe\u5907\u7aef\u53d1\u8d77\u5230\u4e91\u7aef\u7684 TCP \u7684\u8fde\u63a5\u6210\u529f\u540e\uff0c\u5e94\u8be5\u7acb\u5373\u53d1\u9001\u6ce8\u518c\u5305\uff0c\u6ce8\u518c\u5305\u7684\u683c\u5f0f\u4e3a ",(0,o.yg)("strong",{parentName:"p"},"${device.code}&${device.pwd}"),"\u3002"),(0,o.yg)("p",null,"\u4e91\u7aef\u9a8c\u8bc1\u6210\u529f\u540e\uff0c\u540e\u7eed\u8bbe\u5907\u7aef\u53d1\u9001\u7684\u6d88\u606f\u624d\u4f1a\u88ab\u6b63\u5e38\u7684\u89e3\u6790\uff0c\u5426\u5219\u4e91\u7aef\u4f1a\u79bb\u5f00\u65ad\u6389 TCP \u8fde\u63a5\u3002"),(0,o.yg)("h4",{id:"modbusrtu-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"},"ModbusRTU \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"),(0,o.yg)("p",null,"\u9009\u62e9\u4e86\u6b64\u79cd\u534f\u8bae\u683c\u5f0f\u7684\u8bbe\u5907\uff0c\u5e94\u8be5\u914d\u7f6e ",(0,o.yg)("strong",{parentName:"p"},"Modbus \u914d\u7f6e")," \uff0c\u8ba9\u5c5e\u6027\u548c\u5bc4\u5b58\u5668\u5efa\u7acb\u5173\u7cfb\uff0c\u4ee5\u4fdd\u8bc1\u4e91\u7aef\u53ef\u4ee5\u6839\u636e\u5173\u7cfb\u53bb\u8f6e\u8be2\u8bbe\u5907\u7684\u6570\u636e\u3002"),(0,o.yg)("h4",{id:"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"},"\u4e8c\u7ea7\u5236\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"),(0,o.yg)("h4",{id:"\u6587\u672c\u79c1\u6709\u534f\u8bae-\u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"},"\u6587\u672c\u79c1\u6709\u534f\u8bae \u4e91\u7aef\u8f6e\u8be2\u6a21\u5f0f"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/01c8f07b.04d0b4d2.js b/assets/js/01c8f07b.e0337e5d.js similarity index 98% rename from assets/js/01c8f07b.04d0b4d2.js rename to assets/js/01c8f07b.e0337e5d.js index eabab4664..deba89c11 100644 --- a/assets/js/01c8f07b.04d0b4d2.js +++ b/assets/js/01c8f07b.e0337e5d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1570],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,l=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,y=s["".concat(l,".").concat(f)]||s[f]||d[f]||c;return r?n.createElement(y,i(i({ref:t},u),{},{components:r})):n.createElement(y,i({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,i=new Array(c);i[0]=f;var a={};for(var l in t)hasOwnProperty.call(t,l)&&(a[l]=t[l]);a.originalType=e,a[s]="string"==typeof e?e:o,i[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={sidebar_position:1},i="\u6982\u8ff0",a={unversionedId:"iotcloud/connect/index",id:"iotcloud/connect/index",title:"\u6982\u8ff0",description:"\u8bbe\u5907\u63a5\u5165\u4e91\u5e73\u53f0\uff0c\u6700\u6838\u5fc3\u7684\u70b9\u662f\u63a5\u5165\u534f\u8bae\uff0c\u672c\u5e73\u53f0\u76ee\u524d\u652f\u6301\u6700\u6d41\u884c\u7684 MQTT\uff0c\u4f20\u7edf\u7684 TCP\uff0c\u4ee5\u53ca\u5904\u7406\u5f02\u6784\u7cfb\u7edf\u6216\u7b80\u5355\u4f7f\u7528\u7684 HTTP \u534f\u8bae\u3002",source:"@site/docs/iotcloud/connect/index.md",sourceDirName:"iotcloud/connect",slug:"/iotcloud/connect/",permalink:"/docs/iotcloud/connect/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"iotCloudSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/"},next:{title:"MQTT \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/mqtt"}},l={},p=[],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u8bbe\u5907\u63a5\u5165\u4e91\u5e73\u53f0\uff0c\u6700\u6838\u5fc3\u7684\u70b9\u662f\u63a5\u5165\u534f\u8bae\uff0c\u672c\u5e73\u53f0\u76ee\u524d\u652f\u6301\u6700\u6d41\u884c\u7684 MQTT\uff0c\u4f20\u7edf\u7684 TCP\uff0c\u4ee5\u53ca\u5904\u7406\u5f02\u6784\u7cfb\u7edf\u6216\u7b80\u5355\u4f7f\u7528\u7684 HTTP \u534f\u8bae\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1570],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,l=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,y=s["".concat(l,".").concat(f)]||s[f]||d[f]||c;return r?n.createElement(y,i(i({ref:t},u),{},{components:r})):n.createElement(y,i({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,i=new Array(c);i[0]=f;var a={};for(var l in t)hasOwnProperty.call(t,l)&&(a[l]=t[l]);a.originalType=e,a[s]="string"==typeof e?e:o,i[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={sidebar_position:1},i="\u6982\u8ff0",a={unversionedId:"iotcloud/connect/index",id:"iotcloud/connect/index",title:"\u6982\u8ff0",description:"\u8bbe\u5907\u63a5\u5165\u4e91\u5e73\u53f0\uff0c\u6700\u6838\u5fc3\u7684\u70b9\u662f\u63a5\u5165\u534f\u8bae\uff0c\u672c\u5e73\u53f0\u76ee\u524d\u652f\u6301\u6700\u6d41\u884c\u7684 MQTT\uff0c\u4f20\u7edf\u7684 TCP\uff0c\u4ee5\u53ca\u5904\u7406\u5f02\u6784\u7cfb\u7edf\u6216\u7b80\u5355\u4f7f\u7528\u7684 HTTP \u534f\u8bae\u3002",source:"@site/docs/iotcloud/connect/index.md",sourceDirName:"iotcloud/connect",slug:"/iotcloud/connect/",permalink:"/docs/iotcloud/connect/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"iotCloudSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/"},next:{title:"MQTT \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/mqtt"}},l={},p=[],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u8bbe\u5907\u63a5\u5165\u4e91\u5e73\u53f0\uff0c\u6700\u6838\u5fc3\u7684\u70b9\u662f\u63a5\u5165\u534f\u8bae\uff0c\u672c\u5e73\u53f0\u76ee\u524d\u652f\u6301\u6700\u6d41\u884c\u7684 MQTT\uff0c\u4f20\u7edf\u7684 TCP\uff0c\u4ee5\u53ca\u5904\u7406\u5f02\u6784\u7cfb\u7edf\u6216\u7b80\u5355\u4f7f\u7528\u7684 HTTP \u534f\u8bae\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/01d46eee.97fc348f.js b/assets/js/01d46eee.a1b4bf02.js similarity index 98% rename from assets/js/01d46eee.97fc348f.js rename to assets/js/01d46eee.a1b4bf02.js index d2311962b..14838dfa5 100644 --- a/assets/js/01d46eee.97fc348f.js +++ b/assets/js/01d46eee.a1b4bf02.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[159],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),p=s(r),y=a,f=p["".concat(u,".").concat(y)]||p[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[p]="string"==typeof e?e:a,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/maven/\u5e38\u7528\u53c2\u6570",id:"study/back/maven/\u5e38\u7528\u53c2\u6570",title:"\u5e38\u7528\u53c2\u6570",description:"\u8df3\u8fc7\u6d4b\u8bd5",source:"@site/docs/study/back/maven/\u5e38\u7528\u53c2\u6570.md",sourceDirName:"study/back/maven",slug:"/study/back/maven/\u5e38\u7528\u53c2\u6570",permalink:"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"mvnw",permalink:"/docs/study/back/maven/mvnw"},next:{title:"\u6784\u5efaDocker",permalink:"/docs/study/back/maven/\u6784\u5efaDocker"}},u={},s=[{value:"\u8df3\u8fc7\u6d4b\u8bd5",id:"\u8df3\u8fc7\u6d4b\u8bd5",level:3}],l={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(p,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u8df3\u8fc7\u6d4b\u8bd5"},"\u8df3\u8fc7\u6d4b\u8bd5"),(0,a.yg)("p",null,"-DskipTests=true"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[159],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),s=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=s(e.components);return n.createElement(u.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),p=s(r),y=a,f=p["".concat(u,".").concat(y)]||p[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[p]="string"==typeof e?e:a,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/maven/\u5e38\u7528\u53c2\u6570",id:"study/back/maven/\u5e38\u7528\u53c2\u6570",title:"\u5e38\u7528\u53c2\u6570",description:"\u8df3\u8fc7\u6d4b\u8bd5",source:"@site/docs/study/back/maven/\u5e38\u7528\u53c2\u6570.md",sourceDirName:"study/back/maven",slug:"/study/back/maven/\u5e38\u7528\u53c2\u6570",permalink:"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"mvnw",permalink:"/docs/study/back/maven/mvnw"},next:{title:"\u6784\u5efaDocker",permalink:"/docs/study/back/maven/\u6784\u5efaDocker"}},u={},s=[{value:"\u8df3\u8fc7\u6d4b\u8bd5",id:"\u8df3\u8fc7\u6d4b\u8bd5",level:3}],l={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(p,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u8df3\u8fc7\u6d4b\u8bd5"},"\u8df3\u8fc7\u6d4b\u8bd5"),(0,a.yg)("p",null,"-DskipTests=true"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/03101150.a7dd82cc.js b/assets/js/03101150.428f0407.js similarity index 99% rename from assets/js/03101150.a7dd82cc.js rename to assets/js/03101150.428f0407.js index fb59259cc..0bb5dd855 100644 --- a/assets/js/03101150.a7dd82cc.js +++ b/assets/js/03101150.428f0407.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3310],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),i=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=i(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=i(r),d=o,m=u["".concat(p,".").concat(d)]||u[d]||f[d]||a;return r?n.createElement(m,l(l({ref:t},s),{},{components:r})):n.createElement(m,l({ref:t},s))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[u]="string"==typeof e?e:o,l[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>f,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,c={unversionedId:"study/program/ETL/kettle",id:"study/program/ETL/kettle",title:"kettle",description:"ETL\uff08Extract-Transform-Load\u7684\u7f29\u5199\uff0c\u5373\u6570\u636e\u62bd\u53d6\u3001\u8f6c\u6362\u3001\u88c5\u8f7d\u7684\u8fc7\u7a0b\uff09\uff0c\u5bf9\u4e8e\u4f01\u4e1a\u6216\u884c\u4e1a\u5e94\u7528\u6765\u8bf4\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u9047\u5230\u5404\u79cd\u6570\u636e\u7684\u5904\u7406\uff0c\u8f6c\u6362\uff0c\u8fc1\u79fb\uff0c\u6240\u4ee5\u4e86\u89e3\u5e76\u638c\u63e1\u4e00\u79cdetl\u5de5\u5177\u7684\u4f7f\u7528\uff0c\u5fc5\u4e0d\u53ef\u5c11\u3002kettle\u662f\u7eafjava\u7f16\u5199\uff0c\u652f\u6301\u56fe\u5f62\u5316\u7684GUI\u8bbe\u8ba1\u754c\u9762\uff0c\u7136\u540e\u53ef\u4ee5\u4ee5\u5de5\u4f5c\u6d41\u7684\u5f62\u5f0f\u6d41\u8f6c\uff0c\u5728\u505a\u4e00\u4e9b\u7b80\u5355\u6216\u590d\u6742\u7684\u6570\u636e\u62bd\u53d6\u3001\u8d28\u91cf\u68c0\u6d4b\u3001\u6570\u636e\u6e05\u6d17\u3001\u6570\u636e\u8f6c\u6362\u3001\u6570\u636e\u8fc7\u6ee4\u7b49\u65b9\u9762\u6709\u7740\u6bd4\u8f83\u7a33\u5b9a\u7684\u8868\u73b0\uff0c\u5176\u4e2d\u6700\u4e3b\u8981\u7684\u6211\u4eec\u901a\u8fc7\u719f\u7ec3\u7684\u5e94\u7528\u5b83\uff0c\u51cf\u5c11\u4e86\u975e\u5e38\u591a\u7684\u7814\u53d1\u5de5\u4f5c\u91cf\uff0c\u63d0\u9ad8\u4e86\u6211\u4eec\u7684\u5de5\u4f5c\u6548\u7387\u3002",source:"@site/docs/study/program/ETL/kettle.md",sourceDirName:"study/program/ETL",slug:"/study/program/ETL/kettle",permalink:"/docs/study/program/ETL/kettle",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"flume",permalink:"/docs/study/program/ETL/flume"},next:{title:"sqoop",permalink:"/docs/study/program/ETL/sqoop"}},p={},i=[],s={toc:i},u="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"ETL\uff08Extract-Transform-Load\u7684\u7f29\u5199\uff0c\u5373\u6570\u636e\u62bd\u53d6\u3001\u8f6c\u6362\u3001\u88c5\u8f7d\u7684\u8fc7\u7a0b\uff09\uff0c\u5bf9\u4e8e\u4f01\u4e1a\u6216\u884c\u4e1a\u5e94\u7528\u6765\u8bf4\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u9047\u5230\u5404\u79cd\u6570\u636e\u7684\u5904\u7406\uff0c\u8f6c\u6362\uff0c\u8fc1\u79fb\uff0c\u6240\u4ee5\u4e86\u89e3\u5e76\u638c\u63e1\u4e00\u79cdetl\u5de5\u5177\u7684\u4f7f\u7528\uff0c\u5fc5\u4e0d\u53ef\u5c11\u3002kettle\u662f\u7eafjava\u7f16\u5199\uff0c\u652f\u6301\u56fe\u5f62\u5316\u7684GUI\u8bbe\u8ba1\u754c\u9762\uff0c\u7136\u540e\u53ef\u4ee5\u4ee5\u5de5\u4f5c\u6d41\u7684\u5f62\u5f0f\u6d41\u8f6c\uff0c\u5728\u505a\u4e00\u4e9b\u7b80\u5355\u6216\u590d\u6742\u7684\u6570\u636e\u62bd\u53d6\u3001\u8d28\u91cf\u68c0\u6d4b\u3001\u6570\u636e\u6e05\u6d17\u3001\u6570\u636e\u8f6c\u6362\u3001\u6570\u636e\u8fc7\u6ee4\u7b49\u65b9\u9762\u6709\u7740\u6bd4\u8f83\u7a33\u5b9a\u7684\u8868\u73b0\uff0c\u5176\u4e2d\u6700\u4e3b\u8981\u7684\u6211\u4eec\u901a\u8fc7\u719f\u7ec3\u7684\u5e94\u7528\u5b83\uff0c\u51cf\u5c11\u4e86\u975e\u5e38\u591a\u7684\u7814\u53d1\u5de5\u4f5c\u91cf\uff0c\u63d0\u9ad8\u4e86\u6211\u4eec\u7684\u5de5\u4f5c\u6548\u7387\u3002"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Kettle\u6982\u5ff5")),(0,o.yg)("p",null,"Kettle\u662f\u4e00\u6b3e\u56fd\u5916\u5f00\u6e90\u7684ETL\u5de5\u5177\uff0c\u7eafjava\u7f16\u5199\uff0c\u53ef\u4ee5\u5728Window\u3001Linux\u3001Unix\u4e0a\u8fd0\u884c\uff0c\u7eff\u8272\u65e0\u9700\u5b89\u88c5\uff0c\u6570\u636e\u62bd\u53d6\u9ad8\u6548\u7a33\u5b9a\u3002\nKettle \u4e2d\u6587\u540d\u79f0\u53eb\u6c34\u58f6\uff0c\u8be5\u9879\u76ee\u7684\u4e3b\u7a0b\u5e8f\u5458MATT \u5e0c\u671b\u628a\u5404\u79cd\u6570\u636e\u653e\u5230\u4e00\u4e2a\u58f6\u91cc\uff0c\u7136\u540e\u4ee5\u4e00\u79cd\u6307\u5b9a\u7684\u683c\u5f0f\u6d41\u51fa\u3002\nKettle\u8fd9\u4e2aETL\u5de5\u5177\u96c6\uff0c\u5b83\u5141\u8bb8\u4f60\u7ba1\u7406\u6765\u81ea\u4e0d\u540c\u6570\u636e\u5e93\u7684\u6570\u636e\uff0c\u901a\u8fc7\u63d0\u4f9b\u4e00\u4e2a\u56fe\u5f62\u5316\u7684\u7528\u6237\u73af\u5883\u6765\u63cf\u8ff0\u4f60\u60f3\u505a\u4ec0\u4e48\uff0c\u800c\u4e0d\u662f\u4f60\u60f3\u600e\u4e48\u505a\u3002\nKettle\u4e2d\u6709\u4e24\u79cd\u811a\u672c\u6587\u4ef6\uff0ctransformation\u548cjob\uff0ctransformation\u5b8c\u6210\u9488\u5bf9\u6570\u636e\u7684\u57fa\u7840\u8f6c\u6362\uff0cjob\u5219\u5b8c\u6210\u6574\u4e2a\u5de5\u4f5c\u6d41\u7684\u63a7\u5236\u3002"))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3310],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),i=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=i(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=i(r),d=o,m=u["".concat(p,".").concat(d)]||u[d]||f[d]||a;return r?n.createElement(m,l(l({ref:t},s),{},{components:r})):n.createElement(m,l({ref:t},s))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[u]="string"==typeof e?e:o,l[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>f,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,c={unversionedId:"study/program/ETL/kettle",id:"study/program/ETL/kettle",title:"kettle",description:"ETL\uff08Extract-Transform-Load\u7684\u7f29\u5199\uff0c\u5373\u6570\u636e\u62bd\u53d6\u3001\u8f6c\u6362\u3001\u88c5\u8f7d\u7684\u8fc7\u7a0b\uff09\uff0c\u5bf9\u4e8e\u4f01\u4e1a\u6216\u884c\u4e1a\u5e94\u7528\u6765\u8bf4\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u9047\u5230\u5404\u79cd\u6570\u636e\u7684\u5904\u7406\uff0c\u8f6c\u6362\uff0c\u8fc1\u79fb\uff0c\u6240\u4ee5\u4e86\u89e3\u5e76\u638c\u63e1\u4e00\u79cdetl\u5de5\u5177\u7684\u4f7f\u7528\uff0c\u5fc5\u4e0d\u53ef\u5c11\u3002kettle\u662f\u7eafjava\u7f16\u5199\uff0c\u652f\u6301\u56fe\u5f62\u5316\u7684GUI\u8bbe\u8ba1\u754c\u9762\uff0c\u7136\u540e\u53ef\u4ee5\u4ee5\u5de5\u4f5c\u6d41\u7684\u5f62\u5f0f\u6d41\u8f6c\uff0c\u5728\u505a\u4e00\u4e9b\u7b80\u5355\u6216\u590d\u6742\u7684\u6570\u636e\u62bd\u53d6\u3001\u8d28\u91cf\u68c0\u6d4b\u3001\u6570\u636e\u6e05\u6d17\u3001\u6570\u636e\u8f6c\u6362\u3001\u6570\u636e\u8fc7\u6ee4\u7b49\u65b9\u9762\u6709\u7740\u6bd4\u8f83\u7a33\u5b9a\u7684\u8868\u73b0\uff0c\u5176\u4e2d\u6700\u4e3b\u8981\u7684\u6211\u4eec\u901a\u8fc7\u719f\u7ec3\u7684\u5e94\u7528\u5b83\uff0c\u51cf\u5c11\u4e86\u975e\u5e38\u591a\u7684\u7814\u53d1\u5de5\u4f5c\u91cf\uff0c\u63d0\u9ad8\u4e86\u6211\u4eec\u7684\u5de5\u4f5c\u6548\u7387\u3002",source:"@site/docs/study/program/ETL/kettle.md",sourceDirName:"study/program/ETL",slug:"/study/program/ETL/kettle",permalink:"/docs/study/program/ETL/kettle",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"flume",permalink:"/docs/study/program/ETL/flume"},next:{title:"sqoop",permalink:"/docs/study/program/ETL/sqoop"}},p={},i=[],s={toc:i},u="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"ETL\uff08Extract-Transform-Load\u7684\u7f29\u5199\uff0c\u5373\u6570\u636e\u62bd\u53d6\u3001\u8f6c\u6362\u3001\u88c5\u8f7d\u7684\u8fc7\u7a0b\uff09\uff0c\u5bf9\u4e8e\u4f01\u4e1a\u6216\u884c\u4e1a\u5e94\u7528\u6765\u8bf4\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u9047\u5230\u5404\u79cd\u6570\u636e\u7684\u5904\u7406\uff0c\u8f6c\u6362\uff0c\u8fc1\u79fb\uff0c\u6240\u4ee5\u4e86\u89e3\u5e76\u638c\u63e1\u4e00\u79cdetl\u5de5\u5177\u7684\u4f7f\u7528\uff0c\u5fc5\u4e0d\u53ef\u5c11\u3002kettle\u662f\u7eafjava\u7f16\u5199\uff0c\u652f\u6301\u56fe\u5f62\u5316\u7684GUI\u8bbe\u8ba1\u754c\u9762\uff0c\u7136\u540e\u53ef\u4ee5\u4ee5\u5de5\u4f5c\u6d41\u7684\u5f62\u5f0f\u6d41\u8f6c\uff0c\u5728\u505a\u4e00\u4e9b\u7b80\u5355\u6216\u590d\u6742\u7684\u6570\u636e\u62bd\u53d6\u3001\u8d28\u91cf\u68c0\u6d4b\u3001\u6570\u636e\u6e05\u6d17\u3001\u6570\u636e\u8f6c\u6362\u3001\u6570\u636e\u8fc7\u6ee4\u7b49\u65b9\u9762\u6709\u7740\u6bd4\u8f83\u7a33\u5b9a\u7684\u8868\u73b0\uff0c\u5176\u4e2d\u6700\u4e3b\u8981\u7684\u6211\u4eec\u901a\u8fc7\u719f\u7ec3\u7684\u5e94\u7528\u5b83\uff0c\u51cf\u5c11\u4e86\u975e\u5e38\u591a\u7684\u7814\u53d1\u5de5\u4f5c\u91cf\uff0c\u63d0\u9ad8\u4e86\u6211\u4eec\u7684\u5de5\u4f5c\u6548\u7387\u3002"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Kettle\u6982\u5ff5")),(0,o.yg)("p",null,"Kettle\u662f\u4e00\u6b3e\u56fd\u5916\u5f00\u6e90\u7684ETL\u5de5\u5177\uff0c\u7eafjava\u7f16\u5199\uff0c\u53ef\u4ee5\u5728Window\u3001Linux\u3001Unix\u4e0a\u8fd0\u884c\uff0c\u7eff\u8272\u65e0\u9700\u5b89\u88c5\uff0c\u6570\u636e\u62bd\u53d6\u9ad8\u6548\u7a33\u5b9a\u3002\nKettle \u4e2d\u6587\u540d\u79f0\u53eb\u6c34\u58f6\uff0c\u8be5\u9879\u76ee\u7684\u4e3b\u7a0b\u5e8f\u5458MATT \u5e0c\u671b\u628a\u5404\u79cd\u6570\u636e\u653e\u5230\u4e00\u4e2a\u58f6\u91cc\uff0c\u7136\u540e\u4ee5\u4e00\u79cd\u6307\u5b9a\u7684\u683c\u5f0f\u6d41\u51fa\u3002\nKettle\u8fd9\u4e2aETL\u5de5\u5177\u96c6\uff0c\u5b83\u5141\u8bb8\u4f60\u7ba1\u7406\u6765\u81ea\u4e0d\u540c\u6570\u636e\u5e93\u7684\u6570\u636e\uff0c\u901a\u8fc7\u63d0\u4f9b\u4e00\u4e2a\u56fe\u5f62\u5316\u7684\u7528\u6237\u73af\u5883\u6765\u63cf\u8ff0\u4f60\u60f3\u505a\u4ec0\u4e48\uff0c\u800c\u4e0d\u662f\u4f60\u60f3\u600e\u4e48\u505a\u3002\nKettle\u4e2d\u6709\u4e24\u79cd\u811a\u672c\u6587\u4ef6\uff0ctransformation\u548cjob\uff0ctransformation\u5b8c\u6210\u9488\u5bf9\u6570\u636e\u7684\u57fa\u7840\u8f6c\u6362\uff0cjob\u5219\u5b8c\u6210\u6574\u4e2a\u5de5\u4f5c\u6d41\u7684\u63a7\u5236\u3002"))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/037fbca4.71611d10.js b/assets/js/037fbca4.9f3788e7.js similarity index 98% rename from assets/js/037fbca4.71611d10.js rename to assets/js/037fbca4.9f3788e7.js index 29b7472f9..cdc7751a8 100644 --- a/assets/js/037fbca4.71611d10.js +++ b/assets/js/037fbca4.9f3788e7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9229],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),i=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=i(r),f=o,d=s["".concat(c,".").concat(f)]||s[f]||m[f]||a;return r?n.createElement(d,l(l({ref:t},p),{},{components:r})):n.createElement(d,l({ref:t},p))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=f;var u={};for(var c in t)hasOwnProperty.call(t,c)&&(u[c]=t[c]);u.originalType=e,u[s]="string"==typeof e?e:o,l[1]=u;for(var i=2;i{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>m,frontMatter:()=>a,metadata:()=>u,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,u={unversionedId:"study/program/ETL/flume",id:"study/program/ETL/flume",title:"flume",description:"Flume\u7684\u5b9a\u4e49",source:"@site/docs/study/program/ETL/flume.md",sourceDirName:"study/program/ETL",slug:"/study/program/ETL/flume",permalink:"/docs/study/program/ETL/flume",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"dataX",permalink:"/docs/study/program/ETL/dataX"},next:{title:"kettle",permalink:"/docs/study/program/ETL/kettle"}},c={},i=[{value:"Flume\u7684\u5b9a\u4e49",id:"flume\u7684\u5b9a\u4e49",level:3}],p={toc:i},s="wrapper";function m(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"flume\u7684\u5b9a\u4e49"},"Flume\u7684\u5b9a\u4e49"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"Flume\u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u3001\u9ad8\u53ef\u9760\u7684\u3001\u9ad8\u53ef\u7528\u7684\u5c06\u5927\u6279\u91cf\u7684\u4e0d\u540c\u6570\u636e\u6e90\u7684\u65e5\u5fd7\u6570\u636e\u6536\u96c6\u3001\u805a\u5408\u3001\u79fb\u52a8\u5230\u6570\u636e\u4e2d\u5fc3\uff08HDFS\uff09\u8fdb\u884c\u5b58\u50a8\u7684\u7cfb\u7edf\u3002\u5373\u662f\u65e5\u5fd7\u91c7\u96c6\u548c\u6c47\u603b\u7684\u5de5\u5177"),(0,o.yg)("li",{parentName:"ul"},"Logstash\u3001FileBeat\u662fES\u6808\u7684\u65e5\u5fd7\u6570\u636e\u62bd\u53d6\u5de5\u5177\uff0c\u4ed6\u4eec\u548cFlume\u5f88\u7c7b\u4f3c\uff0c\u524d\u8005\u662f\u8f7b\u91cf\u7ea7\u3001\u540e\u8005\u662f\u91cd\u91cf\u7ea7\uff0c\u82e5\u9879\u76ee\u7ec4\u4f7f\u7528\u7684\u662fES\u6808\u6280\u672f\uff0c\u90a3\u5b8c\u5168\u53ef\u4ee5\u4f7f\u7528Logstash\u53d6\u4ee3Flume\u3002")))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9229],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),i=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=i(r),f=o,d=s["".concat(c,".").concat(f)]||s[f]||m[f]||a;return r?n.createElement(d,l(l({ref:t},p),{},{components:r})):n.createElement(d,l({ref:t},p))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=f;var u={};for(var c in t)hasOwnProperty.call(t,c)&&(u[c]=t[c]);u.originalType=e,u[s]="string"==typeof e?e:o,l[1]=u;for(var i=2;i{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>m,frontMatter:()=>a,metadata:()=>u,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,u={unversionedId:"study/program/ETL/flume",id:"study/program/ETL/flume",title:"flume",description:"Flume\u7684\u5b9a\u4e49",source:"@site/docs/study/program/ETL/flume.md",sourceDirName:"study/program/ETL",slug:"/study/program/ETL/flume",permalink:"/docs/study/program/ETL/flume",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"dataX",permalink:"/docs/study/program/ETL/dataX"},next:{title:"kettle",permalink:"/docs/study/program/ETL/kettle"}},c={},i=[{value:"Flume\u7684\u5b9a\u4e49",id:"flume\u7684\u5b9a\u4e49",level:3}],p={toc:i},s="wrapper";function m(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"flume\u7684\u5b9a\u4e49"},"Flume\u7684\u5b9a\u4e49"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"Flume\u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u3001\u9ad8\u53ef\u9760\u7684\u3001\u9ad8\u53ef\u7528\u7684\u5c06\u5927\u6279\u91cf\u7684\u4e0d\u540c\u6570\u636e\u6e90\u7684\u65e5\u5fd7\u6570\u636e\u6536\u96c6\u3001\u805a\u5408\u3001\u79fb\u52a8\u5230\u6570\u636e\u4e2d\u5fc3\uff08HDFS\uff09\u8fdb\u884c\u5b58\u50a8\u7684\u7cfb\u7edf\u3002\u5373\u662f\u65e5\u5fd7\u91c7\u96c6\u548c\u6c47\u603b\u7684\u5de5\u5177"),(0,o.yg)("li",{parentName:"ul"},"Logstash\u3001FileBeat\u662fES\u6808\u7684\u65e5\u5fd7\u6570\u636e\u62bd\u53d6\u5de5\u5177\uff0c\u4ed6\u4eec\u548cFlume\u5f88\u7c7b\u4f3c\uff0c\u524d\u8005\u662f\u8f7b\u91cf\u7ea7\u3001\u540e\u8005\u662f\u91cd\u91cf\u7ea7\uff0c\u82e5\u9879\u76ee\u7ec4\u4f7f\u7528\u7684\u662fES\u6808\u6280\u672f\uff0c\u90a3\u5b8c\u5168\u53ef\u4ee5\u4f7f\u7528Logstash\u53d6\u4ee3Flume\u3002")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/03cd0d32.3937e10f.js b/assets/js/03cd0d32.e619e77b.js similarity index 98% rename from assets/js/03cd0d32.3937e10f.js rename to assets/js/03cd0d32.e619e77b.js index 0b83c6751..1c1791088 100644 --- a/assets/js/03cd0d32.3937e10f.js +++ b/assets/js/03cd0d32.e619e77b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7486],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=p(r),y=a,f=d["".concat(c,".").concat(y)]||d[y]||s[y]||o;return r?n.createElement(f,l(l({ref:t},u),{},{components:r})):n.createElement(f,l({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[d]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB",title:"Apache IoTDB",description:"\u5b98\u65b9\u6587\u6863",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TDengine",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine"},next:{title:"Druid",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid"}},c={},p=[{value:"\u5b98\u65b9\u6587\u6863",id:"\u5b98\u65b9\u6587\u6863",level:3},{value:"\u57fa\u672c\u4fe1\u606f",id:"\u57fa\u672c\u4fe1\u606f",level:3},{value:"\u5b9e\u9645\u4f7f\u7528",id:"\u5b9e\u9645\u4f7f\u7528",level:3},{value:"\u6e90\u7801\u7f16\u8bd1",id:"\u6e90\u7801\u7f16\u8bd1",level:3}],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5b98\u65b9\u6587\u6863"},"\u5b98\u65b9\u6587\u6863"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://iotdb.apache.org/zh/"},"\u5b98\u7f51")),(0,a.yg)("h3",{id:"\u57fa\u672c\u4fe1\u606f"},"\u57fa\u672c\u4fe1\u606f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aJava"),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u5730\u5740\uff1a",(0,a.yg)("a",{parentName:"li",href:"https://github.com/apache/iotdb"},"https://github.com/apache/iotdb")),(0,a.yg)("li",{parentName:"ol"},"\u96c6\u7fa4\u6a21\u5f0f\uff1a\u652f\u6301"),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u4eba\u5458\uff1a\u6700\u65e9\u59cb\u4e8e\u6e05\u534e\u5927\u5b66\u8f6f\u4ef6\u5b66\u9662\uff0c\u540e\u8d21\u732e\u7ed9\u4e86apache"),(0,a.yg)("li",{parentName:"ol"},"\u5b9a\u4f4d\uff1aIoTDB \u662f\u9488\u5bf9\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u6536\u96c6\u3001\u5b58\u50a8\u4e0e\u5206\u6790\u4e00\u4f53\u5316\u7684\u6570\u636e\u7ba1\u7406\u5f15\u64ce\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u76ee\u6807\u9700\u6c42\uff1a\u9ad8\u901f\u5199\u5165\u3001\u590d\u6742\u5206\u6790\u67e5\u8be2")),(0,a.yg)("h3",{id:"\u5b9e\u9645\u4f7f\u7528"},"\u5b9e\u9645\u4f7f\u7528"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u636e\u5b98\u7f51\u8bf4\u660e\uff0cIoTDB\u662f\u4e13\u95e8\u4e3a\u201c\u7269\u8054\u7f51\uff08IoT\uff09\u6216\u8005\u5de5\u4e1a\u7269\u8054\u7f51\uff08Industrial IoT\uff0c\u7f29\u5199 IIoT\uff09\u573a\u666f\u5f00\u53d1\u201d")),(0,a.yg)("h3",{id:"\u6e90\u7801\u7f16\u8bd1"},"\u6e90\u7801\u7f16\u8bd1"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7486],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=p(r),y=a,f=d["".concat(c,".").concat(y)]||d[y]||s[y]||o;return r?n.createElement(f,l(l({ref:t},u),{},{components:r})):n.createElement(f,l({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[d]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB",title:"Apache IoTDB",description:"\u5b98\u65b9\u6587\u6863",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TDengine",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine"},next:{title:"Druid",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid"}},c={},p=[{value:"\u5b98\u65b9\u6587\u6863",id:"\u5b98\u65b9\u6587\u6863",level:3},{value:"\u57fa\u672c\u4fe1\u606f",id:"\u57fa\u672c\u4fe1\u606f",level:3},{value:"\u5b9e\u9645\u4f7f\u7528",id:"\u5b9e\u9645\u4f7f\u7528",level:3},{value:"\u6e90\u7801\u7f16\u8bd1",id:"\u6e90\u7801\u7f16\u8bd1",level:3}],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5b98\u65b9\u6587\u6863"},"\u5b98\u65b9\u6587\u6863"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://iotdb.apache.org/zh/"},"\u5b98\u7f51")),(0,a.yg)("h3",{id:"\u57fa\u672c\u4fe1\u606f"},"\u57fa\u672c\u4fe1\u606f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aJava"),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u5730\u5740\uff1a",(0,a.yg)("a",{parentName:"li",href:"https://github.com/apache/iotdb"},"https://github.com/apache/iotdb")),(0,a.yg)("li",{parentName:"ol"},"\u96c6\u7fa4\u6a21\u5f0f\uff1a\u652f\u6301"),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u4eba\u5458\uff1a\u6700\u65e9\u59cb\u4e8e\u6e05\u534e\u5927\u5b66\u8f6f\u4ef6\u5b66\u9662\uff0c\u540e\u8d21\u732e\u7ed9\u4e86apache"),(0,a.yg)("li",{parentName:"ol"},"\u5b9a\u4f4d\uff1aIoTDB \u662f\u9488\u5bf9\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u6536\u96c6\u3001\u5b58\u50a8\u4e0e\u5206\u6790\u4e00\u4f53\u5316\u7684\u6570\u636e\u7ba1\u7406\u5f15\u64ce\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u76ee\u6807\u9700\u6c42\uff1a\u9ad8\u901f\u5199\u5165\u3001\u590d\u6742\u5206\u6790\u67e5\u8be2")),(0,a.yg)("h3",{id:"\u5b9e\u9645\u4f7f\u7528"},"\u5b9e\u9645\u4f7f\u7528"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u636e\u5b98\u7f51\u8bf4\u660e\uff0cIoTDB\u662f\u4e13\u95e8\u4e3a\u201c\u7269\u8054\u7f51\uff08IoT\uff09\u6216\u8005\u5de5\u4e1a\u7269\u8054\u7f51\uff08Industrial IoT\uff0c\u7f29\u5199 IIoT\uff09\u573a\u666f\u5f00\u53d1\u201d")),(0,a.yg)("h3",{id:"\u6e90\u7801\u7f16\u8bd1"},"\u6e90\u7801\u7f16\u8bd1"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0463cd48.a6be6580.js b/assets/js/0463cd48.12c10846.js similarity index 99% rename from assets/js/0463cd48.a6be6580.js rename to assets/js/0463cd48.12c10846.js index 3030756e8..4f3145d93 100644 --- a/assets/js/0463cd48.a6be6580.js +++ b/assets/js/0463cd48.12c10846.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1187],{15680:(e,n,t)=>{t.d(n,{xA:()=>g,yg:()=>c});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var o=r.createContext({}),y=function(e){var n=r.useContext(o),t=n;return e&&(t="function"==typeof e?e(n):p(p({},n),e)),t},g=function(e){var n=y(e.components);return r.createElement(o.Provider,{value:n},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},m=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,l=e.originalType,o=e.parentName,g=i(e,["components","mdxType","originalType","parentName"]),u=y(t),m=a,c=u["".concat(o,".").concat(m)]||u[m]||s[m]||l;return t?r.createElement(c,p(p({ref:n},g),{},{components:t})):r.createElement(c,p({ref:n},g))}));function c(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var l=t.length,p=new Array(l);p[0]=m;var i={};for(var o in n)hasOwnProperty.call(n,o)&&(i[o]=n[o]);i.originalType=e,i[u]="string"==typeof e?e:a,p[1]=i;for(var y=2;y{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>p,default:()=>s,frontMatter:()=>l,metadata:()=>i,toc:()=>y});var r=t(58168),a=(t(96540),t(15680));const l={},p=void 0,i={unversionedId:"study/encryption/OpenSSL",id:"study/encryption/OpenSSL",title:"OpenSSL",description:"OpenSSL \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5f00\u6e90\u5de5\u5177\u5305\uff0c\u4e3b\u8981\u7528\u4e8e\u52a0\u5bc6\u3001SSL/TLS \u534f\u8bae\u4ee5\u53ca\u4e0e\u5b89\u5168\u901a\u4fe1\u76f8\u5173\u7684\u5404\u79cd\u4efb\u52a1\u3002",source:"@site/docs/study/encryption/OpenSSL.md",sourceDirName:"study/encryption",slug:"/study/encryption/OpenSSL",permalink:"/docs/study/encryption/OpenSSL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"HSM",permalink:"/docs/study/encryption/HSM"},next:{title:"PKCS",permalink:"/docs/study/encryption/PKCS"}},o={},y=[],g={toc:y},u="wrapper";function s(e){let{components:n,...t}=e;return(0,a.yg)(u,(0,r.A)({},g,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"OpenSSL \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5f00\u6e90\u5de5\u5177\u5305\uff0c\u4e3b\u8981\u7528\u4e8e\u52a0\u5bc6\u3001SSL/TLS \u534f\u8bae\u4ee5\u53ca\u4e0e\u5b89\u5168\u901a\u4fe1\u76f8\u5173\u7684\u5404\u79cd\u4efb\u52a1\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.openssl.org/"},"https://www.openssl.org/")),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://github.com/openssl/openssl"},"https://github.com/openssl/openssl")),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u4e00\u3001\u4e3b\u8981\u529f\u80fd")),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"\u52a0\u5bc6\u548c\u89e3\u5bc6"),"\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u652f\u6301\u591a\u79cd\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5982\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff08AES\u3001DES \u7b49\uff09\u548c\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff08RSA\u3001DSA\u3001ECDSA \u7b49\uff09\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u5bf9\u6587\u4ef6\u3001\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\uff0c\u786e\u4fdd\u4fe1\u606f\u7684\u4fdd\u5bc6\u6027\u3002\u4f8b\u5982\uff0c\u4f7f\u7528 AES \u52a0\u5bc6\u4e00\u4e2a\u6587\u4ef6\uff1a",(0,a.yg)("inlineCode",{parentName:"li"},"openssl enc -aes-256-cbc -in input.txt -out encrypted.txt"),"\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"\u6570\u5b57\u7b7e\u540d\u548c\u9a8c\u8bc1"),"\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u7528\u4e8e\u751f\u6210\u548c\u9a8c\u8bc1\u6570\u5b57\u7b7e\u540d\uff0c\u786e\u4fdd\u6570\u636e\u7684\u5b8c\u6574\u6027\u548c\u771f\u5b9e\u6027\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u4f7f\u7528\u79c1\u94a5\u751f\u6210\u6570\u5b57\u7b7e\u540d\uff0c\u7136\u540e\u4f7f\u7528\u76f8\u5e94\u7684\u516c\u94a5\u8fdb\u884c\u9a8c\u8bc1\u3002\u4f8b\u5982\uff0c\u751f\u6210 RSA \u5bc6\u94a5\u5bf9\u5e76\u5bf9\u6587\u4ef6\u8fdb\u884c\u7b7e\u540d\uff1a",(0,a.yg)("inlineCode",{parentName:"li"},"openssl genrsa -out private.key 2048"),"\uff0c\u7136\u540e",(0,a.yg)("inlineCode",{parentName:"li"},"openssl rsautl -sign -inkey private.key -in input.txt -out signature.bin"),"\uff0c\u6700\u540e\u9a8c\u8bc1\u7b7e\u540d\uff1a",(0,a.yg)("inlineCode",{parentName:"li"},"openssl rsautl -verify -inkey public.key -in signature.bin -pubin"),"\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"SSL/TLS \u8bc1\u4e66\u7ba1\u7406"),"\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66\u548c\u8bc1\u4e66\u7b7e\u540d\u8bf7\u6c42\uff08CSR\uff09\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u7684 SSL/TLS \u8bc1\u4e66\uff0c\u4ee5\u786e\u4fdd\u5b89\u5168\u7684\u7f51\u7edc\u901a\u4fe1\u3002\u4f8b\u5982\uff0c\u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66\uff1a",(0,a.yg)("inlineCode",{parentName:"li"},"openssl req -new -x509 -days 365 -key private.key -out certificate.pem"),"\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"\u5bc6\u7801\u5b66\u64cd\u4f5c"),"\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u652f\u6301\u54c8\u5e0c\u51fd\u6570\uff0c\u5982 MD5\u3001SHA-1\u3001SHA-256 \u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u8fdb\u884c\u5bc6\u94a5\u751f\u6210\u3001\u5bc6\u94a5\u4ea4\u6362\u7b49\u64cd\u4f5c\u3002")))),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u4e8c\u3001\u5e94\u7528\u573a\u666f")),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"Web \u670d\u52a1\u5668\u5b89\u5168"),"\uff1a\u4e3a Web \u670d\u52a1\u5668\u914d\u7f6e SSL/TLS \u8bc1\u4e66\uff0c\u786e\u4fdd\u7528\u6237\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u5b89\u5168\u3002"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u6570\u636e\u5b89\u5168"),"\uff1a\u5728\u6570\u636e\u4f20\u8f93\u548c\u5b58\u50a8\u8fc7\u7a0b\u4e2d\uff0c\u4f7f\u7528\u52a0\u5bc6\u548c\u6570\u5b57\u7b7e\u540d\u6765\u4fdd\u62a4\u654f\u611f\u4fe1\u606f\u3002"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u8f6f\u4ef6\u5f00\u53d1"),"\uff1a\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u96c6\u6210\u52a0\u5bc6\u529f\u80fd\uff0c\u4ee5\u63d0\u9ad8\u8f6f\u4ef6\u7684\u5b89\u5168\u6027\u3002"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u7f51\u7edc\u5b89\u5168"),"\uff1a\u7528\u4e8e\u5206\u6790\u548c\u6d4b\u8bd5\u7f51\u7edc\u901a\u4fe1\u7684\u5b89\u5168\u6027\uff0c\u68c0\u6d4b\u6f5c\u5728\u7684\u6f0f\u6d1e\u3002")),(0,a.yg)("p",null,"\u603b\u4e4b\uff0cOpenSSL \u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u5b89\u5168\u5de5\u5177\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u9886\u57df\uff0c\u4e3a\u4fdd\u62a4\u4fe1\u606f\u5b89\u5168\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u652f\u6301\u3002\ud83d\ude03"),(0,a.yg)("p",null,"OpenSSL\u6709\u4ee5\u4e0b\u4e00\u4e9b\u4e3b\u8981\u7248\u672c\u53ca\u5176\u7279\u6027\uff1a"),(0,a.yg)("p",null,"\u53ef\u4ee5\u4f7f\u7528",(0,a.yg)("inlineCode",{parentName:"p"},"openssl version"),"\u67e5\u770b\u5b89\u88c5\u7684\u7248\u672c"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 0.9.x \u7cfb\u5217"),"\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u8fd9\u662f\u65e9\u671f\u7684\u7248\u672c\u7cfb\u5217\uff0c\u4ece1998\u5e74\u5f00\u59cb\u3002\u5bf9SSL 2.0\u3001SSL 3.0\u4ee5\u53caTLS 1.0\u90fd\u6709\u652f\u6301\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u63d0\u4f9b\u4e86\u57fa\u672c\u7684\u5bc6\u7801\u5b66\u529f\u80fd\uff0c\u5305\u62ec\u591a\u79cd\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff08\u5982DES\u3001RC4\u7b49\uff09\u3001\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff08\u5982RSA\u3001DH\u7b49\uff09\u4ee5\u53ca\u4fe1\u606f\u6458\u8981\u7b97\u6cd5\uff08\u5982MD5\u7b49\uff09\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u4e3a\u540e\u7eed\u7248\u672c\u7684\u53d1\u5c55\u5960\u5b9a\u4e86\u57fa\u7840\uff0c\u4f46\u5728\u529f\u80fd\u548c\u5b89\u5168\u6027\u4e0a\u76f8\u5bf9\u8f83\u65e9\u671f\u548c\u57fa\u7840\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.0.x \u7cfb\u5217"),"\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.0.0"),"\uff1a\u88ab\u8bb8\u591aLinux\u7cfb\u7edf\u91c7\u7528\uff0c\u63d0\u4f9b\u4e86\u4e00\u4e9b\u786c\u4ef6\u52a0\u901f\u7684\u529f\u80fd\uff0c\u80fd\u591f\u52a0\u5feb\u52a0\u5bc6\u548c\u89e3\u5bc6\u7684\u901f\u5ea6\uff0c\u5bf9\u4e8e\u4e00\u4e9b\u5bf9\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\u7684\u5e94\u7528\u6bd4\u8f83\u91cd\u8981\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.0.1"),"\uff1a\u662f\u4e00\u4e2a\u4f7f\u7528\u8f83\u4e3a\u5e7f\u6cdb\u7684\u7248\u672c\uff0c\u4f46\u57282014\u5e74\u53d1\u73b0\u4e86\u4e25\u91cd\u7684\u5b89\u5168\u6f0f\u6d1e\u201c\u5fc3\u810f\u6ef4\u8840\uff08Heartbleed\uff09\u201d\uff0c\u8be5\u6f0f\u6d1e\u5f71\u54cd\u4e86\u6b64\u7248\u672c\u53ca\u4e4b\u524d\u7684\u90e8\u5206\u7248\u672c\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.0.2"),"\uff1a\u4fee\u590d\u4e86\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u7684\u4e00\u4e9b\u6f0f\u6d1e\u548c\u5b89\u5168\u95ee\u9898\uff0c\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u9632\u62a4\u80fd\u529b\u3002\u5728\u52a0\u5bc6\u7b97\u6cd5\u548c\u5904\u7406\u6548\u7387\u4e0a\u6709\u6240\u6539\u8fdb\uff0c\u589e\u52a0\u4e86\u4e00\u4e9b\u65b0\u7684\u52a0\u5bc6\u7b97\u6cd5\u548c\u534f\u8bae\u652f\u6301\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u66f4\u52a0\u591a\u6837\u5316\u548c\u7075\u6d3b\u7684\u9009\u9879\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.1.1 \u7cfb\u5217"),"\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5bf9\u4e4b\u524d\u7684\u7248\u672c\u8fdb\u884c\u4e86\u6539\u8fdb\u548c\u4f18\u5316\uff0c\u5728\u6027\u80fd\u548c\u5b89\u5168\u6027\u65b9\u9762\u90fd\u6709\u63d0\u5347\u3002\u62e5\u6709\u66f4\u591a\u7684\u6587\u6863\u548c\u7ecf\u8fc7\u6d4b\u8bd5\u7684\u4ee3\u7801\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5f15\u5165\u4e86\u63d0\u4f9b\u8005\uff08Provider\uff09\u6982\u5ff5\uff0c\u63d0\u4f9b\u8005\u805a\u96c6\u5728\u4e00\u8d77\u5e76\u63d0\u4f9b\u53ef\u7528\u7684\u7b97\u6cd5\u5b9e\u73b0\uff0c\u7528\u6237\u53ef\u4ee5\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u6216\u901a\u8fc7\u914d\u7f6e\u6587\u4ef6\u6307\u5b9a\u5e0c\u671b\u7528\u4e8e\u4efb\u4f55\u7ed9\u5b9a\u5e94\u7528\u7a0b\u5e8f\u7684\u63d0\u4f9b\u7a0b\u5e8f\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5f03\u7528\u4e86\u4e00\u4e9b\u4e0d\u5b89\u5168\u6216\u8fc7\u65f6\u7684\u7b97\u6cd5\u548c\u51fd\u6570\uff0c\u5982MD2\u3001DES\u7b49\u52a0\u5bc6\u7b97\u6cd5\u88ab\u89c6\u4e3a\u9057\u7559\u7b97\u6cd5\uff0c\u5f3a\u70c8\u5efa\u8bae\u4e0d\u8981\u4f7f\u7528\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 3.0 \u7cfb\u5217"),"\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u7ecf\u8fc7\u957f\u65f6\u95f4\u7684\u5f00\u53d1\u548c\u8fed\u4ee3\u63a8\u51fa\uff0c\u662f\u4e00\u4e2a\u4e3b\u8981\u7248\u672c\u3002\u5927\u90e8\u5206\u4f7f\u7528OpenSSL 1.1.1\u7684\u5e94\u7528\u7a0b\u5e8f\u81f3\u5c11\u9700\u8981\u91cd\u65b0\u7f16\u8bd1\u624d\u80fd\u4f7f\u7528\u8be5\u7248\u672c\uff0c\u4f46\u5927\u591a\u6570\u5e94\u7528\u7a0b\u5e8f\u5728\u91cd\u65b0\u7f16\u8bd1\u540e\u80fd\u57fa\u672c\u4fdd\u6301\u6b63\u5e38\u5de5\u4f5c\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u91c7\u7528\u4e86Apache License v2\u8bb8\u53ef\u8bc1\uff0c\u53d6\u4ee3\u4e86\u4e4b\u524d\u7684\u53cc\u91cdOpenSSL\u548cSSLeay\u8bb8\u53ef\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6807\u914d5\u4e2a\u4e0d\u540c\u7684\u63d0\u4f9b\u7a0b\u5e8f\uff0c\u5176\u4e2d\u5305\u62ecFIPS\u63d0\u4f9b\u7a0b\u5e8f\uff08FIPS\u9a8c\u8bc1\u7684\u52a0\u5bc6\u7b97\u6cd5\uff09\uff0c\u4f46\u9ed8\u8ba4\u5904\u4e8e\u7981\u7528\u72b6\u6001\uff0c\u9700\u8981\u663e\u5f0f\u542f\u7528\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5f03\u7528\u4e86\u6240\u6709\u4f4e\u7ea7API\uff0c\u5f3a\u70c8\u5efa\u8bae\u7528\u6237\u66f4\u65b0\u4ee3\u7801\u4ee5\u4f7f\u7528\u9ad8\u7ea7API\uff0c\u56e0\u4e3a\u4e0d\u63a8\u8350\u4f7f\u7528\u7684API\u53ef\u80fd\u4f1a\u4ece\u672a\u6765\u7248\u672c\u4e2d\u5220\u9664\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5f15\u5165\u4e86\u8bb8\u591a\u65b0\u6982\u5ff5\uff0c\u5982\u591a\u7ebf\u7a0b\u5e94\u7528\u3001\u7b97\u6cd5\u83b7\u53d6\u3001\u7f16\u7801\u548c\u89e3\u7801\u5bc6\u94a5\u7b49\uff0c\u5728\u529f\u80fd\u548c\u5b89\u5168\u6027\u4e0a\u6709\u4e86\u8fdb\u4e00\u6b65\u7684\u63d0\u5347\u3002")))),(0,a.yg)("p",null,"\u76ee\u524d\uff0cOpenSSL 3.0\u53ca\u4ee5\u4e0a\u7248\u672c\u662f\u63a8\u8350\u4f7f\u7528\u7684\u7248\u672c\uff0c\u65e7\u7248\u672c\uff08\u59821.0.x\u53ca\u66f4\u65e9\u7248\u672c\uff09\u5df2\u7ecf\u4e0d\u518d\u53d7\u652f\u6301\u6216\u5b58\u5728\u5b89\u5168\u98ce\u9669\u3002\u7528\u6237\u5e94\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u548c\u5e94\u7528\u573a\u666f\u9009\u62e9\u5408\u9002\u7684OpenSSL\u7248\u672c\uff0c\u5e76\u53ca\u65f6\u8fdb\u884c\u5347\u7ea7\u4ee5\u4fdd\u8bc1\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1187],{15680:(e,n,t)=>{t.d(n,{xA:()=>g,yg:()=>c});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var o=r.createContext({}),y=function(e){var n=r.useContext(o),t=n;return e&&(t="function"==typeof e?e(n):p(p({},n),e)),t},g=function(e){var n=y(e.components);return r.createElement(o.Provider,{value:n},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},m=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,l=e.originalType,o=e.parentName,g=i(e,["components","mdxType","originalType","parentName"]),u=y(t),m=a,c=u["".concat(o,".").concat(m)]||u[m]||s[m]||l;return t?r.createElement(c,p(p({ref:n},g),{},{components:t})):r.createElement(c,p({ref:n},g))}));function c(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var l=t.length,p=new Array(l);p[0]=m;var i={};for(var o in n)hasOwnProperty.call(n,o)&&(i[o]=n[o]);i.originalType=e,i[u]="string"==typeof e?e:a,p[1]=i;for(var y=2;y{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>p,default:()=>s,frontMatter:()=>l,metadata:()=>i,toc:()=>y});var r=t(58168),a=(t(96540),t(15680));const l={},p=void 0,i={unversionedId:"study/encryption/OpenSSL",id:"study/encryption/OpenSSL",title:"OpenSSL",description:"OpenSSL \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5f00\u6e90\u5de5\u5177\u5305\uff0c\u4e3b\u8981\u7528\u4e8e\u52a0\u5bc6\u3001SSL/TLS \u534f\u8bae\u4ee5\u53ca\u4e0e\u5b89\u5168\u901a\u4fe1\u76f8\u5173\u7684\u5404\u79cd\u4efb\u52a1\u3002",source:"@site/docs/study/encryption/OpenSSL.md",sourceDirName:"study/encryption",slug:"/study/encryption/OpenSSL",permalink:"/docs/study/encryption/OpenSSL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"HSM",permalink:"/docs/study/encryption/HSM"},next:{title:"PKCS",permalink:"/docs/study/encryption/PKCS"}},o={},y=[],g={toc:y},u="wrapper";function s(e){let{components:n,...t}=e;return(0,a.yg)(u,(0,r.A)({},g,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"OpenSSL \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5f00\u6e90\u5de5\u5177\u5305\uff0c\u4e3b\u8981\u7528\u4e8e\u52a0\u5bc6\u3001SSL/TLS \u534f\u8bae\u4ee5\u53ca\u4e0e\u5b89\u5168\u901a\u4fe1\u76f8\u5173\u7684\u5404\u79cd\u4efb\u52a1\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.openssl.org/"},"https://www.openssl.org/")),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://github.com/openssl/openssl"},"https://github.com/openssl/openssl")),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u4e00\u3001\u4e3b\u8981\u529f\u80fd")),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"\u52a0\u5bc6\u548c\u89e3\u5bc6"),"\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u652f\u6301\u591a\u79cd\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5982\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff08AES\u3001DES \u7b49\uff09\u548c\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff08RSA\u3001DSA\u3001ECDSA \u7b49\uff09\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u5bf9\u6587\u4ef6\u3001\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\uff0c\u786e\u4fdd\u4fe1\u606f\u7684\u4fdd\u5bc6\u6027\u3002\u4f8b\u5982\uff0c\u4f7f\u7528 AES \u52a0\u5bc6\u4e00\u4e2a\u6587\u4ef6\uff1a",(0,a.yg)("inlineCode",{parentName:"li"},"openssl enc -aes-256-cbc -in input.txt -out encrypted.txt"),"\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"\u6570\u5b57\u7b7e\u540d\u548c\u9a8c\u8bc1"),"\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u7528\u4e8e\u751f\u6210\u548c\u9a8c\u8bc1\u6570\u5b57\u7b7e\u540d\uff0c\u786e\u4fdd\u6570\u636e\u7684\u5b8c\u6574\u6027\u548c\u771f\u5b9e\u6027\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u4f7f\u7528\u79c1\u94a5\u751f\u6210\u6570\u5b57\u7b7e\u540d\uff0c\u7136\u540e\u4f7f\u7528\u76f8\u5e94\u7684\u516c\u94a5\u8fdb\u884c\u9a8c\u8bc1\u3002\u4f8b\u5982\uff0c\u751f\u6210 RSA \u5bc6\u94a5\u5bf9\u5e76\u5bf9\u6587\u4ef6\u8fdb\u884c\u7b7e\u540d\uff1a",(0,a.yg)("inlineCode",{parentName:"li"},"openssl genrsa -out private.key 2048"),"\uff0c\u7136\u540e",(0,a.yg)("inlineCode",{parentName:"li"},"openssl rsautl -sign -inkey private.key -in input.txt -out signature.bin"),"\uff0c\u6700\u540e\u9a8c\u8bc1\u7b7e\u540d\uff1a",(0,a.yg)("inlineCode",{parentName:"li"},"openssl rsautl -verify -inkey public.key -in signature.bin -pubin"),"\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"SSL/TLS \u8bc1\u4e66\u7ba1\u7406"),"\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66\u548c\u8bc1\u4e66\u7b7e\u540d\u8bf7\u6c42\uff08CSR\uff09\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u7684 SSL/TLS \u8bc1\u4e66\uff0c\u4ee5\u786e\u4fdd\u5b89\u5168\u7684\u7f51\u7edc\u901a\u4fe1\u3002\u4f8b\u5982\uff0c\u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66\uff1a",(0,a.yg)("inlineCode",{parentName:"li"},"openssl req -new -x509 -days 365 -key private.key -out certificate.pem"),"\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"\u5bc6\u7801\u5b66\u64cd\u4f5c"),"\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u652f\u6301\u54c8\u5e0c\u51fd\u6570\uff0c\u5982 MD5\u3001SHA-1\u3001SHA-256 \u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u8fdb\u884c\u5bc6\u94a5\u751f\u6210\u3001\u5bc6\u94a5\u4ea4\u6362\u7b49\u64cd\u4f5c\u3002")))),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u4e8c\u3001\u5e94\u7528\u573a\u666f")),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"Web \u670d\u52a1\u5668\u5b89\u5168"),"\uff1a\u4e3a Web \u670d\u52a1\u5668\u914d\u7f6e SSL/TLS \u8bc1\u4e66\uff0c\u786e\u4fdd\u7528\u6237\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u5b89\u5168\u3002"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u6570\u636e\u5b89\u5168"),"\uff1a\u5728\u6570\u636e\u4f20\u8f93\u548c\u5b58\u50a8\u8fc7\u7a0b\u4e2d\uff0c\u4f7f\u7528\u52a0\u5bc6\u548c\u6570\u5b57\u7b7e\u540d\u6765\u4fdd\u62a4\u654f\u611f\u4fe1\u606f\u3002"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u8f6f\u4ef6\u5f00\u53d1"),"\uff1a\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u96c6\u6210\u52a0\u5bc6\u529f\u80fd\uff0c\u4ee5\u63d0\u9ad8\u8f6f\u4ef6\u7684\u5b89\u5168\u6027\u3002"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u7f51\u7edc\u5b89\u5168"),"\uff1a\u7528\u4e8e\u5206\u6790\u548c\u6d4b\u8bd5\u7f51\u7edc\u901a\u4fe1\u7684\u5b89\u5168\u6027\uff0c\u68c0\u6d4b\u6f5c\u5728\u7684\u6f0f\u6d1e\u3002")),(0,a.yg)("p",null,"\u603b\u4e4b\uff0cOpenSSL \u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u5b89\u5168\u5de5\u5177\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u9886\u57df\uff0c\u4e3a\u4fdd\u62a4\u4fe1\u606f\u5b89\u5168\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u652f\u6301\u3002\ud83d\ude03"),(0,a.yg)("p",null,"OpenSSL\u6709\u4ee5\u4e0b\u4e00\u4e9b\u4e3b\u8981\u7248\u672c\u53ca\u5176\u7279\u6027\uff1a"),(0,a.yg)("p",null,"\u53ef\u4ee5\u4f7f\u7528",(0,a.yg)("inlineCode",{parentName:"p"},"openssl version"),"\u67e5\u770b\u5b89\u88c5\u7684\u7248\u672c"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 0.9.x \u7cfb\u5217"),"\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u8fd9\u662f\u65e9\u671f\u7684\u7248\u672c\u7cfb\u5217\uff0c\u4ece1998\u5e74\u5f00\u59cb\u3002\u5bf9SSL 2.0\u3001SSL 3.0\u4ee5\u53caTLS 1.0\u90fd\u6709\u652f\u6301\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u63d0\u4f9b\u4e86\u57fa\u672c\u7684\u5bc6\u7801\u5b66\u529f\u80fd\uff0c\u5305\u62ec\u591a\u79cd\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff08\u5982DES\u3001RC4\u7b49\uff09\u3001\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff08\u5982RSA\u3001DH\u7b49\uff09\u4ee5\u53ca\u4fe1\u606f\u6458\u8981\u7b97\u6cd5\uff08\u5982MD5\u7b49\uff09\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u4e3a\u540e\u7eed\u7248\u672c\u7684\u53d1\u5c55\u5960\u5b9a\u4e86\u57fa\u7840\uff0c\u4f46\u5728\u529f\u80fd\u548c\u5b89\u5168\u6027\u4e0a\u76f8\u5bf9\u8f83\u65e9\u671f\u548c\u57fa\u7840\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.0.x \u7cfb\u5217"),"\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.0.0"),"\uff1a\u88ab\u8bb8\u591aLinux\u7cfb\u7edf\u91c7\u7528\uff0c\u63d0\u4f9b\u4e86\u4e00\u4e9b\u786c\u4ef6\u52a0\u901f\u7684\u529f\u80fd\uff0c\u80fd\u591f\u52a0\u5feb\u52a0\u5bc6\u548c\u89e3\u5bc6\u7684\u901f\u5ea6\uff0c\u5bf9\u4e8e\u4e00\u4e9b\u5bf9\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\u7684\u5e94\u7528\u6bd4\u8f83\u91cd\u8981\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.0.1"),"\uff1a\u662f\u4e00\u4e2a\u4f7f\u7528\u8f83\u4e3a\u5e7f\u6cdb\u7684\u7248\u672c\uff0c\u4f46\u57282014\u5e74\u53d1\u73b0\u4e86\u4e25\u91cd\u7684\u5b89\u5168\u6f0f\u6d1e\u201c\u5fc3\u810f\u6ef4\u8840\uff08Heartbleed\uff09\u201d\uff0c\u8be5\u6f0f\u6d1e\u5f71\u54cd\u4e86\u6b64\u7248\u672c\u53ca\u4e4b\u524d\u7684\u90e8\u5206\u7248\u672c\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.0.2"),"\uff1a\u4fee\u590d\u4e86\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u7684\u4e00\u4e9b\u6f0f\u6d1e\u548c\u5b89\u5168\u95ee\u9898\uff0c\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u9632\u62a4\u80fd\u529b\u3002\u5728\u52a0\u5bc6\u7b97\u6cd5\u548c\u5904\u7406\u6548\u7387\u4e0a\u6709\u6240\u6539\u8fdb\uff0c\u589e\u52a0\u4e86\u4e00\u4e9b\u65b0\u7684\u52a0\u5bc6\u7b97\u6cd5\u548c\u534f\u8bae\u652f\u6301\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u66f4\u52a0\u591a\u6837\u5316\u548c\u7075\u6d3b\u7684\u9009\u9879\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 1.1.1 \u7cfb\u5217"),"\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5bf9\u4e4b\u524d\u7684\u7248\u672c\u8fdb\u884c\u4e86\u6539\u8fdb\u548c\u4f18\u5316\uff0c\u5728\u6027\u80fd\u548c\u5b89\u5168\u6027\u65b9\u9762\u90fd\u6709\u63d0\u5347\u3002\u62e5\u6709\u66f4\u591a\u7684\u6587\u6863\u548c\u7ecf\u8fc7\u6d4b\u8bd5\u7684\u4ee3\u7801\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5f15\u5165\u4e86\u63d0\u4f9b\u8005\uff08Provider\uff09\u6982\u5ff5\uff0c\u63d0\u4f9b\u8005\u805a\u96c6\u5728\u4e00\u8d77\u5e76\u63d0\u4f9b\u53ef\u7528\u7684\u7b97\u6cd5\u5b9e\u73b0\uff0c\u7528\u6237\u53ef\u4ee5\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u6216\u901a\u8fc7\u914d\u7f6e\u6587\u4ef6\u6307\u5b9a\u5e0c\u671b\u7528\u4e8e\u4efb\u4f55\u7ed9\u5b9a\u5e94\u7528\u7a0b\u5e8f\u7684\u63d0\u4f9b\u7a0b\u5e8f\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5f03\u7528\u4e86\u4e00\u4e9b\u4e0d\u5b89\u5168\u6216\u8fc7\u65f6\u7684\u7b97\u6cd5\u548c\u51fd\u6570\uff0c\u5982MD2\u3001DES\u7b49\u52a0\u5bc6\u7b97\u6cd5\u88ab\u89c6\u4e3a\u9057\u7559\u7b97\u6cd5\uff0c\u5f3a\u70c8\u5efa\u8bae\u4e0d\u8981\u4f7f\u7528\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"OpenSSL 3.0 \u7cfb\u5217"),"\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u7ecf\u8fc7\u957f\u65f6\u95f4\u7684\u5f00\u53d1\u548c\u8fed\u4ee3\u63a8\u51fa\uff0c\u662f\u4e00\u4e2a\u4e3b\u8981\u7248\u672c\u3002\u5927\u90e8\u5206\u4f7f\u7528OpenSSL 1.1.1\u7684\u5e94\u7528\u7a0b\u5e8f\u81f3\u5c11\u9700\u8981\u91cd\u65b0\u7f16\u8bd1\u624d\u80fd\u4f7f\u7528\u8be5\u7248\u672c\uff0c\u4f46\u5927\u591a\u6570\u5e94\u7528\u7a0b\u5e8f\u5728\u91cd\u65b0\u7f16\u8bd1\u540e\u80fd\u57fa\u672c\u4fdd\u6301\u6b63\u5e38\u5de5\u4f5c\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u91c7\u7528\u4e86Apache License v2\u8bb8\u53ef\u8bc1\uff0c\u53d6\u4ee3\u4e86\u4e4b\u524d\u7684\u53cc\u91cdOpenSSL\u548cSSLeay\u8bb8\u53ef\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6807\u914d5\u4e2a\u4e0d\u540c\u7684\u63d0\u4f9b\u7a0b\u5e8f\uff0c\u5176\u4e2d\u5305\u62ecFIPS\u63d0\u4f9b\u7a0b\u5e8f\uff08FIPS\u9a8c\u8bc1\u7684\u52a0\u5bc6\u7b97\u6cd5\uff09\uff0c\u4f46\u9ed8\u8ba4\u5904\u4e8e\u7981\u7528\u72b6\u6001\uff0c\u9700\u8981\u663e\u5f0f\u542f\u7528\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5f03\u7528\u4e86\u6240\u6709\u4f4e\u7ea7API\uff0c\u5f3a\u70c8\u5efa\u8bae\u7528\u6237\u66f4\u65b0\u4ee3\u7801\u4ee5\u4f7f\u7528\u9ad8\u7ea7API\uff0c\u56e0\u4e3a\u4e0d\u63a8\u8350\u4f7f\u7528\u7684API\u53ef\u80fd\u4f1a\u4ece\u672a\u6765\u7248\u672c\u4e2d\u5220\u9664\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5f15\u5165\u4e86\u8bb8\u591a\u65b0\u6982\u5ff5\uff0c\u5982\u591a\u7ebf\u7a0b\u5e94\u7528\u3001\u7b97\u6cd5\u83b7\u53d6\u3001\u7f16\u7801\u548c\u89e3\u7801\u5bc6\u94a5\u7b49\uff0c\u5728\u529f\u80fd\u548c\u5b89\u5168\u6027\u4e0a\u6709\u4e86\u8fdb\u4e00\u6b65\u7684\u63d0\u5347\u3002")))),(0,a.yg)("p",null,"\u76ee\u524d\uff0cOpenSSL 3.0\u53ca\u4ee5\u4e0a\u7248\u672c\u662f\u63a8\u8350\u4f7f\u7528\u7684\u7248\u672c\uff0c\u65e7\u7248\u672c\uff08\u59821.0.x\u53ca\u66f4\u65e9\u7248\u672c\uff09\u5df2\u7ecf\u4e0d\u518d\u53d7\u652f\u6301\u6216\u5b58\u5728\u5b89\u5168\u98ce\u9669\u3002\u7528\u6237\u5e94\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u548c\u5e94\u7528\u573a\u666f\u9009\u62e9\u5408\u9002\u7684OpenSSL\u7248\u672c\uff0c\u5e76\u53ca\u65f6\u8fdb\u884c\u5347\u7ea7\u4ee5\u4fdd\u8bc1\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/04cddcee.ee58c8ee.js b/assets/js/04cddcee.8695277a.js similarity index 99% rename from assets/js/04cddcee.ee58c8ee.js rename to assets/js/04cddcee.8695277a.js index 8acce7f4d..5943e7f99 100644 --- a/assets/js/04cddcee.ee58c8ee.js +++ b/assets/js/04cddcee.8695277a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4003],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),s=c(r),m=a,d=s["".concat(p,".").concat(m)]||s[m]||y[m]||l;return r?n.createElement(d,i(i({ref:t},u),{},{components:r})):n.createElement(d,i({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,i=new Array(l);i[0]=m;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[s]="string"==typeof e?e:a,i[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>y,frontMatter:()=>l,metadata:()=>o,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const l={},i=void 0,o={unversionedId:"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93",id:"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93",title:"C\u8bed\u8a00\u6807\u51c6\u5e93",description:"C \u8bed\u8a00\u6807\u51c6\u5e93",source:"@site/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93.md",sourceDirName:"study/program/C",slug:"/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93",permalink:"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C C++ \u7f16\u7a0b\u8bed\u8a00",permalink:"/docs/study/program/C/"},next:{title:"C\u8bed\u8a00\u7248\u672c",permalink:"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c"}},p={},c=[{value:"C \u8bed\u8a00\u6807\u51c6\u5e93",id:"c-\u8bed\u8a00\u6807\u51c6\u5e93",level:3},{value:"C \u8bed\u8a00\u6709\u591a\u5c11\u4e2a\u6807\u51c6\u5934\u6587\u4ef6\u5462\u5462\uff1f",id:"c-\u8bed\u8a00\u6709\u591a\u5c11\u4e2a\u6807\u51c6\u5934\u6587\u4ef6\u5462\u5462",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"c-\u8bed\u8a00\u6807\u51c6\u5e93"},"C \u8bed\u8a00\u6807\u51c6\u5e93"),(0,a.yg)("p",null,"C \u8bed\u8a00\u6807\u51c6\u5e93\u662f\u4e00\u7ec4\u9884\u5b9a\u4e49\u51fd\u6570\u3001\u5b8f\u548c\u6587\u4ef6\u7684\u96c6\u5408\uff0c\u8fd9\u4e9b\u51fd\u6570\u548c\u6587\u4ef6\u63d0\u4f9b\u4e86\u4e00\u4e9b\u57fa\u672c\u7684\u529f\u80fd\u548c\u64cd\u4f5c\uff0c\u53ef\u4f9b C \u8bed\u8a00\u7a0b\u5e8f\u4f7f\u7528\u3002C \u8bed\u8a00\u6807\u51c6\u5e93\u7531 C \u8bed\u8a00\u7684\u5236\u5b9a\u8005\u5b9a\u4e49\uff0c\u5e76\u5305\u542b\u5728 C \u8bed\u8a00\u7684\u7f16\u8bd1\u5668\u4e2d\u3002"),(0,a.yg)("p",null,"C \u8bed\u8a00\u6ca1\u6709\u5b98\u65b9\u7f51\u7ad9\uff0cISO \u7684\u5b98\u65b9\u7f51\u7ad9\u548c ANSI \u7684\u7f51\u7ad9\uff0c\u63d0\u4f9b\u4e86 C \u8bed\u8a00\u6807\u51c6\u7684\u76f8\u5173\u4fe1\u606f\u3002"),(0,a.yg)("p",null,"\u4e0d\u540c\u7f16\u8bd1\u5668\u5bf9 C \u8bed\u8a00\u6807\u51c6\u7684\u652f\u6301\u7a0b\u5ea6\u662f\u4e0d\u540c\uff0c\u5728\u8fdb\u884c\u5f00\u53d1\u7684\u65f6\u5019\uff0c\u4e0d\u4ec5\u8981\u9009\u62e9\u9002\u5f53\u7684\u7f16\u8bd1\u5668\uff0c\u53ef\u80fd\u8fd8\u9700\u8981\u624b\u52a8\u6307\u5b9a C \u8bed\u8a00\u6807\u51c6\u3002"),(0,a.yg)("h3",{id:"c-\u8bed\u8a00\u6709\u591a\u5c11\u4e2a\u6807\u51c6\u5934\u6587\u4ef6\u5462\u5462"},"C \u8bed\u8a00\u6709\u591a\u5c11\u4e2a\u6807\u51c6\u5934\u6587\u4ef6\u5462\u5462\uff1f"),(0,a.yg)("p",null,"\u4e0d\u786e\u5b9a\uff1a\u8fd9\u548c\u7f16\u8bd1\u5668\u3001\u7f16\u8bd1\u5668\u7684\u7248\u672c\u548c\u914d\u7f6e\u6709\u5173\u3002"),(0,a.yg)("p",null,"\u5e38\u7528\u7684 C \u8bed\u8a00\u6807\u51c6\u5e93\u6709\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"stdio.h\uff1a\u63d0\u4f9b\u8f93\u5165\u8f93\u51fa\u51fd\u6570\uff0c\u5982 printf()\u548c scanf()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"stdlib.h\uff1a\u63d0\u4f9b\u901a\u7528\u5de5\u5177\u51fd\u6570\uff0c\u5982 malloc()\u548c free()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"string.h\uff1a\u63d0\u4f9b\u5b57\u7b26\u4e32\u5904\u7406\u51fd\u6570\uff0c\u5982 strcpy()\u548c strcat()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"math.h\uff1a\u63d0\u4f9b\u6570\u5b66\u51fd\u6570\uff0c\u5982 sin()\u548c cos()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"time.h\uff1a\u63d0\u4f9b\u65f6\u95f4\u5904\u7406\u51fd\u6570\uff0c\u5982 time()\u548c clock()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"ctype.h\uff1a\u63d0\u4f9b\u5b57\u7b26\u5904\u7406\u51fd\u6570\uff0c\u5982 isalpha()\u548c isdigit()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"assert.h\uff1a\u63d0\u4f9b\u65ad\u8a00\u5b8f\uff0c\u7528\u4e8e\u8c03\u8bd5\u7a0b\u5e8f\u3002"),(0,a.yg)("li",{parentName:"ul"},"stdarg.h\uff1a\u63d0\u4f9b\u53ef\u53d8\u53c2\u6570\u5217\u8868\u7684\u51fd\u6570\uff0c\u5982 printf()\u548c scanf()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"errno.h\uff1a\u63d0\u4f9b\u9519\u8bef\u7801\u5b8f\uff0c\u7528\u4e8e\u6807\u8bc6\u9519\u8bef\u7c7b\u578b\u3002"),(0,a.yg)("li",{parentName:"ul"},"setjmp.h\uff1a\u63d0\u4f9b\u975e\u5c40\u90e8\u8df3\u8f6c\u51fd\u6570\uff0c\u5982 setjmp()\u548c longjmp()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"signal.h\uff1a\u63d0\u4f9b\u4fe1\u53f7\u5904\u7406\u51fd\u6570\uff0c\u5982 signal()\u548c raise()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"locale.h\uff1a\u63d0\u4f9b\u672c\u5730\u5316\u5904\u7406\u51fd\u6570\uff0c\u5982 setlocale()\u548c localeconv()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"float.h\uff1a\u63d0\u4f9b\u6d6e\u70b9\u6570\u5904\u7406\u5b8f\uff0c\u5982 FLT_DIG \u548c DBL_MAX \u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"limits.h\uff1a\u63d0\u4f9b\u6574\u6570\u5904\u7406\u5b8f\uff0c\u5982 INT_MAX \u548c LONG_MAX \u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"stddef.h\uff1a\u63d0\u4f9b\u57fa\u672c\u7c7b\u578b\u5b9a\u4e49\uff0c\u5982 size_t \u548c ptrdiff_t \u7b49\u3002")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_43764974/article/details/130892554"},"CSDN-C \u8bed\u8a00\u6807\u51c6\u5e93\u3001Windows \u4e0e Linux \u5e73\u53f0\u4e0b\u5e38\u7528\u7684 C \u8bed\u8a00\u6807\u51c6\u5e93"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4003],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),s=c(r),m=a,d=s["".concat(p,".").concat(m)]||s[m]||y[m]||l;return r?n.createElement(d,i(i({ref:t},u),{},{components:r})):n.createElement(d,i({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,i=new Array(l);i[0]=m;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[s]="string"==typeof e?e:a,i[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>y,frontMatter:()=>l,metadata:()=>o,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const l={},i=void 0,o={unversionedId:"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93",id:"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93",title:"C\u8bed\u8a00\u6807\u51c6\u5e93",description:"C \u8bed\u8a00\u6807\u51c6\u5e93",source:"@site/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93.md",sourceDirName:"study/program/C",slug:"/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93",permalink:"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C C++ \u7f16\u7a0b\u8bed\u8a00",permalink:"/docs/study/program/C/"},next:{title:"C\u8bed\u8a00\u7248\u672c",permalink:"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c"}},p={},c=[{value:"C \u8bed\u8a00\u6807\u51c6\u5e93",id:"c-\u8bed\u8a00\u6807\u51c6\u5e93",level:3},{value:"C \u8bed\u8a00\u6709\u591a\u5c11\u4e2a\u6807\u51c6\u5934\u6587\u4ef6\u5462\u5462\uff1f",id:"c-\u8bed\u8a00\u6709\u591a\u5c11\u4e2a\u6807\u51c6\u5934\u6587\u4ef6\u5462\u5462",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"c-\u8bed\u8a00\u6807\u51c6\u5e93"},"C \u8bed\u8a00\u6807\u51c6\u5e93"),(0,a.yg)("p",null,"C \u8bed\u8a00\u6807\u51c6\u5e93\u662f\u4e00\u7ec4\u9884\u5b9a\u4e49\u51fd\u6570\u3001\u5b8f\u548c\u6587\u4ef6\u7684\u96c6\u5408\uff0c\u8fd9\u4e9b\u51fd\u6570\u548c\u6587\u4ef6\u63d0\u4f9b\u4e86\u4e00\u4e9b\u57fa\u672c\u7684\u529f\u80fd\u548c\u64cd\u4f5c\uff0c\u53ef\u4f9b C \u8bed\u8a00\u7a0b\u5e8f\u4f7f\u7528\u3002C \u8bed\u8a00\u6807\u51c6\u5e93\u7531 C \u8bed\u8a00\u7684\u5236\u5b9a\u8005\u5b9a\u4e49\uff0c\u5e76\u5305\u542b\u5728 C \u8bed\u8a00\u7684\u7f16\u8bd1\u5668\u4e2d\u3002"),(0,a.yg)("p",null,"C \u8bed\u8a00\u6ca1\u6709\u5b98\u65b9\u7f51\u7ad9\uff0cISO \u7684\u5b98\u65b9\u7f51\u7ad9\u548c ANSI \u7684\u7f51\u7ad9\uff0c\u63d0\u4f9b\u4e86 C \u8bed\u8a00\u6807\u51c6\u7684\u76f8\u5173\u4fe1\u606f\u3002"),(0,a.yg)("p",null,"\u4e0d\u540c\u7f16\u8bd1\u5668\u5bf9 C \u8bed\u8a00\u6807\u51c6\u7684\u652f\u6301\u7a0b\u5ea6\u662f\u4e0d\u540c\uff0c\u5728\u8fdb\u884c\u5f00\u53d1\u7684\u65f6\u5019\uff0c\u4e0d\u4ec5\u8981\u9009\u62e9\u9002\u5f53\u7684\u7f16\u8bd1\u5668\uff0c\u53ef\u80fd\u8fd8\u9700\u8981\u624b\u52a8\u6307\u5b9a C \u8bed\u8a00\u6807\u51c6\u3002"),(0,a.yg)("h3",{id:"c-\u8bed\u8a00\u6709\u591a\u5c11\u4e2a\u6807\u51c6\u5934\u6587\u4ef6\u5462\u5462"},"C \u8bed\u8a00\u6709\u591a\u5c11\u4e2a\u6807\u51c6\u5934\u6587\u4ef6\u5462\u5462\uff1f"),(0,a.yg)("p",null,"\u4e0d\u786e\u5b9a\uff1a\u8fd9\u548c\u7f16\u8bd1\u5668\u3001\u7f16\u8bd1\u5668\u7684\u7248\u672c\u548c\u914d\u7f6e\u6709\u5173\u3002"),(0,a.yg)("p",null,"\u5e38\u7528\u7684 C \u8bed\u8a00\u6807\u51c6\u5e93\u6709\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"stdio.h\uff1a\u63d0\u4f9b\u8f93\u5165\u8f93\u51fa\u51fd\u6570\uff0c\u5982 printf()\u548c scanf()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"stdlib.h\uff1a\u63d0\u4f9b\u901a\u7528\u5de5\u5177\u51fd\u6570\uff0c\u5982 malloc()\u548c free()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"string.h\uff1a\u63d0\u4f9b\u5b57\u7b26\u4e32\u5904\u7406\u51fd\u6570\uff0c\u5982 strcpy()\u548c strcat()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"math.h\uff1a\u63d0\u4f9b\u6570\u5b66\u51fd\u6570\uff0c\u5982 sin()\u548c cos()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"time.h\uff1a\u63d0\u4f9b\u65f6\u95f4\u5904\u7406\u51fd\u6570\uff0c\u5982 time()\u548c clock()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"ctype.h\uff1a\u63d0\u4f9b\u5b57\u7b26\u5904\u7406\u51fd\u6570\uff0c\u5982 isalpha()\u548c isdigit()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"assert.h\uff1a\u63d0\u4f9b\u65ad\u8a00\u5b8f\uff0c\u7528\u4e8e\u8c03\u8bd5\u7a0b\u5e8f\u3002"),(0,a.yg)("li",{parentName:"ul"},"stdarg.h\uff1a\u63d0\u4f9b\u53ef\u53d8\u53c2\u6570\u5217\u8868\u7684\u51fd\u6570\uff0c\u5982 printf()\u548c scanf()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"errno.h\uff1a\u63d0\u4f9b\u9519\u8bef\u7801\u5b8f\uff0c\u7528\u4e8e\u6807\u8bc6\u9519\u8bef\u7c7b\u578b\u3002"),(0,a.yg)("li",{parentName:"ul"},"setjmp.h\uff1a\u63d0\u4f9b\u975e\u5c40\u90e8\u8df3\u8f6c\u51fd\u6570\uff0c\u5982 setjmp()\u548c longjmp()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"signal.h\uff1a\u63d0\u4f9b\u4fe1\u53f7\u5904\u7406\u51fd\u6570\uff0c\u5982 signal()\u548c raise()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"locale.h\uff1a\u63d0\u4f9b\u672c\u5730\u5316\u5904\u7406\u51fd\u6570\uff0c\u5982 setlocale()\u548c localeconv()\u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"float.h\uff1a\u63d0\u4f9b\u6d6e\u70b9\u6570\u5904\u7406\u5b8f\uff0c\u5982 FLT_DIG \u548c DBL_MAX \u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"limits.h\uff1a\u63d0\u4f9b\u6574\u6570\u5904\u7406\u5b8f\uff0c\u5982 INT_MAX \u548c LONG_MAX \u7b49\u3002"),(0,a.yg)("li",{parentName:"ul"},"stddef.h\uff1a\u63d0\u4f9b\u57fa\u672c\u7c7b\u578b\u5b9a\u4e49\uff0c\u5982 size_t \u548c ptrdiff_t \u7b49\u3002")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_43764974/article/details/130892554"},"CSDN-C \u8bed\u8a00\u6807\u51c6\u5e93\u3001Windows \u4e0e Linux \u5e73\u53f0\u4e0b\u5e38\u7528\u7684 C \u8bed\u8a00\u6807\u51c6\u5e93"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/04e0d125.36aa0f9f.js b/assets/js/04e0d125.17134326.js similarity index 98% rename from assets/js/04e0d125.36aa0f9f.js rename to assets/js/04e0d125.17134326.js index 4a14331d1..c705edda7 100644 --- a/assets/js/04e0d125.36aa0f9f.js +++ b/assets/js/04e0d125.17134326.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2502],{15680:(e,t,n)=>{n.d(t,{xA:()=>l,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=r.createContext({}),s=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},l=function(e){var t=s(e.components);return r.createElement(d.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,d=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),p=s(n),y=o,f=p["".concat(d,".").concat(y)]||p[y]||u[y]||a;return n?r.createElement(f,c(c({ref:t},l),{},{components:n})):r.createElement(f,c({ref:t},l))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,c=new Array(a);c[0]=y;var i={};for(var d in t)hasOwnProperty.call(t,d)&&(i[d]=t[d]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var r=n(58168),o=(n(96540),n(15680));const a={},c="encoding",i={unversionedId:"study/back/IEDA/encoding",id:"study/back/IEDA/encoding",title:"encoding",description:"\u6ce8\u610f encoding \u7684\u914d\u7f6e",source:"@site/docs/study/back/IEDA/encoding.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/encoding",permalink:"/docs/study/back/IEDA/encoding",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Maven",permalink:"/docs/study/back/IEDA/Maven"},next:{title:"File and Code Templates",permalink:"/docs/study/back/IEDA/fileandcodetemplates"}},d={},s=[],l={toc:s},p="wrapper";function u(e){let{components:t,...a}=e;return(0,o.yg)(p,(0,r.A)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"encoding"},"encoding"),(0,o.yg)("p",null,"\u6ce8\u610f encoding \u7684\u914d\u7f6e"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"endoding",src:n(10677).A,width:"1017",height:"749"})))}u.isMDXComponent=!0},10677:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/ideaencoding-43e446aa1a506ecbfe47b4dd54b9490d.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2502],{15680:(e,t,n)=>{n.d(t,{xA:()=>l,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var d=r.createContext({}),s=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},l=function(e){var t=s(e.components);return r.createElement(d.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,d=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),p=s(n),y=o,f=p["".concat(d,".").concat(y)]||p[y]||u[y]||a;return n?r.createElement(f,c(c({ref:t},l),{},{components:n})):r.createElement(f,c({ref:t},l))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,c=new Array(a);c[0]=y;var i={};for(var d in t)hasOwnProperty.call(t,d)&&(i[d]=t[d]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var r=n(58168),o=(n(96540),n(15680));const a={},c="encoding",i={unversionedId:"study/back/IEDA/encoding",id:"study/back/IEDA/encoding",title:"encoding",description:"\u6ce8\u610f encoding \u7684\u914d\u7f6e",source:"@site/docs/study/back/IEDA/encoding.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/encoding",permalink:"/docs/study/back/IEDA/encoding",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Maven",permalink:"/docs/study/back/IEDA/Maven"},next:{title:"File and Code Templates",permalink:"/docs/study/back/IEDA/fileandcodetemplates"}},d={},s=[],l={toc:s},p="wrapper";function u(e){let{components:t,...a}=e;return(0,o.yg)(p,(0,r.A)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"encoding"},"encoding"),(0,o.yg)("p",null,"\u6ce8\u610f encoding \u7684\u914d\u7f6e"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"endoding",src:n(10677).A,width:"1017",height:"749"})))}u.isMDXComponent=!0},10677:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/ideaencoding-43e446aa1a506ecbfe47b4dd54b9490d.png"}}]); \ No newline at end of file diff --git a/assets/js/04e22f3f.a5919add.js b/assets/js/04e22f3f.6e9ad80b.js similarity index 98% rename from assets/js/04e22f3f.a5919add.js rename to assets/js/04e22f3f.6e9ad80b.js index 214f5b303..72d332b34 100644 --- a/assets/js/04e22f3f.a5919add.js +++ b/assets/js/04e22f3f.6e9ad80b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2677],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),d=c(r),y=a,m=d["".concat(l,".").concat(y)]||d[y]||u[y]||o;return r?n.createElement(m,i(i({ref:t},s),{},{components:r})):n.createElement(m,i({ref:t},s))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p[d]="string"==typeof e?e:a,i[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>o,metadata:()=>p,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const o={sidebar_position:1},i="\u6982\u8ff0",p={unversionedId:"study/program/index",id:"study/program/index",title:"\u6982\u8ff0",description:"\u5199\u4ee3\u7801\u7528\u5230\u7684\u4e00\u5957\u89c4\u8303\u53ca\u5176\u5ef6\u4f38\u5de5\u5177\u3002",source:"@site/docs/study/program/index.md",sourceDirName:"study/program",slug:"/study/program/",permalink:"/docs/study/program/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"Apache ShardingSphere",permalink:"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere"},next:{title:"Java",permalink:"/docs/study/program/JAVA/"}},l={},c=[{value:"\u76f8\u5173\u6982\u5ff5",id:"\u76f8\u5173\u6982\u5ff5",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:c},d="wrapper";function u(e){let{components:t,...o}=e;return(0,a.yg)(d,(0,n.A)({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u5199\u4ee3\u7801\u7528\u5230\u7684\u4e00\u5957\u89c4\u8303\u53ca\u5176\u5ef6\u4f38\u5de5\u5177\u3002"),(0,a.yg)("h3",{id:"\u76f8\u5173\u6982\u5ff5"},"\u76f8\u5173\u6982\u5ff5"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"\u6307\u4ee4-\u64cd\u4f5c\u7cfb\u7edf-\u5e94\u7528",src:r(70714).A,width:"720",height:"289"})),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://windliang.wang/2019/11/06/%E5%88%B0%E5%BA%95%E5%AD%A6%E5%93%AA%E4%B8%80%E9%97%A8%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80/"},"\u5230\u5e95\u5b66\u54ea\u4e00\u95e8\u7f16\u7a0b\u8bed\u8a00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://windliang.wang/2020/03/11/x86-x64-x86-64-amd64-arm%E6%8C%87%E4%BB%A4%E9%9B%86%E6%9E%B6%E6%9E%84%E4%B9%8B%E9%97%B4%E7%9A%84%E5%85%B3%E7%B3%BB/"},"x86-x64-x86-64-amd64-arm \u6307\u4ee4\u96c6\u67b6\u6784\u4e4b\u95f4\u7684\u5173\u7cfb")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://windliang.wang/2019/05/21/linux%E5%92%8CAndroid%E7%9A%84%E5%85%B3%E7%B3%BB/"},"linux \u548c Android \u7684\u5173\u7cfb"))))}u.isMDXComponent=!0},70714:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/zhiling-system-app-ad4d378124ac18c2ca5244edb7de32b2.webp"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2677],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),d=c(r),y=a,m=d["".concat(l,".").concat(y)]||d[y]||u[y]||o;return r?n.createElement(m,i(i({ref:t},s),{},{components:r})):n.createElement(m,i({ref:t},s))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p[d]="string"==typeof e?e:a,i[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>o,metadata:()=>p,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const o={sidebar_position:1},i="\u6982\u8ff0",p={unversionedId:"study/program/index",id:"study/program/index",title:"\u6982\u8ff0",description:"\u5199\u4ee3\u7801\u7528\u5230\u7684\u4e00\u5957\u89c4\u8303\u53ca\u5176\u5ef6\u4f38\u5de5\u5177\u3002",source:"@site/docs/study/program/index.md",sourceDirName:"study/program",slug:"/study/program/",permalink:"/docs/study/program/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"Apache ShardingSphere",permalink:"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere"},next:{title:"Java",permalink:"/docs/study/program/JAVA/"}},l={},c=[{value:"\u76f8\u5173\u6982\u5ff5",id:"\u76f8\u5173\u6982\u5ff5",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:c},d="wrapper";function u(e){let{components:t,...o}=e;return(0,a.yg)(d,(0,n.A)({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u5199\u4ee3\u7801\u7528\u5230\u7684\u4e00\u5957\u89c4\u8303\u53ca\u5176\u5ef6\u4f38\u5de5\u5177\u3002"),(0,a.yg)("h3",{id:"\u76f8\u5173\u6982\u5ff5"},"\u76f8\u5173\u6982\u5ff5"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"\u6307\u4ee4-\u64cd\u4f5c\u7cfb\u7edf-\u5e94\u7528",src:r(70714).A,width:"720",height:"289"})),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://windliang.wang/2019/11/06/%E5%88%B0%E5%BA%95%E5%AD%A6%E5%93%AA%E4%B8%80%E9%97%A8%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80/"},"\u5230\u5e95\u5b66\u54ea\u4e00\u95e8\u7f16\u7a0b\u8bed\u8a00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://windliang.wang/2020/03/11/x86-x64-x86-64-amd64-arm%E6%8C%87%E4%BB%A4%E9%9B%86%E6%9E%B6%E6%9E%84%E4%B9%8B%E9%97%B4%E7%9A%84%E5%85%B3%E7%B3%BB/"},"x86-x64-x86-64-amd64-arm \u6307\u4ee4\u96c6\u67b6\u6784\u4e4b\u95f4\u7684\u5173\u7cfb")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://windliang.wang/2019/05/21/linux%E5%92%8CAndroid%E7%9A%84%E5%85%B3%E7%B3%BB/"},"linux \u548c Android \u7684\u5173\u7cfb"))))}u.isMDXComponent=!0},70714:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/zhiling-system-app-ad4d378124ac18c2ca5244edb7de32b2.webp"}}]); \ No newline at end of file diff --git a/assets/js/06a5f76a.4d0fd5a4.js b/assets/js/06a5f76a.c4867b01.js similarity index 98% rename from assets/js/06a5f76a.4d0fd5a4.js rename to assets/js/06a5f76a.c4867b01.js index c33a736e3..a021448af 100644 --- a/assets/js/06a5f76a.4d0fd5a4.js +++ b/assets/js/06a5f76a.c4867b01.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8985],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,m=s["".concat(l,".").concat(f)]||s[f]||d[f]||a;return r?n.createElement(m,i(i({ref:t},u),{},{components:r})):n.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"iotcloud/alarmlinkage/index",id:"iotcloud/alarmlinkage/index",title:"\u6982\u8ff0",description:"\u62a5\u8b66\u8054\u52a8\u4e3b\u8981\u662f\u7ba1\u7406\u62a5\u8b66\u63a8\u9001\u548c\u62a5\u8b66\u8054\u7cfb\u4eba\u3002",source:"@site/docs/iotcloud/alarmlinkage/index.md",sourceDirName:"iotcloud/alarmlinkage",slug:"/iotcloud/alarmlinkage/",permalink:"/docs/iotcloud/alarmlinkage/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1}},l={},p=[],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u62a5\u8b66\u8054\u52a8\u4e3b\u8981\u662f\u7ba1\u7406\u62a5\u8b66\u63a8\u9001\u548c\u62a5\u8b66\u8054\u7cfb\u4eba\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8985],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,m=s["".concat(l,".").concat(f)]||s[f]||d[f]||a;return r?n.createElement(m,i(i({ref:t},u),{},{components:r})):n.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"iotcloud/alarmlinkage/index",id:"iotcloud/alarmlinkage/index",title:"\u6982\u8ff0",description:"\u62a5\u8b66\u8054\u52a8\u4e3b\u8981\u662f\u7ba1\u7406\u62a5\u8b66\u63a8\u9001\u548c\u62a5\u8b66\u8054\u7cfb\u4eba\u3002",source:"@site/docs/iotcloud/alarmlinkage/index.md",sourceDirName:"iotcloud/alarmlinkage",slug:"/iotcloud/alarmlinkage/",permalink:"/docs/iotcloud/alarmlinkage/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1}},l={},p=[],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u62a5\u8b66\u8054\u52a8\u4e3b\u8981\u662f\u7ba1\u7406\u62a5\u8b66\u63a8\u9001\u548c\u62a5\u8b66\u8054\u7cfb\u4eba\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/086f0ef7.ca49f0a6.js b/assets/js/086f0ef7.b0d9c6e5.js similarity index 99% rename from assets/js/086f0ef7.ca49f0a6.js rename to assets/js/086f0ef7.b0d9c6e5.js index 821600b17..ae0175535 100644 --- a/assets/js/086f0ef7.ca49f0a6.js +++ b/assets/js/086f0ef7.b0d9c6e5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1999],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}var p=n.createContext({}),g=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=g(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},i=n.forwardRef((function(e,t){var r=e.components,s=e.mdxType,o=e.originalType,p=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),y=g(r),i=s,d=y["".concat(p,".").concat(i)]||y[i]||c[i]||o;return r?n.createElement(d,l(l({ref:t},u),{},{components:r})):n.createElement(d,l({ref:t},u))}));function d(e,t){var r=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var o=r.length,l=new Array(o);l[0]=i;var a={};for(var p in t)hasOwnProperty.call(t,p)&&(a[p]=t[p]);a.originalType=e,a[y]="string"==typeof e?e:s,l[1]=a;for(var g=2;g{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>c,frontMatter:()=>o,metadata:()=>a,toc:()=>g});var n=r(58168),s=(r(96540),r(15680));const o={},l=void 0,a={unversionedId:"study/db/SQL/PostgreSQL",id:"study/db/SQL/PostgreSQL",title:"PostgreSQL",description:"\u7b80\u4ecb",source:"@site/docs/study/db/SQL/PostgreSQL.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/PostgreSQL",permalink:"/docs/study/db/SQL/PostgreSQL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenGauss",permalink:"/docs/study/db/SQL/OpenGauss"},next:{title:"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72"}},p={},g=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"PostGIS",id:"postgis",level:3},{value:"\u5b89\u88c5postgres",id:"\u5b89\u88c5postgres",level:3},{value:"mysql\u8fc1\u79fb\u5230postgres",id:"mysql\u8fc1\u79fb\u5230postgres",level:3}],u={toc:g},y="wrapper";function c(e){let{components:t,...r}=e;return(0,s.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,s.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,s.yg)("p",null,(0,s.yg)("strong",{parentName:"p"},"PostgreSQL"),"\xa0(\u4e5f\u53eb Postgres)\u662f\u4e00\u4e2a\u81ea\u7531\u7684",(0,s.yg)("strong",{parentName:"p"},"\u5bf9\u8c61-\u5173\u7cfb\u6570\u636e\u5e93"),"\u670d\u52a1\u5668(\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf)\uff0c\u5b83\u5728\u7075\u6d3b\u7684 BSD-\u98ce\u683c\u8bb8\u53ef\u8bc1\u4e0b\u53d1\u884c\u3002\u5b83\u63d0\u4f9b\u4e86\u76f8\u5bf9\u5176\u4ed6\u5f00\u653e\u6e90\u4ee3\u7801\u6570\u636e\u5e93\u7cfb\u7edf(\u6bd4\u5982 MySQL \u548c Firebird)\uff0c\u548c\u5bf9\u4e13\u6709\u7cfb\u7edf\u6bd4\u5982 Oracle\u3001Sybase\u3001IBM \u7684 DB2 \u548c Microsoft SQL Server\u7684\u4e00\u79cd\u9009\u62e9\u3002"),(0,s.yg)("p",null,'PostgreSQL \u7684 Slogan(\u53e3\u53f7) \u662f "\u4e16\u754c\u4e0a\u6700\u5148\u8fdb\u7684\u5f00\u6e90\u5173\u7cfb\u578b\u6570\u636e\u5e93"\u3002'),(0,s.yg)("h3",{id:"postgis"},"PostGIS"),(0,s.yg)("p",null,"PostGIS\u5728\u5bf9\u8c61\u5173\u7cfb\u578b\u6570\u636e\u5e93PostgreSQL\u4e0a\u589e\u52a0\u4e86\u5b58\u50a8\u7ba1\u7406\u7a7a\u95f4\u6570\u636e\u7684\u80fd\u529b\uff0c\u76f8\u5f53\u4e8eOracle\u7684spatial\u90e8\u5206\u3002PostGIS\u6700\u5927\u7684\u7279\u70b9\u662f\u7b26\u5408\u5e76\u4e14\u5b9e\u73b0\u4e86OpenGIS\u7684\u4e00\u4e9b\u89c4\u8303\uff0c\u662f\u6700\u8457\u540d\u7684\u5f00\u6e90GIS\u6570\u636e\u5e93\u3002"),(0,s.yg)("p",null,"PostGIS\u901a\u8fc7\u5411PostgreSQL\u6dfb\u52a0\u5bf9\u7a7a\u95f4\u6570\u636e\u7c7b\u578b\u3001\u7a7a\u95f4\u7d22\u5f15\u548c\u7a7a\u95f4\u51fd\u6570\u7684\u652f\u6301\uff0c\u5c06PostgreSQL\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u8f6c\u6362\u4e3a\u7a7a\u95f4\u6570\u636e\u5e93\u3002"),(0,s.yg)("p",null,'\u56e0\u4e3aPostGIS\u662f\u5efa\u7acb\u5728PostgreSQL\u4e4b\u4e0a\u7684\uff0c\u6240\u4ee5PostGIS\u81ea\u52a8\u7ee7\u627f\u4e86\u91cd\u8981\u7684"\u4f01\u4e1a\u7ea7"\u7279\u6027\u4ee5\u53ca\u5f00\u653e\u6e90\u4ee3\u7801\u7684\u6807\u51c6\u3002'),(0,s.yg)("p",null,"\u53ef\u4ee5\u8bf4PostGIS\u4ec5\u4ec5\u53ea\u662fPostgreSQL\u7684\u4e00\u4e2a\u63d2\u4ef6\uff0c\u4f46\u662f\u5b83\u5c06PostgreSQL\u53d8\u6210\u4e86\u4e00\u4e2a\u5f3a\u5927\u7684\u7a7a\u95f4\u6570\u636e\u5e93\uff01"),(0,s.yg)("p",null,"\u95ee\u9898\u63cf\u8ff0\uff1a"),(0,s.yg)("p",null,"\u5bf9\u8f66\u8f86\u7684\u4f4d\u7f6e\u4fe1\u606f\u8fdb\u884c\u5b58\u50a8\uff0c\u67e5\u8be2\u8f66\u8f86\u7684\u884c\u9a76\u8f68\u8ff9\u548c\u91cc\u7a0b\u3002"),(0,s.yg)("h3",{id:"\u5b89\u88c5postgres"},"\u5b89\u88c5postgres"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull postgres:11.19-bullseye\n#\ndocker run \\\n--privileged=true \\\n--restart=always \\\n--name postgres \\\n-e POSTGRES_PASSWORD=Aa0123 \\\n-p 5432:5432 \\\n-v /mnt/docker/postgresql/data:/var/lib/postgresql/data \\\n-d postgres:11.19-bullseye\n# \u53d1\u73b0\u4f7f\u7528DBeaver\u8fde\u63a5\u4e0d\u4e0a\uff0c\u9700\u8981\u4fee\u6539/mnt/docker/postgresql/data/pg_hba.conf \n# \u589e\u52a0\u4e00\u884chost all all 192.168.41.69/32 trust\n# 192.168.41.69\u662f\u6211\u81ea\u5df1\u7684ip\n\n")),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5728ubuntu\u4e0a\u5b89\u88c5\nsudo apt-get install postgresql -y\nsudo systemctl status postgresql\n#\npasswd postgres\n#\nsu - postgres\n#\npgsql\n#\n\\password postgres\n# \u67e5\u770b\u6240\u6709\u6570\u636e\u5e93\n\\l\n# \u521b\u5efa\u6570\u636e\u5e93\ncreate database xxx with owner=postgres encoding='UTF-8';\n")),(0,s.yg)("h3",{id:"mysql\u8fc1\u79fb\u5230postgres"},"mysql\u8fc1\u79fb\u5230postgres"),(0,s.yg)("p",null,"mysql\u8fc1\u79fb\u5230opengauss \u5c31\u76f8\u5f53\u4e8e mysql\u8fc1\u79fb\u5230postgres"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5728ubuntu\u4e0a\u5b89\u88c5\nsudo apt-get install pgloader -y\n# \u6ce8\u610f\u5bc6\u7801\u7684\u4f7f\u7528\uff0c\u5982\u679c\u643a\u5e26\u7279\u6b8a\u5b57\u7b26@\uff0c\u53ef\u4ee5\u7528\u4e24\u4e2a@\u6807\u8bc6\npgloader mysql://root:yyyyyyyyy@10.20.37.101:3306/ccsp_common pgsql://postgres:yyyyyyyyyy@127.0.0.1:5432/class\n")),(0,s.yg)("p",null,"\u53c2\u8003\u6587\u6863 ",(0,s.yg)("a",{parentName:"p",href:"https://pgloader.readthedocs.io/en/latest/ref/mysql.html#using-default-settings"},"https://pgloader.readthedocs.io/en/latest/ref/mysql.html#using-default-settings")))}c.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1999],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}var p=n.createContext({}),g=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=g(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},i=n.forwardRef((function(e,t){var r=e.components,s=e.mdxType,o=e.originalType,p=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),y=g(r),i=s,d=y["".concat(p,".").concat(i)]||y[i]||c[i]||o;return r?n.createElement(d,l(l({ref:t},u),{},{components:r})):n.createElement(d,l({ref:t},u))}));function d(e,t){var r=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var o=r.length,l=new Array(o);l[0]=i;var a={};for(var p in t)hasOwnProperty.call(t,p)&&(a[p]=t[p]);a.originalType=e,a[y]="string"==typeof e?e:s,l[1]=a;for(var g=2;g{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>c,frontMatter:()=>o,metadata:()=>a,toc:()=>g});var n=r(58168),s=(r(96540),r(15680));const o={},l=void 0,a={unversionedId:"study/db/SQL/PostgreSQL",id:"study/db/SQL/PostgreSQL",title:"PostgreSQL",description:"\u7b80\u4ecb",source:"@site/docs/study/db/SQL/PostgreSQL.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/PostgreSQL",permalink:"/docs/study/db/SQL/PostgreSQL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenGauss",permalink:"/docs/study/db/SQL/OpenGauss"},next:{title:"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72"}},p={},g=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"PostGIS",id:"postgis",level:3},{value:"\u5b89\u88c5postgres",id:"\u5b89\u88c5postgres",level:3},{value:"mysql\u8fc1\u79fb\u5230postgres",id:"mysql\u8fc1\u79fb\u5230postgres",level:3}],u={toc:g},y="wrapper";function c(e){let{components:t,...r}=e;return(0,s.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,s.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,s.yg)("p",null,(0,s.yg)("strong",{parentName:"p"},"PostgreSQL"),"\xa0(\u4e5f\u53eb Postgres)\u662f\u4e00\u4e2a\u81ea\u7531\u7684",(0,s.yg)("strong",{parentName:"p"},"\u5bf9\u8c61-\u5173\u7cfb\u6570\u636e\u5e93"),"\u670d\u52a1\u5668(\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf)\uff0c\u5b83\u5728\u7075\u6d3b\u7684 BSD-\u98ce\u683c\u8bb8\u53ef\u8bc1\u4e0b\u53d1\u884c\u3002\u5b83\u63d0\u4f9b\u4e86\u76f8\u5bf9\u5176\u4ed6\u5f00\u653e\u6e90\u4ee3\u7801\u6570\u636e\u5e93\u7cfb\u7edf(\u6bd4\u5982 MySQL \u548c Firebird)\uff0c\u548c\u5bf9\u4e13\u6709\u7cfb\u7edf\u6bd4\u5982 Oracle\u3001Sybase\u3001IBM \u7684 DB2 \u548c Microsoft SQL Server\u7684\u4e00\u79cd\u9009\u62e9\u3002"),(0,s.yg)("p",null,'PostgreSQL \u7684 Slogan(\u53e3\u53f7) \u662f "\u4e16\u754c\u4e0a\u6700\u5148\u8fdb\u7684\u5f00\u6e90\u5173\u7cfb\u578b\u6570\u636e\u5e93"\u3002'),(0,s.yg)("h3",{id:"postgis"},"PostGIS"),(0,s.yg)("p",null,"PostGIS\u5728\u5bf9\u8c61\u5173\u7cfb\u578b\u6570\u636e\u5e93PostgreSQL\u4e0a\u589e\u52a0\u4e86\u5b58\u50a8\u7ba1\u7406\u7a7a\u95f4\u6570\u636e\u7684\u80fd\u529b\uff0c\u76f8\u5f53\u4e8eOracle\u7684spatial\u90e8\u5206\u3002PostGIS\u6700\u5927\u7684\u7279\u70b9\u662f\u7b26\u5408\u5e76\u4e14\u5b9e\u73b0\u4e86OpenGIS\u7684\u4e00\u4e9b\u89c4\u8303\uff0c\u662f\u6700\u8457\u540d\u7684\u5f00\u6e90GIS\u6570\u636e\u5e93\u3002"),(0,s.yg)("p",null,"PostGIS\u901a\u8fc7\u5411PostgreSQL\u6dfb\u52a0\u5bf9\u7a7a\u95f4\u6570\u636e\u7c7b\u578b\u3001\u7a7a\u95f4\u7d22\u5f15\u548c\u7a7a\u95f4\u51fd\u6570\u7684\u652f\u6301\uff0c\u5c06PostgreSQL\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u8f6c\u6362\u4e3a\u7a7a\u95f4\u6570\u636e\u5e93\u3002"),(0,s.yg)("p",null,'\u56e0\u4e3aPostGIS\u662f\u5efa\u7acb\u5728PostgreSQL\u4e4b\u4e0a\u7684\uff0c\u6240\u4ee5PostGIS\u81ea\u52a8\u7ee7\u627f\u4e86\u91cd\u8981\u7684"\u4f01\u4e1a\u7ea7"\u7279\u6027\u4ee5\u53ca\u5f00\u653e\u6e90\u4ee3\u7801\u7684\u6807\u51c6\u3002'),(0,s.yg)("p",null,"\u53ef\u4ee5\u8bf4PostGIS\u4ec5\u4ec5\u53ea\u662fPostgreSQL\u7684\u4e00\u4e2a\u63d2\u4ef6\uff0c\u4f46\u662f\u5b83\u5c06PostgreSQL\u53d8\u6210\u4e86\u4e00\u4e2a\u5f3a\u5927\u7684\u7a7a\u95f4\u6570\u636e\u5e93\uff01"),(0,s.yg)("p",null,"\u95ee\u9898\u63cf\u8ff0\uff1a"),(0,s.yg)("p",null,"\u5bf9\u8f66\u8f86\u7684\u4f4d\u7f6e\u4fe1\u606f\u8fdb\u884c\u5b58\u50a8\uff0c\u67e5\u8be2\u8f66\u8f86\u7684\u884c\u9a76\u8f68\u8ff9\u548c\u91cc\u7a0b\u3002"),(0,s.yg)("h3",{id:"\u5b89\u88c5postgres"},"\u5b89\u88c5postgres"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull postgres:11.19-bullseye\n#\ndocker run \\\n--privileged=true \\\n--restart=always \\\n--name postgres \\\n-e POSTGRES_PASSWORD=Aa0123 \\\n-p 5432:5432 \\\n-v /mnt/docker/postgresql/data:/var/lib/postgresql/data \\\n-d postgres:11.19-bullseye\n# \u53d1\u73b0\u4f7f\u7528DBeaver\u8fde\u63a5\u4e0d\u4e0a\uff0c\u9700\u8981\u4fee\u6539/mnt/docker/postgresql/data/pg_hba.conf \n# \u589e\u52a0\u4e00\u884chost all all 192.168.41.69/32 trust\n# 192.168.41.69\u662f\u6211\u81ea\u5df1\u7684ip\n\n")),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5728ubuntu\u4e0a\u5b89\u88c5\nsudo apt-get install postgresql -y\nsudo systemctl status postgresql\n#\npasswd postgres\n#\nsu - postgres\n#\npgsql\n#\n\\password postgres\n# \u67e5\u770b\u6240\u6709\u6570\u636e\u5e93\n\\l\n# \u521b\u5efa\u6570\u636e\u5e93\ncreate database xxx with owner=postgres encoding='UTF-8';\n")),(0,s.yg)("h3",{id:"mysql\u8fc1\u79fb\u5230postgres"},"mysql\u8fc1\u79fb\u5230postgres"),(0,s.yg)("p",null,"mysql\u8fc1\u79fb\u5230opengauss \u5c31\u76f8\u5f53\u4e8e mysql\u8fc1\u79fb\u5230postgres"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5728ubuntu\u4e0a\u5b89\u88c5\nsudo apt-get install pgloader -y\n# \u6ce8\u610f\u5bc6\u7801\u7684\u4f7f\u7528\uff0c\u5982\u679c\u643a\u5e26\u7279\u6b8a\u5b57\u7b26@\uff0c\u53ef\u4ee5\u7528\u4e24\u4e2a@\u6807\u8bc6\npgloader mysql://root:yyyyyyyyy@10.20.37.101:3306/ccsp_common pgsql://postgres:yyyyyyyyyy@127.0.0.1:5432/class\n")),(0,s.yg)("p",null,"\u53c2\u8003\u6587\u6863 ",(0,s.yg)("a",{parentName:"p",href:"https://pgloader.readthedocs.io/en/latest/ref/mysql.html#using-default-settings"},"https://pgloader.readthedocs.io/en/latest/ref/mysql.html#using-default-settings")))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/09c52fbb.3a8e2896.js b/assets/js/09c52fbb.8ff98117.js similarity index 98% rename from assets/js/09c52fbb.3a8e2896.js rename to assets/js/09c52fbb.8ff98117.js index 288ee284e..48a6a010d 100644 --- a/assets/js/09c52fbb.3a8e2896.js +++ b/assets/js/09c52fbb.8ff98117.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5074],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,d=s["".concat(c,".").concat(y)]||s[y]||f[y]||a;return r?n.createElement(d,i(i({ref:t},p),{},{components:r})):n.createElement(d,i({ref:t},p))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:o,i[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>f,frontMatter:()=>a,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,l={unversionedId:"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",id:"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",title:"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",description:"Raft",source:"@site/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5.md",sourceDirName:"study/think",slug:"/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",permalink:"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c"},next:{title:"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",permalink:"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink"}},c={},u=[{value:"Raft",id:"raft",level:3},{value:"Paxos",id:"paxos",level:3}],p={toc:u},s="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"raft"},"Raft"),(0,o.yg)("p",null,"Raft \u7b97\u6cd5\u6709\u660e\u786e\u7684\u9886\u5bfc\u8005\u9009\u4e3e\u673a\u5236\u3002\u5f53\u8ddf\u968f\u8005\u4e00\u6bb5\u65f6\u95f4\u6ca1\u6709\u6536\u5230\u9886\u5bfc\u8005\u7684\u5fc3\u8df3\u6d88\u606f\u65f6\uff0c\u5c31\u4f1a\u89e6\u53d1\u9009\u4e3e\u8fc7\u7a0b\u3002\u8282\u70b9\u4ece\u8ddf\u968f\u8005\u72b6\u6001\u8f6c\u6362\u4e3a\u5019\u9009\u4eba\u72b6\u6001\uff0c\u5411\u5176\u4ed6\u8282\u70b9\u53d1\u9001\u8bf7\u6c42\u6295\u7968\u6d88\u606f\u6765\u7ade\u4e89\u9886\u5bfc\u8005\u89d2\u8272\u3002"),(0,o.yg)("p",null,"\u53ea\u6709\u83b7\u5f97\u591a\u6570\u8282\u70b9\u6295\u7968\u7684\u5019\u9009\u4eba\u624d\u4f1a\u6210\u4e3a\u9886\u5bfc\u8005\uff0c\u5e76\u4e14\u9886\u5bfc\u8005\u5728\u96c6\u7fa4\u4e2d\u627f\u62c5\u4e3b\u8981\u7684\u534f\u8c03\u548c\u7ba1\u7406\u5de5\u4f5c\uff0c\u5982\u63a5\u6536\u5ba2\u6237\u7aef\u8bf7\u6c42\u3001\u590d\u5236\u65e5\u5fd7\u5230\u8ddf\u968f\u8005\u7b49\u3002\u8fd9\u79cd\u660e\u786e\u7684\u9009\u4e3e\u8fc7\u7a0b\u4f7f\u5f97\u96c6\u7fa4\u5728\u9886\u5bfc\u8005\u51fa\u73b0\u6545\u969c\u65f6\u80fd\u591f\u5feb\u901f\u9009\u51fa\u65b0\u7684\u9886\u5bfc\u8005\uff0c\u4fdd\u8bc1\u7cfb\u7edf\u7684\u53ef\u7528\u6027\u3002"),(0,o.yg)("p",null,"\u601d\u60f3\u3001\u5b9e\u73b0\u4e0a\u662f\u6bd4\u8f83\u7b80\u5355\uff0c\u5bb9\u6613\u7406\u89e3\u7684\u3002"),(0,o.yg)("h3",{id:"paxos"},"Paxos"),(0,o.yg)("p",null,"Paxos \u7b97\u6cd5\u6ca1\u6709\u50cf Raft \u7b97\u6cd5\u90a3\u6837\u660e\u786e\u7684\u9886\u5bfc\u8005\u9009\u4e3e\u9636\u6bb5\u3002\u5728 Paxos \u4e2d\uff0c\u63d0\u8bae\u8005\u548c\u63a5\u53d7\u8005\u7684\u89d2\u8272\u76f8\u5bf9\u5e73\u7b49\uff0c\u901a\u8fc7\u4e00\u7cfb\u5217\u7684\u6d88\u606f\u4ea4\u4e92\u6765\u8fbe\u6210\u5171\u8bc6\u3002\u867d\u7136\u5728\u67d0\u4e9b\u5b9e\u73b0\u4e2d\u53ef\u80fd\u4f1a\u6709\u4e00\u4e2a\u4e8b\u5b9e\u4e0a\u7684 \u201c\u9886\u5bfc\u8005\u201d \u89d2\u8272\uff08\u4f8b\u5982\u7ecf\u5e38\u6210\u529f\u63d0\u51fa\u63d0\u8bae\u7684\u63d0\u8bae\u8005\uff09\uff0c\u4f46\u8fd9\u4e2a\u89d2\u8272\u4e0d\u662f\u901a\u8fc7\u50cf Raft \u90a3\u6837\u660e\u786e\u7684\u9009\u4e3e\u673a\u5236\u4ea7\u751f\u7684\u3002"),(0,o.yg)("p",null,"\u4f8b\u5982\uff0c\u5728 Paxos \u7684 Prepare \u9636\u6bb5\uff0c\u63d0\u8bae\u8005\u7ade\u4e89\u6210\u4e3a\u63d0\u51fa\u6709\u6548\u63d0\u8bae\u7684\u8282\u70b9\uff0c\u4f46\u8fd9\u79cd\u7ade\u4e89\u4e0d\u50cf Raft \u9009\u4e3e\u90a3\u6837\u6709\u4e00\u4e2a\u660e\u786e\u7684\u3001\u9488\u5bf9\u9886\u5bfc\u8005\u89d2\u8272\u7684\u9009\u4e3e\u8fc7\u7a0b\u3002"),(0,o.yg)("p",null,"\u601d\u60f3\u3001\u5b9e\u73b0\u4e0a\u76f8\u5bf9\u4e8eRaft\u662f\u6bd4\u8f83\u590d\u6742\u548c\u96be\u4ee5\u7406\u89e3\u7684\u3002"))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5074],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,d=s["".concat(c,".").concat(y)]||s[y]||f[y]||a;return r?n.createElement(d,i(i({ref:t},p),{},{components:r})):n.createElement(d,i({ref:t},p))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:o,i[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>f,frontMatter:()=>a,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,l={unversionedId:"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",id:"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",title:"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",description:"Raft",source:"@site/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5.md",sourceDirName:"study/think",slug:"/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",permalink:"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c"},next:{title:"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",permalink:"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink"}},c={},u=[{value:"Raft",id:"raft",level:3},{value:"Paxos",id:"paxos",level:3}],p={toc:u},s="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"raft"},"Raft"),(0,o.yg)("p",null,"Raft \u7b97\u6cd5\u6709\u660e\u786e\u7684\u9886\u5bfc\u8005\u9009\u4e3e\u673a\u5236\u3002\u5f53\u8ddf\u968f\u8005\u4e00\u6bb5\u65f6\u95f4\u6ca1\u6709\u6536\u5230\u9886\u5bfc\u8005\u7684\u5fc3\u8df3\u6d88\u606f\u65f6\uff0c\u5c31\u4f1a\u89e6\u53d1\u9009\u4e3e\u8fc7\u7a0b\u3002\u8282\u70b9\u4ece\u8ddf\u968f\u8005\u72b6\u6001\u8f6c\u6362\u4e3a\u5019\u9009\u4eba\u72b6\u6001\uff0c\u5411\u5176\u4ed6\u8282\u70b9\u53d1\u9001\u8bf7\u6c42\u6295\u7968\u6d88\u606f\u6765\u7ade\u4e89\u9886\u5bfc\u8005\u89d2\u8272\u3002"),(0,o.yg)("p",null,"\u53ea\u6709\u83b7\u5f97\u591a\u6570\u8282\u70b9\u6295\u7968\u7684\u5019\u9009\u4eba\u624d\u4f1a\u6210\u4e3a\u9886\u5bfc\u8005\uff0c\u5e76\u4e14\u9886\u5bfc\u8005\u5728\u96c6\u7fa4\u4e2d\u627f\u62c5\u4e3b\u8981\u7684\u534f\u8c03\u548c\u7ba1\u7406\u5de5\u4f5c\uff0c\u5982\u63a5\u6536\u5ba2\u6237\u7aef\u8bf7\u6c42\u3001\u590d\u5236\u65e5\u5fd7\u5230\u8ddf\u968f\u8005\u7b49\u3002\u8fd9\u79cd\u660e\u786e\u7684\u9009\u4e3e\u8fc7\u7a0b\u4f7f\u5f97\u96c6\u7fa4\u5728\u9886\u5bfc\u8005\u51fa\u73b0\u6545\u969c\u65f6\u80fd\u591f\u5feb\u901f\u9009\u51fa\u65b0\u7684\u9886\u5bfc\u8005\uff0c\u4fdd\u8bc1\u7cfb\u7edf\u7684\u53ef\u7528\u6027\u3002"),(0,o.yg)("p",null,"\u601d\u60f3\u3001\u5b9e\u73b0\u4e0a\u662f\u6bd4\u8f83\u7b80\u5355\uff0c\u5bb9\u6613\u7406\u89e3\u7684\u3002"),(0,o.yg)("h3",{id:"paxos"},"Paxos"),(0,o.yg)("p",null,"Paxos \u7b97\u6cd5\u6ca1\u6709\u50cf Raft \u7b97\u6cd5\u90a3\u6837\u660e\u786e\u7684\u9886\u5bfc\u8005\u9009\u4e3e\u9636\u6bb5\u3002\u5728 Paxos \u4e2d\uff0c\u63d0\u8bae\u8005\u548c\u63a5\u53d7\u8005\u7684\u89d2\u8272\u76f8\u5bf9\u5e73\u7b49\uff0c\u901a\u8fc7\u4e00\u7cfb\u5217\u7684\u6d88\u606f\u4ea4\u4e92\u6765\u8fbe\u6210\u5171\u8bc6\u3002\u867d\u7136\u5728\u67d0\u4e9b\u5b9e\u73b0\u4e2d\u53ef\u80fd\u4f1a\u6709\u4e00\u4e2a\u4e8b\u5b9e\u4e0a\u7684 \u201c\u9886\u5bfc\u8005\u201d \u89d2\u8272\uff08\u4f8b\u5982\u7ecf\u5e38\u6210\u529f\u63d0\u51fa\u63d0\u8bae\u7684\u63d0\u8bae\u8005\uff09\uff0c\u4f46\u8fd9\u4e2a\u89d2\u8272\u4e0d\u662f\u901a\u8fc7\u50cf Raft \u90a3\u6837\u660e\u786e\u7684\u9009\u4e3e\u673a\u5236\u4ea7\u751f\u7684\u3002"),(0,o.yg)("p",null,"\u4f8b\u5982\uff0c\u5728 Paxos \u7684 Prepare \u9636\u6bb5\uff0c\u63d0\u8bae\u8005\u7ade\u4e89\u6210\u4e3a\u63d0\u51fa\u6709\u6548\u63d0\u8bae\u7684\u8282\u70b9\uff0c\u4f46\u8fd9\u79cd\u7ade\u4e89\u4e0d\u50cf Raft \u9009\u4e3e\u90a3\u6837\u6709\u4e00\u4e2a\u660e\u786e\u7684\u3001\u9488\u5bf9\u9886\u5bfc\u8005\u89d2\u8272\u7684\u9009\u4e3e\u8fc7\u7a0b\u3002"),(0,o.yg)("p",null,"\u601d\u60f3\u3001\u5b9e\u73b0\u4e0a\u76f8\u5bf9\u4e8eRaft\u662f\u6bd4\u8f83\u590d\u6742\u548c\u96be\u4ee5\u7406\u89e3\u7684\u3002"))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0a1f7513.414a2001.js b/assets/js/0a1f7513.81fa51df.js similarity index 99% rename from assets/js/0a1f7513.414a2001.js rename to assets/js/0a1f7513.81fa51df.js index 82c8c6d2a..2e2e0d8ef 100644 --- a/assets/js/0a1f7513.414a2001.js +++ b/assets/js/0a1f7513.81fa51df.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4963],{15680:(e,n,t)=>{t.d(n,{xA:()=>c,yg:()=>h});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function s(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var o=a.createContext({}),i=function(e){var n=a.useContext(o),t=n;return e&&(t="function"==typeof e?e(n):s(s({},n),e)),t},c=function(e){var n=i(e.components);return a.createElement(o.Provider,{value:n},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},y=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,l=e.originalType,o=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),d=i(t),y=r,h=d["".concat(o,".").concat(y)]||d[y]||u[y]||l;return t?a.createElement(h,s(s({ref:n},c),{},{components:t})):a.createElement(h,s({ref:n},c))}));function h(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var l=t.length,s=new Array(l);s[0]=y;var p={};for(var o in n)hasOwnProperty.call(n,o)&&(p[o]=n[o]);p.originalType=e,p[d]="string"==typeof e?e:r,s[1]=p;for(var i=2;i{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>s,default:()=>u,frontMatter:()=>l,metadata:()=>p,toc:()=>i});var a=t(58168),r=(t(96540),t(15680));const l={},s=void 0,p={unversionedId:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch",id:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch",title:"Elasticsearch",description:"ES\u7248\u672c",source:"@site/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch.md",sourceDirName:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce",slug:"/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0"},next:{title:"InfluxDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB"}},o={},i=[{value:"ES\u7248\u672c",id:"es\u7248\u672c",level:2},{value:"ES\u57fa\u7840\u6982\u5ff5",id:"es\u57fa\u7840\u6982\u5ff5",level:2},{value:"\u5206\u9875",id:"\u5206\u9875",level:2},{value:"\u5206\u7247\u548c\u526f\u672c",id:"\u5206\u7247\u548c\u526f\u672c",level:2},{value:"\u5e38\u7528\u67e5\u8be2(curl)",id:"\u5e38\u7528\u67e5\u8be2curl",level:2},{value:"\u57fa\u7840\u6982\u5ff5",id:"\u57fa\u7840\u6982\u5ff5",level:3},{value:"\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93",id:"\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93",level:3},{value:"\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f",id:"\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f",level:3},{value:"\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f",id:"\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f",level:3},{value:"\u5206\u6790",id:"\u5206\u6790",level:3},{value:"\u5220\u9664\u6307\u5b9a\u7d22\u5f15\u5e93",id:"\u5220\u9664\u6307\u5b9a\u7d22\u5f15\u5e93",level:3},{value:"\u6df1\u5165\u641c\u7d22",id:"\u6df1\u5165\u641c\u7d22",level:3},{value:"\u65b0\u589e\u6570\u636e",id:"\u65b0\u589e\u6570\u636e",level:3},{value:"\u62f7\u8d1d\u7d22\u5f15\u5e93",id:"\u62f7\u8d1d\u7d22\u5f15\u5e93",level:3},{value:"\u540c\u4e00\u4e2a\u96c6\u7fa4\u62f7\u8d1d",id:"\u540c\u4e00\u4e2a\u96c6\u7fa4\u62f7\u8d1d",level:4},{value:"\u4e0d\u540c\u7684\u96c6\u7fa4\u62f7\u8d1d",id:"\u4e0d\u540c\u7684\u96c6\u7fa4\u62f7\u8d1d",level:4},{value:"\u62a5\u9519\u5904\u7406",id:"\u62a5\u9519\u5904\u7406",level:3},{value:"\u67e5\u8be2\u5206\u7247\u4fe1\u606f/\u6587\u6863\u603b\u6570/\u4e3b\u8282\u70b9",id:"\u67e5\u8be2\u5206\u7247\u4fe1\u606f\u6587\u6863\u603b\u6570\u4e3b\u8282\u70b9",level:3},{value:"\u9700\u8981\u5bc6\u7801\u65f6(nginx)",id:"\u9700\u8981\u5bc6\u7801\u65f6nginx",level:3},{value:"\u6a21\u677f",id:"\u6a21\u677f",level:3},{value:"\u521b\u5efa\u7d22\u5f15\u5e93",id:"\u521b\u5efa\u7d22\u5f15\u5e93",level:3},{value:"\u96c6\u7fa4\u72b6\u6001\u67e5\u770b",id:"\u96c6\u7fa4\u72b6\u6001\u67e5\u770b",level:3},{value:"\u5feb\u7167",id:"\u5feb\u7167",level:3},{value:"\u5220\u9664\u6570\u636e",id:"\u5220\u9664\u6570\u636e",level:3},{value:"es\u8bbf\u95ee\u6743\u9650",id:"es\u8bbf\u95ee\u6743\u9650",level:2},{value:"GEOIP",id:"geoip",level:2},{value:"\u76f8\u5173\u8d44\u6599",id:"\u76f8\u5173\u8d44\u6599",level:2}],c={toc:i},d="wrapper";function u(e){let{components:n,...t}=e;return(0,r.yg)(d,(0,a.A)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h2",{id:"es\u7248\u672c"},"ES\u7248\u672c"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u76ee\u524d\u4f7f\u7528\u7684\u7248\u672c\u662f6.3.2\uff0c\u76f8\u5bf9\u5e94\u7684logstash/kibana/filebeat\u4e5f\u4f7f\u7528\u7684\u662f6.3.2\uff0cjava\u5bf9\u5e94\u7684jar\u5305client\u4e5f\u662f\u7528\u76846.3.2\uff1b")),(0,r.yg)("h2",{id:"es\u57fa\u7840\u6982\u5ff5"},"ES\u57fa\u7840\u6982\u5ff5"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"Index\uff08\u7d22\u5f15-\u6570\u636e\u5e93\uff09\uff0c\u7d22\u5f15\u5305\u542b\u4e00\u5806\u6709\u76f8\u4f3c\u7ed3\u6784\u7684\u6587\u6863\u6570\u636e\uff0c\uff0c\u6bd4\u5982\u53ef\u4ee5\u6709\u4e00\u4e2a\u5ba2\u6237\u7d22\u5f15\uff0c\u5546\u54c1\u5206\u7c7b\u7d22\u5f15\uff0c\u8ba2\u5355\u7d22\u5f15\uff0c\u7d22\u5f15\u6709\u4e00\u4e2a\u540d\u79f0\u3002\u4e00\u4e2aindex\u5305\u542b\u5f88\u591adocument\uff0c\u4e00\u4e2aindex\u5c31\u4ee3\u8868\u4e86\u4e00\u7c7b\u7c7b\u4f3c\u7684\u6216\u8005\u76f8\u540c\u7684document\u3002\u6bd4\u5982\u8bf4\u5efa\u7acb\u4e00\u4e2aproduct index\uff0c\u5546\u54c1\u7d22\u5f15\uff0c\u91cc\u9762\u53ef\u80fd\u5c31\u5b58\u653e\u4e86\u6240\u6709\u7684\u5546\u54c1\u6570\u636e\uff0c\u6240\u6709\u7684\u5546\u54c1document\u3002\u5fc5\u987b\u662f\u82f1\u6587\u5c0f\u5199\u547d\u540d\u3002"),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("del",{parentName:"li"},"Type\uff08\u7c7b\u578b-\u8868\uff09\uff0c\u6bcf\u4e2a\u7d22\u5f15\u91cc\u90fd\u53ef\u4ee5\u6709\u4e00\u4e2a\u6216\u591a\u4e2atype\uff0ctype\u662findex\u4e2d\u7684\u4e00\u4e2a\u903b\u8f91\u6570\u636e\u5206\u7c7b\uff0c\u4e00\u4e2atype\u4e0b\u7684document\uff0c\u90fd\u6709\u76f8\u540c\u7684field\u3002")),(0,r.yg)("li",{parentName:"ol"},"Document\uff08\u6587\u6863-\u884c\uff09\uff0c\u6587\u6863\u662fes\u4e2d\u7684\u6700\u5c0f\u6570\u636e\u5355\u5143\uff0c\u4e00\u4e2adocument\u53ef\u4ee5\u662f\u4e00\u6761\u5ba2\u6237\u6570\u636e\uff0c\u4e00\u6761\u5546\u54c1\u5206\u7c7b\u6570\u636e\uff0c\u4e00\u6761\u8ba2\u5355\u6570\u636e\uff0c\u901a\u5e38\u7528JSON\u6570\u636e\u7ed3\u6784\u8868\u793a\uff0c\u6bcf\u4e2aindex\u4e0b\u7684type\u4e2d\uff0c\u90fd\u53ef\u4ee5\u53bb\u5b58\u50a8\u591a\u4e2adocument\u3002"),(0,r.yg)("li",{parentName:"ol"},"Field\uff08\u5b57\u6bb5-\u5217\uff09\uff0cField\u662fElasticsearch\u7684\u6700\u5c0f\u5355\u4f4d\u3002\u4e00\u4e2adocument\u91cc\u9762\u6709\u591a\u4e2afield\uff0c\u6bcf\u4e2afield\u5c31\u662f\u4e00\u4e2a\u6570\u636e\u5b57\u6bb5\u3002"),(0,r.yg)("li",{parentName:"ol"},"mapping\uff08\u6620\u5c04-\u7ea6\u675f\uff09\uff0c\u6570\u636e\u5982\u4f55\u5b58\u653e\u5230\u7d22\u5f15\u5bf9\u8c61\u4e0a\uff0c\u9700\u8981\u6709\u4e00\u4e2a\u6620\u5c04\u914d\u7f6e\uff0c\u5305\u62ec\uff1a\u6570\u636e\u7c7b\u578b\u3001\u662f\u5426\u5b58\u50a8\u3001\u662f\u5426\u5206\u8bcd\u7b49\u3002\u8fd9\u6837\u5c31\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3ablog\u7684Index\u3002Type\u4e0d\u7528\u5355\u72ec\u521b\u5efa\uff0c\u5728\u521b\u5efaMapping \u65f6\u6307\u5b9a\u5c31\u53ef\u4ee5\u3002Mapping\u7528\u6765\u5b9a\u4e49Document\u4e2d\u6bcf\u4e2a\u5b57\u6bb5\u7684\u7c7b\u578b\uff0c\u5373\u6240\u4f7f\u7528\u7684 analyzer\u3001\u662f\u5426\u7d22\u5f15\u7b49\u5c5e\u6027\uff0c\u975e\u5e38\u5173\u952e\u7b49\u3002")),(0,r.yg)("p",null,(0,r.yg)("strong",{parentName:"p"},"\u6ce8\u610f\u4e8b\u9879\uff1a")),(0,r.yg)("p",null,"\u4eceES6.0\u5f00\u59cb\uff0c\u5b98\u65b9\u4fbf\u4e0d\u5efa\u8bae\u4e00\u4e2a\u7d22\u5f15\u4e2d\u521b\u5efa\u591a\u4e2a\u7c7b\u578b\uff1b\u5728ES7.0\u4e2d\uff0c\u66f4\u662f\u79fb\u9664\u4e86\u7c7b\u578b(Type)\u8fd9\u4e2a\u6982\u5ff5\u3002\u4e3a\u4ec0\u4e48\u5462\uff1f\n\u5728Elasticsearch\u7d22\u5f15\u4e2d\uff0c\u4e0d\u540c\u7c7b\u578b(Type)\u4e2d\u5177\u6709\u76f8\u540c\u540d\u79f0\u7684\u5b57\u6bb5\u5728\u5185\u90e8\u7531\u76f8\u540c\u7684Lucene\u5b57\u6bb5\u652f\u6301\u3002\u4e00\u4e2aindex\u4e2d\u591a\u4e2aType\u5728Lucene\u4e2d\u4f1a\u6709\u8bb8\u591a\u95ee\u9898\u3002\u5177\u4f53\u7684\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u8bf4\u660e\u3002"),(0,r.yg)("h2",{id:"\u5206\u9875"},"\u5206\u9875"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u6df1\u5ea6\u5206\u9875\uff0c\u7406\u89e3\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\u6df1\u5ea6\u5206\u9875\u662f\u6709\u95ee\u9898\u7684\uff0c\u6240\u4ee5\u4f7f\u7528\u6b64\u5206\u9875\u5728\u5bf9\u9700\u8981\u9650\u5236\u5206\u9875\u6570\u91cf\uff1b"),(0,r.yg)("li",{parentName:"ol"},"\u5feb\u7167\u5206\u9875(scroll)"),(0,r.yg)("li",{parentName:"ol"},"search_after\u5206\u9875")),(0,r.yg)("h2",{id:"\u5206\u7247\u548c\u526f\u672c"},"\u5206\u7247\u548c\u526f\u672c"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'//\u65b0\u589e\u7d22\u5f15\u7684\u540c\u65f6\u6dfb\u52a0\u5206\u7247\uff0c\u4e0d\u4f7f\u7528\u9ed8\u8ba4\u5206\u7247\uff0c\u5206\u7247\u7684\u6570\u91cf\n//\u4e00\u822c\u4ee5\uff08\u8282\u70b9\u6570*1.5\u62163\u500d\uff09\u6765\u8ba1\u7b97\uff0c\u6bd4\u5982\u67094\u4e2a\u8282\u70b9\uff0c\u5206\u7247\u6570\u91cf\u4e00\u822c\u662f6\u4e2a\u523012\u4e2a\uff0c\u6bcf\u4e2a\u5206\u7247\u4e00\u822c\u5206\u914d\u4e00\u4e2a\u526f\u672c\nPUT /testindex\n{\n "settings" : {\n "number_of_shards" : 5,\n "number_of_replicas" : 1\n }\n}\n')),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u4e00\u4e2a \u5206\u7247 \u662f\u4e00\u4e2a\u5e95\u5c42\u7684 \u5de5\u4f5c\u5355\u5143 \uff0c\u5b83\u4ec5\u4fdd\u5b58\u4e86\u5168\u90e8\u6570\u636e\u4e2d\u7684\u4e00\u90e8\u5206\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u5206\u7247\u662f\u4e00\u4e2a Lucene \u7684\u5b9e\u4f8b\uff0c\u4ee5\u53ca\u5b83\u672c\u8eab\u5c31\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u641c\u7d22\u5f15\u64ce\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u5206\u7247\u53ef\u4ee5\u662f \u4e3b \u5206\u7247\u6216\u8005 \u526f\u672c \u5206\u7247\u3002 \u7d22\u5f15\u5185\u4efb\u610f\u4e00\u4e2a\u6587\u6863\u90fd\u5f52\u5c5e\u4e8e\u4e00\u4e2a\u4e3b\u5206\u7247\uff0c\u6240\u4ee5\u4e3b\u5206\u7247\u7684\u6570\u76ee\u51b3\u5b9a\u7740\u7d22\u5f15\u80fd\u591f\u4fdd\u5b58\u7684\u6700\u5927\u6570\u636e\u91cf\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u6280\u672f\u4e0a\u6765\u8bf4\uff0c\u4e00\u4e2a\u4e3b\u5206\u7247\u6700\u5927\u80fd\u591f\u5b58\u50a8 Integer.MAX_VALUE - 128 \u4e2a\u6587\u6863 ~= 21\u4ebf\u6761"),(0,r.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u526f\u672c\u5206\u7247\u53ea\u662f\u4e00\u4e2a\u4e3b\u5206\u7247\u7684\u62f7\u8d1d\u3002\u526f\u672c\u5206\u7247\u4f5c\u4e3a\u786c\u4ef6\u6545\u969c\u65f6\u4fdd\u62a4\u6570\u636e\u4e0d\u4e22\u5931\u7684\u5197\u4f59\u5907\u4efd\uff0c\u5e76\u4e3a\u641c\u7d22\u548c\u8fd4\u56de\u6587\u6863\u7b49\u8bfb\u64cd\u4f5c\u63d0\u4f9b\u670d\u52a1\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u5728\u7d22\u5f15\u5efa\u7acb\u7684\u65f6\u5019\u5c31\u5df2\u7ecf\u786e\u5b9a\u4e86\u4e3b\u5206\u7247\u6570\uff0c\u4f46\u662f\u526f\u672c\u5206\u7247\u6570\u53ef\u4ee5\u968f\u65f6\u4fee\u6539\u3002\u8bfb\u64cd\u4f5c\u2014\u2014\u641c\u7d22\u548c\u8fd4\u56de\u6570\u636e\u2014\u2014\u53ef\u4ee5\u540c\u65f6\u88ab\u4e3b\u5206\u7247\xa0",(0,r.yg)("em",{parentName:"li"},"\u6216"),"\xa0\u526f\u672c\u5206\u7247\u6240\u5904\u7406\uff0c\u6240\u4ee5\u5f53\u4f60\u62e5\u6709\u8d8a\u591a\u7684\u526f\u672c\u5206\u7247\u65f6\uff0c\u4e5f\u5c06\u62e5\u6709\u8d8a\u9ad8\u7684\u541e\u5410\u91cf\u3002")),(0,r.yg)("h2",{id:"\u5e38\u7528\u67e5\u8be2curl"},"\u5e38\u7528\u67e5\u8be2(curl)"),(0,r.yg)("h3",{id:"\u57fa\u7840\u6982\u5ff5"},"\u57fa\u7840\u6982\u5ff5"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\nurl\u4e2d\u643a\u5e26?v\u8868\u793a\u5c55\u793a\u8868\u5934\nurl\u4e2d\u643a\u5e26?pretty\u8868\u793a\u5c55\u793a\u683c\u5f0f\u5316\nurl\u4e2d\u5e26\u7740?help\u67e5\u770b\u5217\u7684\u5b9a\u4e49\nurl\u4e2d\u5e26\u7740?h=a,b\u6307\u5b9a\u67e5\u770b\u67d0\u4e9b\u5217\n\n#\u6d4f\u89c8es\u670d\u52a1\u4fe1\u606f\ncurl -XGET http://127.0.0.1:9200\n")),(0,r.yg)("h3",{id:"\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93"},"\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u6839\u636e\u7d22\u5f15\u5e93\u540d\u79f0\u6392\u5e8f\ncurl -XGET 'http://127.0.0.1:9200/_cat/indices?v&s=index'\n#\u6839\u636e\u6587\u6863\u6570\u91cf\u6392\u5e8f\ncurl -XGET 'http://127.0.0.1:9200/_cat/indices?v&s=docs.count'\n#\u6839\u636e\u6587\u6863\u78c1\u76d8\u5b58\u50a8\u5927\u5c0f\u6392\u5e8f\ncurl -XGET 'http://127.0.0.1:9200/_cat/indices?v&s=store.size'\n#\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93\u7684\u8bbe\u7f6e\u4fe1\u606f\ncurl -XGET 'http://127.0.0.1:9200/_all/_settings?pretty'\n#\u67d0\u4e2a\u7d22\u5f15\ncurl -XGET 'http://127.0.0.1:9200/_cat/indices/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n")),(0,r.yg)("h3",{id:"\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f"},"\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684aliases/mappings/settings\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?pretty'\n#\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684settings\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_settings?pretty'\n#\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684mappings\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_mappings?pretty'\n")),(0,r.yg)("h3",{id:"\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f"},"\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684settings \u526f\u672c\u6570\u91cf\uff0c\u526f\u672c\u6570\u91cf\u8d8a\u5408\u7406\u7684\u8d8a\u591a\uff0c\u4f1a\u63d0\u9ad8\u67e5\u8be2\u901f\u5ea6\ncurl -XPUT \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_settings\' \\\n-H "Content-Type: application/json" \\\n-d \'{"index":{"number_of_replicas":"1"}}\'\n#\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684\u67d0\u4e2a\u5b57\u6bb5\u652f\u6301aggs\u5206\u6790 \u5982\u679c\u67d0\u4e2a\u5b57\u6bb5\u7684\u7c7b\u578b\u662f\u5bf9\u8c61\uff0c\u652f\u6301\u7528.\u8fd0\u7b97\u7b26\ncurl -XPUT \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_mappings/doc?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \'{"properties" : {"url" : {"type" : "text", "fielddata" : true }}}\'\n')),(0,r.yg)("h3",{id:"\u5206\u6790"},"\u5206\u6790"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u6839\u636e\u67d0\u4e2a\u5b57\u6bb5\u5206\u6790\u6587\u6863\u6570\u91cf \u5982\u679c\u67d0\u4e2a\u5b57\u6bb5\u7684\u7c7b\u578b\u662f\u5bf9\u8c61\uff0c\u652f\u6301\u7528.\u8fd0\u7b97\u7b26 \n#\u8fd9\u4e2a\u5b57\u6bb5\u9700\u8981\u652f\u6301fielddata=true\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \'{"size" : 0 ,"aggs": {"all_interests": {"terms": { "field": "url" }}}}\'\n#\u6839\u636e\u67d0\u4e2a\u5b57\u6bb5\u5148\u67e5\u8be2\u518d\u5206\u6790\u6587\u6863\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n"query":{"match":{"method":"POST"}},\n"size" : 0 ,"aggs": {"all_interests": {"terms": { "field": "uaj.name" }}}}\'\n')),(0,r.yg)("h3",{id:"\u5220\u9664\u6307\u5b9a\u7d22\u5f15\u5e93"},"\u5220\u9664\u6307\u5b9a\u7d22\u5f15\u5e93"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\ncurl -XDELETE 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?pretty'\n")),(0,r.yg)("h3",{id:"\u6df1\u5165\u641c\u7d22"},"\u6df1\u5165\u641c\u7d22"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'##############################################\u7ed3\u6784\u5316\u641c\u7d22\n# \u7ed3\u6784\u5316\u641c\u7d22-\u7cbe\u786e\u503c\u67e5\u627e\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "asc"}}], \n"from":0,"size": 10,"query":{"term":{"code":"200"}}}\'\n\ncurl -XPOST \\\nhttp://127.0.0.1:9400/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ \n"from":0,"size": 10,"query":{"term":{"_id":"uNp30XIB0LLx2kagtfJo"}}}\'\n# \u7ed3\u6784\u5316\u641c\u7d22-\u7cbe\u786e\u503c\u67e5\u627e\n# \u901a\u5e38\u5f53\u67e5\u627e\u4e00\u4e2a\u7cbe\u786e\u503c\u7684\u65f6\u5019\uff0c\u6211\u4eec\u4e0d\u5e0c\u671b\u5bf9\u67e5\u8be2\u8fdb\u884c\u8bc4\u5206\u8ba1\u7b97\u3002\u53ea\u5e0c\u671b\u5bf9\u6587\u6863\u8fdb\u884c\u5305\u62ec\u6216\u6392\u9664\u7684\u8ba1\u7b97\uff0c\n# \u6240\u4ee5\u6211\u4eec\u4f1a\u4f7f\u7528 constant_score \u67e5\u8be2\u4ee5\u975e\u8bc4\u5206\u6a21\u5f0f\u6765\u6267\u884c term \u67e5\u8be2\u5e76\u4ee5\u4e00\u4f5c\u4e3a\u7edf\u4e00\u8bc4\u5206\u3002\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "desc"}}], \n"from":0,"size": 10,"query":{\n"constant_score":{\n "filter":{\n "term":{"code":"200"}\n }\n}\n}}\'\n#\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "desc"}}], \n"from":0,"size": 10,"query":{\n"constant_score":{\n "filter":{\n "range":{"code":{\n "lte": "now"\n }}\n }\n}\n}}\'\n\n\n\n##############################################\u5168\u6587\u641c\u7d22\n# \u5168\u6587\u641c\u7d22-\u67e5\u8be2\u6240\u6709-\u6392\u5e8f\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "desc"}}], \n"from":0,"size": 10,"query":{"match_all":{}}}\'\n# \u5168\u6587\u641c\u7d22-\u67d0\u4e2a\u5b57\u6bb5\u67e5\u8be2\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.20.6.11/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "from":0,"size": 10,"query":{"match":{"site":"m"}}}\'\n# \u6a21\u7cca\u67e5\u8be2\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "from":0,"size": 10,"query": {\n"wildcard": {\n "site": "*show.html*"\n}\n}}\'\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "from":0,"size": 10,"query": {\n"bool":{\n "must_not":[\n {"term":{"market.keyword":"\u79d1\u521b\u677f"}}\n ,{"wildcard": {"name": "*ST*"}}\n ]\n}\n}}\'\n\n\n')),(0,r.yg)("h3",{id:"\u65b0\u589e\u6570\u636e"},"\u65b0\u589e\u6570\u636e"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#POST\u63d0\u4ea4 \u81ea\u52a8\u751f\u6210_id\ncurl -XPOST \\\nhttp://127.0.0.1:9200/stock/test \\\n-H "Content-Type: application/json" \\\n-d \'{"author" : "Doug Cutting"}\' \n#PUT\u63d0\u4ea4 \u6307\u5b9a_id\ncurl -XPOST \\\nhttp://127.0.0.1:9200/stock/test/1 \\\n-H "Content-Type: application/json" \\\n-d \'{"author" : "Doug Cutting"}\' \n')),(0,r.yg)("h3",{id:"\u62f7\u8d1d\u7d22\u5f15\u5e93"},"\u62f7\u8d1d\u7d22\u5f15\u5e93"),(0,r.yg)("h4",{id:"\u540c\u4e00\u4e2a\u96c6\u7fa4\u62f7\u8d1d"},"\u540c\u4e00\u4e2a\u96c6\u7fa4\u62f7\u8d1d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# x > .temp\n....\n#reindex one > bak\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.temp"},\n "dest": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}"}}\'\n#\n#curl -XDELETE \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?pretty\'\n#reindex bak > one\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}"},\n "dest": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}"}}\'\n# restart logstash-xxx\n...\n#reindex temp > one\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.temp"},\n "dest": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}"}}\'\n#\n#curl -XDELETE \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.bak?pretty\'\n#curl -XDELETE \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.temp?pretty\'\n')),(0,r.yg)("h4",{id:"\u4e0d\u540c\u7684\u96c6\u7fa4\u62f7\u8d1d"},"\u4e0d\u540c\u7684\u96c6\u7fa4\u62f7\u8d1d"),(0,r.yg)("p",null,"\u6ce8\u610f\uff1a\n\u5fc5\u987b\u914d\u7f6ereindex.remote.whitelist=172.19.184.169:9200"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#reindex one > bak --{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_device_active","remote":{"host":"http://172.19.184.169:9200"}},\n "dest": {"index": "prod_device_active"}}\'\n#reindex one > bak --prod_device_address_statistics\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_device_address_statistics","remote":{"host":"http://172.19.184.169:9200"}},\n "dest": {"index": "prod_device_address_statistics"}}\'\n#reindex one > bak --prod_device_product_model_statistics\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_device_product_model_statistics","remote":{"host":"http://172.19.184.169:9200"}},\n "dest": {"index": "prod_device_product_model_statistics"}}\'\n#reindex one > bak --prod_ranking\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_ranking","remote":{"host":"http://172.19.184.169:9200"}},\n "dest": {"index": "prod_ranking.bak"}}\'\n#reindex one > bak --prod_user_func_flow_for_user_op_for_res\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_user_func_flow_for_user_op_for_res","remote":{"host":"http://192.168.0.33:9200"}},\n "dest": {"index": "prod_user_func_flow_for_user_op_for_res"}}\'\n')),(0,r.yg)("h3",{id:"\u62a5\u9519\u5904\u7406"},"\u62a5\u9519\u5904\u7406"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u5982\u679c\u62a5\u9519\u5982\u4e0b \u9700\u8981\u6267\u884c\n#Fielddata is disabled on text fields by default. Set fielddata=true on [ipo_date] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.\ncurl -i -H "Content-Type:application/json" \\\n-XPUT http://127.0.0.1:9200/daily/_mapping/doc/?pretty \\\n-d \'{"doc":{"properties":{"trade_date":{"type":"text","fielddata":true}}}}\'\n\n#\u89e3\u51b3\u9519\u8bef retrying failed action with response code: 403 ({"type"=>"cluster_block_exception", "reason"=>"block\ncurl -XPUT -H \'Content-Type: application/json\' \\\nhttp://127.0.0.1:9200/_all/_settings \\\n-d \'{"index.blocks.read_only_allow_delete": null}\'\n')),(0,r.yg)("h3",{id:"\u67e5\u8be2\u5206\u7247\u4fe1\u606f\u6587\u6863\u603b\u6570\u4e3b\u8282\u70b9"},"\u67e5\u8be2\u5206\u7247\u4fe1\u606f/\u6587\u6863\u603b\u6570/\u4e3b\u8282\u70b9"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u8be2\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684\u5206\u7247\u4fe1\u606f\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search_shards?pretty'\n#\u67e5\u8be2\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684\u6587\u6863\u603b\u6570\u91cf\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/doc/_count?pretty'\n#\u67e5\u8be2\u4e3b\u8282\u70b9\ncurl -XGET 'http://127.0.0.1:9200/_cat/master?v'\n")),(0,r.yg)("h3",{id:"\u9700\u8981\u5bc6\u7801\u65f6nginx"},"\u9700\u8981\u5bc6\u7801\u65f6(nginx)"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u9700\u8981\u5bc6\u7801\u65f6 \u4e3e\u4f8b\ncurl -XGET \\\n--user admin:Aa0123 \\\n#\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4e0b\u7684\u524d1000\u6761\u6570\u636e\ncurl -XGET --user admin:Aa0123 \\\n\'http://47.103.38.240:8443/rc_ranking/_search\' \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "desc"}}],\\\n"from":0,"size": 1000,"query":{"match_all":{}}}\'\n')),(0,r.yg)("h3",{id:"\u6a21\u677f"},"\u6a21\u677f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u8be2\u6240\u6709\u6a21\u677f\ncurl -XGET 'http://127.0.0.1:9200/_template?pretty'\ncurl -XGET 'http://127.0.0.1:9200/_template?pretty' > t.json\n#\u65b0\u589e\u67d0\u4e2a\u6a21\u677f--logstash-index-template-nginx-api\ncurl -XPUT http://127.0.0.1:9200/_template/logstash-index-template-nginx-api?pretty \\\n-H \"Content-Type: application/json\" \\\n-d @logstash-index-template-nginx-api.json\n\n#\u65b0\u589e\u67d0\u4e2a\u6a21\u677f--logstash-index-template-userop\ncurl -XPUT http://127.0.0.1:9200/_template/logstash-index-template-userop?pretty \\\n-H \"Content-Type: application/json\" \\\n-d @logstash-index-template-userop.json\n\n#\u65b0\u589e\u67d0\u4e2a\u6a21\u677f--logstash-index-template-alarm-data-history.json\ncurl -XPUT http://127.0.0.1:9200/_template/logstash-index-template-alarm-data-history?pretty \\\n-H \"Content-Type: application/json\" \\\n-d @logstash-index-template-alarm-data-history.json\n\n\n#\u5220\u9664\u67d0\u4e2a\u6a21\u677f\ncurl -XDELETE 'http://127.0.0.1:9200/_template/logstash-index-template-nginx-api?pretty'\n")),(0,r.yg)("h3",{id:"\u521b\u5efa\u7d22\u5f15\u5e93"},"\u521b\u5efa\u7d22\u5f15\u5e93"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u521b\u5efa\u7d22\u5f15\u5e93\ncurl -XPUT 'http://127.0.0.1:9200/stock?pretty' \\\n-H 'Content-Type: application/json' \\\n-d '{\n \"settings\" : {\n \"number_of_shards\" : 5,\n \"number_of_replicas\" : 1\n }\n}'\n")),(0,r.yg)("h3",{id:"\u96c6\u7fa4\u72b6\u6001\u67e5\u770b"},"\u96c6\u7fa4\u72b6\u6001\u67e5\u770b"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u670d\u52a1\u68c0\u6d4b\ncurl -XGET 'http://127.0.0.1:9200/_cat/health?v'\n# \u67e5\u770b\u6240\u6709\u96c6\u7fa4\u8282\u70b9\ncurl -XGET 'http://127.0.0.1:9200/_cat/allocation?v'\n# \u67e5\u770b\u96c6\u7fa4\u6240\u6709\u5206\u7247\u5206\u5e03\u60c5\u51b5\ncurl -XGET 'http://127.0.0.1:9200/_cat/shards?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u5206\u7247\u5206\u5e03\u60c5\u51b5\ncurl -XGET 'http://127.0.0.1:9200/_cat/shards/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u4e3b\u8282\u70b9\ncurl -XGET 'http://127.0.0.1:9200/_cat/master?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u6570\u636e\u8282\u70b9\ncurl -XGET 'http://127.0.0.1:9200/_cat/nodes?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u6bb5(\u6570\u636e\u96c6)\ncurl -XGET 'http://127.0.0.1:9200/_cat/segments?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u6bb5\u5206\u5e03\u60c5\u51b5\ncurl -XGET 'http://127.0.0.1:9200/_cat/segments/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u6587\u6863\u6570\u91cf\ncurl -XGET 'http://127.0.0.1:9200/_cat/count?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u6587\u6863\u6570\u91cf\ncurl -XGET 'http://127.0.0.1:9200/_cat/count/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u53d1\u73b0\u673a\u5236\ncurl -XGET 'http://127.0.0.1:9200/_cat/recovery?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u53d1\u73b0\u673a\u5236\ncurl -XGET 'http://127.0.0.1:9200/_cat/recovery/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u963b\u585e\u4efb\u52a1\uff1f\ncurl -XGET 'http://127.0.0.1:9200/_cat/pending_tasks?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u522b\u540d\ncurl -XGET 'http://127.0.0.1:9200/_cat/aliases?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u522b\u540d\ncurl -XGET 'http://127.0.0.1:9200/_cat/aliases/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u7ebf\u7a0b\u6c60\ncurl -XGET 'http://127.0.0.1:9200/_cat/thread_pool?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u63d2\u4ef6\u5217\u8868\ncurl -XGET 'http://127.0.0.1:9200/_cat/plugins?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709fielddata\ncurl -XGET 'http://127.0.0.1:9200/_cat/fielddata?v'\ncurl -XGET 'http://127.0.0.1:9200/_cat/fielddata/{fields}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u8282\u70b9\u7684\u8282\u70b9\u5c5e\u6027\ncurl -XGET 'http://127.0.0.1:9200/_cat/nodeattrs?v'\n")),(0,r.yg)("h3",{id:"\u5feb\u7167"},"\u5feb\u7167"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u67e5\u770b\u5feb\u7167\u5b58\u50a8\u4ed3\u5e93\u5217\u8868\ncurl -X ET "127.0.0.1:9200/_cat/repositories?v"\n#\u67e5\u770b\u67d0\u4e2a\u5feb\u7167\u5b58\u50a8\u4ed3\u5e93\u7684\u5feb\u7167\u5217\u8868\ncurl -XGET "127.0.0.1:9200/_snapshot/snapshots/_all?pretty"\n#\u6ce8\u518c\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XPUT \\\nhttp://127.0.0.1:9200/_snapshot/snapshots?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "type":"fs","settings":{"location":"/usr/share/elasticsearch/snapshots"}}\'\n#\u67e5\u770b\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XGET \\\nhttp://127.0.0.1:9200/_snapshot?pretty\n#\u6267\u884c\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XPUT \\\n\'http://127.0.0.1:9200/_snapshot/snapshots/snapshot_02?wait_for_completion=true\'\n#\u67e5\u770b\u6267\u884c\u5feb\u7167\u5b58\u50a8\u5e93\u7684\u7ed3\u679c\ncurl -XGET \\\nhttp://127.0.0.1:9200/_snapshot/snapshots/snapshot_02?pretty\n#\u5220\u9664\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XDELETE "127.0.0.1:9200/_snapshot/snapshots?pretty"\n#\u5220\u9664\u5feb\u7167\ncurl -XDELETE "127.0.0.1:9200/_snapshot/snapshots/snapshot_02?pretty"\n#\u6253\u5305\ncd /mnt/docker/es.1\ntar czvf snapshots.tar.gz ./snapshots/*\n#############\u76ee\u7684\u5730\ncd /mnt/docker/es.1\n#upload an tar\ntar xzvf snapshots.tar.gz \n#\u6ce8\u518c\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XPUT \\\nhttp://127.0.0.1:9200/_snapshot/snapshots?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "type":"fs","settings":{"location":"/usr/share/elasticsearch/snapshots"}}\'\n#\u8fd8\u539f\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XPOST \\\n\'http://127.0.0.1:9200/_snapshot/snapshots/snapshot_02/_restore?wait_for_completion=true\'\n')),(0,r.yg)("h3",{id:"\u5220\u9664\u6570\u636e"},"\u5220\u9664\u6570\u636e"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u6839\u636e\u65f6\u95f4\u5220\u9664\u90e8\u5206\u6570\u636e\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_delete_by_query?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "query": {\n "range": {\n "@timestamp": {\n "lt": "2022-10-01T00:00:00Z"\n }\n }\n } }\'\n#\u5237\u65b0\u7d22\u5f15 \u5220\u9664 Elasticsearch \u7d22\u5f15\u4e2d\u7684\u90e8\u5206\u6570\u636e\u540e\uff0c\u78c1\u76d8\u4e0a\u53ef\u80fd\u4f1a\u51fa\u73b0\u4e0d\u5fc5\u8981\u7684\u788e\u7247\u3002\u4e3a\u4e86\u56de\u6536\u8fd9\u4e9b\u78c1\u76d8\u7a7a\u95f4\uff0c\u60a8\u53ef\u4ee5\u8fd0\u884c\u4e00\u6b21\u7d22\u5f15\u5237\u65b0\u64cd\u4f5c\uff0c\u8fd9\u5c06\u5220\u9664\u5df2\u6807\u8bb0\u4e3a\u5220\u9664\u4f46\u672a\u5b9e\u9645\u5220\u9664\u7684\u6587\u6863\uff0c\u5e76\u91cd\u65b0\u7ec4\u7ec7\u5269\u4f59\u6587\u6863\u4ee5\u51cf\u5c11\u788e\u7247\u3002\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_refresh?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{}\'\n')),(0,r.yg)("p",null,"#\u5f3a\u5236\u5408\u5e76\ncurl -XPOST \\\n",(0,r.yg)("a",{parentName:"p",href:"http://127.0.0.1:9200/%7B%E5%85%B7%E4%BD%93%E7%9A%84%E7%B4%A2%E5%BC%95%E5%BA%93%7D/_forcemerge?only_expunge_deletes=true"},"http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_forcemerge?only_expunge_deletes=true")," \\\n-H \"Content-Type: application/json\" \\\n-d '{}'"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre"},"\n## \u8fd1\u5b9e\u65f6\u641c\u7d22/refresh\n\n\u5728 Elasticsearch \u4e2d\uff0c\u5199\u5165\u548c\u6253\u5f00\u4e00\u4e2a\u65b0\u6bb5\u7684\u8f7b\u91cf\u7684\u8fc7\u7a0b\u53eb\u505a refresh \u3002 \u9ed8\u8ba4\u60c5\u51b5\u4e0b\u6bcf\u4e2a\u5206\u7247\u4f1a\u6bcf\u79d2\u81ea\u52a8\u5237\u65b0\u4e00\u6b21\u3002\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u6211\u4eec\u8bf4 Elasticsearch \u662f \u8fd1 \u5b9e\u65f6\u641c\u7d22: \u6587\u6863\u7684\u53d8\u5316\u5e76\u4e0d\u662f\u7acb\u5373\u5bf9\u641c\u7d22\u53ef\u89c1\uff0c\u4f46\u4f1a\u5728\u4e00\u79d2\u4e4b\u5185\u53d8\u4e3a\u53ef\u89c1\u3002\n\n\u8fd9\u4e9b\u884c\u4e3a\u53ef\u80fd\u4f1a\u5bf9\u65b0\u7528\u6237\u9020\u6210\u56f0\u60d1: \u4ed6\u4eec\u7d22\u5f15\u4e86\u4e00\u4e2a\u6587\u6863\u7136\u540e\u5c1d\u8bd5\u641c\u7d22\u5b83\uff0c\u4f46\u5374\u6ca1\u6709\u641c\u5230\u3002\u8fd9\u4e2a\u95ee\u9898\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u7528 refresh API \u6267\u884c\u4e00\u6b21\u624b\u52a8\u5237\u65b0:\n```shell\nPOST /_refresh \nPOST /blogs/_refresh \n")),(0,r.yg)("h2",{id:"es\u8bbf\u95ee\u6743\u9650"},"es\u8bbf\u95ee\u6743\u9650"),(0,r.yg)("p",null,"\u56e0\u4e3a\u5f00\u6e90\u7684es\u662f\u4e0d\u5e26\u8bbf\u95ee\u6743\u9650\u63a7\u5236\u7684\uff0c\u5e76\u4e0d\u80fd\u7528\u4e8e\u751f\u4ea7\u73af\u5883\uff1b\u5546\u4e1a\u7248\u63d2\u4ef6x-pack\u662f\u652f\u6301\u7528\u6237\u6743\u9650\u7684\uff0c\u4f46\u662f\u6536\u8d39\u3002\n\u53ef\u4ee5\u4f7f\u7528nginx\u589e\u52a0\u8bbf\u95ee\u6743\u9650\u6765\u65b9\u5411\u4ee3\u7406es\uff0c\u4f46\u662fes\u76849200/9300\u7aef\u53e3\u4e0d\u80fd\u5916\u7f51\u5f00\u653e\uff1b"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u5b89\u88c5httpd-tools\nyum install httpd-tools\nmkdir /usr/local/nginx/conf/passwd\nhtpasswd -c /usr/local/nginx/conf/passwd/es admin\n#nginx\u914d\u7f6e\u53cd\u5411\u4ee3\u7406\u589e\u52a0\nserver\n{\n listen 8443;\n location / {\n proxy_set_header Host $host;\n proxy_set_header X-Forwarded-For $remote_addr;\n proxy_pass http://172.17.0.1:9200;\n proxy_connect_timeout 18000;\n proxy_send_timeout 18000;\n proxy_read_timeout 18000;\n #\n auth_basic "Please input password";\n auth_basic_user_file /usr/local/nginx/conf/passwd/es;\n } \n}\n')),(0,r.yg)("h2",{id:"geoip"},"GEOIP"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\nyum install GeoIP-data -y\n")),(0,r.yg)("h2",{id:"\u76f8\u5173\u8d44\u6599"},"\u76f8\u5173\u8d44\u6599"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_31871785/article/details/86138291"},"\u4ece\u96f6\u5b66Elasticsearch\u7cfb\u5217\u2014\u2014JAVA API\u64cd\u4f5c")),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://yqh.aliyun.com/detail/9912"},"\u5982\u4f55\u628aElasticsearch\u53d1\u6325\u5230\u6781\u81f4\uff1f")),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://gitee.com/ymm-tech/ebatis"},"ebatis\u3010ebatis \u662f\u4e00\u4e2a\u7b80\u5355\u65b9\u4fbf\u4e0a\u624b\u7684 Elasticsearch ORM \u6846\u67b6\u3011"))))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4963],{15680:(e,n,t)=>{t.d(n,{xA:()=>c,yg:()=>h});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function s(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var o=a.createContext({}),i=function(e){var n=a.useContext(o),t=n;return e&&(t="function"==typeof e?e(n):s(s({},n),e)),t},c=function(e){var n=i(e.components);return a.createElement(o.Provider,{value:n},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},y=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,l=e.originalType,o=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),d=i(t),y=r,h=d["".concat(o,".").concat(y)]||d[y]||u[y]||l;return t?a.createElement(h,s(s({ref:n},c),{},{components:t})):a.createElement(h,s({ref:n},c))}));function h(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var l=t.length,s=new Array(l);s[0]=y;var p={};for(var o in n)hasOwnProperty.call(n,o)&&(p[o]=n[o]);p.originalType=e,p[d]="string"==typeof e?e:r,s[1]=p;for(var i=2;i{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>s,default:()=>u,frontMatter:()=>l,metadata:()=>p,toc:()=>i});var a=t(58168),r=(t(96540),t(15680));const l={},s=void 0,p={unversionedId:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch",id:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch",title:"Elasticsearch",description:"ES\u7248\u672c",source:"@site/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch.md",sourceDirName:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce",slug:"/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0"},next:{title:"InfluxDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB"}},o={},i=[{value:"ES\u7248\u672c",id:"es\u7248\u672c",level:2},{value:"ES\u57fa\u7840\u6982\u5ff5",id:"es\u57fa\u7840\u6982\u5ff5",level:2},{value:"\u5206\u9875",id:"\u5206\u9875",level:2},{value:"\u5206\u7247\u548c\u526f\u672c",id:"\u5206\u7247\u548c\u526f\u672c",level:2},{value:"\u5e38\u7528\u67e5\u8be2(curl)",id:"\u5e38\u7528\u67e5\u8be2curl",level:2},{value:"\u57fa\u7840\u6982\u5ff5",id:"\u57fa\u7840\u6982\u5ff5",level:3},{value:"\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93",id:"\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93",level:3},{value:"\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f",id:"\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f",level:3},{value:"\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f",id:"\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f",level:3},{value:"\u5206\u6790",id:"\u5206\u6790",level:3},{value:"\u5220\u9664\u6307\u5b9a\u7d22\u5f15\u5e93",id:"\u5220\u9664\u6307\u5b9a\u7d22\u5f15\u5e93",level:3},{value:"\u6df1\u5165\u641c\u7d22",id:"\u6df1\u5165\u641c\u7d22",level:3},{value:"\u65b0\u589e\u6570\u636e",id:"\u65b0\u589e\u6570\u636e",level:3},{value:"\u62f7\u8d1d\u7d22\u5f15\u5e93",id:"\u62f7\u8d1d\u7d22\u5f15\u5e93",level:3},{value:"\u540c\u4e00\u4e2a\u96c6\u7fa4\u62f7\u8d1d",id:"\u540c\u4e00\u4e2a\u96c6\u7fa4\u62f7\u8d1d",level:4},{value:"\u4e0d\u540c\u7684\u96c6\u7fa4\u62f7\u8d1d",id:"\u4e0d\u540c\u7684\u96c6\u7fa4\u62f7\u8d1d",level:4},{value:"\u62a5\u9519\u5904\u7406",id:"\u62a5\u9519\u5904\u7406",level:3},{value:"\u67e5\u8be2\u5206\u7247\u4fe1\u606f/\u6587\u6863\u603b\u6570/\u4e3b\u8282\u70b9",id:"\u67e5\u8be2\u5206\u7247\u4fe1\u606f\u6587\u6863\u603b\u6570\u4e3b\u8282\u70b9",level:3},{value:"\u9700\u8981\u5bc6\u7801\u65f6(nginx)",id:"\u9700\u8981\u5bc6\u7801\u65f6nginx",level:3},{value:"\u6a21\u677f",id:"\u6a21\u677f",level:3},{value:"\u521b\u5efa\u7d22\u5f15\u5e93",id:"\u521b\u5efa\u7d22\u5f15\u5e93",level:3},{value:"\u96c6\u7fa4\u72b6\u6001\u67e5\u770b",id:"\u96c6\u7fa4\u72b6\u6001\u67e5\u770b",level:3},{value:"\u5feb\u7167",id:"\u5feb\u7167",level:3},{value:"\u5220\u9664\u6570\u636e",id:"\u5220\u9664\u6570\u636e",level:3},{value:"es\u8bbf\u95ee\u6743\u9650",id:"es\u8bbf\u95ee\u6743\u9650",level:2},{value:"GEOIP",id:"geoip",level:2},{value:"\u76f8\u5173\u8d44\u6599",id:"\u76f8\u5173\u8d44\u6599",level:2}],c={toc:i},d="wrapper";function u(e){let{components:n,...t}=e;return(0,r.yg)(d,(0,a.A)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h2",{id:"es\u7248\u672c"},"ES\u7248\u672c"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u76ee\u524d\u4f7f\u7528\u7684\u7248\u672c\u662f6.3.2\uff0c\u76f8\u5bf9\u5e94\u7684logstash/kibana/filebeat\u4e5f\u4f7f\u7528\u7684\u662f6.3.2\uff0cjava\u5bf9\u5e94\u7684jar\u5305client\u4e5f\u662f\u7528\u76846.3.2\uff1b")),(0,r.yg)("h2",{id:"es\u57fa\u7840\u6982\u5ff5"},"ES\u57fa\u7840\u6982\u5ff5"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"Index\uff08\u7d22\u5f15-\u6570\u636e\u5e93\uff09\uff0c\u7d22\u5f15\u5305\u542b\u4e00\u5806\u6709\u76f8\u4f3c\u7ed3\u6784\u7684\u6587\u6863\u6570\u636e\uff0c\uff0c\u6bd4\u5982\u53ef\u4ee5\u6709\u4e00\u4e2a\u5ba2\u6237\u7d22\u5f15\uff0c\u5546\u54c1\u5206\u7c7b\u7d22\u5f15\uff0c\u8ba2\u5355\u7d22\u5f15\uff0c\u7d22\u5f15\u6709\u4e00\u4e2a\u540d\u79f0\u3002\u4e00\u4e2aindex\u5305\u542b\u5f88\u591adocument\uff0c\u4e00\u4e2aindex\u5c31\u4ee3\u8868\u4e86\u4e00\u7c7b\u7c7b\u4f3c\u7684\u6216\u8005\u76f8\u540c\u7684document\u3002\u6bd4\u5982\u8bf4\u5efa\u7acb\u4e00\u4e2aproduct index\uff0c\u5546\u54c1\u7d22\u5f15\uff0c\u91cc\u9762\u53ef\u80fd\u5c31\u5b58\u653e\u4e86\u6240\u6709\u7684\u5546\u54c1\u6570\u636e\uff0c\u6240\u6709\u7684\u5546\u54c1document\u3002\u5fc5\u987b\u662f\u82f1\u6587\u5c0f\u5199\u547d\u540d\u3002"),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("del",{parentName:"li"},"Type\uff08\u7c7b\u578b-\u8868\uff09\uff0c\u6bcf\u4e2a\u7d22\u5f15\u91cc\u90fd\u53ef\u4ee5\u6709\u4e00\u4e2a\u6216\u591a\u4e2atype\uff0ctype\u662findex\u4e2d\u7684\u4e00\u4e2a\u903b\u8f91\u6570\u636e\u5206\u7c7b\uff0c\u4e00\u4e2atype\u4e0b\u7684document\uff0c\u90fd\u6709\u76f8\u540c\u7684field\u3002")),(0,r.yg)("li",{parentName:"ol"},"Document\uff08\u6587\u6863-\u884c\uff09\uff0c\u6587\u6863\u662fes\u4e2d\u7684\u6700\u5c0f\u6570\u636e\u5355\u5143\uff0c\u4e00\u4e2adocument\u53ef\u4ee5\u662f\u4e00\u6761\u5ba2\u6237\u6570\u636e\uff0c\u4e00\u6761\u5546\u54c1\u5206\u7c7b\u6570\u636e\uff0c\u4e00\u6761\u8ba2\u5355\u6570\u636e\uff0c\u901a\u5e38\u7528JSON\u6570\u636e\u7ed3\u6784\u8868\u793a\uff0c\u6bcf\u4e2aindex\u4e0b\u7684type\u4e2d\uff0c\u90fd\u53ef\u4ee5\u53bb\u5b58\u50a8\u591a\u4e2adocument\u3002"),(0,r.yg)("li",{parentName:"ol"},"Field\uff08\u5b57\u6bb5-\u5217\uff09\uff0cField\u662fElasticsearch\u7684\u6700\u5c0f\u5355\u4f4d\u3002\u4e00\u4e2adocument\u91cc\u9762\u6709\u591a\u4e2afield\uff0c\u6bcf\u4e2afield\u5c31\u662f\u4e00\u4e2a\u6570\u636e\u5b57\u6bb5\u3002"),(0,r.yg)("li",{parentName:"ol"},"mapping\uff08\u6620\u5c04-\u7ea6\u675f\uff09\uff0c\u6570\u636e\u5982\u4f55\u5b58\u653e\u5230\u7d22\u5f15\u5bf9\u8c61\u4e0a\uff0c\u9700\u8981\u6709\u4e00\u4e2a\u6620\u5c04\u914d\u7f6e\uff0c\u5305\u62ec\uff1a\u6570\u636e\u7c7b\u578b\u3001\u662f\u5426\u5b58\u50a8\u3001\u662f\u5426\u5206\u8bcd\u7b49\u3002\u8fd9\u6837\u5c31\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3ablog\u7684Index\u3002Type\u4e0d\u7528\u5355\u72ec\u521b\u5efa\uff0c\u5728\u521b\u5efaMapping \u65f6\u6307\u5b9a\u5c31\u53ef\u4ee5\u3002Mapping\u7528\u6765\u5b9a\u4e49Document\u4e2d\u6bcf\u4e2a\u5b57\u6bb5\u7684\u7c7b\u578b\uff0c\u5373\u6240\u4f7f\u7528\u7684 analyzer\u3001\u662f\u5426\u7d22\u5f15\u7b49\u5c5e\u6027\uff0c\u975e\u5e38\u5173\u952e\u7b49\u3002")),(0,r.yg)("p",null,(0,r.yg)("strong",{parentName:"p"},"\u6ce8\u610f\u4e8b\u9879\uff1a")),(0,r.yg)("p",null,"\u4eceES6.0\u5f00\u59cb\uff0c\u5b98\u65b9\u4fbf\u4e0d\u5efa\u8bae\u4e00\u4e2a\u7d22\u5f15\u4e2d\u521b\u5efa\u591a\u4e2a\u7c7b\u578b\uff1b\u5728ES7.0\u4e2d\uff0c\u66f4\u662f\u79fb\u9664\u4e86\u7c7b\u578b(Type)\u8fd9\u4e2a\u6982\u5ff5\u3002\u4e3a\u4ec0\u4e48\u5462\uff1f\n\u5728Elasticsearch\u7d22\u5f15\u4e2d\uff0c\u4e0d\u540c\u7c7b\u578b(Type)\u4e2d\u5177\u6709\u76f8\u540c\u540d\u79f0\u7684\u5b57\u6bb5\u5728\u5185\u90e8\u7531\u76f8\u540c\u7684Lucene\u5b57\u6bb5\u652f\u6301\u3002\u4e00\u4e2aindex\u4e2d\u591a\u4e2aType\u5728Lucene\u4e2d\u4f1a\u6709\u8bb8\u591a\u95ee\u9898\u3002\u5177\u4f53\u7684\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u8bf4\u660e\u3002"),(0,r.yg)("h2",{id:"\u5206\u9875"},"\u5206\u9875"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u6df1\u5ea6\u5206\u9875\uff0c\u7406\u89e3\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\u6df1\u5ea6\u5206\u9875\u662f\u6709\u95ee\u9898\u7684\uff0c\u6240\u4ee5\u4f7f\u7528\u6b64\u5206\u9875\u5728\u5bf9\u9700\u8981\u9650\u5236\u5206\u9875\u6570\u91cf\uff1b"),(0,r.yg)("li",{parentName:"ol"},"\u5feb\u7167\u5206\u9875(scroll)"),(0,r.yg)("li",{parentName:"ol"},"search_after\u5206\u9875")),(0,r.yg)("h2",{id:"\u5206\u7247\u548c\u526f\u672c"},"\u5206\u7247\u548c\u526f\u672c"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'//\u65b0\u589e\u7d22\u5f15\u7684\u540c\u65f6\u6dfb\u52a0\u5206\u7247\uff0c\u4e0d\u4f7f\u7528\u9ed8\u8ba4\u5206\u7247\uff0c\u5206\u7247\u7684\u6570\u91cf\n//\u4e00\u822c\u4ee5\uff08\u8282\u70b9\u6570*1.5\u62163\u500d\uff09\u6765\u8ba1\u7b97\uff0c\u6bd4\u5982\u67094\u4e2a\u8282\u70b9\uff0c\u5206\u7247\u6570\u91cf\u4e00\u822c\u662f6\u4e2a\u523012\u4e2a\uff0c\u6bcf\u4e2a\u5206\u7247\u4e00\u822c\u5206\u914d\u4e00\u4e2a\u526f\u672c\nPUT /testindex\n{\n "settings" : {\n "number_of_shards" : 5,\n "number_of_replicas" : 1\n }\n}\n')),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u4e00\u4e2a \u5206\u7247 \u662f\u4e00\u4e2a\u5e95\u5c42\u7684 \u5de5\u4f5c\u5355\u5143 \uff0c\u5b83\u4ec5\u4fdd\u5b58\u4e86\u5168\u90e8\u6570\u636e\u4e2d\u7684\u4e00\u90e8\u5206\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u5206\u7247\u662f\u4e00\u4e2a Lucene \u7684\u5b9e\u4f8b\uff0c\u4ee5\u53ca\u5b83\u672c\u8eab\u5c31\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u641c\u7d22\u5f15\u64ce\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u5206\u7247\u53ef\u4ee5\u662f \u4e3b \u5206\u7247\u6216\u8005 \u526f\u672c \u5206\u7247\u3002 \u7d22\u5f15\u5185\u4efb\u610f\u4e00\u4e2a\u6587\u6863\u90fd\u5f52\u5c5e\u4e8e\u4e00\u4e2a\u4e3b\u5206\u7247\uff0c\u6240\u4ee5\u4e3b\u5206\u7247\u7684\u6570\u76ee\u51b3\u5b9a\u7740\u7d22\u5f15\u80fd\u591f\u4fdd\u5b58\u7684\u6700\u5927\u6570\u636e\u91cf\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u6280\u672f\u4e0a\u6765\u8bf4\uff0c\u4e00\u4e2a\u4e3b\u5206\u7247\u6700\u5927\u80fd\u591f\u5b58\u50a8 Integer.MAX_VALUE - 128 \u4e2a\u6587\u6863 ~= 21\u4ebf\u6761"),(0,r.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u526f\u672c\u5206\u7247\u53ea\u662f\u4e00\u4e2a\u4e3b\u5206\u7247\u7684\u62f7\u8d1d\u3002\u526f\u672c\u5206\u7247\u4f5c\u4e3a\u786c\u4ef6\u6545\u969c\u65f6\u4fdd\u62a4\u6570\u636e\u4e0d\u4e22\u5931\u7684\u5197\u4f59\u5907\u4efd\uff0c\u5e76\u4e3a\u641c\u7d22\u548c\u8fd4\u56de\u6587\u6863\u7b49\u8bfb\u64cd\u4f5c\u63d0\u4f9b\u670d\u52a1\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u5728\u7d22\u5f15\u5efa\u7acb\u7684\u65f6\u5019\u5c31\u5df2\u7ecf\u786e\u5b9a\u4e86\u4e3b\u5206\u7247\u6570\uff0c\u4f46\u662f\u526f\u672c\u5206\u7247\u6570\u53ef\u4ee5\u968f\u65f6\u4fee\u6539\u3002\u8bfb\u64cd\u4f5c\u2014\u2014\u641c\u7d22\u548c\u8fd4\u56de\u6570\u636e\u2014\u2014\u53ef\u4ee5\u540c\u65f6\u88ab\u4e3b\u5206\u7247\xa0",(0,r.yg)("em",{parentName:"li"},"\u6216"),"\xa0\u526f\u672c\u5206\u7247\u6240\u5904\u7406\uff0c\u6240\u4ee5\u5f53\u4f60\u62e5\u6709\u8d8a\u591a\u7684\u526f\u672c\u5206\u7247\u65f6\uff0c\u4e5f\u5c06\u62e5\u6709\u8d8a\u9ad8\u7684\u541e\u5410\u91cf\u3002")),(0,r.yg)("h2",{id:"\u5e38\u7528\u67e5\u8be2curl"},"\u5e38\u7528\u67e5\u8be2(curl)"),(0,r.yg)("h3",{id:"\u57fa\u7840\u6982\u5ff5"},"\u57fa\u7840\u6982\u5ff5"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\nurl\u4e2d\u643a\u5e26?v\u8868\u793a\u5c55\u793a\u8868\u5934\nurl\u4e2d\u643a\u5e26?pretty\u8868\u793a\u5c55\u793a\u683c\u5f0f\u5316\nurl\u4e2d\u5e26\u7740?help\u67e5\u770b\u5217\u7684\u5b9a\u4e49\nurl\u4e2d\u5e26\u7740?h=a,b\u6307\u5b9a\u67e5\u770b\u67d0\u4e9b\u5217\n\n#\u6d4f\u89c8es\u670d\u52a1\u4fe1\u606f\ncurl -XGET http://127.0.0.1:9200\n")),(0,r.yg)("h3",{id:"\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93"},"\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u6839\u636e\u7d22\u5f15\u5e93\u540d\u79f0\u6392\u5e8f\ncurl -XGET 'http://127.0.0.1:9200/_cat/indices?v&s=index'\n#\u6839\u636e\u6587\u6863\u6570\u91cf\u6392\u5e8f\ncurl -XGET 'http://127.0.0.1:9200/_cat/indices?v&s=docs.count'\n#\u6839\u636e\u6587\u6863\u78c1\u76d8\u5b58\u50a8\u5927\u5c0f\u6392\u5e8f\ncurl -XGET 'http://127.0.0.1:9200/_cat/indices?v&s=store.size'\n#\u67e5\u770b\u6240\u6709\u7d22\u5f15\u5e93\u7684\u8bbe\u7f6e\u4fe1\u606f\ncurl -XGET 'http://127.0.0.1:9200/_all/_settings?pretty'\n#\u67d0\u4e2a\u7d22\u5f15\ncurl -XGET 'http://127.0.0.1:9200/_cat/indices/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n")),(0,r.yg)("h3",{id:"\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f"},"\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684aliases/mappings/settings\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?pretty'\n#\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684settings\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_settings?pretty'\n#\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684mappings\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_mappings?pretty'\n")),(0,r.yg)("h3",{id:"\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f"},"\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u4fe1\u606f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684settings \u526f\u672c\u6570\u91cf\uff0c\u526f\u672c\u6570\u91cf\u8d8a\u5408\u7406\u7684\u8d8a\u591a\uff0c\u4f1a\u63d0\u9ad8\u67e5\u8be2\u901f\u5ea6\ncurl -XPUT \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_settings\' \\\n-H "Content-Type: application/json" \\\n-d \'{"index":{"number_of_replicas":"1"}}\'\n#\u8bbe\u7f6e\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684\u67d0\u4e2a\u5b57\u6bb5\u652f\u6301aggs\u5206\u6790 \u5982\u679c\u67d0\u4e2a\u5b57\u6bb5\u7684\u7c7b\u578b\u662f\u5bf9\u8c61\uff0c\u652f\u6301\u7528.\u8fd0\u7b97\u7b26\ncurl -XPUT \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_mappings/doc?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \'{"properties" : {"url" : {"type" : "text", "fielddata" : true }}}\'\n')),(0,r.yg)("h3",{id:"\u5206\u6790"},"\u5206\u6790"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u6839\u636e\u67d0\u4e2a\u5b57\u6bb5\u5206\u6790\u6587\u6863\u6570\u91cf \u5982\u679c\u67d0\u4e2a\u5b57\u6bb5\u7684\u7c7b\u578b\u662f\u5bf9\u8c61\uff0c\u652f\u6301\u7528.\u8fd0\u7b97\u7b26 \n#\u8fd9\u4e2a\u5b57\u6bb5\u9700\u8981\u652f\u6301fielddata=true\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \'{"size" : 0 ,"aggs": {"all_interests": {"terms": { "field": "url" }}}}\'\n#\u6839\u636e\u67d0\u4e2a\u5b57\u6bb5\u5148\u67e5\u8be2\u518d\u5206\u6790\u6587\u6863\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n"query":{"match":{"method":"POST"}},\n"size" : 0 ,"aggs": {"all_interests": {"terms": { "field": "uaj.name" }}}}\'\n')),(0,r.yg)("h3",{id:"\u5220\u9664\u6307\u5b9a\u7d22\u5f15\u5e93"},"\u5220\u9664\u6307\u5b9a\u7d22\u5f15\u5e93"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\ncurl -XDELETE 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?pretty'\n")),(0,r.yg)("h3",{id:"\u6df1\u5165\u641c\u7d22"},"\u6df1\u5165\u641c\u7d22"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'##############################################\u7ed3\u6784\u5316\u641c\u7d22\n# \u7ed3\u6784\u5316\u641c\u7d22-\u7cbe\u786e\u503c\u67e5\u627e\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "asc"}}], \n"from":0,"size": 10,"query":{"term":{"code":"200"}}}\'\n\ncurl -XPOST \\\nhttp://127.0.0.1:9400/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ \n"from":0,"size": 10,"query":{"term":{"_id":"uNp30XIB0LLx2kagtfJo"}}}\'\n# \u7ed3\u6784\u5316\u641c\u7d22-\u7cbe\u786e\u503c\u67e5\u627e\n# \u901a\u5e38\u5f53\u67e5\u627e\u4e00\u4e2a\u7cbe\u786e\u503c\u7684\u65f6\u5019\uff0c\u6211\u4eec\u4e0d\u5e0c\u671b\u5bf9\u67e5\u8be2\u8fdb\u884c\u8bc4\u5206\u8ba1\u7b97\u3002\u53ea\u5e0c\u671b\u5bf9\u6587\u6863\u8fdb\u884c\u5305\u62ec\u6216\u6392\u9664\u7684\u8ba1\u7b97\uff0c\n# \u6240\u4ee5\u6211\u4eec\u4f1a\u4f7f\u7528 constant_score \u67e5\u8be2\u4ee5\u975e\u8bc4\u5206\u6a21\u5f0f\u6765\u6267\u884c term \u67e5\u8be2\u5e76\u4ee5\u4e00\u4f5c\u4e3a\u7edf\u4e00\u8bc4\u5206\u3002\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "desc"}}], \n"from":0,"size": 10,"query":{\n"constant_score":{\n "filter":{\n "term":{"code":"200"}\n }\n}\n}}\'\n#\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "desc"}}], \n"from":0,"size": 10,"query":{\n"constant_score":{\n "filter":{\n "range":{"code":{\n "lte": "now"\n }}\n }\n}\n}}\'\n\n\n\n##############################################\u5168\u6587\u641c\u7d22\n# \u5168\u6587\u641c\u7d22-\u67e5\u8be2\u6240\u6709-\u6392\u5e8f\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "desc"}}], \n"from":0,"size": 10,"query":{"match_all":{}}}\'\n# \u5168\u6587\u641c\u7d22-\u67d0\u4e2a\u5b57\u6bb5\u67e5\u8be2\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.20.6.11/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "from":0,"size": 10,"query":{"match":{"site":"m"}}}\'\n# \u6a21\u7cca\u67e5\u8be2\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "from":0,"size": 10,"query": {\n"wildcard": {\n "site": "*show.html*"\n}\n}}\'\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "from":0,"size": 10,"query": {\n"bool":{\n "must_not":[\n {"term":{"market.keyword":"\u79d1\u521b\u677f"}}\n ,{"wildcard": {"name": "*ST*"}}\n ]\n}\n}}\'\n\n\n')),(0,r.yg)("h3",{id:"\u65b0\u589e\u6570\u636e"},"\u65b0\u589e\u6570\u636e"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#POST\u63d0\u4ea4 \u81ea\u52a8\u751f\u6210_id\ncurl -XPOST \\\nhttp://127.0.0.1:9200/stock/test \\\n-H "Content-Type: application/json" \\\n-d \'{"author" : "Doug Cutting"}\' \n#PUT\u63d0\u4ea4 \u6307\u5b9a_id\ncurl -XPOST \\\nhttp://127.0.0.1:9200/stock/test/1 \\\n-H "Content-Type: application/json" \\\n-d \'{"author" : "Doug Cutting"}\' \n')),(0,r.yg)("h3",{id:"\u62f7\u8d1d\u7d22\u5f15\u5e93"},"\u62f7\u8d1d\u7d22\u5f15\u5e93"),(0,r.yg)("h4",{id:"\u540c\u4e00\u4e2a\u96c6\u7fa4\u62f7\u8d1d"},"\u540c\u4e00\u4e2a\u96c6\u7fa4\u62f7\u8d1d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# x > .temp\n....\n#reindex one > bak\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.temp"},\n "dest": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}"}}\'\n#\n#curl -XDELETE \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?pretty\'\n#reindex bak > one\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}"},\n "dest": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}"}}\'\n# restart logstash-xxx\n...\n#reindex temp > one\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.temp"},\n "dest": {"index": "{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}"}}\'\n#\n#curl -XDELETE \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.bak?pretty\'\n#curl -XDELETE \'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}.temp?pretty\'\n')),(0,r.yg)("h4",{id:"\u4e0d\u540c\u7684\u96c6\u7fa4\u62f7\u8d1d"},"\u4e0d\u540c\u7684\u96c6\u7fa4\u62f7\u8d1d"),(0,r.yg)("p",null,"\u6ce8\u610f\uff1a\n\u5fc5\u987b\u914d\u7f6ereindex.remote.whitelist=172.19.184.169:9200"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#reindex one > bak --{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_device_active","remote":{"host":"http://172.19.184.169:9200"}},\n "dest": {"index": "prod_device_active"}}\'\n#reindex one > bak --prod_device_address_statistics\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_device_address_statistics","remote":{"host":"http://172.19.184.169:9200"}},\n "dest": {"index": "prod_device_address_statistics"}}\'\n#reindex one > bak --prod_device_product_model_statistics\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_device_product_model_statistics","remote":{"host":"http://172.19.184.169:9200"}},\n "dest": {"index": "prod_device_product_model_statistics"}}\'\n#reindex one > bak --prod_ranking\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_ranking","remote":{"host":"http://172.19.184.169:9200"}},\n "dest": {"index": "prod_ranking.bak"}}\'\n#reindex one > bak --prod_user_func_flow_for_user_op_for_res\ncurl -XPOST \'http://127.0.0.1:9200/_reindex\' \\\n-H "Content-Type: application/json" \\\n-d \'{\n "source": {"index": "prod_user_func_flow_for_user_op_for_res","remote":{"host":"http://192.168.0.33:9200"}},\n "dest": {"index": "prod_user_func_flow_for_user_op_for_res"}}\'\n')),(0,r.yg)("h3",{id:"\u62a5\u9519\u5904\u7406"},"\u62a5\u9519\u5904\u7406"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u5982\u679c\u62a5\u9519\u5982\u4e0b \u9700\u8981\u6267\u884c\n#Fielddata is disabled on text fields by default. Set fielddata=true on [ipo_date] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.\ncurl -i -H "Content-Type:application/json" \\\n-XPUT http://127.0.0.1:9200/daily/_mapping/doc/?pretty \\\n-d \'{"doc":{"properties":{"trade_date":{"type":"text","fielddata":true}}}}\'\n\n#\u89e3\u51b3\u9519\u8bef retrying failed action with response code: 403 ({"type"=>"cluster_block_exception", "reason"=>"block\ncurl -XPUT -H \'Content-Type: application/json\' \\\nhttp://127.0.0.1:9200/_all/_settings \\\n-d \'{"index.blocks.read_only_allow_delete": null}\'\n')),(0,r.yg)("h3",{id:"\u67e5\u8be2\u5206\u7247\u4fe1\u606f\u6587\u6863\u603b\u6570\u4e3b\u8282\u70b9"},"\u67e5\u8be2\u5206\u7247\u4fe1\u606f/\u6587\u6863\u603b\u6570/\u4e3b\u8282\u70b9"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u8be2\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684\u5206\u7247\u4fe1\u606f\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_search_shards?pretty'\n#\u67e5\u8be2\u67d0\u4e2a\u7d22\u5f15\u5e93\u7684\u6587\u6863\u603b\u6570\u91cf\ncurl -XGET 'http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/doc/_count?pretty'\n#\u67e5\u8be2\u4e3b\u8282\u70b9\ncurl -XGET 'http://127.0.0.1:9200/_cat/master?v'\n")),(0,r.yg)("h3",{id:"\u9700\u8981\u5bc6\u7801\u65f6nginx"},"\u9700\u8981\u5bc6\u7801\u65f6(nginx)"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u9700\u8981\u5bc6\u7801\u65f6 \u4e3e\u4f8b\ncurl -XGET \\\n--user admin:Aa0123 \\\n#\u67e5\u770b\u67d0\u4e2a\u7d22\u5f15\u5e93\u4e0b\u7684\u524d1000\u6761\u6570\u636e\ncurl -XGET --user admin:Aa0123 \\\n\'http://47.103.38.240:8443/rc_ranking/_search\' \\\n-H "Content-Type: application/json" \\\n-d \'{ "sort": [{"@timestamp": {"order": "desc"}}],\\\n"from":0,"size": 1000,"query":{"match_all":{}}}\'\n')),(0,r.yg)("h3",{id:"\u6a21\u677f"},"\u6a21\u677f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u8be2\u6240\u6709\u6a21\u677f\ncurl -XGET 'http://127.0.0.1:9200/_template?pretty'\ncurl -XGET 'http://127.0.0.1:9200/_template?pretty' > t.json\n#\u65b0\u589e\u67d0\u4e2a\u6a21\u677f--logstash-index-template-nginx-api\ncurl -XPUT http://127.0.0.1:9200/_template/logstash-index-template-nginx-api?pretty \\\n-H \"Content-Type: application/json\" \\\n-d @logstash-index-template-nginx-api.json\n\n#\u65b0\u589e\u67d0\u4e2a\u6a21\u677f--logstash-index-template-userop\ncurl -XPUT http://127.0.0.1:9200/_template/logstash-index-template-userop?pretty \\\n-H \"Content-Type: application/json\" \\\n-d @logstash-index-template-userop.json\n\n#\u65b0\u589e\u67d0\u4e2a\u6a21\u677f--logstash-index-template-alarm-data-history.json\ncurl -XPUT http://127.0.0.1:9200/_template/logstash-index-template-alarm-data-history?pretty \\\n-H \"Content-Type: application/json\" \\\n-d @logstash-index-template-alarm-data-history.json\n\n\n#\u5220\u9664\u67d0\u4e2a\u6a21\u677f\ncurl -XDELETE 'http://127.0.0.1:9200/_template/logstash-index-template-nginx-api?pretty'\n")),(0,r.yg)("h3",{id:"\u521b\u5efa\u7d22\u5f15\u5e93"},"\u521b\u5efa\u7d22\u5f15\u5e93"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u521b\u5efa\u7d22\u5f15\u5e93\ncurl -XPUT 'http://127.0.0.1:9200/stock?pretty' \\\n-H 'Content-Type: application/json' \\\n-d '{\n \"settings\" : {\n \"number_of_shards\" : 5,\n \"number_of_replicas\" : 1\n }\n}'\n")),(0,r.yg)("h3",{id:"\u96c6\u7fa4\u72b6\u6001\u67e5\u770b"},"\u96c6\u7fa4\u72b6\u6001\u67e5\u770b"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u670d\u52a1\u68c0\u6d4b\ncurl -XGET 'http://127.0.0.1:9200/_cat/health?v'\n# \u67e5\u770b\u6240\u6709\u96c6\u7fa4\u8282\u70b9\ncurl -XGET 'http://127.0.0.1:9200/_cat/allocation?v'\n# \u67e5\u770b\u96c6\u7fa4\u6240\u6709\u5206\u7247\u5206\u5e03\u60c5\u51b5\ncurl -XGET 'http://127.0.0.1:9200/_cat/shards?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u5206\u7247\u5206\u5e03\u60c5\u51b5\ncurl -XGET 'http://127.0.0.1:9200/_cat/shards/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u4e3b\u8282\u70b9\ncurl -XGET 'http://127.0.0.1:9200/_cat/master?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u6570\u636e\u8282\u70b9\ncurl -XGET 'http://127.0.0.1:9200/_cat/nodes?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u6bb5(\u6570\u636e\u96c6)\ncurl -XGET 'http://127.0.0.1:9200/_cat/segments?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u6bb5\u5206\u5e03\u60c5\u51b5\ncurl -XGET 'http://127.0.0.1:9200/_cat/segments/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u6587\u6863\u6570\u91cf\ncurl -XGET 'http://127.0.0.1:9200/_cat/count?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u6587\u6863\u6570\u91cf\ncurl -XGET 'http://127.0.0.1:9200/_cat/count/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u53d1\u73b0\u673a\u5236\ncurl -XGET 'http://127.0.0.1:9200/_cat/recovery?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u53d1\u73b0\u673a\u5236\ncurl -XGET 'http://127.0.0.1:9200/_cat/recovery/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u963b\u585e\u4efb\u52a1\uff1f\ncurl -XGET 'http://127.0.0.1:9200/_cat/pending_tasks?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u522b\u540d\ncurl -XGET 'http://127.0.0.1:9200/_cat/aliases?v'\n# \u67e5\u770b\u96c6\u7fa4\u67d0\u4e2a\u7d22\u5f15\u7684\u522b\u540d\ncurl -XGET 'http://127.0.0.1:9200/_cat/aliases/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u7ebf\u7a0b\u6c60\ncurl -XGET 'http://127.0.0.1:9200/_cat/thread_pool?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u63d2\u4ef6\u5217\u8868\ncurl -XGET 'http://127.0.0.1:9200/_cat/plugins?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709fielddata\ncurl -XGET 'http://127.0.0.1:9200/_cat/fielddata?v'\ncurl -XGET 'http://127.0.0.1:9200/_cat/fielddata/{fields}?v'\n# \u67e5\u770b\u96c6\u7fa4\u7684\u6240\u6709\u8282\u70b9\u7684\u8282\u70b9\u5c5e\u6027\ncurl -XGET 'http://127.0.0.1:9200/_cat/nodeattrs?v'\n")),(0,r.yg)("h3",{id:"\u5feb\u7167"},"\u5feb\u7167"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u67e5\u770b\u5feb\u7167\u5b58\u50a8\u4ed3\u5e93\u5217\u8868\ncurl -X ET "127.0.0.1:9200/_cat/repositories?v"\n#\u67e5\u770b\u67d0\u4e2a\u5feb\u7167\u5b58\u50a8\u4ed3\u5e93\u7684\u5feb\u7167\u5217\u8868\ncurl -XGET "127.0.0.1:9200/_snapshot/snapshots/_all?pretty"\n#\u6ce8\u518c\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XPUT \\\nhttp://127.0.0.1:9200/_snapshot/snapshots?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "type":"fs","settings":{"location":"/usr/share/elasticsearch/snapshots"}}\'\n#\u67e5\u770b\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XGET \\\nhttp://127.0.0.1:9200/_snapshot?pretty\n#\u6267\u884c\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XPUT \\\n\'http://127.0.0.1:9200/_snapshot/snapshots/snapshot_02?wait_for_completion=true\'\n#\u67e5\u770b\u6267\u884c\u5feb\u7167\u5b58\u50a8\u5e93\u7684\u7ed3\u679c\ncurl -XGET \\\nhttp://127.0.0.1:9200/_snapshot/snapshots/snapshot_02?pretty\n#\u5220\u9664\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XDELETE "127.0.0.1:9200/_snapshot/snapshots?pretty"\n#\u5220\u9664\u5feb\u7167\ncurl -XDELETE "127.0.0.1:9200/_snapshot/snapshots/snapshot_02?pretty"\n#\u6253\u5305\ncd /mnt/docker/es.1\ntar czvf snapshots.tar.gz ./snapshots/*\n#############\u76ee\u7684\u5730\ncd /mnt/docker/es.1\n#upload an tar\ntar xzvf snapshots.tar.gz \n#\u6ce8\u518c\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XPUT \\\nhttp://127.0.0.1:9200/_snapshot/snapshots?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "type":"fs","settings":{"location":"/usr/share/elasticsearch/snapshots"}}\'\n#\u8fd8\u539f\u5feb\u7167\u5b58\u50a8\u5e93\ncurl -XPOST \\\n\'http://127.0.0.1:9200/_snapshot/snapshots/snapshot_02/_restore?wait_for_completion=true\'\n')),(0,r.yg)("h3",{id:"\u5220\u9664\u6570\u636e"},"\u5220\u9664\u6570\u636e"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u6839\u636e\u65f6\u95f4\u5220\u9664\u90e8\u5206\u6570\u636e\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_delete_by_query?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{ "query": {\n "range": {\n "@timestamp": {\n "lt": "2022-10-01T00:00:00Z"\n }\n }\n } }\'\n#\u5237\u65b0\u7d22\u5f15 \u5220\u9664 Elasticsearch \u7d22\u5f15\u4e2d\u7684\u90e8\u5206\u6570\u636e\u540e\uff0c\u78c1\u76d8\u4e0a\u53ef\u80fd\u4f1a\u51fa\u73b0\u4e0d\u5fc5\u8981\u7684\u788e\u7247\u3002\u4e3a\u4e86\u56de\u6536\u8fd9\u4e9b\u78c1\u76d8\u7a7a\u95f4\uff0c\u60a8\u53ef\u4ee5\u8fd0\u884c\u4e00\u6b21\u7d22\u5f15\u5237\u65b0\u64cd\u4f5c\uff0c\u8fd9\u5c06\u5220\u9664\u5df2\u6807\u8bb0\u4e3a\u5220\u9664\u4f46\u672a\u5b9e\u9645\u5220\u9664\u7684\u6587\u6863\uff0c\u5e76\u91cd\u65b0\u7ec4\u7ec7\u5269\u4f59\u6587\u6863\u4ee5\u51cf\u5c11\u788e\u7247\u3002\ncurl -XPOST \\\nhttp://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_refresh?pretty \\\n-H "Content-Type: application/json" \\\n-d \'{}\'\n')),(0,r.yg)("p",null,"#\u5f3a\u5236\u5408\u5e76\ncurl -XPOST \\\n",(0,r.yg)("a",{parentName:"p",href:"http://127.0.0.1:9200/%7B%E5%85%B7%E4%BD%93%E7%9A%84%E7%B4%A2%E5%BC%95%E5%BA%93%7D/_forcemerge?only_expunge_deletes=true"},"http://127.0.0.1:9200/{\u5177\u4f53\u7684\u7d22\u5f15\u5e93}/_forcemerge?only_expunge_deletes=true")," \\\n-H \"Content-Type: application/json\" \\\n-d '{}'"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre"},"\n## \u8fd1\u5b9e\u65f6\u641c\u7d22/refresh\n\n\u5728 Elasticsearch \u4e2d\uff0c\u5199\u5165\u548c\u6253\u5f00\u4e00\u4e2a\u65b0\u6bb5\u7684\u8f7b\u91cf\u7684\u8fc7\u7a0b\u53eb\u505a refresh \u3002 \u9ed8\u8ba4\u60c5\u51b5\u4e0b\u6bcf\u4e2a\u5206\u7247\u4f1a\u6bcf\u79d2\u81ea\u52a8\u5237\u65b0\u4e00\u6b21\u3002\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u6211\u4eec\u8bf4 Elasticsearch \u662f \u8fd1 \u5b9e\u65f6\u641c\u7d22: \u6587\u6863\u7684\u53d8\u5316\u5e76\u4e0d\u662f\u7acb\u5373\u5bf9\u641c\u7d22\u53ef\u89c1\uff0c\u4f46\u4f1a\u5728\u4e00\u79d2\u4e4b\u5185\u53d8\u4e3a\u53ef\u89c1\u3002\n\n\u8fd9\u4e9b\u884c\u4e3a\u53ef\u80fd\u4f1a\u5bf9\u65b0\u7528\u6237\u9020\u6210\u56f0\u60d1: \u4ed6\u4eec\u7d22\u5f15\u4e86\u4e00\u4e2a\u6587\u6863\u7136\u540e\u5c1d\u8bd5\u641c\u7d22\u5b83\uff0c\u4f46\u5374\u6ca1\u6709\u641c\u5230\u3002\u8fd9\u4e2a\u95ee\u9898\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u7528 refresh API \u6267\u884c\u4e00\u6b21\u624b\u52a8\u5237\u65b0:\n```shell\nPOST /_refresh \nPOST /blogs/_refresh \n")),(0,r.yg)("h2",{id:"es\u8bbf\u95ee\u6743\u9650"},"es\u8bbf\u95ee\u6743\u9650"),(0,r.yg)("p",null,"\u56e0\u4e3a\u5f00\u6e90\u7684es\u662f\u4e0d\u5e26\u8bbf\u95ee\u6743\u9650\u63a7\u5236\u7684\uff0c\u5e76\u4e0d\u80fd\u7528\u4e8e\u751f\u4ea7\u73af\u5883\uff1b\u5546\u4e1a\u7248\u63d2\u4ef6x-pack\u662f\u652f\u6301\u7528\u6237\u6743\u9650\u7684\uff0c\u4f46\u662f\u6536\u8d39\u3002\n\u53ef\u4ee5\u4f7f\u7528nginx\u589e\u52a0\u8bbf\u95ee\u6743\u9650\u6765\u65b9\u5411\u4ee3\u7406es\uff0c\u4f46\u662fes\u76849200/9300\u7aef\u53e3\u4e0d\u80fd\u5916\u7f51\u5f00\u653e\uff1b"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u5b89\u88c5httpd-tools\nyum install httpd-tools\nmkdir /usr/local/nginx/conf/passwd\nhtpasswd -c /usr/local/nginx/conf/passwd/es admin\n#nginx\u914d\u7f6e\u53cd\u5411\u4ee3\u7406\u589e\u52a0\nserver\n{\n listen 8443;\n location / {\n proxy_set_header Host $host;\n proxy_set_header X-Forwarded-For $remote_addr;\n proxy_pass http://172.17.0.1:9200;\n proxy_connect_timeout 18000;\n proxy_send_timeout 18000;\n proxy_read_timeout 18000;\n #\n auth_basic "Please input password";\n auth_basic_user_file /usr/local/nginx/conf/passwd/es;\n } \n}\n')),(0,r.yg)("h2",{id:"geoip"},"GEOIP"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\nyum install GeoIP-data -y\n")),(0,r.yg)("h2",{id:"\u76f8\u5173\u8d44\u6599"},"\u76f8\u5173\u8d44\u6599"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_31871785/article/details/86138291"},"\u4ece\u96f6\u5b66Elasticsearch\u7cfb\u5217\u2014\u2014JAVA API\u64cd\u4f5c")),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://yqh.aliyun.com/detail/9912"},"\u5982\u4f55\u628aElasticsearch\u53d1\u6325\u5230\u6781\u81f4\uff1f")),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://gitee.com/ymm-tech/ebatis"},"ebatis\u3010ebatis \u662f\u4e00\u4e2a\u7b80\u5355\u65b9\u4fbf\u4e0a\u624b\u7684 Elasticsearch ORM \u6846\u67b6\u3011"))))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0ad179ee.46c87b35.js b/assets/js/0ad179ee.0a00a015.js similarity index 98% rename from assets/js/0ad179ee.46c87b35.js rename to assets/js/0ad179ee.0a00a015.js index c2ce05c27..4a76ca399 100644 --- a/assets/js/0ad179ee.46c87b35.js +++ b/assets/js/0ad179ee.0a00a015.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9121],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,p=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),u=l(r),y=o,m=u["".concat(p,".").concat(y)]||u[y]||d[y]||i;return r?n.createElement(m,c(c({ref:t},s),{},{components:r})):n.createElement(m,c({ref:t},s))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,c=new Array(i);c[0]=y;var a={};for(var p in t)hasOwnProperty.call(t,p)&&(a[p]=t[p]);a.originalType=e,a[u]="string"==typeof e?e:o,c[1]=a;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>i,metadata:()=>a,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const i={},c=void 0,a={unversionedId:"study/competitive/TP-LINK",id:"study/competitive/TP-LINK",title:"TP-LINK",description:"SD-VPN",source:"@site/docs/study/competitive/TP-LINK.md",sourceDirName:"study/competitive",slug:"/study/competitive/TP-LINK",permalink:"/docs/study/competitive/TP-LINK",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CMP-DMP-AEP-BAP",permalink:"/docs/study/competitive/CMP-DMP-AEP-BAP"},next:{title:"ThingsCloud",permalink:"/docs/study/competitive/ThingsCloud"}},p={},l=[{value:"SD-VPN",id:"sd-vpn",level:3}],s={toc:l},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"sd-vpn"},"SD-VPN"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://www.tp-link.com.cn/"},"\u5b98\u7f51")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://smb.tp-link.com.cn/service/detail_article_4777.html"},"SDN-VPN \u4f7f\u7528\u8bf4\u660e\u4ecb\u7ecd")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9121],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,p=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),u=l(r),y=o,m=u["".concat(p,".").concat(y)]||u[y]||d[y]||i;return r?n.createElement(m,c(c({ref:t},s),{},{components:r})):n.createElement(m,c({ref:t},s))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,c=new Array(i);c[0]=y;var a={};for(var p in t)hasOwnProperty.call(t,p)&&(a[p]=t[p]);a.originalType=e,a[u]="string"==typeof e?e:o,c[1]=a;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>i,metadata:()=>a,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const i={},c=void 0,a={unversionedId:"study/competitive/TP-LINK",id:"study/competitive/TP-LINK",title:"TP-LINK",description:"SD-VPN",source:"@site/docs/study/competitive/TP-LINK.md",sourceDirName:"study/competitive",slug:"/study/competitive/TP-LINK",permalink:"/docs/study/competitive/TP-LINK",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CMP-DMP-AEP-BAP",permalink:"/docs/study/competitive/CMP-DMP-AEP-BAP"},next:{title:"ThingsCloud",permalink:"/docs/study/competitive/ThingsCloud"}},p={},l=[{value:"SD-VPN",id:"sd-vpn",level:3}],s={toc:l},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"sd-vpn"},"SD-VPN"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://www.tp-link.com.cn/"},"\u5b98\u7f51")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://smb.tp-link.com.cn/service/detail_article_4777.html"},"SDN-VPN \u4f7f\u7528\u8bf4\u660e\u4ecb\u7ecd")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0b36e747.388b852a.js b/assets/js/0b36e747.0e26f646.js similarity index 98% rename from assets/js/0b36e747.388b852a.js rename to assets/js/0b36e747.0e26f646.js index be949aaf1..ecb425001 100644 --- a/assets/js/0b36e747.388b852a.js +++ b/assets/js/0b36e747.0e26f646.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6493],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>f});var n=t(96540);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var o=n.createContext({}),u=function(e){var r=n.useContext(o),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},l=function(e){var r=u(e.components);return n.createElement(o.Provider,{value:r},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},g=n.forwardRef((function(e,r){var t=e.components,i=e.mdxType,a=e.originalType,o=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),s=u(t),g=i,f=s["".concat(o,".").concat(g)]||s[g]||y[g]||a;return t?n.createElement(f,p(p({ref:r},l),{},{components:t})):n.createElement(f,p({ref:r},l))}));function f(e,r){var t=arguments,i=r&&r.mdxType;if("string"==typeof e||i){var a=t.length,p=new Array(a);p[0]=g;var c={};for(var o in r)hasOwnProperty.call(r,o)&&(c[o]=r[o]);c.originalType=e,c[s]="string"==typeof e?e:i,p[1]=c;for(var u=2;u{t.r(r),t.d(r,{assets:()=>o,contentTitle:()=>p,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=t(58168),i=(t(96540),t(15680));const a={},p="Spring Security",c={unversionedId:"study/back/spring/SpringSecurity",id:"study/back/spring/SpringSecurity",title:"Spring Security",description:"Spring Security \u662f\u4e00\u5957\u5b89\u5168\u6846\u67b6\uff0c\u53ef\u4ee5\u57fa\u4e8e RBAC\uff08\u57fa\u4e8e\u89d2\u8272\u7684\u6743\u9650\u63a7\u5236\uff09\u5bf9\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u8fdb\u884c\u63a7\u5236\uff0c",source:"@site/docs/study/back/spring/SpringSecurity.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/SpringSecurity",permalink:"/docs/study/back/spring/SpringSecurity",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Spirng Framework",permalink:"/docs/study/back/spring/SpringFramework"},next:{title:"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",permalink:"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3"}},o={},u=[],l={toc:u},s="wrapper";function y(e){let{components:r,...t}=e;return(0,i.yg)(s,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,i.yg)("h1",{id:"spring-security"},"Spring Security"),(0,i.yg)("p",null,"Spring Security \u662f\u4e00\u5957\u5b89\u5168\u6846\u67b6\uff0c\u53ef\u4ee5\u57fa\u4e8e RBAC\uff08\u57fa\u4e8e\u89d2\u8272\u7684\u6743\u9650\u63a7\u5236\uff09\u5bf9\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u8fdb\u884c\u63a7\u5236\uff0c"),(0,i.yg)("p",null,"\u6838\u5fc3\u601d\u60f3\u662f\u901a\u8fc7\u4e00\u7cfb\u5217\u7684 filter chain \u6765\u8fdb\u884c\u62e6\u622a\u8fc7\u6ee4\uff0c\u5bf9\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u8fdb\u884c\u63a7\u5236\uff0c"),(0,i.yg)("p",null,"\u200bspring security \u7684\u6838\u5fc3\u529f\u80fd\u4e3b\u8981\u5305\u62ec\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"\u8ba4\u8bc1 \uff08\u4f60\u662f\u8c01\uff09"),(0,i.yg)("li",{parentName:"ul"},"\u6388\u6743 \uff08\u4f60\u80fd\u5e72\u4ec0\u4e48\uff09"),(0,i.yg)("li",{parentName:"ul"},"\u653b\u51fb\u9632\u62a4 \uff08\u9632\u6b62\u4f2a\u9020\u8eab\u4efd\uff09")),(0,i.yg)("p",null,"\u5176\u6838\u5fc3\u5c31\u662f\u4e00\u7ec4\u8fc7\u6ee4\u5668\u94fe\uff0c\u9879\u76ee\u542f\u52a8\u540e\u5c06\u4f1a\u81ea\u52a8\u914d\u7f6e\u3002\u6700\u6838\u5fc3\u7684\u5c31\u662f Basic Authentication Filter \u7528\u6765\u8ba4\u8bc1\u7528\u6237\u7684\u8eab\u4efd\uff0c\u4e00\u4e2a\u5728 spring security \u4e2d\u4e00\u79cd\u8fc7\u6ee4\u5668\u5904\u7406\u4e00\u79cd\u8ba4\u8bc1\u65b9\u5f0f\u3002"),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://docs.spring.io/spring-security/reference/index.html"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863")),(0,i.yg)("p",null,"\u8fd9\u6837\u7684\u5b89\u5168\u6846\u67b6\u8fd8\u6709\uff0c"),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://shiro.apache.org/"},"Apache Shiro")),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://sa-token.cc/"},"Sa-Token")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6493],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>f});var n=t(96540);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var o=n.createContext({}),u=function(e){var r=n.useContext(o),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},l=function(e){var r=u(e.components);return n.createElement(o.Provider,{value:r},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},g=n.forwardRef((function(e,r){var t=e.components,i=e.mdxType,a=e.originalType,o=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),s=u(t),g=i,f=s["".concat(o,".").concat(g)]||s[g]||y[g]||a;return t?n.createElement(f,p(p({ref:r},l),{},{components:t})):n.createElement(f,p({ref:r},l))}));function f(e,r){var t=arguments,i=r&&r.mdxType;if("string"==typeof e||i){var a=t.length,p=new Array(a);p[0]=g;var c={};for(var o in r)hasOwnProperty.call(r,o)&&(c[o]=r[o]);c.originalType=e,c[s]="string"==typeof e?e:i,p[1]=c;for(var u=2;u{t.r(r),t.d(r,{assets:()=>o,contentTitle:()=>p,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=t(58168),i=(t(96540),t(15680));const a={},p="Spring Security",c={unversionedId:"study/back/spring/SpringSecurity",id:"study/back/spring/SpringSecurity",title:"Spring Security",description:"Spring Security \u662f\u4e00\u5957\u5b89\u5168\u6846\u67b6\uff0c\u53ef\u4ee5\u57fa\u4e8e RBAC\uff08\u57fa\u4e8e\u89d2\u8272\u7684\u6743\u9650\u63a7\u5236\uff09\u5bf9\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u8fdb\u884c\u63a7\u5236\uff0c",source:"@site/docs/study/back/spring/SpringSecurity.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/SpringSecurity",permalink:"/docs/study/back/spring/SpringSecurity",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Spirng Framework",permalink:"/docs/study/back/spring/SpringFramework"},next:{title:"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",permalink:"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3"}},o={},u=[],l={toc:u},s="wrapper";function y(e){let{components:r,...t}=e;return(0,i.yg)(s,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,i.yg)("h1",{id:"spring-security"},"Spring Security"),(0,i.yg)("p",null,"Spring Security \u662f\u4e00\u5957\u5b89\u5168\u6846\u67b6\uff0c\u53ef\u4ee5\u57fa\u4e8e RBAC\uff08\u57fa\u4e8e\u89d2\u8272\u7684\u6743\u9650\u63a7\u5236\uff09\u5bf9\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u8fdb\u884c\u63a7\u5236\uff0c"),(0,i.yg)("p",null,"\u6838\u5fc3\u601d\u60f3\u662f\u901a\u8fc7\u4e00\u7cfb\u5217\u7684 filter chain \u6765\u8fdb\u884c\u62e6\u622a\u8fc7\u6ee4\uff0c\u5bf9\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u8fdb\u884c\u63a7\u5236\uff0c"),(0,i.yg)("p",null,"\u200bspring security \u7684\u6838\u5fc3\u529f\u80fd\u4e3b\u8981\u5305\u62ec\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"\u8ba4\u8bc1 \uff08\u4f60\u662f\u8c01\uff09"),(0,i.yg)("li",{parentName:"ul"},"\u6388\u6743 \uff08\u4f60\u80fd\u5e72\u4ec0\u4e48\uff09"),(0,i.yg)("li",{parentName:"ul"},"\u653b\u51fb\u9632\u62a4 \uff08\u9632\u6b62\u4f2a\u9020\u8eab\u4efd\uff09")),(0,i.yg)("p",null,"\u5176\u6838\u5fc3\u5c31\u662f\u4e00\u7ec4\u8fc7\u6ee4\u5668\u94fe\uff0c\u9879\u76ee\u542f\u52a8\u540e\u5c06\u4f1a\u81ea\u52a8\u914d\u7f6e\u3002\u6700\u6838\u5fc3\u7684\u5c31\u662f Basic Authentication Filter \u7528\u6765\u8ba4\u8bc1\u7528\u6237\u7684\u8eab\u4efd\uff0c\u4e00\u4e2a\u5728 spring security \u4e2d\u4e00\u79cd\u8fc7\u6ee4\u5668\u5904\u7406\u4e00\u79cd\u8ba4\u8bc1\u65b9\u5f0f\u3002"),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://docs.spring.io/spring-security/reference/index.html"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863")),(0,i.yg)("p",null,"\u8fd9\u6837\u7684\u5b89\u5168\u6846\u67b6\u8fd8\u6709\uff0c"),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://shiro.apache.org/"},"Apache Shiro")),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://sa-token.cc/"},"Sa-Token")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0b7620c8.95cbd14a.js b/assets/js/0b7620c8.decd95eb.js similarity index 98% rename from assets/js/0b7620c8.95cbd14a.js rename to assets/js/0b7620c8.decd95eb.js index a50da268b..2465de140 100644 --- a/assets/js/0b7620c8.95cbd14a.js +++ b/assets/js/0b7620c8.decd95eb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7817],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=l(r),y=a,f=u["".concat(s,".").concat(y)]||u[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[u]="string"==typeof e?e:a,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},c="\u901a\u4fe1\u6a21\u7ec4",i={unversionedId:"study/hard/\u901a\u4fe1\u6a21\u7ec4",id:"study/hard/\u901a\u4fe1\u6a21\u7ec4",title:"\u901a\u4fe1\u6a21\u7ec4",description:"images",source:"@site/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4.md",sourceDirName:"study/hard",slug:"/study/hard/\u901a\u4fe1\u6a21\u7ec4",permalink:"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",permalink:"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/think/"}},s={},l=[],p={toc:l},u="wrapper";function d(e){let{components:t,...o}=e;return(0,a.yg)(u,(0,n.A)({},p,o,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u901a\u4fe1\u6a21\u7ec4"},"\u901a\u4fe1\u6a21\u7ec4"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"images",src:r(93647).A,width:"600",height:"175"}),"\n",(0,a.yg)("img",{alt:"images",src:r(18216).A,width:"600",height:"145"})),(0,a.yg)("p",null,"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u6f2b\u8c08\u901a\u4fe1\u6a21\u7ec4\u5382\u5546\u53d1\u5c55\u5386\u53f2"),(0,a.yg)("li",{parentName:"ol"},"\u65e0\u7ebf\u901a\u4fe1\u6a21\u7ec4\u4ea7\u4e1a\u94fe\u53ca\u7ade\u4e89\u683c\u5c40\u5206\u6790"),(0,a.yg)("li",{parentName:"ol"},"OEM")))}d.isMDXComponent=!0},18216:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/txmz-6a248bb0330e89e38a5d694003270979.jpeg"},93647:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/txmz1-eb0fc062c9be4c1942f3093d983679a4.jpeg"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7817],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=l(r),y=a,f=u["".concat(s,".").concat(y)]||u[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[u]="string"==typeof e?e:a,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},c="\u901a\u4fe1\u6a21\u7ec4",i={unversionedId:"study/hard/\u901a\u4fe1\u6a21\u7ec4",id:"study/hard/\u901a\u4fe1\u6a21\u7ec4",title:"\u901a\u4fe1\u6a21\u7ec4",description:"images",source:"@site/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4.md",sourceDirName:"study/hard",slug:"/study/hard/\u901a\u4fe1\u6a21\u7ec4",permalink:"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",permalink:"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/think/"}},s={},l=[],p={toc:l},u="wrapper";function d(e){let{components:t,...o}=e;return(0,a.yg)(u,(0,n.A)({},p,o,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u901a\u4fe1\u6a21\u7ec4"},"\u901a\u4fe1\u6a21\u7ec4"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"images",src:r(93647).A,width:"600",height:"175"}),"\n",(0,a.yg)("img",{alt:"images",src:r(18216).A,width:"600",height:"145"})),(0,a.yg)("p",null,"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u6f2b\u8c08\u901a\u4fe1\u6a21\u7ec4\u5382\u5546\u53d1\u5c55\u5386\u53f2"),(0,a.yg)("li",{parentName:"ol"},"\u65e0\u7ebf\u901a\u4fe1\u6a21\u7ec4\u4ea7\u4e1a\u94fe\u53ca\u7ade\u4e89\u683c\u5c40\u5206\u6790"),(0,a.yg)("li",{parentName:"ol"},"OEM")))}d.isMDXComponent=!0},18216:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/txmz-6a248bb0330e89e38a5d694003270979.jpeg"},93647:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/txmz1-eb0fc062c9be4c1942f3093d983679a4.jpeg"}}]); \ No newline at end of file diff --git a/assets/js/0dc7fd42.ad97ded4.js b/assets/js/0dc7fd42.565f2d53.js similarity index 98% rename from assets/js/0dc7fd42.ad97ded4.js rename to assets/js/0dc7fd42.565f2d53.js index 7da7dbaa5..efa39ea5e 100644 --- a/assets/js/0dc7fd42.ad97ded4.js +++ b/assets/js/0dc7fd42.565f2d53.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8901],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var o=r(96540);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function p(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var i=o.createContext({}),s=function(e){var t=o.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},c=function(e){var t=s(e.components);return o.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},y=o.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,i=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=s(r),y=n,m=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return r?o.createElement(m,p(p({ref:t},c),{},{components:r})):o.createElement(m,p({ref:t},c))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,p=new Array(a);p[0]=y;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[u]="string"==typeof e?e:n,p[1]=l;for(var s=2;s{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var o=r(58168),n=(r(96540),r(15680));const a={},p=void 0,l={unversionedId:"study/program/ETL/sqoop",id:"study/program/ETL/sqoop",title:"sqoop",description:"\u6982\u8ff0",source:"@site/docs/study/program/ETL/sqoop.md",sourceDirName:"study/program/ETL",slug:"/study/program/ETL/sqoop",permalink:"/docs/study/program/ETL/sqoop",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"kettle",permalink:"/docs/study/program/ETL/kettle"},next:{title:"Erlang",permalink:"/docs/study/program/Erlang/"}},i={},s=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3},{value:"sqoop\u4ea7\u751f\u7684\u539f\u56e0\uff1a",id:"sqoop\u4ea7\u751f\u7684\u539f\u56e0",level:4},{value:"sqoop\u7684\u4ecb\u7ecd",id:"sqoop\u7684\u4ecb\u7ecd",level:4}],c={toc:s},u="wrapper";function d(e){let{components:t,...r}=e;return(0,n.yg)(u,(0,o.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,n.yg)("h4",{id:"sqoop\u4ea7\u751f\u7684\u539f\u56e0"},"sqoop\u4ea7\u751f\u7684\u539f\u56e0\uff1a"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"\u591a\u6570\u4f7f\u7528hadoop\u6280\u672f\u7684\u5904\u7406\u5927\u6570\u636e\u4e1a\u52a1\u7684\u4f01\u4e1a\uff0c\u6709\u5927\u91cf\u7684\u6570\u636e\u5b58\u50a8\u5728\u5173\u7cfb\u578b\u6570\u636e\u4e2d\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u7531\u4e8e\u6ca1\u6709\u5de5\u5177\u652f\u6301\uff0c\u5bf9hadoop\u548c\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e4b\u95f4\u6570\u636e\u4f20\u8f93\u662f\u4e00\u4e2a\u5f88\u56f0\u96be\u7684\u4e8b\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u4f9d\u636e\u4ee5\u4e0a\u7684\u539f\u56e0sqoop\u4ea7\u751f\u7684\u3002")),(0,n.yg)("h4",{id:"sqoop\u7684\u4ecb\u7ecd"},"sqoop\u7684\u4ecb\u7ecd"),(0,n.yg)("p",null,"sqoop\u662f\u8fde\u63a5\u5173\u7cfb\u578b\u6570\u636e\u5e93\u548chadoop\u7684\u6865\u6881\uff0c\u4e3b\u8981\u6709\u4e24\u4e2a\u65b9\u9762(\u5bfc\u5165\u548c\u5bfc\u51fa)\uff1a"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"\u5c06\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u6570\u636e\u5bfc\u5165\u5230Hadoop \u53ca\u5176\u76f8\u5173\u7684\u7cfb\u7edf\u4e2d\uff0c\u5982 Hive\u548cHBase"),(0,n.yg)("li",{parentName:"ol"},"\u5c06\u6570\u636e\u4eceHadoop \u7cfb\u7edf\u91cc\u62bd\u53d6\u5e76\u5bfc\u51fa\u5230\u5173\u7cfb\u578b\u6570\u636e\u5e93")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8901],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var o=r(96540);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function p(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var i=o.createContext({}),s=function(e){var t=o.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},c=function(e){var t=s(e.components);return o.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},y=o.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,i=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=s(r),y=n,m=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return r?o.createElement(m,p(p({ref:t},c),{},{components:r})):o.createElement(m,p({ref:t},c))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,p=new Array(a);p[0]=y;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[u]="string"==typeof e?e:n,p[1]=l;for(var s=2;s{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var o=r(58168),n=(r(96540),r(15680));const a={},p=void 0,l={unversionedId:"study/program/ETL/sqoop",id:"study/program/ETL/sqoop",title:"sqoop",description:"\u6982\u8ff0",source:"@site/docs/study/program/ETL/sqoop.md",sourceDirName:"study/program/ETL",slug:"/study/program/ETL/sqoop",permalink:"/docs/study/program/ETL/sqoop",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"kettle",permalink:"/docs/study/program/ETL/kettle"},next:{title:"Erlang",permalink:"/docs/study/program/Erlang/"}},i={},s=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3},{value:"sqoop\u4ea7\u751f\u7684\u539f\u56e0\uff1a",id:"sqoop\u4ea7\u751f\u7684\u539f\u56e0",level:4},{value:"sqoop\u7684\u4ecb\u7ecd",id:"sqoop\u7684\u4ecb\u7ecd",level:4}],c={toc:s},u="wrapper";function d(e){let{components:t,...r}=e;return(0,n.yg)(u,(0,o.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,n.yg)("h4",{id:"sqoop\u4ea7\u751f\u7684\u539f\u56e0"},"sqoop\u4ea7\u751f\u7684\u539f\u56e0\uff1a"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"\u591a\u6570\u4f7f\u7528hadoop\u6280\u672f\u7684\u5904\u7406\u5927\u6570\u636e\u4e1a\u52a1\u7684\u4f01\u4e1a\uff0c\u6709\u5927\u91cf\u7684\u6570\u636e\u5b58\u50a8\u5728\u5173\u7cfb\u578b\u6570\u636e\u4e2d\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u7531\u4e8e\u6ca1\u6709\u5de5\u5177\u652f\u6301\uff0c\u5bf9hadoop\u548c\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e4b\u95f4\u6570\u636e\u4f20\u8f93\u662f\u4e00\u4e2a\u5f88\u56f0\u96be\u7684\u4e8b\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u4f9d\u636e\u4ee5\u4e0a\u7684\u539f\u56e0sqoop\u4ea7\u751f\u7684\u3002")),(0,n.yg)("h4",{id:"sqoop\u7684\u4ecb\u7ecd"},"sqoop\u7684\u4ecb\u7ecd"),(0,n.yg)("p",null,"sqoop\u662f\u8fde\u63a5\u5173\u7cfb\u578b\u6570\u636e\u5e93\u548chadoop\u7684\u6865\u6881\uff0c\u4e3b\u8981\u6709\u4e24\u4e2a\u65b9\u9762(\u5bfc\u5165\u548c\u5bfc\u51fa)\uff1a"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"\u5c06\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u6570\u636e\u5bfc\u5165\u5230Hadoop \u53ca\u5176\u76f8\u5173\u7684\u7cfb\u7edf\u4e2d\uff0c\u5982 Hive\u548cHBase"),(0,n.yg)("li",{parentName:"ol"},"\u5c06\u6570\u636e\u4eceHadoop \u7cfb\u7edf\u91cc\u62bd\u53d6\u5e76\u5bfc\u51fa\u5230\u5173\u7cfb\u578b\u6570\u636e\u5e93")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0dfb2733.d84e30b2.js b/assets/js/0dfb2733.2d4b4292.js similarity index 98% rename from assets/js/0dfb2733.d84e30b2.js rename to assets/js/0dfb2733.2d4b4292.js index 5d4f53609..0f3fa0401 100644 --- a/assets/js/0dfb2733.d84e30b2.js +++ b/assets/js/0dfb2733.2d4b4292.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4908],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=n.createContext({}),p=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):i(i({},r),e)),t},u=function(e){var r=p(e.components);return n.createElement(l.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(t),y=a,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||o;return t?n.createElement(f,i(i({ref:r},u),{},{components:t})):n.createElement(f,i({ref:r},u))}));function f(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,i=new Array(o);i[0]=y;var c={};for(var l in r)hasOwnProperty.call(r,l)&&(c[l]=r[l]);c.originalType=e,c[s]="string"==typeof e?e:a,i[1]=c;for(var p=2;p{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=t(58168),a=(t(96540),t(15680));const o={},i=void 0,c={unversionedId:"study/program/ABIAPI",id:"study/program/ABIAPI",title:"ABIAPI",description:"ABI",source:"@site/docs/study/program/ABIAPI.md",sourceDirName:"study/program",slug:"/study/program/ABIAPI",permalink:"/docs/study/program/ABIAPI",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9501\uff08\u591a\u7ebf\u7a0b\uff09",permalink:"/docs/study/program/JAVA/\u9501"},next:{title:"C C++ \u7f16\u7a0b\u8bed\u8a00",permalink:"/docs/study/program/C/"}},l={},p=[{value:"ABI",id:"abi",level:3},{value:"API",id:"api",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"abi"},"ABI"),(0,a.yg)("p",null,"ABI\uff08Application Binary Interface\uff09\uff1a\u5e94\u7528\u7a0b\u5e8f\u4e8c\u8fdb\u5236\u63a5\u53e3\uff0c\u63cf\u8ff0\u4e86\u5e94\u7528\u7a0b\u5e8f\u548c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\uff0c\u4e00\u4e2a\u5e94\u7528\u548c\u5b83\u7684\u5e93\u4e4b\u95f4\uff0c\u6216\u8005\u5e94\u7528\u7684\u7ec4\u6210\u90e8\u5206\u4e4b\u95f4\u7684\u4f4e\u63a5\u53e3\u3002"),(0,a.yg)("h3",{id:"api"},"API"),(0,a.yg)("p",null,"\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff08Application Programming Interface\uff0cAPI\uff09\uff0c\u53c8\u79f0\u4e3a\u5e94\u7528\u7f16\u7a0b\u63a5\u53e3\uff0c\u5c31\u662f\u8f6f\u4ef6\u7cfb\u7edf\u4e0d\u540c\u7ec4\u6210\u90e8\u5206\u8854\u63a5\u7684\u7ea6\u5b9a\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/ABI/10912305"},"\u767e\u5ea6\u767e\u79d1-ABI"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4908],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=n.createContext({}),p=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):i(i({},r),e)),t},u=function(e){var r=p(e.components);return n.createElement(l.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(t),y=a,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||o;return t?n.createElement(f,i(i({ref:r},u),{},{components:t})):n.createElement(f,i({ref:r},u))}));function f(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,i=new Array(o);i[0]=y;var c={};for(var l in r)hasOwnProperty.call(r,l)&&(c[l]=r[l]);c.originalType=e,c[s]="string"==typeof e?e:a,i[1]=c;for(var p=2;p{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=t(58168),a=(t(96540),t(15680));const o={},i=void 0,c={unversionedId:"study/program/ABIAPI",id:"study/program/ABIAPI",title:"ABIAPI",description:"ABI",source:"@site/docs/study/program/ABIAPI.md",sourceDirName:"study/program",slug:"/study/program/ABIAPI",permalink:"/docs/study/program/ABIAPI",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9501\uff08\u591a\u7ebf\u7a0b\uff09",permalink:"/docs/study/program/JAVA/\u9501"},next:{title:"C C++ \u7f16\u7a0b\u8bed\u8a00",permalink:"/docs/study/program/C/"}},l={},p=[{value:"ABI",id:"abi",level:3},{value:"API",id:"api",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"abi"},"ABI"),(0,a.yg)("p",null,"ABI\uff08Application Binary Interface\uff09\uff1a\u5e94\u7528\u7a0b\u5e8f\u4e8c\u8fdb\u5236\u63a5\u53e3\uff0c\u63cf\u8ff0\u4e86\u5e94\u7528\u7a0b\u5e8f\u548c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\uff0c\u4e00\u4e2a\u5e94\u7528\u548c\u5b83\u7684\u5e93\u4e4b\u95f4\uff0c\u6216\u8005\u5e94\u7528\u7684\u7ec4\u6210\u90e8\u5206\u4e4b\u95f4\u7684\u4f4e\u63a5\u53e3\u3002"),(0,a.yg)("h3",{id:"api"},"API"),(0,a.yg)("p",null,"\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff08Application Programming Interface\uff0cAPI\uff09\uff0c\u53c8\u79f0\u4e3a\u5e94\u7528\u7f16\u7a0b\u63a5\u53e3\uff0c\u5c31\u662f\u8f6f\u4ef6\u7cfb\u7edf\u4e0d\u540c\u7ec4\u6210\u90e8\u5206\u8854\u63a5\u7684\u7ea6\u5b9a\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/ABI/10912305"},"\u767e\u5ea6\u767e\u79d1-ABI"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0e133684.2d69a94d.js b/assets/js/0e133684.381d5a95.js similarity index 98% rename from assets/js/0e133684.2d69a94d.js rename to assets/js/0e133684.381d5a95.js index 45faf40a3..4504b046e 100644 --- a/assets/js/0e133684.2d69a94d.js +++ b/assets/js/0e133684.381d5a95.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8529],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),i=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=i(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),u=i(r),d=o,f=u["".concat(p,".").concat(d)]||u[d]||y[d]||a;return r?n.createElement(f,s(s({ref:t},l),{},{components:r})):n.createElement(f,s({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=d;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[u]="string"==typeof e?e:o,s[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>s,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},s=void 0,c={unversionedId:"study/system/openWRT",id:"study/system/openWRT",title:"openWRT",description:"\u53c2\u8003",source:"@site/docs/study/system/openWRT.md",sourceDirName:"study/system",slug:"/study/system/openWRT",permalink:"/docs/study/system/openWRT",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Open\u6b27\u62c9",permalink:"/docs/study/system/Open\u6b27\u62c9"},next:{title:"shell\u7f16\u7a0b\u667aexpect",permalink:"/docs/study/system/shell\u7f16\u7a0b\u667aexpect"}},p={},i=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],l={toc:i},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/openWRT/3528947"},"\u767e\u5ea6\u767e\u79d1-openWRT"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8529],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),i=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=i(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),u=i(r),d=o,f=u["".concat(p,".").concat(d)]||u[d]||y[d]||a;return r?n.createElement(f,s(s({ref:t},l),{},{components:r})):n.createElement(f,s({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=d;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[u]="string"==typeof e?e:o,s[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>s,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},s=void 0,c={unversionedId:"study/system/openWRT",id:"study/system/openWRT",title:"openWRT",description:"\u53c2\u8003",source:"@site/docs/study/system/openWRT.md",sourceDirName:"study/system",slug:"/study/system/openWRT",permalink:"/docs/study/system/openWRT",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Open\u6b27\u62c9",permalink:"/docs/study/system/Open\u6b27\u62c9"},next:{title:"shell\u7f16\u7a0b\u667aexpect",permalink:"/docs/study/system/shell\u7f16\u7a0b\u667aexpect"}},p={},i=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],l={toc:i},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/openWRT/3528947"},"\u767e\u5ea6\u767e\u79d1-openWRT"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0eb2e058.aeb86f33.js b/assets/js/0eb2e058.14307d9a.js similarity index 98% rename from assets/js/0eb2e058.aeb86f33.js rename to assets/js/0eb2e058.14307d9a.js index 87981d9e2..47f9a4b8c 100644 --- a/assets/js/0eb2e058.aeb86f33.js +++ b/assets/js/0eb2e058.14307d9a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8486],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),y=a,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:a,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/IEDA/\u4f7f\u7528\u95ee\u9898",id:"study/back/IEDA/\u4f7f\u7528\u95ee\u9898",title:"\u4f7f\u7528\u95ee\u9898",description:"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86",source:"@site/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/\u4f7f\u7528\u95ee\u9898",permalink:"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Save Action",permalink:"/docs/study/back/IEDA/save-action"},next:{title:"Jetty\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316"}},l={},u=[{value:"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86",id:"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86"},"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86"),(0,a.yg)("p",null,"\u73b0\u8c61\uff1a"),(0,a.yg)("p",null,"\u6784\u5efa\u7684\u65f6\u5019\uff0c\u53f3\u4e0b\u89d2\u4e00\u76f4\u5728Build Parsing java ..."),(0,a.yg)("p",null,"\u5f88\u957f\u65f6\u95f4\u6216\u8005\u6700\u540e\u62a5\u9519 java heap size"),(0,a.yg)("p",null,"\u89e3\u51b3\uff1a"),(0,a.yg)("p",null,"\u5185\u5b58\u4e0d\u8db3\u5bfc\u81f4\u7684\uff0cSettings > Build > Compile > Shared build process heap size "),(0,a.yg)("p",null,"\u4ece\u539f\u6765\u7684700 \u6539\u6210 4096"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8486],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),y=a,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:a,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/IEDA/\u4f7f\u7528\u95ee\u9898",id:"study/back/IEDA/\u4f7f\u7528\u95ee\u9898",title:"\u4f7f\u7528\u95ee\u9898",description:"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86",source:"@site/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/\u4f7f\u7528\u95ee\u9898",permalink:"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Save Action",permalink:"/docs/study/back/IEDA/save-action"},next:{title:"Jetty\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316"}},l={},u=[{value:"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86",id:"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86"},"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86"),(0,a.yg)("p",null,"\u73b0\u8c61\uff1a"),(0,a.yg)("p",null,"\u6784\u5efa\u7684\u65f6\u5019\uff0c\u53f3\u4e0b\u89d2\u4e00\u76f4\u5728Build Parsing java ..."),(0,a.yg)("p",null,"\u5f88\u957f\u65f6\u95f4\u6216\u8005\u6700\u540e\u62a5\u9519 java heap size"),(0,a.yg)("p",null,"\u89e3\u51b3\uff1a"),(0,a.yg)("p",null,"\u5185\u5b58\u4e0d\u8db3\u5bfc\u81f4\u7684\uff0cSettings > Build > Compile > Shared build process heap size "),(0,a.yg)("p",null,"\u4ece\u539f\u6765\u7684700 \u6539\u6210 4096"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0eefe494.d0a7b366.js b/assets/js/0eefe494.904d238b.js similarity index 98% rename from assets/js/0eefe494.d0a7b366.js rename to assets/js/0eefe494.904d238b.js index b0379d98d..091ca8c19 100644 --- a/assets/js/0eefe494.d0a7b366.js +++ b/assets/js/0eefe494.904d238b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4243],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=p(r),y=a,f=u["".concat(c,".").concat(y)]||u[y]||d[y]||o;return r?n.createElement(f,l(l({ref:t},s),{},{components:r})):n.createElement(f,l({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[u]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB",title:"OpenTSDB",description:"\u57fa\u672c\u4fe1\u606f",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"KairosDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB"},next:{title:"TimescaleDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB"}},c={},p=[{value:"\u57fa\u672c\u4fe1\u606f",id:"\u57fa\u672c\u4fe1\u606f",level:3},{value:"\u8bc4\u4ef7",id:"\u8bc4\u4ef7",level:3}],s={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u57fa\u672c\u4fe1\u606f"},"\u57fa\u672c\u4fe1\u606f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aJava"),(0,a.yg)("li",{parentName:"ol"},"\u96c6\u7fa4\u6a21\u5f0f\uff1a\u652f\u6301\u96c6\u7fa4\uff0c\u5f00\u6e90"),(0,a.yg)("li",{parentName:"ol"},"\u5b58\u50a8\u7cfb\u7edf\uff1aHBase"),(0,a.yg)("li",{parentName:"ol"},"\u8fd0\u7ef4\u96be\u5ea6\uff1a\u590d\u6742"),(0,a.yg)("li",{parentName:"ol"},"\u63a5\u53e3\uff1aRestful API")),(0,a.yg)("h3",{id:"\u8bc4\u4ef7"},"\u8bc4\u4ef7"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u56e0\u5b58\u50a8\u7cfb\u7edf\u4f7f\u7528\u7684hbase\uff0chbase\u5b58\u5728\u6027\u80fd\u548c\u538b\u7f29\u7387\u7684\u95ee\u9898\uff0c\u5e76\u6ca1\u6709\u88ab\u89e3\u51b3\uff1b"),(0,a.yg)("li",{parentName:"ol"},"hbase\u672c\u8eab\u5bf9\u975e\u7ed3\u6784\u5316\u7684\u6570\u636e\u652f\u6301\u5f88\u597d\uff0c\u5982\u679c\u5b58\u7684\u662f\u7ed3\u6784\u5316\u6570\u636e\uff0c\u6709\u4e9b\u4e0d\u5408\u9002\uff1b")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4243],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=p(r),y=a,f=u["".concat(c,".").concat(y)]||u[y]||d[y]||o;return r?n.createElement(f,l(l({ref:t},s),{},{components:r})):n.createElement(f,l({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[u]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB",title:"OpenTSDB",description:"\u57fa\u672c\u4fe1\u606f",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"KairosDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB"},next:{title:"TimescaleDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB"}},c={},p=[{value:"\u57fa\u672c\u4fe1\u606f",id:"\u57fa\u672c\u4fe1\u606f",level:3},{value:"\u8bc4\u4ef7",id:"\u8bc4\u4ef7",level:3}],s={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u57fa\u672c\u4fe1\u606f"},"\u57fa\u672c\u4fe1\u606f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aJava"),(0,a.yg)("li",{parentName:"ol"},"\u96c6\u7fa4\u6a21\u5f0f\uff1a\u652f\u6301\u96c6\u7fa4\uff0c\u5f00\u6e90"),(0,a.yg)("li",{parentName:"ol"},"\u5b58\u50a8\u7cfb\u7edf\uff1aHBase"),(0,a.yg)("li",{parentName:"ol"},"\u8fd0\u7ef4\u96be\u5ea6\uff1a\u590d\u6742"),(0,a.yg)("li",{parentName:"ol"},"\u63a5\u53e3\uff1aRestful API")),(0,a.yg)("h3",{id:"\u8bc4\u4ef7"},"\u8bc4\u4ef7"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u56e0\u5b58\u50a8\u7cfb\u7edf\u4f7f\u7528\u7684hbase\uff0chbase\u5b58\u5728\u6027\u80fd\u548c\u538b\u7f29\u7387\u7684\u95ee\u9898\uff0c\u5e76\u6ca1\u6709\u88ab\u89e3\u51b3\uff1b"),(0,a.yg)("li",{parentName:"ol"},"hbase\u672c\u8eab\u5bf9\u975e\u7ed3\u6784\u5316\u7684\u6570\u636e\u652f\u6301\u5f88\u597d\uff0c\u5982\u679c\u5b58\u7684\u662f\u7ed3\u6784\u5316\u6570\u636e\uff0c\u6709\u4e9b\u4e0d\u5408\u9002\uff1b")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0f04c4bf.faac8c0c.js b/assets/js/0f04c4bf.ae05803e.js similarity index 98% rename from assets/js/0f04c4bf.faac8c0c.js rename to assets/js/0f04c4bf.ae05803e.js index f806eaedf..9c76e398d 100644 --- a/assets/js/0f04c4bf.faac8c0c.js +++ b/assets/js/0f04c4bf.ae05803e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6784],{15680:(e,t,n)=>{n.d(t,{xA:()=>d,yg:()=>m});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},s="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,p=e.originalType,c=e.parentName,d=a(e,["components","mdxType","originalType","parentName"]),s=l(n),y=o,m=s["".concat(c,".").concat(y)]||s[y]||u[y]||p;return n?r.createElement(m,i(i({ref:t},d),{},{components:n})):r.createElement(m,i({ref:t},d))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var p=n.length,i=new Array(p);i[0]=y;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=e,a[s]="string"==typeof e?e:o,i[1]=a;for(var l=2;l{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>u,frontMatter:()=>p,metadata:()=>a,toc:()=>l});var r=n(58168),o=(n(96540),n(15680));const p={sidebar_position:1},i=void 0,a={unversionedId:"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",id:"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",title:"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",description:"\u5206\u7c7b",source:"@site/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e.md",sourceDirName:"study/back/maven",slug:"/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",permalink:"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"WSL",permalink:"/docs/study/back/WSL"},next:{title:"mvnw",permalink:"/docs/study/back/maven/mvnw"}},c={},l=[{value:"\u5206\u7c7b",id:"\u5206\u7c7b",level:3},{value:"compile",id:"compile",level:4},{value:"provided",id:"provided",level:4},{value:"runtime",id:"runtime",level:4},{value:"test",id:"test",level:4},{value:"system",id:"system",level:4},{value:"import",id:"import",level:4},{value:"\u6ce8\u610f\uff1a",id:"\u6ce8\u610f",level:3}],d={toc:l},s="wrapper";function u(e){let{components:t,...n}=e;return(0,o.yg)(s,(0,r.A)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5206\u7c7b"},"\u5206\u7c7b"),(0,o.yg)("h4",{id:"compile"},"compile"),(0,o.yg)("p",null,"\u9ed8\u8ba4\u7684scope\uff0c\u8868\u793a dependency \u90fd\u53ef\u4ee5\u5728\u751f\u547d\u5468\u671f\u4e2d\u4f7f\u7528\u3002\u800c\u4e14\uff0c\u8fd9\u4e9bdependencies \u4f1a\u4f20\u9012\u5230\u4f9d\u8d56\u7684\u9879\u76ee\u4e2d\u3002\u9002\u7528\u4e8e\u6240\u6709\u9636\u6bb5\uff0c\u4f1a\u968f\u7740\u9879\u76ee\u4e00\u8d77\u53d1\u5e03\u3002"),(0,o.yg)("h4",{id:"provided"},"provided"),(0,o.yg)("p",null,"\u8ddfcompile\u76f8\u4f3c\uff0c\u4f46\u662f\u8868\u660e\u4e86dependency \u7531JDK\u6216\u8005\u5bb9\u5668\u63d0\u4f9b\uff0c\u4f8b\u5982Servlet AP\u548c\u4e00\u4e9bJava EE APIs\u3002\u8fd9\u4e2ascope \u53ea\u80fd\u4f5c\u7528\u5728\u7f16\u8bd1\u548c\u6d4b\u8bd5\u65f6\uff0c\u540c\u65f6\u6ca1\u6709\u4f20\u9012\u6027\u3002"),(0,o.yg)("h4",{id:"runtime"},"runtime"),(0,o.yg)("p",null,"\u8868\u793adependency\u4e0d\u4f5c\u7528\u5728\u7f16\u8bd1\u65f6\uff0c\u4f46\u4f1a\u4f5c\u7528\u5728\u8fd0\u884c\u548c\u6d4b\u8bd5\u65f6\uff0c\u5982JDBC\u9a71\u52a8\uff0c\u9002\u7528\u8fd0\u884c\u548c\u6d4b\u8bd5\u9636\u6bb5\u3002"),(0,o.yg)("h4",{id:"test"},"test"),(0,o.yg)("p",null,"\u8868\u793adependency\u4f5c\u7528\u5728\u6d4b\u8bd5\u65f6\uff0c\u4e0d\u4f5c\u7528\u5728\u8fd0\u884c\u65f6\u3002 \u53ea\u5728\u6d4b\u8bd5\u65f6\u4f7f\u7528\uff0c\u7528\u4e8e\u7f16\u8bd1\u548c\u8fd0\u884c\u6d4b\u8bd5\u4ee3\u7801\u3002\u4e0d\u4f1a\u968f\u9879\u76ee\u53d1\u5e03\u3002"),(0,o.yg)("h4",{id:"system"},"system"),(0,o.yg)("p",null,"\u8ddfprovided \u76f8\u4f3c\uff0c\u4f46\u662f\u5728\u7cfb\u7edf\u4e2d\u8981\u4ee5\u5916\u90e8JAR\u5305\u7684\u5f62\u5f0f\u63d0\u4f9b\uff0cmaven\u4e0d\u4f1a\u5728repository\u67e5\u627e\u5b83\u3002"),(0,o.yg)("h4",{id:"import"},"import"),(0,o.yg)("p",null,"\u8fd9\u4e2a\u6807\u7b7e\u5c31\u662f \u5f15\u5165\u8be5dependency\u7684pom\u4e2d\u5b9a\u4e49\u7684\u6240\u6709dependency\u5b9a\u4e49"),(0,o.yg)("h3",{id:"\u6ce8\u610f"},"\u6ce8\u610f\uff1a"),(0,o.yg)("p",null,'import\u6807\u7b7e\u503c\u53ea\u80fd\u5728dependencyManagement\u6807\u7b7e\u4e0b\u4f7f\u7528\uff01\n\u5e76\u4e14\u4ec5\u7528\u4e8etype\u4e3a"pom"\u7684dependency\uff0c\u5176\u610f\u4e49\u4e3a\u5f15\u5165\u8be5dependency\u7684pom\u4e2d\u5b9a\u4e49\u7684\u6240\u6709dependency\u5b9a\u4e49'))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6784],{15680:(e,t,n)=>{n.d(t,{xA:()=>d,yg:()=>m});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},s="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,p=e.originalType,c=e.parentName,d=a(e,["components","mdxType","originalType","parentName"]),s=l(n),y=o,m=s["".concat(c,".").concat(y)]||s[y]||u[y]||p;return n?r.createElement(m,i(i({ref:t},d),{},{components:n})):r.createElement(m,i({ref:t},d))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var p=n.length,i=new Array(p);i[0]=y;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=e,a[s]="string"==typeof e?e:o,i[1]=a;for(var l=2;l{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>u,frontMatter:()=>p,metadata:()=>a,toc:()=>l});var r=n(58168),o=(n(96540),n(15680));const p={sidebar_position:1},i=void 0,a={unversionedId:"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",id:"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",title:"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",description:"\u5206\u7c7b",source:"@site/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e.md",sourceDirName:"study/back/maven",slug:"/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",permalink:"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"WSL",permalink:"/docs/study/back/WSL"},next:{title:"mvnw",permalink:"/docs/study/back/maven/mvnw"}},c={},l=[{value:"\u5206\u7c7b",id:"\u5206\u7c7b",level:3},{value:"compile",id:"compile",level:4},{value:"provided",id:"provided",level:4},{value:"runtime",id:"runtime",level:4},{value:"test",id:"test",level:4},{value:"system",id:"system",level:4},{value:"import",id:"import",level:4},{value:"\u6ce8\u610f\uff1a",id:"\u6ce8\u610f",level:3}],d={toc:l},s="wrapper";function u(e){let{components:t,...n}=e;return(0,o.yg)(s,(0,r.A)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5206\u7c7b"},"\u5206\u7c7b"),(0,o.yg)("h4",{id:"compile"},"compile"),(0,o.yg)("p",null,"\u9ed8\u8ba4\u7684scope\uff0c\u8868\u793a dependency \u90fd\u53ef\u4ee5\u5728\u751f\u547d\u5468\u671f\u4e2d\u4f7f\u7528\u3002\u800c\u4e14\uff0c\u8fd9\u4e9bdependencies \u4f1a\u4f20\u9012\u5230\u4f9d\u8d56\u7684\u9879\u76ee\u4e2d\u3002\u9002\u7528\u4e8e\u6240\u6709\u9636\u6bb5\uff0c\u4f1a\u968f\u7740\u9879\u76ee\u4e00\u8d77\u53d1\u5e03\u3002"),(0,o.yg)("h4",{id:"provided"},"provided"),(0,o.yg)("p",null,"\u8ddfcompile\u76f8\u4f3c\uff0c\u4f46\u662f\u8868\u660e\u4e86dependency \u7531JDK\u6216\u8005\u5bb9\u5668\u63d0\u4f9b\uff0c\u4f8b\u5982Servlet AP\u548c\u4e00\u4e9bJava EE APIs\u3002\u8fd9\u4e2ascope \u53ea\u80fd\u4f5c\u7528\u5728\u7f16\u8bd1\u548c\u6d4b\u8bd5\u65f6\uff0c\u540c\u65f6\u6ca1\u6709\u4f20\u9012\u6027\u3002"),(0,o.yg)("h4",{id:"runtime"},"runtime"),(0,o.yg)("p",null,"\u8868\u793adependency\u4e0d\u4f5c\u7528\u5728\u7f16\u8bd1\u65f6\uff0c\u4f46\u4f1a\u4f5c\u7528\u5728\u8fd0\u884c\u548c\u6d4b\u8bd5\u65f6\uff0c\u5982JDBC\u9a71\u52a8\uff0c\u9002\u7528\u8fd0\u884c\u548c\u6d4b\u8bd5\u9636\u6bb5\u3002"),(0,o.yg)("h4",{id:"test"},"test"),(0,o.yg)("p",null,"\u8868\u793adependency\u4f5c\u7528\u5728\u6d4b\u8bd5\u65f6\uff0c\u4e0d\u4f5c\u7528\u5728\u8fd0\u884c\u65f6\u3002 \u53ea\u5728\u6d4b\u8bd5\u65f6\u4f7f\u7528\uff0c\u7528\u4e8e\u7f16\u8bd1\u548c\u8fd0\u884c\u6d4b\u8bd5\u4ee3\u7801\u3002\u4e0d\u4f1a\u968f\u9879\u76ee\u53d1\u5e03\u3002"),(0,o.yg)("h4",{id:"system"},"system"),(0,o.yg)("p",null,"\u8ddfprovided \u76f8\u4f3c\uff0c\u4f46\u662f\u5728\u7cfb\u7edf\u4e2d\u8981\u4ee5\u5916\u90e8JAR\u5305\u7684\u5f62\u5f0f\u63d0\u4f9b\uff0cmaven\u4e0d\u4f1a\u5728repository\u67e5\u627e\u5b83\u3002"),(0,o.yg)("h4",{id:"import"},"import"),(0,o.yg)("p",null,"\u8fd9\u4e2a\u6807\u7b7e\u5c31\u662f \u5f15\u5165\u8be5dependency\u7684pom\u4e2d\u5b9a\u4e49\u7684\u6240\u6709dependency\u5b9a\u4e49"),(0,o.yg)("h3",{id:"\u6ce8\u610f"},"\u6ce8\u610f\uff1a"),(0,o.yg)("p",null,'import\u6807\u7b7e\u503c\u53ea\u80fd\u5728dependencyManagement\u6807\u7b7e\u4e0b\u4f7f\u7528\uff01\n\u5e76\u4e14\u4ec5\u7528\u4e8etype\u4e3a"pom"\u7684dependency\uff0c\u5176\u610f\u4e49\u4e3a\u5f15\u5165\u8be5dependency\u7684pom\u4e2d\u5b9a\u4e49\u7684\u6240\u6709dependency\u5b9a\u4e49'))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/12d1694e.6cb44a3d.js b/assets/js/12d1694e.a49c94a4.js similarity index 99% rename from assets/js/12d1694e.6cb44a3d.js rename to assets/js/12d1694e.a49c94a4.js index 113e1c6b5..1cf3a90d9 100644 --- a/assets/js/12d1694e.6cb44a3d.js +++ b/assets/js/12d1694e.a49c94a4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1293],{15680:(e,n,l)=>{l.d(n,{xA:()=>o,yg:()=>m});var a=l(96540);function t(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function r(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,a)}return l}function p(e){for(var n=1;n=0||(t[l]=e[l]);return t}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}var i=a.createContext({}),c=function(e){var n=a.useContext(i),l=n;return e&&(l="function"==typeof e?e(n):p(p({},n),e)),l},o=function(e){var n=c(e.components);return a.createElement(i.Provider,{value:n},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},d=a.forwardRef((function(e,n){var l=e.components,t=e.mdxType,r=e.originalType,i=e.parentName,o=s(e,["components","mdxType","originalType","parentName"]),u=c(l),d=t,m=u["".concat(i,".").concat(d)]||u[d]||g[d]||r;return l?a.createElement(m,p(p({ref:n},o),{},{components:l})):a.createElement(m,p({ref:n},o))}));function m(e,n){var l=arguments,t=n&&n.mdxType;if("string"==typeof e||t){var r=l.length,p=new Array(r);p[0]=d;var s={};for(var i in n)hasOwnProperty.call(n,i)&&(s[i]=n[i]);s.originalType=e,s[u]="string"==typeof e?e:t,p[1]=s;for(var c=2;c{l.r(n),l.d(n,{assets:()=>i,contentTitle:()=>p,default:()=>g,frontMatter:()=>r,metadata:()=>s,toc:()=>c});var a=l(58168),t=(l(96540),l(15680));const r={},p=void 0,s={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528",id:"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528",title:"Linux\u8fd0\u7ef4-\u5e38\u7528",description:"\u5185\u6838/\u53d1\u884c\u7248",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-proc",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-proc"},next:{title:"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e"}},i={},c=[{value:"\u5185\u6838/\u53d1\u884c\u7248",id:"\u5185\u6838\u53d1\u884c\u7248",level:3},{value:"\u5220\u9664\u591a\u4f59\u7684\u5907\u4efd",id:"\u5220\u9664\u591a\u4f59\u7684\u5907\u4efd",level:3},{value:"\u6587\u4ef6/\u76ee\u5f55\u5927\u5c0f\u67e5\u770b",id:"\u6587\u4ef6\u76ee\u5f55\u5927\u5c0f\u67e5\u770b",level:3},{value:"\u7f51\u7edc\u5e26\u5bbd\u95ee\u9898",id:"\u7f51\u7edc\u5e26\u5bbd\u95ee\u9898",level:3},{value:"\u5b9a\u65f6\u4efb\u52a1",id:"\u5b9a\u65f6\u4efb\u52a1",level:3},{value:"\u9632\u706b\u5899",id:"\u9632\u706b\u5899",level:3},{value:"\u540e\u53f0\u8fd0\u884c",id:"\u540e\u53f0\u8fd0\u884c",level:3},{value:"zip/tar \u6587\u4ef6",id:"ziptar-\u6587\u4ef6",level:3},{value:"centos \u5b57\u7b26\u96c6\u95ee\u9898",id:"centos-\u5b57\u7b26\u96c6\u95ee\u9898",level:3},{value:"\u5b9d\u5854\u76f8\u5173",id:"\u5b9d\u5854\u76f8\u5173",level:3},{value:"\u767b\u5f55\u7528\u6237",id:"\u767b\u5f55\u7528\u6237",level:3},{value:"\u5e38\u7528\u7684 ls \u547d\u4ee4",id:"\u5e38\u7528\u7684-ls-\u547d\u4ee4",level:3},{value:"CPU",id:"cpu",level:3},{value:"apt-get",id:"apt-get",level:3},{value:"\u7cfb\u7edf\u76d8\u7b26",id:"\u7cfb\u7edf\u76d8\u7b26",level:3},{value:"\u5185\u5b58",id:"\u5185\u5b58",level:3},{value:"\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c",id:"\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c",level:3},{value:"\u7aef\u53e3/\u8fde\u63a5",id:"\u7aef\u53e3\u8fde\u63a5",level:3},{value:"vi/vim \u4e2d\u6587\u4e71\u7801",id:"vivim-\u4e2d\u6587\u4e71\u7801",level:3},{value:"htop/top",id:"htoptop",level:3},{value:"grep",id:"grep",level:3},{value:"pstree",id:"pstree",level:3},{value:"\u521b\u5efa\u5927\u6587\u4ef6",id:"\u521b\u5efa\u5927\u6587\u4ef6",level:3},{value:"ulimit",id:"ulimit",level:3},{value:"ipcs \u8fdb\u7a0b\u901a\u4fe1\u3010\u5171\u4eab\u5185\u5b58\u3001\u6d88\u606f\u961f\u5217\u3001\u4fe1\u53f7\u91cf\u3011",id:"ipcs-\u8fdb\u7a0b\u901a\u4fe1\u5171\u4eab\u5185\u5b58\u6d88\u606f\u961f\u5217\u4fe1\u53f7\u91cf",level:3},{value:"DNS \u57df\u540d\u89e3\u6790\u95ee\u9898",id:"dns-\u57df\u540d\u89e3\u6790\u95ee\u9898",level:3},{value:"\u65f6\u95f4\u540c\u6b65",id:"\u65f6\u95f4\u540c\u6b65",level:3},{value:"\u78c1\u76d8\u5360\u7528 \u5220\u9664\u6587\u4ef6\u4f46\u672a\u91ca\u653e\u7a7a\u95f4",id:"\u78c1\u76d8\u5360\u7528-\u5220\u9664\u6587\u4ef6\u4f46\u672a\u91ca\u653e\u7a7a\u95f4",level:3},{value:"\u5982\u4f55\u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7",id:"\u5982\u4f55\u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7",level:3},{value:"\u5feb\u901f\u538b\u7f29 \u591a\u7ebf\u7a0b\u538b\u7f29",id:"\u5feb\u901f\u538b\u7f29-\u591a\u7ebf\u7a0b\u538b\u7f29",level:3}],o={toc:c},u="wrapper";function g(e){let{components:n,...l}=e;return(0,t.yg)(u,(0,a.A)({},o,l,{components:n,mdxType:"MDXLayout"}),(0,t.yg)("h3",{id:"\u5185\u6838\u53d1\u884c\u7248"},"\u5185\u6838/\u53d1\u884c\u7248"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5185\u6838 CPU\u67b6\u6784\nuname -a\n# \u53d1\u884c\u7248\nlsb_release -a\n")),(0,t.yg)("h3",{id:"\u5220\u9664\u591a\u4f59\u7684\u5907\u4efd"},"\u5220\u9664\u591a\u4f59\u7684\u5907\u4efd"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5220\u966490\u4e4b\u524d\u7684\u5907\u4efd\u6587\u4ef6\nfind /root/sh/bak/*.gz -mtime +90 -type f -exec rm -f {} \\;\n# \u5220\u966460\u4e4b\u524d\u7684\u5907\u4efd\u6587\u4ef6\nfind /root/sh/bak/*.gz -mtime +60 -type f -exec rm -f {} \\;\n# \u5220\u966410\u4e4b\u524d\u7684\u5907\u4efd\u6587\u4ef6\nfind /mnt/docker/tomcat/logs/*.log -mtime +10 -type f -exec rm -f {} \\;\n")),(0,t.yg)("h3",{id:"\u6587\u4ef6\u76ee\u5f55\u5927\u5c0f\u67e5\u770b"},"\u6587\u4ef6/\u76ee\u5f55\u5927\u5c0f\u67e5\u770b"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u5f53\u524d\u76ee\u5f55\u603b\u5171\u5360\u7684\u5bb9\u91cf\u3002\u800c\u4e0d\u5355\u72ec\u5217\u51fa\u5404\u5b50\u9879\u5360\u7528\u7684\u5bb9\u91cf\ndu -sh\n#\u67e5\u770b\u5f53\u524d\u76ee\u5f55\u4e0b\u4e00\u7ea7\u5b50\u6587\u4ef6\u548c\u5b50\u76ee\u5f55\u5360\u7528\u7684\u78c1\u76d8\u5bb9\u91cf\u3002\ndu -lh --max-depth=1\n#\u6309\u7167\u6587\u4ef6\u5927\u5c0f \u4ece\u5c0f\u5230\u5927\u6392\u5e8f\nls -hSlr\n#\u6309\u7167\u4fee\u6539\u65f6\u95f4 \u4ece\u5c0f\u5230\u5927\u6392\u5e8f\nls -hlt\n")),(0,t.yg)("h3",{id:"\u7f51\u7edc\u5e26\u5bbd\u95ee\u9898"},"\u7f51\u7edc\u5e26\u5bbd\u95ee\u9898"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"yum install libpcap nethogs\nnethogs -a\nlsof -i:\u88ab\u5360\u7528\u7684\u7aef\u53e3\u53f7\n")),(0,t.yg)("h3",{id:"\u5b9a\u65f6\u4efb\u52a1"},"\u5b9a\u65f6\u4efb\u52a1"),(0,t.yg)("h3",{id:"\u9632\u706b\u5899"},"\u9632\u706b\u5899"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u68c0\u67e5\u9632\u706b\u5899 \u5982\u679c\u9632\u706b\u5f3a\u4fee\u6539\u4e86 \u8bb0\u5f97\u91cd\u542fdocker\nsystemctl status firewalld\n#\nfirewall-cmd --list-ports\n\n#\u5f00\u542f\u9632\u706b\u5899\u7aef\u53e3\n#\nfirewall-cmd --permanent --add-port=9100/tcp && \\\nfirewall-cmd --permanent --add-port=9200/tcp && \\\nfirewall-cmd --permanent --add-port=9300/tcp && \\\nfirewall-cmd --reload\n#\nfirewall-cmd --permanent --add-port=5044-5054/tcp && \\\nfirewall-cmd --reload\n#\nfirewall-cmd --permanent --add-port=8090-8099/tcp && \\\nfirewall-cmd --reload\n\n#\u5173\u95ed\u9632\u706b\u5899\u7aef\u53e3\nfirewall-cmd --permanent --remove-port=9100/tcp && \\\nfirewall-cmd --permanent --remove-port=9200/tcp && \\\nfirewall-cmd --permanent --remove-port=9300/tcp && \\\nfirewall-cmd --reload\n")),(0,t.yg)("h3",{id:"\u540e\u53f0\u8fd0\u884c"},"\u540e\u53f0\u8fd0\u884c"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"nohup python ./analyse_init_stocks.py > /dev/null 2>&1 &\n")),(0,t.yg)("h3",{id:"ziptar-\u6587\u4ef6"},"zip/tar \u6587\u4ef6"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\nyum install -y unzip zip\n# \u53ea\u770b\u4e0d\u89e3\u538b\ntar -tf xxx.tar.gz\n# \u89e3\u538b\u5230\u5f53\u524d\u76ee\u5f55\ntar -xzvf xxx.tar.gz\n# \u89e3\u538b\u5230\u6307\u5b9a\u76ee\u5f55\ntar -xzvf xxx.tar.gz -C ./xxx/\n# \u521b\u5efa\u538b\u7f29\u6587\u4ef6\ntar -czvf ./xxx.tar.gz ./xxx\n")),(0,t.yg)("h3",{id:"centos-\u5b57\u7b26\u96c6\u95ee\u9898"},"centos \u5b57\u7b26\u96c6\u95ee\u9898"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/kcxg/p/11451120.html"},"CentOS7 \u53ca Docker \u914d\u7f6e\u4e2d\u6587\u5b57\u7b26\u96c6\u95ee\u9898"))),(0,t.yg)("h3",{id:"\u5b9d\u5854\u76f8\u5173"},"\u5b9d\u5854\u76f8\u5173"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u5982\u679c\u4e0d\u77e5\u9053\u5b9d\u5854\u7684\u7ba1\u7406\u5458\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u4f46\u662f\u53ef\u4ee5\u767b\u5f55\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u811a\u672c bt default \u6765\u83b7\u53d6\u7ba1\u7406\u5458\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002")),(0,t.yg)("h3",{id:"\u767b\u5f55\u7528\u6237"},"\u767b\u5f55\u7528\u6237"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\nw\n# \nwho\n#\nwhoami\n# \u67e5\u770b\u5f53\u524d\u7528\u6237\u5206\u7ec4\nid [user]\nid \n# \u67e5\u770b\u6240\u6709\u7528\u6237\ngetent passwd\n# \u67e5\u770b\u6240\u6709\u5206\u7ec4\ngetent group\n# \u67e5\u770b\u67d0\u4e2a\u7528\u6237\u5206\u7ec4\ngroups [user]\n")),(0,t.yg)("h3",{id:"\u5e38\u7528\u7684-ls-\u547d\u4ee4"},"\u5e38\u7528\u7684 ls \u547d\u4ee4"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'#\u5ffd\u7565\u67d0\u4e9b\u6587\u4ef6\u540d\u5c55\u793a\nll -h --ignore="*bak*"\n')),(0,t.yg)("h3",{id:"cpu"},"CPU"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'#\u8be5\u670d\u52a1\u5668\u4e00\u5171\u6709\u51e0\u4e2a\u7269\u7406CPU\ngrep "physical id" /proc/cpuinfo | uniq | wc -l\n#\u8be5\u670d\u52a1\u5668\u4e00\u5171\u6709\u51e0\u4e2a\u903b\u8f91CPU\ngrep "processor" /proc/cpuinfo | wc -l\n#\u67e5\u770bcpu\u6838\u5fc3\u6570\ncat /proc/cpuinfo| grep "cpu cores"| uniq\n#\u67e5\u770bcpu\u8be6\u7ec6\u4fe1\u606f\nlscpu\n#\u67e5\u770bCPU\u4f4d\u6570\ngetconf LONG_BIT\n# \u5217\u51faCPU\u5360\u7528\u6700\u591a\u76845\u4e2a\u8fdb\u7a0b\nps -aux | sort -k3nr | head -5\n# P\u6309\u7167\u5185\u5b58\u5927\u5c0f\u6392\u5e8f c\u663e\u793a\u8fdb\u7a0b\u5168\u79f0\ntop\n')),(0,t.yg)("h3",{id:"apt-get"},"apt-get"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"#\napt-get update\n#\napt-get install vim\n")),(0,t.yg)("h3",{id:"\u7cfb\u7edf\u76d8\u7b26"},"\u7cfb\u7edf\u76d8\u7b26"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u7cfb\u7edf\u652f\u6301\u7684\u76d8\u7b26\uff0c\u67e5\u770b\u5206\u533a\u548c\u78c1\u76d8\nlsblk\n#\u67e5\u770b\u7a7a\u95f4\u4f7f\u7528\u60c5\u51b5\ndf -h\n#\u67e5\u770b\u786c\u76d8label\uff08\u522b\u540d\uff09\u78c1\u76d8\u6587\u4ef6\u7c7b\u578b\nblkid\n")),(0,t.yg)("h3",{id:"\u5185\u5b58"},"\u5185\u5b58"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u770b\u5185\u5b58\u5927\u5c0f\nfree -h \u3000\n# \u5185\u5b58\u5360\u7528\u6700\u591a\u76845\u4e2a\u8fdb\u7a0b\nps -aux | sort -k4nr | head -5\n# >\u6216M\u6309\u7167\u5185\u5b58\u5927\u5c0f\u6392\u5e8f c\u663e\u793a\u8fdb\u7a0b\u5168\u79f0\ntop\n")),(0,t.yg)("h3",{id:"\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c"},"\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7ea2\u5e3d\u7cfb\u5217 centos\ncat /etc/redhat-release\n#\u67e5\u770b\u5185\u6838/\u64cd\u4f5c\u7cfb\u7edf/CPU\u4fe1\u606f\uff1a\nuname -a\n# \u67e5\u770b\u64cd\u4f5c\u7cfb\u7edf\ncat /etc/issue\ncat /etc/os-release\n")),(0,t.yg)("h3",{id:"\u7aef\u53e3\u8fde\u63a5"},"\u7aef\u53e3/\u8fde\u63a5"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u6240\u6709\u76d1\u542c\u7684\u7aef\u53e3\nnetstat -lntp\n#\u67e5\u770b\u5df2\u7ecf\u5efa\u7acb\u7684\u94fe\u63a5\nnetstat -antp\n#\nyum list |grep telnet\nyum -y install telnet.x86_64\ntelnet 172.19.74.146 9200\n# \u6839\u636e\u76d1\u542c\u7aef\u53e3\u67e5\u627e\u8fdb\u7a0b\uff0c\u6839\u636e\u8fdb\u7a0b\u53f7\u67e5\u627e\u8fdb\u7a0b\u547d\u4ee4\nnetstat -tulnp | grep ':\u7aef\u53e3\u53f7'\nss -tulnp | grep ':\u7aef\u53e3\u53f7'\nps -f -p 99382|cat\n")),(0,t.yg)("h3",{id:"vivim-\u4e2d\u6587\u4e71\u7801"},"vi/vim \u4e2d\u6587\u4e71\u7801"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\nvi /etc/vimrc\n#\u5728\u6587\u4ef6\u5934\u589e\u52a0\u5982\u4e0b\u5185\u5bb9\nset fileencodings=utf-8,gb2312,gbk,gb18030\nset termencoding=utf-8\nset fileformats=unix\nset encoding=prc\n")),(0,t.yg)("h3",{id:"htoptop"},"htop/top"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u652f\u6301\u9f20\u6807 \u652f\u6301\u5de6\u53f3\u65b9\u5411\u952e\nhtop\n#\nH \u53ea\u5c55\u793a\u8fdb\u7a0b/\u663e\u793a\u7ebf\u7a0b\nh, ? F1\u67e5\u770bhtop\u4f7f\u7528\u8bf4\u660e\nS F2 htop \u8bbe\u5b9a\n/ F3 \u641c\u7d22\u8fdb\u7a0b\n\\ F4 \u589e\u91cf\u8fdb\u7a0b\u8fc7\u6ee4\u5668\nt F5 \u663e\u793a\u6811\u5f62\u7ed3\u6784\n<, > F6 \u9009\u62e9\u6392\u5e8f\u65b9\u5f0f\n[ F7 \u53ef\u51cf\u5c11nice\u503c\u53ef\u4ee5\u63d0\u9ad8\u5bf9\u5e94\u8fdb\u7a0b\u7684\u4f18\u5148\u7ea7\n] F8 \u53ef\u589e\u52a0nice\u503c\uff0c\u964d\u4f4e\u5bf9\u5e94\u8fdb\u7a0b\u7684\u4f18\u5148\u7ea7\nk F9 \u53ef\u5bf9\u8fdb\u7a0b\u4f20\u9012\u4fe1\u53f7\nq F10 \u7ed3\u675fhtop\nu \u53ea\u663e\u793a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u7528\u6237\u7684\u8fc7\u7a0b\nU \u53d6\u6d88\u6807\u8bb0\u6240\u6709\u7684\u8fdb\u7a0b\nH \u663e\u793a\u6216\u9690\u85cf\u7528\u6237\u7ebf\u7a0b\nK \u663e\u793a\u6216\u9690\u85cf\u5185\u6838\u7ebf\u7a0b\nF \u8ddf\u8e2a\u8fdb\u7a0b\nP \u6309CPU \u4f7f\u7528\u6392\u5e8f\nM \u6309\u5185\u5b58\u4f7f\u7528\u6392\u5e8f\nT \u6309Time+ \u4f7f\u7528\u6392\u5e8f\nl \u663e\u793a\u8fdb\u7a0b\u6253\u5f00\u7684\u6587\u4ef6\nI \u5012\u8f6c\u6392\u5e8f\u987a\u5e8f\ns \u9009\u62e9\u67d0\u8fdb\u7a0b\uff0c\u6309s:\u7528strace\u8ffd\u8e2a\u8fdb\u7a0b\u7684\u7cfb\u7edf\u8c03\u7528\n")),(0,t.yg)("h3",{id:"grep"},"grep"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\nless user-func-flow-for-res.2022-03-11.log | grep -E '61.166.240.34' |grep get | more\n\n\n")),(0,t.yg)("h3",{id:"pstree"},"pstree"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#pstree \u547d\u4ee4\u662f\u4ee5\u6811\u5f62\u7ed3\u6784\u663e\u793a\u7a0b\u5e8f\u548c\u8fdb\u7a0b\u4e4b\u95f4\u7684\u5173\u7cfb\nman pstree\n#\u5c55\u793a\u8fdb\u7a0b\u547d\u4ee4\u884c\npstree -a\n")),(0,t.yg)("h3",{id:"\u521b\u5efa\u5927\u6587\u4ef6"},"\u521b\u5efa\u5927\u6587\u4ef6"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"fallocate -l 1G largefile\ntruncate -s 1G largefile\n")),(0,t.yg)("h3",{id:"ulimit"},"ulimit"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'ulimit -a\nulimit -n\nulimit -u\n##############################################################################################\n#\necho "* soft nproc 65535" >> /etc/security/limits.conf\necho "* hard nproc 65535" >> /etc/security/limits.conf\necho "* hard nofile 65535" >> /etc/security/limits.conf\necho "* soft nofile 65535" >> /etc/security/limits.conf\n# \u5982\u679c\u6709\u5c31\u4fee\u6539\nvi /etc/security/limits.d/20-nproc.conf\n# * soft nproc 65535\n# \u7cfb\u7edf\u53ca\u4fee\u6539\necho "fs.file-max=6553500" >> /etc/sysctl.conf\n# \u6539\u5b8c\u4e4b\u540e \u91cd\u65b0\u6253\u5f00shell\nulimit -a\n##############################################################################################\n\n')),(0,t.yg)("h3",{id:"ipcs-\u8fdb\u7a0b\u901a\u4fe1\u5171\u4eab\u5185\u5b58\u6d88\u606f\u961f\u5217\u4fe1\u53f7\u91cf"},"ipcs \u8fdb\u7a0b\u901a\u4fe1\u3010\u5171\u4eab\u5185\u5b58\u3001\u6d88\u606f\u961f\u5217\u3001\u4fe1\u53f7\u91cf\u3011"),(0,t.yg)("p",null,"ipcs\u547d\u4ee4\ue6ea\u662f\u4e00\u4e2a\u7528\u4e8e\u663e\u793a\u7cfb\u7edf\u4e2d\u8fdb\u7a0b\u95f4\u901a\u4fe1(IPC\ue6ea)\u8bbe\u65bd\u72b6\u6001\u7684\u547d\u4ee4\u884c\u5de5\u5177\u3002"),(0,t.yg)("p",null,"ipcs\u547d\u4ee4\u4e3b\u8981\u663e\u793a\u6d88\u606f\u961f\u961f\u5217\u3001\u5171\u4eab\u5185\u5b58\u548c\u4fe1\u53f7\u91cf\u7684\u4fe1\u606f\u3002\u8fd9\u4e9bIPC\u8bbe\u65bd\u662f\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7ed9\u8fdb\u7a0b\u95f4\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u7684\u673a\u5236\u3002\u5728\u5904\u7406\u591a\u7ebf\u7a0b\u6216\u8005\u591a\u8fdb\u7a0b\u95ee\u9898\u65f6\uff0c\u5b83\u80fd\u591f\u63d0\u4f9b\u5927\u91cf\u6709\u4ef7\u503c\u7684\u4fe1\u606f\u3002"),(0,t.yg)("p",null,"\u6d88\u606f\u961f\u5217\uff08Message Queues\uff09"),(0,t.yg)("p",null,"\u6d88\u606f\u961f\u5217\u662f\u4e00\u4e2a\u94fe\u8868\uff0c\u5b58\u653e\u5728\u5185\u6838\u4e2d\u5e76\u7531\u6d88\u606f\u961f\u5217\u6807\u8bc6\u7b26\u6807\u8bc6\u3002Linux\u5185\u6838\u7ef4\u62a4\u4e86\u4e00\u4e2a\u6d88\u606f\u961f\u5217\u548c\u76f8\u5173\u64cd\u4f5c\u51fd\u6570\u7684\u96c6\u5408\uff0c\u7528\u6237\u8fdb\u7a0b\u53ef\u4ee5\u8c03\u7528\u64cd\u4f5c\u51fd\u6570\u5b8c\u6210\u6d88\u606f\u53d1\u9001\u548c\u63a5\u6536\u3002"),(0,t.yg)("p",null,"\u4fe1\u53f7\u91cf\uff08Semaphores\uff09"),(0,t.yg)("p",null,"\u4fe1\u53f7\u91cf\u4e3b\u8981\u4f5c\u4e3a\u8fdb\u7a0b\u95f4\u4ee5\u53ca\u540c\u4e00\u8fdb\u7a0b\u4e0d\u540c\u7ebf\u7a0b\u4e4b\u95f4\u7684\u540c\u6b65\u624b\u6bb5\u3002"),(0,t.yg)("p",null,"\u5171\u4eab\u5185\u5b58\uff08Shared Memories\uff09"),(0,t.yg)("p",null,"\u8ba9\u4efb\u4f55\u9700\u8981\u7684\u8fdb\u7a0b\u90fd\u80fd\u8bbf\u95ee\u7684\u5185\u5b58\u533a\u57df\u3002\u56e0\u4e3a\u591a\u4e2a\u8fdb\u7a0b\u53ef\u4ee5\u540c\u65f6\u64cd\u4f5c\uff0c\u6240\u4ee5\u5fc5\u987b\u901a\u8fc7\u67d0\u79cd\u540c\u6b65\u64cd\u4f5c\uff0c\u5982\u4fe1\u53f7\u91cf\uff0c\u6765\u786e\u4fdd\u8fdb\u7a0b\u95f4\u4e92\u4e0d\u5e72\u6270\u3002"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u663e\u793a\u6240\u6709\nipcs\n# \u53ea\u663e\u793a\u4fe1\u53f7\u91cf nsems\u4fe1\u53f7\u91cf\u96c6\u4e2d\u7684\u4fe1\u53f7\u91cf\u6570\nipcs -s\n# \u53ea\u663e\u793a\u5185\u5b58\nipcs -m\n# \u53ea\u663e\u793a\u6d88\u606f\u961f\u5217\nipcs -q\n# \u83b7\u53d6\u7cfb\u7edf\u4fe1\u53f7\u91cf\u7684\u6700\u5927\u503c\u8bbe\u7f6e\ncat /proc/sys/kernel/sem\nsysctl kernel.sem\n")),(0,t.yg)("h3",{id:"dns-\u57df\u540d\u89e3\u6790\u95ee\u9898"},"DNS \u57df\u540d\u89e3\u6790\u95ee\u9898"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# nameserver 8.8.8.8 #\u6216\u5176\u4ed6\u57df\u540d\u670d\u52a1\u5668\ncat /etc/resolv.conf\n")),(0,t.yg)("h3",{id:"\u65f6\u95f4\u540c\u6b65"},"\u65f6\u95f4\u540c\u6b65"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5f53\u524d\u65f6\u95f4\ndate\n# \n# SWXA.sansec.cn/10.0.8.18 \u672c\u5730\u7535\u8111\u4f7f\u7528\u7684\u65f6\u95f4\u540c\u6b65\u670d\u52a1\u5668\n# \u4fdd\u6301\u4e91\u5e73\u53f0\u7684\u7b2c\u4e00\u53f0\u670d\u52a1\u5668\u548c\u4e0a\u9762\u4e00\u81f4\n# \u4fdd\u6301\u4e91\u5e73\u53f0\u7684\u5176\u4ed6\u670d\u52a1\u5668\u548c\u7b2c\u4e00\u53f0\u4fdd\u6301\u4e00\u81f4\u5373\u53ef\nntpdate time.nist.gov\nsudo ntpdate 10.0.8.18\n")),(0,t.yg)("h3",{id:"\u78c1\u76d8\u5360\u7528-\u5220\u9664\u6587\u4ef6\u4f46\u672a\u91ca\u653e\u7a7a\u95f4"},"\u78c1\u76d8\u5360\u7528 \u5220\u9664\u6587\u4ef6\u4f46\u672a\u91ca\u653e\u7a7a\u95f4"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5b9e\u9645\u7684\u78c1\u76d8\u5360\u7528\u60c5\u51b5\nsudo df -h\n# \u5b9e\u9645\u7684\u6587\u4ef6\u5927\u5c0f \u5982\u679c\u548c\u4e0a\u9762\u7684\u4e0d\u5339\u914d\uff0c\u8bf4\u660e\u6709\u5220\u9664\u6587\u4ef6\u4f46\u662f\u7a7a\u95f4\u672a\u88ab\u91ca\u653e\nsudo du -lh --max-depth=1 /\n# \u8fdb\u7a0b\u5360\u7528\u6587\u4ef6\uff0c\u4f46\u662f\u6587\u4ef6\u5df2\u88ab\u5220\u9664\uff0c\u6587\u4ef6\u6240\u5360\u78c1\u76d8\u7a7a\u95f4\u672a\u88ab\u91ca\u653e\uff1b\u91cd\u542f\u8fdb\u7a0b\u53ef\u4ee5\u91ca\u653e\uff1b\n# \u5b58\u5728\u8fd9\u79cd\u60c5\u51b5\u7684\u4f8b\u5b50\u5c31\u662f\uff0c\u542f\u52a8\u8fdb\u7a0b > \u65e5\u5fd7\u6587\u4ef6 2>&1 \u8fd9\u4e2a\u65e5\u5fd7\u6587\u4ef6\u88ab\u5220\u4e86\u4e4b\u540e\u4e0d\u80fd\u591f\u6709\u6548\u91ca\u653e\nsudo lsof | grep deleted\n")),(0,t.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7"},"\u5982\u4f55\u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u901a\u8fc7\u6587\u4ef6\ntail -f /var/log/syslog\ntail -f /var/log/messages\n# \u901a\u8fc7 journalctl \njournalctl -x | grep aaa\n")),(0,t.yg)("h3",{id:"\u5feb\u901f\u538b\u7f29-\u591a\u7ebf\u7a0b\u538b\u7f29"},"\u5feb\u901f\u538b\u7f29 \u591a\u7ebf\u7a0b\u538b\u7f29"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\ntar -cf - ./hadoop-3.3.6 | pigz -p 8 > hadoop-3.3.6.tar.gz\n")),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/llgde/article/details/133780294"},"csdn-ulimit\u547d\u4ee4\u8be6\u89e3\uff1a\u5982\u4f55\u8bbe\u7f6e\u548c\u67e5\u770b\u7cfb\u7edf\u8d44\u6e90\u9650\u5236"))))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1293],{15680:(e,n,l)=>{l.d(n,{xA:()=>o,yg:()=>m});var a=l(96540);function t(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function r(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,a)}return l}function p(e){for(var n=1;n=0||(t[l]=e[l]);return t}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}var i=a.createContext({}),c=function(e){var n=a.useContext(i),l=n;return e&&(l="function"==typeof e?e(n):p(p({},n),e)),l},o=function(e){var n=c(e.components);return a.createElement(i.Provider,{value:n},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},d=a.forwardRef((function(e,n){var l=e.components,t=e.mdxType,r=e.originalType,i=e.parentName,o=s(e,["components","mdxType","originalType","parentName"]),u=c(l),d=t,m=u["".concat(i,".").concat(d)]||u[d]||g[d]||r;return l?a.createElement(m,p(p({ref:n},o),{},{components:l})):a.createElement(m,p({ref:n},o))}));function m(e,n){var l=arguments,t=n&&n.mdxType;if("string"==typeof e||t){var r=l.length,p=new Array(r);p[0]=d;var s={};for(var i in n)hasOwnProperty.call(n,i)&&(s[i]=n[i]);s.originalType=e,s[u]="string"==typeof e?e:t,p[1]=s;for(var c=2;c{l.r(n),l.d(n,{assets:()=>i,contentTitle:()=>p,default:()=>g,frontMatter:()=>r,metadata:()=>s,toc:()=>c});var a=l(58168),t=(l(96540),l(15680));const r={},p=void 0,s={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528",id:"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528",title:"Linux\u8fd0\u7ef4-\u5e38\u7528",description:"\u5185\u6838/\u53d1\u884c\u7248",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-proc",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-proc"},next:{title:"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e"}},i={},c=[{value:"\u5185\u6838/\u53d1\u884c\u7248",id:"\u5185\u6838\u53d1\u884c\u7248",level:3},{value:"\u5220\u9664\u591a\u4f59\u7684\u5907\u4efd",id:"\u5220\u9664\u591a\u4f59\u7684\u5907\u4efd",level:3},{value:"\u6587\u4ef6/\u76ee\u5f55\u5927\u5c0f\u67e5\u770b",id:"\u6587\u4ef6\u76ee\u5f55\u5927\u5c0f\u67e5\u770b",level:3},{value:"\u7f51\u7edc\u5e26\u5bbd\u95ee\u9898",id:"\u7f51\u7edc\u5e26\u5bbd\u95ee\u9898",level:3},{value:"\u5b9a\u65f6\u4efb\u52a1",id:"\u5b9a\u65f6\u4efb\u52a1",level:3},{value:"\u9632\u706b\u5899",id:"\u9632\u706b\u5899",level:3},{value:"\u540e\u53f0\u8fd0\u884c",id:"\u540e\u53f0\u8fd0\u884c",level:3},{value:"zip/tar \u6587\u4ef6",id:"ziptar-\u6587\u4ef6",level:3},{value:"centos \u5b57\u7b26\u96c6\u95ee\u9898",id:"centos-\u5b57\u7b26\u96c6\u95ee\u9898",level:3},{value:"\u5b9d\u5854\u76f8\u5173",id:"\u5b9d\u5854\u76f8\u5173",level:3},{value:"\u767b\u5f55\u7528\u6237",id:"\u767b\u5f55\u7528\u6237",level:3},{value:"\u5e38\u7528\u7684 ls \u547d\u4ee4",id:"\u5e38\u7528\u7684-ls-\u547d\u4ee4",level:3},{value:"CPU",id:"cpu",level:3},{value:"apt-get",id:"apt-get",level:3},{value:"\u7cfb\u7edf\u76d8\u7b26",id:"\u7cfb\u7edf\u76d8\u7b26",level:3},{value:"\u5185\u5b58",id:"\u5185\u5b58",level:3},{value:"\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c",id:"\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c",level:3},{value:"\u7aef\u53e3/\u8fde\u63a5",id:"\u7aef\u53e3\u8fde\u63a5",level:3},{value:"vi/vim \u4e2d\u6587\u4e71\u7801",id:"vivim-\u4e2d\u6587\u4e71\u7801",level:3},{value:"htop/top",id:"htoptop",level:3},{value:"grep",id:"grep",level:3},{value:"pstree",id:"pstree",level:3},{value:"\u521b\u5efa\u5927\u6587\u4ef6",id:"\u521b\u5efa\u5927\u6587\u4ef6",level:3},{value:"ulimit",id:"ulimit",level:3},{value:"ipcs \u8fdb\u7a0b\u901a\u4fe1\u3010\u5171\u4eab\u5185\u5b58\u3001\u6d88\u606f\u961f\u5217\u3001\u4fe1\u53f7\u91cf\u3011",id:"ipcs-\u8fdb\u7a0b\u901a\u4fe1\u5171\u4eab\u5185\u5b58\u6d88\u606f\u961f\u5217\u4fe1\u53f7\u91cf",level:3},{value:"DNS \u57df\u540d\u89e3\u6790\u95ee\u9898",id:"dns-\u57df\u540d\u89e3\u6790\u95ee\u9898",level:3},{value:"\u65f6\u95f4\u540c\u6b65",id:"\u65f6\u95f4\u540c\u6b65",level:3},{value:"\u78c1\u76d8\u5360\u7528 \u5220\u9664\u6587\u4ef6\u4f46\u672a\u91ca\u653e\u7a7a\u95f4",id:"\u78c1\u76d8\u5360\u7528-\u5220\u9664\u6587\u4ef6\u4f46\u672a\u91ca\u653e\u7a7a\u95f4",level:3},{value:"\u5982\u4f55\u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7",id:"\u5982\u4f55\u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7",level:3},{value:"\u5feb\u901f\u538b\u7f29 \u591a\u7ebf\u7a0b\u538b\u7f29",id:"\u5feb\u901f\u538b\u7f29-\u591a\u7ebf\u7a0b\u538b\u7f29",level:3}],o={toc:c},u="wrapper";function g(e){let{components:n,...l}=e;return(0,t.yg)(u,(0,a.A)({},o,l,{components:n,mdxType:"MDXLayout"}),(0,t.yg)("h3",{id:"\u5185\u6838\u53d1\u884c\u7248"},"\u5185\u6838/\u53d1\u884c\u7248"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5185\u6838 CPU\u67b6\u6784\nuname -a\n# \u53d1\u884c\u7248\nlsb_release -a\n")),(0,t.yg)("h3",{id:"\u5220\u9664\u591a\u4f59\u7684\u5907\u4efd"},"\u5220\u9664\u591a\u4f59\u7684\u5907\u4efd"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5220\u966490\u4e4b\u524d\u7684\u5907\u4efd\u6587\u4ef6\nfind /root/sh/bak/*.gz -mtime +90 -type f -exec rm -f {} \\;\n# \u5220\u966460\u4e4b\u524d\u7684\u5907\u4efd\u6587\u4ef6\nfind /root/sh/bak/*.gz -mtime +60 -type f -exec rm -f {} \\;\n# \u5220\u966410\u4e4b\u524d\u7684\u5907\u4efd\u6587\u4ef6\nfind /mnt/docker/tomcat/logs/*.log -mtime +10 -type f -exec rm -f {} \\;\n")),(0,t.yg)("h3",{id:"\u6587\u4ef6\u76ee\u5f55\u5927\u5c0f\u67e5\u770b"},"\u6587\u4ef6/\u76ee\u5f55\u5927\u5c0f\u67e5\u770b"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u5f53\u524d\u76ee\u5f55\u603b\u5171\u5360\u7684\u5bb9\u91cf\u3002\u800c\u4e0d\u5355\u72ec\u5217\u51fa\u5404\u5b50\u9879\u5360\u7528\u7684\u5bb9\u91cf\ndu -sh\n#\u67e5\u770b\u5f53\u524d\u76ee\u5f55\u4e0b\u4e00\u7ea7\u5b50\u6587\u4ef6\u548c\u5b50\u76ee\u5f55\u5360\u7528\u7684\u78c1\u76d8\u5bb9\u91cf\u3002\ndu -lh --max-depth=1\n#\u6309\u7167\u6587\u4ef6\u5927\u5c0f \u4ece\u5c0f\u5230\u5927\u6392\u5e8f\nls -hSlr\n#\u6309\u7167\u4fee\u6539\u65f6\u95f4 \u4ece\u5c0f\u5230\u5927\u6392\u5e8f\nls -hlt\n")),(0,t.yg)("h3",{id:"\u7f51\u7edc\u5e26\u5bbd\u95ee\u9898"},"\u7f51\u7edc\u5e26\u5bbd\u95ee\u9898"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"yum install libpcap nethogs\nnethogs -a\nlsof -i:\u88ab\u5360\u7528\u7684\u7aef\u53e3\u53f7\n")),(0,t.yg)("h3",{id:"\u5b9a\u65f6\u4efb\u52a1"},"\u5b9a\u65f6\u4efb\u52a1"),(0,t.yg)("h3",{id:"\u9632\u706b\u5899"},"\u9632\u706b\u5899"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u68c0\u67e5\u9632\u706b\u5899 \u5982\u679c\u9632\u706b\u5f3a\u4fee\u6539\u4e86 \u8bb0\u5f97\u91cd\u542fdocker\nsystemctl status firewalld\n#\nfirewall-cmd --list-ports\n\n#\u5f00\u542f\u9632\u706b\u5899\u7aef\u53e3\n#\nfirewall-cmd --permanent --add-port=9100/tcp && \\\nfirewall-cmd --permanent --add-port=9200/tcp && \\\nfirewall-cmd --permanent --add-port=9300/tcp && \\\nfirewall-cmd --reload\n#\nfirewall-cmd --permanent --add-port=5044-5054/tcp && \\\nfirewall-cmd --reload\n#\nfirewall-cmd --permanent --add-port=8090-8099/tcp && \\\nfirewall-cmd --reload\n\n#\u5173\u95ed\u9632\u706b\u5899\u7aef\u53e3\nfirewall-cmd --permanent --remove-port=9100/tcp && \\\nfirewall-cmd --permanent --remove-port=9200/tcp && \\\nfirewall-cmd --permanent --remove-port=9300/tcp && \\\nfirewall-cmd --reload\n")),(0,t.yg)("h3",{id:"\u540e\u53f0\u8fd0\u884c"},"\u540e\u53f0\u8fd0\u884c"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"nohup python ./analyse_init_stocks.py > /dev/null 2>&1 &\n")),(0,t.yg)("h3",{id:"ziptar-\u6587\u4ef6"},"zip/tar \u6587\u4ef6"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\nyum install -y unzip zip\n# \u53ea\u770b\u4e0d\u89e3\u538b\ntar -tf xxx.tar.gz\n# \u89e3\u538b\u5230\u5f53\u524d\u76ee\u5f55\ntar -xzvf xxx.tar.gz\n# \u89e3\u538b\u5230\u6307\u5b9a\u76ee\u5f55\ntar -xzvf xxx.tar.gz -C ./xxx/\n# \u521b\u5efa\u538b\u7f29\u6587\u4ef6\ntar -czvf ./xxx.tar.gz ./xxx\n")),(0,t.yg)("h3",{id:"centos-\u5b57\u7b26\u96c6\u95ee\u9898"},"centos \u5b57\u7b26\u96c6\u95ee\u9898"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/kcxg/p/11451120.html"},"CentOS7 \u53ca Docker \u914d\u7f6e\u4e2d\u6587\u5b57\u7b26\u96c6\u95ee\u9898"))),(0,t.yg)("h3",{id:"\u5b9d\u5854\u76f8\u5173"},"\u5b9d\u5854\u76f8\u5173"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u5982\u679c\u4e0d\u77e5\u9053\u5b9d\u5854\u7684\u7ba1\u7406\u5458\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u4f46\u662f\u53ef\u4ee5\u767b\u5f55\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u811a\u672c bt default \u6765\u83b7\u53d6\u7ba1\u7406\u5458\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002")),(0,t.yg)("h3",{id:"\u767b\u5f55\u7528\u6237"},"\u767b\u5f55\u7528\u6237"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\nw\n# \nwho\n#\nwhoami\n# \u67e5\u770b\u5f53\u524d\u7528\u6237\u5206\u7ec4\nid [user]\nid \n# \u67e5\u770b\u6240\u6709\u7528\u6237\ngetent passwd\n# \u67e5\u770b\u6240\u6709\u5206\u7ec4\ngetent group\n# \u67e5\u770b\u67d0\u4e2a\u7528\u6237\u5206\u7ec4\ngroups [user]\n")),(0,t.yg)("h3",{id:"\u5e38\u7528\u7684-ls-\u547d\u4ee4"},"\u5e38\u7528\u7684 ls \u547d\u4ee4"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'#\u5ffd\u7565\u67d0\u4e9b\u6587\u4ef6\u540d\u5c55\u793a\nll -h --ignore="*bak*"\n')),(0,t.yg)("h3",{id:"cpu"},"CPU"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'#\u8be5\u670d\u52a1\u5668\u4e00\u5171\u6709\u51e0\u4e2a\u7269\u7406CPU\ngrep "physical id" /proc/cpuinfo | uniq | wc -l\n#\u8be5\u670d\u52a1\u5668\u4e00\u5171\u6709\u51e0\u4e2a\u903b\u8f91CPU\ngrep "processor" /proc/cpuinfo | wc -l\n#\u67e5\u770bcpu\u6838\u5fc3\u6570\ncat /proc/cpuinfo| grep "cpu cores"| uniq\n#\u67e5\u770bcpu\u8be6\u7ec6\u4fe1\u606f\nlscpu\n#\u67e5\u770bCPU\u4f4d\u6570\ngetconf LONG_BIT\n# \u5217\u51faCPU\u5360\u7528\u6700\u591a\u76845\u4e2a\u8fdb\u7a0b\nps -aux | sort -k3nr | head -5\n# P\u6309\u7167\u5185\u5b58\u5927\u5c0f\u6392\u5e8f c\u663e\u793a\u8fdb\u7a0b\u5168\u79f0\ntop\n')),(0,t.yg)("h3",{id:"apt-get"},"apt-get"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"#\napt-get update\n#\napt-get install vim\n")),(0,t.yg)("h3",{id:"\u7cfb\u7edf\u76d8\u7b26"},"\u7cfb\u7edf\u76d8\u7b26"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u7cfb\u7edf\u652f\u6301\u7684\u76d8\u7b26\uff0c\u67e5\u770b\u5206\u533a\u548c\u78c1\u76d8\nlsblk\n#\u67e5\u770b\u7a7a\u95f4\u4f7f\u7528\u60c5\u51b5\ndf -h\n#\u67e5\u770b\u786c\u76d8label\uff08\u522b\u540d\uff09\u78c1\u76d8\u6587\u4ef6\u7c7b\u578b\nblkid\n")),(0,t.yg)("h3",{id:"\u5185\u5b58"},"\u5185\u5b58"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u770b\u5185\u5b58\u5927\u5c0f\nfree -h \u3000\n# \u5185\u5b58\u5360\u7528\u6700\u591a\u76845\u4e2a\u8fdb\u7a0b\nps -aux | sort -k4nr | head -5\n# >\u6216M\u6309\u7167\u5185\u5b58\u5927\u5c0f\u6392\u5e8f c\u663e\u793a\u8fdb\u7a0b\u5168\u79f0\ntop\n")),(0,t.yg)("h3",{id:"\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c"},"\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7ea2\u5e3d\u7cfb\u5217 centos\ncat /etc/redhat-release\n#\u67e5\u770b\u5185\u6838/\u64cd\u4f5c\u7cfb\u7edf/CPU\u4fe1\u606f\uff1a\nuname -a\n# \u67e5\u770b\u64cd\u4f5c\u7cfb\u7edf\ncat /etc/issue\ncat /etc/os-release\n")),(0,t.yg)("h3",{id:"\u7aef\u53e3\u8fde\u63a5"},"\u7aef\u53e3/\u8fde\u63a5"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u6240\u6709\u76d1\u542c\u7684\u7aef\u53e3\nnetstat -lntp\n#\u67e5\u770b\u5df2\u7ecf\u5efa\u7acb\u7684\u94fe\u63a5\nnetstat -antp\n#\nyum list |grep telnet\nyum -y install telnet.x86_64\ntelnet 172.19.74.146 9200\n# \u6839\u636e\u76d1\u542c\u7aef\u53e3\u67e5\u627e\u8fdb\u7a0b\uff0c\u6839\u636e\u8fdb\u7a0b\u53f7\u67e5\u627e\u8fdb\u7a0b\u547d\u4ee4\nnetstat -tulnp | grep ':\u7aef\u53e3\u53f7'\nss -tulnp | grep ':\u7aef\u53e3\u53f7'\nps -f -p 99382|cat\n")),(0,t.yg)("h3",{id:"vivim-\u4e2d\u6587\u4e71\u7801"},"vi/vim \u4e2d\u6587\u4e71\u7801"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\nvi /etc/vimrc\n#\u5728\u6587\u4ef6\u5934\u589e\u52a0\u5982\u4e0b\u5185\u5bb9\nset fileencodings=utf-8,gb2312,gbk,gb18030\nset termencoding=utf-8\nset fileformats=unix\nset encoding=prc\n")),(0,t.yg)("h3",{id:"htoptop"},"htop/top"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u652f\u6301\u9f20\u6807 \u652f\u6301\u5de6\u53f3\u65b9\u5411\u952e\nhtop\n#\nH \u53ea\u5c55\u793a\u8fdb\u7a0b/\u663e\u793a\u7ebf\u7a0b\nh, ? F1\u67e5\u770bhtop\u4f7f\u7528\u8bf4\u660e\nS F2 htop \u8bbe\u5b9a\n/ F3 \u641c\u7d22\u8fdb\u7a0b\n\\ F4 \u589e\u91cf\u8fdb\u7a0b\u8fc7\u6ee4\u5668\nt F5 \u663e\u793a\u6811\u5f62\u7ed3\u6784\n<, > F6 \u9009\u62e9\u6392\u5e8f\u65b9\u5f0f\n[ F7 \u53ef\u51cf\u5c11nice\u503c\u53ef\u4ee5\u63d0\u9ad8\u5bf9\u5e94\u8fdb\u7a0b\u7684\u4f18\u5148\u7ea7\n] F8 \u53ef\u589e\u52a0nice\u503c\uff0c\u964d\u4f4e\u5bf9\u5e94\u8fdb\u7a0b\u7684\u4f18\u5148\u7ea7\nk F9 \u53ef\u5bf9\u8fdb\u7a0b\u4f20\u9012\u4fe1\u53f7\nq F10 \u7ed3\u675fhtop\nu \u53ea\u663e\u793a\u4e00\u4e2a\u7ed9\u5b9a\u7684\u7528\u6237\u7684\u8fc7\u7a0b\nU \u53d6\u6d88\u6807\u8bb0\u6240\u6709\u7684\u8fdb\u7a0b\nH \u663e\u793a\u6216\u9690\u85cf\u7528\u6237\u7ebf\u7a0b\nK \u663e\u793a\u6216\u9690\u85cf\u5185\u6838\u7ebf\u7a0b\nF \u8ddf\u8e2a\u8fdb\u7a0b\nP \u6309CPU \u4f7f\u7528\u6392\u5e8f\nM \u6309\u5185\u5b58\u4f7f\u7528\u6392\u5e8f\nT \u6309Time+ \u4f7f\u7528\u6392\u5e8f\nl \u663e\u793a\u8fdb\u7a0b\u6253\u5f00\u7684\u6587\u4ef6\nI \u5012\u8f6c\u6392\u5e8f\u987a\u5e8f\ns \u9009\u62e9\u67d0\u8fdb\u7a0b\uff0c\u6309s:\u7528strace\u8ffd\u8e2a\u8fdb\u7a0b\u7684\u7cfb\u7edf\u8c03\u7528\n")),(0,t.yg)("h3",{id:"grep"},"grep"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\nless user-func-flow-for-res.2022-03-11.log | grep -E '61.166.240.34' |grep get | more\n\n\n")),(0,t.yg)("h3",{id:"pstree"},"pstree"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#pstree \u547d\u4ee4\u662f\u4ee5\u6811\u5f62\u7ed3\u6784\u663e\u793a\u7a0b\u5e8f\u548c\u8fdb\u7a0b\u4e4b\u95f4\u7684\u5173\u7cfb\nman pstree\n#\u5c55\u793a\u8fdb\u7a0b\u547d\u4ee4\u884c\npstree -a\n")),(0,t.yg)("h3",{id:"\u521b\u5efa\u5927\u6587\u4ef6"},"\u521b\u5efa\u5927\u6587\u4ef6"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"fallocate -l 1G largefile\ntruncate -s 1G largefile\n")),(0,t.yg)("h3",{id:"ulimit"},"ulimit"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'ulimit -a\nulimit -n\nulimit -u\n##############################################################################################\n#\necho "* soft nproc 65535" >> /etc/security/limits.conf\necho "* hard nproc 65535" >> /etc/security/limits.conf\necho "* hard nofile 65535" >> /etc/security/limits.conf\necho "* soft nofile 65535" >> /etc/security/limits.conf\n# \u5982\u679c\u6709\u5c31\u4fee\u6539\nvi /etc/security/limits.d/20-nproc.conf\n# * soft nproc 65535\n# \u7cfb\u7edf\u53ca\u4fee\u6539\necho "fs.file-max=6553500" >> /etc/sysctl.conf\n# \u6539\u5b8c\u4e4b\u540e \u91cd\u65b0\u6253\u5f00shell\nulimit -a\n##############################################################################################\n\n')),(0,t.yg)("h3",{id:"ipcs-\u8fdb\u7a0b\u901a\u4fe1\u5171\u4eab\u5185\u5b58\u6d88\u606f\u961f\u5217\u4fe1\u53f7\u91cf"},"ipcs \u8fdb\u7a0b\u901a\u4fe1\u3010\u5171\u4eab\u5185\u5b58\u3001\u6d88\u606f\u961f\u5217\u3001\u4fe1\u53f7\u91cf\u3011"),(0,t.yg)("p",null,"ipcs\u547d\u4ee4\ue6ea\u662f\u4e00\u4e2a\u7528\u4e8e\u663e\u793a\u7cfb\u7edf\u4e2d\u8fdb\u7a0b\u95f4\u901a\u4fe1(IPC\ue6ea)\u8bbe\u65bd\u72b6\u6001\u7684\u547d\u4ee4\u884c\u5de5\u5177\u3002"),(0,t.yg)("p",null,"ipcs\u547d\u4ee4\u4e3b\u8981\u663e\u793a\u6d88\u606f\u961f\u961f\u5217\u3001\u5171\u4eab\u5185\u5b58\u548c\u4fe1\u53f7\u91cf\u7684\u4fe1\u606f\u3002\u8fd9\u4e9bIPC\u8bbe\u65bd\u662f\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7ed9\u8fdb\u7a0b\u95f4\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u7684\u673a\u5236\u3002\u5728\u5904\u7406\u591a\u7ebf\u7a0b\u6216\u8005\u591a\u8fdb\u7a0b\u95ee\u9898\u65f6\uff0c\u5b83\u80fd\u591f\u63d0\u4f9b\u5927\u91cf\u6709\u4ef7\u503c\u7684\u4fe1\u606f\u3002"),(0,t.yg)("p",null,"\u6d88\u606f\u961f\u5217\uff08Message Queues\uff09"),(0,t.yg)("p",null,"\u6d88\u606f\u961f\u5217\u662f\u4e00\u4e2a\u94fe\u8868\uff0c\u5b58\u653e\u5728\u5185\u6838\u4e2d\u5e76\u7531\u6d88\u606f\u961f\u5217\u6807\u8bc6\u7b26\u6807\u8bc6\u3002Linux\u5185\u6838\u7ef4\u62a4\u4e86\u4e00\u4e2a\u6d88\u606f\u961f\u5217\u548c\u76f8\u5173\u64cd\u4f5c\u51fd\u6570\u7684\u96c6\u5408\uff0c\u7528\u6237\u8fdb\u7a0b\u53ef\u4ee5\u8c03\u7528\u64cd\u4f5c\u51fd\u6570\u5b8c\u6210\u6d88\u606f\u53d1\u9001\u548c\u63a5\u6536\u3002"),(0,t.yg)("p",null,"\u4fe1\u53f7\u91cf\uff08Semaphores\uff09"),(0,t.yg)("p",null,"\u4fe1\u53f7\u91cf\u4e3b\u8981\u4f5c\u4e3a\u8fdb\u7a0b\u95f4\u4ee5\u53ca\u540c\u4e00\u8fdb\u7a0b\u4e0d\u540c\u7ebf\u7a0b\u4e4b\u95f4\u7684\u540c\u6b65\u624b\u6bb5\u3002"),(0,t.yg)("p",null,"\u5171\u4eab\u5185\u5b58\uff08Shared Memories\uff09"),(0,t.yg)("p",null,"\u8ba9\u4efb\u4f55\u9700\u8981\u7684\u8fdb\u7a0b\u90fd\u80fd\u8bbf\u95ee\u7684\u5185\u5b58\u533a\u57df\u3002\u56e0\u4e3a\u591a\u4e2a\u8fdb\u7a0b\u53ef\u4ee5\u540c\u65f6\u64cd\u4f5c\uff0c\u6240\u4ee5\u5fc5\u987b\u901a\u8fc7\u67d0\u79cd\u540c\u6b65\u64cd\u4f5c\uff0c\u5982\u4fe1\u53f7\u91cf\uff0c\u6765\u786e\u4fdd\u8fdb\u7a0b\u95f4\u4e92\u4e0d\u5e72\u6270\u3002"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u663e\u793a\u6240\u6709\nipcs\n# \u53ea\u663e\u793a\u4fe1\u53f7\u91cf nsems\u4fe1\u53f7\u91cf\u96c6\u4e2d\u7684\u4fe1\u53f7\u91cf\u6570\nipcs -s\n# \u53ea\u663e\u793a\u5185\u5b58\nipcs -m\n# \u53ea\u663e\u793a\u6d88\u606f\u961f\u5217\nipcs -q\n# \u83b7\u53d6\u7cfb\u7edf\u4fe1\u53f7\u91cf\u7684\u6700\u5927\u503c\u8bbe\u7f6e\ncat /proc/sys/kernel/sem\nsysctl kernel.sem\n")),(0,t.yg)("h3",{id:"dns-\u57df\u540d\u89e3\u6790\u95ee\u9898"},"DNS \u57df\u540d\u89e3\u6790\u95ee\u9898"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# nameserver 8.8.8.8 #\u6216\u5176\u4ed6\u57df\u540d\u670d\u52a1\u5668\ncat /etc/resolv.conf\n")),(0,t.yg)("h3",{id:"\u65f6\u95f4\u540c\u6b65"},"\u65f6\u95f4\u540c\u6b65"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5f53\u524d\u65f6\u95f4\ndate\n# \n# SWXA.sansec.cn/10.0.8.18 \u672c\u5730\u7535\u8111\u4f7f\u7528\u7684\u65f6\u95f4\u540c\u6b65\u670d\u52a1\u5668\n# \u4fdd\u6301\u4e91\u5e73\u53f0\u7684\u7b2c\u4e00\u53f0\u670d\u52a1\u5668\u548c\u4e0a\u9762\u4e00\u81f4\n# \u4fdd\u6301\u4e91\u5e73\u53f0\u7684\u5176\u4ed6\u670d\u52a1\u5668\u548c\u7b2c\u4e00\u53f0\u4fdd\u6301\u4e00\u81f4\u5373\u53ef\nntpdate time.nist.gov\nsudo ntpdate 10.0.8.18\n")),(0,t.yg)("h3",{id:"\u78c1\u76d8\u5360\u7528-\u5220\u9664\u6587\u4ef6\u4f46\u672a\u91ca\u653e\u7a7a\u95f4"},"\u78c1\u76d8\u5360\u7528 \u5220\u9664\u6587\u4ef6\u4f46\u672a\u91ca\u653e\u7a7a\u95f4"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5b9e\u9645\u7684\u78c1\u76d8\u5360\u7528\u60c5\u51b5\nsudo df -h\n# \u5b9e\u9645\u7684\u6587\u4ef6\u5927\u5c0f \u5982\u679c\u548c\u4e0a\u9762\u7684\u4e0d\u5339\u914d\uff0c\u8bf4\u660e\u6709\u5220\u9664\u6587\u4ef6\u4f46\u662f\u7a7a\u95f4\u672a\u88ab\u91ca\u653e\nsudo du -lh --max-depth=1 /\n# \u8fdb\u7a0b\u5360\u7528\u6587\u4ef6\uff0c\u4f46\u662f\u6587\u4ef6\u5df2\u88ab\u5220\u9664\uff0c\u6587\u4ef6\u6240\u5360\u78c1\u76d8\u7a7a\u95f4\u672a\u88ab\u91ca\u653e\uff1b\u91cd\u542f\u8fdb\u7a0b\u53ef\u4ee5\u91ca\u653e\uff1b\n# \u5b58\u5728\u8fd9\u79cd\u60c5\u51b5\u7684\u4f8b\u5b50\u5c31\u662f\uff0c\u542f\u52a8\u8fdb\u7a0b > \u65e5\u5fd7\u6587\u4ef6 2>&1 \u8fd9\u4e2a\u65e5\u5fd7\u6587\u4ef6\u88ab\u5220\u4e86\u4e4b\u540e\u4e0d\u80fd\u591f\u6709\u6548\u91ca\u653e\nsudo lsof | grep deleted\n")),(0,t.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7"},"\u5982\u4f55\u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"# \u901a\u8fc7\u6587\u4ef6\ntail -f /var/log/syslog\ntail -f /var/log/messages\n# \u901a\u8fc7 journalctl \njournalctl -x | grep aaa\n")),(0,t.yg)("h3",{id:"\u5feb\u901f\u538b\u7f29-\u591a\u7ebf\u7a0b\u538b\u7f29"},"\u5feb\u901f\u538b\u7f29 \u591a\u7ebf\u7a0b\u538b\u7f29"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\ntar -cf - ./hadoop-3.3.6 | pigz -p 8 > hadoop-3.3.6.tar.gz\n")),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/llgde/article/details/133780294"},"csdn-ulimit\u547d\u4ee4\u8be6\u89e3\uff1a\u5982\u4f55\u8bbe\u7f6e\u548c\u67e5\u770b\u7cfb\u7edf\u8d44\u6e90\u9650\u5236"))))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1387c807.6ea1613d.js b/assets/js/1387c807.a2e84a78.js similarity index 99% rename from assets/js/1387c807.6ea1613d.js rename to assets/js/1387c807.a2e84a78.js index 6dcaf46e7..8be14fbd1 100644 --- a/assets/js/1387c807.6ea1613d.js +++ b/assets/js/1387c807.a2e84a78.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6598],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,l(l({ref:t},p),{},{components:r})):n.createElement(f,l({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:o,l[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,c={unversionedId:"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",id:"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",title:"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",description:"\u5d4c\u5165\u5f0f\u548c\u5355\u7247\u673a\u7684\u533a\u522b\u5230\u5e95\u662f\u4ec0\u4e48\u3002",source:"@site/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a.md",sourceDirName:"study/hard",slug:"/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",permalink:"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/hard/"},next:{title:"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",permalink:"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1"}},i={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u5d4c\u5165\u5f0f\u548c\u5355\u7247\u673a\u7684\u533a\u522b\u5230\u5e95\u662f\u4ec0\u4e48\u3002")),(0,o.yg)("p",null,"\u4ece\u524d\u6587\u7684\u4ecb\u7ecd\u6765\u770b\uff0c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u662f\u4e00\u4e2a\u5927\u7c7b\uff0c\u5355\u7247\u673a\u662f\u5176\u4e2d\u4e00\u4e2a\u91cd\u8981\u7684\u5b50\u7c7b\u3002\u5d4c\u5165\u5f0f\u7cfb\u7edf\u50cf\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u8ba1\u7b97\u673a\uff0c\u800c\u5355\u7247\u673a\u66f4\u50cf\u662f\u4e00\u4e2a\u6ca1\u6709\u5916\u8bbe\u7684\u8ba1\u7b97\u673a\u3002"),(0,o.yg)("p",null,"\u4ee5\u524d\u5355\u7247\u673a\u5305\u62ec\u7684\u4e1c\u897f\u5e76\u4e0d\u7b97\u591a\uff0c\u4e24\u8005\u7684\u786c\u4ef6\u533a\u522b\u8f83\u4e3a\u660e\u663e\u3002\u4f46\u662f\uff0c\u968f\u7740\u534a\u5bfc\u4f53\u6280\u672f\u7684\u7a81\u98de\u731b\u8fdb\uff0c\u73b0\u5728\u5404\u79cd\u786c\u4ef6\u529f\u80fd\u90fd\u80fd\u88ab\u505a\u8fdb\u5355\u7247\u673a\u4e4b\u4e2d\u3002\u6240\u4ee5\uff0c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u548c\u5355\u7247\u673a\u4e4b\u95f4\u7684\u786c\u4ef6\u533a\u522b\u8d8a\u6765\u8d8a\u5c0f\uff0c\u5206\u754c\u7ebf\u4e5f\u8d8a\u6765\u8d8a\u6a21\u7cca\u3002"),(0,o.yg)("p",null,"\u4e8e\u662f\uff0c\u4eba\u4eec\u503e\u5411\u4e8e\u5728\u8f6f\u4ef6\u4e0a\u8fdb\u884c\u533a\u5206\u3002"),(0,o.yg)("p",null,"\u4ece\u8f6f\u4ef6\u4e0a\uff0c\u884c\u4e1a\u91cc\u7ecf\u5e38\u628a\u82af\u7247\u4e2d\u4e0d\u5e26MMU\uff08memory management unit\uff0c\u5185\u5b58\u7ba1\u7406\u5355\u5143\uff09\u4ece\u800c\u4e0d\u652f\u6301\u865a\u62df\u5730\u5740\uff0c\u53ea\u80fd\u88f8\u5954\u6216\u8fd0\u884cRTOS\uff08\u5b9e\u65f6\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4f8b\u5982ucos\u3001\u534e\u4e3aLiteOS\u3001RT-Thread\u3001freertos\u7b49\uff09\u7684system\uff0c\u53eb\u505a\u5355\u7247\u673a\uff08\u5982STM32\u3001NXP LPC\u7cfb\u5217\u3001NXP imxRT1052\u7cfb\u5217\u7b49\uff09\u3002\u800c\u628a\u82af\u7247\u81ea\u5e26MMU\u53ef\u4ee5\u652f\u6301\u865a\u62df\u5730\u5740\uff0c\u80fd\u591f\u8dd1Linux\u3001Vxworks\u3001WinCE\u3001Android\u8fd9\u6837\u7684\u201c\u9ad8\u7ea7\u201d\u64cd\u4f5c\u7cfb\u7edf\u7684system\uff0c\u53eb\u505a\u5d4c\u5165\u5f0f\u3002"),(0,o.yg)("p",null,"\u5728\u67d0\u4e9b\u65f6\u5019\uff0c\u5355\u7247\u673a\u672c\u8eab\u5df2\u7ecf\u8db3\u591f\u5f3a\u5927\uff0c\u53ef\u4ee5\u4f5c\u4e3a\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4f7f\u7528\u3002\u5b83\u7684\u6210\u672c\u66f4\u4f4e\uff0c\u5f00\u53d1\u548c\u7ef4\u62a4\u7684\u96be\u5ea6\u76f8\u5bf9\u8f83\u5c0f\uff0c\u5c24\u5176\u662f\u9488\u5bf9\u4e00\u4e9b\u9488\u5bf9\u6027\u66f4\u5f3a\u7684\u5e94\u7528\u3002\u800c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7406\u8bba\u4e0a\u6027\u80fd\u66f4\u5f3a\uff0c\u5e94\u7528\u66f4\u5e7f\u6cdb\uff0c\u4f46\u590d\u6742\u5ea6\u9ad8\uff0c\u5f00\u53d1\u96be\u5ea6\u5927\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://cloud.tencent.com/developer/article/1505486"},"\u5230\u5e95\u4ec0\u4e48\u662f\u5d4c\u5165\u5f0f\uff1f\u4ec0\u4e48\u662f\u5355\u7247\u673a\uff1f"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6598],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,l(l({ref:t},p),{},{components:r})):n.createElement(f,l({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:o,l[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,c={unversionedId:"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",id:"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",title:"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",description:"\u5d4c\u5165\u5f0f\u548c\u5355\u7247\u673a\u7684\u533a\u522b\u5230\u5e95\u662f\u4ec0\u4e48\u3002",source:"@site/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a.md",sourceDirName:"study/hard",slug:"/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",permalink:"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/hard/"},next:{title:"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",permalink:"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1"}},i={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u5d4c\u5165\u5f0f\u548c\u5355\u7247\u673a\u7684\u533a\u522b\u5230\u5e95\u662f\u4ec0\u4e48\u3002")),(0,o.yg)("p",null,"\u4ece\u524d\u6587\u7684\u4ecb\u7ecd\u6765\u770b\uff0c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u662f\u4e00\u4e2a\u5927\u7c7b\uff0c\u5355\u7247\u673a\u662f\u5176\u4e2d\u4e00\u4e2a\u91cd\u8981\u7684\u5b50\u7c7b\u3002\u5d4c\u5165\u5f0f\u7cfb\u7edf\u50cf\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u8ba1\u7b97\u673a\uff0c\u800c\u5355\u7247\u673a\u66f4\u50cf\u662f\u4e00\u4e2a\u6ca1\u6709\u5916\u8bbe\u7684\u8ba1\u7b97\u673a\u3002"),(0,o.yg)("p",null,"\u4ee5\u524d\u5355\u7247\u673a\u5305\u62ec\u7684\u4e1c\u897f\u5e76\u4e0d\u7b97\u591a\uff0c\u4e24\u8005\u7684\u786c\u4ef6\u533a\u522b\u8f83\u4e3a\u660e\u663e\u3002\u4f46\u662f\uff0c\u968f\u7740\u534a\u5bfc\u4f53\u6280\u672f\u7684\u7a81\u98de\u731b\u8fdb\uff0c\u73b0\u5728\u5404\u79cd\u786c\u4ef6\u529f\u80fd\u90fd\u80fd\u88ab\u505a\u8fdb\u5355\u7247\u673a\u4e4b\u4e2d\u3002\u6240\u4ee5\uff0c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u548c\u5355\u7247\u673a\u4e4b\u95f4\u7684\u786c\u4ef6\u533a\u522b\u8d8a\u6765\u8d8a\u5c0f\uff0c\u5206\u754c\u7ebf\u4e5f\u8d8a\u6765\u8d8a\u6a21\u7cca\u3002"),(0,o.yg)("p",null,"\u4e8e\u662f\uff0c\u4eba\u4eec\u503e\u5411\u4e8e\u5728\u8f6f\u4ef6\u4e0a\u8fdb\u884c\u533a\u5206\u3002"),(0,o.yg)("p",null,"\u4ece\u8f6f\u4ef6\u4e0a\uff0c\u884c\u4e1a\u91cc\u7ecf\u5e38\u628a\u82af\u7247\u4e2d\u4e0d\u5e26MMU\uff08memory management unit\uff0c\u5185\u5b58\u7ba1\u7406\u5355\u5143\uff09\u4ece\u800c\u4e0d\u652f\u6301\u865a\u62df\u5730\u5740\uff0c\u53ea\u80fd\u88f8\u5954\u6216\u8fd0\u884cRTOS\uff08\u5b9e\u65f6\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4f8b\u5982ucos\u3001\u534e\u4e3aLiteOS\u3001RT-Thread\u3001freertos\u7b49\uff09\u7684system\uff0c\u53eb\u505a\u5355\u7247\u673a\uff08\u5982STM32\u3001NXP LPC\u7cfb\u5217\u3001NXP imxRT1052\u7cfb\u5217\u7b49\uff09\u3002\u800c\u628a\u82af\u7247\u81ea\u5e26MMU\u53ef\u4ee5\u652f\u6301\u865a\u62df\u5730\u5740\uff0c\u80fd\u591f\u8dd1Linux\u3001Vxworks\u3001WinCE\u3001Android\u8fd9\u6837\u7684\u201c\u9ad8\u7ea7\u201d\u64cd\u4f5c\u7cfb\u7edf\u7684system\uff0c\u53eb\u505a\u5d4c\u5165\u5f0f\u3002"),(0,o.yg)("p",null,"\u5728\u67d0\u4e9b\u65f6\u5019\uff0c\u5355\u7247\u673a\u672c\u8eab\u5df2\u7ecf\u8db3\u591f\u5f3a\u5927\uff0c\u53ef\u4ee5\u4f5c\u4e3a\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4f7f\u7528\u3002\u5b83\u7684\u6210\u672c\u66f4\u4f4e\uff0c\u5f00\u53d1\u548c\u7ef4\u62a4\u7684\u96be\u5ea6\u76f8\u5bf9\u8f83\u5c0f\uff0c\u5c24\u5176\u662f\u9488\u5bf9\u4e00\u4e9b\u9488\u5bf9\u6027\u66f4\u5f3a\u7684\u5e94\u7528\u3002\u800c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7406\u8bba\u4e0a\u6027\u80fd\u66f4\u5f3a\uff0c\u5e94\u7528\u66f4\u5e7f\u6cdb\uff0c\u4f46\u590d\u6742\u5ea6\u9ad8\uff0c\u5f00\u53d1\u96be\u5ea6\u5927\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://cloud.tencent.com/developer/article/1505486"},"\u5230\u5e95\u4ec0\u4e48\u662f\u5d4c\u5165\u5f0f\uff1f\u4ec0\u4e48\u662f\u5355\u7247\u673a\uff1f"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/15ae2b3f.0c92f62c.js b/assets/js/15ae2b3f.2363430b.js similarity index 99% rename from assets/js/15ae2b3f.0c92f62c.js rename to assets/js/15ae2b3f.2363430b.js index f4930bc23..39b018880 100644 --- a/assets/js/15ae2b3f.0c92f62c.js +++ b/assets/js/15ae2b3f.2363430b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[256],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var l=r(96540);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function i(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var u=l.createContext({}),p=function(e){var t=l.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return l.createElement(u.Provider,{value:t},e.children)},c="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},g=l.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,u=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),c=p(r),g=n,d=c["".concat(u,".").concat(g)]||c[g]||y[g]||a;return r?l.createElement(d,i(i({ref:t},s),{},{components:r})):l.createElement(d,i({ref:t},s))}));function d(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,i=new Array(a);i[0]=g;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o[c]="string"==typeof e?e:n,i[1]=o;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>y,frontMatter:()=>a,metadata:()=>o,toc:()=>p});var l=r(58168),n=(r(96540),r(15680));const a={},i=void 0,o={unversionedId:"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",id:"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",title:"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",description:"Electron",source:"@site/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6.md",sourceDirName:"study/program",slug:"/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",permalink:"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7f16\u8bd1\u5668",permalink:"/docs/study/program/\u7f16\u8bd1\u5668"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/devops/"}},u={},p=[{value:"Electron",id:"electron",level:3},{value:"TAURI",id:"tauri",level:3},{value:"Flutter",id:"flutter",level:3},{value:"NW.js",id:"nwjs",level:3},{value:"Neutralinojs",id:"neutralinojs",level:3},{value:"WAILS",id:"wails",level:3},{value:".NET MAUI",id:"net-maui",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},c="wrapper";function y(e){let{components:t,...r}=e;return(0,n.yg)(c,(0,l.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"electron"},"Electron"),(0,n.yg)("p",null,"Build cross-platform desktop apps with JavaScript, HTML, and CSS"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://www.electronjs.org/zh/"},"\u5b98\u65b9\u7f51\u7ad9-Electron"))),(0,n.yg)("h3",{id:"tauri"},"TAURI"),(0,n.yg)("p",null,"\u6784\u5efa\u8de8\u5e73\u53f0\u7684\u5feb\u901f\u3001\u5b89\u5168\u3001\u524d\u7aef\u9694\u79bb\u5e94\u7528"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://tauri.app/zh-cn/"},"\u5b98\u65b9\u7f51\u7ad9-TAURI")),(0,n.yg)("li",{parentName:"ul"},"\u6253\u5305\u5927\u5c0f:\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u7684\u7f51\u9875\u6e32\u67d3\u5668\uff0cTauri \u5e94\u7528\u7684\u5927\u5c0f\u53ef\u6253\u5305\u5230 600 KB \u4ee5\u4e0b\uff01"),(0,n.yg)("li",{parentName:"ul"},"\u8de8\u5e73\u53f0:\u6784\u5efa\u652f\u6301\u6240\u6709\u4e3b\u6d41\u684c\u9762\u5e73\u53f0\uff08\u79fb\u52a8\u7aef\u5373\u5c06\u63a8\u51fa\uff09\u7684\u4e8c\u8fdb\u5236\u6253\u5305\u6587\u4ef6\u3002"),(0,n.yg)("li",{parentName:"ul"},"\u57fa\u4e8e Rust \u5f00\u53d1:\u6027\u80fd\u53ca\u5b89\u5168\u81f3\u4e0a\u7684 Rust \u662f\u6b21\u65f6\u4ee3\u5e94\u7528\u5f00\u53d1\u9996\u9009\u3002"),(0,n.yg)("li",{parentName:"ul"},"\u76ee\u524d\u8fd8\u5728\u5feb\u901f\u53d1\u5c55\u4e2d-\uff082023 \u5e74\uff09")),(0,n.yg)("h3",{id:"flutter"},"Flutter"),(0,n.yg)("p",null,"\u4e3a\u6240\u6709\u5c4f\u5e55\u521b\u9020\u7cbe\u5f69"),(0,n.yg)("p",null,"Flutter \u4e3a\u8f6f\u4ef6\u5f00\u53d1\u884c\u4e1a\u5e26\u6765\u4e86\u9769\u65b0\uff1a\u53ea\u8981\u4e00\u5957\u4ee3\u7801\u5e93\uff0c\u5373\u53ef\u6784\u5efa\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03\u9002\u7528\u4e8e\u79fb\u52a8\u3001Web\u3001\u684c\u9762\u548c\u5d4c\u5165\u5f0f\u5e73\u53f0\u7684\u7cbe\u7f8e\u5e94\u7528\u3002"),(0,n.yg)("p",null,"Flutter \u662f Google \u5f00\u6e90\u7684\u5e94\u7528\u5f00\u53d1\u6846\u67b6\uff0c\u4ec5\u901a\u8fc7\u4e00\u5957\u4ee3\u7801\u5e93\uff0c\u5c31\u80fd\u6784\u5efa\u7cbe\u7f8e\u7684\u3001\u539f\u751f\u5e73\u53f0\u7f16\u8bd1\u7684\u591a\u5e73\u53f0\u5e94\u7528\u3002"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://flutter.cn/index"},"\u5b98\u65b9\u7f51\u7ad9-Flutter"))),(0,n.yg)("h3",{id:"nwjs"},"NW.js"),(0,n.yg)("p",null,"NW.js (previously known as node-webkit) lets you call all Node.js modules directly from DOM and enables a new way of writing applications with all Web technologies."),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://nwjs.io/"},"\u5b98\u65b9\u7f51\u7ad9"))),(0,n.yg)("h3",{id:"neutralinojs"},"Neutralinojs"),(0,n.yg)("p",null,"Build lightweight cross-platform desktop apps with JavaScript, HTML, and CSS"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://neutralino.js.org/"},"\u5b98\u65b9\u7f51\u7ad9-Neutralinojs"))),(0,n.yg)("h3",{id:"wails"},"WAILS"),(0,n.yg)("p",null,"\u4f7f\u7528 Go \u6784\u5efa\u6f02\u4eae\u7684\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://wails.io/zh-Hans/"},"\u5b98\u65b9\u7f51\u7ad9-WAILS"))),(0,n.yg)("p",null,"\u5728\u4e00\u4e2a\u6846\u67b6\u4e2d\u751f\u6210\u672c\u673a\u3001\u8de8\u5e73\u53f0\u684c\u9762\u548c\u79fb\u52a8\u5e94\u7528\u3002"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://dotnet.microsoft.com/zh-cn/apps/maui"},"\u5b98\u65b9\u7f51\u7ad9-.NET MAUI"))),(0,n.yg)("h3",{id:"net-maui"},".NET MAUI"),(0,n.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/596782927"},"2023 \u5e74\u6700\u5168\u76d8\u70b9 | 16 \u6b3e\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://github.com/Elanis/web-to-desktop-framework-comparison"},"Neutralinojs vs. Electron, NW.JS, Tauri, NodeGui, Flutter, .Net MAUI, Wails"),(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"\u770b Github Stars \u5c31\u77e5\u9053\u6d41\u7a0b\u7a0b\u5ea6\u4e86")))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[256],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var l=r(96540);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function i(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var u=l.createContext({}),p=function(e){var t=l.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return l.createElement(u.Provider,{value:t},e.children)},c="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},g=l.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,u=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),c=p(r),g=n,d=c["".concat(u,".").concat(g)]||c[g]||y[g]||a;return r?l.createElement(d,i(i({ref:t},s),{},{components:r})):l.createElement(d,i({ref:t},s))}));function d(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,i=new Array(a);i[0]=g;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o[c]="string"==typeof e?e:n,i[1]=o;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>y,frontMatter:()=>a,metadata:()=>o,toc:()=>p});var l=r(58168),n=(r(96540),r(15680));const a={},i=void 0,o={unversionedId:"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",id:"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",title:"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",description:"Electron",source:"@site/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6.md",sourceDirName:"study/program",slug:"/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",permalink:"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7f16\u8bd1\u5668",permalink:"/docs/study/program/\u7f16\u8bd1\u5668"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/devops/"}},u={},p=[{value:"Electron",id:"electron",level:3},{value:"TAURI",id:"tauri",level:3},{value:"Flutter",id:"flutter",level:3},{value:"NW.js",id:"nwjs",level:3},{value:"Neutralinojs",id:"neutralinojs",level:3},{value:"WAILS",id:"wails",level:3},{value:".NET MAUI",id:"net-maui",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},c="wrapper";function y(e){let{components:t,...r}=e;return(0,n.yg)(c,(0,l.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"electron"},"Electron"),(0,n.yg)("p",null,"Build cross-platform desktop apps with JavaScript, HTML, and CSS"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://www.electronjs.org/zh/"},"\u5b98\u65b9\u7f51\u7ad9-Electron"))),(0,n.yg)("h3",{id:"tauri"},"TAURI"),(0,n.yg)("p",null,"\u6784\u5efa\u8de8\u5e73\u53f0\u7684\u5feb\u901f\u3001\u5b89\u5168\u3001\u524d\u7aef\u9694\u79bb\u5e94\u7528"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://tauri.app/zh-cn/"},"\u5b98\u65b9\u7f51\u7ad9-TAURI")),(0,n.yg)("li",{parentName:"ul"},"\u6253\u5305\u5927\u5c0f:\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u7684\u7f51\u9875\u6e32\u67d3\u5668\uff0cTauri \u5e94\u7528\u7684\u5927\u5c0f\u53ef\u6253\u5305\u5230 600 KB \u4ee5\u4e0b\uff01"),(0,n.yg)("li",{parentName:"ul"},"\u8de8\u5e73\u53f0:\u6784\u5efa\u652f\u6301\u6240\u6709\u4e3b\u6d41\u684c\u9762\u5e73\u53f0\uff08\u79fb\u52a8\u7aef\u5373\u5c06\u63a8\u51fa\uff09\u7684\u4e8c\u8fdb\u5236\u6253\u5305\u6587\u4ef6\u3002"),(0,n.yg)("li",{parentName:"ul"},"\u57fa\u4e8e Rust \u5f00\u53d1:\u6027\u80fd\u53ca\u5b89\u5168\u81f3\u4e0a\u7684 Rust \u662f\u6b21\u65f6\u4ee3\u5e94\u7528\u5f00\u53d1\u9996\u9009\u3002"),(0,n.yg)("li",{parentName:"ul"},"\u76ee\u524d\u8fd8\u5728\u5feb\u901f\u53d1\u5c55\u4e2d-\uff082023 \u5e74\uff09")),(0,n.yg)("h3",{id:"flutter"},"Flutter"),(0,n.yg)("p",null,"\u4e3a\u6240\u6709\u5c4f\u5e55\u521b\u9020\u7cbe\u5f69"),(0,n.yg)("p",null,"Flutter \u4e3a\u8f6f\u4ef6\u5f00\u53d1\u884c\u4e1a\u5e26\u6765\u4e86\u9769\u65b0\uff1a\u53ea\u8981\u4e00\u5957\u4ee3\u7801\u5e93\uff0c\u5373\u53ef\u6784\u5efa\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03\u9002\u7528\u4e8e\u79fb\u52a8\u3001Web\u3001\u684c\u9762\u548c\u5d4c\u5165\u5f0f\u5e73\u53f0\u7684\u7cbe\u7f8e\u5e94\u7528\u3002"),(0,n.yg)("p",null,"Flutter \u662f Google \u5f00\u6e90\u7684\u5e94\u7528\u5f00\u53d1\u6846\u67b6\uff0c\u4ec5\u901a\u8fc7\u4e00\u5957\u4ee3\u7801\u5e93\uff0c\u5c31\u80fd\u6784\u5efa\u7cbe\u7f8e\u7684\u3001\u539f\u751f\u5e73\u53f0\u7f16\u8bd1\u7684\u591a\u5e73\u53f0\u5e94\u7528\u3002"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://flutter.cn/index"},"\u5b98\u65b9\u7f51\u7ad9-Flutter"))),(0,n.yg)("h3",{id:"nwjs"},"NW.js"),(0,n.yg)("p",null,"NW.js (previously known as node-webkit) lets you call all Node.js modules directly from DOM and enables a new way of writing applications with all Web technologies."),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://nwjs.io/"},"\u5b98\u65b9\u7f51\u7ad9"))),(0,n.yg)("h3",{id:"neutralinojs"},"Neutralinojs"),(0,n.yg)("p",null,"Build lightweight cross-platform desktop apps with JavaScript, HTML, and CSS"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://neutralino.js.org/"},"\u5b98\u65b9\u7f51\u7ad9-Neutralinojs"))),(0,n.yg)("h3",{id:"wails"},"WAILS"),(0,n.yg)("p",null,"\u4f7f\u7528 Go \u6784\u5efa\u6f02\u4eae\u7684\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://wails.io/zh-Hans/"},"\u5b98\u65b9\u7f51\u7ad9-WAILS"))),(0,n.yg)("p",null,"\u5728\u4e00\u4e2a\u6846\u67b6\u4e2d\u751f\u6210\u672c\u673a\u3001\u8de8\u5e73\u53f0\u684c\u9762\u548c\u79fb\u52a8\u5e94\u7528\u3002"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://dotnet.microsoft.com/zh-cn/apps/maui"},"\u5b98\u65b9\u7f51\u7ad9-.NET MAUI"))),(0,n.yg)("h3",{id:"net-maui"},".NET MAUI"),(0,n.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/596782927"},"2023 \u5e74\u6700\u5168\u76d8\u70b9 | 16 \u6b3e\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6")),(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://github.com/Elanis/web-to-desktop-framework-comparison"},"Neutralinojs vs. Electron, NW.JS, Tauri, NodeGui, Flutter, .Net MAUI, Wails"),(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"\u770b Github Stars \u5c31\u77e5\u9053\u6d41\u7a0b\u7a0b\u5ea6\u4e86")))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1830dc74.b9e59b1a.js b/assets/js/1830dc74.b59a3a75.js similarity index 98% rename from assets/js/1830dc74.b9e59b1a.js rename to assets/js/1830dc74.b59a3a75.js index f46884092..3e5c12c8e 100644 --- a/assets/js/1830dc74.b9e59b1a.js +++ b/assets/js/1830dc74.b59a3a75.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3751],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),l=u(r),y=a,f=l["".concat(s,".").concat(y)]||l[y]||d[y]||o;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[l]="string"==typeof e?e:a,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},i=void 0,c={unversionedId:"study/db/SQL/MariaDB",id:"study/db/SQL/MariaDB",title:"MariaDB",description:"MariaDB\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u662fMySQL\u7684\u4e00\u4e2a\u5206\u652f\uff0c\u4e3b\u8981\u7531\u5f00\u6e90\u793e\u533a\u5728\u7ef4\u62a4\uff0c\u91c7\u7528GPL\u6388\u6743\u8bb8\u53ef\u3002\u5f00\u53d1\u8fd9\u4e2a\u5206\u652f\u7684\u539f\u56e0\u4e4b\u4e00\u662f\uff1a\u7532\u9aa8\u6587\u516c\u53f8\u6536\u8d2d\u4e86MySQL\u540e\uff0c\u6709\u5c06MySQL\u95ed\u6e90\u7684\u6f5c\u5728\u98ce\u9669\uff0c\u56e0\u6b64\u793e\u533a\u91c7\u7528\u5206\u652f\u7684\u65b9\u5f0f\u6765\u907f\u5f00\u8fd9\u4e2a\u98ce\u9669\u3002",source:"@site/docs/study/db/SQL/MariaDB.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/MariaDB",permalink:"/docs/study/db/SQL/MariaDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Kingbase",permalink:"/docs/study/db/SQL/Kingbase"},next:{title:"MySQL \u7b14\u8bb0",permalink:"/docs/study/db/SQL/MySQL-\u7b14\u8bb0"}},s={},u=[],p={toc:u},l="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"MariaDB\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u662fMySQL\u7684\u4e00\u4e2a\u5206\u652f\uff0c\u4e3b\u8981\u7531\u5f00\u6e90\u793e\u533a\u5728\u7ef4\u62a4\uff0c\u91c7\u7528GPL\u6388\u6743\u8bb8\u53ef\u3002\u5f00\u53d1\u8fd9\u4e2a\u5206\u652f\u7684\u539f\u56e0\u4e4b\u4e00\u662f\uff1a\u7532\u9aa8\u6587\u516c\u53f8\u6536\u8d2d\u4e86MySQL\u540e\uff0c\u6709\u5c06MySQL\u95ed\u6e90\u7684\u6f5c\u5728\u98ce\u9669\uff0c\u56e0\u6b64\u793e\u533a\u91c7\u7528\u5206\u652f\u7684\u65b9\u5f0f\u6765\u907f\u5f00\u8fd9\u4e2a\u98ce\u9669\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3751],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),l=u(r),y=a,f=l["".concat(s,".").concat(y)]||l[y]||d[y]||o;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[l]="string"==typeof e?e:a,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},i=void 0,c={unversionedId:"study/db/SQL/MariaDB",id:"study/db/SQL/MariaDB",title:"MariaDB",description:"MariaDB\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u662fMySQL\u7684\u4e00\u4e2a\u5206\u652f\uff0c\u4e3b\u8981\u7531\u5f00\u6e90\u793e\u533a\u5728\u7ef4\u62a4\uff0c\u91c7\u7528GPL\u6388\u6743\u8bb8\u53ef\u3002\u5f00\u53d1\u8fd9\u4e2a\u5206\u652f\u7684\u539f\u56e0\u4e4b\u4e00\u662f\uff1a\u7532\u9aa8\u6587\u516c\u53f8\u6536\u8d2d\u4e86MySQL\u540e\uff0c\u6709\u5c06MySQL\u95ed\u6e90\u7684\u6f5c\u5728\u98ce\u9669\uff0c\u56e0\u6b64\u793e\u533a\u91c7\u7528\u5206\u652f\u7684\u65b9\u5f0f\u6765\u907f\u5f00\u8fd9\u4e2a\u98ce\u9669\u3002",source:"@site/docs/study/db/SQL/MariaDB.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/MariaDB",permalink:"/docs/study/db/SQL/MariaDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Kingbase",permalink:"/docs/study/db/SQL/Kingbase"},next:{title:"MySQL \u7b14\u8bb0",permalink:"/docs/study/db/SQL/MySQL-\u7b14\u8bb0"}},s={},u=[],p={toc:u},l="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"MariaDB\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u662fMySQL\u7684\u4e00\u4e2a\u5206\u652f\uff0c\u4e3b\u8981\u7531\u5f00\u6e90\u793e\u533a\u5728\u7ef4\u62a4\uff0c\u91c7\u7528GPL\u6388\u6743\u8bb8\u53ef\u3002\u5f00\u53d1\u8fd9\u4e2a\u5206\u652f\u7684\u539f\u56e0\u4e4b\u4e00\u662f\uff1a\u7532\u9aa8\u6587\u516c\u53f8\u6536\u8d2d\u4e86MySQL\u540e\uff0c\u6709\u5c06MySQL\u95ed\u6e90\u7684\u6f5c\u5728\u98ce\u9669\uff0c\u56e0\u6b64\u793e\u533a\u91c7\u7528\u5206\u652f\u7684\u65b9\u5f0f\u6765\u907f\u5f00\u8fd9\u4e2a\u98ce\u9669\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/18536aaa.bf7ac116.js b/assets/js/18536aaa.f528d603.js similarity index 99% rename from assets/js/18536aaa.bf7ac116.js rename to assets/js/18536aaa.f528d603.js index 3d034ab60..95730cdc3 100644 --- a/assets/js/18536aaa.bf7ac116.js +++ b/assets/js/18536aaa.f528d603.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6393],{15680:(e,r,o)=>{o.d(r,{xA:()=>d,yg:()=>u});var t=o(96540);function n(e,r,o){return r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function l(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function a(e){for(var r=1;r=0||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var p=t.createContext({}),i=function(e){var r=t.useContext(p),o=r;return e&&(o="function"==typeof e?e(r):a(a({},r),e)),o},d=function(e){var r=i(e.components);return t.createElement(p.Provider,{value:r},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},y=t.forwardRef((function(e,r){var o=e.components,n=e.mdxType,l=e.originalType,p=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),s=i(o),y=n,u=s["".concat(p,".").concat(y)]||s[y]||m[y]||l;return o?t.createElement(u,a(a({ref:r},d),{},{components:o})):t.createElement(u,a({ref:r},d))}));function u(e,r){var o=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var l=o.length,a=new Array(l);a[0]=y;var c={};for(var p in r)hasOwnProperty.call(r,p)&&(c[p]=r[p]);c.originalType=e,c[s]="string"==typeof e?e:n,a[1]=c;for(var i=2;i{o.r(r),o.d(r,{assets:()=>p,contentTitle:()=>a,default:()=>m,frontMatter:()=>l,metadata:()=>c,toc:()=>i});var t=o(58168),n=(o(96540),o(15680));const l={},a="Docker Compose",c={unversionedId:"study/docker/Docker-compose",id:"study/docker/Docker-compose",title:"Docker Compose",description:"\u5b9a\u4e49",source:"@site/docs/study/docker/Docker-compose.md",sourceDirName:"study/docker",slug:"/study/docker/Docker-compose",permalink:"/docs/study/docker/Docker-compose",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/docker/"},next:{title:"Docker Swarm",permalink:"/docs/study/docker/Docker-swarm"}},p={},i=[{value:"\u5b9a\u4e49",id:"\u5b9a\u4e49",level:3},{value:"\u4e3a\u4ec0\u4e48\u8981\u7528 Docker",id:"\u4e3a\u4ec0\u4e48\u8981\u7528-docker",level:3},{value:"Docker \u57fa\u672c\u7ec4\u6210",id:"docker-\u57fa\u672c\u7ec4\u6210",level:3},{value:"\u5e38\u7528\u547d\u4ee4",id:"\u5e38\u7528\u547d\u4ee4",level:3},{value:"Docker Compose",id:"docker-compose-1",level:3},{value:"\u5b89\u88c5",id:"\u5b89\u88c5",level:4},{value:"\u5e38\u7528\u547d\u4ee4",id:"\u5e38\u7528\u547d\u4ee4-1",level:4},{value:"\u95ee\u9898\u5904\u7406",id:"\u95ee\u9898\u5904\u7406",level:3}],d={toc:i},s="wrapper";function m(e){let{components:r,...o}=e;return(0,n.yg)(s,(0,t.A)({},d,o,{components:r,mdxType:"MDXLayout"}),(0,n.yg)("h1",{id:"docker-compose"},"Docker Compose"),(0,n.yg)("h3",{id:"\u5b9a\u4e49"},"\u5b9a\u4e49"),(0,n.yg)("p",null,"Docker \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5bb9\u5668\u5f15\u64ce\uff0c\u5b83\u6709\u52a9\u4e8e\u66f4\u5feb\u5730\u4ea4\u4ed8\u5e94\u7528\u3002\u65b9\u4fbf\u5feb\u6377\u5df2\u7ecf\u662f Docker \u7684\u6700\u5927\u4f18\u52bf\uff0c\u8fc7\u53bb\u9700\u8981\u7528\u6570\u5929\u4e43\u81f3\u6570\u5468\u7684\u4efb\u52a1\uff0c\u5728 Docker \u5bb9\u5668\u7684\u5904\u7406\u4e0b\uff0c\u53ea\u9700\u8981\u6570\u79d2\u5c31\u80fd\u5b8c\u6210\u3002"),(0,n.yg)("h3",{id:"\u4e3a\u4ec0\u4e48\u8981\u7528-docker"},"\u4e3a\u4ec0\u4e48\u8981\u7528 Docker"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"\u4e00\u81f4\u7684\u8fd0\u884c\u73af\u5883\uff1aDocker \u7684\u955c\u50cf\u63d0\u4f9b\u4e86\u9664\u5185\u6838\u5916\u5b8c\u6574\u7684\u8fd0\u884c\u65f6\u73af\u5883\uff0c\u786e\u4fdd\u4e86\u5e94\u7528\u8fd0\u884c\u73af\u5883\u4e00\u81f4\u6027\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u6301\u7eed\u4ea4\u4ed8\u548c\u90e8\u7f72\uff1a\u4f7f\u7528 Docker \u53ef\u4ee5\u901a\u8fc7\u5b9a\u5236\u5e94\u7528\u955c\u50cf\u6765\u5b9e\u73b0\u6301\u7eed\u96c6\u6210\u3001\u6301\u7eed\u4ea4\u4ed8\u3001\u90e8\u7f72\u3002\u4e00\u6b21\u521b\u5efa\u6216\u914d\u7f6e\uff0c\u53ef\u4ee5\u5728\u4efb\u610f\u5730\u65b9\u6b63\u5e38\u8fd0\u884c\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u66f4\u8f7b\u677e\u7684\u8fc1\u79fb\uff1aDocker \u786e\u4fdd\u4e86\u6267\u884c\u73af\u5883\u7684\u4e00\u81f4\u6027\uff0c\u4f7f\u5f97\u5e94\u7528\u7684\u8fc1\u79fb\u66f4\u52a0\u5bb9\u6613\u3002Docker \u53ef\u4ee5\u5728\u5f88\u591a\u5e73\u53f0\u4e0a\u8fd0\u884c\uff0c\u65e0\u8bba\u662f\u7269\u7406\u673a\u3001\u865a\u62df\u673a\u3001\u516c\u6709\u4e91\u3001\u79c1\u6709\u4e91\uff0c\u751a\u81f3\u662f\u7b14\u8bb0\u672c\uff0c\u5176\u8fd0\u884c\u7ed3\u679c\u662f\u4e00\u81f4\u7684\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u66f4\u5feb\u901f\u7684\u542f\u52a8\u65f6\u95f4\uff1aDocker \u5bb9\u5668\u5e94\u7528\uff0c\u7531\u4e8e\u76f4\u63a5\u8fd0\u884c\u4e8e\u5bbf\u4e3b\u5185\u6838\uff0c\u65e0\u9700\u542f\u52a8\u5b8c\u6574\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u56e0\u6b64\u53ef\u4ee5\u505a\u5230\u79d2\u7ea7\u3001\u751a\u81f3\u6beb\u79d2\u7ea7\u7684\u542f\u52a8\u65f6\u95f4\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u66f4\u9ad8\u6548\u7684\u5229\u7528\u7cfb\u7edf\u8d44\u6e90\uff1a\u7531\u4e8e\u5bb9\u5668\u4e0d\u9700\u8981\u8fdb\u884c\u786c\u4ef6\u865a\u62df\u4ee5\u53ca\u8fd0\u884c\u5b8c\u6574\u64cd\u4f5c\u7cfb\u7edf\u7b49\u989d\u5916\u5f00\u9500\uff0cDocker \u5bf9\u7cfb\u7edf\u8d44\u6e90\u7684\u5229\u7528\u7387\u66f4\u9ad8\u3002")),(0,n.yg)("h3",{id:"docker-\u57fa\u672c\u7ec4\u6210"},"Docker \u57fa\u672c\u7ec4\u6210"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"\u955c\u50cf(Images)"),(0,n.yg)("li",{parentName:"ol"},"\u5bb9\u5668(Container)"),(0,n.yg)("li",{parentName:"ol"},"\u955c\u50cf\u4ed3\u5e93(Registry)")),(0,n.yg)("h3",{id:"\u5e38\u7528\u547d\u4ee4"},"\u5e38\u7528\u547d\u4ee4"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"docker ps"),(0,n.yg)("li",{parentName:"ol"},"docker ps -a"),(0,n.yg)("li",{parentName:"ol"},"docker start xxx"),(0,n.yg)("li",{parentName:"ol"},"dcoker stop xxx"),(0,n.yg)("li",{parentName:"ol"},"docker rm xxx"),(0,n.yg)("li",{parentName:"ol"},"docker rmi xxx"),(0,n.yg)("li",{parentName:"ol"},"docker save -o ./xxx.tar xxx \u5bfc\u51fa\u955c\u50cf"),(0,n.yg)("li",{parentName:"ol"},"docker load -i xxx.tar \u5bfc\u5165\u955c\u50cf"),(0,n.yg)("li",{parentName:"ol"},"docker logs"),(0,n.yg)("li",{parentName:"ol"},"docker inspect xxx \u67e5\u770b\u5bb9\u5668\u8be6\u7ec6\u4fe1\u606f"),(0,n.yg)("li",{parentName:"ol"},"docker port xxx \u5217\u51fa\u6216\u6307\u5b9a\u5bb9\u5668\u7aef\u53e3\u6620\u5c04"),(0,n.yg)("li",{parentName:"ol"},"docker cp ","[dir]"," xxx:","[dir]"),(0,n.yg)("li",{parentName:"ol"},"docker diff xxx \u67e5\u770b\u5bb9\u5668\u548c\u955c\u50cf\u7684\u5dee\u5f02"),(0,n.yg)("li",{parentName:"ol"},"docker kill \u5bb9\u5668 id \u5f3a\u5236\u505c\u6b62\u5bb9\u5668"),(0,n.yg)("li",{parentName:"ol"},"docker container logs \u5bb9\u5668 id\uff1a\u67e5\u770b\u5bb9\u5668\u65e5\u5fd7"),(0,n.yg)("li",{parentName:"ol"},"docker top \u5bb9\u5668 id\uff1a\u67e5\u770b\u5bb9\u5668\u91cc\u7684\u8fdb\u7a0b")),(0,n.yg)("h3",{id:"docker-compose-1"},"Docker Compose"),(0,n.yg)("p",null,"Docker Compose \u662f docker \u63d0\u4f9b\u7684\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u7528\u6765\u5b9a\u4e49\u548c\u8fd0\u884c\u7531\u591a\u4e2a\u5bb9\u5668\u7ec4\u6210\u7684\u5e94\u7528\u3002\u4f7f\u7528 compose\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7 YAML \u6587\u4ef6\u58f0\u660e\u5f0f\u7684\u5b9a\u4e49\u5e94\u7528\u7a0b\u5e8f\u7684\u5404\u4e2a\u670d\u52a1\uff0c\u5e76\u7531\u5355\u4e2a\u547d\u4ee4\u5b8c\u6210\u5e94\u7528\u7684\u521b\u5efa\u548c\u542f\u52a8\u3002"),(0,n.yg)("h4",{id:"\u5b89\u88c5"},"\u5b89\u88c5"),(0,n.yg)("pre",null,(0,n.yg)("code",{parentName:"pre",className:"language-shell"},"#\u9700\u8981\u5148\u628apython3\u548cpip3\u5b89\u88c5\u597d\npip3 install docker-compose\ndocker-compose --version\n")),(0,n.yg)("h4",{id:"\u5e38\u7528\u547d\u4ee4-1"},"\u5e38\u7528\u547d\u4ee4"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"docker-compose up -d \xa0 \u540e\u53f0\u542f\u52a8"),(0,n.yg)("li",{parentName:"ol"},"docker-compose ps/stop/start/restart/rm"),(0,n.yg)("li",{parentName:"ol"},"docker-compose scale service=num\xa0 \u8bbe\u7f6e\u6307\u5b9a\u670d\u52a1\u8fd0\u884c\u7684\u5bb9\u5668\u4e2a\u6570\u3002\u901a\u8fc7 service=num \u7684\u53c2\u6570\u6765\u8bbe\u7f6e\u6570\u91cf")),(0,n.yg)("h3",{id:"\u95ee\u9898\u5904\u7406"},"\u95ee\u9898\u5904\u7406"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},(0,n.yg)("a",{parentName:"li",href:"https://blog.csdn.net/sangfei18829896970/article/details/97754635"},"python \u5b89\u88c5 pandas \u5e93\u51fa\u73b0 No module named \u2018","_","lzma\u2019")),(0,n.yg)("li",{parentName:"ol"},(0,n.yg)("a",{parentName:"li",href:"https://blog.51cto.com/13362895/2130375"},"docker \u4e4b\u7f51\u7edc\u914d\u7f6e")),(0,n.yg)("li",{parentName:"ol"},(0,n.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/minseo/p/11548177.html"},"Docker \u5165\u95e8\u4e4b docker-compose"))))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6393],{15680:(e,r,o)=>{o.d(r,{xA:()=>d,yg:()=>u});var t=o(96540);function n(e,r,o){return r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function l(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function a(e){for(var r=1;r=0||(n[o]=e[o]);return n}(e,r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var p=t.createContext({}),i=function(e){var r=t.useContext(p),o=r;return e&&(o="function"==typeof e?e(r):a(a({},r),e)),o},d=function(e){var r=i(e.components);return t.createElement(p.Provider,{value:r},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},y=t.forwardRef((function(e,r){var o=e.components,n=e.mdxType,l=e.originalType,p=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),s=i(o),y=n,u=s["".concat(p,".").concat(y)]||s[y]||m[y]||l;return o?t.createElement(u,a(a({ref:r},d),{},{components:o})):t.createElement(u,a({ref:r},d))}));function u(e,r){var o=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var l=o.length,a=new Array(l);a[0]=y;var c={};for(var p in r)hasOwnProperty.call(r,p)&&(c[p]=r[p]);c.originalType=e,c[s]="string"==typeof e?e:n,a[1]=c;for(var i=2;i{o.r(r),o.d(r,{assets:()=>p,contentTitle:()=>a,default:()=>m,frontMatter:()=>l,metadata:()=>c,toc:()=>i});var t=o(58168),n=(o(96540),o(15680));const l={},a="Docker Compose",c={unversionedId:"study/docker/Docker-compose",id:"study/docker/Docker-compose",title:"Docker Compose",description:"\u5b9a\u4e49",source:"@site/docs/study/docker/Docker-compose.md",sourceDirName:"study/docker",slug:"/study/docker/Docker-compose",permalink:"/docs/study/docker/Docker-compose",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/docker/"},next:{title:"Docker Swarm",permalink:"/docs/study/docker/Docker-swarm"}},p={},i=[{value:"\u5b9a\u4e49",id:"\u5b9a\u4e49",level:3},{value:"\u4e3a\u4ec0\u4e48\u8981\u7528 Docker",id:"\u4e3a\u4ec0\u4e48\u8981\u7528-docker",level:3},{value:"Docker \u57fa\u672c\u7ec4\u6210",id:"docker-\u57fa\u672c\u7ec4\u6210",level:3},{value:"\u5e38\u7528\u547d\u4ee4",id:"\u5e38\u7528\u547d\u4ee4",level:3},{value:"Docker Compose",id:"docker-compose-1",level:3},{value:"\u5b89\u88c5",id:"\u5b89\u88c5",level:4},{value:"\u5e38\u7528\u547d\u4ee4",id:"\u5e38\u7528\u547d\u4ee4-1",level:4},{value:"\u95ee\u9898\u5904\u7406",id:"\u95ee\u9898\u5904\u7406",level:3}],d={toc:i},s="wrapper";function m(e){let{components:r,...o}=e;return(0,n.yg)(s,(0,t.A)({},d,o,{components:r,mdxType:"MDXLayout"}),(0,n.yg)("h1",{id:"docker-compose"},"Docker Compose"),(0,n.yg)("h3",{id:"\u5b9a\u4e49"},"\u5b9a\u4e49"),(0,n.yg)("p",null,"Docker \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5bb9\u5668\u5f15\u64ce\uff0c\u5b83\u6709\u52a9\u4e8e\u66f4\u5feb\u5730\u4ea4\u4ed8\u5e94\u7528\u3002\u65b9\u4fbf\u5feb\u6377\u5df2\u7ecf\u662f Docker \u7684\u6700\u5927\u4f18\u52bf\uff0c\u8fc7\u53bb\u9700\u8981\u7528\u6570\u5929\u4e43\u81f3\u6570\u5468\u7684\u4efb\u52a1\uff0c\u5728 Docker \u5bb9\u5668\u7684\u5904\u7406\u4e0b\uff0c\u53ea\u9700\u8981\u6570\u79d2\u5c31\u80fd\u5b8c\u6210\u3002"),(0,n.yg)("h3",{id:"\u4e3a\u4ec0\u4e48\u8981\u7528-docker"},"\u4e3a\u4ec0\u4e48\u8981\u7528 Docker"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"\u4e00\u81f4\u7684\u8fd0\u884c\u73af\u5883\uff1aDocker \u7684\u955c\u50cf\u63d0\u4f9b\u4e86\u9664\u5185\u6838\u5916\u5b8c\u6574\u7684\u8fd0\u884c\u65f6\u73af\u5883\uff0c\u786e\u4fdd\u4e86\u5e94\u7528\u8fd0\u884c\u73af\u5883\u4e00\u81f4\u6027\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u6301\u7eed\u4ea4\u4ed8\u548c\u90e8\u7f72\uff1a\u4f7f\u7528 Docker \u53ef\u4ee5\u901a\u8fc7\u5b9a\u5236\u5e94\u7528\u955c\u50cf\u6765\u5b9e\u73b0\u6301\u7eed\u96c6\u6210\u3001\u6301\u7eed\u4ea4\u4ed8\u3001\u90e8\u7f72\u3002\u4e00\u6b21\u521b\u5efa\u6216\u914d\u7f6e\uff0c\u53ef\u4ee5\u5728\u4efb\u610f\u5730\u65b9\u6b63\u5e38\u8fd0\u884c\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u66f4\u8f7b\u677e\u7684\u8fc1\u79fb\uff1aDocker \u786e\u4fdd\u4e86\u6267\u884c\u73af\u5883\u7684\u4e00\u81f4\u6027\uff0c\u4f7f\u5f97\u5e94\u7528\u7684\u8fc1\u79fb\u66f4\u52a0\u5bb9\u6613\u3002Docker \u53ef\u4ee5\u5728\u5f88\u591a\u5e73\u53f0\u4e0a\u8fd0\u884c\uff0c\u65e0\u8bba\u662f\u7269\u7406\u673a\u3001\u865a\u62df\u673a\u3001\u516c\u6709\u4e91\u3001\u79c1\u6709\u4e91\uff0c\u751a\u81f3\u662f\u7b14\u8bb0\u672c\uff0c\u5176\u8fd0\u884c\u7ed3\u679c\u662f\u4e00\u81f4\u7684\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u66f4\u5feb\u901f\u7684\u542f\u52a8\u65f6\u95f4\uff1aDocker \u5bb9\u5668\u5e94\u7528\uff0c\u7531\u4e8e\u76f4\u63a5\u8fd0\u884c\u4e8e\u5bbf\u4e3b\u5185\u6838\uff0c\u65e0\u9700\u542f\u52a8\u5b8c\u6574\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u56e0\u6b64\u53ef\u4ee5\u505a\u5230\u79d2\u7ea7\u3001\u751a\u81f3\u6beb\u79d2\u7ea7\u7684\u542f\u52a8\u65f6\u95f4\u3002"),(0,n.yg)("li",{parentName:"ol"},"\u66f4\u9ad8\u6548\u7684\u5229\u7528\u7cfb\u7edf\u8d44\u6e90\uff1a\u7531\u4e8e\u5bb9\u5668\u4e0d\u9700\u8981\u8fdb\u884c\u786c\u4ef6\u865a\u62df\u4ee5\u53ca\u8fd0\u884c\u5b8c\u6574\u64cd\u4f5c\u7cfb\u7edf\u7b49\u989d\u5916\u5f00\u9500\uff0cDocker \u5bf9\u7cfb\u7edf\u8d44\u6e90\u7684\u5229\u7528\u7387\u66f4\u9ad8\u3002")),(0,n.yg)("h3",{id:"docker-\u57fa\u672c\u7ec4\u6210"},"Docker \u57fa\u672c\u7ec4\u6210"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"\u955c\u50cf(Images)"),(0,n.yg)("li",{parentName:"ol"},"\u5bb9\u5668(Container)"),(0,n.yg)("li",{parentName:"ol"},"\u955c\u50cf\u4ed3\u5e93(Registry)")),(0,n.yg)("h3",{id:"\u5e38\u7528\u547d\u4ee4"},"\u5e38\u7528\u547d\u4ee4"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"docker ps"),(0,n.yg)("li",{parentName:"ol"},"docker ps -a"),(0,n.yg)("li",{parentName:"ol"},"docker start xxx"),(0,n.yg)("li",{parentName:"ol"},"dcoker stop xxx"),(0,n.yg)("li",{parentName:"ol"},"docker rm xxx"),(0,n.yg)("li",{parentName:"ol"},"docker rmi xxx"),(0,n.yg)("li",{parentName:"ol"},"docker save -o ./xxx.tar xxx \u5bfc\u51fa\u955c\u50cf"),(0,n.yg)("li",{parentName:"ol"},"docker load -i xxx.tar \u5bfc\u5165\u955c\u50cf"),(0,n.yg)("li",{parentName:"ol"},"docker logs"),(0,n.yg)("li",{parentName:"ol"},"docker inspect xxx \u67e5\u770b\u5bb9\u5668\u8be6\u7ec6\u4fe1\u606f"),(0,n.yg)("li",{parentName:"ol"},"docker port xxx \u5217\u51fa\u6216\u6307\u5b9a\u5bb9\u5668\u7aef\u53e3\u6620\u5c04"),(0,n.yg)("li",{parentName:"ol"},"docker cp ","[dir]"," xxx:","[dir]"),(0,n.yg)("li",{parentName:"ol"},"docker diff xxx \u67e5\u770b\u5bb9\u5668\u548c\u955c\u50cf\u7684\u5dee\u5f02"),(0,n.yg)("li",{parentName:"ol"},"docker kill \u5bb9\u5668 id \u5f3a\u5236\u505c\u6b62\u5bb9\u5668"),(0,n.yg)("li",{parentName:"ol"},"docker container logs \u5bb9\u5668 id\uff1a\u67e5\u770b\u5bb9\u5668\u65e5\u5fd7"),(0,n.yg)("li",{parentName:"ol"},"docker top \u5bb9\u5668 id\uff1a\u67e5\u770b\u5bb9\u5668\u91cc\u7684\u8fdb\u7a0b")),(0,n.yg)("h3",{id:"docker-compose-1"},"Docker Compose"),(0,n.yg)("p",null,"Docker Compose \u662f docker \u63d0\u4f9b\u7684\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u7528\u6765\u5b9a\u4e49\u548c\u8fd0\u884c\u7531\u591a\u4e2a\u5bb9\u5668\u7ec4\u6210\u7684\u5e94\u7528\u3002\u4f7f\u7528 compose\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7 YAML \u6587\u4ef6\u58f0\u660e\u5f0f\u7684\u5b9a\u4e49\u5e94\u7528\u7a0b\u5e8f\u7684\u5404\u4e2a\u670d\u52a1\uff0c\u5e76\u7531\u5355\u4e2a\u547d\u4ee4\u5b8c\u6210\u5e94\u7528\u7684\u521b\u5efa\u548c\u542f\u52a8\u3002"),(0,n.yg)("h4",{id:"\u5b89\u88c5"},"\u5b89\u88c5"),(0,n.yg)("pre",null,(0,n.yg)("code",{parentName:"pre",className:"language-shell"},"#\u9700\u8981\u5148\u628apython3\u548cpip3\u5b89\u88c5\u597d\npip3 install docker-compose\ndocker-compose --version\n")),(0,n.yg)("h4",{id:"\u5e38\u7528\u547d\u4ee4-1"},"\u5e38\u7528\u547d\u4ee4"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},"docker-compose up -d \xa0 \u540e\u53f0\u542f\u52a8"),(0,n.yg)("li",{parentName:"ol"},"docker-compose ps/stop/start/restart/rm"),(0,n.yg)("li",{parentName:"ol"},"docker-compose scale service=num\xa0 \u8bbe\u7f6e\u6307\u5b9a\u670d\u52a1\u8fd0\u884c\u7684\u5bb9\u5668\u4e2a\u6570\u3002\u901a\u8fc7 service=num \u7684\u53c2\u6570\u6765\u8bbe\u7f6e\u6570\u91cf")),(0,n.yg)("h3",{id:"\u95ee\u9898\u5904\u7406"},"\u95ee\u9898\u5904\u7406"),(0,n.yg)("ol",null,(0,n.yg)("li",{parentName:"ol"},(0,n.yg)("a",{parentName:"li",href:"https://blog.csdn.net/sangfei18829896970/article/details/97754635"},"python \u5b89\u88c5 pandas \u5e93\u51fa\u73b0 No module named \u2018","_","lzma\u2019")),(0,n.yg)("li",{parentName:"ol"},(0,n.yg)("a",{parentName:"li",href:"https://blog.51cto.com/13362895/2130375"},"docker \u4e4b\u7f51\u7edc\u914d\u7f6e")),(0,n.yg)("li",{parentName:"ol"},(0,n.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/minseo/p/11548177.html"},"Docker \u5165\u95e8\u4e4b docker-compose"))))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/185d830e.5374eeae.js b/assets/js/185d830e.0505610a.js similarity index 98% rename from assets/js/185d830e.5374eeae.js rename to assets/js/185d830e.0505610a.js index 0f869d007..6c406ed9f 100644 --- a/assets/js/185d830e.5374eeae.js +++ b/assets/js/185d830e.0505610a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6113],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),l=p(r),y=a,f=l["".concat(s,".").concat(y)]||l[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[l]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/db/SQL/Kingbase",id:"study/db/SQL/Kingbase",title:"Kingbase",description:"\u5b98\u7f51 https://www.kingbase.com.cn/",source:"@site/docs/study/db/SQL/Kingbase.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/Kingbase",permalink:"/docs/study/db/SQL/Kingbase",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0"},next:{title:"MariaDB",permalink:"/docs/study/db/SQL/MariaDB"}},s={},p=[],u={toc:p},l="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"\u5b98\u7f51 ",(0,a.yg)("a",{parentName:"p",href:"https://www.kingbase.com.cn/"},"https://www.kingbase.com.cn/")),(0,a.yg)("p",null,"\u56fd\u4ea7\u66ff\u4ee3\uff0c\u5bf9\u6807\u7684\u662fOracle"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6113],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),l=p(r),y=a,f=l["".concat(s,".").concat(y)]||l[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[l]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/db/SQL/Kingbase",id:"study/db/SQL/Kingbase",title:"Kingbase",description:"\u5b98\u7f51 https://www.kingbase.com.cn/",source:"@site/docs/study/db/SQL/Kingbase.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/Kingbase",permalink:"/docs/study/db/SQL/Kingbase",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0"},next:{title:"MariaDB",permalink:"/docs/study/db/SQL/MariaDB"}},s={},p=[],u={toc:p},l="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"\u5b98\u7f51 ",(0,a.yg)("a",{parentName:"p",href:"https://www.kingbase.com.cn/"},"https://www.kingbase.com.cn/")),(0,a.yg)("p",null,"\u56fd\u4ea7\u66ff\u4ee3\uff0c\u5bf9\u6807\u7684\u662fOracle"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1aa9ac35.6b71ed4b.js b/assets/js/1aa9ac35.61560db0.js similarity index 99% rename from assets/js/1aa9ac35.6b71ed4b.js rename to assets/js/1aa9ac35.61560db0.js index 3086e9b95..ff725e45d 100644 --- a/assets/js/1aa9ac35.6b71ed4b.js +++ b/assets/js/1aa9ac35.61560db0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6019],{15680:(e,n,t)=>{t.d(n,{xA:()=>c,yg:()=>d});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function s(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function l(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var u=a.createContext({}),p=function(e){var n=a.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},c=function(e){var n=p(e.components);return a.createElement(u.Provider,{value:n},e.children)},i="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},g=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,s=e.originalType,u=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),i=p(t),g=r,d=i["".concat(u,".").concat(g)]||i[g]||m[g]||s;return t?a.createElement(d,l(l({ref:n},c),{},{components:t})):a.createElement(d,l({ref:n},c))}));function d(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var s=t.length,l=new Array(s);l[0]=g;var o={};for(var u in n)hasOwnProperty.call(n,u)&&(o[u]=n[u]);o.originalType=e,o[i]="string"==typeof e?e:r,l[1]=o;for(var p=2;p{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>l,default:()=>m,frontMatter:()=>s,metadata:()=>o,toc:()=>p});var a=t(58168),r=(t(96540),t(15680));const s={},l="OpenGauss",o={unversionedId:"study/db/SQL/OpenGauss",id:"study/db/SQL/OpenGauss",title:"OpenGauss",description:"\u5b98\u7f51 https://opengauss.org/zh/",source:"@site/docs/study/db/SQL/OpenGauss.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/OpenGauss",permalink:"/docs/study/db/SQL/OpenGauss",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MySQL",permalink:"/docs/study/db/SQL/MySQL"},next:{title:"PostgreSQL",permalink:"/docs/study/db/SQL/PostgreSQL"}},u={},p=[{value:"\u5e38\u7528\u7684\u5de5\u5177",id:"\u5e38\u7528\u7684\u5de5\u5177",level:3},{value:"\u5982\u4f55\u67e5\u770b\u7248\u672c",id:"\u5982\u4f55\u67e5\u770b\u7248\u672c",level:3},{value:"\u5982\u4f55\u67e5\u770b\u6700\u5927\u8fde\u63a5\u6570",id:"\u5982\u4f55\u67e5\u770b\u6700\u5927\u8fde\u63a5\u6570",level:3},{value:"\u5982\u4f55\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570",id:"\u5982\u4f55\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570",level:3},{value:"\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570\u62a5\u9519",id:"\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570\u62a5\u9519",level:3}],c={toc:p},i="wrapper";function m(e){let{components:n,...t}=e;return(0,r.yg)(i,(0,a.A)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"opengauss"},"OpenGauss"),(0,r.yg)("p",null,"\u5b98\u7f51 ",(0,r.yg)("a",{parentName:"p",href:"https://opengauss.org/zh/"},"https://opengauss.org/zh/")),(0,r.yg)("p",null,"\u5bf9\u6807\u7684\u662fPostgreSQL"),(0,r.yg)("h3",{id:"\u5e38\u7528\u7684\u5de5\u5177"},"\u5e38\u7528\u7684\u5de5\u5177"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"gsql \u8fd9\u662f OpenGauss \u6570\u636e\u5e93\u7684\u4ea4\u4e92\u5f0f\u5ba2\u6237\u7aef\u5de5\u5177\uff0c\u7528\u4e8e\u8fde\u63a5\u6570\u636e\u5e93\u5e76\u6267\u884c SQL \u547d\u4ee4\u3002\\q\uff08\u5728 gsql \u4e2d\u4f7f\u7528\uff09\uff1a\u7528\u4e8e\u9000\u51fagsql\u4ea4\u4e92\u5f0f\u5ba2\u6237\u7aef\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_dump \u7528\u4e8e\u5907\u4efd\u6570\u636e\u5e93\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_dumpall\uff1a\u7528\u4e8e\u5907\u4efd\u6574\u4e2a\u6570\u636e\u5e93\u7cfb\u7edf\uff0c\u5305\u62ec\u6240\u6709\u6570\u636e\u5e93\u548c\u7528\u6237\u4fe1\u606f\u7b49\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_restore\uff1a\u7528\u4e8e\u6062\u590d\u6570\u636e\u5e93\u5907\u4efd\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_om\u662f OpenGauss \u6570\u636e\u5e93\u63d0\u4f9b\u7684\u4e00\u4e2a\u91cd\u8981\u7684\u8fd0\u7ef4\u7ba1\u7406\u5de5\u5177\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u6570\u636e\u5e93",(0,r.yg)("strong",{parentName:"li"},"\u96c6\u7fa4"),"\u7684\u5b89\u88c5\u3001\u542f\u52a8\u3001\u505c\u6b62\u3001\u72b6\u6001\u67e5\u770b\u4ee5\u53ca\u914d\u7f6e\u7ba1\u7406\u7b49\u64cd\u4f5c\uff0c\u5e2e\u52a9\u7ba1\u7406\u5458\u9ad8\u6548\u5730\u7ef4\u62a4 OpenGauss \u6570\u636e\u5e93\u73af\u5883\u3002",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"gs_om --help \u4e0d\u540c\u7248\u672c\uff0c\u53ef\u80fd\u53c2\u6570\u4e0d\u4e00\u6837\uff0c\u4f7f\u7528\u6b64\u547d\u4ee4\u5177\u4f53\u67e5\u770b"),(0,r.yg)("li",{parentName:"ul"},"gs_om -t start \u5b83\u4f1a\u6309\u7167\u9884\u5148\u914d\u7f6e\u7684\u65b9\u5f0f\u542f\u52a8\u6574\u4e2a OpenGauss \u6570\u636e\u5e93\u96c6\u7fa4\u3002\u5728\u542f\u52a8\u8fc7\u7a0b\u4e2d\uff0cgs_om\u4f1a\u68c0\u67e5\u96c6\u7fa4\u8282\u70b9\u7684\u72b6\u6001\uff0c\u4f9d\u6b21\u542f\u52a8\u5404\u4e2a\u8282\u70b9\u4e0a\u7684\u6570\u636e\u5e93\u670d\u52a1\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_om -t stop \u505c\u6b62\u96c6\u7fa4"),(0,r.yg)("li",{parentName:"ul"},"gs_om -t status \u67e5\u770b\u96c6\u7fa4\u72b6\u6001"),(0,r.yg)("li",{parentName:"ul"},"gs_om -t refreshconf \u91cd\u65b0\u52a0\u8f7d\u96c6\u7fa4\u914d\u7f6e"))),(0,r.yg)("li",{parentName:"ul"},"gs_ctl gs_ctl\u662f OpenGauss \u6570\u636e\u5e93\u4e2d\u7684\u4e00\u4e2a\u91cd\u8981\u7684\u63a7\u5236\u5de5\u5177\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u5bf9",(0,r.yg)("strong",{parentName:"li"},"\u5355\u4e2a\u6570\u636e\u5e93\u8282\u70b9"),"\u8fdb\u884c\u7ba1\u7406\u548c\u63a7\u5236\uff0c\u5305\u62ec\u542f\u52a8\u3001\u505c\u6b62\u3001\u91cd\u542f\u6570\u636e\u5e93\u5b9e\u4f8b\uff0c\u4ee5\u53ca\u68c0\u67e5\u6570\u636e\u5e93\u72b6\u6001\u3001\u6545\u969c\u6062\u590d\u7b49\u64cd\u4f5c\u3002",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"gs_ctl --help \u4e0d\u540c\u7248\u672c\uff0c\u53ef\u80fd\u53c2\u6570\u4e0d\u4e00\u6837\uff0c\u4f7f\u7528\u6b64\u547d\u4ee4\u5177\u4f53\u67e5\u770b"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl start -D DATADIR \u542f\u52a8"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl stop -D DATADIR \u505c\u6b62"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl restart -D DATADIR \u91cd\u542f"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl status -D DATADIR \u72b6\u6001\u68c0\u67e5"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl reload -D DATADIR \u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u6587\u4ef6\uff0c\u800c\u65e0\u9700\u91cd\u542f"),(0,r.yg)("li",{parentName:"ul"},"cat postgresql.conf|grep -v '^\\s*#'|grep -v \"^$\" \u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u53bb\u6389\u6ce8\u91ca\u884c"))),(0,r.yg)("li",{parentName:"ul"},"\u7269\u7406\u5907\u4efd gs_basebackup"),(0,r.yg)("li",{parentName:"ul"},"\u903b\u8f91\u5907\u4efd gs_dump gs_dumpall\uff0c\u6ca1\u6709\u589e\u91cf\u5907\u4efd")),(0,r.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u7248\u672c"},"\u5982\u4f55\u67e5\u770b\u7248\u672c"),(0,r.yg)("p",null,"\u6267\u884cSQL\uff0cselect version();"),(0,r.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u6700\u5927\u8fde\u63a5\u6570"},"\u5982\u4f55\u67e5\u770b\u6700\u5927\u8fde\u63a5\u6570"),(0,r.yg)("p",null,"\u6267\u884cSQL\uff0cSELECT * FROM pg_settings WHERE name = 'max_connections';"),(0,r.yg)("h3",{id:"\u5982\u4f55\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570"},"\u5982\u4f55\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570"),(0,r.yg)("p",null,"\u4fee\u6539postgresql.conf\u6587\u4ef6\u7684max_connections\u53c2\u6570"),(0,r.yg)("p",null,"\u4e0d\u4e00\u5b9a\u4f1a\u6210\u529f\uff0c\u9700\u8981\u67e5\u770b\u65e5\u5fd7\u6216\u8005\u518d\u67e5\u8be2\u4e00\u904d\u770b\u770b\u6548\u679c"),(0,r.yg)("h3",{id:"\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570\u62a5\u9519"},"\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570\u62a5\u9519"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"2024-05-14 10:02:06.004 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [CACHE] LOG: set data cache size(402653184)\n2024-05-14 10:02:06.247 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] FATAL: could not create semaphores: No space left on device\n2024-05-14 10:02:06.247 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] DETAIL: Failed system call was semget(5432129, 17, 03600).\n2024-05-14 10:02:06.247 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] HINT: This error does *not* mean that you have run out of disk space. It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), would be exceeded. You need to raise the respective kernel parameter. Alternatively, reduce openGauss's consumption of semaphores by reducing its max_connections parameter.\n The openGauss documentation contains more information about configuring your system for openGauss.\n2024-05-14 10:02:06.247 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] BACKTRACELOG: tid[1]'s backtrace:\n gaussdb(+0xe3a41e) [0x55c87d3c041e]\n gaussdb(_Z9errfinishiz+0x441) [0x55c87d3b8651]\n gaussdb(+0xbb6618) [0x55c87d13c618]\n gaussdb(_Z17PGSemaphoreCreateP15PGSemaphoreData+0x9c) [0x55c87d13c93c]\n gaussdb(_Z14InitProcGlobalv+0x7dd) [0x55c87e18bddd]\n gaussdb(_Z31CreateSharedMemoryAndSemaphoresbi+0x3a5) [0x55c87e165605]\n gaussdb(_Z14PostmasterMainiPPc+0x183f) [0x55c87d982a4f]\n gaussdb(main+0x3f2) [0x55c87ce545f2]\n /usr/lib64/libc.so.6(+0x2d210) [0x7fbd21d16210]\n /usr/lib64/libc.so.6(__libc_start_main+0x7c) [0x7fbd21d162bc]\n gaussdb(_start+0x25) [0x55c87cec57f5]\n Use addr2line to get pretty function name and line\n\n2024-05-14 10:02:06.342 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] LOG: FiniNuma allocIndex: 0.\n")),(0,r.yg)("p",null,"\u4e0a\u9762\u7684\u62a5\u9519\u662f\u56e0\u4e3a\u5bbf\u4e3b\u673a\u7684\u4fe1\u53f7\u91cf\u8bbe\u7f6e\u7684\u592a\u5c0f\u4e86"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5728\u5bbf\u4e3b\u673a\u6267\u884c \u67e5\u770b\u4fe1\u53f7\u91cf\u76f8\u5173\u8bbe\u7f6e\nsysctl -a|grep sem\nipcs -ls\ncat /proc/sys/kernel/sem\n# \u7ed3\u679c\u5982\u4e0b\n------ Semaphore Limits --------\nmax number of arrays = 128\nmax semaphores per array = 250\nmax semaphores system wide = 32000\nmax ops per semop call = 32\nsemaphore max value = 32767\n")),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u4fee\u6539 vi /etc/sysctl.conf \u7684\u4ee5\u4e0b\u53c2\u6570\nkernel.sem = 50100 128256000 50100 2560\n#\nsysctl -p \u751f\u6548\n#\u91cd\u542f\u6570\u636e\u5e93\u5373\u53ef\n")))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6019],{15680:(e,n,t)=>{t.d(n,{xA:()=>c,yg:()=>d});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function s(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function l(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var u=a.createContext({}),p=function(e){var n=a.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},c=function(e){var n=p(e.components);return a.createElement(u.Provider,{value:n},e.children)},i="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},g=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,s=e.originalType,u=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),i=p(t),g=r,d=i["".concat(u,".").concat(g)]||i[g]||m[g]||s;return t?a.createElement(d,l(l({ref:n},c),{},{components:t})):a.createElement(d,l({ref:n},c))}));function d(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var s=t.length,l=new Array(s);l[0]=g;var o={};for(var u in n)hasOwnProperty.call(n,u)&&(o[u]=n[u]);o.originalType=e,o[i]="string"==typeof e?e:r,l[1]=o;for(var p=2;p{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>l,default:()=>m,frontMatter:()=>s,metadata:()=>o,toc:()=>p});var a=t(58168),r=(t(96540),t(15680));const s={},l="OpenGauss",o={unversionedId:"study/db/SQL/OpenGauss",id:"study/db/SQL/OpenGauss",title:"OpenGauss",description:"\u5b98\u7f51 https://opengauss.org/zh/",source:"@site/docs/study/db/SQL/OpenGauss.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/OpenGauss",permalink:"/docs/study/db/SQL/OpenGauss",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MySQL",permalink:"/docs/study/db/SQL/MySQL"},next:{title:"PostgreSQL",permalink:"/docs/study/db/SQL/PostgreSQL"}},u={},p=[{value:"\u5e38\u7528\u7684\u5de5\u5177",id:"\u5e38\u7528\u7684\u5de5\u5177",level:3},{value:"\u5982\u4f55\u67e5\u770b\u7248\u672c",id:"\u5982\u4f55\u67e5\u770b\u7248\u672c",level:3},{value:"\u5982\u4f55\u67e5\u770b\u6700\u5927\u8fde\u63a5\u6570",id:"\u5982\u4f55\u67e5\u770b\u6700\u5927\u8fde\u63a5\u6570",level:3},{value:"\u5982\u4f55\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570",id:"\u5982\u4f55\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570",level:3},{value:"\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570\u62a5\u9519",id:"\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570\u62a5\u9519",level:3}],c={toc:p},i="wrapper";function m(e){let{components:n,...t}=e;return(0,r.yg)(i,(0,a.A)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"opengauss"},"OpenGauss"),(0,r.yg)("p",null,"\u5b98\u7f51 ",(0,r.yg)("a",{parentName:"p",href:"https://opengauss.org/zh/"},"https://opengauss.org/zh/")),(0,r.yg)("p",null,"\u5bf9\u6807\u7684\u662fPostgreSQL"),(0,r.yg)("h3",{id:"\u5e38\u7528\u7684\u5de5\u5177"},"\u5e38\u7528\u7684\u5de5\u5177"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"gsql \u8fd9\u662f OpenGauss \u6570\u636e\u5e93\u7684\u4ea4\u4e92\u5f0f\u5ba2\u6237\u7aef\u5de5\u5177\uff0c\u7528\u4e8e\u8fde\u63a5\u6570\u636e\u5e93\u5e76\u6267\u884c SQL \u547d\u4ee4\u3002\\q\uff08\u5728 gsql \u4e2d\u4f7f\u7528\uff09\uff1a\u7528\u4e8e\u9000\u51fagsql\u4ea4\u4e92\u5f0f\u5ba2\u6237\u7aef\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_dump \u7528\u4e8e\u5907\u4efd\u6570\u636e\u5e93\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_dumpall\uff1a\u7528\u4e8e\u5907\u4efd\u6574\u4e2a\u6570\u636e\u5e93\u7cfb\u7edf\uff0c\u5305\u62ec\u6240\u6709\u6570\u636e\u5e93\u548c\u7528\u6237\u4fe1\u606f\u7b49\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_restore\uff1a\u7528\u4e8e\u6062\u590d\u6570\u636e\u5e93\u5907\u4efd\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_om\u662f OpenGauss \u6570\u636e\u5e93\u63d0\u4f9b\u7684\u4e00\u4e2a\u91cd\u8981\u7684\u8fd0\u7ef4\u7ba1\u7406\u5de5\u5177\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u6570\u636e\u5e93",(0,r.yg)("strong",{parentName:"li"},"\u96c6\u7fa4"),"\u7684\u5b89\u88c5\u3001\u542f\u52a8\u3001\u505c\u6b62\u3001\u72b6\u6001\u67e5\u770b\u4ee5\u53ca\u914d\u7f6e\u7ba1\u7406\u7b49\u64cd\u4f5c\uff0c\u5e2e\u52a9\u7ba1\u7406\u5458\u9ad8\u6548\u5730\u7ef4\u62a4 OpenGauss \u6570\u636e\u5e93\u73af\u5883\u3002",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"gs_om --help \u4e0d\u540c\u7248\u672c\uff0c\u53ef\u80fd\u53c2\u6570\u4e0d\u4e00\u6837\uff0c\u4f7f\u7528\u6b64\u547d\u4ee4\u5177\u4f53\u67e5\u770b"),(0,r.yg)("li",{parentName:"ul"},"gs_om -t start \u5b83\u4f1a\u6309\u7167\u9884\u5148\u914d\u7f6e\u7684\u65b9\u5f0f\u542f\u52a8\u6574\u4e2a OpenGauss \u6570\u636e\u5e93\u96c6\u7fa4\u3002\u5728\u542f\u52a8\u8fc7\u7a0b\u4e2d\uff0cgs_om\u4f1a\u68c0\u67e5\u96c6\u7fa4\u8282\u70b9\u7684\u72b6\u6001\uff0c\u4f9d\u6b21\u542f\u52a8\u5404\u4e2a\u8282\u70b9\u4e0a\u7684\u6570\u636e\u5e93\u670d\u52a1\u3002"),(0,r.yg)("li",{parentName:"ul"},"gs_om -t stop \u505c\u6b62\u96c6\u7fa4"),(0,r.yg)("li",{parentName:"ul"},"gs_om -t status \u67e5\u770b\u96c6\u7fa4\u72b6\u6001"),(0,r.yg)("li",{parentName:"ul"},"gs_om -t refreshconf \u91cd\u65b0\u52a0\u8f7d\u96c6\u7fa4\u914d\u7f6e"))),(0,r.yg)("li",{parentName:"ul"},"gs_ctl gs_ctl\u662f OpenGauss \u6570\u636e\u5e93\u4e2d\u7684\u4e00\u4e2a\u91cd\u8981\u7684\u63a7\u5236\u5de5\u5177\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u5bf9",(0,r.yg)("strong",{parentName:"li"},"\u5355\u4e2a\u6570\u636e\u5e93\u8282\u70b9"),"\u8fdb\u884c\u7ba1\u7406\u548c\u63a7\u5236\uff0c\u5305\u62ec\u542f\u52a8\u3001\u505c\u6b62\u3001\u91cd\u542f\u6570\u636e\u5e93\u5b9e\u4f8b\uff0c\u4ee5\u53ca\u68c0\u67e5\u6570\u636e\u5e93\u72b6\u6001\u3001\u6545\u969c\u6062\u590d\u7b49\u64cd\u4f5c\u3002",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"gs_ctl --help \u4e0d\u540c\u7248\u672c\uff0c\u53ef\u80fd\u53c2\u6570\u4e0d\u4e00\u6837\uff0c\u4f7f\u7528\u6b64\u547d\u4ee4\u5177\u4f53\u67e5\u770b"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl start -D DATADIR \u542f\u52a8"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl stop -D DATADIR \u505c\u6b62"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl restart -D DATADIR \u91cd\u542f"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl status -D DATADIR \u72b6\u6001\u68c0\u67e5"),(0,r.yg)("li",{parentName:"ul"},"gs_ctl reload -D DATADIR \u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u6587\u4ef6\uff0c\u800c\u65e0\u9700\u91cd\u542f"),(0,r.yg)("li",{parentName:"ul"},"cat postgresql.conf|grep -v '^\\s*#'|grep -v \"^$\" \u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u53bb\u6389\u6ce8\u91ca\u884c"))),(0,r.yg)("li",{parentName:"ul"},"\u7269\u7406\u5907\u4efd gs_basebackup"),(0,r.yg)("li",{parentName:"ul"},"\u903b\u8f91\u5907\u4efd gs_dump gs_dumpall\uff0c\u6ca1\u6709\u589e\u91cf\u5907\u4efd")),(0,r.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u7248\u672c"},"\u5982\u4f55\u67e5\u770b\u7248\u672c"),(0,r.yg)("p",null,"\u6267\u884cSQL\uff0cselect version();"),(0,r.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u6700\u5927\u8fde\u63a5\u6570"},"\u5982\u4f55\u67e5\u770b\u6700\u5927\u8fde\u63a5\u6570"),(0,r.yg)("p",null,"\u6267\u884cSQL\uff0cSELECT * FROM pg_settings WHERE name = 'max_connections';"),(0,r.yg)("h3",{id:"\u5982\u4f55\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570"},"\u5982\u4f55\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570"),(0,r.yg)("p",null,"\u4fee\u6539postgresql.conf\u6587\u4ef6\u7684max_connections\u53c2\u6570"),(0,r.yg)("p",null,"\u4e0d\u4e00\u5b9a\u4f1a\u6210\u529f\uff0c\u9700\u8981\u67e5\u770b\u65e5\u5fd7\u6216\u8005\u518d\u67e5\u8be2\u4e00\u904d\u770b\u770b\u6548\u679c"),(0,r.yg)("h3",{id:"\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570\u62a5\u9519"},"\u4fee\u6539\u6700\u5927\u8fde\u63a5\u6570\u62a5\u9519"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"2024-05-14 10:02:06.004 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [CACHE] LOG: set data cache size(402653184)\n2024-05-14 10:02:06.247 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] FATAL: could not create semaphores: No space left on device\n2024-05-14 10:02:06.247 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] DETAIL: Failed system call was semget(5432129, 17, 03600).\n2024-05-14 10:02:06.247 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] HINT: This error does *not* mean that you have run out of disk space. It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), would be exceeded. You need to raise the respective kernel parameter. Alternatively, reduce openGauss's consumption of semaphores by reducing its max_connections parameter.\n The openGauss documentation contains more information about configuring your system for openGauss.\n2024-05-14 10:02:06.247 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] BACKTRACELOG: tid[1]'s backtrace:\n gaussdb(+0xe3a41e) [0x55c87d3c041e]\n gaussdb(_Z9errfinishiz+0x441) [0x55c87d3b8651]\n gaussdb(+0xbb6618) [0x55c87d13c618]\n gaussdb(_Z17PGSemaphoreCreateP15PGSemaphoreData+0x9c) [0x55c87d13c93c]\n gaussdb(_Z14InitProcGlobalv+0x7dd) [0x55c87e18bddd]\n gaussdb(_Z31CreateSharedMemoryAndSemaphoresbi+0x3a5) [0x55c87e165605]\n gaussdb(_Z14PostmasterMainiPPc+0x183f) [0x55c87d982a4f]\n gaussdb(main+0x3f2) [0x55c87ce545f2]\n /usr/lib64/libc.so.6(+0x2d210) [0x7fbd21d16210]\n /usr/lib64/libc.so.6(__libc_start_main+0x7c) [0x7fbd21d162bc]\n gaussdb(_start+0x25) [0x55c87cec57f5]\n Use addr2line to get pretty function name and line\n\n2024-05-14 10:02:06.342 [unknown] [unknown] localhost 140450292528512 0[0:0#0] 0 [BACKEND] LOG: FiniNuma allocIndex: 0.\n")),(0,r.yg)("p",null,"\u4e0a\u9762\u7684\u62a5\u9519\u662f\u56e0\u4e3a\u5bbf\u4e3b\u673a\u7684\u4fe1\u53f7\u91cf\u8bbe\u7f6e\u7684\u592a\u5c0f\u4e86"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5728\u5bbf\u4e3b\u673a\u6267\u884c \u67e5\u770b\u4fe1\u53f7\u91cf\u76f8\u5173\u8bbe\u7f6e\nsysctl -a|grep sem\nipcs -ls\ncat /proc/sys/kernel/sem\n# \u7ed3\u679c\u5982\u4e0b\n------ Semaphore Limits --------\nmax number of arrays = 128\nmax semaphores per array = 250\nmax semaphores system wide = 32000\nmax ops per semop call = 32\nsemaphore max value = 32767\n")),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u4fee\u6539 vi /etc/sysctl.conf \u7684\u4ee5\u4e0b\u53c2\u6570\nkernel.sem = 50100 128256000 50100 2560\n#\nsysctl -p \u751f\u6548\n#\u91cd\u542f\u6570\u636e\u5e93\u5373\u53ef\n")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1ad4833d.0d3acf4b.js b/assets/js/1ad4833d.c6a83085.js similarity index 98% rename from assets/js/1ad4833d.0d3acf4b.js rename to assets/js/1ad4833d.c6a83085.js index 922c6f413..c78e8718e 100644 --- a/assets/js/1ad4833d.0d3acf4b.js +++ b/assets/js/1ad4833d.c6a83085.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3783],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=r.createContext({}),d=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=d(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=d(n),y=o,f=u["".concat(p,".").concat(y)]||u[y]||s[y]||a;return n?r.createElement(f,i(i({ref:t},c),{},{components:n})):r.createElement(f,i({ref:t},c))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=y;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[u]="string"==typeof e?e:o,i[1]=l;for(var d=2;d{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>d});var r=n(58168),o=(n(96540),n(15680));const a={},i=void 0,l={unversionedId:"study/devops/SHELL",id:"study/devops/SHELL",title:"SHELL",description:"SHELL\u811a\u672c\u53c2\u6570",source:"@site/docs/study/devops/SHELL.md",sourceDirName:"study/devops",slug:"/study/devops/SHELL",permalink:"/docs/study/devops/SHELL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1"},next:{title:"ansible",permalink:"/docs/study/devops/ansible"}},p={},d=[{value:"SHELL\u811a\u672c\u53c2\u6570",id:"shell\u811a\u672c\u53c2\u6570",level:3},{value:"\u4f4d\u7f6e\u53c2\u6570",id:"\u4f4d\u7f6e\u53c2\u6570",level:4},{value:"\u53c2\u6570\u8ba1\u6570",id:"\u53c2\u6570\u8ba1\u6570",level:4},{value:"\u83b7\u53d6\u6240\u6709\u6570\u636e\uff1a",id:"\u83b7\u53d6\u6240\u6709\u6570\u636e",level:4},{value:"\u79fb\u4f4d\uff1a",id:"\u79fb\u4f4d",level:4},{value:"\u5904\u7406\u9009\u9879\uff1a",id:"\u5904\u7406\u9009\u9879",level:4}],c={toc:d},u="wrapper";function s(e){let{components:t,...n}=e;return(0,o.yg)(u,(0,r.A)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"shell\u811a\u672c\u53c2\u6570"},"SHELL\u811a\u672c\u53c2\u6570"),(0,o.yg)("h4",{id:"\u4f4d\u7f6e\u53c2\u6570"},"\u4f4d\u7f6e\u53c2\u6570"),(0,o.yg)("p",null,"\u811a\u672c\u901a\u8fc7\u4f4d\u7f6e\u53c2\u6570\u6765\u83b7\u53d6\u547d\u4ee4\u884c\u4e2d\u7684\u53c2\u6570\u3002\u4f4d\u7f6e\u53c2\u6570\u901a\u8fc7\u6807\u51c6\u6570\u5b57\u8868\u793a\uff0c\u4f8b\u5982",(0,o.yg)("inlineCode",{parentName:"p"},"$0"),"\u4ee3\u8868\u811a\u672c\u540d\u79f0\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"$1"),"\u4ee3\u8868\u7b2c\u4e00\u4e2a\u53c2\u6570\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"$2"),"\u4ee3\u8868\u7b2c\u4e8c\u4e2a\u53c2\u6570\uff0c\u4f9d\u6b64\u7c7b\u63a8\u3002"),(0,o.yg)("h4",{id:"\u53c2\u6570\u8ba1\u6570"},"\u53c2\u6570\u8ba1\u6570"),(0,o.yg)("p",null,"\u4f7f\u7528",(0,o.yg)("inlineCode",{parentName:"p"},"$#"),"\u53ef\u4ee5\u6d4b\u8bd5\u6267\u884c\u811a\u672c\u65f6\u5305\u542b\u7684\u547d\u4ee4\u884c\u53c2\u6570\u4e2a\u6570\u3002\u5982\u679c\u65e0\u53c2\u6570\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"$#"),"\u4e3a0\u3002"),(0,o.yg)("h4",{id:"\u83b7\u53d6\u6240\u6709\u6570\u636e"},"\u83b7\u53d6\u6240\u6709\u6570\u636e\uff1a"),(0,o.yg)("p",null,"\u4f7f\u7528",(0,o.yg)("inlineCode",{parentName:"p"},"$*"),"\u53ef\u4ee5\u5c06\u547d\u4ee4\u884c\u4e2d\u63d0\u4f9b\u7684\u6240\u6709\u53c2\u6570\u4f5c\u4e3a\u4e00\u4e2a\u5355\u8bcd\u5904\u7406\uff0c\u5b83\u5c06\u591a\u4e2a\u53c2\u6570\u770b\u6210\u4e00\u4e2a\u53c2\u6570\u3002\u4f7f\u7528",(0,o.yg)("inlineCode",{parentName:"p"},"$@"),"\u5219\u5c06\u547d\u4ee4\u884c\u4e2d\u63d0\u4f9b\u7684\u6240\u6709\u53c2\u6570\u4f5c\u4e3a\u540c\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u7684\u591a\u4e2a\u5355\u8bcd\u5904\u7406\u3002"),(0,o.yg)("h4",{id:"\u79fb\u4f4d"},"\u79fb\u4f4d\uff1a"),(0,o.yg)("p",null,"\u4f7f\u7528",(0,o.yg)("inlineCode",{parentName:"p"},"shift"),"\u547d\u4ee4\u53ef\u4ee5\u6539\u53d8\u547d\u4ee4\u884c\u53c2\u6570\u7684\u76f8\u5bf9\u4f4d\u7f6e\u3002\u9ed8\u8ba4\u4e3a\u6bcf\u4e2a\u53c2\u6570\u53d8\u91cf\u5de6\u79fb\u4e00\u4e2a\u4f4d\u7f6e\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"$0"),"\u4e0d\u53d8\u3002"),(0,o.yg)("h4",{id:"\u5904\u7406\u9009\u9879"},"\u5904\u7406\u9009\u9879\uff1a"),(0,o.yg)("p",null,"\u9009\u9879\u662f\u7531\u7834\u6298\u53f7\u5f15\u5bfc\u7684\u5355\u4e2a\u5b57\u6bcd\uff0c\u7528\u4e8e\u66f4\u6539\u547d\u4ee4\u7684\u884c\u4e3a\u3002\u4f8b\u5982\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"-n"),"\u53c2\u6570\u53ef\u4ee5\u7528\u6765\u68c0\u67e5\u53c2\u6570\u662f\u5426\u5b58\u5728\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3783],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=r.createContext({}),d=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=d(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=d(n),y=o,f=u["".concat(p,".").concat(y)]||u[y]||s[y]||a;return n?r.createElement(f,i(i({ref:t},c),{},{components:n})):r.createElement(f,i({ref:t},c))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=y;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[u]="string"==typeof e?e:o,i[1]=l;for(var d=2;d{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>d});var r=n(58168),o=(n(96540),n(15680));const a={},i=void 0,l={unversionedId:"study/devops/SHELL",id:"study/devops/SHELL",title:"SHELL",description:"SHELL\u811a\u672c\u53c2\u6570",source:"@site/docs/study/devops/SHELL.md",sourceDirName:"study/devops",slug:"/study/devops/SHELL",permalink:"/docs/study/devops/SHELL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1"},next:{title:"ansible",permalink:"/docs/study/devops/ansible"}},p={},d=[{value:"SHELL\u811a\u672c\u53c2\u6570",id:"shell\u811a\u672c\u53c2\u6570",level:3},{value:"\u4f4d\u7f6e\u53c2\u6570",id:"\u4f4d\u7f6e\u53c2\u6570",level:4},{value:"\u53c2\u6570\u8ba1\u6570",id:"\u53c2\u6570\u8ba1\u6570",level:4},{value:"\u83b7\u53d6\u6240\u6709\u6570\u636e\uff1a",id:"\u83b7\u53d6\u6240\u6709\u6570\u636e",level:4},{value:"\u79fb\u4f4d\uff1a",id:"\u79fb\u4f4d",level:4},{value:"\u5904\u7406\u9009\u9879\uff1a",id:"\u5904\u7406\u9009\u9879",level:4}],c={toc:d},u="wrapper";function s(e){let{components:t,...n}=e;return(0,o.yg)(u,(0,r.A)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"shell\u811a\u672c\u53c2\u6570"},"SHELL\u811a\u672c\u53c2\u6570"),(0,o.yg)("h4",{id:"\u4f4d\u7f6e\u53c2\u6570"},"\u4f4d\u7f6e\u53c2\u6570"),(0,o.yg)("p",null,"\u811a\u672c\u901a\u8fc7\u4f4d\u7f6e\u53c2\u6570\u6765\u83b7\u53d6\u547d\u4ee4\u884c\u4e2d\u7684\u53c2\u6570\u3002\u4f4d\u7f6e\u53c2\u6570\u901a\u8fc7\u6807\u51c6\u6570\u5b57\u8868\u793a\uff0c\u4f8b\u5982",(0,o.yg)("inlineCode",{parentName:"p"},"$0"),"\u4ee3\u8868\u811a\u672c\u540d\u79f0\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"$1"),"\u4ee3\u8868\u7b2c\u4e00\u4e2a\u53c2\u6570\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"$2"),"\u4ee3\u8868\u7b2c\u4e8c\u4e2a\u53c2\u6570\uff0c\u4f9d\u6b64\u7c7b\u63a8\u3002"),(0,o.yg)("h4",{id:"\u53c2\u6570\u8ba1\u6570"},"\u53c2\u6570\u8ba1\u6570"),(0,o.yg)("p",null,"\u4f7f\u7528",(0,o.yg)("inlineCode",{parentName:"p"},"$#"),"\u53ef\u4ee5\u6d4b\u8bd5\u6267\u884c\u811a\u672c\u65f6\u5305\u542b\u7684\u547d\u4ee4\u884c\u53c2\u6570\u4e2a\u6570\u3002\u5982\u679c\u65e0\u53c2\u6570\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"$#"),"\u4e3a0\u3002"),(0,o.yg)("h4",{id:"\u83b7\u53d6\u6240\u6709\u6570\u636e"},"\u83b7\u53d6\u6240\u6709\u6570\u636e\uff1a"),(0,o.yg)("p",null,"\u4f7f\u7528",(0,o.yg)("inlineCode",{parentName:"p"},"$*"),"\u53ef\u4ee5\u5c06\u547d\u4ee4\u884c\u4e2d\u63d0\u4f9b\u7684\u6240\u6709\u53c2\u6570\u4f5c\u4e3a\u4e00\u4e2a\u5355\u8bcd\u5904\u7406\uff0c\u5b83\u5c06\u591a\u4e2a\u53c2\u6570\u770b\u6210\u4e00\u4e2a\u53c2\u6570\u3002\u4f7f\u7528",(0,o.yg)("inlineCode",{parentName:"p"},"$@"),"\u5219\u5c06\u547d\u4ee4\u884c\u4e2d\u63d0\u4f9b\u7684\u6240\u6709\u53c2\u6570\u4f5c\u4e3a\u540c\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u7684\u591a\u4e2a\u5355\u8bcd\u5904\u7406\u3002"),(0,o.yg)("h4",{id:"\u79fb\u4f4d"},"\u79fb\u4f4d\uff1a"),(0,o.yg)("p",null,"\u4f7f\u7528",(0,o.yg)("inlineCode",{parentName:"p"},"shift"),"\u547d\u4ee4\u53ef\u4ee5\u6539\u53d8\u547d\u4ee4\u884c\u53c2\u6570\u7684\u76f8\u5bf9\u4f4d\u7f6e\u3002\u9ed8\u8ba4\u4e3a\u6bcf\u4e2a\u53c2\u6570\u53d8\u91cf\u5de6\u79fb\u4e00\u4e2a\u4f4d\u7f6e\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"$0"),"\u4e0d\u53d8\u3002"),(0,o.yg)("h4",{id:"\u5904\u7406\u9009\u9879"},"\u5904\u7406\u9009\u9879\uff1a"),(0,o.yg)("p",null,"\u9009\u9879\u662f\u7531\u7834\u6298\u53f7\u5f15\u5bfc\u7684\u5355\u4e2a\u5b57\u6bcd\uff0c\u7528\u4e8e\u66f4\u6539\u547d\u4ee4\u7684\u884c\u4e3a\u3002\u4f8b\u5982\uff0c",(0,o.yg)("inlineCode",{parentName:"p"},"-n"),"\u53c2\u6570\u53ef\u4ee5\u7528\u6765\u68c0\u67e5\u53c2\u6570\u662f\u5426\u5b58\u5728\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1b135b54.375be62e.js b/assets/js/1b135b54.962f17d9.js similarity index 99% rename from assets/js/1b135b54.375be62e.js rename to assets/js/1b135b54.962f17d9.js index 7f5f25f29..b936cb1f7 100644 --- a/assets/js/1b135b54.375be62e.js +++ b/assets/js/1b135b54.962f17d9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[344],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,i=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=c(r),d=l,f=s["".concat(i,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,o(o({ref:t},p),{},{components:r})):n.createElement(f,o({ref:t},p))}));function f(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var u={};for(var i in t)hasOwnProperty.call(t,i)&&(u[i]=t[i]);u.originalType=e,u[s]="string"==typeof e?e:l,o[1]=u;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>y,frontMatter:()=>a,metadata:()=>u,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,u={unversionedId:"study/fe/ARMS\u524d\u7aef\u76d1\u63a7",id:"study/fe/ARMS\u524d\u7aef\u76d1\u63a7",title:"ARMS\u524d\u7aef\u76d1\u63a7",description:"ARMS\u524d\u7aef\u76d1\u63a7\u4e13\u6ce8\u4e8e\u5bf9Web\u573a\u666f\u3001Weex\u573a\u666f\u548c\u5c0f\u7a0b\u5e8f\u573a\u666f\u7684\u76d1\u63a7\uff0c\u4ece\u9875\u9762\u6253\u5f00\u901f\u5ea6\uff08\u6d4b\u901f\uff09\u3001\u9875\u9762\u7a33\u5b9a\u6027\uff08JS\u8bca\u65ad\u9519\u8bef\uff09\u548c\u5916\u90e8\u670d\u52a1\u8c03\u7528\u6210\u529f\u7387\uff08API\uff09\u8fd9\u4e09\u4e2a\u65b9\u9762\u76d1\u6d4bWeb\u548c\u5c0f\u7a0b\u5e8f\u9875\u9762\u7684\u5065\u5eb7\u5ea6\u3002",source:"@site/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7.md",sourceDirName:"study/fe",slug:"/study/fe/ARMS\u524d\u7aef\u76d1\u63a7",permalink:"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u524d\u7aef\u6a21\u5757\u5316",permalink:"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316"},next:{title:"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",permalink:"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55"}},i={},c=[{value:"\u4e3a\u4ec0\u4e48\u8981\u6709\u524d\u7aef\u76d1\u63a7\uff1f",id:"\u4e3a\u4ec0\u4e48\u8981\u6709\u524d\u7aef\u76d1\u63a7",level:3},{value:"\u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848",id:"\u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,l.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"ARMS\u524d\u7aef\u76d1\u63a7\u4e13\u6ce8\u4e8e\u5bf9Web\u573a\u666f\u3001Weex\u573a\u666f\u548c\u5c0f\u7a0b\u5e8f\u573a\u666f\u7684\u76d1\u63a7\uff0c\u4ece\u9875\u9762\u6253\u5f00\u901f\u5ea6\uff08\u6d4b\u901f\uff09\u3001\u9875\u9762\u7a33\u5b9a\u6027\uff08JS\u8bca\u65ad\u9519\u8bef\uff09\u548c\u5916\u90e8\u670d\u52a1\u8c03\u7528\u6210\u529f\u7387\uff08API\uff09\u8fd9\u4e09\u4e2a\u65b9\u9762\u76d1\u6d4bWeb\u548c\u5c0f\u7a0b\u5e8f\u9875\u9762\u7684\u5065\u5eb7\u5ea6\u3002"),(0,l.yg)("h3",{id:"\u4e3a\u4ec0\u4e48\u8981\u6709\u524d\u7aef\u76d1\u63a7"},"\u4e3a\u4ec0\u4e48\u8981\u6709\u524d\u7aef\u76d1\u63a7\uff1f"),(0,l.yg)("p",null,"\u7528\u6237\u8bbf\u95ee\u60a8\u7684\u4e1a\u52a1\u65f6\uff0c\u6574\u4e2a\u8bbf\u95ee\u8fc7\u7a0b\u5927\u81f4\u53ef\u4ee5\u5206\u4e3a\u4e09\u4e2a\u9636\u6bb5\uff1a\u9875\u9762\u751f\u4ea7\u65f6\uff08\u670d\u52a1\u5668\u7aef\u72b6\u6001\uff09\u3001\u9875\u9762\u52a0\u8f7d\u65f6\u548c\u9875\u9762\u8fd0\u884c\u65f6\u3002"),(0,l.yg)("p",null,"\u4e3a\u4e86\u4fdd\u8bc1\u7ebf\u4e0a\u4e1a\u52a1\u7a33\u5b9a\u8fd0\u884c\uff0c\u6211\u4eec\u4f1a\u5728\u670d\u52a1\u5668\u7aef\u5bf9\u4e1a\u52a1\u7684\u8fd0\u884c\u72b6\u6001\u8fdb\u884c\u5404\u79cd\u76d1\u63a7\u3002\u73b0\u6709\u7684\u670d\u52a1\u5668\u7aef\u76d1\u63a7\u7cfb\u7edf\u76f8\u5bf9\u5df2\u7ecf\u5f88\u6210\u719f\uff0c\u800c\u9875\u9762\u52a0\u8f7d\u548c\u9875\u9762\u8fd0\u884c\u65f6\u7684\u72b6\u6001\u76d1\u63a7\u4e00\u76f4\u6bd4\u8f83\u6b20\u7f3a\u3002\u4f8b\u5982\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u65e0\u6cd5\u7b2c\u4e00\u65f6\u95f4\u83b7\u77e5\u7528\u6237\u8bbf\u95ee\u60a8\u7684\u7ad9\u70b9\u65f6\u9047\u5230\u7684\u9519\u8bef\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5404\u4e2a\u56fd\u5bb6\u3001\u5404\u4e2a\u5730\u533a\u7684\u7528\u6237\u8bbf\u95ee\u60a8\u7684\u7ad9\u70b9\u7684\u771f\u5b9e\u901f\u5ea6\u672a\u77e5\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6bcf\u4e2a\u5e94\u7528\u5185\u6709\u5927\u91cf\u7684\u5f02\u6b65\u6570\u636e\u8c03\u7528\uff0c\u800c\u5b83\u4eec\u7684\u6027\u80fd\u3001\u6210\u529f\u7387\u90fd\u662f\u672a\u77e5\u7684\u3002")),(0,l.yg)("h3",{id:"\u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848"},"\u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848"),(0,l.yg)("p",null,"ARMS\u524d\u7aef\u76d1\u63a7\u91cd\u70b9\u76d1\u63a7\u9875\u9762\u7684\u52a0\u8f7d\u8fc7\u7a0b\u548c\u8fd0\u884c\u65f6\u72b6\u6001\uff0c\u540c\u65f6\u5c06\u9875\u9762\u52a0\u8f7d\u6027\u80fd\u3001\u8fd0\u884c\u65f6\u5f02\u5e38\u4ee5\u53caAPI\u8c03\u7528\u72b6\u6001\u548c\u8017\u65f6\u7b49\u6570\u636e\uff0c\u4e0a\u62a5\u5230\u65e5\u5fd7\u670d\u52a1\u5668\u3002\u4e4b\u540e\u501f\u52a9ARMS\u63d0\u4f9b\u7684\u6d77\u91cf\u5b9e\u65f6\u65e5\u5fd7\u5206\u6790\u548c\u5904\u7406\u670d\u52a1\uff0c\u5bf9\u5f53\u524d\u7ebf\u4e0a\u6240\u6709\u771f\u5b9e\u7528\u6237\u7684\u8bbf\u95ee\u60c5\u51b5\u8fdb\u884c\u76d1\u63a7\u3002\u6700\u540e\u901a\u8fc7\u76f4\u89c2\u7684\u62a5\u8868\u5c55\u793a\uff0c\u5e2e\u52a9\u60a8\u53ca\u65f6\u53d1\u73b0\u5e76\u8bca\u65ad\u95ee\u9898\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://help.aliyun.com/document_detail/58652.html?spm=a2c4g.91587.0.0.28c94e85lQHFGu"},"\u4ec0\u4e48\u662fARMS\u524d\u7aef\u76d1\u63a7\uff1f"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[344],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,i=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=c(r),d=l,f=s["".concat(i,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,o(o({ref:t},p),{},{components:r})):n.createElement(f,o({ref:t},p))}));function f(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var u={};for(var i in t)hasOwnProperty.call(t,i)&&(u[i]=t[i]);u.originalType=e,u[s]="string"==typeof e?e:l,o[1]=u;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>y,frontMatter:()=>a,metadata:()=>u,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,u={unversionedId:"study/fe/ARMS\u524d\u7aef\u76d1\u63a7",id:"study/fe/ARMS\u524d\u7aef\u76d1\u63a7",title:"ARMS\u524d\u7aef\u76d1\u63a7",description:"ARMS\u524d\u7aef\u76d1\u63a7\u4e13\u6ce8\u4e8e\u5bf9Web\u573a\u666f\u3001Weex\u573a\u666f\u548c\u5c0f\u7a0b\u5e8f\u573a\u666f\u7684\u76d1\u63a7\uff0c\u4ece\u9875\u9762\u6253\u5f00\u901f\u5ea6\uff08\u6d4b\u901f\uff09\u3001\u9875\u9762\u7a33\u5b9a\u6027\uff08JS\u8bca\u65ad\u9519\u8bef\uff09\u548c\u5916\u90e8\u670d\u52a1\u8c03\u7528\u6210\u529f\u7387\uff08API\uff09\u8fd9\u4e09\u4e2a\u65b9\u9762\u76d1\u6d4bWeb\u548c\u5c0f\u7a0b\u5e8f\u9875\u9762\u7684\u5065\u5eb7\u5ea6\u3002",source:"@site/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7.md",sourceDirName:"study/fe",slug:"/study/fe/ARMS\u524d\u7aef\u76d1\u63a7",permalink:"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u524d\u7aef\u6a21\u5757\u5316",permalink:"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316"},next:{title:"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",permalink:"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55"}},i={},c=[{value:"\u4e3a\u4ec0\u4e48\u8981\u6709\u524d\u7aef\u76d1\u63a7\uff1f",id:"\u4e3a\u4ec0\u4e48\u8981\u6709\u524d\u7aef\u76d1\u63a7",level:3},{value:"\u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848",id:"\u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,l.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"ARMS\u524d\u7aef\u76d1\u63a7\u4e13\u6ce8\u4e8e\u5bf9Web\u573a\u666f\u3001Weex\u573a\u666f\u548c\u5c0f\u7a0b\u5e8f\u573a\u666f\u7684\u76d1\u63a7\uff0c\u4ece\u9875\u9762\u6253\u5f00\u901f\u5ea6\uff08\u6d4b\u901f\uff09\u3001\u9875\u9762\u7a33\u5b9a\u6027\uff08JS\u8bca\u65ad\u9519\u8bef\uff09\u548c\u5916\u90e8\u670d\u52a1\u8c03\u7528\u6210\u529f\u7387\uff08API\uff09\u8fd9\u4e09\u4e2a\u65b9\u9762\u76d1\u6d4bWeb\u548c\u5c0f\u7a0b\u5e8f\u9875\u9762\u7684\u5065\u5eb7\u5ea6\u3002"),(0,l.yg)("h3",{id:"\u4e3a\u4ec0\u4e48\u8981\u6709\u524d\u7aef\u76d1\u63a7"},"\u4e3a\u4ec0\u4e48\u8981\u6709\u524d\u7aef\u76d1\u63a7\uff1f"),(0,l.yg)("p",null,"\u7528\u6237\u8bbf\u95ee\u60a8\u7684\u4e1a\u52a1\u65f6\uff0c\u6574\u4e2a\u8bbf\u95ee\u8fc7\u7a0b\u5927\u81f4\u53ef\u4ee5\u5206\u4e3a\u4e09\u4e2a\u9636\u6bb5\uff1a\u9875\u9762\u751f\u4ea7\u65f6\uff08\u670d\u52a1\u5668\u7aef\u72b6\u6001\uff09\u3001\u9875\u9762\u52a0\u8f7d\u65f6\u548c\u9875\u9762\u8fd0\u884c\u65f6\u3002"),(0,l.yg)("p",null,"\u4e3a\u4e86\u4fdd\u8bc1\u7ebf\u4e0a\u4e1a\u52a1\u7a33\u5b9a\u8fd0\u884c\uff0c\u6211\u4eec\u4f1a\u5728\u670d\u52a1\u5668\u7aef\u5bf9\u4e1a\u52a1\u7684\u8fd0\u884c\u72b6\u6001\u8fdb\u884c\u5404\u79cd\u76d1\u63a7\u3002\u73b0\u6709\u7684\u670d\u52a1\u5668\u7aef\u76d1\u63a7\u7cfb\u7edf\u76f8\u5bf9\u5df2\u7ecf\u5f88\u6210\u719f\uff0c\u800c\u9875\u9762\u52a0\u8f7d\u548c\u9875\u9762\u8fd0\u884c\u65f6\u7684\u72b6\u6001\u76d1\u63a7\u4e00\u76f4\u6bd4\u8f83\u6b20\u7f3a\u3002\u4f8b\u5982\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u65e0\u6cd5\u7b2c\u4e00\u65f6\u95f4\u83b7\u77e5\u7528\u6237\u8bbf\u95ee\u60a8\u7684\u7ad9\u70b9\u65f6\u9047\u5230\u7684\u9519\u8bef\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5404\u4e2a\u56fd\u5bb6\u3001\u5404\u4e2a\u5730\u533a\u7684\u7528\u6237\u8bbf\u95ee\u60a8\u7684\u7ad9\u70b9\u7684\u771f\u5b9e\u901f\u5ea6\u672a\u77e5\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6bcf\u4e2a\u5e94\u7528\u5185\u6709\u5927\u91cf\u7684\u5f02\u6b65\u6570\u636e\u8c03\u7528\uff0c\u800c\u5b83\u4eec\u7684\u6027\u80fd\u3001\u6210\u529f\u7387\u90fd\u662f\u672a\u77e5\u7684\u3002")),(0,l.yg)("h3",{id:"\u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848"},"\u6211\u4eec\u7684\u89e3\u51b3\u65b9\u6848"),(0,l.yg)("p",null,"ARMS\u524d\u7aef\u76d1\u63a7\u91cd\u70b9\u76d1\u63a7\u9875\u9762\u7684\u52a0\u8f7d\u8fc7\u7a0b\u548c\u8fd0\u884c\u65f6\u72b6\u6001\uff0c\u540c\u65f6\u5c06\u9875\u9762\u52a0\u8f7d\u6027\u80fd\u3001\u8fd0\u884c\u65f6\u5f02\u5e38\u4ee5\u53caAPI\u8c03\u7528\u72b6\u6001\u548c\u8017\u65f6\u7b49\u6570\u636e\uff0c\u4e0a\u62a5\u5230\u65e5\u5fd7\u670d\u52a1\u5668\u3002\u4e4b\u540e\u501f\u52a9ARMS\u63d0\u4f9b\u7684\u6d77\u91cf\u5b9e\u65f6\u65e5\u5fd7\u5206\u6790\u548c\u5904\u7406\u670d\u52a1\uff0c\u5bf9\u5f53\u524d\u7ebf\u4e0a\u6240\u6709\u771f\u5b9e\u7528\u6237\u7684\u8bbf\u95ee\u60c5\u51b5\u8fdb\u884c\u76d1\u63a7\u3002\u6700\u540e\u901a\u8fc7\u76f4\u89c2\u7684\u62a5\u8868\u5c55\u793a\uff0c\u5e2e\u52a9\u60a8\u53ca\u65f6\u53d1\u73b0\u5e76\u8bca\u65ad\u95ee\u9898\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://help.aliyun.com/document_detail/58652.html?spm=a2c4g.91587.0.0.28c94e85lQHFGu"},"\u4ec0\u4e48\u662fARMS\u524d\u7aef\u76d1\u63a7\uff1f"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1b25ada3.105ed7ce.js b/assets/js/1b25ada3.5d37422d.js similarity index 99% rename from assets/js/1b25ada3.105ed7ce.js rename to assets/js/1b25ada3.5d37422d.js index 4b73c3bc4..b5af16762 100644 --- a/assets/js/1b25ada3.105ed7ce.js +++ b/assets/js/1b25ada3.5d37422d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[842],{15680:(e,l,t)=>{t.d(l,{xA:()=>d,yg:()=>s});var n=t(96540);function u(e,l,t){return l in e?Object.defineProperty(e,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[l]=t,e}function r(e,l){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var l=1;l=0||(u[t]=e[t]);return u}(e,l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(u[t]=e[t])}return u}var c=n.createContext({}),o=function(e){var l=n.useContext(c),t=l;return e&&(t="function"==typeof e?e(l):i(i({},l),e)),t},d=function(e){var l=o(e.components);return n.createElement(c.Provider,{value:l},e.children)},y="mdxType",p={inlineCode:"code",wrapper:function(e){var l=e.children;return n.createElement(n.Fragment,{},l)}},g=n.forwardRef((function(e,l){var t=e.components,u=e.mdxType,r=e.originalType,c=e.parentName,d=a(e,["components","mdxType","originalType","parentName"]),y=o(t),g=u,s=y["".concat(c,".").concat(g)]||y[g]||p[g]||r;return t?n.createElement(s,i(i({ref:l},d),{},{components:t})):n.createElement(s,i({ref:l},d))}));function s(e,l){var t=arguments,u=l&&l.mdxType;if("string"==typeof e||u){var r=t.length,i=new Array(r);i[0]=g;var a={};for(var c in l)hasOwnProperty.call(l,c)&&(a[c]=l[c]);a.originalType=e,a[y]="string"==typeof e?e:u,i[1]=a;for(var o=2;o{t.r(l),t.d(l,{assets:()=>c,contentTitle:()=>i,default:()=>p,frontMatter:()=>r,metadata:()=>a,toc:()=>o});var n=t(58168),u=(t(96540),t(15680));const r={sidebar_position:3},i="MQTT \u8bbe\u5907\u63a5\u5165",a={unversionedId:"iotcloud/connect/mqtt",id:"iotcloud/connect/mqtt",title:"MQTT \u8bbe\u5907\u63a5\u5165",description:"\u6211\u89c9\u5f97\u5927\u6982\u5206\u4e24\u79cd\u6a21\u5f0f\uff1a",source:"@site/docs/iotcloud/connect/mqtt.md",sourceDirName:"iotcloud/connect",slug:"/iotcloud/connect/mqtt",permalink:"/docs/iotcloud/connect/mqtt",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"iotCloudSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/connect/"},next:{title:"TCP \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/tcp"}},c={},o=[{value:"\u8bbe\u5907 connect",id:"\u8bbe\u5907-connect",level:3},{value:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae",id:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae",level:3},{value:"\u8bbe\u5907\u4e0a\u62a5\u5c5e\u6027",id:"\u8bbe\u5907\u4e0a\u62a5\u5c5e\u6027",level:4},{value:"\u7528\u6237\u5199\u5165\u5c5e\u6027",id:"\u7528\u6237\u5199\u5165\u5c5e\u6027",level:4},{value:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae",id:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae",level:3},{value:"\u8bbe\u5907\u4e0a\u62a5\u900f\u4f20\u6570\u636e",id:"\u8bbe\u5907\u4e0a\u62a5\u900f\u4f20\u6570\u636e",level:4},{value:"\u7528\u6237\u5199\u5165\u5c5e\u6027",id:"\u7528\u6237\u5199\u5165\u5c5e\u6027-1",level:4},{value:"\u4e3e\u4f8b\u8bf4\u660e",id:"\u4e3e\u4f8b\u8bf4\u660e",level:3},{value:"\u81ea\u884c\u5b9e\u73b0",id:"\u81ea\u884c\u5b9e\u73b0",level:4},{value:"\u5854\u77f3 DTU",id:"\u5854\u77f3-dtu",level:4},{value:"\u6709\u4eba DTU",id:"\u6709\u4eba-dtu",level:4},{value:"\u56db\u4fe1 DTU",id:"\u56db\u4fe1-dtu",level:4}],d={toc:o},y="wrapper";function p(e){let{components:l,...t}=e;return(0,u.yg)(y,(0,n.A)({},d,t,{components:l,mdxType:"MDXLayout"}),(0,u.yg)("h1",{id:"mqtt-\u8bbe\u5907\u63a5\u5165"},"MQTT \u8bbe\u5907\u63a5\u5165"),(0,u.yg)("p",null,"\u6211\u89c9\u5f97\u5927\u6982\u5206\u4e24\u79cd\u6a21\u5f0f\uff1a"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae")),(0,u.yg)("p",null,"\u4e24\u79cd\u6a21\u5f0f\u7684\u8bbe\u5907 connect \u662f\u4e00\u6837\u7684\u3002"),(0,u.yg)("h3",{id:"\u8bbe\u5907-connect"},"\u8bbe\u5907 connect"),(0,u.yg)("hr",null),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"ClientID device:{deviceCode} \u4e3e\u4f8b\uff1adevice:XoVnVQ2"),(0,u.yg)("li",{parentName:"ul"},"Username {deviceCode} \u4e3e\u4f8b\uff1aXoVnVQ2"),(0,u.yg)("li",{parentName:"ul"},"Password {devicePwd} \u4e3e\u4f8b\uff1aYXOsHbV")),(0,u.yg)("p",null,"\u8fde\u63a5\u6210\u529f\u540e\uff0c\u9ed8\u8ba4\u8ba2\u9605"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/d")),(0,u.yg)("p",null,"\u53ef\u6839\u636e\u5177\u4f53\u5e94\u7528\u573a\u666f\uff0c\u53d1\u5e03"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/req/u")),(0,u.yg)("p",null,"\u53ef\u6839\u636e\u5177\u4f53\u5e94\u7528\u573a\u666f\uff0c\u8ba2\u9605"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/res/d")),(0,u.yg)("h3",{id:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae"},"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae"),(0,u.yg)("h4",{id:"\u8bbe\u5907\u4e0a\u62a5\u5c5e\u6027"},"\u8bbe\u5907\u4e0a\u62a5\u5c5e\u6027"),(0,u.yg)("hr",null),(0,u.yg)("p",null,"\u6570\u636e\u6d41\u5411"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907 >> \u4e91\u7aef >> \u7528\u6237")),(0,u.yg)("p",null,"\u5141\u8bb8\u5c5e\u6027\u7c7b\u578b"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e0a\u62a5"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e91\u7aef\u5171\u4eab")),(0,u.yg)("p",null,"topic"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"/account/${user.account}/${device.code}/attributes/d")),(0,u.yg)("p",null,"plyload"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"[attributeCode:string]"," : ","[value:number|string]")),(0,u.yg)("h4",{id:"\u7528\u6237\u5199\u5165\u5c5e\u6027"},"\u7528\u6237\u5199\u5165\u5c5e\u6027"),(0,u.yg)("hr",null),(0,u.yg)("p",null,"\u6570\u636e\u6d41\u5411"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u7528\u6237 >> \u4e91\u7aef >> \u8bbe\u5907")),(0,u.yg)("p",null,"\u5141\u8bb8\u5c5e\u6027\u7c7b\u578b"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u4e91\u7aef\u4e0b\u53d1"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e91\u7aef\u5171\u4eab \u6ce8\uff1a\u4e91\u7aef\u6536\u5230\u6b64\u5c5e\u6027\u540e\uff0c\u4f1a\u7acb\u5373\u5b58\u50a8\uff1b\u8bbe\u5907\u6536\u5230\u6b64\u5c5e\u6027\u540e\uff0c\u5e94\u8be5\u7acb\u5373\u4e0a\u62a5\uff1b"),(0,u.yg)("li",{parentName:"ul"},"\u4e91\u7aef\u79c1\u6709 \u6ce8\uff1a\u6b64\u7c7b\u5c5e\u6027\u53ea\u4f1a\u5230\u4e91\u7aef\uff0c\u4e0d\u4f1a\u4e0b\u53d1\u7ed9\u8bbe\u5907")),(0,u.yg)("p",null,"topic"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/account/${user.account}/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/d")),(0,u.yg)("p",null,"plyload"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"[attributeCode:string]"," : ","[value:number|string]")),(0,u.yg)("h3",{id:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae"},"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae"),(0,u.yg)("h4",{id:"\u8bbe\u5907\u4e0a\u62a5\u900f\u4f20\u6570\u636e"},"\u8bbe\u5907\u4e0a\u62a5\u900f\u4f20\u6570\u636e"),(0,u.yg)("hr",null),(0,u.yg)("p",null,"\u6570\u636e\u6d41\u5411"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907 >> \u4e91\u7aef >> \u7528\u6237")),(0,u.yg)("p",null,"\u5141\u8bb8\u5c5e\u6027\u7c7b\u578b"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e0a\u62a5"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e91\u7aef\u5171\u4eab")),(0,u.yg)("p",null,"topic"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/t/u"),(0,u.yg)("li",{parentName:"ul"},"\u534f\u8bae\u89e3\u6790\u540e\u6a21\u62df /device/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"/account/${user.account}/${device.code}/attributes/d")),(0,u.yg)("p",null,"plyload"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"[attributeCode:string]"," : ","[value:number|string]")),(0,u.yg)("h4",{id:"\u7528\u6237\u5199\u5165\u5c5e\u6027-1"},"\u7528\u6237\u5199\u5165\u5c5e\u6027"),(0,u.yg)("hr",null),(0,u.yg)("p",null,"\u6570\u636e\u6d41\u5411"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u7528\u6237 >> \u4e91\u7aef >> \u8bbe\u5907")),(0,u.yg)("p",null,"\u5141\u8bb8\u5c5e\u6027\u7c7b\u578b"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u4e91\u7aef\u4e0b\u53d1"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e91\u7aef\u5171\u4eab \u6ce8\uff1a\u4e91\u7aef\u6536\u5230\u6b64\u5c5e\u6027\u540e\uff0c\u4f1a\u7acb\u5373\u5b58\u50a8\uff1b\u8bbe\u5907\u6536\u5230\u6b64\u5c5e\u6027\u540e\uff0c\u5e94\u8be5\u7acb\u5373\u4e0a\u62a5\uff1b"),(0,u.yg)("li",{parentName:"ul"},"\u4e91\u7aef\u79c1\u6709 \u6ce8\uff1a\u6b64\u7c7b\u5c5e\u6027\u53ea\u4f1a\u5230\u4e91\u7aef\uff0c\u4e0d\u4f1a\u4e0b\u53d1\u7ed9\u8bbe\u5907")),(0,u.yg)("p",null,"topic"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/account/${user.account}/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"\u534f\u8bae\u89e3\u6790\u540e\u6a21\u62df /device/${device.code}/t/d")),(0,u.yg)("p",null,"plyload"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"[attributeCode:string]"," : ","[value:number|string]")),(0,u.yg)("h3",{id:"\u4e3e\u4f8b\u8bf4\u660e"},"\u4e3e\u4f8b\u8bf4\u660e"),(0,u.yg)("h4",{id:"\u81ea\u884c\u5b9e\u73b0"},"\u81ea\u884c\u5b9e\u73b0"),(0,u.yg)("p",null,"\u6709\u8bbe\u5907\u7aef\u7814\u53d1\u80fd\u529b\u7684\u53ef\u4ee5\u6839\u636e\u4e0a\u9762\u7684\u534f\u8bae\u81ea\u884c\u7814\u53d1\u5b9e\u73b0\u3002"),(0,u.yg)("p",null,"\u6216\u8005\u8bbe\u5907\u91cf\u5927\u7684\uff0c\u53ef\u4ee5\u8ba9 DTU \u6216\u6a21\u7ec4\u5382\u5546\u6839\u636e\u4e0a\u9762\u7684\u534f\u8bae\u5b9e\u73b0\u3002"),(0,u.yg)("p",null,"\u76ee\u524d\uff0c\u672c\u5e73\u53f0\u8fd8\u65e0\u6cd5\u505a\u5230\u8ba9\u4e0b\u9762\u7684 DTU \u5382\u5546\u5b9e\u73b0\u5c5e\u6027\u4ea4\u4e92\u534f\u8bae\uff0c\u4e0b\u9762\u4e3e\u4f8b\uff0c\u53ea\u4e3e\u4f8b\u900f\u4f20\u534f\u8bae\u65b9\u5f0f\u3002\n\u76f8\u5bf9\u4e8e MQTT \u900f\u4f20\uff0c100%\u7684 DTU \u5382\u5546\u90fd\u5b9e\u73b0\u4e86 TCP \u534f\u8bae\u63a5\u5165\uff0c\u5927\u5bb6\u8d2d\u4e70 DTU \u7684\u65f6\u5019\u8bf7\u4ed4\u7ec6\u8fa8\u522b\uff0c\u5e76\u975e\u6240\u6709\u7684 DTU \u90fd\u652f\u6301 MQTT \u900f\u4f20\u3002"),(0,u.yg)("h4",{id:"\u5854\u77f3-dtu"},"\u5854\u77f3 DTU"),(0,u.yg)("h4",{id:"\u6709\u4eba-dtu"},"\u6709\u4eba DTU"),(0,u.yg)("h4",{id:"\u56db\u4fe1-dtu"},"\u56db\u4fe1 DTU"))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[842],{15680:(e,l,t)=>{t.d(l,{xA:()=>d,yg:()=>s});var n=t(96540);function u(e,l,t){return l in e?Object.defineProperty(e,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[l]=t,e}function r(e,l){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var l=1;l=0||(u[t]=e[t]);return u}(e,l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(u[t]=e[t])}return u}var c=n.createContext({}),o=function(e){var l=n.useContext(c),t=l;return e&&(t="function"==typeof e?e(l):i(i({},l),e)),t},d=function(e){var l=o(e.components);return n.createElement(c.Provider,{value:l},e.children)},y="mdxType",p={inlineCode:"code",wrapper:function(e){var l=e.children;return n.createElement(n.Fragment,{},l)}},g=n.forwardRef((function(e,l){var t=e.components,u=e.mdxType,r=e.originalType,c=e.parentName,d=a(e,["components","mdxType","originalType","parentName"]),y=o(t),g=u,s=y["".concat(c,".").concat(g)]||y[g]||p[g]||r;return t?n.createElement(s,i(i({ref:l},d),{},{components:t})):n.createElement(s,i({ref:l},d))}));function s(e,l){var t=arguments,u=l&&l.mdxType;if("string"==typeof e||u){var r=t.length,i=new Array(r);i[0]=g;var a={};for(var c in l)hasOwnProperty.call(l,c)&&(a[c]=l[c]);a.originalType=e,a[y]="string"==typeof e?e:u,i[1]=a;for(var o=2;o{t.r(l),t.d(l,{assets:()=>c,contentTitle:()=>i,default:()=>p,frontMatter:()=>r,metadata:()=>a,toc:()=>o});var n=t(58168),u=(t(96540),t(15680));const r={sidebar_position:3},i="MQTT \u8bbe\u5907\u63a5\u5165",a={unversionedId:"iotcloud/connect/mqtt",id:"iotcloud/connect/mqtt",title:"MQTT \u8bbe\u5907\u63a5\u5165",description:"\u6211\u89c9\u5f97\u5927\u6982\u5206\u4e24\u79cd\u6a21\u5f0f\uff1a",source:"@site/docs/iotcloud/connect/mqtt.md",sourceDirName:"iotcloud/connect",slug:"/iotcloud/connect/mqtt",permalink:"/docs/iotcloud/connect/mqtt",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"iotCloudSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/connect/"},next:{title:"TCP \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/tcp"}},c={},o=[{value:"\u8bbe\u5907 connect",id:"\u8bbe\u5907-connect",level:3},{value:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae",id:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae",level:3},{value:"\u8bbe\u5907\u4e0a\u62a5\u5c5e\u6027",id:"\u8bbe\u5907\u4e0a\u62a5\u5c5e\u6027",level:4},{value:"\u7528\u6237\u5199\u5165\u5c5e\u6027",id:"\u7528\u6237\u5199\u5165\u5c5e\u6027",level:4},{value:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae",id:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae",level:3},{value:"\u8bbe\u5907\u4e0a\u62a5\u900f\u4f20\u6570\u636e",id:"\u8bbe\u5907\u4e0a\u62a5\u900f\u4f20\u6570\u636e",level:4},{value:"\u7528\u6237\u5199\u5165\u5c5e\u6027",id:"\u7528\u6237\u5199\u5165\u5c5e\u6027-1",level:4},{value:"\u4e3e\u4f8b\u8bf4\u660e",id:"\u4e3e\u4f8b\u8bf4\u660e",level:3},{value:"\u81ea\u884c\u5b9e\u73b0",id:"\u81ea\u884c\u5b9e\u73b0",level:4},{value:"\u5854\u77f3 DTU",id:"\u5854\u77f3-dtu",level:4},{value:"\u6709\u4eba DTU",id:"\u6709\u4eba-dtu",level:4},{value:"\u56db\u4fe1 DTU",id:"\u56db\u4fe1-dtu",level:4}],d={toc:o},y="wrapper";function p(e){let{components:l,...t}=e;return(0,u.yg)(y,(0,n.A)({},d,t,{components:l,mdxType:"MDXLayout"}),(0,u.yg)("h1",{id:"mqtt-\u8bbe\u5907\u63a5\u5165"},"MQTT \u8bbe\u5907\u63a5\u5165"),(0,u.yg)("p",null,"\u6211\u89c9\u5f97\u5927\u6982\u5206\u4e24\u79cd\u6a21\u5f0f\uff1a"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae")),(0,u.yg)("p",null,"\u4e24\u79cd\u6a21\u5f0f\u7684\u8bbe\u5907 connect \u662f\u4e00\u6837\u7684\u3002"),(0,u.yg)("h3",{id:"\u8bbe\u5907-connect"},"\u8bbe\u5907 connect"),(0,u.yg)("hr",null),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"ClientID device:{deviceCode} \u4e3e\u4f8b\uff1adevice:XoVnVQ2"),(0,u.yg)("li",{parentName:"ul"},"Username {deviceCode} \u4e3e\u4f8b\uff1aXoVnVQ2"),(0,u.yg)("li",{parentName:"ul"},"Password {devicePwd} \u4e3e\u4f8b\uff1aYXOsHbV")),(0,u.yg)("p",null,"\u8fde\u63a5\u6210\u529f\u540e\uff0c\u9ed8\u8ba4\u8ba2\u9605"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/d")),(0,u.yg)("p",null,"\u53ef\u6839\u636e\u5177\u4f53\u5e94\u7528\u573a\u666f\uff0c\u53d1\u5e03"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/req/u")),(0,u.yg)("p",null,"\u53ef\u6839\u636e\u5177\u4f53\u5e94\u7528\u573a\u666f\uff0c\u8ba2\u9605"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/res/d")),(0,u.yg)("h3",{id:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae"},"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u5c5e\u6027\u534f\u8bae"),(0,u.yg)("h4",{id:"\u8bbe\u5907\u4e0a\u62a5\u5c5e\u6027"},"\u8bbe\u5907\u4e0a\u62a5\u5c5e\u6027"),(0,u.yg)("hr",null),(0,u.yg)("p",null,"\u6570\u636e\u6d41\u5411"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907 >> \u4e91\u7aef >> \u7528\u6237")),(0,u.yg)("p",null,"\u5141\u8bb8\u5c5e\u6027\u7c7b\u578b"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e0a\u62a5"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e91\u7aef\u5171\u4eab")),(0,u.yg)("p",null,"topic"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"/account/${user.account}/${device.code}/attributes/d")),(0,u.yg)("p",null,"plyload"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"[attributeCode:string]"," : ","[value:number|string]")),(0,u.yg)("h4",{id:"\u7528\u6237\u5199\u5165\u5c5e\u6027"},"\u7528\u6237\u5199\u5165\u5c5e\u6027"),(0,u.yg)("hr",null),(0,u.yg)("p",null,"\u6570\u636e\u6d41\u5411"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u7528\u6237 >> \u4e91\u7aef >> \u8bbe\u5907")),(0,u.yg)("p",null,"\u5141\u8bb8\u5c5e\u6027\u7c7b\u578b"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u4e91\u7aef\u4e0b\u53d1"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e91\u7aef\u5171\u4eab \u6ce8\uff1a\u4e91\u7aef\u6536\u5230\u6b64\u5c5e\u6027\u540e\uff0c\u4f1a\u7acb\u5373\u5b58\u50a8\uff1b\u8bbe\u5907\u6536\u5230\u6b64\u5c5e\u6027\u540e\uff0c\u5e94\u8be5\u7acb\u5373\u4e0a\u62a5\uff1b"),(0,u.yg)("li",{parentName:"ul"},"\u4e91\u7aef\u79c1\u6709 \u6ce8\uff1a\u6b64\u7c7b\u5c5e\u6027\u53ea\u4f1a\u5230\u4e91\u7aef\uff0c\u4e0d\u4f1a\u4e0b\u53d1\u7ed9\u8bbe\u5907")),(0,u.yg)("p",null,"topic"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/account/${user.account}/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/attributes/d")),(0,u.yg)("p",null,"plyload"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"[attributeCode:string]"," : ","[value:number|string]")),(0,u.yg)("h3",{id:"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae"},"\u8bbe\u5907\u5bf9\u63a5\u672c\u5e73\u53f0\u7684\u900f\u4f20\u534f\u8bae"),(0,u.yg)("h4",{id:"\u8bbe\u5907\u4e0a\u62a5\u900f\u4f20\u6570\u636e"},"\u8bbe\u5907\u4e0a\u62a5\u900f\u4f20\u6570\u636e"),(0,u.yg)("hr",null),(0,u.yg)("p",null,"\u6570\u636e\u6d41\u5411"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907 >> \u4e91\u7aef >> \u7528\u6237")),(0,u.yg)("p",null,"\u5141\u8bb8\u5c5e\u6027\u7c7b\u578b"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e0a\u62a5"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e91\u7aef\u5171\u4eab")),(0,u.yg)("p",null,"topic"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/device/${device.code}/t/u"),(0,u.yg)("li",{parentName:"ul"},"\u534f\u8bae\u89e3\u6790\u540e\u6a21\u62df /device/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"/account/${user.account}/${device.code}/attributes/d")),(0,u.yg)("p",null,"plyload"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"[attributeCode:string]"," : ","[value:number|string]")),(0,u.yg)("h4",{id:"\u7528\u6237\u5199\u5165\u5c5e\u6027-1"},"\u7528\u6237\u5199\u5165\u5c5e\u6027"),(0,u.yg)("hr",null),(0,u.yg)("p",null,"\u6570\u636e\u6d41\u5411"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u7528\u6237 >> \u4e91\u7aef >> \u8bbe\u5907")),(0,u.yg)("p",null,"\u5141\u8bb8\u5c5e\u6027\u7c7b\u578b"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"\u4e91\u7aef\u4e0b\u53d1"),(0,u.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u4e91\u7aef\u5171\u4eab \u6ce8\uff1a\u4e91\u7aef\u6536\u5230\u6b64\u5c5e\u6027\u540e\uff0c\u4f1a\u7acb\u5373\u5b58\u50a8\uff1b\u8bbe\u5907\u6536\u5230\u6b64\u5c5e\u6027\u540e\uff0c\u5e94\u8be5\u7acb\u5373\u4e0a\u62a5\uff1b"),(0,u.yg)("li",{parentName:"ul"},"\u4e91\u7aef\u79c1\u6709 \u6ce8\uff1a\u6b64\u7c7b\u5c5e\u6027\u53ea\u4f1a\u5230\u4e91\u7aef\uff0c\u4e0d\u4f1a\u4e0b\u53d1\u7ed9\u8bbe\u5907")),(0,u.yg)("p",null,"topic"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"/account/${user.account}/${device.code}/attributes/u"),(0,u.yg)("li",{parentName:"ul"},"\u534f\u8bae\u89e3\u6790\u540e\u6a21\u62df /device/${device.code}/t/d")),(0,u.yg)("p",null,"plyload"),(0,u.yg)("ul",null,(0,u.yg)("li",{parentName:"ul"},"[attributeCode:string]"," : ","[value:number|string]")),(0,u.yg)("h3",{id:"\u4e3e\u4f8b\u8bf4\u660e"},"\u4e3e\u4f8b\u8bf4\u660e"),(0,u.yg)("h4",{id:"\u81ea\u884c\u5b9e\u73b0"},"\u81ea\u884c\u5b9e\u73b0"),(0,u.yg)("p",null,"\u6709\u8bbe\u5907\u7aef\u7814\u53d1\u80fd\u529b\u7684\u53ef\u4ee5\u6839\u636e\u4e0a\u9762\u7684\u534f\u8bae\u81ea\u884c\u7814\u53d1\u5b9e\u73b0\u3002"),(0,u.yg)("p",null,"\u6216\u8005\u8bbe\u5907\u91cf\u5927\u7684\uff0c\u53ef\u4ee5\u8ba9 DTU \u6216\u6a21\u7ec4\u5382\u5546\u6839\u636e\u4e0a\u9762\u7684\u534f\u8bae\u5b9e\u73b0\u3002"),(0,u.yg)("p",null,"\u76ee\u524d\uff0c\u672c\u5e73\u53f0\u8fd8\u65e0\u6cd5\u505a\u5230\u8ba9\u4e0b\u9762\u7684 DTU \u5382\u5546\u5b9e\u73b0\u5c5e\u6027\u4ea4\u4e92\u534f\u8bae\uff0c\u4e0b\u9762\u4e3e\u4f8b\uff0c\u53ea\u4e3e\u4f8b\u900f\u4f20\u534f\u8bae\u65b9\u5f0f\u3002\n\u76f8\u5bf9\u4e8e MQTT \u900f\u4f20\uff0c100%\u7684 DTU \u5382\u5546\u90fd\u5b9e\u73b0\u4e86 TCP \u534f\u8bae\u63a5\u5165\uff0c\u5927\u5bb6\u8d2d\u4e70 DTU \u7684\u65f6\u5019\u8bf7\u4ed4\u7ec6\u8fa8\u522b\uff0c\u5e76\u975e\u6240\u6709\u7684 DTU \u90fd\u652f\u6301 MQTT \u900f\u4f20\u3002"),(0,u.yg)("h4",{id:"\u5854\u77f3-dtu"},"\u5854\u77f3 DTU"),(0,u.yg)("h4",{id:"\u6709\u4eba-dtu"},"\u6709\u4eba DTU"),(0,u.yg)("h4",{id:"\u56db\u4fe1-dtu"},"\u56db\u4fe1 DTU"))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1c123384.8151287b.js b/assets/js/1c123384.1e54492f.js similarity index 98% rename from assets/js/1c123384.8151287b.js rename to assets/js/1c123384.1e54492f.js index 37a661653..53abac748 100644 --- a/assets/js/1c123384.8151287b.js +++ b/assets/js/1c123384.1e54492f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1084],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>f});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var u=n.createContext({}),p=function(e){var r=n.useContext(u),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},l=function(e){var r=p(e.components);return n.createElement(u.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),s=p(t),y=o,f=s["".concat(u,".").concat(y)]||s[y]||d[y]||a;return t?n.createElement(f,c(c({ref:r},l),{},{components:t})):n.createElement(f,c({ref:r},l))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,c=new Array(a);c[0]=y;var i={};for(var u in r)hasOwnProperty.call(r,u)&&(i[u]=r[u]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{t.r(r),t.d(r,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=t(58168),o=(t(96540),t(15680));const a={},c=void 0,i={unversionedId:"study/program/JAVA/Guice",id:"study/program/JAVA/Guice",title:"Guice",description:"\u80cc\u666f",source:"@site/docs/study/program/JAVA/Guice.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/Guice",permalink:"/docs/study/program/JAVA/Guice",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"GraalVM",permalink:"/docs/study/program/JAVA/GraalVM"},next:{title:"JDK17-bin",permalink:"/docs/study/program/JAVA/JDK17-bin"}},u={},p=[{value:"\u80cc\u666f",id:"\u80cc\u666f",level:3}],l={toc:p},s="wrapper";function d(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u80cc\u666f"},"\u80cc\u666f"),(0,o.yg)("p",null,"Guice \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u57fa\u4e8e Java \u7684\u4f9d\u8d56\u6ce8\u5165\u6846\u67b6\u3002\u5b83\u662f\u8f7b\u91cf\u7ea7\u7684\uff0c\u7531 Google \u79ef\u6781\u5f00\u53d1/\u7ba1\u7406\u3002"),(0,o.yg)("p",null,"\u5728\u65e5\u5e38\u5199\u4e00\u4e9b\u5c0f\u5de5\u5177\u6216\u8005\u5c0f\u9879\u76ee\u7684\u65f6\u5019\uff0c\u6709\u4f9d\u8d56\u7ba1\u7406\u548c\u4f9d\u8d56\u6ce8\u5165\u7684\u9700\u6c42\uff0c\u4f46\u662fSpring(Boot)\u4f53\u7cfb\u4f5c\u4e3aDI\u6846\u67b6\u8fc7\u4e8e\u91cd\u91cf\u7ea7\uff0c\u4e8e\u662f\u9700\u8981\u8c03\u7814\u4e00\u6b3e\u5fae\u578b\u7684DI\u6846\u67b6\u3002Guice\u662fGoogle\u51fa\u54c1\u7684\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u7684\u4f9d\u8d56\u6ce8\u5165\u6846\u67b6\uff0c\u4f7f\u7528\u5b83\u6709\u52a9\u4e8e\u89e3\u51b3\u9879\u76ee\u4e2d\u7684\u4f9d\u8d56\u6ce8\u5165\u95ee\u9898\uff0c\u63d0\u9ad8\u4e86\u53ef\u7ef4\u62a4\u6027\u548c\u7075\u6d3b\u6027\u3002\u76f8\u5bf9\u4e8e\u91cd\u91cf\u7ea7\u7684Spring(Boot)\u4f53\u7cfb\uff0cGuice\u9879\u76ee\u53ea\u6709\u4e00\u4e2a\u5c0f\u4e8e1MB\u7684\u6838\u5fc3\u6a21\u5757\uff0c\u5982\u679c\u6838\u5fc3\u9700\u6c42\u662fDI\uff08\u5176\u5b9eGuice\u4e5f\u63d0\u4f9b\u4e86\u5f88\u4f4e\u5c42\u6b21\u7684AOP\u5b9e\u73b0\uff09\uff0c\u90a3\u4e48Guice\u5e94\u8be5\u4f1a\u662f\u4e00\u4e2a\u5408\u9002\u7684\u5019\u9009\u65b9\u6848\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1084],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>f});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var u=n.createContext({}),p=function(e){var r=n.useContext(u),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},l=function(e){var r=p(e.components);return n.createElement(u.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),s=p(t),y=o,f=s["".concat(u,".").concat(y)]||s[y]||d[y]||a;return t?n.createElement(f,c(c({ref:r},l),{},{components:t})):n.createElement(f,c({ref:r},l))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,c=new Array(a);c[0]=y;var i={};for(var u in r)hasOwnProperty.call(r,u)&&(i[u]=r[u]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{t.r(r),t.d(r,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=t(58168),o=(t(96540),t(15680));const a={},c=void 0,i={unversionedId:"study/program/JAVA/Guice",id:"study/program/JAVA/Guice",title:"Guice",description:"\u80cc\u666f",source:"@site/docs/study/program/JAVA/Guice.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/Guice",permalink:"/docs/study/program/JAVA/Guice",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"GraalVM",permalink:"/docs/study/program/JAVA/GraalVM"},next:{title:"JDK17-bin",permalink:"/docs/study/program/JAVA/JDK17-bin"}},u={},p=[{value:"\u80cc\u666f",id:"\u80cc\u666f",level:3}],l={toc:p},s="wrapper";function d(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u80cc\u666f"},"\u80cc\u666f"),(0,o.yg)("p",null,"Guice \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u57fa\u4e8e Java \u7684\u4f9d\u8d56\u6ce8\u5165\u6846\u67b6\u3002\u5b83\u662f\u8f7b\u91cf\u7ea7\u7684\uff0c\u7531 Google \u79ef\u6781\u5f00\u53d1/\u7ba1\u7406\u3002"),(0,o.yg)("p",null,"\u5728\u65e5\u5e38\u5199\u4e00\u4e9b\u5c0f\u5de5\u5177\u6216\u8005\u5c0f\u9879\u76ee\u7684\u65f6\u5019\uff0c\u6709\u4f9d\u8d56\u7ba1\u7406\u548c\u4f9d\u8d56\u6ce8\u5165\u7684\u9700\u6c42\uff0c\u4f46\u662fSpring(Boot)\u4f53\u7cfb\u4f5c\u4e3aDI\u6846\u67b6\u8fc7\u4e8e\u91cd\u91cf\u7ea7\uff0c\u4e8e\u662f\u9700\u8981\u8c03\u7814\u4e00\u6b3e\u5fae\u578b\u7684DI\u6846\u67b6\u3002Guice\u662fGoogle\u51fa\u54c1\u7684\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u7684\u4f9d\u8d56\u6ce8\u5165\u6846\u67b6\uff0c\u4f7f\u7528\u5b83\u6709\u52a9\u4e8e\u89e3\u51b3\u9879\u76ee\u4e2d\u7684\u4f9d\u8d56\u6ce8\u5165\u95ee\u9898\uff0c\u63d0\u9ad8\u4e86\u53ef\u7ef4\u62a4\u6027\u548c\u7075\u6d3b\u6027\u3002\u76f8\u5bf9\u4e8e\u91cd\u91cf\u7ea7\u7684Spring(Boot)\u4f53\u7cfb\uff0cGuice\u9879\u76ee\u53ea\u6709\u4e00\u4e2a\u5c0f\u4e8e1MB\u7684\u6838\u5fc3\u6a21\u5757\uff0c\u5982\u679c\u6838\u5fc3\u9700\u6c42\u662fDI\uff08\u5176\u5b9eGuice\u4e5f\u63d0\u4f9b\u4e86\u5f88\u4f4e\u5c42\u6b21\u7684AOP\u5b9e\u73b0\uff09\uff0c\u90a3\u4e48Guice\u5e94\u8be5\u4f1a\u662f\u4e00\u4e2a\u5408\u9002\u7684\u5019\u9009\u65b9\u6848\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1c2262cb.2cc12b27.js b/assets/js/1c2262cb.bbc77918.js similarity index 98% rename from assets/js/1c2262cb.2cc12b27.js rename to assets/js/1c2262cb.bbc77918.js index 5b9980c86..fd7f0b379 100644 --- a/assets/js/1c2262cb.2cc12b27.js +++ b/assets/js/1c2262cb.bbc77918.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7420],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),p=u(r),y=o,m=p["".concat(i,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(m,l(l({ref:t},s),{},{components:r})):n.createElement(m,l({ref:t},s))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[p]="string"==typeof e?e:o,l[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:7},l="RAM \u7528\u6237",c={unversionedId:"iotcloud/usercenter/system-user",id:"iotcloud/usercenter/system-user",title:"RAM \u7528\u6237",description:"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd RAM\uff08Resource Access Management\uff09\u7528\u6237\u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002",source:"@site/docs/iotcloud/usercenter/system-user.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/system-user",permalink:"/docs/iotcloud/usercenter/system-user",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"iotCloudSidebar",previous:{title:"\u7528\u6237\u8bbe\u7f6e",permalink:"/docs/iotcloud/usercenter/user-settings"},next:{title:"\u5ba2\u6237\u7ba1\u7406",permalink:"/docs/iotcloud/usercenter/customer"}},i={},u=[{value:"\u4ec0\u4e48\u662f RAM \u7528\u6237",id:"\u4ec0\u4e48\u662f-ram-\u7528\u6237",level:3},{value:"\u4f7f\u7528\u6d41\u7a0b",id:"\u4f7f\u7528\u6d41\u7a0b",level:3},{value:"\u6700\u4f73\u5b9e\u8df5",id:"\u6700\u4f73\u5b9e\u8df5",level:3},{value:"\u4f7f\u7528\u9650\u5236",id:"\u4f7f\u7528\u9650\u5236",level:3}],s={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"ram-\u7528\u6237"},"RAM \u7528\u6237"),(0,o.yg)("p",null,"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd RAM\uff08Resource Access Management\uff09\u7528\u6237\u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002"),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662f-ram-\u7528\u6237"},"\u4ec0\u4e48\u662f RAM \u7528\u6237"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"RAM \u7528\u6237\u53ea\u80fd\u7531\u6ce8\u518c\u7528\u6237\u521b\u5efa\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u4ed6\u53ea\u662f\u534f\u52a9\u6ce8\u518c\u7528\u6237\u7ba1\u7406\u7cfb\u7edf\u7684\uff0c\u4e0d\u5177\u6709\u8d44\u6e90\u7684\u6240\u5c5e\u6743\u9650\uff0c\u53d7\u63a7\u4e8e\u6ce8\u518c\u7528\u6237\uff1b"),(0,o.yg)("li",{parentName:"ul"},"RAM \u7528\u6237\u4e0d\u62e5\u6709\u8d44\u6e90\uff0c\u4e0d\u80fd\u72ec\u7acb\u8ba1\u91cf\u8ba1\u8d39\uff0c\u7531\u6240\u5c5e\u7684\u6ce8\u518c\u7528\u6237\u7edf\u4e00\u4ed8\u8d39\u3002")),(0,o.yg)("h3",{id:"\u4f7f\u7528\u6d41\u7a0b"},"\u4f7f\u7528\u6d41\u7a0b"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u6700\u4f73\u5b9e\u8df5"},"\u6700\u4f73\u5b9e\u8df5"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u9650\u5236"},"\u4f7f\u7528\u9650\u5236"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u4e0d\u80fd\u62e5\u6709\u3010\u7528\u6237\u4e2d\u5fc3-RAM \u7528\u6237\u3011\u7684\u6240\u6709\u529f\u80fd\u6743\u9650\uff1b")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7420],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),p=u(r),y=o,m=p["".concat(i,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(m,l(l({ref:t},s),{},{components:r})):n.createElement(m,l({ref:t},s))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[p]="string"==typeof e?e:o,l[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:7},l="RAM \u7528\u6237",c={unversionedId:"iotcloud/usercenter/system-user",id:"iotcloud/usercenter/system-user",title:"RAM \u7528\u6237",description:"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd RAM\uff08Resource Access Management\uff09\u7528\u6237\u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002",source:"@site/docs/iotcloud/usercenter/system-user.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/system-user",permalink:"/docs/iotcloud/usercenter/system-user",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"iotCloudSidebar",previous:{title:"\u7528\u6237\u8bbe\u7f6e",permalink:"/docs/iotcloud/usercenter/user-settings"},next:{title:"\u5ba2\u6237\u7ba1\u7406",permalink:"/docs/iotcloud/usercenter/customer"}},i={},u=[{value:"\u4ec0\u4e48\u662f RAM \u7528\u6237",id:"\u4ec0\u4e48\u662f-ram-\u7528\u6237",level:3},{value:"\u4f7f\u7528\u6d41\u7a0b",id:"\u4f7f\u7528\u6d41\u7a0b",level:3},{value:"\u6700\u4f73\u5b9e\u8df5",id:"\u6700\u4f73\u5b9e\u8df5",level:3},{value:"\u4f7f\u7528\u9650\u5236",id:"\u4f7f\u7528\u9650\u5236",level:3}],s={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"ram-\u7528\u6237"},"RAM \u7528\u6237"),(0,o.yg)("p",null,"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd RAM\uff08Resource Access Management\uff09\u7528\u6237\u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002"),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662f-ram-\u7528\u6237"},"\u4ec0\u4e48\u662f RAM \u7528\u6237"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"RAM \u7528\u6237\u53ea\u80fd\u7531\u6ce8\u518c\u7528\u6237\u521b\u5efa\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u4ed6\u53ea\u662f\u534f\u52a9\u6ce8\u518c\u7528\u6237\u7ba1\u7406\u7cfb\u7edf\u7684\uff0c\u4e0d\u5177\u6709\u8d44\u6e90\u7684\u6240\u5c5e\u6743\u9650\uff0c\u53d7\u63a7\u4e8e\u6ce8\u518c\u7528\u6237\uff1b"),(0,o.yg)("li",{parentName:"ul"},"RAM \u7528\u6237\u4e0d\u62e5\u6709\u8d44\u6e90\uff0c\u4e0d\u80fd\u72ec\u7acb\u8ba1\u91cf\u8ba1\u8d39\uff0c\u7531\u6240\u5c5e\u7684\u6ce8\u518c\u7528\u6237\u7edf\u4e00\u4ed8\u8d39\u3002")),(0,o.yg)("h3",{id:"\u4f7f\u7528\u6d41\u7a0b"},"\u4f7f\u7528\u6d41\u7a0b"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u6700\u4f73\u5b9e\u8df5"},"\u6700\u4f73\u5b9e\u8df5"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u9650\u5236"},"\u4f7f\u7528\u9650\u5236"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u4e0d\u80fd\u62e5\u6709\u3010\u7528\u6237\u4e2d\u5fc3-RAM \u7528\u6237\u3011\u7684\u6240\u6709\u529f\u80fd\u6743\u9650\uff1b")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1c40b03d.8b9ffcde.js b/assets/js/1c40b03d.56fbc86d.js similarity index 98% rename from assets/js/1c40b03d.8b9ffcde.js rename to assets/js/1c40b03d.56fbc86d.js index a81f8e000..d88e1803e 100644 --- a/assets/js/1c40b03d.8b9ffcde.js +++ b/assets/js/1c40b03d.56fbc86d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3180],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),a=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=a(e.components);return n.createElement(u.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,l=e.originalType,u=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),p=a(r),y=o,f=p["".concat(u,".").concat(y)]||p[y]||d[y]||l;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=r.length,c=new Array(l);c[0]=y;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var a=2;a{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>l,metadata:()=>i,toc:()=>a});var n=r(58168),o=(r(96540),r(15680));const l={sidebar_position:9},c="\u5ba2\u6237\u7ba1\u7406",i={unversionedId:"iotcloud/usercenter/customer",id:"iotcloud/usercenter/customer",title:"\u5ba2\u6237\u7ba1\u7406",description:"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u5ba2\u6237 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002",source:"@site/docs/iotcloud/usercenter/customer.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/customer",permalink:"/docs/iotcloud/usercenter/customer",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:9,frontMatter:{sidebar_position:9},sidebar:"iotCloudSidebar",previous:{title:"RAM \u7528\u6237",permalink:"/docs/iotcloud/usercenter/system-user"}},u={},a=[{value:"\u4ec0\u4e48\u662f\u5ba2\u6237",id:"\u4ec0\u4e48\u662f\u5ba2\u6237",level:3},{value:"\u4f7f\u7528\u6d41\u7a0b",id:"\u4f7f\u7528\u6d41\u7a0b",level:3},{value:"\u6700\u4f73\u5b9e\u8df5",id:"\u6700\u4f73\u5b9e\u8df5",level:3},{value:"\u4f7f\u7528\u9650\u5236",id:"\u4f7f\u7528\u9650\u5236",level:3}],s={toc:a},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5ba2\u6237\u7ba1\u7406"},"\u5ba2\u6237\u7ba1\u7406"),(0,o.yg)("p",null,"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u5ba2\u6237 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002"),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662f\u5ba2\u6237"},"\u4ec0\u4e48\u662f\u5ba2\u6237"),(0,o.yg)("p",null,"\u6211\u4eec\u8ba4\u4e3a\u8fd9\u91cc\u7684\u5ba2\u6237\u662f\u7b80\u5355\u4f7f\u7528\u8bbe\u5907\u7684\u7528\u6237\uff0c\u4ed6\u4eec\u53ea\u9700\u8981\u7ba1\u7406\u51e0\u53f0\u6700\u591a\u51e0\u5341\u53f0\u8bbe\u5907\u3002"),(0,o.yg)("p",null,"\u4ed6\u4eec\u662f RAM \u7528\u6237\u7684\u4e00\u79cd\u7b80\u5355\u5b9e\u7528\u7684\u5212\u5206\uff0c\u53ea\u9700\u8981\u7ed9\u4ed6\u4eec\u5206\u4e00\u4e0b\u8bbe\u5907\u6743\u9650\u5373\u53ef\u3002"),(0,o.yg)("p",null,"\u8bbe\u5907\u6743\u9650\u5e94\u8be5\u5206\u4e24\u79cd\uff1a\u652f\u6301\u8bbe\u5907\u5206\u7ec4\u3001\u652f\u6301\u5355\u72ec\u8bbe\u5907\uff0c\u4e24\u79cd\u6743\u9650\u9009\u62e9\u4e00\u79cd\u3002"),(0,o.yg)("p",null,"\u5982\u679c\u9009\u62e9\u8bbe\u5907\u5206\u7ec4\uff0c\u540e\u7eed\u5f80\u8bbe\u5907\u5206\u7ec4\u91cc\u9762\u589e\u5220\u8bbe\u5907\uff0c\u8be5\u5ba2\u6237\u4f1a\u53d7\u5230\u5f71\u54cd\u3002"),(0,o.yg)("p",null,"\u5982\u679c\u9009\u62e9\u5355\u72ec\u8bbe\u5907\uff0c\u53ea\u6709\u8bbe\u5907\u5220\u9664\uff0c\u8be5\u5ba2\u6237\u8bbe\u5907\u6743\u9650\u624d\u4f1a\u53d7\u5230\u5f71\u54cd\u3002"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u6d41\u7a0b"},"\u4f7f\u7528\u6d41\u7a0b"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u6700\u4f73\u5b9e\u8df5"},"\u6700\u4f73\u5b9e\u8df5"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u9650\u5236"},"\u4f7f\u7528\u9650\u5236"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u5ba2\u6237\u4e0d\u80fd\u767b\u5f55 PC \u63a7\u5236\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528\u5c0f\u7a0b\u5e8f\u3002")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3180],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),a=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=a(e.components);return n.createElement(u.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,l=e.originalType,u=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),p=a(r),y=o,f=p["".concat(u,".").concat(y)]||p[y]||d[y]||l;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=r.length,c=new Array(l);c[0]=y;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var a=2;a{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>l,metadata:()=>i,toc:()=>a});var n=r(58168),o=(r(96540),r(15680));const l={sidebar_position:9},c="\u5ba2\u6237\u7ba1\u7406",i={unversionedId:"iotcloud/usercenter/customer",id:"iotcloud/usercenter/customer",title:"\u5ba2\u6237\u7ba1\u7406",description:"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u5ba2\u6237 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002",source:"@site/docs/iotcloud/usercenter/customer.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/customer",permalink:"/docs/iotcloud/usercenter/customer",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:9,frontMatter:{sidebar_position:9},sidebar:"iotCloudSidebar",previous:{title:"RAM \u7528\u6237",permalink:"/docs/iotcloud/usercenter/system-user"}},u={},a=[{value:"\u4ec0\u4e48\u662f\u5ba2\u6237",id:"\u4ec0\u4e48\u662f\u5ba2\u6237",level:3},{value:"\u4f7f\u7528\u6d41\u7a0b",id:"\u4f7f\u7528\u6d41\u7a0b",level:3},{value:"\u6700\u4f73\u5b9e\u8df5",id:"\u6700\u4f73\u5b9e\u8df5",level:3},{value:"\u4f7f\u7528\u9650\u5236",id:"\u4f7f\u7528\u9650\u5236",level:3}],s={toc:a},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5ba2\u6237\u7ba1\u7406"},"\u5ba2\u6237\u7ba1\u7406"),(0,o.yg)("p",null,"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u5ba2\u6237 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002"),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662f\u5ba2\u6237"},"\u4ec0\u4e48\u662f\u5ba2\u6237"),(0,o.yg)("p",null,"\u6211\u4eec\u8ba4\u4e3a\u8fd9\u91cc\u7684\u5ba2\u6237\u662f\u7b80\u5355\u4f7f\u7528\u8bbe\u5907\u7684\u7528\u6237\uff0c\u4ed6\u4eec\u53ea\u9700\u8981\u7ba1\u7406\u51e0\u53f0\u6700\u591a\u51e0\u5341\u53f0\u8bbe\u5907\u3002"),(0,o.yg)("p",null,"\u4ed6\u4eec\u662f RAM \u7528\u6237\u7684\u4e00\u79cd\u7b80\u5355\u5b9e\u7528\u7684\u5212\u5206\uff0c\u53ea\u9700\u8981\u7ed9\u4ed6\u4eec\u5206\u4e00\u4e0b\u8bbe\u5907\u6743\u9650\u5373\u53ef\u3002"),(0,o.yg)("p",null,"\u8bbe\u5907\u6743\u9650\u5e94\u8be5\u5206\u4e24\u79cd\uff1a\u652f\u6301\u8bbe\u5907\u5206\u7ec4\u3001\u652f\u6301\u5355\u72ec\u8bbe\u5907\uff0c\u4e24\u79cd\u6743\u9650\u9009\u62e9\u4e00\u79cd\u3002"),(0,o.yg)("p",null,"\u5982\u679c\u9009\u62e9\u8bbe\u5907\u5206\u7ec4\uff0c\u540e\u7eed\u5f80\u8bbe\u5907\u5206\u7ec4\u91cc\u9762\u589e\u5220\u8bbe\u5907\uff0c\u8be5\u5ba2\u6237\u4f1a\u53d7\u5230\u5f71\u54cd\u3002"),(0,o.yg)("p",null,"\u5982\u679c\u9009\u62e9\u5355\u72ec\u8bbe\u5907\uff0c\u53ea\u6709\u8bbe\u5907\u5220\u9664\uff0c\u8be5\u5ba2\u6237\u8bbe\u5907\u6743\u9650\u624d\u4f1a\u53d7\u5230\u5f71\u54cd\u3002"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u6d41\u7a0b"},"\u4f7f\u7528\u6d41\u7a0b"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u6700\u4f73\u5b9e\u8df5"},"\u6700\u4f73\u5b9e\u8df5"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u9650\u5236"},"\u4f7f\u7528\u9650\u5236"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u5ba2\u6237\u4e0d\u80fd\u767b\u5f55 PC \u63a7\u5236\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528\u5c0f\u7a0b\u5e8f\u3002")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1d6606cd.ea262d82.js b/assets/js/1d6606cd.ae703c98.js similarity index 99% rename from assets/js/1d6606cd.ea262d82.js rename to assets/js/1d6606cd.ae703c98.js index f0ccf8712..baee86ce0 100644 --- a/assets/js/1d6606cd.ea262d82.js +++ b/assets/js/1d6606cd.ae703c98.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2347],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>d});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=r.createContext({}),o=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},y=function(e){var t=o(e.components);return r.createElement(p.Provider,{value:t},e.children)},g="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,y=u(e,["components","mdxType","originalType","parentName"]),g=o(n),s=l,d=g["".concat(p,".").concat(s)]||g[s]||c[s]||a;return n?r.createElement(d,i(i({ref:t},y),{},{components:n})):r.createElement(d,i({ref:t},y))}));function d(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=s;var u={};for(var p in t)hasOwnProperty.call(t,p)&&(u[p]=t[p]);u.originalType=e,u[g]="string"==typeof e?e:l,i[1]=u;for(var o=2;o{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>c,frontMatter:()=>a,metadata:()=>u,toc:()=>o});var r=n(58168),l=(n(96540),n(15680));const a={},i=void 0,u={unversionedId:"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861",id:"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861",title:"\u8d1f\u8f7d\u5747\u8861",description:"DNS\u8d1f\u8f7d",source:"@site/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861",permalink:"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u67b6\u6784\u56fe\u793a\u4f8b",permalink:"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b"},next:{title:"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",permalink:"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f"}},p={},o=[{value:"DNS\u8d1f\u8f7d",id:"dns\u8d1f\u8f7d",level:3},{value:"\u786c\u4ef6\u8d1f\u8f7d",id:"\u786c\u4ef6\u8d1f\u8f7d",level:3},{value:"\u8f6f\u4ef6\u8d1f\u8f7d",id:"\u8f6f\u4ef6\u8d1f\u8f7d",level:3},{value:"\u4f7f\u7528\u603b\u7ed3",id:"\u4f7f\u7528\u603b\u7ed3",level:3},{value:"\u7b97\u6cd5\u603b\u7ed3",id:"\u7b97\u6cd5\u603b\u7ed3",level:3}],y={toc:o},g="wrapper";function c(e){let{components:t,...a}=e;return(0,l.yg)(g,(0,r.A)({},y,a,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"dns\u8d1f\u8f7d"},"DNS\u8d1f\u8f7d"),(0,l.yg)("p",null,"DNS \u662f\u6700\u7b80\u5355\u4e5f\u662f\u6700\u5e38\u89c1\u7684\u8d1f\u8f7d\u5747\u8861\u65b9\u5f0f\uff0c\u4e00\u822c\u7528\u6765\u5b9e\u73b0\u5730\u7406\u7ea7\u522b\u7684\u5747\u8861\u3002\u4f8b\u5982\uff0c\u5317\u65b9\u7684\u7528\u6237\u8bbf\u95ee\u5317\u4eac\u7684\u673a\u623f\uff0c\u5357\u65b9\u7684\u7528\u6237\u8bbf\u95ee\u6df1\u5733\u7684\u673a\u623f\u3002DNS \u8d1f\u8f7d\u5747\u8861\u7684\u672c\u8d28\u662f DNS \u89e3\u6790\u540c\u4e00\u4e2a\u57df\u540d\u53ef\u4ee5\u8fd4\u56de\u4e0d\u540c\u7684 IP \u5730\u5740\u3002\u4f8b\u5982\uff0c\u540c\u6837\u662f ",(0,l.yg)("a",{parentName:"p",href:"http://www.baidu.com%EF%BC%8C%E5%8C%97%E6%96%B9%E7%94%A8%E6%88%B7%E8%A7%A3%E6%9E%90%E5%90%8E%E8%8E%B7%E5%8F%96%E7%9A%84%E5%9C%B0%E5%9D%80%E6%98%AF"},"www.baidu.com\uff0c\u5317\u65b9\u7528\u6237\u89e3\u6790\u540e\u83b7\u53d6\u7684\u5730\u5740\u662f")," 61.135.165.224\uff08\u8fd9\u662f\u5317\u4eac\u673a\u623f\u7684 IP\uff09\uff0c\u5357\u65b9\u7528\u6237\u89e3\u6790\u540e\u83b7\u53d6\u7684\u5730\u5740\u662f 14.215.177.38\uff08\u8fd9\u662f\u6df1\u5733\u673a\u623f\u7684 IP\uff09\u3002"),(0,l.yg)("p",null,"DNS \u8d1f\u8f7d\u5747\u8861\u5b9e\u73b0\u7b80\u5355\u3001\u6210\u672c\u4f4e\uff0c\u4f46\u4e5f\u5b58\u5728\u7c92\u5ea6\u592a\u7c97\u3001\u8d1f\u8f7d\u5747\u8861\u7b97\u6cd5\u5c11\u7b49\u7f3a\u70b9\u3002\u4ed4\u7ec6\u5206\u6790\u4e00\u4e0b\u4f18\u7f3a\u70b9\uff0c\u5176\u4f18\u70b9\u6709\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u7b80\u5355\u3001\u6210\u672c\u4f4e\uff1a\u8d1f\u8f7d\u5747\u8861\u5de5\u4f5c\u4ea4\u7ed9 DNS \u670d\u52a1\u5668\u5904\u7406\uff0c\u65e0\u987b\u81ea\u5df1\u5f00\u53d1\u6216\u8005\u7ef4\u62a4\u8d1f\u8f7d\u5747\u8861\u8bbe\u5907\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5c31\u8fd1\u8bbf\u95ee\uff0c\u63d0\u5347\u8bbf\u95ee\u901f\u5ea6\uff1aDNS \u89e3\u6790\u65f6\u53ef\u4ee5\u6839\u636e\u8bf7\u6c42\u6765\u6e90 IP\uff0c\u89e3\u6790\u6210\u8ddd\u79bb\u7528\u6237\u6700\u8fd1\u7684\u670d\u52a1\u5668\u5730\u5740\uff0c\u53ef\u4ee5\u52a0\u5feb\u8bbf\u95ee\u901f\u5ea6\uff0c\u6539\u5584\u6027\u80fd\u3002")),(0,l.yg)("p",null,"\u7f3a\u70b9\u6709\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u66f4\u65b0\u4e0d\u53ca\u65f6\uff1aDNS \u7f13\u5b58\u7684\u65f6\u95f4\u6bd4\u8f83\u957f\uff0c\u4fee\u6539 DNS \u914d\u7f6e\u540e\uff0c\u7531\u4e8e\u7f13\u5b58\u7684\u539f\u56e0\uff0c\u8fd8\u662f\u6709\u5f88\u591a\u7528\u6237\u4f1a\u7ee7\u7eed\u8bbf\u95ee\u4fee\u6539\u524d\u7684 IP\uff0c\u8fd9\u6837\u7684\u8bbf\u95ee\u4f1a\u5931\u8d25\uff0c\u8fbe\u4e0d\u5230\u8d1f\u8f7d\u5747\u8861\u7684\u76ee\u7684\uff0c\u5e76\u4e14\u4e5f\u5f71\u54cd\u7528\u6237\u6b63\u5e38\u4f7f\u7528\u4e1a\u52a1\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6269\u5c55\u6027\u5dee\uff1aDNS \u8d1f\u8f7d\u5747\u8861\u7684\u63a7\u5236\u6743\u5728\u57df\u540d\u5546\u90a3\u91cc\uff0c\u65e0\u6cd5\u6839\u636e\u4e1a\u52a1\u7279\u70b9\u9488\u5bf9\u5176\u505a\u66f4\u591a\u7684\u5b9a\u5236\u5316\u529f\u80fd\u548c\u6269\u5c55\u7279\u6027\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5206\u914d\u7b56\u7565\u6bd4\u8f83\u7b80\u5355\uff1aDNS \u8d1f\u8f7d\u5747\u8861\u652f\u6301\u7684\u7b97\u6cd5\u5c11\uff1b\u4e0d\u80fd\u533a\u5206\u670d\u52a1\u5668\u7684\u5dee\u5f02\uff08\u4e0d\u80fd\u6839\u636e\u7cfb\u7edf\u4e0e\u670d\u52a1\u7684\u72b6\u6001\u6765\u5224\u65ad\u8d1f\u8f7d\uff09\uff1b\u4e5f\u65e0\u6cd5\u611f\u77e5\u540e\u7aef\u670d\u52a1\u5668\u7684\u72b6\u6001\u3002")),(0,l.yg)("p",null,"\u9488\u5bf9 DNS \u8d1f\u8f7d\u5747\u8861\u7684\u4e00\u4e9b\u7f3a\u70b9\uff0c\u5bf9\u4e8e\u65f6\u5ef6\u548c\u6545\u969c\u654f\u611f\u7684\u4e1a\u52a1\uff0c\u6709\u4e00\u4e9b\u516c\u53f8\u81ea\u5df1\u5b9e\u73b0\u4e86 HTTP-DNS \u7684\u529f\u80fd\uff0c\u5373\u4f7f\u7528 HTTP \u534f\u8bae\u5b9e\u73b0\u4e00\u4e2a\u79c1\u6709\u7684 DNS \u7cfb\u7edf\u3002\u8fd9\u6837\u7684\u65b9\u6848\u548c\u901a\u7528\u7684 DNS \u4f18\u7f3a\u70b9\u6b63\u597d\u76f8\u53cd\u3002"),(0,l.yg)("h3",{id:"\u786c\u4ef6\u8d1f\u8f7d"},"\u786c\u4ef6\u8d1f\u8f7d"),(0,l.yg)("p",null,"\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u662f\u901a\u8fc7\u5355\u72ec\u7684\u786c\u4ef6\u8bbe\u5907\u6765\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u529f\u80fd\uff0c\u8fd9\u7c7b\u8bbe\u5907\u548c\u8def\u7531\u5668\u3001\u4ea4\u6362\u673a\u7c7b\u4f3c\uff0c\u53ef\u4ee5\u7406\u89e3\u4e3a\u4e00\u4e2a\u7528\u4e8e\u8d1f\u8f7d\u5747\u8861\u7684\u57fa\u7840\u7f51\u7edc\u8bbe\u5907\u3002\u76ee\u524d\u4e1a\u754c\u5178\u578b\u7684\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u8bbe\u5907\u6709\u4e24\u6b3e\uff1aF5 \u548c A10\u3002\u8fd9\u7c7b\u8bbe\u5907\u6027\u80fd\u5f3a\u52b2\u3001\u529f\u80fd\u5f3a\u5927\uff0c\u4f46\u4ef7\u683c\u90fd\u4e0d\u4fbf\u5b9c\uff0c\u4e00\u822c\u53ea\u6709\u201c\u571f\u8c6a\u201d\u516c\u53f8\u624d\u4f1a\u8003\u8651\u4f7f\u7528\u6b64\u7c7b\u8bbe\u5907\u3002\u666e\u901a\u4e1a\u52a1\u91cf\u7ea7\u7684\u516c\u53f8\u4e00\u662f\u8d1f\u62c5\u4e0d\u8d77\uff0c\u4e8c\u662f\u4e1a\u52a1\u91cf\u6ca1\u90a3\u4e48\u5927\uff0c\u7528\u8fd9\u4e9b\u8bbe\u5907\u4e5f\u662f\u6d6a\u8d39\u3002"),(0,l.yg)("p",null,"\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u7684\u4f18\u70b9\u662f\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u529f\u80fd\u5f3a\u5927\uff1a\u5168\u9762\u652f\u6301\u5404\u5c42\u7ea7\u7684\u8d1f\u8f7d\u5747\u8861\uff0c\u652f\u6301\u5168\u9762\u7684\u8d1f\u8f7d\u5747\u8861\u7b97\u6cd5\uff0c\u652f\u6301\u5168\u5c40\u8d1f\u8f7d\u5747\u8861\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6027\u80fd\u5f3a\u5927\uff1a\u5bf9\u6bd4\u4e00\u4e0b\uff0c\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u652f\u6301\u5230 10 \u4e07\u7ea7\u5e76\u53d1\u5df2\u7ecf\u5f88\u5389\u5bb3\u4e86\uff0c\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u53ef\u4ee5\u652f\u6301 100 \u4e07\u4ee5\u4e0a\u7684\u5e76\u53d1\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u7a33\u5b9a\u6027\u9ad8\uff1a\u5546\u7528\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\uff0c\u7ecf\u8fc7\u4e86\u826f\u597d\u7684\u4e25\u683c\u6d4b\u8bd5\uff0c\u7ecf\u8fc7\u5927\u89c4\u6a21\u4f7f\u7528\uff0c\u7a33\u5b9a\u6027\u9ad8\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u652f\u6301\u5b89\u5168\u9632\u62a4\uff1a\u786c\u4ef6\u5747\u8861\u8bbe\u5907\u9664\u5177\u5907\u8d1f\u8f7d\u5747\u8861\u529f\u80fd\u5916\uff0c\u8fd8\u5177\u5907\u9632\u706b\u5899\u3001\u9632 DDoS \u653b\u51fb\u7b49\u5b89\u5168\u529f\u80fd\u3002")),(0,l.yg)("p",null,"\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u7684\u7f3a\u70b9\u662f\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u4ef7\u683c\u6602\u8d35\uff1a\u6700\u666e\u901a\u7684\u4e00\u53f0 F5 \u5c31\u662f\u4e00\u53f0\u201c\u9a6c 6\u201d\uff0c\u597d\u4e00\u70b9\u7684\u5c31\u662f\u201cQ7\u201d\u4e86\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6269\u5c55\u80fd\u529b\u5dee\uff1a\u786c\u4ef6\u8bbe\u5907\uff0c\u53ef\u4ee5\u6839\u636e\u4e1a\u52a1\u8fdb\u884c\u914d\u7f6e\uff0c\u4f46\u65e0\u6cd5\u8fdb\u884c\u6269\u5c55\u548c\u5b9a\u5236\u3002")),(0,l.yg)("h4",{id:""}),(0,l.yg)("h3",{id:"\u8f6f\u4ef6\u8d1f\u8f7d"},"\u8f6f\u4ef6\u8d1f\u8f7d"),(0,l.yg)("p",null,"\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u901a\u8fc7\u8d1f\u8f7d\u5747\u8861\u8f6f\u4ef6\u6765\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u529f\u80fd\uff0c\u5e38\u89c1\u7684\u6709 Nginx \u548c LVS\uff0c\u5176\u4e2d Nginx \u662f\u8f6f\u4ef6\u7684 7 \u5c42\u8d1f\u8f7d\u5747\u8861\uff0cLVS \u662f Linux \u5185\u6838\u7684 4 \u5c42\u8d1f\u8f7d\u5747\u8861\u30024 \u5c42\u548c 7 \u5c42\u7684\u533a\u522b\u5c31\u5728\u4e8e\u534f\u8bae\u548c\u7075\u6d3b\u6027\uff0cNginx \u652f\u6301 HTTP\u3001E-mail \u534f\u8bae\uff1b\u800c LVS \u662f 4 \u5c42\u8d1f\u8f7d\u5747\u8861\uff0c\u548c\u534f\u8bae\u65e0\u5173\uff0c\u51e0\u4e4e\u6240\u6709\u5e94\u7528\u90fd\u53ef\u4ee5\u505a\uff0c\u4f8b\u5982\uff0c\u804a\u5929\u3001\u6570\u636e\u5e93\u7b49\u3002"),(0,l.yg)("p",null,"\u8f6f\u4ef6\u548c\u786c\u4ef6\u7684\u6700\u4e3b\u8981\u533a\u522b\u5c31\u5728\u4e8e\u6027\u80fd\uff0c\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u6027\u80fd\u8fdc\u8fdc\u9ad8\u4e8e\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u6027\u80fd\u3002Nginx \u7684\u6027\u80fd\u662f\u4e07\u7ea7\uff0c\u4e00\u822c\u7684 Linux \u670d\u52a1\u5668\u4e0a\u88c5\u4e00\u4e2a Nginx \u5927\u6982\u80fd\u5230 5 \u4e07 / \u79d2\uff1bLVS \u7684\u6027\u80fd\u662f\u5341\u4e07\u7ea7\uff0c\u636e\u8bf4\u53ef\u8fbe\u5230 80 \u4e07 / \u79d2\uff1b\u800c F5 \u6027\u80fd\u662f\u767e\u4e07\u7ea7\uff0c\u4ece 200 \u4e07 / \u79d2\u5230 800 \u4e07 / \u79d2\u90fd\u6709\uff08\u6570\u636e\u6765\u6e90\u7f51\u7edc\uff0c\u4ec5\u4f9b\u53c2\u8003\uff0c\u5982\u9700\u91c7\u7528\u8bf7\u6839\u636e\u5b9e\u9645\u4e1a\u52a1\u573a\u666f\u8fdb\u884c\u6027\u80fd\u6d4b\u8bd5\uff09\u3002\u5f53\u7136\uff0c\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u7684\u6700\u5927\u4f18\u52bf\u662f\u4fbf\u5b9c\uff0c\u4e00\u53f0\u666e\u901a\u7684 Linux \u670d\u52a1\u5668\u6279\u53d1\u4ef7\u5927\u6982\u5c31\u662f 1 \u4e07\u5143\u5de6\u53f3\uff0c\u76f8\u6bd4 F5 \u7684\u4ef7\u683c\uff0c\u90a3\u5c31\u662f\u81ea\u884c\u8f66\u548c\u5b9d\u9a6c\u7684\u533a\u522b\u4e86\u3002"),(0,l.yg)("p",null,"\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u7684\u4f18\u70b9\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u7b80\u5355\uff1a\u65e0\u8bba\u662f\u90e8\u7f72\u8fd8\u662f\u7ef4\u62a4\u90fd\u6bd4\u8f83\u7b80\u5355\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u4fbf\u5b9c\uff1a\u53ea\u8981\u4e70\u4e2a Linux \u670d\u52a1\u5668\uff0c\u88c5\u4e0a\u8f6f\u4ef6\u5373\u53ef\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u7075\u6d3b\uff1a4 \u5c42\u548c 7 \u5c42\u8d1f\u8f7d\u5747\u8861\u53ef\u4ee5\u6839\u636e\u4e1a\u52a1\u8fdb\u884c\u9009\u62e9\uff1b\u4e5f\u53ef\u4ee5\u6839\u636e\u4e1a\u52a1\u8fdb\u884c\u6bd4\u8f83\u65b9\u4fbf\u7684\u6269\u5c55\uff0c\u4f8b\u5982\uff0c\u53ef\u4ee5\u901a\u8fc7 Nginx \u7684\u63d2\u4ef6\u6765\u5b9e\u73b0\u4e1a\u52a1\u7684\u5b9a\u5236\u5316\u529f\u80fd\u3002")),(0,l.yg)("p",null,"\u5176\u5b9e\u4e0b\u9762\u7684\u7f3a\u70b9\u90fd\u662f\u548c\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u76f8\u6bd4\u7684\uff0c\u5e76\u4e0d\u662f\u8bf4\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u6ca1\u6cd5\u7528\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u6027\u80fd\u4e00\u822c\uff1a\u4e00\u4e2a Nginx \u5927\u7ea6\u80fd\u652f\u6491 5 \u4e07\u5e76\u53d1\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u529f\u80fd\u6ca1\u6709\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u90a3\u4e48\u5f3a\u5927\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u4e00\u822c\u4e0d\u5177\u5907\u9632\u706b\u5899\u548c\u9632 DDoS \u653b\u51fb\u7b49\u5b89\u5168\u529f\u80fd\u3002")),(0,l.yg)("h3",{id:"\u4f7f\u7528\u603b\u7ed3"},"\u4f7f\u7528\u603b\u7ed3"),(0,l.yg)("p",null,"\u524d\u9762\u6211\u4eec\u4ecb\u7ecd\u4e86 3 \u79cd\u5e38\u89c1\u7684\u8d1f\u8f7d\u5747\u8861\u673a\u5236\uff1aDNS \u8d1f\u8f7d\u5747\u8861\u3001\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u3001\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\uff0c\u6bcf\u79cd\u65b9\u5f0f\u90fd\u6709\u4e00\u4e9b\u4f18\u7f3a\u70b9\uff0c\u4f46\u5e76\u4e0d\u610f\u5473\u7740\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u53ea\u80fd\u57fa\u4e8e\u5b83\u4eec\u7684\u4f18\u7f3a\u70b9\u8fdb\u884c\u975e\u6b64\u5373\u5f7c\u7684\u9009\u62e9\uff0c\u53cd\u800c\u662f\u57fa\u4e8e\u5b83\u4eec\u7684\u4f18\u7f3a\u70b9\u8fdb\u884c\u7ec4\u5408\u4f7f\u7528\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u7ec4\u5408\u7684\u57fa\u672c\u539f\u5219\u4e3a\uff1aDNS \u8d1f\u8f7d\u5747\u8861\u7528\u4e8e\u5b9e\u73b0\u5730\u7406\u7ea7\u522b\u7684\u8d1f\u8f7d\u5747\u8861\uff1b\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u7528\u4e8e\u5b9e\u73b0\u96c6\u7fa4\u7ea7\u522b\u7684\u8d1f\u8f7d\u5747\u8861\uff1b\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u7528\u4e8e\u5b9e\u73b0\u673a\u5668\u7ea7\u522b\u7684\u8d1f\u8f7d\u5747\u8861\u3002"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(34993).A,width:"750",height:"500"})),(0,l.yg)("h3",{id:"-1"}),(0,l.yg)("h3",{id:"-2"}),(0,l.yg)("h3",{id:"\u7b97\u6cd5\u603b\u7ed3"},"\u7b97\u6cd5\u603b\u7ed3"),(0,l.yg)("p",null,"\u8d1f\u8f7d\u5747\u8861\u7b97\u6cd5\u6570\u91cf\u8f83\u591a\uff0c\u800c\u4e14\u53ef\u4ee5\u6839\u636e\u4e00\u4e9b\u4e1a\u52a1\u7279\u6027\u8fdb\u884c\u5b9a\u5236\u5f00\u53d1\uff0c\u629b\u5f00\u7ec6\u8282\u4e0a\u7684\u5dee\u5f02\uff0c\u6839\u636e\u7b97\u6cd5\u671f\u671b\u8fbe\u5230\u7684\u76ee\u7684\uff0c\u5927\u4f53\u4e0a\u53ef\u4ee5\u5206\u4e3a\u4e0b\u9762\u51e0\u7c7b\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u4efb\u52a1\u5e73\u5206\u7c7b\uff1a\u8d1f\u8f7d\u5747\u8861\u7cfb\u7edf\u5c06\u6536\u5230\u7684\u4efb\u52a1\u5e73\u5747\u5206\u914d\u7ed9\u670d\u52a1\u5668\u8fdb\u884c\u5904\u7406\uff0c\u8fd9\u91cc\u7684\u201c\u5e73\u5747\u201d\u53ef\u4ee5\u662f\u7edd\u5bf9\u6570\u91cf\u7684\u5e73\u5747\uff0c\u4e5f\u53ef\u4ee5\u662f\u6bd4\u4f8b\u6216\u8005\u6743\u91cd\u4e0a\u7684\u5e73\u5747\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u8d1f\u8f7d\u5747\u8861\u7c7b\uff1a\u8d1f\u8f7d\u5747\u8861\u7cfb\u7edf\u6839\u636e\u670d\u52a1\u5668\u7684\u8d1f\u8f7d\u6765\u8fdb\u884c\u5206\u914d\uff0c\u8fd9\u91cc\u7684\u8d1f\u8f7d\u5e76\u4e0d\u4e00\u5b9a\u662f\u901a\u5e38\u610f\u4e49\u4e0a\u6211\u4eec\u8bf4\u7684\u201cCPU \u8d1f\u8f7d\u201d\uff0c\u800c\u662f\u7cfb\u7edf\u5f53\u524d\u7684\u538b\u529b\uff0c\u53ef\u4ee5\u7528 CPU \u8d1f\u8f7d\u6765\u8861\u91cf\uff0c\u4e5f\u53ef\u4ee5\u7528\u8fde\u63a5\u6570\u3001I/O \u4f7f\u7528\u7387\u3001\u7f51\u5361\u541e\u5410\u91cf\u7b49\u6765\u8861\u91cf\u7cfb\u7edf\u7684\u538b\u529b\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6027\u80fd\u6700\u4f18\u7c7b\uff1a\u8d1f\u8f7d\u5747\u8861\u7cfb\u7edf\u6839\u636e\u670d\u52a1\u5668\u7684\u54cd\u5e94\u65f6\u95f4\u6765\u8fdb\u884c\u4efb\u52a1\u5206\u914d\uff0c\u4f18\u5148\u5c06\u65b0\u4efb\u52a1\u5206\u914d\u7ed9\u54cd\u5e94\u6700\u5feb\u7684\u670d\u52a1\u5668\u3002"),(0,l.yg)("li",{parentName:"ul"},"Hash \u7c7b\uff1a\u8d1f\u8f7d\u5747\u8861\u7cfb\u7edf\u6839\u636e\u4efb\u52a1\u4e2d\u7684\u67d0\u4e9b\u5173\u952e\u4fe1\u606f\u8fdb\u884c Hash \u8fd0\u7b97\uff0c\u5c06\u76f8\u540c Hash \u503c\u7684\u8bf7\u6c42\u5206\u914d\u5230\u540c\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u3002\u5e38\u89c1\u7684\u6709\u6e90\u5730\u5740 Hash\u3001\u76ee\u6807\u5730\u5740 Hash\u3001session id hash\u3001\u7528\u6237 ID Hash \u7b49\u3002")))}c.isMDXComponent=!0},34993:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/4-1110b0b730ae76dd61a1d7d14c8523cb.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2347],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>d});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=r.createContext({}),o=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},y=function(e){var t=o(e.components);return r.createElement(p.Provider,{value:t},e.children)},g="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,y=u(e,["components","mdxType","originalType","parentName"]),g=o(n),s=l,d=g["".concat(p,".").concat(s)]||g[s]||c[s]||a;return n?r.createElement(d,i(i({ref:t},y),{},{components:n})):r.createElement(d,i({ref:t},y))}));function d(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=s;var u={};for(var p in t)hasOwnProperty.call(t,p)&&(u[p]=t[p]);u.originalType=e,u[g]="string"==typeof e?e:l,i[1]=u;for(var o=2;o{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>c,frontMatter:()=>a,metadata:()=>u,toc:()=>o});var r=n(58168),l=(n(96540),n(15680));const a={},i=void 0,u={unversionedId:"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861",id:"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861",title:"\u8d1f\u8f7d\u5747\u8861",description:"DNS\u8d1f\u8f7d",source:"@site/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861",permalink:"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u67b6\u6784\u56fe\u793a\u4f8b",permalink:"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b"},next:{title:"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",permalink:"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f"}},p={},o=[{value:"DNS\u8d1f\u8f7d",id:"dns\u8d1f\u8f7d",level:3},{value:"\u786c\u4ef6\u8d1f\u8f7d",id:"\u786c\u4ef6\u8d1f\u8f7d",level:3},{value:"\u8f6f\u4ef6\u8d1f\u8f7d",id:"\u8f6f\u4ef6\u8d1f\u8f7d",level:3},{value:"\u4f7f\u7528\u603b\u7ed3",id:"\u4f7f\u7528\u603b\u7ed3",level:3},{value:"\u7b97\u6cd5\u603b\u7ed3",id:"\u7b97\u6cd5\u603b\u7ed3",level:3}],y={toc:o},g="wrapper";function c(e){let{components:t,...a}=e;return(0,l.yg)(g,(0,r.A)({},y,a,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"dns\u8d1f\u8f7d"},"DNS\u8d1f\u8f7d"),(0,l.yg)("p",null,"DNS \u662f\u6700\u7b80\u5355\u4e5f\u662f\u6700\u5e38\u89c1\u7684\u8d1f\u8f7d\u5747\u8861\u65b9\u5f0f\uff0c\u4e00\u822c\u7528\u6765\u5b9e\u73b0\u5730\u7406\u7ea7\u522b\u7684\u5747\u8861\u3002\u4f8b\u5982\uff0c\u5317\u65b9\u7684\u7528\u6237\u8bbf\u95ee\u5317\u4eac\u7684\u673a\u623f\uff0c\u5357\u65b9\u7684\u7528\u6237\u8bbf\u95ee\u6df1\u5733\u7684\u673a\u623f\u3002DNS \u8d1f\u8f7d\u5747\u8861\u7684\u672c\u8d28\u662f DNS \u89e3\u6790\u540c\u4e00\u4e2a\u57df\u540d\u53ef\u4ee5\u8fd4\u56de\u4e0d\u540c\u7684 IP \u5730\u5740\u3002\u4f8b\u5982\uff0c\u540c\u6837\u662f ",(0,l.yg)("a",{parentName:"p",href:"http://www.baidu.com%EF%BC%8C%E5%8C%97%E6%96%B9%E7%94%A8%E6%88%B7%E8%A7%A3%E6%9E%90%E5%90%8E%E8%8E%B7%E5%8F%96%E7%9A%84%E5%9C%B0%E5%9D%80%E6%98%AF"},"www.baidu.com\uff0c\u5317\u65b9\u7528\u6237\u89e3\u6790\u540e\u83b7\u53d6\u7684\u5730\u5740\u662f")," 61.135.165.224\uff08\u8fd9\u662f\u5317\u4eac\u673a\u623f\u7684 IP\uff09\uff0c\u5357\u65b9\u7528\u6237\u89e3\u6790\u540e\u83b7\u53d6\u7684\u5730\u5740\u662f 14.215.177.38\uff08\u8fd9\u662f\u6df1\u5733\u673a\u623f\u7684 IP\uff09\u3002"),(0,l.yg)("p",null,"DNS \u8d1f\u8f7d\u5747\u8861\u5b9e\u73b0\u7b80\u5355\u3001\u6210\u672c\u4f4e\uff0c\u4f46\u4e5f\u5b58\u5728\u7c92\u5ea6\u592a\u7c97\u3001\u8d1f\u8f7d\u5747\u8861\u7b97\u6cd5\u5c11\u7b49\u7f3a\u70b9\u3002\u4ed4\u7ec6\u5206\u6790\u4e00\u4e0b\u4f18\u7f3a\u70b9\uff0c\u5176\u4f18\u70b9\u6709\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u7b80\u5355\u3001\u6210\u672c\u4f4e\uff1a\u8d1f\u8f7d\u5747\u8861\u5de5\u4f5c\u4ea4\u7ed9 DNS \u670d\u52a1\u5668\u5904\u7406\uff0c\u65e0\u987b\u81ea\u5df1\u5f00\u53d1\u6216\u8005\u7ef4\u62a4\u8d1f\u8f7d\u5747\u8861\u8bbe\u5907\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5c31\u8fd1\u8bbf\u95ee\uff0c\u63d0\u5347\u8bbf\u95ee\u901f\u5ea6\uff1aDNS \u89e3\u6790\u65f6\u53ef\u4ee5\u6839\u636e\u8bf7\u6c42\u6765\u6e90 IP\uff0c\u89e3\u6790\u6210\u8ddd\u79bb\u7528\u6237\u6700\u8fd1\u7684\u670d\u52a1\u5668\u5730\u5740\uff0c\u53ef\u4ee5\u52a0\u5feb\u8bbf\u95ee\u901f\u5ea6\uff0c\u6539\u5584\u6027\u80fd\u3002")),(0,l.yg)("p",null,"\u7f3a\u70b9\u6709\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u66f4\u65b0\u4e0d\u53ca\u65f6\uff1aDNS \u7f13\u5b58\u7684\u65f6\u95f4\u6bd4\u8f83\u957f\uff0c\u4fee\u6539 DNS \u914d\u7f6e\u540e\uff0c\u7531\u4e8e\u7f13\u5b58\u7684\u539f\u56e0\uff0c\u8fd8\u662f\u6709\u5f88\u591a\u7528\u6237\u4f1a\u7ee7\u7eed\u8bbf\u95ee\u4fee\u6539\u524d\u7684 IP\uff0c\u8fd9\u6837\u7684\u8bbf\u95ee\u4f1a\u5931\u8d25\uff0c\u8fbe\u4e0d\u5230\u8d1f\u8f7d\u5747\u8861\u7684\u76ee\u7684\uff0c\u5e76\u4e14\u4e5f\u5f71\u54cd\u7528\u6237\u6b63\u5e38\u4f7f\u7528\u4e1a\u52a1\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6269\u5c55\u6027\u5dee\uff1aDNS \u8d1f\u8f7d\u5747\u8861\u7684\u63a7\u5236\u6743\u5728\u57df\u540d\u5546\u90a3\u91cc\uff0c\u65e0\u6cd5\u6839\u636e\u4e1a\u52a1\u7279\u70b9\u9488\u5bf9\u5176\u505a\u66f4\u591a\u7684\u5b9a\u5236\u5316\u529f\u80fd\u548c\u6269\u5c55\u7279\u6027\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5206\u914d\u7b56\u7565\u6bd4\u8f83\u7b80\u5355\uff1aDNS \u8d1f\u8f7d\u5747\u8861\u652f\u6301\u7684\u7b97\u6cd5\u5c11\uff1b\u4e0d\u80fd\u533a\u5206\u670d\u52a1\u5668\u7684\u5dee\u5f02\uff08\u4e0d\u80fd\u6839\u636e\u7cfb\u7edf\u4e0e\u670d\u52a1\u7684\u72b6\u6001\u6765\u5224\u65ad\u8d1f\u8f7d\uff09\uff1b\u4e5f\u65e0\u6cd5\u611f\u77e5\u540e\u7aef\u670d\u52a1\u5668\u7684\u72b6\u6001\u3002")),(0,l.yg)("p",null,"\u9488\u5bf9 DNS \u8d1f\u8f7d\u5747\u8861\u7684\u4e00\u4e9b\u7f3a\u70b9\uff0c\u5bf9\u4e8e\u65f6\u5ef6\u548c\u6545\u969c\u654f\u611f\u7684\u4e1a\u52a1\uff0c\u6709\u4e00\u4e9b\u516c\u53f8\u81ea\u5df1\u5b9e\u73b0\u4e86 HTTP-DNS \u7684\u529f\u80fd\uff0c\u5373\u4f7f\u7528 HTTP \u534f\u8bae\u5b9e\u73b0\u4e00\u4e2a\u79c1\u6709\u7684 DNS \u7cfb\u7edf\u3002\u8fd9\u6837\u7684\u65b9\u6848\u548c\u901a\u7528\u7684 DNS \u4f18\u7f3a\u70b9\u6b63\u597d\u76f8\u53cd\u3002"),(0,l.yg)("h3",{id:"\u786c\u4ef6\u8d1f\u8f7d"},"\u786c\u4ef6\u8d1f\u8f7d"),(0,l.yg)("p",null,"\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u662f\u901a\u8fc7\u5355\u72ec\u7684\u786c\u4ef6\u8bbe\u5907\u6765\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u529f\u80fd\uff0c\u8fd9\u7c7b\u8bbe\u5907\u548c\u8def\u7531\u5668\u3001\u4ea4\u6362\u673a\u7c7b\u4f3c\uff0c\u53ef\u4ee5\u7406\u89e3\u4e3a\u4e00\u4e2a\u7528\u4e8e\u8d1f\u8f7d\u5747\u8861\u7684\u57fa\u7840\u7f51\u7edc\u8bbe\u5907\u3002\u76ee\u524d\u4e1a\u754c\u5178\u578b\u7684\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u8bbe\u5907\u6709\u4e24\u6b3e\uff1aF5 \u548c A10\u3002\u8fd9\u7c7b\u8bbe\u5907\u6027\u80fd\u5f3a\u52b2\u3001\u529f\u80fd\u5f3a\u5927\uff0c\u4f46\u4ef7\u683c\u90fd\u4e0d\u4fbf\u5b9c\uff0c\u4e00\u822c\u53ea\u6709\u201c\u571f\u8c6a\u201d\u516c\u53f8\u624d\u4f1a\u8003\u8651\u4f7f\u7528\u6b64\u7c7b\u8bbe\u5907\u3002\u666e\u901a\u4e1a\u52a1\u91cf\u7ea7\u7684\u516c\u53f8\u4e00\u662f\u8d1f\u62c5\u4e0d\u8d77\uff0c\u4e8c\u662f\u4e1a\u52a1\u91cf\u6ca1\u90a3\u4e48\u5927\uff0c\u7528\u8fd9\u4e9b\u8bbe\u5907\u4e5f\u662f\u6d6a\u8d39\u3002"),(0,l.yg)("p",null,"\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u7684\u4f18\u70b9\u662f\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u529f\u80fd\u5f3a\u5927\uff1a\u5168\u9762\u652f\u6301\u5404\u5c42\u7ea7\u7684\u8d1f\u8f7d\u5747\u8861\uff0c\u652f\u6301\u5168\u9762\u7684\u8d1f\u8f7d\u5747\u8861\u7b97\u6cd5\uff0c\u652f\u6301\u5168\u5c40\u8d1f\u8f7d\u5747\u8861\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6027\u80fd\u5f3a\u5927\uff1a\u5bf9\u6bd4\u4e00\u4e0b\uff0c\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u652f\u6301\u5230 10 \u4e07\u7ea7\u5e76\u53d1\u5df2\u7ecf\u5f88\u5389\u5bb3\u4e86\uff0c\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u53ef\u4ee5\u652f\u6301 100 \u4e07\u4ee5\u4e0a\u7684\u5e76\u53d1\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u7a33\u5b9a\u6027\u9ad8\uff1a\u5546\u7528\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\uff0c\u7ecf\u8fc7\u4e86\u826f\u597d\u7684\u4e25\u683c\u6d4b\u8bd5\uff0c\u7ecf\u8fc7\u5927\u89c4\u6a21\u4f7f\u7528\uff0c\u7a33\u5b9a\u6027\u9ad8\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u652f\u6301\u5b89\u5168\u9632\u62a4\uff1a\u786c\u4ef6\u5747\u8861\u8bbe\u5907\u9664\u5177\u5907\u8d1f\u8f7d\u5747\u8861\u529f\u80fd\u5916\uff0c\u8fd8\u5177\u5907\u9632\u706b\u5899\u3001\u9632 DDoS \u653b\u51fb\u7b49\u5b89\u5168\u529f\u80fd\u3002")),(0,l.yg)("p",null,"\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u7684\u7f3a\u70b9\u662f\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u4ef7\u683c\u6602\u8d35\uff1a\u6700\u666e\u901a\u7684\u4e00\u53f0 F5 \u5c31\u662f\u4e00\u53f0\u201c\u9a6c 6\u201d\uff0c\u597d\u4e00\u70b9\u7684\u5c31\u662f\u201cQ7\u201d\u4e86\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6269\u5c55\u80fd\u529b\u5dee\uff1a\u786c\u4ef6\u8bbe\u5907\uff0c\u53ef\u4ee5\u6839\u636e\u4e1a\u52a1\u8fdb\u884c\u914d\u7f6e\uff0c\u4f46\u65e0\u6cd5\u8fdb\u884c\u6269\u5c55\u548c\u5b9a\u5236\u3002")),(0,l.yg)("h4",{id:""}),(0,l.yg)("h3",{id:"\u8f6f\u4ef6\u8d1f\u8f7d"},"\u8f6f\u4ef6\u8d1f\u8f7d"),(0,l.yg)("p",null,"\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u901a\u8fc7\u8d1f\u8f7d\u5747\u8861\u8f6f\u4ef6\u6765\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u529f\u80fd\uff0c\u5e38\u89c1\u7684\u6709 Nginx \u548c LVS\uff0c\u5176\u4e2d Nginx \u662f\u8f6f\u4ef6\u7684 7 \u5c42\u8d1f\u8f7d\u5747\u8861\uff0cLVS \u662f Linux \u5185\u6838\u7684 4 \u5c42\u8d1f\u8f7d\u5747\u8861\u30024 \u5c42\u548c 7 \u5c42\u7684\u533a\u522b\u5c31\u5728\u4e8e\u534f\u8bae\u548c\u7075\u6d3b\u6027\uff0cNginx \u652f\u6301 HTTP\u3001E-mail \u534f\u8bae\uff1b\u800c LVS \u662f 4 \u5c42\u8d1f\u8f7d\u5747\u8861\uff0c\u548c\u534f\u8bae\u65e0\u5173\uff0c\u51e0\u4e4e\u6240\u6709\u5e94\u7528\u90fd\u53ef\u4ee5\u505a\uff0c\u4f8b\u5982\uff0c\u804a\u5929\u3001\u6570\u636e\u5e93\u7b49\u3002"),(0,l.yg)("p",null,"\u8f6f\u4ef6\u548c\u786c\u4ef6\u7684\u6700\u4e3b\u8981\u533a\u522b\u5c31\u5728\u4e8e\u6027\u80fd\uff0c\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u6027\u80fd\u8fdc\u8fdc\u9ad8\u4e8e\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u6027\u80fd\u3002Nginx \u7684\u6027\u80fd\u662f\u4e07\u7ea7\uff0c\u4e00\u822c\u7684 Linux \u670d\u52a1\u5668\u4e0a\u88c5\u4e00\u4e2a Nginx \u5927\u6982\u80fd\u5230 5 \u4e07 / \u79d2\uff1bLVS \u7684\u6027\u80fd\u662f\u5341\u4e07\u7ea7\uff0c\u636e\u8bf4\u53ef\u8fbe\u5230 80 \u4e07 / \u79d2\uff1b\u800c F5 \u6027\u80fd\u662f\u767e\u4e07\u7ea7\uff0c\u4ece 200 \u4e07 / \u79d2\u5230 800 \u4e07 / \u79d2\u90fd\u6709\uff08\u6570\u636e\u6765\u6e90\u7f51\u7edc\uff0c\u4ec5\u4f9b\u53c2\u8003\uff0c\u5982\u9700\u91c7\u7528\u8bf7\u6839\u636e\u5b9e\u9645\u4e1a\u52a1\u573a\u666f\u8fdb\u884c\u6027\u80fd\u6d4b\u8bd5\uff09\u3002\u5f53\u7136\uff0c\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u7684\u6700\u5927\u4f18\u52bf\u662f\u4fbf\u5b9c\uff0c\u4e00\u53f0\u666e\u901a\u7684 Linux \u670d\u52a1\u5668\u6279\u53d1\u4ef7\u5927\u6982\u5c31\u662f 1 \u4e07\u5143\u5de6\u53f3\uff0c\u76f8\u6bd4 F5 \u7684\u4ef7\u683c\uff0c\u90a3\u5c31\u662f\u81ea\u884c\u8f66\u548c\u5b9d\u9a6c\u7684\u533a\u522b\u4e86\u3002"),(0,l.yg)("p",null,"\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u7684\u4f18\u70b9\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u7b80\u5355\uff1a\u65e0\u8bba\u662f\u90e8\u7f72\u8fd8\u662f\u7ef4\u62a4\u90fd\u6bd4\u8f83\u7b80\u5355\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u4fbf\u5b9c\uff1a\u53ea\u8981\u4e70\u4e2a Linux \u670d\u52a1\u5668\uff0c\u88c5\u4e0a\u8f6f\u4ef6\u5373\u53ef\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u7075\u6d3b\uff1a4 \u5c42\u548c 7 \u5c42\u8d1f\u8f7d\u5747\u8861\u53ef\u4ee5\u6839\u636e\u4e1a\u52a1\u8fdb\u884c\u9009\u62e9\uff1b\u4e5f\u53ef\u4ee5\u6839\u636e\u4e1a\u52a1\u8fdb\u884c\u6bd4\u8f83\u65b9\u4fbf\u7684\u6269\u5c55\uff0c\u4f8b\u5982\uff0c\u53ef\u4ee5\u901a\u8fc7 Nginx \u7684\u63d2\u4ef6\u6765\u5b9e\u73b0\u4e1a\u52a1\u7684\u5b9a\u5236\u5316\u529f\u80fd\u3002")),(0,l.yg)("p",null,"\u5176\u5b9e\u4e0b\u9762\u7684\u7f3a\u70b9\u90fd\u662f\u548c\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u76f8\u6bd4\u7684\uff0c\u5e76\u4e0d\u662f\u8bf4\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u6ca1\u6cd5\u7528\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u6027\u80fd\u4e00\u822c\uff1a\u4e00\u4e2a Nginx \u5927\u7ea6\u80fd\u652f\u6491 5 \u4e07\u5e76\u53d1\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u529f\u80fd\u6ca1\u6709\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u90a3\u4e48\u5f3a\u5927\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u4e00\u822c\u4e0d\u5177\u5907\u9632\u706b\u5899\u548c\u9632 DDoS \u653b\u51fb\u7b49\u5b89\u5168\u529f\u80fd\u3002")),(0,l.yg)("h3",{id:"\u4f7f\u7528\u603b\u7ed3"},"\u4f7f\u7528\u603b\u7ed3"),(0,l.yg)("p",null,"\u524d\u9762\u6211\u4eec\u4ecb\u7ecd\u4e86 3 \u79cd\u5e38\u89c1\u7684\u8d1f\u8f7d\u5747\u8861\u673a\u5236\uff1aDNS \u8d1f\u8f7d\u5747\u8861\u3001\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u3001\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\uff0c\u6bcf\u79cd\u65b9\u5f0f\u90fd\u6709\u4e00\u4e9b\u4f18\u7f3a\u70b9\uff0c\u4f46\u5e76\u4e0d\u610f\u5473\u7740\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u53ea\u80fd\u57fa\u4e8e\u5b83\u4eec\u7684\u4f18\u7f3a\u70b9\u8fdb\u884c\u975e\u6b64\u5373\u5f7c\u7684\u9009\u62e9\uff0c\u53cd\u800c\u662f\u57fa\u4e8e\u5b83\u4eec\u7684\u4f18\u7f3a\u70b9\u8fdb\u884c\u7ec4\u5408\u4f7f\u7528\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u7ec4\u5408\u7684\u57fa\u672c\u539f\u5219\u4e3a\uff1aDNS \u8d1f\u8f7d\u5747\u8861\u7528\u4e8e\u5b9e\u73b0\u5730\u7406\u7ea7\u522b\u7684\u8d1f\u8f7d\u5747\u8861\uff1b\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u7528\u4e8e\u5b9e\u73b0\u96c6\u7fa4\u7ea7\u522b\u7684\u8d1f\u8f7d\u5747\u8861\uff1b\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u7528\u4e8e\u5b9e\u73b0\u673a\u5668\u7ea7\u522b\u7684\u8d1f\u8f7d\u5747\u8861\u3002"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(34993).A,width:"750",height:"500"})),(0,l.yg)("h3",{id:"-1"}),(0,l.yg)("h3",{id:"-2"}),(0,l.yg)("h3",{id:"\u7b97\u6cd5\u603b\u7ed3"},"\u7b97\u6cd5\u603b\u7ed3"),(0,l.yg)("p",null,"\u8d1f\u8f7d\u5747\u8861\u7b97\u6cd5\u6570\u91cf\u8f83\u591a\uff0c\u800c\u4e14\u53ef\u4ee5\u6839\u636e\u4e00\u4e9b\u4e1a\u52a1\u7279\u6027\u8fdb\u884c\u5b9a\u5236\u5f00\u53d1\uff0c\u629b\u5f00\u7ec6\u8282\u4e0a\u7684\u5dee\u5f02\uff0c\u6839\u636e\u7b97\u6cd5\u671f\u671b\u8fbe\u5230\u7684\u76ee\u7684\uff0c\u5927\u4f53\u4e0a\u53ef\u4ee5\u5206\u4e3a\u4e0b\u9762\u51e0\u7c7b\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u4efb\u52a1\u5e73\u5206\u7c7b\uff1a\u8d1f\u8f7d\u5747\u8861\u7cfb\u7edf\u5c06\u6536\u5230\u7684\u4efb\u52a1\u5e73\u5747\u5206\u914d\u7ed9\u670d\u52a1\u5668\u8fdb\u884c\u5904\u7406\uff0c\u8fd9\u91cc\u7684\u201c\u5e73\u5747\u201d\u53ef\u4ee5\u662f\u7edd\u5bf9\u6570\u91cf\u7684\u5e73\u5747\uff0c\u4e5f\u53ef\u4ee5\u662f\u6bd4\u4f8b\u6216\u8005\u6743\u91cd\u4e0a\u7684\u5e73\u5747\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u8d1f\u8f7d\u5747\u8861\u7c7b\uff1a\u8d1f\u8f7d\u5747\u8861\u7cfb\u7edf\u6839\u636e\u670d\u52a1\u5668\u7684\u8d1f\u8f7d\u6765\u8fdb\u884c\u5206\u914d\uff0c\u8fd9\u91cc\u7684\u8d1f\u8f7d\u5e76\u4e0d\u4e00\u5b9a\u662f\u901a\u5e38\u610f\u4e49\u4e0a\u6211\u4eec\u8bf4\u7684\u201cCPU \u8d1f\u8f7d\u201d\uff0c\u800c\u662f\u7cfb\u7edf\u5f53\u524d\u7684\u538b\u529b\uff0c\u53ef\u4ee5\u7528 CPU \u8d1f\u8f7d\u6765\u8861\u91cf\uff0c\u4e5f\u53ef\u4ee5\u7528\u8fde\u63a5\u6570\u3001I/O \u4f7f\u7528\u7387\u3001\u7f51\u5361\u541e\u5410\u91cf\u7b49\u6765\u8861\u91cf\u7cfb\u7edf\u7684\u538b\u529b\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6027\u80fd\u6700\u4f18\u7c7b\uff1a\u8d1f\u8f7d\u5747\u8861\u7cfb\u7edf\u6839\u636e\u670d\u52a1\u5668\u7684\u54cd\u5e94\u65f6\u95f4\u6765\u8fdb\u884c\u4efb\u52a1\u5206\u914d\uff0c\u4f18\u5148\u5c06\u65b0\u4efb\u52a1\u5206\u914d\u7ed9\u54cd\u5e94\u6700\u5feb\u7684\u670d\u52a1\u5668\u3002"),(0,l.yg)("li",{parentName:"ul"},"Hash \u7c7b\uff1a\u8d1f\u8f7d\u5747\u8861\u7cfb\u7edf\u6839\u636e\u4efb\u52a1\u4e2d\u7684\u67d0\u4e9b\u5173\u952e\u4fe1\u606f\u8fdb\u884c Hash \u8fd0\u7b97\uff0c\u5c06\u76f8\u540c Hash \u503c\u7684\u8bf7\u6c42\u5206\u914d\u5230\u540c\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u3002\u5e38\u89c1\u7684\u6709\u6e90\u5730\u5740 Hash\u3001\u76ee\u6807\u5730\u5740 Hash\u3001session id hash\u3001\u7528\u6237 ID Hash \u7b49\u3002")))}c.isMDXComponent=!0},34993:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/4-1110b0b730ae76dd61a1d7d14c8523cb.png"}}]); \ No newline at end of file diff --git a/assets/js/1df90d44.d74af1dc.js b/assets/js/1df90d44.3d13fe11.js similarity index 98% rename from assets/js/1df90d44.d74af1dc.js rename to assets/js/1df90d44.3d13fe11.js index 1994daafa..fc3e9e0a5 100644 --- a/assets/js/1df90d44.d74af1dc.js +++ b/assets/js/1df90d44.3d13fe11.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[407],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},d=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),p=s(r),f=a,m=p["".concat(l,".").concat(f)]||p[f]||u[f]||o;return r?n.createElement(m,c(c({ref:t},d),{},{components:r})):n.createElement(m,c({ref:t},d))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=f;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:a,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const o={},c="File and Code Templates",i={unversionedId:"study/back/IEDA/fileandcodetemplates",id:"study/back/IEDA/fileandcodetemplates",title:"File and Code Templates",description:"File and Code Templates",source:"@site/docs/study/back/IEDA/fileandcodetemplates.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/fileandcodetemplates",permalink:"/docs/study/back/IEDA/fileandcodetemplates",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"encoding",permalink:"/docs/study/back/IEDA/encoding"},next:{title:"Save Action",permalink:"/docs/study/back/IEDA/save-action"}},l={},s=[],d={toc:s},p="wrapper";function u(e){let{components:t,...o}=e;return(0,a.yg)(p,(0,n.A)({},d,o,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"file-and-code-templates"},"File and Code Templates"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"File and Code Templates",src:r(51093).A,width:"1024",height:"742"})))}u.isMDXComponent=!0},51093:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/template-e53f99d21b44feb70bba2b644b267dee.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[407],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},d=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),p=s(r),f=a,m=p["".concat(l,".").concat(f)]||p[f]||u[f]||o;return r?n.createElement(m,c(c({ref:t},d),{},{components:r})):n.createElement(m,c({ref:t},d))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=f;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:a,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const o={},c="File and Code Templates",i={unversionedId:"study/back/IEDA/fileandcodetemplates",id:"study/back/IEDA/fileandcodetemplates",title:"File and Code Templates",description:"File and Code Templates",source:"@site/docs/study/back/IEDA/fileandcodetemplates.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/fileandcodetemplates",permalink:"/docs/study/back/IEDA/fileandcodetemplates",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"encoding",permalink:"/docs/study/back/IEDA/encoding"},next:{title:"Save Action",permalink:"/docs/study/back/IEDA/save-action"}},l={},s=[],d={toc:s},p="wrapper";function u(e){let{components:t,...o}=e;return(0,a.yg)(p,(0,n.A)({},d,o,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"file-and-code-templates"},"File and Code Templates"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"File and Code Templates",src:r(51093).A,width:"1024",height:"742"})))}u.isMDXComponent=!0},51093:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/template-e53f99d21b44feb70bba2b644b267dee.png"}}]); \ No newline at end of file diff --git a/assets/js/1e8406f2.8d892454.js b/assets/js/1e8406f2.9223bdd5.js similarity index 99% rename from assets/js/1e8406f2.8d892454.js rename to assets/js/1e8406f2.9223bdd5.js index b405e17ac..e4fc68c0f 100644 --- a/assets/js/1e8406f2.8d892454.js +++ b/assets/js/1e8406f2.9223bdd5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6407],{15680:(e,n,a)=>{a.d(n,{xA:()=>g,yg:()=>c});var r=a(96540);function t(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function l(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var n=1;n=0||(t[a]=e[a]);return t}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}return t}var u=r.createContext({}),o=function(e){var n=r.useContext(u),a=n;return e&&(a="function"==typeof e?e(n):i(i({},n),e)),a},g=function(e){var n=o(e.components);return r.createElement(u.Provider,{value:n},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var a=e.components,t=e.mdxType,l=e.originalType,u=e.parentName,g=p(e,["components","mdxType","originalType","parentName"]),s=o(a),d=t,c=s["".concat(u,".").concat(d)]||s[d]||m[d]||l;return a?r.createElement(c,i(i({ref:n},g),{},{components:a})):r.createElement(c,i({ref:n},g))}));function c(e,n){var a=arguments,t=n&&n.mdxType;if("string"==typeof e||t){var l=a.length,i=new Array(l);i[0]=d;var p={};for(var u in n)hasOwnProperty.call(n,u)&&(p[u]=n[u]);p.originalType=e,p[s]="string"==typeof e?e:t,i[1]=p;for(var o=2;o{a.r(n),a.d(n,{assets:()=>u,contentTitle:()=>i,default:()=>m,frontMatter:()=>l,metadata:()=>p,toc:()=>o});var r=a(58168),t=(a(96540),a(15680));const l={},i=void 0,p={unversionedId:"study/program/JAVA/Maven",id:"study/program/JAVA/Maven",title:"Maven",description:"\u7b80\u4ecb",source:"@site/docs/study/program/JAVA/Maven.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/Maven",permalink:"/docs/study/program/JAVA/Maven",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JNI",permalink:"/docs/study/program/JAVA/JNI"},next:{title:"OpenJ9",permalink:"/docs/study/program/JAVA/OepnJ9"}},u={},o=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u53c2\u6570",id:"\u53c2\u6570",level:3},{value:"\u63d2\u4ef6",id:"\u63d2\u4ef6",level:3},{value:"\u4e09\u79cd\u6253\u5305\u63d2\u4ef6",id:"\u4e09\u79cd\u6253\u5305\u63d2\u4ef6",level:4},{value:"maven-assembly-plugin",id:"maven-assembly-plugin",level:4},{value:"maven-enforcer-plugin",id:"maven-enforcer-plugin",level:4},{value:"maven-release-plugin",id:"maven-release-plugin",level:4},{value:"maven-resources-plugin",id:"maven-resources-plugin",level:4},{value:"build-helper-maven-plugin",id:"build-helper-maven-plugin",level:4},{value:"versions-maven-plugin",id:"versions-maven-plugin",level:4},{value:"git-commit-id-plugin",id:"git-commit-id-plugin",level:4},{value:"jacoco-maven-plugin",id:"jacoco-maven-plugin",level:4}],g={toc:o},s="wrapper";function m(e){let{components:n,...a}=e;return(0,t.yg)(s,(0,r.A)({},g,a,{components:n,mdxType:"MDXLayout"}),(0,t.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,t.yg)("p",null,"\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u63d2\u4ef6\u6846\u67b6\uff0c\u5b83\u7684\u6838\u5fc3\u5e76\u4e0d\u6267\u884c\u4efb\u4f55\u5177\u4f53\u7684\u6784\u5efa\u4efb\u52a1\uff0c\u6240\u6709\u8fd9\u4e9b\u4efb\u52a1\u90fd\u4ea4\u7ed9\u63d2\u4ef6\u6765\u5b8c\u6210\uff0c\u4f8b\u5982\u7f16\u8bd1\u6e90\u4ee3\u7801\u662f\u7531maven- compiler-plugin\u5b8c\u6210\u7684\u3002"),(0,t.yg)("h3",{id:"\u53c2\u6570"},"\u53c2\u6570"),(0,t.yg)("table",null,(0,t.yg)("thead",{parentName:"table"},(0,t.yg)("tr",{parentName:"thead"},(0,t.yg)("th",{parentName:"tr",align:null},"\u53c2\u6570"),(0,t.yg)("th",{parentName:"tr",align:null},"\u5168\u79f0"),(0,t.yg)("th",{parentName:"tr",align:null},"\u91ca\u4e49"),(0,t.yg)("th",{parentName:"tr",align:null},"\u8bf4\u660e"))),(0,t.yg)("tbody",{parentName:"table"},(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-pl"),(0,t.yg)("td",{parentName:"tr",align:null},"--projects"),(0,t.yg)("td",{parentName:"tr",align:null},"Build specified reactor projects instead of all projects"),(0,t.yg)("td",{parentName:"tr",align:null},"\u9009\u9879\u540e\u53ef\u8ddf\u968f{groupId}:{artifactId}\u6216\u8005\u6240\u9009\u6a21\u5757\u7684\u76f8\u5bf9\u8def\u5f84(\u591a\u4e2a\u6a21\u5757\u4ee5\u9017\u53f7\u5206\u9694)")),(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-am"),(0,t.yg)("td",{parentName:"tr",align:null},"--also-make"),(0,t.yg)("td",{parentName:"tr",align:null},"If project list is specified, also build projects required by the list"),(0,t.yg)("td",{parentName:"tr",align:null},"\u8868\u793a\u540c\u65f6\u5904\u7406\u9009\u5b9a\u6a21\u5757\u6240\u4f9d\u8d56\u7684\u6a21\u5757")),(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-amd"),(0,t.yg)("td",{parentName:"tr",align:null},"--also-make-dependents"),(0,t.yg)("td",{parentName:"tr",align:null},"If project list is specified, also build projects that depend on projects on the list"),(0,t.yg)("td",{parentName:"tr",align:null},"\u8868\u793a\u540c\u65f6\u5904\u7406\u4f9d\u8d56\u9009\u5b9a\u6a21\u5757\u7684\u6a21\u5757")),(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-N"),(0,t.yg)("td",{parentName:"tr",align:null},"--Non-recursive"),(0,t.yg)("td",{parentName:"tr",align:null},"Build projects without recursive"),(0,t.yg)("td",{parentName:"tr",align:null},"\u8868\u793a\u4e0d\u9012\u5f52\u5b50\u6a21\u5757")),(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-rf"),(0,t.yg)("td",{parentName:"tr",align:null},"--resume-from"),(0,t.yg)("td",{parentName:"tr",align:null},"Resume reactor from specified project"),(0,t.yg)("td",{parentName:"tr",align:null},"\u8868\u793a\u4ece\u6307\u5b9a\u6a21\u5757\u5f00\u59cb\u7ee7\u7eed\u5904\u7406")))),(0,t.yg)("h3",{id:"\u63d2\u4ef6"},"\u63d2\u4ef6"),(0,t.yg)("h4",{id:"\u4e09\u79cd\u6253\u5305\u63d2\u4ef6"},"\u4e09\u79cd\u6253\u5305\u63d2\u4ef6"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"maven-jar-plugin\uff0c\u9ed8\u8ba4\u7684\u6253\u5305\u63d2\u4ef6\uff0c\u7528\u6765\u6253\u666e\u901a\u7684project JAR\u5305\uff1b"),(0,t.yg)("li",{parentName:"ul"},"maven-shade-plugin\uff0c\u7528\u6765\u6253\u53ef\u6267\u884cJAR\u5305\uff0c\u4e5f\u5c31\u662f\u6240\u8c13\u7684fat JAR\u5305\uff1b"),(0,t.yg)("li",{parentName:"ul"},"maven-assembly-plugin\uff0c\u652f\u6301\u81ea\u5b9a\u4e49\u7684\u6253\u5305\u7ed3\u6784\uff0c\u4e5f\u53ef\u4ee5\u5b9a\u5236\u4f9d\u8d56\u9879\u7b49\u3002")),(0,t.yg)("h4",{id:"maven-assembly-plugin"},"maven-assembly-plugin"),(0,t.yg)("p",null,"maven-assembly-plugin\u7684\u7528\u9014\u662f\u5236\u4f5c\u9879\u76ee\u5206\u53d1\u5305\uff0c\u8be5\u5206\u53d1\u5305\u53ef\u80fd\u5305\u542b\u4e86\u9879\u76ee\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3001\u6e90\u4ee3\u7801\u3001readme\u3001\u5e73\u53f0\u811a\u672c\u7b49\u7b49\u3002maven-assembly-plugin\u652f\u6301\u5404\u79cd\u4e3b\u6d41\u7684\u683c\u5f0f\u5982zip\u3001tar.gz\u3001jar\u548cwar\u7b49\uff0c\u5177\u4f53\u6253\u5305\u54ea\u4e9b\u6587\u4ef6\u662f\u9ad8\u5ea6\u53ef\u63a7\u7684\uff0c\u4f8b\u5982\u7528\u6237\u53ef\u4ee5 \u6309\u6587\u4ef6\u7ea7\u522b\u7684\u7c92\u5ea6\u3001\u6587\u4ef6\u96c6\u7ea7\u522b\u7684\u7c92\u5ea6\u3001\u6a21\u5757\u7ea7\u522b\u7684\u7c92\u5ea6\u3001\u4ee5\u53ca\u4f9d\u8d56\u7ea7\u522b\u7684\u7c92\u5ea6\u63a7\u5236\u6253\u5305\uff0c\u6b64\u5916\uff0c\u5305\u542b\u548c\u6392\u9664\u914d\u7f6e\u4e5f\u662f\u652f\u6301\u7684\u3002maven-assembly- plugin\u8981\u6c42\u7528\u6237\u4f7f\u7528\u4e00\u4e2a\u540d\u4e3aassembly.xml\u7684\u5143\u6570\u636e\u6587\u4ef6\u6765\u8868\u8ff0\u6253\u5305\uff0c\u5b83\u7684single\u76ee\u6807\u53ef\u4ee5\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u8c03\u7528\uff0c\u4e5f\u53ef\u4ee5\u88ab\u7ed1\u5b9a\u81f3\u751f\u547d\u5468\u671f\u3002"),(0,t.yg)("h4",{id:"maven-enforcer-plugin"},"maven-enforcer-plugin"),(0,t.yg)("p",null,"\u5728\u4e00\u4e2a\u7a0d\u5927\u4e00\u70b9\u7684\u7ec4\u7ec7\u6216\u56e2\u961f\u4e2d\uff0c\u4f60\u65e0\u6cd5\u4fdd\u8bc1\u6240\u6709\u6210\u5458\u90fd\u719f\u6089Maven\uff0c\u90a3\u4ed6\u4eec\u505a\u4e00\u4e9b\u6bd4\u8f83\u611a\u8822\u7684\u4e8b\u60c5\u5c31\u4f1a\u53d8\u5f97\u5f88\u6b63\u5e38\uff0c\u4f8b\u5982\u7ed9\u9879\u76ee\u5f15\u5165\u4e86\u5916\u90e8\u7684 SNAPSHOT\u4f9d\u8d56\u800c\u5bfc\u81f4\u6784\u5efa\u4e0d\u7a33\u5b9a\uff0c\u4f7f\u7528\u4e86\u4e00\u4e2a\u4e0e\u5927\u5bb6\u4e0d\u4e00\u81f4\u7684Maven\u7248\u672c\u800c\u7ecf\u5e38\u62b1\u6028\u6784\u5efa\u51fa\u73b0\u8be1\u5f02\u95ee\u9898\u3002maven-enforcer- plugin\u80fd\u591f\u5e2e\u52a9\u4f60\u907f\u514d\u4e4b\u7c7b\u95ee\u9898\uff0c\u5b83\u5141\u8bb8\u4f60\u521b\u5efa\u4e00\u7cfb\u5217\u89c4\u5219\u5f3a\u5236\u5927\u5bb6\u9075\u5b88\uff0c\u5305\u62ec\u8bbe\u5b9aJava\u7248\u672c\u3001\u8bbe\u5b9aMaven\u7248\u672c\u3001\u7981\u6b62\u67d0\u4e9b\u4f9d\u8d56\u3001\u7981\u6b62 SNAPSHOT\u4f9d\u8d56\u3002\u53ea\u8981\u5728\u4e00\u4e2a\u7236POM\u914d\u7f6e\u89c4\u5219\uff0c\u7136\u540e\u8ba9\u5927\u5bb6\u7ee7\u627f\uff0c\u5f53\u89c4\u5219\u906d\u5230\u7834\u574f\u7684\u65f6\u5019\uff0cMaven\u5c31\u4f1a\u62a5\u9519\u3002\u9664\u4e86\u6807\u51c6\u7684\u89c4\u5219\u4e4b\u5916\uff0c\u4f60\u8fd8\u53ef\u4ee5\u6269\u5c55\u8be5\u63d2 \u4ef6\uff0c\u7f16\u5199\u81ea\u5df1\u7684\u89c4\u5219\u3002maven-enforcer-plugin\u7684enforce\u76ee\u6807\u8d1f\u8d23\u68c0\u67e5\u89c4\u5219\uff0c\u5b83\u9ed8\u8ba4\u7ed1\u5b9a\u5230\u751f\u547d\u5468\u671f\u7684validate\u9636\u6bb5\u3002"),(0,t.yg)("h4",{id:"maven-release-plugin"},"maven-release-plugin"),(0,t.yg)("p",null,"maven-release-plugin\u7684\u7528\u9014\u662f\u5e2e\u52a9\u81ea\u52a8\u5316\u9879\u76ee\u7248\u672c\u53d1\u5e03\uff0c\u5b83\u4f9d\u8d56\u4e8ePOM\u4e2d\u7684SCM\u4fe1\u606f\u3002release:prepare\u7528\u6765\u51c6\u5907\u7248\u672c\u53d1\u5e03\uff0c\u5177\u4f53\u7684\u5de5\u4f5c\u5305\u62ec\u68c0\u67e5\u662f\u5426\u6709\u672a\u63d0\u4ea4\u4ee3\u7801\u3001\u68c0\u67e5\u662f\u5426\u6709SNAPSHOT\u4f9d\u8d56\u3001\u5347\u7ea7\u9879\u76ee\u7684SNAPSHOT\u7248\u672c\u81f3RELEASE\u7248\u672c\u3001\u4e3a\u9879\u76ee\u6253\u6807\u7b7e\u7b49\u7b49\u3002release:perform\u5219 \u662f\u7b7e\u51fa\u6807\u7b7e\u4e2d\u7684RELEASE\u6e90\u7801\uff0c\u6784\u5efa\u5e76\u53d1\u5e03\u3002\u7248\u672c\u53d1\u5e03\u662f\u975e\u5e38\u7410\u788e\u7684\u5de5\u4f5c\uff0c\u5b83\u6d89\u53ca\u4e86\u5404\u79cd\u68c0\u67e5\uff0c\u800c\u4e14\u7531\u4e8e\u8be5\u5de5\u4f5c\u4ec5\u4ec5\u662f\u5076\u5c14\u9700\u8981\uff0c\u56e0\u6b64\u624b\u52a8\u64cd\u4f5c\u5f88\u5bb9\u6613\u9057\u6f0f\u4e00 \u4e9b\u7ec6\u8282\uff0cmaven-release-plugin\u8ba9\u8be5\u5de5\u4f5c\u53d8\u5f97\u975e\u5e38\u5feb\u901f\u7b80\u4fbf\uff0c\u4e0d\u6613\u51fa\u9519\u3002maven-release-plugin\u7684\u5404\u79cd\u76ee\u6807\u901a\u5e38\u76f4\u63a5\u5728 \u547d\u4ee4\u884c\u8c03\u7528\uff0c\u56e0\u4e3a\u7248\u672c\u53d1\u5e03\u663e\u7136\u4e0d\u662f\u65e5\u5e38\u6784\u5efa\u751f\u547d\u5468\u671f\u7684\u4e00\u90e8\u5206\u3002"),(0,t.yg)("h4",{id:"maven-resources-plugin"},"maven-resources-plugin"),(0,t.yg)("p",null,"\u4e3a\u4e86\u4f7f\u9879\u76ee\u7ed3\u6784\u66f4\u4e3a\u6e05\u6670\uff0cMaven\u533a\u522b\u5bf9\u5f85Java\u4ee3\u7801\u6587\u4ef6\u548c\u8d44\u6e90\u6587\u4ef6\uff0cmaven-compiler-plugin\u7528\u6765\u7f16\u8bd1Java\u4ee3\u7801\uff0cmaven-resources-plugin\u5219\u7528\u6765\u5904\u7406\u8d44\u6e90\u6587\u4ef6\u3002\u9ed8\u8ba4\u7684\u4e3b\u8d44\u6e90\u6587\u4ef6\u76ee\u5f55\u662fsrc/main/resources\uff0c\u5f88\u591a\u7528\u6237\u4f1a\u9700\u8981\u6dfb\u52a0\u989d\u5916\u7684\u8d44\u6e90\u6587\u4ef6\u76ee\u5f55\uff0c\u8fd9\u4e2a\u65f6\u5019\u5c31\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6emaven-resources-plugin\u6765\u5b9e\u73b0\u3002\u6b64\u5916\uff0c\u8d44\u6e90\u6587\u4ef6\u8fc7\u6ee4\u4e5f\u662fMaven\u7684\u4e00\u5927\u7279\u6027\uff0c\u4f60\u53ef\u4ee5\u5728\u8d44\u6e90\u6587\u4ef6\u4e2d\u4f7f\u7528${propertyName}\u5f62\u5f0f\u7684Maven\u5c5e\u6027\uff0c\u7136\u540e\u914d\u7f6emaven-resources-plugin\u5f00\u542f\u5bf9\u8d44\u6e90\u6587\u4ef6\u7684\u8fc7\u6ee4\uff0c\u4e4b\u540e\u5c31\u53ef\u4ee5\u9488\u5bf9\u4e0d\u540c\u73af\u5883\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u8005Profile\u4f20\u5165\u5c5e\u6027\u7684\u503c\uff0c\u4ee5\u5b9e\u73b0\u66f4\u4e3a\u7075\u6d3b\u7684\u6784\u5efa\u3002"),(0,t.yg)("h4",{id:"build-helper-maven-plugin"},"build-helper-maven-plugin"),(0,t.yg)("p",null,"Maven\u9ed8\u8ba4\u53ea\u5141\u8bb8\u6307\u5b9a\u4e00\u4e2a\u4e3bJava\u4ee3\u7801\u76ee\u5f55\u548c\u4e00\u4e2a\u6d4b\u8bd5Java\u4ee3\u7801\u76ee\u5f55\uff0c\u867d\u7136\u8fd9\u5176\u5b9e\u662f\u4e2a\u5e94\u5f53\u5c3d\u91cf\u9075\u5b88\u7684\u7ea6\u5b9a\uff0c\u4f46\u5076\u5c14\u4f60\u8fd8\u662f\u4f1a\u5e0c\u671b\u80fd\u591f\u6307\u5b9a\u591a\u4e2a \u6e90\u7801\u76ee\u5f55\uff08\u4f8b\u5982\u4e3a\u4e86\u5e94\u5bf9\u9057\u7559\u9879\u76ee\uff09\uff0cbuild-helper-maven-plugin\u7684add-source\u76ee\u6807\u5c31\u662f\u670d\u52a1\u4e8e\u8fd9\u4e2a\u76ee\u7684\uff0c\u901a\u5e38\u5b83\u88ab\u7ed1\u5b9a\u5230 \u9ed8\u8ba4\u751f\u547d\u5468\u671f\u7684generate-sources\u9636\u6bb5\u4ee5\u6dfb\u52a0\u989d\u5916\u7684\u6e90\u7801\u76ee\u5f55\u3002\u9700\u8981\u5f3a\u8c03\u7684\u662f\uff0c\u8fd9\u79cd\u505a\u6cd5\u8fd8\u662f\u4e0d\u63a8\u8350\u7684\uff0c\u56e0\u4e3a\u5b83\u7834\u574f\u4e86 Maven\u7684\u7ea6\u5b9a\uff0c\u800c\u4e14\u53ef\u80fd\u4f1a\u9047\u5230\u5176\u4ed6\u4e25\u683c\u9075\u5b88\u7ea6\u5b9a\u7684\u63d2\u4ef6\u5de5\u5177\u65e0\u6cd5\u6b63\u786e\u8bc6\u522b\u989d\u5916\u7684\u6e90\u7801\u76ee\u5f55\u3002\nbuild-helper-maven-plugin\u7684\u53e6\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u76ee\u6807\u662fattach-artifact\uff0c\u4f7f\u7528\u8be5\u76ee\u6807\u4f60\u53ef\u4ee5\u4ee5classifier\u7684\u5f62\u5f0f\u9009\u53d6\u90e8\u5206\u9879\u76ee\u6587\u4ef6\u751f\u6210\u9644\u5c5e\u6784\u4ef6\uff0c\u5e76\u540c\u65f6install\u5230\u672c\u5730\u4ed3\u5e93\uff0c\u4e5f\u53ef\u4ee5deploy\u5230\u8fdc\u7a0b\u4ed3\u5e93\u3002"),(0,t.yg)("h4",{id:"versions-maven-plugin"},"versions-maven-plugin"),(0,t.yg)("p",null,"\u5f88\u591aMaven\u7528\u6237\u9047\u5230\u8fc7\u8fd9\u6837\u4e00\u4e2a\u95ee\u9898\uff0c\u5f53\u9879\u76ee\u5305\u542b\u5927\u91cf\u6a21\u5757\u7684\u65f6\u5019\uff0c\u4e3a\u4ed6\u4eec\u96c6\u4f53\u66f4\u65b0\u7248\u672c\u5c31\u53d8\u6210\u4e00\u4ef6\u70e6\u4eba\u7684\u4e8b\u60c5\uff0c\u5230\u5e95\u6709\u6ca1\u6709\u81ea\u52a8\u5316\u5de5\u5177\u80fd\u5e2e\u52a9\u5b8c\u6210\u8fd9\u4ef6 \u4e8b\u60c5\u5462\uff1f\uff08\u5f53\u7136\u4f60\u53ef\u4ee5\u4f7f\u7528sed\u4e4b\u7c7b\u7684\u6587\u672c\u64cd\u4f5c\u5de5\u5177\uff0c\u4e0d\u8fc7\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\uff09\u7b54\u6848\u662f\u80af\u5b9a\u7684\uff0cversions-maven- plugin\u63d0\u4f9b\u4e86\u5f88\u591a\u76ee\u6807\u5e2e\u52a9\u4f60\u7ba1\u7406Maven\u9879\u76ee\u7684\u5404\u79cd\u7248\u672c\u4fe1\u606f\u3002\u4f8b\u5982\u6700\u5e38\u7528\u7684\uff0c\u547d\u4ee4 mvn versions:set -DnewVersion=1.1-SNAPSHOT \u5c31\u80fd\u5e2e\u52a9\u4f60\u628a\u6240\u6709\u6a21\u5757\u7684\u7248\u672c\u66f4\u65b0\u52301.1-SNAPSHOT\u3002\u8be5\u63d2\u4ef6\u8fd8\u63d0\u4f9b\u4e86\u5176\u4ed6\u4e00\u4e9b\u5f88\u6709\u7528\u7684\u76ee\u6807\uff0cdisplay-dependency- updates\u80fd\u544a\u8bc9\u4f60\u9879\u76ee\u4f9d\u8d56\u6709\u54ea\u4e9b\u53ef\u7528\u7684\u66f4\u65b0\uff1b\u7c7b\u4f3c\u7684display-plugin-updates\u80fd\u544a\u8bc9\u4f60\u53ef\u7528\u7684\u63d2\u4ef6\u66f4\u65b0\uff1b\u7136\u540euse- latest-versions\u80fd\u81ea\u52a8\u5e2e\u4f60\u5c06\u6240\u6709\u4f9d\u8d56\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\u3002\u6700\u540e\uff0c\u5982\u679c\u4f60\u5bf9\u6240\u505a\u7684\u66f4\u6539\u6ee1\u610f\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528 mvn versions:commit \u63d0\u4ea4\uff0c\u4e0d\u6ee1\u610f\u7684\u8bdd\u4e5f\u53ef\u4ee5\u4f7f\u7528 mvn versions:revert \u8fdb\u884c\u64a4\u9500\u3002"),(0,t.yg)("h4",{id:"git-commit-id-plugin"},"git-commit-id-plugin"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/mytt_10566/article/details/100116670"},"CSDN-Maven\u5b66\u4e60\u7b14\u8bb0 - git-commit-id-plugin\u63d2\u4ef6"))),(0,t.yg)("h4",{id:"jacoco-maven-plugin"},"jacoco-maven-plugin"),(0,t.yg)("p",null,"\u5728Maven\u9879\u76ee\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528jacoco-maven-plugin\u63d2\u4ef6\u6765\u751f\u6210\u4ee3\u7801\u8986\u76d6\u7387\u62a5\u544a\u3002Jacoco\u662f\u4e00\u79cd\u7528\u4e8e\u6d4b\u91cf\u4ee3\u7801\u8986\u76d6\u7387\u7684\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u751f\u6210\u8986\u76d6\u7387\u6570\u636e\u5e76\u5e2e\u52a9\u6211\u4eec\u627e\u51fa\u4ee3\u7801\u4e2d\u672a\u88ab\u6d4b\u8bd5\u7684\u90e8\u5206\u3002"),(0,t.yg)("p",null,(0,t.yg)("a",{parentName:"p",href:"https://developer.baidu.com/article/details/2778816"},"\u4f7f\u7528Maven\u63d2\u4ef6\uff08jacoco-maven-plugin\uff09\u751f\u6210\u4ee3\u7801\u8986\u76d6\u7387\u62a5\u544a")))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6407],{15680:(e,n,a)=>{a.d(n,{xA:()=>g,yg:()=>c});var r=a(96540);function t(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function l(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var n=1;n=0||(t[a]=e[a]);return t}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}return t}var u=r.createContext({}),o=function(e){var n=r.useContext(u),a=n;return e&&(a="function"==typeof e?e(n):i(i({},n),e)),a},g=function(e){var n=o(e.components);return r.createElement(u.Provider,{value:n},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var a=e.components,t=e.mdxType,l=e.originalType,u=e.parentName,g=p(e,["components","mdxType","originalType","parentName"]),s=o(a),d=t,c=s["".concat(u,".").concat(d)]||s[d]||m[d]||l;return a?r.createElement(c,i(i({ref:n},g),{},{components:a})):r.createElement(c,i({ref:n},g))}));function c(e,n){var a=arguments,t=n&&n.mdxType;if("string"==typeof e||t){var l=a.length,i=new Array(l);i[0]=d;var p={};for(var u in n)hasOwnProperty.call(n,u)&&(p[u]=n[u]);p.originalType=e,p[s]="string"==typeof e?e:t,i[1]=p;for(var o=2;o{a.r(n),a.d(n,{assets:()=>u,contentTitle:()=>i,default:()=>m,frontMatter:()=>l,metadata:()=>p,toc:()=>o});var r=a(58168),t=(a(96540),a(15680));const l={},i=void 0,p={unversionedId:"study/program/JAVA/Maven",id:"study/program/JAVA/Maven",title:"Maven",description:"\u7b80\u4ecb",source:"@site/docs/study/program/JAVA/Maven.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/Maven",permalink:"/docs/study/program/JAVA/Maven",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JNI",permalink:"/docs/study/program/JAVA/JNI"},next:{title:"OpenJ9",permalink:"/docs/study/program/JAVA/OepnJ9"}},u={},o=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u53c2\u6570",id:"\u53c2\u6570",level:3},{value:"\u63d2\u4ef6",id:"\u63d2\u4ef6",level:3},{value:"\u4e09\u79cd\u6253\u5305\u63d2\u4ef6",id:"\u4e09\u79cd\u6253\u5305\u63d2\u4ef6",level:4},{value:"maven-assembly-plugin",id:"maven-assembly-plugin",level:4},{value:"maven-enforcer-plugin",id:"maven-enforcer-plugin",level:4},{value:"maven-release-plugin",id:"maven-release-plugin",level:4},{value:"maven-resources-plugin",id:"maven-resources-plugin",level:4},{value:"build-helper-maven-plugin",id:"build-helper-maven-plugin",level:4},{value:"versions-maven-plugin",id:"versions-maven-plugin",level:4},{value:"git-commit-id-plugin",id:"git-commit-id-plugin",level:4},{value:"jacoco-maven-plugin",id:"jacoco-maven-plugin",level:4}],g={toc:o},s="wrapper";function m(e){let{components:n,...a}=e;return(0,t.yg)(s,(0,r.A)({},g,a,{components:n,mdxType:"MDXLayout"}),(0,t.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,t.yg)("p",null,"\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u63d2\u4ef6\u6846\u67b6\uff0c\u5b83\u7684\u6838\u5fc3\u5e76\u4e0d\u6267\u884c\u4efb\u4f55\u5177\u4f53\u7684\u6784\u5efa\u4efb\u52a1\uff0c\u6240\u6709\u8fd9\u4e9b\u4efb\u52a1\u90fd\u4ea4\u7ed9\u63d2\u4ef6\u6765\u5b8c\u6210\uff0c\u4f8b\u5982\u7f16\u8bd1\u6e90\u4ee3\u7801\u662f\u7531maven- compiler-plugin\u5b8c\u6210\u7684\u3002"),(0,t.yg)("h3",{id:"\u53c2\u6570"},"\u53c2\u6570"),(0,t.yg)("table",null,(0,t.yg)("thead",{parentName:"table"},(0,t.yg)("tr",{parentName:"thead"},(0,t.yg)("th",{parentName:"tr",align:null},"\u53c2\u6570"),(0,t.yg)("th",{parentName:"tr",align:null},"\u5168\u79f0"),(0,t.yg)("th",{parentName:"tr",align:null},"\u91ca\u4e49"),(0,t.yg)("th",{parentName:"tr",align:null},"\u8bf4\u660e"))),(0,t.yg)("tbody",{parentName:"table"},(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-pl"),(0,t.yg)("td",{parentName:"tr",align:null},"--projects"),(0,t.yg)("td",{parentName:"tr",align:null},"Build specified reactor projects instead of all projects"),(0,t.yg)("td",{parentName:"tr",align:null},"\u9009\u9879\u540e\u53ef\u8ddf\u968f{groupId}:{artifactId}\u6216\u8005\u6240\u9009\u6a21\u5757\u7684\u76f8\u5bf9\u8def\u5f84(\u591a\u4e2a\u6a21\u5757\u4ee5\u9017\u53f7\u5206\u9694)")),(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-am"),(0,t.yg)("td",{parentName:"tr",align:null},"--also-make"),(0,t.yg)("td",{parentName:"tr",align:null},"If project list is specified, also build projects required by the list"),(0,t.yg)("td",{parentName:"tr",align:null},"\u8868\u793a\u540c\u65f6\u5904\u7406\u9009\u5b9a\u6a21\u5757\u6240\u4f9d\u8d56\u7684\u6a21\u5757")),(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-amd"),(0,t.yg)("td",{parentName:"tr",align:null},"--also-make-dependents"),(0,t.yg)("td",{parentName:"tr",align:null},"If project list is specified, also build projects that depend on projects on the list"),(0,t.yg)("td",{parentName:"tr",align:null},"\u8868\u793a\u540c\u65f6\u5904\u7406\u4f9d\u8d56\u9009\u5b9a\u6a21\u5757\u7684\u6a21\u5757")),(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-N"),(0,t.yg)("td",{parentName:"tr",align:null},"--Non-recursive"),(0,t.yg)("td",{parentName:"tr",align:null},"Build projects without recursive"),(0,t.yg)("td",{parentName:"tr",align:null},"\u8868\u793a\u4e0d\u9012\u5f52\u5b50\u6a21\u5757")),(0,t.yg)("tr",{parentName:"tbody"},(0,t.yg)("td",{parentName:"tr",align:null},"-rf"),(0,t.yg)("td",{parentName:"tr",align:null},"--resume-from"),(0,t.yg)("td",{parentName:"tr",align:null},"Resume reactor from specified project"),(0,t.yg)("td",{parentName:"tr",align:null},"\u8868\u793a\u4ece\u6307\u5b9a\u6a21\u5757\u5f00\u59cb\u7ee7\u7eed\u5904\u7406")))),(0,t.yg)("h3",{id:"\u63d2\u4ef6"},"\u63d2\u4ef6"),(0,t.yg)("h4",{id:"\u4e09\u79cd\u6253\u5305\u63d2\u4ef6"},"\u4e09\u79cd\u6253\u5305\u63d2\u4ef6"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"maven-jar-plugin\uff0c\u9ed8\u8ba4\u7684\u6253\u5305\u63d2\u4ef6\uff0c\u7528\u6765\u6253\u666e\u901a\u7684project JAR\u5305\uff1b"),(0,t.yg)("li",{parentName:"ul"},"maven-shade-plugin\uff0c\u7528\u6765\u6253\u53ef\u6267\u884cJAR\u5305\uff0c\u4e5f\u5c31\u662f\u6240\u8c13\u7684fat JAR\u5305\uff1b"),(0,t.yg)("li",{parentName:"ul"},"maven-assembly-plugin\uff0c\u652f\u6301\u81ea\u5b9a\u4e49\u7684\u6253\u5305\u7ed3\u6784\uff0c\u4e5f\u53ef\u4ee5\u5b9a\u5236\u4f9d\u8d56\u9879\u7b49\u3002")),(0,t.yg)("h4",{id:"maven-assembly-plugin"},"maven-assembly-plugin"),(0,t.yg)("p",null,"maven-assembly-plugin\u7684\u7528\u9014\u662f\u5236\u4f5c\u9879\u76ee\u5206\u53d1\u5305\uff0c\u8be5\u5206\u53d1\u5305\u53ef\u80fd\u5305\u542b\u4e86\u9879\u76ee\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3001\u6e90\u4ee3\u7801\u3001readme\u3001\u5e73\u53f0\u811a\u672c\u7b49\u7b49\u3002maven-assembly-plugin\u652f\u6301\u5404\u79cd\u4e3b\u6d41\u7684\u683c\u5f0f\u5982zip\u3001tar.gz\u3001jar\u548cwar\u7b49\uff0c\u5177\u4f53\u6253\u5305\u54ea\u4e9b\u6587\u4ef6\u662f\u9ad8\u5ea6\u53ef\u63a7\u7684\uff0c\u4f8b\u5982\u7528\u6237\u53ef\u4ee5 \u6309\u6587\u4ef6\u7ea7\u522b\u7684\u7c92\u5ea6\u3001\u6587\u4ef6\u96c6\u7ea7\u522b\u7684\u7c92\u5ea6\u3001\u6a21\u5757\u7ea7\u522b\u7684\u7c92\u5ea6\u3001\u4ee5\u53ca\u4f9d\u8d56\u7ea7\u522b\u7684\u7c92\u5ea6\u63a7\u5236\u6253\u5305\uff0c\u6b64\u5916\uff0c\u5305\u542b\u548c\u6392\u9664\u914d\u7f6e\u4e5f\u662f\u652f\u6301\u7684\u3002maven-assembly- plugin\u8981\u6c42\u7528\u6237\u4f7f\u7528\u4e00\u4e2a\u540d\u4e3aassembly.xml\u7684\u5143\u6570\u636e\u6587\u4ef6\u6765\u8868\u8ff0\u6253\u5305\uff0c\u5b83\u7684single\u76ee\u6807\u53ef\u4ee5\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u8c03\u7528\uff0c\u4e5f\u53ef\u4ee5\u88ab\u7ed1\u5b9a\u81f3\u751f\u547d\u5468\u671f\u3002"),(0,t.yg)("h4",{id:"maven-enforcer-plugin"},"maven-enforcer-plugin"),(0,t.yg)("p",null,"\u5728\u4e00\u4e2a\u7a0d\u5927\u4e00\u70b9\u7684\u7ec4\u7ec7\u6216\u56e2\u961f\u4e2d\uff0c\u4f60\u65e0\u6cd5\u4fdd\u8bc1\u6240\u6709\u6210\u5458\u90fd\u719f\u6089Maven\uff0c\u90a3\u4ed6\u4eec\u505a\u4e00\u4e9b\u6bd4\u8f83\u611a\u8822\u7684\u4e8b\u60c5\u5c31\u4f1a\u53d8\u5f97\u5f88\u6b63\u5e38\uff0c\u4f8b\u5982\u7ed9\u9879\u76ee\u5f15\u5165\u4e86\u5916\u90e8\u7684 SNAPSHOT\u4f9d\u8d56\u800c\u5bfc\u81f4\u6784\u5efa\u4e0d\u7a33\u5b9a\uff0c\u4f7f\u7528\u4e86\u4e00\u4e2a\u4e0e\u5927\u5bb6\u4e0d\u4e00\u81f4\u7684Maven\u7248\u672c\u800c\u7ecf\u5e38\u62b1\u6028\u6784\u5efa\u51fa\u73b0\u8be1\u5f02\u95ee\u9898\u3002maven-enforcer- plugin\u80fd\u591f\u5e2e\u52a9\u4f60\u907f\u514d\u4e4b\u7c7b\u95ee\u9898\uff0c\u5b83\u5141\u8bb8\u4f60\u521b\u5efa\u4e00\u7cfb\u5217\u89c4\u5219\u5f3a\u5236\u5927\u5bb6\u9075\u5b88\uff0c\u5305\u62ec\u8bbe\u5b9aJava\u7248\u672c\u3001\u8bbe\u5b9aMaven\u7248\u672c\u3001\u7981\u6b62\u67d0\u4e9b\u4f9d\u8d56\u3001\u7981\u6b62 SNAPSHOT\u4f9d\u8d56\u3002\u53ea\u8981\u5728\u4e00\u4e2a\u7236POM\u914d\u7f6e\u89c4\u5219\uff0c\u7136\u540e\u8ba9\u5927\u5bb6\u7ee7\u627f\uff0c\u5f53\u89c4\u5219\u906d\u5230\u7834\u574f\u7684\u65f6\u5019\uff0cMaven\u5c31\u4f1a\u62a5\u9519\u3002\u9664\u4e86\u6807\u51c6\u7684\u89c4\u5219\u4e4b\u5916\uff0c\u4f60\u8fd8\u53ef\u4ee5\u6269\u5c55\u8be5\u63d2 \u4ef6\uff0c\u7f16\u5199\u81ea\u5df1\u7684\u89c4\u5219\u3002maven-enforcer-plugin\u7684enforce\u76ee\u6807\u8d1f\u8d23\u68c0\u67e5\u89c4\u5219\uff0c\u5b83\u9ed8\u8ba4\u7ed1\u5b9a\u5230\u751f\u547d\u5468\u671f\u7684validate\u9636\u6bb5\u3002"),(0,t.yg)("h4",{id:"maven-release-plugin"},"maven-release-plugin"),(0,t.yg)("p",null,"maven-release-plugin\u7684\u7528\u9014\u662f\u5e2e\u52a9\u81ea\u52a8\u5316\u9879\u76ee\u7248\u672c\u53d1\u5e03\uff0c\u5b83\u4f9d\u8d56\u4e8ePOM\u4e2d\u7684SCM\u4fe1\u606f\u3002release:prepare\u7528\u6765\u51c6\u5907\u7248\u672c\u53d1\u5e03\uff0c\u5177\u4f53\u7684\u5de5\u4f5c\u5305\u62ec\u68c0\u67e5\u662f\u5426\u6709\u672a\u63d0\u4ea4\u4ee3\u7801\u3001\u68c0\u67e5\u662f\u5426\u6709SNAPSHOT\u4f9d\u8d56\u3001\u5347\u7ea7\u9879\u76ee\u7684SNAPSHOT\u7248\u672c\u81f3RELEASE\u7248\u672c\u3001\u4e3a\u9879\u76ee\u6253\u6807\u7b7e\u7b49\u7b49\u3002release:perform\u5219 \u662f\u7b7e\u51fa\u6807\u7b7e\u4e2d\u7684RELEASE\u6e90\u7801\uff0c\u6784\u5efa\u5e76\u53d1\u5e03\u3002\u7248\u672c\u53d1\u5e03\u662f\u975e\u5e38\u7410\u788e\u7684\u5de5\u4f5c\uff0c\u5b83\u6d89\u53ca\u4e86\u5404\u79cd\u68c0\u67e5\uff0c\u800c\u4e14\u7531\u4e8e\u8be5\u5de5\u4f5c\u4ec5\u4ec5\u662f\u5076\u5c14\u9700\u8981\uff0c\u56e0\u6b64\u624b\u52a8\u64cd\u4f5c\u5f88\u5bb9\u6613\u9057\u6f0f\u4e00 \u4e9b\u7ec6\u8282\uff0cmaven-release-plugin\u8ba9\u8be5\u5de5\u4f5c\u53d8\u5f97\u975e\u5e38\u5feb\u901f\u7b80\u4fbf\uff0c\u4e0d\u6613\u51fa\u9519\u3002maven-release-plugin\u7684\u5404\u79cd\u76ee\u6807\u901a\u5e38\u76f4\u63a5\u5728 \u547d\u4ee4\u884c\u8c03\u7528\uff0c\u56e0\u4e3a\u7248\u672c\u53d1\u5e03\u663e\u7136\u4e0d\u662f\u65e5\u5e38\u6784\u5efa\u751f\u547d\u5468\u671f\u7684\u4e00\u90e8\u5206\u3002"),(0,t.yg)("h4",{id:"maven-resources-plugin"},"maven-resources-plugin"),(0,t.yg)("p",null,"\u4e3a\u4e86\u4f7f\u9879\u76ee\u7ed3\u6784\u66f4\u4e3a\u6e05\u6670\uff0cMaven\u533a\u522b\u5bf9\u5f85Java\u4ee3\u7801\u6587\u4ef6\u548c\u8d44\u6e90\u6587\u4ef6\uff0cmaven-compiler-plugin\u7528\u6765\u7f16\u8bd1Java\u4ee3\u7801\uff0cmaven-resources-plugin\u5219\u7528\u6765\u5904\u7406\u8d44\u6e90\u6587\u4ef6\u3002\u9ed8\u8ba4\u7684\u4e3b\u8d44\u6e90\u6587\u4ef6\u76ee\u5f55\u662fsrc/main/resources\uff0c\u5f88\u591a\u7528\u6237\u4f1a\u9700\u8981\u6dfb\u52a0\u989d\u5916\u7684\u8d44\u6e90\u6587\u4ef6\u76ee\u5f55\uff0c\u8fd9\u4e2a\u65f6\u5019\u5c31\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6emaven-resources-plugin\u6765\u5b9e\u73b0\u3002\u6b64\u5916\uff0c\u8d44\u6e90\u6587\u4ef6\u8fc7\u6ee4\u4e5f\u662fMaven\u7684\u4e00\u5927\u7279\u6027\uff0c\u4f60\u53ef\u4ee5\u5728\u8d44\u6e90\u6587\u4ef6\u4e2d\u4f7f\u7528${propertyName}\u5f62\u5f0f\u7684Maven\u5c5e\u6027\uff0c\u7136\u540e\u914d\u7f6emaven-resources-plugin\u5f00\u542f\u5bf9\u8d44\u6e90\u6587\u4ef6\u7684\u8fc7\u6ee4\uff0c\u4e4b\u540e\u5c31\u53ef\u4ee5\u9488\u5bf9\u4e0d\u540c\u73af\u5883\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u8005Profile\u4f20\u5165\u5c5e\u6027\u7684\u503c\uff0c\u4ee5\u5b9e\u73b0\u66f4\u4e3a\u7075\u6d3b\u7684\u6784\u5efa\u3002"),(0,t.yg)("h4",{id:"build-helper-maven-plugin"},"build-helper-maven-plugin"),(0,t.yg)("p",null,"Maven\u9ed8\u8ba4\u53ea\u5141\u8bb8\u6307\u5b9a\u4e00\u4e2a\u4e3bJava\u4ee3\u7801\u76ee\u5f55\u548c\u4e00\u4e2a\u6d4b\u8bd5Java\u4ee3\u7801\u76ee\u5f55\uff0c\u867d\u7136\u8fd9\u5176\u5b9e\u662f\u4e2a\u5e94\u5f53\u5c3d\u91cf\u9075\u5b88\u7684\u7ea6\u5b9a\uff0c\u4f46\u5076\u5c14\u4f60\u8fd8\u662f\u4f1a\u5e0c\u671b\u80fd\u591f\u6307\u5b9a\u591a\u4e2a \u6e90\u7801\u76ee\u5f55\uff08\u4f8b\u5982\u4e3a\u4e86\u5e94\u5bf9\u9057\u7559\u9879\u76ee\uff09\uff0cbuild-helper-maven-plugin\u7684add-source\u76ee\u6807\u5c31\u662f\u670d\u52a1\u4e8e\u8fd9\u4e2a\u76ee\u7684\uff0c\u901a\u5e38\u5b83\u88ab\u7ed1\u5b9a\u5230 \u9ed8\u8ba4\u751f\u547d\u5468\u671f\u7684generate-sources\u9636\u6bb5\u4ee5\u6dfb\u52a0\u989d\u5916\u7684\u6e90\u7801\u76ee\u5f55\u3002\u9700\u8981\u5f3a\u8c03\u7684\u662f\uff0c\u8fd9\u79cd\u505a\u6cd5\u8fd8\u662f\u4e0d\u63a8\u8350\u7684\uff0c\u56e0\u4e3a\u5b83\u7834\u574f\u4e86 Maven\u7684\u7ea6\u5b9a\uff0c\u800c\u4e14\u53ef\u80fd\u4f1a\u9047\u5230\u5176\u4ed6\u4e25\u683c\u9075\u5b88\u7ea6\u5b9a\u7684\u63d2\u4ef6\u5de5\u5177\u65e0\u6cd5\u6b63\u786e\u8bc6\u522b\u989d\u5916\u7684\u6e90\u7801\u76ee\u5f55\u3002\nbuild-helper-maven-plugin\u7684\u53e6\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u76ee\u6807\u662fattach-artifact\uff0c\u4f7f\u7528\u8be5\u76ee\u6807\u4f60\u53ef\u4ee5\u4ee5classifier\u7684\u5f62\u5f0f\u9009\u53d6\u90e8\u5206\u9879\u76ee\u6587\u4ef6\u751f\u6210\u9644\u5c5e\u6784\u4ef6\uff0c\u5e76\u540c\u65f6install\u5230\u672c\u5730\u4ed3\u5e93\uff0c\u4e5f\u53ef\u4ee5deploy\u5230\u8fdc\u7a0b\u4ed3\u5e93\u3002"),(0,t.yg)("h4",{id:"versions-maven-plugin"},"versions-maven-plugin"),(0,t.yg)("p",null,"\u5f88\u591aMaven\u7528\u6237\u9047\u5230\u8fc7\u8fd9\u6837\u4e00\u4e2a\u95ee\u9898\uff0c\u5f53\u9879\u76ee\u5305\u542b\u5927\u91cf\u6a21\u5757\u7684\u65f6\u5019\uff0c\u4e3a\u4ed6\u4eec\u96c6\u4f53\u66f4\u65b0\u7248\u672c\u5c31\u53d8\u6210\u4e00\u4ef6\u70e6\u4eba\u7684\u4e8b\u60c5\uff0c\u5230\u5e95\u6709\u6ca1\u6709\u81ea\u52a8\u5316\u5de5\u5177\u80fd\u5e2e\u52a9\u5b8c\u6210\u8fd9\u4ef6 \u4e8b\u60c5\u5462\uff1f\uff08\u5f53\u7136\u4f60\u53ef\u4ee5\u4f7f\u7528sed\u4e4b\u7c7b\u7684\u6587\u672c\u64cd\u4f5c\u5de5\u5177\uff0c\u4e0d\u8fc7\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\uff09\u7b54\u6848\u662f\u80af\u5b9a\u7684\uff0cversions-maven- plugin\u63d0\u4f9b\u4e86\u5f88\u591a\u76ee\u6807\u5e2e\u52a9\u4f60\u7ba1\u7406Maven\u9879\u76ee\u7684\u5404\u79cd\u7248\u672c\u4fe1\u606f\u3002\u4f8b\u5982\u6700\u5e38\u7528\u7684\uff0c\u547d\u4ee4 mvn versions:set -DnewVersion=1.1-SNAPSHOT \u5c31\u80fd\u5e2e\u52a9\u4f60\u628a\u6240\u6709\u6a21\u5757\u7684\u7248\u672c\u66f4\u65b0\u52301.1-SNAPSHOT\u3002\u8be5\u63d2\u4ef6\u8fd8\u63d0\u4f9b\u4e86\u5176\u4ed6\u4e00\u4e9b\u5f88\u6709\u7528\u7684\u76ee\u6807\uff0cdisplay-dependency- updates\u80fd\u544a\u8bc9\u4f60\u9879\u76ee\u4f9d\u8d56\u6709\u54ea\u4e9b\u53ef\u7528\u7684\u66f4\u65b0\uff1b\u7c7b\u4f3c\u7684display-plugin-updates\u80fd\u544a\u8bc9\u4f60\u53ef\u7528\u7684\u63d2\u4ef6\u66f4\u65b0\uff1b\u7136\u540euse- latest-versions\u80fd\u81ea\u52a8\u5e2e\u4f60\u5c06\u6240\u6709\u4f9d\u8d56\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\u3002\u6700\u540e\uff0c\u5982\u679c\u4f60\u5bf9\u6240\u505a\u7684\u66f4\u6539\u6ee1\u610f\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528 mvn versions:commit \u63d0\u4ea4\uff0c\u4e0d\u6ee1\u610f\u7684\u8bdd\u4e5f\u53ef\u4ee5\u4f7f\u7528 mvn versions:revert \u8fdb\u884c\u64a4\u9500\u3002"),(0,t.yg)("h4",{id:"git-commit-id-plugin"},"git-commit-id-plugin"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/mytt_10566/article/details/100116670"},"CSDN-Maven\u5b66\u4e60\u7b14\u8bb0 - git-commit-id-plugin\u63d2\u4ef6"))),(0,t.yg)("h4",{id:"jacoco-maven-plugin"},"jacoco-maven-plugin"),(0,t.yg)("p",null,"\u5728Maven\u9879\u76ee\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528jacoco-maven-plugin\u63d2\u4ef6\u6765\u751f\u6210\u4ee3\u7801\u8986\u76d6\u7387\u62a5\u544a\u3002Jacoco\u662f\u4e00\u79cd\u7528\u4e8e\u6d4b\u91cf\u4ee3\u7801\u8986\u76d6\u7387\u7684\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u751f\u6210\u8986\u76d6\u7387\u6570\u636e\u5e76\u5e2e\u52a9\u6211\u4eec\u627e\u51fa\u4ee3\u7801\u4e2d\u672a\u88ab\u6d4b\u8bd5\u7684\u90e8\u5206\u3002"),(0,t.yg)("p",null,(0,t.yg)("a",{parentName:"p",href:"https://developer.baidu.com/article/details/2778816"},"\u4f7f\u7528Maven\u63d2\u4ef6\uff08jacoco-maven-plugin\uff09\u751f\u6210\u4ee3\u7801\u8986\u76d6\u7387\u62a5\u544a")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1ea907ab.9ef8613a.js b/assets/js/1ea907ab.82dd5870.js similarity index 98% rename from assets/js/1ea907ab.9ef8613a.js rename to assets/js/1ea907ab.82dd5870.js index 6dabd44a1..7b9ab43cc 100644 --- a/assets/js/1ea907ab.9ef8613a.js +++ b/assets/js/1ea907ab.82dd5870.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3441],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),m=o,y=s["".concat(l,".").concat(m)]||s[m]||d[m]||a;return r?n.createElement(y,c(c({ref:t},u),{},{components:r})):n.createElement(y,c({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=m;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/C/extern-c",id:"study/program/C/extern-c",title:"extern-c",description:'extern "C"',source:"@site/docs/study/program/C/extern-c.md",sourceDirName:"study/program/C",slug:"/study/program/C/extern-c",permalink:"/docs/study/program/C/extern-c",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"cmake",permalink:"/docs/study/program/C/cmake"},next:{title:"make",permalink:"/docs/study/program/C/make"}},l={},p=[{value:"extern "C"",id:"extern-c",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"extern-c"},'extern "C"'),(0,o.yg)("p",null,'\u5176\u5b9e\u5c31\u662f C++\u6587\u4ef6\u4e3a\u4e86\u517c\u5bb9 C\uff0c\u88ab\u5934\u6587\u4ef6\u6807\u8bb0 extern "C"\u7684\u51fd\u6570\uff0c\u5982\u679c C++\u6587\u4ef6\u5b9e\u73b0\u4e86\u6b64\u51fd\u6570\uff0c\u662f\u9700\u8981\u88ab extern "C"{}\u5305\u88f9\u7684\u3002\u5982\u679c C \u6587\u4ef6\u5b9e\u73b0\uff0c\u662f\u4e0d\u9700\u8981\u5305\u88f9\u7684\u3002'),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/extern%20%22C%22/15267013?fr=ge_ala"},'\u767e\u5ea6\u767e\u79d1-extern "C"'))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3441],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),m=o,y=s["".concat(l,".").concat(m)]||s[m]||d[m]||a;return r?n.createElement(y,c(c({ref:t},u),{},{components:r})):n.createElement(y,c({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=m;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/C/extern-c",id:"study/program/C/extern-c",title:"extern-c",description:'extern "C"',source:"@site/docs/study/program/C/extern-c.md",sourceDirName:"study/program/C",slug:"/study/program/C/extern-c",permalink:"/docs/study/program/C/extern-c",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"cmake",permalink:"/docs/study/program/C/cmake"},next:{title:"make",permalink:"/docs/study/program/C/make"}},l={},p=[{value:"extern "C"",id:"extern-c",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"extern-c"},'extern "C"'),(0,o.yg)("p",null,'\u5176\u5b9e\u5c31\u662f C++\u6587\u4ef6\u4e3a\u4e86\u517c\u5bb9 C\uff0c\u88ab\u5934\u6587\u4ef6\u6807\u8bb0 extern "C"\u7684\u51fd\u6570\uff0c\u5982\u679c C++\u6587\u4ef6\u5b9e\u73b0\u4e86\u6b64\u51fd\u6570\uff0c\u662f\u9700\u8981\u88ab extern "C"{}\u5305\u88f9\u7684\u3002\u5982\u679c C \u6587\u4ef6\u5b9e\u73b0\uff0c\u662f\u4e0d\u9700\u8981\u5305\u88f9\u7684\u3002'),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/extern%20%22C%22/15267013?fr=ge_ala"},'\u767e\u5ea6\u767e\u79d1-extern "C"'))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1fa31a57.34ccb3d4.js b/assets/js/1fa31a57.241cca26.js similarity index 98% rename from assets/js/1fa31a57.34ccb3d4.js rename to assets/js/1fa31a57.241cca26.js index 9e0962e17..400658ec8 100644 --- a/assets/js/1fa31a57.34ccb3d4.js +++ b/assets/js/1fa31a57.241cca26.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4152],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>k});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),l=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(i.Provider,{value:r},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},f=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=d(e,["components","mdxType","originalType","parentName"]),p=l(t),f=a,k=p["".concat(i,".").concat(f)]||p[f]||s[f]||o;return t?n.createElement(k,c(c({ref:r},u),{},{components:t})):n.createElement(k,c({ref:r},u))}));function k(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,c=new Array(o);c[0]=f;var d={};for(var i in r)hasOwnProperty.call(r,i)&&(d[i]=r[i]);d.originalType=e,d[p]="string"==typeof e?e:a,c[1]=d;for(var l=2;l{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>s,frontMatter:()=>o,metadata:()=>d,toc:()=>l});var n=t(58168),a=(t(96540),t(15680));const o={},c=void 0,d={unversionedId:"study/docker/docker-kafka",id:"study/docker/docker-kafka",title:"docker-kafka",description:"docker kafka",source:"@site/docs/study/docker/docker-kafka.md",sourceDirName:"study/docker",slug:"/study/docker/docker-kafka",permalink:"/docs/study/docker/docker-kafka",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Docker\u7684\u4f7f\u7528\u603b\u7ed3",permalink:"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3"},next:{title:"docker-linux",permalink:"/docs/study/docker/docker-linux"}},i={},l=[{value:"docker kafka",id:"docker-kafka",level:3}],u={toc:l},p="wrapper";function s(e){let{components:r,...t}=e;return(0,a.yg)(p,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"docker-kafka"},"docker kafka"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull apache/kafka:3.7.0\n#\ndocker run -d \\\n-p 9092:9092 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n--name kafka-study \\\napache/kafka:3.7.0\n")))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4152],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>k});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),l=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(i.Provider,{value:r},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},f=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=d(e,["components","mdxType","originalType","parentName"]),p=l(t),f=a,k=p["".concat(i,".").concat(f)]||p[f]||s[f]||o;return t?n.createElement(k,c(c({ref:r},u),{},{components:t})):n.createElement(k,c({ref:r},u))}));function k(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,c=new Array(o);c[0]=f;var d={};for(var i in r)hasOwnProperty.call(r,i)&&(d[i]=r[i]);d.originalType=e,d[p]="string"==typeof e?e:a,c[1]=d;for(var l=2;l{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>s,frontMatter:()=>o,metadata:()=>d,toc:()=>l});var n=t(58168),a=(t(96540),t(15680));const o={},c=void 0,d={unversionedId:"study/docker/docker-kafka",id:"study/docker/docker-kafka",title:"docker-kafka",description:"docker kafka",source:"@site/docs/study/docker/docker-kafka.md",sourceDirName:"study/docker",slug:"/study/docker/docker-kafka",permalink:"/docs/study/docker/docker-kafka",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Docker\u7684\u4f7f\u7528\u603b\u7ed3",permalink:"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3"},next:{title:"docker-linux",permalink:"/docs/study/docker/docker-linux"}},i={},l=[{value:"docker kafka",id:"docker-kafka",level:3}],u={toc:l},p="wrapper";function s(e){let{components:r,...t}=e;return(0,a.yg)(p,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"docker-kafka"},"docker kafka"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull apache/kafka:3.7.0\n#\ndocker run -d \\\n-p 9092:9092 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n--name kafka-study \\\napache/kafka:3.7.0\n")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2015f8aa.114d4409.js b/assets/js/2015f8aa.6dcb8580.js similarity index 98% rename from assets/js/2015f8aa.114d4409.js rename to assets/js/2015f8aa.6dcb8580.js index 614eec6dc..1938bc3e3 100644 --- a/assets/js/2015f8aa.114d4409.js +++ b/assets/js/2015f8aa.6dcb8580.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2788],{15680:(e,t,n)=>{n.d(t,{xA:()=>l,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=r.createContext({}),u=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},l=function(e){var t=u(e.components);return r.createElement(s.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),p=u(n),y=o,f=p["".concat(s,".").concat(y)]||p[y]||d[y]||a;return n?r.createElement(f,i(i({ref:t},l),{},{components:n})):r.createElement(f,i({ref:t},l))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[p]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var r=n(58168),o=(n(96540),n(15680));const a={},i="Linux netns",c={unversionedId:"study/net/netns",id:"study/net/netns",title:"Linux netns",description:"\u53c2\u8003",source:"@site/docs/study/net/netns.md",sourceDirName:"study/net",slug:"/study/net/netns",permalink:"/docs/study/net/netns",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux iptables \u9632\u706b\u5899",permalink:"/docs/study/net/iptables"},next:{title:"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)",permalink:"/docs/study/net/p2p"}},s={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],l={toc:u},p="wrapper";function d(e){let{components:t,...n}=e;return(0,o.yg)(p,(0,r.A)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"linux-netns"},"Linux netns"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/293659403"},"Linux netns \u8be6\u89e3"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2788],{15680:(e,t,n)=>{n.d(t,{xA:()=>l,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=r.createContext({}),u=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},l=function(e){var t=u(e.components);return r.createElement(s.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),p=u(n),y=o,f=p["".concat(s,".").concat(y)]||p[y]||d[y]||a;return n?r.createElement(f,i(i({ref:t},l),{},{components:n})):r.createElement(f,i({ref:t},l))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[p]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var r=n(58168),o=(n(96540),n(15680));const a={},i="Linux netns",c={unversionedId:"study/net/netns",id:"study/net/netns",title:"Linux netns",description:"\u53c2\u8003",source:"@site/docs/study/net/netns.md",sourceDirName:"study/net",slug:"/study/net/netns",permalink:"/docs/study/net/netns",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux iptables \u9632\u706b\u5899",permalink:"/docs/study/net/iptables"},next:{title:"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)",permalink:"/docs/study/net/p2p"}},s={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],l={toc:u},p="wrapper";function d(e){let{components:t,...n}=e;return(0,o.yg)(p,(0,r.A)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"linux-netns"},"Linux netns"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/293659403"},"Linux netns \u8be6\u89e3"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2064198b.f935f8da.js b/assets/js/2064198b.15cb0ee4.js similarity index 99% rename from assets/js/2064198b.f935f8da.js rename to assets/js/2064198b.15cb0ee4.js index d8de8675c..42ae1dd0e 100644 --- a/assets/js/2064198b.f935f8da.js +++ b/assets/js/2064198b.15cb0ee4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[439],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var a=r(96540);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),u=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return a.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=n,m=s["".concat(l,".").concat(d)]||s[d]||y[d]||o;return r?a.createElement(m,c(c({ref:t},p),{},{components:r})):a.createElement(m,c({ref:t},p))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,c=new Array(o);c[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:n,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var a=r(58168),n=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",id:"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",title:"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",description:"Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60",source:"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60.md",sourceDirName:"study/back/\u6570\u636e\u5e93\u76f8\u5173",slug:"/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JPA-MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis"},next:{title:"MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis"}},l={},u=[{value:"Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60",id:"java-\u6570\u636e\u5e93\u8fde\u63a5\u6c60",level:3}],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,n.yg)(s,(0,a.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"java-\u6570\u636e\u5e93\u8fde\u63a5\u6c60"},"Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60"),(0,n.yg)("p",null,"\u662f\u7528\u4e8e\u7ba1\u7406\u6570\u636e\u5e93\u8fde\u63a5\u7684\u8f6f\u4ef6\u7ec4\u4ef6\uff0c\u5b83\u4eec\u63d0\u4f9b\u4e86\u8fde\u63a5\u7684\u521b\u5efa\u3001\u7ba1\u7406\u548c\u91ca\u653e\u7b49\u529f\u80fd\uff0c\u4ee5\u63d0\u9ad8\u6570\u636e\u5e93\u8bbf\u95ee\u7684\u6548\u7387\u548c\u6027\u80fd\u3002"),(0,n.yg)("p",null,"\u76ee\u524d\uff0c\u6d41\u884c\u7684 Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60\u5305\u62ec\uff1a"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"DBCP\uff1aDBCP \u662f Apache \u5f00\u6e90\u7ec4\u7ec7\u63d0\u4f9b\u7684\u8fde\u63a5\u6c60\u5b9e\u73b0\uff0c\u5b83\u76f4\u63a5\u4f9d\u8d56\u4e8e Jakarta commons-pool \u5bf9\u8c61\u6c60\u673a\u5236\u3002DBCP \u652f\u6301 JNDI \u6570\u636e\u6e90\u548c JDBC \u6570\u636e\u6e90\uff0c\u5e76\u4e14\u53ef\u4ee5\u76f4\u63a5\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u3002Tomcat \u7684\u6570\u636e\u6e90\u5c31\u662f\u4f7f\u7528\u7684 DBCP\u3002"),(0,n.yg)("li",{parentName:"ul"},"C3P0\uff1aC3P0 \u662f\u4e00\u4e2a\u8001\u724c\u7684 Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60\uff0c\u5b83\u5b9e\u73b0\u4e86 JDBC 3 \u548c JDBC 4 \u7684\u89c4\u8303\uff0c\u652f\u6301 JNDI \u6570\u636e\u6e90\u548c JDBC \u6570\u636e\u6e90\u3002C3P0 \u8fde\u63a5\u6c60\u53ef\u4ee5\u914d\u7f6e\u591a\u79cd\u53c2\u6570\u8fdb\u884c\u8c03\u4f18\uff0c\u5e76\u652f\u6301\u81ea\u52a8\u56de\u6536\u7a7a\u95f2\u8fde\u63a5\u3002"),(0,n.yg)("li",{parentName:"ul"},"HikariCP\uff1aHikariCP \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u3001\u9ad8\u6548\u7684\u8fde\u63a5\u6c60\uff0c\u5b83\u5728\u9ad8\u5e76\u53d1\u73af\u5883\u4e0b\u8868\u73b0\u51fa\u8272\u3002HikariCP \u652f\u6301 JNDI \u6570\u636e\u6e90\u548c JDBC \u6570\u636e\u6e90\uff0c\u5e76\u5177\u6709\u8d85\u65f6\u7ebf\u7a0b\u7b49\u914d\u7f6e\u53c2\u6570\u3002"),(0,n.yg)("li",{parentName:"ul"},"Tomcat-JDBC\uff1aTomcat-JDBC \u662f Tomcat \u670d\u52a1\u5668\u63d0\u4f9b\u7684 JDBC \u8fde\u63a5\u6c60\u5b9e\u73b0\uff0c\u5b83\u4e0e Tomcat \u670d\u52a1\u5668\u7d27\u5bc6\u96c6\u6210\uff0c\u9002\u7528\u4e8e Tomcat \u5e94\u7528\u573a\u666f\u3002"),(0,n.yg)("li",{parentName:"ul"},"Druid\uff1aDruid \u662f\u963f\u91cc\u5df4\u5df4\u5f00\u53d1\u7684\u6570\u636e\u5e93\u8fde\u63a5\u6c60\uff0c\u5b83\u652f\u6301 JNDI \u6570\u636e\u6e90\u548c JDBC \u6570\u636e\u6e90\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86\u5b9e\u65f6\u76d1\u63a7\u529f\u80fd\u3002Druid \u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u6570\u636e\u5e93\u8fde\u63a5\u6c60\uff0c\u5b83\u8fd8\u5305\u62ec\u4e00\u4e2a ProxyDriver\uff0c\u4e00\u7cfb\u5217\u5185\u7f6e\u7684 JDBC \u7ec4\u4ef6\u5e93\uff0c\u4e00\u4e2a SQL Parser\u3002\u5b83\u652f\u6301\u6240\u6709 JDBC \u517c\u5bb9\u7684\u6570\u636e\u5e93\uff0c\u5305\u62ec Oracle\u3001MySQL\u3001Derby\u3001PostgreSQL\u3001SQL Server\u3001H2 \u7b49\uff0c\u5e76\u5bf9 Oracle \u548c MySQL \u505a\u4e86\u7279\u522b\u4f18\u5316\u3002")),(0,n.yg)("p",null,"\u4ee5\u4e0a\u8fde\u63a5\u6c60\u5404\u6709\u7279\u70b9\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u548c\u6570\u636e\u5e93\u7c7b\u578b\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[439],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var a=r(96540);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=a.createContext({}),u=function(e){var t=a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return a.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=n,m=s["".concat(l,".").concat(d)]||s[d]||y[d]||o;return r?a.createElement(m,c(c({ref:t},p),{},{components:r})):a.createElement(m,c({ref:t},p))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,c=new Array(o);c[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:n,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var a=r(58168),n=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",id:"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",title:"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",description:"Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60",source:"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60.md",sourceDirName:"study/back/\u6570\u636e\u5e93\u76f8\u5173",slug:"/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JPA-MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis"},next:{title:"MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis"}},l={},u=[{value:"Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60",id:"java-\u6570\u636e\u5e93\u8fde\u63a5\u6c60",level:3}],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,n.yg)(s,(0,a.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"java-\u6570\u636e\u5e93\u8fde\u63a5\u6c60"},"Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60"),(0,n.yg)("p",null,"\u662f\u7528\u4e8e\u7ba1\u7406\u6570\u636e\u5e93\u8fde\u63a5\u7684\u8f6f\u4ef6\u7ec4\u4ef6\uff0c\u5b83\u4eec\u63d0\u4f9b\u4e86\u8fde\u63a5\u7684\u521b\u5efa\u3001\u7ba1\u7406\u548c\u91ca\u653e\u7b49\u529f\u80fd\uff0c\u4ee5\u63d0\u9ad8\u6570\u636e\u5e93\u8bbf\u95ee\u7684\u6548\u7387\u548c\u6027\u80fd\u3002"),(0,n.yg)("p",null,"\u76ee\u524d\uff0c\u6d41\u884c\u7684 Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60\u5305\u62ec\uff1a"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"DBCP\uff1aDBCP \u662f Apache \u5f00\u6e90\u7ec4\u7ec7\u63d0\u4f9b\u7684\u8fde\u63a5\u6c60\u5b9e\u73b0\uff0c\u5b83\u76f4\u63a5\u4f9d\u8d56\u4e8e Jakarta commons-pool \u5bf9\u8c61\u6c60\u673a\u5236\u3002DBCP \u652f\u6301 JNDI \u6570\u636e\u6e90\u548c JDBC \u6570\u636e\u6e90\uff0c\u5e76\u4e14\u53ef\u4ee5\u76f4\u63a5\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u3002Tomcat \u7684\u6570\u636e\u6e90\u5c31\u662f\u4f7f\u7528\u7684 DBCP\u3002"),(0,n.yg)("li",{parentName:"ul"},"C3P0\uff1aC3P0 \u662f\u4e00\u4e2a\u8001\u724c\u7684 Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60\uff0c\u5b83\u5b9e\u73b0\u4e86 JDBC 3 \u548c JDBC 4 \u7684\u89c4\u8303\uff0c\u652f\u6301 JNDI \u6570\u636e\u6e90\u548c JDBC \u6570\u636e\u6e90\u3002C3P0 \u8fde\u63a5\u6c60\u53ef\u4ee5\u914d\u7f6e\u591a\u79cd\u53c2\u6570\u8fdb\u884c\u8c03\u4f18\uff0c\u5e76\u652f\u6301\u81ea\u52a8\u56de\u6536\u7a7a\u95f2\u8fde\u63a5\u3002"),(0,n.yg)("li",{parentName:"ul"},"HikariCP\uff1aHikariCP \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u3001\u9ad8\u6548\u7684\u8fde\u63a5\u6c60\uff0c\u5b83\u5728\u9ad8\u5e76\u53d1\u73af\u5883\u4e0b\u8868\u73b0\u51fa\u8272\u3002HikariCP \u652f\u6301 JNDI \u6570\u636e\u6e90\u548c JDBC \u6570\u636e\u6e90\uff0c\u5e76\u5177\u6709\u8d85\u65f6\u7ebf\u7a0b\u7b49\u914d\u7f6e\u53c2\u6570\u3002"),(0,n.yg)("li",{parentName:"ul"},"Tomcat-JDBC\uff1aTomcat-JDBC \u662f Tomcat \u670d\u52a1\u5668\u63d0\u4f9b\u7684 JDBC \u8fde\u63a5\u6c60\u5b9e\u73b0\uff0c\u5b83\u4e0e Tomcat \u670d\u52a1\u5668\u7d27\u5bc6\u96c6\u6210\uff0c\u9002\u7528\u4e8e Tomcat \u5e94\u7528\u573a\u666f\u3002"),(0,n.yg)("li",{parentName:"ul"},"Druid\uff1aDruid \u662f\u963f\u91cc\u5df4\u5df4\u5f00\u53d1\u7684\u6570\u636e\u5e93\u8fde\u63a5\u6c60\uff0c\u5b83\u652f\u6301 JNDI \u6570\u636e\u6e90\u548c JDBC \u6570\u636e\u6e90\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86\u5b9e\u65f6\u76d1\u63a7\u529f\u80fd\u3002Druid \u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u6570\u636e\u5e93\u8fde\u63a5\u6c60\uff0c\u5b83\u8fd8\u5305\u62ec\u4e00\u4e2a ProxyDriver\uff0c\u4e00\u7cfb\u5217\u5185\u7f6e\u7684 JDBC \u7ec4\u4ef6\u5e93\uff0c\u4e00\u4e2a SQL Parser\u3002\u5b83\u652f\u6301\u6240\u6709 JDBC \u517c\u5bb9\u7684\u6570\u636e\u5e93\uff0c\u5305\u62ec Oracle\u3001MySQL\u3001Derby\u3001PostgreSQL\u3001SQL Server\u3001H2 \u7b49\uff0c\u5e76\u5bf9 Oracle \u548c MySQL \u505a\u4e86\u7279\u522b\u4f18\u5316\u3002")),(0,n.yg)("p",null,"\u4ee5\u4e0a\u8fde\u63a5\u6c60\u5404\u6709\u7279\u70b9\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u548c\u6570\u636e\u5e93\u7c7b\u578b\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/20ecba9b.6f208cc5.js b/assets/js/20ecba9b.df685820.js similarity index 99% rename from assets/js/20ecba9b.6f208cc5.js rename to assets/js/20ecba9b.df685820.js index f278abac9..1bd7925fb 100644 --- a/assets/js/20ecba9b.6f208cc5.js +++ b/assets/js/20ecba9b.df685820.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5779],{15680:(e,n,r)=>{r.d(n,{xA:()=>p,yg:()=>g});var t=r(96540);function c(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function a(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function o(e){for(var n=1;n=0||(c[r]=e[r]);return c}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}var s=t.createContext({}),d=function(e){var n=t.useContext(s),r=n;return e&&(r="function"==typeof e?e(n):o(o({},n),e)),r},p=function(e){var n=d(e.components);return t.createElement(s.Provider,{value:n},e.children)},i="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},m=t.forwardRef((function(e,n){var r=e.components,c=e.mdxType,a=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),i=d(r),m=c,g=i["".concat(s,".").concat(m)]||i[m]||u[m]||a;return r?t.createElement(g,o(o({ref:n},p),{},{components:r})):t.createElement(g,o({ref:n},p))}));function g(e,n){var r=arguments,c=n&&n.mdxType;if("string"==typeof e||c){var a=r.length,o=new Array(a);o[0]=m;var l={};for(var s in n)hasOwnProperty.call(n,s)&&(l[s]=n[s]);l.originalType=e,l[i]="string"==typeof e?e:c,o[1]=l;for(var d=2;d{r.r(n),r.d(n,{assets:()=>s,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>d});var t=r(58168),c=(r(96540),r(15680));const a={},o=void 0,l={unversionedId:"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3",id:"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3",title:"Docker\u7684\u4f7f\u7528\u603b\u7ed3",description:"1. Docker \u5b98\u65b9\u4ed3\u5e93 \xa0https://hub.docker.com",source:"@site/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3.md",sourceDirName:"study/docker",slug:"/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3",permalink:"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Dockerfile\u4f7f\u7528\u8be6\u89e3",permalink:"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3"},next:{title:"docker-kafka",permalink:"/docs/study/docker/docker-kafka"}},s={},d=[{value:"\u4fee\u6539\u955c\u50cf\u6e90",id:"\u4fee\u6539\u955c\u50cf\u6e90",level:3},{value:"\u5e38\u7528\u547d\u4ee4\u5927\u5168",id:"\u5e38\u7528\u547d\u4ee4\u5927\u5168",level:3},{value:"\u83b7\u53d6\u67d0\u4e2a docker \u5bb9\u5668\u7684 IP \u5730\u5740",id:"\u83b7\u53d6\u67d0\u4e2a-docker-\u5bb9\u5668\u7684-ip-\u5730\u5740",level:3},{value:"\u5bb9\u5668\u81ea\u52a8\u542f\u52a8",id:"\u5bb9\u5668\u81ea\u52a8\u542f\u52a8",level:3},{value:"\u5bb9\u5668\u65f6\u533a\u95ee\u9898",id:"\u5bb9\u5668\u65f6\u533a\u95ee\u9898",level:3},{value:"\u67e5\u770b\u548c\u6e05\u9664\u5bb9\u5668\u65e5\u5fd7",id:"\u67e5\u770b\u548c\u6e05\u9664\u5bb9\u5668\u65e5\u5fd7",level:3},{value:"\u7248\u672c\u592a\u4f4e \u9700\u8981\u5347\u7ea7",id:"\u7248\u672c\u592a\u4f4e-\u9700\u8981\u5347\u7ea7",level:3},{value:"run\u540e\u4fdd\u6301\u8fd0\u884c\u72b6\u6001",id:"run\u540e\u4fdd\u6301\u8fd0\u884c\u72b6\u6001",level:3},{value:"\u7ed1\u5b9a\u968f\u673a\u7aef\u53e3",id:"\u7ed1\u5b9a\u968f\u673a\u7aef\u53e3",level:3},{value:"dcoker save/load \u4fdd\u5b58\u548c\u52a0\u8f7d\u955c\u50cf",id:"dcoker-saveload-\u4fdd\u5b58\u548c\u52a0\u8f7d\u955c\u50cf",level:3},{value:"docker export/import \u5bfc\u51fa\u548c\u5bfc\u5165\u5bb9\u5668",id:"docker-exportimport-\u5bfc\u51fa\u548c\u5bfc\u5165\u5bb9\u5668",level:3},{value:"Linux\u4fee\u6539\u7f51\u7edc\u540e\uff0c\u5bfc\u81f4Docker\u5bb9\u5668\u7f51\u7edc\u51fa\u73b0\u95ee\u9898",id:"linux\u4fee\u6539\u7f51\u7edc\u540e\u5bfc\u81f4docker\u5bb9\u5668\u7f51\u7edc\u51fa\u73b0\u95ee\u9898",level:3},{value:"Docker\u5bb9\u5668\u751f\u6210\u955c\u50cf",id:"docker\u5bb9\u5668\u751f\u6210\u955c\u50cf",level:3},{value:"\u5220\u9664\u51e0\u5929\u4e4b\u524d\u7684\u5bb9\u5668",id:"\u5220\u9664\u51e0\u5929\u4e4b\u524d\u7684\u5bb9\u5668",level:3},{value:"\u672a\u8fd0\u884c\u7684\u5bb9\u5668\u4e2d\u7684\u6587\u4ef6\u4fee\u6539",id:"\u672a\u8fd0\u884c\u7684\u5bb9\u5668\u4e2d\u7684\u6587\u4ef6\u4fee\u6539",level:3},{value:"\u8bbe\u7f6ecpu\u6570\u91cf\u4ee5\u53ca\u5185\u5b58\u5927\u5c0f",id:"\u8bbe\u7f6ecpu\u6570\u91cf\u4ee5\u53ca\u5185\u5b58\u5927\u5c0f",level:3},{value:"\u6e05\u7406\u5bb9\u5668\u548c\u955c\u50cf",id:"\u6e05\u7406\u5bb9\u5668\u548c\u955c\u50cf",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:d},i="wrapper";function u(e){let{components:n,...a}=e;return(0,c.yg)(i,(0,t.A)({},p,a,{components:n,mdxType:"MDXLayout"}),(0,c.yg)("ol",null,(0,c.yg)("li",{parentName:"ol"},"Docker \u5b98\u65b9\u4ed3\u5e93 \xa0",(0,c.yg)("a",{parentName:"li",href:"https://hub.docker.com"},"https://hub.docker.com")),(0,c.yg)("li",{parentName:"ol"},"\u811a\u672c\u641c\u7d22\u7248\u672c\u53f7 \xa0",(0,c.yg)("a",{parentName:"li",href:"https://blog.csdn.net/CodyGuo/article/details/86515354"},"docker-tags"))),(0,c.yg)("h3",{id:"\u4fee\u6539\u955c\u50cf\u6e90"},"\u4fee\u6539\u955c\u50cf\u6e90"),(0,c.yg)("p",null,"/etc/docker/daemon.json"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-json"},'{\n "registry-mirrors": ["https://registry.docker-cn.com", "http://hub-mirror.c.163.com", "https://docker.mirrors.ustc.edu.cn"]\n}\n')),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker info | grep Reg\n")),(0,c.yg)("h3",{id:"\u5e38\u7528\u547d\u4ee4\u5927\u5168"},"\u5e38\u7528\u547d\u4ee4\u5927\u5168"),(0,c.yg)("p",null,"docker --help"),(0,c.yg)("p",null,(0,c.yg)("img",{alt:"1.png",src:r(83579).A,width:"750",height:"538"})),(0,c.yg)("h3",{id:"\u83b7\u53d6\u67d0\u4e2a-docker-\u5bb9\u5668\u7684-ip-\u5730\u5740"},"\u83b7\u53d6\u67d0\u4e2a docker \u5bb9\u5668\u7684 IP \u5730\u5740"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id\n")),(0,c.yg)("h3",{id:"\u5bb9\u5668\u81ea\u52a8\u542f\u52a8"},"\u5bb9\u5668\u81ea\u52a8\u542f\u52a8"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker run --restart=always\n#no - \u5bb9\u5668\u9000\u51fa\u65f6\uff0c\u4e0d\u91cd\u542f\u5bb9\u5668\uff1b\n#on-failure - \u53ea\u6709\u5728\u975e0\u72b6\u6001\u9000\u51fa\u65f6\u624d\u4ece\u65b0\u542f\u52a8\u5bb9\u5668\uff1b\n#always - \u65e0\u8bba\u9000\u51fa\u72b6\u6001\u662f\u5982\u4f55\uff0c\u90fd\u91cd\u542f\u5bb9\u5668\uff1b\n#\u5982\u679c\u521b\u5efa\u65f6\u672a\u6307\u5b9a --restart=always ,\u53ef\u901a\u8fc7update \u547d\u4ee4\ndocker update --restart=always container_name_or_id\ndocker update --restart=no container_name_or_id\n")),(0,c.yg)("h3",{id:"\u5bb9\u5668\u65f6\u533a\u95ee\u9898"},"\u5bb9\u5668\u65f6\u533a\u95ee\u9898"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"# \u521b\u5efa\u5bb9\u5668\u7684\u65f6\u5019\u52a0\u4e0a\u8fd9\u4e2a\u53c2\u6570 \u4f1a\u8ba9\u5bb9\u5668\u91c7\u7528\u5bbf\u4e3b\u673a\u7684\u65f6\u533a\n-v /etc/localtime:/etc/localtime\n")),(0,c.yg)("h3",{id:"\u67e5\u770b\u548c\u6e05\u9664\u5bb9\u5668\u65e5\u5fd7"},"\u67e5\u770b\u548c\u6e05\u9664\u5bb9\u5668\u65e5\u5fd7"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\nls -lh $(find /var/lib/docker/containers/ -name *-json.log)\n#\ntruncate -s 0 /var/lib/docker/containers/*/*-json.log\n#\u7528\u4e8e\u67e5\u770bDocker\u7684\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5\ndocker system df\n#\u7528\u4e8e\u67e5\u770bDocker\u7684\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5 \u8be6\u7ec6\u60c5\u51b5\ndocker system df -v\n#\u7528\u4e8e\u6e05\u7406\u78c1\u76d8\uff0c\u5220\u9664\u5173\u95ed\u7684\u5bb9\u5668\u3001\u65e0\u7528\u7684\u6570\u636e\u5377\u548c\u7f51\u7edc\uff0c\u4ee5\u53cadangling\u955c\u50cf\uff08\u5373\u65e0tag\u7684\u955c\u50cf\uff09\ndocker system prune\n#\u6e05\u7406\u5f97\u66f4\u52a0\u5f7b\u5e95\uff0c\u53ef\u4ee5\u5c06\u6ca1\u6709\u5bb9\u5668\u4f7f\u7528Docker\u955c\u50cf\u90fd\u5220\u6389\u3002\ndocker system prune -a\n")),(0,c.yg)("h3",{id:"\u7248\u672c\u592a\u4f4e-\u9700\u8981\u5347\u7ea7"},"\u7248\u672c\u592a\u4f4e \u9700\u8981\u5347\u7ea7"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'# docker build \u62a5\u9519\u5982\u4e0b\nis not a valid repository/tag: invalid reference format\n# \u68c0\u67e5\u7248\u672c docker \u7248\u672c\u592a\u4f4e\ndocker version\n\n\n# \u5378\u8f7d\u65e7\u7248\u672c\nyum -y remove docker*\n# \u5b89\u88c5\u9700\u8981\u7684\u8f6f\u4ef6\u5305\uff0c yum-util \u63d0\u4f9byum-config-manager\u529f\u80fd\uff0c\u53e6\u5916\u4e24\u4e2a\u662fdevicemapper\u9a71\u52a8\u4f9d\u8d56\u7684\nsudo yum install -y yum-utils\n# \u8bbe\u7f6eyum\u6e90\nyum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo\n# \u5b89\u88c5docker\nyum install docker-ce docker-ce-cli containerd.io\n# \u914d\u7f6e\u56fd\u5185docker\u955c\u50cf\u6e90\nmkdir -p /etc/docker\ntee /etc/docker/daemon.json <<-\'EOF\'\n{\n "registry-mirrors": [\n "https://kfwkfulq.mirror.aliyuncs.com",\n "https://2lqq34jg.mirror.aliyuncs.com",\n "https://pee6w651.mirror.aliyuncs.com",\n "https://registry.docker-cn.com",\n "http://hub-mirror.c.163.com"\n ],\n "dns": ["8.8.8.8","8.8.4.4"]\n}\nEOF\n# \u91cd\u542fdocker\nsystemctl daemon-reload\nsystemctl restart docker\n# \u9a8c\u8bc1docker\u7248\u672c\ndocker version\n')),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'#!/bin/bash\n\necho "stop docker"\nsystemctl stop docker\n\n\necho "uninstall rpm docker"\nrpm -e --nodeps --docfiles docker-ce-rootless-extras-26.0.0-1.el7.aarch64\nrpm -e --nodeps --docfiles docker-ce-26.0.0-1.el7.aarch64\nrpm -e --nodeps --docfiles docker-ce-cli-26.0.0-1.el7.aarch64\nrpm -e --nodeps --docfiles docker-buildx-plugin-0.13.1-1.el7.aarch64\nrpm -e --nodeps --docfiles containerd.io-1.6.28-3.2.el7.aarch64\n\necho "rm -rf /opt/containerd /var/lib/containerd /var/lib/docker"\nrm -rf /opt/containerd\nrm -rf /var/lib/containerd\nrm -rf /var/lib/docker\n\necho "success"\n')),(0,c.yg)("h3",{id:"run\u540e\u4fdd\u6301\u8fd0\u884c\u72b6\u6001"},"run\u540e\u4fdd\u6301\u8fd0\u884c\u72b6\u6001"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker run -tid \\\n--privileged=true \\\n--name test-ubuntu \\\nubuntu\n#\ndocker run -tid \\\n--privileged=true \\\n--name test-nginx \\\nnginx:stable-alpine3.17-slim\n")),(0,c.yg)("h3",{id:"\u7ed1\u5b9a\u968f\u673a\u7aef\u53e3"},"\u7ed1\u5b9a\u968f\u673a\u7aef\u53e3"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker run -tid \\\n-p :80 \\\n--privileged=true \\\n--name test-ubuntu \\\nubuntu\n# \u91cd\u542f\u4e4b\u540e \u968f\u673a\u7684\u7aef\u53e3\u4f1a\u6362\u6389\ndocker port test-ubuntu\n# \u91cd\u542f\u4e4b\u540e \u968f\u673a\u7684\u7aef\u53e3\u4f1a\u6362\u6389\ndocker restart test-ubuntu\n# \u91cd\u542f\u4e4b\u540e \u968f\u673a\u7684\u7aef\u53e3\u4f1a\u6362\u6389\ndocker port test-ubuntu\n")),(0,c.yg)("h3",{id:"dcoker-saveload-\u4fdd\u5b58\u548c\u52a0\u8f7d\u955c\u50cf"},"dcoker save/load \u4fdd\u5b58\u548c\u52a0\u8f7d\u955c\u50cf"),(0,c.yg)("p",null,"\u5bf9\u955c\u50cf\u7684\u4fdd\u5b58\u548c\u52a0\u8f7d"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker load < xx.tar.xz\n")),(0,c.yg)("h3",{id:"docker-exportimport-\u5bfc\u51fa\u548c\u5bfc\u5165\u5bb9\u5668"},"docker export/import \u5bfc\u51fa\u548c\u5bfc\u5165\u5bb9\u5668"),(0,c.yg)("p",null,"\u5bf9\u5bb9\u5668\u7684\u5bfc\u51fa\u548c\u5bfc\u5165"),(0,c.yg)("h3",{id:"linux\u4fee\u6539\u7f51\u7edc\u540e\u5bfc\u81f4docker\u5bb9\u5668\u7f51\u7edc\u51fa\u73b0\u95ee\u9898"},"Linux\u4fee\u6539\u7f51\u7edc\u540e\uff0c\u5bfc\u81f4Docker\u5bb9\u5668\u7f51\u7edc\u51fa\u73b0\u95ee\u9898"),(0,c.yg)("ul",null,(0,c.yg)("li",{parentName:"ul"},(0,c.yg)("a",{parentName:"li",href:"https://blog.csdn.net/m0_61230499/article/details/137916082"},"csdn-Linux\u91cd\u542f\u7f51\u7edc\u540e\u5bfc\u81f4\u5bb9\u5668\u7f51\u7edc\u65e0\u6cd5\u8fde\u63a5\u7684\u89e3\u51b3\u529e\u6cd5"))),(0,c.yg)("h3",{id:"docker\u5bb9\u5668\u751f\u6210\u955c\u50cf"},"Docker\u5bb9\u5668\u751f\u6210\u955c\u50cf"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'docker commit -m="\u63cf\u8ff0\u4fe1\u606f" -a="\u4f5c\u8005" \u5bb9\u5668id \u76ee\u6807\u955c\u50cf\u540d\uff1a [TAG]\n\n')),(0,c.yg)("p",null,"\u4e5f\u53ef\u4ee5\u7528\u4e8e\u5bb9\u5668\u7aef\u53e3\u4fee\u6539\uff0c\u5148\u628a\u5bb9\u5668\u751f\u6210\u955c\u50cf\uff0c\u7136\u540e\u518d\u6839\u636e\u955c\u50cf\u91cd\u65b0\u521b\u5efa\u5bb9\u5668"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'# \u7ed9\u5bb9\u5668\u5f00\u653e\u65b0\u7684\u7aef\u53e3 \u53c2\u8003\u6d41\u7a0b \u53c2\u8003\u5440 \u6709\u4e9b\u53c2\u6570\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u81ea\u5df1\u6539\u4e00\u4e0b\n####################### 1 \u62ff\u5230\u8981\u6539\u7684\u5bb9\u5668\u7684\u4fe1\u606f xxx\u81ea\u5df1\u586b\ndocker ps | grep xxx\n# \u5c06\u5f97\u5230\u4ee5\u4e0b\u4fe1\u606f\ndf4e7ec48125 ccsp-pki-openeuler-x86:3.3.2.8.12 "/bin/bash -c \'sh /o\u2026" 2 minutes ago Up About a minute 10.0.101.57:20000->20000/tcp, 10.0.101.57:20003->20002/tcp, 10.0.101.57:20001->20004/tcp, 10.0.101.57:20002->20005/tcp ccsp-pki-7034940635376781061\n####################### 2 \u751f\u6210\u955c\u50cf \u3010ccsp-pki-7034940635376781061\u3011\u4e3a\u6b65\u9aa4\u4e00\u5f97\u5230\u7684\u4fe1\u606f\ndocker commit -m="test" -a="weic" ccsp-pki-7034940635376781061 pkitest:weic\n####################### 3 \u505c\u6b62\u5e76\u6539\u540d\u8001\u7684 \u3010ccsp-pki-7034940635376781061\u3011\u4e3a\u6b65\u9aa4\u4e00\u5f97\u5230\u7684\u4fe1\u606f\ndocker stop ccsp-pki-7034940635376781061\ndocker rename ccsp-pki-7034940635376781061 ccsp-pki-7034940635376781061-bak\n####################### 4 IP\u5f97\u6539 \u524d\u540e\u4e24\u4e2a\u7aef\u53e3\u5f97\u6539 \u9ed8\u8ba42\u68384g \u589e\u52a0\u81ea\u5df1\u8981\u66b4\u6f0f\u7684\u7aef\u53e3 \u7aef\u53e3\u6620\u5c04\u53c2\u8003\u6b65\u9aa4\u4e00\u7684\u4fe1\u606f\uff0c\u4e0d\u80fd\u9519\u4e86\ndocker run \\\n-td \\\n-p 10.0.101.57:20000:20000 \\\n-p 10.0.101.57:20003:20002 \\\n-p 10.0.101.57:20001:20004 \\\n-p 10.0.101.57:20002:20005 \\\n-p 10.0.101.57:5115:5115 \\\n--cpus 2 \\\n--memory 4g \\\n--name ccsp-pki-7034940635376781061 \\\npkitest:weic \\\n/bin/bash -c "sh /opt/sansec/ccsp/startService.sh&bash"\n')),(0,c.yg)("p",null,"\u5feb\u901f\u542f\u52a8"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'docker run \\\n-td \\\n7e194fa07d77 \\\n/bin/bash -c "sh /opt/sansec/ccsp/startService.sh&bash"\n')),(0,c.yg)("p",null,"\u4fee\u6539shmsize \u5171\u4eab\u5185\u5b58"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'fbaabf1d7e74 ccsp-tsc-openeuler-x86:3.3.1.3 "/bin/bash -c \'sh /o\u2026" 4 minutes ago Up 4 minutes 10.0.101.146:26501->8011/tcp, 10.0.101.146:26502->8099/tcp ccsp-tsc-6745104769515389829\n#\ndocker commit -m="test" -a="weic" ccsp-tsc-6745104769515389829 tsctest:shmsize-1\n#\ndocker stop ccsp-tsc-6745104769515389829\n#\ndocker run \\\n-td \\\n--shm-size 1gb \\\n-p 10.0.101.146:26501:8011 \\\n-p 10.0.101.146:26502:8099 \\\n--name ccsp-tsc-6745104769515389829-c \\\ntsctest:shmsize-1 \\\n/bin/bash -c "sh /opt/sansec/ccsp/startService.sh&bash"\n\ndocker run \\\n-td \\\n--name ccsp-tsc-6745104769515389829-c \\\ntsctest:shmsize-1 \\\n/bin/bash -c "sh /opt/sansec/ccsp/startService.sh&bash"\n')),(0,c.yg)("h3",{id:"\u5220\u9664\u51e0\u5929\u4e4b\u524d\u7684\u5bb9\u5668"},"\u5220\u9664\u51e0\u5929\u4e4b\u524d\u7684\u5bb9\u5668"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#!/bin/bash\n\n# \u8bbe\u7f6e\u5929\u6570\u9608\u503c\ndays=2\n \n# \u627e\u5230\u521b\u5efa\u65f6\u95f4\u5728\u51e0\u5929\u524d\u7684\u5bb9\u5668ID\ncontainer_ids=$(docker ps --format '{{.ID}} {{.CreatedAt}}' | awk -v days_ago=$days '$2 < \"'$(date -d \"$days days ago\" +'%Y-%m-%d')'\"' | cut -d ' ' -f1)\n \n# \u5220\u9664\u8fd9\u4e9b\u5bb9\u5668\ndocker rm -f $container_ids\n")),(0,c.yg)("h3",{id:"\u672a\u8fd0\u884c\u7684\u5bb9\u5668\u4e2d\u7684\u6587\u4ef6\u4fee\u6539"},"\u672a\u8fd0\u884c\u7684\u5bb9\u5668\u4e2d\u7684\u6587\u4ef6\u4fee\u6539"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5148copy\u51fa\u6765\ndocker cp {containerID}:/xxx/xxx ./xxx\n# \u4fee\u6539\u5b8c\u4e4b\u540e \u5728copy\u8fdb\u53bb\ndocker cp ./xxx {containerID}:/xxx/xxx\n")),(0,c.yg)("h3",{id:"\u8bbe\u7f6ecpu\u6570\u91cf\u4ee5\u53ca\u5185\u5b58\u5927\u5c0f"},"\u8bbe\u7f6ecpu\u6570\u91cf\u4ee5\u53ca\u5185\u5b58\u5927\u5c0f"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker update --cpus 4 --memory 8g {\u5bb9\u5668\u540d\u79f0\u6216ID}\n")),(0,c.yg)("h3",{id:"\u6e05\u7406\u5bb9\u5668\u548c\u955c\u50cf"},"\u6e05\u7406\u5bb9\u5668\u548c\u955c\u50cf"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"\n# \u505c\u6b62\u6240\u6709\u6b63\u5728\u8fd0\u884c\u7684\u5bb9\u5668\ndocker stop $(docker ps -aq)\n \n# \u5220\u9664\u6240\u6709\u5bb9\u5668\ndocker rm $(docker ps -aq)\n \n# \u5220\u9664\u6240\u6709\u955c\u50cf\ndocker rmi $(docker images -q)\n")),(0,c.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,c.yg)("p",null,(0,c.yg)("a",{parentName:"p",href:"https://developer.aliyun.com/article/272173"},"\u53c2\u8003 1")))}u.isMDXComponent=!0},83579:(e,n,r)=>{r.d(n,{A:()=>t});const t=r.p+"assets/images/1-b23594a1c043f6f3f2961f17d876ef47.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5779],{15680:(e,n,r)=>{r.d(n,{xA:()=>p,yg:()=>g});var t=r(96540);function c(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function a(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function o(e){for(var n=1;n=0||(c[r]=e[r]);return c}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}var s=t.createContext({}),d=function(e){var n=t.useContext(s),r=n;return e&&(r="function"==typeof e?e(n):o(o({},n),e)),r},p=function(e){var n=d(e.components);return t.createElement(s.Provider,{value:n},e.children)},i="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},m=t.forwardRef((function(e,n){var r=e.components,c=e.mdxType,a=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),i=d(r),m=c,g=i["".concat(s,".").concat(m)]||i[m]||u[m]||a;return r?t.createElement(g,o(o({ref:n},p),{},{components:r})):t.createElement(g,o({ref:n},p))}));function g(e,n){var r=arguments,c=n&&n.mdxType;if("string"==typeof e||c){var a=r.length,o=new Array(a);o[0]=m;var l={};for(var s in n)hasOwnProperty.call(n,s)&&(l[s]=n[s]);l.originalType=e,l[i]="string"==typeof e?e:c,o[1]=l;for(var d=2;d{r.r(n),r.d(n,{assets:()=>s,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>d});var t=r(58168),c=(r(96540),r(15680));const a={},o=void 0,l={unversionedId:"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3",id:"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3",title:"Docker\u7684\u4f7f\u7528\u603b\u7ed3",description:"1. Docker \u5b98\u65b9\u4ed3\u5e93 \xa0https://hub.docker.com",source:"@site/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3.md",sourceDirName:"study/docker",slug:"/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3",permalink:"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Dockerfile\u4f7f\u7528\u8be6\u89e3",permalink:"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3"},next:{title:"docker-kafka",permalink:"/docs/study/docker/docker-kafka"}},s={},d=[{value:"\u4fee\u6539\u955c\u50cf\u6e90",id:"\u4fee\u6539\u955c\u50cf\u6e90",level:3},{value:"\u5e38\u7528\u547d\u4ee4\u5927\u5168",id:"\u5e38\u7528\u547d\u4ee4\u5927\u5168",level:3},{value:"\u83b7\u53d6\u67d0\u4e2a docker \u5bb9\u5668\u7684 IP \u5730\u5740",id:"\u83b7\u53d6\u67d0\u4e2a-docker-\u5bb9\u5668\u7684-ip-\u5730\u5740",level:3},{value:"\u5bb9\u5668\u81ea\u52a8\u542f\u52a8",id:"\u5bb9\u5668\u81ea\u52a8\u542f\u52a8",level:3},{value:"\u5bb9\u5668\u65f6\u533a\u95ee\u9898",id:"\u5bb9\u5668\u65f6\u533a\u95ee\u9898",level:3},{value:"\u67e5\u770b\u548c\u6e05\u9664\u5bb9\u5668\u65e5\u5fd7",id:"\u67e5\u770b\u548c\u6e05\u9664\u5bb9\u5668\u65e5\u5fd7",level:3},{value:"\u7248\u672c\u592a\u4f4e \u9700\u8981\u5347\u7ea7",id:"\u7248\u672c\u592a\u4f4e-\u9700\u8981\u5347\u7ea7",level:3},{value:"run\u540e\u4fdd\u6301\u8fd0\u884c\u72b6\u6001",id:"run\u540e\u4fdd\u6301\u8fd0\u884c\u72b6\u6001",level:3},{value:"\u7ed1\u5b9a\u968f\u673a\u7aef\u53e3",id:"\u7ed1\u5b9a\u968f\u673a\u7aef\u53e3",level:3},{value:"dcoker save/load \u4fdd\u5b58\u548c\u52a0\u8f7d\u955c\u50cf",id:"dcoker-saveload-\u4fdd\u5b58\u548c\u52a0\u8f7d\u955c\u50cf",level:3},{value:"docker export/import \u5bfc\u51fa\u548c\u5bfc\u5165\u5bb9\u5668",id:"docker-exportimport-\u5bfc\u51fa\u548c\u5bfc\u5165\u5bb9\u5668",level:3},{value:"Linux\u4fee\u6539\u7f51\u7edc\u540e\uff0c\u5bfc\u81f4Docker\u5bb9\u5668\u7f51\u7edc\u51fa\u73b0\u95ee\u9898",id:"linux\u4fee\u6539\u7f51\u7edc\u540e\u5bfc\u81f4docker\u5bb9\u5668\u7f51\u7edc\u51fa\u73b0\u95ee\u9898",level:3},{value:"Docker\u5bb9\u5668\u751f\u6210\u955c\u50cf",id:"docker\u5bb9\u5668\u751f\u6210\u955c\u50cf",level:3},{value:"\u5220\u9664\u51e0\u5929\u4e4b\u524d\u7684\u5bb9\u5668",id:"\u5220\u9664\u51e0\u5929\u4e4b\u524d\u7684\u5bb9\u5668",level:3},{value:"\u672a\u8fd0\u884c\u7684\u5bb9\u5668\u4e2d\u7684\u6587\u4ef6\u4fee\u6539",id:"\u672a\u8fd0\u884c\u7684\u5bb9\u5668\u4e2d\u7684\u6587\u4ef6\u4fee\u6539",level:3},{value:"\u8bbe\u7f6ecpu\u6570\u91cf\u4ee5\u53ca\u5185\u5b58\u5927\u5c0f",id:"\u8bbe\u7f6ecpu\u6570\u91cf\u4ee5\u53ca\u5185\u5b58\u5927\u5c0f",level:3},{value:"\u6e05\u7406\u5bb9\u5668\u548c\u955c\u50cf",id:"\u6e05\u7406\u5bb9\u5668\u548c\u955c\u50cf",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:d},i="wrapper";function u(e){let{components:n,...a}=e;return(0,c.yg)(i,(0,t.A)({},p,a,{components:n,mdxType:"MDXLayout"}),(0,c.yg)("ol",null,(0,c.yg)("li",{parentName:"ol"},"Docker \u5b98\u65b9\u4ed3\u5e93 \xa0",(0,c.yg)("a",{parentName:"li",href:"https://hub.docker.com"},"https://hub.docker.com")),(0,c.yg)("li",{parentName:"ol"},"\u811a\u672c\u641c\u7d22\u7248\u672c\u53f7 \xa0",(0,c.yg)("a",{parentName:"li",href:"https://blog.csdn.net/CodyGuo/article/details/86515354"},"docker-tags"))),(0,c.yg)("h3",{id:"\u4fee\u6539\u955c\u50cf\u6e90"},"\u4fee\u6539\u955c\u50cf\u6e90"),(0,c.yg)("p",null,"/etc/docker/daemon.json"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-json"},'{\n "registry-mirrors": ["https://registry.docker-cn.com", "http://hub-mirror.c.163.com", "https://docker.mirrors.ustc.edu.cn"]\n}\n')),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker info | grep Reg\n")),(0,c.yg)("h3",{id:"\u5e38\u7528\u547d\u4ee4\u5927\u5168"},"\u5e38\u7528\u547d\u4ee4\u5927\u5168"),(0,c.yg)("p",null,"docker --help"),(0,c.yg)("p",null,(0,c.yg)("img",{alt:"1.png",src:r(83579).A,width:"750",height:"538"})),(0,c.yg)("h3",{id:"\u83b7\u53d6\u67d0\u4e2a-docker-\u5bb9\u5668\u7684-ip-\u5730\u5740"},"\u83b7\u53d6\u67d0\u4e2a docker \u5bb9\u5668\u7684 IP \u5730\u5740"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id\n")),(0,c.yg)("h3",{id:"\u5bb9\u5668\u81ea\u52a8\u542f\u52a8"},"\u5bb9\u5668\u81ea\u52a8\u542f\u52a8"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker run --restart=always\n#no - \u5bb9\u5668\u9000\u51fa\u65f6\uff0c\u4e0d\u91cd\u542f\u5bb9\u5668\uff1b\n#on-failure - \u53ea\u6709\u5728\u975e0\u72b6\u6001\u9000\u51fa\u65f6\u624d\u4ece\u65b0\u542f\u52a8\u5bb9\u5668\uff1b\n#always - \u65e0\u8bba\u9000\u51fa\u72b6\u6001\u662f\u5982\u4f55\uff0c\u90fd\u91cd\u542f\u5bb9\u5668\uff1b\n#\u5982\u679c\u521b\u5efa\u65f6\u672a\u6307\u5b9a --restart=always ,\u53ef\u901a\u8fc7update \u547d\u4ee4\ndocker update --restart=always container_name_or_id\ndocker update --restart=no container_name_or_id\n")),(0,c.yg)("h3",{id:"\u5bb9\u5668\u65f6\u533a\u95ee\u9898"},"\u5bb9\u5668\u65f6\u533a\u95ee\u9898"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"# \u521b\u5efa\u5bb9\u5668\u7684\u65f6\u5019\u52a0\u4e0a\u8fd9\u4e2a\u53c2\u6570 \u4f1a\u8ba9\u5bb9\u5668\u91c7\u7528\u5bbf\u4e3b\u673a\u7684\u65f6\u533a\n-v /etc/localtime:/etc/localtime\n")),(0,c.yg)("h3",{id:"\u67e5\u770b\u548c\u6e05\u9664\u5bb9\u5668\u65e5\u5fd7"},"\u67e5\u770b\u548c\u6e05\u9664\u5bb9\u5668\u65e5\u5fd7"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\nls -lh $(find /var/lib/docker/containers/ -name *-json.log)\n#\ntruncate -s 0 /var/lib/docker/containers/*/*-json.log\n#\u7528\u4e8e\u67e5\u770bDocker\u7684\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5\ndocker system df\n#\u7528\u4e8e\u67e5\u770bDocker\u7684\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5 \u8be6\u7ec6\u60c5\u51b5\ndocker system df -v\n#\u7528\u4e8e\u6e05\u7406\u78c1\u76d8\uff0c\u5220\u9664\u5173\u95ed\u7684\u5bb9\u5668\u3001\u65e0\u7528\u7684\u6570\u636e\u5377\u548c\u7f51\u7edc\uff0c\u4ee5\u53cadangling\u955c\u50cf\uff08\u5373\u65e0tag\u7684\u955c\u50cf\uff09\ndocker system prune\n#\u6e05\u7406\u5f97\u66f4\u52a0\u5f7b\u5e95\uff0c\u53ef\u4ee5\u5c06\u6ca1\u6709\u5bb9\u5668\u4f7f\u7528Docker\u955c\u50cf\u90fd\u5220\u6389\u3002\ndocker system prune -a\n")),(0,c.yg)("h3",{id:"\u7248\u672c\u592a\u4f4e-\u9700\u8981\u5347\u7ea7"},"\u7248\u672c\u592a\u4f4e \u9700\u8981\u5347\u7ea7"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'# docker build \u62a5\u9519\u5982\u4e0b\nis not a valid repository/tag: invalid reference format\n# \u68c0\u67e5\u7248\u672c docker \u7248\u672c\u592a\u4f4e\ndocker version\n\n\n# \u5378\u8f7d\u65e7\u7248\u672c\nyum -y remove docker*\n# \u5b89\u88c5\u9700\u8981\u7684\u8f6f\u4ef6\u5305\uff0c yum-util \u63d0\u4f9byum-config-manager\u529f\u80fd\uff0c\u53e6\u5916\u4e24\u4e2a\u662fdevicemapper\u9a71\u52a8\u4f9d\u8d56\u7684\nsudo yum install -y yum-utils\n# \u8bbe\u7f6eyum\u6e90\nyum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo\n# \u5b89\u88c5docker\nyum install docker-ce docker-ce-cli containerd.io\n# \u914d\u7f6e\u56fd\u5185docker\u955c\u50cf\u6e90\nmkdir -p /etc/docker\ntee /etc/docker/daemon.json <<-\'EOF\'\n{\n "registry-mirrors": [\n "https://kfwkfulq.mirror.aliyuncs.com",\n "https://2lqq34jg.mirror.aliyuncs.com",\n "https://pee6w651.mirror.aliyuncs.com",\n "https://registry.docker-cn.com",\n "http://hub-mirror.c.163.com"\n ],\n "dns": ["8.8.8.8","8.8.4.4"]\n}\nEOF\n# \u91cd\u542fdocker\nsystemctl daemon-reload\nsystemctl restart docker\n# \u9a8c\u8bc1docker\u7248\u672c\ndocker version\n')),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'#!/bin/bash\n\necho "stop docker"\nsystemctl stop docker\n\n\necho "uninstall rpm docker"\nrpm -e --nodeps --docfiles docker-ce-rootless-extras-26.0.0-1.el7.aarch64\nrpm -e --nodeps --docfiles docker-ce-26.0.0-1.el7.aarch64\nrpm -e --nodeps --docfiles docker-ce-cli-26.0.0-1.el7.aarch64\nrpm -e --nodeps --docfiles docker-buildx-plugin-0.13.1-1.el7.aarch64\nrpm -e --nodeps --docfiles containerd.io-1.6.28-3.2.el7.aarch64\n\necho "rm -rf /opt/containerd /var/lib/containerd /var/lib/docker"\nrm -rf /opt/containerd\nrm -rf /var/lib/containerd\nrm -rf /var/lib/docker\n\necho "success"\n')),(0,c.yg)("h3",{id:"run\u540e\u4fdd\u6301\u8fd0\u884c\u72b6\u6001"},"run\u540e\u4fdd\u6301\u8fd0\u884c\u72b6\u6001"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker run -tid \\\n--privileged=true \\\n--name test-ubuntu \\\nubuntu\n#\ndocker run -tid \\\n--privileged=true \\\n--name test-nginx \\\nnginx:stable-alpine3.17-slim\n")),(0,c.yg)("h3",{id:"\u7ed1\u5b9a\u968f\u673a\u7aef\u53e3"},"\u7ed1\u5b9a\u968f\u673a\u7aef\u53e3"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker run -tid \\\n-p :80 \\\n--privileged=true \\\n--name test-ubuntu \\\nubuntu\n# \u91cd\u542f\u4e4b\u540e \u968f\u673a\u7684\u7aef\u53e3\u4f1a\u6362\u6389\ndocker port test-ubuntu\n# \u91cd\u542f\u4e4b\u540e \u968f\u673a\u7684\u7aef\u53e3\u4f1a\u6362\u6389\ndocker restart test-ubuntu\n# \u91cd\u542f\u4e4b\u540e \u968f\u673a\u7684\u7aef\u53e3\u4f1a\u6362\u6389\ndocker port test-ubuntu\n")),(0,c.yg)("h3",{id:"dcoker-saveload-\u4fdd\u5b58\u548c\u52a0\u8f7d\u955c\u50cf"},"dcoker save/load \u4fdd\u5b58\u548c\u52a0\u8f7d\u955c\u50cf"),(0,c.yg)("p",null,"\u5bf9\u955c\u50cf\u7684\u4fdd\u5b58\u548c\u52a0\u8f7d"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker load < xx.tar.xz\n")),(0,c.yg)("h3",{id:"docker-exportimport-\u5bfc\u51fa\u548c\u5bfc\u5165\u5bb9\u5668"},"docker export/import \u5bfc\u51fa\u548c\u5bfc\u5165\u5bb9\u5668"),(0,c.yg)("p",null,"\u5bf9\u5bb9\u5668\u7684\u5bfc\u51fa\u548c\u5bfc\u5165"),(0,c.yg)("h3",{id:"linux\u4fee\u6539\u7f51\u7edc\u540e\u5bfc\u81f4docker\u5bb9\u5668\u7f51\u7edc\u51fa\u73b0\u95ee\u9898"},"Linux\u4fee\u6539\u7f51\u7edc\u540e\uff0c\u5bfc\u81f4Docker\u5bb9\u5668\u7f51\u7edc\u51fa\u73b0\u95ee\u9898"),(0,c.yg)("ul",null,(0,c.yg)("li",{parentName:"ul"},(0,c.yg)("a",{parentName:"li",href:"https://blog.csdn.net/m0_61230499/article/details/137916082"},"csdn-Linux\u91cd\u542f\u7f51\u7edc\u540e\u5bfc\u81f4\u5bb9\u5668\u7f51\u7edc\u65e0\u6cd5\u8fde\u63a5\u7684\u89e3\u51b3\u529e\u6cd5"))),(0,c.yg)("h3",{id:"docker\u5bb9\u5668\u751f\u6210\u955c\u50cf"},"Docker\u5bb9\u5668\u751f\u6210\u955c\u50cf"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'docker commit -m="\u63cf\u8ff0\u4fe1\u606f" -a="\u4f5c\u8005" \u5bb9\u5668id \u76ee\u6807\u955c\u50cf\u540d\uff1a [TAG]\n\n')),(0,c.yg)("p",null,"\u4e5f\u53ef\u4ee5\u7528\u4e8e\u5bb9\u5668\u7aef\u53e3\u4fee\u6539\uff0c\u5148\u628a\u5bb9\u5668\u751f\u6210\u955c\u50cf\uff0c\u7136\u540e\u518d\u6839\u636e\u955c\u50cf\u91cd\u65b0\u521b\u5efa\u5bb9\u5668"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'# \u7ed9\u5bb9\u5668\u5f00\u653e\u65b0\u7684\u7aef\u53e3 \u53c2\u8003\u6d41\u7a0b \u53c2\u8003\u5440 \u6709\u4e9b\u53c2\u6570\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u81ea\u5df1\u6539\u4e00\u4e0b\n####################### 1 \u62ff\u5230\u8981\u6539\u7684\u5bb9\u5668\u7684\u4fe1\u606f xxx\u81ea\u5df1\u586b\ndocker ps | grep xxx\n# \u5c06\u5f97\u5230\u4ee5\u4e0b\u4fe1\u606f\ndf4e7ec48125 ccsp-pki-openeuler-x86:3.3.2.8.12 "/bin/bash -c \'sh /o\u2026" 2 minutes ago Up About a minute 10.0.101.57:20000->20000/tcp, 10.0.101.57:20003->20002/tcp, 10.0.101.57:20001->20004/tcp, 10.0.101.57:20002->20005/tcp ccsp-pki-7034940635376781061\n####################### 2 \u751f\u6210\u955c\u50cf \u3010ccsp-pki-7034940635376781061\u3011\u4e3a\u6b65\u9aa4\u4e00\u5f97\u5230\u7684\u4fe1\u606f\ndocker commit -m="test" -a="weic" ccsp-pki-7034940635376781061 pkitest:weic\n####################### 3 \u505c\u6b62\u5e76\u6539\u540d\u8001\u7684 \u3010ccsp-pki-7034940635376781061\u3011\u4e3a\u6b65\u9aa4\u4e00\u5f97\u5230\u7684\u4fe1\u606f\ndocker stop ccsp-pki-7034940635376781061\ndocker rename ccsp-pki-7034940635376781061 ccsp-pki-7034940635376781061-bak\n####################### 4 IP\u5f97\u6539 \u524d\u540e\u4e24\u4e2a\u7aef\u53e3\u5f97\u6539 \u9ed8\u8ba42\u68384g \u589e\u52a0\u81ea\u5df1\u8981\u66b4\u6f0f\u7684\u7aef\u53e3 \u7aef\u53e3\u6620\u5c04\u53c2\u8003\u6b65\u9aa4\u4e00\u7684\u4fe1\u606f\uff0c\u4e0d\u80fd\u9519\u4e86\ndocker run \\\n-td \\\n-p 10.0.101.57:20000:20000 \\\n-p 10.0.101.57:20003:20002 \\\n-p 10.0.101.57:20001:20004 \\\n-p 10.0.101.57:20002:20005 \\\n-p 10.0.101.57:5115:5115 \\\n--cpus 2 \\\n--memory 4g \\\n--name ccsp-pki-7034940635376781061 \\\npkitest:weic \\\n/bin/bash -c "sh /opt/sansec/ccsp/startService.sh&bash"\n')),(0,c.yg)("p",null,"\u5feb\u901f\u542f\u52a8"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'docker run \\\n-td \\\n7e194fa07d77 \\\n/bin/bash -c "sh /opt/sansec/ccsp/startService.sh&bash"\n')),(0,c.yg)("p",null,"\u4fee\u6539shmsize \u5171\u4eab\u5185\u5b58"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'fbaabf1d7e74 ccsp-tsc-openeuler-x86:3.3.1.3 "/bin/bash -c \'sh /o\u2026" 4 minutes ago Up 4 minutes 10.0.101.146:26501->8011/tcp, 10.0.101.146:26502->8099/tcp ccsp-tsc-6745104769515389829\n#\ndocker commit -m="test" -a="weic" ccsp-tsc-6745104769515389829 tsctest:shmsize-1\n#\ndocker stop ccsp-tsc-6745104769515389829\n#\ndocker run \\\n-td \\\n--shm-size 1gb \\\n-p 10.0.101.146:26501:8011 \\\n-p 10.0.101.146:26502:8099 \\\n--name ccsp-tsc-6745104769515389829-c \\\ntsctest:shmsize-1 \\\n/bin/bash -c "sh /opt/sansec/ccsp/startService.sh&bash"\n\ndocker run \\\n-td \\\n--name ccsp-tsc-6745104769515389829-c \\\ntsctest:shmsize-1 \\\n/bin/bash -c "sh /opt/sansec/ccsp/startService.sh&bash"\n')),(0,c.yg)("h3",{id:"\u5220\u9664\u51e0\u5929\u4e4b\u524d\u7684\u5bb9\u5668"},"\u5220\u9664\u51e0\u5929\u4e4b\u524d\u7684\u5bb9\u5668"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#!/bin/bash\n\n# \u8bbe\u7f6e\u5929\u6570\u9608\u503c\ndays=2\n \n# \u627e\u5230\u521b\u5efa\u65f6\u95f4\u5728\u51e0\u5929\u524d\u7684\u5bb9\u5668ID\ncontainer_ids=$(docker ps --format '{{.ID}} {{.CreatedAt}}' | awk -v days_ago=$days '$2 < \"'$(date -d \"$days days ago\" +'%Y-%m-%d')'\"' | cut -d ' ' -f1)\n \n# \u5220\u9664\u8fd9\u4e9b\u5bb9\u5668\ndocker rm -f $container_ids\n")),(0,c.yg)("h3",{id:"\u672a\u8fd0\u884c\u7684\u5bb9\u5668\u4e2d\u7684\u6587\u4ef6\u4fee\u6539"},"\u672a\u8fd0\u884c\u7684\u5bb9\u5668\u4e2d\u7684\u6587\u4ef6\u4fee\u6539"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5148copy\u51fa\u6765\ndocker cp {containerID}:/xxx/xxx ./xxx\n# \u4fee\u6539\u5b8c\u4e4b\u540e \u5728copy\u8fdb\u53bb\ndocker cp ./xxx {containerID}:/xxx/xxx\n")),(0,c.yg)("h3",{id:"\u8bbe\u7f6ecpu\u6570\u91cf\u4ee5\u53ca\u5185\u5b58\u5927\u5c0f"},"\u8bbe\u7f6ecpu\u6570\u91cf\u4ee5\u53ca\u5185\u5b58\u5927\u5c0f"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"docker update --cpus 4 --memory 8g {\u5bb9\u5668\u540d\u79f0\u6216ID}\n")),(0,c.yg)("h3",{id:"\u6e05\u7406\u5bb9\u5668\u548c\u955c\u50cf"},"\u6e05\u7406\u5bb9\u5668\u548c\u955c\u50cf"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"\n# \u505c\u6b62\u6240\u6709\u6b63\u5728\u8fd0\u884c\u7684\u5bb9\u5668\ndocker stop $(docker ps -aq)\n \n# \u5220\u9664\u6240\u6709\u5bb9\u5668\ndocker rm $(docker ps -aq)\n \n# \u5220\u9664\u6240\u6709\u955c\u50cf\ndocker rmi $(docker images -q)\n")),(0,c.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,c.yg)("p",null,(0,c.yg)("a",{parentName:"p",href:"https://developer.aliyun.com/article/272173"},"\u53c2\u8003 1")))}u.isMDXComponent=!0},83579:(e,n,r)=>{r.d(n,{A:()=>t});const t=r.p+"assets/images/1-b23594a1c043f6f3f2961f17d876ef47.png"}}]); \ No newline at end of file diff --git a/assets/js/228940c7.1de5563d.js b/assets/js/228940c7.5d5cfbd6.js similarity index 98% rename from assets/js/228940c7.1de5563d.js rename to assets/js/228940c7.5d5cfbd6.js index ef764b0bf..4729395cd 100644 --- a/assets/js/228940c7.1de5563d.js +++ b/assets/js/228940c7.5d5cfbd6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7152],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>d});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=n.createContext({}),i=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},u=function(e){var r=i(e.components);return n.createElement(c.Provider,{value:r},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=i(t),y=o,d=s["".concat(c,".").concat(y)]||s[y]||m[y]||a;return t?n.createElement(d,p(p({ref:r},u),{},{components:t})):n.createElement(d,p({ref:r},u))}));function d(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,p=new Array(a);p[0]=y;var l={};for(var c in r)hasOwnProperty.call(r,c)&&(l[c]=r[c]);l.originalType=e,l[s]="string"==typeof e?e:o,p[1]=l;for(var i=2;i{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>p,default:()=>m,frontMatter:()=>a,metadata:()=>l,toc:()=>i});var n=t(58168),o=(t(96540),t(15680));const a={},p=void 0,l={unversionedId:"study/program/JS/npx",id:"study/program/JS/npx",title:"npx",description:"\u6982\u5ff5",source:"@site/docs/study/program/JS/npx.md",sourceDirName:"study/program/JS",slug:"/study/program/JS/npx",permalink:"/docs/study/program/JS/npx",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"npm",permalink:"/docs/study/program/JS/npm"},next:{title:"nrm",permalink:"/docs/study/program/JS/nrm"}},c={},i=[],u={toc:i},s="wrapper";function m(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u6982\u5ff5\nnpx\u662f\u4e00\u4e2a\u5de5\u5177\uff0c\u5b83\u662fnpm v5.2.0\u5f15\u5165\u7684\u4e00\u6761\u547d\u4ee4\uff08npx\uff09\uff0c\u662fnpm\u7684\u4e00\u4e2a\u5305\u6267\u884c\u5668\uff0c\u53ea\u8981\u4e3a\u4e86\u63d0\u9ad8\u4ecenpm\u6ce8\u518c\u8868\u4f7f\u7528\u8f6f\u4ef6\u5305\u7684\u4f53\u9a8c \u3002 npm\u4f7f\u5f97\u5b83\u975e\u5e38\u5bb9\u6613\u5730\u5b89\u88c5\u548c\u7ba1\u7406\u6258\u7ba1\u5728\u6ce8\u518c\u8868\u4e0a\u7684\u4f9d\u8d56\u9879\uff0c npx\u4f7f\u5f97\u4f7f\u7528CLI\u5de5\u5177\u548c\u5176\u4ed6\u6258\u7ba1\u5728\u6ce8\u518c\u8868\u3002"),(0,o.yg)("p",null,"\u5c31\u50cfnpm\u6781\u5927\u5730\u63d0\u5347\u4e86\u6211\u4eec\u5b89\u88c5\u548c\u7ba1\u7406\u5305\u4f9d\u8d56\u7684\u4f53\u9a8c\uff0c\u5728npm\u7684\u57fa\u7840\u4e4b\u4e0a\uff0cnpx\u8ba9npm\u5305\u4e2d\u7684\u547d\u4ee4\u884c\u5de5\u5177\u548c\u5176\u4ed6\u53ef\u6267\u884c\u6587\u4ef6\u5728\u4f7f\u7528\u4e0a\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\u3002\u5b83\u6781\u5927\u5730\u7b80\u5316\u4e86\u6211\u4eec\u4e4b\u524d\u4f7f\u7528\u7eaf\u7cb9\u7684npm\u65f6\u6240\u9700\u8981\u7684\u5927\u91cf\u6b65\u9aa4\u3002"),(0,o.yg)("p",null,"\u4e3b\u8981\u7279\u70b9\uff1a"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u4e34\u65f6\u5b89\u88c5\u53ef\u6267\u884c\u4f9d\u8d56\u5305\uff0c\u4e0d\u7528\u5168\u5c40\u5b89\u88c5\uff0c\u4e0d\u7528\u62c5\u5fc3\u957f\u671f\u7684\u6c61\u67d3\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u53ef\u4ee5\u6267\u884c\u4f9d\u8d56\u5305\u4e2d\u7684\u547d\u4ee4\uff0c\u5b89\u88c5\u5b8c\u6210\u81ea\u52a8\u8fd0\u884c\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u81ea\u52a8\u52a0\u8f7dnode_modules\u4e2d\u4f9d\u8d56\u5305\uff0c\u4e0d\u7528\u6307\u5b9a$PATH\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u53ef\u4ee5\u6307\u5b9anode\u7248\u672c\u3001\u547d\u4ee4\u7684\u7248\u672c\uff0c\u89e3\u51b3\u4e86\u4e0d\u540c\u9879\u76ee\u4f7f\u7528\u4e0d\u540c\u7248\u672c\u7684\u547d\u4ee4\u7684\u95ee\u9898\u3002")))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7152],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>d});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=n.createContext({}),i=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},u=function(e){var r=i(e.components);return n.createElement(c.Provider,{value:r},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=i(t),y=o,d=s["".concat(c,".").concat(y)]||s[y]||m[y]||a;return t?n.createElement(d,p(p({ref:r},u),{},{components:t})):n.createElement(d,p({ref:r},u))}));function d(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,p=new Array(a);p[0]=y;var l={};for(var c in r)hasOwnProperty.call(r,c)&&(l[c]=r[c]);l.originalType=e,l[s]="string"==typeof e?e:o,p[1]=l;for(var i=2;i{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>p,default:()=>m,frontMatter:()=>a,metadata:()=>l,toc:()=>i});var n=t(58168),o=(t(96540),t(15680));const a={},p=void 0,l={unversionedId:"study/program/JS/npx",id:"study/program/JS/npx",title:"npx",description:"\u6982\u5ff5",source:"@site/docs/study/program/JS/npx.md",sourceDirName:"study/program/JS",slug:"/study/program/JS/npx",permalink:"/docs/study/program/JS/npx",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"npm",permalink:"/docs/study/program/JS/npm"},next:{title:"nrm",permalink:"/docs/study/program/JS/nrm"}},c={},i=[],u={toc:i},s="wrapper";function m(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u6982\u5ff5\nnpx\u662f\u4e00\u4e2a\u5de5\u5177\uff0c\u5b83\u662fnpm v5.2.0\u5f15\u5165\u7684\u4e00\u6761\u547d\u4ee4\uff08npx\uff09\uff0c\u662fnpm\u7684\u4e00\u4e2a\u5305\u6267\u884c\u5668\uff0c\u53ea\u8981\u4e3a\u4e86\u63d0\u9ad8\u4ecenpm\u6ce8\u518c\u8868\u4f7f\u7528\u8f6f\u4ef6\u5305\u7684\u4f53\u9a8c \u3002 npm\u4f7f\u5f97\u5b83\u975e\u5e38\u5bb9\u6613\u5730\u5b89\u88c5\u548c\u7ba1\u7406\u6258\u7ba1\u5728\u6ce8\u518c\u8868\u4e0a\u7684\u4f9d\u8d56\u9879\uff0c npx\u4f7f\u5f97\u4f7f\u7528CLI\u5de5\u5177\u548c\u5176\u4ed6\u6258\u7ba1\u5728\u6ce8\u518c\u8868\u3002"),(0,o.yg)("p",null,"\u5c31\u50cfnpm\u6781\u5927\u5730\u63d0\u5347\u4e86\u6211\u4eec\u5b89\u88c5\u548c\u7ba1\u7406\u5305\u4f9d\u8d56\u7684\u4f53\u9a8c\uff0c\u5728npm\u7684\u57fa\u7840\u4e4b\u4e0a\uff0cnpx\u8ba9npm\u5305\u4e2d\u7684\u547d\u4ee4\u884c\u5de5\u5177\u548c\u5176\u4ed6\u53ef\u6267\u884c\u6587\u4ef6\u5728\u4f7f\u7528\u4e0a\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\u3002\u5b83\u6781\u5927\u5730\u7b80\u5316\u4e86\u6211\u4eec\u4e4b\u524d\u4f7f\u7528\u7eaf\u7cb9\u7684npm\u65f6\u6240\u9700\u8981\u7684\u5927\u91cf\u6b65\u9aa4\u3002"),(0,o.yg)("p",null,"\u4e3b\u8981\u7279\u70b9\uff1a"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u4e34\u65f6\u5b89\u88c5\u53ef\u6267\u884c\u4f9d\u8d56\u5305\uff0c\u4e0d\u7528\u5168\u5c40\u5b89\u88c5\uff0c\u4e0d\u7528\u62c5\u5fc3\u957f\u671f\u7684\u6c61\u67d3\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u53ef\u4ee5\u6267\u884c\u4f9d\u8d56\u5305\u4e2d\u7684\u547d\u4ee4\uff0c\u5b89\u88c5\u5b8c\u6210\u81ea\u52a8\u8fd0\u884c\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u81ea\u52a8\u52a0\u8f7dnode_modules\u4e2d\u4f9d\u8d56\u5305\uff0c\u4e0d\u7528\u6307\u5b9a$PATH\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u53ef\u4ee5\u6307\u5b9anode\u7248\u672c\u3001\u547d\u4ee4\u7684\u7248\u672c\uff0c\u89e3\u51b3\u4e86\u4e0d\u540c\u9879\u76ee\u4f7f\u7528\u4e0d\u540c\u7248\u672c\u7684\u547d\u4ee4\u7684\u95ee\u9898\u3002")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/22d8222a.2d2dc7c5.js b/assets/js/22d8222a.47d0059c.js similarity index 98% rename from assets/js/22d8222a.2d2dc7c5.js rename to assets/js/22d8222a.47d0059c.js index 6392c6035..02c1aeb85 100644 --- a/assets/js/22d8222a.2d2dc7c5.js +++ b/assets/js/22d8222a.47d0059c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4504],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>g});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var a=n.createContext({}),d=function(e){var r=n.useContext(a),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=d(e.components);return n.createElement(a.Provider,{value:r},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,i=e.originalType,a=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),p=d(t),y=o,g=p["".concat(a,".").concat(y)]||p[y]||s[y]||i;return t?n.createElement(g,c(c({ref:r},u),{},{components:t})):n.createElement(g,c({ref:r},u))}));function g(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var i=t.length,c=new Array(i);c[0]=y;var l={};for(var a in r)hasOwnProperty.call(r,a)&&(l[a]=r[a]);l.originalType=e,l[p]="string"==typeof e?e:o,c[1]=l;for(var d=2;d{t.r(r),t.d(r,{assets:()=>a,contentTitle:()=>c,default:()=>s,frontMatter:()=>i,metadata:()=>l,toc:()=>d});var n=t(58168),o=(t(96540),t(15680));const i={sidebar_position:1},c="\u6982\u8ff0",l={unversionedId:"study/docker/index",id:"study/docker/index",title:"\u6982\u8ff0",description:"\u4e00\u79cd\u865a\u62df\u6280\u672f\u3002",source:"@site/docs/study/docker/index.md",sourceDirName:"study/docker",slug:"/study/docker/",permalink:"/docs/study/docker/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",permalink:"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD"},next:{title:"Docker Compose",permalink:"/docs/study/docker/Docker-compose"}},a={},d=[{value:"windows/linux docker",id:"windowslinux-docker",level:3},{value:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",id:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",level:3},{value:"docker cli",id:"docker-cli",level:3},{value:"docker engine api",id:"docker-engine-api",level:3},{value:"docker \u5b98\u65b9\u955c\u50cf\u5e93 docker hub",id:"docker-\u5b98\u65b9\u955c\u50cf\u5e93-docker-hub",level:3},{value:"docker \u79c1\u6709\u955c\u50cf\u4ed3\u5e93\u8f6f\u4ef6",id:"docker-\u79c1\u6709\u955c\u50cf\u4ed3\u5e93\u8f6f\u4ef6",level:3}],u={toc:d},p="wrapper";function s(e){let{components:r,...t}=e;return(0,o.yg)(p,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u4e00\u79cd\u865a\u62df\u6280\u672f\u3002"),(0,o.yg)("h3",{id:"windowslinux-docker"},"windows/linux docker"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"windows docker \u5bbf\u4e3b\u673a \u53ef\u4ee5\u8fd0\u884c windows \u548c linux \u5bb9\u5668;"),(0,o.yg)("li",{parentName:"ul"},"linux docker \u5bbf\u4e3b\u673a\u53ea\u80fd\u8fd0\u884c linux \u5bb9\u5668;"),(0,o.yg)("li",{parentName:"ul"},"windows \u5bbf\u4e3b\u673a\u53ef\u4ee5\u8fd0\u884c linux \u5bb9\u5668\u7684\u539f\u56e0\u662f\uff1a windows \u5728\u540e\u53f0\u521b\u5efa\u4e86\u4e00\u4e2a Linux \u5b50\u7cfb\u7edf(WSL)\uff0c\u56e0\u6b64 Linux \u5bb9\u5668\u4ecd\u5728 Linux \u4e0a\u8fd0\u884c;")),(0,o.yg)("h3",{id:"\u5b98\u65b9\u53c2\u8003\u6587\u6863"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.docker.com/reference/"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863"))),(0,o.yg)("p",null,"\u6ca1\u4ec0\u4e48\u597d\u7684\u529e\u6cd5\u3002\u628a\u8fd9\u4e2a\u6587\u6863\u591a\u8bfb\u591a\u5b9e\u8df5\uff0c\u57fa\u672c\u4e0a\u4e5f\u7b97\u534a\u4e2a\u4e13\u5bb6\u4e86\u3002"),(0,o.yg)("p",null,"\u6ca1\u4e8b\u591a\u770b\u770b\uff0c\ndocker --help\ndockerd --hlep"),(0,o.yg)("h3",{id:"docker-cli"},"docker cli"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.docker.com/reference/cli/docker/"},"docker cli \u5b98\u65b9\u53c2\u8003\u6587\u6863"))),(0,o.yg)("h3",{id:"docker-engine-api"},"docker engine api"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.docker.com/engine/api/v1.45/"},"docker engine api v1.45 \u5b98\u65b9\u53c2\u8003\u6587\u6863"))),(0,o.yg)("h3",{id:"docker-\u5b98\u65b9\u955c\u50cf\u5e93-docker-hub"},"docker \u5b98\u65b9\u955c\u50cf\u5e93 docker hub"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://hub.docker.com/"},"docker hub")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://hub-stage.docker.com/"},"docker hub-stage"))),(0,o.yg)("h3",{id:"docker-\u79c1\u6709\u955c\u50cf\u4ed3\u5e93\u8f6f\u4ef6"},"docker \u79c1\u6709\u955c\u50cf\u4ed3\u5e93\u8f6f\u4ef6"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://github.com/goharbor/harbor"},"harbor")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://hub.docker.com/_/registry"},"docker\u5b98\u65b9\u79c1\u6709registry"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4504],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>g});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var a=n.createContext({}),d=function(e){var r=n.useContext(a),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=d(e.components);return n.createElement(a.Provider,{value:r},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,i=e.originalType,a=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),p=d(t),y=o,g=p["".concat(a,".").concat(y)]||p[y]||s[y]||i;return t?n.createElement(g,c(c({ref:r},u),{},{components:t})):n.createElement(g,c({ref:r},u))}));function g(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var i=t.length,c=new Array(i);c[0]=y;var l={};for(var a in r)hasOwnProperty.call(r,a)&&(l[a]=r[a]);l.originalType=e,l[p]="string"==typeof e?e:o,c[1]=l;for(var d=2;d{t.r(r),t.d(r,{assets:()=>a,contentTitle:()=>c,default:()=>s,frontMatter:()=>i,metadata:()=>l,toc:()=>d});var n=t(58168),o=(t(96540),t(15680));const i={sidebar_position:1},c="\u6982\u8ff0",l={unversionedId:"study/docker/index",id:"study/docker/index",title:"\u6982\u8ff0",description:"\u4e00\u79cd\u865a\u62df\u6280\u672f\u3002",source:"@site/docs/study/docker/index.md",sourceDirName:"study/docker",slug:"/study/docker/",permalink:"/docs/study/docker/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",permalink:"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD"},next:{title:"Docker Compose",permalink:"/docs/study/docker/Docker-compose"}},a={},d=[{value:"windows/linux docker",id:"windowslinux-docker",level:3},{value:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",id:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",level:3},{value:"docker cli",id:"docker-cli",level:3},{value:"docker engine api",id:"docker-engine-api",level:3},{value:"docker \u5b98\u65b9\u955c\u50cf\u5e93 docker hub",id:"docker-\u5b98\u65b9\u955c\u50cf\u5e93-docker-hub",level:3},{value:"docker \u79c1\u6709\u955c\u50cf\u4ed3\u5e93\u8f6f\u4ef6",id:"docker-\u79c1\u6709\u955c\u50cf\u4ed3\u5e93\u8f6f\u4ef6",level:3}],u={toc:d},p="wrapper";function s(e){let{components:r,...t}=e;return(0,o.yg)(p,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u4e00\u79cd\u865a\u62df\u6280\u672f\u3002"),(0,o.yg)("h3",{id:"windowslinux-docker"},"windows/linux docker"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"windows docker \u5bbf\u4e3b\u673a \u53ef\u4ee5\u8fd0\u884c windows \u548c linux \u5bb9\u5668;"),(0,o.yg)("li",{parentName:"ul"},"linux docker \u5bbf\u4e3b\u673a\u53ea\u80fd\u8fd0\u884c linux \u5bb9\u5668;"),(0,o.yg)("li",{parentName:"ul"},"windows \u5bbf\u4e3b\u673a\u53ef\u4ee5\u8fd0\u884c linux \u5bb9\u5668\u7684\u539f\u56e0\u662f\uff1a windows \u5728\u540e\u53f0\u521b\u5efa\u4e86\u4e00\u4e2a Linux \u5b50\u7cfb\u7edf(WSL)\uff0c\u56e0\u6b64 Linux \u5bb9\u5668\u4ecd\u5728 Linux \u4e0a\u8fd0\u884c;")),(0,o.yg)("h3",{id:"\u5b98\u65b9\u53c2\u8003\u6587\u6863"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.docker.com/reference/"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863"))),(0,o.yg)("p",null,"\u6ca1\u4ec0\u4e48\u597d\u7684\u529e\u6cd5\u3002\u628a\u8fd9\u4e2a\u6587\u6863\u591a\u8bfb\u591a\u5b9e\u8df5\uff0c\u57fa\u672c\u4e0a\u4e5f\u7b97\u534a\u4e2a\u4e13\u5bb6\u4e86\u3002"),(0,o.yg)("p",null,"\u6ca1\u4e8b\u591a\u770b\u770b\uff0c\ndocker --help\ndockerd --hlep"),(0,o.yg)("h3",{id:"docker-cli"},"docker cli"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.docker.com/reference/cli/docker/"},"docker cli \u5b98\u65b9\u53c2\u8003\u6587\u6863"))),(0,o.yg)("h3",{id:"docker-engine-api"},"docker engine api"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.docker.com/engine/api/v1.45/"},"docker engine api v1.45 \u5b98\u65b9\u53c2\u8003\u6587\u6863"))),(0,o.yg)("h3",{id:"docker-\u5b98\u65b9\u955c\u50cf\u5e93-docker-hub"},"docker \u5b98\u65b9\u955c\u50cf\u5e93 docker hub"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://hub.docker.com/"},"docker hub")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://hub-stage.docker.com/"},"docker hub-stage"))),(0,o.yg)("h3",{id:"docker-\u79c1\u6709\u955c\u50cf\u4ed3\u5e93\u8f6f\u4ef6"},"docker \u79c1\u6709\u955c\u50cf\u4ed3\u5e93\u8f6f\u4ef6"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://github.com/goharbor/harbor"},"harbor")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://hub.docker.com/_/registry"},"docker\u5b98\u65b9\u79c1\u6709registry"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/249c18b0.0e1ca5a8.js b/assets/js/249c18b0.186c97b6.js similarity index 98% rename from assets/js/249c18b0.0e1ca5a8.js rename to assets/js/249c18b0.186c97b6.js index 6813b5660..247927b47 100644 --- a/assets/js/249c18b0.0e1ca5a8.js +++ b/assets/js/249c18b0.186c97b6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9684],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=a,m=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,p(p({ref:t},u),{},{components:r})):n.createElement(m,p({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:a,p[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>p,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},p=void 0,i={unversionedId:"study/program/JAVA/RxJava",id:"study/program/JAVA/RxJava",title:"RxJava",description:"\u7b80\u4ecb",source:"@site/docs/study/program/JAVA/RxJava.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/RxJava",permalink:"/docs/study/program/JAVA/RxJava",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenJ9",permalink:"/docs/study/program/JAVA/OepnJ9"},next:{title:"Vert.x",permalink:"/docs/study/program/JAVA/Vert.x"}},c={},l=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://github.com/ReactiveX/RxJava"},"GitHub\u5730\u5740")),(0,a.yg)("p",null,"RxJava - JVM\u54cd\u5e94\u5f0f\u6269\u5c55Reactive Extensions \u7528\u4e8e\u4f7f\u7528Java VM\u7684\u53ef\u89c2\u5bdf\u5e8f\u5217\u7f16\u5199\u5f02\u6b65\u548c\u57fa\u4e8e\u4e8b\u4ef6\u7684\u7a0b\u5e8f\u7684\u5e93\u3002"),(0,a.yg)("p",null,"RxJava\u5230\u5e95\u662f\u4ec0\u4e48\uff1f\u8ba9\u6211\u4eec\u76f4\u63a5\u8df3\u8fc7\u5b98\u65b9\u90a3\u79cd\u6666\u6da9\u7684\u8ffd\u6c42\u7cbe\u786e\u7684\u5b9a\u4e49\uff0c\u5176\u5b9e\u521d\u5b66RxJava\u53ea\u8981\u628a\u63e1\u4e24\u70b9\uff1a\u89c2\u5bdf\u8005\u6a21\u5f0f\u548c\u5f02\u6b65,\u5c31\u57fa\u672c\u53ef\u4ee5\u719f\u7ec3\u4f7f\u7528RxJava\u4e86\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://juejin.cn/post/6844903447280484360"},"\u5173\u4e8eRxJava\u6700\u53cb\u597d\u7684\u6587\u7ae0")),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://juejin.cn/post/6844903454067032071"},"\u5173\u4e8eRxJava\u6700\u53cb\u597d\u7684\u6587\u7ae0\u2014\u2014\u80cc\u538b\uff08Backpressure\uff09")),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://juejin.cn/post/6844903455929139207"},"\u5173\u4e8e RxJava \u6700\u53cb\u597d\u7684\u6587\u7ae0\u2014\u2014 RxJava 2.0 \u5168\u65b0\u6765\u88ad"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9684],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=a,m=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,p(p({ref:t},u),{},{components:r})):n.createElement(m,p({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:a,p[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>p,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},p=void 0,i={unversionedId:"study/program/JAVA/RxJava",id:"study/program/JAVA/RxJava",title:"RxJava",description:"\u7b80\u4ecb",source:"@site/docs/study/program/JAVA/RxJava.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/RxJava",permalink:"/docs/study/program/JAVA/RxJava",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenJ9",permalink:"/docs/study/program/JAVA/OepnJ9"},next:{title:"Vert.x",permalink:"/docs/study/program/JAVA/Vert.x"}},c={},l=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://github.com/ReactiveX/RxJava"},"GitHub\u5730\u5740")),(0,a.yg)("p",null,"RxJava - JVM\u54cd\u5e94\u5f0f\u6269\u5c55Reactive Extensions \u7528\u4e8e\u4f7f\u7528Java VM\u7684\u53ef\u89c2\u5bdf\u5e8f\u5217\u7f16\u5199\u5f02\u6b65\u548c\u57fa\u4e8e\u4e8b\u4ef6\u7684\u7a0b\u5e8f\u7684\u5e93\u3002"),(0,a.yg)("p",null,"RxJava\u5230\u5e95\u662f\u4ec0\u4e48\uff1f\u8ba9\u6211\u4eec\u76f4\u63a5\u8df3\u8fc7\u5b98\u65b9\u90a3\u79cd\u6666\u6da9\u7684\u8ffd\u6c42\u7cbe\u786e\u7684\u5b9a\u4e49\uff0c\u5176\u5b9e\u521d\u5b66RxJava\u53ea\u8981\u628a\u63e1\u4e24\u70b9\uff1a\u89c2\u5bdf\u8005\u6a21\u5f0f\u548c\u5f02\u6b65,\u5c31\u57fa\u672c\u53ef\u4ee5\u719f\u7ec3\u4f7f\u7528RxJava\u4e86\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://juejin.cn/post/6844903447280484360"},"\u5173\u4e8eRxJava\u6700\u53cb\u597d\u7684\u6587\u7ae0")),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://juejin.cn/post/6844903454067032071"},"\u5173\u4e8eRxJava\u6700\u53cb\u597d\u7684\u6587\u7ae0\u2014\u2014\u80cc\u538b\uff08Backpressure\uff09")),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://juejin.cn/post/6844903455929139207"},"\u5173\u4e8e RxJava \u6700\u53cb\u597d\u7684\u6587\u7ae0\u2014\u2014 RxJava 2.0 \u5168\u65b0\u6765\u88ad"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/25692582.678f2ee2.js b/assets/js/25692582.48b67291.js similarity index 98% rename from assets/js/25692582.678f2ee2.js rename to assets/js/25692582.48b67291.js index 01f9a4244..b2a02ced7 100644 --- a/assets/js/25692582.678f2ee2.js +++ b/assets/js/25692582.48b67291.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7782],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,s=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),u=p(r),d=o,f=u["".concat(s,".").concat(d)]||u[d]||y[d]||c;return r?n.createElement(f,l(l({ref:t},i),{},{components:r})):n.createElement(f,l({ref:t},i))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=d;var a={};for(var s in t)hasOwnProperty.call(t,s)&&(a[s]=t[s]);a.originalType=e,a[u]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/system/shell\u7f16\u7a0b\u667aexpect",id:"study/system/shell\u7f16\u7a0b\u667aexpect",title:"shell\u7f16\u7a0b\u667aexpect",description:"expect",source:"@site/docs/study/system/shell\u7f16\u7a0b\u667aexpect.md",sourceDirName:"study/system",slug:"/study/system/shell\u7f16\u7a0b\u667aexpect",permalink:"/docs/study/system/shell\u7f16\u7a0b\u667aexpect",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"openWRT",permalink:"/docs/study/system/openWRT"},next:{title:"yum-dnf",permalink:"/docs/study/system/yum-dnf"}},s={},p=[{value:"expect",id:"expect",level:3}],i={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"expect"},"expect"),(0,o.yg)("p",null,"expect \u662f\u4e00\u4e2a\u514d\u8d39\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u7528\u6765\u5b9e\u73b0\u81ea\u52a8\u7684\u4ea4\u4e92\u5f0f\u4efb\u52a1\uff0c\u800c\u65e0\u9700\u4eba\u4e3a\u5e72\u9884\u3002"),(0,o.yg)("p",null,"\u8fd9\u4e2a\u5de5\u5177\u5728\u5904\u7406\u8c03\u7528\u5176\u4ed6\u5de5\u5177\uff0c\u8f93\u5165\u5bc6\u7801\u4e4b\u7c7b\u7684\u4ea4\u4e92\uff0c\u975e\u5e38\u6709\u7528\u3002"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/givenchy_yzl/article/details/118079170"},"CSDN-shell \u7f16\u7a0b\u4e4b expect"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7782],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,s=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),u=p(r),d=o,f=u["".concat(s,".").concat(d)]||u[d]||y[d]||c;return r?n.createElement(f,l(l({ref:t},i),{},{components:r})):n.createElement(f,l({ref:t},i))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=d;var a={};for(var s in t)hasOwnProperty.call(t,s)&&(a[s]=t[s]);a.originalType=e,a[u]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/system/shell\u7f16\u7a0b\u667aexpect",id:"study/system/shell\u7f16\u7a0b\u667aexpect",title:"shell\u7f16\u7a0b\u667aexpect",description:"expect",source:"@site/docs/study/system/shell\u7f16\u7a0b\u667aexpect.md",sourceDirName:"study/system",slug:"/study/system/shell\u7f16\u7a0b\u667aexpect",permalink:"/docs/study/system/shell\u7f16\u7a0b\u667aexpect",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"openWRT",permalink:"/docs/study/system/openWRT"},next:{title:"yum-dnf",permalink:"/docs/study/system/yum-dnf"}},s={},p=[{value:"expect",id:"expect",level:3}],i={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"expect"},"expect"),(0,o.yg)("p",null,"expect \u662f\u4e00\u4e2a\u514d\u8d39\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u7528\u6765\u5b9e\u73b0\u81ea\u52a8\u7684\u4ea4\u4e92\u5f0f\u4efb\u52a1\uff0c\u800c\u65e0\u9700\u4eba\u4e3a\u5e72\u9884\u3002"),(0,o.yg)("p",null,"\u8fd9\u4e2a\u5de5\u5177\u5728\u5904\u7406\u8c03\u7528\u5176\u4ed6\u5de5\u5177\uff0c\u8f93\u5165\u5bc6\u7801\u4e4b\u7c7b\u7684\u4ea4\u4e92\uff0c\u975e\u5e38\u6709\u7528\u3002"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/givenchy_yzl/article/details/118079170"},"CSDN-shell \u7f16\u7a0b\u4e4b expect"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/26299e01.e80574c1.js b/assets/js/26299e01.e5b1be35.js similarity index 99% rename from assets/js/26299e01.e80574c1.js rename to assets/js/26299e01.e5b1be35.js index 7e0e74ed7..2ab3c5b8c 100644 --- a/assets/js/26299e01.e80574c1.js +++ b/assets/js/26299e01.e5b1be35.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9343],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),y=p(r),d=l,m=y["".concat(u,".").concat(d)]||y[d]||s[d]||a;return r?n.createElement(m,o(o({ref:t},c),{},{components:r})):n.createElement(m,o({ref:t},c))}));function m(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[y]="string"==typeof e?e:l,o[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>s,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,i={unversionedId:"study/net/\u5f02\u5730\u7ec4\u7f51",id:"study/net/\u5f02\u5730\u7ec4\u7f51",title:"\u5f02\u5730\u7ec4\u7f51",description:"\u7f51\u7edc\u7c7b\u578b",source:"@site/docs/study/net/\u5f02\u5730\u7ec4\u7f51.md",sourceDirName:"study/net",slug:"/study/net/\u5f02\u5730\u7ec4\u7f51",permalink:"/docs/study/net/\u5f02\u5730\u7ec4\u7f51",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",permalink:"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4"},next:{title:"\u6293\u5305\u5de5\u5177",permalink:"/docs/study/net/\u6293\u5305\u5de5\u5177"}},u={},p=[{value:"\u7f51\u7edc\u7c7b\u578b",id:"\u7f51\u7edc\u7c7b\u578b",level:3},{value:"\u5bf9\u7b49\u7f51\u7edc",id:"\u5bf9\u7b49\u7f51\u7edc",level:4},{value:"\u96c6\u6563\u7f51\u7edc",id:"\u96c6\u6563\u7f51\u7edc",level:4},{value:"\u7ade\u54c1\u5206\u6790",id:"\u7ade\u54c1\u5206\u6790",level:3},{value:"\u8d1d\u9510\u84b2\u516c\u82f1",id:"\u8d1d\u9510\u84b2\u516c\u82f1",level:4},{value:"\u6620\u7ff0\u901a",id:"\u6620\u7ff0\u901a",level:4},{value:"\u53ef\u9009\u65b9\u6848",id:"\u53ef\u9009\u65b9\u6848",level:3}],c={toc:p},y="wrapper";function s(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u7f51\u7edc\u7c7b\u578b"},"\u7f51\u7edc\u7c7b\u578b"),(0,l.yg)("h4",{id:"\u5bf9\u7b49\u7f51\u7edc"},"\u5bf9\u7b49\u7f51\u7edc"),(0,l.yg)("p",null,"\u7ec4\u7f51\u5185\u5404\u6210\u5458\u8eab\u4efd\u5bf9\u7b49\uff0c\u5747\u53ef\u5b9e\u73b0\u4e92\u8bbf\u3002"),(0,l.yg)("p",null,"\u5bf9\u7b49\u7f51\u7edc\uff08Peer-to-Peer\uff0c\u7b80\u79f0 P2P\uff09\u662f\u4e00\u79cd\u5206\u5e03\u5f0f\u7f51\u7edc\u7ed3\u6784\uff0c\u5b83\u5141\u8bb8\u7f51\u7edc\u4e2d\u7684\u8282\u70b9\uff08\u53c8\u79f0\u201c\u5bf9\u7b49\u4f53\u201d\u6216\u201c\u7528\u6237\u201d\uff09\u76f4\u63a5\u8fdb\u884c\u6570\u636e\u5171\u4eab\u548c\u901a\u4fe1\uff0c\u800c\u65e0\u9700\u4f9d\u8d56\u4e8e\u4e2d\u5fc3\u670d\u52a1\u5668\u3002\u5728\u5bf9\u7b49\u7f51\u7edc\u4e2d\uff0c\u6bcf\u4e2a\u8282\u70b9\u65e2\u662f\u5ba2\u6237\u7aef\u53c8\u662f\u670d\u52a1\u5668\uff0c\u56e0\u6b64\u7f51\u7edc\u8d44\u6e90\u548c\u8ba1\u7b97\u80fd\u529b\u662f\u5206\u6563\u7684\uff0c\u4e0d\u96c6\u4e2d\u5728\u7279\u5b9a\u7684\u670d\u52a1\u5668\u4e0a\u3002"),(0,l.yg)("h4",{id:"\u96c6\u6563\u7f51\u7edc"},"\u96c6\u6563\u7f51\u7edc"),(0,l.yg)("p",null,"\u7ec4\u7f51\u5185\u533a\u5206\u4e2d\u5fc3\u6210\u5458\u548c\u666e\u901a\u6210\u5458\uff0c\u666e\u901a\u6210\u5458\u53ea\u80fd\u8bbf\u95ee\u4e2d\u5fc3\u6210\u5458\uff0c\u666e\u901a\u6210\u5458\u4e4b\u95f4\u65e0\u6cd5\u4e92\u8bbf\u3002"),(0,l.yg)("h3",{id:"\u7ade\u54c1\u5206\u6790"},"\u7ade\u54c1\u5206\u6790"),(0,l.yg)("h4",{id:"\u8d1d\u9510\u84b2\u516c\u82f1"},"\u8d1d\u9510\u84b2\u516c\u82f1"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://pgy.oray.com/"},"https://pgy.oray.com/")," \u5f02\u5730\u7ec4\u7f51\u89e3\u51b3\u65b9\u6848")),(0,l.yg)("p",null,"p2p \u7684\u6280\u672f\u65b9\u6848"),(0,l.yg)("h4",{id:"\u6620\u7ff0\u901a"},"\u6620\u7ff0\u901a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://ics.inhandiot.com/users/home"},"https://ics.inhandiot.com/users/home")," \u968f\u5fc3\u6240\u6b32\u7684\u4e91\u8fde\u63a5\u670d\u52a1\uff0c\u8fde\u63a5 IoT\uff0c\u8fde\u63a5\u672a\u6765")),(0,l.yg)("p",null,"OpenVPN \u7684\u6280\u672f\u65b9\u6848"),(0,l.yg)("h3",{id:"\u53ef\u9009\u65b9\u6848"},"\u53ef\u9009\u65b9\u6848"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e00\uff1aSD-VPN\uff1a\u786c\u4ef6\uff08\u8def\u7531\u5668\uff09\u6765\u5b9e\u73b0 VPN \u7684 Server\uff08\u9700\u8981\u516c\u7f51 IP\uff09\uff0c\u53c2\u8003 TP-LINK\uff0c\u9700\u8981\u516c\u7f51 IP \u8fd9\u4e00\u6761\u5c31\u5f88\u5c40\u9650"),(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e8c\uff1aOpenVPN\uff1a\u8981\u6c42\u662f\u5b9e\u73b0\u591a\u79df\u6237\u9694\u79bb",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e8c A\uff1a\u91c7\u7528\u591a\u5b9e\u4f8b\u7684\u6a21\u5f0f\uff0c\u4e0d\u9002\u5408\u6700\u7ec8\u65b9\u6848\uff0c\u4e0d\u9002\u5408\u8fd0\u8425\u3001\u7ef4\u62a4"),(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e8c B\uff1a\u91c7\u7528\u5355\u5b9e\u4f8b\u7684\u6a21\u5f0f\uff0c\u4e0d\u9002\u5408\u6700\u7ec8\u65b9\u6848\uff0c\u53ef\u4ee5\u8fd0\u8425\u3001\u7ef4\u62a4"))),(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e09\uff1a\u57fa\u4e8e\u5f00\u6e90\u7684 P2P \u9879\u76ee\u6539\u9020\uff0c\u7814\u53d1\u5468\u671f\u957f\uff0c\u9700\u8981 C/C++\u4eba\u624d"),(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u56db\uff1a\u81ea\u7814 P2P\uff0c\u7814\u53d1\u5468\u671f\u957f\uff0c\u9700\u8981 C/C++\u4eba\u624d")))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9343],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),y=p(r),d=l,m=y["".concat(u,".").concat(d)]||y[d]||s[d]||a;return r?n.createElement(m,o(o({ref:t},c),{},{components:r})):n.createElement(m,o({ref:t},c))}));function m(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[y]="string"==typeof e?e:l,o[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>s,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,i={unversionedId:"study/net/\u5f02\u5730\u7ec4\u7f51",id:"study/net/\u5f02\u5730\u7ec4\u7f51",title:"\u5f02\u5730\u7ec4\u7f51",description:"\u7f51\u7edc\u7c7b\u578b",source:"@site/docs/study/net/\u5f02\u5730\u7ec4\u7f51.md",sourceDirName:"study/net",slug:"/study/net/\u5f02\u5730\u7ec4\u7f51",permalink:"/docs/study/net/\u5f02\u5730\u7ec4\u7f51",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",permalink:"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4"},next:{title:"\u6293\u5305\u5de5\u5177",permalink:"/docs/study/net/\u6293\u5305\u5de5\u5177"}},u={},p=[{value:"\u7f51\u7edc\u7c7b\u578b",id:"\u7f51\u7edc\u7c7b\u578b",level:3},{value:"\u5bf9\u7b49\u7f51\u7edc",id:"\u5bf9\u7b49\u7f51\u7edc",level:4},{value:"\u96c6\u6563\u7f51\u7edc",id:"\u96c6\u6563\u7f51\u7edc",level:4},{value:"\u7ade\u54c1\u5206\u6790",id:"\u7ade\u54c1\u5206\u6790",level:3},{value:"\u8d1d\u9510\u84b2\u516c\u82f1",id:"\u8d1d\u9510\u84b2\u516c\u82f1",level:4},{value:"\u6620\u7ff0\u901a",id:"\u6620\u7ff0\u901a",level:4},{value:"\u53ef\u9009\u65b9\u6848",id:"\u53ef\u9009\u65b9\u6848",level:3}],c={toc:p},y="wrapper";function s(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u7f51\u7edc\u7c7b\u578b"},"\u7f51\u7edc\u7c7b\u578b"),(0,l.yg)("h4",{id:"\u5bf9\u7b49\u7f51\u7edc"},"\u5bf9\u7b49\u7f51\u7edc"),(0,l.yg)("p",null,"\u7ec4\u7f51\u5185\u5404\u6210\u5458\u8eab\u4efd\u5bf9\u7b49\uff0c\u5747\u53ef\u5b9e\u73b0\u4e92\u8bbf\u3002"),(0,l.yg)("p",null,"\u5bf9\u7b49\u7f51\u7edc\uff08Peer-to-Peer\uff0c\u7b80\u79f0 P2P\uff09\u662f\u4e00\u79cd\u5206\u5e03\u5f0f\u7f51\u7edc\u7ed3\u6784\uff0c\u5b83\u5141\u8bb8\u7f51\u7edc\u4e2d\u7684\u8282\u70b9\uff08\u53c8\u79f0\u201c\u5bf9\u7b49\u4f53\u201d\u6216\u201c\u7528\u6237\u201d\uff09\u76f4\u63a5\u8fdb\u884c\u6570\u636e\u5171\u4eab\u548c\u901a\u4fe1\uff0c\u800c\u65e0\u9700\u4f9d\u8d56\u4e8e\u4e2d\u5fc3\u670d\u52a1\u5668\u3002\u5728\u5bf9\u7b49\u7f51\u7edc\u4e2d\uff0c\u6bcf\u4e2a\u8282\u70b9\u65e2\u662f\u5ba2\u6237\u7aef\u53c8\u662f\u670d\u52a1\u5668\uff0c\u56e0\u6b64\u7f51\u7edc\u8d44\u6e90\u548c\u8ba1\u7b97\u80fd\u529b\u662f\u5206\u6563\u7684\uff0c\u4e0d\u96c6\u4e2d\u5728\u7279\u5b9a\u7684\u670d\u52a1\u5668\u4e0a\u3002"),(0,l.yg)("h4",{id:"\u96c6\u6563\u7f51\u7edc"},"\u96c6\u6563\u7f51\u7edc"),(0,l.yg)("p",null,"\u7ec4\u7f51\u5185\u533a\u5206\u4e2d\u5fc3\u6210\u5458\u548c\u666e\u901a\u6210\u5458\uff0c\u666e\u901a\u6210\u5458\u53ea\u80fd\u8bbf\u95ee\u4e2d\u5fc3\u6210\u5458\uff0c\u666e\u901a\u6210\u5458\u4e4b\u95f4\u65e0\u6cd5\u4e92\u8bbf\u3002"),(0,l.yg)("h3",{id:"\u7ade\u54c1\u5206\u6790"},"\u7ade\u54c1\u5206\u6790"),(0,l.yg)("h4",{id:"\u8d1d\u9510\u84b2\u516c\u82f1"},"\u8d1d\u9510\u84b2\u516c\u82f1"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://pgy.oray.com/"},"https://pgy.oray.com/")," \u5f02\u5730\u7ec4\u7f51\u89e3\u51b3\u65b9\u6848")),(0,l.yg)("p",null,"p2p \u7684\u6280\u672f\u65b9\u6848"),(0,l.yg)("h4",{id:"\u6620\u7ff0\u901a"},"\u6620\u7ff0\u901a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://ics.inhandiot.com/users/home"},"https://ics.inhandiot.com/users/home")," \u968f\u5fc3\u6240\u6b32\u7684\u4e91\u8fde\u63a5\u670d\u52a1\uff0c\u8fde\u63a5 IoT\uff0c\u8fde\u63a5\u672a\u6765")),(0,l.yg)("p",null,"OpenVPN \u7684\u6280\u672f\u65b9\u6848"),(0,l.yg)("h3",{id:"\u53ef\u9009\u65b9\u6848"},"\u53ef\u9009\u65b9\u6848"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e00\uff1aSD-VPN\uff1a\u786c\u4ef6\uff08\u8def\u7531\u5668\uff09\u6765\u5b9e\u73b0 VPN \u7684 Server\uff08\u9700\u8981\u516c\u7f51 IP\uff09\uff0c\u53c2\u8003 TP-LINK\uff0c\u9700\u8981\u516c\u7f51 IP \u8fd9\u4e00\u6761\u5c31\u5f88\u5c40\u9650"),(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e8c\uff1aOpenVPN\uff1a\u8981\u6c42\u662f\u5b9e\u73b0\u591a\u79df\u6237\u9694\u79bb",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e8c A\uff1a\u91c7\u7528\u591a\u5b9e\u4f8b\u7684\u6a21\u5f0f\uff0c\u4e0d\u9002\u5408\u6700\u7ec8\u65b9\u6848\uff0c\u4e0d\u9002\u5408\u8fd0\u8425\u3001\u7ef4\u62a4"),(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e8c B\uff1a\u91c7\u7528\u5355\u5b9e\u4f8b\u7684\u6a21\u5f0f\uff0c\u4e0d\u9002\u5408\u6700\u7ec8\u65b9\u6848\uff0c\u53ef\u4ee5\u8fd0\u8425\u3001\u7ef4\u62a4"))),(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u4e09\uff1a\u57fa\u4e8e\u5f00\u6e90\u7684 P2P \u9879\u76ee\u6539\u9020\uff0c\u7814\u53d1\u5468\u671f\u957f\uff0c\u9700\u8981 C/C++\u4eba\u624d"),(0,l.yg)("li",{parentName:"ul"},"\u65b9\u6848\u56db\uff1a\u81ea\u7814 P2P\uff0c\u7814\u53d1\u5468\u671f\u957f\uff0c\u9700\u8981 C/C++\u4eba\u624d")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/26739764.ecc68a67.js b/assets/js/26739764.ccaa1f29.js similarity index 98% rename from assets/js/26739764.ecc68a67.js rename to assets/js/26739764.ccaa1f29.js index b3c4bfb1e..8ee3b766c 100644 --- a/assets/js/26739764.ecc68a67.js +++ b/assets/js/26739764.ccaa1f29.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6819],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},l="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),l=u(r),y=a,d=l["".concat(p,".").concat(y)]||l[y]||m[y]||o;return r?n.createElement(d,c(c({ref:t},s),{},{components:r})):n.createElement(d,c({ref:t},s))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[l]="string"==typeof e?e:a,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},c="mvnw",i={unversionedId:"study/back/maven/mvnw",id:"study/back/maven/mvnw",title:"mvnw",description:"- \u7b80\u4e66-mvnw \u4ecb\u7ecd",source:"@site/docs/study/back/maven/mvnw.md",sourceDirName:"study/back/maven",slug:"/study/back/maven/mvnw",permalink:"/docs/study/back/maven/mvnw",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",permalink:"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e"},next:{title:"\u5e38\u7528\u53c2\u6570",permalink:"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570"}},p={},u=[],s={toc:u},l="wrapper";function m(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"mvnw"},"mvnw"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/cea126e9ea58"},"\u7b80\u4e66-mvnw \u4ecb\u7ecd"))))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6819],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},l="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),l=u(r),y=a,d=l["".concat(p,".").concat(y)]||l[y]||m[y]||o;return r?n.createElement(d,c(c({ref:t},s),{},{components:r})):n.createElement(d,c({ref:t},s))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[l]="string"==typeof e?e:a,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},c="mvnw",i={unversionedId:"study/back/maven/mvnw",id:"study/back/maven/mvnw",title:"mvnw",description:"- \u7b80\u4e66-mvnw \u4ecb\u7ecd",source:"@site/docs/study/back/maven/mvnw.md",sourceDirName:"study/back/maven",slug:"/study/back/maven/mvnw",permalink:"/docs/study/back/maven/mvnw",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",permalink:"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e"},next:{title:"\u5e38\u7528\u53c2\u6570",permalink:"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570"}},p={},u=[],s={toc:u},l="wrapper";function m(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"mvnw"},"mvnw"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/cea126e9ea58"},"\u7b80\u4e66-mvnw \u4ecb\u7ecd"))))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/281494d0.af0995eb.js b/assets/js/281494d0.538ce6b4.js similarity index 99% rename from assets/js/281494d0.af0995eb.js rename to assets/js/281494d0.538ce6b4.js index a217f5641..359138dae 100644 --- a/assets/js/281494d0.af0995eb.js +++ b/assets/js/281494d0.538ce6b4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7145],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>f});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=r.createContext({}),c=function(e){var n=r.useContext(l),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},p=function(e){var n=c(e.components);return r.createElement(l.Provider,{value:n},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},g=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=c(t),g=a,f=s["".concat(l,".").concat(g)]||s[g]||d[g]||o;return t?r.createElement(f,i(i({ref:n},p),{},{components:t})):r.createElement(f,i({ref:n},p))}));function f(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,i=new Array(o);i[0]=g;var u={};for(var l in n)hasOwnProperty.call(n,l)&&(u[l]=n[l]);u.originalType=e,u[s]="string"==typeof e?e:a,i[1]=u;for(var c=2;c{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>u,toc:()=>c});var r=t(58168),a=(t(96540),t(15680));const o={sidebar_position:3},i="\u7528\u6237\u7aef+\u7ba1\u7406\u7aef",u={unversionedId:"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef",id:"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef",title:"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef",description:"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7528\u6237\u7aef\u548c\u7ba1\u7406\u7aef\u90fd\u662f\u504f\u4e2d\u540e\u53f0\u7684\u7ba1\u7406\u7cfb\u7edf\uff0c\u6240\u4ee5\u4ed6\u4eec\u4e24\u4e2a\u524d\u7aef\u7684\u6280\u672f\u9009\u578b\u4e0a\u5e94\u8be5\u662f\u7edf\u4e00\u7684\uff1b",source:"@site/docs/xuanxing/fe/3-\u7528\u6237\u7aef\u7ba1\u7406\u7aef.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef",permalink:"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"xuanxingSidebar",previous:{title:"\u5b98\u7f51",permalink:"/docs/xuanxing/fe/\u5b98\u7f51"},next:{title:"\u79fb\u52a8\u7aef",permalink:"/docs/xuanxing/fe/\u79fb\u52a8\u7aef"}},l={},c=[{value:"\u53ef\u9009\u65b9\u6848",id:"\u53ef\u9009\u65b9\u6848",level:3},{value:"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a",id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350",level:3}],p={toc:c},s="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(s,(0,r.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u7528\u6237\u7aef\u7ba1\u7406\u7aef"},"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7528\u6237\u7aef\u548c\u7ba1\u7406\u7aef\u90fd\u662f\u504f\u4e2d\u540e\u53f0\u7684\u7ba1\u7406\u7cfb\u7edf\uff0c\u6240\u4ee5\u4ed6\u4eec\u4e24\u4e2a\u524d\u7aef\u7684\u6280\u672f\u9009\u578b\u4e0a\u5e94\u8be5\u662f\u7edf\u4e00\u7684\uff1b\n\u7528\u6237\u7aef\u662f\u7ed9\u7528\u6237\u4f7f\u7528\u7684\uff0c\u7ba1\u7406\u7aef\u662f\u7ed9\u516c\u53f8\u5185\u90e8\u4f7f\u7528\u7684\u3002"),(0,a.yg)("h3",{id:"\u53ef\u9009\u65b9\u6848"},"\u53ef\u9009\u65b9\u6848"),(0,a.yg)("p",null,"\u6700\u8fd1\u6bd4\u8f83\u706b\u7684\u6280\u672f\u5c31\u4e09\u4e2a\uff1aVue\u3001React\u3001Angular"),(0,a.yg)("p",null,"\u53d7\u4f17\u7a0b\u5ea6\u4e0a\uff0cVue\u56fd\u5185\u8f83\u591a\uff0cReact\u56fd\u5916\u8f83\u591a\uff0cAngular\u90fd\u4e0d\u591a\uff0c\u6240\u4ee5\uff0cAngular\u57fa\u672c\u53ef\u4ee5\u653e\u5f03\u4e86\u3002"),(0,a.yg)("p",null,"\u4ece\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4ea7\u54c1\u67b6\u6784\u4e0a\u53ef\u4ee5\u770b\u51fa\uff0c\u529f\u80fd\u662f\u5f88\u591a\u5f88\u6742\u7684\uff0c\u800c\u4e14\u8fd8\u6709\u53ef\u80fd\u8bbe\u8ba1\u5230\u4e09\u65b9\u9875\u9762\u7684\u6574\u5408\u7b49\uff0c\n\u8fd9\u4e09\u4e2a\u6280\u672f\u4e0a\u90fd\u53ef\u4ee5\u80dc\u4efb\uff0c\u5dee\u522b\u4e0d\u5927\u3002"),(0,a.yg)("p",null,"\u56fd\u5185\u7684\u8bdd\uff0c\u9996\u63a8Vue\uff0c\u5176\u4ed6\u4e0d\u5206\u6790\u4e86\u3002"),(0,a.yg)("p",null,"\u9009Vue\u7684\u8bdd\uff0c\u6709\u51e0\u4e2a\u5907\u9009\u65b9\u6848\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Vue2+element-ui\uff0c\u8fd9\u4e2a\u5728\u56fd\u5185\u7528\u7684\u662f\u771f\u591a\uff0c\u552f\u4e00\u7684\u52a3\u52bf\u5c31\u662f\u4ed6\u662fVue2\uff0c\u800c\u76ee\u524dVue\u662f\u4e3b\u6d41\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Vue3+elementuiPlus\uff0c\u8fd9\u4e2a\u53d7\u4f17\u9762\u4e0d\u9519\uff0c\u52a3\u52bf\u5c31\u662felementuiPlus\u662f\u793e\u533a\u7ef4\u62a4\u7684\uff0c\u4e0d\u518d\u80cc\u9760\u997f\u4e86\u4e48\u4e86\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Vue3+antd-vue\uff0c\u5982\u679c\u662freact\u53ef\u4ee5\u8003\u8651antd\uff0c\u4f46\u662f\u5982\u679c\u662fVue\uff0c\u5c31\u7b97\u4e86\u5427\uff0c\u800c\u4e14antd-vue\u548cantd\u4e0d\u662f\u4e00\u56de\u4e8b\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Vue3+tdesign\uff0c\u80cc\u9760\u817e\u8baf\uff0cpro\u505a\u7684\u4e5f\u4e0d\u9519\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Vue3+arco.design\uff0c\u80cc\u9760\u5b57\u8282\uff0cpro\u505a\u7684\u4e5f\u4e0d\u9519\uff1b")),(0,a.yg)("p",null,"\u57fa\u672c\u4e0a\uff0c\u5c31\u662ftdesign\u548carcodesign\u4e8c\u9009\u4e00\u4e86\uff0c\u4e2a\u4eba\u63a8\u8350arco.design\u3002"),(0,a.yg)("h3",{id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350"},"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a"),(0,a.yg)("p",null,"Vue3+arco-design-pro-vue"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7145],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>f});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=r.createContext({}),c=function(e){var n=r.useContext(l),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},p=function(e){var n=c(e.components);return r.createElement(l.Provider,{value:n},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},g=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=c(t),g=a,f=s["".concat(l,".").concat(g)]||s[g]||d[g]||o;return t?r.createElement(f,i(i({ref:n},p),{},{components:t})):r.createElement(f,i({ref:n},p))}));function f(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,i=new Array(o);i[0]=g;var u={};for(var l in n)hasOwnProperty.call(n,l)&&(u[l]=n[l]);u.originalType=e,u[s]="string"==typeof e?e:a,i[1]=u;for(var c=2;c{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>u,toc:()=>c});var r=t(58168),a=(t(96540),t(15680));const o={sidebar_position:3},i="\u7528\u6237\u7aef+\u7ba1\u7406\u7aef",u={unversionedId:"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef",id:"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef",title:"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef",description:"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7528\u6237\u7aef\u548c\u7ba1\u7406\u7aef\u90fd\u662f\u504f\u4e2d\u540e\u53f0\u7684\u7ba1\u7406\u7cfb\u7edf\uff0c\u6240\u4ee5\u4ed6\u4eec\u4e24\u4e2a\u524d\u7aef\u7684\u6280\u672f\u9009\u578b\u4e0a\u5e94\u8be5\u662f\u7edf\u4e00\u7684\uff1b",source:"@site/docs/xuanxing/fe/3-\u7528\u6237\u7aef\u7ba1\u7406\u7aef.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef",permalink:"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"xuanxingSidebar",previous:{title:"\u5b98\u7f51",permalink:"/docs/xuanxing/fe/\u5b98\u7f51"},next:{title:"\u79fb\u52a8\u7aef",permalink:"/docs/xuanxing/fe/\u79fb\u52a8\u7aef"}},l={},c=[{value:"\u53ef\u9009\u65b9\u6848",id:"\u53ef\u9009\u65b9\u6848",level:3},{value:"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a",id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350",level:3}],p={toc:c},s="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(s,(0,r.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u7528\u6237\u7aef\u7ba1\u7406\u7aef"},"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7528\u6237\u7aef\u548c\u7ba1\u7406\u7aef\u90fd\u662f\u504f\u4e2d\u540e\u53f0\u7684\u7ba1\u7406\u7cfb\u7edf\uff0c\u6240\u4ee5\u4ed6\u4eec\u4e24\u4e2a\u524d\u7aef\u7684\u6280\u672f\u9009\u578b\u4e0a\u5e94\u8be5\u662f\u7edf\u4e00\u7684\uff1b\n\u7528\u6237\u7aef\u662f\u7ed9\u7528\u6237\u4f7f\u7528\u7684\uff0c\u7ba1\u7406\u7aef\u662f\u7ed9\u516c\u53f8\u5185\u90e8\u4f7f\u7528\u7684\u3002"),(0,a.yg)("h3",{id:"\u53ef\u9009\u65b9\u6848"},"\u53ef\u9009\u65b9\u6848"),(0,a.yg)("p",null,"\u6700\u8fd1\u6bd4\u8f83\u706b\u7684\u6280\u672f\u5c31\u4e09\u4e2a\uff1aVue\u3001React\u3001Angular"),(0,a.yg)("p",null,"\u53d7\u4f17\u7a0b\u5ea6\u4e0a\uff0cVue\u56fd\u5185\u8f83\u591a\uff0cReact\u56fd\u5916\u8f83\u591a\uff0cAngular\u90fd\u4e0d\u591a\uff0c\u6240\u4ee5\uff0cAngular\u57fa\u672c\u53ef\u4ee5\u653e\u5f03\u4e86\u3002"),(0,a.yg)("p",null,"\u4ece\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4ea7\u54c1\u67b6\u6784\u4e0a\u53ef\u4ee5\u770b\u51fa\uff0c\u529f\u80fd\u662f\u5f88\u591a\u5f88\u6742\u7684\uff0c\u800c\u4e14\u8fd8\u6709\u53ef\u80fd\u8bbe\u8ba1\u5230\u4e09\u65b9\u9875\u9762\u7684\u6574\u5408\u7b49\uff0c\n\u8fd9\u4e09\u4e2a\u6280\u672f\u4e0a\u90fd\u53ef\u4ee5\u80dc\u4efb\uff0c\u5dee\u522b\u4e0d\u5927\u3002"),(0,a.yg)("p",null,"\u56fd\u5185\u7684\u8bdd\uff0c\u9996\u63a8Vue\uff0c\u5176\u4ed6\u4e0d\u5206\u6790\u4e86\u3002"),(0,a.yg)("p",null,"\u9009Vue\u7684\u8bdd\uff0c\u6709\u51e0\u4e2a\u5907\u9009\u65b9\u6848\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Vue2+element-ui\uff0c\u8fd9\u4e2a\u5728\u56fd\u5185\u7528\u7684\u662f\u771f\u591a\uff0c\u552f\u4e00\u7684\u52a3\u52bf\u5c31\u662f\u4ed6\u662fVue2\uff0c\u800c\u76ee\u524dVue\u662f\u4e3b\u6d41\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Vue3+elementuiPlus\uff0c\u8fd9\u4e2a\u53d7\u4f17\u9762\u4e0d\u9519\uff0c\u52a3\u52bf\u5c31\u662felementuiPlus\u662f\u793e\u533a\u7ef4\u62a4\u7684\uff0c\u4e0d\u518d\u80cc\u9760\u997f\u4e86\u4e48\u4e86\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Vue3+antd-vue\uff0c\u5982\u679c\u662freact\u53ef\u4ee5\u8003\u8651antd\uff0c\u4f46\u662f\u5982\u679c\u662fVue\uff0c\u5c31\u7b97\u4e86\u5427\uff0c\u800c\u4e14antd-vue\u548cantd\u4e0d\u662f\u4e00\u56de\u4e8b\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Vue3+tdesign\uff0c\u80cc\u9760\u817e\u8baf\uff0cpro\u505a\u7684\u4e5f\u4e0d\u9519\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Vue3+arco.design\uff0c\u80cc\u9760\u5b57\u8282\uff0cpro\u505a\u7684\u4e5f\u4e0d\u9519\uff1b")),(0,a.yg)("p",null,"\u57fa\u672c\u4e0a\uff0c\u5c31\u662ftdesign\u548carcodesign\u4e8c\u9009\u4e00\u4e86\uff0c\u4e2a\u4eba\u63a8\u8350arco.design\u3002"),(0,a.yg)("h3",{id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350"},"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a"),(0,a.yg)("p",null,"Vue3+arco-design-pro-vue"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/28f5562e.087766c5.js b/assets/js/28f5562e.3f6f2068.js similarity index 99% rename from assets/js/28f5562e.087766c5.js rename to assets/js/28f5562e.3f6f2068.js index bc2186186..101bb576a 100644 --- a/assets/js/28f5562e.087766c5.js +++ b/assets/js/28f5562e.3f6f2068.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2228],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>g});var r=n(96540);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var o=r.createContext({}),c=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},u=function(e){var t=c(e.components);return r.createElement(o.Provider,{value:t},e.children)},s="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,l=e.originalType,o=e.parentName,u=d(e,["components","mdxType","originalType","parentName"]),s=c(n),y=i,g=s["".concat(o,".").concat(y)]||s[y]||p[y]||l;return n?r.createElement(g,a(a({ref:t},u),{},{components:n})):r.createElement(g,a({ref:t},u))}));function g(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var l=n.length,a=new Array(l);a[0]=y;var d={};for(var o in t)hasOwnProperty.call(t,o)&&(d[o]=t[o]);d.originalType=e,d[s]="string"==typeof e?e:i,a[1]=d;for(var c=2;c{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>p,frontMatter:()=>l,metadata:()=>d,toc:()=>c});var r=n(58168),i=(n(96540),n(15680));const l={},a=void 0,d={unversionedId:"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784",id:"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784",title:"\u5f02\u5730\u591a\u6d3b\u67b6\u6784",description:"\u5e72\u8d27\uff5c\u641e\u61c2\u300c\u5f02\u5730\u591a\u6d3b\u300d\uff0c\u770b\u8fd9\u7bc7\u5c31\u591f\u4e86",source:"@site/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CAP\u7406\u8bba",permalink:"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba"},next:{title:"\u6280\u672f\u4e2d\u53f0",permalink:"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0"}},o={},c=[{value:"\u5355\u673a\u67b6\u6784",id:"\u5355\u673a\u67b6\u6784",level:3},{value:"\u3010\u6ca1\u6709\u6570\u636e\u5907\u4efd\u3011",id:"\u6ca1\u6709\u6570\u636e\u5907\u4efd",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u975e\u5b9e\u65f6\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u975e\u5b9e\u65f6",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u975e\u8bfb\u5199\u5206\u79bb\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u975e\u8bfb\u5199\u5206\u79bb",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u8bfb\u5199\u5206\u79bb\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u8bfb\u5199\u5206\u79bb",level:4},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u540c\u57ce\u4e00\u4e2a\u673a\u623f\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u540c\u57ce\u4e00\u4e2a\u673a\u623f",level:3},{value:"\u3010\u6ca1\u6709\u6570\u636e\u5907\u4efd\u3011",id:"\u6ca1\u6709\u6570\u636e\u5907\u4efd-1",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u975e\u5b9e\u65f6\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u975e\u5b9e\u65f6-1",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u975e\u8bfb\u5199\u5206\u79bb\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u975e\u8bfb\u5199\u5206\u79bb-1",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u8bfb\u5199\u5206\u79bb\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u8bfb\u5199\u5206\u79bb-1",level:4},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u540c\u57ce2\u4e2a\u673a\u623f\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u540c\u57ce2\u4e2a\u673a\u623f",level:3},{value:"\u3010\u51b7\u5907\u3011",id:"\u51b7\u5907",level:4},{value:"\u3010\u70ed\u5907\u3011",id:"\u70ed\u5907",level:4},{value:"\u3010\u540c\u57ce\u53cc\u6d3b\u3011",id:"\u540c\u57ce\u53cc\u6d3b",level:4},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u4e24\u57ce3\u4e2a\u673a\u623f\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u4e24\u57ce3\u4e2a\u673a\u623f",level:3},{value:"\u3010\u4e24\u5730\u4e09\u4e2d\u5fc3\u3001\u707e\u5907\u3011",id:"\u4e24\u5730\u4e09\u4e2d\u5fc3\u707e\u5907",level:4},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u4f2a\u5f02\u5730\u53cc\u6d3b\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u4f2a\u5f02\u5730\u53cc\u6d3b",level:3},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u5f02\u5730\u53cc\u6d3b\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u5f02\u5730\u53cc\u6d3b",level:3},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u5f02\u5730\u591a\u6d3b\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u5f02\u5730\u591a\u6d3b",level:3}],u={toc:c},s="wrapper";function p(e){let{components:t,...l}=e;return(0,i.yg)(s,(0,r.A)({},u,l,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://baijiahao.baidu.com/s?id=1714292603624190772&wfr=spider&for=pc"},"\u5e72\u8d27\uff5c\u641e\u61c2\u300c\u5f02\u5730\u591a\u6d3b\u300d\uff0c\u770b\u8fd9\u7bc7\u5c31\u591f\u4e86")),(0,i.yg)("p",null,(0,i.yg)("img",{alt:"image.png",src:n(21959).A,width:"376",height:"481"})),(0,i.yg)("h3",{id:"\u5355\u673a\u67b6\u6784"},"\u5355\u673a\u67b6\u6784"),(0,i.yg)("h4",{id:"\u6ca1\u6709\u6570\u636e\u5907\u4efd"},"\u3010\u6ca1\u6709\u6570\u636e\u5907\u4efd\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u975e\u5b9e\u65f6"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u975e\u5b9e\u65f6\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u975e\u8bfb\u5199\u5206\u79bb"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u975e\u8bfb\u5199\u5206\u79bb\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u8bfb\u5199\u5206\u79bb"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u8bfb\u5199\u5206\u79bb\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u540c\u57ce\u4e00\u4e2a\u673a\u623f"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u540c\u57ce\u4e00\u4e2a\u673a\u623f\u3011"),(0,i.yg)("h4",{id:"\u6ca1\u6709\u6570\u636e\u5907\u4efd-1"},"\u3010\u6ca1\u6709\u6570\u636e\u5907\u4efd\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u975e\u5b9e\u65f6-1"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u975e\u5b9e\u65f6\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u975e\u8bfb\u5199\u5206\u79bb-1"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u975e\u8bfb\u5199\u5206\u79bb\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u8bfb\u5199\u5206\u79bb-1"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u8bfb\u5199\u5206\u79bb\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u540c\u57ce2\u4e2a\u673a\u623f"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u540c\u57ce2\u4e2a\u673a\u623f\u3011"),(0,i.yg)("h4",{id:"\u51b7\u5907"},"\u3010\u51b7\u5907\u3011"),(0,i.yg)("h4",{id:"\u70ed\u5907"},"\u3010\u70ed\u5907\u3011"),(0,i.yg)("h4",{id:"\u540c\u57ce\u53cc\u6d3b"},"\u3010\u540c\u57ce\u53cc\u6d3b\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u4e24\u57ce3\u4e2a\u673a\u623f"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u4e24\u57ce3\u4e2a\u673a\u623f\u3011"),(0,i.yg)("p",null,"\u5728\u3010\u540c\u57ce\u53cc\u6d3b\u3011\u7684\u57fa\u7840\u4e0a\u65b0\u589e\u4e86\u4e00\u4e2a\u5f02\u5730\uff08\u975e\u4e00\u4e2a\u57ce\u5e02\uff09\u673a\u623f\u3002"),(0,i.yg)("h4",{id:"\u4e24\u5730\u4e09\u4e2d\u5fc3\u707e\u5907"},"\u3010\u4e24\u5730\u4e09\u4e2d\u5fc3\u3001\u707e\u5907\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u4f2a\u5f02\u5730\u53cc\u6d3b"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u4f2a\u5f02\u5730\u53cc\u6d3b\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u5f02\u5730\u53cc\u6d3b"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u5f02\u5730\u53cc\u6d3b\u3011"),(0,i.yg)("p",null,"\u8def\u7531\u5c42\u7684\u89c4\u5219\u600e\u4e48\u5b9a\uff0c\u4e00\u822c\u662f\u6839\u636e\u4e1a\u52a1\u7c7b\u578b\u3001\u54c8\u5e0c\u7b97\u6cd5(\u4f8b\u5982\u7528\u6237ID)\u3001\u5730\u7406\u4f4d\u7f6e\u7b49"),(0,i.yg)("p",null,(0,i.yg)("img",{alt:"image.png",src:n(54924).A,width:"640",height:"927"})),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u5f02\u5730\u591a\u6d3b"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u5f02\u5730\u591a\u6d3b\u3011"),(0,i.yg)("p",null,"\u3010\u7f51\u72b6\u3011"),(0,i.yg)("p",null,(0,i.yg)("img",{alt:"image.png",src:n(66549).A,width:"640",height:"668"})),(0,i.yg)("p",null,"\u3010\u661f\u72b6\u3011"),(0,i.yg)("p",null,(0,i.yg)("img",{alt:"image.png",src:n(14490).A,width:"640",height:"668"})))}p.isMDXComponent=!0},21959:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/y1-2ea87099668e063c3e7c2ff629fb6343.png"},54924:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/y2-6d288cb5097c590fd6e5f87b0bc7d444.png"},66549:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/y3-c6ae8c195d1db0dbd128a468ead957ec.png"},14490:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/y4-664326e1d0537a58fb2221d2aa95bf62.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2228],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>g});var r=n(96540);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var o=r.createContext({}),c=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},u=function(e){var t=c(e.components);return r.createElement(o.Provider,{value:t},e.children)},s="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,l=e.originalType,o=e.parentName,u=d(e,["components","mdxType","originalType","parentName"]),s=c(n),y=i,g=s["".concat(o,".").concat(y)]||s[y]||p[y]||l;return n?r.createElement(g,a(a({ref:t},u),{},{components:n})):r.createElement(g,a({ref:t},u))}));function g(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var l=n.length,a=new Array(l);a[0]=y;var d={};for(var o in t)hasOwnProperty.call(t,o)&&(d[o]=t[o]);d.originalType=e,d[s]="string"==typeof e?e:i,a[1]=d;for(var c=2;c{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>p,frontMatter:()=>l,metadata:()=>d,toc:()=>c});var r=n(58168),i=(n(96540),n(15680));const l={},a=void 0,d={unversionedId:"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784",id:"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784",title:"\u5f02\u5730\u591a\u6d3b\u67b6\u6784",description:"\u5e72\u8d27\uff5c\u641e\u61c2\u300c\u5f02\u5730\u591a\u6d3b\u300d\uff0c\u770b\u8fd9\u7bc7\u5c31\u591f\u4e86",source:"@site/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CAP\u7406\u8bba",permalink:"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba"},next:{title:"\u6280\u672f\u4e2d\u53f0",permalink:"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0"}},o={},c=[{value:"\u5355\u673a\u67b6\u6784",id:"\u5355\u673a\u67b6\u6784",level:3},{value:"\u3010\u6ca1\u6709\u6570\u636e\u5907\u4efd\u3011",id:"\u6ca1\u6709\u6570\u636e\u5907\u4efd",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u975e\u5b9e\u65f6\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u975e\u5b9e\u65f6",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u975e\u8bfb\u5199\u5206\u79bb\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u975e\u8bfb\u5199\u5206\u79bb",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u8bfb\u5199\u5206\u79bb\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u8bfb\u5199\u5206\u79bb",level:4},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u540c\u57ce\u4e00\u4e2a\u673a\u623f\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u540c\u57ce\u4e00\u4e2a\u673a\u623f",level:3},{value:"\u3010\u6ca1\u6709\u6570\u636e\u5907\u4efd\u3011",id:"\u6ca1\u6709\u6570\u636e\u5907\u4efd-1",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u975e\u5b9e\u65f6\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u975e\u5b9e\u65f6-1",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u975e\u8bfb\u5199\u5206\u79bb\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u975e\u8bfb\u5199\u5206\u79bb-1",level:4},{value:"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u8bfb\u5199\u5206\u79bb\u3011",id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u8bfb\u5199\u5206\u79bb-1",level:4},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u540c\u57ce2\u4e2a\u673a\u623f\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u540c\u57ce2\u4e2a\u673a\u623f",level:3},{value:"\u3010\u51b7\u5907\u3011",id:"\u51b7\u5907",level:4},{value:"\u3010\u70ed\u5907\u3011",id:"\u70ed\u5907",level:4},{value:"\u3010\u540c\u57ce\u53cc\u6d3b\u3011",id:"\u540c\u57ce\u53cc\u6d3b",level:4},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u4e24\u57ce3\u4e2a\u673a\u623f\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u4e24\u57ce3\u4e2a\u673a\u623f",level:3},{value:"\u3010\u4e24\u5730\u4e09\u4e2d\u5fc3\u3001\u707e\u5907\u3011",id:"\u4e24\u5730\u4e09\u4e2d\u5fc3\u707e\u5907",level:4},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u4f2a\u5f02\u5730\u53cc\u6d3b\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u4f2a\u5f02\u5730\u53cc\u6d3b",level:3},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u5f02\u5730\u53cc\u6d3b\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u5f02\u5730\u53cc\u6d3b",level:3},{value:"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u5f02\u5730\u591a\u6d3b\u3011",id:"\u5206\u5e03\u5f0f\u67b6\u6784\u5f02\u5730\u591a\u6d3b",level:3}],u={toc:c},s="wrapper";function p(e){let{components:t,...l}=e;return(0,i.yg)(s,(0,r.A)({},u,l,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://baijiahao.baidu.com/s?id=1714292603624190772&wfr=spider&for=pc"},"\u5e72\u8d27\uff5c\u641e\u61c2\u300c\u5f02\u5730\u591a\u6d3b\u300d\uff0c\u770b\u8fd9\u7bc7\u5c31\u591f\u4e86")),(0,i.yg)("p",null,(0,i.yg)("img",{alt:"image.png",src:n(21959).A,width:"376",height:"481"})),(0,i.yg)("h3",{id:"\u5355\u673a\u67b6\u6784"},"\u5355\u673a\u67b6\u6784"),(0,i.yg)("h4",{id:"\u6ca1\u6709\u6570\u636e\u5907\u4efd"},"\u3010\u6ca1\u6709\u6570\u636e\u5907\u4efd\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u975e\u5b9e\u65f6"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u975e\u5b9e\u65f6\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u975e\u8bfb\u5199\u5206\u79bb"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u975e\u8bfb\u5199\u5206\u79bb\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u8bfb\u5199\u5206\u79bb"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u8bfb\u5199\u5206\u79bb\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u540c\u57ce\u4e00\u4e2a\u673a\u623f"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u540c\u57ce\u4e00\u4e2a\u673a\u623f\u3011"),(0,i.yg)("h4",{id:"\u6ca1\u6709\u6570\u636e\u5907\u4efd-1"},"\u3010\u6ca1\u6709\u6570\u636e\u5907\u4efd\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u975e\u5b9e\u65f6-1"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u975e\u5b9e\u65f6\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u975e\u8bfb\u5199\u5206\u79bb-1"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u975e\u8bfb\u5199\u5206\u79bb\u3011"),(0,i.yg)("h4",{id:"\u6709\u6570\u636e\u5907\u4efd\u5b9e\u65f6\u4e3b\u4ece\u6570\u636e\u5e93\u8bfb\u5199\u5206\u79bb-1"},"\u3010\u6709\u6570\u636e\u5907\u4efd\u3001\u5b9e\u65f6\u3001\u4e3b\u4ece\u6570\u636e\u5e93\u3001\u8bfb\u5199\u5206\u79bb\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u540c\u57ce2\u4e2a\u673a\u623f"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u540c\u57ce2\u4e2a\u673a\u623f\u3011"),(0,i.yg)("h4",{id:"\u51b7\u5907"},"\u3010\u51b7\u5907\u3011"),(0,i.yg)("h4",{id:"\u70ed\u5907"},"\u3010\u70ed\u5907\u3011"),(0,i.yg)("h4",{id:"\u540c\u57ce\u53cc\u6d3b"},"\u3010\u540c\u57ce\u53cc\u6d3b\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u4e24\u57ce3\u4e2a\u673a\u623f"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u4e24\u57ce3\u4e2a\u673a\u623f\u3011"),(0,i.yg)("p",null,"\u5728\u3010\u540c\u57ce\u53cc\u6d3b\u3011\u7684\u57fa\u7840\u4e0a\u65b0\u589e\u4e86\u4e00\u4e2a\u5f02\u5730\uff08\u975e\u4e00\u4e2a\u57ce\u5e02\uff09\u673a\u623f\u3002"),(0,i.yg)("h4",{id:"\u4e24\u5730\u4e09\u4e2d\u5fc3\u707e\u5907"},"\u3010\u4e24\u5730\u4e09\u4e2d\u5fc3\u3001\u707e\u5907\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u4f2a\u5f02\u5730\u53cc\u6d3b"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u4f2a\u5f02\u5730\u53cc\u6d3b\u3011"),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u5f02\u5730\u53cc\u6d3b"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u5f02\u5730\u53cc\u6d3b\u3011"),(0,i.yg)("p",null,"\u8def\u7531\u5c42\u7684\u89c4\u5219\u600e\u4e48\u5b9a\uff0c\u4e00\u822c\u662f\u6839\u636e\u4e1a\u52a1\u7c7b\u578b\u3001\u54c8\u5e0c\u7b97\u6cd5(\u4f8b\u5982\u7528\u6237ID)\u3001\u5730\u7406\u4f4d\u7f6e\u7b49"),(0,i.yg)("p",null,(0,i.yg)("img",{alt:"image.png",src:n(54924).A,width:"640",height:"927"})),(0,i.yg)("h3",{id:"\u5206\u5e03\u5f0f\u67b6\u6784\u5f02\u5730\u591a\u6d3b"},"\u5206\u5e03\u5f0f\u67b6\u6784\u3010\u5f02\u5730\u591a\u6d3b\u3011"),(0,i.yg)("p",null,"\u3010\u7f51\u72b6\u3011"),(0,i.yg)("p",null,(0,i.yg)("img",{alt:"image.png",src:n(66549).A,width:"640",height:"668"})),(0,i.yg)("p",null,"\u3010\u661f\u72b6\u3011"),(0,i.yg)("p",null,(0,i.yg)("img",{alt:"image.png",src:n(14490).A,width:"640",height:"668"})))}p.isMDXComponent=!0},21959:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/y1-2ea87099668e063c3e7c2ff629fb6343.png"},54924:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/y2-6d288cb5097c590fd6e5f87b0bc7d444.png"},66549:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/y3-c6ae8c195d1db0dbd128a468ead957ec.png"},14490:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/y4-664326e1d0537a58fb2221d2aa95bf62.png"}}]); \ No newline at end of file diff --git a/assets/js/299c9998.f882a243.js b/assets/js/299c9998.7437223d.js similarity index 98% rename from assets/js/299c9998.f882a243.js rename to assets/js/299c9998.7437223d.js index 4a677c746..4ab057642 100644 --- a/assets/js/299c9998.f882a243.js +++ b/assets/js/299c9998.7437223d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2433],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241010",id:"study/stock/20241010",title:"20241010",description:"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 3 \u4e2a\u4ea4\u6613\u65e5",source:"@site/docs/study/stock/20241010.md",sourceDirName:"study/stock",slug:"/study/stock/20241010",permalink:"/docs/study/stock/20241010",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 3 \u4e2a\u4ea4\u6613\u65e5"),(0,o.yg)("p",null,"\u4eca\u5929\u7b80\u5355\u505a\u4e86\u4e2a T"),(0,o.yg)("p",null,"\u6ee1\u4ed3\u4e86\uff0c\u4e8f\u635f\u4e86"),(0,o.yg)("p",null,"\u8981\u6709\u8010\u5fc3\uff0c\u660e\u5929\u7ee7\u7eed\u505a T"),(0,o.yg)("p",null,"\u56fd\u5bb6\u6574\u8fd9\u4e48\u5927\u7684\u9635\u4ed7\uff0c\u4e0d\u4f1a\u8fd9\u4e48\u5feb\u5c31\u7ed3\u675f\u7684\uff0c\u8981\u6709\u8010\u5fc3"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2433],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241010",id:"study/stock/20241010",title:"20241010",description:"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 3 \u4e2a\u4ea4\u6613\u65e5",source:"@site/docs/study/stock/20241010.md",sourceDirName:"study/stock",slug:"/study/stock/20241010",permalink:"/docs/study/stock/20241010",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 3 \u4e2a\u4ea4\u6613\u65e5"),(0,o.yg)("p",null,"\u4eca\u5929\u7b80\u5355\u505a\u4e86\u4e2a T"),(0,o.yg)("p",null,"\u6ee1\u4ed3\u4e86\uff0c\u4e8f\u635f\u4e86"),(0,o.yg)("p",null,"\u8981\u6709\u8010\u5fc3\uff0c\u660e\u5929\u7ee7\u7eed\u505a T"),(0,o.yg)("p",null,"\u56fd\u5bb6\u6574\u8fd9\u4e48\u5927\u7684\u9635\u4ed7\uff0c\u4e0d\u4f1a\u8fd9\u4e48\u5feb\u5c31\u7ed3\u675f\u7684\uff0c\u8981\u6709\u8010\u5fc3"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/29ac29a0.6015810d.js b/assets/js/29ac29a0.0dab063a.js similarity index 98% rename from assets/js/29ac29a0.6015810d.js rename to assets/js/29ac29a0.0dab063a.js index 591575633..3900030fa 100644 --- a/assets/js/29ac29a0.6015810d.js +++ b/assets/js/29ac29a0.0dab063a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9136],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=l(r),f=a,y=u["".concat(s,".").concat(f)]||u[f]||d[f]||o;return r?n.createElement(y,c(c({ref:t},p),{},{components:r})):n.createElement(y,c({ref:t},p))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=f;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[u]="string"==typeof e?e:a,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},c="Save Action",i={unversionedId:"study/back/IEDA/save-action",id:"study/back/IEDA/save-action",title:"Save Action",description:"Save Action",source:"@site/docs/study/back/IEDA/save-action.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/save-action",permalink:"/docs/study/back/IEDA/save-action",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"File and Code Templates",permalink:"/docs/study/back/IEDA/fileandcodetemplates"},next:{title:"\u4f7f\u7528\u95ee\u9898",permalink:"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898"}},s={},l=[],p={toc:l},u="wrapper";function d(e){let{components:t,...o}=e;return(0,a.yg)(u,(0,n.A)({},p,o,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"save-action"},"Save Action"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"Save Action",src:r(53068).A,width:"2070",height:"1492"})))}d.isMDXComponent=!0},53068:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/save-5f99d9334d83a264c231a7e154f35cfe.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9136],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=l(r),f=a,y=u["".concat(s,".").concat(f)]||u[f]||d[f]||o;return r?n.createElement(y,c(c({ref:t},p),{},{components:r})):n.createElement(y,c({ref:t},p))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=f;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[u]="string"==typeof e?e:a,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},c="Save Action",i={unversionedId:"study/back/IEDA/save-action",id:"study/back/IEDA/save-action",title:"Save Action",description:"Save Action",source:"@site/docs/study/back/IEDA/save-action.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/save-action",permalink:"/docs/study/back/IEDA/save-action",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"File and Code Templates",permalink:"/docs/study/back/IEDA/fileandcodetemplates"},next:{title:"\u4f7f\u7528\u95ee\u9898",permalink:"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898"}},s={},l=[],p={toc:l},u="wrapper";function d(e){let{components:t,...o}=e;return(0,a.yg)(u,(0,n.A)({},p,o,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"save-action"},"Save Action"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"Save Action",src:r(53068).A,width:"2070",height:"1492"})))}d.isMDXComponent=!0},53068:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/save-5f99d9334d83a264c231a7e154f35cfe.png"}}]); \ No newline at end of file diff --git a/assets/js/2a0a68ae.81f29c15.js b/assets/js/2a0a68ae.0e3f202a.js similarity index 98% rename from assets/js/2a0a68ae.81f29c15.js rename to assets/js/2a0a68ae.0e3f202a.js index ddb721a24..24fd61b14 100644 --- a/assets/js/2a0a68ae.81f29c15.js +++ b/assets/js/2a0a68ae.0e3f202a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2613],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>f});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var i=n.createContext({}),u=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},l=function(e){var r=u(e.components);return n.createElement(i.Provider,{value:r},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),s=u(t),d=o,f=s["".concat(i,".").concat(d)]||s[d]||m[d]||a;return t?n.createElement(f,c(c({ref:r},l),{},{components:t})):n.createElement(f,c({ref:r},l))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,c=new Array(a);c[0]=d;var p={};for(var i in r)hasOwnProperty.call(r,i)&&(p[i]=r[i]);p.originalType=e,p[s]="string"==typeof e?e:o,c[1]=p;for(var u=2;u{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>m,frontMatter:()=>a,metadata:()=>p,toc:()=>u});var n=t(58168),o=(t(96540),t(15680));const a={},c=void 0,p={unversionedId:"study/program/JS/nrm",id:"study/program/JS/nrm",title:"nrm",description:"nrm \u662f\u4e00\u4e2a npm \u6e90\u7ba1\u7406\u5668\uff0c\u5141\u8bb8\u4f60\u5feb\u901f\u5730\u5728 npm\u6e90\u95f4\u5207\u6362\u3002",source:"@site/docs/study/program/JS/nrm.md",sourceDirName:"study/program/JS",slug:"/study/program/JS/nrm",permalink:"/docs/study/program/JS/nrm",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"npx",permalink:"/docs/study/program/JS/npx"},next:{title:"Kotlin",permalink:"/docs/study/program/Kotlin/"}},i={},u=[],l={toc:u},s="wrapper";function m(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"nrm \u662f\u4e00\u4e2a npm \u6e90\u7ba1\u7406\u5668\uff0c\u5141\u8bb8\u4f60\u5feb\u901f\u5730\u5728 npm\u6e90\u95f4\u5207\u6362\u3002"))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2613],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>f});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var i=n.createContext({}),u=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},l=function(e){var r=u(e.components);return n.createElement(i.Provider,{value:r},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),s=u(t),d=o,f=s["".concat(i,".").concat(d)]||s[d]||m[d]||a;return t?n.createElement(f,c(c({ref:r},l),{},{components:t})):n.createElement(f,c({ref:r},l))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,c=new Array(a);c[0]=d;var p={};for(var i in r)hasOwnProperty.call(r,i)&&(p[i]=r[i]);p.originalType=e,p[s]="string"==typeof e?e:o,c[1]=p;for(var u=2;u{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>m,frontMatter:()=>a,metadata:()=>p,toc:()=>u});var n=t(58168),o=(t(96540),t(15680));const a={},c=void 0,p={unversionedId:"study/program/JS/nrm",id:"study/program/JS/nrm",title:"nrm",description:"nrm \u662f\u4e00\u4e2a npm \u6e90\u7ba1\u7406\u5668\uff0c\u5141\u8bb8\u4f60\u5feb\u901f\u5730\u5728 npm\u6e90\u95f4\u5207\u6362\u3002",source:"@site/docs/study/program/JS/nrm.md",sourceDirName:"study/program/JS",slug:"/study/program/JS/nrm",permalink:"/docs/study/program/JS/nrm",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"npx",permalink:"/docs/study/program/JS/npx"},next:{title:"Kotlin",permalink:"/docs/study/program/Kotlin/"}},i={},u=[],l={toc:u},s="wrapper";function m(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"nrm \u662f\u4e00\u4e2a npm \u6e90\u7ba1\u7406\u5668\uff0c\u5141\u8bb8\u4f60\u5feb\u901f\u5730\u5728 npm\u6e90\u95f4\u5207\u6362\u3002"))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2a4fe0d4.5554cc35.js b/assets/js/2a4fe0d4.22862147.js similarity index 98% rename from assets/js/2a4fe0d4.5554cc35.js rename to assets/js/2a4fe0d4.22862147.js index 087a81239..6b5a40407 100644 --- a/assets/js/2a4fe0d4.5554cc35.js +++ b/assets/js/2a4fe0d4.22862147.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6021],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),d=o,f=s["".concat(l,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c="ASN.1",i={unversionedId:"study/encryption/ASN.1",id:"study/encryption/ASN.1",title:"ASN.1",description:"\u62bd\u8c61\u8bed\u6cd5\u6807\u8bb0\u3001",source:"@site/docs/study/encryption/ASN.1.md",sourceDirName:"study/encryption",slug:"/study/encryption/ASN.1",permalink:"/docs/study/encryption/ASN.1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",permalink:"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177"},next:{title:"ECC \u548c RSA",permalink:"/docs/study/encryption/ECC-RSA"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"asn1"},"ASN.1"),(0,o.yg)("p",null,"\u62bd\u8c61\u8bed\u6cd5\u6807\u8bb0\u3001"),(0,o.yg)("p",null,"\u5305\u542b\u7f16\u7801\u89c4\u5219\uff0c\u5982\u4e0b"),(0,o.yg)("p",null,"ASN.1 \u53d6\u5f97\u6210\u529f\u7684\u4e00\u4e2a\u4e3b\u8981\u539f\u56e0\u662f\u5b83\u4e0e\u51e0\u4e2a\u6807\u51c6\u5316\u7f16\u7801\u89c4\u5219\u76f8\u5173\uff0c\u5982\u57fa\u672c\u7f16\u7801\u89c4\u5219\uff08BER\uff09 -X.209 \u3001\u89c4\u8303\u7f16\u7801\u89c4\u5219\uff08CER\uff09\u3001\u8bc6\u522b\u540d\u7f16\u7801\u89c4\u5219\uff08DER\uff09\u3001\u538b\u7f29\u7f16\u7801\u89c4\u5219\uff08PER\uff09\u548c XML\u7f16\u7801\u89c4\u5219\uff08XER\uff09\u3002\u8fd9\u4e9b\u7f16\u7801\u89c4\u5219\u63cf\u8ff0\u4e86\u5982\u4f55\u5bf9 ASN.1 \u4e2d\u5b9a\u4e49\u7684\u6570\u503c\u8fdb\u884c\u7f16\u7801\uff0c\u4ee5\u4fbf\u7528\u4e8e\u4f20\u8f93\uff0c\u800c\u4e0d\u7ba1\u8ba1\u7b97\u673a\u3001\u7f16\u7a0b\u8bed\u8a00\u6216\u5b83\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5982\u4f55\u8868\u793a\u7b49\u56e0\u7d20\u3002ASN.1 \u7684\u7f16\u7801\u65b9\u6cd5\u6bd4\u8bb8\u591a\u4e0e\u4e4b\u76f8\u7ade\u4e89\u7684\u6807\u8bb0\u7cfb\u7edf\u66f4\u5148\u8fdb\uff0c\u5b83\u652f\u6301\u53ef\u6269\u5c55\u4fe1\u606f\u5feb\u901f\u53ef\u9760\u7684\u4f20\u8f93 \u2014 \u5728\u65e0\u7ebf\u5bbd\u5e26\u4e2d\uff0c\u8fd9\u662f\u4e00\u79cd\u4f18\u52bf\u30021984\u5e74\uff0cASN.1 \u5c31\u5df2\u7ecf\u6210\u4e3a\u4e86\u4e00\u79cd\u56fd\u9645\u6807\u51c6\uff0c\u5b83\u7684\u7f16\u7801\u89c4\u5219\u5df2\u7ecf\u6210\u719f\u5e76\u5728\u53ef\u9760\u6027\u548c\u517c\u5bb9\u6027\u65b9\u9762\u62e5\u6709\u66f4\u4e30\u5bcc\u7684\u5386\u7a0b\u3002"),(0,o.yg)("p",null,"\u7b80\u6d01\u7684\u4e8c\u8fdb\u5236\u7f16\u7801\u89c4\u5219\uff08BER\u3001CER\u3001DER\u3001PER\uff0c\u4f46\u4e0d\u5305\u62ec XER\uff09\u53ef\u5f53\u4f5c\u66f4\u73b0\u4ee3 XML \u7684\u66ff\u4ee3\u3002\u7136\u800c\uff0cASN.1 \u652f\u6301\u5bf9\u6570\u636e\u7684\u8bed\u4e49\u8fdb\u884c\u63cf\u8ff0\uff0c\u6240\u4ee5\u5b83\u662f\u6bd4 XML \u66f4\u4e3a\u9ad8\u7ea7\u7684\u8bed\u8a00\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/ASN.1/498523?fr=ge_ala"},"\u767e\u5ea6\u767e\u79d1"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6021],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),d=o,f=s["".concat(l,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c="ASN.1",i={unversionedId:"study/encryption/ASN.1",id:"study/encryption/ASN.1",title:"ASN.1",description:"\u62bd\u8c61\u8bed\u6cd5\u6807\u8bb0\u3001",source:"@site/docs/study/encryption/ASN.1.md",sourceDirName:"study/encryption",slug:"/study/encryption/ASN.1",permalink:"/docs/study/encryption/ASN.1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",permalink:"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177"},next:{title:"ECC \u548c RSA",permalink:"/docs/study/encryption/ECC-RSA"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"asn1"},"ASN.1"),(0,o.yg)("p",null,"\u62bd\u8c61\u8bed\u6cd5\u6807\u8bb0\u3001"),(0,o.yg)("p",null,"\u5305\u542b\u7f16\u7801\u89c4\u5219\uff0c\u5982\u4e0b"),(0,o.yg)("p",null,"ASN.1 \u53d6\u5f97\u6210\u529f\u7684\u4e00\u4e2a\u4e3b\u8981\u539f\u56e0\u662f\u5b83\u4e0e\u51e0\u4e2a\u6807\u51c6\u5316\u7f16\u7801\u89c4\u5219\u76f8\u5173\uff0c\u5982\u57fa\u672c\u7f16\u7801\u89c4\u5219\uff08BER\uff09 -X.209 \u3001\u89c4\u8303\u7f16\u7801\u89c4\u5219\uff08CER\uff09\u3001\u8bc6\u522b\u540d\u7f16\u7801\u89c4\u5219\uff08DER\uff09\u3001\u538b\u7f29\u7f16\u7801\u89c4\u5219\uff08PER\uff09\u548c XML\u7f16\u7801\u89c4\u5219\uff08XER\uff09\u3002\u8fd9\u4e9b\u7f16\u7801\u89c4\u5219\u63cf\u8ff0\u4e86\u5982\u4f55\u5bf9 ASN.1 \u4e2d\u5b9a\u4e49\u7684\u6570\u503c\u8fdb\u884c\u7f16\u7801\uff0c\u4ee5\u4fbf\u7528\u4e8e\u4f20\u8f93\uff0c\u800c\u4e0d\u7ba1\u8ba1\u7b97\u673a\u3001\u7f16\u7a0b\u8bed\u8a00\u6216\u5b83\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5982\u4f55\u8868\u793a\u7b49\u56e0\u7d20\u3002ASN.1 \u7684\u7f16\u7801\u65b9\u6cd5\u6bd4\u8bb8\u591a\u4e0e\u4e4b\u76f8\u7ade\u4e89\u7684\u6807\u8bb0\u7cfb\u7edf\u66f4\u5148\u8fdb\uff0c\u5b83\u652f\u6301\u53ef\u6269\u5c55\u4fe1\u606f\u5feb\u901f\u53ef\u9760\u7684\u4f20\u8f93 \u2014 \u5728\u65e0\u7ebf\u5bbd\u5e26\u4e2d\uff0c\u8fd9\u662f\u4e00\u79cd\u4f18\u52bf\u30021984\u5e74\uff0cASN.1 \u5c31\u5df2\u7ecf\u6210\u4e3a\u4e86\u4e00\u79cd\u56fd\u9645\u6807\u51c6\uff0c\u5b83\u7684\u7f16\u7801\u89c4\u5219\u5df2\u7ecf\u6210\u719f\u5e76\u5728\u53ef\u9760\u6027\u548c\u517c\u5bb9\u6027\u65b9\u9762\u62e5\u6709\u66f4\u4e30\u5bcc\u7684\u5386\u7a0b\u3002"),(0,o.yg)("p",null,"\u7b80\u6d01\u7684\u4e8c\u8fdb\u5236\u7f16\u7801\u89c4\u5219\uff08BER\u3001CER\u3001DER\u3001PER\uff0c\u4f46\u4e0d\u5305\u62ec XER\uff09\u53ef\u5f53\u4f5c\u66f4\u73b0\u4ee3 XML \u7684\u66ff\u4ee3\u3002\u7136\u800c\uff0cASN.1 \u652f\u6301\u5bf9\u6570\u636e\u7684\u8bed\u4e49\u8fdb\u884c\u63cf\u8ff0\uff0c\u6240\u4ee5\u5b83\u662f\u6bd4 XML \u66f4\u4e3a\u9ad8\u7ea7\u7684\u8bed\u8a00\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/ASN.1/498523?fr=ge_ala"},"\u767e\u5ea6\u767e\u79d1"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2a714a8e.2ef600a9.js b/assets/js/2a714a8e.b89772a2.js similarity index 97% rename from assets/js/2a714a8e.2ef600a9.js rename to assets/js/2a714a8e.b89772a2.js index 413a1ed36..e2fed28d2 100644 --- a/assets/js/2a714a8e.2ef600a9.js +++ b/assets/js/2a714a8e.b89772a2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7448],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>y});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=n.createContext({}),c=function(e){var r=n.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},l=function(e){var r=c(e.components);return n.createElement(s.Provider,{value:r},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},g=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,p=e.originalType,s=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),d=c(t),g=o,y=d["".concat(s,".").concat(g)]||d[g]||u[g]||p;return t?n.createElement(y,a(a({ref:r},l),{},{components:t})):n.createElement(y,a({ref:r},l))}));function y(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var p=t.length,a=new Array(p);a[0]=g;var i={};for(var s in r)hasOwnProperty.call(r,s)&&(i[s]=r[s]);i.originalType=e,i[d]="string"==typeof e?e:o,a[1]=i;for(var c=2;c{t.r(r),t.d(r,{assets:()=>s,contentTitle:()=>a,default:()=>u,frontMatter:()=>p,metadata:()=>i,toc:()=>c});var n=t(58168),o=(t(96540),t(15680));const p={},a="Spring Boot",i={unversionedId:"study/back/spring/SpringBoot",id:"study/back/spring/SpringBoot",title:"Spring Boot",description:"\u5e38\u770b\u6587\u6863",source:"@site/docs/study/back/spring/SpringBoot.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/SpringBoot",permalink:"/docs/study/back/spring/SpringBoot",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Spring AOP",permalink:"/docs/study/back/spring/SpringAOP"},next:{title:"Spirng Framework",permalink:"/docs/study/back/spring/SpringFramework"}},s={},c=[{value:"\u5e38\u770b\u6587\u6863",id:"\u5e38\u770b\u6587\u6863",level:3},{value:"\u4e24\u79cd\u65b9\u5f0f\u7ba1\u7406\u4f9d\u8d56",id:"\u4e24\u79cd\u65b9\u5f0f\u7ba1\u7406\u4f9d\u8d56",level:3},{value:"\u7ee7\u627f",id:"\u7ee7\u627f",level:4},{value:"\u4f9d\u8d56\u7ba1\u7406",id:"\u4f9d\u8d56\u7ba1\u7406",level:4},{value:"bootstrap.properties/yml",id:"bootstrappropertiesyml",level:3}],l={toc:c},d="wrapper";function u(e){let{components:r,...t}=e;return(0,o.yg)(d,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"spring-boot"},"Spring Boot"),(0,o.yg)("h3",{id:"\u5e38\u770b\u6587\u6863"},"\u5e38\u770b\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.spring.io/spring-boot/docs/3.2.0/reference/html/"},"V3.2.0 \u5b98\u65b9\u53c2\u8003\u6587\u6863\uff0c\u6ca1\u4e8b\u591a\u770b\u770b"))),(0,o.yg)("h3",{id:"\u4e24\u79cd\u65b9\u5f0f\u7ba1\u7406\u4f9d\u8d56"},"\u4e24\u79cd\u65b9\u5f0f\u7ba1\u7406\u4f9d\u8d56"),(0,o.yg)("h4",{id:"\u7ee7\u627f"},"\u7ee7\u627f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-xml"},"\n org.springframework.boot\n spring-boot-starter-parent\n 2.1.1.RELEASE\n\n")),(0,o.yg)("h4",{id:"\u4f9d\u8d56\u7ba1\u7406"},"\u4f9d\u8d56\u7ba1\u7406"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-xml"},"\n \n \n org.springframework.boot\n spring-boot-dependencies\n 2.1.1.RELEASE\n pom\n import\n \n \n\n")),(0,o.yg)("h3",{id:"bootstrappropertiesyml"},"bootstrap.properties/yml"),(0,o.yg)("p",null,"\u5355\u7eaf\u505a Spring Boot \u5f00\u53d1\uff0c\u53ef\u80fd\u4e0d\u592a\u5bb9\u6613\u9047\u5230 bootstrap.properties \u914d\u7f6e\u6587\u4ef6\uff0c\u4f46\u662f\u5728\u7ed3\u5408 Spring Cloud \u65f6\uff0c\u8fd9\u4e2a\u914d\u7f6e\u5c31\u4f1a\u7ecf\u5e38\u9047\u5230\u4e86\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u52a0\u8f7d\u4e00\u4e9b\u8fdc\u7a0b\u914d\u7f6e\u6587\u4ef6\u7684\u65f6\u4faf\u3002"),(0,o.yg)("p",null,"bootstrap.properties \u5728 application.properties \u4e4b\u524d\u52a0\u8f7d\uff0c\u914d\u7f6e\u5728\u5e94\u7528\u7a0b\u5e8f\u4e0a\u4e0b\u6587\u7684\u5f15\u5bfc\u9636\u6bb5\u751f\u6548\u3002\u4e00\u822c\u6765\u8bf4\u6211\u4eec\u5728 Spring Cloud Config \u6216\u8005 Nacos \u4e2d\u4f1a\u7528\u5230\u5b83\u3002bootstrap.properties \u88ab Spring ApplicationContext \u7684\u7236\u7c7b\u52a0\u8f7d\uff0c\u8fd9\u4e2a\u7c7b\u5148\u4e8e\u52a0\u8f7d application.properties \u7684 ApplicatonContext \u542f\u52a8\u3002"))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7448],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>y});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=n.createContext({}),c=function(e){var r=n.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},l=function(e){var r=c(e.components);return n.createElement(s.Provider,{value:r},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},g=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,p=e.originalType,s=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),d=c(t),g=o,y=d["".concat(s,".").concat(g)]||d[g]||u[g]||p;return t?n.createElement(y,a(a({ref:r},l),{},{components:t})):n.createElement(y,a({ref:r},l))}));function y(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var p=t.length,a=new Array(p);a[0]=g;var i={};for(var s in r)hasOwnProperty.call(r,s)&&(i[s]=r[s]);i.originalType=e,i[d]="string"==typeof e?e:o,a[1]=i;for(var c=2;c{t.r(r),t.d(r,{assets:()=>s,contentTitle:()=>a,default:()=>u,frontMatter:()=>p,metadata:()=>i,toc:()=>c});var n=t(58168),o=(t(96540),t(15680));const p={},a="Spring Boot",i={unversionedId:"study/back/spring/SpringBoot",id:"study/back/spring/SpringBoot",title:"Spring Boot",description:"\u5e38\u770b\u6587\u6863",source:"@site/docs/study/back/spring/SpringBoot.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/SpringBoot",permalink:"/docs/study/back/spring/SpringBoot",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Spring AOP",permalink:"/docs/study/back/spring/SpringAOP"},next:{title:"Spirng Framework",permalink:"/docs/study/back/spring/SpringFramework"}},s={},c=[{value:"\u5e38\u770b\u6587\u6863",id:"\u5e38\u770b\u6587\u6863",level:3},{value:"\u4e24\u79cd\u65b9\u5f0f\u7ba1\u7406\u4f9d\u8d56",id:"\u4e24\u79cd\u65b9\u5f0f\u7ba1\u7406\u4f9d\u8d56",level:3},{value:"\u7ee7\u627f",id:"\u7ee7\u627f",level:4},{value:"\u4f9d\u8d56\u7ba1\u7406",id:"\u4f9d\u8d56\u7ba1\u7406",level:4},{value:"bootstrap.properties/yml",id:"bootstrappropertiesyml",level:3}],l={toc:c},d="wrapper";function u(e){let{components:r,...t}=e;return(0,o.yg)(d,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"spring-boot"},"Spring Boot"),(0,o.yg)("h3",{id:"\u5e38\u770b\u6587\u6863"},"\u5e38\u770b\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.spring.io/spring-boot/docs/3.2.0/reference/html/"},"V3.2.0 \u5b98\u65b9\u53c2\u8003\u6587\u6863\uff0c\u6ca1\u4e8b\u591a\u770b\u770b"))),(0,o.yg)("h3",{id:"\u4e24\u79cd\u65b9\u5f0f\u7ba1\u7406\u4f9d\u8d56"},"\u4e24\u79cd\u65b9\u5f0f\u7ba1\u7406\u4f9d\u8d56"),(0,o.yg)("h4",{id:"\u7ee7\u627f"},"\u7ee7\u627f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-xml"},"\n org.springframework.boot\n spring-boot-starter-parent\n 2.1.1.RELEASE\n\n")),(0,o.yg)("h4",{id:"\u4f9d\u8d56\u7ba1\u7406"},"\u4f9d\u8d56\u7ba1\u7406"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-xml"},"\n \n \n org.springframework.boot\n spring-boot-dependencies\n 2.1.1.RELEASE\n pom\n import\n \n \n\n")),(0,o.yg)("h3",{id:"bootstrappropertiesyml"},"bootstrap.properties/yml"),(0,o.yg)("p",null,"\u5355\u7eaf\u505a Spring Boot \u5f00\u53d1\uff0c\u53ef\u80fd\u4e0d\u592a\u5bb9\u6613\u9047\u5230 bootstrap.properties \u914d\u7f6e\u6587\u4ef6\uff0c\u4f46\u662f\u5728\u7ed3\u5408 Spring Cloud \u65f6\uff0c\u8fd9\u4e2a\u914d\u7f6e\u5c31\u4f1a\u7ecf\u5e38\u9047\u5230\u4e86\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u52a0\u8f7d\u4e00\u4e9b\u8fdc\u7a0b\u914d\u7f6e\u6587\u4ef6\u7684\u65f6\u4faf\u3002"),(0,o.yg)("p",null,"bootstrap.properties \u5728 application.properties \u4e4b\u524d\u52a0\u8f7d\uff0c\u914d\u7f6e\u5728\u5e94\u7528\u7a0b\u5e8f\u4e0a\u4e0b\u6587\u7684\u5f15\u5bfc\u9636\u6bb5\u751f\u6548\u3002\u4e00\u822c\u6765\u8bf4\u6211\u4eec\u5728 Spring Cloud Config \u6216\u8005 Nacos \u4e2d\u4f1a\u7528\u5230\u5b83\u3002bootstrap.properties \u88ab Spring ApplicationContext \u7684\u7236\u7c7b\u52a0\u8f7d\uff0c\u8fd9\u4e2a\u7c7b\u5148\u4e8e\u52a0\u8f7d application.properties \u7684 ApplicatonContext \u542f\u52a8\u3002"))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2b486500.fbadb87a.js b/assets/js/2b486500.54af78b2.js similarity index 99% rename from assets/js/2b486500.fbadb87a.js rename to assets/js/2b486500.54af78b2.js index e4ddac1d7..c806b97b3 100644 --- a/assets/js/2b486500.fbadb87a.js +++ b/assets/js/2b486500.54af78b2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1808],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>f});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=r.createContext({}),i=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=i(e.components);return r.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,u=e.originalType,l=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),s=i(n),d=a,f=s["".concat(l,".").concat(d)]||s[d]||y[d]||u;return n?r.createElement(f,o(o({ref:t},c),{},{components:n})):r.createElement(f,o({ref:t},c))}));function f(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var u=n.length,o=new Array(u);o[0]=d;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p[s]="string"==typeof e?e:a,o[1]=p;for(var i=2;i{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>y,frontMatter:()=>u,metadata:()=>p,toc:()=>i});var r=n(58168),a=(n(96540),n(15680));const u={},o=void 0,p={unversionedId:"study/net/tuntap",id:"study/net/tuntap",title:"tuntap",description:"Tun/Tap",source:"@site/docs/study/net/tuntap.md",sourceDirName:"study/net",slug:"/study/net/tuntap",permalink:"/docs/study/net/tuntap",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux tc",permalink:"/docs/study/net/tc"},next:{title:"vpn",permalink:"/docs/study/net/vpn"}},l={},i=[{value:"Tun/Tap",id:"tuntap",level:3}],c={toc:i},s="wrapper";function y(e){let{components:t,...u}=e;return(0,a.yg)(s,(0,r.A)({},c,u,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"tuntap"},"Tun/Tap"),(0,a.yg)("p",null,"\u5728\u8ba1\u7b97\u673a\u7f51\u7edc\u4e2d\uff0cTUN \u4e0e TAP \u662f\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u4e2d\u7684\u865a\u62df\u7f51\u7edc\u8bbe\u5907\u3002\u4e0d\u540c\u4e8e\u666e\u901a\u9760\u786c\u4ef6\u7f51\u8def\u677f\u5361\u5b9e\u73b0\u7684\u8bbe\u5907\uff0c\u8fd9\u4e9b\u865a\u62df\u7684\u7f51\u7edc\u8bbe\u5907\u5168\u90e8\u7528\u8f6f\u4ef6\u5b9e\u73b0\uff0c\u5e76\u5411\u8fd0\u884c\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u8f6f\u4ef6\u63d0\u4f9b\u4e0e\u786c\u4ef6\u7684\u7f51\u7edc\u8bbe\u5907\u5b8c\u5168\u76f8\u540c\u7684\u529f\u80fd\u3002"),(0,a.yg)("p",null,"TAP \u7b49\u540c\u4e8e\u4e00\u4e2a\u4ee5\u592a\u7f51\u8bbe\u5907\uff0c\u5b83\u64cd\u4f5c\u7b2c\u4e8c\u5c42\u6570\u636e\u5305\u5982\u4ee5\u592a\u7f51\u6570\u636e\u5e27\u3002TUN \u6a21\u62df\u4e86\u7f51\u7edc\u5c42\u8bbe\u5907\uff0c\u64cd\u4f5c\u7b2c\u4e09\u5c42\u6570\u636e\u5305\u6bd4\u5982 IP \u6570\u636e\u5c01\u5305\u3002"),(0,a.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u901a\u8fc7 TUN/TAP \u8bbe\u5907\u5411\u7ed1\u5b9a\u8be5\u8bbe\u5907\u7684\u7528\u6237\u7a7a\u95f4\u7684\u7a0b\u5e8f\u53d1\u9001\u6570\u636e\uff0c\u53cd\u4e4b\uff0c\u7528\u6237\u7a7a\u95f4\u7684\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u50cf\u64cd\u4f5c\u786c\u4ef6\u7f51\u7edc\u8bbe\u5907\u90a3\u6837\uff0c\u901a\u8fc7 TUN/TAP \u8bbe\u5907\u53d1\u9001\u6570\u636e\u3002\u5728\u540e\u79cd\u60c5\u51b5\u4e0b\uff0cTUN/TAP \u8bbe\u5907\u5411\u64cd\u4f5c\u7cfb\u7edf\u7684\u7f51\u7edc\u6808\u6295\u9012\uff08\u6216\u201c\u6ce8\u5165\u201d\uff09\u6570\u636e\u5305\uff0c\u4ece\u800c\u6a21\u62df\u4ece\u5916\u90e8\u63a5\u53d7\u6570\u636e\u7684\u8fc7\u7a0b\u3002"),(0,a.yg)("p",null,"Tun \u865a\u62df\u8bbe\u5907\u548c\u7269\u7406\u7f51\u5361\u7684\u533a\u522b\u662f Tun \u865a\u62df\u8bbe\u5907\u662f IP \u5c42\u8bbe\u5907\uff0c\u4ece/dev/net/tun \u5b57\u7b26\u8bbe\u5907\u4e0a\u8bfb\u53d6\u7684\u662f IP \u6570\u636e\u5305\uff0c\u5199\u5165\u7684\u4e5f\u53ea\u80fd\u662f IP \u6570\u636e\u5305\uff0c\u56e0\u6b64\u4e0d\u80fd\u8fdb\u884c\u4e8c\u5c42\u64cd\u4f5c\uff0c\u5982\u53d1\u9001 ARP \u8bf7\u6c42\u548c\u4ee5\u592a\u7f51\u5e7f\u64ad\u3002\u4e0e\u4e4b\u76f8\u5bf9\u7684\u662f\uff0cTap \u865a\u62df\u8bbe\u5907\u662f\u4ee5\u592a\u7f51\u8bbe\u5907\uff0c\u5904\u7406\u7684\u662f\u4e8c\u5c42\u4ee5\u592a\u7f51\u6570\u636e\u5e27\uff0c\u4ece/dev/net/tun \u5b57\u7b26\u8bbe\u5907\u4e0a\u8bfb\u53d6\u7684\u662f\u4ee5\u592a\u7f51\u6570\u636e\u5e27\uff0c\u5199\u5165\u7684\u4e5f\u53ea\u80fd\u662f\u4ee5\u592a\u7f51\u6570\u636e\u5e27\u3002\u4ece\u8fd9\u70b9\u6765\u770b\uff0cTap \u865a\u62df\u8bbe\u5907\u548c\u771f\u5b9e\u7684\u7269\u7406\u7f51\u5361\u7684\u80fd\u529b\u66f4\u63a5\u8fd1\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{target:"_blank",href:n(80202).A},"\u539f\u7406\u56fe")),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/12108.html"},"\u4ecb\u7ecd Linux \u4e0b\u7684 Tun/Tap"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5199\u7684\u771f\u4e0d\u9519\uff0c\u4e86\u89e3 tun\u3001tap \u4ee5\u53ca vpn \u7684\u539f\u7406\u56fe"))),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.junmajinlong.com/virtual/network/all_about_tun_tap/index.html"},"\u7406\u89e3 Linux \u865a\u62df\u7f51\u5361\u8bbe\u5907 tun/tap \u7684\u4e00\u5207"))))}y.isMDXComponent=!0},80202:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/files/vpnyuanlitu-0ce325275673446da8a9cf4e89759ca3.jpg"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1808],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>f});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=r.createContext({}),i=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=i(e.components);return r.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,u=e.originalType,l=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),s=i(n),d=a,f=s["".concat(l,".").concat(d)]||s[d]||y[d]||u;return n?r.createElement(f,o(o({ref:t},c),{},{components:n})):r.createElement(f,o({ref:t},c))}));function f(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var u=n.length,o=new Array(u);o[0]=d;var p={};for(var l in t)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p[s]="string"==typeof e?e:a,o[1]=p;for(var i=2;i{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>y,frontMatter:()=>u,metadata:()=>p,toc:()=>i});var r=n(58168),a=(n(96540),n(15680));const u={},o=void 0,p={unversionedId:"study/net/tuntap",id:"study/net/tuntap",title:"tuntap",description:"Tun/Tap",source:"@site/docs/study/net/tuntap.md",sourceDirName:"study/net",slug:"/study/net/tuntap",permalink:"/docs/study/net/tuntap",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux tc",permalink:"/docs/study/net/tc"},next:{title:"vpn",permalink:"/docs/study/net/vpn"}},l={},i=[{value:"Tun/Tap",id:"tuntap",level:3}],c={toc:i},s="wrapper";function y(e){let{components:t,...u}=e;return(0,a.yg)(s,(0,r.A)({},c,u,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"tuntap"},"Tun/Tap"),(0,a.yg)("p",null,"\u5728\u8ba1\u7b97\u673a\u7f51\u7edc\u4e2d\uff0cTUN \u4e0e TAP \u662f\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u4e2d\u7684\u865a\u62df\u7f51\u7edc\u8bbe\u5907\u3002\u4e0d\u540c\u4e8e\u666e\u901a\u9760\u786c\u4ef6\u7f51\u8def\u677f\u5361\u5b9e\u73b0\u7684\u8bbe\u5907\uff0c\u8fd9\u4e9b\u865a\u62df\u7684\u7f51\u7edc\u8bbe\u5907\u5168\u90e8\u7528\u8f6f\u4ef6\u5b9e\u73b0\uff0c\u5e76\u5411\u8fd0\u884c\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u8f6f\u4ef6\u63d0\u4f9b\u4e0e\u786c\u4ef6\u7684\u7f51\u7edc\u8bbe\u5907\u5b8c\u5168\u76f8\u540c\u7684\u529f\u80fd\u3002"),(0,a.yg)("p",null,"TAP \u7b49\u540c\u4e8e\u4e00\u4e2a\u4ee5\u592a\u7f51\u8bbe\u5907\uff0c\u5b83\u64cd\u4f5c\u7b2c\u4e8c\u5c42\u6570\u636e\u5305\u5982\u4ee5\u592a\u7f51\u6570\u636e\u5e27\u3002TUN \u6a21\u62df\u4e86\u7f51\u7edc\u5c42\u8bbe\u5907\uff0c\u64cd\u4f5c\u7b2c\u4e09\u5c42\u6570\u636e\u5305\u6bd4\u5982 IP \u6570\u636e\u5c01\u5305\u3002"),(0,a.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u901a\u8fc7 TUN/TAP \u8bbe\u5907\u5411\u7ed1\u5b9a\u8be5\u8bbe\u5907\u7684\u7528\u6237\u7a7a\u95f4\u7684\u7a0b\u5e8f\u53d1\u9001\u6570\u636e\uff0c\u53cd\u4e4b\uff0c\u7528\u6237\u7a7a\u95f4\u7684\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u50cf\u64cd\u4f5c\u786c\u4ef6\u7f51\u7edc\u8bbe\u5907\u90a3\u6837\uff0c\u901a\u8fc7 TUN/TAP \u8bbe\u5907\u53d1\u9001\u6570\u636e\u3002\u5728\u540e\u79cd\u60c5\u51b5\u4e0b\uff0cTUN/TAP \u8bbe\u5907\u5411\u64cd\u4f5c\u7cfb\u7edf\u7684\u7f51\u7edc\u6808\u6295\u9012\uff08\u6216\u201c\u6ce8\u5165\u201d\uff09\u6570\u636e\u5305\uff0c\u4ece\u800c\u6a21\u62df\u4ece\u5916\u90e8\u63a5\u53d7\u6570\u636e\u7684\u8fc7\u7a0b\u3002"),(0,a.yg)("p",null,"Tun \u865a\u62df\u8bbe\u5907\u548c\u7269\u7406\u7f51\u5361\u7684\u533a\u522b\u662f Tun \u865a\u62df\u8bbe\u5907\u662f IP \u5c42\u8bbe\u5907\uff0c\u4ece/dev/net/tun \u5b57\u7b26\u8bbe\u5907\u4e0a\u8bfb\u53d6\u7684\u662f IP \u6570\u636e\u5305\uff0c\u5199\u5165\u7684\u4e5f\u53ea\u80fd\u662f IP \u6570\u636e\u5305\uff0c\u56e0\u6b64\u4e0d\u80fd\u8fdb\u884c\u4e8c\u5c42\u64cd\u4f5c\uff0c\u5982\u53d1\u9001 ARP \u8bf7\u6c42\u548c\u4ee5\u592a\u7f51\u5e7f\u64ad\u3002\u4e0e\u4e4b\u76f8\u5bf9\u7684\u662f\uff0cTap \u865a\u62df\u8bbe\u5907\u662f\u4ee5\u592a\u7f51\u8bbe\u5907\uff0c\u5904\u7406\u7684\u662f\u4e8c\u5c42\u4ee5\u592a\u7f51\u6570\u636e\u5e27\uff0c\u4ece/dev/net/tun \u5b57\u7b26\u8bbe\u5907\u4e0a\u8bfb\u53d6\u7684\u662f\u4ee5\u592a\u7f51\u6570\u636e\u5e27\uff0c\u5199\u5165\u7684\u4e5f\u53ea\u80fd\u662f\u4ee5\u592a\u7f51\u6570\u636e\u5e27\u3002\u4ece\u8fd9\u70b9\u6765\u770b\uff0cTap \u865a\u62df\u8bbe\u5907\u548c\u771f\u5b9e\u7684\u7269\u7406\u7f51\u5361\u7684\u80fd\u529b\u66f4\u63a5\u8fd1\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{target:"_blank",href:n(80202).A},"\u539f\u7406\u56fe")),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/12108.html"},"\u4ecb\u7ecd Linux \u4e0b\u7684 Tun/Tap"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5199\u7684\u771f\u4e0d\u9519\uff0c\u4e86\u89e3 tun\u3001tap \u4ee5\u53ca vpn \u7684\u539f\u7406\u56fe"))),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.junmajinlong.com/virtual/network/all_about_tun_tap/index.html"},"\u7406\u89e3 Linux \u865a\u62df\u7f51\u5361\u8bbe\u5907 tun/tap \u7684\u4e00\u5207"))))}y.isMDXComponent=!0},80202:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/files/vpnyuanlitu-0ce325275673446da8a9cf4e89759ca3.jpg"}}]); \ No newline at end of file diff --git a/assets/js/2b5f2f35.77e646fb.js b/assets/js/2b5f2f35.e6184eb8.js similarity index 99% rename from assets/js/2b5f2f35.77e646fb.js rename to assets/js/2b5f2f35.e6184eb8.js index b00112ac0..3e2614fdf 100644 --- a/assets/js/2b5f2f35.77e646fb.js +++ b/assets/js/2b5f2f35.e6184eb8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5350],{15680:(e,t,n)=>{n.d(t,{xA:()=>d,yg:()=>g});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=r.createContext({}),c=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},d=function(e){var t=c(e.components);return r.createElement(u.Provider,{value:t},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),p=c(n),y=a,g=p["".concat(u,".").concat(y)]||p[y]||s[y]||i;return n?r.createElement(g,l(l({ref:t},d),{},{components:n})):r.createElement(g,l({ref:t},d))}));function g(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=y;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o[p]="string"==typeof e?e:a,l[1]=o;for(var c=2;c{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>o,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const i={},l="\u5b57\u8282\u5e8f Big Endian Little Endian",o={unversionedId:"study/other/\u5b57\u8282\u5e8f",id:"study/other/\u5b57\u8282\u5e8f",title:"\u5b57\u8282\u5e8f Big Endian Little Endian",description:"\u5b57\u8282\u5e8f\uff0c\u4e5f\u5c31\u662f\u5b57\u8282\u7684\u987a\u5e8f\uff0c\u6307\u7684\u662f\u591a\u5b57\u8282\u7684\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u5b58\u653e\u987a\u5e8f\u3002",source:"@site/docs/study/other/\u5b57\u8282\u5e8f.md",sourceDirName:"study/other",slug:"/study/other/\u5b57\u8282\u5e8f",permalink:"/docs/study/other/\u5b57\u8282\u5e8f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4eba\u5de5\u667a\u80fd",permalink:"/docs/study/ai/"},next:{title:"\u6807\u51c6\u540d\u79f0\u7f29\u5199",permalink:"/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199"}},u={},c=[{value:"\u5927\u7aef\u4e0e\u5c0f\u7aef",id:"\u5927\u7aef\u4e0e\u5c0f\u7aef",level:3},{value:"\u4e24\u79cd\u5b57\u8282\u5e8f\uff1a\u7f51\u7edc\u5e8f\u548c\u4e3b\u673a\u5e8f",id:"\u4e24\u79cd\u5b57\u8282\u5e8f\u7f51\u7edc\u5e8f\u548c\u4e3b\u673a\u5e8f",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],d={toc:c},p="wrapper";function s(e){let{components:t,...i}=e;return(0,a.yg)(p,(0,r.A)({},d,i,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u5b57\u8282\u5e8f-big-endian-little-endian"},"\u5b57\u8282\u5e8f Big Endian Little Endian"),(0,a.yg)("p",null,"\u5b57\u8282\u5e8f\uff0c\u4e5f\u5c31\u662f\u5b57\u8282\u7684\u987a\u5e8f\uff0c\u6307\u7684\u662f\u591a\u5b57\u8282\u7684\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u5b58\u653e\u987a\u5e8f\u3002"),(0,a.yg)("p",null,"\u5728\u51e0\u4e4e\u6240\u6709\u7684\u673a\u5668\u4e0a\uff0c\u591a\u5b57\u8282\u5bf9\u8c61\u90fd\u88ab\u5b58\u50a8\u4e3a\u8fde\u7eed\u7684\u5b57\u8282\u5e8f\u5217\u3002\u4f8b\u5982\uff1a\u5982\u679c C/C++\u4e2d\u7684\u4e00\u4e2a int \u578b\u53d8\u91cf a \u7684\u8d77\u59cb\u5730\u5740\u662f&a = 0x100\uff0c\u90a3\u4e48 a \u7684\u56db\u4e2a\u5b57\u8282\u5c06\u88ab\u5b58\u50a8\u5728\u5b58\u50a8\u5668\u7684 0x100, 0x101, 0x102, 0x103 \u4f4d\u7f6e\u3002"),(0,a.yg)("p",null,"\u6839\u636e\u6574\u6570 a \u5728\u8fde\u7eed\u7684 4 byte \u5185\u5b58\u4e2d\u7684\u5b58\u50a8\u987a\u5e8f\uff0c\u5b57\u8282\u5e8f\u88ab\u5206\u4e3a\u5927\u7aef\u5e8f\uff08Big Endian\uff09 \u4e0e \u5c0f\u7aef\u5e8f\uff08Little Endian\uff09\u4e24\u7c7b\u3002 \u7136\u540e\u5c31\u7275\u6d89\u51fa\u4e24\u5927 CPU \u6d3e\u7cfb\uff1a"),(0,a.yg)("p",null,"Motorola 6800\uff0cPowerPC 970\uff0cSPARC\uff08\u9664 V9 \u5916\uff09\u7b49\u5904\u7406\u5668\u91c7\u7528 Big Endian \u65b9\u5f0f\u5b58\u50a8\u6570\u636e\uff1b\nx86 \u7cfb\u5217\uff0cVAX\uff0cPDP-11 \u7b49\u5904\u7406\u5668\u91c7\u7528 Little Endian \u65b9\u5f0f\u5b58\u50a8\u6570\u636e\u3002\n\u53e6\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5904\u7406\u5668\u50cf ARM, DEC Alpha \u7684\u5b57\u8282\u5e8f\u662f\u53ef\u914d\u7f6e\u7684\u3002"),(0,a.yg)("h3",{id:"\u5927\u7aef\u4e0e\u5c0f\u7aef"},"\u5927\u7aef\u4e0e\u5c0f\u7aef"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"\u5927\u7aef\u4e0e\u5c0f\u7aef",src:n(99356).A,width:"520",height:"426"})),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Big Endian \u662f\u6307\u4f4e\u5730\u5740\u7aef \u5b58\u653e \u9ad8\u4f4d\u5b57\u8282\u3002"),(0,a.yg)("li",{parentName:"ul"},"Little Endian \u662f\u6307\u4f4e\u5730\u5740\u7aef \u5b58\u653e \u4f4e\u4f4d\u5b57\u8282\u3002")),(0,a.yg)("h3",{id:"\u4e24\u79cd\u5b57\u8282\u5e8f\u7f51\u7edc\u5e8f\u548c\u4e3b\u673a\u5e8f"},"\u4e24\u79cd\u5b57\u8282\u5e8f\uff1a\u7f51\u7edc\u5e8f\u548c\u4e3b\u673a\u5e8f"),(0,a.yg)("p",null,"\u7f51\u7edc\u5b57\u8282\u5e8f\uff1aTCP/IP \u5404\u5c42\u534f\u8bae\u5c06\u5b57\u8282\u5e8f\u5b9a\u4e49\u4e3a Big Endian\uff0c\u56e0\u6b64 TCP/IP \u534f\u8bae\u4e2d\u4f7f\u7528\u7684\u5b57\u8282\u5e8f\u662f\u5927\u7aef\u5e8f\u3002\u662f\u786e\u5b9a\u7684"),(0,a.yg)("p",null,"\u4e3b\u673a\u5b57\u8282\u5e8f\uff1a\u6574\u6570\u5728\u5185\u5b58\u4e2d\u5b58\u50a8\u7684\u987a\u5e8f\uff0c\u7531 CPU \u67b6\u6784\u51b3\u5b9a\uff0c\u53ef\u80fd\u662f\u5c0f\u7aef\uff0c\u4e5f\u53ef\u80fd\u662f\u5927\u7aef\uff0c\u5e38\u7528\u7684 Intel \u4e0e AMD \u7684 CPU \u5747\u4e3a\u5c0f\u7aef\u5b57\u8282\u5e8f\u3002"),(0,a.yg)("p",null,"\u5728\u8fdb\u884c\u7f51\u7edc\u901a\u4fe1\u65f6 \u901a\u5e38\u9700\u8981\u8c03\u7528\u76f8\u5e94\u7684\u51fd\u6570\u8fdb\u884c\u4e3b\u673a\u5e8f\u548c\u7f51\u7edc\u5e8f\u7684\u8f6c\u6362\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zhizhengguan/article/details/107887396"},"\u5b57\u8282\u5e8f\uff1aBig Endian \u548c Little Endian"))))}s.isMDXComponent=!0},99356:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/zijiexu-8a5e0d07254294a0549c6f18d9f2f801.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5350],{15680:(e,t,n)=>{n.d(t,{xA:()=>d,yg:()=>g});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=r.createContext({}),c=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},d=function(e){var t=c(e.components);return r.createElement(u.Provider,{value:t},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),p=c(n),y=a,g=p["".concat(u,".").concat(y)]||p[y]||s[y]||i;return n?r.createElement(g,l(l({ref:t},d),{},{components:n})):r.createElement(g,l({ref:t},d))}));function g(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=y;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o[p]="string"==typeof e?e:a,l[1]=o;for(var c=2;c{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>o,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const i={},l="\u5b57\u8282\u5e8f Big Endian Little Endian",o={unversionedId:"study/other/\u5b57\u8282\u5e8f",id:"study/other/\u5b57\u8282\u5e8f",title:"\u5b57\u8282\u5e8f Big Endian Little Endian",description:"\u5b57\u8282\u5e8f\uff0c\u4e5f\u5c31\u662f\u5b57\u8282\u7684\u987a\u5e8f\uff0c\u6307\u7684\u662f\u591a\u5b57\u8282\u7684\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u5b58\u653e\u987a\u5e8f\u3002",source:"@site/docs/study/other/\u5b57\u8282\u5e8f.md",sourceDirName:"study/other",slug:"/study/other/\u5b57\u8282\u5e8f",permalink:"/docs/study/other/\u5b57\u8282\u5e8f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4eba\u5de5\u667a\u80fd",permalink:"/docs/study/ai/"},next:{title:"\u6807\u51c6\u540d\u79f0\u7f29\u5199",permalink:"/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199"}},u={},c=[{value:"\u5927\u7aef\u4e0e\u5c0f\u7aef",id:"\u5927\u7aef\u4e0e\u5c0f\u7aef",level:3},{value:"\u4e24\u79cd\u5b57\u8282\u5e8f\uff1a\u7f51\u7edc\u5e8f\u548c\u4e3b\u673a\u5e8f",id:"\u4e24\u79cd\u5b57\u8282\u5e8f\u7f51\u7edc\u5e8f\u548c\u4e3b\u673a\u5e8f",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],d={toc:c},p="wrapper";function s(e){let{components:t,...i}=e;return(0,a.yg)(p,(0,r.A)({},d,i,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u5b57\u8282\u5e8f-big-endian-little-endian"},"\u5b57\u8282\u5e8f Big Endian Little Endian"),(0,a.yg)("p",null,"\u5b57\u8282\u5e8f\uff0c\u4e5f\u5c31\u662f\u5b57\u8282\u7684\u987a\u5e8f\uff0c\u6307\u7684\u662f\u591a\u5b57\u8282\u7684\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u5b58\u653e\u987a\u5e8f\u3002"),(0,a.yg)("p",null,"\u5728\u51e0\u4e4e\u6240\u6709\u7684\u673a\u5668\u4e0a\uff0c\u591a\u5b57\u8282\u5bf9\u8c61\u90fd\u88ab\u5b58\u50a8\u4e3a\u8fde\u7eed\u7684\u5b57\u8282\u5e8f\u5217\u3002\u4f8b\u5982\uff1a\u5982\u679c C/C++\u4e2d\u7684\u4e00\u4e2a int \u578b\u53d8\u91cf a \u7684\u8d77\u59cb\u5730\u5740\u662f&a = 0x100\uff0c\u90a3\u4e48 a \u7684\u56db\u4e2a\u5b57\u8282\u5c06\u88ab\u5b58\u50a8\u5728\u5b58\u50a8\u5668\u7684 0x100, 0x101, 0x102, 0x103 \u4f4d\u7f6e\u3002"),(0,a.yg)("p",null,"\u6839\u636e\u6574\u6570 a \u5728\u8fde\u7eed\u7684 4 byte \u5185\u5b58\u4e2d\u7684\u5b58\u50a8\u987a\u5e8f\uff0c\u5b57\u8282\u5e8f\u88ab\u5206\u4e3a\u5927\u7aef\u5e8f\uff08Big Endian\uff09 \u4e0e \u5c0f\u7aef\u5e8f\uff08Little Endian\uff09\u4e24\u7c7b\u3002 \u7136\u540e\u5c31\u7275\u6d89\u51fa\u4e24\u5927 CPU \u6d3e\u7cfb\uff1a"),(0,a.yg)("p",null,"Motorola 6800\uff0cPowerPC 970\uff0cSPARC\uff08\u9664 V9 \u5916\uff09\u7b49\u5904\u7406\u5668\u91c7\u7528 Big Endian \u65b9\u5f0f\u5b58\u50a8\u6570\u636e\uff1b\nx86 \u7cfb\u5217\uff0cVAX\uff0cPDP-11 \u7b49\u5904\u7406\u5668\u91c7\u7528 Little Endian \u65b9\u5f0f\u5b58\u50a8\u6570\u636e\u3002\n\u53e6\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5904\u7406\u5668\u50cf ARM, DEC Alpha \u7684\u5b57\u8282\u5e8f\u662f\u53ef\u914d\u7f6e\u7684\u3002"),(0,a.yg)("h3",{id:"\u5927\u7aef\u4e0e\u5c0f\u7aef"},"\u5927\u7aef\u4e0e\u5c0f\u7aef"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"\u5927\u7aef\u4e0e\u5c0f\u7aef",src:n(99356).A,width:"520",height:"426"})),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Big Endian \u662f\u6307\u4f4e\u5730\u5740\u7aef \u5b58\u653e \u9ad8\u4f4d\u5b57\u8282\u3002"),(0,a.yg)("li",{parentName:"ul"},"Little Endian \u662f\u6307\u4f4e\u5730\u5740\u7aef \u5b58\u653e \u4f4e\u4f4d\u5b57\u8282\u3002")),(0,a.yg)("h3",{id:"\u4e24\u79cd\u5b57\u8282\u5e8f\u7f51\u7edc\u5e8f\u548c\u4e3b\u673a\u5e8f"},"\u4e24\u79cd\u5b57\u8282\u5e8f\uff1a\u7f51\u7edc\u5e8f\u548c\u4e3b\u673a\u5e8f"),(0,a.yg)("p",null,"\u7f51\u7edc\u5b57\u8282\u5e8f\uff1aTCP/IP \u5404\u5c42\u534f\u8bae\u5c06\u5b57\u8282\u5e8f\u5b9a\u4e49\u4e3a Big Endian\uff0c\u56e0\u6b64 TCP/IP \u534f\u8bae\u4e2d\u4f7f\u7528\u7684\u5b57\u8282\u5e8f\u662f\u5927\u7aef\u5e8f\u3002\u662f\u786e\u5b9a\u7684"),(0,a.yg)("p",null,"\u4e3b\u673a\u5b57\u8282\u5e8f\uff1a\u6574\u6570\u5728\u5185\u5b58\u4e2d\u5b58\u50a8\u7684\u987a\u5e8f\uff0c\u7531 CPU \u67b6\u6784\u51b3\u5b9a\uff0c\u53ef\u80fd\u662f\u5c0f\u7aef\uff0c\u4e5f\u53ef\u80fd\u662f\u5927\u7aef\uff0c\u5e38\u7528\u7684 Intel \u4e0e AMD \u7684 CPU \u5747\u4e3a\u5c0f\u7aef\u5b57\u8282\u5e8f\u3002"),(0,a.yg)("p",null,"\u5728\u8fdb\u884c\u7f51\u7edc\u901a\u4fe1\u65f6 \u901a\u5e38\u9700\u8981\u8c03\u7528\u76f8\u5e94\u7684\u51fd\u6570\u8fdb\u884c\u4e3b\u673a\u5e8f\u548c\u7f51\u7edc\u5e8f\u7684\u8f6c\u6362\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zhizhengguan/article/details/107887396"},"\u5b57\u8282\u5e8f\uff1aBig Endian \u548c Little Endian"))))}s.isMDXComponent=!0},99356:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/zijiexu-8a5e0d07254294a0549c6f18d9f2f801.png"}}]); \ No newline at end of file diff --git a/assets/js/2bc909a9.00c8019f.js b/assets/js/2bc909a9.adefb50a.js similarity index 99% rename from assets/js/2bc909a9.00c8019f.js rename to assets/js/2bc909a9.adefb50a.js index 34b37576c..62a23c355 100644 --- a/assets/js/2bc909a9.00c8019f.js +++ b/assets/js/2bc909a9.adefb50a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8788],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},d="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,s=e.originalType,c=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),d=l(n),u=a,y=d["".concat(c,".").concat(u)]||d[u]||g[u]||s;return n?r.createElement(y,i(i({ref:t},p),{},{components:n})):r.createElement(y,i({ref:t},p))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var s=n.length,i=new Array(s);i[0]=u;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o[d]="string"==typeof e?e:a,i[1]=o;for(var l=2;l{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>g,frontMatter:()=>s,metadata:()=>o,toc:()=>l});var r=n(58168),a=(n(96540),n(15680));const s={sidebar_position:1},i="\u5b66\u65e0\u6b62\u5883",o={unversionedId:"study/index",id:"study/index",title:"\u5b66\u65e0\u6b62\u5883",description:"IT\u6280\u672f\u662f\u4e00\u4e2a\u4e0d\u65ad\u53d1\u5c55\u548c\u53d8\u5316\u7684\u9886\u57df\uff0c\u5b66\u65e0\u6b62\u5883\u3002\u968f\u7740\u6280\u672f\u548c\u5e02\u573a\u7684\u4e0d\u65ad\u53d8\u5316\uff0c\u6211\u4eec\u9700\u8981\u59cb\u7ec8\u4fdd\u6301\u654f\u9510\u7684\u89c2\u5bdf\u529b\u548c\u5b66\u4e60\u80fd\u529b\u3002",source:"@site/docs/study/index.md",sourceDirName:"study",slug:"/study/",permalink:"/docs/study/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",next:{title:"\u6982\u8ff0",permalink:"/docs/study/fe/"}},c={},l=[],p={toc:l},d="wrapper";function g(e){let{components:t,...s}=e;return(0,a.yg)(d,(0,r.A)({},p,s,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u5b66\u65e0\u6b62\u5883"},"\u5b66\u65e0\u6b62\u5883"),(0,a.yg)("p",null,"IT\u6280\u672f\u662f\u4e00\u4e2a\u4e0d\u65ad\u53d1\u5c55\u548c\u53d8\u5316\u7684\u9886\u57df\uff0c\u5b66\u65e0\u6b62\u5883\u3002\u968f\u7740\u6280\u672f\u548c\u5e02\u573a\u7684\u4e0d\u65ad\u53d8\u5316\uff0c\u6211\u4eec\u9700\u8981\u59cb\u7ec8\u4fdd\u6301\u654f\u9510\u7684\u89c2\u5bdf\u529b\u548c\u5b66\u4e60\u80fd\u529b\u3002"),(0,a.yg)("p",null,"\u4e0d\u65ad\u5b66\u4e60\u548c\u63d0\u5347\u81ea\u5df1\u7684\u6280\u80fd\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u9002\u5e94\u5feb\u901f\u53d8\u5316\u7684\u5e02\u573a\u548c\u6280\u672f\u73af\u5883\u3002\u56e0\u6b64\uff0c\u6211\u76f8\u4fe1\u5728\u8fd9\u4e2a\u5feb\u901f\u53d1\u5c55\u7684\u884c\u4e1a\u4e2d\uff0c\u6301\u7eed\u4e0d\u65ad\u5730\u5b66\u4e60\u548c\u8fdb\u6b65\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u3002"),(0,a.yg)("p",null,"JAVA\u5f00\u53d1\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(91797).A,width:"3787",height:"1573"})),(0,a.yg)("p",null,"\u4fe1\u606f\u5b89\u5168\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(74103).A,width:"3927",height:"3241"})),(0,a.yg)("p",null,"\u5bc6\u7801\u7b97\u6cd5\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(72667).A,width:"1681",height:"1167"})),(0,a.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(84821).A,width:"3373",height:"2335"})),(0,a.yg)("p",null,"\u6570\u636e\u5e93\u6280\u80fd\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(73314).A,width:"2897",height:"3191"})),(0,a.yg)("p",null,"\u786c\u4ef6\u5f00\u53d1\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(23251).A,width:"3157",height:"2573"})),(0,a.yg)("p",null,"\u7cfb\u7edf\u67b6\u6784\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(37126).A,width:"3091",height:"3499"})),(0,a.yg)("p",null,"\u7f51\u7edc\u5efa\u8bbe\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(33183).A,width:"2943",height:"3313"})),(0,a.yg)("p",null,"\u8fd0\u7ef4\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(33006).A,width:"2333",height:"2147"})))}g.isMDXComponent=!0},91797:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/JAVA\u5f00\u53d1\u6280\u80fd\u6811V1.0-e6246f34127a7c157f1707e90b0acaf4.png"},74103:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u4fe1\u606f\u5b89\u5168\u6280\u80fd\u6811V1.0-9a51eb5b3f6b9dfb13dd4f59bb1a3c69.png"},72667:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u5bc6\u7801\u7b97\u6cd5\u6280\u80fd\u6811V1.0-622b2eb5ecbd986abb54c5f82f2060a7.png"},84821:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u64cd\u4f5c\u7cfb\u7edf\u6280\u80fd\u6811V1.0-aaa17db3062abf19a2597f4e004a6eb0.png"},73314:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u6570\u636e\u5e93\u6280\u80fd\u6280\u80fd\u6811V1.0-fec2d4ae1b5da77ba04ef120529dc642.png"},23251:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u786c\u4ef6\u5f00\u53d1\u6280\u80fd\u6811V1.0-cdf0e45b877c7e6cad5b122b5dc34a3e.png"},37126:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u7cfb\u7edf\u67b6\u6784\u6280\u80fd\u6811V1.0-24694e466a2124bf93377d011baebeb3.png"},33183:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u7f51\u7edc\u5efa\u8bbe\u6280\u80fd\u6811V1.0-1e74ad97163494f73a37d4057d6125a7.png"},33006:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u8fd0\u7ef4\u6280\u80fd\u6811V1.0-892b988e229fa7a9d871309f0b045520.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8788],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},d="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,s=e.originalType,c=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),d=l(n),u=a,y=d["".concat(c,".").concat(u)]||d[u]||g[u]||s;return n?r.createElement(y,i(i({ref:t},p),{},{components:n})):r.createElement(y,i({ref:t},p))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var s=n.length,i=new Array(s);i[0]=u;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o[d]="string"==typeof e?e:a,i[1]=o;for(var l=2;l{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>g,frontMatter:()=>s,metadata:()=>o,toc:()=>l});var r=n(58168),a=(n(96540),n(15680));const s={sidebar_position:1},i="\u5b66\u65e0\u6b62\u5883",o={unversionedId:"study/index",id:"study/index",title:"\u5b66\u65e0\u6b62\u5883",description:"IT\u6280\u672f\u662f\u4e00\u4e2a\u4e0d\u65ad\u53d1\u5c55\u548c\u53d8\u5316\u7684\u9886\u57df\uff0c\u5b66\u65e0\u6b62\u5883\u3002\u968f\u7740\u6280\u672f\u548c\u5e02\u573a\u7684\u4e0d\u65ad\u53d8\u5316\uff0c\u6211\u4eec\u9700\u8981\u59cb\u7ec8\u4fdd\u6301\u654f\u9510\u7684\u89c2\u5bdf\u529b\u548c\u5b66\u4e60\u80fd\u529b\u3002",source:"@site/docs/study/index.md",sourceDirName:"study",slug:"/study/",permalink:"/docs/study/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",next:{title:"\u6982\u8ff0",permalink:"/docs/study/fe/"}},c={},l=[],p={toc:l},d="wrapper";function g(e){let{components:t,...s}=e;return(0,a.yg)(d,(0,r.A)({},p,s,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u5b66\u65e0\u6b62\u5883"},"\u5b66\u65e0\u6b62\u5883"),(0,a.yg)("p",null,"IT\u6280\u672f\u662f\u4e00\u4e2a\u4e0d\u65ad\u53d1\u5c55\u548c\u53d8\u5316\u7684\u9886\u57df\uff0c\u5b66\u65e0\u6b62\u5883\u3002\u968f\u7740\u6280\u672f\u548c\u5e02\u573a\u7684\u4e0d\u65ad\u53d8\u5316\uff0c\u6211\u4eec\u9700\u8981\u59cb\u7ec8\u4fdd\u6301\u654f\u9510\u7684\u89c2\u5bdf\u529b\u548c\u5b66\u4e60\u80fd\u529b\u3002"),(0,a.yg)("p",null,"\u4e0d\u65ad\u5b66\u4e60\u548c\u63d0\u5347\u81ea\u5df1\u7684\u6280\u80fd\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u9002\u5e94\u5feb\u901f\u53d8\u5316\u7684\u5e02\u573a\u548c\u6280\u672f\u73af\u5883\u3002\u56e0\u6b64\uff0c\u6211\u76f8\u4fe1\u5728\u8fd9\u4e2a\u5feb\u901f\u53d1\u5c55\u7684\u884c\u4e1a\u4e2d\uff0c\u6301\u7eed\u4e0d\u65ad\u5730\u5b66\u4e60\u548c\u8fdb\u6b65\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u3002"),(0,a.yg)("p",null,"JAVA\u5f00\u53d1\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(91797).A,width:"3787",height:"1573"})),(0,a.yg)("p",null,"\u4fe1\u606f\u5b89\u5168\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(74103).A,width:"3927",height:"3241"})),(0,a.yg)("p",null,"\u5bc6\u7801\u7b97\u6cd5\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(72667).A,width:"1681",height:"1167"})),(0,a.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(84821).A,width:"3373",height:"2335"})),(0,a.yg)("p",null,"\u6570\u636e\u5e93\u6280\u80fd\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(73314).A,width:"2897",height:"3191"})),(0,a.yg)("p",null,"\u786c\u4ef6\u5f00\u53d1\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(23251).A,width:"3157",height:"2573"})),(0,a.yg)("p",null,"\u7cfb\u7edf\u67b6\u6784\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(37126).A,width:"3091",height:"3499"})),(0,a.yg)("p",null,"\u7f51\u7edc\u5efa\u8bbe\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(33183).A,width:"2943",height:"3313"})),(0,a.yg)("p",null,"\u8fd0\u7ef4\u6280\u80fd\u6811\n",(0,a.yg)("img",{alt:"alt text",src:n(33006).A,width:"2333",height:"2147"})))}g.isMDXComponent=!0},91797:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/JAVA\u5f00\u53d1\u6280\u80fd\u6811V1.0-e6246f34127a7c157f1707e90b0acaf4.png"},74103:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u4fe1\u606f\u5b89\u5168\u6280\u80fd\u6811V1.0-9a51eb5b3f6b9dfb13dd4f59bb1a3c69.png"},72667:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u5bc6\u7801\u7b97\u6cd5\u6280\u80fd\u6811V1.0-622b2eb5ecbd986abb54c5f82f2060a7.png"},84821:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u64cd\u4f5c\u7cfb\u7edf\u6280\u80fd\u6811V1.0-aaa17db3062abf19a2597f4e004a6eb0.png"},73314:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u6570\u636e\u5e93\u6280\u80fd\u6280\u80fd\u6811V1.0-fec2d4ae1b5da77ba04ef120529dc642.png"},23251:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u786c\u4ef6\u5f00\u53d1\u6280\u80fd\u6811V1.0-cdf0e45b877c7e6cad5b122b5dc34a3e.png"},37126:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u7cfb\u7edf\u67b6\u6784\u6280\u80fd\u6811V1.0-24694e466a2124bf93377d011baebeb3.png"},33183:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u7f51\u7edc\u5efa\u8bbe\u6280\u80fd\u6811V1.0-1e74ad97163494f73a37d4057d6125a7.png"},33006:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/\u8fd0\u7ef4\u6280\u80fd\u6811V1.0-892b988e229fa7a9d871309f0b045520.png"}}]); \ No newline at end of file diff --git a/assets/js/2c29bcc5.26886e56.js b/assets/js/2c29bcc5.888f01ac.js similarity index 98% rename from assets/js/2c29bcc5.26886e56.js rename to assets/js/2c29bcc5.888f01ac.js index 839e92699..f9ba78b65 100644 --- a/assets/js/2c29bcc5.26886e56.js +++ b/assets/js/2c29bcc5.888f01ac.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7748],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),d=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=d(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),u=d(r),f=o,m=u["".concat(l,".").concat(f)]||u[f]||s[f]||i;return r?n.createElement(m,a(a({ref:t},p),{},{components:r})):n.createElement(m,a({ref:t},p))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,a[1]=c;for(var d=2;d{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>s,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:5},a="\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406",c={unversionedId:"iotcloud/devicemanager/device-info",id:"iotcloud/devicemanager/device-info",title:"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406",description:"",source:"@site/docs/iotcloud/devicemanager/device-info.md",sourceDirName:"iotcloud/devicemanager",slug:"/iotcloud/devicemanager/device-info",permalink:"/docs/iotcloud/devicemanager/device-info",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"iotCloudSidebar",previous:{title:"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-type"},next:{title:"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-group"}},l={},d=[],p={toc:d},u="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406"},"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7748],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),d=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=d(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),u=d(r),f=o,m=u["".concat(l,".").concat(f)]||u[f]||s[f]||i;return r?n.createElement(m,a(a({ref:t},p),{},{components:r})):n.createElement(m,a({ref:t},p))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,a[1]=c;for(var d=2;d{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>s,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:5},a="\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406",c={unversionedId:"iotcloud/devicemanager/device-info",id:"iotcloud/devicemanager/device-info",title:"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406",description:"",source:"@site/docs/iotcloud/devicemanager/device-info.md",sourceDirName:"iotcloud/devicemanager",slug:"/iotcloud/devicemanager/device-info",permalink:"/docs/iotcloud/devicemanager/device-info",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"iotCloudSidebar",previous:{title:"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-type"},next:{title:"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-group"}},l={},d=[],p={toc:d},u="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406"},"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2d2ef872.e12b7b43.js b/assets/js/2d2ef872.ca509268.js similarity index 99% rename from assets/js/2d2ef872.e12b7b43.js rename to assets/js/2d2ef872.ca509268.js index b619c9f42..5ca9693c6 100644 --- a/assets/js/2d2ef872.e12b7b43.js +++ b/assets/js/2d2ef872.ca509268.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4283],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>g});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,o=e.originalType,p=e.parentName,c=a(e,["components","mdxType","originalType","parentName"]),y=u(r),d=l,g=y["".concat(p,".").concat(d)]||y[d]||s[d]||o;return r?n.createElement(g,i(i({ref:t},c),{},{components:r})):n.createElement(g,i({ref:t},c))}));function g(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=r.length,i=new Array(o);i[0]=d;var a={};for(var p in t)hasOwnProperty.call(t,p)&&(a[p]=t[p]);a.originalType=e,a[y]="string"==typeof e?e:l,i[1]=a;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var n=r(58168),l=(r(96540),r(15680));const o={},i="\u52a0\u89e3\u5bc6",a={unversionedId:"study/encryption/index",id:"study/encryption/index",title:"\u52a0\u89e3\u5bc6",description:"\u52a0\u5bc6\u548c\u89e3\u5bc6",source:"@site/docs/study/encryption/index.md",sourceDirName:"study/encryption",slug:"/study/encryption/",permalink:"/docs/study/encryption/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"SSL TLS HTTPS",permalink:"/docs/study/encryption/SSL_TLS"},next:{title:"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",permalink:"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5"}},p={},u=[{value:"\u52a0\u5bc6\u548c\u89e3\u5bc6",id:"\u52a0\u5bc6\u548c\u89e3\u5bc6",level:3},{value:"\u660e\u6587\u548c\u5bc6\u6587",id:"\u660e\u6587\u548c\u5bc6\u6587",level:3},{value:"\u52a0\u5bc6\u7684\u5bc6\u94a5",id:"\u52a0\u5bc6\u7684\u5bc6\u94a5",level:3},{value:"\u5bf9\u79f0\u4e0e\u975e\u5bf9\u79f0",id:"\u5bf9\u79f0\u4e0e\u975e\u5bf9\u79f0",level:3},{value:"\u5bf9\u79f0\u52a0\u5bc6",id:"\u5bf9\u79f0\u52a0\u5bc6",level:4},{value:"\u975e\u5bf9\u79f0\u52a0\u5bc6",id:"\u975e\u5bf9\u79f0\u52a0\u5bc6",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:u},y="wrapper";function s(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h1",{id:"\u52a0\u89e3\u5bc6"},"\u52a0\u89e3\u5bc6"),(0,l.yg)("h3",{id:"\u52a0\u5bc6\u548c\u89e3\u5bc6"},"\u52a0\u5bc6\u548c\u89e3\u5bc6"),(0,l.yg)("p",null,"\u52a0\u5bc6\u662f\u4ee5\u67d0\u79cd\u7279\u5b9a\u7684\u7b97\u6cd5\uff0c\u6539\u53d8\u539f\u6709\u7684\u6570\u636e\u4fe1\u606f\uff0c\u4f7f\u5f97\u672a\u6388\u6743\u7684\u7528\u6237\u5373\u4f7f\u83b7\u5f97\u4e86\u52a0\u5bc6\u540e\u7684\u6570\u636e\uff0c\u4f46\u56e0\u4e0d\u77e5\u89e3\u5bc6\u7684\u65b9\u6cd5\uff08\u786e\u5207\u7684\u8bf4\u662f\u4e0d\u77e5\u9053\u5bc6\u94a5\uff09\uff0c\u4ecd\u7136\u65e0\u6cd5\u4e86\u89e3\u5176\u4fe1\u606f\u5185\u5bb9\u3002\u800c\u89e3\u5bc6\u5219\u662f\u52a0\u5bc6\u7684\u9006\u8fc7\u7a0b\u3002"),(0,l.yg)("h3",{id:"\u660e\u6587\u548c\u5bc6\u6587"},"\u660e\u6587\u548c\u5bc6\u6587"),(0,l.yg)("p",null,"\u6211\u4eec\u79f0\u5c1a\u672a\u52a0\u5bc6\u7684\u6570\u636e\u4e3a\u660e\u6587\uff0c\u901a\u8fc7\u56fa\u5b9a\u7b97\u6cd5\u52a0\u5bc6\u540e\u7684\u6570\u636e\u4e3a\u5bc6\u6587\u3002"),(0,l.yg)("h3",{id:"\u52a0\u5bc6\u7684\u5bc6\u94a5"},"\u52a0\u5bc6\u7684\u5bc6\u94a5"),(0,l.yg)("p",null,"\u5bc6\u94a5\u662f\u4e00\u79cd\u53c2\u6570\uff0c\u5b83\u662f\u5728\u660e\u6587\u8f6c\u6362\u4e3a\u5bc6\u6587\u6216\u5bc6\u6587\u8f6c\u6362\u4e3a\u660e\u6587\u65f6\u7b97\u6cd5\u7684\u8f93\u5165\u53c2\u6570\u3002\u53ef\u4ee5\u7406\u89e3\u6210\u5bc6\u7801\u7684\u94a5\u5319\u3002"),(0,l.yg)("h3",{id:"\u5bf9\u79f0\u4e0e\u975e\u5bf9\u79f0"},"\u5bf9\u79f0\u4e0e\u975e\u5bf9\u79f0"),(0,l.yg)("h4",{id:"\u5bf9\u79f0\u52a0\u5bc6"},"\u5bf9\u79f0\u52a0\u5bc6"),(0,l.yg)("p",null,"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u4e2d\uff0c\u6570\u636e\u53d1\u9001\u65b9\u5c06\u660e\u6587\u548c\u5bc6\u94a5\u4e00\u8d77\u7ecf\u8fc7\u7279\u6b8a\u52a0\u5bc6\u7b97\u6cd5\u5904\u7406\u6210\u5bc6\u6587\u540e\uff0c\u5c06\u5b83\u53d1\u9001\u51fa\u53bb\u3002\u63a5\u6536\u65b9\u6536\u5230\u5bc6\u6587\u540e\uff0c\u82e5\u60f3\u89e3\u8bfb\u539f\u6587\uff0c\u5219\u9700\u8981\u4f7f\u7528\u52a0\u5bc6\u7528\u5230\u7684\u76f8\u540c\u5bc6\u94a5\u53ca\u76f8\u540c\u7b97\u6cd5\u7684\u9006\u7b97\u6cd5\u5bf9\u5bc6\u6587\u8fdb\u884c\u89e3\u5bc6\uff0c\u624d\u80fd\u4f7f\u5176\u6062\u590d\u6210\u539f\u6587\u3002"),(0,l.yg)("p",null,"\u5b83\u7684\u6700\u5927\u4f18\u52bf\u662f\u52a0/\u89e3\u5bc6\u901f\u5ea6\u5feb\uff0c\u9002\u7528\u4e8e\u5927\u6570\u636e\u91cf\u8fdb\u884c\u52a0\u5bc6\uff0c\u7f3a\u70b9\u662f\u5bc6\u94a5\u7ba1\u7406\u56f0\u96be\uff0c\u6700\u5178\u578b\u7684\u95ee\u9898\u5c31\u662f\u5982\u4f55\u540c\u6b65\u8fd9\u4e2a\u5bc6\u94a5\uff0c\u540c\u6b65\u8fc7\u7a0b\u5982\u679c\u5728\u516c\u7f51\u4e0a\uff0c\u4e0d\u8fdb\u884c\u52a0\u5bc6\u662f\u53ef\u4ee5\u6293\u5305\u62ff\u5230\u7684\uff0c\u90a3\u4e48\u8fd9\u91cc\u5c31\u9047\u5230\u4e86\u8981\u5bf9\u5bc6\u94a5\u52a0\u5bc6\u7684\u95ee\u9898\u3002"),(0,l.yg)("p",null,"\u5e38\u89c1\u7684\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u6709 AES\u3001DES\u3001Blowfish \u7b49\u7b49\u3002"),(0,l.yg)("p",null,"\u5bf9\u79f0\u52a0\u5bc6\u7684\u6838\u5fc3\u662f\u53ea\u6709\u4e00\u628a\u5bc6\u94a5\u3002"),(0,l.yg)("h4",{id:"\u975e\u5bf9\u79f0\u52a0\u5bc6"},"\u975e\u5bf9\u79f0\u52a0\u5bc6"),(0,l.yg)("p",null,"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u4e2d\uff0c\u6709\u4e24\u4e2a\u5bc6\u94a5\uff1a\u516c\u94a5\u548c\u79c1\u94a5\u3002\u5b83\u4eec\u662f\u4e00\u5bf9\uff0c\u5982\u679c\u7528\u516c\u94a5\u8fdb\u884c\u52a0\u5bc6\uff0c\u53ea\u6709\u7528\u5bf9\u5e94\u7684\u79c1\u94a5\u624d\u80fd\u89e3\u5bc6\uff1b\u5982\u679c\u7528\u79c1\u94a5\u8fdb\u884c\u52a0\u5bc6\uff0c\u53ea\u6709\u7528\u5bf9\u5e94\u7684\u516c\u94a5\u624d\u80fd\u89e3\u5bc6\u3002"),(0,l.yg)("p",null,"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u5b9e\u73b0\u673a\u5bc6\u4fe1\u606f\u7684\u4ea4\u6362\u8fc7\u7a0b\u4e3a\uff1a\u7532\u65b9\u751f\u6210\u4e00\u5bf9\u5bc6\u94a5\u5e76\u5c06\u5176\u4e2d\u4e00\u4e2a\u4f5c\u4e3a\u516c\u94a5\u5411\u5176\u4ed6\u65b9\u516c\u5f00\uff1b\u5f97\u5230\u8be5\u516c\u94a5\u7684\u4e59\u65b9\u4f7f\u7528\u8be5\u5bc6\u94a5\u5bf9\u673a\u5bc6\u4fe1\u606f\u8fdb\u884c\u52a0\u5bc6\u540e\u53d1\u9001\u7ed9\u7532\u65b9\uff1b\u7532\u65b9\u518d\u7528\u81ea\u5df1\u7684\u53e6\u4e00\u4e2a\u4e13\u7528\u5bc6\u94a5\u5bf9\u52a0\u5bc6\u540e\u7684\u4fe1\u606f\u8fdb\u884c\u89e3\u5bc6\u3002"),(0,l.yg)("p",null,"\u6700\u6709\u540d\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u5f53\u5c5e RSA \u4e86\uff0c\u672c\u6587\u5c06\u5bf9 RSA \u7b97\u6cd5\u7684\u52a0/\u89e3\u5bc6\u8fc7\u7a0b\u8fdb\u884c\u8be6\u7ec6\u5256\u6790\u3002"),(0,l.yg)("p",null,"\u975e\u5bf9\u79f0\u52a0\u5bc6\u62e5\u6709\u4e24\u628a\u5bc6\u94a5\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zh.wikipedia.org/wiki/%E5%BD%A9%E8%99%B9%E8%A1%A8"},"WIKI-\u5f69\u8679\u8868")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"http://gmssl.org/"},"http://gmssl.org/"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4283],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>g});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,o=e.originalType,p=e.parentName,c=a(e,["components","mdxType","originalType","parentName"]),y=u(r),d=l,g=y["".concat(p,".").concat(d)]||y[d]||s[d]||o;return r?n.createElement(g,i(i({ref:t},c),{},{components:r})):n.createElement(g,i({ref:t},c))}));function g(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=r.length,i=new Array(o);i[0]=d;var a={};for(var p in t)hasOwnProperty.call(t,p)&&(a[p]=t[p]);a.originalType=e,a[y]="string"==typeof e?e:l,i[1]=a;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var n=r(58168),l=(r(96540),r(15680));const o={},i="\u52a0\u89e3\u5bc6",a={unversionedId:"study/encryption/index",id:"study/encryption/index",title:"\u52a0\u89e3\u5bc6",description:"\u52a0\u5bc6\u548c\u89e3\u5bc6",source:"@site/docs/study/encryption/index.md",sourceDirName:"study/encryption",slug:"/study/encryption/",permalink:"/docs/study/encryption/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"SSL TLS HTTPS",permalink:"/docs/study/encryption/SSL_TLS"},next:{title:"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",permalink:"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5"}},p={},u=[{value:"\u52a0\u5bc6\u548c\u89e3\u5bc6",id:"\u52a0\u5bc6\u548c\u89e3\u5bc6",level:3},{value:"\u660e\u6587\u548c\u5bc6\u6587",id:"\u660e\u6587\u548c\u5bc6\u6587",level:3},{value:"\u52a0\u5bc6\u7684\u5bc6\u94a5",id:"\u52a0\u5bc6\u7684\u5bc6\u94a5",level:3},{value:"\u5bf9\u79f0\u4e0e\u975e\u5bf9\u79f0",id:"\u5bf9\u79f0\u4e0e\u975e\u5bf9\u79f0",level:3},{value:"\u5bf9\u79f0\u52a0\u5bc6",id:"\u5bf9\u79f0\u52a0\u5bc6",level:4},{value:"\u975e\u5bf9\u79f0\u52a0\u5bc6",id:"\u975e\u5bf9\u79f0\u52a0\u5bc6",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:u},y="wrapper";function s(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h1",{id:"\u52a0\u89e3\u5bc6"},"\u52a0\u89e3\u5bc6"),(0,l.yg)("h3",{id:"\u52a0\u5bc6\u548c\u89e3\u5bc6"},"\u52a0\u5bc6\u548c\u89e3\u5bc6"),(0,l.yg)("p",null,"\u52a0\u5bc6\u662f\u4ee5\u67d0\u79cd\u7279\u5b9a\u7684\u7b97\u6cd5\uff0c\u6539\u53d8\u539f\u6709\u7684\u6570\u636e\u4fe1\u606f\uff0c\u4f7f\u5f97\u672a\u6388\u6743\u7684\u7528\u6237\u5373\u4f7f\u83b7\u5f97\u4e86\u52a0\u5bc6\u540e\u7684\u6570\u636e\uff0c\u4f46\u56e0\u4e0d\u77e5\u89e3\u5bc6\u7684\u65b9\u6cd5\uff08\u786e\u5207\u7684\u8bf4\u662f\u4e0d\u77e5\u9053\u5bc6\u94a5\uff09\uff0c\u4ecd\u7136\u65e0\u6cd5\u4e86\u89e3\u5176\u4fe1\u606f\u5185\u5bb9\u3002\u800c\u89e3\u5bc6\u5219\u662f\u52a0\u5bc6\u7684\u9006\u8fc7\u7a0b\u3002"),(0,l.yg)("h3",{id:"\u660e\u6587\u548c\u5bc6\u6587"},"\u660e\u6587\u548c\u5bc6\u6587"),(0,l.yg)("p",null,"\u6211\u4eec\u79f0\u5c1a\u672a\u52a0\u5bc6\u7684\u6570\u636e\u4e3a\u660e\u6587\uff0c\u901a\u8fc7\u56fa\u5b9a\u7b97\u6cd5\u52a0\u5bc6\u540e\u7684\u6570\u636e\u4e3a\u5bc6\u6587\u3002"),(0,l.yg)("h3",{id:"\u52a0\u5bc6\u7684\u5bc6\u94a5"},"\u52a0\u5bc6\u7684\u5bc6\u94a5"),(0,l.yg)("p",null,"\u5bc6\u94a5\u662f\u4e00\u79cd\u53c2\u6570\uff0c\u5b83\u662f\u5728\u660e\u6587\u8f6c\u6362\u4e3a\u5bc6\u6587\u6216\u5bc6\u6587\u8f6c\u6362\u4e3a\u660e\u6587\u65f6\u7b97\u6cd5\u7684\u8f93\u5165\u53c2\u6570\u3002\u53ef\u4ee5\u7406\u89e3\u6210\u5bc6\u7801\u7684\u94a5\u5319\u3002"),(0,l.yg)("h3",{id:"\u5bf9\u79f0\u4e0e\u975e\u5bf9\u79f0"},"\u5bf9\u79f0\u4e0e\u975e\u5bf9\u79f0"),(0,l.yg)("h4",{id:"\u5bf9\u79f0\u52a0\u5bc6"},"\u5bf9\u79f0\u52a0\u5bc6"),(0,l.yg)("p",null,"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u4e2d\uff0c\u6570\u636e\u53d1\u9001\u65b9\u5c06\u660e\u6587\u548c\u5bc6\u94a5\u4e00\u8d77\u7ecf\u8fc7\u7279\u6b8a\u52a0\u5bc6\u7b97\u6cd5\u5904\u7406\u6210\u5bc6\u6587\u540e\uff0c\u5c06\u5b83\u53d1\u9001\u51fa\u53bb\u3002\u63a5\u6536\u65b9\u6536\u5230\u5bc6\u6587\u540e\uff0c\u82e5\u60f3\u89e3\u8bfb\u539f\u6587\uff0c\u5219\u9700\u8981\u4f7f\u7528\u52a0\u5bc6\u7528\u5230\u7684\u76f8\u540c\u5bc6\u94a5\u53ca\u76f8\u540c\u7b97\u6cd5\u7684\u9006\u7b97\u6cd5\u5bf9\u5bc6\u6587\u8fdb\u884c\u89e3\u5bc6\uff0c\u624d\u80fd\u4f7f\u5176\u6062\u590d\u6210\u539f\u6587\u3002"),(0,l.yg)("p",null,"\u5b83\u7684\u6700\u5927\u4f18\u52bf\u662f\u52a0/\u89e3\u5bc6\u901f\u5ea6\u5feb\uff0c\u9002\u7528\u4e8e\u5927\u6570\u636e\u91cf\u8fdb\u884c\u52a0\u5bc6\uff0c\u7f3a\u70b9\u662f\u5bc6\u94a5\u7ba1\u7406\u56f0\u96be\uff0c\u6700\u5178\u578b\u7684\u95ee\u9898\u5c31\u662f\u5982\u4f55\u540c\u6b65\u8fd9\u4e2a\u5bc6\u94a5\uff0c\u540c\u6b65\u8fc7\u7a0b\u5982\u679c\u5728\u516c\u7f51\u4e0a\uff0c\u4e0d\u8fdb\u884c\u52a0\u5bc6\u662f\u53ef\u4ee5\u6293\u5305\u62ff\u5230\u7684\uff0c\u90a3\u4e48\u8fd9\u91cc\u5c31\u9047\u5230\u4e86\u8981\u5bf9\u5bc6\u94a5\u52a0\u5bc6\u7684\u95ee\u9898\u3002"),(0,l.yg)("p",null,"\u5e38\u89c1\u7684\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u6709 AES\u3001DES\u3001Blowfish \u7b49\u7b49\u3002"),(0,l.yg)("p",null,"\u5bf9\u79f0\u52a0\u5bc6\u7684\u6838\u5fc3\u662f\u53ea\u6709\u4e00\u628a\u5bc6\u94a5\u3002"),(0,l.yg)("h4",{id:"\u975e\u5bf9\u79f0\u52a0\u5bc6"},"\u975e\u5bf9\u79f0\u52a0\u5bc6"),(0,l.yg)("p",null,"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u4e2d\uff0c\u6709\u4e24\u4e2a\u5bc6\u94a5\uff1a\u516c\u94a5\u548c\u79c1\u94a5\u3002\u5b83\u4eec\u662f\u4e00\u5bf9\uff0c\u5982\u679c\u7528\u516c\u94a5\u8fdb\u884c\u52a0\u5bc6\uff0c\u53ea\u6709\u7528\u5bf9\u5e94\u7684\u79c1\u94a5\u624d\u80fd\u89e3\u5bc6\uff1b\u5982\u679c\u7528\u79c1\u94a5\u8fdb\u884c\u52a0\u5bc6\uff0c\u53ea\u6709\u7528\u5bf9\u5e94\u7684\u516c\u94a5\u624d\u80fd\u89e3\u5bc6\u3002"),(0,l.yg)("p",null,"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u5b9e\u73b0\u673a\u5bc6\u4fe1\u606f\u7684\u4ea4\u6362\u8fc7\u7a0b\u4e3a\uff1a\u7532\u65b9\u751f\u6210\u4e00\u5bf9\u5bc6\u94a5\u5e76\u5c06\u5176\u4e2d\u4e00\u4e2a\u4f5c\u4e3a\u516c\u94a5\u5411\u5176\u4ed6\u65b9\u516c\u5f00\uff1b\u5f97\u5230\u8be5\u516c\u94a5\u7684\u4e59\u65b9\u4f7f\u7528\u8be5\u5bc6\u94a5\u5bf9\u673a\u5bc6\u4fe1\u606f\u8fdb\u884c\u52a0\u5bc6\u540e\u53d1\u9001\u7ed9\u7532\u65b9\uff1b\u7532\u65b9\u518d\u7528\u81ea\u5df1\u7684\u53e6\u4e00\u4e2a\u4e13\u7528\u5bc6\u94a5\u5bf9\u52a0\u5bc6\u540e\u7684\u4fe1\u606f\u8fdb\u884c\u89e3\u5bc6\u3002"),(0,l.yg)("p",null,"\u6700\u6709\u540d\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u5f53\u5c5e RSA \u4e86\uff0c\u672c\u6587\u5c06\u5bf9 RSA \u7b97\u6cd5\u7684\u52a0/\u89e3\u5bc6\u8fc7\u7a0b\u8fdb\u884c\u8be6\u7ec6\u5256\u6790\u3002"),(0,l.yg)("p",null,"\u975e\u5bf9\u79f0\u52a0\u5bc6\u62e5\u6709\u4e24\u628a\u5bc6\u94a5\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zh.wikipedia.org/wiki/%E5%BD%A9%E8%99%B9%E8%A1%A8"},"WIKI-\u5f69\u8679\u8868")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"http://gmssl.org/"},"http://gmssl.org/"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2dda2596.9cc66688.js b/assets/js/2dda2596.bc574c73.js similarity index 97% rename from assets/js/2dda2596.9cc66688.js rename to assets/js/2dda2596.bc574c73.js index 60ff5f09e..c18bcc496 100644 --- a/assets/js/2dda2596.9cc66688.js +++ b/assets/js/2dda2596.bc574c73.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8906],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),u=p(r),f=o,y=u["".concat(s,".").concat(f)]||u[f]||d[f]||a;return r?n.createElement(y,i(i({ref:t},l),{},{components:r})):n.createElement(y,i({ref:t},l))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i="Linux iptables \u9632\u706b\u5899",c={unversionedId:"study/net/iptables",id:"study/net/iptables",title:"Linux iptables \u9632\u706b\u5899",description:"",source:"@site/docs/study/net/iptables.md",sourceDirName:"study/net",slug:"/study/net/iptables",permalink:"/docs/study/net/iptables",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux ip \u547d\u4ee4",permalink:"/docs/study/net/ip"},next:{title:"Linux netns",permalink:"/docs/study/net/netns"}},s={},p=[],l={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"linux-iptables-\u9632\u706b\u5899"},"Linux iptables \u9632\u706b\u5899"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8906],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),u=p(r),f=o,y=u["".concat(s,".").concat(f)]||u[f]||d[f]||a;return r?n.createElement(y,i(i({ref:t},l),{},{components:r})):n.createElement(y,i({ref:t},l))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i="Linux iptables \u9632\u706b\u5899",c={unversionedId:"study/net/iptables",id:"study/net/iptables",title:"Linux iptables \u9632\u706b\u5899",description:"",source:"@site/docs/study/net/iptables.md",sourceDirName:"study/net",slug:"/study/net/iptables",permalink:"/docs/study/net/iptables",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux ip \u547d\u4ee4",permalink:"/docs/study/net/ip"},next:{title:"Linux netns",permalink:"/docs/study/net/netns"}},s={},p=[],l={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"linux-iptables-\u9632\u706b\u5899"},"Linux iptables \u9632\u706b\u5899"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2e250d6d.e7757740.js b/assets/js/2e250d6d.ca5fb57e.js similarity index 98% rename from assets/js/2e250d6d.e7757740.js rename to assets/js/2e250d6d.ca5fb57e.js index 736c54e6a..c81179e8c 100644 --- a/assets/js/2e250d6d.e7757740.js +++ b/assets/js/2e250d6d.ca5fb57e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5565],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),p=u(r),d=o,f=p["".concat(i,".").concat(d)]||p[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[p]="string"==typeof e?e:o,c[1]=s;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>s,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,s={unversionedId:"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1",id:"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1",title:"CPU\u7ebf\u7a0b\u5e76\u53d1",description:"CPU \u7ebf\u7a0b \u8fdb\u7a0b \u5e76\u53d1 \u5e76\u884c",source:"@site/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1.md",sourceDirName:"study/system",slug:"/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1",permalink:"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u672a\u6574\u7406",permalink:"/docs/study/system/"},next:{title:"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6",permalink:"/docs/study/system/IO"}},i={},u=[{value:"CPU \u7ebf\u7a0b \u8fdb\u7a0b \u5e76\u53d1 \u5e76\u884c",id:"cpu-\u7ebf\u7a0b-\u8fdb\u7a0b-\u5e76\u53d1-\u5e76\u884c",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],l={toc:u},p="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"cpu-\u7ebf\u7a0b-\u8fdb\u7a0b-\u5e76\u53d1-\u5e76\u884c"},"CPU \u7ebf\u7a0b \u8fdb\u7a0b \u5e76\u53d1 \u5e76\u884c"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/490318618?utm_id=0"},"\u77e5\u4e4e-\u7b80\u5355\u7406\u89e3\uff1aCPU \u7269\u7406\u6570\uff0c\u6838\u5fc3\u6570\uff0c\u7ebf\u7a0b\u6570\uff0c\u8fdb\u7a0b\uff0c\u7ebf\u7a0b\uff0c\u534f\u7a0b\uff0c\u5e76\u53d1\uff0c\u5e76\u884c\u7684\u6982\u5ff5"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5565],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),p=u(r),d=o,f=p["".concat(i,".").concat(d)]||p[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[p]="string"==typeof e?e:o,c[1]=s;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>s,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,s={unversionedId:"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1",id:"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1",title:"CPU\u7ebf\u7a0b\u5e76\u53d1",description:"CPU \u7ebf\u7a0b \u8fdb\u7a0b \u5e76\u53d1 \u5e76\u884c",source:"@site/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1.md",sourceDirName:"study/system",slug:"/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1",permalink:"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u672a\u6574\u7406",permalink:"/docs/study/system/"},next:{title:"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6",permalink:"/docs/study/system/IO"}},i={},u=[{value:"CPU \u7ebf\u7a0b \u8fdb\u7a0b \u5e76\u53d1 \u5e76\u884c",id:"cpu-\u7ebf\u7a0b-\u8fdb\u7a0b-\u5e76\u53d1-\u5e76\u884c",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],l={toc:u},p="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"cpu-\u7ebf\u7a0b-\u8fdb\u7a0b-\u5e76\u53d1-\u5e76\u884c"},"CPU \u7ebf\u7a0b \u8fdb\u7a0b \u5e76\u53d1 \u5e76\u884c"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/490318618?utm_id=0"},"\u77e5\u4e4e-\u7b80\u5355\u7406\u89e3\uff1aCPU \u7269\u7406\u6570\uff0c\u6838\u5fc3\u6570\uff0c\u7ebf\u7a0b\u6570\uff0c\u8fdb\u7a0b\uff0c\u7ebf\u7a0b\uff0c\u534f\u7a0b\uff0c\u5e76\u53d1\uff0c\u5e76\u884c\u7684\u6982\u5ff5"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2e955f05.a69cb418.js b/assets/js/2e955f05.fa208cd3.js similarity index 98% rename from assets/js/2e955f05.a69cb418.js rename to assets/js/2e955f05.fa208cd3.js index 5b4aa10c7..3488a411a 100644 --- a/assets/js/2e955f05.a69cb418.js +++ b/assets/js/2e955f05.fa208cd3.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6550],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>y});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=r.createContext({}),l=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=l(e.components);return r.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=l(n),f=o,y=s["".concat(p,".").concat(f)]||s[f]||d[f]||a;return n?r.createElement(y,i(i({ref:t},u),{},{components:n})):r.createElement(y,i({ref:t},u))}));function y(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=f;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var r=n(58168),o=(n(96540),n(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"xuanxing/devops/index",id:"xuanxing/devops/index",title:"\u6982\u8ff0",description:"\u4e00\u822c\u9700\u8981\u5305\u62ec\u5982\u4e0b\u5185\u5bb9\uff1a",source:"@site/docs/xuanxing/devops/index.md",sourceDirName:"xuanxing/devops",slug:"/xuanxing/devops/",permalink:"/docs/xuanxing/devops/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/back/"},next:{title:"\u7efc\u8ff0",permalink:"/docs/xuanxing/thingsboard/"}},p={},l=[],u={toc:l},s="wrapper";function d(e){let{components:t,...n}=e;return(0,o.yg)(s,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u4e00\u822c\u9700\u8981\u5305\u62ec\u5982\u4e0b\u5185\u5bb9\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"Jenkins \u6301\u7eed\u96c6\u6210\u3001\u90e8\u7f72"),(0,o.yg)("li",{parentName:"ul"},"Grafana+\u54e8\u5175 \u76d1\u63a7\u670d\u52a1"),(0,o.yg)("li",{parentName:"ul"},"\u5404\u79cd\u8fd0\u7ef4\u811a\u672c")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6550],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>y});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=r.createContext({}),l=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=l(e.components);return r.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=l(n),f=o,y=s["".concat(p,".").concat(f)]||s[f]||d[f]||a;return n?r.createElement(y,i(i({ref:t},u),{},{components:n})):r.createElement(y,i({ref:t},u))}));function y(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=f;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var r=n(58168),o=(n(96540),n(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"xuanxing/devops/index",id:"xuanxing/devops/index",title:"\u6982\u8ff0",description:"\u4e00\u822c\u9700\u8981\u5305\u62ec\u5982\u4e0b\u5185\u5bb9\uff1a",source:"@site/docs/xuanxing/devops/index.md",sourceDirName:"xuanxing/devops",slug:"/xuanxing/devops/",permalink:"/docs/xuanxing/devops/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/back/"},next:{title:"\u7efc\u8ff0",permalink:"/docs/xuanxing/thingsboard/"}},p={},l=[],u={toc:l},s="wrapper";function d(e){let{components:t,...n}=e;return(0,o.yg)(s,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u4e00\u822c\u9700\u8981\u5305\u62ec\u5982\u4e0b\u5185\u5bb9\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"Jenkins \u6301\u7eed\u96c6\u6210\u3001\u90e8\u7f72"),(0,o.yg)("li",{parentName:"ul"},"Grafana+\u54e8\u5175 \u76d1\u63a7\u670d\u52a1"),(0,o.yg)("li",{parentName:"ul"},"\u5404\u79cd\u8fd0\u7ef4\u811a\u672c")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2f2a38c9.1bf88f28.js b/assets/js/2f2a38c9.6da28109.js similarity index 98% rename from assets/js/2f2a38c9.1bf88f28.js rename to assets/js/2f2a38c9.6da28109.js index 025b530bd..2ff840955 100644 --- a/assets/js/2f2a38c9.1bf88f28.js +++ b/assets/js/2f2a38c9.6da28109.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8753],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(r),d=o,f=u["".concat(l,".").concat(d)]||u[d]||y[d]||a;return r?n.createElement(f,i(i({ref:t},s),{},{components:r})):n.createElement(f,i({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i="ECC \u548c RSA",c={unversionedId:"study/encryption/ECC-RSA",id:"study/encryption/ECC-RSA",title:"ECC \u548c RSA",description:"ECC \u4e3a 1977 \u5e74\u9996\u6b21\u53d1\u5e03\u7684 Rivest-Shamir-Adleman (RSA) \u52a0\u5bc6\u7b97\u6cd5\u63d0\u4f9b\u4e86\u4e00\u79cd\u66ff\u4ee3\u6027\u65b9\u6848\u3002",source:"@site/docs/study/encryption/ECC-RSA.md",sourceDirName:"study/encryption",slug:"/study/encryption/ECC-RSA",permalink:"/docs/study/encryption/ECC-RSA",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ASN.1",permalink:"/docs/study/encryption/ASN.1"},next:{title:"HSM",permalink:"/docs/study/encryption/HSM"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"ecc-\u548c-rsa"},"ECC \u548c RSA"),(0,o.yg)("p",null,"ECC \u4e3a 1977 \u5e74\u9996\u6b21\u53d1\u5e03\u7684 Rivest-Shamir-Adleman (RSA) \u52a0\u5bc6\u7b97\u6cd5\u63d0\u4f9b\u4e86\u4e00\u79cd\u66ff\u4ee3\u6027\u65b9\u6848\u3002"),(0,o.yg)("p",null,"ECC \u548c RSA \u90fd\u662f\u5229\u7528\u9ad8\u7b49\u6570\u5b66\u51fd\u6570\u5b9e\u73b0\u7684\u516c\u94a5\u52a0\u5bc6\u7b97\u6cd5\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_45264425/article/details/137337498"},"https://blog.csdn.net/weixin_45264425/article/details/137337498"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8753],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(r),d=o,f=u["".concat(l,".").concat(d)]||u[d]||y[d]||a;return r?n.createElement(f,i(i({ref:t},s),{},{components:r})):n.createElement(f,i({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i="ECC \u548c RSA",c={unversionedId:"study/encryption/ECC-RSA",id:"study/encryption/ECC-RSA",title:"ECC \u548c RSA",description:"ECC \u4e3a 1977 \u5e74\u9996\u6b21\u53d1\u5e03\u7684 Rivest-Shamir-Adleman (RSA) \u52a0\u5bc6\u7b97\u6cd5\u63d0\u4f9b\u4e86\u4e00\u79cd\u66ff\u4ee3\u6027\u65b9\u6848\u3002",source:"@site/docs/study/encryption/ECC-RSA.md",sourceDirName:"study/encryption",slug:"/study/encryption/ECC-RSA",permalink:"/docs/study/encryption/ECC-RSA",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ASN.1",permalink:"/docs/study/encryption/ASN.1"},next:{title:"HSM",permalink:"/docs/study/encryption/HSM"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"ecc-\u548c-rsa"},"ECC \u548c RSA"),(0,o.yg)("p",null,"ECC \u4e3a 1977 \u5e74\u9996\u6b21\u53d1\u5e03\u7684 Rivest-Shamir-Adleman (RSA) \u52a0\u5bc6\u7b97\u6cd5\u63d0\u4f9b\u4e86\u4e00\u79cd\u66ff\u4ee3\u6027\u65b9\u6848\u3002"),(0,o.yg)("p",null,"ECC \u548c RSA \u90fd\u662f\u5229\u7528\u9ad8\u7b49\u6570\u5b66\u51fd\u6570\u5b9e\u73b0\u7684\u516c\u94a5\u52a0\u5bc6\u7b97\u6cd5\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_45264425/article/details/137337498"},"https://blog.csdn.net/weixin_45264425/article/details/137337498"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2f91c6b8.54dba879.js b/assets/js/2f91c6b8.c62edfb3.js similarity index 98% rename from assets/js/2f91c6b8.54dba879.js rename to assets/js/2f91c6b8.c62edfb3.js index 085d3b8c4..db1bb9f93 100644 --- a/assets/js/2f91c6b8.54dba879.js +++ b/assets/js/2f91c6b8.c62edfb3.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2472],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241016",id:"study/stock/20241016",title:"20241016",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241016.md",sourceDirName:"study/stock",slug:"/study/stock/20241016",permalink:"/docs/study/stock/20241016",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u8dcc\u4e86 2.57%"),(0,o.yg)("p",null,"\u4eca\u5929\u60f3\u4e86\u60f3\uff0c\u81ea\u5df1\u7684\u8fdb\u573a\u65f6\u673a\u6709\u95ee\u9898\uff0c\u5e94\u8be5\u662f\u65e5 K \u7684\u4e0a\u7a7f\u7b2c\u4e00\u6b21\u7684\u56de\u8c03"),(0,o.yg)("p",null,"\u8bb0\u4f4f\uff1a\u56de\u8c03\u5fc5\u987b\u5728\u5747\u7ebf\u5e26\u5185"),(0,o.yg)("p",null,"\u5269\u4e0b\u7684\u7528 30F \u505a T\uff0c\u4e0a\u7a7f\u4e70\u5165\uff0c\u4e0b\u7a7f\u5356\u51fa"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2472],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241016",id:"study/stock/20241016",title:"20241016",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241016.md",sourceDirName:"study/stock",slug:"/study/stock/20241016",permalink:"/docs/study/stock/20241016",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u8dcc\u4e86 2.57%"),(0,o.yg)("p",null,"\u4eca\u5929\u60f3\u4e86\u60f3\uff0c\u81ea\u5df1\u7684\u8fdb\u573a\u65f6\u673a\u6709\u95ee\u9898\uff0c\u5e94\u8be5\u662f\u65e5 K \u7684\u4e0a\u7a7f\u7b2c\u4e00\u6b21\u7684\u56de\u8c03"),(0,o.yg)("p",null,"\u8bb0\u4f4f\uff1a\u56de\u8c03\u5fc5\u987b\u5728\u5747\u7ebf\u5e26\u5185"),(0,o.yg)("p",null,"\u5269\u4e0b\u7684\u7528 30F \u505a T\uff0c\u4e0a\u7a7f\u4e70\u5165\uff0c\u4e0b\u7a7f\u5356\u51fa"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2fa90042.0e5469bf.js b/assets/js/2fa90042.30df74c9.js similarity index 98% rename from assets/js/2fa90042.0e5469bf.js rename to assets/js/2fa90042.30df74c9.js index 5de94f470..f058a099a 100644 --- a/assets/js/2fa90042.0e5469bf.js +++ b/assets/js/2fa90042.30df74c9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5175],{15680:(e,n,t)=>{t.d(n,{xA:()=>u,yg:()=>k});var r=t(96540);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var i=r.createContext({}),d=function(e){var n=r.useContext(i),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},u=function(e){var n=d(e.components);return r.createElement(i.Provider,{value:n},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),p=d(t),y=o,k=p["".concat(i,".").concat(y)]||p[y]||s[y]||a;return t?r.createElement(k,l(l({ref:n},u),{},{components:t})):r.createElement(k,l({ref:n},u))}));function k(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var a=t.length,l=new Array(a);l[0]=y;var c={};for(var i in n)hasOwnProperty.call(n,i)&&(c[i]=n[i]);c.originalType=e,c[p]="string"==typeof e?e:o,l[1]=c;for(var d=2;d{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var r=t(58168),o=(t(96540),t(15680));const a={},l=void 0,c={unversionedId:"study/docker/docker-linux",id:"study/docker/docker-linux",title:"docker-linux",description:"alpine",source:"@site/docs/study/docker/docker-linux.md",sourceDirName:"study/docker",slug:"/study/docker/docker-linux",permalink:"/docs/study/docker/docker-linux",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"docker-kafka",permalink:"/docs/study/docker/docker-kafka"},next:{title:"docker-mysql",permalink:"/docs/study/docker/docker-mysql"}},i={},d=[{value:"alpine",id:"alpine",level:3}],u={toc:d},p="wrapper";function s(e){let{components:n,...t}=e;return(0,o.yg)(p,(0,r.A)({},u,t,{components:n,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"alpine"},"alpine"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"docker pull alpine:3.18.3\n\ndocker run -d \\\n-p 1883:1883 \\\n-p 8080:8080 \\\n-p 8081:8081 \\\n-p 8000:8000 \\\n-p 15000:15000 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n--name alpine-study \\\nalpine:3.18.3\n")),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'FROM alpine:3.18.3\nMAINTAINER jiot.cloud "cniiot@163.com"\nWORKDIR /root/iot-cloud-backend\nADD jdk-17_linux-x64_bin.tar.gz /root/iot-cloud-backend/\nENV JAVA_HOME=/root/iot-cloud-backend/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\n')),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"docker build -t jdk17:jiot.cloud .\n\ndocker run -it jdk17:jiot.cloud /bin/sh\n\ndocker pull debian:stable-slim\n\ndocker run -d \\\n-p 1883:1883 \\\n-p 8080:8080 \\\n-p 8081:8081 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n--name debian-study \\\ndebian:stable-slim\n")),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'FROM debian:stable-slim\nMAINTAINER jiot.cloud "cniiot@163.com"\nWORKDIR /root/iot-cloud-backend\nADD jdk-17_linux-x64_bin.tar.gz /root/iot-cloud-backend/\nENV JAVA_HOME=/root/iot-cloud-backend/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\n')),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"docker build -t jdk17:jiot.cloud .\n\ndocker run -it jdk17:jiot.cloud /bin/sh\n\ndocker pull centos:centos7.9.2009\n\ndocker run -d \\\n-p 1883:1883 \\\n-p 8080:8080 \\\n-p 8081:8081 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n--name debian-study \\\ncentos:centos7.9.2009\n")),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'FROM centos:centos7.9.2009\nMAINTAINER jiot.cloud "cniiot@163.com"\nWORKDIR /root/iot-cloud-backend\nADD jdk-17_linux-x64_bin.tar.gz /root/iot-cloud-backend/\nENV JAVA_HOME=/root/iot-cloud-backend/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\n')),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"docker build -t jdk17:jiot.cloud .\n\ndocker run -it jdk17:jiot.cloud /bin/sh\n")))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5175],{15680:(e,n,t)=>{t.d(n,{xA:()=>u,yg:()=>k});var r=t(96540);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var i=r.createContext({}),d=function(e){var n=r.useContext(i),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},u=function(e){var n=d(e.components);return r.createElement(i.Provider,{value:n},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),p=d(t),y=o,k=p["".concat(i,".").concat(y)]||p[y]||s[y]||a;return t?r.createElement(k,l(l({ref:n},u),{},{components:t})):r.createElement(k,l({ref:n},u))}));function k(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var a=t.length,l=new Array(a);l[0]=y;var c={};for(var i in n)hasOwnProperty.call(n,i)&&(c[i]=n[i]);c.originalType=e,c[p]="string"==typeof e?e:o,l[1]=c;for(var d=2;d{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var r=t(58168),o=(t(96540),t(15680));const a={},l=void 0,c={unversionedId:"study/docker/docker-linux",id:"study/docker/docker-linux",title:"docker-linux",description:"alpine",source:"@site/docs/study/docker/docker-linux.md",sourceDirName:"study/docker",slug:"/study/docker/docker-linux",permalink:"/docs/study/docker/docker-linux",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"docker-kafka",permalink:"/docs/study/docker/docker-kafka"},next:{title:"docker-mysql",permalink:"/docs/study/docker/docker-mysql"}},i={},d=[{value:"alpine",id:"alpine",level:3}],u={toc:d},p="wrapper";function s(e){let{components:n,...t}=e;return(0,o.yg)(p,(0,r.A)({},u,t,{components:n,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"alpine"},"alpine"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"docker pull alpine:3.18.3\n\ndocker run -d \\\n-p 1883:1883 \\\n-p 8080:8080 \\\n-p 8081:8081 \\\n-p 8000:8000 \\\n-p 15000:15000 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n--name alpine-study \\\nalpine:3.18.3\n")),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'FROM alpine:3.18.3\nMAINTAINER jiot.cloud "cniiot@163.com"\nWORKDIR /root/iot-cloud-backend\nADD jdk-17_linux-x64_bin.tar.gz /root/iot-cloud-backend/\nENV JAVA_HOME=/root/iot-cloud-backend/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\n')),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"docker build -t jdk17:jiot.cloud .\n\ndocker run -it jdk17:jiot.cloud /bin/sh\n\ndocker pull debian:stable-slim\n\ndocker run -d \\\n-p 1883:1883 \\\n-p 8080:8080 \\\n-p 8081:8081 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n--name debian-study \\\ndebian:stable-slim\n")),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'FROM debian:stable-slim\nMAINTAINER jiot.cloud "cniiot@163.com"\nWORKDIR /root/iot-cloud-backend\nADD jdk-17_linux-x64_bin.tar.gz /root/iot-cloud-backend/\nENV JAVA_HOME=/root/iot-cloud-backend/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\n')),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"docker build -t jdk17:jiot.cloud .\n\ndocker run -it jdk17:jiot.cloud /bin/sh\n\ndocker pull centos:centos7.9.2009\n\ndocker run -d \\\n-p 1883:1883 \\\n-p 8080:8080 \\\n-p 8081:8081 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n--name debian-study \\\ncentos:centos7.9.2009\n")),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'FROM centos:centos7.9.2009\nMAINTAINER jiot.cloud "cniiot@163.com"\nWORKDIR /root/iot-cloud-backend\nADD jdk-17_linux-x64_bin.tar.gz /root/iot-cloud-backend/\nENV JAVA_HOME=/root/iot-cloud-backend/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\n')),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"docker build -t jdk17:jiot.cloud .\n\ndocker run -it jdk17:jiot.cloud /bin/sh\n")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/300ef1aa.ab5eecc0.js b/assets/js/300ef1aa.6883b945.js similarity index 98% rename from assets/js/300ef1aa.ab5eecc0.js rename to assets/js/300ef1aa.6883b945.js index c02ac3cd4..c1676c91b 100644 --- a/assets/js/300ef1aa.ab5eecc0.js +++ b/assets/js/300ef1aa.6883b945.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5466],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241023",id:"study/stock/20241023",title:"20241023",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241023.md",sourceDirName:"study/stock",slug:"/study/stock/20241023",permalink:"/docs/study/stock/20241023",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u6da8\u4e86 0.52%"),(0,o.yg)("p",null,"5F \u770b\u662f\u4e00\u4e2a\u51b2\u9ad8\u56de\u843d\uff0c\u4ece 5F \u770b\u662f\u53ef\u4ee5\u505a\u4e00\u4e2a\u5012 T \u7684\uff0c\u6ca1\u505a"),(0,o.yg)("p",null,"30F \u53bb\u770b\u8fd8\u662f\u4e00\u4e2a\u7a84\u5e45\u9707\u8361"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5466],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241023",id:"study/stock/20241023",title:"20241023",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241023.md",sourceDirName:"study/stock",slug:"/study/stock/20241023",permalink:"/docs/study/stock/20241023",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u6da8\u4e86 0.52%"),(0,o.yg)("p",null,"5F \u770b\u662f\u4e00\u4e2a\u51b2\u9ad8\u56de\u843d\uff0c\u4ece 5F \u770b\u662f\u53ef\u4ee5\u505a\u4e00\u4e2a\u5012 T \u7684\uff0c\u6ca1\u505a"),(0,o.yg)("p",null,"30F \u53bb\u770b\u8fd8\u662f\u4e00\u4e2a\u7a84\u5e45\u9707\u8361"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/319ed101.e6ea0a30.js b/assets/js/319ed101.1f69c1d2.js similarity index 98% rename from assets/js/319ed101.e6ea0a30.js rename to assets/js/319ed101.1f69c1d2.js index 972eba6e2..4cdaa3a5d 100644 --- a/assets/js/319ed101.e6ea0a30.js +++ b/assets/js/319ed101.1f69c1d2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4377],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),f=o,y=s["".concat(l,".").concat(f)]||s[f]||d[f]||i;return r?n.createElement(y,a(a({ref:t},p),{},{components:r})):n.createElement(y,a({ref:t},p))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,a[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:1},a="\u6982\u8ff0",c={unversionedId:"iotcloud/usercenter/index",id:"iotcloud/usercenter/index",title:"\u6982\u8ff0",description:"\u7528\u6237\u4e2d\u5fc3\u5305\u62ec\uff1a\u5f53\u524d\u767b\u5f55\u7528\u6237\u7684\u7528\u6237\u65e5\u5fd7\uff0c\u6ce8\u518c\u7528\u6237\u53ca\u5176\u76f8\u5173\u529f\u80fd\u7684\u4fe1\u606f\u8bbe\u7f6e\uff0cRAM \u7528\u6237\u7684\u7ba1\u7406\uff0c\u5ba2\u6237\u7684\u7ba1\u7406\u3002",source:"@site/docs/iotcloud/usercenter/index.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/",permalink:"/docs/iotcloud/usercenter/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"iotCloudSidebar",previous:{title:"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-group"},next:{title:"\u7528\u6237\u65e5\u5fd7",permalink:"/docs/iotcloud/usercenter/user-log"}},l={},u=[],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u7528\u6237\u4e2d\u5fc3\u5305\u62ec\uff1a\u5f53\u524d\u767b\u5f55\u7528\u6237\u7684\u7528\u6237\u65e5\u5fd7\uff0c\u6ce8\u518c\u7528\u6237\u53ca\u5176\u76f8\u5173\u529f\u80fd\u7684\u4fe1\u606f\u8bbe\u7f6e\uff0cRAM \u7528\u6237\u7684\u7ba1\u7406\uff0c\u5ba2\u6237\u7684\u7ba1\u7406\u3002"),(0,o.yg)("p",null,"\u5e73\u53f0\u7528\u6237\u76f8\u5173\u7684\u540d\u8bcd\u89e3\u91ca\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u6ce8\u518c\u7528\u6237\uff1a\u6ce8\u518c\u5230",(0,o.yg)("strong",{parentName:"li"},"Iot Cloud"),"\u5e73\u53f0\u7684\u7528\u6237\uff0c\u8fd9\u4e9b\u7528\u6237\u4e4b\u95f4\u90fd\u662f\u72ec\u7acb\u7684\uff0c\u4e00\u822c\u90fd\u662f\u5236\u9020\u8bbe\u5907\u7684\u4f01\u4e1a\u3001\u4f7f\u7528\u8bbe\u5907\u7684\u4f01\u4e1a\u4ee5\u53ca\u8bbe\u5907\u4ee3\u7406/\u670d\u52a1\u4f01\u4e1a\uff1b"),(0,o.yg)("li",{parentName:"ul"},"RAM \u7528\u6237\uff1a\u7531\u6ce8\u518c\u7528\u6237\u624b\u52a8\u6dfb\u52a0\uff0c\u4e00\u822c\u662f\u4f01\u4e1a\u5185\u90e8\u5458\u5de5\uff0c\u914d\u5408\u6ce8\u518c\u7528\u6237\u4e00\u5757\u7ba1\u7406\u7ef4\u62a4\u5e73\u53f0\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u5ba2\u6237\uff1a\u53ef\u7531\u6ce8\u518c\u7528\u6237\u6216\u6709\u6743\u9650\u7684\u7cfb\u7edf\u7528\u6237\u6dfb\u52a0\uff0c\u4e00\u822c\u662f\u5b9e\u9645\u4f7f\u7528\u8bbe\u5907\u7684\u4e2a\u4eba\u6216\u4f01\u4e1a\uff1b\u5982\u679c\u6ce8\u518c\u7528\u6237\u662f",(0,o.yg)("strong",{parentName:"li"},"\u4f7f\u7528\u8bbe\u5907\u7684\u4f01\u4e1a"),"\uff0c\u53ef\u80fd\u8fd9\u79cd\u60c5\u51b5\u65e0\u9700\u4f7f\u7528\u5ba2\u6237\u529f\u80fd\uff1b")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4377],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),f=o,y=s["".concat(l,".").concat(f)]||s[f]||d[f]||i;return r?n.createElement(y,a(a({ref:t},p),{},{components:r})):n.createElement(y,a({ref:t},p))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,a[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:1},a="\u6982\u8ff0",c={unversionedId:"iotcloud/usercenter/index",id:"iotcloud/usercenter/index",title:"\u6982\u8ff0",description:"\u7528\u6237\u4e2d\u5fc3\u5305\u62ec\uff1a\u5f53\u524d\u767b\u5f55\u7528\u6237\u7684\u7528\u6237\u65e5\u5fd7\uff0c\u6ce8\u518c\u7528\u6237\u53ca\u5176\u76f8\u5173\u529f\u80fd\u7684\u4fe1\u606f\u8bbe\u7f6e\uff0cRAM \u7528\u6237\u7684\u7ba1\u7406\uff0c\u5ba2\u6237\u7684\u7ba1\u7406\u3002",source:"@site/docs/iotcloud/usercenter/index.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/",permalink:"/docs/iotcloud/usercenter/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"iotCloudSidebar",previous:{title:"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-group"},next:{title:"\u7528\u6237\u65e5\u5fd7",permalink:"/docs/iotcloud/usercenter/user-log"}},l={},u=[],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u7528\u6237\u4e2d\u5fc3\u5305\u62ec\uff1a\u5f53\u524d\u767b\u5f55\u7528\u6237\u7684\u7528\u6237\u65e5\u5fd7\uff0c\u6ce8\u518c\u7528\u6237\u53ca\u5176\u76f8\u5173\u529f\u80fd\u7684\u4fe1\u606f\u8bbe\u7f6e\uff0cRAM \u7528\u6237\u7684\u7ba1\u7406\uff0c\u5ba2\u6237\u7684\u7ba1\u7406\u3002"),(0,o.yg)("p",null,"\u5e73\u53f0\u7528\u6237\u76f8\u5173\u7684\u540d\u8bcd\u89e3\u91ca\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u6ce8\u518c\u7528\u6237\uff1a\u6ce8\u518c\u5230",(0,o.yg)("strong",{parentName:"li"},"Iot Cloud"),"\u5e73\u53f0\u7684\u7528\u6237\uff0c\u8fd9\u4e9b\u7528\u6237\u4e4b\u95f4\u90fd\u662f\u72ec\u7acb\u7684\uff0c\u4e00\u822c\u90fd\u662f\u5236\u9020\u8bbe\u5907\u7684\u4f01\u4e1a\u3001\u4f7f\u7528\u8bbe\u5907\u7684\u4f01\u4e1a\u4ee5\u53ca\u8bbe\u5907\u4ee3\u7406/\u670d\u52a1\u4f01\u4e1a\uff1b"),(0,o.yg)("li",{parentName:"ul"},"RAM \u7528\u6237\uff1a\u7531\u6ce8\u518c\u7528\u6237\u624b\u52a8\u6dfb\u52a0\uff0c\u4e00\u822c\u662f\u4f01\u4e1a\u5185\u90e8\u5458\u5de5\uff0c\u914d\u5408\u6ce8\u518c\u7528\u6237\u4e00\u5757\u7ba1\u7406\u7ef4\u62a4\u5e73\u53f0\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u5ba2\u6237\uff1a\u53ef\u7531\u6ce8\u518c\u7528\u6237\u6216\u6709\u6743\u9650\u7684\u7cfb\u7edf\u7528\u6237\u6dfb\u52a0\uff0c\u4e00\u822c\u662f\u5b9e\u9645\u4f7f\u7528\u8bbe\u5907\u7684\u4e2a\u4eba\u6216\u4f01\u4e1a\uff1b\u5982\u679c\u6ce8\u518c\u7528\u6237\u662f",(0,o.yg)("strong",{parentName:"li"},"\u4f7f\u7528\u8bbe\u5907\u7684\u4f01\u4e1a"),"\uff0c\u53ef\u80fd\u8fd9\u79cd\u60c5\u51b5\u65e0\u9700\u4f7f\u7528\u5ba2\u6237\u529f\u80fd\uff1b")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/32dcf95e.f5ae3610.js b/assets/js/32dcf95e.5654bb52.js similarity index 99% rename from assets/js/32dcf95e.f5ae3610.js rename to assets/js/32dcf95e.5654bb52.js index db6ed4e5d..01be3e668 100644 --- a/assets/js/32dcf95e.f5ae3610.js +++ b/assets/js/32dcf95e.5654bb52.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5650],{15680:(t,e,r)=>{r.d(e,{xA:()=>l,yg:()=>f});var o=r(96540);function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function s(t){for(var e=1;e=0||(n[r]=t[r]);return n}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var i=o.createContext({}),p=function(t){var e=o.useContext(i),r=e;return t&&(r="function"==typeof t?t(e):s(s({},e),t)),r},l=function(t){var e=p(t.components);return o.createElement(i.Provider,{value:e},t.children)},u="mdxType",d={inlineCode:"code",wrapper:function(t){var e=t.children;return o.createElement(o.Fragment,{},e)}},y=o.forwardRef((function(t,e){var r=t.components,n=t.mdxType,a=t.originalType,i=t.parentName,l=c(t,["components","mdxType","originalType","parentName"]),u=p(r),y=n,f=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return r?o.createElement(f,s(s({ref:e},l),{},{components:r})):o.createElement(f,s({ref:e},l))}));function f(t,e){var r=arguments,n=e&&e.mdxType;if("string"==typeof t||n){var a=r.length,s=new Array(a);s[0]=y;var c={};for(var i in e)hasOwnProperty.call(e,i)&&(c[i]=e[i]);c.originalType=t,c[u]="string"==typeof t?t:n,s[1]=c;for(var p=2;p{r.r(e),r.d(e,{assets:()=>i,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var o=r(58168),n=(r(96540),r(15680));const a={},s=void 0,c={unversionedId:"study/db/OLAP/StarRocks",id:"study/db/OLAP/StarRocks",title:"StarRocks",description:"\u80cc\u666f\u4fe1\u606f",source:"@site/docs/study/db/OLAP/StarRocks.md",sourceDirName:"study/db/OLAP",slug:"/study/db/OLAP/StarRocks",permalink:"/docs/study/db/OLAP/StarRocks",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Kylin",permalink:"/docs/study/db/OLAP/Kylin"},next:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0"}},i={},p=[{value:"\u80cc\u666f\u4fe1\u606f",id:"\u80cc\u666f\u4fe1\u606f",level:4},{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:4}],l={toc:p},u="wrapper";function d(t){let{components:e,...r}=t;return(0,n.yg)(u,(0,o.A)({},l,r,{components:e,mdxType:"MDXLayout"}),(0,n.yg)("h4",{id:"\u80cc\u666f\u4fe1\u606f"},"\u80cc\u666f\u4fe1\u606f"),(0,n.yg)("p",null,"Doris \u6700\u65e9\u662f\u89e3\u51b3\u767e\u5ea6\u51e4\u5de2\u7edf\u8ba1\u62a5\u8868\u7684\u4e13\u7528\u7cfb\u7edf\uff0c\u968f\u7740\u767e\u5ea6\u4e1a\u52a1\u7684\u98de\u901f\u53d1\u5c55\u5bf9\u7cfb\u7edf\u8fdb\u884c\u4e86\u591a\u6b21\u8fed\u4ee3\uff0c\u9010\u6e10\u627f\u62c5\u8d77\u767e\u5ea6\u5185\u90e8\u4e1a\u52a1\u7684\u7edf\u8ba1\u62a5\u8868\u548c\u591a\u7ef4\u5206\u6790\u9700\u6c42\u30022013 \u5e74\uff0c\u6211\u4eec\u628a Doris \u8fdb\u884c\u4e86 MPP \u6846\u67b6\u7684\u5347\u7ea7\uff0c\u5e76\u5c06\u65b0\u7cfb\u7edf\u547d\u540d\u4e3a Palo \uff0c2017 \u5e74\u6211\u4eec\u4ee5\u767e\u5ea6 Palo \u7684\u540d\u5b57\u5728 GitHub \u4e0a\u8fdb\u884c\u4e86\u5f00\u6e90\uff0c2018 \u5e74\u8d21\u732e\u7ed9 Apache \u57fa\u91d1\u4f1a\u65f6\uff0c\u7531\u4e8e\u4e0e\u56fd\u5916\u6570\u636e\u5e93\u5382\u5546\u91cd\u540d\uff0c\u56e0\u6b64\u9009\u62e9\u7528\u56de\u6700\u521d\u7684\u540d\u5b57\uff0c\u8fd9\u5c31\u662f Apache Doris \u7684\u7531\u6765\u3002"),(0,n.yg)("p",null,"2020 \u5e74 2 \u6708\uff0c\u767e\u5ea6 Doris \u56e2\u961f\u7684\u4e2a\u522b\u540c\u5b66\u79bb\u804c\u521b\u4e1a\uff0c\u57fa\u4e8e Apache Doris\u505a\u4e86\u81ea\u5df1\u7684\u5546\u4e1a\u5316\u95ed\u6e90\u4ea7\u54c1 DorisDB \uff0c\u8fd9\u5c31\u662f StarRocks \u7684\u524d\u8eab\u3002"),(0,n.yg)("p",null,"\u3010\u603b\u7ed3\u3011Doris\u5c5e\u4e8e\u767e\u5ea6\u7684\uff0cApache Doris\u662f\u6709\u767e\u5ea6\u8d21\u732e\u7ed9Apache \u7684\uff0cDorisDB\u662f\u767e\u5ea6\u524d\u5458\u5de5\u57fa\u4e8eApache Doris\u505a\u7684\u5546\u4e1a\u7248\u672c\u5c5e\u4e8e\u53e6\u5916\u7684\u516c\u53f8\uff0c\u540e\u9762\u56e0\u4e3a\u7248\u6743\u7684\u95ee\u9898\uff0c\u5c06DorisDB\u6539\u540d\u4e3aStarRocks\uff0c\u6240\u4ee5StarRocks\u548cDorisDB\u662f\u5c5e\u4e8e\u4e00\u4e2a\u4ea7\u54c1\uff0c\u4e00\u4e2a\u516c\u53f8\u7684\u3002\u4e0d\u77e5\u9053\u5c0f\u4f19\u4f34\uff0c\u8fd8\u8bb0\u4e0d\u8bb0\u5f97\u53e6\u5916\u4e00\u4e2a\u4ea7\u54c1\u7684\u7ecf\u5386\u8ddfDoris\u7684\u7ecf\u5386\u975e\u5e38\u7684\u76f8\u4f3c\uff0c\u90a3\u5c31\u662fpresto\u3002\u8fd9\u91cc\u4e3b\u8981\u8bb2StarRocks\uff0c\u56e0\u4e3aStarRocks\u66f4\u65b0\u8fed\u4ee3\u5f88\u5feb\uff0c\u6d3b\u8dc3\u5ea6\u4e5f\u9ad8\u3002"),(0,n.yg)("p",null,"Apache Doris GitHub\u5730\u5740\uff1a",(0,n.yg)("a",{parentName:"p",href:"https://github.com/apache/doris"},"https://github.com/apache/doris")),(0,n.yg)("p",null,"Apache Doris \u5b98\u7f51\u6587\u6863\uff1a",(0,n.yg)("a",{parentName:"p",href:"https://doris.apache.org/docs/get-starting/get-starting.html"},"https://doris.apache.org/docs/get-starting/get-starting.html")),(0,n.yg)("p",null,"StarRocks GitHub\u5730\u5740\uff1a",(0,n.yg)("a",{parentName:"p",href:"https://github.com/StarRocks/starrocks"},"https://github.com/StarRocks/starrocks")),(0,n.yg)("p",null,"StarRocks\u5b98\u65b9\u6587\u6863\uff1a",(0,n.yg)("a",{parentName:"p",href:"https://docs.starrocks.com/zh-cn/main/introduction/StarRocks_intro"},"https://docs.starrocks.com/zh-cn/main/introduction/StarRocks_intro")),(0,n.yg)("h4",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,n.yg)("p",null,"StarRocks \u662f\u4e00\u6b3e\u9ad8\u6027\u80fd\u5206\u6790\u578b\u6570\u636e\u4ed3\u5e93\uff0c\u4f7f\u7528\u5411\u91cf\u5316\u3001MPP\uff08Massively Parallel Processing\uff1a\u5927\u89c4\u6a21\u5e76\u884c\u5904\u7406\uff09 \u67b6\u6784\u3001\u53ef\u5b9e\u65f6\u66f4\u65b0\u7684\u5217\u5f0f\u5b58\u50a8\u5f15\u64ce\u7b49\u6280\u672f\u5b9e\u73b0\u591a\u7ef4\u3001\u5b9e\u65f6\u3001\u9ad8\u5e76\u53d1\u7684\u6570\u636e\u5206\u6790\u3002StarRocks \u65e2\u652f\u6301\u4ece\u5404\u7c7b\u5b9e\u65f6\u548c\u79bb\u7ebf\u7684\u6570\u636e\u6e90\u9ad8\u6548\u5bfc\u5165\u6570\u636e\uff0c\u4e5f\u652f\u6301\u76f4\u63a5\u5206\u6790\u6570\u636e\u6e56\u4e0a\u5404\u79cd\u683c\u5f0f\u7684\u6570\u636e\u3002StarRocks \u517c\u5bb9 MySQL \u534f\u8bae\uff0c\u53ef\u4f7f\u7528 MySQL \u5ba2\u6237\u7aef\u548c\u5e38\u7528 BI \u5de5\u5177\u5bf9\u63a5\u3002\u540c\u65f6 StarRocks \u5177\u5907\u6c34\u5e73\u6269\u5c55\uff0c\u9ad8\u53ef\u7528\uff0c\u9ad8\u53ef\u9760\uff0c\u6613\u8fd0\u7ef4\u7b49\u7279\u6027\u3002\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5b9e\u65f6\u6570\u4ed3\u3001OLAP \u62a5\u8868\u3001\u6570\u636e\u6e56\u5206\u6790\u7b49\u573a\u666f\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5650],{15680:(t,e,r)=>{r.d(e,{xA:()=>l,yg:()=>f});var o=r(96540);function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function s(t){for(var e=1;e=0||(n[r]=t[r]);return n}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var i=o.createContext({}),p=function(t){var e=o.useContext(i),r=e;return t&&(r="function"==typeof t?t(e):s(s({},e),t)),r},l=function(t){var e=p(t.components);return o.createElement(i.Provider,{value:e},t.children)},u="mdxType",d={inlineCode:"code",wrapper:function(t){var e=t.children;return o.createElement(o.Fragment,{},e)}},y=o.forwardRef((function(t,e){var r=t.components,n=t.mdxType,a=t.originalType,i=t.parentName,l=c(t,["components","mdxType","originalType","parentName"]),u=p(r),y=n,f=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return r?o.createElement(f,s(s({ref:e},l),{},{components:r})):o.createElement(f,s({ref:e},l))}));function f(t,e){var r=arguments,n=e&&e.mdxType;if("string"==typeof t||n){var a=r.length,s=new Array(a);s[0]=y;var c={};for(var i in e)hasOwnProperty.call(e,i)&&(c[i]=e[i]);c.originalType=t,c[u]="string"==typeof t?t:n,s[1]=c;for(var p=2;p{r.r(e),r.d(e,{assets:()=>i,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var o=r(58168),n=(r(96540),r(15680));const a={},s=void 0,c={unversionedId:"study/db/OLAP/StarRocks",id:"study/db/OLAP/StarRocks",title:"StarRocks",description:"\u80cc\u666f\u4fe1\u606f",source:"@site/docs/study/db/OLAP/StarRocks.md",sourceDirName:"study/db/OLAP",slug:"/study/db/OLAP/StarRocks",permalink:"/docs/study/db/OLAP/StarRocks",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Kylin",permalink:"/docs/study/db/OLAP/Kylin"},next:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0"}},i={},p=[{value:"\u80cc\u666f\u4fe1\u606f",id:"\u80cc\u666f\u4fe1\u606f",level:4},{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:4}],l={toc:p},u="wrapper";function d(t){let{components:e,...r}=t;return(0,n.yg)(u,(0,o.A)({},l,r,{components:e,mdxType:"MDXLayout"}),(0,n.yg)("h4",{id:"\u80cc\u666f\u4fe1\u606f"},"\u80cc\u666f\u4fe1\u606f"),(0,n.yg)("p",null,"Doris \u6700\u65e9\u662f\u89e3\u51b3\u767e\u5ea6\u51e4\u5de2\u7edf\u8ba1\u62a5\u8868\u7684\u4e13\u7528\u7cfb\u7edf\uff0c\u968f\u7740\u767e\u5ea6\u4e1a\u52a1\u7684\u98de\u901f\u53d1\u5c55\u5bf9\u7cfb\u7edf\u8fdb\u884c\u4e86\u591a\u6b21\u8fed\u4ee3\uff0c\u9010\u6e10\u627f\u62c5\u8d77\u767e\u5ea6\u5185\u90e8\u4e1a\u52a1\u7684\u7edf\u8ba1\u62a5\u8868\u548c\u591a\u7ef4\u5206\u6790\u9700\u6c42\u30022013 \u5e74\uff0c\u6211\u4eec\u628a Doris \u8fdb\u884c\u4e86 MPP \u6846\u67b6\u7684\u5347\u7ea7\uff0c\u5e76\u5c06\u65b0\u7cfb\u7edf\u547d\u540d\u4e3a Palo \uff0c2017 \u5e74\u6211\u4eec\u4ee5\u767e\u5ea6 Palo \u7684\u540d\u5b57\u5728 GitHub \u4e0a\u8fdb\u884c\u4e86\u5f00\u6e90\uff0c2018 \u5e74\u8d21\u732e\u7ed9 Apache \u57fa\u91d1\u4f1a\u65f6\uff0c\u7531\u4e8e\u4e0e\u56fd\u5916\u6570\u636e\u5e93\u5382\u5546\u91cd\u540d\uff0c\u56e0\u6b64\u9009\u62e9\u7528\u56de\u6700\u521d\u7684\u540d\u5b57\uff0c\u8fd9\u5c31\u662f Apache Doris \u7684\u7531\u6765\u3002"),(0,n.yg)("p",null,"2020 \u5e74 2 \u6708\uff0c\u767e\u5ea6 Doris \u56e2\u961f\u7684\u4e2a\u522b\u540c\u5b66\u79bb\u804c\u521b\u4e1a\uff0c\u57fa\u4e8e Apache Doris\u505a\u4e86\u81ea\u5df1\u7684\u5546\u4e1a\u5316\u95ed\u6e90\u4ea7\u54c1 DorisDB \uff0c\u8fd9\u5c31\u662f StarRocks \u7684\u524d\u8eab\u3002"),(0,n.yg)("p",null,"\u3010\u603b\u7ed3\u3011Doris\u5c5e\u4e8e\u767e\u5ea6\u7684\uff0cApache Doris\u662f\u6709\u767e\u5ea6\u8d21\u732e\u7ed9Apache \u7684\uff0cDorisDB\u662f\u767e\u5ea6\u524d\u5458\u5de5\u57fa\u4e8eApache Doris\u505a\u7684\u5546\u4e1a\u7248\u672c\u5c5e\u4e8e\u53e6\u5916\u7684\u516c\u53f8\uff0c\u540e\u9762\u56e0\u4e3a\u7248\u6743\u7684\u95ee\u9898\uff0c\u5c06DorisDB\u6539\u540d\u4e3aStarRocks\uff0c\u6240\u4ee5StarRocks\u548cDorisDB\u662f\u5c5e\u4e8e\u4e00\u4e2a\u4ea7\u54c1\uff0c\u4e00\u4e2a\u516c\u53f8\u7684\u3002\u4e0d\u77e5\u9053\u5c0f\u4f19\u4f34\uff0c\u8fd8\u8bb0\u4e0d\u8bb0\u5f97\u53e6\u5916\u4e00\u4e2a\u4ea7\u54c1\u7684\u7ecf\u5386\u8ddfDoris\u7684\u7ecf\u5386\u975e\u5e38\u7684\u76f8\u4f3c\uff0c\u90a3\u5c31\u662fpresto\u3002\u8fd9\u91cc\u4e3b\u8981\u8bb2StarRocks\uff0c\u56e0\u4e3aStarRocks\u66f4\u65b0\u8fed\u4ee3\u5f88\u5feb\uff0c\u6d3b\u8dc3\u5ea6\u4e5f\u9ad8\u3002"),(0,n.yg)("p",null,"Apache Doris GitHub\u5730\u5740\uff1a",(0,n.yg)("a",{parentName:"p",href:"https://github.com/apache/doris"},"https://github.com/apache/doris")),(0,n.yg)("p",null,"Apache Doris \u5b98\u7f51\u6587\u6863\uff1a",(0,n.yg)("a",{parentName:"p",href:"https://doris.apache.org/docs/get-starting/get-starting.html"},"https://doris.apache.org/docs/get-starting/get-starting.html")),(0,n.yg)("p",null,"StarRocks GitHub\u5730\u5740\uff1a",(0,n.yg)("a",{parentName:"p",href:"https://github.com/StarRocks/starrocks"},"https://github.com/StarRocks/starrocks")),(0,n.yg)("p",null,"StarRocks\u5b98\u65b9\u6587\u6863\uff1a",(0,n.yg)("a",{parentName:"p",href:"https://docs.starrocks.com/zh-cn/main/introduction/StarRocks_intro"},"https://docs.starrocks.com/zh-cn/main/introduction/StarRocks_intro")),(0,n.yg)("h4",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,n.yg)("p",null,"StarRocks \u662f\u4e00\u6b3e\u9ad8\u6027\u80fd\u5206\u6790\u578b\u6570\u636e\u4ed3\u5e93\uff0c\u4f7f\u7528\u5411\u91cf\u5316\u3001MPP\uff08Massively Parallel Processing\uff1a\u5927\u89c4\u6a21\u5e76\u884c\u5904\u7406\uff09 \u67b6\u6784\u3001\u53ef\u5b9e\u65f6\u66f4\u65b0\u7684\u5217\u5f0f\u5b58\u50a8\u5f15\u64ce\u7b49\u6280\u672f\u5b9e\u73b0\u591a\u7ef4\u3001\u5b9e\u65f6\u3001\u9ad8\u5e76\u53d1\u7684\u6570\u636e\u5206\u6790\u3002StarRocks \u65e2\u652f\u6301\u4ece\u5404\u7c7b\u5b9e\u65f6\u548c\u79bb\u7ebf\u7684\u6570\u636e\u6e90\u9ad8\u6548\u5bfc\u5165\u6570\u636e\uff0c\u4e5f\u652f\u6301\u76f4\u63a5\u5206\u6790\u6570\u636e\u6e56\u4e0a\u5404\u79cd\u683c\u5f0f\u7684\u6570\u636e\u3002StarRocks \u517c\u5bb9 MySQL \u534f\u8bae\uff0c\u53ef\u4f7f\u7528 MySQL \u5ba2\u6237\u7aef\u548c\u5e38\u7528 BI \u5de5\u5177\u5bf9\u63a5\u3002\u540c\u65f6 StarRocks \u5177\u5907\u6c34\u5e73\u6269\u5c55\uff0c\u9ad8\u53ef\u7528\uff0c\u9ad8\u53ef\u9760\uff0c\u6613\u8fd0\u7ef4\u7b49\u7279\u6027\u3002\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5b9e\u65f6\u6570\u4ed3\u3001OLAP \u62a5\u8868\u3001\u6570\u636e\u6e56\u5206\u6790\u7b49\u573a\u666f\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/32ef234c.84d3490e.js b/assets/js/32ef234c.5e830af7.js similarity index 98% rename from assets/js/32ef234c.84d3490e.js rename to assets/js/32ef234c.5e830af7.js index ca26553d9..8f80a1b10 100644 --- a/assets/js/32ef234c.84d3490e.js +++ b/assets/js/32ef234c.5e830af7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7055],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},m="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),m=p(r),s=a,d=m["".concat(u,".").concat(s)]||m[s]||y[s]||l;return r?n.createElement(d,o(o({ref:t},c),{},{components:r})):n.createElement(d,o({ref:t},c))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,o=new Array(l);o[0]=s;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[m]="string"==typeof e?e:a,o[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>y,frontMatter:()=>l,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const l={},o=void 0,i={unversionedId:"study/back/mq/MQTT broker",id:"study/back/mq/MQTT broker",title:"MQTT broker",description:"EMQ EMQX",source:"@site/docs/study/back/mq/MQTT broker.md",sourceDirName:"study/back/mq",slug:"/study/back/mq/MQTT broker",permalink:"/docs/study/back/mq/MQTT broker",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Kafka",permalink:"/docs/study/back/mq/Kafka"},next:{title:"MQ\u5b9e\u73b0\u5bf9\u6bd4",permalink:"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4"}},u={},p=[{value:"EMQ EMQX",id:"emq-emqx",level:3},{value:"BifroMQ",id:"bifromq",level:3},{value:"FluxMQ",id:"fluxmq",level:3},{value:"TBMQ",id:"tbmq",level:3},{value:"Eclipse Mosquitto",id:"eclipse-mosquitto",level:3},{value:"Moquette",id:"moquette",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3}],c={toc:p},m="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(m,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"emq-emqx"},"EMQ EMQX"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.emqx.io/cn/"},"\u5b98\u7f51")),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u8bed\u8a00\uff1aErlang/OTP\uff0c\u4e00\u4e2a\u4e0d\u5e38\u89c1\u7684\u8bed\u8a00\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u56fd\u4eba\u5f00\u53d1\uff1b\u53c8\u79f0 emqttd\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u6e90&\u5546\u4e1a\u5316 MQTT \u9f3b\u7956")),(0,a.yg)("h3",{id:"bifromq"},"BifroMQ"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u767e\u5ea6\u5f00\u6e90\u7684\u4e00\u6b3e MQTT \u4ea7\u54c1"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u53d1\u8bed\u8a00\uff1aJDK17 Maven3.5+"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u6e90")),(0,a.yg)("h3",{id:"fluxmq"},"FluxMQ"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u53f7\u79f0\u6027\u80fd\u9886\u5148 99%\u7684\u4e00\u6b3e\u5546\u4e1a\u5316 MQTT \u4ea7\u54c1"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u53d1\u8bed\u8a00\uff1aJDK8+"),(0,a.yg)("li",{parentName:"ul"},"\u95ed\u6e90"),(0,a.yg)("li",{parentName:"ul"},"\u5b98\u7f51 ",(0,a.yg)("a",{parentName:"li",href:"https://www.fluxmq.com/"},"https://www.fluxmq.com/"))),(0,a.yg)("h3",{id:"tbmq"},"TBMQ"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Thingsboard \u5f00\u6e90\u7684\u2f00\u6b3e MQTT \u4ea7\u54c1"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u53d1\u8bed\u8a00\uff1aJDK17 Maven3.5+"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u6e90")),(0,a.yg)("h3",{id:"eclipse-mosquitto"},"Eclipse Mosquitto"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://mosquitto.org"},"\u5b98\u7f51")),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u8bed\u8a00\uff1aC/C++")),(0,a.yg)("h3",{id:"moquette"},"Moquette"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/moquette-io/moquette"},"\u5b98\u7f51")),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u8bed\u8a00\uff1aJava"),(0,a.yg)("li",{parentName:"ol"},"\u636e\u5927\u4f6c\u8bf4\u8fd9\u5c31\u662f\u4e00\u4e2a\u73a9\u5177\u9879\u76ee\uff0c\u4f46\u662f\u57fa\u4e8e Java \u5f00\u6e90\u7684\u5e76\u4e0d\u591a\uff0c\u4e14\u7f51\u4e0a\u5f88\u591a\u662f\u57fa\u4e8e\u4ed6\u5f00\u53d1\u51fa\u6765\u7684\uff1b"),(0,a.yg)("li",{parentName:"ol"},"0.10 \u652f\u6301\u96c6\u7fa4\uff1b0.12 \u4e0d\u652f\u6301\u96c6\u7fa4\uff1b")),(0,a.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7055],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},m="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),m=p(r),s=a,d=m["".concat(u,".").concat(s)]||m[s]||y[s]||l;return r?n.createElement(d,o(o({ref:t},c),{},{components:r})):n.createElement(d,o({ref:t},c))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,o=new Array(l);o[0]=s;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[m]="string"==typeof e?e:a,o[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>y,frontMatter:()=>l,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const l={},o=void 0,i={unversionedId:"study/back/mq/MQTT broker",id:"study/back/mq/MQTT broker",title:"MQTT broker",description:"EMQ EMQX",source:"@site/docs/study/back/mq/MQTT broker.md",sourceDirName:"study/back/mq",slug:"/study/back/mq/MQTT broker",permalink:"/docs/study/back/mq/MQTT broker",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Kafka",permalink:"/docs/study/back/mq/Kafka"},next:{title:"MQ\u5b9e\u73b0\u5bf9\u6bd4",permalink:"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4"}},u={},p=[{value:"EMQ EMQX",id:"emq-emqx",level:3},{value:"BifroMQ",id:"bifromq",level:3},{value:"FluxMQ",id:"fluxmq",level:3},{value:"TBMQ",id:"tbmq",level:3},{value:"Eclipse Mosquitto",id:"eclipse-mosquitto",level:3},{value:"Moquette",id:"moquette",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3}],c={toc:p},m="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(m,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"emq-emqx"},"EMQ EMQX"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.emqx.io/cn/"},"\u5b98\u7f51")),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u8bed\u8a00\uff1aErlang/OTP\uff0c\u4e00\u4e2a\u4e0d\u5e38\u89c1\u7684\u8bed\u8a00\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u56fd\u4eba\u5f00\u53d1\uff1b\u53c8\u79f0 emqttd\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u6e90&\u5546\u4e1a\u5316 MQTT \u9f3b\u7956")),(0,a.yg)("h3",{id:"bifromq"},"BifroMQ"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u767e\u5ea6\u5f00\u6e90\u7684\u4e00\u6b3e MQTT \u4ea7\u54c1"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u53d1\u8bed\u8a00\uff1aJDK17 Maven3.5+"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u6e90")),(0,a.yg)("h3",{id:"fluxmq"},"FluxMQ"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u53f7\u79f0\u6027\u80fd\u9886\u5148 99%\u7684\u4e00\u6b3e\u5546\u4e1a\u5316 MQTT \u4ea7\u54c1"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u53d1\u8bed\u8a00\uff1aJDK8+"),(0,a.yg)("li",{parentName:"ul"},"\u95ed\u6e90"),(0,a.yg)("li",{parentName:"ul"},"\u5b98\u7f51 ",(0,a.yg)("a",{parentName:"li",href:"https://www.fluxmq.com/"},"https://www.fluxmq.com/"))),(0,a.yg)("h3",{id:"tbmq"},"TBMQ"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Thingsboard \u5f00\u6e90\u7684\u2f00\u6b3e MQTT \u4ea7\u54c1"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u53d1\u8bed\u8a00\uff1aJDK17 Maven3.5+"),(0,a.yg)("li",{parentName:"ul"},"\u5f00\u6e90")),(0,a.yg)("h3",{id:"eclipse-mosquitto"},"Eclipse Mosquitto"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://mosquitto.org"},"\u5b98\u7f51")),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u8bed\u8a00\uff1aC/C++")),(0,a.yg)("h3",{id:"moquette"},"Moquette"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/moquette-io/moquette"},"\u5b98\u7f51")),(0,a.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u8bed\u8a00\uff1aJava"),(0,a.yg)("li",{parentName:"ol"},"\u636e\u5927\u4f6c\u8bf4\u8fd9\u5c31\u662f\u4e00\u4e2a\u73a9\u5177\u9879\u76ee\uff0c\u4f46\u662f\u57fa\u4e8e Java \u5f00\u6e90\u7684\u5e76\u4e0d\u591a\uff0c\u4e14\u7f51\u4e0a\u5f88\u591a\u662f\u57fa\u4e8e\u4ed6\u5f00\u53d1\u51fa\u6765\u7684\uff1b"),(0,a.yg)("li",{parentName:"ol"},"0.10 \u652f\u6301\u96c6\u7fa4\uff1b0.12 \u4e0d\u652f\u6301\u96c6\u7fa4\uff1b")),(0,a.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3474579f.d64da184.js b/assets/js/3474579f.5bf91b10.js similarity index 99% rename from assets/js/3474579f.d64da184.js rename to assets/js/3474579f.5bf91b10.js index 76a8e1bf2..aca0b47a7 100644 --- a/assets/js/3474579f.d64da184.js +++ b/assets/js/3474579f.5bf91b10.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7134],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>d});var a=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=a.createContext({}),g=function(e){var t=a.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},y=function(e){var t=g(e.components);return a.createElement(p.Provider,{value:t},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,l=e.mdxType,r=e.originalType,p=e.parentName,y=o(e,["components","mdxType","originalType","parentName"]),u=g(n),s=l,d=u["".concat(p,".").concat(s)]||u[s]||c[s]||r;return n?a.createElement(d,i(i({ref:t},y),{},{components:n})):a.createElement(d,i({ref:t},y))}));function d(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var r=n.length,i=new Array(r);i[0]=s;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[u]="string"==typeof e?e:l,i[1]=o;for(var g=2;g{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>c,frontMatter:()=>r,metadata:()=>o,toc:()=>g});var a=n(58168),l=(n(96540),n(15680));const r={},i=void 0,o={unversionedId:"study/think/\u9650\u6d41",id:"study/think/\u9650\u6d41",title:"\u9650\u6d41",description:"\u524d\u8a00",source:"@site/docs/study/think/\u9650\u6d41.md",sourceDirName:"study/think",slug:"/study/think/\u9650\u6d41",permalink:"/docs/study/think/\u9650\u6d41",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8c08\u5de5\u4f5c\u5fc3\u5f97",permalink:"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97"},next:{title:"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",permalink:"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD"}},p={},g=[{value:"\u524d\u8a00",id:"\u524d\u8a00",level:3},{value:"\u5e38\u89c1\u7684\u9650\u6d41\u7b97\u6cd5",id:"\u5e38\u89c1\u7684\u9650\u6d41\u7b97\u6cd5",level:3},{value:"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668",id:"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668",level:4},{value:"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668",id:"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668",level:4},{value:"\u6f0f\u6876\u7b97\u6cd5",id:"\u6f0f\u6876\u7b97\u6cd5",level:4},{value:"\u4ee4\u724c\u6876\u7b97\u6cd5",id:"\u4ee4\u724c\u6876\u7b97\u6cd5",level:4},{value:"\u5355\u4f53\u5e94\u7528\u5b9e\u73b0",id:"\u5355\u4f53\u5e94\u7528\u5b9e\u73b0",level:3},{value:"\u5206\u5e03\u5f0f\u9650\u6d41",id:"\u5206\u5e03\u5f0f\u9650\u6d41",level:3}],y={toc:g},u="wrapper";function c(e){let{components:t,...r}=e;return(0,l.yg)(u,(0,a.A)({},y,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u524d\u8a00"},"\u524d\u8a00"),(0,l.yg)("p",null,"\u5728\u5f00\u53d1\u9ad8\u5e76\u53d1\u7cfb\u7edf\u65f6\u6709\u4e09\u628a\u5229\u5668\u7528\u6765\u4fdd\u62a4\u7cfb\u7edf\uff1a\u7f13\u5b58\u3001\u964d\u7ea7\u548c\u9650\u6d41"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("inlineCode",{parentName:"li"},"\u7f13\u5b58"),"\u7f13\u5b58\u7684\u76ee\u7684\u662f\u63d0\u5347\u7cfb\u7edf\u8bbf\u95ee\u901f\u5ea6\u548c\u589e\u5927\u7cfb\u7edf\u5904\u7406\u5bb9\u91cf"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("inlineCode",{parentName:"li"},"\u964d\u7ea7"),"\u964d\u7ea7\u662f\u5f53\u670d\u52a1\u51fa\u73b0\u95ee\u9898\u6216\u8005\u5f71\u54cd\u5230\u6838\u5fc3\u6d41\u7a0b\u65f6\uff0c\u9700\u8981\u6682\u65f6\u5c4f\u853d\u6389\uff0c\u5f85\u9ad8\u5cf0\u6216\u8005\u95ee\u9898\u89e3\u51b3\u540e\u518d\u6253\u5f00"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("inlineCode",{parentName:"li"},"\u9650\u6d41"),"\u9650\u6d41\u7684\u76ee\u7684\u662f\u901a\u8fc7\u5bf9\u5e76\u53d1\u8bbf\u95ee/\u8bf7\u6c42\u8fdb\u884c\u9650\u901f\uff0c\u6216\u8005\u5bf9\u4e00\u4e2a\u65f6\u95f4\u7a97\u53e3\u5185\u7684\u8bf7\u6c42\u8fdb\u884c\u9650\u901f\u6765\u4fdd\u62a4\u7cfb\u7edf\uff0c\u4e00\u65e6\u8fbe\u5230\u9650\u5236\u901f\u7387\u5219\u53ef\u4ee5\u62d2\u7edd\u670d\u52a1\u3001\u6392\u961f\u6216\u7b49\u5f85\u3001\u964d\u7ea7\u7b49\u5904\u7406")),(0,l.yg)("h3",{id:"\u5e38\u89c1\u7684\u9650\u6d41\u7b97\u6cd5"},"\u5e38\u89c1\u7684\u9650\u6d41\u7b97\u6cd5"),(0,l.yg)("h4",{id:"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668"},"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(98635).A,width:"659",height:"342"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668\u7b97\u6cd5\u7684\u6982\u5ff5\u5982\u4e0b",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},"\u5c06\u65f6\u95f4\u5212\u5206\u4e3a\u591a\u4e2a\u7a97\u53e3"),(0,l.yg)("li",{parentName:"ol"},"\u5728\u6bcf\u4e2a\u7a97\u53e3\u5185\u6bcf\u6709\u4e00\u6b21\u8bf7\u6c42\u5c31\u5c06\u8ba1\u6570\u5668\u52a0\u4e00"),(0,l.yg)("li",{parentName:"ol"},"\u5982\u679c\u8ba1\u6570\u5668\u8d85\u8fc7\u4e86\u9650\u5236\u6570\u91cf\uff0c\u5219\u672c\u7a97\u53e3\u5185\u65b0\u6765\u7684\u5176\u4ed6\u8bf7\u6c42\u90fd\u88ab\u4e22\u5f03\u3002\u5f53\u65f6\u95f4\u5230\u8fbe\u4e0b\u4e00\u4e2a\u7a97\u53e3\u65f6\uff0c\u8ba1\u6570\u5668\u91cd\u7f6e\u3002"))),(0,l.yg)("li",{parentName:"ul"},"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668\u662f\u6700\u4e3a\u7b80\u5355\u7684\u7b97\u6cd5\uff0c\u4f46\u8fd9\u4e2a\u7b97\u6cd5\u6709\u65f6\u4f1a\u8ba9\u901a\u8fc7\u8bf7\u6c42\u91cf\u5141\u8bb8\u4e3a\u9650\u5236\u7684\u4e24\u500d\u3002\u8003\u8651\u5982\u4e0b\u60c5\u51b5\uff1a\u9650\u5236 1 \u79d2\u5185\u6700\u591a\u901a\u8fc7 5 \u4e2a\u8bf7\u6c42\uff0c\u5728\u7b2c\u4e00\u4e2a\u7a97\u53e3\u7684\u6700\u540e\u534a\u79d2\u5185\u901a\u8fc7\u4e86 5 \u4e2a\u8bf7\u6c42\uff0c\u7b2c\u4e8c\u4e2a\u7a97\u53e3\u7684\u524d\u534a\u79d2\u5185\u53c8\u901a\u8fc7\u4e86 5 \u4e2a\u8bf7\u6c42\u3002\u8fd9\u6837\u770b\u6765\u5c31\u662f\u5728 1 \u79d2\u5185\u901a\u8fc7\u4e86 10 \u4e2a\u8bf7\u6c42\u3002")),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(28784).A,width:"732",height:"315"})),(0,l.yg)("h4",{id:"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668"},"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(25689).A,width:"653",height:"295"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668\u7b97\u6cd5\u6982\u5ff5\u5982\u4e0b\uff1a",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},"\u5c06\u65f6\u95f4\u5212\u5206\u4e3a\u591a\u4e2a\u533a\u95f4\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5728\u6bcf\u4e2a\u533a\u95f4\u5185\u6bcf\u6709\u4e00\u6b21\u8bf7\u6c42\u5c31\u5c06\u8ba1\u6570\u5668\u52a0\u4e00\u7ef4\u6301\u4e00\u4e2a\u65f6\u95f4\u7a97\u53e3\uff0c\u5360\u636e\u591a\u4e2a\u533a\u95f4\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u6bcf\u7ecf\u8fc7\u4e00\u4e2a\u533a\u95f4\u7684\u65f6\u95f4\uff0c\u5219\u629b\u5f03\u6700\u8001\u7684\u4e00\u4e2a\u533a\u95f4\uff0c\u5e76\u7eb3\u5165\u6700\u65b0\u7684\u4e00\u4e2a\u533a\u95f4\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5982\u679c\u5f53\u524d\u7a97\u53e3\u5185\u533a\u95f4\u7684\u8bf7\u6c42\u8ba1\u6570\u603b\u548c\u8d85\u8fc7\u4e86\u9650\u5236\u6570\u91cf\uff0c\u5219\u672c\u7a97\u53e3\u5185\u65b0\u6765\u7684\u5176\u4ed6\u8bf7\u6c42\u90fd\u88ab\u4e22\u5f03\u3002"))),(0,l.yg)("li",{parentName:"ul"},'\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668\u662f\u901a\u8fc7\u5c06\u7a97\u53e3\u518d\u7ec6\u5206\uff0c\u5e76\u4e14\u6309\u7167\u65f6\u95f4 " \u6ed1\u52a8 "\uff0c\u8fd9\u79cd\u7b97\u6cd5\u907f\u514d\u4e86\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668\u5e26\u6765\u7684\u53cc\u500d\u7a81\u53d1\u8bf7\u6c42\uff0c\u4f46\u65f6\u95f4\u533a\u95f4\u7684\u7cbe\u5ea6\u8d8a\u9ad8\uff0c\u7b97\u6cd5\u6240\u9700\u7684\u7a7a\u95f4\u5bb9\u91cf\u5c31\u8d8a\u5927\u3002')),(0,l.yg)("h4",{id:"\u6f0f\u6876\u7b97\u6cd5"},"\u6f0f\u6876\u7b97\u6cd5"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(32614).A,width:"506",height:"406"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u6f0f\u6876\u7b97\u6cd5\u6982\u5ff5\u5982\u4e0b\uff1a",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},'\u5c06\u6bcf\u4e2a\u8bf7\u6c42\u89c6\u4f5c " \u6c34\u6ef4 " \u653e\u5165 " \u6f0f\u6876 " \u8fdb\u884c\u5b58\u50a8\uff1b'),(0,l.yg)("li",{parentName:"ol"},'\u201c\u6f0f\u6876 " \u4ee5\u56fa\u5b9a\u901f\u7387\u5411\u5916 " \u6f0f " \u51fa\u8bf7\u6c42\u6765\u6267\u884c\u5982\u679c " \u6f0f\u6876 " \u7a7a\u4e86\u5219\u505c\u6b62 " \u6f0f\u6c34\u201d\uff1b'),(0,l.yg)("li",{parentName:"ol"},'\u5982\u679c " \u6f0f\u6876 " \u6ee1\u4e86\u5219\u591a\u4f59\u7684 " \u6c34\u6ef4 " \u4f1a\u88ab\u76f4\u63a5\u4e22\u5f03\u3002'))),(0,l.yg)("li",{parentName:"ul"},"\u6f0f\u6876\u7b97\u6cd5\u591a\u4f7f\u7528\u961f\u5217\u5b9e\u73b0\uff0c\u670d\u52a1\u7684\u8bf7\u6c42\u4f1a\u5b58\u5230\u961f\u5217\u4e2d\uff0c\u670d\u52a1\u7684\u63d0\u4f9b\u65b9\u5219\u6309\u7167\u56fa\u5b9a\u7684\u901f\u7387\u4ece\u961f\u5217\u4e2d\u53d6\u51fa\u8bf7\u6c42\u5e76\u6267\u884c\uff0c\u8fc7\u591a\u7684\u8bf7\u6c42\u5219\u653e\u5728\u961f\u5217\u4e2d\u6392\u961f\u6216\u76f4\u63a5\u62d2\u7edd\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6f0f\u6876\u7b97\u6cd5\u7684\u7f3a\u9677\u4e5f\u5f88\u660e\u663e\uff0c\u5f53\u77ed\u65f6\u95f4\u5185\u6709\u5927\u91cf\u7684\u7a81\u53d1\u8bf7\u6c42\u65f6\uff0c\u5373\u4fbf\u6b64\u65f6\u670d\u52a1\u5668\u6ca1\u6709\u4efb\u4f55\u8d1f\u8f7d\uff0c\u6bcf\u4e2a\u8bf7\u6c42\u4e5f\u90fd\u5f97\u5728\u961f\u5217\u4e2d\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u624d\u80fd\u88ab\u54cd\u5e94\u3002")),(0,l.yg)("h4",{id:"\u4ee4\u724c\u6876\u7b97\u6cd5"},"\u4ee4\u724c\u6876\u7b97\u6cd5"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(71631).A,width:"704",height:"526"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u4ee4\u724c\u6876\u7b97\u6cd5\u6982\u5ff5\u5982\u4e0b\uff1a",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},"\u4ee4\u724c\u4ee5\u56fa\u5b9a\u901f\u7387\u751f\u6210\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u751f\u6210\u7684\u4ee4\u724c\u653e\u5165\u4ee4\u724c\u6876\u4e2d\u5b58\u653e\uff0c\u5982\u679c\u4ee4\u724c\u6876\u6ee1\u4e86\u5219\u591a\u4f59\u7684\u4ee4\u724c\u4f1a\u76f4\u63a5\u4e22\u5f03\uff0c\u5f53\u8bf7\u6c42\u5230\u8fbe\u65f6\uff0c\u4f1a\u5c1d\u8bd5\u4ece\u4ee4\u724c\u6876\u4e2d\u53d6\u4ee4\u724c\uff0c\u53d6\u5230\u4e86\u4ee4\u724c\u7684\u8bf7\u6c42\u53ef\u4ee5\u6267\u884c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u5982\u679c\u6876\u7a7a\u4e86\uff0c\u90a3\u4e48\u5c1d\u8bd5\u53d6\u4ee4\u724c\u7684\u8bf7\u6c42\u4f1a\u88ab\u76f4\u63a5\u4e22\u5f03\u3002"))),(0,l.yg)("li",{parentName:"ul"},"\u4ee4\u724c\u6876\u7b97\u6cd5\u65e2\u80fd\u591f\u5c06\u6240\u6709\u7684\u8bf7\u6c42\u5e73\u5747\u5206\u5e03\u5230\u65f6\u95f4\u533a\u95f4\u5185\uff0c\u53c8\u80fd\u63a5\u53d7\u670d\u52a1\u5668\u80fd\u591f\u627f\u53d7\u8303\u56f4\u5185\u7684\u7a81\u53d1\u8bf7\u6c42\uff0c\u56e0\u6b64\u662f\u76ee\u524d\u4f7f\u7528\u8f83\u4e3a\u5e7f\u6cdb\u7684\u4e00\u79cd\u9650\u6d41\u7b97\u6cd5\u3002")),(0,l.yg)("h3",{id:"\u5355\u4f53\u5e94\u7528\u5b9e\u73b0"},"\u5355\u4f53\u5e94\u7528\u5b9e\u73b0"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u5728\u4f20\u7edf\u7684\u5355\u4f53\u5e94\u7528\u4e2d\u9650\u6d41\u53ea\u9700\u8981\u8003\u8651\u5230\u591a\u7ebf\u7a0b\u5373\u53ef\uff0c\u4f7f\u7528Google\u5f00\u6e90\u5de5\u5177\u7c7bguava\u5373\u53ef\u3002\u5176\u4e2d\u6709\u4e00\u4e2aRateLimiter\u4e13\u95e8\u5b9e\u73b0\u4e86\u5355\u4f53\u5e94\u7528\u7684\u9650\u6d41\uff0c\u4f7f\u7528\u7684\u662f\u4ee4\u724c\u6876\u7b97\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5355\u4f53\u5e94\u7528\u7684\u9650\u6d41\u4e0d\u662f\u672c\u6587\u7684\u91cd\u70b9\uff0c\u5b98\u7f51\u4e0a\u73b0\u6210\u7684API\uff0c\u8bfb\u8005\u81ea\u5df1\u53bb\u770b\u770b\u5373\u53ef\uff0c\u8fd9\u91cc\u4e0d\u518d\u8be6\u7ec6\u89e3\u91ca\u3002")),(0,l.yg)("h3",{id:"\u5206\u5e03\u5f0f\u9650\u6d41"},"\u5206\u5e03\u5f0f\u9650\u6d41"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u5206\u5e03\u5f0f\u9650\u6d41\u548c\u7194\u65ad\u73b0\u5728\u6709\u5f88\u591a\u7684\u73b0\u6210\u7684\u5de5\u5177\uff0c\u6bd4\u5982Hystrix\uff0cSentinel \u7b49\uff0c\u4f46\u662f\u8fd8\u662f\u6709\u4e9b\u4f01\u4e1a\u4e0d\u5f15\u7528\u5916\u6765\u7c7b\u5e93\uff0c\u56e0\u6b64\u5c31\u9700\u8981\u81ea\u5df1\u5b9e\u73b0\u3002"),(0,l.yg)("li",{parentName:"ul"},"Redis\u4f5c\u4e3a\u5355\u7ebf\u7a0b\u591a\u8def\u590d\u7528\u7684\u7279\u6027\uff0c\u5f88\u663e\u7136\u80fd\u591f\u80dc\u4efb\u8fd9\u9879\u4efb\u52a1\u3002")))}c.isMDXComponent=!0},98635:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x1-3edeedaffe0322bfb5a25168288d91d6.png"},28784:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x2-6bc9382d5a047236dc1cf3608f948729.png"},25689:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x3-74be0be0d3cfd84aff0638a937cd7387.png"},32614:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x4-91ab48a56e8274e31fbb1a851e6cb685.png"},71631:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x5-fa6893daf432a93118fac29e278dc4f0.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7134],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>d});var a=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=a.createContext({}),g=function(e){var t=a.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},y=function(e){var t=g(e.components);return a.createElement(p.Provider,{value:t},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var n=e.components,l=e.mdxType,r=e.originalType,p=e.parentName,y=o(e,["components","mdxType","originalType","parentName"]),u=g(n),s=l,d=u["".concat(p,".").concat(s)]||u[s]||c[s]||r;return n?a.createElement(d,i(i({ref:t},y),{},{components:n})):a.createElement(d,i({ref:t},y))}));function d(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var r=n.length,i=new Array(r);i[0]=s;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[u]="string"==typeof e?e:l,i[1]=o;for(var g=2;g{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>c,frontMatter:()=>r,metadata:()=>o,toc:()=>g});var a=n(58168),l=(n(96540),n(15680));const r={},i=void 0,o={unversionedId:"study/think/\u9650\u6d41",id:"study/think/\u9650\u6d41",title:"\u9650\u6d41",description:"\u524d\u8a00",source:"@site/docs/study/think/\u9650\u6d41.md",sourceDirName:"study/think",slug:"/study/think/\u9650\u6d41",permalink:"/docs/study/think/\u9650\u6d41",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8c08\u5de5\u4f5c\u5fc3\u5f97",permalink:"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97"},next:{title:"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",permalink:"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD"}},p={},g=[{value:"\u524d\u8a00",id:"\u524d\u8a00",level:3},{value:"\u5e38\u89c1\u7684\u9650\u6d41\u7b97\u6cd5",id:"\u5e38\u89c1\u7684\u9650\u6d41\u7b97\u6cd5",level:3},{value:"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668",id:"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668",level:4},{value:"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668",id:"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668",level:4},{value:"\u6f0f\u6876\u7b97\u6cd5",id:"\u6f0f\u6876\u7b97\u6cd5",level:4},{value:"\u4ee4\u724c\u6876\u7b97\u6cd5",id:"\u4ee4\u724c\u6876\u7b97\u6cd5",level:4},{value:"\u5355\u4f53\u5e94\u7528\u5b9e\u73b0",id:"\u5355\u4f53\u5e94\u7528\u5b9e\u73b0",level:3},{value:"\u5206\u5e03\u5f0f\u9650\u6d41",id:"\u5206\u5e03\u5f0f\u9650\u6d41",level:3}],y={toc:g},u="wrapper";function c(e){let{components:t,...r}=e;return(0,l.yg)(u,(0,a.A)({},y,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u524d\u8a00"},"\u524d\u8a00"),(0,l.yg)("p",null,"\u5728\u5f00\u53d1\u9ad8\u5e76\u53d1\u7cfb\u7edf\u65f6\u6709\u4e09\u628a\u5229\u5668\u7528\u6765\u4fdd\u62a4\u7cfb\u7edf\uff1a\u7f13\u5b58\u3001\u964d\u7ea7\u548c\u9650\u6d41"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("inlineCode",{parentName:"li"},"\u7f13\u5b58"),"\u7f13\u5b58\u7684\u76ee\u7684\u662f\u63d0\u5347\u7cfb\u7edf\u8bbf\u95ee\u901f\u5ea6\u548c\u589e\u5927\u7cfb\u7edf\u5904\u7406\u5bb9\u91cf"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("inlineCode",{parentName:"li"},"\u964d\u7ea7"),"\u964d\u7ea7\u662f\u5f53\u670d\u52a1\u51fa\u73b0\u95ee\u9898\u6216\u8005\u5f71\u54cd\u5230\u6838\u5fc3\u6d41\u7a0b\u65f6\uff0c\u9700\u8981\u6682\u65f6\u5c4f\u853d\u6389\uff0c\u5f85\u9ad8\u5cf0\u6216\u8005\u95ee\u9898\u89e3\u51b3\u540e\u518d\u6253\u5f00"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("inlineCode",{parentName:"li"},"\u9650\u6d41"),"\u9650\u6d41\u7684\u76ee\u7684\u662f\u901a\u8fc7\u5bf9\u5e76\u53d1\u8bbf\u95ee/\u8bf7\u6c42\u8fdb\u884c\u9650\u901f\uff0c\u6216\u8005\u5bf9\u4e00\u4e2a\u65f6\u95f4\u7a97\u53e3\u5185\u7684\u8bf7\u6c42\u8fdb\u884c\u9650\u901f\u6765\u4fdd\u62a4\u7cfb\u7edf\uff0c\u4e00\u65e6\u8fbe\u5230\u9650\u5236\u901f\u7387\u5219\u53ef\u4ee5\u62d2\u7edd\u670d\u52a1\u3001\u6392\u961f\u6216\u7b49\u5f85\u3001\u964d\u7ea7\u7b49\u5904\u7406")),(0,l.yg)("h3",{id:"\u5e38\u89c1\u7684\u9650\u6d41\u7b97\u6cd5"},"\u5e38\u89c1\u7684\u9650\u6d41\u7b97\u6cd5"),(0,l.yg)("h4",{id:"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668"},"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(98635).A,width:"659",height:"342"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668\u7b97\u6cd5\u7684\u6982\u5ff5\u5982\u4e0b",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},"\u5c06\u65f6\u95f4\u5212\u5206\u4e3a\u591a\u4e2a\u7a97\u53e3"),(0,l.yg)("li",{parentName:"ol"},"\u5728\u6bcf\u4e2a\u7a97\u53e3\u5185\u6bcf\u6709\u4e00\u6b21\u8bf7\u6c42\u5c31\u5c06\u8ba1\u6570\u5668\u52a0\u4e00"),(0,l.yg)("li",{parentName:"ol"},"\u5982\u679c\u8ba1\u6570\u5668\u8d85\u8fc7\u4e86\u9650\u5236\u6570\u91cf\uff0c\u5219\u672c\u7a97\u53e3\u5185\u65b0\u6765\u7684\u5176\u4ed6\u8bf7\u6c42\u90fd\u88ab\u4e22\u5f03\u3002\u5f53\u65f6\u95f4\u5230\u8fbe\u4e0b\u4e00\u4e2a\u7a97\u53e3\u65f6\uff0c\u8ba1\u6570\u5668\u91cd\u7f6e\u3002"))),(0,l.yg)("li",{parentName:"ul"},"\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668\u662f\u6700\u4e3a\u7b80\u5355\u7684\u7b97\u6cd5\uff0c\u4f46\u8fd9\u4e2a\u7b97\u6cd5\u6709\u65f6\u4f1a\u8ba9\u901a\u8fc7\u8bf7\u6c42\u91cf\u5141\u8bb8\u4e3a\u9650\u5236\u7684\u4e24\u500d\u3002\u8003\u8651\u5982\u4e0b\u60c5\u51b5\uff1a\u9650\u5236 1 \u79d2\u5185\u6700\u591a\u901a\u8fc7 5 \u4e2a\u8bf7\u6c42\uff0c\u5728\u7b2c\u4e00\u4e2a\u7a97\u53e3\u7684\u6700\u540e\u534a\u79d2\u5185\u901a\u8fc7\u4e86 5 \u4e2a\u8bf7\u6c42\uff0c\u7b2c\u4e8c\u4e2a\u7a97\u53e3\u7684\u524d\u534a\u79d2\u5185\u53c8\u901a\u8fc7\u4e86 5 \u4e2a\u8bf7\u6c42\u3002\u8fd9\u6837\u770b\u6765\u5c31\u662f\u5728 1 \u79d2\u5185\u901a\u8fc7\u4e86 10 \u4e2a\u8bf7\u6c42\u3002")),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(28784).A,width:"732",height:"315"})),(0,l.yg)("h4",{id:"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668"},"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(25689).A,width:"653",height:"295"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668\u7b97\u6cd5\u6982\u5ff5\u5982\u4e0b\uff1a",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},"\u5c06\u65f6\u95f4\u5212\u5206\u4e3a\u591a\u4e2a\u533a\u95f4\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5728\u6bcf\u4e2a\u533a\u95f4\u5185\u6bcf\u6709\u4e00\u6b21\u8bf7\u6c42\u5c31\u5c06\u8ba1\u6570\u5668\u52a0\u4e00\u7ef4\u6301\u4e00\u4e2a\u65f6\u95f4\u7a97\u53e3\uff0c\u5360\u636e\u591a\u4e2a\u533a\u95f4\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u6bcf\u7ecf\u8fc7\u4e00\u4e2a\u533a\u95f4\u7684\u65f6\u95f4\uff0c\u5219\u629b\u5f03\u6700\u8001\u7684\u4e00\u4e2a\u533a\u95f4\uff0c\u5e76\u7eb3\u5165\u6700\u65b0\u7684\u4e00\u4e2a\u533a\u95f4\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5982\u679c\u5f53\u524d\u7a97\u53e3\u5185\u533a\u95f4\u7684\u8bf7\u6c42\u8ba1\u6570\u603b\u548c\u8d85\u8fc7\u4e86\u9650\u5236\u6570\u91cf\uff0c\u5219\u672c\u7a97\u53e3\u5185\u65b0\u6765\u7684\u5176\u4ed6\u8bf7\u6c42\u90fd\u88ab\u4e22\u5f03\u3002"))),(0,l.yg)("li",{parentName:"ul"},'\u6ed1\u52a8\u7a97\u53e3\u8ba1\u6570\u5668\u662f\u901a\u8fc7\u5c06\u7a97\u53e3\u518d\u7ec6\u5206\uff0c\u5e76\u4e14\u6309\u7167\u65f6\u95f4 " \u6ed1\u52a8 "\uff0c\u8fd9\u79cd\u7b97\u6cd5\u907f\u514d\u4e86\u56fa\u5b9a\u7a97\u53e3\u8ba1\u6570\u5668\u5e26\u6765\u7684\u53cc\u500d\u7a81\u53d1\u8bf7\u6c42\uff0c\u4f46\u65f6\u95f4\u533a\u95f4\u7684\u7cbe\u5ea6\u8d8a\u9ad8\uff0c\u7b97\u6cd5\u6240\u9700\u7684\u7a7a\u95f4\u5bb9\u91cf\u5c31\u8d8a\u5927\u3002')),(0,l.yg)("h4",{id:"\u6f0f\u6876\u7b97\u6cd5"},"\u6f0f\u6876\u7b97\u6cd5"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(32614).A,width:"506",height:"406"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u6f0f\u6876\u7b97\u6cd5\u6982\u5ff5\u5982\u4e0b\uff1a",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},'\u5c06\u6bcf\u4e2a\u8bf7\u6c42\u89c6\u4f5c " \u6c34\u6ef4 " \u653e\u5165 " \u6f0f\u6876 " \u8fdb\u884c\u5b58\u50a8\uff1b'),(0,l.yg)("li",{parentName:"ol"},'\u201c\u6f0f\u6876 " \u4ee5\u56fa\u5b9a\u901f\u7387\u5411\u5916 " \u6f0f " \u51fa\u8bf7\u6c42\u6765\u6267\u884c\u5982\u679c " \u6f0f\u6876 " \u7a7a\u4e86\u5219\u505c\u6b62 " \u6f0f\u6c34\u201d\uff1b'),(0,l.yg)("li",{parentName:"ol"},'\u5982\u679c " \u6f0f\u6876 " \u6ee1\u4e86\u5219\u591a\u4f59\u7684 " \u6c34\u6ef4 " \u4f1a\u88ab\u76f4\u63a5\u4e22\u5f03\u3002'))),(0,l.yg)("li",{parentName:"ul"},"\u6f0f\u6876\u7b97\u6cd5\u591a\u4f7f\u7528\u961f\u5217\u5b9e\u73b0\uff0c\u670d\u52a1\u7684\u8bf7\u6c42\u4f1a\u5b58\u5230\u961f\u5217\u4e2d\uff0c\u670d\u52a1\u7684\u63d0\u4f9b\u65b9\u5219\u6309\u7167\u56fa\u5b9a\u7684\u901f\u7387\u4ece\u961f\u5217\u4e2d\u53d6\u51fa\u8bf7\u6c42\u5e76\u6267\u884c\uff0c\u8fc7\u591a\u7684\u8bf7\u6c42\u5219\u653e\u5728\u961f\u5217\u4e2d\u6392\u961f\u6216\u76f4\u63a5\u62d2\u7edd\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6f0f\u6876\u7b97\u6cd5\u7684\u7f3a\u9677\u4e5f\u5f88\u660e\u663e\uff0c\u5f53\u77ed\u65f6\u95f4\u5185\u6709\u5927\u91cf\u7684\u7a81\u53d1\u8bf7\u6c42\u65f6\uff0c\u5373\u4fbf\u6b64\u65f6\u670d\u52a1\u5668\u6ca1\u6709\u4efb\u4f55\u8d1f\u8f7d\uff0c\u6bcf\u4e2a\u8bf7\u6c42\u4e5f\u90fd\u5f97\u5728\u961f\u5217\u4e2d\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u624d\u80fd\u88ab\u54cd\u5e94\u3002")),(0,l.yg)("h4",{id:"\u4ee4\u724c\u6876\u7b97\u6cd5"},"\u4ee4\u724c\u6876\u7b97\u6cd5"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(71631).A,width:"704",height:"526"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u4ee4\u724c\u6876\u7b97\u6cd5\u6982\u5ff5\u5982\u4e0b\uff1a",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},"\u4ee4\u724c\u4ee5\u56fa\u5b9a\u901f\u7387\u751f\u6210\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u751f\u6210\u7684\u4ee4\u724c\u653e\u5165\u4ee4\u724c\u6876\u4e2d\u5b58\u653e\uff0c\u5982\u679c\u4ee4\u724c\u6876\u6ee1\u4e86\u5219\u591a\u4f59\u7684\u4ee4\u724c\u4f1a\u76f4\u63a5\u4e22\u5f03\uff0c\u5f53\u8bf7\u6c42\u5230\u8fbe\u65f6\uff0c\u4f1a\u5c1d\u8bd5\u4ece\u4ee4\u724c\u6876\u4e2d\u53d6\u4ee4\u724c\uff0c\u53d6\u5230\u4e86\u4ee4\u724c\u7684\u8bf7\u6c42\u53ef\u4ee5\u6267\u884c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u5982\u679c\u6876\u7a7a\u4e86\uff0c\u90a3\u4e48\u5c1d\u8bd5\u53d6\u4ee4\u724c\u7684\u8bf7\u6c42\u4f1a\u88ab\u76f4\u63a5\u4e22\u5f03\u3002"))),(0,l.yg)("li",{parentName:"ul"},"\u4ee4\u724c\u6876\u7b97\u6cd5\u65e2\u80fd\u591f\u5c06\u6240\u6709\u7684\u8bf7\u6c42\u5e73\u5747\u5206\u5e03\u5230\u65f6\u95f4\u533a\u95f4\u5185\uff0c\u53c8\u80fd\u63a5\u53d7\u670d\u52a1\u5668\u80fd\u591f\u627f\u53d7\u8303\u56f4\u5185\u7684\u7a81\u53d1\u8bf7\u6c42\uff0c\u56e0\u6b64\u662f\u76ee\u524d\u4f7f\u7528\u8f83\u4e3a\u5e7f\u6cdb\u7684\u4e00\u79cd\u9650\u6d41\u7b97\u6cd5\u3002")),(0,l.yg)("h3",{id:"\u5355\u4f53\u5e94\u7528\u5b9e\u73b0"},"\u5355\u4f53\u5e94\u7528\u5b9e\u73b0"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u5728\u4f20\u7edf\u7684\u5355\u4f53\u5e94\u7528\u4e2d\u9650\u6d41\u53ea\u9700\u8981\u8003\u8651\u5230\u591a\u7ebf\u7a0b\u5373\u53ef\uff0c\u4f7f\u7528Google\u5f00\u6e90\u5de5\u5177\u7c7bguava\u5373\u53ef\u3002\u5176\u4e2d\u6709\u4e00\u4e2aRateLimiter\u4e13\u95e8\u5b9e\u73b0\u4e86\u5355\u4f53\u5e94\u7528\u7684\u9650\u6d41\uff0c\u4f7f\u7528\u7684\u662f\u4ee4\u724c\u6876\u7b97\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5355\u4f53\u5e94\u7528\u7684\u9650\u6d41\u4e0d\u662f\u672c\u6587\u7684\u91cd\u70b9\uff0c\u5b98\u7f51\u4e0a\u73b0\u6210\u7684API\uff0c\u8bfb\u8005\u81ea\u5df1\u53bb\u770b\u770b\u5373\u53ef\uff0c\u8fd9\u91cc\u4e0d\u518d\u8be6\u7ec6\u89e3\u91ca\u3002")),(0,l.yg)("h3",{id:"\u5206\u5e03\u5f0f\u9650\u6d41"},"\u5206\u5e03\u5f0f\u9650\u6d41"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u5206\u5e03\u5f0f\u9650\u6d41\u548c\u7194\u65ad\u73b0\u5728\u6709\u5f88\u591a\u7684\u73b0\u6210\u7684\u5de5\u5177\uff0c\u6bd4\u5982Hystrix\uff0cSentinel \u7b49\uff0c\u4f46\u662f\u8fd8\u662f\u6709\u4e9b\u4f01\u4e1a\u4e0d\u5f15\u7528\u5916\u6765\u7c7b\u5e93\uff0c\u56e0\u6b64\u5c31\u9700\u8981\u81ea\u5df1\u5b9e\u73b0\u3002"),(0,l.yg)("li",{parentName:"ul"},"Redis\u4f5c\u4e3a\u5355\u7ebf\u7a0b\u591a\u8def\u590d\u7528\u7684\u7279\u6027\uff0c\u5f88\u663e\u7136\u80fd\u591f\u80dc\u4efb\u8fd9\u9879\u4efb\u52a1\u3002")))}c.isMDXComponent=!0},98635:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x1-3edeedaffe0322bfb5a25168288d91d6.png"},28784:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x2-6bc9382d5a047236dc1cf3608f948729.png"},25689:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x3-74be0be0d3cfd84aff0638a937cd7387.png"},32614:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x4-91ab48a56e8274e31fbb1a851e6cb685.png"},71631:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/x5-fa6893daf432a93118fac29e278dc4f0.png"}}]); \ No newline at end of file diff --git a/assets/js/34a694ac.47dac7da.js b/assets/js/34a694ac.330b6659.js similarity index 98% rename from assets/js/34a694ac.47dac7da.js rename to assets/js/34a694ac.330b6659.js index 6e137b872..3771a1da7 100644 --- a/assets/js/34a694ac.47dac7da.js +++ b/assets/js/34a694ac.330b6659.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6104],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241021",id:"study/stock/20241021",title:"20241021",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241021.md",sourceDirName:"study/stock",slug:"/study/stock/20241021",permalink:"/docs/study/stock/20241021",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u6da8\u4e86 2.20%"),(0,o.yg)("p",null,"\u4eca\u5929\u7684\u4e0a\u5348\u7684\u64cd\u4f5c\u76f8\u5f53\u7684\u6df7\u4e71\uff0c\u53c8\u6ee1\u4ed3\u4e86\uff01\uff01\uff01"),(0,o.yg)("p",null,"\u63a7\u5236\u4e0d\u4f4f\u81ea\u5df1\u5440\uff0c\u4e0d\u8981\u6ee1\u4ed3\uff0c\u4e0d\u8981\u6ee1\u4ed3\uff0c\u4e0d\u8981\u6ee1\u4ed3\uff01\uff01\uff01"),(0,o.yg)("p",null,"\u4e0a\u5348\u4e0a\u73ed\u6ca1\u65f6\u95f4\u770b\u76d8\uff0c\u90fd\u662f\u7785\u4e00\u773c\u5c31\u50cf\u8005\u4e70\u5356\uff0c\u7b80\u76f4\u5c31\u662f\u778e\u64cd\u4f5c\u5440\u3002"),(0,o.yg)("p",null,"\u4e0a\u73ed\u770b\u76d8\u4e4b\u5173\u6ce8 30F \u505a\u4e70\u5356\uff0c\u4e0d\u80fd\u770b 5F\u3002"),(0,o.yg)("p",null,"\u660e\u65e5\u64cd\u4f5c\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u5982\u679c 30F \u8fdb\u5165 A3\uff0c\u4ed3\u4f4d\u7559\u4e00\u534a"),(0,o.yg)("p",null,"\u5982\u679c 30F \u8fdb\u5165 B1\uff0c\u4ed3\u4f4d\u53ea\u80fd\u7559 4 \u5206\u4e4b\u4e00"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6104],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241021",id:"study/stock/20241021",title:"20241021",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241021.md",sourceDirName:"study/stock",slug:"/study/stock/20241021",permalink:"/docs/study/stock/20241021",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u6da8\u4e86 2.20%"),(0,o.yg)("p",null,"\u4eca\u5929\u7684\u4e0a\u5348\u7684\u64cd\u4f5c\u76f8\u5f53\u7684\u6df7\u4e71\uff0c\u53c8\u6ee1\u4ed3\u4e86\uff01\uff01\uff01"),(0,o.yg)("p",null,"\u63a7\u5236\u4e0d\u4f4f\u81ea\u5df1\u5440\uff0c\u4e0d\u8981\u6ee1\u4ed3\uff0c\u4e0d\u8981\u6ee1\u4ed3\uff0c\u4e0d\u8981\u6ee1\u4ed3\uff01\uff01\uff01"),(0,o.yg)("p",null,"\u4e0a\u5348\u4e0a\u73ed\u6ca1\u65f6\u95f4\u770b\u76d8\uff0c\u90fd\u662f\u7785\u4e00\u773c\u5c31\u50cf\u8005\u4e70\u5356\uff0c\u7b80\u76f4\u5c31\u662f\u778e\u64cd\u4f5c\u5440\u3002"),(0,o.yg)("p",null,"\u4e0a\u73ed\u770b\u76d8\u4e4b\u5173\u6ce8 30F \u505a\u4e70\u5356\uff0c\u4e0d\u80fd\u770b 5F\u3002"),(0,o.yg)("p",null,"\u660e\u65e5\u64cd\u4f5c\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u5982\u679c 30F \u8fdb\u5165 A3\uff0c\u4ed3\u4f4d\u7559\u4e00\u534a"),(0,o.yg)("p",null,"\u5982\u679c 30F \u8fdb\u5165 B1\uff0c\u4ed3\u4f4d\u53ea\u80fd\u7559 4 \u5206\u4e4b\u4e00"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/34be6e6a.682ed70e.js b/assets/js/34be6e6a.f49e9fd7.js similarity index 99% rename from assets/js/34be6e6a.682ed70e.js rename to assets/js/34be6e6a.f49e9fd7.js index 2a7e8b3fb..8d8137024 100644 --- a/assets/js/34be6e6a.682ed70e.js +++ b/assets/js/34be6e6a.f49e9fd7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7005],{15680:(e,n,a)=>{a.d(n,{xA:()=>i,yg:()=>g});var t=a(96540);function r(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function o(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,t)}return a}function l(e){for(var n=1;n=0||(r[a]=e[a]);return r}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=t.createContext({}),d=function(e){var n=t.useContext(p),a=n;return e&&(a="function"==typeof e?e(n):l(l({},n),e)),a},i=function(e){var n=d(e.components);return t.createElement(p.Provider,{value:n},e.children)},s="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},v=t.forwardRef((function(e,n){var a=e.components,r=e.mdxType,o=e.originalType,p=e.parentName,i=c(e,["components","mdxType","originalType","parentName"]),s=d(a),v=r,g=s["".concat(p,".").concat(v)]||s[v]||u[v]||o;return a?t.createElement(g,l(l({ref:n},i),{},{components:a})):t.createElement(g,l({ref:n},i))}));function g(e,n){var a=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var o=a.length,l=new Array(o);l[0]=v;var c={};for(var p in n)hasOwnProperty.call(n,p)&&(c[p]=n[p]);c.originalType=e,c[s]="string"==typeof e?e:r,l[1]=c;for(var d=2;d{a.r(n),a.d(n,{assets:()=>p,contentTitle:()=>l,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>d});var t=a(58168),r=(a(96540),a(15680));const o={},l="centos-jdk17-app",c={unversionedId:"study/devops/centos-jdk17-app",id:"study/devops/centos-jdk17-app",title:"centos-jdk17-app",description:"\u5b89\u88c5 jdk",source:"@site/docs/study/devops/centos-jdk17-app.md",sourceDirName:"study/devops",slug:"/study/devops/centos-jdk17-app",permalink:"/docs/study/devops/centos-jdk17-app",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"centos-nginx",permalink:"/docs/study/devops/centos-gninx-app"},next:{title:"jar\u8fd0\u7ef4-\u76d1\u63a7",permalink:"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7"}},p={},d=[{value:"\u5b89\u88c5 jdk",id:"\u5b89\u88c5-jdk",level:3},{value:"\u914d\u7f6e java",id:"\u914d\u7f6e-java",level:3},{value:"\u914d\u7f6e\u5e94\u7528\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf",id:"\u914d\u7f6e\u5e94\u7528\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf",level:3},{value:"\u521b\u5efa hivemq \u6587\u4ef6\u5939",id:"\u521b\u5efa-hivemq-\u6587\u4ef6\u5939",level:3},{value:"\u542f\u52a8\u5e94\u7528",id:"\u542f\u52a8\u5e94\u7528",level:3},{value:"\u542f\u52a8\u811a\u672c",id:"\u542f\u52a8\u811a\u672c",level:3},{value:"\u505c\u6b62\u811a\u672c",id:"\u505c\u6b62\u811a\u672c",level:3}],i={toc:d},s="wrapper";function u(e){let{components:n,...a}=e;return(0,r.yg)(s,(0,t.A)({},i,a,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"centos-jdk17-app"},"centos-jdk17-app"),(0,r.yg)("h3",{id:"\u5b89\u88c5-jdk"},"\u5b89\u88c5 jdk"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u9700\u8981\u770bcpu\u67b6\u6784 x64\nuname -a\ncd ~\nmkdir iot-cloud-backend\ncd iot-cloud-backend\nwget https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz\ntar -zxvf jdk-17_linux-x64_bin.tar.gz\n\n#\u9700\u8981\u770bcpu\u67b6\u6784 aarch64\nuname -a\ncd ~\nmkdir iot-cloud-backend\ncd iot-cloud-backend\nwget https://download.oracle.com/java/17/latest/jdk-17_linux-aarch64_bin.tar.gz\ntar -zxvf jdk-17_linux-aarch64_bin.tar.gz\n")),(0,r.yg)("h3",{id:"\u914d\u7f6e-java"},"\u914d\u7f6e java"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"vim /etc/profile\n\n# \u589e\u52a0\u5982\u4e0b\nexport JAVA_HOME=/root/iot-cloud-backend/jdk-17.0.8;\nexport PATH=$JAVA_HOME/bin:$PATH;\nexport CLASSPATH=.:$JAVA_HOME/lib;\n\n# \u4fdd\u5b58\u540e\nsource /etc/profile\n")),(0,r.yg)("h3",{id:"\u914d\u7f6e\u5e94\u7528\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf"},"\u914d\u7f6e\u5e94\u7528\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"vim ~/.bash_profile\n\n# \u589e\u52a0\u5982\u4e0b\nexport IOT_MYSQL_HOST=127.0.0.1\nexport IOT_MYSQL_PORT=13306\n# HIVEMQ_HOME=/Users/weic/Documents/GITREP/GITHUB/net-cloud-backend/hivemq\nexport IOT_ALIYUN_KEY=xxx\nexport IOT_ALIYUN_SECRET=xxx\nexport IOT_SMS_REAL=0\n\n#\u4fdd\u5b58\u540e\nsource /etc/profile\n")),(0,r.yg)("h3",{id:"\u521b\u5efa-hivemq-\u6587\u4ef6\u5939"},"\u521b\u5efa hivemq \u6587\u4ef6\u5939"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"mkdir -p /root/iot-cloud-backend/hivemq/embedded-config-folder\nmkdir -p /root/iot-cloud-backend/hivemq/embedded-data-folder\nmkdir -p /root/iot-cloud-backend/hivemq/embedded-extensions-folder\n# config\u4e0b\u9762\u6709\u4e09\u4e2a\u914d\u7f6e\u6587\u4ef6\u9700\u8981\u4f20\u8fc7\u53bb\n\n")),(0,r.yg)("h3",{id:"\u542f\u52a8\u5e94\u7528"},"\u542f\u52a8\u5e94\u7528"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u542f\u52a8\njava -jar application-0.0.1-SNAPSHOT.jar > iot-cloud-backend.log &\n")),(0,r.yg)("h3",{id:"\u542f\u52a8\u811a\u672c"},"\u542f\u52a8\u811a\u672c"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#!/bin/sh\n# \u67e5\u627eJava\u8fdb\u7a0b\uff0c\u5e76\u5c06\u7ed3\u679c\u4fdd\u5b58\u5230\u53d8\u91cf\u4e2d\njava_pid=$(ps aux | grep java | grep application | grep -v grep | awk \'{print $2}\')\n\nif [ -n "$java_pid" ]; then\n echo "\u5df2\u5b58\u5728 $java_pid"\nelse\n java -jar application-0.0.1-SNAPSHOT.jar > net-cloud-backend.log &\n echo "\u542f\u52a8\u4e2d..."\n tail -f net-cloud-backend.log\nfi\n')),(0,r.yg)("h3",{id:"\u505c\u6b62\u811a\u672c"},"\u505c\u6b62\u811a\u672c"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#!/bin/sh\n\n# \u67e5\u627eJava\u8fdb\u7a0b\uff0c\u5e76\u5c06\u7ed3\u679c\u4fdd\u5b58\u5230\u53d8\u91cf\u4e2d\njava_pid=$(ps aux | grep java | grep application | grep -v grep | awk \'{print $2}\')\n\nif [ -n "$java_pid" ]; then\n echo "\u6b63\u5728\u7ec8\u6b62Java\u8fdb\u7a0b $java_pid"\n kill -9 $java_pid\n echo "Java\u8fdb\u7a0b\u5df2\u7ec8\u6b62"\nelse\n echo "\u672a\u627e\u5230Java\u8fdb\u7a0b"\nfi\n')))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7005],{15680:(e,n,a)=>{a.d(n,{xA:()=>i,yg:()=>g});var t=a(96540);function r(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function o(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,t)}return a}function l(e){for(var n=1;n=0||(r[a]=e[a]);return r}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var p=t.createContext({}),d=function(e){var n=t.useContext(p),a=n;return e&&(a="function"==typeof e?e(n):l(l({},n),e)),a},i=function(e){var n=d(e.components);return t.createElement(p.Provider,{value:n},e.children)},s="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},v=t.forwardRef((function(e,n){var a=e.components,r=e.mdxType,o=e.originalType,p=e.parentName,i=c(e,["components","mdxType","originalType","parentName"]),s=d(a),v=r,g=s["".concat(p,".").concat(v)]||s[v]||u[v]||o;return a?t.createElement(g,l(l({ref:n},i),{},{components:a})):t.createElement(g,l({ref:n},i))}));function g(e,n){var a=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var o=a.length,l=new Array(o);l[0]=v;var c={};for(var p in n)hasOwnProperty.call(n,p)&&(c[p]=n[p]);c.originalType=e,c[s]="string"==typeof e?e:r,l[1]=c;for(var d=2;d{a.r(n),a.d(n,{assets:()=>p,contentTitle:()=>l,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>d});var t=a(58168),r=(a(96540),a(15680));const o={},l="centos-jdk17-app",c={unversionedId:"study/devops/centos-jdk17-app",id:"study/devops/centos-jdk17-app",title:"centos-jdk17-app",description:"\u5b89\u88c5 jdk",source:"@site/docs/study/devops/centos-jdk17-app.md",sourceDirName:"study/devops",slug:"/study/devops/centos-jdk17-app",permalink:"/docs/study/devops/centos-jdk17-app",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"centos-nginx",permalink:"/docs/study/devops/centos-gninx-app"},next:{title:"jar\u8fd0\u7ef4-\u76d1\u63a7",permalink:"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7"}},p={},d=[{value:"\u5b89\u88c5 jdk",id:"\u5b89\u88c5-jdk",level:3},{value:"\u914d\u7f6e java",id:"\u914d\u7f6e-java",level:3},{value:"\u914d\u7f6e\u5e94\u7528\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf",id:"\u914d\u7f6e\u5e94\u7528\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf",level:3},{value:"\u521b\u5efa hivemq \u6587\u4ef6\u5939",id:"\u521b\u5efa-hivemq-\u6587\u4ef6\u5939",level:3},{value:"\u542f\u52a8\u5e94\u7528",id:"\u542f\u52a8\u5e94\u7528",level:3},{value:"\u542f\u52a8\u811a\u672c",id:"\u542f\u52a8\u811a\u672c",level:3},{value:"\u505c\u6b62\u811a\u672c",id:"\u505c\u6b62\u811a\u672c",level:3}],i={toc:d},s="wrapper";function u(e){let{components:n,...a}=e;return(0,r.yg)(s,(0,t.A)({},i,a,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"centos-jdk17-app"},"centos-jdk17-app"),(0,r.yg)("h3",{id:"\u5b89\u88c5-jdk"},"\u5b89\u88c5 jdk"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u9700\u8981\u770bcpu\u67b6\u6784 x64\nuname -a\ncd ~\nmkdir iot-cloud-backend\ncd iot-cloud-backend\nwget https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz\ntar -zxvf jdk-17_linux-x64_bin.tar.gz\n\n#\u9700\u8981\u770bcpu\u67b6\u6784 aarch64\nuname -a\ncd ~\nmkdir iot-cloud-backend\ncd iot-cloud-backend\nwget https://download.oracle.com/java/17/latest/jdk-17_linux-aarch64_bin.tar.gz\ntar -zxvf jdk-17_linux-aarch64_bin.tar.gz\n")),(0,r.yg)("h3",{id:"\u914d\u7f6e-java"},"\u914d\u7f6e java"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"vim /etc/profile\n\n# \u589e\u52a0\u5982\u4e0b\nexport JAVA_HOME=/root/iot-cloud-backend/jdk-17.0.8;\nexport PATH=$JAVA_HOME/bin:$PATH;\nexport CLASSPATH=.:$JAVA_HOME/lib;\n\n# \u4fdd\u5b58\u540e\nsource /etc/profile\n")),(0,r.yg)("h3",{id:"\u914d\u7f6e\u5e94\u7528\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf"},"\u914d\u7f6e\u5e94\u7528\u6240\u9700\u7684\u73af\u5883\u53d8\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"vim ~/.bash_profile\n\n# \u589e\u52a0\u5982\u4e0b\nexport IOT_MYSQL_HOST=127.0.0.1\nexport IOT_MYSQL_PORT=13306\n# HIVEMQ_HOME=/Users/weic/Documents/GITREP/GITHUB/net-cloud-backend/hivemq\nexport IOT_ALIYUN_KEY=xxx\nexport IOT_ALIYUN_SECRET=xxx\nexport IOT_SMS_REAL=0\n\n#\u4fdd\u5b58\u540e\nsource /etc/profile\n")),(0,r.yg)("h3",{id:"\u521b\u5efa-hivemq-\u6587\u4ef6\u5939"},"\u521b\u5efa hivemq \u6587\u4ef6\u5939"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"mkdir -p /root/iot-cloud-backend/hivemq/embedded-config-folder\nmkdir -p /root/iot-cloud-backend/hivemq/embedded-data-folder\nmkdir -p /root/iot-cloud-backend/hivemq/embedded-extensions-folder\n# config\u4e0b\u9762\u6709\u4e09\u4e2a\u914d\u7f6e\u6587\u4ef6\u9700\u8981\u4f20\u8fc7\u53bb\n\n")),(0,r.yg)("h3",{id:"\u542f\u52a8\u5e94\u7528"},"\u542f\u52a8\u5e94\u7528"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u542f\u52a8\njava -jar application-0.0.1-SNAPSHOT.jar > iot-cloud-backend.log &\n")),(0,r.yg)("h3",{id:"\u542f\u52a8\u811a\u672c"},"\u542f\u52a8\u811a\u672c"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#!/bin/sh\n# \u67e5\u627eJava\u8fdb\u7a0b\uff0c\u5e76\u5c06\u7ed3\u679c\u4fdd\u5b58\u5230\u53d8\u91cf\u4e2d\njava_pid=$(ps aux | grep java | grep application | grep -v grep | awk \'{print $2}\')\n\nif [ -n "$java_pid" ]; then\n echo "\u5df2\u5b58\u5728 $java_pid"\nelse\n java -jar application-0.0.1-SNAPSHOT.jar > net-cloud-backend.log &\n echo "\u542f\u52a8\u4e2d..."\n tail -f net-cloud-backend.log\nfi\n')),(0,r.yg)("h3",{id:"\u505c\u6b62\u811a\u672c"},"\u505c\u6b62\u811a\u672c"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#!/bin/sh\n\n# \u67e5\u627eJava\u8fdb\u7a0b\uff0c\u5e76\u5c06\u7ed3\u679c\u4fdd\u5b58\u5230\u53d8\u91cf\u4e2d\njava_pid=$(ps aux | grep java | grep application | grep -v grep | awk \'{print $2}\')\n\nif [ -n "$java_pid" ]; then\n echo "\u6b63\u5728\u7ec8\u6b62Java\u8fdb\u7a0b $java_pid"\n kill -9 $java_pid\n echo "Java\u8fdb\u7a0b\u5df2\u7ec8\u6b62"\nelse\n echo "\u672a\u627e\u5230Java\u8fdb\u7a0b"\nfi\n')))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/350be966.c0e831be.js b/assets/js/350be966.a38341bf.js similarity index 98% rename from assets/js/350be966.c0e831be.js rename to assets/js/350be966.a38341bf.js index e7f317cd0..7ff5a84a2 100644 --- a/assets/js/350be966.c0e831be.js +++ b/assets/js/350be966.a38341bf.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[767],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=o,y=s["".concat(u,".").concat(d)]||s[d]||f[d]||c;return r?n.createElement(y,a(a({ref:t},p),{},{components:r})):n.createElement(y,a({ref:t},p))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[s]="string"==typeof e?e:o,a[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>f,frontMatter:()=>c,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const c={},a="Linux tc",i={unversionedId:"study/net/tc",id:"study/net/tc",title:"Linux tc",description:"tc \u662f Linux \u7cfb\u7edf\u4e0b\u7684\u6d41\u91cf\u63a7\u5236\u5de5\u5177\uff0c\u5168\u79f0 Traffic Control\uff0c\u7528\u4e8e\u914d\u7f6e\u548c\u63a7\u5236\u7f51\u7edc\u6d41\u91cf\u3002\u5b83\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u914d\u7f6e\u548c\u8c03\u6574\u5404\u79cd\u7f51\u7edc\u63a5\u53e3\u7684\u6d41\u91cf\u63a7\u5236\u53c2\u6570\uff0c\u5982\u5e26\u5bbd\u9650\u5236\u3001\u5ef6\u8fdf\u3001\u4e22\u5305\u7387\u7b49\u3002",source:"@site/docs/study/net/tc.md",sourceDirName:"study/net",slug:"/study/net/tc",permalink:"/docs/study/net/tc",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"route",permalink:"/docs/study/net/route"},next:{title:"tuntap",permalink:"/docs/study/net/tuntap"}},u={},l=[],p={toc:l},s="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"linux-tc"},"Linux tc"),(0,o.yg)("p",null,"tc \u662f Linux \u7cfb\u7edf\u4e0b\u7684\u6d41\u91cf\u63a7\u5236\u5de5\u5177\uff0c\u5168\u79f0 Traffic Control\uff0c\u7528\u4e8e\u914d\u7f6e\u548c\u63a7\u5236\u7f51\u7edc\u6d41\u91cf\u3002\u5b83\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u914d\u7f6e\u548c\u8c03\u6574\u5404\u79cd\u7f51\u7edc\u63a5\u53e3\u7684\u6d41\u91cf\u63a7\u5236\u53c2\u6570\uff0c\u5982\u5e26\u5bbd\u9650\u5236\u3001\u5ef6\u8fdf\u3001\u4e22\u5305\u7387\u7b49\u3002"))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[767],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=o,y=s["".concat(u,".").concat(d)]||s[d]||f[d]||c;return r?n.createElement(y,a(a({ref:t},p),{},{components:r})):n.createElement(y,a({ref:t},p))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[s]="string"==typeof e?e:o,a[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>f,frontMatter:()=>c,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const c={},a="Linux tc",i={unversionedId:"study/net/tc",id:"study/net/tc",title:"Linux tc",description:"tc \u662f Linux \u7cfb\u7edf\u4e0b\u7684\u6d41\u91cf\u63a7\u5236\u5de5\u5177\uff0c\u5168\u79f0 Traffic Control\uff0c\u7528\u4e8e\u914d\u7f6e\u548c\u63a7\u5236\u7f51\u7edc\u6d41\u91cf\u3002\u5b83\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u914d\u7f6e\u548c\u8c03\u6574\u5404\u79cd\u7f51\u7edc\u63a5\u53e3\u7684\u6d41\u91cf\u63a7\u5236\u53c2\u6570\uff0c\u5982\u5e26\u5bbd\u9650\u5236\u3001\u5ef6\u8fdf\u3001\u4e22\u5305\u7387\u7b49\u3002",source:"@site/docs/study/net/tc.md",sourceDirName:"study/net",slug:"/study/net/tc",permalink:"/docs/study/net/tc",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"route",permalink:"/docs/study/net/route"},next:{title:"tuntap",permalink:"/docs/study/net/tuntap"}},u={},l=[],p={toc:l},s="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"linux-tc"},"Linux tc"),(0,o.yg)("p",null,"tc \u662f Linux \u7cfb\u7edf\u4e0b\u7684\u6d41\u91cf\u63a7\u5236\u5de5\u5177\uff0c\u5168\u79f0 Traffic Control\uff0c\u7528\u4e8e\u914d\u7f6e\u548c\u63a7\u5236\u7f51\u7edc\u6d41\u91cf\u3002\u5b83\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u914d\u7f6e\u548c\u8c03\u6574\u5404\u79cd\u7f51\u7edc\u63a5\u53e3\u7684\u6d41\u91cf\u63a7\u5236\u53c2\u6570\uff0c\u5982\u5e26\u5bbd\u9650\u5236\u3001\u5ef6\u8fdf\u3001\u4e22\u5305\u7387\u7b49\u3002"))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/359d7f17.eea77c11.js b/assets/js/359d7f17.17d1fea0.js similarity index 98% rename from assets/js/359d7f17.eea77c11.js rename to assets/js/359d7f17.17d1fea0.js index 3c9691231..cfd91706f 100644 --- a/assets/js/359d7f17.eea77c11.js +++ b/assets/js/359d7f17.17d1fea0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2855],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241114",id:"study/stock/20241114",title:"20241114",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241114.md",sourceDirName:"study/stock",slug:"/study/stock/20241114",permalink:"/docs/study/stock/20241114",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"--- \u4eca\u5929\u5927\u76d8\u5355\u8fb9\u4e0b\u8dcc\uff0c\u6536\u76d8 -1.73%\uff0c\u521b\u4e1a\u677f\u5927\u8dcc-3.40%"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e09\u6210\uff0c+3%\u5356\u51fa\u4e09\u6210 --- \u5355\u8fb9\u4e0b\u8dcc\uff0c\u6700\u9ad8 0.56%"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a-1%\uff0c\u4e70\u5165\u4e00\u534a ---\u4e70\u5165\u6210\u529f\uff0c\u5355\u8fb9\u4e0b\u8dcc\uff0c\u6700\u4f4e-3.67%"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a-1%\uff0c\u4e70\u5165\u4e00\u534a --- \u4e70\u5165\u6210\u529f\uff0c\u5355\u8fb9\u4e0b\u8dcc\uff0c\u6700\u4f4e-3.58"),(0,o.yg)("p",null,"--- \u53f0\u79ef\u7535\u65ad\u4f9b 7nm\uff0c\u5bfc\u81f4\u4eca\u5929\u7684\u4e0b\u8dcc\u4e48\uff1f"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u8010\u5fc3\u7b49\u5f85"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u8010\u5fc3\u7b49\u5f85"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u8010\u5fc3\u7b49\u5f85"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2855],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241114",id:"study/stock/20241114",title:"20241114",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241114.md",sourceDirName:"study/stock",slug:"/study/stock/20241114",permalink:"/docs/study/stock/20241114",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"--- \u4eca\u5929\u5927\u76d8\u5355\u8fb9\u4e0b\u8dcc\uff0c\u6536\u76d8 -1.73%\uff0c\u521b\u4e1a\u677f\u5927\u8dcc-3.40%"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e09\u6210\uff0c+3%\u5356\u51fa\u4e09\u6210 --- \u5355\u8fb9\u4e0b\u8dcc\uff0c\u6700\u9ad8 0.56%"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a-1%\uff0c\u4e70\u5165\u4e00\u534a ---\u4e70\u5165\u6210\u529f\uff0c\u5355\u8fb9\u4e0b\u8dcc\uff0c\u6700\u4f4e-3.67%"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a-1%\uff0c\u4e70\u5165\u4e00\u534a --- \u4e70\u5165\u6210\u529f\uff0c\u5355\u8fb9\u4e0b\u8dcc\uff0c\u6700\u4f4e-3.58"),(0,o.yg)("p",null,"--- \u53f0\u79ef\u7535\u65ad\u4f9b 7nm\uff0c\u5bfc\u81f4\u4eca\u5929\u7684\u4e0b\u8dcc\u4e48\uff1f"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u8010\u5fc3\u7b49\u5f85"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u8010\u5fc3\u7b49\u5f85"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u8010\u5fc3\u7b49\u5f85"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/35b5dc5a.7044fd55.js b/assets/js/35b5dc5a.4c512060.js similarity index 98% rename from assets/js/35b5dc5a.7044fd55.js rename to assets/js/35b5dc5a.4c512060.js index a5e457495..0686220a4 100644 --- a/assets/js/35b5dc5a.7044fd55.js +++ b/assets/js/35b5dc5a.4c512060.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[385],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),d=o,f=s["".concat(l,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/net/\u4ee3\u7406",id:"study/net/\u4ee3\u7406",title:"\u4ee3\u7406",description:"\u53c2\u8003",source:"@site/docs/study/net/\u4ee3\u7406.md",sourceDirName:"study/net",slug:"/study/net/\u4ee3\u7406",permalink:"/docs/study/net/\u4ee3\u7406",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"vpn",permalink:"/docs/study/net/vpn"},next:{title:"\u5185\u7f51\u7a7f\u900f",permalink:"/docs/study/net/\u5185\u7f51\u7a7f\u900f"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.revincx.icu/posts/proxy-summary/"},"\u5173\u4e8e\u300e\u4ee3\u7406\u300f\u7684\u4e0d\u5b8c\u5168\u4f7f\u7528\u6307\u5317"),(0,o.yg)("ul",{parentName:"li"},(0,o.yg)("li",{parentName:"ul"},"\u4ee3\u7406\u548c vpn \u8fd8\u662f\u6709\u5f88\u5927\u533a\u522b\u7684")))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[385],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),d=o,f=s["".concat(l,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/net/\u4ee3\u7406",id:"study/net/\u4ee3\u7406",title:"\u4ee3\u7406",description:"\u53c2\u8003",source:"@site/docs/study/net/\u4ee3\u7406.md",sourceDirName:"study/net",slug:"/study/net/\u4ee3\u7406",permalink:"/docs/study/net/\u4ee3\u7406",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"vpn",permalink:"/docs/study/net/vpn"},next:{title:"\u5185\u7f51\u7a7f\u900f",permalink:"/docs/study/net/\u5185\u7f51\u7a7f\u900f"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.revincx.icu/posts/proxy-summary/"},"\u5173\u4e8e\u300e\u4ee3\u7406\u300f\u7684\u4e0d\u5b8c\u5168\u4f7f\u7528\u6307\u5317"),(0,o.yg)("ul",{parentName:"li"},(0,o.yg)("li",{parentName:"ul"},"\u4ee3\u7406\u548c vpn \u8fd8\u662f\u6709\u5f88\u5927\u533a\u522b\u7684")))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/35d73bf2.2f3c5013.js b/assets/js/35d73bf2.1f162ece.js similarity index 98% rename from assets/js/35d73bf2.2f3c5013.js rename to assets/js/35d73bf2.1f162ece.js index 8a78fdabe..a56655357 100644 --- a/assets/js/35d73bf2.2f3c5013.js +++ b/assets/js/35d73bf2.1f162ece.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2747],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(r),y=o,f=u["".concat(l,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},s),{},{components:r})):n.createElement(f,i({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",id:"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",title:"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",description:"\u53c2\u8003",source:"@site/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177.md",sourceDirName:"study/think/\u4ee3\u7801\u8bc4\u5ba1",slug:"/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"IT_CT_OT",permalink:"/docs/study/think/IT_CT_OT"},next:{title:"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weihao_/article/details/109636572"},"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.pianshen.com/article/23571578417/"},"15\u4e2a\u6700\u4f73\u7684\u4ee3\u7801\u8bc4\u5ba1\uff08Code Review\uff09\u5de5\u5177"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2747],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(r),y=o,f=u["".concat(l,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},s),{},{components:r})):n.createElement(f,i({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",id:"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",title:"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",description:"\u53c2\u8003",source:"@site/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177.md",sourceDirName:"study/think/\u4ee3\u7801\u8bc4\u5ba1",slug:"/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"IT_CT_OT",permalink:"/docs/study/think/IT_CT_OT"},next:{title:"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weihao_/article/details/109636572"},"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.pianshen.com/article/23571578417/"},"15\u4e2a\u6700\u4f73\u7684\u4ee3\u7801\u8bc4\u5ba1\uff08Code Review\uff09\u5de5\u5177"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/36351059.3b99ed37.js b/assets/js/36351059.4c214eb2.js similarity index 98% rename from assets/js/36351059.3b99ed37.js rename to assets/js/36351059.4c214eb2.js index aa671108f..5bad3415a 100644 --- a/assets/js/36351059.3b99ed37.js +++ b/assets/js/36351059.4c214eb2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1213],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),d=p(r),f=o,m=d["".concat(l,".").concat(f)]||d[f]||s[f]||a;return r?n.createElement(m,i(i({ref:t},u),{},{components:r})):n.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[d]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:7},i="\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406",c={unversionedId:"iotcloud/devicemanager/device-group",id:"iotcloud/devicemanager/device-group",title:"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406",description:"\u4e3a\u4ec0\u4e48\u9700\u8981\u8bbe\u8ba1\u8bbe\u5907\u5206\u7ec4\u8fd9\u4e2a\u529f\u80fd\uff1f",source:"@site/docs/iotcloud/devicemanager/device-group.md",sourceDirName:"iotcloud/devicemanager",slug:"/iotcloud/devicemanager/device-group",permalink:"/docs/iotcloud/devicemanager/device-group",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"iotCloudSidebar",previous:{title:"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-info"},next:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/usercenter/"}},l={},p=[],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406"},"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406"),(0,o.yg)("p",null,"\u4e3a\u4ec0\u4e48\u9700\u8981\u8bbe\u8ba1\u8bbe\u5907\u5206\u7ec4\u8fd9\u4e2a\u529f\u80fd\uff1f"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u592a\u591a\uff0c\u67e5\u8be2\u7684\u65f6\u5019\u5f88\u4e0d\u65b9\u4fbf\uff0c\u9700\u8981\u8bbe\u5907\u91cd\u65b0\u5f52\u7eb3\uff1b\u5982\u679c\u8bbe\u5907\u592a\u5c11\uff08\u4f4e\u4e8e 100\uff09\uff0c\u4f7f\u7528\u8fd9\u4e2a\u529f\u80fd\u610f\u4e49\u4e0d\u5927\u3002"),(0,o.yg)("li",{parentName:"ul"},"\u8fd8\u662f\u8bbe\u5907\u592a\u591a\uff0c\u5206\u914d\u6743\u9650\u7684\u65f6\u5019\uff0c\u4e0d\u597d\u5212\u5206\uff0c\u4e3b\u8981\u662f\u5206\u7ed9",(0,o.yg)("strong",{parentName:"li"},"\u5ba2\u6237"),"\u3001",(0,o.yg)("strong",{parentName:"li"},"\u7cfb\u7edf\u7528\u6237"),"\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e0b\u53ef\u4ee5\u76f4\u63a5\u5212\u5206",(0,o.yg)("strong",{parentName:"li"},"\u5206\u7ec4"),"\u7ed9\u4ed6\u4eec\uff0c\u8fd9\u6837\u8fd9\u4e2a\u5206\u7ec4\u4e0b\u9762\u7684\u8bbe\u5907\u7684\u589e\u5220\u4e5f\u4f1a\u76f4\u63a5\u5f71\u54cd\u5ba2\u6237\u548c\u7cfb\u7edf\u7528\u6237\u7684\u8bbe\u5907\u6743\u9650\u3002")))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1213],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),d=p(r),f=o,m=d["".concat(l,".").concat(f)]||d[f]||s[f]||a;return r?n.createElement(m,i(i({ref:t},u),{},{components:r})):n.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[d]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:7},i="\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406",c={unversionedId:"iotcloud/devicemanager/device-group",id:"iotcloud/devicemanager/device-group",title:"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406",description:"\u4e3a\u4ec0\u4e48\u9700\u8981\u8bbe\u8ba1\u8bbe\u5907\u5206\u7ec4\u8fd9\u4e2a\u529f\u80fd\uff1f",source:"@site/docs/iotcloud/devicemanager/device-group.md",sourceDirName:"iotcloud/devicemanager",slug:"/iotcloud/devicemanager/device-group",permalink:"/docs/iotcloud/devicemanager/device-group",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"iotCloudSidebar",previous:{title:"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-info"},next:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/usercenter/"}},l={},p=[],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406"},"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406"),(0,o.yg)("p",null,"\u4e3a\u4ec0\u4e48\u9700\u8981\u8bbe\u8ba1\u8bbe\u5907\u5206\u7ec4\u8fd9\u4e2a\u529f\u80fd\uff1f"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u592a\u591a\uff0c\u67e5\u8be2\u7684\u65f6\u5019\u5f88\u4e0d\u65b9\u4fbf\uff0c\u9700\u8981\u8bbe\u5907\u91cd\u65b0\u5f52\u7eb3\uff1b\u5982\u679c\u8bbe\u5907\u592a\u5c11\uff08\u4f4e\u4e8e 100\uff09\uff0c\u4f7f\u7528\u8fd9\u4e2a\u529f\u80fd\u610f\u4e49\u4e0d\u5927\u3002"),(0,o.yg)("li",{parentName:"ul"},"\u8fd8\u662f\u8bbe\u5907\u592a\u591a\uff0c\u5206\u914d\u6743\u9650\u7684\u65f6\u5019\uff0c\u4e0d\u597d\u5212\u5206\uff0c\u4e3b\u8981\u662f\u5206\u7ed9",(0,o.yg)("strong",{parentName:"li"},"\u5ba2\u6237"),"\u3001",(0,o.yg)("strong",{parentName:"li"},"\u7cfb\u7edf\u7528\u6237"),"\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e0b\u53ef\u4ee5\u76f4\u63a5\u5212\u5206",(0,o.yg)("strong",{parentName:"li"},"\u5206\u7ec4"),"\u7ed9\u4ed6\u4eec\uff0c\u8fd9\u6837\u8fd9\u4e2a\u5206\u7ec4\u4e0b\u9762\u7684\u8bbe\u5907\u7684\u589e\u5220\u4e5f\u4f1a\u76f4\u63a5\u5f71\u54cd\u5ba2\u6237\u548c\u7cfb\u7edf\u7528\u6237\u7684\u8bbe\u5907\u6743\u9650\u3002")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/36780c83.3041a19f.js b/assets/js/36780c83.4cea98c6.js similarity index 98% rename from assets/js/36780c83.3041a19f.js rename to assets/js/36780c83.4cea98c6.js index 6a5edc5dd..7a6044c04 100644 --- a/assets/js/36780c83.3041a19f.js +++ b/assets/js/36780c83.4cea98c6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9105],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):u(u({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,l=a(e,["components","mdxType","originalType","parentName"]),s=p(r),y=o,f=s["".concat(c,".").concat(y)]||s[y]||d[y]||i;return r?n.createElement(f,u(u({ref:t},l),{},{components:r})):n.createElement(f,u({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,u=new Array(i);u[0]=y;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=e,a[s]="string"==typeof e?e:o,u[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>u,default:()=>d,frontMatter:()=>i,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const i={},u=void 0,a={unversionedId:"study/devops/Linux\u8fd0\u7ef4-GRUB",id:"study/devops/Linux\u8fd0\u7ef4-GRUB",title:"Linux\u8fd0\u7ef4-GRUB",description:"GRUB",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-GRUB.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-GRUB",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u53d1\u884c\u7248",permalink:"/docs/study/devops/Linux\u53d1\u884c\u7248"},next:{title:"Linux\u8fd0\u7ef4-proc",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-proc"}},c={},p=[{value:"GRUB",id:"grub",level:3}],l={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"grub"},"GRUB"),(0,o.yg)("p",null,"/etc/default/grub\u662f\u4e00\u4e2a\u5728\u57fa\u4e8e Linux \u7684\u7cfb\u7edf\uff08\u5982 Ubuntu\u3001Debian \u7b49\uff09\u4e2d\u7528\u4e8e\u914d\u7f6e GRUB\uff08GRand Unified Bootloader\uff09\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u7684\u91cd\u8981\u6587\u4ef6\u3002GRUB \u662f\u5927\u591a\u6570 Linux \u7cfb\u7edf\u7528\u4e8e\u5f15\u5bfc\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u542f\u52a8\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u8bc6\u522b\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u548c\u5185\u6838\u7248\u672c\uff0c\u5e76\u5728\u542f\u52a8\u65f6\u63d0\u4f9b\u4e00\u4e2a\u83dc\u5355\u8ba9\u7528\u6237\u9009\u62e9\u542f\u52a8\u9879\u3002"),(0,o.yg)("p",null,"\u8fd9\u4e2a\u6587\u4ef6\u5305\u542b\u4e86\u8bb8\u591a\u7528\u4e8e\u5b9a\u5236 GRUB \u884c\u4e3a\u7684\u914d\u7f6e\u9009\u9879\uff0c\u8fd9\u4e9b\u9009\u9879\u4f1a\u5728\u7cfb\u7edf\u542f\u52a8\u8fc7\u7a0b\u4e2d\u88ab\u8bfb\u53d6\u5e76\u5e94\u7528\uff0c\u4ee5\u786e\u5b9a\u5982\u4f55\u52a0\u8f7d\u548c\u542f\u52a8\u5185\u6838\u4ee5\u53ca\u76f8\u5173\u7684\u521d\u59cb\u5316\u7a0b\u5e8f\u3002"),(0,o.yg)("p",null,"\u53ef\u4ee5\u8bbe\u7f6e\u5185\u6838\u53c2\u6570"),(0,o.yg)("p",null,"\u5982\u679cDocker info\u8fd4\u56deWARNING: No swap limit support \u53ef\u4ee5\u901a\u8fc7\u6b64\u8bbe\u7f6e\u89e3\u51b3"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9105],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):u(u({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,l=a(e,["components","mdxType","originalType","parentName"]),s=p(r),y=o,f=s["".concat(c,".").concat(y)]||s[y]||d[y]||i;return r?n.createElement(f,u(u({ref:t},l),{},{components:r})):n.createElement(f,u({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,u=new Array(i);u[0]=y;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=e,a[s]="string"==typeof e?e:o,u[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>u,default:()=>d,frontMatter:()=>i,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const i={},u=void 0,a={unversionedId:"study/devops/Linux\u8fd0\u7ef4-GRUB",id:"study/devops/Linux\u8fd0\u7ef4-GRUB",title:"Linux\u8fd0\u7ef4-GRUB",description:"GRUB",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-GRUB.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-GRUB",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u53d1\u884c\u7248",permalink:"/docs/study/devops/Linux\u53d1\u884c\u7248"},next:{title:"Linux\u8fd0\u7ef4-proc",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-proc"}},c={},p=[{value:"GRUB",id:"grub",level:3}],l={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"grub"},"GRUB"),(0,o.yg)("p",null,"/etc/default/grub\u662f\u4e00\u4e2a\u5728\u57fa\u4e8e Linux \u7684\u7cfb\u7edf\uff08\u5982 Ubuntu\u3001Debian \u7b49\uff09\u4e2d\u7528\u4e8e\u914d\u7f6e GRUB\uff08GRand Unified Bootloader\uff09\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u7684\u91cd\u8981\u6587\u4ef6\u3002GRUB \u662f\u5927\u591a\u6570 Linux \u7cfb\u7edf\u7528\u4e8e\u5f15\u5bfc\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u542f\u52a8\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u8bc6\u522b\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u548c\u5185\u6838\u7248\u672c\uff0c\u5e76\u5728\u542f\u52a8\u65f6\u63d0\u4f9b\u4e00\u4e2a\u83dc\u5355\u8ba9\u7528\u6237\u9009\u62e9\u542f\u52a8\u9879\u3002"),(0,o.yg)("p",null,"\u8fd9\u4e2a\u6587\u4ef6\u5305\u542b\u4e86\u8bb8\u591a\u7528\u4e8e\u5b9a\u5236 GRUB \u884c\u4e3a\u7684\u914d\u7f6e\u9009\u9879\uff0c\u8fd9\u4e9b\u9009\u9879\u4f1a\u5728\u7cfb\u7edf\u542f\u52a8\u8fc7\u7a0b\u4e2d\u88ab\u8bfb\u53d6\u5e76\u5e94\u7528\uff0c\u4ee5\u786e\u5b9a\u5982\u4f55\u52a0\u8f7d\u548c\u542f\u52a8\u5185\u6838\u4ee5\u53ca\u76f8\u5173\u7684\u521d\u59cb\u5316\u7a0b\u5e8f\u3002"),(0,o.yg)("p",null,"\u53ef\u4ee5\u8bbe\u7f6e\u5185\u6838\u53c2\u6570"),(0,o.yg)("p",null,"\u5982\u679cDocker info\u8fd4\u56deWARNING: No swap limit support \u53ef\u4ee5\u901a\u8fc7\u6b64\u8bbe\u7f6e\u89e3\u51b3"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3790afcd.21b7fcd7.js b/assets/js/3790afcd.792ee6e6.js similarity index 98% rename from assets/js/3790afcd.21b7fcd7.js rename to assets/js/3790afcd.792ee6e6.js index 0d8e050e4..47a1b46f0 100644 --- a/assets/js/3790afcd.21b7fcd7.js +++ b/assets/js/3790afcd.792ee6e6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3114],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>y});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function c(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var s=r.createContext({}),l=function(e){var n=r.useContext(s),t=n;return e&&(t="function"==typeof e?e(n):c(c({},n),e)),t},p=function(e){var n=l(e.components);return r.createElement(s.Provider,{value:n},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},m=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=l(t),m=a,y=u["".concat(s,".").concat(m)]||u[m]||d[m]||o;return t?r.createElement(y,c(c({ref:n},p),{},{components:t})):r.createElement(y,c({ref:n},p))}));function y(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,c=new Array(o);c[0]=m;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[u]="string"==typeof e?e:a,c[1]=i;for(var l=2;l{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var r=t(58168),a=(t(96540),t(15680));const o={},c=void 0,i={unversionedId:"study/back/IEDA/Maven",id:"study/back/IEDA/Maven",title:"Maven",description:"Maven \u5728 IDEA \u7684\u6700\u4f73\u914d\u7f6e",source:"@site/docs/study/back/IEDA/Maven.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/Maven",permalink:"/docs/study/back/IEDA/Maven",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenResty",permalink:"/docs/study/back/API\u7f51\u5173/OpenResty"},next:{title:"encoding",permalink:"/docs/study/back/IEDA/encoding"}},s={},l=[{value:"Maven \u5728 IDEA \u7684\u6700\u4f73\u914d\u7f6e",id:"maven-\u5728-idea-\u7684\u6700\u4f73\u914d\u7f6e",level:3},{value:"\u6ce8\u610f settings.xml \u7684\u4e00\u4e9b\u914d\u7f6e",id:"\u6ce8\u610f-settingsxml-\u7684\u4e00\u4e9b\u914d\u7f6e",level:3}],p={toc:l},u="wrapper";function d(e){let{components:n,...o}=e;return(0,a.yg)(u,(0,r.A)({},p,o,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"maven-\u5728-idea-\u7684\u6700\u4f73\u914d\u7f6e"},"Maven \u5728 IDEA \u7684\u6700\u4f73\u914d\u7f6e"),(0,a.yg)("p",null,"\u56e2\u961f\u56fa\u5b9a\u4f7f\u7528\u67d0\u4e2a\u7248\u672c\u7684 Maven\uff0c\u81ea\u884c\u5728\u5b98\u7f51\u4e0b\u8f7d ",(0,a.yg)("a",{parentName:"p",href:"https://maven.apache.org/download.cgi"},"https://maven.apache.org/download.cgi")),(0,a.yg)("p",null,"\u5728 IDEA \u4e2d\u8bbe\u7f6e"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"maven",src:t(94517).A,width:"1136",height:"781"})),(0,a.yg)("h3",{id:"\u6ce8\u610f-settingsxml-\u7684\u4e00\u4e9b\u914d\u7f6e"},"\u6ce8\u610f settings.xml \u7684\u4e00\u4e9b\u914d\u7f6e"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-xml"},"\nD:\\soft\\.m2\\repository\n\n\n xx-nexus\n admin\n 123456\n\n\n\x3c!-- \u963f\u91cc\u955c\u50cf\u5730\u5740 --\x3e\n\n alimaven\n aliyun maven\n http://maven.aliyun.com/nexus/content/repositories/central/\n central\n\n\n")))}d.isMDXComponent=!0},94517:(e,n,t)=>{t.d(n,{A:()=>r});const r=t.p+"assets/images/ideamaven-d7219c23020ea19ec135e3c90a316aa2.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3114],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>y});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function c(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var s=r.createContext({}),l=function(e){var n=r.useContext(s),t=n;return e&&(t="function"==typeof e?e(n):c(c({},n),e)),t},p=function(e){var n=l(e.components);return r.createElement(s.Provider,{value:n},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},m=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=l(t),m=a,y=u["".concat(s,".").concat(m)]||u[m]||d[m]||o;return t?r.createElement(y,c(c({ref:n},p),{},{components:t})):r.createElement(y,c({ref:n},p))}));function y(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,c=new Array(o);c[0]=m;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[u]="string"==typeof e?e:a,c[1]=i;for(var l=2;l{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var r=t(58168),a=(t(96540),t(15680));const o={},c=void 0,i={unversionedId:"study/back/IEDA/Maven",id:"study/back/IEDA/Maven",title:"Maven",description:"Maven \u5728 IDEA \u7684\u6700\u4f73\u914d\u7f6e",source:"@site/docs/study/back/IEDA/Maven.md",sourceDirName:"study/back/IEDA",slug:"/study/back/IEDA/Maven",permalink:"/docs/study/back/IEDA/Maven",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenResty",permalink:"/docs/study/back/API\u7f51\u5173/OpenResty"},next:{title:"encoding",permalink:"/docs/study/back/IEDA/encoding"}},s={},l=[{value:"Maven \u5728 IDEA \u7684\u6700\u4f73\u914d\u7f6e",id:"maven-\u5728-idea-\u7684\u6700\u4f73\u914d\u7f6e",level:3},{value:"\u6ce8\u610f settings.xml \u7684\u4e00\u4e9b\u914d\u7f6e",id:"\u6ce8\u610f-settingsxml-\u7684\u4e00\u4e9b\u914d\u7f6e",level:3}],p={toc:l},u="wrapper";function d(e){let{components:n,...o}=e;return(0,a.yg)(u,(0,r.A)({},p,o,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"maven-\u5728-idea-\u7684\u6700\u4f73\u914d\u7f6e"},"Maven \u5728 IDEA \u7684\u6700\u4f73\u914d\u7f6e"),(0,a.yg)("p",null,"\u56e2\u961f\u56fa\u5b9a\u4f7f\u7528\u67d0\u4e2a\u7248\u672c\u7684 Maven\uff0c\u81ea\u884c\u5728\u5b98\u7f51\u4e0b\u8f7d ",(0,a.yg)("a",{parentName:"p",href:"https://maven.apache.org/download.cgi"},"https://maven.apache.org/download.cgi")),(0,a.yg)("p",null,"\u5728 IDEA \u4e2d\u8bbe\u7f6e"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"maven",src:t(94517).A,width:"1136",height:"781"})),(0,a.yg)("h3",{id:"\u6ce8\u610f-settingsxml-\u7684\u4e00\u4e9b\u914d\u7f6e"},"\u6ce8\u610f settings.xml \u7684\u4e00\u4e9b\u914d\u7f6e"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-xml"},"\nD:\\soft\\.m2\\repository\n\n\n xx-nexus\n admin\n 123456\n\n\n\x3c!-- \u963f\u91cc\u955c\u50cf\u5730\u5740 --\x3e\n\n alimaven\n aliyun maven\n http://maven.aliyun.com/nexus/content/repositories/central/\n central\n\n\n")))}d.isMDXComponent=!0},94517:(e,n,t)=>{t.d(n,{A:()=>r});const r=t.p+"assets/images/ideamaven-d7219c23020ea19ec135e3c90a316aa2.png"}}]); \ No newline at end of file diff --git a/assets/js/3815e5ff.b3a142aa.js b/assets/js/3815e5ff.bec1b795.js similarity index 99% rename from assets/js/3815e5ff.b3a142aa.js rename to assets/js/3815e5ff.bec1b795.js index 33c660487..7d37b09a9 100644 --- a/assets/js/3815e5ff.b3a142aa.js +++ b/assets/js/3815e5ff.bec1b795.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1366],{15680:(e,n,l)=>{l.d(n,{xA:()=>u,yg:()=>s});var t=l(96540);function a(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function r(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,t)}return l}function p(e){for(var n=1;n=0||(a[l]=e[l]);return a}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}var i=t.createContext({}),y=function(e){var n=t.useContext(i),l=n;return e&&(l="function"==typeof e?e(n):p(p({},n),e)),l},u=function(e){var n=y(e.components);return t.createElement(i.Provider,{value:n},e.children)},o="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},d=t.forwardRef((function(e,n){var l=e.components,a=e.mdxType,r=e.originalType,i=e.parentName,u=g(e,["components","mdxType","originalType","parentName"]),o=y(l),d=a,s=o["".concat(i,".").concat(d)]||o[d]||m[d]||r;return l?t.createElement(s,p(p({ref:n},u),{},{components:l})):t.createElement(s,p({ref:n},u))}));function s(e,n){var l=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var r=l.length,p=new Array(r);p[0]=d;var g={};for(var i in n)hasOwnProperty.call(n,i)&&(g[i]=n[i]);g.originalType=e,g[o]="string"==typeof e?e:a,p[1]=g;for(var y=2;y{l.r(n),l.d(n,{assets:()=>i,contentTitle:()=>p,default:()=>m,frontMatter:()=>r,metadata:()=>g,toc:()=>y});var t=l(58168),a=(l(96540),l(15680));const r={},p=void 0,g={unversionedId:"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97",id:"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97",title:"\u8c08\u5de5\u4f5c\u5fc3\u5f97",description:"\u5236\u5b9a\u539f\u5219\uff1a\u624b\u4e2d\u65e0\u5200\uff0c\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200",source:"@site/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97.md",sourceDirName:"study/think",slug:"/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97",permalink:"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5206\u5e03\u5f0f\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58"},next:{title:"\u9650\u6d41",permalink:"/docs/study/think/\u9650\u6d41"}},i={},y=[{value:"\u5236\u5b9a\u539f\u5219\uff1a\u624b\u4e2d\u65e0\u5200\uff0c\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200",id:"\u5236\u5b9a\u539f\u5219\u624b\u4e2d\u65e0\u5200\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200",level:3},{value:"\u6280\u672f\u56e2\u961f\u6210\u9f99\u6210\u866b\u7684\u79d8\u8bc0",id:"\u6280\u672f\u56e2\u961f\u6210\u9f99\u6210\u866b\u7684\u79d8\u8bc0",level:3},{value:"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94",id:"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94",level:4},{value:"\u613f\u666f\u521d\u5fc3\u5f88\u91cd\u8981\u3002",id:"\u613f\u666f\u521d\u5fc3\u5f88\u91cd\u8981",level:4},{value:"\u4e13\u4e1a\u7684\u4eba\u505a\u4e13\u4e1a\u7684\u4e8b",id:"\u4e13\u4e1a\u7684\u4eba\u505a\u4e13\u4e1a\u7684\u4e8b",level:3},{value:"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u603b\u7ed3",id:"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u603b\u7ed3",level:3},{value:"\u6ca1\u6709\u9884\u89c1\u6027\u4f60\u51ed\u4ec0\u4e48\u664b\u5347",id:"\u6ca1\u6709\u9884\u89c1\u6027\u4f60\u51ed\u4ec0\u4e48\u664b\u5347",level:3},{value:"\u4ec0\u4e48\u662f\u9884\u89c1\u6027\uff1f",id:"\u4ec0\u4e48\u662f\u9884\u89c1\u6027",level:4},{value:"\u6211\u53f8\u7814\u53d1\u6587\u5316=",id:"\u6211\u53f8\u7814\u53d1\u6587\u5316",level:3},{value:"Don't make me think",id:"dont-make-me-think",level:3},{value:"If it hurts, do it more and often",id:"if-it-hurts-do-it-more-and-often",level:3},{value:"\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b",id:"\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b",level:3},{value:"\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848",id:"\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848",level:3},{value:"DevOps \u65b0\u516b\u8363\u516b\u803b\uff0c\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce",id:"devops-\u65b0\u516b\u8363\u516b\u803b\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce",level:3},{value:"\u6838\u5fc3\u4e1a\u52a1\u6d41\u7a0b\u7684\u6545\u969c\u5904\u7406\u539f\u5219\uff1a\u4e0d\u53ef\u604b\u6218",id:"\u6838\u5fc3\u4e1a\u52a1\u6d41\u7a0b\u7684\u6545\u969c\u5904\u7406\u539f\u5219\u4e0d\u53ef\u604b\u6218",level:3},{value:"\u5f53\u6211\u4eec\u8c08\u91cd\u6784\u7684\u65f6\u5019\u6211\u4eec\u60f3\u8c08\u4ec0\u4e48",id:"\u5f53\u6211\u4eec\u8c08\u91cd\u6784\u7684\u65f6\u5019\u6211\u4eec\u60f3\u8c08\u4ec0\u4e48",level:3},{value:"\u8981\u719f\u7ec3\u638c\u63e1\u7684\u4e03\u4e2a\u4eba\u751f\u5de5\u5177",id:"\u8981\u719f\u7ec3\u638c\u63e1\u7684\u4e03\u4e2a\u4eba\u751f\u5de5\u5177",level:3},{value:"\u4e00\u3001SWOT\u5206\u6790\u6cd5\uff1a",id:"\u4e00swot\u5206\u6790\u6cd5",level:4},{value:"\u4e8c\u3001PDCA\u5faa\u73af\u89c4\u5219",id:"\u4e8cpdca\u5faa\u73af\u89c4\u5219",level:4},{value:"\u4e09\u30016W2H\u6cd5",id:"\u4e096w2h\u6cd5",level:4},{value:"\u56db\u3001SMART\u539f\u5219",id:"\u56dbsmart\u539f\u5219",level:4},{value:"\u4e94\u3001\u65f6\u95f4\u7ba1\u7406-\u91cd\u8981\u4e0e\u7d27\u6025",id:"\u4e94\u65f6\u95f4\u7ba1\u7406-\u91cd\u8981\u4e0e\u7d27\u6025",level:4},{value:"\u516d\u3001\u4efb\u52a1\u5206\u89e3\u6cd5WBS",id:"\u516d\u4efb\u52a1\u5206\u89e3\u6cd5wbs",level:4},{value:"\u4e03\u3001\u4e8c\u516b\u539f\u5219",id:"\u4e03\u4e8c\u516b\u539f\u5219",level:4},{value:"\u63d0\u9ad8\u63d0\u6d4b\u8d28\u91cf",id:"\u63d0\u9ad8\u63d0\u6d4b\u8d28\u91cf",level:3},{value:"\u5148\u5199\u6587\u6863\u518d\u5199\u4ee3\u7801",id:"\u5148\u5199\u6587\u6863\u518d\u5199\u4ee3\u7801",level:3},{value:"\u4e00\u4e2a\u7a0b\u5e8f\u5458\u7684\u4ef7\u503c\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b",id:"\u4e00\u4e2a\u7a0b\u5e8f\u5458\u7684\u4ef7\u503c\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b",level:3},{value:"\u6ce8\u610f\u6d41\u7a0b\u3001\u89c4\u8303",id:"\u6ce8\u610f\u6d41\u7a0b\u89c4\u8303",level:3}],u={toc:y},o="wrapper";function m(e){let{components:n,...l}=e;return(0,a.yg)(o,(0,t.A)({},u,l,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5236\u5b9a\u539f\u5219\u624b\u4e2d\u65e0\u5200\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200"},"\u5236\u5b9a\u539f\u5219\uff1a\u624b\u4e2d\u65e0\u5200\uff0c\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200"),(0,a.yg)("p",null,"\u8f6f\u4ef6\u5de5\u7a0b\u548c\u6280\u672f\u9886\u57df\u91cc\u867d\u8bf4\u6cd5\u65e0\u5b9a\u6cd5\uff0c\u9700\u6c42\u548c\u6d41\u7a0b\u968f\u4fbf\u600e\u4e48\u505a\u90fd\u53ef\u4ee5\uff0c\u4f46\u4e5f\u5e76\u975e\u53ef\u4ee5\u5929\u9a6c\u884c\u7a7a\u6063\u610f\u5984\u4e3a\uff0c\u7a0d\u4e0d\u7559\u610f\u5c31\u53ef\u80fd\u5929\u584c\u5730\u9677\u5899\u5012\u5c4b\u584c\uff0c\u917f\u6210\u4e0d\u53ef\u6536\u62fe\u4e4b\u60e8\u5267\u3002\u4e0b\u9762\u6211\u5c31\u8bf4\u9053\u8bf4\u9053\u3002"),(0,a.yg)("p",null,"2020\u5e741\u6708\u5e952\u6708\u521d\uff0c\u9996\u90fd\u533b\u79d1\u5927\u5b66\u9644\u5c5e\u590d\u5174\u533b\u9662\u51fa\u73b0\u533b\u62a4\u4eba\u5458\u611f\u67d3\u65b0\u51a0\u80ba\u708e\u4e8b\u4ef6\uff0c\u6700\u7ec8\u7d2f\u8ba1\u786e\u8bca34\u4eba\uff0c\u65e2\u6709\u533b\u62a4\u4e5f\u6709\u60a3\u8005\u548c\u5bb6\u5c5e\uff0c\u539f\u56e0\u4e5f\u975e\u5e38\u201c\u611f\u4eba\u201d\uff1a\u4e00\u4f4d\u6709\u6b66\u6c49\u63a5\u89e6\u53f2\u7684\u8001\u592a\u592a\uff0c\u672c\u6765\u5c5e\u4e8e\u201c\u65b0\u51a0\u80ba\u708e\u7591\u4f3c\u75c5\u4f8b\u201d\u5728\u53d1\u70ed\u95e8\u8bca\u770b\u75c5\uff0c\u4f46\u5374\u7a81\u53d1\u5947\u60f3\uff0c\u901a\u8fc7\u9662\u9886\u5bfc\u7684\u5173\u7cfb\uff0c\u6258\u5173\u7cfb\u627e\u5fc3\u5185\u79d1ICU\u4e3b\u4efb\u97e9\u67d0\uff0c\u6123\u662f\u4ece\u9632\u62a4\u68ee\u4e25\u7684\u53d1\u70ed\u95e8\u8bca\u75c5\u623f\u8f6c\u8fdb\u4e86\u4e91\u6de1\u98ce\u8f7b\u7684\u5fc3\u5185\u79d1ICU\uff0c\u7ed3\u679c\u6a2a\u626b\u4e00\u7247\u3002"),(0,a.yg)("p",null,"\u6211\u4e00\u76f4\u8bf4\uff0c\u5de5\u7a0b\u5e08\u56e2\u961f\u548c\u533b\u62a4\u56e2\u961f\u90fd\u662f\u4e13\u4e1a\u9886\u57df\u673a\u6784\uff0c\u7ba1\u7406\u65b9\u5f0f\u6709\u76f8\u4f3c\u4e4b\u5904\u3002\u90a3\u4e48\u5728\u8fd9\u4e2a\u6848\u4f8b\u91cc\uff0c\u7ba1\u7406\u8005\u72af\u4e86\u4ec0\u4e48\u9519\u8bef\uff1f\u5fc3\u4e2d\u65e0\u539f\u5219\uff01"),(0,a.yg)("p",null,"\u5fc3\u4e2d\u65e0\u539f\u5219\uff0c\u4f1a\u6709\u4e00\u767e\u4e07\u79cd\u6b7b\u6cd5\u3002"),(0,a.yg)("p",null,"\u539f\u5219\uff01\u4e13\u4e1a\u56e2\u961f\u7684\u7ba1\u7406\u8005\u5fc3\u4e2d\u4e00\u5b9a\u8981\u6709\u539f\u5219\uff0c\u4f60\u6709\u4e86\u539f\u5219\uff0c\u624d\u80fd\u8981\u6c42\u5927\u5bb6\u201c\u8bb2\u653f\u6cbb\uff0c\u5b88\u89c4\u77e9\u201d\uff01\u540c\u6837\uff0c\u5728\u505a\u8bbe\u8ba1\u7684\u65f6\u5019\uff0c\u5148\u628a\u8bbe\u8ba1\u613f\u666f\u3001\u8bbe\u8ba1\u5206\u9636\u6bb5\u76ee\u6807\u3001\u8bbe\u8ba1\u539f\u5219\u5199\u4e0b\u6765\uff0c\u5728\u6b64\u57fa\u7840\u4e0a\u753b\u5730\u4e3a\u7262\u518d\u505a\u8bbe\u8ba1\u63a8\u6f14\uff0c\u83ab\u8981\u5929\u9a6c\u884c\u7a7a\u6063\u610f\u5984\u4e3a\u3002\u624b\u4e2d\u65e0\u5200\uff0c\u5fc3\u4e2d\u6709\u5200\u3002"),(0,a.yg)("p",null,"\u4f5c\u4e3a\u7ba1\u7406\u8005\uff0c\u5982\u679c\u4e0d\u8bb2\u539f\u5219\uff0c\u6ca1\u6709\u89c4\u8303\uff0c\u65e0\u6cd5\u505a\u597d\u7ba1\u7406\u3002\u4e0b\u9762\u7684\u4eba\u4f1a\u65e0\u6240\u9002\u4ece\uff0c\u56e0\u4e3a\u539f\u5219\u5929\u5929\u53d8\uff0c\u4eca\u5929\u8fd9\u6837\uff0c\u660e\u5929\u53c8\u90a3\u6837\uff0c\u6beb\u65e0\u7ae0\u6cd5\u3002\u4e0b\u9762\u7684\u4eba\u4e0d\u77e5\u9053\u5f80\u54ea\u91cc\u91cd\u70b9\u4f7f\u52b2\uff0c\u4e8b\u60c5\u5c31\u4f1a\u53d8\u5f97\u4e00\u56e2\u7cdf\u3002"),(0,a.yg)("p",null,"\u4e0d\uff0c\u6ca1\u6709\u4ec0\u4e48\u6cd5\u65e0\u5b9a\u6cd5\uff0c\u6280\u672f\u7684\u4e16\u754c\u91cc\u4e00\u5b9a\u662f\u6709\u6cd5\u5219\u7684\uff0c\u5426\u5219\u4f60\u4f1a\u6b7b\u5f97\u5f88\u96be\u770b\uff0c\u522b\u6307\u671b\u6211\u6765\u6551\u4f60\uff0c\u6211\u6551\u90fd\u6551\u4e0d\u8d62\u3002"),(0,a.yg)("p",null,"You\uff01Leaders\uff01\u4e00\u5b9a\u8981\u901a\u8fc7\u5c42\u5c42\u53e0\u52a0\u7684\u201cRules\u201d\u5efa\u7acb\u8d77\u672c\u80fd\u53cd\u5e94\uff0c\u4e00\u9047\u5230\u7c7b\u4f3c\u7684\u4e8b\u60c5\uff0c\u5e94\u6fc0\u822c\u7684\u5c31\u77e5\u9053\u8be5\u600e\u4e48\u8bbe\u8ba1\uff0c\u600e\u4e48\u884c\u52a8\uff0c\u600e\u4e48\u6551\u706b\u3002\n\u800c\u8fd9\u4e9b\u201cRules\u201d\u662f\u7ecf\u5386\u4e86\u8840\u4e0e\u706b\u7684\u6d17\u793c\u94f8\u9020\u7684\uff0c\u6bcf\u4e00\u6761\u90fd\u6709\u6765\u7531\u6709\u53bb\u8def\u3002\n\u6bd4\u5982\u8bf4\uff0c\u6211\u57282018\u5e74\u5b9a\u4e49\u7684 DevOps \u65b0\u516b\u8363\u516b\u803b\uff0c\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u968f\u65f6\u53ef\u6269\u5bb9\u3001\u53ef\u7f29\u5bb9\u3001\u53ef\u91cd\u542f\u3001\u53ef\u5207\u6362\u673a\u623f\u6d41\u91cf\u4e3a\u8363\uff0c\u4ee5\u4e0d\u80fd\u8fc1\u79fb\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u53ef\u914d\u7f6e\u4e3a\u8363\uff0c\u4ee5\u786c\u7f16\u7801\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u7cfb\u7edf\u4e92\u5907\u4e3a\u8363\uff0c\u4ee5\u7cfb\u7edf\u5355\u70b9\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u4ea4\u4ed8\u65f6\u6709\u76d1\u63a7\u62a5\u8b66\u4e3a\u8363\uff0c\u4ee5\u4ea4\u4ed8\u88f8\u5954\u7cfb\u7edf\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u65e0\u72b6\u6001\u4e3a\u8363\uff0c\u4ee5\u6709\u72b6\u6001\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u6807\u51c6\u5316\u4e3a\u8363\uff0c\u4ee5\u7279\u6b8a\u5316\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u81ea\u52a8\u5316\u5de5\u5177\u4e3a\u8363\uff0c\u4ee5\u4eba\u8089\u64cd\u4f5c\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u65e0\u4eba\u503c\u5b88\u4e3a\u8363\uff0c\u4ee5\u4eba\u5de5\u4ecb\u5165\u4e3a\u803b\u3002")),(0,a.yg)("p",null,"\xa0\n\u5982\u4f55\u81ea\u5efa\u6cd5\u5219\uff1f\n\u4ece\u9519\u8bef\u4e2d\u5b66\u4e60\u9519\u8bef\uff01"),(0,a.yg)("p",null,"\xa0\n\u300e\u5b66\u6821\u91cc\u5b66\u4e60\u6700\u597d\u7684\u5b66\u751f\u53ef\u80fd\u5f80\u5f80\u662f\u90a3\u4e9b\u6700\u4e0d\u5584\u4e8e\u4ece\u9519\u8bef\u4e2d\u5b66\u4e60\u7684\u4eba\uff0c\u56e0\u4e3a\u4ed6\u4eec\u5df2\u7ecf\u4e60\u60ef\u4e86\u628a\u9519\u9898\u5f53\u6210\u5931\u8d25\u7684\u4ee3\u540d\u8bcd\uff0c\u800c\u4e0d\u662f\u628a\u72af\u9519\u770b\u6210\u5b66\u4e60\u7684\u673a\u4f1a\uff0c\u8fd9\u53cd\u800c\u6210\u4e3a\u4ed6\u4eec\u8fdb\u6b65\u7684\u4e3b\u8981\u969c\u788d\u3002\u8d70\u5165\u793e\u4f1a\u4e4b\u540e\uff0c\u806a\u660e\u7684\u4eba\u5fc5\u987b\u5584\u4e8e\u62e5\u62b1\u81ea\u5df1\u7684\u9519\u8bef\u548c\u4e0d\u8db3\uff0c\u4ece\u800c\u80fd\u8fdc\u8fdc\u8d85\u8fc7\u90a3\u4e9b\u4e0e\u4ed6\u4eec\u6c34\u5e73\u76f8\u5f53\uff0c\u4f46\u66f4\u81ea\u8d1f\u7684\u540c\u5b66\u3001\u540c\u8f88\u3002\u300f\n\u8fd9\u4e5f\u5c31\u662f\u4e3a\u4ec0\u4e48\u5e73\u51e1\u4eba\u53ef\u4e3a\u975e\u51e1\u4e8b\u7684\u7f18\u6545\uff01\n\u300e\u4e0d\u8981\u60a3\u5f97\u60a3\u5931\uff0c\u8981\u671d\u7740\u76ee\u6807\u52aa\u529b\u524d\u884c\u3002\u8981\u81ea\u7701\u81ea\u8b66\uff0c\u522b\u4eba\u5bf9\u4f60\u5f88\u5230\u4f4d\u7684\u6279\u8bc4\uff0c\u662f\u4f60\u80fd\u5f97\u5230\u7684\u6700\u5b9d\u8d35\u7684\u5efa\u8bae\u3002\u60f3\u60f3\u770b\uff0c\u4f60\u7684\u6ed1\u96ea\u6559\u7ec3\u544a\u8bc9\u4f60\uff0c\u4f60\u6454\u8ddf\u5934\u662f\u56e0\u4e3a\u4f60\u6ed1\u884c\u4e2d\u7684\u91cd\u5fc3\u79fb\u52a8\u4e0d\u5bf9\uff0c\u6b64\u65f6\u4f60\u8981\u662f\u8ba4\u4e3a\u4ed6\u5728\u8d23\u9a82\u4f60\uff0c\u4f60\u8be5\u591a\u4e48\u611a\u8822\u548c\u4f4e\u6548\u3002\u540c\u7406\uff0c\u4f60\u7684\u4e0a\u53f8\uff0c\u6211\uff0c\u4e5f\u53ef\u80fd\u4f1a\u6307\u51fa\u4f60\u5de5\u4f5c\u4e2d\u7684\u7f3a\u70b9\uff0c\u6709\u5219\u6539\u4e4b\uff0c\u7ee7\u7eed\u52aa\u529b\u5c31\u662f\u4e86\u3002\u300f\n\u7b49\u6709\u4e00\u5929\u4f60\u4f9d\u636e\u672c\u80fd\uff08\u4e5f\u5c31\u662f\u4f60\u81ea\u5efa\u7684\u6cd5\u5219\uff09\u884c\u4e8b\u7684\u65f6\u5019\uff0c\u4f60\u80af\u5b9a\u4f1a\u628a\u4e8b\u60c5\u505a\u5f97\u5f88\u597d\uff01"),(0,a.yg)("h3",{id:"\u6280\u672f\u56e2\u961f\u6210\u9f99\u6210\u866b\u7684\u79d8\u8bc0"},"\u6280\u672f\u56e2\u961f\u6210\u9f99\u6210\u866b\u7684\u79d8\u8bc0"),(0,a.yg)("h4",{id:"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94"},"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94"),(0,a.yg)("p",null,"\u9519\u8bef\u4f1a\u6f14\u53d8\u6210\u4ec0\u4e48\uff0c\u53d6\u51b3\u4e8e\u4f60\u600e\u4e48\u770b\u5f85\u5b83\u3002\u4f60\u89c9\u5f97\u5b83\u662f\u7f9e\u803b\uff0c\u5e94\u8be5\u9690\u79d8\u4e8e\u4eba\uff0c\u6700\u597d\u7edd\u53e3\u4e0d\u63d0\uff0c\u90a3\u4e48\u5b83\u5c31\u4f1a\u53d8\u6210\u5b83\u5b83\u5b83\u5b83\u5b83\u5b83\u5b83\uff0c\u6700\u7ec8\u53d8\u6210\u5927\u707e\u96be\u3002\u4f60\u89c9\u5f97\u5b83\u662f\u8d22\u5bcc\uff0c\u662f\u7ec4\u7ec7\u8fdb\u6b65\u7684\u597d\u673a\u4f1a\uff0c\u662f\u63a8\u884c\u5de5\u5177\u548c\u89c4\u8303\u7684\u5207\u5165\u70b9\uff0c\u90a3\u4e48\u5b83\u5c31\u4f1a\u771f\u7684\u6210\u4e3a\u56e2\u961f\u7684\u4e0d\u53ef\u78e8\u706d\u7684\u4f20\u627f\uff0c\u6210\u4e3a\u5b9d\u8d35\u8d22\u5bcc\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u9519\u8bef\u7684\u89c2\u5bdf\u8005\u6548\u5e94\uff1a"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4f60\u8ba4\u4e3a\u9519\u8bef\u662f\u8d22\u5bcc\uff0c\u5b83\u5c31\u662f\u5b9d\u8d35\u8d22\u5bcc\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4f60\u8ba4\u4e3a\u9519\u8bef\u662f\u5931\u8d25\uff0c\u5b83\u7acb\u9a6c\u53d8\u6210\u707e\u96be\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\n\u5176\u5b9e\u8fd8\u6709\u4e00\u79cd\u89c2\u5bdf\u8005\u6548\u5e94\u3002\n"),"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94\uff1a**\n",(0,a.yg)("strong",{parentName:"p"},"\u4f60\u8ba4\u4e3a\u56e2\u961f\u662f\u8d22\u5bcc\uff0c\u5b83\u5c31\u662f\u8d22\u5bcc\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4f60\u8ba4\u4e3a\u56e2\u961f\u662f\u6210\u672c\u5305\u88b1\uff0c\u5b83\u7acb\u9a6c\u53d8\u8eab\u5305\u88b1\u3002")),(0,a.yg)("p",null,"2017\u5e74\uff0c\u6709\u8d5eCTO\u5d14\u7389\u677e\u8bf4\uff0c\u6211\u60f3\u6253\u9020\u51fa\u4e2d\u56fd\u6700\u597d\u7684\u6280\u672f\u56e2\u961f\u3002"),(0,a.yg)("blockquote",null,(0,a.yg)("p",{parentName:"blockquote"},"\u6280\u672f\u4e0a\uff0c\u6709\u8d5e\u8d70\u8fc7\u7684\u8def\u548c\u5927\u591a\u6570\u4ece\u5c0f\u5230\u5927\u7684\u521b\u4e1a\u516c\u53f8\u5dee\u4e0d\u591a\uff0c\u90fd\u662f\u524d\u671f\u4e13\u6ce8\u4e8e\u89e3\u51b3\u4e1a\u52a1\u95ee\u9898\uff0c\u6700\u540e\u67b6\u6784\u95ee\u9898\u5728\u67d0\u4e2a\u65f6\u95f4\u70b9\u96c6\u4e2d\u7206\u53d1\uff0c\u5bfc\u81f4\u5f88\u591a\u7684\u4e0d\u7a33\u5b9a\u3002\u8fd9\u4e00\u70b9\u4e0d\u7ba1\u662f\u963f\u91cc\u4e5f\u597d\uff0c\u4eac\u4e1c\u4e5f\u7f62\uff0c\u8fd8\u662f\u6700\u8fd1\u4ea4\u6d41\u7684\u4e00\u4e9b\u5176\u4ed6\u516c\u53f8\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\u4e00\u6837\u7684\uff0c\u53ea\u662f\u5927\u5bb6\u95ee\u9898\u7684\u4e25\u91cd\u7a0b\u5ea6\u548c\u89e3\u51b3\u95ee\u9898\u7684\u901f\u5ea6\u4e0d\u4e00\u6837\u3002",(0,a.yg)("strong",{parentName:"p"},"\u6709\u8d5e\u7684\u89e3\u51b3\u65b9\u6cd5\u548c\u5927\u5bb6\u4e5f\u6ca1\u4ec0\u4e48\u592a\u5927\u533a\u522b\uff0c\u5c31\u662f\u7ec4\u5efa\u4e00\u6d41\u5e95\u5c42\u6838\u5fc3\u67b6\u6784\u548c\u6838\u5fc3\u8fd0\u7ef4\u56e2\u961f\uff0c\u8fd9\u4e2a\u56e2\u961f\u5fc5\u987b\u5f97\u597d\uff0c\u4e0d\u7136\u89e3\u51b3\u95ee\u9898\u7684\u901f\u5ea6\u975e\u5e38\u975e\u5e38\u6162\uff0c\u6bcf\u5929\u90fd\u53ef\u80fd\u5b95\u673a\uff0c\u4f1a\u4e25\u91cd\u5f71\u54cd\u516c\u53f8\u4e1a\u52a1\u53ca\u6548\u76ca\u3002"),"\n\u65e5\u5e38\u4e1a\u52a1\u4e2d\uff0c\u6211\u4eec\u975e\u5e38\u9f13\u52b1\u5927\u5bb6\u76f8\u4e92\u8865\u4f4d\uff0c\u6709\u95ee\u9898\u53ca\u65f6\u5bfb\u627e\u8d44\u6e90\uff0c\u53ca\u65f6\u83b7\u53d6\u6709\u6548\u7684\u4fe1\u606f\uff0c\u9f13\u52b1\u5927\u5bb6\u9762\u5bf9\u9762\u628a\u4e8b\u60c5\u8bf4\u6e05\u695a\u3002\n\u2014\u20142017\uff0c\u6709\u8d5eCTO\u5d14\u7389\u677e\uff1a\u6211\u60f3\u6253\u9020\u51fa\u4e2d\u56fd\u6700\u597d\u7684\u6280\u672f\u56e2\u961f")),(0,a.yg)("p",null,"2020\u5e74\uff0c\u73b0\u5728\u6765\u770b\uff0c\u4ed6\u53ef\u80fd\u786e\u5b9e\u505a\u5230\u4e86\uff0c\u6709\u8d5e\u7684\u6280\u672f\u5e95\u8574\u975e\u5e38\u5f3a\u3002\u5f53\u7136\u4e0a\u9762\u8fd8\u6709\u4e00\u5c42\u7f8e\u56e2\uff0c\u518d\u4e0a\u9762\u8fd8\u6709\u4e00\u5c42\u963f\u91cc\u5df4\u5df4\u3002"),(0,a.yg)("h4",{id:"\u613f\u666f\u521d\u5fc3\u5f88\u91cd\u8981"},"\u613f\u666f\u521d\u5fc3\u5f88\u91cd\u8981\u3002"),(0,a.yg)("p",null,"\u6709\u7684\u4eba\u613f\u666f\u5c31\u662f\u6d3b\u4e0b\u53bb\uff0c\u90a3\u4e48\u5e74\u590d\u4e00\u5e74\u65e5\u590d\u4e00\u65e5\u59cb\u7ec8\u6323\u624e\u5728\u751f\u6b7b\u8fb9\u7f18\u3002\n\u6709\u7684\u4eba\u613f\u666f\u5c31\u662f\u7528\u4e09\u4e94\u4e2a\u4eba\u505a\u4e00\u4e2a\u8d5a\u94b1\u7684\u5c0f\u516c\u53f8\uff0c\u90a3\u4e48\u4e5f\u633a\u597d\uff0c\u4ed6\u80fd\u8fd9\u6837\u8fc7\u4e00\u8f88\u5b50\u3002\n\u6709\u7684\u4eba\u6ca1\u6709\u613f\u666f\uff0c\u6240\u4ee5\u4ed6\u6b7b\u4e86\u3002"),(0,a.yg)("p",null,"\xa0\n\u963f\u91cc\u5df4\u5df4\u7684\u201c",(0,a.yg)("strong",{parentName:"p"},"\u6b64\u65f6\u6b64\u523b\uff0c\u975e\u6211\u83ab\u5c5e"),"\u201d\u786e\u5b9e\u725b\u903c\uff0c99\u5e74\u5c31\u6709\u4e86\uff0c\u53ef\u4ee5\u8bf4\u662f\u963f\u91cc\u5df4\u5df4\u7b2c\u4e00\u53e5\u571f\u8bdd\u3002"),(0,a.yg)("h3",{id:"\u4e13\u4e1a\u7684\u4eba\u505a\u4e13\u4e1a\u7684\u4e8b"},"\u4e13\u4e1a\u7684\u4eba\u505a\u4e13\u4e1a\u7684\u4e8b"),(0,a.yg)("p",null,"\u6211\u4ee5\u524d\u8bb2\u8fc7\u804c\u573a\uff08\u6f5c\uff09\u89c4\u5219\uff0c\u5176\u4e2d\u4e00\u6761\u53eb\u201c\u542c\u539f\u59cb\u9700\u6c42\uff0c\u4e0d\u542c\u6280\u672f\u89e3\u51b3\u65b9\u6848\u201d\uff0c\u539f\u6587\u5982\u4e0b\uff1a\n\u300e\u6211\u53d1\u73b0\u5f88\u591a\u505a\u4e1a\u52a1\u7684\u4eba\u4e00\u65b9\u9762\u641e\u4e0d\u6e05\u695a\u4ec0\u4e48\u53eb\u539f\u59cb\u9700\u6c42\uff0c\u751a\u81f3\u8fde\u6574\u4e2a\u4e1a\u52a1\u4f53\u7cfb\u662f\u600e\u4e48\u8fd0\u8f6c\u8d77\u6765\u7684\u90fd\u61f5\u61f5\u61c2\u61c2\uff0c\u542c\u4ed6\u8bf4\u4e86\u534a\u5929\uff0c\u539f\u6765\u662f\u5728\u8bb2\u4ed6\u8ba4\u4e3a\u6280\u672f\u4e0a\u600e\u4e48\u89e3\u51b3\u3002\n\u53e6\u4e00\u65b9\u9762\u4ed6\u4eec\u8fd8\u633a\u559c\u6b22\u8d8a\u4fce\u4ee3\u5e96\uff0c\u539f\u59cb\u9700\u6c42\u8fd8\u542d\u542d\u54e7\u54e7\u8bf4\u4e0d\u6e05\u695a\u5462\uff0c\u5c31\u76f4\u63a5\u62cd\u65b9\u6848\uff0c\u751a\u81f3\u8feb\u4e0d\u53ca\u5f85\u5730\u66ff\u6211\u4eec\u60f3\u6570\u636e\u5e93\u662f\u4e0d\u662f\u52a0\u5b57\u6bb5\u2026\u2026\n\u5bf9\u6b64\uff0c\u6211\u7684\u6807\u51c6\u56de\u7b54\u662f\uff1a\u201c\u8bf7\u76f4\u63a5\u8bf4\u539f\u59cb\u9700\u6c42\uff0c\u8bf7\u4e0d\u8981\u7ed9\u6211\u8bb2\u89e3\u51b3\u65b9\u6848\u201d\u3002\n",(0,a.yg)("strong",{parentName:"p"},"\u6f5c\u53f0\u8bcd\u5c31\u662f\uff0c\u4f60\u6709\u4f60\u7684\u4e13\u4e1a\u9886\u57df\uff0c\u6211\u6709\u6211\u7684\uff0c\u8d62\u5f97\u522b\u4eba\u5c0a\u91cd\u7684\u524d\u63d0\u662f\u5148\u628a\u81ea\u5df1\u7684\u672c\u804c\u5de5\u4f5c\u505a\u597d\u3002"),"\n**\n",(0,a.yg)("strong",{parentName:"p"},"\u5728\u4e13\u4e1a\u9886\u57df\u91cc\uff0c\u5343\u4e07\u4e0d\u80fd\u8ba9\u5916\u884c\u9886\u5bfc\u5185\u884c\uff01"),"\n\u6211\u53d1\u73b0\u597d\u591a\u505a\u7ba1\u7406\u7684\u90fd\u4e0d\u77e5\u9053\u8fd9\u4e00\u6761\uff0c\u603b\u89c9\u5f97\u6211\u505a\u7ba1\u7406\u7684\u80fd\u7ba1\u5929\u4e0b\u4e07\u4e8b\u4e07\u7269\u3002\u626f\u6de1\uff01\n**"),(0,a.yg)("h3",{id:"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u603b\u7ed3"},"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u603b\u7ed3"),(0,a.yg)("p",null,"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u53e3\u8bc0\uff1a\n",(0,a.yg)("strong",{parentName:"p"},"\u9047\u4e8b\u4e0d\u4e71\uff0c\u5206\u5934\u6838\u67e5\uff0c\u7fa4\u91cc\u540c\u6b65\uff0c\u7b80\u5355\u9648\u8ff0\uff0c\u7edd\u4e0d\u604b\u6218\uff0c\u6062\u590d\u670d\u52a1\u3002"),"\n**\n\u5177\u4f53\u89e3\u91ca\u4e00\u4e0b\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u5206\u5934\u6838\u67e5"),"\uff1aQA\u8d1f\u8d23\u7ebf\u4e0b\u590d\u73b0\u73b0\u8c61\uff0c\u786e\u8ba4\u95ee\u9898\u662f\u5426\u5b58\u5728\uff1bSA\u8d1f\u8d23\u6838\u67e5\u4e1a\u52a1\u5bf9\u5e94\u7684\u673a\u623f\u3001\u6570\u636e\u5e93\u3001\u5185\u5916\u7f51\u6d41\u91cf\u3001\u5e94\u7528\u8d1f\u8f7d\u6709\u65e0\u53d8\u66f4\u64cd\u4f5c\u3001\u6709\u4f55\u5f02\u5e38\u6307\u6807\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u7edd\u4e0d\u604b\u6218"),"\uff1a\u5982\u679c\u8fdf\u8fdf\u5b9a\u4f4d\u4e0d\u4e86\u95ee\u9898\uff08\u6bd4\u5982\u4e94\u5206\u949f\u4e4b\u5185\uff09\uff0c\u5c31\u4e0d\u53ef\u604b\u6218\uff0c\u5fc5\u987b\u5feb\u901f\u6062\u590d\u4e1a\u52a1\u3002\u7b2c\u4e00\uff0c\u4e0d\u8981\u628a\u751f\u4ea7\u73af\u5883\u5f53\u6210\u6d4b\u8bd5\u73af\u5883\uff0c\u4e0d\u8981\u5728\u7ebf\u8c03\u8bd5\uff1b\u7b2c\u4e8c\uff0c\u4e0d\u8981\u4e00\u76f4\u7559\u7740\u73b0\u573a\u89c2\u5bdf\u6765\u89c2\u5bdf\u53bb\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u7b80\u5355\u9648\u8ff0"),"\uff1a\u51fa\u4e86\u4e8b\u513f\u4e00\u5b9a\u5404\u65b9\u9762\u90fd\u52a8\u5458\u8d77\u6765\u4e86\uff0c\u4e03\u5634\u516b\u820c\uff0c\u5404\u8bf4\u5404\u8bdd\uff0c\u8fd9\u65f6\u5019\u4e00\u5b9a\u8981\u6709\u4e00\u4e2a\u4e34\u65f6\u603b\u6307\u6325\u4e0d\u65ad\u5730\u603b\u7ed3\u5927\u5bb6\u73b0\u5728\u7684\u8fdb\u5ea6\uff0c\u505a\u7cbe\u70bc\u7684\u201c\u7b80\u5355\u9648\u8ff0\u201d\uff0c\u53d1\u5728\u7fa4\u91cc\uff0c\u76f8\u5f53\u4e8e\u4e00\u4e2a\u65b0\u95fb\u53d1\u8a00\u4eba\u3002\u4ed6\u5728\u7b2c\u4e00\u65f6\u95f4\u51fa\u6765\u505a\u7b80\u8981\u7efc\u8ff0\uff0c\u628aWHEN/WHO/WHAT/HOW/RESULT\u51e0\u53e5\u8bdd\u8bf4\u6e05\u695a\uff0c\u540c\u6b65\u7ed9\u6838\u5fc3\u5e72\u90e8\u3002\u4e0d\u8981\u70b9\u5bf9\u70b9\u3002\u8bf7\u52a1\u5fc5\u5e7f\u64ad\u3002\u8868\u660e\u6211\u4eec\u5728\u8ddf\uff0c\u6211\u4eec\u5728\u89e3\u51b3\uff0c\u6240\u6709\u4e8b\u60c5\u90fd\u5728\u638c\u63e1\u4e2d\uff0c\u522b\u6015\uff0c\u522b\u614c\u3002"),(0,a.yg)("h3",{id:"\u6ca1\u6709\u9884\u89c1\u6027\u4f60\u51ed\u4ec0\u4e48\u664b\u5347"},"\u6ca1\u6709\u9884\u89c1\u6027\u4f60\u51ed\u4ec0\u4e48\u664b\u5347"),(0,a.yg)("h4",{id:"\u4ec0\u4e48\u662f\u9884\u89c1\u6027"},"\u4ec0\u4e48\u662f\u9884\u89c1\u6027\uff1f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u5e02\u573a\u7ade\u4e89\u6001\u52bf\u7684\u9884\u89c1\u6027\u3002",(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},"\u6709\u6ca1\u6709\u5bf9\u5e02\u573a\u5927\u52bf\u6709\u4e00\u5b9a\u9884\u89c1\u6027\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u662f\u4e0d\u662f\u65f6\u523b\u5728\u5173\u6ce8\u7740\u53cb\u5546\u3001\u7ade\u54c1\u548c\u884c\u4e1a\u52a8\u6001\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u80fd\u4e0d\u80fd\u5bf9\u4e1a\u52a1\u505a\u51fa\u6709\u524d\u77bb\u6027\u7684\u9884\u6d4b\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u4e3e\u4f8b\uff1a\u672c\u5730\u751f\u6d3b\u670d\u52a1\u5e02\u573a\uff0c\u5927\u7684\u5e02\u573a\u53d8\u5316\u8d8b\u52bf\u662f\uff0c\u70b9\u8bc4\u2014>\u56e2\u8d2d\u2014>\u5916\u5356\u2014>\u4e70\u5355\u548c\u4e0b\u7801\u2014>\u94fa\u673a\u5177\u6784\u7b51IoT\u58c1\u5792\u2014>\u5207ERP\u2014>\u5e26\u8d27\u548c\u4fdd\u7406\u2026\u2026"))),(0,a.yg)("li",{parentName:"ol"},"\u4e1a\u52a1\u4e0a\u7684\u9884\u89c1\u6027\u3002",(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},"\u9700\u6c42\u65b9\u8bf4\u4ec0\u4e48\u5c31\u662f\u4ec0\u4e48\u5417\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u4ea7\u54c1\u8bbe\u8ba1\u6210\u4ec0\u4e48\u6837\u5c31\u505a\u6210\u4ec0\u4e48\u6837\u5417\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u4e00\u5207\u90fd\u662f\u987a\u6c34\u63a8\u821f\u5417\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u4f60\u6709\u6ca1\u6709\u529b\u6392\u4f17\u8bae\uff0c\u63d0\u51fa\u81ea\u5df1\u7684\u89c2\u70b9\u548c\u65b9\u6848\uff0c\u800c\u4e14\u6700\u540e\u4e8b\u5b9e\u8bc1\u660e\u4f60\u8bf4\u7684\u505a\u7684\u662f\u5bf9\u7684\uff1f"))),(0,a.yg)("li",{parentName:"ol"},"\u6280\u672f\u4e0a\u7684\u9884\u89c1\u6027\u3002")),(0,a.yg)("p",null,"\u9996\u5148\uff0c\u6280\u672f\u9886\u57df\u77ac\u606f\u4e07\u53d8\uff0c\u6628\u5929\u7684\u6280\u672f\u65b0\u8d8b\u52bf\uff0c\u660e\u5929\u5c31\u6210\u4e3a\u884c\u4e1a\u6807\u6746\u7684\u6807\u51c6\u89e3\u51b3\u65b9\u6848\u3002\u4f4e\u5934\u62c9\u8f66\u4e4b\u4f59\uff0c\u5fc5\u987b\u62ac\u5934\u770b\u8def\u3002Docker\u4ece2014\u5e74\u7684\u5fae\u70ed\uff0c\u52302015\u30012016\u5e74\u4e00\u7ebf\u4e92\u8054\u7f51\u516c\u53f8\u7684\u6807\u914d\uff0c\u4ec5\u4ec5\u4e00\u4e24\u5e74\u65f6\u95f4\u3002\n\u5176\u6b21\uff0c\u5355\u4e00\u6280\u672f\u8d8b\u52bf\uff0c\u5e76\u4e0d\u80fd\u627f\u8f7d\u4e2d\u5927\u578b\u56e2\u961f\uff0c\u4e0d\u80fd\u627f\u8f7d\u5267\u70c8\u53d8\u5316\u7684\u4e1a\u52a1\uff0c\u6211\u4eec\u5bf9\u6b64\u9700\u8981\u6709\u4e00\u4e2a\u57fa\u672c\u7684\u5224\u65ad\u3002\u6bd4\u5982\u8bf4\u5fae\u670d\u52a1\u7684\u524d\u63d0\u662fDocker\u5bb9\u5668\u5316\u3001\u670d\u52a1\u8def\u7531\u548c\u5e73\u53f0\u81ea\u52a8\u5316\u3002Docker\u96c6\u7fa4\u7f16\u6392+\u7814\u53d1\u534f\u4f5c\u53ef\u89c6\u5316+\u8fd0\u7ef4\u81ea\u52a8\u5316+API\u7f51\u5173+\u5fae\u670d\u52a1\uff0c\u624d\u8c08\u5f97\u4e0a\u53ef\u8d1f\u91cd\u524d\u884c\u3002\n\u518d\u6b21\uff0c\u5f53\u4e1a\u52a1\u4ece\u96f6\u5230\u4e00\u7684\u65f6\u5019\uff0c\u6211\u4eec\u9700\u8981\u6709\u4e00\u5b9a\u7684\u9884\u89c1\u6027\uff0c\u8d70\u4e00\u6b65\u770b\u4e24\u6b65\u3002\n\u4e3e\u4f8b\uff1a\u4e1a\u52a1\u521a\u5f00\u59cb\u8bd5\u70b9\u7684\u65f6\u5019\uff0c\u6211\u5c31\u9884\u89c1\u5230IoT\u673a\u5177\u94fa\u8bbe\u5728\u5168\u56fd\u5404\u5730\uff0c\u6240\u6709\u95ee\u9898\u90fd\u5c06\u7531\u6211\u4eec\u515c\u5e95\uff0c\u6240\u4ee5\u5fc5\u987b\u4ee5\u6700\u5feb\u901f\u5ea6\u5efa\u8bbe\u4e00\u4e2a\u5f3a\u5927\u7684\u8bbe\u5907\u5f3a\u7ba1\u63a7\u8fd0\u7ef4\u7ba1\u7406\u5e73\u53f0\uff0c\u5b83\u5c06\u662f\u5927\u4e2d\u53f0\u4f53\u7cfb\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\n\u4e3e\u4f8b\uff1a\u968f\u7740\u4e1a\u52a1\u7684\u6df1\u5165\uff0c\u6211\u9884\u89c1\u5230\u7531\u4e8e\u673a\u5177\u7684\u5404\u79cd\u4e1a\u52a1\u65b9\u90fd\u4f1a\u7ed9\u673a\u5177\u4e0b\u53d1\u6307\u4ee4\uff08\u4e0a\u884c\u548c\u4e0b\u884c\uff09\uff0c\u6bd4\u5982\u652f\u4ed8\u6210\u529f\u8bed\u97f3\u64ad\u62a5\uff0c\u6bd4\u5982\u5e94\u7528\u7248\u672c\u5206\u53d1\uff0c\u6bd4\u5982\u5feb\u901f\u6539\u53d8\u673a\u5177\u4e0aApp\u5185\u90e8\u72b6\u6001\uff0c\u4e1a\u52a1\u65b9\u4e0d\u5173\u5fc3\u4e5f\u4e0d\u9700\u8981\u5173\u5fc3\u673a\u5177\u5728\u4e0d\u5728\u7ebf\uff0c\u6240\u4ee5\u6211\u51b3\u5b9a\u5c3d\u5feb\u5f15\u5165\u8bbe\u5907\u5f71\u5b50\uff0c\u5728\u4e1a\u52a1\u65b9\u8fd8\u4e0d\u8db3\u591f\u591a\u7684\u65f6\u5019\u4e00\u52b3\u6c38\u9038\u5730\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\n\u505a\u6280\u672f\u5343\u4e07\u4e0d\u8981\u811a\u8e29\u897f\u74dc\u76ae\uff0c\u6ed1\u5230\u54ea\u91cc\u7b97\u54ea\u91cc\u3002"),(0,a.yg)("h3",{id:"\u6211\u53f8\u7814\u53d1\u6587\u5316"},"\u6211\u53f8\u7814\u53d1\u6587\u5316="),(0,a.yg)("p",null,"\u7814\u53d1\u54f2\u5b66\uff08Don't make me think/If it hurts, do it more and often/\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b/\u6ca1\u6709\u82e6\u52b3\u53ea\u6709\u529f\u52b3/\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848\uff09\n+\u7814\u53d1\u4e09\u5faa\u73af\u65b9\u6cd5\u8bba\uff08\u7814\u53d1\u80fd\u529b/\u7814\u53d1\u6548\u7387/\u7814\u53d1\u6d3b\u529b\uff09\n+\u7814\u53d1\u4e09\u677f\u65a7\uff08RCA/\u6280\u672f\u5206\u4eab\u8bb2\u5ea7/\u6280\u672f\u9884\u7814\u8bfe\u9898\uff09\n\u6bcf\u4e00\u4e2a\u7814\u53d1\u7ec4\u7ec7\u90fd\u5fc5\u987b\u60f3\u7740\u5ff5\u7740\u505a\u7740\u3002"),(0,a.yg)("h3",{id:"dont-make-me-think"},"Don't make me think"),(0,a.yg)("p",null,"\u5927\u5bb6\u90fd\u77e5\u9053\uff0c\u6280\u672f\u4eba\u5458\u4ece\u4e8b\u7684\u662f\u521b\u9020\u6027\u5de5\u4f5c\uff0c\u52a0\u4e4b\u662f\u5355\u6838\u5904\u7406\u5668\uff0c\u6211\u4eec\u7684\u4e0a\u4e0b\u6587\u5207\u6362\u975e\u5e38\u56f0\u96be\uff0c\u88ab\u6253\u65ad\u540e\u4ece\u65b0\u8fdb\u5165\u201c\u795e\u6e38\u201d\u72b6\u6001\u5f80\u5f80\u9700\u8981\u5341\u51e0\u5206\u949f\u3002\u5c24\u5176\u662f\u7814\u53d1\u7ecf\u7406\uff0c\u627f\u62c5\u66f4\u591a\u7684\u8d23\u4efb\uff0c\u7ebf\u4e0a\u7ebf\u4e0b\u7684\u95ee\u9898\u90fd\u8981\u7167\u987e\u5230\uff0c\u8fd8\u8981\u89e3\u7b54\u5185\u5916\u7684\u5404\u79cd\u54a8\u8be2\uff0c\u5de5\u4f5c\u65f6\u95f4\u788e\u7247\u5316\u4e25\u91cd\u3002\u6211\u4eec\uff08\u5305\u62ec\u7cfb\u7edf\uff09\u7ed9\u51fa\u7684\u4fe1\u606f\uff0c\u4e00\u5b9a\u8981\u8db3\u591f\u7b80\u7ec3\uff0c\u4e00\u76ee\u4e86\u7136\uff0c\u8ba9\u4eba\u5f88\u5bb9\u6613\u514b\u670d\u7126\u8e81\u60c5\u7eea\uff0c\u556a\u556a\u5730\u5c31\u5904\u7406\u4e86\uff0c\u6216\u8005\u556a\u556a\u5730\u4e8c\u6b21\u5206\u53d1\u51fa\u53bb\u3002\xa0\u4e0d\u8981\u8ba9\u65e0\u7528\u7684\u4fe1\u606f\u6298\u78e8\u8fd9\u4e9b\u4eba\u3002"),(0,a.yg)("p",null,"\u5176\u6b21\uff0c\u6280\u672f\u4eba\u5458\u662f\u201c\u4e16\u754c\u201d\u7684\u6784\u5efa\u8005\uff0c\u4e0d\u5f97\u4e0d\u505a\u5927\u91cf\u7410\u788e\u4e14\u67af\u71e5\u7684\u5de5\u4f5c\uff0c\u5176\u4e2d\uff0c\u76f8\u5f53\u5927\u6bd4\u4f8b\u7684\u5de5\u4f5c\u662f\u91cd\u590d\u6027\u7684\uff0c\u5982\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u9002\u914d\u4e0d\u540c\u73af\u5883\uff0c\u5982\u6253\u5305\u3002\n\u91cd\u590d\u7684\u5de5\u4f5c\u4e00\u65b9\u9762\u5bb9\u6613\u51fa\u9519\uff0c\u5c24\u5176\u662f\u5728\u901a\u5bb5\u4e0a\u7ebf\u65f6\uff0c\u53e6\u4e00\u65b9\u9762\u6d88\u78e8\u4eba\u7684\u8010\u5fc3\u548c\u6597\u5fd7\u3002 \u6211\u5728\u300a\u804c\u573a\u57f9\u8bad\u7b2c\u4e94\u671f\uff1a\u804c\u573a\u7684\u771f\u76f8\u300b\u4e2d\u8bb2\u8fc7\u89e3\u9898\u601d\u8def\uff1a\u300e",(0,a.yg)("strong",{parentName:"p"},"\u8981\u6452\u5f03\u5355\u7eaf\u4f9d\u9760\u5458\u5de5\u4e4b\u95f4\u4e92\u76f8\u63d0\u9192\u3001\u4f9d\u9760\u4e2a\u4eba\u8ba4\u771f\u7ec6\u81f4\u6765\u89c4\u907f\u76f8\u540c\u9519\u8bef\u7684\u56fa\u6709\u601d\u8def\uff0c\u94c1\u6253\u8425\u76d8\u6d41\u6c34\u5175\uff0c\u9760\u4eba\u7ec8\u5f52\u662f\u9760\u4e0d\u4f4f\u7684\uff0c\u6700\u597d\u9760\u9075\u5faa\u89c4\u5219\u7684\u673a\u5668"),"\u300f\u3002\n\u738b\u6dee\u5728\u300a\u4ee5 Facebook \u4e3a\u6848\u4f8b\u5256\u6790\u79d1\u6280\u516c\u53f8\u5e94\u6709\u7684\u5de5\u5177\u6587\u5316\u300b\u4e00\u6587\u4e2d\u8c08\u53ca\uff0c\u57fa\u672c\u7406\u5ff5\u5c31\u662f",(0,a.yg)("strong",{parentName:"p"},'\u51e1\u662f\u88ab\u5f88\u591a\u4eba\u4e0d\u65ad\u91cd\u590d\u7684\u597d\u4e60\u60ef\uff0c\u8981\u5c06\u5176\u81ea\u52a8\u5316\uff0c\u7ed1\u5b9a\u5230\u5de5\u5177\u4e4b\u4e2d\uff0c\u4ee5"Don\'t make me think"\u7684\u65b9\u5f0f\u6765\u63a8\u5e7f\u6700\u4f73\u5b9e\u8df5\uff08best practice\uff09'),"\u3002"),(0,a.yg)("p",null,"\u57fa\u4e8e\u4ee5\u4e0a\u539f\u56e0\uff0c\u6211\u4eec\u8ba4\u4e3a\uff0c",(0,a.yg)("strong",{parentName:"p"},"\u51e1\u662f\u88ab\u4e0d\u65ad\u91cd\u590d\u7684\u8fc7\u7a0b\uff0c\u5c06\u5176\u5de5\u5177\u5316\uff0c\u7ed1\u5b9a\u5230\u81ea\u52a8\u5316\u6d41\u7a0b\u4e4b\u4e2d\uff0c\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u5fc3\u667a\u8d1f\u62c5"),"\u3002\n\u8fd9\u4e5f\u5c31\u662f\u8fc7\u53bb\u51e0\u5e74\u91cc\u6211\u4eec\u4e00\u5b63\u5b63\u5730\u63a8\u8fdb\u6301\u7eed\u96c6\u6210\uff08Continuous Integration\uff0cCI\uff09\u7684\u539f\u56e0\uff0c\u628a\u6211\u4eec\u7684\u7ecf\u9a8c\u6559\u8bad\u53d8\u6210\u53ef\u91cd\u590d\u7684\u89c4\u5219\uff0c\u878d\u5165\u5de5\u5177\u4e2d\uff0c\u878d\u5165\u81ea\u52a8\u5316\u6d41\u7a0b\u4e2d\uff0c\u800c\u4e0d\u662f\u4e00\u4ee3\u4e00\u4ee3\u53e3\u53e3\u76f8\u4f20\u3002"),(0,a.yg)("p",null,"\u597d\u4e86\uff0c\u5728\u4e3e\u5177\u4f53\u7684\u4f8b\u5b50\u4e4b\u524d\uff0c\u8ba9\u6211\u4eec\u5927\u58f0\u8bfb\u51fa\u8fd9\u51e0\u6761 Slogan\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Don't make me think!"),(0,a.yg)("li",{parentName:"ul"},"\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u5fc3\u667a\u8d1f\u62c5\uff01")),(0,a.yg)("h3",{id:"if-it-hurts-do-it-more-and-often"},"If it hurts, do it more and often"),(0,a.yg)("p",null,"\u6211\u4eec\u4e0d\u80fd\u6b7b\u4e8e\u542c\u5929\u7531\u547d\u548c\u6f2b\u4e0d\u7ecf\u5fc3\u3002\n\u5de5\u7a0b\u5e08\u4e3a\u4ec0\u4e48\u4f1a\u542c\u5929\u7531\u547d\uff1f"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u56e0\u4e3a\u7ebf\u4e0a\u65e5\u5fd7\u91cc\u7684\u5f02\u5e38\u5b9e\u5728\u662f\u592a\u591a\u4e86\uff0c\u5904\u7406\u4e0d\u8fc7\u6765\u3002",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u56e0\u4e3a\u5f02\u5e38\u592a\u591a\u4e86\uff0c\u6df9\u6ca1\u4e86\u81f4\u547d\u5f02\u5e38\uff0c\u4ee5\u81f3\u4e8e\u670d\u52a1\u6302\u5f97\u6b7b\u6b7b\u7684\u624d\u53d1\u73b0\u95ee\u9898\u5df2\u7ecf\u5b58\u5728N\u4e45\u4e86\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u56e0\u4e3a\u660e\u5929\u5c31\u8981\u63d0\u6d4b\u4e86\uff0c\u4ee3\u7801\u5408\u5e76\u51b2\u7a81\u8fd8\u6709\u51e0\u5343\u4e2a\u3002",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u6bcf\u5230\u5e38\u89c4\u7248\u672c\u63d0\u6d4b\u65f6\u5c31\u5fc3\u91cc\u6253\u9f13\uff0c\u5408\u5e76\u4e2a\u4ee3\u7801\u90fd\u5f97\u9884\u7559\u4e24\u5929\u65f6\u95f4\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u56e0\u4e3a\u753b\u65f6\u5e8f\u56fe\u597d\u70e6\uff0c\u6240\u4ee5\u590d\u6742\u7cfb\u7edf\u7684\u6570\u636e\u6d41\u8f6c\u9760\u201c\u5fc3\u7b97\u201d\u3001\u9760\u6587\u5b57\u63cf\u8ff0\u3002",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u4eba\u8111\u5bb9\u6613\u6709\u601d\u7ef4\u6b7b\u89d2\uff0c\u4e00\u4e2a\u8003\u8651\u4e0d\u5230\uff0c\u7cfb\u7edf\u5c31\u9632\u4e0d\u4f4f\u5e76\u53d1\u63d0\u4ea4\u548c\u91cd\u590d\u63d0\u4ea4\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u2026\u2026")),(0,a.yg)("p",null,"\u56e0\u4e3a\u5df2\u7136\u96c6\u814b\u6210\u88d8\uff0c\u6240\u4ee5\u505a\u4e8b\u524d\u6211\u4eec\u5404\u79cd\u7ea0\u7ed3\u548c\u62b5\u89e6\uff0c\u4e8e\u662f\u627e\u5404\u79cd\u7406\u7531\u62d6\u5ef6\u3002\n\u600e\u4e48\u529e\uff1f\n\u6211\u5728\u300a\u804c\u4e1a\u5316\u76847\u4e2a\u7ec6\u8282\u300b\u91cc\u8bb2\u5230\uff0c \u5982\u679c\u4e00\u4ef6\u4e8b\u505a\u8d77\u6765\u5f88\u70e6\uff0c\u90a3\u5c31\u628a\u5b83\u62c6\u6210\u5f88\u591a\u5757\u513f\uff0c\u6bcf\u5929\u505a\u4e00\u70b9\uff0c\u6bcf\u6b21\u505a\u4e00\u70b9\u3002"),(0,a.yg)("h3",{id:"\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b"},"\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b"),(0,a.yg)("p",null,"\u8fd9\u4e2a\u54f2\u5b66\u6211\u8fc7\u53bb\u51e0\u5e74\u91cc\u4e00\u800c\u518d\u518d\u800c\u4e09\u5730\u8bb2\u3002\u5728\u300a\u804c\u4e1a\u57f9\u8bad\u7b2c\u4e94\u671f\uff1a\u804c\u573a\u7684\u771f\u76f8\u300b\u4e2d\uff0c\u6211\u8bf4\uff1a\u8fc7\u53bb\u51e0\u5e74\u91cc\uff0c\u6211\u4eec\u6df1\u6df1\u5730\u4f53\u4f1a\u5230\uff0c\u4ece\u6765\u5c31\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b\uff0c\u8981\u521b\u9020\u4eba\u7c7b\u7684\u5e78\u798f\u5168\u9760\u6211\u4eec\u81ea\u5df1\uff0c\u4e0d\u8981\u6307\u671b\u6709\u4ec0\u4e48\u4eba\u80fd\u6551\u6211\u4eec\uff0c\u53ea\u80fd\u7ede\u5c3d\u8111\u6c41\u95ef\u9635\u3002"),(0,a.yg)("p",null,"\u4e3a\u4ec0\u4e48\uff1f\n\u6280\u672f\u56e2\u961f\u662f\u4e92\u8054\u7f51\u516c\u53f8\u91cc\u6700\u8ba4\u771f\u6700\u4e13\u4e1a\u6700\u5b9e\u64cd\u6700\u9760\u8c31\u7684\u4e00\u7fa4\u4eba\uff0c\u5982\u679c\u6211\u4eec\u51e1\u4e8b\u90fd\u8981\u6307\u671b\u522b\u4eba\u7ed9\u6211\u4eec\u89e3\u51b3\u65b9\u6848\u548c\u601d\u8def\uff0c\u6307\u671b\u522b\u4eba\u6bd4\u6211\u4eec\u66f4\u8ba4\u771f\uff0c\u90a3\u8fd9\u4e2a\u516c\u53f8\u5c31\u5371\u5728\u65e6\u5915\u4e86\u3002\n\u6240\u4ee5\uff0c\u6211\u57282012\u5e74\u7684\u98de\u884c\u7814\u8ba8\u4f1a\u4e0a\u629b\u51fa\u4e24\u4e2a Slogan\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u629b\u6389\u5e7b\u60f3\uff0c\u52c7\u6562\u9762\u5bf9\uff01"),(0,a.yg)("li",{parentName:"ul"},"\u76f4\u9762\u767d\u5203\u6218\uff01")),(0,a.yg)("p",null,"\u57fa\u4e8e\u8fd9\u4e2a\u54f2\u5b66\uff0c\u6211\u4eec\u884d\u751f\u51fa\u4e24\u4e2a Slogan\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u4e0d\u8981\u7b49\u6b7b\uff01"),(0,a.yg)("li",{parentName:"ul"},"\u5411\u524d\u8fc8\u534a\u6b65\u5bf9\u63a5\uff01")),(0,a.yg)("h3",{id:"\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848"},"\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848"),(0,a.yg)("p",null,"\u707e\u96be\uff0c\u603b\u662f\u5728\u4f60\u610f\u6599\u4e4b\u5916\u3002\n\u4e00\u4e2a\u540e\u5907\u65b9\u6848\uff0c\n\u6700\u540e\u4e00\u6761\u8ba9\u4f60\u8d77\u6b7b\u56de\u751f\u7684\u8def\u3002"),(0,a.yg)("p",null,"\u65e9\u5e74\u95f4\uff0c\u4faf\u5c0f\u5f3a\u66fe\u7ecf\u8bf4\u8fc7\uff1a \u5982\u679c\u4f60\u5728\u804c\u573a\uff0c\u9700\u8981\u6709\u4e09\u4e2a\u597d\u4e60\u60ef\uff0c1\uff0c\u80fd\u9a6c\u4e0a\u505a\u7684\u4e8b\u60c5\u9a6c\u4e0a\u505a\u30022\uff0c\u6bcf\u4e2a\u4e8b\u60c5\u8981\u6709\u59cb\u6709\u7ec8\u30023\uff0c\u8981\u6709\u8fd9\u4e2a\u4e60\u60ef\u601d\u7ef4\uff0c\u6ca1\u6709\u82e6\u52b3\uff0c\u53ea\u6709\u529f\u52b3\u3002\u4f46\u5982\u679c\u6ca1\u6709\u6781\u5176\u52aa\u529b\uff0c\u901a\u5e38\u4e5f\u4e0d\u4f1a\u6709\u529f\u52b3\u3002\n\u5ef6\u7eed\u7740\u8fd9\u4e2a\u601d\u7ef4\uff0c\u6211\u4eec\u8fc7\u53bb\u51e0\u5e74\u91cc\u53cd\u590d\u5f3a\u8c03\uff1a",(0,a.yg)("strong",{parentName:"p"},"\u6ca1\u6709\u7ed3\u679c\u5c31\u6ca1\u6709\u610f\u4e49"),"\u3002\u4e0d\u8981\u671f\u671b\u516c\u53f8\u56e0\u4e3a\u4f60\u548c\u5c0f\u4f19\u4f34\u4eec\u6709\u82e6\u52b3\u800c\u5bbd\u5bb9\u4f60\u4eec\u6ca1\u6709\u4ea7\u51fa\uff0c\u8fd9\u662f\u4e00\u4e2a\u5546\u4e1a\u516c\u53f8\u3002"),(0,a.yg)("h3",{id:"devops-\u65b0\u516b\u8363\u516b\u803b\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce"},"DevOps \u65b0\u516b\u8363\u516b\u803b\uff0c\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u968f\u65f6\u53ef\u6269\u5bb9\u3001\u53ef\u7f29\u5bb9\u3001\u53ef\u91cd\u542f\u3001\u53ef\u5207\u6362\u673a\u623f\u6d41\u91cf\u4e3a\u8363\uff0c\u4ee5\u4e0d\u80fd\u8fc1\u79fb\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u53ef\u914d\u7f6e\u4e3a\u8363\uff0c\u4ee5\u786c\u7f16\u7801\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u7cfb\u7edf\u4e92\u5907\u4e3a\u8363\uff0c\u4ee5\u7cfb\u7edf\u5355\u70b9\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u4ea4\u4ed8\u65f6\u6709\u76d1\u63a7\u62a5\u8b66\u4e3a\u8363\uff0c\u4ee5\u4ea4\u4ed8\u88f8\u5954\u7cfb\u7edf\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u65e0\u72b6\u6001\u4e3a\u8363\uff0c\u4ee5\u6709\u72b6\u6001\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u6807\u51c6\u5316\u4e3a\u8363\uff0c\u4ee5\u7279\u6b8a\u5316\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u81ea\u52a8\u5316\u5de5\u5177\u4e3a\u8363\uff0c\u4ee5\u4eba\u8089\u64cd\u4f5c\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u65e0\u4eba\u503c\u5b88\u4e3a\u8363\uff0c\u4ee5\u4eba\u5de5\u4ecb\u5165\u4e3a\u803b\u3002")),(0,a.yg)("h3",{id:"\u6838\u5fc3\u4e1a\u52a1\u6d41\u7a0b\u7684\u6545\u969c\u5904\u7406\u539f\u5219\u4e0d\u53ef\u604b\u6218"},"\u6838\u5fc3\u4e1a\u52a1\u6d41\u7a0b\u7684\u6545\u969c\u5904\u7406\u539f\u5219\uff1a\u4e0d\u53ef\u604b\u6218"),(0,a.yg)("p",null,"\u7b2c\u4e00\u65f6\u95f4\u53eb\u591a\u4eba\u4e00\u8d77\u5206\u5934\u67e5\uff1a\u67e5\u673a\u623f\uff0c\u67e5\u6d41\u91cf\uff0c\u67e5\u5e94\u7528\u6027\u80fd\uff0c\u67e5\u6570\u636e\u5e93\uff0c\u67e5Redis\u3002\n\u5982\u679c\u8fdf\u8fdf\u5b9a\u4f4d\u4e0d\u4e86\u95ee\u9898\uff08\u6bd4\u5982\u5341\u5206\u949f\u4e4b\u5185\uff09\uff0c\u5c31\u4e0d\u53ef\u604b\u6218\uff0c\u5fc5\u987b\u6062\u590d\u4e1a\u52a1\uff08\u4e09\u677f\u65a7\uff09\uff1a\n\u7b2c\u4e00\u62db\u91cd\u542f\u5e94\u7528\uff0c\n\u7b2c\u4e8c\u62db\u56de\u9000\u7248\u672c\uff0c\n\u6700\u540e\u4e00\u62db\u662f\u5f02\u5730\u591a\u6d3b\u5207\u673a\u623f\u6d41\u91cf\uff0c\u628a\u53d7\u5f71\u54cd\u7684\u5546\u6237\u5207\u5230\u53e6\u4e00\u4e2a\u673a\u623f\u7684\u5355\u5143\u683c\u91cc\u3002\n\u5343\u4e07\u522b\u5728\u5b9a\u4f4d\u95ee\u9898\u4e0a\u82b1\u592a\u591a\u65f6\u95f4\u3002"),(0,a.yg)("h3",{id:"\u5f53\u6211\u4eec\u8c08\u91cd\u6784\u7684\u65f6\u5019\u6211\u4eec\u60f3\u8c08\u4ec0\u4e48"},"\u5f53\u6211\u4eec\u8c08\u91cd\u6784\u7684\u65f6\u5019\u6211\u4eec\u60f3\u8c08\u4ec0\u4e48"),(0,a.yg)("p",null,"\u5982\u679c\u4f60\u5728\u7e41\u5fd9\u7684\u4e1a\u52a1\u8fed\u4ee3\u4e2d\u5f00\u59cb\u7cfb\u7edf\u91cd\u6784\uff0c\u606d\u559c\u4f60\uff0c\u8bf4\u660e\u4f60\u7684\u4e1a\u52a1\u5df2\u7ecf\u5b8c\u6210\u4e86\u4ece0\u52301\uff0c\u6b63\u5728\u4ece1\u8d70\u541110\uff0c\u6216\u8005\u4ece10\u8d70\u5411100\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u4e24\u4e2a\u201c\u662f\u5426\u6709\u5229\u4e8e\u201d\uff1a"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4e00\uff0c\u662f\u5426\u6709\u5229\u4e8e\u53d1\u5e03\u90e8\u7f72\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4e8c\uff0c\u662f\u5426\u6709\u5229\u4e8e\u6392\u9664\u6545\u969c\uff08\u662f\u5426\u6709\u5229\u4e8e\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\u548c\u89e3\u51b3\u95ee\u9898\uff09\u3002")),(0,a.yg)("p",null,"\xa0\n",(0,a.yg)("strong",{parentName:"p"},"\u4e24\u4e2a\u6212\u5f8b\uff1a"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u6212\u5f8b\u4e00\uff1a\u51e1\u662f\u4e2d\u95f4\u4ef6\uff0c\u4e0d\u7ba1\u662f\u81ea\u4e3b\u5f00\u53d1\u7684\uff0c\u8fd8\u662f\u4ee5\u5f00\u6e90\u8f6f\u4ef6\u4e3a\u5185\u6838\u6784\u5efa\u51fa\u6765\u7684\uff0c\u90fd\u5fc5\u987b\u81ea\u5e26\u76d1\u63a7\u62a5\u8b66\uff0c\u5426\u5219\u4e0d\u5141\u8bb8\u4e0a\u7ebf\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u6212\u5f8b\u4e8c\uff1a\u672c\u7740 Don't make me think \u7684\u54f2\u5b66\u601d\u8def\uff0c\u6240\u6709\u5bf9\u6392\u9664\u6545\u969c\u6709\u5e2e\u52a9\u7684\u4fe1\u606f\uff0c\u90fd\u5fc5\u987b\u4e00\u7ad9\u5f0f\u5c55\u793a\u5728\u4ea4\u4e92\u754c\u9762\u4e0a\uff0c\u4e5f\u5c31\u662f\u4e2d\u95f4\u4ef6\u7684\u63a7\u5236\u53f0\u4e0a\uff0c\u6216\u8fd0\u7ef4\u81ea\u52a8\u5316\u5e73\u53f0\u4e0a\uff0c\u6216\u7814\u53d1\u534f\u4f5c\u5e73\u53f0\u4e0a\u3002")),(0,a.yg)("h3",{id:"\u8981\u719f\u7ec3\u638c\u63e1\u7684\u4e03\u4e2a\u4eba\u751f\u5de5\u5177"},"\u8981\u719f\u7ec3\u638c\u63e1\u7684\u4e03\u4e2a\u4eba\u751f\u5de5\u5177"),(0,a.yg)("h4",{id:"\u4e00swot\u5206\u6790\u6cd5"},"\u4e00\u3001SWOT\u5206\u6790\u6cd5\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Strengths\uff1a\u4f18\u52bf"),(0,a.yg)("li",{parentName:"ul"},"Weaknesses\uff1a\u52a3\u52bf"),(0,a.yg)("li",{parentName:"ul"},"Opportunities\uff1a\u673a\u4f1a"),(0,a.yg)("li",{parentName:"ul"},"Threats\uff1a\u5a01\u80c1"),(0,a.yg)("li",{parentName:"ul"},"\u610f\u4e49\uff1a\u5e2e\u60a8\u6e05\u6670\u5730\u628a\u63e1\u5168\u5c40\uff0c\u5206\u6790\u81ea\u5df1\u5728\u8d44\u6e90\u65b9\u9762\u7684\u4f18\u52bf\u4e0e\u52a3\u52bf\uff0c\u628a\u63e1\u73af\u5883\u63d0\u4f9b\u7684\u673a\u4f1a\uff0c\u9632\u8303\u53ef\u80fd\u5b58\u5728\u7684\u98ce\u9669\u4e0e\u5a01\u80c1\uff0c\u5bf9\u6211\u4eec\u7684\u6210\u529f\u6709\u975e\u5e38\u91cd\u8981\u7684\u610f\u4e49\u3002")),(0,a.yg)("h4",{id:"\u4e8cpdca\u5faa\u73af\u89c4\u5219"},"\u4e8c\u3001PDCA\u5faa\u73af\u89c4\u5219"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Plan\uff1a\u5236\u5b9a\u76ee\u6807\u4e0e\u8ba1\u5212\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Do\uff1a\u4efb\u52a1\u5c55\u5f00\uff0c\u7ec4\u7ec7\u5b9e\u65bd\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Check\uff1a\u5bf9\u8fc7\u7a0b\u4e2d\u7684\u5173\u952e\u70b9\u548c\u6700\u7ec8\u7ed3\u679c\u8fdb\u884c\u68c0\u67e5\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Action\uff1a\u7ea0\u6b63\u504f\u5dee\uff0c\u5bf9\u6210\u679c\u8fdb\u884c\u6807\u51c6\u5316\uff0c\u5e76\u786e\u5b9a\u65b0\u7684\u76ee\u6807\uff0c\u5236\u5b9a\u4e0b\u4e00\u8f6e\u8ba1\u5212\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u610f\u4e49\uff1a\u6bcf\u4e00\u9879\u5de5\u4f5c\uff0c\u90fd\u662f\u4e00\u4e2apdca\u5faa\u73af\uff0c\u90fd\u9700\u8981\u8ba1\u5212\u3001\u5b9e\u65bd\u3001\u68c0\u67e5\u7ed3\u679c\uff0c\u5e76\u8fdb\u4e00\u6b65\u8fdb\u884c\u6539\u8fdb\uff0c\u540c\u65f6\u8fdb\u5165\u4e0b\u4e00\u4e2a\u5faa\u73af\uff0c\u53ea\u6709\u5728\u65e5\u79ef\u6708\u7d2f\u7684\u6e10\u8fdb\u6539\u5584\u4e2d\uff0c\u624d\u53ef\u80fd\u4f1a\u6709\u8d28\u7684\u98de\u8dc3\uff0c\u624d\u53ef\u80fd\u53d6\u5f97\u5b8c\u5584\u6bcf\u4e00\u9879\u5de5\u4f5c\uff0c\u5b8c\u5584\u81ea\u5df1\u7684\u4eba\u751f\u3002")),(0,a.yg)("h4",{id:"\u4e096w2h\u6cd5"},"\u4e09\u30016W2H\u6cd5"),(0,a.yg)("p",null,"**"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"What\uff1a\u5de5\u4f5c\u7684\u5185\u5bb9\u548c\u8fbe\u6210\u7684\u76ee\u6807\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Why\uff1a\u505a\u8fd9\u9879\u5de5\u4f5c\u7684\u539f\u56e0\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Who\uff1a\u53c2\u52a0\u8fd9\u9879\u5de5\u4f5c\u7684\u5177\u4f53\u4eba\u5458\uff0c\u4ee5\u53ca\u8d1f\u8d23\u4eba\uff1b"),(0,a.yg)("li",{parentName:"ul"},"When\uff1a\u5728\u4ec0\u4e48\u65f6\u95f4\u3001\u4ec0\u4e48\u65f6\u95f4\u6bb5\u8fdb\u884c\u5de5\u4f5c\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Where\uff1a\u5de5\u4f5c\u53d1\u751f\u7684\u5730\u70b9 \uff1b"),(0,a.yg)("li",{parentName:"ul"},"Which\uff1a\u54ea\u4e00\u79cd\u65b9\u6cd5\u6216\u9014\u5f84\uff1b"),(0,a.yg)("li",{parentName:"ul"},"How\uff1a\u7528\u4ec0\u4e48\u65b9\u6cd5\u8fdb\u884c\uff1b"),(0,a.yg)("li",{parentName:"ul"},"How much\uff1a\u9700\u8981\u591a\u5c11\u6210\u672c\uff1f"),(0,a.yg)("li",{parentName:"ul"},"\u610f\u4e49\uff1a\u505a\u4efb\u4f55\u5de5\u4f5c\u90fd\u5e94\u8be5\u4ece6W2H\u6765\u601d\u8003\uff0c\u8fd9\u6709\u52a9\u4e8e\u6211\u4eec\u7684\u601d\u8def\u7684\u6761\u7406\u5316\uff0c\u675c\u7edd\u76f2\u76ee\u6027\u3002\u6211\u4eec\u7684\u6c47\u62a5\u4e5f\u5e94\u8be5\u75286W2H\uff0c\u80fd\u8282\u7ea6\u5199\u62a5\u544a\u53ca\u770b\u62a5\u544a\u7684\u65f6\u95f4\u3002")),(0,a.yg)("h4",{id:"\u56dbsmart\u539f\u5219"},"\u56db\u3001SMART\u539f\u5219"),(0,a.yg)("p",null,"**"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Specific \u5177\u4f53\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Measurable \u53ef\u6d4b\u91cf\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Attainable \u53ef\u8fbe\u5230\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Relevant \u76f8\u5173\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Time based \u65f6\u95f4\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u610f\u4e49\uff1a\u4eba\u4eec\u5728\u5236\u5b9a\u5de5\u4f5c\u76ee\u6807\u6216\u8005\u4efb\u52a1\u76ee\u6807\u65f6\uff0c\u8003\u8651\u4e00\u4e0b\u76ee\u6807\u4e0e\u8ba1\u5212\u662f\u4e0d\u662fSMART\u5316\u7684\u3002\u53ea\u6709\u5177\u5907SMART\u5316\u7684\u8ba1\u5212\u624d\u662f\u5177\u6709\u826f\u597d\u53ef\u5b9e\u65bd\u6027\u7684\uff0c\u4e5f\u624d\u80fd\u6307\u5bfc\u4fdd\u8bc1\u8ba1\u5212\u5f97\u4ee5\u5b9e\u73b0\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u7279\u522b\u6ce8\u660e\uff1a")),(0,a.yg)("p",null,"\u6709\u7684\u53c8\u5982\u6b64\u89e3\u91ca\u6b64\u539f\u5219\uff1a\n\u2014\u2014S\u4ee3\u8868\u5177\u4f53(Specific)\uff0c\u6307\u7ee9\u6548\u8003\u6838\u8981\u5207\u4e2d\u7279\u5b9a\u7684\u5de5\u4f5c\u6307\u6807\uff0c\u4e0d\u80fd\u7b3c\u7edf\uff1b\n\u2014\u2014M\u4ee3\u8868\u53ef\u5ea6\u91cf(Measurable)\uff0c\u6307\u7ee9\u6548\u6307\u6807\u662f\u6570\u91cf\u5316\u6216\u8005\u884c\u4e3a\u5316\u7684\uff0c\u9a8c\u8bc1\u8fd9\u4e9b\u7ee9\u6548\u6307\u6807\u7684\u6570\u636e\u6216\u8005\u4fe1\u606f\u662f\u53ef\u4ee5\u83b7\u5f97\u7684\uff1b\n\u2014\u2014A\u4ee3\u8868\u53ef\u5b9e\u73b0(Attainable)\uff0c\u6307\u7ee9\u6548\u6307\u6807\u5728\u4ed8\u51fa\u52aa\u529b\u7684\u60c5\u51b5\u4e0b\u53ef\u4ee5\u5b9e\u73b0\uff0c\u907f\u514d\u8bbe\u7acb\u8fc7\u9ad8\u6216\u8fc7\u4f4e\u7684\u76ee\u6807\uff1b\n\u2014\u2014R\u4ee3\u8868\u73b0\u5b9e\u6027(realistic)\uff0c\u6307\u7ee9\u6548\u6307\u6807\u662f\u5b9e\u5b9e\u5728\u5728\u7684\uff0c\u53ef\u4ee5\u8bc1\u660e\u548c\u89c2\u5bdf\uff1b\n\u2014\u2014T\u4ee3\u8868\u6709\u65f6\u9650(time bound)\uff0c\u6ce8\u91cd\u5b8c\u6210\u7ee9\u6548\u6307\u6807\u7684\u7279\u5b9a\u671f\u9650\u3002"),(0,a.yg)("h4",{id:"\u4e94\u65f6\u95f4\u7ba1\u7406-\u91cd\u8981\u4e0e\u7d27\u6025"},"\u4e94\u3001\u65f6\u95f4\u7ba1\u7406-\u91cd\u8981\u4e0e\u7d27\u6025"),(0,a.yg)("p",null,"**"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"A\u3001\u91cd\u8981\u4e14\u7d27\u6025")),(0,a.yg)("p",null,"\u7d27\u6025\u72b6\u51b5\n\u8feb\u5207\u7684\u95ee\u9898\n\u9650\u671f\u5b8c\u6210\u7684\u5de5\u4f5c\n\u4f60\u4e0d\u505a\u5176\u4ed6\u4eba\u4e5f\u4e0d\u80fd\u505a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"B\u3001\u91cd\u8981\u4e0d\u7d27\u6025")),(0,a.yg)("p",null,"\u51c6\u5907\u5de5\u4f5c\n\u9884\u9632\u63aa\u65bd\n\u4ef7\u503c\u89c2\u7684\u6f84\u6e05\n\u8ba1\u5212\n\u4eba\u9645\u5173\u7cfb\u7684\u5efa\u7acb\n\u771f\u6b63\u7684\u518d\u521b\u9020\n\u589e\u8fdb\u81ea\u5df1\u7684\u80fd\u529b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"C\u3001\u7d27\u6025\u4e0d\u91cd\u8981")),(0,a.yg)("p",null,"\u9020\u6210\u5e72\u6270\u7684\u4e8b\u3001\u7535\u8bdd\u3001\n\u4fe1\u4ef6\u3001\u62a5\u544a\n\u4f1a\u8bae\n\u8bb8\u591a\u8feb\u5728\u7709\u6377\u7684\u6025\u4e8b\n\u7b26\u5408\u522b\u4eba\u671f\u671b\u7684\u4e8b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"D\u3001\u4e0d\u91cd\u8981\u4e0d\u7d27\u6025")),(0,a.yg)("p",null,"\u5fd9\u788c\u7410\u788e\u7684\u4e8b\n\u5e7f\u544a\u51fd\u4ef6\n\u7535\u8bdd\n\u9003\u907f\u6027\u6d3b\u52a8\n\u7b49\u5f85\u65f6\u95f4\n\u4f18\u5148\u987a\u5e8f=\u91cd\u8981\u6027*\u7d27\u8feb\u6027\n\u5728\u8fdb\u884c\u65f6\u95f4\u5b89\u6392\u65f6\uff0c\u5e94\u6743\u8861\u5404\u79cd\u4e8b\u60c5\u7684\u4f18\u5148\u987a\u5e8f\uff0c\u8981\u5b66\u4f1a\u201c\u5f39\u94a2\u7434\u201d\u3002\n\u5bf9\u5de5\u4f5c\u8981\u6709\u524d\u77bb\u80fd\u529b\uff0c\u9632\u60a3\u4e8e\u672a\u7136\uff0c\u5982\u679c\u603b\u662f\u5728\u5fd9\u4e8e\u6551\u706b\uff0c\u90a3\u5c06\u4f7f\u6211\u4eec\u7684\u5de5\u4f5c\u6c38\u8fdc\u5904\u7406\u88ab\u52a8\u4e4b\u4e2d\u3002\n**"),(0,a.yg)("h4",{id:"\u516d\u4efb\u52a1\u5206\u89e3\u6cd5wbs"},"\u516d\u3001\u4efb\u52a1\u5206\u89e3\u6cd5","[WBS]"),(0,a.yg)("p",null,"\u5373Work Breakdown Structure\uff0c\u5982\u4f55\u8fdb\u884cWBS\u5206\u89e3\uff1a\u76ee\u6807\u2192\u4efb\u52a1\u2192\u5de5\u4f5c\u2192\u6d3b\u52a8\nWBS\u5206\u89e3\u7684\u539f\u5219\uff1a\n\u5c06\u4e3b\u4f53\u76ee\u6807\u9010\u6b65\u7ec6\u5316\u5206\u89e3\uff0c\u6700\u5e95\u5c42\u7684\u4efb\u52a1\u6d3b\u52a8\u53ef\u76f4\u63a5\u5206\u6d3e\u5230\u4e2a\u4eba\u53bb\u5b8c\u6210\uff1b\u6bcf\u4e2a\u4efb\u52a1\u539f\u5219\u4e0a\u8981\u6c42\u5206\u89e3\u5230\u4e0d\u80fd\u518d\u7ec6\u5206\u4e3a\u6b62\u3002\nWBS\u5206\u89e3\u7684\u65b9\u6cd5\uff1a\n\u81f3\u4e0a\u800c\u4e0b\u4e0e\u81f3\u4e0b\u800c\u4e0a\u7684\u5145\u5206\u6c9f\u901a\uff1b\n\u4e00\u5bf9\u4e00\u4e2a\u522b\u4ea4\u6d41\uff1b\n\u5c0f\u7ec4\u8ba8\u8bba\u3002\nWBS\u5206\u89e3\u7684\u6807\u51c6\uff1a\n\u5206\u89e3\u540e\u7684\u6d3b\u52a8\u7ed3\u6784\u6e05\u6670\uff1b\n\u903b\u8f91\u4e0a\u5f62\u6210\u4e00\u4e2a\u5927\u7684\u6d3b\u52a8\uff1b\n\u96c6\u6210\u4e86\u6240\u6709\u7684\u5173\u952e\u56e0\u7d20\u5305\u542b\u4e34\u65f6\u7684\u91cc\u7a0b\u7891\u548c\u76d1\u63a7\u70b9\uff1b\n\u6240\u6709\u6d3b\u52a8\u5168\u90e8\u5b9a\u4e49\u6e05\u695a\u3002\n\u610f\u4e49\uff1a\u5b66\u4f1a\u5206\u89e3\u4efb\u52a1\uff0c\u53ea\u6709\u5c06\u4efb\u52a1\u5206\u89e3\u5f97\u8db3\u591f\u7ec6\uff0c\u60a8\u624d\u80fd\u5fc3\u91cc\u6709\u6570\uff0c\u60a8\u624d\u80fd\u6709\u6761\u4e0d\u7d0a\u5730\u5de5\u4f5c\uff0c\u60a8\u624d\u80fd\u7edf\u7b79\u5b89\u6392\u60a8\u7684\u65f6\u95f4\u8868\u3002\n**"),(0,a.yg)("h4",{id:"\u4e03\u4e8c\u516b\u539f\u5219"},"\u4e03\u3001\u4e8c\u516b\u539f\u5219"),(0,a.yg)("p",null,"\u5df4\u5217\u7279\u5b9a\u5f8b\uff1a\u201c\u603b\u7ed3\u679c\u768480%\u662f\u7531\u603b\u6d88\u8017\u65f6\u95f4\u4e2d\u768420%\u6240\u5f62\u6210\u7684\u3002\u201d\u6309\u4e8b\u60c5\u7684\u201c\u91cd\u8981\u7a0b\u5ea6\u201d\u7f16\u6392\u4e8b\u52a1\u4f18\u5148\u6b21\u5e8f\u7684\u51c6\u5219\u662f\u5efa\u7acb\u5728\u201c\u91cd\u8981\u7684\u5c11\u6570\u4e0e\u7410\u788e\u7684\u591a\u6570\u201d\u7684\u539f\u7406\u7684\u57fa\u7840\u4e0a\u3002\n\u4e3e\u4f8b\u8bf4\u660e\uff1a\n80%\u7684\u9500\u552e\u989d\u662f\u6e90\u81ea20%\u7684\u987e\u5ba2\uff1b\n80%\u7684\u7535\u8bdd\u662f\u6765\u81ea20%\u7684\u670b\u53cb\uff1b\n80%\u7684\u603b\u4ea7\u91cf\u6765\u81ea20%\u7684\u4ea7\u54c1\uff1b\n80%\u7684\u8d22\u5bcc\u96c6\u4e2d\u572820%\u7684\u4eba\u624b\u4e2d\uff1b\n\u8fd9\u542f\u793a\u6211\u4eec\u5728\u5de5\u4f5c\u4e2d\u8981\u5584\u4e8e\u6293\u4e3b\u8981\u77db\u76fe\uff0c\u5584\u4e8e\u4ece\u7eb7\u7e41\u590d\u6742\u7684\u5de5\u4f5c\u4e2d\u7406\u51fa\u5934\u7eea\uff0c\u628a\u8d44\u6e90\u7528\u5728\u6700\u91cd\u8981\u3001\u6700\u7d27\u8feb\u7684\u4e8b\u60c5\u4e0a\u3002"),(0,a.yg)("h3",{id:"\u63d0\u9ad8\u63d0\u6d4b\u8d28\u91cf"},"\u63d0\u9ad8\u63d0\u6d4b\u8d28\u91cf"),(0,a.yg)("p",null,"QA\u7684\u804c\u8d23\u4e0d\u662f\u5f00\u53d1\u5199\u5b8c\u6254\u7ed9\u4eba\u5bb6\u6d4b\u8bd5\uff0c\u8fd9\u662f\u504f\u89c1\uff0c\u4e5f\u662f\u597d\u591a\u5f00\u53d1\u4eba\u5458\u4e00\u76f4\u6709\u7684\u9519\u8bef\u7684\u89c2\u5ff5\uff0cQA \u4e0d\u662f\u7b80\u5355\u7684\u9a8c\u8bc1\u529f\u80fd\u6027\u7684\uff08\u5f53\u7136\u5b58\u5728\u8fd9\u79cdAQ\uff09\uff0cQA\u66f4\u591a\u662f\u9a8c\u8bc1\u7a0b\u5e8f\u7684",(0,a.yg)("strong",{parentName:"p"},"\u5065\u58ee\u6027"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u5bb9\u9519\u6027"),"\uff0c\u6240\u4ee5\u5728\u6211\u4eec\u8fd9\u91cc\u5e94\u8be5\u4fdd\u8bc1\u7a0b\u5e8f\u6700\u57fa\u672c\u7684\u529f\u80fd\u6027\u95ee\u9898\uff0c\u51cf\u5c11\u4ee3\u7801\u7684\u56de\u6eaf\uff0c\u8fd9\u6837\u624d\u80fd\u4e0d\u5f71\u54cd\u4ea7\u54c1\u7684\u8fc5\u901f\u8fed\u4ee3\uff0c\u4e0d\u5f71\u54cd\u4ea7\u54c1\u7684\u63a8\u8fdb\u3002"),(0,a.yg)("h3",{id:"\u5148\u5199\u6587\u6863\u518d\u5199\u4ee3\u7801"},"\u5148\u5199\u6587\u6863\u518d\u5199\u4ee3\u7801"),(0,a.yg)("p",null,"\u597d\u591a\u7a0b\u5e8f\u5458\u7684\u901a\u75c5\u5c31\u662f\u62ff\u5230\u9700\u6c42\u5c31\u5f00\u59cb\u5199\u4ee3\u7801\uff0c\u8fd9\u662f\u76f8\u5f53\u7684\u4e0d\u8d1f\u8d23\u4efb\u7684\uff0c\u5f88\u660e\u663e\u8fd9\u79cd\u505a\u6cd5\u6709\u95ee\u9898\u3002\u5e94\u8be5\u5148\u5199\u81ea\u5df1\u7684\u601d\u8def\uff0c\u5982\u679c\u529f\u80fd\u5927\u4e00\u4e9b\uff0c\u8981\u5148\u5199\u65b9\u6848\uff0c\u8bc4\u5ba1\u65b9\u6848\u3002\u601d\u8def\u3001\u65b9\u6848\u6ca1\u6709\u95ee\u9898\u5728\u52a8\u624b\u53bb\u5199\u4ee3\u7801\uff0c\u4f60\u4f1a\u53d1\u73b0\u5751\u4f1a\u5c11\u8e29\u597d\u591a\u3002"),(0,a.yg)("h3",{id:"\u4e00\u4e2a\u7a0b\u5e8f\u5458\u7684\u4ef7\u503c\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b"},"\u4e00\u4e2a\u7a0b\u5e8f\u5458\u7684\u4ef7\u503c\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b"),(0,a.yg)("p",null,"\u6280\u672f\u8d8a\u597d\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b\u8d8a\u5f3a\uff0c\u8fd9\u4e2a\u6ca1\u6709\u95ee\u9898\uff0c\u8fd9\u662f\u4e00\u4e2a\u6b63\u5411\u6bd4\u4f8b\u5173\u7cfb\u3002\u4f46\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b\uff0c\u4e0d\u4ec5\u4ec5\u5305\u62ec\u6280\u672f\uff0c\u4e5f\u5305\u62ec\u6c9f\u901a\u3001\u4e1a\u52a1\u7b49\u7b49\u5176\u4ed6\u65b9\u9762\u3002\u5728\u5de5\u4f5c\u4e2d\uff0c\u4e0d\u8981\u4ec5\u4ec5\u7684\u53bb\u5b66\u4e60\u5404\u79cd\u7f16\u7a0b\u6280\u672f\uff0c\u4e5f\u8981\u5b66\u4f1a\u6c9f\u901a\u3001\u4e1a\u52a1\u3002"),(0,a.yg)("h3",{id:"\u6ce8\u610f\u6d41\u7a0b\u89c4\u8303"},"\u6ce8\u610f\u6d41\u7a0b\u3001\u89c4\u8303"),(0,a.yg)("p",null,"\u5c24\u5176\u662f\u7ba1\u7406\u4eba\u5458\u3001\u7ec4\u957f\u3001\u9ad8\u7a0b\uff0c\u4e00\u5b9a\u8981\u4e3b\u8981\u6d41\u7a0b\u548c\u89c4\u8303\uff0c\u6ca1\u6709\u6d41\u7a0b\u548c\u89c4\u8303\u5c31\u662f\u4e00\u7fa4\u4e4c\u5408\u4e4b\u4f17\uff0c\u6ca1\u6709\u4efb\u4f55\u6218\u529b\u53ef\u8a00\u3002\u6709\u4e86\u6d41\u7a0b\u548c\u89c4\u8303\uff0c10\u4e2a\u4eba\u53ef\u4ee5\u505a20\u4e2a\u4eba\u7684\u5de5\u4f5c\uff1b\u6ca1\u6709\u6d41\u7a0b\u548c\u89c4\u8303\uff0c20\u4e2a\u4eba\u9876\u591a\u4e5f\u53ea\u80fd\u505a10\u4e2a\u4eba\u7684\u5de5\u4f5c\uff0c\u4e14\u4e0d\u4f1a\u6709\u4efb\u4f55\u53ef\u7ef4\u62a4\u6027\u3002"))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1366],{15680:(e,n,l)=>{l.d(n,{xA:()=>u,yg:()=>s});var t=l(96540);function a(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function r(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,t)}return l}function p(e){for(var n=1;n=0||(a[l]=e[l]);return a}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}var i=t.createContext({}),y=function(e){var n=t.useContext(i),l=n;return e&&(l="function"==typeof e?e(n):p(p({},n),e)),l},u=function(e){var n=y(e.components);return t.createElement(i.Provider,{value:n},e.children)},o="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},d=t.forwardRef((function(e,n){var l=e.components,a=e.mdxType,r=e.originalType,i=e.parentName,u=g(e,["components","mdxType","originalType","parentName"]),o=y(l),d=a,s=o["".concat(i,".").concat(d)]||o[d]||m[d]||r;return l?t.createElement(s,p(p({ref:n},u),{},{components:l})):t.createElement(s,p({ref:n},u))}));function s(e,n){var l=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var r=l.length,p=new Array(r);p[0]=d;var g={};for(var i in n)hasOwnProperty.call(n,i)&&(g[i]=n[i]);g.originalType=e,g[o]="string"==typeof e?e:a,p[1]=g;for(var y=2;y{l.r(n),l.d(n,{assets:()=>i,contentTitle:()=>p,default:()=>m,frontMatter:()=>r,metadata:()=>g,toc:()=>y});var t=l(58168),a=(l(96540),l(15680));const r={},p=void 0,g={unversionedId:"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97",id:"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97",title:"\u8c08\u5de5\u4f5c\u5fc3\u5f97",description:"\u5236\u5b9a\u539f\u5219\uff1a\u624b\u4e2d\u65e0\u5200\uff0c\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200",source:"@site/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97.md",sourceDirName:"study/think",slug:"/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97",permalink:"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5206\u5e03\u5f0f\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58"},next:{title:"\u9650\u6d41",permalink:"/docs/study/think/\u9650\u6d41"}},i={},y=[{value:"\u5236\u5b9a\u539f\u5219\uff1a\u624b\u4e2d\u65e0\u5200\uff0c\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200",id:"\u5236\u5b9a\u539f\u5219\u624b\u4e2d\u65e0\u5200\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200",level:3},{value:"\u6280\u672f\u56e2\u961f\u6210\u9f99\u6210\u866b\u7684\u79d8\u8bc0",id:"\u6280\u672f\u56e2\u961f\u6210\u9f99\u6210\u866b\u7684\u79d8\u8bc0",level:3},{value:"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94",id:"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94",level:4},{value:"\u613f\u666f\u521d\u5fc3\u5f88\u91cd\u8981\u3002",id:"\u613f\u666f\u521d\u5fc3\u5f88\u91cd\u8981",level:4},{value:"\u4e13\u4e1a\u7684\u4eba\u505a\u4e13\u4e1a\u7684\u4e8b",id:"\u4e13\u4e1a\u7684\u4eba\u505a\u4e13\u4e1a\u7684\u4e8b",level:3},{value:"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u603b\u7ed3",id:"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u603b\u7ed3",level:3},{value:"\u6ca1\u6709\u9884\u89c1\u6027\u4f60\u51ed\u4ec0\u4e48\u664b\u5347",id:"\u6ca1\u6709\u9884\u89c1\u6027\u4f60\u51ed\u4ec0\u4e48\u664b\u5347",level:3},{value:"\u4ec0\u4e48\u662f\u9884\u89c1\u6027\uff1f",id:"\u4ec0\u4e48\u662f\u9884\u89c1\u6027",level:4},{value:"\u6211\u53f8\u7814\u53d1\u6587\u5316=",id:"\u6211\u53f8\u7814\u53d1\u6587\u5316",level:3},{value:"Don't make me think",id:"dont-make-me-think",level:3},{value:"If it hurts, do it more and often",id:"if-it-hurts-do-it-more-and-often",level:3},{value:"\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b",id:"\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b",level:3},{value:"\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848",id:"\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848",level:3},{value:"DevOps \u65b0\u516b\u8363\u516b\u803b\uff0c\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce",id:"devops-\u65b0\u516b\u8363\u516b\u803b\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce",level:3},{value:"\u6838\u5fc3\u4e1a\u52a1\u6d41\u7a0b\u7684\u6545\u969c\u5904\u7406\u539f\u5219\uff1a\u4e0d\u53ef\u604b\u6218",id:"\u6838\u5fc3\u4e1a\u52a1\u6d41\u7a0b\u7684\u6545\u969c\u5904\u7406\u539f\u5219\u4e0d\u53ef\u604b\u6218",level:3},{value:"\u5f53\u6211\u4eec\u8c08\u91cd\u6784\u7684\u65f6\u5019\u6211\u4eec\u60f3\u8c08\u4ec0\u4e48",id:"\u5f53\u6211\u4eec\u8c08\u91cd\u6784\u7684\u65f6\u5019\u6211\u4eec\u60f3\u8c08\u4ec0\u4e48",level:3},{value:"\u8981\u719f\u7ec3\u638c\u63e1\u7684\u4e03\u4e2a\u4eba\u751f\u5de5\u5177",id:"\u8981\u719f\u7ec3\u638c\u63e1\u7684\u4e03\u4e2a\u4eba\u751f\u5de5\u5177",level:3},{value:"\u4e00\u3001SWOT\u5206\u6790\u6cd5\uff1a",id:"\u4e00swot\u5206\u6790\u6cd5",level:4},{value:"\u4e8c\u3001PDCA\u5faa\u73af\u89c4\u5219",id:"\u4e8cpdca\u5faa\u73af\u89c4\u5219",level:4},{value:"\u4e09\u30016W2H\u6cd5",id:"\u4e096w2h\u6cd5",level:4},{value:"\u56db\u3001SMART\u539f\u5219",id:"\u56dbsmart\u539f\u5219",level:4},{value:"\u4e94\u3001\u65f6\u95f4\u7ba1\u7406-\u91cd\u8981\u4e0e\u7d27\u6025",id:"\u4e94\u65f6\u95f4\u7ba1\u7406-\u91cd\u8981\u4e0e\u7d27\u6025",level:4},{value:"\u516d\u3001\u4efb\u52a1\u5206\u89e3\u6cd5WBS",id:"\u516d\u4efb\u52a1\u5206\u89e3\u6cd5wbs",level:4},{value:"\u4e03\u3001\u4e8c\u516b\u539f\u5219",id:"\u4e03\u4e8c\u516b\u539f\u5219",level:4},{value:"\u63d0\u9ad8\u63d0\u6d4b\u8d28\u91cf",id:"\u63d0\u9ad8\u63d0\u6d4b\u8d28\u91cf",level:3},{value:"\u5148\u5199\u6587\u6863\u518d\u5199\u4ee3\u7801",id:"\u5148\u5199\u6587\u6863\u518d\u5199\u4ee3\u7801",level:3},{value:"\u4e00\u4e2a\u7a0b\u5e8f\u5458\u7684\u4ef7\u503c\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b",id:"\u4e00\u4e2a\u7a0b\u5e8f\u5458\u7684\u4ef7\u503c\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b",level:3},{value:"\u6ce8\u610f\u6d41\u7a0b\u3001\u89c4\u8303",id:"\u6ce8\u610f\u6d41\u7a0b\u89c4\u8303",level:3}],u={toc:y},o="wrapper";function m(e){let{components:n,...l}=e;return(0,a.yg)(o,(0,t.A)({},u,l,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5236\u5b9a\u539f\u5219\u624b\u4e2d\u65e0\u5200\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200"},"\u5236\u5b9a\u539f\u5219\uff1a\u624b\u4e2d\u65e0\u5200\uff0c\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200"),(0,a.yg)("p",null,"\u8f6f\u4ef6\u5de5\u7a0b\u548c\u6280\u672f\u9886\u57df\u91cc\u867d\u8bf4\u6cd5\u65e0\u5b9a\u6cd5\uff0c\u9700\u6c42\u548c\u6d41\u7a0b\u968f\u4fbf\u600e\u4e48\u505a\u90fd\u53ef\u4ee5\uff0c\u4f46\u4e5f\u5e76\u975e\u53ef\u4ee5\u5929\u9a6c\u884c\u7a7a\u6063\u610f\u5984\u4e3a\uff0c\u7a0d\u4e0d\u7559\u610f\u5c31\u53ef\u80fd\u5929\u584c\u5730\u9677\u5899\u5012\u5c4b\u584c\uff0c\u917f\u6210\u4e0d\u53ef\u6536\u62fe\u4e4b\u60e8\u5267\u3002\u4e0b\u9762\u6211\u5c31\u8bf4\u9053\u8bf4\u9053\u3002"),(0,a.yg)("p",null,"2020\u5e741\u6708\u5e952\u6708\u521d\uff0c\u9996\u90fd\u533b\u79d1\u5927\u5b66\u9644\u5c5e\u590d\u5174\u533b\u9662\u51fa\u73b0\u533b\u62a4\u4eba\u5458\u611f\u67d3\u65b0\u51a0\u80ba\u708e\u4e8b\u4ef6\uff0c\u6700\u7ec8\u7d2f\u8ba1\u786e\u8bca34\u4eba\uff0c\u65e2\u6709\u533b\u62a4\u4e5f\u6709\u60a3\u8005\u548c\u5bb6\u5c5e\uff0c\u539f\u56e0\u4e5f\u975e\u5e38\u201c\u611f\u4eba\u201d\uff1a\u4e00\u4f4d\u6709\u6b66\u6c49\u63a5\u89e6\u53f2\u7684\u8001\u592a\u592a\uff0c\u672c\u6765\u5c5e\u4e8e\u201c\u65b0\u51a0\u80ba\u708e\u7591\u4f3c\u75c5\u4f8b\u201d\u5728\u53d1\u70ed\u95e8\u8bca\u770b\u75c5\uff0c\u4f46\u5374\u7a81\u53d1\u5947\u60f3\uff0c\u901a\u8fc7\u9662\u9886\u5bfc\u7684\u5173\u7cfb\uff0c\u6258\u5173\u7cfb\u627e\u5fc3\u5185\u79d1ICU\u4e3b\u4efb\u97e9\u67d0\uff0c\u6123\u662f\u4ece\u9632\u62a4\u68ee\u4e25\u7684\u53d1\u70ed\u95e8\u8bca\u75c5\u623f\u8f6c\u8fdb\u4e86\u4e91\u6de1\u98ce\u8f7b\u7684\u5fc3\u5185\u79d1ICU\uff0c\u7ed3\u679c\u6a2a\u626b\u4e00\u7247\u3002"),(0,a.yg)("p",null,"\u6211\u4e00\u76f4\u8bf4\uff0c\u5de5\u7a0b\u5e08\u56e2\u961f\u548c\u533b\u62a4\u56e2\u961f\u90fd\u662f\u4e13\u4e1a\u9886\u57df\u673a\u6784\uff0c\u7ba1\u7406\u65b9\u5f0f\u6709\u76f8\u4f3c\u4e4b\u5904\u3002\u90a3\u4e48\u5728\u8fd9\u4e2a\u6848\u4f8b\u91cc\uff0c\u7ba1\u7406\u8005\u72af\u4e86\u4ec0\u4e48\u9519\u8bef\uff1f\u5fc3\u4e2d\u65e0\u539f\u5219\uff01"),(0,a.yg)("p",null,"\u5fc3\u4e2d\u65e0\u539f\u5219\uff0c\u4f1a\u6709\u4e00\u767e\u4e07\u79cd\u6b7b\u6cd5\u3002"),(0,a.yg)("p",null,"\u539f\u5219\uff01\u4e13\u4e1a\u56e2\u961f\u7684\u7ba1\u7406\u8005\u5fc3\u4e2d\u4e00\u5b9a\u8981\u6709\u539f\u5219\uff0c\u4f60\u6709\u4e86\u539f\u5219\uff0c\u624d\u80fd\u8981\u6c42\u5927\u5bb6\u201c\u8bb2\u653f\u6cbb\uff0c\u5b88\u89c4\u77e9\u201d\uff01\u540c\u6837\uff0c\u5728\u505a\u8bbe\u8ba1\u7684\u65f6\u5019\uff0c\u5148\u628a\u8bbe\u8ba1\u613f\u666f\u3001\u8bbe\u8ba1\u5206\u9636\u6bb5\u76ee\u6807\u3001\u8bbe\u8ba1\u539f\u5219\u5199\u4e0b\u6765\uff0c\u5728\u6b64\u57fa\u7840\u4e0a\u753b\u5730\u4e3a\u7262\u518d\u505a\u8bbe\u8ba1\u63a8\u6f14\uff0c\u83ab\u8981\u5929\u9a6c\u884c\u7a7a\u6063\u610f\u5984\u4e3a\u3002\u624b\u4e2d\u65e0\u5200\uff0c\u5fc3\u4e2d\u6709\u5200\u3002"),(0,a.yg)("p",null,"\u4f5c\u4e3a\u7ba1\u7406\u8005\uff0c\u5982\u679c\u4e0d\u8bb2\u539f\u5219\uff0c\u6ca1\u6709\u89c4\u8303\uff0c\u65e0\u6cd5\u505a\u597d\u7ba1\u7406\u3002\u4e0b\u9762\u7684\u4eba\u4f1a\u65e0\u6240\u9002\u4ece\uff0c\u56e0\u4e3a\u539f\u5219\u5929\u5929\u53d8\uff0c\u4eca\u5929\u8fd9\u6837\uff0c\u660e\u5929\u53c8\u90a3\u6837\uff0c\u6beb\u65e0\u7ae0\u6cd5\u3002\u4e0b\u9762\u7684\u4eba\u4e0d\u77e5\u9053\u5f80\u54ea\u91cc\u91cd\u70b9\u4f7f\u52b2\uff0c\u4e8b\u60c5\u5c31\u4f1a\u53d8\u5f97\u4e00\u56e2\u7cdf\u3002"),(0,a.yg)("p",null,"\u4e0d\uff0c\u6ca1\u6709\u4ec0\u4e48\u6cd5\u65e0\u5b9a\u6cd5\uff0c\u6280\u672f\u7684\u4e16\u754c\u91cc\u4e00\u5b9a\u662f\u6709\u6cd5\u5219\u7684\uff0c\u5426\u5219\u4f60\u4f1a\u6b7b\u5f97\u5f88\u96be\u770b\uff0c\u522b\u6307\u671b\u6211\u6765\u6551\u4f60\uff0c\u6211\u6551\u90fd\u6551\u4e0d\u8d62\u3002"),(0,a.yg)("p",null,"You\uff01Leaders\uff01\u4e00\u5b9a\u8981\u901a\u8fc7\u5c42\u5c42\u53e0\u52a0\u7684\u201cRules\u201d\u5efa\u7acb\u8d77\u672c\u80fd\u53cd\u5e94\uff0c\u4e00\u9047\u5230\u7c7b\u4f3c\u7684\u4e8b\u60c5\uff0c\u5e94\u6fc0\u822c\u7684\u5c31\u77e5\u9053\u8be5\u600e\u4e48\u8bbe\u8ba1\uff0c\u600e\u4e48\u884c\u52a8\uff0c\u600e\u4e48\u6551\u706b\u3002\n\u800c\u8fd9\u4e9b\u201cRules\u201d\u662f\u7ecf\u5386\u4e86\u8840\u4e0e\u706b\u7684\u6d17\u793c\u94f8\u9020\u7684\uff0c\u6bcf\u4e00\u6761\u90fd\u6709\u6765\u7531\u6709\u53bb\u8def\u3002\n\u6bd4\u5982\u8bf4\uff0c\u6211\u57282018\u5e74\u5b9a\u4e49\u7684 DevOps \u65b0\u516b\u8363\u516b\u803b\uff0c\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u968f\u65f6\u53ef\u6269\u5bb9\u3001\u53ef\u7f29\u5bb9\u3001\u53ef\u91cd\u542f\u3001\u53ef\u5207\u6362\u673a\u623f\u6d41\u91cf\u4e3a\u8363\uff0c\u4ee5\u4e0d\u80fd\u8fc1\u79fb\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u53ef\u914d\u7f6e\u4e3a\u8363\uff0c\u4ee5\u786c\u7f16\u7801\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u7cfb\u7edf\u4e92\u5907\u4e3a\u8363\uff0c\u4ee5\u7cfb\u7edf\u5355\u70b9\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u4ea4\u4ed8\u65f6\u6709\u76d1\u63a7\u62a5\u8b66\u4e3a\u8363\uff0c\u4ee5\u4ea4\u4ed8\u88f8\u5954\u7cfb\u7edf\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u65e0\u72b6\u6001\u4e3a\u8363\uff0c\u4ee5\u6709\u72b6\u6001\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u6807\u51c6\u5316\u4e3a\u8363\uff0c\u4ee5\u7279\u6b8a\u5316\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u81ea\u52a8\u5316\u5de5\u5177\u4e3a\u8363\uff0c\u4ee5\u4eba\u8089\u64cd\u4f5c\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u65e0\u4eba\u503c\u5b88\u4e3a\u8363\uff0c\u4ee5\u4eba\u5de5\u4ecb\u5165\u4e3a\u803b\u3002")),(0,a.yg)("p",null,"\xa0\n\u5982\u4f55\u81ea\u5efa\u6cd5\u5219\uff1f\n\u4ece\u9519\u8bef\u4e2d\u5b66\u4e60\u9519\u8bef\uff01"),(0,a.yg)("p",null,"\xa0\n\u300e\u5b66\u6821\u91cc\u5b66\u4e60\u6700\u597d\u7684\u5b66\u751f\u53ef\u80fd\u5f80\u5f80\u662f\u90a3\u4e9b\u6700\u4e0d\u5584\u4e8e\u4ece\u9519\u8bef\u4e2d\u5b66\u4e60\u7684\u4eba\uff0c\u56e0\u4e3a\u4ed6\u4eec\u5df2\u7ecf\u4e60\u60ef\u4e86\u628a\u9519\u9898\u5f53\u6210\u5931\u8d25\u7684\u4ee3\u540d\u8bcd\uff0c\u800c\u4e0d\u662f\u628a\u72af\u9519\u770b\u6210\u5b66\u4e60\u7684\u673a\u4f1a\uff0c\u8fd9\u53cd\u800c\u6210\u4e3a\u4ed6\u4eec\u8fdb\u6b65\u7684\u4e3b\u8981\u969c\u788d\u3002\u8d70\u5165\u793e\u4f1a\u4e4b\u540e\uff0c\u806a\u660e\u7684\u4eba\u5fc5\u987b\u5584\u4e8e\u62e5\u62b1\u81ea\u5df1\u7684\u9519\u8bef\u548c\u4e0d\u8db3\uff0c\u4ece\u800c\u80fd\u8fdc\u8fdc\u8d85\u8fc7\u90a3\u4e9b\u4e0e\u4ed6\u4eec\u6c34\u5e73\u76f8\u5f53\uff0c\u4f46\u66f4\u81ea\u8d1f\u7684\u540c\u5b66\u3001\u540c\u8f88\u3002\u300f\n\u8fd9\u4e5f\u5c31\u662f\u4e3a\u4ec0\u4e48\u5e73\u51e1\u4eba\u53ef\u4e3a\u975e\u51e1\u4e8b\u7684\u7f18\u6545\uff01\n\u300e\u4e0d\u8981\u60a3\u5f97\u60a3\u5931\uff0c\u8981\u671d\u7740\u76ee\u6807\u52aa\u529b\u524d\u884c\u3002\u8981\u81ea\u7701\u81ea\u8b66\uff0c\u522b\u4eba\u5bf9\u4f60\u5f88\u5230\u4f4d\u7684\u6279\u8bc4\uff0c\u662f\u4f60\u80fd\u5f97\u5230\u7684\u6700\u5b9d\u8d35\u7684\u5efa\u8bae\u3002\u60f3\u60f3\u770b\uff0c\u4f60\u7684\u6ed1\u96ea\u6559\u7ec3\u544a\u8bc9\u4f60\uff0c\u4f60\u6454\u8ddf\u5934\u662f\u56e0\u4e3a\u4f60\u6ed1\u884c\u4e2d\u7684\u91cd\u5fc3\u79fb\u52a8\u4e0d\u5bf9\uff0c\u6b64\u65f6\u4f60\u8981\u662f\u8ba4\u4e3a\u4ed6\u5728\u8d23\u9a82\u4f60\uff0c\u4f60\u8be5\u591a\u4e48\u611a\u8822\u548c\u4f4e\u6548\u3002\u540c\u7406\uff0c\u4f60\u7684\u4e0a\u53f8\uff0c\u6211\uff0c\u4e5f\u53ef\u80fd\u4f1a\u6307\u51fa\u4f60\u5de5\u4f5c\u4e2d\u7684\u7f3a\u70b9\uff0c\u6709\u5219\u6539\u4e4b\uff0c\u7ee7\u7eed\u52aa\u529b\u5c31\u662f\u4e86\u3002\u300f\n\u7b49\u6709\u4e00\u5929\u4f60\u4f9d\u636e\u672c\u80fd\uff08\u4e5f\u5c31\u662f\u4f60\u81ea\u5efa\u7684\u6cd5\u5219\uff09\u884c\u4e8b\u7684\u65f6\u5019\uff0c\u4f60\u80af\u5b9a\u4f1a\u628a\u4e8b\u60c5\u505a\u5f97\u5f88\u597d\uff01"),(0,a.yg)("h3",{id:"\u6280\u672f\u56e2\u961f\u6210\u9f99\u6210\u866b\u7684\u79d8\u8bc0"},"\u6280\u672f\u56e2\u961f\u6210\u9f99\u6210\u866b\u7684\u79d8\u8bc0"),(0,a.yg)("h4",{id:"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94"},"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94"),(0,a.yg)("p",null,"\u9519\u8bef\u4f1a\u6f14\u53d8\u6210\u4ec0\u4e48\uff0c\u53d6\u51b3\u4e8e\u4f60\u600e\u4e48\u770b\u5f85\u5b83\u3002\u4f60\u89c9\u5f97\u5b83\u662f\u7f9e\u803b\uff0c\u5e94\u8be5\u9690\u79d8\u4e8e\u4eba\uff0c\u6700\u597d\u7edd\u53e3\u4e0d\u63d0\uff0c\u90a3\u4e48\u5b83\u5c31\u4f1a\u53d8\u6210\u5b83\u5b83\u5b83\u5b83\u5b83\u5b83\u5b83\uff0c\u6700\u7ec8\u53d8\u6210\u5927\u707e\u96be\u3002\u4f60\u89c9\u5f97\u5b83\u662f\u8d22\u5bcc\uff0c\u662f\u7ec4\u7ec7\u8fdb\u6b65\u7684\u597d\u673a\u4f1a\uff0c\u662f\u63a8\u884c\u5de5\u5177\u548c\u89c4\u8303\u7684\u5207\u5165\u70b9\uff0c\u90a3\u4e48\u5b83\u5c31\u4f1a\u771f\u7684\u6210\u4e3a\u56e2\u961f\u7684\u4e0d\u53ef\u78e8\u706d\u7684\u4f20\u627f\uff0c\u6210\u4e3a\u5b9d\u8d35\u8d22\u5bcc\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u9519\u8bef\u7684\u89c2\u5bdf\u8005\u6548\u5e94\uff1a"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4f60\u8ba4\u4e3a\u9519\u8bef\u662f\u8d22\u5bcc\uff0c\u5b83\u5c31\u662f\u5b9d\u8d35\u8d22\u5bcc\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4f60\u8ba4\u4e3a\u9519\u8bef\u662f\u5931\u8d25\uff0c\u5b83\u7acb\u9a6c\u53d8\u6210\u707e\u96be\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\n\u5176\u5b9e\u8fd8\u6709\u4e00\u79cd\u89c2\u5bdf\u8005\u6548\u5e94\u3002\n"),"\u56e2\u961f\u7684\u89c2\u5bdf\u8005\u6548\u5e94\uff1a**\n",(0,a.yg)("strong",{parentName:"p"},"\u4f60\u8ba4\u4e3a\u56e2\u961f\u662f\u8d22\u5bcc\uff0c\u5b83\u5c31\u662f\u8d22\u5bcc\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4f60\u8ba4\u4e3a\u56e2\u961f\u662f\u6210\u672c\u5305\u88b1\uff0c\u5b83\u7acb\u9a6c\u53d8\u8eab\u5305\u88b1\u3002")),(0,a.yg)("p",null,"2017\u5e74\uff0c\u6709\u8d5eCTO\u5d14\u7389\u677e\u8bf4\uff0c\u6211\u60f3\u6253\u9020\u51fa\u4e2d\u56fd\u6700\u597d\u7684\u6280\u672f\u56e2\u961f\u3002"),(0,a.yg)("blockquote",null,(0,a.yg)("p",{parentName:"blockquote"},"\u6280\u672f\u4e0a\uff0c\u6709\u8d5e\u8d70\u8fc7\u7684\u8def\u548c\u5927\u591a\u6570\u4ece\u5c0f\u5230\u5927\u7684\u521b\u4e1a\u516c\u53f8\u5dee\u4e0d\u591a\uff0c\u90fd\u662f\u524d\u671f\u4e13\u6ce8\u4e8e\u89e3\u51b3\u4e1a\u52a1\u95ee\u9898\uff0c\u6700\u540e\u67b6\u6784\u95ee\u9898\u5728\u67d0\u4e2a\u65f6\u95f4\u70b9\u96c6\u4e2d\u7206\u53d1\uff0c\u5bfc\u81f4\u5f88\u591a\u7684\u4e0d\u7a33\u5b9a\u3002\u8fd9\u4e00\u70b9\u4e0d\u7ba1\u662f\u963f\u91cc\u4e5f\u597d\uff0c\u4eac\u4e1c\u4e5f\u7f62\uff0c\u8fd8\u662f\u6700\u8fd1\u4ea4\u6d41\u7684\u4e00\u4e9b\u5176\u4ed6\u516c\u53f8\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\u4e00\u6837\u7684\uff0c\u53ea\u662f\u5927\u5bb6\u95ee\u9898\u7684\u4e25\u91cd\u7a0b\u5ea6\u548c\u89e3\u51b3\u95ee\u9898\u7684\u901f\u5ea6\u4e0d\u4e00\u6837\u3002",(0,a.yg)("strong",{parentName:"p"},"\u6709\u8d5e\u7684\u89e3\u51b3\u65b9\u6cd5\u548c\u5927\u5bb6\u4e5f\u6ca1\u4ec0\u4e48\u592a\u5927\u533a\u522b\uff0c\u5c31\u662f\u7ec4\u5efa\u4e00\u6d41\u5e95\u5c42\u6838\u5fc3\u67b6\u6784\u548c\u6838\u5fc3\u8fd0\u7ef4\u56e2\u961f\uff0c\u8fd9\u4e2a\u56e2\u961f\u5fc5\u987b\u5f97\u597d\uff0c\u4e0d\u7136\u89e3\u51b3\u95ee\u9898\u7684\u901f\u5ea6\u975e\u5e38\u975e\u5e38\u6162\uff0c\u6bcf\u5929\u90fd\u53ef\u80fd\u5b95\u673a\uff0c\u4f1a\u4e25\u91cd\u5f71\u54cd\u516c\u53f8\u4e1a\u52a1\u53ca\u6548\u76ca\u3002"),"\n\u65e5\u5e38\u4e1a\u52a1\u4e2d\uff0c\u6211\u4eec\u975e\u5e38\u9f13\u52b1\u5927\u5bb6\u76f8\u4e92\u8865\u4f4d\uff0c\u6709\u95ee\u9898\u53ca\u65f6\u5bfb\u627e\u8d44\u6e90\uff0c\u53ca\u65f6\u83b7\u53d6\u6709\u6548\u7684\u4fe1\u606f\uff0c\u9f13\u52b1\u5927\u5bb6\u9762\u5bf9\u9762\u628a\u4e8b\u60c5\u8bf4\u6e05\u695a\u3002\n\u2014\u20142017\uff0c\u6709\u8d5eCTO\u5d14\u7389\u677e\uff1a\u6211\u60f3\u6253\u9020\u51fa\u4e2d\u56fd\u6700\u597d\u7684\u6280\u672f\u56e2\u961f")),(0,a.yg)("p",null,"2020\u5e74\uff0c\u73b0\u5728\u6765\u770b\uff0c\u4ed6\u53ef\u80fd\u786e\u5b9e\u505a\u5230\u4e86\uff0c\u6709\u8d5e\u7684\u6280\u672f\u5e95\u8574\u975e\u5e38\u5f3a\u3002\u5f53\u7136\u4e0a\u9762\u8fd8\u6709\u4e00\u5c42\u7f8e\u56e2\uff0c\u518d\u4e0a\u9762\u8fd8\u6709\u4e00\u5c42\u963f\u91cc\u5df4\u5df4\u3002"),(0,a.yg)("h4",{id:"\u613f\u666f\u521d\u5fc3\u5f88\u91cd\u8981"},"\u613f\u666f\u521d\u5fc3\u5f88\u91cd\u8981\u3002"),(0,a.yg)("p",null,"\u6709\u7684\u4eba\u613f\u666f\u5c31\u662f\u6d3b\u4e0b\u53bb\uff0c\u90a3\u4e48\u5e74\u590d\u4e00\u5e74\u65e5\u590d\u4e00\u65e5\u59cb\u7ec8\u6323\u624e\u5728\u751f\u6b7b\u8fb9\u7f18\u3002\n\u6709\u7684\u4eba\u613f\u666f\u5c31\u662f\u7528\u4e09\u4e94\u4e2a\u4eba\u505a\u4e00\u4e2a\u8d5a\u94b1\u7684\u5c0f\u516c\u53f8\uff0c\u90a3\u4e48\u4e5f\u633a\u597d\uff0c\u4ed6\u80fd\u8fd9\u6837\u8fc7\u4e00\u8f88\u5b50\u3002\n\u6709\u7684\u4eba\u6ca1\u6709\u613f\u666f\uff0c\u6240\u4ee5\u4ed6\u6b7b\u4e86\u3002"),(0,a.yg)("p",null,"\xa0\n\u963f\u91cc\u5df4\u5df4\u7684\u201c",(0,a.yg)("strong",{parentName:"p"},"\u6b64\u65f6\u6b64\u523b\uff0c\u975e\u6211\u83ab\u5c5e"),"\u201d\u786e\u5b9e\u725b\u903c\uff0c99\u5e74\u5c31\u6709\u4e86\uff0c\u53ef\u4ee5\u8bf4\u662f\u963f\u91cc\u5df4\u5df4\u7b2c\u4e00\u53e5\u571f\u8bdd\u3002"),(0,a.yg)("h3",{id:"\u4e13\u4e1a\u7684\u4eba\u505a\u4e13\u4e1a\u7684\u4e8b"},"\u4e13\u4e1a\u7684\u4eba\u505a\u4e13\u4e1a\u7684\u4e8b"),(0,a.yg)("p",null,"\u6211\u4ee5\u524d\u8bb2\u8fc7\u804c\u573a\uff08\u6f5c\uff09\u89c4\u5219\uff0c\u5176\u4e2d\u4e00\u6761\u53eb\u201c\u542c\u539f\u59cb\u9700\u6c42\uff0c\u4e0d\u542c\u6280\u672f\u89e3\u51b3\u65b9\u6848\u201d\uff0c\u539f\u6587\u5982\u4e0b\uff1a\n\u300e\u6211\u53d1\u73b0\u5f88\u591a\u505a\u4e1a\u52a1\u7684\u4eba\u4e00\u65b9\u9762\u641e\u4e0d\u6e05\u695a\u4ec0\u4e48\u53eb\u539f\u59cb\u9700\u6c42\uff0c\u751a\u81f3\u8fde\u6574\u4e2a\u4e1a\u52a1\u4f53\u7cfb\u662f\u600e\u4e48\u8fd0\u8f6c\u8d77\u6765\u7684\u90fd\u61f5\u61f5\u61c2\u61c2\uff0c\u542c\u4ed6\u8bf4\u4e86\u534a\u5929\uff0c\u539f\u6765\u662f\u5728\u8bb2\u4ed6\u8ba4\u4e3a\u6280\u672f\u4e0a\u600e\u4e48\u89e3\u51b3\u3002\n\u53e6\u4e00\u65b9\u9762\u4ed6\u4eec\u8fd8\u633a\u559c\u6b22\u8d8a\u4fce\u4ee3\u5e96\uff0c\u539f\u59cb\u9700\u6c42\u8fd8\u542d\u542d\u54e7\u54e7\u8bf4\u4e0d\u6e05\u695a\u5462\uff0c\u5c31\u76f4\u63a5\u62cd\u65b9\u6848\uff0c\u751a\u81f3\u8feb\u4e0d\u53ca\u5f85\u5730\u66ff\u6211\u4eec\u60f3\u6570\u636e\u5e93\u662f\u4e0d\u662f\u52a0\u5b57\u6bb5\u2026\u2026\n\u5bf9\u6b64\uff0c\u6211\u7684\u6807\u51c6\u56de\u7b54\u662f\uff1a\u201c\u8bf7\u76f4\u63a5\u8bf4\u539f\u59cb\u9700\u6c42\uff0c\u8bf7\u4e0d\u8981\u7ed9\u6211\u8bb2\u89e3\u51b3\u65b9\u6848\u201d\u3002\n",(0,a.yg)("strong",{parentName:"p"},"\u6f5c\u53f0\u8bcd\u5c31\u662f\uff0c\u4f60\u6709\u4f60\u7684\u4e13\u4e1a\u9886\u57df\uff0c\u6211\u6709\u6211\u7684\uff0c\u8d62\u5f97\u522b\u4eba\u5c0a\u91cd\u7684\u524d\u63d0\u662f\u5148\u628a\u81ea\u5df1\u7684\u672c\u804c\u5de5\u4f5c\u505a\u597d\u3002"),"\n**\n",(0,a.yg)("strong",{parentName:"p"},"\u5728\u4e13\u4e1a\u9886\u57df\u91cc\uff0c\u5343\u4e07\u4e0d\u80fd\u8ba9\u5916\u884c\u9886\u5bfc\u5185\u884c\uff01"),"\n\u6211\u53d1\u73b0\u597d\u591a\u505a\u7ba1\u7406\u7684\u90fd\u4e0d\u77e5\u9053\u8fd9\u4e00\u6761\uff0c\u603b\u89c9\u5f97\u6211\u505a\u7ba1\u7406\u7684\u80fd\u7ba1\u5929\u4e0b\u4e07\u4e8b\u4e07\u7269\u3002\u626f\u6de1\uff01\n**"),(0,a.yg)("h3",{id:"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u603b\u7ed3"},"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u603b\u7ed3"),(0,a.yg)("p",null,"\u7ebf\u4e0a\u6545\u969c\u5904\u7406\u53e3\u8bc0\uff1a\n",(0,a.yg)("strong",{parentName:"p"},"\u9047\u4e8b\u4e0d\u4e71\uff0c\u5206\u5934\u6838\u67e5\uff0c\u7fa4\u91cc\u540c\u6b65\uff0c\u7b80\u5355\u9648\u8ff0\uff0c\u7edd\u4e0d\u604b\u6218\uff0c\u6062\u590d\u670d\u52a1\u3002"),"\n**\n\u5177\u4f53\u89e3\u91ca\u4e00\u4e0b\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u5206\u5934\u6838\u67e5"),"\uff1aQA\u8d1f\u8d23\u7ebf\u4e0b\u590d\u73b0\u73b0\u8c61\uff0c\u786e\u8ba4\u95ee\u9898\u662f\u5426\u5b58\u5728\uff1bSA\u8d1f\u8d23\u6838\u67e5\u4e1a\u52a1\u5bf9\u5e94\u7684\u673a\u623f\u3001\u6570\u636e\u5e93\u3001\u5185\u5916\u7f51\u6d41\u91cf\u3001\u5e94\u7528\u8d1f\u8f7d\u6709\u65e0\u53d8\u66f4\u64cd\u4f5c\u3001\u6709\u4f55\u5f02\u5e38\u6307\u6807\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u7edd\u4e0d\u604b\u6218"),"\uff1a\u5982\u679c\u8fdf\u8fdf\u5b9a\u4f4d\u4e0d\u4e86\u95ee\u9898\uff08\u6bd4\u5982\u4e94\u5206\u949f\u4e4b\u5185\uff09\uff0c\u5c31\u4e0d\u53ef\u604b\u6218\uff0c\u5fc5\u987b\u5feb\u901f\u6062\u590d\u4e1a\u52a1\u3002\u7b2c\u4e00\uff0c\u4e0d\u8981\u628a\u751f\u4ea7\u73af\u5883\u5f53\u6210\u6d4b\u8bd5\u73af\u5883\uff0c\u4e0d\u8981\u5728\u7ebf\u8c03\u8bd5\uff1b\u7b2c\u4e8c\uff0c\u4e0d\u8981\u4e00\u76f4\u7559\u7740\u73b0\u573a\u89c2\u5bdf\u6765\u89c2\u5bdf\u53bb\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u7b80\u5355\u9648\u8ff0"),"\uff1a\u51fa\u4e86\u4e8b\u513f\u4e00\u5b9a\u5404\u65b9\u9762\u90fd\u52a8\u5458\u8d77\u6765\u4e86\uff0c\u4e03\u5634\u516b\u820c\uff0c\u5404\u8bf4\u5404\u8bdd\uff0c\u8fd9\u65f6\u5019\u4e00\u5b9a\u8981\u6709\u4e00\u4e2a\u4e34\u65f6\u603b\u6307\u6325\u4e0d\u65ad\u5730\u603b\u7ed3\u5927\u5bb6\u73b0\u5728\u7684\u8fdb\u5ea6\uff0c\u505a\u7cbe\u70bc\u7684\u201c\u7b80\u5355\u9648\u8ff0\u201d\uff0c\u53d1\u5728\u7fa4\u91cc\uff0c\u76f8\u5f53\u4e8e\u4e00\u4e2a\u65b0\u95fb\u53d1\u8a00\u4eba\u3002\u4ed6\u5728\u7b2c\u4e00\u65f6\u95f4\u51fa\u6765\u505a\u7b80\u8981\u7efc\u8ff0\uff0c\u628aWHEN/WHO/WHAT/HOW/RESULT\u51e0\u53e5\u8bdd\u8bf4\u6e05\u695a\uff0c\u540c\u6b65\u7ed9\u6838\u5fc3\u5e72\u90e8\u3002\u4e0d\u8981\u70b9\u5bf9\u70b9\u3002\u8bf7\u52a1\u5fc5\u5e7f\u64ad\u3002\u8868\u660e\u6211\u4eec\u5728\u8ddf\uff0c\u6211\u4eec\u5728\u89e3\u51b3\uff0c\u6240\u6709\u4e8b\u60c5\u90fd\u5728\u638c\u63e1\u4e2d\uff0c\u522b\u6015\uff0c\u522b\u614c\u3002"),(0,a.yg)("h3",{id:"\u6ca1\u6709\u9884\u89c1\u6027\u4f60\u51ed\u4ec0\u4e48\u664b\u5347"},"\u6ca1\u6709\u9884\u89c1\u6027\u4f60\u51ed\u4ec0\u4e48\u664b\u5347"),(0,a.yg)("h4",{id:"\u4ec0\u4e48\u662f\u9884\u89c1\u6027"},"\u4ec0\u4e48\u662f\u9884\u89c1\u6027\uff1f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u5e02\u573a\u7ade\u4e89\u6001\u52bf\u7684\u9884\u89c1\u6027\u3002",(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},"\u6709\u6ca1\u6709\u5bf9\u5e02\u573a\u5927\u52bf\u6709\u4e00\u5b9a\u9884\u89c1\u6027\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u662f\u4e0d\u662f\u65f6\u523b\u5728\u5173\u6ce8\u7740\u53cb\u5546\u3001\u7ade\u54c1\u548c\u884c\u4e1a\u52a8\u6001\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u80fd\u4e0d\u80fd\u5bf9\u4e1a\u52a1\u505a\u51fa\u6709\u524d\u77bb\u6027\u7684\u9884\u6d4b\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u4e3e\u4f8b\uff1a\u672c\u5730\u751f\u6d3b\u670d\u52a1\u5e02\u573a\uff0c\u5927\u7684\u5e02\u573a\u53d8\u5316\u8d8b\u52bf\u662f\uff0c\u70b9\u8bc4\u2014>\u56e2\u8d2d\u2014>\u5916\u5356\u2014>\u4e70\u5355\u548c\u4e0b\u7801\u2014>\u94fa\u673a\u5177\u6784\u7b51IoT\u58c1\u5792\u2014>\u5207ERP\u2014>\u5e26\u8d27\u548c\u4fdd\u7406\u2026\u2026"))),(0,a.yg)("li",{parentName:"ol"},"\u4e1a\u52a1\u4e0a\u7684\u9884\u89c1\u6027\u3002",(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},"\u9700\u6c42\u65b9\u8bf4\u4ec0\u4e48\u5c31\u662f\u4ec0\u4e48\u5417\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u4ea7\u54c1\u8bbe\u8ba1\u6210\u4ec0\u4e48\u6837\u5c31\u505a\u6210\u4ec0\u4e48\u6837\u5417\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u4e00\u5207\u90fd\u662f\u987a\u6c34\u63a8\u821f\u5417\uff1f"),(0,a.yg)("li",{parentName:"ol"},"\u4f60\u6709\u6ca1\u6709\u529b\u6392\u4f17\u8bae\uff0c\u63d0\u51fa\u81ea\u5df1\u7684\u89c2\u70b9\u548c\u65b9\u6848\uff0c\u800c\u4e14\u6700\u540e\u4e8b\u5b9e\u8bc1\u660e\u4f60\u8bf4\u7684\u505a\u7684\u662f\u5bf9\u7684\uff1f"))),(0,a.yg)("li",{parentName:"ol"},"\u6280\u672f\u4e0a\u7684\u9884\u89c1\u6027\u3002")),(0,a.yg)("p",null,"\u9996\u5148\uff0c\u6280\u672f\u9886\u57df\u77ac\u606f\u4e07\u53d8\uff0c\u6628\u5929\u7684\u6280\u672f\u65b0\u8d8b\u52bf\uff0c\u660e\u5929\u5c31\u6210\u4e3a\u884c\u4e1a\u6807\u6746\u7684\u6807\u51c6\u89e3\u51b3\u65b9\u6848\u3002\u4f4e\u5934\u62c9\u8f66\u4e4b\u4f59\uff0c\u5fc5\u987b\u62ac\u5934\u770b\u8def\u3002Docker\u4ece2014\u5e74\u7684\u5fae\u70ed\uff0c\u52302015\u30012016\u5e74\u4e00\u7ebf\u4e92\u8054\u7f51\u516c\u53f8\u7684\u6807\u914d\uff0c\u4ec5\u4ec5\u4e00\u4e24\u5e74\u65f6\u95f4\u3002\n\u5176\u6b21\uff0c\u5355\u4e00\u6280\u672f\u8d8b\u52bf\uff0c\u5e76\u4e0d\u80fd\u627f\u8f7d\u4e2d\u5927\u578b\u56e2\u961f\uff0c\u4e0d\u80fd\u627f\u8f7d\u5267\u70c8\u53d8\u5316\u7684\u4e1a\u52a1\uff0c\u6211\u4eec\u5bf9\u6b64\u9700\u8981\u6709\u4e00\u4e2a\u57fa\u672c\u7684\u5224\u65ad\u3002\u6bd4\u5982\u8bf4\u5fae\u670d\u52a1\u7684\u524d\u63d0\u662fDocker\u5bb9\u5668\u5316\u3001\u670d\u52a1\u8def\u7531\u548c\u5e73\u53f0\u81ea\u52a8\u5316\u3002Docker\u96c6\u7fa4\u7f16\u6392+\u7814\u53d1\u534f\u4f5c\u53ef\u89c6\u5316+\u8fd0\u7ef4\u81ea\u52a8\u5316+API\u7f51\u5173+\u5fae\u670d\u52a1\uff0c\u624d\u8c08\u5f97\u4e0a\u53ef\u8d1f\u91cd\u524d\u884c\u3002\n\u518d\u6b21\uff0c\u5f53\u4e1a\u52a1\u4ece\u96f6\u5230\u4e00\u7684\u65f6\u5019\uff0c\u6211\u4eec\u9700\u8981\u6709\u4e00\u5b9a\u7684\u9884\u89c1\u6027\uff0c\u8d70\u4e00\u6b65\u770b\u4e24\u6b65\u3002\n\u4e3e\u4f8b\uff1a\u4e1a\u52a1\u521a\u5f00\u59cb\u8bd5\u70b9\u7684\u65f6\u5019\uff0c\u6211\u5c31\u9884\u89c1\u5230IoT\u673a\u5177\u94fa\u8bbe\u5728\u5168\u56fd\u5404\u5730\uff0c\u6240\u6709\u95ee\u9898\u90fd\u5c06\u7531\u6211\u4eec\u515c\u5e95\uff0c\u6240\u4ee5\u5fc5\u987b\u4ee5\u6700\u5feb\u901f\u5ea6\u5efa\u8bbe\u4e00\u4e2a\u5f3a\u5927\u7684\u8bbe\u5907\u5f3a\u7ba1\u63a7\u8fd0\u7ef4\u7ba1\u7406\u5e73\u53f0\uff0c\u5b83\u5c06\u662f\u5927\u4e2d\u53f0\u4f53\u7cfb\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\n\u4e3e\u4f8b\uff1a\u968f\u7740\u4e1a\u52a1\u7684\u6df1\u5165\uff0c\u6211\u9884\u89c1\u5230\u7531\u4e8e\u673a\u5177\u7684\u5404\u79cd\u4e1a\u52a1\u65b9\u90fd\u4f1a\u7ed9\u673a\u5177\u4e0b\u53d1\u6307\u4ee4\uff08\u4e0a\u884c\u548c\u4e0b\u884c\uff09\uff0c\u6bd4\u5982\u652f\u4ed8\u6210\u529f\u8bed\u97f3\u64ad\u62a5\uff0c\u6bd4\u5982\u5e94\u7528\u7248\u672c\u5206\u53d1\uff0c\u6bd4\u5982\u5feb\u901f\u6539\u53d8\u673a\u5177\u4e0aApp\u5185\u90e8\u72b6\u6001\uff0c\u4e1a\u52a1\u65b9\u4e0d\u5173\u5fc3\u4e5f\u4e0d\u9700\u8981\u5173\u5fc3\u673a\u5177\u5728\u4e0d\u5728\u7ebf\uff0c\u6240\u4ee5\u6211\u51b3\u5b9a\u5c3d\u5feb\u5f15\u5165\u8bbe\u5907\u5f71\u5b50\uff0c\u5728\u4e1a\u52a1\u65b9\u8fd8\u4e0d\u8db3\u591f\u591a\u7684\u65f6\u5019\u4e00\u52b3\u6c38\u9038\u5730\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002\n\u505a\u6280\u672f\u5343\u4e07\u4e0d\u8981\u811a\u8e29\u897f\u74dc\u76ae\uff0c\u6ed1\u5230\u54ea\u91cc\u7b97\u54ea\u91cc\u3002"),(0,a.yg)("h3",{id:"\u6211\u53f8\u7814\u53d1\u6587\u5316"},"\u6211\u53f8\u7814\u53d1\u6587\u5316="),(0,a.yg)("p",null,"\u7814\u53d1\u54f2\u5b66\uff08Don't make me think/If it hurts, do it more and often/\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b/\u6ca1\u6709\u82e6\u52b3\u53ea\u6709\u529f\u52b3/\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848\uff09\n+\u7814\u53d1\u4e09\u5faa\u73af\u65b9\u6cd5\u8bba\uff08\u7814\u53d1\u80fd\u529b/\u7814\u53d1\u6548\u7387/\u7814\u53d1\u6d3b\u529b\uff09\n+\u7814\u53d1\u4e09\u677f\u65a7\uff08RCA/\u6280\u672f\u5206\u4eab\u8bb2\u5ea7/\u6280\u672f\u9884\u7814\u8bfe\u9898\uff09\n\u6bcf\u4e00\u4e2a\u7814\u53d1\u7ec4\u7ec7\u90fd\u5fc5\u987b\u60f3\u7740\u5ff5\u7740\u505a\u7740\u3002"),(0,a.yg)("h3",{id:"dont-make-me-think"},"Don't make me think"),(0,a.yg)("p",null,"\u5927\u5bb6\u90fd\u77e5\u9053\uff0c\u6280\u672f\u4eba\u5458\u4ece\u4e8b\u7684\u662f\u521b\u9020\u6027\u5de5\u4f5c\uff0c\u52a0\u4e4b\u662f\u5355\u6838\u5904\u7406\u5668\uff0c\u6211\u4eec\u7684\u4e0a\u4e0b\u6587\u5207\u6362\u975e\u5e38\u56f0\u96be\uff0c\u88ab\u6253\u65ad\u540e\u4ece\u65b0\u8fdb\u5165\u201c\u795e\u6e38\u201d\u72b6\u6001\u5f80\u5f80\u9700\u8981\u5341\u51e0\u5206\u949f\u3002\u5c24\u5176\u662f\u7814\u53d1\u7ecf\u7406\uff0c\u627f\u62c5\u66f4\u591a\u7684\u8d23\u4efb\uff0c\u7ebf\u4e0a\u7ebf\u4e0b\u7684\u95ee\u9898\u90fd\u8981\u7167\u987e\u5230\uff0c\u8fd8\u8981\u89e3\u7b54\u5185\u5916\u7684\u5404\u79cd\u54a8\u8be2\uff0c\u5de5\u4f5c\u65f6\u95f4\u788e\u7247\u5316\u4e25\u91cd\u3002\u6211\u4eec\uff08\u5305\u62ec\u7cfb\u7edf\uff09\u7ed9\u51fa\u7684\u4fe1\u606f\uff0c\u4e00\u5b9a\u8981\u8db3\u591f\u7b80\u7ec3\uff0c\u4e00\u76ee\u4e86\u7136\uff0c\u8ba9\u4eba\u5f88\u5bb9\u6613\u514b\u670d\u7126\u8e81\u60c5\u7eea\uff0c\u556a\u556a\u5730\u5c31\u5904\u7406\u4e86\uff0c\u6216\u8005\u556a\u556a\u5730\u4e8c\u6b21\u5206\u53d1\u51fa\u53bb\u3002\xa0\u4e0d\u8981\u8ba9\u65e0\u7528\u7684\u4fe1\u606f\u6298\u78e8\u8fd9\u4e9b\u4eba\u3002"),(0,a.yg)("p",null,"\u5176\u6b21\uff0c\u6280\u672f\u4eba\u5458\u662f\u201c\u4e16\u754c\u201d\u7684\u6784\u5efa\u8005\uff0c\u4e0d\u5f97\u4e0d\u505a\u5927\u91cf\u7410\u788e\u4e14\u67af\u71e5\u7684\u5de5\u4f5c\uff0c\u5176\u4e2d\uff0c\u76f8\u5f53\u5927\u6bd4\u4f8b\u7684\u5de5\u4f5c\u662f\u91cd\u590d\u6027\u7684\uff0c\u5982\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u9002\u914d\u4e0d\u540c\u73af\u5883\uff0c\u5982\u6253\u5305\u3002\n\u91cd\u590d\u7684\u5de5\u4f5c\u4e00\u65b9\u9762\u5bb9\u6613\u51fa\u9519\uff0c\u5c24\u5176\u662f\u5728\u901a\u5bb5\u4e0a\u7ebf\u65f6\uff0c\u53e6\u4e00\u65b9\u9762\u6d88\u78e8\u4eba\u7684\u8010\u5fc3\u548c\u6597\u5fd7\u3002 \u6211\u5728\u300a\u804c\u573a\u57f9\u8bad\u7b2c\u4e94\u671f\uff1a\u804c\u573a\u7684\u771f\u76f8\u300b\u4e2d\u8bb2\u8fc7\u89e3\u9898\u601d\u8def\uff1a\u300e",(0,a.yg)("strong",{parentName:"p"},"\u8981\u6452\u5f03\u5355\u7eaf\u4f9d\u9760\u5458\u5de5\u4e4b\u95f4\u4e92\u76f8\u63d0\u9192\u3001\u4f9d\u9760\u4e2a\u4eba\u8ba4\u771f\u7ec6\u81f4\u6765\u89c4\u907f\u76f8\u540c\u9519\u8bef\u7684\u56fa\u6709\u601d\u8def\uff0c\u94c1\u6253\u8425\u76d8\u6d41\u6c34\u5175\uff0c\u9760\u4eba\u7ec8\u5f52\u662f\u9760\u4e0d\u4f4f\u7684\uff0c\u6700\u597d\u9760\u9075\u5faa\u89c4\u5219\u7684\u673a\u5668"),"\u300f\u3002\n\u738b\u6dee\u5728\u300a\u4ee5 Facebook \u4e3a\u6848\u4f8b\u5256\u6790\u79d1\u6280\u516c\u53f8\u5e94\u6709\u7684\u5de5\u5177\u6587\u5316\u300b\u4e00\u6587\u4e2d\u8c08\u53ca\uff0c\u57fa\u672c\u7406\u5ff5\u5c31\u662f",(0,a.yg)("strong",{parentName:"p"},'\u51e1\u662f\u88ab\u5f88\u591a\u4eba\u4e0d\u65ad\u91cd\u590d\u7684\u597d\u4e60\u60ef\uff0c\u8981\u5c06\u5176\u81ea\u52a8\u5316\uff0c\u7ed1\u5b9a\u5230\u5de5\u5177\u4e4b\u4e2d\uff0c\u4ee5"Don\'t make me think"\u7684\u65b9\u5f0f\u6765\u63a8\u5e7f\u6700\u4f73\u5b9e\u8df5\uff08best practice\uff09'),"\u3002"),(0,a.yg)("p",null,"\u57fa\u4e8e\u4ee5\u4e0a\u539f\u56e0\uff0c\u6211\u4eec\u8ba4\u4e3a\uff0c",(0,a.yg)("strong",{parentName:"p"},"\u51e1\u662f\u88ab\u4e0d\u65ad\u91cd\u590d\u7684\u8fc7\u7a0b\uff0c\u5c06\u5176\u5de5\u5177\u5316\uff0c\u7ed1\u5b9a\u5230\u81ea\u52a8\u5316\u6d41\u7a0b\u4e4b\u4e2d\uff0c\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u5fc3\u667a\u8d1f\u62c5"),"\u3002\n\u8fd9\u4e5f\u5c31\u662f\u8fc7\u53bb\u51e0\u5e74\u91cc\u6211\u4eec\u4e00\u5b63\u5b63\u5730\u63a8\u8fdb\u6301\u7eed\u96c6\u6210\uff08Continuous Integration\uff0cCI\uff09\u7684\u539f\u56e0\uff0c\u628a\u6211\u4eec\u7684\u7ecf\u9a8c\u6559\u8bad\u53d8\u6210\u53ef\u91cd\u590d\u7684\u89c4\u5219\uff0c\u878d\u5165\u5de5\u5177\u4e2d\uff0c\u878d\u5165\u81ea\u52a8\u5316\u6d41\u7a0b\u4e2d\uff0c\u800c\u4e0d\u662f\u4e00\u4ee3\u4e00\u4ee3\u53e3\u53e3\u76f8\u4f20\u3002"),(0,a.yg)("p",null,"\u597d\u4e86\uff0c\u5728\u4e3e\u5177\u4f53\u7684\u4f8b\u5b50\u4e4b\u524d\uff0c\u8ba9\u6211\u4eec\u5927\u58f0\u8bfb\u51fa\u8fd9\u51e0\u6761 Slogan\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Don't make me think!"),(0,a.yg)("li",{parentName:"ul"},"\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u5fc3\u667a\u8d1f\u62c5\uff01")),(0,a.yg)("h3",{id:"if-it-hurts-do-it-more-and-often"},"If it hurts, do it more and often"),(0,a.yg)("p",null,"\u6211\u4eec\u4e0d\u80fd\u6b7b\u4e8e\u542c\u5929\u7531\u547d\u548c\u6f2b\u4e0d\u7ecf\u5fc3\u3002\n\u5de5\u7a0b\u5e08\u4e3a\u4ec0\u4e48\u4f1a\u542c\u5929\u7531\u547d\uff1f"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u56e0\u4e3a\u7ebf\u4e0a\u65e5\u5fd7\u91cc\u7684\u5f02\u5e38\u5b9e\u5728\u662f\u592a\u591a\u4e86\uff0c\u5904\u7406\u4e0d\u8fc7\u6765\u3002",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u56e0\u4e3a\u5f02\u5e38\u592a\u591a\u4e86\uff0c\u6df9\u6ca1\u4e86\u81f4\u547d\u5f02\u5e38\uff0c\u4ee5\u81f3\u4e8e\u670d\u52a1\u6302\u5f97\u6b7b\u6b7b\u7684\u624d\u53d1\u73b0\u95ee\u9898\u5df2\u7ecf\u5b58\u5728N\u4e45\u4e86\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u56e0\u4e3a\u660e\u5929\u5c31\u8981\u63d0\u6d4b\u4e86\uff0c\u4ee3\u7801\u5408\u5e76\u51b2\u7a81\u8fd8\u6709\u51e0\u5343\u4e2a\u3002",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u6bcf\u5230\u5e38\u89c4\u7248\u672c\u63d0\u6d4b\u65f6\u5c31\u5fc3\u91cc\u6253\u9f13\uff0c\u5408\u5e76\u4e2a\u4ee3\u7801\u90fd\u5f97\u9884\u7559\u4e24\u5929\u65f6\u95f4\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u56e0\u4e3a\u753b\u65f6\u5e8f\u56fe\u597d\u70e6\uff0c\u6240\u4ee5\u590d\u6742\u7cfb\u7edf\u7684\u6570\u636e\u6d41\u8f6c\u9760\u201c\u5fc3\u7b97\u201d\u3001\u9760\u6587\u5b57\u63cf\u8ff0\u3002",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u4eba\u8111\u5bb9\u6613\u6709\u601d\u7ef4\u6b7b\u89d2\uff0c\u4e00\u4e2a\u8003\u8651\u4e0d\u5230\uff0c\u7cfb\u7edf\u5c31\u9632\u4e0d\u4f4f\u5e76\u53d1\u63d0\u4ea4\u548c\u91cd\u590d\u63d0\u4ea4\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u2026\u2026")),(0,a.yg)("p",null,"\u56e0\u4e3a\u5df2\u7136\u96c6\u814b\u6210\u88d8\uff0c\u6240\u4ee5\u505a\u4e8b\u524d\u6211\u4eec\u5404\u79cd\u7ea0\u7ed3\u548c\u62b5\u89e6\uff0c\u4e8e\u662f\u627e\u5404\u79cd\u7406\u7531\u62d6\u5ef6\u3002\n\u600e\u4e48\u529e\uff1f\n\u6211\u5728\u300a\u804c\u4e1a\u5316\u76847\u4e2a\u7ec6\u8282\u300b\u91cc\u8bb2\u5230\uff0c \u5982\u679c\u4e00\u4ef6\u4e8b\u505a\u8d77\u6765\u5f88\u70e6\uff0c\u90a3\u5c31\u628a\u5b83\u62c6\u6210\u5f88\u591a\u5757\u513f\uff0c\u6bcf\u5929\u505a\u4e00\u70b9\uff0c\u6bcf\u6b21\u505a\u4e00\u70b9\u3002"),(0,a.yg)("h3",{id:"\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b"},"\u8fd9\u4e2a\u4e16\u754c\u4ece\u6765\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b"),(0,a.yg)("p",null,"\u8fd9\u4e2a\u54f2\u5b66\u6211\u8fc7\u53bb\u51e0\u5e74\u91cc\u4e00\u800c\u518d\u518d\u800c\u4e09\u5730\u8bb2\u3002\u5728\u300a\u804c\u4e1a\u57f9\u8bad\u7b2c\u4e94\u671f\uff1a\u804c\u573a\u7684\u771f\u76f8\u300b\u4e2d\uff0c\u6211\u8bf4\uff1a\u8fc7\u53bb\u51e0\u5e74\u91cc\uff0c\u6211\u4eec\u6df1\u6df1\u5730\u4f53\u4f1a\u5230\uff0c\u4ece\u6765\u5c31\u6ca1\u6709\u4ec0\u4e48\u6551\u4e16\u4e3b\uff0c\u8981\u521b\u9020\u4eba\u7c7b\u7684\u5e78\u798f\u5168\u9760\u6211\u4eec\u81ea\u5df1\uff0c\u4e0d\u8981\u6307\u671b\u6709\u4ec0\u4e48\u4eba\u80fd\u6551\u6211\u4eec\uff0c\u53ea\u80fd\u7ede\u5c3d\u8111\u6c41\u95ef\u9635\u3002"),(0,a.yg)("p",null,"\u4e3a\u4ec0\u4e48\uff1f\n\u6280\u672f\u56e2\u961f\u662f\u4e92\u8054\u7f51\u516c\u53f8\u91cc\u6700\u8ba4\u771f\u6700\u4e13\u4e1a\u6700\u5b9e\u64cd\u6700\u9760\u8c31\u7684\u4e00\u7fa4\u4eba\uff0c\u5982\u679c\u6211\u4eec\u51e1\u4e8b\u90fd\u8981\u6307\u671b\u522b\u4eba\u7ed9\u6211\u4eec\u89e3\u51b3\u65b9\u6848\u548c\u601d\u8def\uff0c\u6307\u671b\u522b\u4eba\u6bd4\u6211\u4eec\u66f4\u8ba4\u771f\uff0c\u90a3\u8fd9\u4e2a\u516c\u53f8\u5c31\u5371\u5728\u65e6\u5915\u4e86\u3002\n\u6240\u4ee5\uff0c\u6211\u57282012\u5e74\u7684\u98de\u884c\u7814\u8ba8\u4f1a\u4e0a\u629b\u51fa\u4e24\u4e2a Slogan\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u629b\u6389\u5e7b\u60f3\uff0c\u52c7\u6562\u9762\u5bf9\uff01"),(0,a.yg)("li",{parentName:"ul"},"\u76f4\u9762\u767d\u5203\u6218\uff01")),(0,a.yg)("p",null,"\u57fa\u4e8e\u8fd9\u4e2a\u54f2\u5b66\uff0c\u6211\u4eec\u884d\u751f\u51fa\u4e24\u4e2a Slogan\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u4e0d\u8981\u7b49\u6b7b\uff01"),(0,a.yg)("li",{parentName:"ul"},"\u5411\u524d\u8fc8\u534a\u6b65\u5bf9\u63a5\uff01")),(0,a.yg)("h3",{id:"\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848"},"\u4e00\u5b9a\u8981\u6709\u540e\u5907\u65b9\u6848"),(0,a.yg)("p",null,"\u707e\u96be\uff0c\u603b\u662f\u5728\u4f60\u610f\u6599\u4e4b\u5916\u3002\n\u4e00\u4e2a\u540e\u5907\u65b9\u6848\uff0c\n\u6700\u540e\u4e00\u6761\u8ba9\u4f60\u8d77\u6b7b\u56de\u751f\u7684\u8def\u3002"),(0,a.yg)("p",null,"\u65e9\u5e74\u95f4\uff0c\u4faf\u5c0f\u5f3a\u66fe\u7ecf\u8bf4\u8fc7\uff1a \u5982\u679c\u4f60\u5728\u804c\u573a\uff0c\u9700\u8981\u6709\u4e09\u4e2a\u597d\u4e60\u60ef\uff0c1\uff0c\u80fd\u9a6c\u4e0a\u505a\u7684\u4e8b\u60c5\u9a6c\u4e0a\u505a\u30022\uff0c\u6bcf\u4e2a\u4e8b\u60c5\u8981\u6709\u59cb\u6709\u7ec8\u30023\uff0c\u8981\u6709\u8fd9\u4e2a\u4e60\u60ef\u601d\u7ef4\uff0c\u6ca1\u6709\u82e6\u52b3\uff0c\u53ea\u6709\u529f\u52b3\u3002\u4f46\u5982\u679c\u6ca1\u6709\u6781\u5176\u52aa\u529b\uff0c\u901a\u5e38\u4e5f\u4e0d\u4f1a\u6709\u529f\u52b3\u3002\n\u5ef6\u7eed\u7740\u8fd9\u4e2a\u601d\u7ef4\uff0c\u6211\u4eec\u8fc7\u53bb\u51e0\u5e74\u91cc\u53cd\u590d\u5f3a\u8c03\uff1a",(0,a.yg)("strong",{parentName:"p"},"\u6ca1\u6709\u7ed3\u679c\u5c31\u6ca1\u6709\u610f\u4e49"),"\u3002\u4e0d\u8981\u671f\u671b\u516c\u53f8\u56e0\u4e3a\u4f60\u548c\u5c0f\u4f19\u4f34\u4eec\u6709\u82e6\u52b3\u800c\u5bbd\u5bb9\u4f60\u4eec\u6ca1\u6709\u4ea7\u51fa\uff0c\u8fd9\u662f\u4e00\u4e2a\u5546\u4e1a\u516c\u53f8\u3002"),(0,a.yg)("h3",{id:"devops-\u65b0\u516b\u8363\u516b\u803b\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce"},"DevOps \u65b0\u516b\u8363\u516b\u803b\uff0c\u6bcf\u4e00\u6761\u90fd\u662f\u8840\u8089\u957f\u57ce"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u968f\u65f6\u53ef\u6269\u5bb9\u3001\u53ef\u7f29\u5bb9\u3001\u53ef\u91cd\u542f\u3001\u53ef\u5207\u6362\u673a\u623f\u6d41\u91cf\u4e3a\u8363\uff0c\u4ee5\u4e0d\u80fd\u8fc1\u79fb\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u53ef\u914d\u7f6e\u4e3a\u8363\uff0c\u4ee5\u786c\u7f16\u7801\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u7cfb\u7edf\u4e92\u5907\u4e3a\u8363\uff0c\u4ee5\u7cfb\u7edf\u5355\u70b9\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u4ea4\u4ed8\u65f6\u6709\u76d1\u63a7\u62a5\u8b66\u4e3a\u8363\uff0c\u4ee5\u4ea4\u4ed8\u88f8\u5954\u7cfb\u7edf\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u65e0\u72b6\u6001\u4e3a\u8363\uff0c\u4ee5\u6709\u72b6\u6001\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u6807\u51c6\u5316\u4e3a\u8363\uff0c\u4ee5\u7279\u6b8a\u5316\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u81ea\u52a8\u5316\u5de5\u5177\u4e3a\u8363\uff0c\u4ee5\u4eba\u8089\u64cd\u4f5c\u4e3a\u803b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u4ee5\u65e0\u4eba\u503c\u5b88\u4e3a\u8363\uff0c\u4ee5\u4eba\u5de5\u4ecb\u5165\u4e3a\u803b\u3002")),(0,a.yg)("h3",{id:"\u6838\u5fc3\u4e1a\u52a1\u6d41\u7a0b\u7684\u6545\u969c\u5904\u7406\u539f\u5219\u4e0d\u53ef\u604b\u6218"},"\u6838\u5fc3\u4e1a\u52a1\u6d41\u7a0b\u7684\u6545\u969c\u5904\u7406\u539f\u5219\uff1a\u4e0d\u53ef\u604b\u6218"),(0,a.yg)("p",null,"\u7b2c\u4e00\u65f6\u95f4\u53eb\u591a\u4eba\u4e00\u8d77\u5206\u5934\u67e5\uff1a\u67e5\u673a\u623f\uff0c\u67e5\u6d41\u91cf\uff0c\u67e5\u5e94\u7528\u6027\u80fd\uff0c\u67e5\u6570\u636e\u5e93\uff0c\u67e5Redis\u3002\n\u5982\u679c\u8fdf\u8fdf\u5b9a\u4f4d\u4e0d\u4e86\u95ee\u9898\uff08\u6bd4\u5982\u5341\u5206\u949f\u4e4b\u5185\uff09\uff0c\u5c31\u4e0d\u53ef\u604b\u6218\uff0c\u5fc5\u987b\u6062\u590d\u4e1a\u52a1\uff08\u4e09\u677f\u65a7\uff09\uff1a\n\u7b2c\u4e00\u62db\u91cd\u542f\u5e94\u7528\uff0c\n\u7b2c\u4e8c\u62db\u56de\u9000\u7248\u672c\uff0c\n\u6700\u540e\u4e00\u62db\u662f\u5f02\u5730\u591a\u6d3b\u5207\u673a\u623f\u6d41\u91cf\uff0c\u628a\u53d7\u5f71\u54cd\u7684\u5546\u6237\u5207\u5230\u53e6\u4e00\u4e2a\u673a\u623f\u7684\u5355\u5143\u683c\u91cc\u3002\n\u5343\u4e07\u522b\u5728\u5b9a\u4f4d\u95ee\u9898\u4e0a\u82b1\u592a\u591a\u65f6\u95f4\u3002"),(0,a.yg)("h3",{id:"\u5f53\u6211\u4eec\u8c08\u91cd\u6784\u7684\u65f6\u5019\u6211\u4eec\u60f3\u8c08\u4ec0\u4e48"},"\u5f53\u6211\u4eec\u8c08\u91cd\u6784\u7684\u65f6\u5019\u6211\u4eec\u60f3\u8c08\u4ec0\u4e48"),(0,a.yg)("p",null,"\u5982\u679c\u4f60\u5728\u7e41\u5fd9\u7684\u4e1a\u52a1\u8fed\u4ee3\u4e2d\u5f00\u59cb\u7cfb\u7edf\u91cd\u6784\uff0c\u606d\u559c\u4f60\uff0c\u8bf4\u660e\u4f60\u7684\u4e1a\u52a1\u5df2\u7ecf\u5b8c\u6210\u4e86\u4ece0\u52301\uff0c\u6b63\u5728\u4ece1\u8d70\u541110\uff0c\u6216\u8005\u4ece10\u8d70\u5411100\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u4e24\u4e2a\u201c\u662f\u5426\u6709\u5229\u4e8e\u201d\uff1a"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4e00\uff0c\u662f\u5426\u6709\u5229\u4e8e\u53d1\u5e03\u90e8\u7f72\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u4e8c\uff0c\u662f\u5426\u6709\u5229\u4e8e\u6392\u9664\u6545\u969c\uff08\u662f\u5426\u6709\u5229\u4e8e\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\u548c\u89e3\u51b3\u95ee\u9898\uff09\u3002")),(0,a.yg)("p",null,"\xa0\n",(0,a.yg)("strong",{parentName:"p"},"\u4e24\u4e2a\u6212\u5f8b\uff1a"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u6212\u5f8b\u4e00\uff1a\u51e1\u662f\u4e2d\u95f4\u4ef6\uff0c\u4e0d\u7ba1\u662f\u81ea\u4e3b\u5f00\u53d1\u7684\uff0c\u8fd8\u662f\u4ee5\u5f00\u6e90\u8f6f\u4ef6\u4e3a\u5185\u6838\u6784\u5efa\u51fa\u6765\u7684\uff0c\u90fd\u5fc5\u987b\u81ea\u5e26\u76d1\u63a7\u62a5\u8b66\uff0c\u5426\u5219\u4e0d\u5141\u8bb8\u4e0a\u7ebf\u3002"),"\n",(0,a.yg)("strong",{parentName:"p"},"\u6212\u5f8b\u4e8c\uff1a\u672c\u7740 Don't make me think \u7684\u54f2\u5b66\u601d\u8def\uff0c\u6240\u6709\u5bf9\u6392\u9664\u6545\u969c\u6709\u5e2e\u52a9\u7684\u4fe1\u606f\uff0c\u90fd\u5fc5\u987b\u4e00\u7ad9\u5f0f\u5c55\u793a\u5728\u4ea4\u4e92\u754c\u9762\u4e0a\uff0c\u4e5f\u5c31\u662f\u4e2d\u95f4\u4ef6\u7684\u63a7\u5236\u53f0\u4e0a\uff0c\u6216\u8fd0\u7ef4\u81ea\u52a8\u5316\u5e73\u53f0\u4e0a\uff0c\u6216\u7814\u53d1\u534f\u4f5c\u5e73\u53f0\u4e0a\u3002")),(0,a.yg)("h3",{id:"\u8981\u719f\u7ec3\u638c\u63e1\u7684\u4e03\u4e2a\u4eba\u751f\u5de5\u5177"},"\u8981\u719f\u7ec3\u638c\u63e1\u7684\u4e03\u4e2a\u4eba\u751f\u5de5\u5177"),(0,a.yg)("h4",{id:"\u4e00swot\u5206\u6790\u6cd5"},"\u4e00\u3001SWOT\u5206\u6790\u6cd5\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Strengths\uff1a\u4f18\u52bf"),(0,a.yg)("li",{parentName:"ul"},"Weaknesses\uff1a\u52a3\u52bf"),(0,a.yg)("li",{parentName:"ul"},"Opportunities\uff1a\u673a\u4f1a"),(0,a.yg)("li",{parentName:"ul"},"Threats\uff1a\u5a01\u80c1"),(0,a.yg)("li",{parentName:"ul"},"\u610f\u4e49\uff1a\u5e2e\u60a8\u6e05\u6670\u5730\u628a\u63e1\u5168\u5c40\uff0c\u5206\u6790\u81ea\u5df1\u5728\u8d44\u6e90\u65b9\u9762\u7684\u4f18\u52bf\u4e0e\u52a3\u52bf\uff0c\u628a\u63e1\u73af\u5883\u63d0\u4f9b\u7684\u673a\u4f1a\uff0c\u9632\u8303\u53ef\u80fd\u5b58\u5728\u7684\u98ce\u9669\u4e0e\u5a01\u80c1\uff0c\u5bf9\u6211\u4eec\u7684\u6210\u529f\u6709\u975e\u5e38\u91cd\u8981\u7684\u610f\u4e49\u3002")),(0,a.yg)("h4",{id:"\u4e8cpdca\u5faa\u73af\u89c4\u5219"},"\u4e8c\u3001PDCA\u5faa\u73af\u89c4\u5219"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Plan\uff1a\u5236\u5b9a\u76ee\u6807\u4e0e\u8ba1\u5212\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Do\uff1a\u4efb\u52a1\u5c55\u5f00\uff0c\u7ec4\u7ec7\u5b9e\u65bd\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Check\uff1a\u5bf9\u8fc7\u7a0b\u4e2d\u7684\u5173\u952e\u70b9\u548c\u6700\u7ec8\u7ed3\u679c\u8fdb\u884c\u68c0\u67e5\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Action\uff1a\u7ea0\u6b63\u504f\u5dee\uff0c\u5bf9\u6210\u679c\u8fdb\u884c\u6807\u51c6\u5316\uff0c\u5e76\u786e\u5b9a\u65b0\u7684\u76ee\u6807\uff0c\u5236\u5b9a\u4e0b\u4e00\u8f6e\u8ba1\u5212\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u610f\u4e49\uff1a\u6bcf\u4e00\u9879\u5de5\u4f5c\uff0c\u90fd\u662f\u4e00\u4e2apdca\u5faa\u73af\uff0c\u90fd\u9700\u8981\u8ba1\u5212\u3001\u5b9e\u65bd\u3001\u68c0\u67e5\u7ed3\u679c\uff0c\u5e76\u8fdb\u4e00\u6b65\u8fdb\u884c\u6539\u8fdb\uff0c\u540c\u65f6\u8fdb\u5165\u4e0b\u4e00\u4e2a\u5faa\u73af\uff0c\u53ea\u6709\u5728\u65e5\u79ef\u6708\u7d2f\u7684\u6e10\u8fdb\u6539\u5584\u4e2d\uff0c\u624d\u53ef\u80fd\u4f1a\u6709\u8d28\u7684\u98de\u8dc3\uff0c\u624d\u53ef\u80fd\u53d6\u5f97\u5b8c\u5584\u6bcf\u4e00\u9879\u5de5\u4f5c\uff0c\u5b8c\u5584\u81ea\u5df1\u7684\u4eba\u751f\u3002")),(0,a.yg)("h4",{id:"\u4e096w2h\u6cd5"},"\u4e09\u30016W2H\u6cd5"),(0,a.yg)("p",null,"**"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"What\uff1a\u5de5\u4f5c\u7684\u5185\u5bb9\u548c\u8fbe\u6210\u7684\u76ee\u6807\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Why\uff1a\u505a\u8fd9\u9879\u5de5\u4f5c\u7684\u539f\u56e0\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Who\uff1a\u53c2\u52a0\u8fd9\u9879\u5de5\u4f5c\u7684\u5177\u4f53\u4eba\u5458\uff0c\u4ee5\u53ca\u8d1f\u8d23\u4eba\uff1b"),(0,a.yg)("li",{parentName:"ul"},"When\uff1a\u5728\u4ec0\u4e48\u65f6\u95f4\u3001\u4ec0\u4e48\u65f6\u95f4\u6bb5\u8fdb\u884c\u5de5\u4f5c\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Where\uff1a\u5de5\u4f5c\u53d1\u751f\u7684\u5730\u70b9 \uff1b"),(0,a.yg)("li",{parentName:"ul"},"Which\uff1a\u54ea\u4e00\u79cd\u65b9\u6cd5\u6216\u9014\u5f84\uff1b"),(0,a.yg)("li",{parentName:"ul"},"How\uff1a\u7528\u4ec0\u4e48\u65b9\u6cd5\u8fdb\u884c\uff1b"),(0,a.yg)("li",{parentName:"ul"},"How much\uff1a\u9700\u8981\u591a\u5c11\u6210\u672c\uff1f"),(0,a.yg)("li",{parentName:"ul"},"\u610f\u4e49\uff1a\u505a\u4efb\u4f55\u5de5\u4f5c\u90fd\u5e94\u8be5\u4ece6W2H\u6765\u601d\u8003\uff0c\u8fd9\u6709\u52a9\u4e8e\u6211\u4eec\u7684\u601d\u8def\u7684\u6761\u7406\u5316\uff0c\u675c\u7edd\u76f2\u76ee\u6027\u3002\u6211\u4eec\u7684\u6c47\u62a5\u4e5f\u5e94\u8be5\u75286W2H\uff0c\u80fd\u8282\u7ea6\u5199\u62a5\u544a\u53ca\u770b\u62a5\u544a\u7684\u65f6\u95f4\u3002")),(0,a.yg)("h4",{id:"\u56dbsmart\u539f\u5219"},"\u56db\u3001SMART\u539f\u5219"),(0,a.yg)("p",null,"**"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Specific \u5177\u4f53\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Measurable \u53ef\u6d4b\u91cf\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Attainable \u53ef\u8fbe\u5230\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Relevant \u76f8\u5173\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Time based \u65f6\u95f4\u7684\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u610f\u4e49\uff1a\u4eba\u4eec\u5728\u5236\u5b9a\u5de5\u4f5c\u76ee\u6807\u6216\u8005\u4efb\u52a1\u76ee\u6807\u65f6\uff0c\u8003\u8651\u4e00\u4e0b\u76ee\u6807\u4e0e\u8ba1\u5212\u662f\u4e0d\u662fSMART\u5316\u7684\u3002\u53ea\u6709\u5177\u5907SMART\u5316\u7684\u8ba1\u5212\u624d\u662f\u5177\u6709\u826f\u597d\u53ef\u5b9e\u65bd\u6027\u7684\uff0c\u4e5f\u624d\u80fd\u6307\u5bfc\u4fdd\u8bc1\u8ba1\u5212\u5f97\u4ee5\u5b9e\u73b0\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u7279\u522b\u6ce8\u660e\uff1a")),(0,a.yg)("p",null,"\u6709\u7684\u53c8\u5982\u6b64\u89e3\u91ca\u6b64\u539f\u5219\uff1a\n\u2014\u2014S\u4ee3\u8868\u5177\u4f53(Specific)\uff0c\u6307\u7ee9\u6548\u8003\u6838\u8981\u5207\u4e2d\u7279\u5b9a\u7684\u5de5\u4f5c\u6307\u6807\uff0c\u4e0d\u80fd\u7b3c\u7edf\uff1b\n\u2014\u2014M\u4ee3\u8868\u53ef\u5ea6\u91cf(Measurable)\uff0c\u6307\u7ee9\u6548\u6307\u6807\u662f\u6570\u91cf\u5316\u6216\u8005\u884c\u4e3a\u5316\u7684\uff0c\u9a8c\u8bc1\u8fd9\u4e9b\u7ee9\u6548\u6307\u6807\u7684\u6570\u636e\u6216\u8005\u4fe1\u606f\u662f\u53ef\u4ee5\u83b7\u5f97\u7684\uff1b\n\u2014\u2014A\u4ee3\u8868\u53ef\u5b9e\u73b0(Attainable)\uff0c\u6307\u7ee9\u6548\u6307\u6807\u5728\u4ed8\u51fa\u52aa\u529b\u7684\u60c5\u51b5\u4e0b\u53ef\u4ee5\u5b9e\u73b0\uff0c\u907f\u514d\u8bbe\u7acb\u8fc7\u9ad8\u6216\u8fc7\u4f4e\u7684\u76ee\u6807\uff1b\n\u2014\u2014R\u4ee3\u8868\u73b0\u5b9e\u6027(realistic)\uff0c\u6307\u7ee9\u6548\u6307\u6807\u662f\u5b9e\u5b9e\u5728\u5728\u7684\uff0c\u53ef\u4ee5\u8bc1\u660e\u548c\u89c2\u5bdf\uff1b\n\u2014\u2014T\u4ee3\u8868\u6709\u65f6\u9650(time bound)\uff0c\u6ce8\u91cd\u5b8c\u6210\u7ee9\u6548\u6307\u6807\u7684\u7279\u5b9a\u671f\u9650\u3002"),(0,a.yg)("h4",{id:"\u4e94\u65f6\u95f4\u7ba1\u7406-\u91cd\u8981\u4e0e\u7d27\u6025"},"\u4e94\u3001\u65f6\u95f4\u7ba1\u7406-\u91cd\u8981\u4e0e\u7d27\u6025"),(0,a.yg)("p",null,"**"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"A\u3001\u91cd\u8981\u4e14\u7d27\u6025")),(0,a.yg)("p",null,"\u7d27\u6025\u72b6\u51b5\n\u8feb\u5207\u7684\u95ee\u9898\n\u9650\u671f\u5b8c\u6210\u7684\u5de5\u4f5c\n\u4f60\u4e0d\u505a\u5176\u4ed6\u4eba\u4e5f\u4e0d\u80fd\u505a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"B\u3001\u91cd\u8981\u4e0d\u7d27\u6025")),(0,a.yg)("p",null,"\u51c6\u5907\u5de5\u4f5c\n\u9884\u9632\u63aa\u65bd\n\u4ef7\u503c\u89c2\u7684\u6f84\u6e05\n\u8ba1\u5212\n\u4eba\u9645\u5173\u7cfb\u7684\u5efa\u7acb\n\u771f\u6b63\u7684\u518d\u521b\u9020\n\u589e\u8fdb\u81ea\u5df1\u7684\u80fd\u529b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"C\u3001\u7d27\u6025\u4e0d\u91cd\u8981")),(0,a.yg)("p",null,"\u9020\u6210\u5e72\u6270\u7684\u4e8b\u3001\u7535\u8bdd\u3001\n\u4fe1\u4ef6\u3001\u62a5\u544a\n\u4f1a\u8bae\n\u8bb8\u591a\u8feb\u5728\u7709\u6377\u7684\u6025\u4e8b\n\u7b26\u5408\u522b\u4eba\u671f\u671b\u7684\u4e8b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"D\u3001\u4e0d\u91cd\u8981\u4e0d\u7d27\u6025")),(0,a.yg)("p",null,"\u5fd9\u788c\u7410\u788e\u7684\u4e8b\n\u5e7f\u544a\u51fd\u4ef6\n\u7535\u8bdd\n\u9003\u907f\u6027\u6d3b\u52a8\n\u7b49\u5f85\u65f6\u95f4\n\u4f18\u5148\u987a\u5e8f=\u91cd\u8981\u6027*\u7d27\u8feb\u6027\n\u5728\u8fdb\u884c\u65f6\u95f4\u5b89\u6392\u65f6\uff0c\u5e94\u6743\u8861\u5404\u79cd\u4e8b\u60c5\u7684\u4f18\u5148\u987a\u5e8f\uff0c\u8981\u5b66\u4f1a\u201c\u5f39\u94a2\u7434\u201d\u3002\n\u5bf9\u5de5\u4f5c\u8981\u6709\u524d\u77bb\u80fd\u529b\uff0c\u9632\u60a3\u4e8e\u672a\u7136\uff0c\u5982\u679c\u603b\u662f\u5728\u5fd9\u4e8e\u6551\u706b\uff0c\u90a3\u5c06\u4f7f\u6211\u4eec\u7684\u5de5\u4f5c\u6c38\u8fdc\u5904\u7406\u88ab\u52a8\u4e4b\u4e2d\u3002\n**"),(0,a.yg)("h4",{id:"\u516d\u4efb\u52a1\u5206\u89e3\u6cd5wbs"},"\u516d\u3001\u4efb\u52a1\u5206\u89e3\u6cd5","[WBS]"),(0,a.yg)("p",null,"\u5373Work Breakdown Structure\uff0c\u5982\u4f55\u8fdb\u884cWBS\u5206\u89e3\uff1a\u76ee\u6807\u2192\u4efb\u52a1\u2192\u5de5\u4f5c\u2192\u6d3b\u52a8\nWBS\u5206\u89e3\u7684\u539f\u5219\uff1a\n\u5c06\u4e3b\u4f53\u76ee\u6807\u9010\u6b65\u7ec6\u5316\u5206\u89e3\uff0c\u6700\u5e95\u5c42\u7684\u4efb\u52a1\u6d3b\u52a8\u53ef\u76f4\u63a5\u5206\u6d3e\u5230\u4e2a\u4eba\u53bb\u5b8c\u6210\uff1b\u6bcf\u4e2a\u4efb\u52a1\u539f\u5219\u4e0a\u8981\u6c42\u5206\u89e3\u5230\u4e0d\u80fd\u518d\u7ec6\u5206\u4e3a\u6b62\u3002\nWBS\u5206\u89e3\u7684\u65b9\u6cd5\uff1a\n\u81f3\u4e0a\u800c\u4e0b\u4e0e\u81f3\u4e0b\u800c\u4e0a\u7684\u5145\u5206\u6c9f\u901a\uff1b\n\u4e00\u5bf9\u4e00\u4e2a\u522b\u4ea4\u6d41\uff1b\n\u5c0f\u7ec4\u8ba8\u8bba\u3002\nWBS\u5206\u89e3\u7684\u6807\u51c6\uff1a\n\u5206\u89e3\u540e\u7684\u6d3b\u52a8\u7ed3\u6784\u6e05\u6670\uff1b\n\u903b\u8f91\u4e0a\u5f62\u6210\u4e00\u4e2a\u5927\u7684\u6d3b\u52a8\uff1b\n\u96c6\u6210\u4e86\u6240\u6709\u7684\u5173\u952e\u56e0\u7d20\u5305\u542b\u4e34\u65f6\u7684\u91cc\u7a0b\u7891\u548c\u76d1\u63a7\u70b9\uff1b\n\u6240\u6709\u6d3b\u52a8\u5168\u90e8\u5b9a\u4e49\u6e05\u695a\u3002\n\u610f\u4e49\uff1a\u5b66\u4f1a\u5206\u89e3\u4efb\u52a1\uff0c\u53ea\u6709\u5c06\u4efb\u52a1\u5206\u89e3\u5f97\u8db3\u591f\u7ec6\uff0c\u60a8\u624d\u80fd\u5fc3\u91cc\u6709\u6570\uff0c\u60a8\u624d\u80fd\u6709\u6761\u4e0d\u7d0a\u5730\u5de5\u4f5c\uff0c\u60a8\u624d\u80fd\u7edf\u7b79\u5b89\u6392\u60a8\u7684\u65f6\u95f4\u8868\u3002\n**"),(0,a.yg)("h4",{id:"\u4e03\u4e8c\u516b\u539f\u5219"},"\u4e03\u3001\u4e8c\u516b\u539f\u5219"),(0,a.yg)("p",null,"\u5df4\u5217\u7279\u5b9a\u5f8b\uff1a\u201c\u603b\u7ed3\u679c\u768480%\u662f\u7531\u603b\u6d88\u8017\u65f6\u95f4\u4e2d\u768420%\u6240\u5f62\u6210\u7684\u3002\u201d\u6309\u4e8b\u60c5\u7684\u201c\u91cd\u8981\u7a0b\u5ea6\u201d\u7f16\u6392\u4e8b\u52a1\u4f18\u5148\u6b21\u5e8f\u7684\u51c6\u5219\u662f\u5efa\u7acb\u5728\u201c\u91cd\u8981\u7684\u5c11\u6570\u4e0e\u7410\u788e\u7684\u591a\u6570\u201d\u7684\u539f\u7406\u7684\u57fa\u7840\u4e0a\u3002\n\u4e3e\u4f8b\u8bf4\u660e\uff1a\n80%\u7684\u9500\u552e\u989d\u662f\u6e90\u81ea20%\u7684\u987e\u5ba2\uff1b\n80%\u7684\u7535\u8bdd\u662f\u6765\u81ea20%\u7684\u670b\u53cb\uff1b\n80%\u7684\u603b\u4ea7\u91cf\u6765\u81ea20%\u7684\u4ea7\u54c1\uff1b\n80%\u7684\u8d22\u5bcc\u96c6\u4e2d\u572820%\u7684\u4eba\u624b\u4e2d\uff1b\n\u8fd9\u542f\u793a\u6211\u4eec\u5728\u5de5\u4f5c\u4e2d\u8981\u5584\u4e8e\u6293\u4e3b\u8981\u77db\u76fe\uff0c\u5584\u4e8e\u4ece\u7eb7\u7e41\u590d\u6742\u7684\u5de5\u4f5c\u4e2d\u7406\u51fa\u5934\u7eea\uff0c\u628a\u8d44\u6e90\u7528\u5728\u6700\u91cd\u8981\u3001\u6700\u7d27\u8feb\u7684\u4e8b\u60c5\u4e0a\u3002"),(0,a.yg)("h3",{id:"\u63d0\u9ad8\u63d0\u6d4b\u8d28\u91cf"},"\u63d0\u9ad8\u63d0\u6d4b\u8d28\u91cf"),(0,a.yg)("p",null,"QA\u7684\u804c\u8d23\u4e0d\u662f\u5f00\u53d1\u5199\u5b8c\u6254\u7ed9\u4eba\u5bb6\u6d4b\u8bd5\uff0c\u8fd9\u662f\u504f\u89c1\uff0c\u4e5f\u662f\u597d\u591a\u5f00\u53d1\u4eba\u5458\u4e00\u76f4\u6709\u7684\u9519\u8bef\u7684\u89c2\u5ff5\uff0cQA \u4e0d\u662f\u7b80\u5355\u7684\u9a8c\u8bc1\u529f\u80fd\u6027\u7684\uff08\u5f53\u7136\u5b58\u5728\u8fd9\u79cdAQ\uff09\uff0cQA\u66f4\u591a\u662f\u9a8c\u8bc1\u7a0b\u5e8f\u7684",(0,a.yg)("strong",{parentName:"p"},"\u5065\u58ee\u6027"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u5bb9\u9519\u6027"),"\uff0c\u6240\u4ee5\u5728\u6211\u4eec\u8fd9\u91cc\u5e94\u8be5\u4fdd\u8bc1\u7a0b\u5e8f\u6700\u57fa\u672c\u7684\u529f\u80fd\u6027\u95ee\u9898\uff0c\u51cf\u5c11\u4ee3\u7801\u7684\u56de\u6eaf\uff0c\u8fd9\u6837\u624d\u80fd\u4e0d\u5f71\u54cd\u4ea7\u54c1\u7684\u8fc5\u901f\u8fed\u4ee3\uff0c\u4e0d\u5f71\u54cd\u4ea7\u54c1\u7684\u63a8\u8fdb\u3002"),(0,a.yg)("h3",{id:"\u5148\u5199\u6587\u6863\u518d\u5199\u4ee3\u7801"},"\u5148\u5199\u6587\u6863\u518d\u5199\u4ee3\u7801"),(0,a.yg)("p",null,"\u597d\u591a\u7a0b\u5e8f\u5458\u7684\u901a\u75c5\u5c31\u662f\u62ff\u5230\u9700\u6c42\u5c31\u5f00\u59cb\u5199\u4ee3\u7801\uff0c\u8fd9\u662f\u76f8\u5f53\u7684\u4e0d\u8d1f\u8d23\u4efb\u7684\uff0c\u5f88\u660e\u663e\u8fd9\u79cd\u505a\u6cd5\u6709\u95ee\u9898\u3002\u5e94\u8be5\u5148\u5199\u81ea\u5df1\u7684\u601d\u8def\uff0c\u5982\u679c\u529f\u80fd\u5927\u4e00\u4e9b\uff0c\u8981\u5148\u5199\u65b9\u6848\uff0c\u8bc4\u5ba1\u65b9\u6848\u3002\u601d\u8def\u3001\u65b9\u6848\u6ca1\u6709\u95ee\u9898\u5728\u52a8\u624b\u53bb\u5199\u4ee3\u7801\uff0c\u4f60\u4f1a\u53d1\u73b0\u5751\u4f1a\u5c11\u8e29\u597d\u591a\u3002"),(0,a.yg)("h3",{id:"\u4e00\u4e2a\u7a0b\u5e8f\u5458\u7684\u4ef7\u503c\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b"},"\u4e00\u4e2a\u7a0b\u5e8f\u5458\u7684\u4ef7\u503c\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b"),(0,a.yg)("p",null,"\u6280\u672f\u8d8a\u597d\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b\u8d8a\u5f3a\uff0c\u8fd9\u4e2a\u6ca1\u6709\u95ee\u9898\uff0c\u8fd9\u662f\u4e00\u4e2a\u6b63\u5411\u6bd4\u4f8b\u5173\u7cfb\u3002\u4f46\u662f\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b\uff0c\u4e0d\u4ec5\u4ec5\u5305\u62ec\u6280\u672f\uff0c\u4e5f\u5305\u62ec\u6c9f\u901a\u3001\u4e1a\u52a1\u7b49\u7b49\u5176\u4ed6\u65b9\u9762\u3002\u5728\u5de5\u4f5c\u4e2d\uff0c\u4e0d\u8981\u4ec5\u4ec5\u7684\u53bb\u5b66\u4e60\u5404\u79cd\u7f16\u7a0b\u6280\u672f\uff0c\u4e5f\u8981\u5b66\u4f1a\u6c9f\u901a\u3001\u4e1a\u52a1\u3002"),(0,a.yg)("h3",{id:"\u6ce8\u610f\u6d41\u7a0b\u89c4\u8303"},"\u6ce8\u610f\u6d41\u7a0b\u3001\u89c4\u8303"),(0,a.yg)("p",null,"\u5c24\u5176\u662f\u7ba1\u7406\u4eba\u5458\u3001\u7ec4\u957f\u3001\u9ad8\u7a0b\uff0c\u4e00\u5b9a\u8981\u4e3b\u8981\u6d41\u7a0b\u548c\u89c4\u8303\uff0c\u6ca1\u6709\u6d41\u7a0b\u548c\u89c4\u8303\u5c31\u662f\u4e00\u7fa4\u4e4c\u5408\u4e4b\u4f17\uff0c\u6ca1\u6709\u4efb\u4f55\u6218\u529b\u53ef\u8a00\u3002\u6709\u4e86\u6d41\u7a0b\u548c\u89c4\u8303\uff0c10\u4e2a\u4eba\u53ef\u4ee5\u505a20\u4e2a\u4eba\u7684\u5de5\u4f5c\uff1b\u6ca1\u6709\u6d41\u7a0b\u548c\u89c4\u8303\uff0c20\u4e2a\u4eba\u9876\u591a\u4e5f\u53ea\u80fd\u505a10\u4e2a\u4eba\u7684\u5de5\u4f5c\uff0c\u4e14\u4e0d\u4f1a\u6709\u4efb\u4f55\u53ef\u7ef4\u62a4\u6027\u3002"))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/397e604e.4651262e.js b/assets/js/397e604e.69871c3e.js similarity index 98% rename from assets/js/397e604e.4651262e.js rename to assets/js/397e604e.69871c3e.js index b68e6dd88..5c9713c23 100644 --- a/assets/js/397e604e.4651262e.js +++ b/assets/js/397e604e.69871c3e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9304],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),u=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(a.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,a=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),p=u(r),y=o,f=p["".concat(a,".").concat(y)]||p[y]||d[y]||i;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,c=new Array(i);c[0]=y;var l={};for(var a in t)hasOwnProperty.call(t,a)&&(l[a]=t[a]);l.originalType=e,l[p]="string"==typeof e?e:o,c[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:5},c="\u7528\u6237\u8bbe\u7f6e",l={unversionedId:"iotcloud/usercenter/user-settings",id:"iotcloud/usercenter/user-settings",title:"\u7528\u6237\u8bbe\u7f6e",description:"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u8bbe\u7f6e \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002",source:"@site/docs/iotcloud/usercenter/user-settings.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/user-settings",permalink:"/docs/iotcloud/usercenter/user-settings",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"iotCloudSidebar",previous:{title:"\u7528\u6237\u65e5\u5fd7",permalink:"/docs/iotcloud/usercenter/user-log"},next:{title:"RAM \u7528\u6237",permalink:"/docs/iotcloud/usercenter/system-user"}},a={},u=[{value:"\u4ec0\u4e48\u662f\u7528\u6237\u8bbe\u7f6e",id:"\u4ec0\u4e48\u662f\u7528\u6237\u8bbe\u7f6e",level:3},{value:"\u4f7f\u7528\u6d41\u7a0b",id:"\u4f7f\u7528\u6d41\u7a0b",level:3},{value:"\u6700\u4f73\u5b9e\u8df5",id:"\u6700\u4f73\u5b9e\u8df5",level:3},{value:"\u4f7f\u7528\u9650\u5236",id:"\u4f7f\u7528\u9650\u5236",level:3}],s={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u7528\u6237\u8bbe\u7f6e"},"\u7528\u6237\u8bbe\u7f6e"),(0,o.yg)("p",null,"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u8bbe\u7f6e \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002"),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662f\u7528\u6237\u8bbe\u7f6e"},"\u4ec0\u4e48\u662f\u7528\u6237\u8bbe\u7f6e"),(0,o.yg)("p",null,"\u5982\u679c\u662f\u6ce8\u518c\u7528\u6237\uff0c\u53ef\u4ee5\u7ba1\u7406\u7528\u6237\u4fe1\u606f\u3001\u4ee5\u53ca\u4e00\u4e9b\u91cd\u8981\u7684\u670d\u52a1\u4fe1\u606f\u914d\u7f6e\uff1b"),(0,o.yg)("p",null,"\u5982\u679c\u662f RAM \u7528\u6237\uff0c\u53ea\u5141\u8bb8\u7ba1\u7406\u7528\u6237\u4fe1\u606f\u3002"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u6d41\u7a0b"},"\u4f7f\u7528\u6d41\u7a0b"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u6700\u4f73\u5b9e\u8df5"},"\u6700\u4f73\u5b9e\u8df5"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u9650\u5236"},"\u4f7f\u7528\u9650\u5236"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9304],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),u=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(a.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,a=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),p=u(r),y=o,f=p["".concat(a,".").concat(y)]||p[y]||d[y]||i;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,c=new Array(i);c[0]=y;var l={};for(var a in t)hasOwnProperty.call(t,a)&&(l[a]=t[a]);l.originalType=e,l[p]="string"==typeof e?e:o,c[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>d,frontMatter:()=>i,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:5},c="\u7528\u6237\u8bbe\u7f6e",l={unversionedId:"iotcloud/usercenter/user-settings",id:"iotcloud/usercenter/user-settings",title:"\u7528\u6237\u8bbe\u7f6e",description:"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u8bbe\u7f6e \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002",source:"@site/docs/iotcloud/usercenter/user-settings.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/user-settings",permalink:"/docs/iotcloud/usercenter/user-settings",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"iotCloudSidebar",previous:{title:"\u7528\u6237\u65e5\u5fd7",permalink:"/docs/iotcloud/usercenter/user-log"},next:{title:"RAM \u7528\u6237",permalink:"/docs/iotcloud/usercenter/system-user"}},a={},u=[{value:"\u4ec0\u4e48\u662f\u7528\u6237\u8bbe\u7f6e",id:"\u4ec0\u4e48\u662f\u7528\u6237\u8bbe\u7f6e",level:3},{value:"\u4f7f\u7528\u6d41\u7a0b",id:"\u4f7f\u7528\u6d41\u7a0b",level:3},{value:"\u6700\u4f73\u5b9e\u8df5",id:"\u6700\u4f73\u5b9e\u8df5",level:3},{value:"\u4f7f\u7528\u9650\u5236",id:"\u4f7f\u7528\u9650\u5236",level:3}],s={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u7528\u6237\u8bbe\u7f6e"},"\u7528\u6237\u8bbe\u7f6e"),(0,o.yg)("p",null,"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u8bbe\u7f6e \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002"),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662f\u7528\u6237\u8bbe\u7f6e"},"\u4ec0\u4e48\u662f\u7528\u6237\u8bbe\u7f6e"),(0,o.yg)("p",null,"\u5982\u679c\u662f\u6ce8\u518c\u7528\u6237\uff0c\u53ef\u4ee5\u7ba1\u7406\u7528\u6237\u4fe1\u606f\u3001\u4ee5\u53ca\u4e00\u4e9b\u91cd\u8981\u7684\u670d\u52a1\u4fe1\u606f\u914d\u7f6e\uff1b"),(0,o.yg)("p",null,"\u5982\u679c\u662f RAM \u7528\u6237\uff0c\u53ea\u5141\u8bb8\u7ba1\u7406\u7528\u6237\u4fe1\u606f\u3002"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u6d41\u7a0b"},"\u4f7f\u7528\u6d41\u7a0b"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u6700\u4f73\u5b9e\u8df5"},"\u6700\u4f73\u5b9e\u8df5"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u9650\u5236"},"\u4f7f\u7528\u9650\u5236"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/398dd9ed.01d32a12.js b/assets/js/398dd9ed.f8541275.js similarity index 99% rename from assets/js/398dd9ed.01d32a12.js rename to assets/js/398dd9ed.f8541275.js index a5944c0ce..93f306b41 100644 --- a/assets/js/398dd9ed.01d32a12.js +++ b/assets/js/398dd9ed.f8541275.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7445],{15680:(e,r,t)=>{t.d(r,{xA:()=>y,yg:()=>m});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var l=n.createContext({}),c=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},y=function(e){var r=c(e.components);return n.createElement(l.Provider,{value:r},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},u=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),d=c(t),u=o,m=d["".concat(l,".").concat(u)]||d[u]||s[u]||a;return t?n.createElement(m,p(p({ref:r},y),{},{components:t})):n.createElement(m,p({ref:r},y))}));function m(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,p=new Array(a);p[0]=u;var i={};for(var l in r)hasOwnProperty.call(r,l)&&(i[l]=r[l]);i.originalType=e,i[d]="string"==typeof e?e:o,p[1]=i;for(var c=2;c{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>p,default:()=>s,frontMatter:()=>a,metadata:()=>i,toc:()=>c});var n=t(58168),o=(t(96540),t(15680));const a={sidebar_position:2},p=void 0,i={unversionedId:"study/back/Zookeeper",id:"study/back/Zookeeper",title:"Zookeeper",description:"Zookeeper\u6982\u8ff0",source:"@site/docs/study/back/Zookeeper.md",sourceDirName:"study/back",slug:"/study/back/Zookeeper",permalink:"/docs/study/back/Zookeeper",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/back/"},next:{title:"\u9ad8\u5e76\u53d1API",permalink:"/docs/study/back/\u9ad8\u5e76\u53d1API"}},l={},c=[{value:"Zookeeper\u6982\u8ff0",id:"zookeeper\u6982\u8ff0",level:3},{value:"Zookeeper \u7279\u6027",id:"zookeeper-\u7279\u6027",level:3}],y={toc:c},d="wrapper";function s(e){let{components:r,...t}=e;return(0,o.yg)(d,(0,n.A)({},y,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"zookeeper\u6982\u8ff0"},"Zookeeper\u6982\u8ff0"),(0,o.yg)("p",null,"Zookeeper \u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u534f\u8c03\u670d\u52a1\u7684\u5f00\u6e90\u6846\u67b6\u3002\u4e3b\u8981\u7528\u6765\u89e3\u51b3\u5206\u5e03\u5f0f\u96c6\u7fa4\u4e2d\u5e94\u7528\u7cfb\u7edf\u7684\u4e00\u81f4\u6027\u95ee\u9898\uff0c\u4f8b\u5982\u600e\u6837\u907f\u514d\u540c\u65f6\u64cd\u4f5c\u540c\u4e00\u6570\u636e\u9020\u6210\u810f\u8bfb\u7684\u95ee\u9898\u3002"),(0,o.yg)("p",null,"ZooKeeper \u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u5c0f\u6587\u4ef6\u5b58\u50a8\u7cfb\u7edf\u3002\u63d0\u4f9b\u57fa\u4e8e\u7c7b\u4f3c\u4e8e\u6587\u4ef6\u7cfb \u7edf\u7684\u76ee\u5f55\u6811\u65b9\u5f0f\u7684\u6570\u636e\u5b58\u50a8\uff0c\u5e76\u4e14\u53ef\u4ee5\u5bf9\u6811\u4e2d\u7684\u8282\u70b9\u8fdb\u884c\u6709\u6548\u7ba1\u7406\u3002\u4ece\u800c\u7528\u6765\u7ef4\u62a4\u548c\u76d1\u63a7\u4f60\u5b58\u50a8\u7684\u6570\u636e\u7684\u72b6\u6001\u53d8\u5316\u3002\u901a\u8fc7\u76d1\u63a7\u8fd9\u4e9b\u6570\u636e\u72b6\u6001\u7684\u53d8\u5316\uff0c\u4ece\u800c\u53ef\u4ee5\u8fbe \u5230\u57fa\u4e8e\u6570\u636e\u7684\u96c6\u7fa4\u7ba1\u7406\u3002\u8bf8\u5982\uff1a",(0,o.yg)("inlineCode",{parentName:"p"},"\u7edf\u4e00\u547d\u540d\u670d\u52a1"),"\u3001",(0,o.yg)("inlineCode",{parentName:"p"},"\u5206\u5e03\u5f0f\u914d\u7f6e\u7ba1\u7406"),"\u3001",(0,o.yg)("inlineCode",{parentName:"p"},"\u5206\u5e03\u5f0f\u6d88\u606f\u961f\u5217"),"\u3001",(0,o.yg)("inlineCode",{parentName:"p"},"\u5206\u5e03\u5f0f\u9501"),"\u3001",(0,o.yg)("inlineCode",{parentName:"p"},"\u5206\u5e03\u5f0f\u534f\u8c03"),"\u7b49\u529f\u80fd\u3002"),(0,o.yg)("p",null,"\u4e0a\u9762\u7684\u89e3\u91ca\u6709\u70b9\u62bd\u8c61\uff0c\u7b80\u5355\u6765\u8bf4zookeeper=\u6587\u4ef6\u7cfb\u7edf+\u76d1\u542c\u901a\u77e5\u673a\u5236\u3002"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u6587\u4ef6\u7cfb\u7edf\uff0cZookeeper\u7ef4\u62a4\u4e00\u4e2a\u7c7b\u4f3c\u6587\u4ef6\u7cfb\u7edf\u7684\u6570\u636e\u7ed3\u6784\uff0c\u6bcf\u4e2a\u5b50\u76ee\u5f55\u9879\u5982 NameService \u90fd\u88ab\u79f0\u4f5c\u4e3a znode(\u76ee\u5f55\u8282\u70b9)\uff0c\u548c\u6587\u4ef6\u7cfb\u7edf\u4e00\u6837\uff0c\u6211\u4eec\u80fd\u591f\u81ea\u7531\u7684\u589e\u52a0\u3001\u5220\u9664znode\uff0c\u5728\u4e00\u4e2aznode\u4e0b\u589e\u52a0\u3001\u5220\u9664\u5b50znode\uff0c\u552f\u4e00\u7684\u4e0d\u540c\u5728\u4e8eznode\u662f\u53ef\u4ee5\u5b58\u50a8\u6570\u636e\u7684\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u76d1\u542c\u901a\u77e5\u673a\u5236\uff0c\u5ba2\u6237\u7aef\u6ce8\u518c\u76d1\u542c\u5b83\u5173\u5fc3\u7684\u76ee\u5f55\u8282\u70b9\uff0c\u5f53\u76ee\u5f55\u8282\u70b9\u53d1\u751f\u53d8\u5316\uff08\u6570\u636e\u6539\u53d8\u3001\u88ab\u5220\u9664\u3001\u5b50\u76ee\u5f55\u8282\u70b9\u589e\u52a0\u5220\u9664\uff09\u65f6\uff0czookeeper\u4f1a\u901a\u77e5\u5ba2\u6237\u7aef\u3002")),(0,o.yg)("h3",{id:"zookeeper-\u7279\u6027"},"Zookeeper \u7279\u6027"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u5168\u5c40\u6570\u636e\u4e00\u81f4"),"\uff1a\u6bcf\u4e2a server \u4fdd\u5b58\u4e00\u4efd\u76f8\u540c\u7684\u6570\u636e\u526f\u672c\uff0cclient \u65e0\u8bba\u8fde \u63a5\u5230\u54ea\u4e2a server\uff0c\u5c55\u793a\u7684\u6570\u636e\u90fd\u662f\u4e00\u81f4\u7684\uff0c\u8fd9\u662f\u6700\u91cd\u8981\u7684\u7279\u5f81\uff1b")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u53ef\u9760\u6027"),"\uff1a\u5982\u679c\u6d88\u606f\u88ab\u5176\u4e2d\u4e00\u53f0\u670d\u52a1\u5668\u63a5\u53d7\uff0c\u90a3\u4e48\u5c06\u88ab\u6240\u6709\u7684\u670d\u52a1\u5668\u63a5\u53d7\u3002")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u987a\u5e8f\u6027"),"\uff1a\u5305\u62ec\u5168\u5c40\u6709\u5e8f\u548c\u504f\u5e8f\u4e24\u79cd\uff1a\u5168\u5c40\u6709\u5e8f\u662f\u6307\u5982\u679c\u5728\u4e00\u53f0\u670d\u52a1\u5668\u4e0a \u6d88\u606f a \u5728\u6d88\u606f b \u524d\u53d1\u5e03\uff0c\u5219\u5728\u6240\u6709 Server \u4e0a\u6d88\u606f a \u90fd\u5c06\u5728\u6d88\u606f b \u524d\u88ab \u53d1\u5e03\uff1b\u504f\u5e8f\u662f\u6307\u5982\u679c\u4e00\u4e2a\u6d88\u606f b \u5728\u6d88\u606f a \u540e\u88ab\u540c\u4e00\u4e2a\u53d1\u9001\u8005\u53d1\u5e03\uff0ca \u5fc5\u5c06\u6392\u5728 b \u524d\u9762\u3002")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u6570\u636e\u66f4\u65b0\u539f\u5b50\u6027"),"\uff1a\u4e00\u6b21\u6570\u636e\u66f4\u65b0\u8981\u4e48\u6210\u529f\uff08\u534a\u6570\u4ee5\u4e0a\u8282\u70b9\u6210\u529f\uff09\uff0c\u8981\u4e48\u5931 \u8d25\uff0c\u4e0d\u5b58\u5728\u4e2d\u95f4\u72b6\u6001\uff1b")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u5b9e\u65f6\u6027"),"\uff1aZookeeper \u4fdd\u8bc1\u5ba2\u6237\u7aef\u5c06\u5728\u4e00\u4e2a\u65f6\u95f4\u95f4\u9694\u8303\u56f4\u5185\u83b7\u5f97\u670d\u52a1\u5668\u7684\u66f4\u65b0\u4fe1\u606f\uff0c\u6216\u8005\u670d\u52a1\u5668\u5931\u6548\u7684\u4fe1\u606f\u3002"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7445],{15680:(e,r,t)=>{t.d(r,{xA:()=>y,yg:()=>m});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var l=n.createContext({}),c=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},y=function(e){var r=c(e.components);return n.createElement(l.Provider,{value:r},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},u=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),d=c(t),u=o,m=d["".concat(l,".").concat(u)]||d[u]||s[u]||a;return t?n.createElement(m,p(p({ref:r},y),{},{components:t})):n.createElement(m,p({ref:r},y))}));function m(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,p=new Array(a);p[0]=u;var i={};for(var l in r)hasOwnProperty.call(r,l)&&(i[l]=r[l]);i.originalType=e,i[d]="string"==typeof e?e:o,p[1]=i;for(var c=2;c{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>p,default:()=>s,frontMatter:()=>a,metadata:()=>i,toc:()=>c});var n=t(58168),o=(t(96540),t(15680));const a={sidebar_position:2},p=void 0,i={unversionedId:"study/back/Zookeeper",id:"study/back/Zookeeper",title:"Zookeeper",description:"Zookeeper\u6982\u8ff0",source:"@site/docs/study/back/Zookeeper.md",sourceDirName:"study/back",slug:"/study/back/Zookeeper",permalink:"/docs/study/back/Zookeeper",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/back/"},next:{title:"\u9ad8\u5e76\u53d1API",permalink:"/docs/study/back/\u9ad8\u5e76\u53d1API"}},l={},c=[{value:"Zookeeper\u6982\u8ff0",id:"zookeeper\u6982\u8ff0",level:3},{value:"Zookeeper \u7279\u6027",id:"zookeeper-\u7279\u6027",level:3}],y={toc:c},d="wrapper";function s(e){let{components:r,...t}=e;return(0,o.yg)(d,(0,n.A)({},y,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"zookeeper\u6982\u8ff0"},"Zookeeper\u6982\u8ff0"),(0,o.yg)("p",null,"Zookeeper \u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u534f\u8c03\u670d\u52a1\u7684\u5f00\u6e90\u6846\u67b6\u3002\u4e3b\u8981\u7528\u6765\u89e3\u51b3\u5206\u5e03\u5f0f\u96c6\u7fa4\u4e2d\u5e94\u7528\u7cfb\u7edf\u7684\u4e00\u81f4\u6027\u95ee\u9898\uff0c\u4f8b\u5982\u600e\u6837\u907f\u514d\u540c\u65f6\u64cd\u4f5c\u540c\u4e00\u6570\u636e\u9020\u6210\u810f\u8bfb\u7684\u95ee\u9898\u3002"),(0,o.yg)("p",null,"ZooKeeper \u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u5c0f\u6587\u4ef6\u5b58\u50a8\u7cfb\u7edf\u3002\u63d0\u4f9b\u57fa\u4e8e\u7c7b\u4f3c\u4e8e\u6587\u4ef6\u7cfb \u7edf\u7684\u76ee\u5f55\u6811\u65b9\u5f0f\u7684\u6570\u636e\u5b58\u50a8\uff0c\u5e76\u4e14\u53ef\u4ee5\u5bf9\u6811\u4e2d\u7684\u8282\u70b9\u8fdb\u884c\u6709\u6548\u7ba1\u7406\u3002\u4ece\u800c\u7528\u6765\u7ef4\u62a4\u548c\u76d1\u63a7\u4f60\u5b58\u50a8\u7684\u6570\u636e\u7684\u72b6\u6001\u53d8\u5316\u3002\u901a\u8fc7\u76d1\u63a7\u8fd9\u4e9b\u6570\u636e\u72b6\u6001\u7684\u53d8\u5316\uff0c\u4ece\u800c\u53ef\u4ee5\u8fbe \u5230\u57fa\u4e8e\u6570\u636e\u7684\u96c6\u7fa4\u7ba1\u7406\u3002\u8bf8\u5982\uff1a",(0,o.yg)("inlineCode",{parentName:"p"},"\u7edf\u4e00\u547d\u540d\u670d\u52a1"),"\u3001",(0,o.yg)("inlineCode",{parentName:"p"},"\u5206\u5e03\u5f0f\u914d\u7f6e\u7ba1\u7406"),"\u3001",(0,o.yg)("inlineCode",{parentName:"p"},"\u5206\u5e03\u5f0f\u6d88\u606f\u961f\u5217"),"\u3001",(0,o.yg)("inlineCode",{parentName:"p"},"\u5206\u5e03\u5f0f\u9501"),"\u3001",(0,o.yg)("inlineCode",{parentName:"p"},"\u5206\u5e03\u5f0f\u534f\u8c03"),"\u7b49\u529f\u80fd\u3002"),(0,o.yg)("p",null,"\u4e0a\u9762\u7684\u89e3\u91ca\u6709\u70b9\u62bd\u8c61\uff0c\u7b80\u5355\u6765\u8bf4zookeeper=\u6587\u4ef6\u7cfb\u7edf+\u76d1\u542c\u901a\u77e5\u673a\u5236\u3002"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u6587\u4ef6\u7cfb\u7edf\uff0cZookeeper\u7ef4\u62a4\u4e00\u4e2a\u7c7b\u4f3c\u6587\u4ef6\u7cfb\u7edf\u7684\u6570\u636e\u7ed3\u6784\uff0c\u6bcf\u4e2a\u5b50\u76ee\u5f55\u9879\u5982 NameService \u90fd\u88ab\u79f0\u4f5c\u4e3a znode(\u76ee\u5f55\u8282\u70b9)\uff0c\u548c\u6587\u4ef6\u7cfb\u7edf\u4e00\u6837\uff0c\u6211\u4eec\u80fd\u591f\u81ea\u7531\u7684\u589e\u52a0\u3001\u5220\u9664znode\uff0c\u5728\u4e00\u4e2aznode\u4e0b\u589e\u52a0\u3001\u5220\u9664\u5b50znode\uff0c\u552f\u4e00\u7684\u4e0d\u540c\u5728\u4e8eznode\u662f\u53ef\u4ee5\u5b58\u50a8\u6570\u636e\u7684\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u76d1\u542c\u901a\u77e5\u673a\u5236\uff0c\u5ba2\u6237\u7aef\u6ce8\u518c\u76d1\u542c\u5b83\u5173\u5fc3\u7684\u76ee\u5f55\u8282\u70b9\uff0c\u5f53\u76ee\u5f55\u8282\u70b9\u53d1\u751f\u53d8\u5316\uff08\u6570\u636e\u6539\u53d8\u3001\u88ab\u5220\u9664\u3001\u5b50\u76ee\u5f55\u8282\u70b9\u589e\u52a0\u5220\u9664\uff09\u65f6\uff0czookeeper\u4f1a\u901a\u77e5\u5ba2\u6237\u7aef\u3002")),(0,o.yg)("h3",{id:"zookeeper-\u7279\u6027"},"Zookeeper \u7279\u6027"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u5168\u5c40\u6570\u636e\u4e00\u81f4"),"\uff1a\u6bcf\u4e2a server \u4fdd\u5b58\u4e00\u4efd\u76f8\u540c\u7684\u6570\u636e\u526f\u672c\uff0cclient \u65e0\u8bba\u8fde \u63a5\u5230\u54ea\u4e2a server\uff0c\u5c55\u793a\u7684\u6570\u636e\u90fd\u662f\u4e00\u81f4\u7684\uff0c\u8fd9\u662f\u6700\u91cd\u8981\u7684\u7279\u5f81\uff1b")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u53ef\u9760\u6027"),"\uff1a\u5982\u679c\u6d88\u606f\u88ab\u5176\u4e2d\u4e00\u53f0\u670d\u52a1\u5668\u63a5\u53d7\uff0c\u90a3\u4e48\u5c06\u88ab\u6240\u6709\u7684\u670d\u52a1\u5668\u63a5\u53d7\u3002")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u987a\u5e8f\u6027"),"\uff1a\u5305\u62ec\u5168\u5c40\u6709\u5e8f\u548c\u504f\u5e8f\u4e24\u79cd\uff1a\u5168\u5c40\u6709\u5e8f\u662f\u6307\u5982\u679c\u5728\u4e00\u53f0\u670d\u52a1\u5668\u4e0a \u6d88\u606f a \u5728\u6d88\u606f b \u524d\u53d1\u5e03\uff0c\u5219\u5728\u6240\u6709 Server \u4e0a\u6d88\u606f a \u90fd\u5c06\u5728\u6d88\u606f b \u524d\u88ab \u53d1\u5e03\uff1b\u504f\u5e8f\u662f\u6307\u5982\u679c\u4e00\u4e2a\u6d88\u606f b \u5728\u6d88\u606f a \u540e\u88ab\u540c\u4e00\u4e2a\u53d1\u9001\u8005\u53d1\u5e03\uff0ca \u5fc5\u5c06\u6392\u5728 b \u524d\u9762\u3002")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u6570\u636e\u66f4\u65b0\u539f\u5b50\u6027"),"\uff1a\u4e00\u6b21\u6570\u636e\u66f4\u65b0\u8981\u4e48\u6210\u529f\uff08\u534a\u6570\u4ee5\u4e0a\u8282\u70b9\u6210\u529f\uff09\uff0c\u8981\u4e48\u5931 \u8d25\uff0c\u4e0d\u5b58\u5728\u4e2d\u95f4\u72b6\u6001\uff1b")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("p",{parentName:"li"},(0,o.yg)("inlineCode",{parentName:"p"},"\u5b9e\u65f6\u6027"),"\uff1aZookeeper \u4fdd\u8bc1\u5ba2\u6237\u7aef\u5c06\u5728\u4e00\u4e2a\u65f6\u95f4\u95f4\u9694\u8303\u56f4\u5185\u83b7\u5f97\u670d\u52a1\u5668\u7684\u66f4\u65b0\u4fe1\u606f\uff0c\u6216\u8005\u670d\u52a1\u5668\u5931\u6548\u7684\u4fe1\u606f\u3002"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/399850d1.c59d6d24.js b/assets/js/399850d1.14904d9a.js similarity index 99% rename from assets/js/399850d1.c59d6d24.js rename to assets/js/399850d1.14904d9a.js index af7de60f0..5a07e3ce0 100644 --- a/assets/js/399850d1.c59d6d24.js +++ b/assets/js/399850d1.14904d9a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2042],{15680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>m});var a=t(96540);function l(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function g(e){for(var n=1;n=0||(l[t]=e[t]);return l}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}var o=a.createContext({}),d=function(e){var n=a.useContext(o),t=n;return e&&(t="function"==typeof e?e(n):g(g({},n),e)),t},s=function(e){var n=d(e.components);return a.createElement(o.Provider,{value:n},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},y=a.forwardRef((function(e,n){var t=e.components,l=e.mdxType,r=e.originalType,o=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),p=d(t),y=l,m=p["".concat(o,".").concat(y)]||p[y]||u[y]||r;return t?a.createElement(m,g(g({ref:n},s),{},{components:t})):a.createElement(m,g({ref:n},s))}));function m(e,n){var t=arguments,l=n&&n.mdxType;if("string"==typeof e||l){var r=t.length,g=new Array(r);g[0]=y;var i={};for(var o in n)hasOwnProperty.call(n,o)&&(i[o]=n[o]);i.originalType=e,i[p]="string"==typeof e?e:l,g[1]=i;for(var d=2;d{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>g,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>d});var a=t(58168),l=(t(96540),t(15680));const r={sidebar_position:2},g=void 0,i={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine",title:"TDengine",description:"\u5b98\u7f51",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"InfluxDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB"},next:{title:"Apache IoTDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB"}},o={},d=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u8bc4\u4ef7",id:"\u8bc4\u4ef7",level:3},{value:"\u90e8\u7f72",id:"\u90e8\u7f72",level:3},{value:"\u73af\u5883\u51c6\u5907",id:"\u73af\u5883\u51c6\u5907",level:4},{value:"\u6784\u5efa&\u5b89\u88c5\u3010\u6e90\u7801\u3011",id:"\u6784\u5efa\u5b89\u88c5\u6e90\u7801",level:4},{value:"\u6784\u4ef6\u5b89\u88c5\u3010\u5b89\u88c5\u5305\u3011",id:"\u6784\u4ef6\u5b89\u88c5\u5b89\u88c5\u5305",level:4},{value:"\u4f53\u9a8c SQL",id:"\u4f53\u9a8c-sql",level:4},{value:"\u96c6\u7fa4\u90e8\u7f72",id:"\u96c6\u7fa4\u90e8\u7f72",level:4},{value:"\u57fa\u672c\u6982\u5ff5",id:"\u57fa\u672c\u6982\u5ff5",level:3},{value:"\u91c7\u96c6\u91cf (Metric)",id:"\u91c7\u96c6\u91cf-metric",level:4},{value:"\u6807\u7b7e (Label/Tag)",id:"\u6807\u7b7e-labeltag",level:4},{value:"\u6570\u636e\u91c7\u96c6\u70b9 (Data Collection Point)",id:"\u6570\u636e\u91c7\u96c6\u70b9-data-collection-point",level:4},{value:"\u8868 (Table)",id:"\u8868-table",level:4},{value:"\u8d85\u7ea7\u8868 (STable)",id:"\u8d85\u7ea7\u8868-stable",level:4},{value:"\u5b50\u8868 (Subtable)",id:"\u5b50\u8868-subtable",level:4},{value:"\u5e93 (database)",id:"\u5e93-database",level:4},{value:"\u51c6\u5907\u6570\u636e",id:"\u51c6\u5907\u6570\u636e",level:3},{value:"\u538b\u6d4b",id:"\u538b\u6d4b",level:3},{value:"\u5751\u70b9\u6c47\u603b",id:"\u5751\u70b9\u6c47\u603b",level:3},{value:"\u9644\u5f55",id:"\u9644\u5f55",level:3},{value:"\u5f00\u6e90\u534f\u8bae\u8bf4\u660e",id:"\u5f00\u6e90\u534f\u8bae\u8bf4\u660e",level:4}],s={toc:d},p="wrapper";function u(e){let{components:n,...r}=e;return(0,l.yg)(p,(0,a.A)({},s,r,{components:n,mdxType:"MDXLayout"}),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://www.taosdata.com/"},"\u5b98\u7f51"),"\n",(0,l.yg)("a",{parentName:"p",href:"https://github.com/taosdata/TDengine"},"GitHub \u94fe\u63a5\u5730\u5740")),(0,l.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,l.yg)("p",null,"\u5f00\u6e90\u534f\u8bae\uff1aAGPL V3\n\u5f00\u53d1\u8bed\u8a00\uff1aC\n\u5546\u4e1a\u516c\u53f8\uff1a\u5317\u4eac\u6d9b\u601d\u6570\u636e\u79d1\u6280\u6709\u9650\u516c\u53f8(TAOS Data) \uff1b\u6d9b\u601d\u6570\u636e\u91c7\u7528 AGPL \u8bb8\u53ef\u8bc1\uff0c\u5df2\u7ecf\u5c06 TDengine \u7684\u5185\u6838(\u5b58\u50a8\u3001\u8ba1\u7b97\u5f15\u64ce\u548c\u96c6\u7fa4\uff09100%\u5f00\u6e90\u3002\u6d9b\u601d\u6570\u636e\u5c06\u5c3d\u6700\u5927\u52aa\u529b\u6253\u9020\u5f00\u53d1\u8005\u793e\u533a\uff0c\u7ef4\u62a4\u8fd9\u4e2a\u5f00\u6e90\u7684\u5546\u4e1a\u6a21\u5f0f\uff0c\u76f8\u4fe1\u4e0d\u5c06\u6700\u6838\u5fc3\u7684\u4ee3\u7801\u5f00\u6e90\uff0c\u4efb\u4f55\u57fa\u7840\u8f6f\u4ef6\u90fd\u5c06\u65e0\u6cd5\u8d62\u5f97\u5e02\u573a\u3002\u6d9b\u601d\u6570\u636e\u5e0c\u671b\u901a\u8fc7\u5f00\u6e90\uff0c\u5feb\u901f\u83b7\u5f97\u5e02\u573a\u53cd\u9988\uff0c\u5b8c\u5584\u4ea7\u54c1\uff0c\u5b8c\u5584\u751f\u6001\uff0c\u800c\u4e14\u5438\u5f15\u66f4\u591a\u7684\u5f00\u53d1\u8005\u52a0\u5165\u5230\u8fd9\u4e2a\u9879\u76ee\u4e2d\u3002\n\u652f\u6301\u96c6\u7fa4\uff1a\u5f00\u6e90\u7248\u672c\u652f\u6301\u96c6\u7fa4"),(0,l.yg)("h3",{id:"\u8bc4\u4ef7"},"\u8bc4\u4ef7"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u56fd\u5185\u516c\u53f8\u4f17\u591a\u9879\u76ee\u4f7f\u7528\uff0c\u4f7f\u7528\u91cf\u8fd8\u662f\u5f88\u9ad8\u7684\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u65e2\u652f\u6301\u96c6\u7fa4\uff0c\u5927\u6570\u636e\u91cf\u7684\u62d3\u5c55\u662f\u6ca1\u95ee\u9898\u7684\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u6587\u6863\u76f8\u5bf9\u6765\u8bf4\u662f\u975e\u5e38\u53cb\u597d\u7684\uff0c\u65b9\u65b9\u9762\u9762\u4ff1\u5230\uff1b")),(0,l.yg)("h3",{id:"\u90e8\u7f72"},"\u90e8\u7f72"),(0,l.yg)("h4",{id:"\u73af\u5883\u51c6\u5907"},"\u73af\u5883\u51c6\u5907"),(0,l.yg)("p",null,"\u6587\u6863\u662f\u4e2d\u6587\u7684\uff0c\u8fd8\u662f\u4e0d\u9519\u7684\u3002",(0,l.yg)("a",{parentName:"p",href:"https://github.com/taosdata/TDengine/blob/develop/README-CN.md"},"\u5b89\u88c5\u6587\u6863")),(0,l.yg)("p",null,"\u95ee\u8fd0\u7ef4\u7ae5\u978b\u8981\u4e86\u9884\u7814\u4f7f\u7528\u7684\u670d\u52a1\u5668\uff0c\u5982\u4e0b\uff1a"),(0,l.yg)("table",null,(0,l.yg)("thead",{parentName:"table"},(0,l.yg)("tr",{parentName:"thead"},(0,l.yg)("th",{parentName:"tr",align:null},"hostname"),(0,l.yg)("th",{parentName:"tr",align:null},"ip"))),(0,l.yg)("tbody",{parentName:"table"},(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node57"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.57")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node54"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.54")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node53"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.53")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node55"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.55")))),(0,l.yg)("p",null,"\u770b\u4e86\u4e00\u4e0b\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u4e3a Centos 7\uff0c\u5927\u5bb6\u6839\u636e\u81ea\u5df1\u670d\u52a1\u5668\u7684\u64cd\u4f5c\u7cfb\u7edf\u5b89\u88c5\u4e0d\u540c\u547d\u4ee4\uff0c\u4ee5\u4e0b\u90fd\u662f\u57fa\u4e8e Centos7 \u7684"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"[root@centos ~]# cat /etc/redhat-release\nCentOS Linux release 7.9.2009 (Core)\n")),(0,l.yg)("p",null,"\u6839\u636e\u6587\u6863\u4f9d\u6b21\u6267\u884c\uff1a"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"sudo yum install -y gcc gcc-c++ make cmake git\n\nsudo yum install -y java-1.8.0-openjdk\n\n#maven\u4e0d\u8981\u8fd9\u4e48\u5b89\u88c5\uff0c\u6709\u53ef\u80fd\u7248\u672c\u6bd4\u8f83\u4f4e \u53ea\u80fd\u8bf4\u6709\u53ef\u80fd\nsudo yum install -y maven\n\nsudo yum install zlib-devel xz-devel snappy-devel jansson jansson-devel pkgconfig libatomic libstdc++-static\n\ngit clone https://github.com/taosdata/TDengine.git\ncd TDengine\n\n#Go \u8fde\u63a5\u5668\u548c Grafana \u63d2\u4ef6\u5728\u5176\u4ed6\u72ec\u7acb\u4ed3\u5e93\uff0c\u5982\u679c\u5b89\u88c5\u5b83\u4eec\u7684\u8bdd\uff0c\u9700\u8981\u5728 TDengine \u76ee\u5f55\u4e0b\u901a\u8fc7\u6b64\u547d\u4ee4\u5b89\u88c5\uff1a\ngit submodule update --init --recursive\n")),(0,l.yg)("p",null,"\u6267\u884c\u6700\u540e\u7684\u547d\u4ee4\u7684\u65f6\u5019\uff0c\u4f1a\u62a5\u9519\uff0c\u9700\u8981\u914d\u7f6e git\uff0c\u3010YiRanCN\u3011\u548c\u3010",(0,l.yg)("a",{parentName:"p",href:"mailto:jiot.cloud059@163.com"},"jiot.cloud059@163.com"),"\u3011\u90fd\u662f\u6211\u7684 git \u8d26\u53f7\uff0c\u9700\u8981\u6839\u636e\u81ea\u5df1\u7684\u8d26\u53f7\u81ea\u884c\u914d\u7f6e"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},'git config --global http.sslVerify false\ngit config --global user.name "YiRanCN"\ngit config --global user.email "xxx@163.com"\n\nssh-keygen -t rsa -C "YiRanCN"\n\n#\u83b7\u53d6 \u4e4b\u540e \u4e0d\u8981\u540e\u9762\u7684\u8d26\u53f7 \u590d\u5236\u4e0b\u6765\ncat /root/.ssh/id_rsa.pub\n')),(0,l.yg)("p",null,"\u6839\u636e\u3010cat /root/.ssh/id_rsa.pub\u3011\u8fd9\u4e2a\u5f97\u7ed3\u679c\uff0c\u653e\u5230 github \u8d26\u53f7\u7684\u3010SSH and GPG keys\u3011\u529f\u80fd\u4e0b\u9762\n",(0,l.yg)("img",{parentName:"p",src:"https://cdn.nlark.com/yuque/0/2022/png/276833/1654587900708-8145fd94-a69e-492a-bf83-41ddd0a2e789.png#averageHue=%23fefefe&clientId=u7121fde3-9777-4&from=paste&height=1174&id=ua6a234e7&name=image.png&originHeight=1174&originWidth=2428&originalType=binary&ratio=1&rotation=0&showTitle=false&size=317728&status=done&style=none&taskId=u1b8b6bce-4d72-4ca1-b2c2-48963f55d0b&title=&width=2428",alt:"image.png"})),(0,l.yg)("h4",{id:"\u6784\u5efa\u5b89\u88c5\u6e90\u7801"},"\u6784\u5efa&\u5b89\u88c5\u3010\u6e90\u7801\u3011"),(0,l.yg)("p",null,"\u6784\u5efa\u5f88\u7b80\u5355\uff0c\u81ea\u5e26\u6784\u5efa\u811a\u672c"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"./build.sh\n")),(0,l.yg)("h4",{id:"\u6784\u4ef6\u5b89\u88c5\u5b89\u88c5\u5305"},"\u6784\u4ef6\u5b89\u88c5\u3010\u5b89\u88c5\u5305\u3011"),(0,l.yg)("p",null,"\u4e0b\u8f7d\u5730\u5740\uff1a\u3010",(0,l.yg)("a",{parentName:"p",href:"https://docs.tdengine.com/get-started/#!"},"https://docs.tdengine.com/get-started/#!"),"\u3011\n\u6267\u884c\u3010rpm -i TDengine-server-2.6.0.1-Linux-x64.rpm\u3011\uff0c\u5982\u679c\u53ea\u662f\u5b89\u88c5\u975e\u96c6\u7fa4\u7248\u672c\u76f4\u63a5\u56de\u8f66\u5373\u53ef\u3002\n\u3010sudo systemctl start taosd\u3011\u542f\u52a8\uff1b\n\u6267\u884c\u3010sudo systemctl status taosd\u3011\u68c0\u67e5\u8fd0\u884c\u72b6\u6001"),(0,l.yg)("p",null,"\u5982\u679c\u9700\u8981\u5378\u8f7d\uff1a\n\u3010sudo rpm -qa|grep tdengine\u3011\n\u3010sudo rpm -e tdengine\u3011\n\u3010sudo rm -rf /var/lib/taos/","*","\u3011\u614e\u7528"),(0,l.yg)("h4",{id:"\u4f53\u9a8c-sql"},"\u4f53\u9a8c SQL"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"CREATE DATABASE demo;\nUSE demo;\nCREATE TABLE t (ts TIMESTAMP, speed INT);\nINSERT INTO t VALUES('2019-07-15 00:00:00', 10);\nINSERT INTO t VALUES('2019-07-15 01:00:00', 20);\nSELECT * FROM t;\n")),(0,l.yg)("p",null,"\u4e3a\u964d\u4f4e\u5b66\u4e60\u95e8\u69db\uff0cTDengine \u91c7\u7528\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u6a21\u578b\u7ba1\u7406\u6570\u636e\uff0c\u548c MySQL \u6ca1\u5565\u592a\u5927\u533a\u522b\u3002"),(0,l.yg)("h4",{id:"\u96c6\u7fa4\u90e8\u7f72"},"\u96c6\u7fa4\u90e8\u7f72"),(0,l.yg)("p",null,"\u56e0\u4e3a\u6211\u7684\u76ee\u6807\u662f\u96c6\u7fa4\uff0c\u6240\u4ee5\uff0c\u4e0a\u9762\u7684\u90fd\u662f\u5f00\u80c3\u5c0f\u83dc\u3002"),(0,l.yg)("table",null,(0,l.yg)("thead",{parentName:"table"},(0,l.yg)("tr",{parentName:"thead"},(0,l.yg)("th",{parentName:"tr",align:null},"hostname"),(0,l.yg)("th",{parentName:"tr",align:null},"ip"))),(0,l.yg)("tbody",{parentName:"table"},(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node57"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.57")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node54"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.54")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node53"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.53")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node55"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.55")))),(0,l.yg)("p",null,"\u4f7f\u7528\n\u3010hostnamectl set-hostname node57\u3011\n\u3010hostnamectl set-hostname node54\u3011\n\u3010hostnamectl set-hostname node53\u3011\n\u3010hostnamectl set-hostname node55\u3011\n\u547d\u4ee4\u4fee\u6539 hostname.\n\u5c06\u5982\u4e0b\u914d\u7f6e\u653e\u5230\u3010vim /etc/hosts\u3011\u6587\u4ef6\u5185"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"192.168.0.57 node57\n192.168.0.54 node54\n192.168.0.53 node53\n192.168.0.55 node55\n")),(0,l.yg)("p",null,"\u6240\u6709\u7684\u8282\u70b9\u5b89\u88c5\u4e00\u904d\u3002\n\u96c6\u7fa4\u642d\u5efa\u5b8c\u6210\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a\n",(0,l.yg)("img",{alt:"image.png",src:t(89792).A,width:"1087",height:"153"})),(0,l.yg)("h3",{id:"\u57fa\u672c\u6982\u5ff5"},"\u57fa\u672c\u6982\u5ff5"),(0,l.yg)("h4",{id:"\u91c7\u96c6\u91cf-metric"},"\u91c7\u96c6\u91cf (Metric)"),(0,l.yg)("p",null,"\u91c7\u96c6\u91cf\u662f\u6307\u4f20\u611f\u5668\u3001\u8bbe\u5907\u6216\u5176\u4ed6\u7c7b\u578b\u91c7\u96c6\u70b9\u91c7\u96c6\u7684\u7269\u7406\u91cf\uff0c\u6bd4\u5982\u7535\u6d41\u3001\u7535\u538b\u3001\u6e29\u5ea6\u3001\u538b\u529b\u3001GPS \u4f4d\u7f6e\u7b49\uff0c\u662f\u968f\u65f6\u95f4\u53d8\u5316\u7684\uff0c\u6570\u636e\u7c7b\u578b\u53ef\u4ee5\u662f\u6574\u578b\u3001\u6d6e\u70b9\u578b\u3001\u5e03\u5c14\u578b\uff0c\u4e5f\u53ef\u662f\u5b57\u7b26\u4e32\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5b58\u50a8\u7684\u91c7\u96c6\u91cf\u7684\u6570\u636e\u91cf\u8d8a\u6765\u8d8a\u5927\u3002"),(0,l.yg)("h4",{id:"\u6807\u7b7e-labeltag"},"\u6807\u7b7e (Label/Tag)"),(0,l.yg)("p",null,"\u6807\u7b7e\u662f\u6307\u4f20\u611f\u5668\u3001\u8bbe\u5907\u6216\u5176\u4ed6\u7c7b\u578b\u91c7\u96c6\u70b9\u7684\u9759\u6001\u5c5e\u6027\uff0c\u4e0d\u662f\u968f\u65f6\u95f4\u53d8\u5316\u7684\uff0c\u6bd4\u5982\u8bbe\u5907\u578b\u53f7\u3001\u989c\u8272\u3001\u8bbe\u5907\u7684\u6240\u5728\u5730\u7b49\uff0c\u6570\u636e\u7c7b\u578b\u53ef\u4ee5\u662f\u4efb\u4f55\u7c7b\u578b\u3002\u867d\u7136\u662f\u9759\u6001\u7684\uff0c\u4f46 TDengine \u5bb9\u8bb8\u7528\u6237\u4fee\u6539\u3001\u5220\u9664\u6216\u589e\u52a0\u6807\u7b7e\u503c\u3002\u4e0e\u91c7\u96c6\u91cf\u4e0d\u4e00\u6837\u7684\u662f\uff0c\u968f\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5b58\u50a8\u7684\u6807\u7b7e\u7684\u6570\u636e\u91cf\u4e0d\u4f1a\u6709\u4ec0\u4e48\u53d8\u5316\u3002"),(0,l.yg)("h4",{id:"\u6570\u636e\u91c7\u96c6\u70b9-data-collection-point"},"\u6570\u636e\u91c7\u96c6\u70b9 (Data Collection Point)"),(0,l.yg)("p",null,"\u6570\u636e\u91c7\u96c6\u70b9\u662f\u6307\u6309\u7167\u9884\u8bbe\u65f6\u95f4\u5468\u671f\u6216\u53d7\u4e8b\u4ef6\u89e6\u53d1\u91c7\u96c6\u7269\u7406\u91cf\u7684\u786c\u4ef6\u6216\u8f6f\u4ef6\u3002\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u53ef\u4ee5\u91c7\u96c6\u4e00\u4e2a\u6216\u591a\u4e2a\u91c7\u96c6\u91cf\uff0c",(0,l.yg)("strong",{parentName:"p"},"\u4f46\u8fd9\u4e9b\u91c7\u96c6\u91cf\u90fd\u662f\u540c\u4e00\u65f6\u523b\u91c7\u96c6\u7684\uff0c\u5177\u6709\u76f8\u540c\u7684\u65f6\u95f4\u6233"),"\u3002\u5bf9\u4e8e\u590d\u6742\u7684\u8bbe\u5907\uff0c\u5f80\u5f80\u6709\u591a\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u6bcf\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u91c7\u96c6\u7684\u5468\u671f\u90fd\u53ef\u80fd\u4e0d\u4e00\u6837\uff0c\u800c\u4e14\u5b8c\u5168\u72ec\u7acb\uff0c\u4e0d\u540c\u6b65\u3002\u6bd4\u5982\u5bf9\u4e8e\u4e00\u53f0\u6c7d\u8f66\uff0c\u6709\u6570\u636e\u91c7\u96c6\u70b9\u4e13\u95e8\u91c7\u96c6 GPS \u4f4d\u7f6e\uff0c\u6709\u6570\u636e\u91c7\u96c6\u70b9\u4e13\u95e8\u91c7\u96c6\u53d1\u52a8\u673a\u72b6\u6001\uff0c\u6709\u6570\u636e\u91c7\u96c6\u70b9\u4e13\u95e8\u91c7\u96c6\u8f66\u5185\u7684\u73af\u5883\uff0c\u8fd9\u6837\u4e00\u53f0\u6c7d\u8f66\u5c31\u6709\u4e09\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u3002"),(0,l.yg)("h4",{id:"\u8868-table"},"\u8868 (Table)"),(0,l.yg)("p",null,"\u56e0\u4e3a\u91c7\u96c6\u91cf\u4e00\u822c\u662f\u7ed3\u6784\u5316\u6570\u636e\uff0c\u540c\u65f6\u4e3a\u964d\u4f4e\u5b66\u4e60\u95e8\u69db\uff0cTDengine \u91c7\u7528\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u6a21\u578b\u7ba1\u7406\u6570\u636e\u3002\u7528\u6237\u9700\u8981\u5148\u521b\u5efa\u5e93\uff0c\u7136\u540e\u521b\u5efa\u8868\uff0c\u4e4b\u540e\u624d\u80fd\u63d2\u5165\u6216\u67e5\u8be2\u6570\u636e\u3002\n\u4e3a\u5145\u5206\u5229\u7528\u5176\u6570\u636e\u7684\u65f6\u5e8f\u6027\u548c\u5176\u4ed6\u6570\u636e\u7279\u70b9\uff0cTDengine \u91c7\u53d6",(0,l.yg)("strong",{parentName:"p"},"\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u4e00\u5f20\u8868"),"\u7684\u7b56\u7565\uff0c\u8981\u6c42\u5bf9\u6bcf\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u5355\u72ec\u5efa\u8868\uff08\u6bd4\u5982\u6709\u4e00\u5343\u4e07\u4e2a\u667a\u80fd\u7535\u8868\uff0c\u5c31\u9700\u521b\u5efa\u4e00\u5343\u4e07\u5f20\u8868\uff0c\u4e0a\u8ff0\u8868\u683c\u4e2d\u7684 d1001\uff0cd1002\uff0cd1003\uff0cd1004 \u90fd\u9700\u5355\u72ec\u5efa\u8868\uff09\uff0c\u7528\u6765\u5b58\u50a8\u8fd9\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u6240\u91c7\u96c6\u7684\u65f6\u5e8f\u6570\u636e\u3002\u8fd9\u79cd\u8bbe\u8ba1\u6709\u51e0\u5927\u4f18\u70b9\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u7531\u4e8e\u4e0d\u540c\u6570\u636e\u91c7\u96c6\u70b9\u4ea7\u751f\u6570\u636e\u7684\u8fc7\u7a0b\u5b8c\u5168\u72ec\u7acb\uff0c\u6bcf\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u6e90\u662f\u552f\u4e00\u7684\uff0c\u4e00\u5f20\u8868\u4e5f\u5c31\u53ea\u6709\u4e00\u4e2a\u5199\u5165\u8005\uff0c\u8fd9\u6837\u5c31\u53ef\u91c7\u7528\u65e0\u9501\u65b9\u5f0f\u6765\u5199\uff0c\u5199\u5165\u901f\u5ea6\u5c31\u80fd\u5927\u5e45\u63d0\u5347\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u5bf9\u4e8e\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u800c\u8a00\uff0c\u5176\u4ea7\u751f\u7684\u6570\u636e\u662f\u6309\u7167\u65f6\u95f4\u6392\u5e8f\u7684\uff0c\u56e0\u6b64\u5199\u7684\u64cd\u4f5c\u53ef\u7528\u8ffd\u52a0\u7684\u65b9\u5f0f\u5b9e\u73b0\uff0c\u8fdb\u4e00\u6b65\u5927\u5e45\u63d0\u9ad8\u6570\u636e\u5199\u5165\u901f\u5ea6\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u662f\u4ee5\u5757\u4e3a\u5355\u4f4d\u8fde\u7eed\u5b58\u50a8\u7684\u3002\u5982\u679c\u8bfb\u53d6\u4e00\u4e2a\u65f6\u95f4\u6bb5\u7684\u6570\u636e\uff0c\u5b83\u80fd\u5927\u5e45\u51cf\u5c11\u968f\u673a\u8bfb\u53d6\u64cd\u4f5c\uff0c\u6210\u6570\u91cf\u7ea7\u7684\u63d0\u5347\u8bfb\u53d6\u548c\u67e5\u8be2\u901f\u5ea6\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u6570\u636e\u5757\u5185\u90e8\uff0c\u91c7\u7528\u5217\u5f0f\u5b58\u50a8\uff0c\u5bf9\u4e8e\u4e0d\u540c\u6570\u636e\u7c7b\u578b\uff0c\u91c7\u7528\u4e0d\u540c\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u4e14\u7531\u4e8e\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u91c7\u96c6\u91cf\u7684\u53d8\u5316\u662f\u7f13\u6162\u7684\uff0c\u538b\u7f29\u7387\u66f4\u9ad8\u3002")),(0,l.yg)("p",null,"\u5982\u679c\u91c7\u7528\u4f20\u7edf\u7684\u65b9\u5f0f\uff0c\u5c06\u591a\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u5199\u5165\u4e00\u5f20\u8868\uff0c\u7531\u4e8e\u7f51\u7edc\u5ef6\u65f6\u4e0d\u53ef\u63a7\uff0c\u4e0d\u540c\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u5230\u8fbe\u670d\u52a1\u5668\u7684\u65f6\u5e8f\u662f\u65e0\u6cd5\u4fdd\u8bc1\u7684\uff0c\u5199\u5165\u64cd\u4f5c\u662f\u8981\u6709\u9501\u4fdd\u62a4\u7684\uff0c\u800c\u4e14\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u662f\u96be\u4ee5\u4fdd\u8bc1\u8fde\u7eed\u5b58\u50a8\u5728\u4e00\u8d77\u7684\u3002",(0,l.yg)("strong",{parentName:"p"},"\u91c7\u7528\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u4e00\u5f20\u8868\u7684\u65b9\u5f0f\uff0c\u80fd\u6700\u5927\u7a0b\u5ea6\u7684\u4fdd\u8bc1\u5355\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u63d2\u5165\u548c\u67e5\u8be2\u7684\u6027\u80fd\u662f\u6700\u4f18\u7684\u3002"),"\nTDengine \u5efa\u8bae\u7528\u6570\u636e\u91c7\u96c6\u70b9\u7684\u540d\u5b57\uff08\u5982\u4e0a\u8868\u4e2d\u7684 D1001\uff09\u6765\u505a\u8868\u540d\u3002\u6bcf\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u53ef\u80fd\u540c\u65f6\u91c7\u96c6\u591a\u4e2a\u91c7\u96c6\u91cf\uff08\u5982\u4e0a\u8868\u4e2d\u7684 current\uff0cvoltage\uff0cphase\uff09\uff0c\u6bcf\u4e2a\u91c7\u96c6\u91cf\u5bf9\u5e94\u4e00\u5f20\u8868\u4e2d\u7684\u4e00\u5217\uff0c\u6570\u636e\u7c7b\u578b\u53ef\u4ee5\u662f\u6574\u578b\u3001\u6d6e\u70b9\u578b\u3001\u5b57\u7b26\u4e32\u7b49\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u8868\u7684\u7b2c\u4e00\u5217\u5fc5\u987b\u662f\u65f6\u95f4\u6233\uff0c\u5373\u6570\u636e\u7c7b\u578b\u4e3a timestamp\u3002\u5bf9\u91c7\u96c6\u91cf\uff0cTDengine \u5c06\u81ea\u52a8\u6309\u7167\u65f6\u95f4\u6233\u5efa\u7acb\u7d22\u5f15\uff0c\u4f46\u5bf9\u91c7\u96c6\u91cf\u672c\u8eab\u4e0d\u5efa\u4efb\u4f55\u7d22\u5f15\u3002\u6570\u636e\u7528\u5217\u5f0f\u5b58\u50a8\u65b9\u5f0f\u4fdd\u5b58\u3002\n\u5bf9\u4e8e\u590d\u6742\u7684\u8bbe\u5907\uff0c\u6bd4\u5982\u6c7d\u8f66\uff0c\u5b83\u6709\u591a\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u90a3\u4e48\u5c31\u9700\u8981\u4e3a\u4e00\u53f0\u6c7d\u8f66\u5efa\u7acb\u591a\u5f20\u8868\u3002"),(0,l.yg)("h4",{id:"\u8d85\u7ea7\u8868-stable"},"\u8d85\u7ea7\u8868 (STable)"),(0,l.yg)("p",null,"\u7531\u4e8e\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u4e00\u5f20\u8868\uff0c\u5bfc\u81f4\u8868\u7684\u6570\u91cf\u5de8\u589e\uff0c\u96be\u4ee5\u7ba1\u7406\uff0c\u800c\u4e14\u5e94\u7528\u7ecf\u5e38\u9700\u8981\u505a\u91c7\u96c6\u70b9\u4e4b\u95f4\u7684\u805a\u5408\u64cd\u4f5c\uff0c\u805a\u5408\u7684\u64cd\u4f5c\u4e5f\u53d8\u5f97\u590d\u6742\u8d77\u6765\u3002\u4e3a\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0cTDengine \u5f15\u5165\u8d85\u7ea7\u8868\uff08Super Table\uff0c\u7b80\u79f0\u4e3a STable\uff09\u7684\u6982\u5ff5\u3002\n\u8d85\u7ea7\u8868\u662f\u6307\u67d0\u4e00\u7279\u5b9a\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\u7684\u96c6\u5408\u3002\u540c\u4e00\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u5176\u8868\u7684\u7ed3\u6784\u662f\u5b8c\u5168\u4e00\u6837\u7684\uff0c\u4f46\u6bcf\u4e2a\u8868\uff08\u6570\u636e\u91c7\u96c6\u70b9\uff09\u7684\u9759\u6001\u5c5e\u6027\uff08\u6807\u7b7e\uff09\u662f\u4e0d\u4e00\u6837\u7684\u3002\u63cf\u8ff0\u4e00\u4e2a\u8d85\u7ea7\u8868\uff08\u67d0\u4e00\u7279\u5b9a\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\u7684\u96c6\u5408\uff09\uff0c\u9664\u9700\u8981\u5b9a\u4e49\u91c7\u96c6\u91cf\u7684\u8868\u7ed3\u6784\u4e4b\u5916\uff0c\u8fd8\u9700\u8981\u5b9a\u4e49\u5176\u6807\u7b7e\u7684 schema\uff0c\u6807\u7b7e\u7684\u6570\u636e\u7c7b\u578b\u53ef\u4ee5\u662f\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u5b57\u7b26\u4e32\uff0c\u6807\u7b7e\u53ef\u4ee5\u6709\u591a\u4e2a\uff0c\u53ef\u4ee5\u4e8b\u540e\u589e\u52a0\u3001\u5220\u9664\u6216\u4fee\u6539\u3002\u5982\u679c\u6574\u4e2a\u7cfb\u7edf\u6709 N \u4e2a\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u5c31\u9700\u8981\u5efa\u7acb N \u4e2a\u8d85\u7ea7\u8868\u3002\n\u5728 TDengine \u7684\u8bbe\u8ba1\u91cc\uff0c",(0,l.yg)("strong",{parentName:"p"},"\u8868\u7528\u6765\u4ee3\u8868\u4e00\u4e2a\u5177\u4f53\u7684\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u8d85\u7ea7\u8868\u7528\u6765\u4ee3\u8868\u4e00\u7ec4\u76f8\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\u96c6\u5408"),"\u3002"),(0,l.yg)("p",null,"\u8fd9\u91cc\u7684\u8d85\u7ea7\u8868\u3001\u5b50\u8868\u7684\u8bbe\u8ba1\u5f88\u6709\u610f\u601d\uff0c\u5b50\u8868\u5c31\u662f\u67d0\u4e2a\u8bbe\u5907\uff08\u865a\u62df\u7684\uff0c\u5176\u4ed6\u4e5f\u884c\uff09\uff0c\u8fd9\u4e2a\u662f\u6570\u636e\u653e\u5230\u4e00\u5757\u7684\u6700\u5c0f\u5355\u4f4d\uff0c\u8fd9\u91cc\u548c\u5176\u4ed6\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u5f88\u5927\u533a\u522b\uff0c\u53ef\u6709\u6709\u6548\u5904\u7406\u201c\u8bbe\u5907\u5220\u4e86\uff0c\u6570\u636e\u8fd8\u5b58\u5728\u7684\u95ee\u9898\u201d\u3002"),(0,l.yg)("h4",{id:"\u5b50\u8868-subtable"},"\u5b50\u8868 (Subtable)"),(0,l.yg)("p",null,"\u5f53\u4e3a\u67d0\u4e2a\u5177\u4f53\u6570\u636e\u91c7\u96c6\u70b9\u521b\u5efa\u8868\u65f6\uff0c\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\u8d85\u7ea7\u8868\u7684\u5b9a\u4e49\u505a\u6a21\u677f\uff0c\u540c\u65f6\u6307\u5b9a\u8be5\u5177\u4f53\u91c7\u96c6\u70b9\uff08\u8868\uff09\u7684\u5177\u4f53\u6807\u7b7e\u503c\u6765\u521b\u5efa\u8be5\u8868\u3002",(0,l.yg)("strong",{parentName:"p"},"\u901a\u8fc7\u8d85\u7ea7\u8868\u521b\u5efa\u7684\u8868\u79f0\u4e4b\u4e3a\u5b50\u8868"),"\u3002\u6b63\u5e38\u7684\u8868\u4e0e\u5b50\u8868\u7684\u5dee\u5f02\u5728\u4e8e\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5b50\u8868\u5c31\u662f\u8868\uff0c\u56e0\u6b64\u6240\u6709\u6b63\u5e38\u8868\u7684 SQL \u64cd\u4f5c\u90fd\u53ef\u4ee5\u5728\u5b50\u8868\u4e0a\u6267\u884c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u5b50\u8868\u5728\u6b63\u5e38\u8868\u7684\u57fa\u7840\u4e0a\u6709\u6269\u5c55\uff0c\u5b83\u662f\u5e26\u6709\u9759\u6001\u6807\u7b7e\u7684\uff0c\u800c\u4e14\u8fd9\u4e9b\u6807\u7b7e\u53ef\u4ee5\u4e8b\u540e\u589e\u52a0\u3001\u5220\u9664\u3001\u4fee\u6539\uff0c\u800c\u6b63\u5e38\u7684\u8868\u6ca1\u6709\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u5b50\u8868\u4e00\u5b9a\u5c5e\u4e8e\u4e00\u5f20\u8d85\u7ea7\u8868\uff0c\u4f46\u666e\u901a\u8868\u4e0d\u5c5e\u4e8e\u4efb\u4f55\u8d85\u7ea7\u8868"),(0,l.yg)("li",{parentName:"ol"},"\u666e\u901a\u8868\u65e0\u6cd5\u8f6c\u4e3a\u5b50\u8868\uff0c\u5b50\u8868\u4e5f\u65e0\u6cd5\u8f6c\u4e3a\u666e\u901a\u8868\u3002")),(0,l.yg)("p",null,"\u8d85\u7ea7\u8868\u4e0e\u4e0e\u57fa\u4e8e\u8d85\u7ea7\u8868\u5efa\u7acb\u7684\u5b50\u8868\u4e4b\u95f4\u7684\u5173\u7cfb\u8868\u73b0\u5728\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u4e00\u5f20\u8d85\u7ea7\u8868\u5305\u542b\u6709\u591a\u5f20\u5b50\u8868\uff0c\u8fd9\u4e9b\u5b50\u8868\u5177\u6709\u76f8\u540c\u7684\u91c7\u96c6\u91cf schema\uff0c\u4f46\u5e26\u6709\u4e0d\u540c\u7684\u6807\u7b7e\u503c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4e0d\u80fd\u901a\u8fc7\u5b50\u8868\u8c03\u6574\u6570\u636e\u6216\u6807\u7b7e\u7684\u6a21\u5f0f\uff0c\u5bf9\u4e8e\u8d85\u7ea7\u8868\u7684\u6570\u636e\u6a21\u5f0f\u4fee\u6539\u7acb\u5373\u5bf9\u6240\u6709\u7684\u5b50\u8868\u751f\u6548\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u8d85\u7ea7\u8868\u53ea\u5b9a\u4e49\u4e00\u4e2a\u6a21\u677f\uff0c\u81ea\u8eab\u4e0d\u5b58\u50a8\u4efb\u4f55\u6570\u636e\u6216\u6807\u7b7e\u4fe1\u606f\u3002\u56e0\u6b64\uff0c\u4e0d\u80fd\u5411\u4e00\u4e2a\u8d85\u7ea7\u8868\u5199\u5165\u6570\u636e\uff0c\u53ea\u80fd\u5c06\u6570\u636e\u5199\u5165\u5b50\u8868\u4e2d\u3002")),(0,l.yg)("p",null,"\u67e5\u8be2\u65e2\u53ef\u4ee5\u5728\u8868\u4e0a\u8fdb\u884c\uff0c\u4e5f\u53ef\u4ee5\u5728\u8d85\u7ea7\u8868\u4e0a\u8fdb\u884c\u3002\u9488\u5bf9\u8d85\u7ea7\u8868\u7684\u67e5\u8be2\uff0cTDengine \u5c06\u628a\u6240\u6709\u5b50\u8868\u4e2d\u7684\u6570\u636e\u89c6\u4e3a\u4e00\u4e2a\u6574\u4f53\u6570\u636e\u96c6\u8fdb\u884c\u5904\u7406\uff0c\u4f1a\u5148\u628a\u6ee1\u8db3\u6807\u7b7e\u8fc7\u6ee4\u6761\u4ef6\u7684\u8868\u4ece\u8d85\u7ea7\u8868\u4e2d\u627e\u51fa\u6765\uff0c\u7136\u540e\u518d\u626b\u63cf\u8fd9\u4e9b\u8868\u7684\u65f6\u5e8f\u6570\u636e\uff0c\u8fdb\u884c\u805a\u5408\u64cd\u4f5c\uff0c\u8fd9\u6837\u9700\u8981\u626b\u63cf\u7684\u6570\u636e\u96c6\u4f1a\u5927\u5e45\u51cf\u5c11\uff0c\u4ece\u800c\u663e\u8457\u63d0\u9ad8\u67e5\u8be2\u7684\u6027\u80fd\u3002\u672c\u8d28\u4e0a\uff0cTDengine \u901a\u8fc7\u5bf9\u8d85\u7ea7\u8868\u67e5\u8be2\u7684\u652f\u6301\uff0c\u5b9e\u73b0\u4e86\u591a\u4e2a\u540c\u7c7b\u6570\u636e\u91c7\u96c6\u70b9\u7684\u9ad8\u6548\u805a\u5408\u3002\nTDengine \u7cfb\u7edf\u5efa\u8bae\u7ed9\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u5efa\u8868\uff0c\u9700\u8981\u901a\u8fc7\u8d85\u7ea7\u8868\u5efa\u8868\uff0c\u800c\u4e0d\u662f\u5efa\u666e\u901a\u8868\u3002"),(0,l.yg)("h4",{id:"\u5e93-database"},"\u5e93 (database)"),(0,l.yg)("p",null,"\u5e93\u662f\u6307\u4e00\u7ec4\u8868\u7684\u96c6\u5408\u3002TDengine \u5bb9\u8bb8\u4e00\u4e2a\u8fd0\u884c\u5b9e\u4f8b\u6709\u591a\u4e2a\u5e93\uff0c\u800c\u4e14\u6bcf\u4e2a\u5e93\u53ef\u4ee5\u914d\u7f6e\u4e0d\u540c\u7684\u5b58\u50a8\u7b56\u7565\u3002\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\u5f80\u5f80\u5177\u6709\u4e0d\u540c\u7684\u6570\u636e\u7279\u5f81\uff0c\u5305\u62ec\u6570\u636e\u91c7\u96c6\u9891\u7387\u7684\u9ad8\u4f4e\uff0c\u6570\u636e\u4fdd\u7559\u65f6\u95f4\u7684\u957f\u77ed\uff0c\u526f\u672c\u7684\u6570\u76ee\uff0c\u6570\u636e\u5757\u7684\u5927\u5c0f\uff0c\u662f\u5426\u5141\u8bb8\u66f4\u65b0\u6570\u636e\u7b49\u7b49\u3002\u4e3a\u4e86\u5728\u5404\u79cd\u573a\u666f\u4e0b TDengine \u90fd\u80fd\u6700\u5927\u6548\u7387\u7684\u5de5\u4f5c\uff0cTDengine \u5efa\u8bae\u5c06\u4e0d\u540c\u6570\u636e\u7279\u5f81\u7684\u8d85\u7ea7\u8868\u521b\u5efa\u5728\u4e0d\u540c\u7684\u5e93\u91cc\u3002"),(0,l.yg)("p",null,"\u4e00\u4e2a\u5e93\u91cc\uff0c\u53ef\u4ee5\u6709\u4e00\u5230\u591a\u4e2a\u8d85\u7ea7\u8868\uff0c\u4f46\u4e00\u4e2a\u8d85\u7ea7\u8868\u53ea\u5c5e\u4e8e\u4e00\u4e2a\u5e93\u3002\u4e00\u4e2a\u8d85\u7ea7\u8868\u6240\u62e5\u6709\u7684\u5b50\u8868\u5168\u90e8\u5b58\u5728\u4e00\u4e2a\u5e93\u91cc\u3002"),(0,l.yg)("p",null,"\u8fd9\u91cc\u4e00\u5b9a\u8981\u6ce8\u610f\uff0c\u6211\u4eec\u5728\u8bbe\u8ba1\u5e93\u7684\u65f6\u5019\uff0c\u4e00\u5b9a\u8981\u6839\u636e\u6570\u636e\u7684\u60c5\u51b5\u6765\uff0c\u4f8b\u5982\u4e0a\u4e0b\u7ebf\u6d88\u606f\u548c\u8bbe\u5907\u5386\u53f2\u6570\u636e\u5e94\u8be5\u5206\u4e24\u4e2a\u5e93\uff0c\u56e0\u4e3a\u4ed6\u4eec\u7684\u6570\u636e\u4fdd\u7559\u65f6\u95f4\u4e0d\u540c\uff0c\u8bbe\u5907\u4e0a\u4e0b\u7ebf\u6d88\u606f\u5b58 1 \u5e74\u5c31\u5f88\u591a\u4e86\uff0c\u8bbe\u5907\u5386\u53f2\u6570\u636e\u53ef\u80fd\u9700\u8981\u5b58 5 \u5e74\u4ee5\u4e0a\u3002"),(0,l.yg)("h3",{id:"\u51c6\u5907\u6570\u636e"},"\u51c6\u5907\u6570\u636e"),(0,l.yg)("p",null,"\u7ed3\u5408\u4e0a\u9762\u7684\u6982\u5ff5\u4ee5\u53ca SQL \u8bed\u6cd5\u53ef\u4ee5\u521b\u5efa\u8868\u505a\u538b\u6d4b\u4e86\uff0cSQL \u662f\u53c2\u8003\u76ee\u524d influxdb \u5b58\u50a8\u7684\u5386\u53f2\u6570\u636e\u6765\u7684\u3002"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-sql"},'# \u4fdd\u5b5810\u5e74 1\u4e2a\u526f\u672c\ncreate database ucloud keep 3650 REPLICA 2;\nuse ucloud;\n\n#\u521b\u5efa\u8d85\u7ea7\u8868\ncreate stable datapoint_record(ts timestamp,value double,StringValue NCHAR(128),DataType NCHAR(10),StorageFlag int)\n tags(DeviceId NCHAR(32),DataPointId int,SlaveIndex int);\n#\u63d2\u5165\u6d4b\u8bd5\u6570\u636e\ninsert into D00500221122700004100_1_1 using datapoint_record\ntags(00500221122700004100,1,1)\nvalues(now(),1,"1","ushort",1);\ninsert into D00500221122700004100_1_2 using datapoint_record\ntags(00500221122700004100,1,2)\nvalues(now(),1,"1","ushort",1);\n#\u67e5\u8be2\nselect * from datapoint_record;\n\n')),(0,l.yg)("p",null,"\u6700\u91cd\u70b9\u7684\u5176\u5b9e\u662f\u8868\u7ed3\u6784\u7684\u8bbe\u8ba1\u4e86\uff0c\u7ed3\u5408\u6211\u4eec\u7684\u4e1a\u52a1\uff0c\u6211\u4eec\u5e73\u53f0\u7684\u201c\u91c7\u96c6\u91cf\u201d\u662f\u914d\u7f6e\u51fa\u6765\uff0c\u6240\u4ee5\u91c7\u96c6\u91cf\u662f\u4e0d\u56fa\u5b9a\u7684\uff0c\u7528\u6237\u4f1a\u6839\u636e\u81ea\u5df1\u7684\u4e8b\u60c5\u60c5\u51b5\u52a8\u6001\u7684\u589e\u5220\u3002\u6240\u4ee5\u6211\u4eec\u7684\u5b50\u8868\u53ea\u80fd\u6709\u4e00\u4e2a\u91c7\u96c6\u91cf\uff0c\u8fd9\u4e2a\u662f\u5173\u952e\u3002"),(0,l.yg)("p",null,"\u6211\u4eec\u76ee\u524d\u7528\u7684\u65f6\u5e8f\u6570\u636e\u5e93\u662f InfluxDB\uff0c\u6240\u4ee5\u9700\u8981\u6709\u4e2a\u4e2d\u95f4\u4ef6\uff0c\u8f6f\u5b9e\u65f6\u540c\u6b65\u5230 TDengine\u3002\u5b9e\u73b0\u601d\u8def\u4e3a\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5b9a\u65f6\u6bcf\u5206\u949f\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5bfc\u51fa InfluxDB \u6570\u636e\uff0c\u4e00\u5206\u949f\u7684\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u8bfb\u53d6\u8fd9\u4e2a\u5bfc\u51fa\u6587\u4ef6\uff0c\u5e76\u63d2\u5165\u5230 TDengine \u4e2d\uff1b")),(0,l.yg)("h3",{id:"\u538b\u6d4b"},"\u538b\u6d4b"),(0,l.yg)("p",null,"\u81ea\u5e26 taosBenchmark \u6027\u80fd\u6d4b\u8bd5\u5de5\u5177\uff0c\u53ef\u4ee5\u4f7f\u7528\u3002"),(0,l.yg)("p",null,"\u65e0\u547d\u4ee4\u884c\u53c2\u6570\u76f4\u63a5\u8fd0\u884c taosBenchmark\uff0c\u56de\u8f66\u76f4\u63a5\u6267\u884c\uff0c\u9ed8\u8ba4\u5728 TDengine \u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a test \u7684\u6570\u636e\u5e93\uff0ctest \u6570\u636e\u5e93\u4e0b\u521b\u5efa\u540d\u4e3a meters \u7684\u4e00\u5f20\u8d85\u7ea7\u8868\uff0c\u8d85\u7ea7\u8868\u4e0b\u521b\u5efa 10000 \u5f20\u8868\uff0c\u6bcf\u5f20\u8868\u4e2d\u5199\u5165 10000 \u6761\u8bb0\u5f55\u3002"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:t(68123).A,width:"1435",height:"48"}),"\n1w \u5f20\u8868\u7528\u4e86\u63a5\u8fd1 4 \u5206\u949f\u521b\u5efa\u5b8c\u6210\uff0c\u5f53\u7136\u4e86\u548c\u6d4b\u8bd5\u670d\u52a1\u5668\u7684\u673a\u68b0\u786c\u76d8\u5e94\u8be5\u6709\u5f88\u5927\u5173\u7cfb\uff1b"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:t(53906).A,width:"1237",height:"58"}),"\n\u63d2\u5165 1 \u4ebf\u8c03\u6570\u636e\u7528\u4e86 18 \u79d2\uff0c\u5f53\u7136\u4e86\u548c\u6d4b\u8bd5\u670d\u52a1\u5668\u7684\u673a\u68b0\u786c\u76d8\u5e94\u8be5\u6709\u5f88\u5927\u5173\u7cfb\uff1b"),(0,l.yg)("h3",{id:"\u5751\u70b9\u6c47\u603b"},"\u5751\u70b9\u6c47\u603b"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u793e\u533a\u7248\u672c\u4e0d\u652f\u6301\u201c\u5220\u9664\u6307\u5b9a\u65f6\u95f4\u8303\u56f4\u7684\u6570\u636e\u201d\u7684\u529f\u80fd\uff0c\u4f01\u4e1a\u7248\u624d\u652f\u6301\uff0c\u4f46\u662f\u6709\u4e9b\u7279\u6b8a\u60c5\u51b5\u8fd8\u662f\u9700\u8981\u5220\u9664\u6570\u636e\u7684\uff0c\u53ef\u4ee5\u901a\u8fc7\u589e\u52a0\u201c\u5220\u9664\u6807\u8bb0\u5b57\u6bb5\u201d\u6765\u8fc2\u56de\u5904\u7406\u8fd9\u4e2a\u95ee\u9898\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u793e\u533a\u7248\u672c\u4e0d\u652f\u6301\u201cUAF\u201d\uff0c\u4e5f\u5c31\u662f\u7528\u6237\u81ea\u5b9a\u4e49\u51fd\u6570\uff0c\u67d0\u4e9b\u7279\u6b8a\u805a\u5408\u6216\u8ba1\u7b97\u7b97\u6cd5\u65e0\u6cd5\u505a\u5230\uff0c\u4e0d\u8fc7\u793e\u533a\u7248\u672c\u63d0\u4f9b\u7684\u5df2\u7ecf\u662f\u7edd\u5bf9\u90e8\u5206\u4e86\u3002"),(0,l.yg)("li",{parentName:"ol"},"java client \u4f7f\u7528 RS \u600e\u4e48\u4e5f\u8fde\u63a5\u4e0d\u4e0a\uff0c\u540e\u6765\u53d1\u73b0\u662f\u670d\u52a1\u7aef\u6ca1\u6709\u542f\u52a8 taosadapter\uff0c\u4f7f\u7528\u547d\u4ee4 systemctl start taosadapter \u542f\u52a8\u540e\uff0cjava client \u5c31\u53ef\u4ee5\u6b63\u5e38\u8fde\u63a5\u4e86\u3002")),(0,l.yg)("h3",{id:"\u9644\u5f55"},"\u9644\u5f55"),(0,l.yg)("h4",{id:"\u5f00\u6e90\u534f\u8bae\u8bf4\u660e"},"\u5f00\u6e90\u534f\u8bae\u8bf4\u660e"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:t(26413).A,width:"750",height:"454"})))}u.isMDXComponent=!0},89792:(e,n,t)=>{t.d(n,{A:()=>a});const a=t.p+"assets/images/1-86f297ccfad12004e3b4a982a06dbdb1.png"},68123:(e,n,t)=>{t.d(n,{A:()=>a});const a=t.p+"assets/images/2-c10305180fd1dff6eef758f70d21f175.png"},53906:(e,n,t)=>{t.d(n,{A:()=>a});const a=t.p+"assets/images/3-e91119dc93e175c318646768f42457a1.png"},26413:(e,n,t)=>{t.d(n,{A:()=>a});const a=t.p+"assets/images/4-708f8212de488f91684592cc80775af3.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2042],{15680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>m});var a=t(96540);function l(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function g(e){for(var n=1;n=0||(l[t]=e[t]);return l}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}var o=a.createContext({}),d=function(e){var n=a.useContext(o),t=n;return e&&(t="function"==typeof e?e(n):g(g({},n),e)),t},s=function(e){var n=d(e.components);return a.createElement(o.Provider,{value:n},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},y=a.forwardRef((function(e,n){var t=e.components,l=e.mdxType,r=e.originalType,o=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),p=d(t),y=l,m=p["".concat(o,".").concat(y)]||p[y]||u[y]||r;return t?a.createElement(m,g(g({ref:n},s),{},{components:t})):a.createElement(m,g({ref:n},s))}));function m(e,n){var t=arguments,l=n&&n.mdxType;if("string"==typeof e||l){var r=t.length,g=new Array(r);g[0]=y;var i={};for(var o in n)hasOwnProperty.call(n,o)&&(i[o]=n[o]);i.originalType=e,i[p]="string"==typeof e?e:l,g[1]=i;for(var d=2;d{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>g,default:()=>u,frontMatter:()=>r,metadata:()=>i,toc:()=>d});var a=t(58168),l=(t(96540),t(15680));const r={sidebar_position:2},g=void 0,i={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine",title:"TDengine",description:"\u5b98\u7f51",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"InfluxDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB"},next:{title:"Apache IoTDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB"}},o={},d=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u8bc4\u4ef7",id:"\u8bc4\u4ef7",level:3},{value:"\u90e8\u7f72",id:"\u90e8\u7f72",level:3},{value:"\u73af\u5883\u51c6\u5907",id:"\u73af\u5883\u51c6\u5907",level:4},{value:"\u6784\u5efa&\u5b89\u88c5\u3010\u6e90\u7801\u3011",id:"\u6784\u5efa\u5b89\u88c5\u6e90\u7801",level:4},{value:"\u6784\u4ef6\u5b89\u88c5\u3010\u5b89\u88c5\u5305\u3011",id:"\u6784\u4ef6\u5b89\u88c5\u5b89\u88c5\u5305",level:4},{value:"\u4f53\u9a8c SQL",id:"\u4f53\u9a8c-sql",level:4},{value:"\u96c6\u7fa4\u90e8\u7f72",id:"\u96c6\u7fa4\u90e8\u7f72",level:4},{value:"\u57fa\u672c\u6982\u5ff5",id:"\u57fa\u672c\u6982\u5ff5",level:3},{value:"\u91c7\u96c6\u91cf (Metric)",id:"\u91c7\u96c6\u91cf-metric",level:4},{value:"\u6807\u7b7e (Label/Tag)",id:"\u6807\u7b7e-labeltag",level:4},{value:"\u6570\u636e\u91c7\u96c6\u70b9 (Data Collection Point)",id:"\u6570\u636e\u91c7\u96c6\u70b9-data-collection-point",level:4},{value:"\u8868 (Table)",id:"\u8868-table",level:4},{value:"\u8d85\u7ea7\u8868 (STable)",id:"\u8d85\u7ea7\u8868-stable",level:4},{value:"\u5b50\u8868 (Subtable)",id:"\u5b50\u8868-subtable",level:4},{value:"\u5e93 (database)",id:"\u5e93-database",level:4},{value:"\u51c6\u5907\u6570\u636e",id:"\u51c6\u5907\u6570\u636e",level:3},{value:"\u538b\u6d4b",id:"\u538b\u6d4b",level:3},{value:"\u5751\u70b9\u6c47\u603b",id:"\u5751\u70b9\u6c47\u603b",level:3},{value:"\u9644\u5f55",id:"\u9644\u5f55",level:3},{value:"\u5f00\u6e90\u534f\u8bae\u8bf4\u660e",id:"\u5f00\u6e90\u534f\u8bae\u8bf4\u660e",level:4}],s={toc:d},p="wrapper";function u(e){let{components:n,...r}=e;return(0,l.yg)(p,(0,a.A)({},s,r,{components:n,mdxType:"MDXLayout"}),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://www.taosdata.com/"},"\u5b98\u7f51"),"\n",(0,l.yg)("a",{parentName:"p",href:"https://github.com/taosdata/TDengine"},"GitHub \u94fe\u63a5\u5730\u5740")),(0,l.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,l.yg)("p",null,"\u5f00\u6e90\u534f\u8bae\uff1aAGPL V3\n\u5f00\u53d1\u8bed\u8a00\uff1aC\n\u5546\u4e1a\u516c\u53f8\uff1a\u5317\u4eac\u6d9b\u601d\u6570\u636e\u79d1\u6280\u6709\u9650\u516c\u53f8(TAOS Data) \uff1b\u6d9b\u601d\u6570\u636e\u91c7\u7528 AGPL \u8bb8\u53ef\u8bc1\uff0c\u5df2\u7ecf\u5c06 TDengine \u7684\u5185\u6838(\u5b58\u50a8\u3001\u8ba1\u7b97\u5f15\u64ce\u548c\u96c6\u7fa4\uff09100%\u5f00\u6e90\u3002\u6d9b\u601d\u6570\u636e\u5c06\u5c3d\u6700\u5927\u52aa\u529b\u6253\u9020\u5f00\u53d1\u8005\u793e\u533a\uff0c\u7ef4\u62a4\u8fd9\u4e2a\u5f00\u6e90\u7684\u5546\u4e1a\u6a21\u5f0f\uff0c\u76f8\u4fe1\u4e0d\u5c06\u6700\u6838\u5fc3\u7684\u4ee3\u7801\u5f00\u6e90\uff0c\u4efb\u4f55\u57fa\u7840\u8f6f\u4ef6\u90fd\u5c06\u65e0\u6cd5\u8d62\u5f97\u5e02\u573a\u3002\u6d9b\u601d\u6570\u636e\u5e0c\u671b\u901a\u8fc7\u5f00\u6e90\uff0c\u5feb\u901f\u83b7\u5f97\u5e02\u573a\u53cd\u9988\uff0c\u5b8c\u5584\u4ea7\u54c1\uff0c\u5b8c\u5584\u751f\u6001\uff0c\u800c\u4e14\u5438\u5f15\u66f4\u591a\u7684\u5f00\u53d1\u8005\u52a0\u5165\u5230\u8fd9\u4e2a\u9879\u76ee\u4e2d\u3002\n\u652f\u6301\u96c6\u7fa4\uff1a\u5f00\u6e90\u7248\u672c\u652f\u6301\u96c6\u7fa4"),(0,l.yg)("h3",{id:"\u8bc4\u4ef7"},"\u8bc4\u4ef7"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u56fd\u5185\u516c\u53f8\u4f17\u591a\u9879\u76ee\u4f7f\u7528\uff0c\u4f7f\u7528\u91cf\u8fd8\u662f\u5f88\u9ad8\u7684\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u65e2\u652f\u6301\u96c6\u7fa4\uff0c\u5927\u6570\u636e\u91cf\u7684\u62d3\u5c55\u662f\u6ca1\u95ee\u9898\u7684\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u6587\u6863\u76f8\u5bf9\u6765\u8bf4\u662f\u975e\u5e38\u53cb\u597d\u7684\uff0c\u65b9\u65b9\u9762\u9762\u4ff1\u5230\uff1b")),(0,l.yg)("h3",{id:"\u90e8\u7f72"},"\u90e8\u7f72"),(0,l.yg)("h4",{id:"\u73af\u5883\u51c6\u5907"},"\u73af\u5883\u51c6\u5907"),(0,l.yg)("p",null,"\u6587\u6863\u662f\u4e2d\u6587\u7684\uff0c\u8fd8\u662f\u4e0d\u9519\u7684\u3002",(0,l.yg)("a",{parentName:"p",href:"https://github.com/taosdata/TDengine/blob/develop/README-CN.md"},"\u5b89\u88c5\u6587\u6863")),(0,l.yg)("p",null,"\u95ee\u8fd0\u7ef4\u7ae5\u978b\u8981\u4e86\u9884\u7814\u4f7f\u7528\u7684\u670d\u52a1\u5668\uff0c\u5982\u4e0b\uff1a"),(0,l.yg)("table",null,(0,l.yg)("thead",{parentName:"table"},(0,l.yg)("tr",{parentName:"thead"},(0,l.yg)("th",{parentName:"tr",align:null},"hostname"),(0,l.yg)("th",{parentName:"tr",align:null},"ip"))),(0,l.yg)("tbody",{parentName:"table"},(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node57"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.57")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node54"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.54")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node53"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.53")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node55"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.55")))),(0,l.yg)("p",null,"\u770b\u4e86\u4e00\u4e0b\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u4e3a Centos 7\uff0c\u5927\u5bb6\u6839\u636e\u81ea\u5df1\u670d\u52a1\u5668\u7684\u64cd\u4f5c\u7cfb\u7edf\u5b89\u88c5\u4e0d\u540c\u547d\u4ee4\uff0c\u4ee5\u4e0b\u90fd\u662f\u57fa\u4e8e Centos7 \u7684"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"[root@centos ~]# cat /etc/redhat-release\nCentOS Linux release 7.9.2009 (Core)\n")),(0,l.yg)("p",null,"\u6839\u636e\u6587\u6863\u4f9d\u6b21\u6267\u884c\uff1a"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"sudo yum install -y gcc gcc-c++ make cmake git\n\nsudo yum install -y java-1.8.0-openjdk\n\n#maven\u4e0d\u8981\u8fd9\u4e48\u5b89\u88c5\uff0c\u6709\u53ef\u80fd\u7248\u672c\u6bd4\u8f83\u4f4e \u53ea\u80fd\u8bf4\u6709\u53ef\u80fd\nsudo yum install -y maven\n\nsudo yum install zlib-devel xz-devel snappy-devel jansson jansson-devel pkgconfig libatomic libstdc++-static\n\ngit clone https://github.com/taosdata/TDengine.git\ncd TDengine\n\n#Go \u8fde\u63a5\u5668\u548c Grafana \u63d2\u4ef6\u5728\u5176\u4ed6\u72ec\u7acb\u4ed3\u5e93\uff0c\u5982\u679c\u5b89\u88c5\u5b83\u4eec\u7684\u8bdd\uff0c\u9700\u8981\u5728 TDengine \u76ee\u5f55\u4e0b\u901a\u8fc7\u6b64\u547d\u4ee4\u5b89\u88c5\uff1a\ngit submodule update --init --recursive\n")),(0,l.yg)("p",null,"\u6267\u884c\u6700\u540e\u7684\u547d\u4ee4\u7684\u65f6\u5019\uff0c\u4f1a\u62a5\u9519\uff0c\u9700\u8981\u914d\u7f6e git\uff0c\u3010YiRanCN\u3011\u548c\u3010",(0,l.yg)("a",{parentName:"p",href:"mailto:jiot.cloud059@163.com"},"jiot.cloud059@163.com"),"\u3011\u90fd\u662f\u6211\u7684 git \u8d26\u53f7\uff0c\u9700\u8981\u6839\u636e\u81ea\u5df1\u7684\u8d26\u53f7\u81ea\u884c\u914d\u7f6e"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},'git config --global http.sslVerify false\ngit config --global user.name "YiRanCN"\ngit config --global user.email "xxx@163.com"\n\nssh-keygen -t rsa -C "YiRanCN"\n\n#\u83b7\u53d6 \u4e4b\u540e \u4e0d\u8981\u540e\u9762\u7684\u8d26\u53f7 \u590d\u5236\u4e0b\u6765\ncat /root/.ssh/id_rsa.pub\n')),(0,l.yg)("p",null,"\u6839\u636e\u3010cat /root/.ssh/id_rsa.pub\u3011\u8fd9\u4e2a\u5f97\u7ed3\u679c\uff0c\u653e\u5230 github \u8d26\u53f7\u7684\u3010SSH and GPG keys\u3011\u529f\u80fd\u4e0b\u9762\n",(0,l.yg)("img",{parentName:"p",src:"https://cdn.nlark.com/yuque/0/2022/png/276833/1654587900708-8145fd94-a69e-492a-bf83-41ddd0a2e789.png#averageHue=%23fefefe&clientId=u7121fde3-9777-4&from=paste&height=1174&id=ua6a234e7&name=image.png&originHeight=1174&originWidth=2428&originalType=binary&ratio=1&rotation=0&showTitle=false&size=317728&status=done&style=none&taskId=u1b8b6bce-4d72-4ca1-b2c2-48963f55d0b&title=&width=2428",alt:"image.png"})),(0,l.yg)("h4",{id:"\u6784\u5efa\u5b89\u88c5\u6e90\u7801"},"\u6784\u5efa&\u5b89\u88c5\u3010\u6e90\u7801\u3011"),(0,l.yg)("p",null,"\u6784\u5efa\u5f88\u7b80\u5355\uff0c\u81ea\u5e26\u6784\u5efa\u811a\u672c"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"./build.sh\n")),(0,l.yg)("h4",{id:"\u6784\u4ef6\u5b89\u88c5\u5b89\u88c5\u5305"},"\u6784\u4ef6\u5b89\u88c5\u3010\u5b89\u88c5\u5305\u3011"),(0,l.yg)("p",null,"\u4e0b\u8f7d\u5730\u5740\uff1a\u3010",(0,l.yg)("a",{parentName:"p",href:"https://docs.tdengine.com/get-started/#!"},"https://docs.tdengine.com/get-started/#!"),"\u3011\n\u6267\u884c\u3010rpm -i TDengine-server-2.6.0.1-Linux-x64.rpm\u3011\uff0c\u5982\u679c\u53ea\u662f\u5b89\u88c5\u975e\u96c6\u7fa4\u7248\u672c\u76f4\u63a5\u56de\u8f66\u5373\u53ef\u3002\n\u3010sudo systemctl start taosd\u3011\u542f\u52a8\uff1b\n\u6267\u884c\u3010sudo systemctl status taosd\u3011\u68c0\u67e5\u8fd0\u884c\u72b6\u6001"),(0,l.yg)("p",null,"\u5982\u679c\u9700\u8981\u5378\u8f7d\uff1a\n\u3010sudo rpm -qa|grep tdengine\u3011\n\u3010sudo rpm -e tdengine\u3011\n\u3010sudo rm -rf /var/lib/taos/","*","\u3011\u614e\u7528"),(0,l.yg)("h4",{id:"\u4f53\u9a8c-sql"},"\u4f53\u9a8c SQL"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"CREATE DATABASE demo;\nUSE demo;\nCREATE TABLE t (ts TIMESTAMP, speed INT);\nINSERT INTO t VALUES('2019-07-15 00:00:00', 10);\nINSERT INTO t VALUES('2019-07-15 01:00:00', 20);\nSELECT * FROM t;\n")),(0,l.yg)("p",null,"\u4e3a\u964d\u4f4e\u5b66\u4e60\u95e8\u69db\uff0cTDengine \u91c7\u7528\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u6a21\u578b\u7ba1\u7406\u6570\u636e\uff0c\u548c MySQL \u6ca1\u5565\u592a\u5927\u533a\u522b\u3002"),(0,l.yg)("h4",{id:"\u96c6\u7fa4\u90e8\u7f72"},"\u96c6\u7fa4\u90e8\u7f72"),(0,l.yg)("p",null,"\u56e0\u4e3a\u6211\u7684\u76ee\u6807\u662f\u96c6\u7fa4\uff0c\u6240\u4ee5\uff0c\u4e0a\u9762\u7684\u90fd\u662f\u5f00\u80c3\u5c0f\u83dc\u3002"),(0,l.yg)("table",null,(0,l.yg)("thead",{parentName:"table"},(0,l.yg)("tr",{parentName:"thead"},(0,l.yg)("th",{parentName:"tr",align:null},"hostname"),(0,l.yg)("th",{parentName:"tr",align:null},"ip"))),(0,l.yg)("tbody",{parentName:"table"},(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node57"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.57")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node54"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.54")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node53"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.53")),(0,l.yg)("tr",{parentName:"tbody"},(0,l.yg)("td",{parentName:"tr",align:null},"node55"),(0,l.yg)("td",{parentName:"tr",align:null},"192.168.0.55")))),(0,l.yg)("p",null,"\u4f7f\u7528\n\u3010hostnamectl set-hostname node57\u3011\n\u3010hostnamectl set-hostname node54\u3011\n\u3010hostnamectl set-hostname node53\u3011\n\u3010hostnamectl set-hostname node55\u3011\n\u547d\u4ee4\u4fee\u6539 hostname.\n\u5c06\u5982\u4e0b\u914d\u7f6e\u653e\u5230\u3010vim /etc/hosts\u3011\u6587\u4ef6\u5185"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"192.168.0.57 node57\n192.168.0.54 node54\n192.168.0.53 node53\n192.168.0.55 node55\n")),(0,l.yg)("p",null,"\u6240\u6709\u7684\u8282\u70b9\u5b89\u88c5\u4e00\u904d\u3002\n\u96c6\u7fa4\u642d\u5efa\u5b8c\u6210\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a\n",(0,l.yg)("img",{alt:"image.png",src:t(89792).A,width:"1087",height:"153"})),(0,l.yg)("h3",{id:"\u57fa\u672c\u6982\u5ff5"},"\u57fa\u672c\u6982\u5ff5"),(0,l.yg)("h4",{id:"\u91c7\u96c6\u91cf-metric"},"\u91c7\u96c6\u91cf (Metric)"),(0,l.yg)("p",null,"\u91c7\u96c6\u91cf\u662f\u6307\u4f20\u611f\u5668\u3001\u8bbe\u5907\u6216\u5176\u4ed6\u7c7b\u578b\u91c7\u96c6\u70b9\u91c7\u96c6\u7684\u7269\u7406\u91cf\uff0c\u6bd4\u5982\u7535\u6d41\u3001\u7535\u538b\u3001\u6e29\u5ea6\u3001\u538b\u529b\u3001GPS \u4f4d\u7f6e\u7b49\uff0c\u662f\u968f\u65f6\u95f4\u53d8\u5316\u7684\uff0c\u6570\u636e\u7c7b\u578b\u53ef\u4ee5\u662f\u6574\u578b\u3001\u6d6e\u70b9\u578b\u3001\u5e03\u5c14\u578b\uff0c\u4e5f\u53ef\u662f\u5b57\u7b26\u4e32\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5b58\u50a8\u7684\u91c7\u96c6\u91cf\u7684\u6570\u636e\u91cf\u8d8a\u6765\u8d8a\u5927\u3002"),(0,l.yg)("h4",{id:"\u6807\u7b7e-labeltag"},"\u6807\u7b7e (Label/Tag)"),(0,l.yg)("p",null,"\u6807\u7b7e\u662f\u6307\u4f20\u611f\u5668\u3001\u8bbe\u5907\u6216\u5176\u4ed6\u7c7b\u578b\u91c7\u96c6\u70b9\u7684\u9759\u6001\u5c5e\u6027\uff0c\u4e0d\u662f\u968f\u65f6\u95f4\u53d8\u5316\u7684\uff0c\u6bd4\u5982\u8bbe\u5907\u578b\u53f7\u3001\u989c\u8272\u3001\u8bbe\u5907\u7684\u6240\u5728\u5730\u7b49\uff0c\u6570\u636e\u7c7b\u578b\u53ef\u4ee5\u662f\u4efb\u4f55\u7c7b\u578b\u3002\u867d\u7136\u662f\u9759\u6001\u7684\uff0c\u4f46 TDengine \u5bb9\u8bb8\u7528\u6237\u4fee\u6539\u3001\u5220\u9664\u6216\u589e\u52a0\u6807\u7b7e\u503c\u3002\u4e0e\u91c7\u96c6\u91cf\u4e0d\u4e00\u6837\u7684\u662f\uff0c\u968f\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5b58\u50a8\u7684\u6807\u7b7e\u7684\u6570\u636e\u91cf\u4e0d\u4f1a\u6709\u4ec0\u4e48\u53d8\u5316\u3002"),(0,l.yg)("h4",{id:"\u6570\u636e\u91c7\u96c6\u70b9-data-collection-point"},"\u6570\u636e\u91c7\u96c6\u70b9 (Data Collection Point)"),(0,l.yg)("p",null,"\u6570\u636e\u91c7\u96c6\u70b9\u662f\u6307\u6309\u7167\u9884\u8bbe\u65f6\u95f4\u5468\u671f\u6216\u53d7\u4e8b\u4ef6\u89e6\u53d1\u91c7\u96c6\u7269\u7406\u91cf\u7684\u786c\u4ef6\u6216\u8f6f\u4ef6\u3002\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u53ef\u4ee5\u91c7\u96c6\u4e00\u4e2a\u6216\u591a\u4e2a\u91c7\u96c6\u91cf\uff0c",(0,l.yg)("strong",{parentName:"p"},"\u4f46\u8fd9\u4e9b\u91c7\u96c6\u91cf\u90fd\u662f\u540c\u4e00\u65f6\u523b\u91c7\u96c6\u7684\uff0c\u5177\u6709\u76f8\u540c\u7684\u65f6\u95f4\u6233"),"\u3002\u5bf9\u4e8e\u590d\u6742\u7684\u8bbe\u5907\uff0c\u5f80\u5f80\u6709\u591a\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u6bcf\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u91c7\u96c6\u7684\u5468\u671f\u90fd\u53ef\u80fd\u4e0d\u4e00\u6837\uff0c\u800c\u4e14\u5b8c\u5168\u72ec\u7acb\uff0c\u4e0d\u540c\u6b65\u3002\u6bd4\u5982\u5bf9\u4e8e\u4e00\u53f0\u6c7d\u8f66\uff0c\u6709\u6570\u636e\u91c7\u96c6\u70b9\u4e13\u95e8\u91c7\u96c6 GPS \u4f4d\u7f6e\uff0c\u6709\u6570\u636e\u91c7\u96c6\u70b9\u4e13\u95e8\u91c7\u96c6\u53d1\u52a8\u673a\u72b6\u6001\uff0c\u6709\u6570\u636e\u91c7\u96c6\u70b9\u4e13\u95e8\u91c7\u96c6\u8f66\u5185\u7684\u73af\u5883\uff0c\u8fd9\u6837\u4e00\u53f0\u6c7d\u8f66\u5c31\u6709\u4e09\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u3002"),(0,l.yg)("h4",{id:"\u8868-table"},"\u8868 (Table)"),(0,l.yg)("p",null,"\u56e0\u4e3a\u91c7\u96c6\u91cf\u4e00\u822c\u662f\u7ed3\u6784\u5316\u6570\u636e\uff0c\u540c\u65f6\u4e3a\u964d\u4f4e\u5b66\u4e60\u95e8\u69db\uff0cTDengine \u91c7\u7528\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u6a21\u578b\u7ba1\u7406\u6570\u636e\u3002\u7528\u6237\u9700\u8981\u5148\u521b\u5efa\u5e93\uff0c\u7136\u540e\u521b\u5efa\u8868\uff0c\u4e4b\u540e\u624d\u80fd\u63d2\u5165\u6216\u67e5\u8be2\u6570\u636e\u3002\n\u4e3a\u5145\u5206\u5229\u7528\u5176\u6570\u636e\u7684\u65f6\u5e8f\u6027\u548c\u5176\u4ed6\u6570\u636e\u7279\u70b9\uff0cTDengine \u91c7\u53d6",(0,l.yg)("strong",{parentName:"p"},"\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u4e00\u5f20\u8868"),"\u7684\u7b56\u7565\uff0c\u8981\u6c42\u5bf9\u6bcf\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u5355\u72ec\u5efa\u8868\uff08\u6bd4\u5982\u6709\u4e00\u5343\u4e07\u4e2a\u667a\u80fd\u7535\u8868\uff0c\u5c31\u9700\u521b\u5efa\u4e00\u5343\u4e07\u5f20\u8868\uff0c\u4e0a\u8ff0\u8868\u683c\u4e2d\u7684 d1001\uff0cd1002\uff0cd1003\uff0cd1004 \u90fd\u9700\u5355\u72ec\u5efa\u8868\uff09\uff0c\u7528\u6765\u5b58\u50a8\u8fd9\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u6240\u91c7\u96c6\u7684\u65f6\u5e8f\u6570\u636e\u3002\u8fd9\u79cd\u8bbe\u8ba1\u6709\u51e0\u5927\u4f18\u70b9\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u7531\u4e8e\u4e0d\u540c\u6570\u636e\u91c7\u96c6\u70b9\u4ea7\u751f\u6570\u636e\u7684\u8fc7\u7a0b\u5b8c\u5168\u72ec\u7acb\uff0c\u6bcf\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u6e90\u662f\u552f\u4e00\u7684\uff0c\u4e00\u5f20\u8868\u4e5f\u5c31\u53ea\u6709\u4e00\u4e2a\u5199\u5165\u8005\uff0c\u8fd9\u6837\u5c31\u53ef\u91c7\u7528\u65e0\u9501\u65b9\u5f0f\u6765\u5199\uff0c\u5199\u5165\u901f\u5ea6\u5c31\u80fd\u5927\u5e45\u63d0\u5347\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u5bf9\u4e8e\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u800c\u8a00\uff0c\u5176\u4ea7\u751f\u7684\u6570\u636e\u662f\u6309\u7167\u65f6\u95f4\u6392\u5e8f\u7684\uff0c\u56e0\u6b64\u5199\u7684\u64cd\u4f5c\u53ef\u7528\u8ffd\u52a0\u7684\u65b9\u5f0f\u5b9e\u73b0\uff0c\u8fdb\u4e00\u6b65\u5927\u5e45\u63d0\u9ad8\u6570\u636e\u5199\u5165\u901f\u5ea6\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u662f\u4ee5\u5757\u4e3a\u5355\u4f4d\u8fde\u7eed\u5b58\u50a8\u7684\u3002\u5982\u679c\u8bfb\u53d6\u4e00\u4e2a\u65f6\u95f4\u6bb5\u7684\u6570\u636e\uff0c\u5b83\u80fd\u5927\u5e45\u51cf\u5c11\u968f\u673a\u8bfb\u53d6\u64cd\u4f5c\uff0c\u6210\u6570\u91cf\u7ea7\u7684\u63d0\u5347\u8bfb\u53d6\u548c\u67e5\u8be2\u901f\u5ea6\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4e00\u4e2a\u6570\u636e\u5757\u5185\u90e8\uff0c\u91c7\u7528\u5217\u5f0f\u5b58\u50a8\uff0c\u5bf9\u4e8e\u4e0d\u540c\u6570\u636e\u7c7b\u578b\uff0c\u91c7\u7528\u4e0d\u540c\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u4e14\u7531\u4e8e\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u91c7\u96c6\u91cf\u7684\u53d8\u5316\u662f\u7f13\u6162\u7684\uff0c\u538b\u7f29\u7387\u66f4\u9ad8\u3002")),(0,l.yg)("p",null,"\u5982\u679c\u91c7\u7528\u4f20\u7edf\u7684\u65b9\u5f0f\uff0c\u5c06\u591a\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u5199\u5165\u4e00\u5f20\u8868\uff0c\u7531\u4e8e\u7f51\u7edc\u5ef6\u65f6\u4e0d\u53ef\u63a7\uff0c\u4e0d\u540c\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u5230\u8fbe\u670d\u52a1\u5668\u7684\u65f6\u5e8f\u662f\u65e0\u6cd5\u4fdd\u8bc1\u7684\uff0c\u5199\u5165\u64cd\u4f5c\u662f\u8981\u6709\u9501\u4fdd\u62a4\u7684\uff0c\u800c\u4e14\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u6570\u636e\u662f\u96be\u4ee5\u4fdd\u8bc1\u8fde\u7eed\u5b58\u50a8\u5728\u4e00\u8d77\u7684\u3002",(0,l.yg)("strong",{parentName:"p"},"\u91c7\u7528\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u4e00\u5f20\u8868\u7684\u65b9\u5f0f\uff0c\u80fd\u6700\u5927\u7a0b\u5ea6\u7684\u4fdd\u8bc1\u5355\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u7684\u63d2\u5165\u548c\u67e5\u8be2\u7684\u6027\u80fd\u662f\u6700\u4f18\u7684\u3002"),"\nTDengine \u5efa\u8bae\u7528\u6570\u636e\u91c7\u96c6\u70b9\u7684\u540d\u5b57\uff08\u5982\u4e0a\u8868\u4e2d\u7684 D1001\uff09\u6765\u505a\u8868\u540d\u3002\u6bcf\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u53ef\u80fd\u540c\u65f6\u91c7\u96c6\u591a\u4e2a\u91c7\u96c6\u91cf\uff08\u5982\u4e0a\u8868\u4e2d\u7684 current\uff0cvoltage\uff0cphase\uff09\uff0c\u6bcf\u4e2a\u91c7\u96c6\u91cf\u5bf9\u5e94\u4e00\u5f20\u8868\u4e2d\u7684\u4e00\u5217\uff0c\u6570\u636e\u7c7b\u578b\u53ef\u4ee5\u662f\u6574\u578b\u3001\u6d6e\u70b9\u578b\u3001\u5b57\u7b26\u4e32\u7b49\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u8868\u7684\u7b2c\u4e00\u5217\u5fc5\u987b\u662f\u65f6\u95f4\u6233\uff0c\u5373\u6570\u636e\u7c7b\u578b\u4e3a timestamp\u3002\u5bf9\u91c7\u96c6\u91cf\uff0cTDengine \u5c06\u81ea\u52a8\u6309\u7167\u65f6\u95f4\u6233\u5efa\u7acb\u7d22\u5f15\uff0c\u4f46\u5bf9\u91c7\u96c6\u91cf\u672c\u8eab\u4e0d\u5efa\u4efb\u4f55\u7d22\u5f15\u3002\u6570\u636e\u7528\u5217\u5f0f\u5b58\u50a8\u65b9\u5f0f\u4fdd\u5b58\u3002\n\u5bf9\u4e8e\u590d\u6742\u7684\u8bbe\u5907\uff0c\u6bd4\u5982\u6c7d\u8f66\uff0c\u5b83\u6709\u591a\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u90a3\u4e48\u5c31\u9700\u8981\u4e3a\u4e00\u53f0\u6c7d\u8f66\u5efa\u7acb\u591a\u5f20\u8868\u3002"),(0,l.yg)("h4",{id:"\u8d85\u7ea7\u8868-stable"},"\u8d85\u7ea7\u8868 (STable)"),(0,l.yg)("p",null,"\u7531\u4e8e\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u4e00\u5f20\u8868\uff0c\u5bfc\u81f4\u8868\u7684\u6570\u91cf\u5de8\u589e\uff0c\u96be\u4ee5\u7ba1\u7406\uff0c\u800c\u4e14\u5e94\u7528\u7ecf\u5e38\u9700\u8981\u505a\u91c7\u96c6\u70b9\u4e4b\u95f4\u7684\u805a\u5408\u64cd\u4f5c\uff0c\u805a\u5408\u7684\u64cd\u4f5c\u4e5f\u53d8\u5f97\u590d\u6742\u8d77\u6765\u3002\u4e3a\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0cTDengine \u5f15\u5165\u8d85\u7ea7\u8868\uff08Super Table\uff0c\u7b80\u79f0\u4e3a STable\uff09\u7684\u6982\u5ff5\u3002\n\u8d85\u7ea7\u8868\u662f\u6307\u67d0\u4e00\u7279\u5b9a\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\u7684\u96c6\u5408\u3002\u540c\u4e00\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u5176\u8868\u7684\u7ed3\u6784\u662f\u5b8c\u5168\u4e00\u6837\u7684\uff0c\u4f46\u6bcf\u4e2a\u8868\uff08\u6570\u636e\u91c7\u96c6\u70b9\uff09\u7684\u9759\u6001\u5c5e\u6027\uff08\u6807\u7b7e\uff09\u662f\u4e0d\u4e00\u6837\u7684\u3002\u63cf\u8ff0\u4e00\u4e2a\u8d85\u7ea7\u8868\uff08\u67d0\u4e00\u7279\u5b9a\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\u7684\u96c6\u5408\uff09\uff0c\u9664\u9700\u8981\u5b9a\u4e49\u91c7\u96c6\u91cf\u7684\u8868\u7ed3\u6784\u4e4b\u5916\uff0c\u8fd8\u9700\u8981\u5b9a\u4e49\u5176\u6807\u7b7e\u7684 schema\uff0c\u6807\u7b7e\u7684\u6570\u636e\u7c7b\u578b\u53ef\u4ee5\u662f\u6574\u6570\u3001\u6d6e\u70b9\u6570\u3001\u5b57\u7b26\u4e32\uff0c\u6807\u7b7e\u53ef\u4ee5\u6709\u591a\u4e2a\uff0c\u53ef\u4ee5\u4e8b\u540e\u589e\u52a0\u3001\u5220\u9664\u6216\u4fee\u6539\u3002\u5982\u679c\u6574\u4e2a\u7cfb\u7edf\u6709 N \u4e2a\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u5c31\u9700\u8981\u5efa\u7acb N \u4e2a\u8d85\u7ea7\u8868\u3002\n\u5728 TDengine \u7684\u8bbe\u8ba1\u91cc\uff0c",(0,l.yg)("strong",{parentName:"p"},"\u8868\u7528\u6765\u4ee3\u8868\u4e00\u4e2a\u5177\u4f53\u7684\u6570\u636e\u91c7\u96c6\u70b9\uff0c\u8d85\u7ea7\u8868\u7528\u6765\u4ee3\u8868\u4e00\u7ec4\u76f8\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\u96c6\u5408"),"\u3002"),(0,l.yg)("p",null,"\u8fd9\u91cc\u7684\u8d85\u7ea7\u8868\u3001\u5b50\u8868\u7684\u8bbe\u8ba1\u5f88\u6709\u610f\u601d\uff0c\u5b50\u8868\u5c31\u662f\u67d0\u4e2a\u8bbe\u5907\uff08\u865a\u62df\u7684\uff0c\u5176\u4ed6\u4e5f\u884c\uff09\uff0c\u8fd9\u4e2a\u662f\u6570\u636e\u653e\u5230\u4e00\u5757\u7684\u6700\u5c0f\u5355\u4f4d\uff0c\u8fd9\u91cc\u548c\u5176\u4ed6\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u5f88\u5927\u533a\u522b\uff0c\u53ef\u6709\u6709\u6548\u5904\u7406\u201c\u8bbe\u5907\u5220\u4e86\uff0c\u6570\u636e\u8fd8\u5b58\u5728\u7684\u95ee\u9898\u201d\u3002"),(0,l.yg)("h4",{id:"\u5b50\u8868-subtable"},"\u5b50\u8868 (Subtable)"),(0,l.yg)("p",null,"\u5f53\u4e3a\u67d0\u4e2a\u5177\u4f53\u6570\u636e\u91c7\u96c6\u70b9\u521b\u5efa\u8868\u65f6\uff0c\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\u8d85\u7ea7\u8868\u7684\u5b9a\u4e49\u505a\u6a21\u677f\uff0c\u540c\u65f6\u6307\u5b9a\u8be5\u5177\u4f53\u91c7\u96c6\u70b9\uff08\u8868\uff09\u7684\u5177\u4f53\u6807\u7b7e\u503c\u6765\u521b\u5efa\u8be5\u8868\u3002",(0,l.yg)("strong",{parentName:"p"},"\u901a\u8fc7\u8d85\u7ea7\u8868\u521b\u5efa\u7684\u8868\u79f0\u4e4b\u4e3a\u5b50\u8868"),"\u3002\u6b63\u5e38\u7684\u8868\u4e0e\u5b50\u8868\u7684\u5dee\u5f02\u5728\u4e8e\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5b50\u8868\u5c31\u662f\u8868\uff0c\u56e0\u6b64\u6240\u6709\u6b63\u5e38\u8868\u7684 SQL \u64cd\u4f5c\u90fd\u53ef\u4ee5\u5728\u5b50\u8868\u4e0a\u6267\u884c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u5b50\u8868\u5728\u6b63\u5e38\u8868\u7684\u57fa\u7840\u4e0a\u6709\u6269\u5c55\uff0c\u5b83\u662f\u5e26\u6709\u9759\u6001\u6807\u7b7e\u7684\uff0c\u800c\u4e14\u8fd9\u4e9b\u6807\u7b7e\u53ef\u4ee5\u4e8b\u540e\u589e\u52a0\u3001\u5220\u9664\u3001\u4fee\u6539\uff0c\u800c\u6b63\u5e38\u7684\u8868\u6ca1\u6709\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u5b50\u8868\u4e00\u5b9a\u5c5e\u4e8e\u4e00\u5f20\u8d85\u7ea7\u8868\uff0c\u4f46\u666e\u901a\u8868\u4e0d\u5c5e\u4e8e\u4efb\u4f55\u8d85\u7ea7\u8868"),(0,l.yg)("li",{parentName:"ol"},"\u666e\u901a\u8868\u65e0\u6cd5\u8f6c\u4e3a\u5b50\u8868\uff0c\u5b50\u8868\u4e5f\u65e0\u6cd5\u8f6c\u4e3a\u666e\u901a\u8868\u3002")),(0,l.yg)("p",null,"\u8d85\u7ea7\u8868\u4e0e\u4e0e\u57fa\u4e8e\u8d85\u7ea7\u8868\u5efa\u7acb\u7684\u5b50\u8868\u4e4b\u95f4\u7684\u5173\u7cfb\u8868\u73b0\u5728\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u4e00\u5f20\u8d85\u7ea7\u8868\u5305\u542b\u6709\u591a\u5f20\u5b50\u8868\uff0c\u8fd9\u4e9b\u5b50\u8868\u5177\u6709\u76f8\u540c\u7684\u91c7\u96c6\u91cf schema\uff0c\u4f46\u5e26\u6709\u4e0d\u540c\u7684\u6807\u7b7e\u503c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4e0d\u80fd\u901a\u8fc7\u5b50\u8868\u8c03\u6574\u6570\u636e\u6216\u6807\u7b7e\u7684\u6a21\u5f0f\uff0c\u5bf9\u4e8e\u8d85\u7ea7\u8868\u7684\u6570\u636e\u6a21\u5f0f\u4fee\u6539\u7acb\u5373\u5bf9\u6240\u6709\u7684\u5b50\u8868\u751f\u6548\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u8d85\u7ea7\u8868\u53ea\u5b9a\u4e49\u4e00\u4e2a\u6a21\u677f\uff0c\u81ea\u8eab\u4e0d\u5b58\u50a8\u4efb\u4f55\u6570\u636e\u6216\u6807\u7b7e\u4fe1\u606f\u3002\u56e0\u6b64\uff0c\u4e0d\u80fd\u5411\u4e00\u4e2a\u8d85\u7ea7\u8868\u5199\u5165\u6570\u636e\uff0c\u53ea\u80fd\u5c06\u6570\u636e\u5199\u5165\u5b50\u8868\u4e2d\u3002")),(0,l.yg)("p",null,"\u67e5\u8be2\u65e2\u53ef\u4ee5\u5728\u8868\u4e0a\u8fdb\u884c\uff0c\u4e5f\u53ef\u4ee5\u5728\u8d85\u7ea7\u8868\u4e0a\u8fdb\u884c\u3002\u9488\u5bf9\u8d85\u7ea7\u8868\u7684\u67e5\u8be2\uff0cTDengine \u5c06\u628a\u6240\u6709\u5b50\u8868\u4e2d\u7684\u6570\u636e\u89c6\u4e3a\u4e00\u4e2a\u6574\u4f53\u6570\u636e\u96c6\u8fdb\u884c\u5904\u7406\uff0c\u4f1a\u5148\u628a\u6ee1\u8db3\u6807\u7b7e\u8fc7\u6ee4\u6761\u4ef6\u7684\u8868\u4ece\u8d85\u7ea7\u8868\u4e2d\u627e\u51fa\u6765\uff0c\u7136\u540e\u518d\u626b\u63cf\u8fd9\u4e9b\u8868\u7684\u65f6\u5e8f\u6570\u636e\uff0c\u8fdb\u884c\u805a\u5408\u64cd\u4f5c\uff0c\u8fd9\u6837\u9700\u8981\u626b\u63cf\u7684\u6570\u636e\u96c6\u4f1a\u5927\u5e45\u51cf\u5c11\uff0c\u4ece\u800c\u663e\u8457\u63d0\u9ad8\u67e5\u8be2\u7684\u6027\u80fd\u3002\u672c\u8d28\u4e0a\uff0cTDengine \u901a\u8fc7\u5bf9\u8d85\u7ea7\u8868\u67e5\u8be2\u7684\u652f\u6301\uff0c\u5b9e\u73b0\u4e86\u591a\u4e2a\u540c\u7c7b\u6570\u636e\u91c7\u96c6\u70b9\u7684\u9ad8\u6548\u805a\u5408\u3002\nTDengine \u7cfb\u7edf\u5efa\u8bae\u7ed9\u4e00\u4e2a\u6570\u636e\u91c7\u96c6\u70b9\u5efa\u8868\uff0c\u9700\u8981\u901a\u8fc7\u8d85\u7ea7\u8868\u5efa\u8868\uff0c\u800c\u4e0d\u662f\u5efa\u666e\u901a\u8868\u3002"),(0,l.yg)("h4",{id:"\u5e93-database"},"\u5e93 (database)"),(0,l.yg)("p",null,"\u5e93\u662f\u6307\u4e00\u7ec4\u8868\u7684\u96c6\u5408\u3002TDengine \u5bb9\u8bb8\u4e00\u4e2a\u8fd0\u884c\u5b9e\u4f8b\u6709\u591a\u4e2a\u5e93\uff0c\u800c\u4e14\u6bcf\u4e2a\u5e93\u53ef\u4ee5\u914d\u7f6e\u4e0d\u540c\u7684\u5b58\u50a8\u7b56\u7565\u3002\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u96c6\u70b9\u5f80\u5f80\u5177\u6709\u4e0d\u540c\u7684\u6570\u636e\u7279\u5f81\uff0c\u5305\u62ec\u6570\u636e\u91c7\u96c6\u9891\u7387\u7684\u9ad8\u4f4e\uff0c\u6570\u636e\u4fdd\u7559\u65f6\u95f4\u7684\u957f\u77ed\uff0c\u526f\u672c\u7684\u6570\u76ee\uff0c\u6570\u636e\u5757\u7684\u5927\u5c0f\uff0c\u662f\u5426\u5141\u8bb8\u66f4\u65b0\u6570\u636e\u7b49\u7b49\u3002\u4e3a\u4e86\u5728\u5404\u79cd\u573a\u666f\u4e0b TDengine \u90fd\u80fd\u6700\u5927\u6548\u7387\u7684\u5de5\u4f5c\uff0cTDengine \u5efa\u8bae\u5c06\u4e0d\u540c\u6570\u636e\u7279\u5f81\u7684\u8d85\u7ea7\u8868\u521b\u5efa\u5728\u4e0d\u540c\u7684\u5e93\u91cc\u3002"),(0,l.yg)("p",null,"\u4e00\u4e2a\u5e93\u91cc\uff0c\u53ef\u4ee5\u6709\u4e00\u5230\u591a\u4e2a\u8d85\u7ea7\u8868\uff0c\u4f46\u4e00\u4e2a\u8d85\u7ea7\u8868\u53ea\u5c5e\u4e8e\u4e00\u4e2a\u5e93\u3002\u4e00\u4e2a\u8d85\u7ea7\u8868\u6240\u62e5\u6709\u7684\u5b50\u8868\u5168\u90e8\u5b58\u5728\u4e00\u4e2a\u5e93\u91cc\u3002"),(0,l.yg)("p",null,"\u8fd9\u91cc\u4e00\u5b9a\u8981\u6ce8\u610f\uff0c\u6211\u4eec\u5728\u8bbe\u8ba1\u5e93\u7684\u65f6\u5019\uff0c\u4e00\u5b9a\u8981\u6839\u636e\u6570\u636e\u7684\u60c5\u51b5\u6765\uff0c\u4f8b\u5982\u4e0a\u4e0b\u7ebf\u6d88\u606f\u548c\u8bbe\u5907\u5386\u53f2\u6570\u636e\u5e94\u8be5\u5206\u4e24\u4e2a\u5e93\uff0c\u56e0\u4e3a\u4ed6\u4eec\u7684\u6570\u636e\u4fdd\u7559\u65f6\u95f4\u4e0d\u540c\uff0c\u8bbe\u5907\u4e0a\u4e0b\u7ebf\u6d88\u606f\u5b58 1 \u5e74\u5c31\u5f88\u591a\u4e86\uff0c\u8bbe\u5907\u5386\u53f2\u6570\u636e\u53ef\u80fd\u9700\u8981\u5b58 5 \u5e74\u4ee5\u4e0a\u3002"),(0,l.yg)("h3",{id:"\u51c6\u5907\u6570\u636e"},"\u51c6\u5907\u6570\u636e"),(0,l.yg)("p",null,"\u7ed3\u5408\u4e0a\u9762\u7684\u6982\u5ff5\u4ee5\u53ca SQL \u8bed\u6cd5\u53ef\u4ee5\u521b\u5efa\u8868\u505a\u538b\u6d4b\u4e86\uff0cSQL \u662f\u53c2\u8003\u76ee\u524d influxdb \u5b58\u50a8\u7684\u5386\u53f2\u6570\u636e\u6765\u7684\u3002"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-sql"},'# \u4fdd\u5b5810\u5e74 1\u4e2a\u526f\u672c\ncreate database ucloud keep 3650 REPLICA 2;\nuse ucloud;\n\n#\u521b\u5efa\u8d85\u7ea7\u8868\ncreate stable datapoint_record(ts timestamp,value double,StringValue NCHAR(128),DataType NCHAR(10),StorageFlag int)\n tags(DeviceId NCHAR(32),DataPointId int,SlaveIndex int);\n#\u63d2\u5165\u6d4b\u8bd5\u6570\u636e\ninsert into D00500221122700004100_1_1 using datapoint_record\ntags(00500221122700004100,1,1)\nvalues(now(),1,"1","ushort",1);\ninsert into D00500221122700004100_1_2 using datapoint_record\ntags(00500221122700004100,1,2)\nvalues(now(),1,"1","ushort",1);\n#\u67e5\u8be2\nselect * from datapoint_record;\n\n')),(0,l.yg)("p",null,"\u6700\u91cd\u70b9\u7684\u5176\u5b9e\u662f\u8868\u7ed3\u6784\u7684\u8bbe\u8ba1\u4e86\uff0c\u7ed3\u5408\u6211\u4eec\u7684\u4e1a\u52a1\uff0c\u6211\u4eec\u5e73\u53f0\u7684\u201c\u91c7\u96c6\u91cf\u201d\u662f\u914d\u7f6e\u51fa\u6765\uff0c\u6240\u4ee5\u91c7\u96c6\u91cf\u662f\u4e0d\u56fa\u5b9a\u7684\uff0c\u7528\u6237\u4f1a\u6839\u636e\u81ea\u5df1\u7684\u4e8b\u60c5\u60c5\u51b5\u52a8\u6001\u7684\u589e\u5220\u3002\u6240\u4ee5\u6211\u4eec\u7684\u5b50\u8868\u53ea\u80fd\u6709\u4e00\u4e2a\u91c7\u96c6\u91cf\uff0c\u8fd9\u4e2a\u662f\u5173\u952e\u3002"),(0,l.yg)("p",null,"\u6211\u4eec\u76ee\u524d\u7528\u7684\u65f6\u5e8f\u6570\u636e\u5e93\u662f InfluxDB\uff0c\u6240\u4ee5\u9700\u8981\u6709\u4e2a\u4e2d\u95f4\u4ef6\uff0c\u8f6f\u5b9e\u65f6\u540c\u6b65\u5230 TDengine\u3002\u5b9e\u73b0\u601d\u8def\u4e3a\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5b9a\u65f6\u6bcf\u5206\u949f\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5bfc\u51fa InfluxDB \u6570\u636e\uff0c\u4e00\u5206\u949f\u7684\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u8bfb\u53d6\u8fd9\u4e2a\u5bfc\u51fa\u6587\u4ef6\uff0c\u5e76\u63d2\u5165\u5230 TDengine \u4e2d\uff1b")),(0,l.yg)("h3",{id:"\u538b\u6d4b"},"\u538b\u6d4b"),(0,l.yg)("p",null,"\u81ea\u5e26 taosBenchmark \u6027\u80fd\u6d4b\u8bd5\u5de5\u5177\uff0c\u53ef\u4ee5\u4f7f\u7528\u3002"),(0,l.yg)("p",null,"\u65e0\u547d\u4ee4\u884c\u53c2\u6570\u76f4\u63a5\u8fd0\u884c taosBenchmark\uff0c\u56de\u8f66\u76f4\u63a5\u6267\u884c\uff0c\u9ed8\u8ba4\u5728 TDengine \u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a test \u7684\u6570\u636e\u5e93\uff0ctest \u6570\u636e\u5e93\u4e0b\u521b\u5efa\u540d\u4e3a meters \u7684\u4e00\u5f20\u8d85\u7ea7\u8868\uff0c\u8d85\u7ea7\u8868\u4e0b\u521b\u5efa 10000 \u5f20\u8868\uff0c\u6bcf\u5f20\u8868\u4e2d\u5199\u5165 10000 \u6761\u8bb0\u5f55\u3002"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:t(68123).A,width:"1435",height:"48"}),"\n1w \u5f20\u8868\u7528\u4e86\u63a5\u8fd1 4 \u5206\u949f\u521b\u5efa\u5b8c\u6210\uff0c\u5f53\u7136\u4e86\u548c\u6d4b\u8bd5\u670d\u52a1\u5668\u7684\u673a\u68b0\u786c\u76d8\u5e94\u8be5\u6709\u5f88\u5927\u5173\u7cfb\uff1b"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:t(53906).A,width:"1237",height:"58"}),"\n\u63d2\u5165 1 \u4ebf\u8c03\u6570\u636e\u7528\u4e86 18 \u79d2\uff0c\u5f53\u7136\u4e86\u548c\u6d4b\u8bd5\u670d\u52a1\u5668\u7684\u673a\u68b0\u786c\u76d8\u5e94\u8be5\u6709\u5f88\u5927\u5173\u7cfb\uff1b"),(0,l.yg)("h3",{id:"\u5751\u70b9\u6c47\u603b"},"\u5751\u70b9\u6c47\u603b"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u793e\u533a\u7248\u672c\u4e0d\u652f\u6301\u201c\u5220\u9664\u6307\u5b9a\u65f6\u95f4\u8303\u56f4\u7684\u6570\u636e\u201d\u7684\u529f\u80fd\uff0c\u4f01\u4e1a\u7248\u624d\u652f\u6301\uff0c\u4f46\u662f\u6709\u4e9b\u7279\u6b8a\u60c5\u51b5\u8fd8\u662f\u9700\u8981\u5220\u9664\u6570\u636e\u7684\uff0c\u53ef\u4ee5\u901a\u8fc7\u589e\u52a0\u201c\u5220\u9664\u6807\u8bb0\u5b57\u6bb5\u201d\u6765\u8fc2\u56de\u5904\u7406\u8fd9\u4e2a\u95ee\u9898\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u793e\u533a\u7248\u672c\u4e0d\u652f\u6301\u201cUAF\u201d\uff0c\u4e5f\u5c31\u662f\u7528\u6237\u81ea\u5b9a\u4e49\u51fd\u6570\uff0c\u67d0\u4e9b\u7279\u6b8a\u805a\u5408\u6216\u8ba1\u7b97\u7b97\u6cd5\u65e0\u6cd5\u505a\u5230\uff0c\u4e0d\u8fc7\u793e\u533a\u7248\u672c\u63d0\u4f9b\u7684\u5df2\u7ecf\u662f\u7edd\u5bf9\u90e8\u5206\u4e86\u3002"),(0,l.yg)("li",{parentName:"ol"},"java client \u4f7f\u7528 RS \u600e\u4e48\u4e5f\u8fde\u63a5\u4e0d\u4e0a\uff0c\u540e\u6765\u53d1\u73b0\u662f\u670d\u52a1\u7aef\u6ca1\u6709\u542f\u52a8 taosadapter\uff0c\u4f7f\u7528\u547d\u4ee4 systemctl start taosadapter \u542f\u52a8\u540e\uff0cjava client \u5c31\u53ef\u4ee5\u6b63\u5e38\u8fde\u63a5\u4e86\u3002")),(0,l.yg)("h3",{id:"\u9644\u5f55"},"\u9644\u5f55"),(0,l.yg)("h4",{id:"\u5f00\u6e90\u534f\u8bae\u8bf4\u660e"},"\u5f00\u6e90\u534f\u8bae\u8bf4\u660e"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:t(26413).A,width:"750",height:"454"})))}u.isMDXComponent=!0},89792:(e,n,t)=>{t.d(n,{A:()=>a});const a=t.p+"assets/images/1-86f297ccfad12004e3b4a982a06dbdb1.png"},68123:(e,n,t)=>{t.d(n,{A:()=>a});const a=t.p+"assets/images/2-c10305180fd1dff6eef758f70d21f175.png"},53906:(e,n,t)=>{t.d(n,{A:()=>a});const a=t.p+"assets/images/3-e91119dc93e175c318646768f42457a1.png"},26413:(e,n,t)=>{t.d(n,{A:()=>a});const a=t.p+"assets/images/4-708f8212de488f91684592cc80775af3.png"}}]); \ No newline at end of file diff --git a/assets/js/39e40f36.21a750b4.js b/assets/js/39e40f36.921c89ae.js similarity index 98% rename from assets/js/39e40f36.21a750b4.js rename to assets/js/39e40f36.921c89ae.js index 2d0b2fa84..ecf92418a 100644 --- a/assets/js/39e40f36.21a750b4.js +++ b/assets/js/39e40f36.921c89ae.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9253],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),y=a,m=s["".concat(c,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(m,l(l({ref:t},p),{},{components:r})):n.createElement(m,l({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},l="Dart \u5b66\u4e60\u8d44\u6599",i={unversionedId:"study/program/Dart/\u5b66\u4e60\u8d44\u6599",id:"study/program/Dart/\u5b66\u4e60\u8d44\u6599",title:"Dart \u5b66\u4e60\u8d44\u6599",description:"\u7279\u70b9",source:"@site/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599.md",sourceDirName:"study/program/Dart",slug:"/study/program/Dart/\u5b66\u4e60\u8d44\u6599",permalink:"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Flutter",permalink:"/docs/study/program/Dart/Flutter"},next:{title:"dataX",permalink:"/docs/study/program/ETL/dataX"}},c={},u=[{value:"\u7279\u70b9",id:"\u7279\u70b9",level:3},{value:"\u5b98\u65b9\u6587\u6863",id:"\u5b98\u65b9\u6587\u6863",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"dart-\u5b66\u4e60\u8d44\u6599"},"Dart \u5b66\u4e60\u8d44\u6599"),(0,a.yg)("h3",{id:"\u7279\u70b9"},"\u7279\u70b9"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u9488\u5bf9\u5ba2\u6237\u7aef\u4f18\u5316\uff0c\u4e9a\u79d2\u7ea7\u7684\u72b6\u6001\u70ed\u91cd\u8f7d"),(0,a.yg)("li",{parentName:"ul"},"\u4f18\u5148\u8003\u8651\u591a\u5e73\u53f0 (Web\uff0c\u79fb\u52a8\u7aef\u548c\u684c\u9762\u7aef)"),(0,a.yg)("li",{parentName:"ul"},"Dart \u4e5f\u662f Flutter \u7684\u57fa\u7840"),(0,a.yg)("li",{parentName:"ul"},"\u9759\u6001\u7c7b\u578b\uff0c\u4f46\u652f\u6301\u7c7b\u578b\u63a8\u65ad"),(0,a.yg)("li",{parentName:"ul"},"\u9488\u5bf9\u9762\u5411\u79fb\u52a8\u548c\u684c\u9762\u8bbe\u5907\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c Dart \u62e5\u6709\u5177\u6709\u5b9e\u65f6 (JIT) \u7f16\u8bd1\u529f\u80fd\u7684 Dart VM \u548c\u7528\u4e8e\u751f\u6210\u673a\u5668\u4ee3\u7801\u7684\u63d0\u524d (AOT) \u7f16\u8bd1\u5668\u3002")),(0,a.yg)("h3",{id:"\u5b98\u65b9\u6587\u6863"},"\u5b98\u65b9\u6587\u6863"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://dart.cn/overview"},"dart.cn \u6587\u6863"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9253],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),y=a,m=s["".concat(c,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(m,l(l({ref:t},p),{},{components:r})):n.createElement(m,l({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},l="Dart \u5b66\u4e60\u8d44\u6599",i={unversionedId:"study/program/Dart/\u5b66\u4e60\u8d44\u6599",id:"study/program/Dart/\u5b66\u4e60\u8d44\u6599",title:"Dart \u5b66\u4e60\u8d44\u6599",description:"\u7279\u70b9",source:"@site/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599.md",sourceDirName:"study/program/Dart",slug:"/study/program/Dart/\u5b66\u4e60\u8d44\u6599",permalink:"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Flutter",permalink:"/docs/study/program/Dart/Flutter"},next:{title:"dataX",permalink:"/docs/study/program/ETL/dataX"}},c={},u=[{value:"\u7279\u70b9",id:"\u7279\u70b9",level:3},{value:"\u5b98\u65b9\u6587\u6863",id:"\u5b98\u65b9\u6587\u6863",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"dart-\u5b66\u4e60\u8d44\u6599"},"Dart \u5b66\u4e60\u8d44\u6599"),(0,a.yg)("h3",{id:"\u7279\u70b9"},"\u7279\u70b9"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u9488\u5bf9\u5ba2\u6237\u7aef\u4f18\u5316\uff0c\u4e9a\u79d2\u7ea7\u7684\u72b6\u6001\u70ed\u91cd\u8f7d"),(0,a.yg)("li",{parentName:"ul"},"\u4f18\u5148\u8003\u8651\u591a\u5e73\u53f0 (Web\uff0c\u79fb\u52a8\u7aef\u548c\u684c\u9762\u7aef)"),(0,a.yg)("li",{parentName:"ul"},"Dart \u4e5f\u662f Flutter \u7684\u57fa\u7840"),(0,a.yg)("li",{parentName:"ul"},"\u9759\u6001\u7c7b\u578b\uff0c\u4f46\u652f\u6301\u7c7b\u578b\u63a8\u65ad"),(0,a.yg)("li",{parentName:"ul"},"\u9488\u5bf9\u9762\u5411\u79fb\u52a8\u548c\u684c\u9762\u8bbe\u5907\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c Dart \u62e5\u6709\u5177\u6709\u5b9e\u65f6 (JIT) \u7f16\u8bd1\u529f\u80fd\u7684 Dart VM \u548c\u7528\u4e8e\u751f\u6210\u673a\u5668\u4ee3\u7801\u7684\u63d0\u524d (AOT) \u7f16\u8bd1\u5668\u3002")),(0,a.yg)("h3",{id:"\u5b98\u65b9\u6587\u6863"},"\u5b98\u65b9\u6587\u6863"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://dart.cn/overview"},"dart.cn \u6587\u6863"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3b2c25df.cb0e6622.js b/assets/js/3b2c25df.4ec32ffd.js similarity index 99% rename from assets/js/3b2c25df.cb0e6622.js rename to assets/js/3b2c25df.4ec32ffd.js index e9a450a93..af0d797bb 100644 --- a/assets/js/3b2c25df.cb0e6622.js +++ b/assets/js/3b2c25df.4ec32ffd.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[496],{15680:(e,t,n)=>{n.d(t,{xA:()=>s,yg:()=>m});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var i=r.createContext({}),u=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},s=function(e){var t=u(e.components);return r.createElement(i.Provider,{value:t},e.children)},y="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,i=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),y=u(n),d=a,m=y["".concat(i,".").concat(d)]||y[d]||p[d]||l;return n?r.createElement(m,c(c({ref:t},s),{},{components:n})):r.createElement(m,c({ref:t},s))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,c=new Array(l);c[0]=d;var o={};for(var i in t)hasOwnProperty.call(t,i)&&(o[i]=t[i]);o.originalType=e,o[y]="string"==typeof e?e:a,c[1]=o;for(var u=2;u{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>p,frontMatter:()=>l,metadata:()=>o,toc:()=>u});var r=n(58168),a=(n(96540),n(15680));const l={},c="MySQL \u7b14\u8bb0",o={unversionedId:"study/db/SQL/MySQL-\u7b14\u8bb0",id:"study/db/SQL/MySQL-\u7b14\u8bb0",title:"MySQL \u7b14\u8bb0",description:"WITH \u67e5\u8be2",source:"@site/docs/study/db/SQL/MySQL-\u7b14\u8bb0.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/MySQL-\u7b14\u8bb0",permalink:"/docs/study/db/SQL/MySQL-\u7b14\u8bb0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MariaDB",permalink:"/docs/study/db/SQL/MariaDB"},next:{title:"MySQL",permalink:"/docs/study/db/SQL/MySQL"}},i={},u=[{value:"WITH \u67e5\u8be2",id:"with-\u67e5\u8be2",level:3},{value:"\u9012\u5f52\u5171\u7528\u8868\u8fbe\u5f0f with recursive",id:"\u9012\u5f52\u5171\u7528\u8868\u8fbe\u5f0f-with-recursive",level:3},{value:"\u4e8b\u4ef6/\u5b9a\u65f6\u4efb\u52a1",id:"\u4e8b\u4ef6\u5b9a\u65f6\u4efb\u52a1",level:3},{value:"\u53c2\u8003\u6587\u6863",id:"\u53c2\u8003\u6587\u6863",level:3}],s={toc:u},y="wrapper";function p(e){let{components:t,...n}=e;return(0,a.yg)(y,(0,r.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"mysql-\u7b14\u8bb0"},"MySQL \u7b14\u8bb0"),(0,a.yg)("h3",{id:"with-\u67e5\u8be2"},"WITH \u67e5\u8be2"),(0,a.yg)("p",null,"MySQL \u8bed\u53e5 WITH \u662f MySQL 8.0 \u4e2d\u7684\u4e00\u4e2a\u65b0\u7279\u6027\uff0c\u7528\u4e8e\u5e2e\u52a9\u7b80\u5316\u590d\u6742\u67e5\u8be2\u4ee5\u53ca\u63d0\u9ad8\u67e5\u8be2\u6548\u7387\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u67e5\u8be2\u90fd\u9700\u8981\u591a\u6b21\u5d4c\u5957\u4f7f\u7528\uff0c\u8fd9\u5bfc\u81f4\u67e5\u8be2\u8bed\u53e5\u5199\u5f97\u5f88\u957f\u4e14\u96be\u4ee5\u7ef4\u62a4\u3002WITH \u8bed\u53e5\u5c31\u662f\u7528\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\uff0c\u5b83\u662f\u4e00\u79cd\u4e34\u65f6\u8868\u7684\u65b9\u5f0f\uff0c\u5f97\u5230\u7684\u7ed3\u679c\u96c6\u53ef\u4ee5\u4f5c\u4e3a\u67e5\u8be2\u7684\u7ed3\u679c\u96c6\u3002\u5728 WITH \u8bed\u53e5\u4e2d\uff0c\u53ef\u4ee5\u5b9a\u4e49\u591a\u4e2a\u522b\u540d\uff0c\u7136\u540e\u5d4c\u5957\u4f7f\u7528\u3002"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sql"},"WITH t1 AS (\n SELECT col1 FROM table1\n),\nt2 as (\n SELECT col1 FROM table2\n)\n--\u4f7f\u7528\nSELECT * FROM t1 INNER JOIN t2 ON t1.col1 = t2.col1;\n")),(0,a.yg)("p",null,"\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e24\u5f20\u8868\uff0ct1 \u548c t2\uff0c\u7136\u540e\u4f7f\u7528\u4e86\u8fd9\u4e24\u5f20\u8868\u6765\u8fdb\u884c\u67e5\u8be2\uff0c\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u907f\u514d\u5728\u67e5\u8be2\u8bed\u53e5\u4e2d\u591a\u6b21\u5d4c\u5957\u4f7f\u7528\u76f8\u540c\u7684\u5b50\u67e5\u8be2\uff0c\u5e76\u4e14\u4e5f\u4e0d\u9700\u8981\u4e3a\u6bcf\u4e2a\u67e5\u8be2\u5b9a\u4e49\u4e00\u4e2a\u4e34\u65f6\u8868\u3002"),(0,a.yg)("p",null,"with \u7279\u6027\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"with \u5176\u5b9e\u5c31\u662f\u4e00\u4e2a\u5b50\u67e5\u8be2\u62bd\u53d6\u51fa\u6765\uff0c\u6362\u4e86\u4e00\u4e2a\u522b\u540d"),(0,a.yg)("li",{parentName:"ul"},"\u548c\u89c6\u56fe\u7684\u533a\u522b\uff1awith as \u7b49\u540c\u4e8e\u4e00\u6b21\u6027\u89c6\u56fe\uff0c\u53ea\u4f1a\u6301\u7eed\u5230\u4e0b\u4e00\u4e2a\u67e5\u8be2\u3002\u5728\u4e4b\u540e\u5c31\u4e0d\u80fd\u518d\u88ab\u5f15\u7528"),(0,a.yg)("li",{parentName:"ul"},"\u4e3b\u8981\u7528\u4e8e\u7b80\u5316\u590d\u6742\u7684 \u6570\u636e\u96c6 \u548c \u9012\u5f52")),(0,a.yg)("p",null,"\u5176\u5b9e WITH \u8868\u8fbe\u5f0f\u9664\u4e86\u548c SELECT \u4e00\u8d77\u7528\uff0c \u8fd8\u53ef\u4ee5\u6709\u4e0b\u9762\u7684\u7ec4\u5408\uff1a"),(0,a.yg)("p",null,"insert with \u3001with update\u3001with delete\u3001with with\u3001with recursive(\u53ef\u4ee5\u6a21\u62df\u6570\u5b57\u3001\u65e5\u671f\u7b49\u5e8f\u5217)\u3001WITH \u53ef\u4ee5\u5b9a\u4e49\u591a\u5f20\u8868"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sql"},"with_clause:\n WITH [RECURSIVE]\n cte_name [(col_name [, col_name] ...)] AS (subquery)\n [, cte_name [(col_name [, col_name] ...)] AS (subquery)] ...\n")),(0,a.yg)("h3",{id:"\u9012\u5f52\u5171\u7528\u8868\u8fbe\u5f0f-with-recursive"},"\u9012\u5f52\u5171\u7528\u8868\u8fbe\u5f0f with recursive"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sql"},"WITH RECURSIVE cte (n) AS\n(\n SELECT 1\n UNION ALL\n SELECT n + 1 FROM cte WHERE n < 5\n)\nSELECT * FROM cte;\n")),(0,a.yg)("h3",{id:"\u4e8b\u4ef6\u5b9a\u65f6\u4efb\u52a1"},"\u4e8b\u4ef6/\u5b9a\u65f6\u4efb\u52a1"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sql"},"-- \u5148\u68c0\u67e5\u662f\u5426\u5f00\u542f \u4e00\u822c\u90fd\u662f\u9ed8\u8ba4\u5173\u95ed\u7684\nshow variables like 'event%'\nset global event_scheduler=on;\n--\nCREATE EVENT handle_server_count_schedule\nON SCHEDULE EVERY 10 SECOND\nSTARTS '2024-03-13 00:00:00.000'\nON COMPLETION NOT PRESERVE\nENABLE\nDO begin\nupdate server_count set COUNT = COUNT + (FLOOR(RAND() * 100) + 1)\nwhere REGION_ID in(1,2) and TENANT_NAME in('\u8054\u901a\u4fe1\u521b\u4e91','\u6d6a\u6f6e\u653f\u52a1\u4e91');\nEND\n")),(0,a.yg)("h3",{id:"\u53c2\u8003\u6587\u6863"},"\u53c2\u8003\u6587\u6863"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://halo.sherlocky.com/archives/mysql-8-cte"},"MySQL 8.0 with \u8bed\u6cd5(cte)")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://dev.mysql.com/doc/refman/8.0/en/preface.html"},"MySQL 8.0 \u5b98\u65b9\u6587\u6863"))))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[496],{15680:(e,t,n)=>{n.d(t,{xA:()=>s,yg:()=>m});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var i=r.createContext({}),u=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},s=function(e){var t=u(e.components);return r.createElement(i.Provider,{value:t},e.children)},y="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,i=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),y=u(n),d=a,m=y["".concat(i,".").concat(d)]||y[d]||p[d]||l;return n?r.createElement(m,c(c({ref:t},s),{},{components:n})):r.createElement(m,c({ref:t},s))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,c=new Array(l);c[0]=d;var o={};for(var i in t)hasOwnProperty.call(t,i)&&(o[i]=t[i]);o.originalType=e,o[y]="string"==typeof e?e:a,c[1]=o;for(var u=2;u{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>p,frontMatter:()=>l,metadata:()=>o,toc:()=>u});var r=n(58168),a=(n(96540),n(15680));const l={},c="MySQL \u7b14\u8bb0",o={unversionedId:"study/db/SQL/MySQL-\u7b14\u8bb0",id:"study/db/SQL/MySQL-\u7b14\u8bb0",title:"MySQL \u7b14\u8bb0",description:"WITH \u67e5\u8be2",source:"@site/docs/study/db/SQL/MySQL-\u7b14\u8bb0.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/MySQL-\u7b14\u8bb0",permalink:"/docs/study/db/SQL/MySQL-\u7b14\u8bb0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MariaDB",permalink:"/docs/study/db/SQL/MariaDB"},next:{title:"MySQL",permalink:"/docs/study/db/SQL/MySQL"}},i={},u=[{value:"WITH \u67e5\u8be2",id:"with-\u67e5\u8be2",level:3},{value:"\u9012\u5f52\u5171\u7528\u8868\u8fbe\u5f0f with recursive",id:"\u9012\u5f52\u5171\u7528\u8868\u8fbe\u5f0f-with-recursive",level:3},{value:"\u4e8b\u4ef6/\u5b9a\u65f6\u4efb\u52a1",id:"\u4e8b\u4ef6\u5b9a\u65f6\u4efb\u52a1",level:3},{value:"\u53c2\u8003\u6587\u6863",id:"\u53c2\u8003\u6587\u6863",level:3}],s={toc:u},y="wrapper";function p(e){let{components:t,...n}=e;return(0,a.yg)(y,(0,r.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"mysql-\u7b14\u8bb0"},"MySQL \u7b14\u8bb0"),(0,a.yg)("h3",{id:"with-\u67e5\u8be2"},"WITH \u67e5\u8be2"),(0,a.yg)("p",null,"MySQL \u8bed\u53e5 WITH \u662f MySQL 8.0 \u4e2d\u7684\u4e00\u4e2a\u65b0\u7279\u6027\uff0c\u7528\u4e8e\u5e2e\u52a9\u7b80\u5316\u590d\u6742\u67e5\u8be2\u4ee5\u53ca\u63d0\u9ad8\u67e5\u8be2\u6548\u7387\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u67e5\u8be2\u90fd\u9700\u8981\u591a\u6b21\u5d4c\u5957\u4f7f\u7528\uff0c\u8fd9\u5bfc\u81f4\u67e5\u8be2\u8bed\u53e5\u5199\u5f97\u5f88\u957f\u4e14\u96be\u4ee5\u7ef4\u62a4\u3002WITH \u8bed\u53e5\u5c31\u662f\u7528\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\uff0c\u5b83\u662f\u4e00\u79cd\u4e34\u65f6\u8868\u7684\u65b9\u5f0f\uff0c\u5f97\u5230\u7684\u7ed3\u679c\u96c6\u53ef\u4ee5\u4f5c\u4e3a\u67e5\u8be2\u7684\u7ed3\u679c\u96c6\u3002\u5728 WITH \u8bed\u53e5\u4e2d\uff0c\u53ef\u4ee5\u5b9a\u4e49\u591a\u4e2a\u522b\u540d\uff0c\u7136\u540e\u5d4c\u5957\u4f7f\u7528\u3002"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sql"},"WITH t1 AS (\n SELECT col1 FROM table1\n),\nt2 as (\n SELECT col1 FROM table2\n)\n--\u4f7f\u7528\nSELECT * FROM t1 INNER JOIN t2 ON t1.col1 = t2.col1;\n")),(0,a.yg)("p",null,"\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e24\u5f20\u8868\uff0ct1 \u548c t2\uff0c\u7136\u540e\u4f7f\u7528\u4e86\u8fd9\u4e24\u5f20\u8868\u6765\u8fdb\u884c\u67e5\u8be2\uff0c\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u907f\u514d\u5728\u67e5\u8be2\u8bed\u53e5\u4e2d\u591a\u6b21\u5d4c\u5957\u4f7f\u7528\u76f8\u540c\u7684\u5b50\u67e5\u8be2\uff0c\u5e76\u4e14\u4e5f\u4e0d\u9700\u8981\u4e3a\u6bcf\u4e2a\u67e5\u8be2\u5b9a\u4e49\u4e00\u4e2a\u4e34\u65f6\u8868\u3002"),(0,a.yg)("p",null,"with \u7279\u6027\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"with \u5176\u5b9e\u5c31\u662f\u4e00\u4e2a\u5b50\u67e5\u8be2\u62bd\u53d6\u51fa\u6765\uff0c\u6362\u4e86\u4e00\u4e2a\u522b\u540d"),(0,a.yg)("li",{parentName:"ul"},"\u548c\u89c6\u56fe\u7684\u533a\u522b\uff1awith as \u7b49\u540c\u4e8e\u4e00\u6b21\u6027\u89c6\u56fe\uff0c\u53ea\u4f1a\u6301\u7eed\u5230\u4e0b\u4e00\u4e2a\u67e5\u8be2\u3002\u5728\u4e4b\u540e\u5c31\u4e0d\u80fd\u518d\u88ab\u5f15\u7528"),(0,a.yg)("li",{parentName:"ul"},"\u4e3b\u8981\u7528\u4e8e\u7b80\u5316\u590d\u6742\u7684 \u6570\u636e\u96c6 \u548c \u9012\u5f52")),(0,a.yg)("p",null,"\u5176\u5b9e WITH \u8868\u8fbe\u5f0f\u9664\u4e86\u548c SELECT \u4e00\u8d77\u7528\uff0c \u8fd8\u53ef\u4ee5\u6709\u4e0b\u9762\u7684\u7ec4\u5408\uff1a"),(0,a.yg)("p",null,"insert with \u3001with update\u3001with delete\u3001with with\u3001with recursive(\u53ef\u4ee5\u6a21\u62df\u6570\u5b57\u3001\u65e5\u671f\u7b49\u5e8f\u5217)\u3001WITH \u53ef\u4ee5\u5b9a\u4e49\u591a\u5f20\u8868"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sql"},"with_clause:\n WITH [RECURSIVE]\n cte_name [(col_name [, col_name] ...)] AS (subquery)\n [, cte_name [(col_name [, col_name] ...)] AS (subquery)] ...\n")),(0,a.yg)("h3",{id:"\u9012\u5f52\u5171\u7528\u8868\u8fbe\u5f0f-with-recursive"},"\u9012\u5f52\u5171\u7528\u8868\u8fbe\u5f0f with recursive"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sql"},"WITH RECURSIVE cte (n) AS\n(\n SELECT 1\n UNION ALL\n SELECT n + 1 FROM cte WHERE n < 5\n)\nSELECT * FROM cte;\n")),(0,a.yg)("h3",{id:"\u4e8b\u4ef6\u5b9a\u65f6\u4efb\u52a1"},"\u4e8b\u4ef6/\u5b9a\u65f6\u4efb\u52a1"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sql"},"-- \u5148\u68c0\u67e5\u662f\u5426\u5f00\u542f \u4e00\u822c\u90fd\u662f\u9ed8\u8ba4\u5173\u95ed\u7684\nshow variables like 'event%'\nset global event_scheduler=on;\n--\nCREATE EVENT handle_server_count_schedule\nON SCHEDULE EVERY 10 SECOND\nSTARTS '2024-03-13 00:00:00.000'\nON COMPLETION NOT PRESERVE\nENABLE\nDO begin\nupdate server_count set COUNT = COUNT + (FLOOR(RAND() * 100) + 1)\nwhere REGION_ID in(1,2) and TENANT_NAME in('\u8054\u901a\u4fe1\u521b\u4e91','\u6d6a\u6f6e\u653f\u52a1\u4e91');\nEND\n")),(0,a.yg)("h3",{id:"\u53c2\u8003\u6587\u6863"},"\u53c2\u8003\u6587\u6863"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://halo.sherlocky.com/archives/mysql-8-cte"},"MySQL 8.0 with \u8bed\u6cd5(cte)")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://dev.mysql.com/doc/refman/8.0/en/preface.html"},"MySQL 8.0 \u5b98\u65b9\u6587\u6863"))))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3b47b6b5.a901dfa6.js b/assets/js/3b47b6b5.2ba27ee7.js similarity index 98% rename from assets/js/3b47b6b5.a901dfa6.js rename to assets/js/3b47b6b5.2ba27ee7.js index a77c18545..3dc55516f 100644 --- a/assets/js/3b47b6b5.a901dfa6.js +++ b/assets/js/3b47b6b5.2ba27ee7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9688],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",l={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),u=p(r),f=o,y=u["".concat(s,".").concat(f)]||u[f]||l[f]||a;return r?n.createElement(y,i(i({ref:t},d),{},{components:r})):n.createElement(y,i({ref:t},d))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>l,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"study/hard/index",id:"study/hard/index",title:"\u6982\u8ff0",description:"",source:"@site/docs/study/hard/index.md",sourceDirName:"study/hard",slug:"/study/hard/",permalink:"/docs/study/hard/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",permalink:"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7"},next:{title:"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",permalink:"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a"}},s={},p=[],d={toc:p},u="wrapper";function l(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"))}l.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9688],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",l={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),u=p(r),f=o,y=u["".concat(s,".").concat(f)]||u[f]||l[f]||a;return r?n.createElement(y,i(i({ref:t},d),{},{components:r})):n.createElement(y,i({ref:t},d))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>l,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"study/hard/index",id:"study/hard/index",title:"\u6982\u8ff0",description:"",source:"@site/docs/study/hard/index.md",sourceDirName:"study/hard",slug:"/study/hard/",permalink:"/docs/study/hard/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",permalink:"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7"},next:{title:"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",permalink:"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a"}},s={},p=[],d={toc:p},u="wrapper";function l(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3bd11cc0.b2cd458f.js b/assets/js/3bd11cc0.e59a26ef.js similarity index 98% rename from assets/js/3bd11cc0.b2cd458f.js rename to assets/js/3bd11cc0.e59a26ef.js index cba7cbe68..d5c1833fe 100644 --- a/assets/js/3bd11cc0.b2cd458f.js +++ b/assets/js/3bd11cc0.e59a26ef.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4816],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>d});var n=r(96540);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(c[r]=e[r]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}var s=n.createContext({}),i=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},l=function(e){var t=i(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,c=e.mdxType,a=e.originalType,s=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),u=i(r),y=c,d=u["".concat(s,".").concat(y)]||u[y]||g[y]||a;return r?n.createElement(d,o(o({ref:t},l),{},{components:r})):n.createElement(d,o({ref:t},l))}));function d(e,t){var r=arguments,c=t&&t.mdxType;if("string"==typeof e||c){var a=r.length,o=new Array(a);o[0]=y;var p={};for(var s in t)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p[u]="string"==typeof e?e:c,o[1]=p;for(var i=2;i{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>g,frontMatter:()=>a,metadata:()=>p,toc:()=>i});var n=r(58168),c=(r(96540),r(15680));const a={},o=void 0,p={unversionedId:"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526",id:"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526",title:"\u9519\u8bef\u6392\u9664\u96c6\u9526",description:"\u5185\u5b58\u4e0d\u8db3\uff0c\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25",source:"@site/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526.md",sourceDirName:"study/back",slug:"/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526",permalink:"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"log4jdbc",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/db/"}},s={},i=[{value:"\u5185\u5b58\u4e0d\u8db3\uff0c\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25",id:"\u5185\u5b58\u4e0d\u8db3\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25",level:3}],l={toc:i},u="wrapper";function g(e){let{components:t,...r}=e;return(0,c.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,c.yg)("h3",{id:"\u5185\u5b58\u4e0d\u8db3\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25"},"\u5185\u5b58\u4e0d\u8db3\uff0c\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25"),(0,c.yg)("p",null,"HTTP\u8bf7\u6c42\u4e0a\u4f20\u6587\u4ef6"),(0,c.yg)("p",null,"\u62a5\u9519\u5982\u4e0b"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"2024-05-09 11:09:36.896 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO c.s.c.p.b.s.s.service.impl.ServiceInfoServiceImpl - start upload image fi\nle to remote ---\n2024-05-09 11:09:38.672 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - I/O exception (java.net.Socket\nException) caught when processing request to {s}->https://10.20.37.101:18086: Connection reset\n2024-05-09 11:09:38.673 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - Retrying request to {s}->https\n://10.20.37.101:18086\n2024-05-09 11:09:40.552 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - I/O exception (java.net.Socket\nException) caught when processing request to {s}->https://10.20.37.101:18086: Connection reset\n2024-05-09 11:09:40.552 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - Retrying request to {s}->https\n://10.20.37.101:18086\n2024-05-09 11:09:42.355 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - I/O exception (java.net.Socket\nException) caught when processing request to {s}->https://10.20.37.101:18086: Connection reset\n2024-05-09 11:09:42.355 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - Retrying request to {s}->https\n://10.20.37.101:18086\n")),(0,c.yg)("p",null,"\u5bbf\u4e3b\u673aserver\u7aef\u7684\u5185\u5b58\u4e0d\u8db3\uff0c\u6bd4\u4e0a\u4f20\u7684\u6587\u4ef6\u8981\u5c0f\uff0c\u5bfc\u81f4\u65e0\u6cd5\u63a5\u53d7\uff0c\u4ece\u800c\u76f4\u63a5\u65ad\u8054\u4e86HTTP\u8bf7\u6c42\u3002"))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4816],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>d});var n=r(96540);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(c[r]=e[r]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}var s=n.createContext({}),i=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},l=function(e){var t=i(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,c=e.mdxType,a=e.originalType,s=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),u=i(r),y=c,d=u["".concat(s,".").concat(y)]||u[y]||g[y]||a;return r?n.createElement(d,o(o({ref:t},l),{},{components:r})):n.createElement(d,o({ref:t},l))}));function d(e,t){var r=arguments,c=t&&t.mdxType;if("string"==typeof e||c){var a=r.length,o=new Array(a);o[0]=y;var p={};for(var s in t)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p[u]="string"==typeof e?e:c,o[1]=p;for(var i=2;i{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>g,frontMatter:()=>a,metadata:()=>p,toc:()=>i});var n=r(58168),c=(r(96540),r(15680));const a={},o=void 0,p={unversionedId:"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526",id:"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526",title:"\u9519\u8bef\u6392\u9664\u96c6\u9526",description:"\u5185\u5b58\u4e0d\u8db3\uff0c\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25",source:"@site/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526.md",sourceDirName:"study/back",slug:"/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526",permalink:"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"log4jdbc",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/db/"}},s={},i=[{value:"\u5185\u5b58\u4e0d\u8db3\uff0c\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25",id:"\u5185\u5b58\u4e0d\u8db3\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25",level:3}],l={toc:i},u="wrapper";function g(e){let{components:t,...r}=e;return(0,c.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,c.yg)("h3",{id:"\u5185\u5b58\u4e0d\u8db3\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25"},"\u5185\u5b58\u4e0d\u8db3\uff0c\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25"),(0,c.yg)("p",null,"HTTP\u8bf7\u6c42\u4e0a\u4f20\u6587\u4ef6"),(0,c.yg)("p",null,"\u62a5\u9519\u5982\u4e0b"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"2024-05-09 11:09:36.896 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO c.s.c.p.b.s.s.service.impl.ServiceInfoServiceImpl - start upload image fi\nle to remote ---\n2024-05-09 11:09:38.672 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - I/O exception (java.net.Socket\nException) caught when processing request to {s}->https://10.20.37.101:18086: Connection reset\n2024-05-09 11:09:38.673 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - Retrying request to {s}->https\n://10.20.37.101:18086\n2024-05-09 11:09:40.552 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - I/O exception (java.net.Socket\nException) caught when processing request to {s}->https://10.20.37.101:18086: Connection reset\n2024-05-09 11:09:40.552 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - Retrying request to {s}->https\n://10.20.37.101:18086\n2024-05-09 11:09:42.355 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - I/O exception (java.net.Socket\nException) caught when processing request to {s}->https://10.20.37.101:18086: Connection reset\n2024-05-09 11:09:42.355 [ccsp-aggregate-pt,TASK,6727263067663369608,] [task-2] INFO org.apache.http.impl.execchain.RetryExec - Retrying request to {s}->https\n://10.20.37.101:18086\n")),(0,c.yg)("p",null,"\u5bbf\u4e3b\u673aserver\u7aef\u7684\u5185\u5b58\u4e0d\u8db3\uff0c\u6bd4\u4e0a\u4f20\u7684\u6587\u4ef6\u8981\u5c0f\uff0c\u5bfc\u81f4\u65e0\u6cd5\u63a5\u53d7\uff0c\u4ece\u800c\u76f4\u63a5\u65ad\u8054\u4e86HTTP\u8bf7\u6c42\u3002"))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3c356cd2.89f099de.js b/assets/js/3c356cd2.27ec33f6.js similarity index 99% rename from assets/js/3c356cd2.89f099de.js rename to assets/js/3c356cd2.27ec33f6.js index f32bf68c9..b3d888a9b 100644 --- a/assets/js/3c356cd2.89f099de.js +++ b/assets/js/3c356cd2.27ec33f6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2582],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),d=o,f=s["".concat(i,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,l(l({ref:t},u),{},{components:r})):n.createElement(f,l({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:o,l[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,c={unversionedId:"study/net/\u5185\u7f51\u7a7f\u900f",id:"study/net/\u5185\u7f51\u7a7f\u900f",title:"\u5185\u7f51\u7a7f\u900f",description:"\u5185\u7f51\u7a7f\u900f",source:"@site/docs/study/net/\u5185\u7f51\u7a7f\u900f.md",sourceDirName:"study/net",slug:"/study/net/\u5185\u7f51\u7a7f\u900f",permalink:"/docs/study/net/\u5185\u7f51\u7a7f\u900f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4ee3\u7406",permalink:"/docs/study/net/\u4ee3\u7406"},next:{title:"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",permalink:"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4"}},i={},p=[{value:"\u5185\u7f51\u7a7f\u900f",id:"\u5185\u7f51\u7a7f\u900f",level:3},{value:"\u5185\u7f51\u7a7f\u900f\u539f\u7406",id:"\u5185\u7f51\u7a7f\u900f\u539f\u7406",level:3},{value:"\u7ade\u54c1\u5206\u6790",id:"\u7ade\u54c1\u5206\u6790",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5185\u7f51\u7a7f\u900f"},"\u5185\u7f51\u7a7f\u900f"),(0,o.yg)("p",null,"\u5185\u7f51\uff0c\u5c31\u662f\u5728\u516c\u53f8\u6216\u8005\u5bb6\u5ead\u5185\u90e8\uff0c\u5efa\u7acb\u7684\u5c40\u57df\u7f51\u7edc\u6216\u8005\u662f\u529e\u516c\u7f51\u7edc\uff0c\u53ef\u4ee5\u5b9e\u73b0\u591a\u53f0\u7535\u8111\u4e4b\u95f4\u7684\u8d44\u6e90\u5171\u4eab\uff0c\u5305\u62ec\u8bbe\u5907\u3001\u8d44\u6599\u3001\u6570\u636e\u7b49\u3002\u800c\u5916\u7f51\u5219\u662f\u901a\u8fc7\u4e00\u4e2a\u7f51\u5173\u4e0e\u5176\u5b83\u7684\u7f51\u7edc\u7cfb\u7edf\u8fde\u63a5\uff0c\u76f8\u5bf9\u4e8e\u5185\u7f51\u800c\u8a00\uff0c\u8fd9\u79cd\u7f51\u7edc\u7cfb\u7edf\u79f0\u4e4b\u4e3a\u5916\u90e8\u7f51\u7edc\uff0c\u5e38\u89c1\u7684\u5c31\u662f\u6211\u4eec\u65e5\u5e38\u4f7f\u7528\u7684\u4e92\u8054\u7f51\u3002"),(0,o.yg)("p",null,"\u4e00\u822c\u800c\u8a00\uff0c\u5728\u6ca1\u6709\u56fa\u5b9a\u516c\u7f51 IP \u7684\u60c5\u51b5\u4e0b\uff0c\u5916\u7f51\u8bbe\u5907\u65e0\u6cd5\u76f4\u63a5\u8bbf\u95ee\u5185\u7f51\u8bbe\u5907\u3002\u800c\u5185\u7f51\u7a7f\u900f\u6280\u672f\uff0c\u987e\u540d\u601d\u4e49\u5c31\u662f\u80fd\u8ba9\u5916\u7f51\u7684\u8bbe\u5907\u627e\u5230\u5904\u4e8e\u5185\u7f51\u7684\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u6570\u636e\u901a\u4fe1\u3002"),(0,o.yg)("h3",{id:"\u5185\u7f51\u7a7f\u900f\u539f\u7406"},"\u5185\u7f51\u7a7f\u900f\u539f\u7406"),(0,o.yg)("p",null,"\u5185\u7f51\u7a7f\u900f\uff0c\u53c8\u79f0\u4e3a NAT \u7a7f\u900f\u3002NAT \u80cc\u540e\u7684\u8bbe\u5907\uff0c\u5b83\u4eec\u7684\u4e3b\u8981\u7279\u70b9\u662f \uff0c\u53ef\u4ee5\u8bbf\u95ee\u5916\u7f51\uff0c\u4f46\u4e0d\u80fd\u88ab\u5916\u7f51\u8bbe\u5907\u6709\u6548\u8bbf\u95ee\u3002\u57fa\u4e8e\u8fd9\u4e00\u7279\u70b9\uff0cNAT \u7a7f\u900f\u6280\u672f\u662f\u8ba9 NAT \u80cc\u540e\u7684\u8bbe\u5907\uff0c\u5148\u8bbf\u95ee\u6307\u5b9a\u7684\u5916\u7f51\u670d\u52a1\u5668\uff0c\u7531\u6307\u5b9a\u7684\u5916\u7f51\u670d\u52a1\u5668\u642d\u5efa\u6865\u6881\uff0c\u6253\u901a\u5185\u3001\u5916\u7f51\u8bbe\u5907\u7684\u8bbf\u95ee\u901a\u9053\uff0c\u5b9e\u73b0\u5916\u7f51\u8bbe\u5907\u8bbf\u95ee\u5230\u5185\u7f51\u8bbe\u5907\u3002"),(0,o.yg)("p",null,"\u8be5\u6280\u672f\u9664\u4e86\u53ef\u4ee5\u8bbf\u95ee\u9690\u85cf\u5728 NAT \u540e\u7684\u8bbe\u5907\uff0c\u540c\u6837\u53ef\u4ee5\u7a7f\u900f\u9632\u706b\u5899\u3002\u8fd9\u662f\u56e0\u4e3a\u9632\u706b\u5899\u4e00\u822c\u53ea\u62e6\u622a\u4e86\u5165\u7ad9\u6ca1\u6709\u62e6\u622a\u51fa\u7ad9\uff0c\u6240\u4ee5\u4e5f\u53ef\u4ee5\u8ba9\u9632\u706b\u5899\u5185\u7684\u8bbe\u5907\u5bf9\u5916\u63d0\u4f9b\u670d\u52a1\u3002"),(0,o.yg)("p",null,"\u7531\u4e8e\u5185\u7f51\u8bbe\u5907\u5e76\u4e0d\u662f\u4e0e\u5916\u7f51\u8bbe\u5907\u76f4\u63a5\u76f8\u8fde\uff0c\u6240\u4ee5\u5728\u5b89\u5168\u6027\u4e0a\u662f\u6bcb\u5eb8\u7f6e\u7591\u7684\uff0c\u5185\u7f51\u7a7f\u900f\u53ef\u4ee5\u8bf4\u662f\u5b89\u5168\u4e0e\u6548\u7387\u517c\u5f97\u3002"),(0,o.yg)("h3",{id:"\u7ade\u54c1\u5206\u6790"},"\u7ade\u54c1\u5206\u6790"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://hsk.oray.com/"},"https://hsk.oray.com/")," \u82b1\u751f\u58f3 8 \u4ee5\u82af\u6362\u65b0\uff0c\u8ba9\u5185\u7f51\u7a7f\u900f\u66f4\u7b80\u5355"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.cpolar.com/"},"https://www.cpolar.com/")," \u6df1\u8015\u5185\u7f51\u7a7f\u900f\u9886\u57df")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2582],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),d=o,f=s["".concat(i,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,l(l({ref:t},u),{},{components:r})):n.createElement(f,l({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:o,l[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,c={unversionedId:"study/net/\u5185\u7f51\u7a7f\u900f",id:"study/net/\u5185\u7f51\u7a7f\u900f",title:"\u5185\u7f51\u7a7f\u900f",description:"\u5185\u7f51\u7a7f\u900f",source:"@site/docs/study/net/\u5185\u7f51\u7a7f\u900f.md",sourceDirName:"study/net",slug:"/study/net/\u5185\u7f51\u7a7f\u900f",permalink:"/docs/study/net/\u5185\u7f51\u7a7f\u900f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4ee3\u7406",permalink:"/docs/study/net/\u4ee3\u7406"},next:{title:"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",permalink:"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4"}},i={},p=[{value:"\u5185\u7f51\u7a7f\u900f",id:"\u5185\u7f51\u7a7f\u900f",level:3},{value:"\u5185\u7f51\u7a7f\u900f\u539f\u7406",id:"\u5185\u7f51\u7a7f\u900f\u539f\u7406",level:3},{value:"\u7ade\u54c1\u5206\u6790",id:"\u7ade\u54c1\u5206\u6790",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5185\u7f51\u7a7f\u900f"},"\u5185\u7f51\u7a7f\u900f"),(0,o.yg)("p",null,"\u5185\u7f51\uff0c\u5c31\u662f\u5728\u516c\u53f8\u6216\u8005\u5bb6\u5ead\u5185\u90e8\uff0c\u5efa\u7acb\u7684\u5c40\u57df\u7f51\u7edc\u6216\u8005\u662f\u529e\u516c\u7f51\u7edc\uff0c\u53ef\u4ee5\u5b9e\u73b0\u591a\u53f0\u7535\u8111\u4e4b\u95f4\u7684\u8d44\u6e90\u5171\u4eab\uff0c\u5305\u62ec\u8bbe\u5907\u3001\u8d44\u6599\u3001\u6570\u636e\u7b49\u3002\u800c\u5916\u7f51\u5219\u662f\u901a\u8fc7\u4e00\u4e2a\u7f51\u5173\u4e0e\u5176\u5b83\u7684\u7f51\u7edc\u7cfb\u7edf\u8fde\u63a5\uff0c\u76f8\u5bf9\u4e8e\u5185\u7f51\u800c\u8a00\uff0c\u8fd9\u79cd\u7f51\u7edc\u7cfb\u7edf\u79f0\u4e4b\u4e3a\u5916\u90e8\u7f51\u7edc\uff0c\u5e38\u89c1\u7684\u5c31\u662f\u6211\u4eec\u65e5\u5e38\u4f7f\u7528\u7684\u4e92\u8054\u7f51\u3002"),(0,o.yg)("p",null,"\u4e00\u822c\u800c\u8a00\uff0c\u5728\u6ca1\u6709\u56fa\u5b9a\u516c\u7f51 IP \u7684\u60c5\u51b5\u4e0b\uff0c\u5916\u7f51\u8bbe\u5907\u65e0\u6cd5\u76f4\u63a5\u8bbf\u95ee\u5185\u7f51\u8bbe\u5907\u3002\u800c\u5185\u7f51\u7a7f\u900f\u6280\u672f\uff0c\u987e\u540d\u601d\u4e49\u5c31\u662f\u80fd\u8ba9\u5916\u7f51\u7684\u8bbe\u5907\u627e\u5230\u5904\u4e8e\u5185\u7f51\u7684\u8bbe\u5907\uff0c\u4ece\u800c\u5b9e\u73b0\u6570\u636e\u901a\u4fe1\u3002"),(0,o.yg)("h3",{id:"\u5185\u7f51\u7a7f\u900f\u539f\u7406"},"\u5185\u7f51\u7a7f\u900f\u539f\u7406"),(0,o.yg)("p",null,"\u5185\u7f51\u7a7f\u900f\uff0c\u53c8\u79f0\u4e3a NAT \u7a7f\u900f\u3002NAT \u80cc\u540e\u7684\u8bbe\u5907\uff0c\u5b83\u4eec\u7684\u4e3b\u8981\u7279\u70b9\u662f \uff0c\u53ef\u4ee5\u8bbf\u95ee\u5916\u7f51\uff0c\u4f46\u4e0d\u80fd\u88ab\u5916\u7f51\u8bbe\u5907\u6709\u6548\u8bbf\u95ee\u3002\u57fa\u4e8e\u8fd9\u4e00\u7279\u70b9\uff0cNAT \u7a7f\u900f\u6280\u672f\u662f\u8ba9 NAT \u80cc\u540e\u7684\u8bbe\u5907\uff0c\u5148\u8bbf\u95ee\u6307\u5b9a\u7684\u5916\u7f51\u670d\u52a1\u5668\uff0c\u7531\u6307\u5b9a\u7684\u5916\u7f51\u670d\u52a1\u5668\u642d\u5efa\u6865\u6881\uff0c\u6253\u901a\u5185\u3001\u5916\u7f51\u8bbe\u5907\u7684\u8bbf\u95ee\u901a\u9053\uff0c\u5b9e\u73b0\u5916\u7f51\u8bbe\u5907\u8bbf\u95ee\u5230\u5185\u7f51\u8bbe\u5907\u3002"),(0,o.yg)("p",null,"\u8be5\u6280\u672f\u9664\u4e86\u53ef\u4ee5\u8bbf\u95ee\u9690\u85cf\u5728 NAT \u540e\u7684\u8bbe\u5907\uff0c\u540c\u6837\u53ef\u4ee5\u7a7f\u900f\u9632\u706b\u5899\u3002\u8fd9\u662f\u56e0\u4e3a\u9632\u706b\u5899\u4e00\u822c\u53ea\u62e6\u622a\u4e86\u5165\u7ad9\u6ca1\u6709\u62e6\u622a\u51fa\u7ad9\uff0c\u6240\u4ee5\u4e5f\u53ef\u4ee5\u8ba9\u9632\u706b\u5899\u5185\u7684\u8bbe\u5907\u5bf9\u5916\u63d0\u4f9b\u670d\u52a1\u3002"),(0,o.yg)("p",null,"\u7531\u4e8e\u5185\u7f51\u8bbe\u5907\u5e76\u4e0d\u662f\u4e0e\u5916\u7f51\u8bbe\u5907\u76f4\u63a5\u76f8\u8fde\uff0c\u6240\u4ee5\u5728\u5b89\u5168\u6027\u4e0a\u662f\u6bcb\u5eb8\u7f6e\u7591\u7684\uff0c\u5185\u7f51\u7a7f\u900f\u53ef\u4ee5\u8bf4\u662f\u5b89\u5168\u4e0e\u6548\u7387\u517c\u5f97\u3002"),(0,o.yg)("h3",{id:"\u7ade\u54c1\u5206\u6790"},"\u7ade\u54c1\u5206\u6790"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://hsk.oray.com/"},"https://hsk.oray.com/")," \u82b1\u751f\u58f3 8 \u4ee5\u82af\u6362\u65b0\uff0c\u8ba9\u5185\u7f51\u7a7f\u900f\u66f4\u7b80\u5355"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.cpolar.com/"},"https://www.cpolar.com/")," \u6df1\u8015\u5185\u7f51\u7a7f\u900f\u9886\u57df")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3c4f1597.b1ff4fa3.js b/assets/js/3c4f1597.96ddd86c.js similarity index 98% rename from assets/js/3c4f1597.b1ff4fa3.js rename to assets/js/3c4f1597.96ddd86c.js index 9255ad6b8..6b8f38aad 100644 --- a/assets/js/3c4f1597.b1ff4fa3.js +++ b/assets/js/3c4f1597.96ddd86c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3845],{15680:(t,e,r)=>{r.d(e,{xA:()=>c,yg:()=>y});var n=r(96540);function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var l=n.createContext({}),u=function(t){var e=n.useContext(l),r=e;return t&&(r="function"==typeof t?t(e):p(p({},e),t)),r},c=function(t){var e=u(t.components);return n.createElement(l.Provider,{value:e},t.children)},s="mdxType",f={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},d=n.forwardRef((function(t,e){var r=t.components,i=t.mdxType,o=t.originalType,l=t.parentName,c=a(t,["components","mdxType","originalType","parentName"]),s=u(r),d=i,y=s["".concat(l,".").concat(d)]||s[d]||f[d]||o;return r?n.createElement(y,p(p({ref:e},c),{},{components:r})):n.createElement(y,p({ref:e},c))}));function y(t,e){var r=arguments,i=e&&e.mdxType;if("string"==typeof t||i){var o=r.length,p=new Array(o);p[0]=d;var a={};for(var l in e)hasOwnProperty.call(e,l)&&(a[l]=e[l]);a.originalType=t,a[s]="string"==typeof t?t:i,p[1]=a;for(var u=2;u{r.r(e),r.d(e,{assets:()=>l,contentTitle:()=>p,default:()=>f,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var n=r(58168),i=(r(96540),r(15680));const o={},p=void 0,a={unversionedId:"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t",id:"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t",title:"size_t-ptrdiff_t-intptr_t-uintptr_t",description:"- size_t",source:"@site/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t.md",sourceDirName:"study/program/C",slug:"/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t",permalink:"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"pragma",permalink:"/docs/study/program/C/pragma"},next:{title:"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",permalink:"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93"}},l={},u=[],c={toc:u},s="wrapper";function f(t){let{components:e,...r}=t;return(0,i.yg)(s,(0,n.A)({},c,r,{components:e,mdxType:"MDXLayout"}),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"size_t")),(0,i.yg)("p",null,"size_t \u662f\u65e0\u7b26\u53f7\u6574\u6570\u7c7b\u578b\uff0c\u8fd9\u662f sizeof \u64cd\u4f5c\u7b26\u7ed3\u679c\u7684\u7c7b\u578b\u3002\u5982\u679c\u8bbe\u5907\u7684\u5730\u5740\u7a7a\u95f4\u4e3a 32 \u4f4d\uff0c\u8fd9\u5c31\u662f\u4e00\u4e2a 32 \u4f4d\u65e0\u7b26\u53f7\u6574\u6570\uff1b\u5982\u679c\u8bbe\u5907\u7684\u5730\u5740\u7a7a\u95f4\u662f 64 \u4f4d\uff0c\u8fd9\u5c31\u662f\u4e00\u4e2a 64 \u4f4d\u65e0\u7b26\u53f7\u6574\u6570\u3002\u6362\u800c\u8a00\u4e4b\uff0c\u4e00\u4e2a size_t \u7c7b\u578b\u7684\u53d8\u91cf\u80fd\u591f\u5b89\u5168\u4fdd\u5b58\u4e00\u4e2a\u6307\u9488\uff08\u552f\u4e00\u7684\u4f8b\u5916\u662f\u6307\u5411\u7c7b\u51fd\u6570\u7684\u6307\u9488\uff09\u3002size_t \u901a\u5e38\u7528\u4e8e loop \u8ba1\u6570\u5668\uff0c\u6570\u7ec4\u7d22\u5f15\u548c\u5730\u5740\u7b97\u6570\u3002"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"ptrdiff_t")),(0,i.yg)("p",null,"ptrdiff_t \u662f\u6709\u7b26\u53f7\u6574\u6570\u7c7b\u578b\uff0c\u8fd9\u662f\u4e24\u4e2a\u6307\u9488\u76f8\u51cf\u7ed3\u679c\u7684\u7c7b\u578b\u3002\u5982\u679c\u8bbe\u5907\u7684\u5730\u5740\u7a7a\u95f4\u4e3a 32 \u4f4d\uff0c\u8fd9\u5c31\u662f\u4e00\u4e2a 32 \u4f4d\u6709\u7b26\u53f7\u6574\u6570\uff1b\u5982\u679c\u8bbe\u5907\u7684\u5730\u5740\u7a7a\u95f4\u662f 64 \u4f4d\uff0c\u8fd9\u5c31\u662f\u4e00\u4e2a 64 \u4f4d\u6709\u7b26\u53f7\u6574\u6570\u3002\u4e0e size_t \u4e00\u6837\uff0cptrdiff_t \u80fd\u5b89\u5168\u5b58\u50a8\u9664\u7c7b\u51fd\u6570\u6307\u9488\u5916\u7684\u6307\u9488\u3002"),(0,i.yg)("p",null,"size_t \u548c ptr_diff \u7684\u5927\u5c0f\u603b\u662f\u548c\u6307\u9488\u7684\u5927\u5c0f\u4e00\u81f4\uff0c\u56e0\u6b64\u9002\u5408\u7528\u6765\u7d22\u5f15\u5927\u6570\u7ec4\u3001\u5b58\u50a8\u6307\u9488\u4ee5\u53ca\u6307\u9488\u8fd0\u7b97\u7b49\u3002"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"intptr_t")),(0,i.yg)("p",null,"\u6709\u7b26\u53f7\u6574\u6570\u7c7b\u578b\uff0c\u5b83\u6709\u4e00\u4e2a\u6027\u8d28\uff0c\u4efb\u4f55\u6307\u5411 void \u7684\u5408\u6cd5\u6307\u9488\u90fd\u53ef\u4ee5\u8f6c\u5316\u4e3a\u8fd9\u4e2a\u7c7b\u578b\uff0c\u7136\u540e\u8fd8\u53ef\u4ee5\u518d\u8f6c\u6362\u56de\u6307\u5411 void \u7684\u6307\u9488\uff0c\u5176\u7ed3\u679c\u4e0e\u539f\u6307\u9488\u6bd4\u8f83\u662f\u76f8\u7b49\u7684\u3002"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"uintptr_t")),(0,i.yg)("p",null,"\u65e0\u7b26\u53f7\u6574\u6570\u7c7b\u578b\uff0c\u5b83\u6709\u4e00\u4e2a\u6027\u8d28\uff0c\u4efb\u4f55\u6307\u5411 void \u7684\u5408\u6cd5\u6307\u9488\u90fd\u53ef\u4ee5\u8f6c\u5316\u4e3a\u8fd9\u4e2a\u7c7b\u578b\uff0c\u7136\u540e\u8fd8\u53ef\u4ee5\u518d\u8f6c\u6362\u56de\u6307\u5411 void \u7684\u6307\u9488\uff0c\u5176\u7ed3\u679c\u4e0e\u539f\u6307\u9488\u6bd4\u8f83\u662f\u76f8\u7b49\u7684\u3002"))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3845],{15680:(t,e,r)=>{r.d(e,{xA:()=>c,yg:()=>y});var n=r(96540);function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var l=n.createContext({}),u=function(t){var e=n.useContext(l),r=e;return t&&(r="function"==typeof t?t(e):p(p({},e),t)),r},c=function(t){var e=u(t.components);return n.createElement(l.Provider,{value:e},t.children)},s="mdxType",f={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},d=n.forwardRef((function(t,e){var r=t.components,i=t.mdxType,o=t.originalType,l=t.parentName,c=a(t,["components","mdxType","originalType","parentName"]),s=u(r),d=i,y=s["".concat(l,".").concat(d)]||s[d]||f[d]||o;return r?n.createElement(y,p(p({ref:e},c),{},{components:r})):n.createElement(y,p({ref:e},c))}));function y(t,e){var r=arguments,i=e&&e.mdxType;if("string"==typeof t||i){var o=r.length,p=new Array(o);p[0]=d;var a={};for(var l in e)hasOwnProperty.call(e,l)&&(a[l]=e[l]);a.originalType=t,a[s]="string"==typeof t?t:i,p[1]=a;for(var u=2;u{r.r(e),r.d(e,{assets:()=>l,contentTitle:()=>p,default:()=>f,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var n=r(58168),i=(r(96540),r(15680));const o={},p=void 0,a={unversionedId:"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t",id:"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t",title:"size_t-ptrdiff_t-intptr_t-uintptr_t",description:"- size_t",source:"@site/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t.md",sourceDirName:"study/program/C",slug:"/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t",permalink:"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"pragma",permalink:"/docs/study/program/C/pragma"},next:{title:"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",permalink:"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93"}},l={},u=[],c={toc:u},s="wrapper";function f(t){let{components:e,...r}=t;return(0,i.yg)(s,(0,n.A)({},c,r,{components:e,mdxType:"MDXLayout"}),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"size_t")),(0,i.yg)("p",null,"size_t \u662f\u65e0\u7b26\u53f7\u6574\u6570\u7c7b\u578b\uff0c\u8fd9\u662f sizeof \u64cd\u4f5c\u7b26\u7ed3\u679c\u7684\u7c7b\u578b\u3002\u5982\u679c\u8bbe\u5907\u7684\u5730\u5740\u7a7a\u95f4\u4e3a 32 \u4f4d\uff0c\u8fd9\u5c31\u662f\u4e00\u4e2a 32 \u4f4d\u65e0\u7b26\u53f7\u6574\u6570\uff1b\u5982\u679c\u8bbe\u5907\u7684\u5730\u5740\u7a7a\u95f4\u662f 64 \u4f4d\uff0c\u8fd9\u5c31\u662f\u4e00\u4e2a 64 \u4f4d\u65e0\u7b26\u53f7\u6574\u6570\u3002\u6362\u800c\u8a00\u4e4b\uff0c\u4e00\u4e2a size_t \u7c7b\u578b\u7684\u53d8\u91cf\u80fd\u591f\u5b89\u5168\u4fdd\u5b58\u4e00\u4e2a\u6307\u9488\uff08\u552f\u4e00\u7684\u4f8b\u5916\u662f\u6307\u5411\u7c7b\u51fd\u6570\u7684\u6307\u9488\uff09\u3002size_t \u901a\u5e38\u7528\u4e8e loop \u8ba1\u6570\u5668\uff0c\u6570\u7ec4\u7d22\u5f15\u548c\u5730\u5740\u7b97\u6570\u3002"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"ptrdiff_t")),(0,i.yg)("p",null,"ptrdiff_t \u662f\u6709\u7b26\u53f7\u6574\u6570\u7c7b\u578b\uff0c\u8fd9\u662f\u4e24\u4e2a\u6307\u9488\u76f8\u51cf\u7ed3\u679c\u7684\u7c7b\u578b\u3002\u5982\u679c\u8bbe\u5907\u7684\u5730\u5740\u7a7a\u95f4\u4e3a 32 \u4f4d\uff0c\u8fd9\u5c31\u662f\u4e00\u4e2a 32 \u4f4d\u6709\u7b26\u53f7\u6574\u6570\uff1b\u5982\u679c\u8bbe\u5907\u7684\u5730\u5740\u7a7a\u95f4\u662f 64 \u4f4d\uff0c\u8fd9\u5c31\u662f\u4e00\u4e2a 64 \u4f4d\u6709\u7b26\u53f7\u6574\u6570\u3002\u4e0e size_t \u4e00\u6837\uff0cptrdiff_t \u80fd\u5b89\u5168\u5b58\u50a8\u9664\u7c7b\u51fd\u6570\u6307\u9488\u5916\u7684\u6307\u9488\u3002"),(0,i.yg)("p",null,"size_t \u548c ptr_diff \u7684\u5927\u5c0f\u603b\u662f\u548c\u6307\u9488\u7684\u5927\u5c0f\u4e00\u81f4\uff0c\u56e0\u6b64\u9002\u5408\u7528\u6765\u7d22\u5f15\u5927\u6570\u7ec4\u3001\u5b58\u50a8\u6307\u9488\u4ee5\u53ca\u6307\u9488\u8fd0\u7b97\u7b49\u3002"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"intptr_t")),(0,i.yg)("p",null,"\u6709\u7b26\u53f7\u6574\u6570\u7c7b\u578b\uff0c\u5b83\u6709\u4e00\u4e2a\u6027\u8d28\uff0c\u4efb\u4f55\u6307\u5411 void \u7684\u5408\u6cd5\u6307\u9488\u90fd\u53ef\u4ee5\u8f6c\u5316\u4e3a\u8fd9\u4e2a\u7c7b\u578b\uff0c\u7136\u540e\u8fd8\u53ef\u4ee5\u518d\u8f6c\u6362\u56de\u6307\u5411 void \u7684\u6307\u9488\uff0c\u5176\u7ed3\u679c\u4e0e\u539f\u6307\u9488\u6bd4\u8f83\u662f\u76f8\u7b49\u7684\u3002"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"uintptr_t")),(0,i.yg)("p",null,"\u65e0\u7b26\u53f7\u6574\u6570\u7c7b\u578b\uff0c\u5b83\u6709\u4e00\u4e2a\u6027\u8d28\uff0c\u4efb\u4f55\u6307\u5411 void \u7684\u5408\u6cd5\u6307\u9488\u90fd\u53ef\u4ee5\u8f6c\u5316\u4e3a\u8fd9\u4e2a\u7c7b\u578b\uff0c\u7136\u540e\u8fd8\u53ef\u4ee5\u518d\u8f6c\u6362\u56de\u6307\u5411 void \u7684\u6307\u9488\uff0c\u5176\u7ed3\u679c\u4e0e\u539f\u6307\u9488\u6bd4\u8f83\u662f\u76f8\u7b49\u7684\u3002"))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3e116dbc.0ee0e5ea.js b/assets/js/3e116dbc.9b314323.js similarity index 99% rename from assets/js/3e116dbc.0ee0e5ea.js rename to assets/js/3e116dbc.9b314323.js index 17c9a3961..36d12dbda 100644 --- a/assets/js/3e116dbc.0ee0e5ea.js +++ b/assets/js/3e116dbc.9b314323.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[822],{15680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>f});var r=t(96540);function c(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(c[t]=e[t]);return c}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(c[t]=e[t])}return c}var p=r.createContext({}),l=function(e){var n=r.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},s=function(e){var n=l(e.components);return r.createElement(p.Provider,{value:n},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var t=e.components,c=e.mdxType,o=e.originalType,p=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),u=l(t),d=c,f=u["".concat(p,".").concat(d)]||u[d]||m[d]||o;return t?r.createElement(f,i(i({ref:n},s),{},{components:t})):r.createElement(f,i({ref:n},s))}));function f(e,n){var t=arguments,c=n&&n.mdxType;if("string"==typeof e||c){var o=t.length,i=new Array(o);i[0]=d;var a={};for(var p in n)hasOwnProperty.call(n,p)&&(a[p]=n[p]);a.originalType=e,a[u]="string"==typeof e?e:c,i[1]=a;for(var l=2;l{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>i,default:()=>m,frontMatter:()=>o,metadata:()=>a,toc:()=>l});var r=t(58168),c=(t(96540),t(15680));const o={},i=void 0,a={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",id:"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",title:"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",description:"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u81ea\u542f",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f"},next:{title:"SHELL",permalink:"/docs/study/devops/SHELL"}},p={},l=[{value:"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26",id:"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26",level:3},{value:"max-file",id:"max-file",level:3},{value:"\u5185\u6838\u53c2\u6570\u4f18\u5316/etc/sysctl.conf",id:"\u5185\u6838\u53c2\u6570\u4f18\u5316etcsysctlconf",level:3}],s={toc:l},u="wrapper";function m(e){let{components:n,...t}=e;return(0,c.yg)(u,(0,r.A)({},s,t,{components:n,mdxType:"MDXLayout"}),(0,c.yg)("h3",{id:"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26"},"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26"),(0,c.yg)("p",null,"ulimit -n \u63a7\u5236\u8fdb\u7a0b\u7ea7\u522b\u80fd\u591f\u6253\u5f00\u7684\u6587\u4ef6\u53e5\u67c4\u7684\u6570\u91cf\u3002\u63d0\u4f9b\u5bf9shell\u53ca\u5176\u542f\u52a8\u7684\u8fdb\u7a0b\u7684\u53ef\u7528\u6587\u4ef6\u53e5\u67c4\u7684\u63a7\u5236\u3002\u8fd9\u662f\u8fdb\u7a0b\u7ea7\u522b\u7684\u3002"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'#\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26 100W\nulimit -SHn 1000000 \necho "ulimit -SHn 1000000" >> /etc/rc.d/rc.local \nsource /etc/rc.d/rc.local\nulimit -n\n\n')),(0,c.yg)("h3",{id:"max-file"},"max-file"),(0,c.yg)("h3",{id:""}),(0,c.yg)("p",null,"\u8868\u793a\u7cfb\u7edf\u7ea7\u522b\u7684\u80fd\u591f\u6253\u5f00\u7684\u6587\u4ef6\u53e5\u67c4\u7684\u6570\u91cf\u3002\u662f\u5bf9\u6574\u4e2a\u7cfb\u7edf\u7684\u9650\u5236\uff0c\u5e76\u4e0d\u662f\u9488\u5bf9\u7528\u6237\u7684\u3002"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u7cfb\u7edf\u7ea7\u522b\u7684\u80fd\u591f\u6253\u5f00\u7684\u6587\u4ef6\u53e5\u67c4\u7684\u6570\u91cf\uff0cCentos7\u9ed8\u8ba4\u662f794168\ncat /proc/sys/fs/file-max\n#\nvim /etc/sysctl.conf\n#\nfs.file-max = 1000000\n#\u7136\u540e\u6267\u884c\u547d\u4ee4\uff0c\u4f7f\u4fee\u6539\u914d\u7f6e\u7acb\u5373\u751f\u6548\uff1a\nsysctl -p\n")),(0,c.yg)("h3",{id:"\u5185\u6838\u53c2\u6570\u4f18\u5316etcsysctlconf"},"\u5185\u6838\u53c2\u6570\u4f18\u5316/etc/sysctl.conf"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\u5173\u95edipv6\nnet.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.default.disable_ipv6 = 1\n\n#\u51b3\u5b9a\u68c0\u67e5\u8fc7\u671f\u591a\u4e45\u90bb\u5c45\u6761\u76ee\nnet.ipv4.neigh.default.gc_stale_time=120\n\n#\u4f7f\u7528arp_announce / arp_ignore\u89e3\u51b3ARP\u6620\u5c04\u95ee\u9898\nnet.ipv4.conf.default.arp_announce = 2\nnet.ipv4.conf.all.arp_announce=2\nnet.ipv4.conf.lo.arp_announce=2 # \u907f\u514d\u653e\u5927\u653b\u51fb\nnet.ipv4.icmp_echo_ignore_broadcasts = 1 # \u5f00\u542f\u6076\u610ficmp\u9519\u8bef\u6d88\u606f\u4fdd\u62a4\nnet.ipv4.icmp_ignore_bogus_error_responses = 1\n\n#\u5904\u7406\u65e0\u6e90\u8def\u7531\u7684\u5305\nnet.ipv4.conf.all.accept_source_route = 0\nnet.ipv4.conf.default.accept_source_route = 0\n\n#core\u6587\u4ef6\u540d\u4e2d\u6dfb\u52a0pid\u4f5c\u4e3a\u6269\u5c55\u540d\nkernel.core_uses_pid = 1 # \u5f00\u542fSYN\u6d2a\u6c34\u653b\u51fb\u4fdd\u62a4\nnet.ipv4.tcp_syncookies = 1\n\n#\u4fee\u6539\u6d88\u606f\u961f\u5217\u957f\u5ea6\nkernel.msgmnb = 65536\nkernel.msgmax = 65536\n\n#timewait\u7684\u6570\u91cf\uff0c\u9ed8\u8ba4180000\nnet.ipv4.tcp_max_tw_buckets = 6000\nnet.ipv4.tcp_sack = 1\nnet.ipv4.tcp_window_scaling = 1\nnet.ipv4.tcp_rmem = 4096 87380 4194304\nnet.ipv4.tcp_wmem = 4096 16384 4194304\nnet.core.wmem_default = 8388608\nnet.core.rmem_default = 8388608\nnet.core.rmem_max = 16777216\nnet.core.wmem_max = 16777216\n\n#\u9650\u5236\u4ec5\u4ec5\u662f\u4e3a\u4e86\u9632\u6b62\u7b80\u5355\u7684DoS \u653b\u51fb\nnet.ipv4.tcp_max_orphans = 3276800\n\n#\u672a\u6536\u5230\u5ba2\u6237\u7aef\u786e\u8ba4\u4fe1\u606f\u7684\u8fde\u63a5\u8bf7\u6c42\u7684\u6700\u5927\u503c\nnet.ipv4.tcp_max_syn_backlog = 262144\nnet.ipv4.tcp_timestamps = 0\n\n#\u5185\u6838\u653e\u5f03\u5efa\u7acb\u8fde\u63a5\u4e4b\u524d\u53d1\u9001SYNACK \u5305\u7684\u6570\u91cf\nnet.ipv4.tcp_synack_retries = 1\n\n#\u5185\u6838\u653e\u5f03\u5efa\u7acb\u8fde\u63a5\u4e4b\u524d\u53d1\u9001SYN \u5305\u7684\u6570\u91cf\nnet.ipv4.tcp_syn_retries = 1\n\n#\u542f\u7528timewait \u5feb\u901f\u56de\u6536\nnet.ipv4.tcp_tw_recycle = 1\n\n#\u5f00\u542f\u91cd\u7528\u3002\u5141\u8bb8\u5c06TIME-WAIT sockets \u91cd\u65b0\u7528\u4e8e\u65b0\u7684TCP \u8fde\u63a5\nnet.ipv4.tcp_tw_reuse = 1\nnet.ipv4.tcp_mem = 94500000 915000000 927000000\nnet.ipv4.tcp_fin_timeout = 1\n\n#\u7136\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u91cd\u8f7d\u914d\u7f6e\nsysctl -p\n")))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[822],{15680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>f});var r=t(96540);function c(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(c[t]=e[t]);return c}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(c[t]=e[t])}return c}var p=r.createContext({}),l=function(e){var n=r.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},s=function(e){var n=l(e.components);return r.createElement(p.Provider,{value:n},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var t=e.components,c=e.mdxType,o=e.originalType,p=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),u=l(t),d=c,f=u["".concat(p,".").concat(d)]||u[d]||m[d]||o;return t?r.createElement(f,i(i({ref:n},s),{},{components:t})):r.createElement(f,i({ref:n},s))}));function f(e,n){var t=arguments,c=n&&n.mdxType;if("string"==typeof e||c){var o=t.length,i=new Array(o);i[0]=d;var a={};for(var p in n)hasOwnProperty.call(n,p)&&(a[p]=n[p]);a.originalType=e,a[u]="string"==typeof e?e:c,i[1]=a;for(var l=2;l{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>i,default:()=>m,frontMatter:()=>o,metadata:()=>a,toc:()=>l});var r=t(58168),c=(t(96540),t(15680));const o={},i=void 0,a={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",id:"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",title:"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",description:"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u81ea\u542f",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f"},next:{title:"SHELL",permalink:"/docs/study/devops/SHELL"}},p={},l=[{value:"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26",id:"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26",level:3},{value:"max-file",id:"max-file",level:3},{value:"\u5185\u6838\u53c2\u6570\u4f18\u5316/etc/sysctl.conf",id:"\u5185\u6838\u53c2\u6570\u4f18\u5316etcsysctlconf",level:3}],s={toc:l},u="wrapper";function m(e){let{components:n,...t}=e;return(0,c.yg)(u,(0,r.A)({},s,t,{components:n,mdxType:"MDXLayout"}),(0,c.yg)("h3",{id:"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26"},"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26"),(0,c.yg)("p",null,"ulimit -n \u63a7\u5236\u8fdb\u7a0b\u7ea7\u522b\u80fd\u591f\u6253\u5f00\u7684\u6587\u4ef6\u53e5\u67c4\u7684\u6570\u91cf\u3002\u63d0\u4f9b\u5bf9shell\u53ca\u5176\u542f\u52a8\u7684\u8fdb\u7a0b\u7684\u53ef\u7528\u6587\u4ef6\u53e5\u67c4\u7684\u63a7\u5236\u3002\u8fd9\u662f\u8fdb\u7a0b\u7ea7\u522b\u7684\u3002"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},'#\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26 100W\nulimit -SHn 1000000 \necho "ulimit -SHn 1000000" >> /etc/rc.d/rc.local \nsource /etc/rc.d/rc.local\nulimit -n\n\n')),(0,c.yg)("h3",{id:"max-file"},"max-file"),(0,c.yg)("h3",{id:""}),(0,c.yg)("p",null,"\u8868\u793a\u7cfb\u7edf\u7ea7\u522b\u7684\u80fd\u591f\u6253\u5f00\u7684\u6587\u4ef6\u53e5\u67c4\u7684\u6570\u91cf\u3002\u662f\u5bf9\u6574\u4e2a\u7cfb\u7edf\u7684\u9650\u5236\uff0c\u5e76\u4e0d\u662f\u9488\u5bf9\u7528\u6237\u7684\u3002"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u7cfb\u7edf\u7ea7\u522b\u7684\u80fd\u591f\u6253\u5f00\u7684\u6587\u4ef6\u53e5\u67c4\u7684\u6570\u91cf\uff0cCentos7\u9ed8\u8ba4\u662f794168\ncat /proc/sys/fs/file-max\n#\nvim /etc/sysctl.conf\n#\nfs.file-max = 1000000\n#\u7136\u540e\u6267\u884c\u547d\u4ee4\uff0c\u4f7f\u4fee\u6539\u914d\u7f6e\u7acb\u5373\u751f\u6548\uff1a\nsysctl -p\n")),(0,c.yg)("h3",{id:"\u5185\u6838\u53c2\u6570\u4f18\u5316etcsysctlconf"},"\u5185\u6838\u53c2\u6570\u4f18\u5316/etc/sysctl.conf"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"#\u5173\u95edipv6\nnet.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.default.disable_ipv6 = 1\n\n#\u51b3\u5b9a\u68c0\u67e5\u8fc7\u671f\u591a\u4e45\u90bb\u5c45\u6761\u76ee\nnet.ipv4.neigh.default.gc_stale_time=120\n\n#\u4f7f\u7528arp_announce / arp_ignore\u89e3\u51b3ARP\u6620\u5c04\u95ee\u9898\nnet.ipv4.conf.default.arp_announce = 2\nnet.ipv4.conf.all.arp_announce=2\nnet.ipv4.conf.lo.arp_announce=2 # \u907f\u514d\u653e\u5927\u653b\u51fb\nnet.ipv4.icmp_echo_ignore_broadcasts = 1 # \u5f00\u542f\u6076\u610ficmp\u9519\u8bef\u6d88\u606f\u4fdd\u62a4\nnet.ipv4.icmp_ignore_bogus_error_responses = 1\n\n#\u5904\u7406\u65e0\u6e90\u8def\u7531\u7684\u5305\nnet.ipv4.conf.all.accept_source_route = 0\nnet.ipv4.conf.default.accept_source_route = 0\n\n#core\u6587\u4ef6\u540d\u4e2d\u6dfb\u52a0pid\u4f5c\u4e3a\u6269\u5c55\u540d\nkernel.core_uses_pid = 1 # \u5f00\u542fSYN\u6d2a\u6c34\u653b\u51fb\u4fdd\u62a4\nnet.ipv4.tcp_syncookies = 1\n\n#\u4fee\u6539\u6d88\u606f\u961f\u5217\u957f\u5ea6\nkernel.msgmnb = 65536\nkernel.msgmax = 65536\n\n#timewait\u7684\u6570\u91cf\uff0c\u9ed8\u8ba4180000\nnet.ipv4.tcp_max_tw_buckets = 6000\nnet.ipv4.tcp_sack = 1\nnet.ipv4.tcp_window_scaling = 1\nnet.ipv4.tcp_rmem = 4096 87380 4194304\nnet.ipv4.tcp_wmem = 4096 16384 4194304\nnet.core.wmem_default = 8388608\nnet.core.rmem_default = 8388608\nnet.core.rmem_max = 16777216\nnet.core.wmem_max = 16777216\n\n#\u9650\u5236\u4ec5\u4ec5\u662f\u4e3a\u4e86\u9632\u6b62\u7b80\u5355\u7684DoS \u653b\u51fb\nnet.ipv4.tcp_max_orphans = 3276800\n\n#\u672a\u6536\u5230\u5ba2\u6237\u7aef\u786e\u8ba4\u4fe1\u606f\u7684\u8fde\u63a5\u8bf7\u6c42\u7684\u6700\u5927\u503c\nnet.ipv4.tcp_max_syn_backlog = 262144\nnet.ipv4.tcp_timestamps = 0\n\n#\u5185\u6838\u653e\u5f03\u5efa\u7acb\u8fde\u63a5\u4e4b\u524d\u53d1\u9001SYNACK \u5305\u7684\u6570\u91cf\nnet.ipv4.tcp_synack_retries = 1\n\n#\u5185\u6838\u653e\u5f03\u5efa\u7acb\u8fde\u63a5\u4e4b\u524d\u53d1\u9001SYN \u5305\u7684\u6570\u91cf\nnet.ipv4.tcp_syn_retries = 1\n\n#\u542f\u7528timewait \u5feb\u901f\u56de\u6536\nnet.ipv4.tcp_tw_recycle = 1\n\n#\u5f00\u542f\u91cd\u7528\u3002\u5141\u8bb8\u5c06TIME-WAIT sockets \u91cd\u65b0\u7528\u4e8e\u65b0\u7684TCP \u8fde\u63a5\nnet.ipv4.tcp_tw_reuse = 1\nnet.ipv4.tcp_mem = 94500000 915000000 927000000\nnet.ipv4.tcp_fin_timeout = 1\n\n#\u7136\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u91cd\u8f7d\u914d\u7f6e\nsysctl -p\n")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3eef7308.9c65c0c8.js b/assets/js/3eef7308.7e5182a2.js similarity index 98% rename from assets/js/3eef7308.9c65c0c8.js rename to assets/js/3eef7308.7e5182a2.js index 23dbf51ed..7ca002b46 100644 --- a/assets/js/3eef7308.9c65c0c8.js +++ b/assets/js/3eef7308.7e5182a2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1956],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),c=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(u.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),d=c(r),y=o,f=d["".concat(u,".").concat(y)]||d[y]||s[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[d]="string"==typeof e?e:o,i[1]=l;for(var c=2;c{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,l={unversionedId:"study/net/UDP",id:"study/net/UDP",title:"UDP",description:"UDP",source:"@site/docs/study/net/UDP.md",sourceDirName:"study/net",slug:"/study/net/UDP",permalink:"/docs/study/net/UDP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TCP",permalink:"/docs/study/net/TCP"},next:{title:"VLAN-VXLAN",permalink:"/docs/study/net/VLAN-VXLAN"}},u={},c=[{value:"UDP",id:"udp",level:3},{value:"\u57fa\u4e8e UDP \u7684\u53ef\u9760\u6027\u534f\u8bae",id:"\u57fa\u4e8e-udp-\u7684\u53ef\u9760\u6027\u534f\u8bae",level:3},{value:"QUIC",id:"quic",level:4},{value:"RUDP",id:"rudp",level:4},{value:"RTP",id:"rtp",level:4},{value:"UDT",id:"udt",level:4}],p={toc:c},d="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"udp"},"UDP"),(0,o.yg)("p",null,"UDP (User Datagram Protocol) \u662f\u4e00\u79cd\u65e0\u8fde\u63a5\u7684\u7f51\u7edc\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u4e0d\u4fdd\u8bc1\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u548c\u987a\u5e8f\uff0c\u4f46\u5177\u6709\u9ad8\u6548\u3001\u4f4e\u5ef6\u8fdf\u548c\u7075\u6d3b\u7684\u7279\u70b9\u3002UDP \u5e38\u7528\u4e8e\u5b9e\u65f6\u901a\u4fe1\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982\u97f3\u9891\u3001\u89c6\u9891\u548c\u5728\u7ebf\u6e38\u620f\u7b49\u3002\u7531\u4e8e UDP \u5c06\u6570\u636e\u5305\u53d1\u9001\u5230\u76ee\u6807\u5730\u5740\uff0c\u800c\u4e0d\u9700\u8981\u5efa\u7acb\u8fde\u63a5\uff0c\u56e0\u6b64\u5b83\u6bd4 TCP \u66f4\u52a0\u7b80\u5355\u3001\u8f7b\u91cf\u7ea7\u548c\u5feb\u901f\u3002\u4f46\u662f\uff0c\u7531\u4e8e\u5b83\u4e0d\u63d0\u4f9b\u6570\u636e\u5b8c\u6574\u6027\u68c0\u67e5\u548c\u91cd\u4f20\u673a\u5236\uff0c\u56e0\u6b64\u5728\u4e00\u4e9b\u5e94\u7528\u573a\u666f\u4e0b\u53ef\u80fd\u4f1a\u51fa\u73b0\u6570\u636e\u4e22\u5931\u6216\u9519\u8bef\u7684\u95ee\u9898\u3002"),(0,o.yg)("h3",{id:"\u57fa\u4e8e-udp-\u7684\u53ef\u9760\u6027\u534f\u8bae"},"\u57fa\u4e8e UDP \u7684\u53ef\u9760\u6027\u534f\u8bae"),(0,o.yg)("h4",{id:"quic"},"QUIC"),(0,o.yg)("h4",{id:"rudp"},"RUDP"),(0,o.yg)("h4",{id:"rtp"},"RTP"),(0,o.yg)("h4",{id:"udt"},"UDT"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1956],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),c=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(u.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),d=c(r),y=o,f=d["".concat(u,".").concat(y)]||d[y]||s[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[d]="string"==typeof e?e:o,i[1]=l;for(var c=2;c{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,l={unversionedId:"study/net/UDP",id:"study/net/UDP",title:"UDP",description:"UDP",source:"@site/docs/study/net/UDP.md",sourceDirName:"study/net",slug:"/study/net/UDP",permalink:"/docs/study/net/UDP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TCP",permalink:"/docs/study/net/TCP"},next:{title:"VLAN-VXLAN",permalink:"/docs/study/net/VLAN-VXLAN"}},u={},c=[{value:"UDP",id:"udp",level:3},{value:"\u57fa\u4e8e UDP \u7684\u53ef\u9760\u6027\u534f\u8bae",id:"\u57fa\u4e8e-udp-\u7684\u53ef\u9760\u6027\u534f\u8bae",level:3},{value:"QUIC",id:"quic",level:4},{value:"RUDP",id:"rudp",level:4},{value:"RTP",id:"rtp",level:4},{value:"UDT",id:"udt",level:4}],p={toc:c},d="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"udp"},"UDP"),(0,o.yg)("p",null,"UDP (User Datagram Protocol) \u662f\u4e00\u79cd\u65e0\u8fde\u63a5\u7684\u7f51\u7edc\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u4e0d\u4fdd\u8bc1\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u548c\u987a\u5e8f\uff0c\u4f46\u5177\u6709\u9ad8\u6548\u3001\u4f4e\u5ef6\u8fdf\u548c\u7075\u6d3b\u7684\u7279\u70b9\u3002UDP \u5e38\u7528\u4e8e\u5b9e\u65f6\u901a\u4fe1\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982\u97f3\u9891\u3001\u89c6\u9891\u548c\u5728\u7ebf\u6e38\u620f\u7b49\u3002\u7531\u4e8e UDP \u5c06\u6570\u636e\u5305\u53d1\u9001\u5230\u76ee\u6807\u5730\u5740\uff0c\u800c\u4e0d\u9700\u8981\u5efa\u7acb\u8fde\u63a5\uff0c\u56e0\u6b64\u5b83\u6bd4 TCP \u66f4\u52a0\u7b80\u5355\u3001\u8f7b\u91cf\u7ea7\u548c\u5feb\u901f\u3002\u4f46\u662f\uff0c\u7531\u4e8e\u5b83\u4e0d\u63d0\u4f9b\u6570\u636e\u5b8c\u6574\u6027\u68c0\u67e5\u548c\u91cd\u4f20\u673a\u5236\uff0c\u56e0\u6b64\u5728\u4e00\u4e9b\u5e94\u7528\u573a\u666f\u4e0b\u53ef\u80fd\u4f1a\u51fa\u73b0\u6570\u636e\u4e22\u5931\u6216\u9519\u8bef\u7684\u95ee\u9898\u3002"),(0,o.yg)("h3",{id:"\u57fa\u4e8e-udp-\u7684\u53ef\u9760\u6027\u534f\u8bae"},"\u57fa\u4e8e UDP \u7684\u53ef\u9760\u6027\u534f\u8bae"),(0,o.yg)("h4",{id:"quic"},"QUIC"),(0,o.yg)("h4",{id:"rudp"},"RUDP"),(0,o.yg)("h4",{id:"rtp"},"RTP"),(0,o.yg)("h4",{id:"udt"},"UDT"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3f06bf29.85f309c1.js b/assets/js/3f06bf29.08554ea0.js similarity index 99% rename from assets/js/3f06bf29.85f309c1.js rename to assets/js/3f06bf29.08554ea0.js index e4074135c..a076493ab 100644 --- a/assets/js/3f06bf29.85f309c1.js +++ b/assets/js/3f06bf29.08554ea0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4501],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>d});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=r.createContext({}),c=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=c(n),m=a,d=s["".concat(u,".").concat(m)]||s[m]||y[m]||o;return n?r.createElement(d,l(l({ref:t},p),{},{components:n})):r.createElement(d,l({ref:t},p))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=m;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const o={},l=void 0,i={unversionedId:"study/program/C/\u6784\u5efa\u5de5\u5177",id:"study/program/C/\u6784\u5efa\u5de5\u5177",title:"\u6784\u5efa\u5de5\u5177",description:"C \u8bed\u8a00\u6784\u5efa\u5de5\u5177",source:"@site/docs/study/program/C/\u6784\u5efa\u5de5\u5177.md",sourceDirName:"study/program/C",slug:"/study/program/C/\u6784\u5efa\u5de5\u5177",permalink:"/docs/study/program/C/\u6784\u5efa\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",permalink:"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93"},next:{title:"\u865a\u62df\u7f51\u5361",permalink:"/docs/study/program/C/\u865a\u62df\u7f51\u5361"}},u={},c=[{value:"C \u8bed\u8a00\u6784\u5efa\u5de5\u5177",id:"c-\u8bed\u8a00\u6784\u5efa\u5de5\u5177",level:3},{value:"Make\uff1a",id:"make",level:4},{value:"CMake\uff1a",id:"cmake",level:4},{value:"Autotools\uff1a",id:"autotools",level:4},{value:"SCons\uff1a",id:"scons",level:4},{value:"Ninja\uff1a",id:"ninja",level:4},{value:"bazel",id:"bazel",level:4},{value:"xmake",id:"xmake",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:c},s="wrapper";function y(e){let{components:t,...n}=e;return(0,a.yg)(s,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"c-\u8bed\u8a00\u6784\u5efa\u5de5\u5177"},"C \u8bed\u8a00\u6784\u5efa\u5de5\u5177"),(0,a.yg)("p",null,"\u5728 C \u8bed\u8a00\u5f00\u53d1\u4e2d\uff0c\u4f7f\u7528\u6784\u5efa\u5de5\u5177\u53ef\u4ee5\u7b80\u5316\u4ee3\u7801\u7f16\u8bd1\u3001\u6784\u5efa\u548c\u90e8\u7f72\u7b49\u8fc7\u7a0b\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002"),(0,a.yg)("p",null,"\u4e0b\u9762\u4ecb\u7ecd\u4e00\u4e9b\u5e38\u7528\u7684 C \u8bed\u8a00\u6784\u5efa\u5de5\u5177\u3002"),(0,a.yg)("h4",{id:"make"},"Make\uff1a"),(0,a.yg)("p",null,"Make \u662f\u4e00\u4e2a\u6d41\u884c\u7684\u6784\u5efa\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u81ea\u52a8\u5316\u6267\u884c\u4ee3\u7801\u7f16\u8bd1\u3001\u6784\u5efa\u548c\u90e8\u7f72\u7b49\u8fc7\u7a0b\u3002Make \u57fa\u4e8e Makefile \u6587\u4ef6\u8fdb\u884c\u914d\u7f6e\uff0c\u901a\u8fc7 Makefile \u6587\u4ef6\u4e2d\u7684\u89c4\u5219\u548c\u4f9d\u8d56\u5173\u7cfb\uff0c\u53ef\u4ee5\u5b9a\u4e49\u6e90\u4ee3\u7801\u6587\u4ef6\u3001\u5934\u6587\u4ef6\u548c\u53ef\u6267\u884c\u6587\u4ef6\u7b49\u5404\u4e2a\u90e8\u5206\u4e4b\u95f4\u7684\u5173\u7cfb\u3002Make \u5177\u6709\u7b80\u5355\u6613\u7528\u3001\u53ef\u6269\u5c55\u6027\u5f3a\u7b49\u4f18\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("h4",{id:"cmake"},"CMake\uff1a"),(0,a.yg)("p",null,"CMake \u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u6784\u5efa\u5de5\u5177\uff0c\u53ef\u4ee5\u81ea\u52a8\u751f\u6210 Makefile \u6587\u4ef6\uff0c\u4ece\u800c\u7b80\u5316\u6784\u5efa\u8fc7\u7a0b\u3002CMake \u652f\u6301\u591a\u79cd\u5e73\u53f0\u548c\u7f16\u8bd1\u5668\uff0c\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u547d\u4ee4\u884c\u53c2\u6570\u548c\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u914d\u7f6e\u3002CMake \u5177\u6709\u7b80\u5355\u6613\u7528\u3001\u8de8\u5e73\u53f0\u3001\u53ef\u6269\u5c55\u6027\u5f3a\u7b49\u4f18\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("h4",{id:"autotools"},"Autotools\uff1a"),(0,a.yg)("p",null,"Autotools \u662f\u4e00\u4e2a\u6d41\u884c\u7684\u81ea\u52a8\u5316\u6784\u5efa\u5de5\u5177\u96c6\uff0c\u5305\u62ec Autoconf\u3001Automake \u548c Libtool \u7b49\u7ec4\u4ef6\u3002\u5176\u4e2d\uff0cAutoconf \u7528\u4e8e\u68c0\u67e5\u7cfb\u7edf\u73af\u5883\u548c\u751f\u6210 Makefile.in \u6587\u4ef6\uff0cAutomake \u7528\u4e8e\u751f\u6210 Makefile \u6587\u4ef6\uff0cLibtool \u7528\u4e8e\u7ba1\u7406\u5e93\u6587\u4ef6\u7684\u7f16\u8bd1\u548c\u94fe\u63a5\u3002Autotools \u5177\u6709\u8de8\u5e73\u53f0\u3001\u53ef\u6269\u5c55\u6027\u5f3a\u7b49\u4f18\u70b9\uff0c\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("p",null,"\u5728 linux \u4e0a\u7f16\u8bd1\u4e00\u4e2a\u5de5\u7a0b\u9700\u8981\u5148\u8c03\u7528./configure,\u5927\u90e8\u5206 linux \u5f00\u6e90\u9879\u76ee\u90fd\u4f7f\u7528 autotools \u7f16\u8bd1\u67b6\u6784\u6765\u751f\u6210 configure \u8fd9\u4e2a\u811a\u672c\u6587\u4ef6\u3002\u901a\u8fc7\u5728\u6267\u884c./configure\uff0c\u4ea7\u751f Makefile,src/Makefile,config.h\uff0c\u4e3a\u4e0b\u4e00\u6b65\u7f16\u8bd1\u505a\u51c6\u5907\u3002\u968f\u540e\u8c03\u7528 make \u8fdb\u884c\u7f16\u8bd1\u3002"),(0,a.yg)("p",null,"GNU \u6784\u5efa\u7cfb\u7edf\uff0c\u662f\u5229\u7528\u811a\u672c\u548c make \u7a0b\u5e8f\u5728\u7279\u5b9a\u7684\u5e73\u53f0\u4e0a\u6784\u5efa\u8f6f\u4ef6\u7684\u8fc7\u7a0b\u3002\u4e00\u822c\u8fc7\u7a0b\u662f configure\uff0cmake\uff0cmake install \u4e09\u90e8\u66f2\u3002\u8fd9\u79cd\u65b9\u5f0f\u6210\u4e3a\u4e00\u79cd\u4e60\u60ef\uff0c\u88ab\u5e7f\u6cdb\u4f7f\u7528\u3002\n\u4e3a\u4e86\u7b80\u5316\u53ef\u79fb\u690d\u6784\u5efa\u7684\u96be\u5ea6\uff0c\u65e9\u671f\u6709\u4e00\u5957 AutoTools \u7684\u5de5\u5177\u5e2e\u52a9\u7a0b\u5e8f\u5458\u6784\u5efa\u8f6f\u4ef6\u3002configure\uff0cmake\uff0cmake install \u4e09\u90e8\u66f2\uff0c\u5927\u591a\u90fd\u662f\u57fa\u4e8e Auto Tools \u6765\u6784\u5efa\u7684\u3002Auto Tools \u662f GNU \u7a0b\u5e8f\u7684\u6807\u51c6\u6784\u5efa\u7cfb\u7edf\u3002"),(0,a.yg)("h4",{id:"scons"},"SCons\uff1a"),(0,a.yg)("p",null,"SCons \u662f\u4e00\u4e2a Python \u7f16\u5199\u7684\u6784\u5efa\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u81ea\u52a8\u5316\u6267\u884c\u4ee3\u7801\u7f16\u8bd1\u3001\u6784\u5efa\u548c\u90e8\u7f72\u7b49\u8fc7\u7a0b\u3002SCons \u57fa\u4e8e Python \u8bed\u8a00\u8fdb\u884c\u914d\u7f6e\uff0c\u901a\u8fc7 Python \u811a\u672c\u6587\u4ef6\u4e2d\u7684\u89c4\u5219\u548c\u4f9d\u8d56\u5173\u7cfb\uff0c\u53ef\u4ee5\u5b9a\u4e49\u6e90\u4ee3\u7801\u6587\u4ef6\u3001\u5934\u6587\u4ef6\u548c\u53ef\u6267\u884c\u6587\u4ef6\u7b49\u5404\u4e2a\u90e8\u5206\u4e4b\u95f4\u7684\u5173\u7cfb\u3002SCons \u5177\u6709\u53ef\u6269\u5c55\u6027\u5f3a\u3001\u6613\u4e8e\u914d\u7f6e\u7b49\u4f18\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("h4",{id:"ninja"},"Ninja\uff1a"),(0,a.yg)("p",null,"Ninja \u662f\u4e00\u4e2a\u5feb\u901f\u7684\u6784\u5efa\u5de5\u5177\uff0c\u53ef\u4ee5\u751f\u6210\u9ad8\u6548\u7684\u6784\u5efa\u56fe\u8c31\uff0c\u4ece\u800c\u63d0\u9ad8\u4ee3\u7801\u7f16\u8bd1\u3001\u6784\u5efa\u548c\u90e8\u7f72\u7684\u901f\u5ea6\u3002Ninja \u53ef\u4ee5\u4f7f\u7528 Ninjafile \u6587\u4ef6\u8fdb\u884c\u914d\u7f6e\uff0c\u901a\u8fc7 Ninjafile \u6587\u4ef6\u4e2d\u7684\u89c4\u5219\u548c\u4f9d\u8d56\u5173\u7cfb\uff0c\u53ef\u4ee5\u5b9a\u4e49\u6e90\u4ee3\u7801\u6587\u4ef6\u3001\u5934\u6587\u4ef6\u548c\u53ef\u6267\u884c\u6587\u4ef6\u7b49\u5404\u4e2a\u90e8\u5206\u4e4b\u95f4\u7684\u5173\u7cfb\u3002Ninja \u5177\u6709\u901f\u5ea6\u5feb\u3001\u53ef\u6269\u5c55\u6027\u5f3a\u7b49\u4f18\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("h4",{id:"bazel"},"bazel"),(0,a.yg)("h4",{id:"xmake"},"xmake"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://xmake.io/#/zh-cn/"},"https://xmake.io/#/zh-cn/")),(0,a.yg)("p",null,"\u4e00\u4e2a\u57fa\u4e8e Lua \u7684\u8f7b\u91cf\u7ea7\u8de8\u5e73\u53f0\u81ea\u52a8\u6784\u5efa\u5de5\u5177"),(0,a.yg)("p",null,"\u7b80\u5355\uff0c\u5feb\u901f\uff0c\u8f7b\u91cf\u65e0\u4f9d\u8d56"),(0,a.yg)("p",null,"\u73b0\u4ee3\u5316\u7684 C/C++ \u6784\u5efa\u5de5\u5177\uff0c\u5f3a\u5927\u7684\u4f9d\u8d56\u5305\u7ba1\u7406\u548c\u96c6\u6210"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_27870421/article/details/99621737"},"CSDN-Autotools \u7b14\u8bb0")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/b3b0a090a01e"},"\u7b80\u4e66-Autotools \u5de5\u5177")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/638986464"},"\u77e5\u4e4e-GCC\u3001CMake\u3001CMakelist\u3001Make\u3001Makefile\u3001Ninja \u5565\u5173\u7cfb\uff1f\u4e00\u56fe\u8bb2\u900f\uff01"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4501],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>d});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=r.createContext({}),c=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=c(n),m=a,d=s["".concat(u,".").concat(m)]||s[m]||y[m]||o;return n?r.createElement(d,l(l({ref:t},p),{},{components:n})):r.createElement(d,l({ref:t},p))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=m;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const o={},l=void 0,i={unversionedId:"study/program/C/\u6784\u5efa\u5de5\u5177",id:"study/program/C/\u6784\u5efa\u5de5\u5177",title:"\u6784\u5efa\u5de5\u5177",description:"C \u8bed\u8a00\u6784\u5efa\u5de5\u5177",source:"@site/docs/study/program/C/\u6784\u5efa\u5de5\u5177.md",sourceDirName:"study/program/C",slug:"/study/program/C/\u6784\u5efa\u5de5\u5177",permalink:"/docs/study/program/C/\u6784\u5efa\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",permalink:"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93"},next:{title:"\u865a\u62df\u7f51\u5361",permalink:"/docs/study/program/C/\u865a\u62df\u7f51\u5361"}},u={},c=[{value:"C \u8bed\u8a00\u6784\u5efa\u5de5\u5177",id:"c-\u8bed\u8a00\u6784\u5efa\u5de5\u5177",level:3},{value:"Make\uff1a",id:"make",level:4},{value:"CMake\uff1a",id:"cmake",level:4},{value:"Autotools\uff1a",id:"autotools",level:4},{value:"SCons\uff1a",id:"scons",level:4},{value:"Ninja\uff1a",id:"ninja",level:4},{value:"bazel",id:"bazel",level:4},{value:"xmake",id:"xmake",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:c},s="wrapper";function y(e){let{components:t,...n}=e;return(0,a.yg)(s,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"c-\u8bed\u8a00\u6784\u5efa\u5de5\u5177"},"C \u8bed\u8a00\u6784\u5efa\u5de5\u5177"),(0,a.yg)("p",null,"\u5728 C \u8bed\u8a00\u5f00\u53d1\u4e2d\uff0c\u4f7f\u7528\u6784\u5efa\u5de5\u5177\u53ef\u4ee5\u7b80\u5316\u4ee3\u7801\u7f16\u8bd1\u3001\u6784\u5efa\u548c\u90e8\u7f72\u7b49\u8fc7\u7a0b\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002"),(0,a.yg)("p",null,"\u4e0b\u9762\u4ecb\u7ecd\u4e00\u4e9b\u5e38\u7528\u7684 C \u8bed\u8a00\u6784\u5efa\u5de5\u5177\u3002"),(0,a.yg)("h4",{id:"make"},"Make\uff1a"),(0,a.yg)("p",null,"Make \u662f\u4e00\u4e2a\u6d41\u884c\u7684\u6784\u5efa\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u81ea\u52a8\u5316\u6267\u884c\u4ee3\u7801\u7f16\u8bd1\u3001\u6784\u5efa\u548c\u90e8\u7f72\u7b49\u8fc7\u7a0b\u3002Make \u57fa\u4e8e Makefile \u6587\u4ef6\u8fdb\u884c\u914d\u7f6e\uff0c\u901a\u8fc7 Makefile \u6587\u4ef6\u4e2d\u7684\u89c4\u5219\u548c\u4f9d\u8d56\u5173\u7cfb\uff0c\u53ef\u4ee5\u5b9a\u4e49\u6e90\u4ee3\u7801\u6587\u4ef6\u3001\u5934\u6587\u4ef6\u548c\u53ef\u6267\u884c\u6587\u4ef6\u7b49\u5404\u4e2a\u90e8\u5206\u4e4b\u95f4\u7684\u5173\u7cfb\u3002Make \u5177\u6709\u7b80\u5355\u6613\u7528\u3001\u53ef\u6269\u5c55\u6027\u5f3a\u7b49\u4f18\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("h4",{id:"cmake"},"CMake\uff1a"),(0,a.yg)("p",null,"CMake \u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u6784\u5efa\u5de5\u5177\uff0c\u53ef\u4ee5\u81ea\u52a8\u751f\u6210 Makefile \u6587\u4ef6\uff0c\u4ece\u800c\u7b80\u5316\u6784\u5efa\u8fc7\u7a0b\u3002CMake \u652f\u6301\u591a\u79cd\u5e73\u53f0\u548c\u7f16\u8bd1\u5668\uff0c\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u547d\u4ee4\u884c\u53c2\u6570\u548c\u914d\u7f6e\u6587\u4ef6\u8fdb\u884c\u914d\u7f6e\u3002CMake \u5177\u6709\u7b80\u5355\u6613\u7528\u3001\u8de8\u5e73\u53f0\u3001\u53ef\u6269\u5c55\u6027\u5f3a\u7b49\u4f18\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("h4",{id:"autotools"},"Autotools\uff1a"),(0,a.yg)("p",null,"Autotools \u662f\u4e00\u4e2a\u6d41\u884c\u7684\u81ea\u52a8\u5316\u6784\u5efa\u5de5\u5177\u96c6\uff0c\u5305\u62ec Autoconf\u3001Automake \u548c Libtool \u7b49\u7ec4\u4ef6\u3002\u5176\u4e2d\uff0cAutoconf \u7528\u4e8e\u68c0\u67e5\u7cfb\u7edf\u73af\u5883\u548c\u751f\u6210 Makefile.in \u6587\u4ef6\uff0cAutomake \u7528\u4e8e\u751f\u6210 Makefile \u6587\u4ef6\uff0cLibtool \u7528\u4e8e\u7ba1\u7406\u5e93\u6587\u4ef6\u7684\u7f16\u8bd1\u548c\u94fe\u63a5\u3002Autotools \u5177\u6709\u8de8\u5e73\u53f0\u3001\u53ef\u6269\u5c55\u6027\u5f3a\u7b49\u4f18\u70b9\uff0c\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("p",null,"\u5728 linux \u4e0a\u7f16\u8bd1\u4e00\u4e2a\u5de5\u7a0b\u9700\u8981\u5148\u8c03\u7528./configure,\u5927\u90e8\u5206 linux \u5f00\u6e90\u9879\u76ee\u90fd\u4f7f\u7528 autotools \u7f16\u8bd1\u67b6\u6784\u6765\u751f\u6210 configure \u8fd9\u4e2a\u811a\u672c\u6587\u4ef6\u3002\u901a\u8fc7\u5728\u6267\u884c./configure\uff0c\u4ea7\u751f Makefile,src/Makefile,config.h\uff0c\u4e3a\u4e0b\u4e00\u6b65\u7f16\u8bd1\u505a\u51c6\u5907\u3002\u968f\u540e\u8c03\u7528 make \u8fdb\u884c\u7f16\u8bd1\u3002"),(0,a.yg)("p",null,"GNU \u6784\u5efa\u7cfb\u7edf\uff0c\u662f\u5229\u7528\u811a\u672c\u548c make \u7a0b\u5e8f\u5728\u7279\u5b9a\u7684\u5e73\u53f0\u4e0a\u6784\u5efa\u8f6f\u4ef6\u7684\u8fc7\u7a0b\u3002\u4e00\u822c\u8fc7\u7a0b\u662f configure\uff0cmake\uff0cmake install \u4e09\u90e8\u66f2\u3002\u8fd9\u79cd\u65b9\u5f0f\u6210\u4e3a\u4e00\u79cd\u4e60\u60ef\uff0c\u88ab\u5e7f\u6cdb\u4f7f\u7528\u3002\n\u4e3a\u4e86\u7b80\u5316\u53ef\u79fb\u690d\u6784\u5efa\u7684\u96be\u5ea6\uff0c\u65e9\u671f\u6709\u4e00\u5957 AutoTools \u7684\u5de5\u5177\u5e2e\u52a9\u7a0b\u5e8f\u5458\u6784\u5efa\u8f6f\u4ef6\u3002configure\uff0cmake\uff0cmake install \u4e09\u90e8\u66f2\uff0c\u5927\u591a\u90fd\u662f\u57fa\u4e8e Auto Tools \u6765\u6784\u5efa\u7684\u3002Auto Tools \u662f GNU \u7a0b\u5e8f\u7684\u6807\u51c6\u6784\u5efa\u7cfb\u7edf\u3002"),(0,a.yg)("h4",{id:"scons"},"SCons\uff1a"),(0,a.yg)("p",null,"SCons \u662f\u4e00\u4e2a Python \u7f16\u5199\u7684\u6784\u5efa\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u81ea\u52a8\u5316\u6267\u884c\u4ee3\u7801\u7f16\u8bd1\u3001\u6784\u5efa\u548c\u90e8\u7f72\u7b49\u8fc7\u7a0b\u3002SCons \u57fa\u4e8e Python \u8bed\u8a00\u8fdb\u884c\u914d\u7f6e\uff0c\u901a\u8fc7 Python \u811a\u672c\u6587\u4ef6\u4e2d\u7684\u89c4\u5219\u548c\u4f9d\u8d56\u5173\u7cfb\uff0c\u53ef\u4ee5\u5b9a\u4e49\u6e90\u4ee3\u7801\u6587\u4ef6\u3001\u5934\u6587\u4ef6\u548c\u53ef\u6267\u884c\u6587\u4ef6\u7b49\u5404\u4e2a\u90e8\u5206\u4e4b\u95f4\u7684\u5173\u7cfb\u3002SCons \u5177\u6709\u53ef\u6269\u5c55\u6027\u5f3a\u3001\u6613\u4e8e\u914d\u7f6e\u7b49\u4f18\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("h4",{id:"ninja"},"Ninja\uff1a"),(0,a.yg)("p",null,"Ninja \u662f\u4e00\u4e2a\u5feb\u901f\u7684\u6784\u5efa\u5de5\u5177\uff0c\u53ef\u4ee5\u751f\u6210\u9ad8\u6548\u7684\u6784\u5efa\u56fe\u8c31\uff0c\u4ece\u800c\u63d0\u9ad8\u4ee3\u7801\u7f16\u8bd1\u3001\u6784\u5efa\u548c\u90e8\u7f72\u7684\u901f\u5ea6\u3002Ninja \u53ef\u4ee5\u4f7f\u7528 Ninjafile \u6587\u4ef6\u8fdb\u884c\u914d\u7f6e\uff0c\u901a\u8fc7 Ninjafile \u6587\u4ef6\u4e2d\u7684\u89c4\u5219\u548c\u4f9d\u8d56\u5173\u7cfb\uff0c\u53ef\u4ee5\u5b9a\u4e49\u6e90\u4ee3\u7801\u6587\u4ef6\u3001\u5934\u6587\u4ef6\u548c\u53ef\u6267\u884c\u6587\u4ef6\u7b49\u5404\u4e2a\u90e8\u5206\u4e4b\u95f4\u7684\u5173\u7cfb\u3002Ninja \u5177\u6709\u901f\u5ea6\u5feb\u3001\u53ef\u6269\u5c55\u6027\u5f3a\u7b49\u4f18\u70b9\uff0c\u56e0\u6b64\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e C \u8bed\u8a00\u5f00\u53d1\u4e2d\u3002"),(0,a.yg)("h4",{id:"bazel"},"bazel"),(0,a.yg)("h4",{id:"xmake"},"xmake"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://xmake.io/#/zh-cn/"},"https://xmake.io/#/zh-cn/")),(0,a.yg)("p",null,"\u4e00\u4e2a\u57fa\u4e8e Lua \u7684\u8f7b\u91cf\u7ea7\u8de8\u5e73\u53f0\u81ea\u52a8\u6784\u5efa\u5de5\u5177"),(0,a.yg)("p",null,"\u7b80\u5355\uff0c\u5feb\u901f\uff0c\u8f7b\u91cf\u65e0\u4f9d\u8d56"),(0,a.yg)("p",null,"\u73b0\u4ee3\u5316\u7684 C/C++ \u6784\u5efa\u5de5\u5177\uff0c\u5f3a\u5927\u7684\u4f9d\u8d56\u5305\u7ba1\u7406\u548c\u96c6\u6210"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_27870421/article/details/99621737"},"CSDN-Autotools \u7b14\u8bb0")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/b3b0a090a01e"},"\u7b80\u4e66-Autotools \u5de5\u5177")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/638986464"},"\u77e5\u4e4e-GCC\u3001CMake\u3001CMakelist\u3001Make\u3001Makefile\u3001Ninja \u5565\u5173\u7cfb\uff1f\u4e00\u56fe\u8bb2\u900f\uff01"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/42c9ab86.197eaa1f.js b/assets/js/42c9ab86.84417986.js similarity index 98% rename from assets/js/42c9ab86.197eaa1f.js rename to assets/js/42c9ab86.84417986.js index 804bd1b92..81ac2664b 100644 --- a/assets/js/42c9ab86.197eaa1f.js +++ b/assets/js/42c9ab86.84417986.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8274],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,c=e.originalType,i=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(r),d=a,y=s["".concat(i,".").concat(d)]||s[d]||f[d]||c;return r?n.createElement(y,o(o({ref:t},u),{},{components:r})):n.createElement(y,o({ref:t},u))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var c=r.length,o=new Array(c);o[0]=d;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[s]="string"==typeof e?e:a,o[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>f,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const c={},o="unix pfctl \u9632\u706b\u5899",l={unversionedId:"study/net/pfctl\u9632\u706b\u5899",id:"study/net/pfctl\u9632\u706b\u5899",title:"unix pfctl \u9632\u706b\u5899",description:"iptables \u662f Linux \u4e0b\u7684\u9632\u706b\u5899\uff0c\u53ef\u4ee5\u8fdb\u884c\u6570\u636e\u5305\u7684\u8fc7\u6ee4\uff0c\u5728\u7f51\u7edc\u5c42\u8fdb\u884c\u6570\u636e\u7684\u8f6c\u53d1\u3001\u62e6\u622a\u6216\u4e22\u5f03\u7b49\uff0c\u4f7f\u7528\u975e\u5e38\u666e\u904d\uff0c\u529f\u80fd\u4e5f\u975e\u5e38\u5f3a\u5927\u3002\u4f46\u662f Mac \u4e0b\u6ca1\u6709 iptables\uff0c\u4e3a\u4e86\u5b9e\u73b0\u6d41\u91cf\u8f6c\u53d1\u548c\u8fc7\u6ee4\uff0c\u8981\u4f7f\u7528\u5230 Mac \u81ea\u5e26\u7684 PFctl\u3002PFctl \u5373 control the packet filter\uff0c\u662f Unix LIKE \u7cfb\u7edf\u4e0a\u8fdb\u884c TCP/IP \u6d41\u91cf\u8fc7\u6ee4\u548c\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u7684\u7cfb\u7edf\uff0c\u4e5f\u80fd\u63d0\u4f9b\u6d41\u91cf\u6574\u5f62\u548c\u63a7\u5236\u7b49",source:"@site/docs/study/net/pfctl\u9632\u706b\u5899.md",sourceDirName:"study/net",slug:"/study/net/pfctl\u9632\u706b\u5899",permalink:"/docs/study/net/pfctl\u9632\u706b\u5899",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)",permalink:"/docs/study/net/p2p"},next:{title:"route",permalink:"/docs/study/net/route"}},i={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function f(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"unix-pfctl-\u9632\u706b\u5899"},"unix pfctl \u9632\u706b\u5899"),(0,a.yg)("p",null,"iptables \u662f Linux \u4e0b\u7684\u9632\u706b\u5899\uff0c\u53ef\u4ee5\u8fdb\u884c\u6570\u636e\u5305\u7684\u8fc7\u6ee4\uff0c\u5728\u7f51\u7edc\u5c42\u8fdb\u884c\u6570\u636e\u7684\u8f6c\u53d1\u3001\u62e6\u622a\u6216\u4e22\u5f03\u7b49\uff0c\u4f7f\u7528\u975e\u5e38\u666e\u904d\uff0c\u529f\u80fd\u4e5f\u975e\u5e38\u5f3a\u5927\u3002\u4f46\u662f Mac \u4e0b\u6ca1\u6709 iptables\uff0c\u4e3a\u4e86\u5b9e\u73b0\u6d41\u91cf\u8f6c\u53d1\u548c\u8fc7\u6ee4\uff0c\u8981\u4f7f\u7528\u5230 Mac \u81ea\u5e26\u7684 PFctl\u3002PFctl \u5373 control the packet filter\uff0c\u662f Unix LIKE \u7cfb\u7edf\u4e0a\u8fdb\u884c TCP/IP \u6d41\u91cf\u8fc7\u6ee4\u548c\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u7684\u7cfb\u7edf\uff0c\u4e5f\u80fd\u63d0\u4f9b\u6d41\u91cf\u6574\u5f62\u548c\u63a7\u5236\u7b49"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.imydl.tech/linux-command/c/pfctl.html"},"pfctl")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://shidian.baike.com/wikiid/658345936018390300"},"\u8bc6\u5178\u767e\u79d1-PF \u9632\u706b\u5899"))))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8274],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,c=e.originalType,i=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(r),d=a,y=s["".concat(i,".").concat(d)]||s[d]||f[d]||c;return r?n.createElement(y,o(o({ref:t},u),{},{components:r})):n.createElement(y,o({ref:t},u))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var c=r.length,o=new Array(c);o[0]=d;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[s]="string"==typeof e?e:a,o[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>f,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const c={},o="unix pfctl \u9632\u706b\u5899",l={unversionedId:"study/net/pfctl\u9632\u706b\u5899",id:"study/net/pfctl\u9632\u706b\u5899",title:"unix pfctl \u9632\u706b\u5899",description:"iptables \u662f Linux \u4e0b\u7684\u9632\u706b\u5899\uff0c\u53ef\u4ee5\u8fdb\u884c\u6570\u636e\u5305\u7684\u8fc7\u6ee4\uff0c\u5728\u7f51\u7edc\u5c42\u8fdb\u884c\u6570\u636e\u7684\u8f6c\u53d1\u3001\u62e6\u622a\u6216\u4e22\u5f03\u7b49\uff0c\u4f7f\u7528\u975e\u5e38\u666e\u904d\uff0c\u529f\u80fd\u4e5f\u975e\u5e38\u5f3a\u5927\u3002\u4f46\u662f Mac \u4e0b\u6ca1\u6709 iptables\uff0c\u4e3a\u4e86\u5b9e\u73b0\u6d41\u91cf\u8f6c\u53d1\u548c\u8fc7\u6ee4\uff0c\u8981\u4f7f\u7528\u5230 Mac \u81ea\u5e26\u7684 PFctl\u3002PFctl \u5373 control the packet filter\uff0c\u662f Unix LIKE \u7cfb\u7edf\u4e0a\u8fdb\u884c TCP/IP \u6d41\u91cf\u8fc7\u6ee4\u548c\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u7684\u7cfb\u7edf\uff0c\u4e5f\u80fd\u63d0\u4f9b\u6d41\u91cf\u6574\u5f62\u548c\u63a7\u5236\u7b49",source:"@site/docs/study/net/pfctl\u9632\u706b\u5899.md",sourceDirName:"study/net",slug:"/study/net/pfctl\u9632\u706b\u5899",permalink:"/docs/study/net/pfctl\u9632\u706b\u5899",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)",permalink:"/docs/study/net/p2p"},next:{title:"route",permalink:"/docs/study/net/route"}},i={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function f(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"unix-pfctl-\u9632\u706b\u5899"},"unix pfctl \u9632\u706b\u5899"),(0,a.yg)("p",null,"iptables \u662f Linux \u4e0b\u7684\u9632\u706b\u5899\uff0c\u53ef\u4ee5\u8fdb\u884c\u6570\u636e\u5305\u7684\u8fc7\u6ee4\uff0c\u5728\u7f51\u7edc\u5c42\u8fdb\u884c\u6570\u636e\u7684\u8f6c\u53d1\u3001\u62e6\u622a\u6216\u4e22\u5f03\u7b49\uff0c\u4f7f\u7528\u975e\u5e38\u666e\u904d\uff0c\u529f\u80fd\u4e5f\u975e\u5e38\u5f3a\u5927\u3002\u4f46\u662f Mac \u4e0b\u6ca1\u6709 iptables\uff0c\u4e3a\u4e86\u5b9e\u73b0\u6d41\u91cf\u8f6c\u53d1\u548c\u8fc7\u6ee4\uff0c\u8981\u4f7f\u7528\u5230 Mac \u81ea\u5e26\u7684 PFctl\u3002PFctl \u5373 control the packet filter\uff0c\u662f Unix LIKE \u7cfb\u7edf\u4e0a\u8fdb\u884c TCP/IP \u6d41\u91cf\u8fc7\u6ee4\u548c\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u7684\u7cfb\u7edf\uff0c\u4e5f\u80fd\u63d0\u4f9b\u6d41\u91cf\u6574\u5f62\u548c\u63a7\u5236\u7b49"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.imydl.tech/linux-command/c/pfctl.html"},"pfctl")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://shidian.baike.com/wikiid/658345936018390300"},"\u8bc6\u5178\u767e\u79d1-PF \u9632\u706b\u5899"))))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/42fe7d73.d61fcae4.js b/assets/js/42fe7d73.c1abf90d.js similarity index 98% rename from assets/js/42fe7d73.d61fcae4.js rename to assets/js/42fe7d73.c1abf90d.js index 2b189dde8..5d11eb297 100644 --- a/assets/js/42fe7d73.d61fcae4.js +++ b/assets/js/42fe7d73.c1abf90d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2325],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>m});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var i=r.createContext({}),p=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),u=p(n),y=a,m=u["".concat(i,".").concat(y)]||u[y]||d[y]||o;return n?r.createElement(m,l(l({ref:t},c),{},{components:n})):r.createElement(m,l({ref:t},c))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=y;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[u]="string"==typeof e?e:a,l[1]=s;for(var p=2;p{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>p});var r=n(58168),a=(n(96540),n(15680));const o={},l="ansible",s={unversionedId:"study/devops/ansible",id:"study/devops/ansible",title:"ansible",description:"https://www.ansible.com/",source:"@site/docs/study/devops/ansible.md",sourceDirName:"study/devops",slug:"/study/devops/ansible",permalink:"/docs/study/devops/ansible",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"SHELL",permalink:"/docs/study/devops/SHELL"},next:{title:"centos-nginx",permalink:"/docs/study/devops/centos-gninx-app"}},i={},p=[{value:"\u5e38\u7528",id:"\u5e38\u7528",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:p},u="wrapper";function d(e){let{components:t,...n}=e;return(0,a.yg)(u,(0,r.A)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"ansible"},"ansible"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.ansible.com/"},"https://www.ansible.com/")),(0,a.yg)("h3",{id:"\u5e38\u7528"},"\u5e38\u7528"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u83b7\u53d6\u6700\u65b0\u65f6\u95f4 \u770b\u65f6\u95f4\u662f\u5426\u540c\u6b65\nansible ssh_host -o -m shell -a 'date'\nansible ssh_host -b -o -m shell -a 'sudo ntpdate 10.0.8.18'\n# \u83b7\u53d6\u67d0\u4e2a\u53d8\u91cf\ncat /opt/ansible/ansible-2.9.9/hosts\ncat /opt/ansible/var_file.yaml\nansible pt_host -o -e @/opt/ansible/var_file.yaml -m shell -a 'echo {{odbc_type}}'\n# \u83b7\u53d6\u7248\u672c\nansible --version\n")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/keerya/p/7987886.html"},"cnblogs-\u8be6\u89e3\u4e00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/keerya/p/8004566.html"},"cnblogs-\u8be6\u89e3\u4e8c"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2325],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>m});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var i=r.createContext({}),p=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),u=p(n),y=a,m=u["".concat(i,".").concat(y)]||u[y]||d[y]||o;return n?r.createElement(m,l(l({ref:t},c),{},{components:n})):r.createElement(m,l({ref:t},c))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=y;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[u]="string"==typeof e?e:a,l[1]=s;for(var p=2;p{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>p});var r=n(58168),a=(n(96540),n(15680));const o={},l="ansible",s={unversionedId:"study/devops/ansible",id:"study/devops/ansible",title:"ansible",description:"https://www.ansible.com/",source:"@site/docs/study/devops/ansible.md",sourceDirName:"study/devops",slug:"/study/devops/ansible",permalink:"/docs/study/devops/ansible",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"SHELL",permalink:"/docs/study/devops/SHELL"},next:{title:"centos-nginx",permalink:"/docs/study/devops/centos-gninx-app"}},i={},p=[{value:"\u5e38\u7528",id:"\u5e38\u7528",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:p},u="wrapper";function d(e){let{components:t,...n}=e;return(0,a.yg)(u,(0,r.A)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"ansible"},"ansible"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.ansible.com/"},"https://www.ansible.com/")),(0,a.yg)("h3",{id:"\u5e38\u7528"},"\u5e38\u7528"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u83b7\u53d6\u6700\u65b0\u65f6\u95f4 \u770b\u65f6\u95f4\u662f\u5426\u540c\u6b65\nansible ssh_host -o -m shell -a 'date'\nansible ssh_host -b -o -m shell -a 'sudo ntpdate 10.0.8.18'\n# \u83b7\u53d6\u67d0\u4e2a\u53d8\u91cf\ncat /opt/ansible/ansible-2.9.9/hosts\ncat /opt/ansible/var_file.yaml\nansible pt_host -o -e @/opt/ansible/var_file.yaml -m shell -a 'echo {{odbc_type}}'\n# \u83b7\u53d6\u7248\u672c\nansible --version\n")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/keerya/p/7987886.html"},"cnblogs-\u8be6\u89e3\u4e00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/keerya/p/8004566.html"},"cnblogs-\u8be6\u89e3\u4e8c"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/44c08670.f9199708.js b/assets/js/44c08670.3e3d035e.js similarity index 99% rename from assets/js/44c08670.f9199708.js rename to assets/js/44c08670.3e3d035e.js index e12a71dc1..359a6ba9d 100644 --- a/assets/js/44c08670.f9199708.js +++ b/assets/js/44c08670.3e3d035e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9489],{15680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>g});var r=t(96540);function i(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var u=r.createContext({}),o=function(e){var n=r.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):p(p({},n),e)),t},s=function(e){var n=o(e.components);return r.createElement(u.Provider,{value:n},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,i=e.mdxType,l=e.originalType,u=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),c=o(t),y=i,g=c["".concat(u,".").concat(y)]||c[y]||d[y]||l;return t?r.createElement(g,p(p({ref:n},s),{},{components:t})):r.createElement(g,p({ref:n},s))}));function g(e,n){var t=arguments,i=n&&n.mdxType;if("string"==typeof e||i){var l=t.length,p=new Array(l);p[0]=y;var a={};for(var u in n)hasOwnProperty.call(n,u)&&(a[u]=n[u]);a.originalType=e,a[c]="string"==typeof e?e:i,p[1]=a;for(var o=2;o{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>p,default:()=>d,frontMatter:()=>l,metadata:()=>a,toc:()=>o});var r=t(58168),i=(t(96540),t(15680));const l={},p="Linux ip \u547d\u4ee4",a={unversionedId:"study/net/ip",id:"study/net/ip",title:"Linux ip \u547d\u4ee4",description:"ip \u547d\u4ee4\u6765\u81ea iproute \u8f6f\u4ef6\u5305\uff0c\u8f6f\u4ef6\u5305\u63d0\u4f9b\u4e86\u5f88\u591a\u547d\u4ee4\uff08rpm -ql iproute |grep bin\uff09\uff0c\u5982 ss \u547d\u4ee4\u3001bridge\uff0c\u8fd9\u4e9b\u547d\u4ee4\u53ef\u4ee5\u5b8c\u5168\u66ff\u4ee3 ifconfig\u3001netstat\u3001route \u7b49\u547d\u4ee4\u3002",source:"@site/docs/study/net/ip.md",sourceDirName:"study/net",slug:"/study/net/ip",permalink:"/docs/study/net/ip",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"VLAN-VXLAN",permalink:"/docs/study/net/VLAN-VXLAN"},next:{title:"Linux iptables \u9632\u706b\u5899",permalink:"/docs/study/net/iptables"}},u={},o=[{value:"ip netns",id:"ip-netns",level:3},{value:"ip address",id:"ip-address",level:3},{value:"ip route",id:"ip-route",level:3},{value:"ip link",id:"ip-link",level:3},{value:"ip neigh",id:"ip-neigh",level:3}],s={toc:o},c="wrapper";function d(e){let{components:n,...t}=e;return(0,i.yg)(c,(0,r.A)({},s,t,{components:n,mdxType:"MDXLayout"}),(0,i.yg)("h1",{id:"linux-ip-\u547d\u4ee4"},"Linux ip \u547d\u4ee4"),(0,i.yg)("p",null,"ip \u547d\u4ee4\u6765\u81ea iproute \u8f6f\u4ef6\u5305\uff0c\u8f6f\u4ef6\u5305\u63d0\u4f9b\u4e86\u5f88\u591a\u547d\u4ee4\uff08rpm -ql iproute |grep bin\uff09\uff0c\u5982 ss \u547d\u4ee4\u3001bridge\uff0c\u8fd9\u4e9b\u547d\u4ee4\u53ef\u4ee5\u5b8c\u5168\u66ff\u4ee3 ifconfig\u3001netstat\u3001route \u7b49\u547d\u4ee4\u3002"),(0,i.yg)("p",null,"ip \u547d\u4ee4\u6709\u5f88\u591a\u5b50\u547d\u4ee4\uff0c\u53ef\u4ee5\u901a\u8fc7 man ip \u67e5\u770b"),(0,i.yg)("p",null,"link - address - addrlabel - route - rule - neigh - ntable - tunnel - tuntap - maddress - mroute - mrule - monitor - xfrm - netns - l2tp - tcp_metrics -\ntoken - macsec"),(0,i.yg)("p",null,"\u67e5\u770b\u547d\u4ee4\u7684\u7528\u6cd5\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"ip netns help"),(0,i.yg)("li",{parentName:"ul"},"ip address help"),(0,i.yg)("li",{parentName:"ul"},"ip route help"),(0,i.yg)("li",{parentName:"ul"},"ip link help"),(0,i.yg)("li",{parentName:"ul"},"ip neigh help")),(0,i.yg)("p",null,"\u67e5\u770b\u5e2e\u52a9\u6587\u6863\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"man ip-netns"),(0,i.yg)("li",{parentName:"ul"},"man ip-address"),(0,i.yg)("li",{parentName:"ul"},"man ip-route"),(0,i.yg)("li",{parentName:"ul"},"man ip-link"),(0,i.yg)("li",{parentName:"ul"},"man ip-neighbour")),(0,i.yg)("p",null,"\u66f4\u591a\u547d\u4ee4\u7684\u5e2e\u52a9\u6587\u6863\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\uff1a"),(0,i.yg)("p",null,"rpm -ql iproute |grep man"),(0,i.yg)("h3",{id:"ip-netns"},"ip netns"),(0,i.yg)("p",null,"\u67e5\u770b\u6240\u6709\u7f51\u7edc\u547d\u540d\u7a7a\u95f4\uff0c\u7528\u4e8e\u9694\u79bb\u7f51\u7edc"),(0,i.yg)("h3",{id:"ip-address"},"ip address"),(0,i.yg)("p",null,"address \u53ef\u4ee5\u7b80\u5199\u4e3a a \u6216 ad \u6216 add \u6216 addr"),(0,i.yg)("p",null,"\u67e5\u770b ip"),(0,i.yg)("h3",{id:"ip-route"},"ip route"),(0,i.yg)("p",null,"route \u53ef\u4ee5\u7b80\u5199\u4e3a r \u6216 ro \u6216 rou"),(0,i.yg)("p",null,"\u67e5\u770b\u8def\u7531"),(0,i.yg)("h3",{id:"ip-link"},"ip link"),(0,i.yg)("p",null,"link \u8868\u793a\u94fe\u8def\u5c42\u3002link \u53ef\u4ee5\u7b80\u5199\u4e3a l \u6216 li \u6216 lin"),(0,i.yg)("p",null,"ip l\uff1a\u67e5\u770b\u6240\u6709\u7684\u7f51\u7edc\u8bbe\u5907\uff08\u56e0\u4e3a\u662f\u94fe\u8def\u5c42\uff0c\u6240\u4ee5\u53ea\u663e\u793a MAC \u5730\u5740\uff0c\u4e0d\u663e\u793a IP \u5730\u5740\uff09\u3002\u5176\u4e2d\uff0clo\u3001ens33 \u7b49\u662f\u771f\u5b9e\u7684\u7269\u7406\u8bbe\u5907\uff0c\u901a\u8fc7 ip l add \u547d\u4ee4\u521b\u5efa\u7684\u90fd\u662f\u865a\u62df\u8bbe\u5907\u3002"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s/sSQFINJ8RO8Nc4XtcyQIjQ"},"\u8f7b\u677e\u7406\u89e3 Docker \u7f51\u7edc\u865a\u62df\u5316\u57fa\u7840\u4e4b veth \u8bbe\u5907\uff01")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s?__biz=MjM5Njg5NDgwNA==&mid=2247485146&idx=1&sn=e5bfc79ba915df1f6a8b32b87ef0ef78&scene=21#wechat_redirect"},"25 \u5f20\u56fe\uff0c\u4e00\u4e07\u5b57\uff0c\u62c6\u89e3 Linux \u7f51\u7edc\u5305\u53d1\u9001\u8fc7\u7a0b")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s?__biz=MjM5Njg5NDgwNA==&mid=2247484058&idx=1&sn=a2621bc27c74b313528eefbc81ee8c0f&scene=21#wechat_redirect"},"\u56fe\u89e3 Linux \u7f51\u7edc\u5305\u63a5\u6536\u8fc7\u7a0b"))),(0,i.yg)("h3",{id:"ip-neigh"},"ip neigh"),(0,i.yg)("p",null,"neigh \u53ef\u4ee5\u7b80\u5199\u4e3a n \u6216 ne \u6216 nei"),(0,i.yg)("p",null,"ip n\uff1a\u67e5\u770b\u5185\u6838\u4e2d\u8bb0\u5f55\u7684 ARP \u8868\uff08\u4e5f\u5c31\u662f\u94fe\u8def\u5c42\u76f4\u8fde\u7684\u4e3b\u673a\u7684 IP \u548c MAC \u5730\u5740\uff0c\u4e0d\u4e00\u5b9a\u51c6\u786e\uff0c\u9700\u8981\u4e4b\u524d\u8fde\u8fc7\uff09\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9489],{15680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>g});var r=t(96540);function i(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var u=r.createContext({}),o=function(e){var n=r.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):p(p({},n),e)),t},s=function(e){var n=o(e.components);return r.createElement(u.Provider,{value:n},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,i=e.mdxType,l=e.originalType,u=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),c=o(t),y=i,g=c["".concat(u,".").concat(y)]||c[y]||d[y]||l;return t?r.createElement(g,p(p({ref:n},s),{},{components:t})):r.createElement(g,p({ref:n},s))}));function g(e,n){var t=arguments,i=n&&n.mdxType;if("string"==typeof e||i){var l=t.length,p=new Array(l);p[0]=y;var a={};for(var u in n)hasOwnProperty.call(n,u)&&(a[u]=n[u]);a.originalType=e,a[c]="string"==typeof e?e:i,p[1]=a;for(var o=2;o{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>p,default:()=>d,frontMatter:()=>l,metadata:()=>a,toc:()=>o});var r=t(58168),i=(t(96540),t(15680));const l={},p="Linux ip \u547d\u4ee4",a={unversionedId:"study/net/ip",id:"study/net/ip",title:"Linux ip \u547d\u4ee4",description:"ip \u547d\u4ee4\u6765\u81ea iproute \u8f6f\u4ef6\u5305\uff0c\u8f6f\u4ef6\u5305\u63d0\u4f9b\u4e86\u5f88\u591a\u547d\u4ee4\uff08rpm -ql iproute |grep bin\uff09\uff0c\u5982 ss \u547d\u4ee4\u3001bridge\uff0c\u8fd9\u4e9b\u547d\u4ee4\u53ef\u4ee5\u5b8c\u5168\u66ff\u4ee3 ifconfig\u3001netstat\u3001route \u7b49\u547d\u4ee4\u3002",source:"@site/docs/study/net/ip.md",sourceDirName:"study/net",slug:"/study/net/ip",permalink:"/docs/study/net/ip",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"VLAN-VXLAN",permalink:"/docs/study/net/VLAN-VXLAN"},next:{title:"Linux iptables \u9632\u706b\u5899",permalink:"/docs/study/net/iptables"}},u={},o=[{value:"ip netns",id:"ip-netns",level:3},{value:"ip address",id:"ip-address",level:3},{value:"ip route",id:"ip-route",level:3},{value:"ip link",id:"ip-link",level:3},{value:"ip neigh",id:"ip-neigh",level:3}],s={toc:o},c="wrapper";function d(e){let{components:n,...t}=e;return(0,i.yg)(c,(0,r.A)({},s,t,{components:n,mdxType:"MDXLayout"}),(0,i.yg)("h1",{id:"linux-ip-\u547d\u4ee4"},"Linux ip \u547d\u4ee4"),(0,i.yg)("p",null,"ip \u547d\u4ee4\u6765\u81ea iproute \u8f6f\u4ef6\u5305\uff0c\u8f6f\u4ef6\u5305\u63d0\u4f9b\u4e86\u5f88\u591a\u547d\u4ee4\uff08rpm -ql iproute |grep bin\uff09\uff0c\u5982 ss \u547d\u4ee4\u3001bridge\uff0c\u8fd9\u4e9b\u547d\u4ee4\u53ef\u4ee5\u5b8c\u5168\u66ff\u4ee3 ifconfig\u3001netstat\u3001route \u7b49\u547d\u4ee4\u3002"),(0,i.yg)("p",null,"ip \u547d\u4ee4\u6709\u5f88\u591a\u5b50\u547d\u4ee4\uff0c\u53ef\u4ee5\u901a\u8fc7 man ip \u67e5\u770b"),(0,i.yg)("p",null,"link - address - addrlabel - route - rule - neigh - ntable - tunnel - tuntap - maddress - mroute - mrule - monitor - xfrm - netns - l2tp - tcp_metrics -\ntoken - macsec"),(0,i.yg)("p",null,"\u67e5\u770b\u547d\u4ee4\u7684\u7528\u6cd5\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"ip netns help"),(0,i.yg)("li",{parentName:"ul"},"ip address help"),(0,i.yg)("li",{parentName:"ul"},"ip route help"),(0,i.yg)("li",{parentName:"ul"},"ip link help"),(0,i.yg)("li",{parentName:"ul"},"ip neigh help")),(0,i.yg)("p",null,"\u67e5\u770b\u5e2e\u52a9\u6587\u6863\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"man ip-netns"),(0,i.yg)("li",{parentName:"ul"},"man ip-address"),(0,i.yg)("li",{parentName:"ul"},"man ip-route"),(0,i.yg)("li",{parentName:"ul"},"man ip-link"),(0,i.yg)("li",{parentName:"ul"},"man ip-neighbour")),(0,i.yg)("p",null,"\u66f4\u591a\u547d\u4ee4\u7684\u5e2e\u52a9\u6587\u6863\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\uff1a"),(0,i.yg)("p",null,"rpm -ql iproute |grep man"),(0,i.yg)("h3",{id:"ip-netns"},"ip netns"),(0,i.yg)("p",null,"\u67e5\u770b\u6240\u6709\u7f51\u7edc\u547d\u540d\u7a7a\u95f4\uff0c\u7528\u4e8e\u9694\u79bb\u7f51\u7edc"),(0,i.yg)("h3",{id:"ip-address"},"ip address"),(0,i.yg)("p",null,"address \u53ef\u4ee5\u7b80\u5199\u4e3a a \u6216 ad \u6216 add \u6216 addr"),(0,i.yg)("p",null,"\u67e5\u770b ip"),(0,i.yg)("h3",{id:"ip-route"},"ip route"),(0,i.yg)("p",null,"route \u53ef\u4ee5\u7b80\u5199\u4e3a r \u6216 ro \u6216 rou"),(0,i.yg)("p",null,"\u67e5\u770b\u8def\u7531"),(0,i.yg)("h3",{id:"ip-link"},"ip link"),(0,i.yg)("p",null,"link \u8868\u793a\u94fe\u8def\u5c42\u3002link \u53ef\u4ee5\u7b80\u5199\u4e3a l \u6216 li \u6216 lin"),(0,i.yg)("p",null,"ip l\uff1a\u67e5\u770b\u6240\u6709\u7684\u7f51\u7edc\u8bbe\u5907\uff08\u56e0\u4e3a\u662f\u94fe\u8def\u5c42\uff0c\u6240\u4ee5\u53ea\u663e\u793a MAC \u5730\u5740\uff0c\u4e0d\u663e\u793a IP \u5730\u5740\uff09\u3002\u5176\u4e2d\uff0clo\u3001ens33 \u7b49\u662f\u771f\u5b9e\u7684\u7269\u7406\u8bbe\u5907\uff0c\u901a\u8fc7 ip l add \u547d\u4ee4\u521b\u5efa\u7684\u90fd\u662f\u865a\u62df\u8bbe\u5907\u3002"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s/sSQFINJ8RO8Nc4XtcyQIjQ"},"\u8f7b\u677e\u7406\u89e3 Docker \u7f51\u7edc\u865a\u62df\u5316\u57fa\u7840\u4e4b veth \u8bbe\u5907\uff01")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s?__biz=MjM5Njg5NDgwNA==&mid=2247485146&idx=1&sn=e5bfc79ba915df1f6a8b32b87ef0ef78&scene=21#wechat_redirect"},"25 \u5f20\u56fe\uff0c\u4e00\u4e07\u5b57\uff0c\u62c6\u89e3 Linux \u7f51\u7edc\u5305\u53d1\u9001\u8fc7\u7a0b")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s?__biz=MjM5Njg5NDgwNA==&mid=2247484058&idx=1&sn=a2621bc27c74b313528eefbc81ee8c0f&scene=21#wechat_redirect"},"\u56fe\u89e3 Linux \u7f51\u7edc\u5305\u63a5\u6536\u8fc7\u7a0b"))),(0,i.yg)("h3",{id:"ip-neigh"},"ip neigh"),(0,i.yg)("p",null,"neigh \u53ef\u4ee5\u7b80\u5199\u4e3a n \u6216 ne \u6216 nei"),(0,i.yg)("p",null,"ip n\uff1a\u67e5\u770b\u5185\u6838\u4e2d\u8bb0\u5f55\u7684 ARP \u8868\uff08\u4e5f\u5c31\u662f\u94fe\u8def\u5c42\u76f4\u8fde\u7684\u4e3b\u673a\u7684 IP \u548c MAC \u5730\u5740\uff0c\u4e0d\u4e00\u5b9a\u51c6\u786e\uff0c\u9700\u8981\u4e4b\u524d\u8fde\u8fc7\uff09\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/455d41bc.2743739f.js b/assets/js/455d41bc.dc44f798.js similarity index 98% rename from assets/js/455d41bc.2743739f.js rename to assets/js/455d41bc.dc44f798.js index d40491d4b..6bfada62d 100644 --- a/assets/js/455d41bc.2743739f.js +++ b/assets/js/455d41bc.dc44f798.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6097],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(r),d=o,f=u["".concat(l,".").concat(d)]||u[d]||y[d]||a;return r?n.createElement(f,i(i({ref:t},s),{},{components:r})):n.createElement(f,i({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0",id:"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0",title:"\u6280\u672f\u4e2d\u53f0",description:"\u53c2\u8003",source:"@site/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0",permalink:"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5f02\u5730\u591a\u6d3b\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784"},next:{title:"\u67b6\u6784\u56fe\u793a\u4f8b",permalink:"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/sinat_26811377/article/details/98484190"},"\u6280\u672f\u4e2d\u53f0\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff0c\u5728\u4ec0\u4e48\u60c5\u51b5\u4e0b\u624d\u6709\u5fc5\u8981\u505a\u6280\u672f\u4e2d\u53f0\uff1f")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/itlz/p/15786961.html"},"\u8be6\u89e3\u6570\u636e\u4e2d\u53f0\u7684\u5e95\u5c42\u67b6\u6784\u903b\u8f91")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://36kr.com/p/1725013082113"},"\u4e2d\u53f0\uff0c\u6211\u4fe1\u4e86\u4f60\u7684\u90aa | \u6df1\u6c2a"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6097],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(r),d=o,f=u["".concat(l,".").concat(d)]||u[d]||y[d]||a;return r?n.createElement(f,i(i({ref:t},s),{},{components:r})):n.createElement(f,i({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0",id:"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0",title:"\u6280\u672f\u4e2d\u53f0",description:"\u53c2\u8003",source:"@site/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0",permalink:"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5f02\u5730\u591a\u6d3b\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784"},next:{title:"\u67b6\u6784\u56fe\u793a\u4f8b",permalink:"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/sinat_26811377/article/details/98484190"},"\u6280\u672f\u4e2d\u53f0\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff0c\u5728\u4ec0\u4e48\u60c5\u51b5\u4e0b\u624d\u6709\u5fc5\u8981\u505a\u6280\u672f\u4e2d\u53f0\uff1f")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/itlz/p/15786961.html"},"\u8be6\u89e3\u6570\u636e\u4e2d\u53f0\u7684\u5e95\u5c42\u67b6\u6784\u903b\u8f91")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://36kr.com/p/1725013082113"},"\u4e2d\u53f0\uff0c\u6211\u4fe1\u4e86\u4f60\u7684\u90aa | \u6df1\u6c2a"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/461e82b5.ae267130.js b/assets/js/461e82b5.3077bbc4.js similarity index 99% rename from assets/js/461e82b5.ae267130.js rename to assets/js/461e82b5.3077bbc4.js index 90a0f8e30..a6581dbe4 100644 --- a/assets/js/461e82b5.ae267130.js +++ b/assets/js/461e82b5.3077bbc4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3946],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>v});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),y=c(r),s=l,v=y["".concat(p,".").concat(s)]||y[s]||d[s]||a;return r?n.createElement(v,i(i({ref:t},u),{},{components:r})):n.createElement(v,i({ref:t},u))}));function v(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,i=new Array(a);i[0]=s;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[y]="string"==typeof e?e:l,i[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},i=void 0,o={unversionedId:"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1",id:"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1",title:"\u52a0\u89e3\u5bc6\u670d\u52a1",description:"\u52a0\u89e3\u5bc6\u670d\u52a1",source:"@site/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1",permalink:"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",permalink:"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5"},next:{title:"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5",permalink:"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3"}},p={},c=[{value:"\u52a0\u89e3\u5bc6\u670d\u52a1",id:"\u52a0\u89e3\u5bc6\u670d\u52a1",level:3},{value:"\u7b7e\u540d\u9a8c\u7b7e\u670d\u52a1",id:"\u7b7e\u540d\u9a8c\u7b7e\u670d\u52a1",level:3},{value:"\u79d8\u94a5\u7ba1\u7406",id:"\u79d8\u94a5\u7ba1\u7406",level:3},{value:"\u6587\u4ef6\u52a0\u5bc6",id:"\u6587\u4ef6\u52a0\u5bc6",level:3},{value:"\u6570\u636e\u5e93\u52a0\u5bc6",id:"\u6570\u636e\u5e93\u52a0\u5bc6",level:3},{value:"\u65f6\u95f4\u6233\u670d\u52a1",id:"\u65f6\u95f4\u6233\u670d\u52a1",level:3},{value:"\u534f\u540c\u7b7e\u540d",id:"\u534f\u540c\u7b7e\u540d",level:3},{value:"\u52a8\u6001\u4ee4\u724c",id:"\u52a8\u6001\u4ee4\u724c",level:3},{value:"\u7535\u5b50\u7b7e\u7ae0",id:"\u7535\u5b50\u7b7e\u7ae0",level:3},{value:"SSLVPN\u52a0\u5bc6\u901a\u9053",id:"sslvpn\u52a0\u5bc6\u901a\u9053",level:3},{value:"\u6570\u5b57\u8bc1\u4e66\u8ba4\u8bc1",id:"\u6570\u5b57\u8bc1\u4e66\u8ba4\u8bc1",level:3}],u={toc:c},y="wrapper";function d(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u52a0\u89e3\u5bc6\u670d\u52a1"},"\u52a0\u89e3\u5bc6\u670d\u52a1"),(0,l.yg)("p",null,"\u5bf9\u79f0\u52a0\u5bc6\u3001\u975e\u5bf9\u79f0\u52a0\u5bc6\u3001\u6570\u636e\u6458\u8981"),(0,l.yg)("h3",{id:"\u7b7e\u540d\u9a8c\u7b7e\u670d\u52a1"},"\u7b7e\u540d\u9a8c\u7b7e\u670d\u52a1"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://zhuanlan.zhihu.com/p/457435473"},"\u77e5\u4e4e-\u7b7e\u540d\u9a8c\u7b7e")),(0,l.yg)("h3",{id:"\u79d8\u94a5\u7ba1\u7406"},"\u79d8\u94a5\u7ba1\u7406"),(0,l.yg)("p",null,"\u5bc6\u94a5\u662f\u52a0\u5bc6\u901a\u4fe1\u3001\u4fdd\u62a4\u6570\u636e\u7684\u91cd\u8981\u5de5\u5177\u3002\u5bc6\u94a5\u7ba1\u7406\u662f\u6307\u5bf9\u5bc6\u94a5\u7684\u4ea7\u751f\u3001\u5b58\u50a8\u3001\u4f7f\u7528\u548c\u9500\u6bc1\u7b49\u5168\u8fc7\u7a0b\u8fdb\u884c\u7ba1\u7406\uff0c\u786e\u4fdd\u5bc6\u94a5\u7684\u5b89\u5168\u6027\u548c\u53ef\u9760\u6027\u3002"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://developer.baidu.com/article/detail.html?id=379498"},"\u5bc6\u94a5\u7ba1\u7406\u670d\u52a1\uff08KMS\uff09")),(0,l.yg)("h3",{id:"\u6587\u4ef6\u52a0\u5bc6"},"\u6587\u4ef6\u52a0\u5bc6"),(0,l.yg)("h3",{id:"\u6570\u636e\u5e93\u52a0\u5bc6"},"\u6570\u636e\u5e93\u52a0\u5bc6"),(0,l.yg)("h3",{id:"\u65f6\u95f4\u6233\u670d\u52a1"},"\u65f6\u95f4\u6233\u670d\u52a1"),(0,l.yg)("h3",{id:"\u534f\u540c\u7b7e\u540d"},"\u534f\u540c\u7b7e\u540d"),(0,l.yg)("h3",{id:"\u52a8\u6001\u4ee4\u724c"},"\u52a8\u6001\u4ee4\u724c"),(0,l.yg)("h3",{id:"\u7535\u5b50\u7b7e\u7ae0"},"\u7535\u5b50\u7b7e\u7ae0"),(0,l.yg)("h3",{id:"sslvpn\u52a0\u5bc6\u901a\u9053"},"SSLVPN\u52a0\u5bc6\u901a\u9053"),(0,l.yg)("h3",{id:"\u6570\u5b57\u8bc1\u4e66\u8ba4\u8bc1"},"\u6570\u5b57\u8bc1\u4e66\u8ba4\u8bc1"),(0,l.yg)("p",null,"\u8bc1\u4e66\u5b9e\u9645\u662f\u7531\u8bc1\u4e66\u7b7e\u8bc1\u673a\u5173\uff08CA\uff09\u7b7e\u53d1\u7684\u5bf9\u7528\u6237\u7684\u516c\u94a5\u7684\u8ba4\u8bc1\u3002"),(0,l.yg)("p",null,"\u8bc1\u4e66\u7684\u5185\u5bb9\u5305\u62ec\uff1a\u7535\u5b50\u7b7e\u8bc1\u673a\u5173\u7684\u4fe1\u606f\u3001\u516c\u94a5\u7528\u6237\u4fe1\u606f\u3001\u516c\u94a5\u3001\u6743\u5a01\u673a\u6784\u7684\u7b7e\u5b57\u548c\u6709\u6548\u671f\u7b49\u7b49\u3002\u76ee\u524d\uff0c\u8bc1\u4e66\u7684\u683c\u5f0f\u548c\u9a8c\u8bc1\u65b9\u6cd5\u666e\u904d\u9075\u5faaX.509 \u56fd\u9645\u6807\u51c6\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("p",{parentName:"li"},"\u52a0\u5bc6\uff1aca\u8ba4\u8bc1\u5c06\u6587\u5b57\u8f6c\u6362\u6210\u4e0d\u80fd\u76f4\u63a5\u9605\u8bfb\u7684\u5f62\u5f0f\uff08\u5373\u5bc6\u6587\uff09\u7684\u8fc7\u7a0b\u79f0\u4e3a\u52a0\u5bc6\u3002")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("p",{parentName:"li"},"\u89e3\u5bc6\uff1a\u5c06\u5bc6\u6587\u8f6c\u6362\u6210\u80fd\u591f\u76f4\u63a5\u9605\u8bfb\u7684\u6587\u5b57\uff08\u5373\u660e\u6587\uff09\u7684\u8fc7\u7a0b\u79f0\u4e3a\u89e3\u5bc6\u3002"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3946],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>v});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),y=c(r),s=l,v=y["".concat(p,".").concat(s)]||y[s]||d[s]||a;return r?n.createElement(v,i(i({ref:t},u),{},{components:r})):n.createElement(v,i({ref:t},u))}));function v(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,i=new Array(a);i[0]=s;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[y]="string"==typeof e?e:l,i[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},i=void 0,o={unversionedId:"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1",id:"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1",title:"\u52a0\u89e3\u5bc6\u670d\u52a1",description:"\u52a0\u89e3\u5bc6\u670d\u52a1",source:"@site/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1",permalink:"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",permalink:"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5"},next:{title:"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5",permalink:"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3"}},p={},c=[{value:"\u52a0\u89e3\u5bc6\u670d\u52a1",id:"\u52a0\u89e3\u5bc6\u670d\u52a1",level:3},{value:"\u7b7e\u540d\u9a8c\u7b7e\u670d\u52a1",id:"\u7b7e\u540d\u9a8c\u7b7e\u670d\u52a1",level:3},{value:"\u79d8\u94a5\u7ba1\u7406",id:"\u79d8\u94a5\u7ba1\u7406",level:3},{value:"\u6587\u4ef6\u52a0\u5bc6",id:"\u6587\u4ef6\u52a0\u5bc6",level:3},{value:"\u6570\u636e\u5e93\u52a0\u5bc6",id:"\u6570\u636e\u5e93\u52a0\u5bc6",level:3},{value:"\u65f6\u95f4\u6233\u670d\u52a1",id:"\u65f6\u95f4\u6233\u670d\u52a1",level:3},{value:"\u534f\u540c\u7b7e\u540d",id:"\u534f\u540c\u7b7e\u540d",level:3},{value:"\u52a8\u6001\u4ee4\u724c",id:"\u52a8\u6001\u4ee4\u724c",level:3},{value:"\u7535\u5b50\u7b7e\u7ae0",id:"\u7535\u5b50\u7b7e\u7ae0",level:3},{value:"SSLVPN\u52a0\u5bc6\u901a\u9053",id:"sslvpn\u52a0\u5bc6\u901a\u9053",level:3},{value:"\u6570\u5b57\u8bc1\u4e66\u8ba4\u8bc1",id:"\u6570\u5b57\u8bc1\u4e66\u8ba4\u8bc1",level:3}],u={toc:c},y="wrapper";function d(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u52a0\u89e3\u5bc6\u670d\u52a1"},"\u52a0\u89e3\u5bc6\u670d\u52a1"),(0,l.yg)("p",null,"\u5bf9\u79f0\u52a0\u5bc6\u3001\u975e\u5bf9\u79f0\u52a0\u5bc6\u3001\u6570\u636e\u6458\u8981"),(0,l.yg)("h3",{id:"\u7b7e\u540d\u9a8c\u7b7e\u670d\u52a1"},"\u7b7e\u540d\u9a8c\u7b7e\u670d\u52a1"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://zhuanlan.zhihu.com/p/457435473"},"\u77e5\u4e4e-\u7b7e\u540d\u9a8c\u7b7e")),(0,l.yg)("h3",{id:"\u79d8\u94a5\u7ba1\u7406"},"\u79d8\u94a5\u7ba1\u7406"),(0,l.yg)("p",null,"\u5bc6\u94a5\u662f\u52a0\u5bc6\u901a\u4fe1\u3001\u4fdd\u62a4\u6570\u636e\u7684\u91cd\u8981\u5de5\u5177\u3002\u5bc6\u94a5\u7ba1\u7406\u662f\u6307\u5bf9\u5bc6\u94a5\u7684\u4ea7\u751f\u3001\u5b58\u50a8\u3001\u4f7f\u7528\u548c\u9500\u6bc1\u7b49\u5168\u8fc7\u7a0b\u8fdb\u884c\u7ba1\u7406\uff0c\u786e\u4fdd\u5bc6\u94a5\u7684\u5b89\u5168\u6027\u548c\u53ef\u9760\u6027\u3002"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://developer.baidu.com/article/detail.html?id=379498"},"\u5bc6\u94a5\u7ba1\u7406\u670d\u52a1\uff08KMS\uff09")),(0,l.yg)("h3",{id:"\u6587\u4ef6\u52a0\u5bc6"},"\u6587\u4ef6\u52a0\u5bc6"),(0,l.yg)("h3",{id:"\u6570\u636e\u5e93\u52a0\u5bc6"},"\u6570\u636e\u5e93\u52a0\u5bc6"),(0,l.yg)("h3",{id:"\u65f6\u95f4\u6233\u670d\u52a1"},"\u65f6\u95f4\u6233\u670d\u52a1"),(0,l.yg)("h3",{id:"\u534f\u540c\u7b7e\u540d"},"\u534f\u540c\u7b7e\u540d"),(0,l.yg)("h3",{id:"\u52a8\u6001\u4ee4\u724c"},"\u52a8\u6001\u4ee4\u724c"),(0,l.yg)("h3",{id:"\u7535\u5b50\u7b7e\u7ae0"},"\u7535\u5b50\u7b7e\u7ae0"),(0,l.yg)("h3",{id:"sslvpn\u52a0\u5bc6\u901a\u9053"},"SSLVPN\u52a0\u5bc6\u901a\u9053"),(0,l.yg)("h3",{id:"\u6570\u5b57\u8bc1\u4e66\u8ba4\u8bc1"},"\u6570\u5b57\u8bc1\u4e66\u8ba4\u8bc1"),(0,l.yg)("p",null,"\u8bc1\u4e66\u5b9e\u9645\u662f\u7531\u8bc1\u4e66\u7b7e\u8bc1\u673a\u5173\uff08CA\uff09\u7b7e\u53d1\u7684\u5bf9\u7528\u6237\u7684\u516c\u94a5\u7684\u8ba4\u8bc1\u3002"),(0,l.yg)("p",null,"\u8bc1\u4e66\u7684\u5185\u5bb9\u5305\u62ec\uff1a\u7535\u5b50\u7b7e\u8bc1\u673a\u5173\u7684\u4fe1\u606f\u3001\u516c\u94a5\u7528\u6237\u4fe1\u606f\u3001\u516c\u94a5\u3001\u6743\u5a01\u673a\u6784\u7684\u7b7e\u5b57\u548c\u6709\u6548\u671f\u7b49\u7b49\u3002\u76ee\u524d\uff0c\u8bc1\u4e66\u7684\u683c\u5f0f\u548c\u9a8c\u8bc1\u65b9\u6cd5\u666e\u904d\u9075\u5faaX.509 \u56fd\u9645\u6807\u51c6\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("p",{parentName:"li"},"\u52a0\u5bc6\uff1aca\u8ba4\u8bc1\u5c06\u6587\u5b57\u8f6c\u6362\u6210\u4e0d\u80fd\u76f4\u63a5\u9605\u8bfb\u7684\u5f62\u5f0f\uff08\u5373\u5bc6\u6587\uff09\u7684\u8fc7\u7a0b\u79f0\u4e3a\u52a0\u5bc6\u3002")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("p",{parentName:"li"},"\u89e3\u5bc6\uff1a\u5c06\u5bc6\u6587\u8f6c\u6362\u6210\u80fd\u591f\u76f4\u63a5\u9605\u8bfb\u7684\u6587\u5b57\uff08\u5373\u660e\u6587\uff09\u7684\u8fc7\u7a0b\u79f0\u4e3a\u89e3\u5bc6\u3002"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/46c2ebc5.176b678f.js b/assets/js/46c2ebc5.933d5fdd.js similarity index 99% rename from assets/js/46c2ebc5.176b678f.js rename to assets/js/46c2ebc5.933d5fdd.js index 89ecec02b..ab59dd60a 100644 --- a/assets/js/46c2ebc5.176b678f.js +++ b/assets/js/46c2ebc5.933d5fdd.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2143],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>g});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var c=r.createContext({}),d=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},p=function(e){var t=d(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,i=e.originalType,c=e.parentName,p=a(e,["components","mdxType","originalType","parentName"]),u=d(n),s=l,g=u["".concat(c,".").concat(s)]||u[s]||y[s]||i;return n?r.createElement(g,o(o({ref:t},p),{},{components:n})):r.createElement(g,o({ref:t},p))}));function g(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var i=n.length,o=new Array(i);o[0]=s;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=e,a[u]="string"==typeof e?e:l,o[1]=a;for(var d=2;d{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>y,frontMatter:()=>i,metadata:()=>a,toc:()=>d});var r=n(58168),l=(n(96540),n(15680));const i={},o=void 0,a={unversionedId:"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",id:"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",title:"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",description:"DES\u30013DES \u548c AES \u90fd\u5c5e\u4e8e\u5206\u7ec4\u5bc6\u7801\uff0c\u5b83\u4eec\u53ea\u80fd\u52a0\u5bc6\u56fa\u5b9a\u957f\u5ea6\u7684\u660e\u6587\u3002\u5982\u679c\u9700\u8981\u52a0\u5bc6\u66f4\u957f\u7684\u660e\u6587\uff0c\u5c31\u9700\u8981\u5bf9\u5206\u7ec4\u5bc6\u7801\u8fdb\u884c\u8fed\u4ee3\uff0c\u800c\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u6cd5\u79f0\u4e3a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff08Model\uff09\u3002\u7b80\u800c\u4e00\u53e5\u8bdd\uff1a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff0c\u5c31\u662f\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u5f0f\u3002",source:"@site/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5",permalink:"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3"},next:{title:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"}},c={},d=[{value:"ECB \u6a21\u5f0f",id:"ecb-\u6a21\u5f0f",level:3},{value:"CBC \u6a21\u5f0f",id:"cbc-\u6a21\u5f0f",level:3},{value:"CFB \u6a21\u5f0f",id:"cfb-\u6a21\u5f0f",level:3},{value:"OFB \u6a21\u5f0f",id:"ofb-\u6a21\u5f0f",level:3},{value:"CTR \u6a21\u5f0f",id:"ctr-\u6a21\u5f0f",level:3},{value:"\u5206\u7ec4\u5bc6\u7801\u7684\u586b\u5145",id:"\u5206\u7ec4\u5bc6\u7801\u7684\u586b\u5145",level:2},{value:"No Padding",id:"no-padding",level:3},{value:"ANSI X9.23",id:"ansi-x923",level:3},{value:"ISO 10126",id:"iso-10126",level:3},{value:"PKCS#5 \u548c PKCS#7",id:"pkcs5-\u548c-pkcs7",level:3},{value:"ISO/IEC 7816-4",id:"isoiec-7816-4",level:3},{value:"Zero Padding",id:"zero-padding",level:3}],p={toc:d},u="wrapper";function y(e){let{components:t,...n}=e;return(0,l.yg)(u,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"DES\u30013DES \u548c AES \u90fd\u5c5e\u4e8e\u5206\u7ec4\u5bc6\u7801\uff0c\u5b83\u4eec\u53ea\u80fd\u52a0\u5bc6\u56fa\u5b9a\u957f\u5ea6\u7684\u660e\u6587\u3002\u5982\u679c\u9700\u8981\u52a0\u5bc6\u66f4\u957f\u7684\u660e\u6587\uff0c\u5c31\u9700\u8981\u5bf9\u5206\u7ec4\u5bc6\u7801\u8fdb\u884c\u8fed\u4ee3\uff0c\u800c\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u6cd5\u79f0\u4e3a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff08Model\uff09\u3002\u7b80\u800c\u4e00\u53e5\u8bdd\uff1a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff0c\u5c31\u662f\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u5f0f\u3002"),(0,l.yg)("p",null,"\u5206\u7ec4\u5bc6\u7801\u6709\u5f88\u591a\u79cd\u6a21\u5f0f\uff0c\u8fd9\u91cc\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u51e0\u79cd\uff1aECB\u3001CBC\u3001CFB\u3001OFB\u3001CTR\u3002"),(0,l.yg)("h3",{id:"ecb-\u6a21\u5f0f"},"ECB \u6a21\u5f0f"),(0,l.yg)("p",null,"ECB\uff08Electronic CodeBook\uff09\u6a21\u5f0f\uff0c\u5373\u7535\u5b50\u5bc6\u7801\u672c\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u662f\u5c06\u660e\u6587\u5206\u7ec4\uff0c\u52a0\u5bc6\u540e\u76f4\u63a5\u6210\u4e3a\u5bc6\u6587\u5206\u7ec4\uff0c\u5206\u7ec4\u4e4b\u95f4\u6ca1\u6709\u5173\u7cfb\u3002"),(0,l.yg)("p",null,"ECB \u6a21\u5f0f\u662f\u6240\u6709\u6a21\u5f0f\u4e2d\u6700\u7b80\u5355\u7684\u4e00\u79cd\uff0c\u8be5\u6a21\u5f0f\u7684\u660e\u6587\u5206\u7ec4\u4e0e\u5bc6\u6587\u5206\u7ec4\u662f\u4e00\u4e00\u5bf9\u5e94\u7684\u5173\u7cfb\uff0c\u82e5\u660e\u6587\u5206\u7ec4\u76f8\u540c\uff0c\u5176\u5bc6\u6587\u5206\u7ec4\u4e5f\u4e00\u5b9a\u76f8\u540c\u3002\u56e0\u6b64\uff0cECB \u6a21\u5f0f\u4e5f\u662f\u6700\u4e0d\u5b89\u5168\u7684\u6a21\u5f0f\u3002"),(0,l.yg)("h3",{id:"cbc-\u6a21\u5f0f"},"CBC \u6a21\u5f0f"),(0,l.yg)("p",null,"CBC\uff08Cipher Block Chaining\uff09\u6a21\u5f0f\uff0c\u5373\u5bc6\u7801\u5206\u7ec4\u94fe\u63a5\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u9996\u5148\u5c06\u660e\u6587\u5206\u7ec4\u4e0e\u524d\u4e00\u4e2a\u5bc6\u6587\u5206\u7ec4\u8fdb\u884c XOR \u8fd0\u7b97\uff0c\u7136\u540e\u518d\u8fdb\u884c\u52a0\u5bc6\u3002\u53ea\u6709\u7b2c\u4e00\u4e2a\u660e\u6587\u5206\u7ec4\u7279\u6b8a\uff0c\u9700\u8981\u63d0\u524d\u4e3a\u5176\u751f\u6210\u4e00\u4e2a\u4e0e\u5206\u7ec4\u957f\u5ea6\u76f8\u540c\u7684\u6bd4\u7279\u5e8f\u5217\uff0c\u8fdb\u884c XOR \u8fd0\u7b97\uff0c\u8fd9\u4e2a\u6bd4\u7279\u5e8f\u5217\u79f0\u4e3a\u521d\u59cb\u5316\u5411\u91cf\uff08Initialization Vector\uff09\uff0c\u7b80\u79f0 IV\u3002"),(0,l.yg)("h3",{id:"cfb-\u6a21\u5f0f"},"CFB \u6a21\u5f0f"),(0,l.yg)("p",null,"CFB\uff08Cipher FeedBack\uff09\u6a21\u5f0f\uff0c\u5373\u5bc6\u6587\u53cd\u9988\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u9996\u5148\u5c06\u524d\u4e00\u4e2a\u5bc6\u6587\u5206\u7ec4\u8fdb\u884c\u52a0\u5bc6\uff0c\u518d\u4e0e\u5f53\u524d\u660e\u6587\u5206\u7ec4\u8fdb\u884c XOR \u8fd0\u7b97\uff0c\u6765\u751f\u6210\u5bc6\u6587\u5206\u7ec4\u3002\u540c\u6837 CFB \u6a21\u5f0f\u4e5f\u9700\u8981\u4e00\u4e2a IV\u3002"),(0,l.yg)("h3",{id:"ofb-\u6a21\u5f0f"},"OFB \u6a21\u5f0f"),(0,l.yg)("p",null,"OFB\uff08Output FeedBack\uff09\u6a21\u5f0f\uff0c\u5373\u8f93\u51fa\u53cd\u9988\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u4f1a\u4ea7\u751f\u4e00\u4e2a\u5bc6\u94a5\u6d41\uff0c\u5373\u5c06\u5bc6\u7801\u7b97\u6cd5\u7684\u524d\u4e00\u4e2a\u8f93\u51fa\u503c\uff0c\u505a\u4e3a\u5f53\u524d\u5bc6\u7801\u7b97\u6cd5\u7684\u8f93\u5165\u503c\u3002\u8be5\u8f93\u5165\u503c\u518d\u4e0e\u660e\u6587\u5206\u7ec4\u8fdb\u884c XOR \u8fd0\u884c\uff0c\u8ba1\u7b97\u5f97\u51fa\u5bc6\u6587\u5206\u7ec4\u3002\u8be5\u6a21\u5f0f\u9700\u8981\u4e00\u4e2a IV\uff0c\u8fdb\u884c\u52a0\u5bc6\u540e\u505a\u4e3a\u7b2c\u4e00\u4e2a\u5206\u7ec4\u7684\u8f93\u5165\u3002"),(0,l.yg)("h3",{id:"ctr-\u6a21\u5f0f"},"CTR \u6a21\u5f0f"),(0,l.yg)("p",null,"CTR\uff08CounTeR\uff09\u6a21\u5f0f\uff0c\u5373\u8ba1\u6570\u5668\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u4e5f\u4f1a\u4ea7\u751f\u4e00\u4e2a\u5bc6\u94a5\u6d41\uff0c\u5b83\u901a\u8fc7\u9012\u589e\u4e00\u4e2a\u8ba1\u6570\u5668\u6765\u4ea7\u751f\u8fde\u7eed\u7684\u5bc6\u94a5\u6d41\u3002\u5bf9\u8be5\u8ba1\u6570\u5668\u8fdb\u884c\u52a0\u5bc6\uff0c\u518d\u4e0e\u660e\u6587\u5206\u7ec4\u8fdb\u884c XOR \u8fd0\u7b97\uff0c\u8ba1\u7b97\u5f97\u51fa\u5bc6\u6587\u5206\u7ec4\u3002"),(0,l.yg)("h2",{id:"\u5206\u7ec4\u5bc6\u7801\u7684\u586b\u5145"},"\u5206\u7ec4\u5bc6\u7801\u7684\u586b\u5145"),(0,l.yg)("p",null,"\u5728\u5206\u7ec4\u5bc6\u7801\u4e2d\uff0c\u5f53\u6570\u636e\u957f\u5ea6\u4e0d\u7b26\u5408\u5206\u7ec4\u957f\u5ea6\u65f6\uff0c\u9700\u8981\u6309\u4e00\u5b9a\u7684\u65b9\u5f0f\uff0c\u5c06\u5c3e\u90e8\u660e\u6587\u5206\u7ec4\u8fdb\u884c\u586b\u5145\uff0c\u8fd9\u79cd\u5c06\u5c3e\u90e8\u5206\u7ec4\u6570\u636e\u586b\u6ee1\u7684\u65b9\u6cd5\u79f0\u4e3a\u586b\u5145\uff08Padding)\u3002"),(0,l.yg)("h3",{id:"no-padding"},"No Padding"),(0,l.yg)("p",null,"\u5373\u4e0d\u586b\u5145\uff0c\u8981\u6c42\u660e\u6587\u7684\u957f\u5ea6\uff0c\u5fc5\u987b\u662f\u52a0\u5bc6\u7b97\u6cd5\u5206\u7ec4\u957f\u5ea6\u7684\u6574\u6570\u500d\u3002"),(0,l.yg)("h3",{id:"ansi-x923"},"ANSI X9.23"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u6700\u540e\u4e00\u4e2a\u5b57\u8282\u586b\u5145\u4e3a\u9700\u8981\u586b\u5145\u7684\u5b57\u8282\u957f\u5ea6\uff0c\u5176\u4f59\u5b57\u8282\u586b\u5145 0\u3002"),(0,l.yg)("h3",{id:"iso-10126"},"ISO 10126"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u6700\u540e\u4e00\u4e2a\u5b57\u8282\u586b\u5145\u4e3a\u9700\u8981\u586b\u5145\u7684\u5b57\u8282\u957f\u5ea6\uff0c\u5176\u4f59\u5b57\u8282\u586b\u5145\u968f\u673a\u6570\u3002"),(0,l.yg)("h3",{id:"pkcs5-\u548c-pkcs7"},"PKCS#5 \u548c PKCS#7"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u6bcf\u4e2a\u5b57\u8282\u586b\u5145\u4e3a\u9700\u8981\u586b\u5145\u7684\u5b57\u8282\u957f\u5ea6\u3002"),(0,l.yg)("h3",{id:"isoiec-7816-4"},"ISO/IEC 7816-4"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u7b2c\u4e00\u4e2a\u5b57\u8282\u586b\u5145\u56fa\u5b9a\u503c 80\uff0c\u5176\u4f59\u5b57\u8282\u586b\u5145 0\u3002\u82e5\u53ea\u9700\u586b\u5145\u4e00\u4e2a\u5b57\u8282\uff0c\u5219\u76f4\u63a5\u586b\u5145 80\u3002"),(0,l.yg)("h3",{id:"zero-padding"},"Zero Padding"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u6bcf\u4e2a\u5b57\u8282\u586b\u5145\u4e3a 0\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2143],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>g});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var c=r.createContext({}),d=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},p=function(e){var t=d(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,i=e.originalType,c=e.parentName,p=a(e,["components","mdxType","originalType","parentName"]),u=d(n),s=l,g=u["".concat(c,".").concat(s)]||u[s]||y[s]||i;return n?r.createElement(g,o(o({ref:t},p),{},{components:n})):r.createElement(g,o({ref:t},p))}));function g(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var i=n.length,o=new Array(i);o[0]=s;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=e,a[u]="string"==typeof e?e:l,o[1]=a;for(var d=2;d{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>y,frontMatter:()=>i,metadata:()=>a,toc:()=>d});var r=n(58168),l=(n(96540),n(15680));const i={},o=void 0,a={unversionedId:"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",id:"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",title:"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",description:"DES\u30013DES \u548c AES \u90fd\u5c5e\u4e8e\u5206\u7ec4\u5bc6\u7801\uff0c\u5b83\u4eec\u53ea\u80fd\u52a0\u5bc6\u56fa\u5b9a\u957f\u5ea6\u7684\u660e\u6587\u3002\u5982\u679c\u9700\u8981\u52a0\u5bc6\u66f4\u957f\u7684\u660e\u6587\uff0c\u5c31\u9700\u8981\u5bf9\u5206\u7ec4\u5bc6\u7801\u8fdb\u884c\u8fed\u4ee3\uff0c\u800c\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u6cd5\u79f0\u4e3a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff08Model\uff09\u3002\u7b80\u800c\u4e00\u53e5\u8bdd\uff1a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff0c\u5c31\u662f\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u5f0f\u3002",source:"@site/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5",permalink:"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3"},next:{title:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"}},c={},d=[{value:"ECB \u6a21\u5f0f",id:"ecb-\u6a21\u5f0f",level:3},{value:"CBC \u6a21\u5f0f",id:"cbc-\u6a21\u5f0f",level:3},{value:"CFB \u6a21\u5f0f",id:"cfb-\u6a21\u5f0f",level:3},{value:"OFB \u6a21\u5f0f",id:"ofb-\u6a21\u5f0f",level:3},{value:"CTR \u6a21\u5f0f",id:"ctr-\u6a21\u5f0f",level:3},{value:"\u5206\u7ec4\u5bc6\u7801\u7684\u586b\u5145",id:"\u5206\u7ec4\u5bc6\u7801\u7684\u586b\u5145",level:2},{value:"No Padding",id:"no-padding",level:3},{value:"ANSI X9.23",id:"ansi-x923",level:3},{value:"ISO 10126",id:"iso-10126",level:3},{value:"PKCS#5 \u548c PKCS#7",id:"pkcs5-\u548c-pkcs7",level:3},{value:"ISO/IEC 7816-4",id:"isoiec-7816-4",level:3},{value:"Zero Padding",id:"zero-padding",level:3}],p={toc:d},u="wrapper";function y(e){let{components:t,...n}=e;return(0,l.yg)(u,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"DES\u30013DES \u548c AES \u90fd\u5c5e\u4e8e\u5206\u7ec4\u5bc6\u7801\uff0c\u5b83\u4eec\u53ea\u80fd\u52a0\u5bc6\u56fa\u5b9a\u957f\u5ea6\u7684\u660e\u6587\u3002\u5982\u679c\u9700\u8981\u52a0\u5bc6\u66f4\u957f\u7684\u660e\u6587\uff0c\u5c31\u9700\u8981\u5bf9\u5206\u7ec4\u5bc6\u7801\u8fdb\u884c\u8fed\u4ee3\uff0c\u800c\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u6cd5\u79f0\u4e3a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff08Model\uff09\u3002\u7b80\u800c\u4e00\u53e5\u8bdd\uff1a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff0c\u5c31\u662f\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u5f0f\u3002"),(0,l.yg)("p",null,"\u5206\u7ec4\u5bc6\u7801\u6709\u5f88\u591a\u79cd\u6a21\u5f0f\uff0c\u8fd9\u91cc\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u51e0\u79cd\uff1aECB\u3001CBC\u3001CFB\u3001OFB\u3001CTR\u3002"),(0,l.yg)("h3",{id:"ecb-\u6a21\u5f0f"},"ECB \u6a21\u5f0f"),(0,l.yg)("p",null,"ECB\uff08Electronic CodeBook\uff09\u6a21\u5f0f\uff0c\u5373\u7535\u5b50\u5bc6\u7801\u672c\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u662f\u5c06\u660e\u6587\u5206\u7ec4\uff0c\u52a0\u5bc6\u540e\u76f4\u63a5\u6210\u4e3a\u5bc6\u6587\u5206\u7ec4\uff0c\u5206\u7ec4\u4e4b\u95f4\u6ca1\u6709\u5173\u7cfb\u3002"),(0,l.yg)("p",null,"ECB \u6a21\u5f0f\u662f\u6240\u6709\u6a21\u5f0f\u4e2d\u6700\u7b80\u5355\u7684\u4e00\u79cd\uff0c\u8be5\u6a21\u5f0f\u7684\u660e\u6587\u5206\u7ec4\u4e0e\u5bc6\u6587\u5206\u7ec4\u662f\u4e00\u4e00\u5bf9\u5e94\u7684\u5173\u7cfb\uff0c\u82e5\u660e\u6587\u5206\u7ec4\u76f8\u540c\uff0c\u5176\u5bc6\u6587\u5206\u7ec4\u4e5f\u4e00\u5b9a\u76f8\u540c\u3002\u56e0\u6b64\uff0cECB \u6a21\u5f0f\u4e5f\u662f\u6700\u4e0d\u5b89\u5168\u7684\u6a21\u5f0f\u3002"),(0,l.yg)("h3",{id:"cbc-\u6a21\u5f0f"},"CBC \u6a21\u5f0f"),(0,l.yg)("p",null,"CBC\uff08Cipher Block Chaining\uff09\u6a21\u5f0f\uff0c\u5373\u5bc6\u7801\u5206\u7ec4\u94fe\u63a5\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u9996\u5148\u5c06\u660e\u6587\u5206\u7ec4\u4e0e\u524d\u4e00\u4e2a\u5bc6\u6587\u5206\u7ec4\u8fdb\u884c XOR \u8fd0\u7b97\uff0c\u7136\u540e\u518d\u8fdb\u884c\u52a0\u5bc6\u3002\u53ea\u6709\u7b2c\u4e00\u4e2a\u660e\u6587\u5206\u7ec4\u7279\u6b8a\uff0c\u9700\u8981\u63d0\u524d\u4e3a\u5176\u751f\u6210\u4e00\u4e2a\u4e0e\u5206\u7ec4\u957f\u5ea6\u76f8\u540c\u7684\u6bd4\u7279\u5e8f\u5217\uff0c\u8fdb\u884c XOR \u8fd0\u7b97\uff0c\u8fd9\u4e2a\u6bd4\u7279\u5e8f\u5217\u79f0\u4e3a\u521d\u59cb\u5316\u5411\u91cf\uff08Initialization Vector\uff09\uff0c\u7b80\u79f0 IV\u3002"),(0,l.yg)("h3",{id:"cfb-\u6a21\u5f0f"},"CFB \u6a21\u5f0f"),(0,l.yg)("p",null,"CFB\uff08Cipher FeedBack\uff09\u6a21\u5f0f\uff0c\u5373\u5bc6\u6587\u53cd\u9988\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u9996\u5148\u5c06\u524d\u4e00\u4e2a\u5bc6\u6587\u5206\u7ec4\u8fdb\u884c\u52a0\u5bc6\uff0c\u518d\u4e0e\u5f53\u524d\u660e\u6587\u5206\u7ec4\u8fdb\u884c XOR \u8fd0\u7b97\uff0c\u6765\u751f\u6210\u5bc6\u6587\u5206\u7ec4\u3002\u540c\u6837 CFB \u6a21\u5f0f\u4e5f\u9700\u8981\u4e00\u4e2a IV\u3002"),(0,l.yg)("h3",{id:"ofb-\u6a21\u5f0f"},"OFB \u6a21\u5f0f"),(0,l.yg)("p",null,"OFB\uff08Output FeedBack\uff09\u6a21\u5f0f\uff0c\u5373\u8f93\u51fa\u53cd\u9988\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u4f1a\u4ea7\u751f\u4e00\u4e2a\u5bc6\u94a5\u6d41\uff0c\u5373\u5c06\u5bc6\u7801\u7b97\u6cd5\u7684\u524d\u4e00\u4e2a\u8f93\u51fa\u503c\uff0c\u505a\u4e3a\u5f53\u524d\u5bc6\u7801\u7b97\u6cd5\u7684\u8f93\u5165\u503c\u3002\u8be5\u8f93\u5165\u503c\u518d\u4e0e\u660e\u6587\u5206\u7ec4\u8fdb\u884c XOR \u8fd0\u884c\uff0c\u8ba1\u7b97\u5f97\u51fa\u5bc6\u6587\u5206\u7ec4\u3002\u8be5\u6a21\u5f0f\u9700\u8981\u4e00\u4e2a IV\uff0c\u8fdb\u884c\u52a0\u5bc6\u540e\u505a\u4e3a\u7b2c\u4e00\u4e2a\u5206\u7ec4\u7684\u8f93\u5165\u3002"),(0,l.yg)("h3",{id:"ctr-\u6a21\u5f0f"},"CTR \u6a21\u5f0f"),(0,l.yg)("p",null,"CTR\uff08CounTeR\uff09\u6a21\u5f0f\uff0c\u5373\u8ba1\u6570\u5668\u6a21\u5f0f\u3002\u8be5\u6a21\u5f0f\u4e5f\u4f1a\u4ea7\u751f\u4e00\u4e2a\u5bc6\u94a5\u6d41\uff0c\u5b83\u901a\u8fc7\u9012\u589e\u4e00\u4e2a\u8ba1\u6570\u5668\u6765\u4ea7\u751f\u8fde\u7eed\u7684\u5bc6\u94a5\u6d41\u3002\u5bf9\u8be5\u8ba1\u6570\u5668\u8fdb\u884c\u52a0\u5bc6\uff0c\u518d\u4e0e\u660e\u6587\u5206\u7ec4\u8fdb\u884c XOR \u8fd0\u7b97\uff0c\u8ba1\u7b97\u5f97\u51fa\u5bc6\u6587\u5206\u7ec4\u3002"),(0,l.yg)("h2",{id:"\u5206\u7ec4\u5bc6\u7801\u7684\u586b\u5145"},"\u5206\u7ec4\u5bc6\u7801\u7684\u586b\u5145"),(0,l.yg)("p",null,"\u5728\u5206\u7ec4\u5bc6\u7801\u4e2d\uff0c\u5f53\u6570\u636e\u957f\u5ea6\u4e0d\u7b26\u5408\u5206\u7ec4\u957f\u5ea6\u65f6\uff0c\u9700\u8981\u6309\u4e00\u5b9a\u7684\u65b9\u5f0f\uff0c\u5c06\u5c3e\u90e8\u660e\u6587\u5206\u7ec4\u8fdb\u884c\u586b\u5145\uff0c\u8fd9\u79cd\u5c06\u5c3e\u90e8\u5206\u7ec4\u6570\u636e\u586b\u6ee1\u7684\u65b9\u6cd5\u79f0\u4e3a\u586b\u5145\uff08Padding)\u3002"),(0,l.yg)("h3",{id:"no-padding"},"No Padding"),(0,l.yg)("p",null,"\u5373\u4e0d\u586b\u5145\uff0c\u8981\u6c42\u660e\u6587\u7684\u957f\u5ea6\uff0c\u5fc5\u987b\u662f\u52a0\u5bc6\u7b97\u6cd5\u5206\u7ec4\u957f\u5ea6\u7684\u6574\u6570\u500d\u3002"),(0,l.yg)("h3",{id:"ansi-x923"},"ANSI X9.23"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u6700\u540e\u4e00\u4e2a\u5b57\u8282\u586b\u5145\u4e3a\u9700\u8981\u586b\u5145\u7684\u5b57\u8282\u957f\u5ea6\uff0c\u5176\u4f59\u5b57\u8282\u586b\u5145 0\u3002"),(0,l.yg)("h3",{id:"iso-10126"},"ISO 10126"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u6700\u540e\u4e00\u4e2a\u5b57\u8282\u586b\u5145\u4e3a\u9700\u8981\u586b\u5145\u7684\u5b57\u8282\u957f\u5ea6\uff0c\u5176\u4f59\u5b57\u8282\u586b\u5145\u968f\u673a\u6570\u3002"),(0,l.yg)("h3",{id:"pkcs5-\u548c-pkcs7"},"PKCS#5 \u548c PKCS#7"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u6bcf\u4e2a\u5b57\u8282\u586b\u5145\u4e3a\u9700\u8981\u586b\u5145\u7684\u5b57\u8282\u957f\u5ea6\u3002"),(0,l.yg)("h3",{id:"isoiec-7816-4"},"ISO/IEC 7816-4"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u7b2c\u4e00\u4e2a\u5b57\u8282\u586b\u5145\u56fa\u5b9a\u503c 80\uff0c\u5176\u4f59\u5b57\u8282\u586b\u5145 0\u3002\u82e5\u53ea\u9700\u586b\u5145\u4e00\u4e2a\u5b57\u8282\uff0c\u5219\u76f4\u63a5\u586b\u5145 80\u3002"),(0,l.yg)("h3",{id:"zero-padding"},"Zero Padding"),(0,l.yg)("p",null,"\u5728\u586b\u5145\u5b57\u8282\u5e8f\u5217\u4e2d\uff0c\u6bcf\u4e2a\u5b57\u8282\u586b\u5145\u4e3a 0\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/477d3230.4ac9d2e9.js b/assets/js/477d3230.666ba05e.js similarity index 98% rename from assets/js/477d3230.4ac9d2e9.js rename to assets/js/477d3230.666ba05e.js index 930246aef..ab2310f03 100644 --- a/assets/js/477d3230.4ac9d2e9.js +++ b/assets/js/477d3230.666ba05e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8571],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241029",id:"study/stock/20241029",title:"20241029",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241029.md",sourceDirName:"study/stock",slug:"/study/stock/20241029",permalink:"/docs/study/stock/20241029",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,o.yg)("p",null,"\u725b\u77ed\u718a\u957f\u5440"),(0,o.yg)("p",null,"\u592a\u6298\u78e8\u4eba\u4e86"),(0,o.yg)("p",null,"\u4e0d\u80fd\u653e\u5f03\u5440\uff0c\u56e0\u4e3a\u4f60\u6ca1\u6709\u673a\u4f1a\u4e86"),(0,o.yg)("p",null,"\u6ee1\u4ed3\u4e86\uff0c\u56e0\u4e3a\u6015\u9519\u8fc7\u4e0a\u6da8\uff0c\u8fd9\u5c31\u662f\u6050\u60e7"),(0,o.yg)("p",null,"\u4f46\u662f\u8dcc\u8dcc\u4e0d\u4f11\uff0c\u771f\u7684\u5f88\u96be\u71ac\u5440"),(0,o.yg)("p",null,"\u628a\u6296\u97f3\u5378\u4e86\uff0c\u4ec0\u4e48\u65f6\u5019\u80fd\u63a7\u5236\u4f4f\u81ea\u5df1\u4e86\uff0c\u4ec0\u4e48\u65f6\u5019\u5b89\u88c5\u56de\u6765"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8571],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241029",id:"study/stock/20241029",title:"20241029",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241029.md",sourceDirName:"study/stock",slug:"/study/stock/20241029",permalink:"/docs/study/stock/20241029",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,o.yg)("p",null,"\u725b\u77ed\u718a\u957f\u5440"),(0,o.yg)("p",null,"\u592a\u6298\u78e8\u4eba\u4e86"),(0,o.yg)("p",null,"\u4e0d\u80fd\u653e\u5f03\u5440\uff0c\u56e0\u4e3a\u4f60\u6ca1\u6709\u673a\u4f1a\u4e86"),(0,o.yg)("p",null,"\u6ee1\u4ed3\u4e86\uff0c\u56e0\u4e3a\u6015\u9519\u8fc7\u4e0a\u6da8\uff0c\u8fd9\u5c31\u662f\u6050\u60e7"),(0,o.yg)("p",null,"\u4f46\u662f\u8dcc\u8dcc\u4e0d\u4f11\uff0c\u771f\u7684\u5f88\u96be\u71ac\u5440"),(0,o.yg)("p",null,"\u628a\u6296\u97f3\u5378\u4e86\uff0c\u4ec0\u4e48\u65f6\u5019\u80fd\u63a7\u5236\u4f4f\u81ea\u5df1\u4e86\uff0c\u4ec0\u4e48\u65f6\u5019\u5b89\u88c5\u56de\u6765"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/47d775f0.3896ee8a.js b/assets/js/47d775f0.7ae13654.js similarity index 99% rename from assets/js/47d775f0.3896ee8a.js rename to assets/js/47d775f0.7ae13654.js index bfbae3d04..91b038290 100644 --- a/assets/js/47d775f0.3896ee8a.js +++ b/assets/js/47d775f0.7ae13654.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6093],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),y=o,f=s["".concat(p,".").concat(y)]||s[y]||d[y]||c;return r?n.createElement(f,a(a({ref:t},u),{},{components:r})):n.createElement(f,a({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,a[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>a,default:()=>d,frontMatter:()=>c,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const c={},a="\u7b49\u4fdd\u548c\u5bc6\u8bc4",i={unversionedId:"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4",id:"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4",title:"\u7b49\u4fdd\u548c\u5bc6\u8bc4",description:"\u201c\u7b49\u4fdd\u201d\u5373\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\uff0c\u65e8\u5728\u901a\u8fc7\u4e0d\u540c\u5b89\u5168\u7b49\u7ea7\u7684\u7ba1\u7406\u548c\u6280\u672f\u63aa\u65bd\uff0c\u786e\u4fdd\u4fe1\u606f\u7cfb\u7edf\u7684\u5b89\u5168\u7a33\u5b9a\u8fd0\u884c\u3002\u6211\u56fd\u4e8e2017\u5e74\u9881\u5e03\u7684\u300a\u7f51\u7edc\u5b89\u5168\u6cd5\u300b\u4e2d\u7b2c\u4e8c\u5341\u4e00\u6761\u89c4\u5b9a\u201c\u56fd\u5bb6\u5b9e\u884c\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u201d\u3002\u6cd5\u5f8b\u8981\u6c42\u7f51\u7edc\u8fd0\u8425\u8005\u9700\u6309\u7167\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u8981\u6c42\uff0c\u5c65\u884c\u5236\u5b9a\u5b89\u5168\u7ba1\u7406\u5236\u5ea6\u3001\u91c7\u53d6\u9632\u8303\u6280\u672f\u63aa\u65bd\u3001\u76d1\u6d4b\u8bb0\u5f55\u7f51\u7edc\u72b6\u6001\u3001\u4fdd\u62a4\u6570\u636e\u5b89\u5168\u7b49\u591a\u9879\u4e49\u52a1\uff0c\u786e\u4fdd\u7f51\u7edc\u5b89\u5168\u7a33\u5b9a\u3002",source:"@site/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4",permalink:"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3"},next:{title:"\u884c\u4e1a\u5206\u6790",permalink:"/docs/study/encryption/\u884c\u4e1a\u5206\u6790"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u7b49\u4fdd\u548c\u5bc6\u8bc4"},"\u7b49\u4fdd\u548c\u5bc6\u8bc4"),(0,o.yg)("p",null,"\u201c\u7b49\u4fdd\u201d\u5373\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\uff0c\u65e8\u5728\u901a\u8fc7\u4e0d\u540c\u5b89\u5168\u7b49\u7ea7\u7684\u7ba1\u7406\u548c\u6280\u672f\u63aa\u65bd\uff0c\u786e\u4fdd\u4fe1\u606f\u7cfb\u7edf\u7684\u5b89\u5168\u7a33\u5b9a\u8fd0\u884c\u3002\u6211\u56fd\u4e8e2017\u5e74\u9881\u5e03\u7684\u300a\u7f51\u7edc\u5b89\u5168\u6cd5\u300b\u4e2d\u7b2c\u4e8c\u5341\u4e00\u6761\u89c4\u5b9a\u201c\u56fd\u5bb6\u5b9e\u884c\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u201d\u3002\u6cd5\u5f8b\u8981\u6c42\u7f51\u7edc\u8fd0\u8425\u8005\u9700\u6309\u7167\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u8981\u6c42\uff0c\u5c65\u884c\u5236\u5b9a\u5b89\u5168\u7ba1\u7406\u5236\u5ea6\u3001\u91c7\u53d6\u9632\u8303\u6280\u672f\u63aa\u65bd\u3001\u76d1\u6d4b\u8bb0\u5f55\u7f51\u7edc\u72b6\u6001\u3001\u4fdd\u62a4\u6570\u636e\u5b89\u5168\u7b49\u591a\u9879\u4e49\u52a1\uff0c\u786e\u4fdd\u7f51\u7edc\u5b89\u5168\u7a33\u5b9a\u3002"),(0,o.yg)("p",null,"\u201c\u5bc6\u8bc4\u201d\u5373\u5546\u7528\u5bc6\u7801\u5e94\u7528\u5b89\u5168\u6027\u8bc4\u4f30\uff0c\u662f\u5bf9\u7f51\u7edc\u4fe1\u606f\u7cfb\u7edf\u4e2d\u6240\u4f7f\u7528\u7684\u5546\u7528\u5bc6\u7801\u4ea7\u54c1\u548c\u5e94\u7528\u8fdb\u884c\u7684\u5b89\u5168\u6027\u8bc4\u4f30\u3002\u300a\u5bc6\u7801\u6cd5\u300b\u4e8e2020\u5e74\u5f00\u59cb\u5b9e\u65bd\uff0c\u5176\u4e2d\u7b2c\u4e8c\u5341\u4e03\u6761\u8981\u6c42\u5173\u952e\u4fe1\u606f\u57fa\u7840\u8bbe\u65bd\u7684\u8fd0\u8425\u8005\u9700\u4f9d\u6cd5\u4f7f\u7528\u5546\u7528\u5bc6\u7801\u8fdb\u884c\u4fdd\u62a4\uff0c\u5e76\u81ea\u884c\u6216\u59d4\u6258\u4e13\u4e1a\u673a\u6784\u5f00\u5c55\u5b89\u5168\u6027\u8bc4\u4f30\uff0c\u786e\u4fdd\u4e0e\u5176\u4ed6\u5b89\u5168\u68c0\u6d4b\u8bc4\u4f30\u5236\u5ea6\u76f8\u8854\u63a5\uff0c\u907f\u514d\u91cd\u590d\u5de5\u4f5c\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s?__biz=MzU0Mzk0NDQyOA==&mid=2247515893&idx=1&sn=088c3013acddde2d3ab6e351bb92e1ed&chksm=fb014576cc76cc60c06d893c53fdb30b089aff0f9dd2c60ccca06333596131c024cbd862d0be&scene=27"},"\u4e00\u6587get\u7b49\u4fdd\u6d4b\u8bc4\u4e0e\u5bc6\u8bc4\u7684\u5dee\u5f02"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6093],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),y=o,f=s["".concat(p,".").concat(y)]||s[y]||d[y]||c;return r?n.createElement(f,a(a({ref:t},u),{},{components:r})):n.createElement(f,a({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,a[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>a,default:()=>d,frontMatter:()=>c,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const c={},a="\u7b49\u4fdd\u548c\u5bc6\u8bc4",i={unversionedId:"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4",id:"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4",title:"\u7b49\u4fdd\u548c\u5bc6\u8bc4",description:"\u201c\u7b49\u4fdd\u201d\u5373\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\uff0c\u65e8\u5728\u901a\u8fc7\u4e0d\u540c\u5b89\u5168\u7b49\u7ea7\u7684\u7ba1\u7406\u548c\u6280\u672f\u63aa\u65bd\uff0c\u786e\u4fdd\u4fe1\u606f\u7cfb\u7edf\u7684\u5b89\u5168\u7a33\u5b9a\u8fd0\u884c\u3002\u6211\u56fd\u4e8e2017\u5e74\u9881\u5e03\u7684\u300a\u7f51\u7edc\u5b89\u5168\u6cd5\u300b\u4e2d\u7b2c\u4e8c\u5341\u4e00\u6761\u89c4\u5b9a\u201c\u56fd\u5bb6\u5b9e\u884c\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u201d\u3002\u6cd5\u5f8b\u8981\u6c42\u7f51\u7edc\u8fd0\u8425\u8005\u9700\u6309\u7167\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u8981\u6c42\uff0c\u5c65\u884c\u5236\u5b9a\u5b89\u5168\u7ba1\u7406\u5236\u5ea6\u3001\u91c7\u53d6\u9632\u8303\u6280\u672f\u63aa\u65bd\u3001\u76d1\u6d4b\u8bb0\u5f55\u7f51\u7edc\u72b6\u6001\u3001\u4fdd\u62a4\u6570\u636e\u5b89\u5168\u7b49\u591a\u9879\u4e49\u52a1\uff0c\u786e\u4fdd\u7f51\u7edc\u5b89\u5168\u7a33\u5b9a\u3002",source:"@site/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4",permalink:"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3"},next:{title:"\u884c\u4e1a\u5206\u6790",permalink:"/docs/study/encryption/\u884c\u4e1a\u5206\u6790"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u7b49\u4fdd\u548c\u5bc6\u8bc4"},"\u7b49\u4fdd\u548c\u5bc6\u8bc4"),(0,o.yg)("p",null,"\u201c\u7b49\u4fdd\u201d\u5373\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\uff0c\u65e8\u5728\u901a\u8fc7\u4e0d\u540c\u5b89\u5168\u7b49\u7ea7\u7684\u7ba1\u7406\u548c\u6280\u672f\u63aa\u65bd\uff0c\u786e\u4fdd\u4fe1\u606f\u7cfb\u7edf\u7684\u5b89\u5168\u7a33\u5b9a\u8fd0\u884c\u3002\u6211\u56fd\u4e8e2017\u5e74\u9881\u5e03\u7684\u300a\u7f51\u7edc\u5b89\u5168\u6cd5\u300b\u4e2d\u7b2c\u4e8c\u5341\u4e00\u6761\u89c4\u5b9a\u201c\u56fd\u5bb6\u5b9e\u884c\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u201d\u3002\u6cd5\u5f8b\u8981\u6c42\u7f51\u7edc\u8fd0\u8425\u8005\u9700\u6309\u7167\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u8981\u6c42\uff0c\u5c65\u884c\u5236\u5b9a\u5b89\u5168\u7ba1\u7406\u5236\u5ea6\u3001\u91c7\u53d6\u9632\u8303\u6280\u672f\u63aa\u65bd\u3001\u76d1\u6d4b\u8bb0\u5f55\u7f51\u7edc\u72b6\u6001\u3001\u4fdd\u62a4\u6570\u636e\u5b89\u5168\u7b49\u591a\u9879\u4e49\u52a1\uff0c\u786e\u4fdd\u7f51\u7edc\u5b89\u5168\u7a33\u5b9a\u3002"),(0,o.yg)("p",null,"\u201c\u5bc6\u8bc4\u201d\u5373\u5546\u7528\u5bc6\u7801\u5e94\u7528\u5b89\u5168\u6027\u8bc4\u4f30\uff0c\u662f\u5bf9\u7f51\u7edc\u4fe1\u606f\u7cfb\u7edf\u4e2d\u6240\u4f7f\u7528\u7684\u5546\u7528\u5bc6\u7801\u4ea7\u54c1\u548c\u5e94\u7528\u8fdb\u884c\u7684\u5b89\u5168\u6027\u8bc4\u4f30\u3002\u300a\u5bc6\u7801\u6cd5\u300b\u4e8e2020\u5e74\u5f00\u59cb\u5b9e\u65bd\uff0c\u5176\u4e2d\u7b2c\u4e8c\u5341\u4e03\u6761\u8981\u6c42\u5173\u952e\u4fe1\u606f\u57fa\u7840\u8bbe\u65bd\u7684\u8fd0\u8425\u8005\u9700\u4f9d\u6cd5\u4f7f\u7528\u5546\u7528\u5bc6\u7801\u8fdb\u884c\u4fdd\u62a4\uff0c\u5e76\u81ea\u884c\u6216\u59d4\u6258\u4e13\u4e1a\u673a\u6784\u5f00\u5c55\u5b89\u5168\u6027\u8bc4\u4f30\uff0c\u786e\u4fdd\u4e0e\u5176\u4ed6\u5b89\u5168\u68c0\u6d4b\u8bc4\u4f30\u5236\u5ea6\u76f8\u8854\u63a5\uff0c\u907f\u514d\u91cd\u590d\u5de5\u4f5c\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s?__biz=MzU0Mzk0NDQyOA==&mid=2247515893&idx=1&sn=088c3013acddde2d3ab6e351bb92e1ed&chksm=fb014576cc76cc60c06d893c53fdb30b089aff0f9dd2c60ccca06333596131c024cbd862d0be&scene=27"},"\u4e00\u6587get\u7b49\u4fdd\u6d4b\u8bc4\u4e0e\u5bc6\u8bc4\u7684\u5dee\u5f02"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/489cc4f4.4ef7c294.js b/assets/js/489cc4f4.367035e2.js similarity index 98% rename from assets/js/489cc4f4.4ef7c294.js rename to assets/js/489cc4f4.367035e2.js index 2c0e1c96d..8000ba71e 100644 --- a/assets/js/489cc4f4.4ef7c294.js +++ b/assets/js/489cc4f4.367035e2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7876],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),p=s(r),m=o,y=p["".concat(l,".").concat(m)]||p[m]||d[m]||a;return r?n.createElement(y,c(c({ref:t},u),{},{components:r})):n.createElement(y,c({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=m;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4",id:"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4",title:"MQ\u5b9e\u73b0\u5bf9\u6bd4",description:"\u56db\u79cd MQ \u5b9e\u73b0\u5bf9\u6bd4",source:"@site/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4.md",sourceDirName:"study/back/mq",slug:"/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4",permalink:"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MQTT broker",permalink:"/docs/study/back/mq/MQTT broker"},next:{title:"RocketMQ",permalink:"/docs/study/back/mq/RocketMQ"}},l={},s=[{value:"\u56db\u79cd MQ \u5b9e\u73b0\u5bf9\u6bd4",id:"\u56db\u79cd-mq-\u5b9e\u73b0\u5bf9\u6bd4",level:3}],u={toc:s},p="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(p,(0,n.A)({},u,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u56db\u79cd-mq-\u5b9e\u73b0\u5bf9\u6bd4"},"\u56db\u79cd MQ \u5b9e\u73b0\u5bf9\u6bd4"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("img",{alt:"\u56db\u79cdMQ\u5b9e\u73b0\u5bf9\u6bd4",src:r(49374).A,width:"1300",height:"666"}))))}d.isMDXComponent=!0},49374:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/mq4-7e461104b366281c78b8265d74e21a7a.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7876],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),p=s(r),m=o,y=p["".concat(l,".").concat(m)]||p[m]||d[m]||a;return r?n.createElement(y,c(c({ref:t},u),{},{components:r})):n.createElement(y,c({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=m;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4",id:"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4",title:"MQ\u5b9e\u73b0\u5bf9\u6bd4",description:"\u56db\u79cd MQ \u5b9e\u73b0\u5bf9\u6bd4",source:"@site/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4.md",sourceDirName:"study/back/mq",slug:"/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4",permalink:"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MQTT broker",permalink:"/docs/study/back/mq/MQTT broker"},next:{title:"RocketMQ",permalink:"/docs/study/back/mq/RocketMQ"}},l={},s=[{value:"\u56db\u79cd MQ \u5b9e\u73b0\u5bf9\u6bd4",id:"\u56db\u79cd-mq-\u5b9e\u73b0\u5bf9\u6bd4",level:3}],u={toc:s},p="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(p,(0,n.A)({},u,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u56db\u79cd-mq-\u5b9e\u73b0\u5bf9\u6bd4"},"\u56db\u79cd MQ \u5b9e\u73b0\u5bf9\u6bd4"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("img",{alt:"\u56db\u79cdMQ\u5b9e\u73b0\u5bf9\u6bd4",src:r(49374).A,width:"1300",height:"666"}))))}d.isMDXComponent=!0},49374:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/mq4-7e461104b366281c78b8265d74e21a7a.png"}}]); \ No newline at end of file diff --git a/assets/js/48d69a04.b88c79df.js b/assets/js/48d69a04.31f089cb.js similarity index 99% rename from assets/js/48d69a04.b88c79df.js rename to assets/js/48d69a04.31f089cb.js index db50b130c..d216b464f 100644 --- a/assets/js/48d69a04.b88c79df.js +++ b/assets/js/48d69a04.31f089cb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1715],{15680:(e,r,t)=>{t.d(r,{xA:()=>p,yg:()=>v});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),d=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},p=function(e){var r=d(e.components);return n.createElement(i.Provider,{value:r},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=d(t),y=a,v=u["".concat(i,".").concat(y)]||u[y]||s[y]||o;return t?n.createElement(v,c(c({ref:r},p),{},{components:t})):n.createElement(v,c({ref:r},p))}));function v(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,c=new Array(o);c[0]=y;var l={};for(var i in r)hasOwnProperty.call(r,i)&&(l[i]=r[i]);l.originalType=e,l[u]="string"==typeof e?e:a,c[1]=l;for(var d=2;d{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>s,frontMatter:()=>o,metadata:()=>l,toc:()=>d});var n=t(58168),a=(t(96540),t(15680));const o={},c=void 0,l={unversionedId:"study/docker/docker-network",id:"study/docker/docker-network",title:"docker-network",description:"Docker\u7f51\u7edc\u6a21\u5f0f",source:"@site/docs/study/docker/docker-network.md",sourceDirName:"study/docker",slug:"/study/docker/docker-network",permalink:"/docs/study/docker/docker-network",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"docker-mysql",permalink:"/docs/study/docker/docker-mysql"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/competitive/"}},i={},d=[{value:"Docker\u7f51\u7edc\u6a21\u5f0f",id:"docker\u7f51\u7edc\u6a21\u5f0f",level:3},{value:"Macvlan\u548cIPvlan",id:"macvlan\u548cipvlan",level:3}],p={toc:d},u="wrapper";function s(e){let{components:r,...t}=e;return(0,a.yg)(u,(0,n.A)({},p,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"docker\u7f51\u7edc\u6a21\u5f0f"},"Docker\u7f51\u7edc\u6a21\u5f0f"),(0,a.yg)("p",null,"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"p",href:"https://docs.docker.com/engine/network/drivers/bridge/"},"https://docs.docker.com/engine/network/drivers/bridge/")),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6865\u63a5\u6a21\u5f0f\uff0c\u9ed8\u8ba4\u6a21\u5f0f\uff0cbridge\u6a21\u5f0f\uff0c\u4e0d\u4f1a\u5360\u7528\u5b9e\u9645\u7684\u7269\u7406\u7f51\u7edcIP"),(0,a.yg)("li",{parentName:"ul"},"\u4e3b\u673a\u6a21\u5f0f\uff0chost\u6a21\u5f0f"),(0,a.yg)("li",{parentName:"ul"},"Macvlan\u6a21\u5f0f\uff0c\u4f1a\u5360\u7528\u5b9e\u9645\u7684\u7269\u7406\u7f51\u7edcIP\uff0c\u5e95\u5c42\u662f\u6a21\u62df\u51faMAC\u5730\u5740"),(0,a.yg)("li",{parentName:"ul"},"\u65e0\u7f51\u6a21\u5f0f"),(0,a.yg)("li",{parentName:"ul"},"Overlay\u6a21\u5f0f\uff0c\u8986\u76d6\u6a21\u5f0f\uff0c\u9ed8\u8ba4Vxlan\u5b9e\u73b0\uff0c\u8de8\u4e3b\u673a\u6a21\u5f0f"),(0,a.yg)("li",{parentName:"ul"},"IPvlan\uff0cIPvlan \u662f\u4e00\u79cd\u7c7b\u4f3c\u4e8e Macvlan \u7684\u7f51\u7edc\u6a21\u5f0f\uff0c\u5b83\u4e5f\u5141\u8bb8\u5bb9\u5668\u76f4\u63a5\u8fde\u63a5\u5230\u4e3b\u673a\u7684\u7269\u7406\u7f51\u7edc\u3002\u4e0d\u8fc7\uff0c\u4e0e Macvlan \u4e0d\u540c\u7684\u662f\uff0cIPvlan \u5728\u540c\u4e00\u4e2a\u7269\u7406\u7f51\u7edc\u63a5\u53e3\u4e0a\u53ef\u4ee5\u6709\u591a\u4e2a\u865a\u62df\u7f51\u7edc\u63a5\u53e3\uff0c\u8fd9\u4e9b\u865a\u62df\u7f51\u7edc\u63a5\u53e3\u5171\u4eab\u540c\u4e00\u4e2a MAC \u5730\u5740\uff0c\u4f46\u62e5\u6709\u4e0d\u540c\u7684 IP \u5730\u5740\u3002")),(0,a.yg)("h3",{id:"macvlan\u548cipvlan"},"Macvlan\u548cIPvlan"),(0,a.yg)("p",null,"Macvlan \u548c IPvlan \u90fd\u53ef\u4ee5\u8ba9\u5bb9\u5668\u76f4\u63a5\u8fde\u63a5\u5230\u4e3b\u673a\u7684\u7269\u7406\u7f51\u7edc\uff0c\u4f7f\u5bb9\u5668\u80fd\u591f\u4ece\u7269\u7406\u7f51\u7edc\u7684\u7f51\u6bb5\u4e2d\u83b7\u53d6 IP \u5730\u5740\u3002\u8fd9\u4e0e Bridge \u7f51\u7edc\u6a21\u5f0f\uff08\u5bb9\u5668\u901a\u8fc7 Docker \u521b\u5efa\u7684\u865a\u62df\u7f51\u6865\u8fde\u63a5\u5230\u7269\u7406\u7f51\u7edc\uff09\u4e0d\u540c\uff0c\u5b83\u4eec\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u76f4\u63a5\u7684\u65b9\u5f0f\u8ba9\u5bb9\u5668\u878d\u5165\u7269\u7406\u7f51\u7edc\u73af\u5883\u3002"),(0,a.yg)("p",null,"\u4e24\u79cd\u6a21\u5f0f\u5728\u4e00\u4e9b\u9700\u8981\u5bb9\u5668\u76f4\u63a5\u4e0e\u7269\u7406\u7f51\u7edc\u8bbe\u5907\u4ea4\u4e92\u7684\u573a\u666f\u4e2d\u90fd\u5f88\u6709\u7528\u3002\u4f8b\u5982\uff0c\u5728\u7269\u8054\u7f51\u573a\u666f\u4e0b\uff0c\u5bb9\u5668\u53ef\u80fd\u9700\u8981\u548c\u7269\u7406\u7684\u4f20\u611f\u5668\u3001\u667a\u80fd\u8bbe\u5907\u7b49\u8fdb\u884c\u901a\u4fe1\uff0cMacvlan \u548c IPvlan \u90fd\u80fd\u5f88\u597d\u5730\u6ee1\u8db3\u8fd9\u79cd\u9700\u6c42\uff0c\u56e0\u4e3a\u5b83\u4eec\u4f7f\u5bb9\u5668\u5728\u7f51\u7edc\u4e2d\u7684\u8868\u73b0\u66f4\u50cf\u662f\u7269\u7406\u4e3b\u673a\uff0c\u800c\u4e0d\u662f\u88ab\u9694\u79bb\u5728 Docker \u5185\u90e8\u7f51\u7edc\u4e2d\u7684\u5bf9\u8c61\u3002"),(0,a.yg)("p",null,"\u76f8\u8f83\u4e8e Bridge \u7f51\u7edc\u6a21\u5f0f\uff0cMacvlan \u548c IPvlan \u5728\u7f51\u7edc\u6027\u80fd\u65b9\u9762\u90fd\u6709\u4e00\u5b9a\u4f18\u52bf\u3002\u7531\u4e8e\u5b83\u4eec\u51cf\u5c11\u4e86\u50cf Bridge \u7f51\u7edc\u4e2d\u865a\u62df\u7f51\u6865\u5bf9\u6570\u636e\u5305\u7684\u8f6c\u53d1\u73af\u8282\uff0c\u5728\u5bf9\u7f51\u7edc\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\u7684\u573a\u666f\u4e0b\uff0c\u80fd\u591f\u964d\u4f4e\u7f51\u7edc\u5ef6\u8fdf\uff0c\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u6548\u7387\u3002"),(0,a.yg)("p",null,"IPvlan \u6709 L2 \u548c L3\uff08Layer 3\uff09\u4e24\u79cd\u6a21\u5f0f\u3002\u5728 L2 \u6a21\u5f0f\u4e0b\uff0c\u5bb9\u5668\u548c\u7269\u7406\u7f51\u7edc\u63a5\u53e3\u5904\u4e8e\u540c\u4e00\u5e7f\u64ad\u57df\uff0c\u7c7b\u4f3c\u4e8e Macvlan\uff1b\u4f46\u5728 L3 \u6a21\u5f0f\u4e0b\uff0c\u5bb9\u5668\u548c\u7269\u7406\u7f51\u7edc\u63a5\u53e3\u4e0d\u5728\u540c\u4e00\u5e7f\u64ad\u57df\uff0c\u5bb9\u5668\u65e0\u6cd5\u76f4\u63a5\u63a5\u6536\u5e7f\u64ad\u6570\u636e\u5305\u3002L3 \u6a21\u5f0f\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u7f51\u7edc\u9694\u79bb\u6027\uff0c\u9002\u5408\u5728\u9700\u8981\u5bf9\u5bb9\u5668\u7f51\u7edc\u8fdb\u884c\u5206\u5c42\u9694\u79bb\u7684\u573a\u666f\u4e2d\u4f7f\u7528\uff0c\u5982\u591a\u79df\u6237\u5bb9\u5668\u5e73\u53f0\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1715],{15680:(e,r,t)=>{t.d(r,{xA:()=>p,yg:()=>v});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),d=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},p=function(e){var r=d(e.components);return n.createElement(i.Provider,{value:r},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=d(t),y=a,v=u["".concat(i,".").concat(y)]||u[y]||s[y]||o;return t?n.createElement(v,c(c({ref:r},p),{},{components:t})):n.createElement(v,c({ref:r},p))}));function v(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,c=new Array(o);c[0]=y;var l={};for(var i in r)hasOwnProperty.call(r,i)&&(l[i]=r[i]);l.originalType=e,l[u]="string"==typeof e?e:a,c[1]=l;for(var d=2;d{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>s,frontMatter:()=>o,metadata:()=>l,toc:()=>d});var n=t(58168),a=(t(96540),t(15680));const o={},c=void 0,l={unversionedId:"study/docker/docker-network",id:"study/docker/docker-network",title:"docker-network",description:"Docker\u7f51\u7edc\u6a21\u5f0f",source:"@site/docs/study/docker/docker-network.md",sourceDirName:"study/docker",slug:"/study/docker/docker-network",permalink:"/docs/study/docker/docker-network",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"docker-mysql",permalink:"/docs/study/docker/docker-mysql"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/competitive/"}},i={},d=[{value:"Docker\u7f51\u7edc\u6a21\u5f0f",id:"docker\u7f51\u7edc\u6a21\u5f0f",level:3},{value:"Macvlan\u548cIPvlan",id:"macvlan\u548cipvlan",level:3}],p={toc:d},u="wrapper";function s(e){let{components:r,...t}=e;return(0,a.yg)(u,(0,n.A)({},p,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"docker\u7f51\u7edc\u6a21\u5f0f"},"Docker\u7f51\u7edc\u6a21\u5f0f"),(0,a.yg)("p",null,"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"p",href:"https://docs.docker.com/engine/network/drivers/bridge/"},"https://docs.docker.com/engine/network/drivers/bridge/")),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6865\u63a5\u6a21\u5f0f\uff0c\u9ed8\u8ba4\u6a21\u5f0f\uff0cbridge\u6a21\u5f0f\uff0c\u4e0d\u4f1a\u5360\u7528\u5b9e\u9645\u7684\u7269\u7406\u7f51\u7edcIP"),(0,a.yg)("li",{parentName:"ul"},"\u4e3b\u673a\u6a21\u5f0f\uff0chost\u6a21\u5f0f"),(0,a.yg)("li",{parentName:"ul"},"Macvlan\u6a21\u5f0f\uff0c\u4f1a\u5360\u7528\u5b9e\u9645\u7684\u7269\u7406\u7f51\u7edcIP\uff0c\u5e95\u5c42\u662f\u6a21\u62df\u51faMAC\u5730\u5740"),(0,a.yg)("li",{parentName:"ul"},"\u65e0\u7f51\u6a21\u5f0f"),(0,a.yg)("li",{parentName:"ul"},"Overlay\u6a21\u5f0f\uff0c\u8986\u76d6\u6a21\u5f0f\uff0c\u9ed8\u8ba4Vxlan\u5b9e\u73b0\uff0c\u8de8\u4e3b\u673a\u6a21\u5f0f"),(0,a.yg)("li",{parentName:"ul"},"IPvlan\uff0cIPvlan \u662f\u4e00\u79cd\u7c7b\u4f3c\u4e8e Macvlan \u7684\u7f51\u7edc\u6a21\u5f0f\uff0c\u5b83\u4e5f\u5141\u8bb8\u5bb9\u5668\u76f4\u63a5\u8fde\u63a5\u5230\u4e3b\u673a\u7684\u7269\u7406\u7f51\u7edc\u3002\u4e0d\u8fc7\uff0c\u4e0e Macvlan \u4e0d\u540c\u7684\u662f\uff0cIPvlan \u5728\u540c\u4e00\u4e2a\u7269\u7406\u7f51\u7edc\u63a5\u53e3\u4e0a\u53ef\u4ee5\u6709\u591a\u4e2a\u865a\u62df\u7f51\u7edc\u63a5\u53e3\uff0c\u8fd9\u4e9b\u865a\u62df\u7f51\u7edc\u63a5\u53e3\u5171\u4eab\u540c\u4e00\u4e2a MAC \u5730\u5740\uff0c\u4f46\u62e5\u6709\u4e0d\u540c\u7684 IP \u5730\u5740\u3002")),(0,a.yg)("h3",{id:"macvlan\u548cipvlan"},"Macvlan\u548cIPvlan"),(0,a.yg)("p",null,"Macvlan \u548c IPvlan \u90fd\u53ef\u4ee5\u8ba9\u5bb9\u5668\u76f4\u63a5\u8fde\u63a5\u5230\u4e3b\u673a\u7684\u7269\u7406\u7f51\u7edc\uff0c\u4f7f\u5bb9\u5668\u80fd\u591f\u4ece\u7269\u7406\u7f51\u7edc\u7684\u7f51\u6bb5\u4e2d\u83b7\u53d6 IP \u5730\u5740\u3002\u8fd9\u4e0e Bridge \u7f51\u7edc\u6a21\u5f0f\uff08\u5bb9\u5668\u901a\u8fc7 Docker \u521b\u5efa\u7684\u865a\u62df\u7f51\u6865\u8fde\u63a5\u5230\u7269\u7406\u7f51\u7edc\uff09\u4e0d\u540c\uff0c\u5b83\u4eec\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u76f4\u63a5\u7684\u65b9\u5f0f\u8ba9\u5bb9\u5668\u878d\u5165\u7269\u7406\u7f51\u7edc\u73af\u5883\u3002"),(0,a.yg)("p",null,"\u4e24\u79cd\u6a21\u5f0f\u5728\u4e00\u4e9b\u9700\u8981\u5bb9\u5668\u76f4\u63a5\u4e0e\u7269\u7406\u7f51\u7edc\u8bbe\u5907\u4ea4\u4e92\u7684\u573a\u666f\u4e2d\u90fd\u5f88\u6709\u7528\u3002\u4f8b\u5982\uff0c\u5728\u7269\u8054\u7f51\u573a\u666f\u4e0b\uff0c\u5bb9\u5668\u53ef\u80fd\u9700\u8981\u548c\u7269\u7406\u7684\u4f20\u611f\u5668\u3001\u667a\u80fd\u8bbe\u5907\u7b49\u8fdb\u884c\u901a\u4fe1\uff0cMacvlan \u548c IPvlan \u90fd\u80fd\u5f88\u597d\u5730\u6ee1\u8db3\u8fd9\u79cd\u9700\u6c42\uff0c\u56e0\u4e3a\u5b83\u4eec\u4f7f\u5bb9\u5668\u5728\u7f51\u7edc\u4e2d\u7684\u8868\u73b0\u66f4\u50cf\u662f\u7269\u7406\u4e3b\u673a\uff0c\u800c\u4e0d\u662f\u88ab\u9694\u79bb\u5728 Docker \u5185\u90e8\u7f51\u7edc\u4e2d\u7684\u5bf9\u8c61\u3002"),(0,a.yg)("p",null,"\u76f8\u8f83\u4e8e Bridge \u7f51\u7edc\u6a21\u5f0f\uff0cMacvlan \u548c IPvlan \u5728\u7f51\u7edc\u6027\u80fd\u65b9\u9762\u90fd\u6709\u4e00\u5b9a\u4f18\u52bf\u3002\u7531\u4e8e\u5b83\u4eec\u51cf\u5c11\u4e86\u50cf Bridge \u7f51\u7edc\u4e2d\u865a\u62df\u7f51\u6865\u5bf9\u6570\u636e\u5305\u7684\u8f6c\u53d1\u73af\u8282\uff0c\u5728\u5bf9\u7f51\u7edc\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\u7684\u573a\u666f\u4e0b\uff0c\u80fd\u591f\u964d\u4f4e\u7f51\u7edc\u5ef6\u8fdf\uff0c\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u6548\u7387\u3002"),(0,a.yg)("p",null,"IPvlan \u6709 L2 \u548c L3\uff08Layer 3\uff09\u4e24\u79cd\u6a21\u5f0f\u3002\u5728 L2 \u6a21\u5f0f\u4e0b\uff0c\u5bb9\u5668\u548c\u7269\u7406\u7f51\u7edc\u63a5\u53e3\u5904\u4e8e\u540c\u4e00\u5e7f\u64ad\u57df\uff0c\u7c7b\u4f3c\u4e8e Macvlan\uff1b\u4f46\u5728 L3 \u6a21\u5f0f\u4e0b\uff0c\u5bb9\u5668\u548c\u7269\u7406\u7f51\u7edc\u63a5\u53e3\u4e0d\u5728\u540c\u4e00\u5e7f\u64ad\u57df\uff0c\u5bb9\u5668\u65e0\u6cd5\u76f4\u63a5\u63a5\u6536\u5e7f\u64ad\u6570\u636e\u5305\u3002L3 \u6a21\u5f0f\u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u7f51\u7edc\u9694\u79bb\u6027\uff0c\u9002\u5408\u5728\u9700\u8981\u5bf9\u5bb9\u5668\u7f51\u7edc\u8fdb\u884c\u5206\u5c42\u9694\u79bb\u7684\u573a\u666f\u4e2d\u4f7f\u7528\uff0c\u5982\u591a\u79df\u6237\u5bb9\u5668\u5e73\u53f0\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4a7a0e3b.62df12eb.js b/assets/js/4a7a0e3b.362f7c05.js similarity index 98% rename from assets/js/4a7a0e3b.62df12eb.js rename to assets/js/4a7a0e3b.362f7c05.js index ec63cff08..b9ec1e336 100644 --- a/assets/js/4a7a0e3b.62df12eb.js +++ b/assets/js/4a7a0e3b.362f7c05.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7808],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),l=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=l(r),y=o,f=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[u]="string"==typeof e?e:o,c[1]=s;for(var l=2;l{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,s={unversionedId:"study/back/WSL",id:"study/back/WSL",title:"WSL",description:"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5WSL",source:"@site/docs/study/back/WSL.md",sourceDirName:"study/back",slug:"/study/back/WSL",permalink:"/docs/study/back/WSL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"POST\u7f16\u7801\u683c\u5f0f",permalink:"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f"},next:{title:"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",permalink:"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e"}},i={},l=[{value:"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5WSL",id:"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5wsl",level:3}],p={toc:l},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5wsl"},"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5WSL"),(0,o.yg)("p",null,"windows\u4e0b\u9762\u7684cmd\u548cps\u592a\u96be\u7528\uff0c\u9700\u8981\u7528\u597d\u7528\u7684ssh\u5ba2\u6237\u7aef\u8fde\u63a5wsl\uff0c\u6839\u636e\u665a\u4e0a\u7684\u914d\u7f6e\uff0c\u600e\u4e48\u90fd\u8fde\u4e0d\u4e0a\uff0c\u540e\u6765\u53d1\u73b0\uff0c"),(0,o.yg)("p",null,"ip\u6539\u6210localhost\uff0c\u7acb\u5373\u5c31\u53ef\u4ee5\u4e86\uff0c\u8bb0\u5f55\u4e00\u4e0b\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7808],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),l=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=l(r),y=o,f=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[u]="string"==typeof e?e:o,c[1]=s;for(var l=2;l{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,s={unversionedId:"study/back/WSL",id:"study/back/WSL",title:"WSL",description:"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5WSL",source:"@site/docs/study/back/WSL.md",sourceDirName:"study/back",slug:"/study/back/WSL",permalink:"/docs/study/back/WSL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"POST\u7f16\u7801\u683c\u5f0f",permalink:"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f"},next:{title:"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e",permalink:"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e"}},i={},l=[{value:"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5WSL",id:"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5wsl",level:3}],p={toc:l},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5wsl"},"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5WSL"),(0,o.yg)("p",null,"windows\u4e0b\u9762\u7684cmd\u548cps\u592a\u96be\u7528\uff0c\u9700\u8981\u7528\u597d\u7528\u7684ssh\u5ba2\u6237\u7aef\u8fde\u63a5wsl\uff0c\u6839\u636e\u665a\u4e0a\u7684\u914d\u7f6e\uff0c\u600e\u4e48\u90fd\u8fde\u4e0d\u4e0a\uff0c\u540e\u6765\u53d1\u73b0\uff0c"),(0,o.yg)("p",null,"ip\u6539\u6210localhost\uff0c\u7acb\u5373\u5c31\u53ef\u4ee5\u4e86\uff0c\u8bb0\u5f55\u4e00\u4e0b\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4ae7651e.b7f865a5.js b/assets/js/4ae7651e.d89d6aea.js similarity index 98% rename from assets/js/4ae7651e.b7f865a5.js rename to assets/js/4ae7651e.d89d6aea.js index eb2d54ccd..11394bc7d 100644 --- a/assets/js/4ae7651e.b7f865a5.js +++ b/assets/js/4ae7651e.d89d6aea.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2539],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241024",id:"study/stock/20241024",title:"20241024",description:"\u4eca\u5929\u5468\u56db",source:"@site/docs/study/stock/20241024.md",sourceDirName:"study/stock",slug:"/study/stock/20241024",permalink:"/docs/study/stock/20241024",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u56db"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u8dcc\u4e86 0.68%"),(0,o.yg)("p",null,"\u4eca\u5929\u662f 1024\uff0c\u7a0b\u5e8f\u5458\u8282\u65e5\uff0c\u8282\u65e5\u5feb\u4e50"),(0,o.yg)("p",null,"\u4eca\u5929\u4f9d\u7136\u662f\u8c03\u6574\u9707\u8361\u7684\u4e00\u5929"),(0,o.yg)("p",null,"5F \u4f9d\u7136\u662f\u4e00\u4e2a\u51b2\u9ad8\u56de\u843d\u7684\u4e00\u5929"),(0,o.yg)("p",null,"\u5f88\u96be\u53d7\uff0c\u4f46\u662f\u8981\u575a\u6301\uff0c\u56e0\u4e3a\u53d8\u76d8\u5f80\u5f80\u5c31\u5728\u8fd9\u4e2a\u65f6\u5019"),(0,o.yg)("p",null,"\u5feb\u8981\u653e\u5f03\u4e86\uff0c\u771f\u7684\u662f\u592a\u96be\u4e86"),(0,o.yg)("p",null,"\u9009\u80a1\u96be\uff0c\u575a\u6301\u96be\u5440"),(0,o.yg)("p",null,"\u600e\u4e48\u624d\u80fd\u575a\u6301\u5440\uff0c\u5c0f\u4ed3\u4f4d\u8bd5\u9519\uff0c\u6d6e\u76c8\u624d\u80fd\u575a\u6301\u5440"),(0,o.yg)("p",null,"\u4f60\u4e0d\u662f\u9009\u4e0d\u4e86\u597d\u80a1\uff0c\u800c\u662f\u4f60\u575a\u6301\u4e0d\u4e86"),(0,o.yg)("p",null,"\u4f60\u6068\u4e0d\u5f97\u6bcf\u5929\u90fd\u4e70\u65b0\u7684\u80a1\u7968\uff0c\u6bcf\u5929\u90fd\u64cd\u4f5c\u5440"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2539],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241024",id:"study/stock/20241024",title:"20241024",description:"\u4eca\u5929\u5468\u56db",source:"@site/docs/study/stock/20241024.md",sourceDirName:"study/stock",slug:"/study/stock/20241024",permalink:"/docs/study/stock/20241024",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u56db"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u8dcc\u4e86 0.68%"),(0,o.yg)("p",null,"\u4eca\u5929\u662f 1024\uff0c\u7a0b\u5e8f\u5458\u8282\u65e5\uff0c\u8282\u65e5\u5feb\u4e50"),(0,o.yg)("p",null,"\u4eca\u5929\u4f9d\u7136\u662f\u8c03\u6574\u9707\u8361\u7684\u4e00\u5929"),(0,o.yg)("p",null,"5F \u4f9d\u7136\u662f\u4e00\u4e2a\u51b2\u9ad8\u56de\u843d\u7684\u4e00\u5929"),(0,o.yg)("p",null,"\u5f88\u96be\u53d7\uff0c\u4f46\u662f\u8981\u575a\u6301\uff0c\u56e0\u4e3a\u53d8\u76d8\u5f80\u5f80\u5c31\u5728\u8fd9\u4e2a\u65f6\u5019"),(0,o.yg)("p",null,"\u5feb\u8981\u653e\u5f03\u4e86\uff0c\u771f\u7684\u662f\u592a\u96be\u4e86"),(0,o.yg)("p",null,"\u9009\u80a1\u96be\uff0c\u575a\u6301\u96be\u5440"),(0,o.yg)("p",null,"\u600e\u4e48\u624d\u80fd\u575a\u6301\u5440\uff0c\u5c0f\u4ed3\u4f4d\u8bd5\u9519\uff0c\u6d6e\u76c8\u624d\u80fd\u575a\u6301\u5440"),(0,o.yg)("p",null,"\u4f60\u4e0d\u662f\u9009\u4e0d\u4e86\u597d\u80a1\uff0c\u800c\u662f\u4f60\u575a\u6301\u4e0d\u4e86"),(0,o.yg)("p",null,"\u4f60\u6068\u4e0d\u5f97\u6bcf\u5929\u90fd\u4e70\u65b0\u7684\u80a1\u7968\uff0c\u6bcf\u5929\u90fd\u64cd\u4f5c\u5440"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4af85ab8.8f5ba80d.js b/assets/js/4af85ab8.25b2e53f.js similarity index 98% rename from assets/js/4af85ab8.8f5ba80d.js rename to assets/js/4af85ab8.25b2e53f.js index 96d12ca95..8ed59e03e 100644 --- a/assets/js/4af85ab8.8f5ba80d.js +++ b/assets/js/4af85ab8.25b2e53f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4072],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),i=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=i(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=i(r),y=o,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:o,c[1]=s;for(var i=2;i{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,s={unversionedId:"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",id:"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",title:"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",description:"jaeger",source:"@site/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7.md",sourceDirName:"study/devops",slug:"/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",permalink:"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ssh",permalink:"/docs/study/devops/ssh"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/hard/"}},l={},i=[{value:"jaeger",id:"jaeger",level:3},{value:"Prometheus",id:"prometheus",level:3}],u={toc:i},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"jaeger"},"jaeger"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://mikechen.cc/32479.html"},"Jaeger \u6700\u5168\u8be6\u89e3"))),(0,o.yg)("h3",{id:"prometheus"},"Prometheus"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/467438139"},"\u77e5\u4e4e-Prometheus \u7b80\u4ecb"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4072],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),i=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=i(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=i(r),y=o,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:o,c[1]=s;for(var i=2;i{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,s={unversionedId:"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",id:"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",title:"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",description:"jaeger",source:"@site/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7.md",sourceDirName:"study/devops",slug:"/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",permalink:"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ssh",permalink:"/docs/study/devops/ssh"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/hard/"}},l={},i=[{value:"jaeger",id:"jaeger",level:3},{value:"Prometheus",id:"prometheus",level:3}],u={toc:i},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"jaeger"},"jaeger"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://mikechen.cc/32479.html"},"Jaeger \u6700\u5168\u8be6\u89e3"))),(0,o.yg)("h3",{id:"prometheus"},"Prometheus"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/467438139"},"\u77e5\u4e4e-Prometheus \u7b80\u4ecb"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4b0ccf38.61503213.js b/assets/js/4b0ccf38.0d7ee29b.js similarity index 99% rename from assets/js/4b0ccf38.61503213.js rename to assets/js/4b0ccf38.0d7ee29b.js index 696a293fa..74a70937c 100644 --- a/assets/js/4b0ccf38.61503213.js +++ b/assets/js/4b0ccf38.0d7ee29b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3624],{15680:(e,n,t)=>{t.d(n,{xA:()=>c,yg:()=>m});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var u=r.createContext({}),p=function(e){var n=r.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},c=function(e){var n=p(e.components);return r.createElement(u.Provider,{value:n},e.children)},y="mdxType",g={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},s=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),y=p(t),s=a,m=y["".concat(u,".").concat(s)]||y[s]||g[s]||l;return t?r.createElement(m,i(i({ref:n},c),{},{components:t})):r.createElement(m,i({ref:n},c))}));function m(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var l=t.length,i=new Array(l);i[0]=s;var o={};for(var u in n)hasOwnProperty.call(n,u)&&(o[u]=n[u]);o.originalType=e,o[y]="string"==typeof e?e:a,i[1]=o;for(var p=2;p{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>i,default:()=>g,frontMatter:()=>l,metadata:()=>o,toc:()=>p});var r=t(58168),a=(t(96540),t(15680));const l={sidebar_position:1},i="\u7efc\u8ff0",o={unversionedId:"xuanxing/index",id:"xuanxing/index",title:"\u7efc\u8ff0",description:"\u7efc\u5408\u8003\u8651",source:"@site/docs/xuanxing/index.md",sourceDirName:"xuanxing",slug:"/xuanxing/",permalink:"/docs/xuanxing/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",next:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/fe/"}},u={},p=[{value:"\u7efc\u5408\u8003\u8651",id:"\u7efc\u5408\u8003\u8651",level:3},{value:"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411",id:"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411",level:3}],c={toc:p},y="wrapper";function g(e){let{components:n,...t}=e;return(0,a.yg)(y,(0,r.A)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u7efc\u8ff0"},"\u7efc\u8ff0"),(0,a.yg)("h3",{id:"\u7efc\u5408\u8003\u8651"},"\u7efc\u5408\u8003\u8651"),(0,a.yg)("p",null,"\u6280\u672f\u9009\u578b\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u4ed6\u51b3\u5b9a\u4e86\u6280\u672f\u76ee\u6807\u662f\u5426\u80fd\u987a\u5229\u5b8c\u6210\u3002"),(0,a.yg)("p",null,"\u6211\u4eec\u5728\u505a\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u7684\u6280\u672f\u9009\u578b\u65f6\uff0c\u5e94\u8be5\u7efc\u5408\u8003\u8651\u5982\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6280\u672f\u76ee\u6807\uff0c\u6280\u672f\u76ee\u6807\u662f\u521d\u521b\u3001\u63d0\u5347\u3001\u8fd8\u662f\u91cd\u6784\uff0c\u4e0d\u540c\u7684\u6280\u672f\u76ee\u6807\u5bf9\u6280\u672f\u9009\u578b\u5f71\u54cd\u5f88\u5927\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u6280\u672f\u7684\u53d7\u4f17\u7a0b\u5ea6\uff0c\u867d\u7136\u67d0\u4e9b\u6280\u672f\u5f88\u9002\u5408\u505a\u67d0\u4e2a\u4e1c\u897f\uff0c\u4f46\u662f\u53d7\u4f17\u7a0b\u5ea6\u4f4e\u4f1a\u5bfc\u81f4\u62db\u4e0d\u5230\u4eba\u624d\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u56e2\u961f\u7684\u4eba\u624d\u9636\u68af\uff0c\u90fd\u662f\u5927\u725b\u8fd8\u662f\u4e00\u822c\uff0c\u6216\u8005\u521d\u4e2d\u9ad8\u7ea7\u5206\u5e03\u6bd4\u8f83\u5408\u7406\uff1b")),(0,a.yg)("h3",{id:"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411"},"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411\u4e0a\uff0c\u5927\u6982\u5206\u4e3a\u524d\u7aef\u3001\u540e\u7aef\u548c\u8fd0\u7ef4\uff1a"),(0,a.yg)("p",null,"\u524d\u7aef\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5b98\u7f51"),(0,a.yg)("li",{parentName:"ul"},"\u7528\u6237\u7aef\u3010PC WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u7ba1\u7406\u7aef\u3010PC WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u79fb\u52a8\u7aef\u3010\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u3001APP\u3001Mobile WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u7ec4\u6001\u7f16\u8f91\u5668\u3010PC WEB\u7f16\u8f91\u53ca\u8fd0\u884c\u3011\u3010Mobile WEB\u8fd0\u884c\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u5927\u5c4f\u7f16\u8f91\u5668\u3010PC WEB\u7f16\u8f91\u53ca\u8fd0\u884c\u3011")),(0,a.yg)("p",null,"\u540e\u7aef\u6839\u636e\u670d\u52a1\u7279\u70b9\uff0c\u5206\u4e3a\u4e24\u4e2a\u5927\u5c42\uff0c\u4e1a\u52a1\u5c42\u548c\u901a\u8baf\u5c42\uff0c\u4e1a\u52a1\u5c42\u9762\u5411\u7684\u662f\u7528\u6237\uff0c\u901a\u8baf\u5c42\u9762\u5411\u7684\u662f\u8bbe\u5907\u3002"),(0,a.yg)("p",null,"\u540e\u7aef\u4e1a\u52a1\u5c42\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"API\u670d\u52a1\uff0c\u9700\u8981\u6839\u636e\u524d\u7aef\u7684\u7aef\u518d\u53bb\u7ec6\u5206\u82e5\u5e72\u670d\u52a1\uff0c\u6280\u672f\u9009\u578b\u5e94\u8be5\u7528\u4e00\u4e2a\uff0c\u4fdd\u6301\u7edf\u4e00\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u62a5\u8b66\u670d\u52a1\uff0c\u4e3b\u8981\u662f\u7ed9\u7528\u6237\u53d1\u9001\u62a5\u8b66\u4fe1\u606f\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Monitor\u670d\u52a1\uff0c\u4e3b\u8981\u662f\u76d1\u63a7\u6765\u81ea\u540e\u7aef\u901a\u8baf\u5c42\u7684\u6d88\u606f\uff1b")),(0,a.yg)("p",null,"\u540e\u7aef\u901a\u8baf\u5c42\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u63a5\u5165"),(0,a.yg)("li",{parentName:"ul"},"\u6570\u636e\u89e3\u6790"),(0,a.yg)("li",{parentName:"ul"},"\u529f\u80fd\u670d\u52a1")))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3624],{15680:(e,n,t)=>{t.d(n,{xA:()=>c,yg:()=>m});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var u=r.createContext({}),p=function(e){var n=r.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},c=function(e){var n=p(e.components);return r.createElement(u.Provider,{value:n},e.children)},y="mdxType",g={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},s=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),y=p(t),s=a,m=y["".concat(u,".").concat(s)]||y[s]||g[s]||l;return t?r.createElement(m,i(i({ref:n},c),{},{components:t})):r.createElement(m,i({ref:n},c))}));function m(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var l=t.length,i=new Array(l);i[0]=s;var o={};for(var u in n)hasOwnProperty.call(n,u)&&(o[u]=n[u]);o.originalType=e,o[y]="string"==typeof e?e:a,i[1]=o;for(var p=2;p{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>i,default:()=>g,frontMatter:()=>l,metadata:()=>o,toc:()=>p});var r=t(58168),a=(t(96540),t(15680));const l={sidebar_position:1},i="\u7efc\u8ff0",o={unversionedId:"xuanxing/index",id:"xuanxing/index",title:"\u7efc\u8ff0",description:"\u7efc\u5408\u8003\u8651",source:"@site/docs/xuanxing/index.md",sourceDirName:"xuanxing",slug:"/xuanxing/",permalink:"/docs/xuanxing/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",next:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/fe/"}},u={},p=[{value:"\u7efc\u5408\u8003\u8651",id:"\u7efc\u5408\u8003\u8651",level:3},{value:"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411",id:"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411",level:3}],c={toc:p},y="wrapper";function g(e){let{components:n,...t}=e;return(0,a.yg)(y,(0,r.A)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u7efc\u8ff0"},"\u7efc\u8ff0"),(0,a.yg)("h3",{id:"\u7efc\u5408\u8003\u8651"},"\u7efc\u5408\u8003\u8651"),(0,a.yg)("p",null,"\u6280\u672f\u9009\u578b\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u4ed6\u51b3\u5b9a\u4e86\u6280\u672f\u76ee\u6807\u662f\u5426\u80fd\u987a\u5229\u5b8c\u6210\u3002"),(0,a.yg)("p",null,"\u6211\u4eec\u5728\u505a\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u7684\u6280\u672f\u9009\u578b\u65f6\uff0c\u5e94\u8be5\u7efc\u5408\u8003\u8651\u5982\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6280\u672f\u76ee\u6807\uff0c\u6280\u672f\u76ee\u6807\u662f\u521d\u521b\u3001\u63d0\u5347\u3001\u8fd8\u662f\u91cd\u6784\uff0c\u4e0d\u540c\u7684\u6280\u672f\u76ee\u6807\u5bf9\u6280\u672f\u9009\u578b\u5f71\u54cd\u5f88\u5927\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u6280\u672f\u7684\u53d7\u4f17\u7a0b\u5ea6\uff0c\u867d\u7136\u67d0\u4e9b\u6280\u672f\u5f88\u9002\u5408\u505a\u67d0\u4e2a\u4e1c\u897f\uff0c\u4f46\u662f\u53d7\u4f17\u7a0b\u5ea6\u4f4e\u4f1a\u5bfc\u81f4\u62db\u4e0d\u5230\u4eba\u624d\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u56e2\u961f\u7684\u4eba\u624d\u9636\u68af\uff0c\u90fd\u662f\u5927\u725b\u8fd8\u662f\u4e00\u822c\uff0c\u6216\u8005\u521d\u4e2d\u9ad8\u7ea7\u5206\u5e03\u6bd4\u8f83\u5408\u7406\uff1b")),(0,a.yg)("h3",{id:"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411"},"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u6280\u672f\u65b9\u5411\u4e0a\uff0c\u5927\u6982\u5206\u4e3a\u524d\u7aef\u3001\u540e\u7aef\u548c\u8fd0\u7ef4\uff1a"),(0,a.yg)("p",null,"\u524d\u7aef\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5b98\u7f51"),(0,a.yg)("li",{parentName:"ul"},"\u7528\u6237\u7aef\u3010PC WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u7ba1\u7406\u7aef\u3010PC WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u79fb\u52a8\u7aef\u3010\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u3001APP\u3001Mobile WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u7ec4\u6001\u7f16\u8f91\u5668\u3010PC WEB\u7f16\u8f91\u53ca\u8fd0\u884c\u3011\u3010Mobile WEB\u8fd0\u884c\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u5927\u5c4f\u7f16\u8f91\u5668\u3010PC WEB\u7f16\u8f91\u53ca\u8fd0\u884c\u3011")),(0,a.yg)("p",null,"\u540e\u7aef\u6839\u636e\u670d\u52a1\u7279\u70b9\uff0c\u5206\u4e3a\u4e24\u4e2a\u5927\u5c42\uff0c\u4e1a\u52a1\u5c42\u548c\u901a\u8baf\u5c42\uff0c\u4e1a\u52a1\u5c42\u9762\u5411\u7684\u662f\u7528\u6237\uff0c\u901a\u8baf\u5c42\u9762\u5411\u7684\u662f\u8bbe\u5907\u3002"),(0,a.yg)("p",null,"\u540e\u7aef\u4e1a\u52a1\u5c42\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"API\u670d\u52a1\uff0c\u9700\u8981\u6839\u636e\u524d\u7aef\u7684\u7aef\u518d\u53bb\u7ec6\u5206\u82e5\u5e72\u670d\u52a1\uff0c\u6280\u672f\u9009\u578b\u5e94\u8be5\u7528\u4e00\u4e2a\uff0c\u4fdd\u6301\u7edf\u4e00\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u62a5\u8b66\u670d\u52a1\uff0c\u4e3b\u8981\u662f\u7ed9\u7528\u6237\u53d1\u9001\u62a5\u8b66\u4fe1\u606f\uff1b"),(0,a.yg)("li",{parentName:"ul"},"Monitor\u670d\u52a1\uff0c\u4e3b\u8981\u662f\u76d1\u63a7\u6765\u81ea\u540e\u7aef\u901a\u8baf\u5c42\u7684\u6d88\u606f\uff1b")),(0,a.yg)("p",null,"\u540e\u7aef\u901a\u8baf\u5c42\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u8bbe\u5907\u63a5\u5165"),(0,a.yg)("li",{parentName:"ul"},"\u6570\u636e\u89e3\u6790"),(0,a.yg)("li",{parentName:"ul"},"\u529f\u80fd\u670d\u52a1")))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4d36f4bb.cc26732f.js b/assets/js/4d36f4bb.5c552bbe.js similarity index 98% rename from assets/js/4d36f4bb.cc26732f.js rename to assets/js/4d36f4bb.5c552bbe.js index 04fda9bdb..4ec5f1f58 100644 --- a/assets/js/4d36f4bb.cc26732f.js +++ b/assets/js/4d36f4bb.5c552bbe.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7686],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),p=u(r),m=o,f=p["".concat(s,".").concat(m)]||p[m]||d[m]||a;return r?n.createElement(f,i(i({ref:t},l),{},{components:r})):n.createElement(f,i({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=m;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[p]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528",id:"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528",title:"\u5982\u4f55\u4f7f\u7528",description:"\u4e0a\u884c\u6d88\u606f",source:"@site/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528.md",sourceDirName:"xuanxing/thingsboard",slug:"/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528",permalink:"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"xuanxingSidebar",previous:{title:"\u7efc\u8ff0",permalink:"/docs/xuanxing/thingsboard/"},next:{title:"\u6e90\u7801\u7ed3\u6784",permalink:"/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784"}},s={},u=[{value:"\u4e0a\u884c\u6d88\u606f",id:"\u4e0a\u884c\u6d88\u606f",level:3}],l={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u4e0a\u884c\u6d88\u606f"},"\u4e0a\u884c\u6d88\u606f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'curl -v -X POST -d "{\\"temperature\\": 27}" http://localhost:8080/api/v1/ZGmef5dqOBYcQSR7EzQs/telemetry --header "Content-Type:application/json"\n\n# Acesss token\nmosquitto_pub -d -q 1 -h "localhost" -p "1883" -t "v1/devices/me/telemetry" -u "rX1zRfYWNoUgAg0FIKUt" -m {"temperature":300}\nmosquitto_pub -d -q 1 -h "localhost" -p "1883" -t "v1/devices/me/telemetry" -u "12345678" -m {"t":250}\nmosquitto_pub -d -q 1 -h "localhost" -p "1883" -t "v1/devices/me/attributes" -u "12345678" -m {"t":25}\n\n# MQTT Basic\nmosquitto_pub -h \'localhost\' -i \'c1\' -u \'u1\' -P \'secret\' -t \'/telemetry\' -m \'{"temperature": 25}\'\nmosquitto_pub -h \'localhost\' -i \'c1\' -u \'t1\' -P \'secret\' -t \'/attributes\' -m \'{"firmwareVersion": "1.3"}\'\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7686],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),p=u(r),m=o,f=p["".concat(s,".").concat(m)]||p[m]||d[m]||a;return r?n.createElement(f,i(i({ref:t},l),{},{components:r})):n.createElement(f,i({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=m;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[p]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528",id:"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528",title:"\u5982\u4f55\u4f7f\u7528",description:"\u4e0a\u884c\u6d88\u606f",source:"@site/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528.md",sourceDirName:"xuanxing/thingsboard",slug:"/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528",permalink:"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"xuanxingSidebar",previous:{title:"\u7efc\u8ff0",permalink:"/docs/xuanxing/thingsboard/"},next:{title:"\u6e90\u7801\u7ed3\u6784",permalink:"/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784"}},s={},u=[{value:"\u4e0a\u884c\u6d88\u606f",id:"\u4e0a\u884c\u6d88\u606f",level:3}],l={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u4e0a\u884c\u6d88\u606f"},"\u4e0a\u884c\u6d88\u606f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'curl -v -X POST -d "{\\"temperature\\": 27}" http://localhost:8080/api/v1/ZGmef5dqOBYcQSR7EzQs/telemetry --header "Content-Type:application/json"\n\n# Acesss token\nmosquitto_pub -d -q 1 -h "localhost" -p "1883" -t "v1/devices/me/telemetry" -u "rX1zRfYWNoUgAg0FIKUt" -m {"temperature":300}\nmosquitto_pub -d -q 1 -h "localhost" -p "1883" -t "v1/devices/me/telemetry" -u "12345678" -m {"t":250}\nmosquitto_pub -d -q 1 -h "localhost" -p "1883" -t "v1/devices/me/attributes" -u "12345678" -m {"t":25}\n\n# MQTT Basic\nmosquitto_pub -h \'localhost\' -i \'c1\' -u \'u1\' -P \'secret\' -t \'/telemetry\' -m \'{"temperature": 25}\'\nmosquitto_pub -h \'localhost\' -i \'c1\' -u \'t1\' -P \'secret\' -t \'/attributes\' -m \'{"firmwareVersion": "1.3"}\'\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4d7f5141.e7165e58.js b/assets/js/4d7f5141.de49d483.js similarity index 99% rename from assets/js/4d7f5141.e7165e58.js rename to assets/js/4d7f5141.de49d483.js index 423d47f05..343009ed5 100644 --- a/assets/js/4d7f5141.e7165e58.js +++ b/assets/js/4d7f5141.de49d483.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7891],{15680:(e,r,t)=>{t.d(r,{xA:()=>s,yg:()=>f});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var l=n.createContext({}),i=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},s=function(e){var r=i(e.components);return n.createElement(l.Provider,{value:r},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,p=e.originalType,l=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),u=i(t),y=o,f=u["".concat(l,".").concat(y)]||u[y]||d[y]||p;return t?n.createElement(f,c(c({ref:r},s),{},{components:t})):n.createElement(f,c({ref:r},s))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var p=t.length,c=new Array(p);c[0]=y;var a={};for(var l in r)hasOwnProperty.call(r,l)&&(a[l]=r[l]);a.originalType=e,a[u]="string"==typeof e?e:o,c[1]=a;for(var i=2;i{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>p,metadata:()=>a,toc:()=>i});var n=t(58168),o=(t(96540),t(15680));const p={},c=void 0,a={unversionedId:"study/devops/Linux\u8fd0\u7ef4-proc",id:"study/devops/Linux\u8fd0\u7ef4-proc",title:"Linux\u8fd0\u7ef4-proc",description:"/proc/",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-proc.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-proc",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-proc",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-GRUB",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB"},next:{title:"Linux\u8fd0\u7ef4-\u5e38\u7528",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528"}},l={},i=[{value:"/proc/",id:"proc",level:3},{value:"\u4e3b\u8981\u5185\u5bb9\u548c\u529f\u80fd",id:"\u4e3b\u8981\u5185\u5bb9\u548c\u529f\u80fd",level:3},{value:"\u8fdb\u7a0b\u76f8\u5173\u4fe1\u606f",id:"\u8fdb\u7a0b\u76f8\u5173\u4fe1\u606f",level:4},{value:"\u7cfb\u7edf\u4fe1\u606f",id:"\u7cfb\u7edf\u4fe1\u606f",level:4},{value:"\u5185\u6838\u53c2\u6570\u76f8\u5173\u4fe1\u606f",id:"\u5185\u6838\u53c2\u6570\u76f8\u5173\u4fe1\u606f",level:4},{value:"\u8bbe\u5907\u9a71\u52a8\u4fe1\u606f\uff08\u90e8\u5206\uff09",id:"\u8bbe\u5907\u9a71\u52a8\u4fe1\u606f\u90e8\u5206",level:4},{value:"\u5176\u4ed6\u7c7b\u4f3c/proc\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf",id:"\u5176\u4ed6\u7c7b\u4f3cproc\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf",level:3}],s={toc:i},u="wrapper";function d(e){let{components:r,...t}=e;return(0,o.yg)(u,(0,n.A)({},s,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"proc"},"/proc/"),(0,o.yg)("p",null,"/proc\u662f\u4e00\u4e2a\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u673a\u5236\u6765\u8bbf\u95ee\u5185\u6838\u5185\u90e8\u6570\u636e\u7ed3\u6784\u3001\u8fdb\u7a0b\u4fe1\u606f\u4ee5\u53ca\u7cfb\u7edf\u786c\u4ef6\u4fe1\u606f\u7b49\u5185\u5bb9\u3002\u5b83\u662f Linux \u64cd\u4f5c\u7cfb\u7edf\u7279\u6709\u7684\uff0c\u5728\u5176\u4ed6\u7c7b Unix \u7cfb\u7edf\u4e2d\u4e5f\u53ef\u80fd\u6709\u7c7b\u4f3c\u7684\u5b9e\u73b0\u3002\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u548c\u5b50\u76ee\u5f55\u5e76\u4e0d\u662f\u5b58\u50a8\u5728\u78c1\u76d8\u4e0a\u7684\u771f\u5b9e\u6587\u4ef6\uff0c\u800c\u662f\u7531\u5185\u6838\u5728\u8fd0\u884c\u65f6\u52a8\u6001\u751f\u6210\u7684\uff0c\u7528\u4e8e\u5411\u7528\u6237\u7a7a\u95f4\u63d0\u4f9b\u7cfb\u7edf\u7684\u5404\u79cd\u5b9e\u65f6\u4fe1\u606f\u3002"),(0,o.yg)("h3",{id:"\u4e3b\u8981\u5185\u5bb9\u548c\u529f\u80fd"},"\u4e3b\u8981\u5185\u5bb9\u548c\u529f\u80fd"),(0,o.yg)("h4",{id:"\u8fdb\u7a0b\u76f8\u5173\u4fe1\u606f"},"\u8fdb\u7a0b\u76f8\u5173\u4fe1\u606f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5305\u542b\u4e86\u542f\u52a8\u8be5\u8fdb\u7a0b\u7684\u5b8c\u6574\u547d\u4ee4\u884c\u53c2\u6570\u3002\ncat /proc/[PID]/cmdline\n# \u63d0\u4f9b\u4e86\u5173\u4e8e\u8be5\u8fdb\u7a0b\u7684\u72b6\u6001\u4fe1\u606f\uff0c\u5982\u8fdb\u7a0b ID\u3001\u8fdb\u7a0b\u72b6\u6001\uff08\u8fd0\u884c\u3001\u7761\u7720\u3001\u50f5\u5c38\u7b49\uff09\u3001\u7236\u8fdb\u7a0b ID\u3001\u7528\u6237 ID\u3001\u7ec4 ID\u3001\u865a\u62df\u5185\u5b58\u5927\u5c0f\u3001\u7269\u7406\u5185\u5b58\u5927\u5c0f\u7b49\u3002\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u76d1\u63a7\u548c\u7ba1\u7406\u8fdb\u7a0b\u975e\u5e38\u6709\u7528\u3002\ncat /proc/[PID]/status\n# \u8fd9\u662f\u4e00\u4e2a\u76ee\u5f55\uff0c\u5176\u4e2d\u5305\u542b\u4e86\u8fdb\u7a0b\u6253\u5f00\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\u7684\u94fe\u63a5\u3002\u6bcf\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\u5bf9\u5e94\u7684\u6587\u4ef6\u6216\u8bbe\u5907\u90fd\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e9b\u94fe\u63a5\u8bbf\u95ee\uff0c\u8fd9\u6709\u52a9\u4e8e\u4e86\u89e3\u8fdb\u7a0b\u6b63\u5728\u4f7f\u7528\u7684\u6587\u4ef6\u8d44\u6e90\u3002\nll /proc/[PID]/fd\n")),(0,o.yg)("h4",{id:"\u7cfb\u7edf\u4fe1\u606f"},"\u7cfb\u7edf\u4fe1\u606f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5305\u542b\u4e86\u5173\u4e8e CPU \u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5982 CPU \u578b\u53f7\u3001\u6838\u5fc3\u6570\u3001\u7f13\u5b58\u5927\u5c0f\u3001CPU \u9891\u7387\u7b49\u3002\u901a\u8fc7\u67e5\u770b\u8fd9\u4e2a\u6587\u4ef6\uff0c\u53ef\u4ee5\u4e86\u89e3\u7cfb\u7edf\u7684 CPU \u6027\u80fd\u548c\u7279\u6027\u3002\u4f8b\u5982\uff0c\u5728\u591a\u6838\u5904\u7406\u5668\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u67e5\u770b\u6bcf\u4e2a\u6838\u5fc3\u7684\u8be6\u7ec6\u53c2\u6570\u3002\ncat /proc/cpuinfo\n# \u63d0\u4f9b\u4e86\u7cfb\u7edf\u5185\u5b58\u7684\u603b\u4f53\u4fe1\u606f\uff0c\u5305\u62ec\u603b\u5185\u5b58\u3001\u5df2\u4f7f\u7528\u5185\u5b58\u3001\u7a7a\u95f2\u5185\u5b58\u3001\u7f13\u5b58\u5185\u5b58\u3001\u4ea4\u6362\u7a7a\u95f4\u5927\u5c0f\u7b49\u3002\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u7cfb\u7edf\u6027\u80fd\u8c03\u4f18\u548c\u5185\u5b58\u7ba1\u7406\u975e\u5e38\u91cd\u8981\u3002\ncat /proc/meminfo\n# \u8bb0\u5f55\u4e86\u7cfb\u7edf\u5728\u8fc7\u53bb 1 \u5206\u949f\u30015 \u5206\u949f\u548c 15 \u5206\u949f\u5185\u7684\u5e73\u5747\u8d1f\u8f7d\u3002\u5e73\u5747\u8d1f\u8f7d\u662f\u6307\u5355\u4f4d\u65f6\u95f4\u5185\u7cfb\u7edf\u5904\u4e8e\u53ef\u8fd0\u884c\u72b6\u6001\u548c\u4e0d\u53ef\u4e2d\u65ad\u72b6\u6001\u7684\u5e73\u5747\u8fdb\u7a0b\u6570\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5224\u65ad\u7cfb\u7edf\u7684\u7e41\u5fd9\u7a0b\u5ea6\u3002\ncat /proc/loadavg\n")),(0,o.yg)("h4",{id:"\u5185\u6838\u53c2\u6570\u76f8\u5173\u4fe1\u606f"},"\u5185\u6838\u53c2\u6570\u76f8\u5173\u4fe1\u606f"),(0,o.yg)("p",null,"/proc/sys\u76ee\u5f55\u4e0b\u7684\u5185\u5bb9\u4e0e/etc/sysctl.conf\u6587\u4ef6\u76f8\u5173\u3002\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u7528\u4e8e\u67e5\u770b\u548c\u4fee\u6539\u5185\u6838\u53c2\u6570\u3002\u4f8b\u5982\uff0c/proc/sys/net/ipv4/ip_forward\u6587\u4ef6\u5bf9\u5e94net.ipv4.ip_forward\u5185\u6838\u53c2\u6570\uff0c\u901a\u8fc7\u8bfb\u53d6\u6216\u5199\u5165\u8fd9\u4e2a\u6587\u4ef6\u53ef\u4ee5\u67e5\u770b\u6216\u4fee\u6539\u8be5\u53c2\u6570\u7684\u503c\u3002"),(0,o.yg)("h4",{id:"\u8bbe\u5907\u9a71\u52a8\u4fe1\u606f\u90e8\u5206"},"\u8bbe\u5907\u9a71\u52a8\u4fe1\u606f\uff08\u90e8\u5206\uff09"),(0,o.yg)("p",null,"\u5728/proc\u76ee\u5f55\u4e0b\u8fd8\u53ef\u80fd\u5b58\u5728\u4e00\u4e9b\u4e0e\u8bbe\u5907\u9a71\u52a8\u76f8\u5173\u7684\u4fe1\u606f\uff0c\u8fd9\u4e9b\u4fe1\u606f\u7684\u5177\u4f53\u5185\u5bb9\u548c\u4f4d\u7f6e\u53ef\u80fd\u56e0\u8bbe\u5907\u548c\u9a71\u52a8\u7684\u4e0d\u540c\u800c\u6709\u6240\u5dee\u5f02\u3002\u4f8b\u5982\uff0c/proc/bus/\u76ee\u5f55\u4e0b\u53ef\u80fd\u5305\u542b\u4e86\u5173\u4e8e\u7cfb\u7edf\u603b\u7ebf\u548c\u8fde\u63a5\u5230\u603b\u7ebf\u4e0a\u7684\u8bbe\u5907\u7684\u4fe1\u606f\u3002"),(0,o.yg)("h3",{id:"\u5176\u4ed6\u7c7b\u4f3cproc\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf"},"\u5176\u4ed6\u7c7b\u4f3c/proc\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"sysfs(/sys/) sysfs \u662f Linux \u5185\u6838\u63d0\u4f9b\u7684\u53e6\u4e00\u4e2a\u91cd\u8981\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u6302\u8f7d\u70b9\u901a\u5e38\u662f/sys\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u5c06\u5185\u6838\u4e2d\u7684\u8bbe\u5907\u9a71\u52a8\u6a21\u578b\u5bfc\u51fa\u5230\u7528\u6237\u7a7a\u95f4\uff0c\u8ba9\u7528\u6237\u80fd\u591f\u65b9\u4fbf\u5730\u8bbf\u95ee\u548c\u7ba1\u7406\u7cfb\u7edf\u4e2d\u7684\u8bbe\u5907\u76f8\u5173\u4fe1\u606f\u3002"),(0,o.yg)("li",{parentName:"ul"},"devpts\uff08/dev/pts\uff09devpts \u662f\u7528\u4e8e\u7ba1\u7406\u4f2a\u7ec8\u7aef\uff08pseudo - terminal\uff09\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u6302\u8f7d\u70b9\u901a\u5e38\u662f/dev/pts\u3002\u4f2a\u7ec8\u7aef\u4e3b\u8981\u7528\u4e8e\u5b9e\u73b0\u7ec8\u7aef\u6a21\u62df\uff0c\u4f8b\u5982\u5728\u8fdc\u7a0b\u767b\u5f55\u3001\u7ec8\u7aef\u590d\u7528\u5668\uff08\u5982 screen \u548c tmux\uff09\u7b49\u573a\u666f\u4e2d\u4f7f\u7528\u3002"),(0,o.yg)("li",{parentName:"ul"},"tmpfs\uff08\u6302\u8f7d\u70b9\u591a\u6837\uff09tmpfs \u662f\u4e00\u79cd\u57fa\u4e8e\u5185\u5b58\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b83\u5c06\u6587\u4ef6\u5b58\u50a8\u5728\u5185\u5b58\u4e2d\uff0c\u800c\u4e0d\u662f\u78c1\u76d8\u4e0a\u3002tmpfs \u7684\u6302\u8f7d\u70b9\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u8bbe\u7f6e\uff0c\u5e38\u89c1\u7684\u6302\u8f7d\u70b9\u6709/dev/shm\u3002")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7891],{15680:(e,r,t)=>{t.d(r,{xA:()=>s,yg:()=>f});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var l=n.createContext({}),i=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},s=function(e){var r=i(e.components);return n.createElement(l.Provider,{value:r},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,p=e.originalType,l=e.parentName,s=a(e,["components","mdxType","originalType","parentName"]),u=i(t),y=o,f=u["".concat(l,".").concat(y)]||u[y]||d[y]||p;return t?n.createElement(f,c(c({ref:r},s),{},{components:t})):n.createElement(f,c({ref:r},s))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var p=t.length,c=new Array(p);c[0]=y;var a={};for(var l in r)hasOwnProperty.call(r,l)&&(a[l]=r[l]);a.originalType=e,a[u]="string"==typeof e?e:o,c[1]=a;for(var i=2;i{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>p,metadata:()=>a,toc:()=>i});var n=t(58168),o=(t(96540),t(15680));const p={},c=void 0,a={unversionedId:"study/devops/Linux\u8fd0\u7ef4-proc",id:"study/devops/Linux\u8fd0\u7ef4-proc",title:"Linux\u8fd0\u7ef4-proc",description:"/proc/",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-proc.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-proc",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-proc",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-GRUB",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB"},next:{title:"Linux\u8fd0\u7ef4-\u5e38\u7528",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528"}},l={},i=[{value:"/proc/",id:"proc",level:3},{value:"\u4e3b\u8981\u5185\u5bb9\u548c\u529f\u80fd",id:"\u4e3b\u8981\u5185\u5bb9\u548c\u529f\u80fd",level:3},{value:"\u8fdb\u7a0b\u76f8\u5173\u4fe1\u606f",id:"\u8fdb\u7a0b\u76f8\u5173\u4fe1\u606f",level:4},{value:"\u7cfb\u7edf\u4fe1\u606f",id:"\u7cfb\u7edf\u4fe1\u606f",level:4},{value:"\u5185\u6838\u53c2\u6570\u76f8\u5173\u4fe1\u606f",id:"\u5185\u6838\u53c2\u6570\u76f8\u5173\u4fe1\u606f",level:4},{value:"\u8bbe\u5907\u9a71\u52a8\u4fe1\u606f\uff08\u90e8\u5206\uff09",id:"\u8bbe\u5907\u9a71\u52a8\u4fe1\u606f\u90e8\u5206",level:4},{value:"\u5176\u4ed6\u7c7b\u4f3c/proc\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf",id:"\u5176\u4ed6\u7c7b\u4f3cproc\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf",level:3}],s={toc:i},u="wrapper";function d(e){let{components:r,...t}=e;return(0,o.yg)(u,(0,n.A)({},s,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"proc"},"/proc/"),(0,o.yg)("p",null,"/proc\u662f\u4e00\u4e2a\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u673a\u5236\u6765\u8bbf\u95ee\u5185\u6838\u5185\u90e8\u6570\u636e\u7ed3\u6784\u3001\u8fdb\u7a0b\u4fe1\u606f\u4ee5\u53ca\u7cfb\u7edf\u786c\u4ef6\u4fe1\u606f\u7b49\u5185\u5bb9\u3002\u5b83\u662f Linux \u64cd\u4f5c\u7cfb\u7edf\u7279\u6709\u7684\uff0c\u5728\u5176\u4ed6\u7c7b Unix \u7cfb\u7edf\u4e2d\u4e5f\u53ef\u80fd\u6709\u7c7b\u4f3c\u7684\u5b9e\u73b0\u3002\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u548c\u5b50\u76ee\u5f55\u5e76\u4e0d\u662f\u5b58\u50a8\u5728\u78c1\u76d8\u4e0a\u7684\u771f\u5b9e\u6587\u4ef6\uff0c\u800c\u662f\u7531\u5185\u6838\u5728\u8fd0\u884c\u65f6\u52a8\u6001\u751f\u6210\u7684\uff0c\u7528\u4e8e\u5411\u7528\u6237\u7a7a\u95f4\u63d0\u4f9b\u7cfb\u7edf\u7684\u5404\u79cd\u5b9e\u65f6\u4fe1\u606f\u3002"),(0,o.yg)("h3",{id:"\u4e3b\u8981\u5185\u5bb9\u548c\u529f\u80fd"},"\u4e3b\u8981\u5185\u5bb9\u548c\u529f\u80fd"),(0,o.yg)("h4",{id:"\u8fdb\u7a0b\u76f8\u5173\u4fe1\u606f"},"\u8fdb\u7a0b\u76f8\u5173\u4fe1\u606f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5305\u542b\u4e86\u542f\u52a8\u8be5\u8fdb\u7a0b\u7684\u5b8c\u6574\u547d\u4ee4\u884c\u53c2\u6570\u3002\ncat /proc/[PID]/cmdline\n# \u63d0\u4f9b\u4e86\u5173\u4e8e\u8be5\u8fdb\u7a0b\u7684\u72b6\u6001\u4fe1\u606f\uff0c\u5982\u8fdb\u7a0b ID\u3001\u8fdb\u7a0b\u72b6\u6001\uff08\u8fd0\u884c\u3001\u7761\u7720\u3001\u50f5\u5c38\u7b49\uff09\u3001\u7236\u8fdb\u7a0b ID\u3001\u7528\u6237 ID\u3001\u7ec4 ID\u3001\u865a\u62df\u5185\u5b58\u5927\u5c0f\u3001\u7269\u7406\u5185\u5b58\u5927\u5c0f\u7b49\u3002\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u76d1\u63a7\u548c\u7ba1\u7406\u8fdb\u7a0b\u975e\u5e38\u6709\u7528\u3002\ncat /proc/[PID]/status\n# \u8fd9\u662f\u4e00\u4e2a\u76ee\u5f55\uff0c\u5176\u4e2d\u5305\u542b\u4e86\u8fdb\u7a0b\u6253\u5f00\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\u7684\u94fe\u63a5\u3002\u6bcf\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\u5bf9\u5e94\u7684\u6587\u4ef6\u6216\u8bbe\u5907\u90fd\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e9b\u94fe\u63a5\u8bbf\u95ee\uff0c\u8fd9\u6709\u52a9\u4e8e\u4e86\u89e3\u8fdb\u7a0b\u6b63\u5728\u4f7f\u7528\u7684\u6587\u4ef6\u8d44\u6e90\u3002\nll /proc/[PID]/fd\n")),(0,o.yg)("h4",{id:"\u7cfb\u7edf\u4fe1\u606f"},"\u7cfb\u7edf\u4fe1\u606f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5305\u542b\u4e86\u5173\u4e8e CPU \u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5982 CPU \u578b\u53f7\u3001\u6838\u5fc3\u6570\u3001\u7f13\u5b58\u5927\u5c0f\u3001CPU \u9891\u7387\u7b49\u3002\u901a\u8fc7\u67e5\u770b\u8fd9\u4e2a\u6587\u4ef6\uff0c\u53ef\u4ee5\u4e86\u89e3\u7cfb\u7edf\u7684 CPU \u6027\u80fd\u548c\u7279\u6027\u3002\u4f8b\u5982\uff0c\u5728\u591a\u6838\u5904\u7406\u5668\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u67e5\u770b\u6bcf\u4e2a\u6838\u5fc3\u7684\u8be6\u7ec6\u53c2\u6570\u3002\ncat /proc/cpuinfo\n# \u63d0\u4f9b\u4e86\u7cfb\u7edf\u5185\u5b58\u7684\u603b\u4f53\u4fe1\u606f\uff0c\u5305\u62ec\u603b\u5185\u5b58\u3001\u5df2\u4f7f\u7528\u5185\u5b58\u3001\u7a7a\u95f2\u5185\u5b58\u3001\u7f13\u5b58\u5185\u5b58\u3001\u4ea4\u6362\u7a7a\u95f4\u5927\u5c0f\u7b49\u3002\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u7cfb\u7edf\u6027\u80fd\u8c03\u4f18\u548c\u5185\u5b58\u7ba1\u7406\u975e\u5e38\u91cd\u8981\u3002\ncat /proc/meminfo\n# \u8bb0\u5f55\u4e86\u7cfb\u7edf\u5728\u8fc7\u53bb 1 \u5206\u949f\u30015 \u5206\u949f\u548c 15 \u5206\u949f\u5185\u7684\u5e73\u5747\u8d1f\u8f7d\u3002\u5e73\u5747\u8d1f\u8f7d\u662f\u6307\u5355\u4f4d\u65f6\u95f4\u5185\u7cfb\u7edf\u5904\u4e8e\u53ef\u8fd0\u884c\u72b6\u6001\u548c\u4e0d\u53ef\u4e2d\u65ad\u72b6\u6001\u7684\u5e73\u5747\u8fdb\u7a0b\u6570\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5224\u65ad\u7cfb\u7edf\u7684\u7e41\u5fd9\u7a0b\u5ea6\u3002\ncat /proc/loadavg\n")),(0,o.yg)("h4",{id:"\u5185\u6838\u53c2\u6570\u76f8\u5173\u4fe1\u606f"},"\u5185\u6838\u53c2\u6570\u76f8\u5173\u4fe1\u606f"),(0,o.yg)("p",null,"/proc/sys\u76ee\u5f55\u4e0b\u7684\u5185\u5bb9\u4e0e/etc/sysctl.conf\u6587\u4ef6\u76f8\u5173\u3002\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u7528\u4e8e\u67e5\u770b\u548c\u4fee\u6539\u5185\u6838\u53c2\u6570\u3002\u4f8b\u5982\uff0c/proc/sys/net/ipv4/ip_forward\u6587\u4ef6\u5bf9\u5e94net.ipv4.ip_forward\u5185\u6838\u53c2\u6570\uff0c\u901a\u8fc7\u8bfb\u53d6\u6216\u5199\u5165\u8fd9\u4e2a\u6587\u4ef6\u53ef\u4ee5\u67e5\u770b\u6216\u4fee\u6539\u8be5\u53c2\u6570\u7684\u503c\u3002"),(0,o.yg)("h4",{id:"\u8bbe\u5907\u9a71\u52a8\u4fe1\u606f\u90e8\u5206"},"\u8bbe\u5907\u9a71\u52a8\u4fe1\u606f\uff08\u90e8\u5206\uff09"),(0,o.yg)("p",null,"\u5728/proc\u76ee\u5f55\u4e0b\u8fd8\u53ef\u80fd\u5b58\u5728\u4e00\u4e9b\u4e0e\u8bbe\u5907\u9a71\u52a8\u76f8\u5173\u7684\u4fe1\u606f\uff0c\u8fd9\u4e9b\u4fe1\u606f\u7684\u5177\u4f53\u5185\u5bb9\u548c\u4f4d\u7f6e\u53ef\u80fd\u56e0\u8bbe\u5907\u548c\u9a71\u52a8\u7684\u4e0d\u540c\u800c\u6709\u6240\u5dee\u5f02\u3002\u4f8b\u5982\uff0c/proc/bus/\u76ee\u5f55\u4e0b\u53ef\u80fd\u5305\u542b\u4e86\u5173\u4e8e\u7cfb\u7edf\u603b\u7ebf\u548c\u8fde\u63a5\u5230\u603b\u7ebf\u4e0a\u7684\u8bbe\u5907\u7684\u4fe1\u606f\u3002"),(0,o.yg)("h3",{id:"\u5176\u4ed6\u7c7b\u4f3cproc\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf"},"\u5176\u4ed6\u7c7b\u4f3c/proc\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"sysfs(/sys/) sysfs \u662f Linux \u5185\u6838\u63d0\u4f9b\u7684\u53e6\u4e00\u4e2a\u91cd\u8981\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u6302\u8f7d\u70b9\u901a\u5e38\u662f/sys\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u5c06\u5185\u6838\u4e2d\u7684\u8bbe\u5907\u9a71\u52a8\u6a21\u578b\u5bfc\u51fa\u5230\u7528\u6237\u7a7a\u95f4\uff0c\u8ba9\u7528\u6237\u80fd\u591f\u65b9\u4fbf\u5730\u8bbf\u95ee\u548c\u7ba1\u7406\u7cfb\u7edf\u4e2d\u7684\u8bbe\u5907\u76f8\u5173\u4fe1\u606f\u3002"),(0,o.yg)("li",{parentName:"ul"},"devpts\uff08/dev/pts\uff09devpts \u662f\u7528\u4e8e\u7ba1\u7406\u4f2a\u7ec8\u7aef\uff08pseudo - terminal\uff09\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u6302\u8f7d\u70b9\u901a\u5e38\u662f/dev/pts\u3002\u4f2a\u7ec8\u7aef\u4e3b\u8981\u7528\u4e8e\u5b9e\u73b0\u7ec8\u7aef\u6a21\u62df\uff0c\u4f8b\u5982\u5728\u8fdc\u7a0b\u767b\u5f55\u3001\u7ec8\u7aef\u590d\u7528\u5668\uff08\u5982 screen \u548c tmux\uff09\u7b49\u573a\u666f\u4e2d\u4f7f\u7528\u3002"),(0,o.yg)("li",{parentName:"ul"},"tmpfs\uff08\u6302\u8f7d\u70b9\u591a\u6837\uff09tmpfs \u662f\u4e00\u79cd\u57fa\u4e8e\u5185\u5b58\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b83\u5c06\u6587\u4ef6\u5b58\u50a8\u5728\u5185\u5b58\u4e2d\uff0c\u800c\u4e0d\u662f\u78c1\u76d8\u4e0a\u3002tmpfs \u7684\u6302\u8f7d\u70b9\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u8bbe\u7f6e\uff0c\u5e38\u89c1\u7684\u6302\u8f7d\u70b9\u6709/dev/shm\u3002")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4d86c8f8.e0cef7b2.js b/assets/js/4d86c8f8.b1ecf460.js similarity index 98% rename from assets/js/4d86c8f8.e0cef7b2.js rename to assets/js/4d86c8f8.b1ecf460.js index f915b005f..c1d9b8487 100644 --- a/assets/js/4d86c8f8.e0cef7b2.js +++ b/assets/js/4d86c8f8.b1ecf460.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1090],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),s=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),l=s(r),y=o,f=l["".concat(p,".").concat(y)]||l[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[l]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/net/IPV6",id:"study/net/IPV6",title:"IPV6",description:"IPV6 \u8fde\u63a5\u6d4b\u8bd5",source:"@site/docs/study/net/IPV6.md",sourceDirName:"study/net",slug:"/study/net/IPV6",permalink:"/docs/study/net/IPV6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",permalink:"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6"},next:{title:"Linux\u7f51\u7edc\u914d\u7f6e",permalink:"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e"}},p={},s=[{value:"IPV6 \u8fde\u63a5\u6d4b\u8bd5",id:"ipv6-\u8fde\u63a5\u6d4b\u8bd5",level:3}],u={toc:s},l="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"ipv6-\u8fde\u63a5\u6d4b\u8bd5"},"IPV6 \u8fde\u63a5\u6d4b\u8bd5"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://www.test-ipv6.com/"},"https://www.test-ipv6.com/")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1090],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),s=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),l=s(r),y=o,f=l["".concat(p,".").concat(y)]||l[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[l]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/net/IPV6",id:"study/net/IPV6",title:"IPV6",description:"IPV6 \u8fde\u63a5\u6d4b\u8bd5",source:"@site/docs/study/net/IPV6.md",sourceDirName:"study/net",slug:"/study/net/IPV6",permalink:"/docs/study/net/IPV6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",permalink:"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6"},next:{title:"Linux\u7f51\u7edc\u914d\u7f6e",permalink:"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e"}},p={},s=[{value:"IPV6 \u8fde\u63a5\u6d4b\u8bd5",id:"ipv6-\u8fde\u63a5\u6d4b\u8bd5",level:3}],u={toc:s},l="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"ipv6-\u8fde\u63a5\u6d4b\u8bd5"},"IPV6 \u8fde\u63a5\u6d4b\u8bd5"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://www.test-ipv6.com/"},"https://www.test-ipv6.com/")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4d9c298c.0140b68c.js b/assets/js/4d9c298c.01c6e9aa.js similarity index 98% rename from assets/js/4d9c298c.0140b68c.js rename to assets/js/4d9c298c.01c6e9aa.js index 1cb81f4d7..b137fce65 100644 --- a/assets/js/4d9c298c.0140b68c.js +++ b/assets/js/4d9c298c.01c6e9aa.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3327],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241011",id:"study/stock/20241011",title:"20241011",description:"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 4 \u4e2a\u4ea4\u6613\u65e5\uff0c\u4e5f\u662f\u672c\u5468\u7684\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5",source:"@site/docs/study/stock/20241011.md",sourceDirName:"study/stock",slug:"/study/stock/20241011",permalink:"/docs/study/stock/20241011",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 4 \u4e2a\u4ea4\u6613\u65e5\uff0c\u4e5f\u662f\u672c\u5468\u7684\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5"),(0,o.yg)("p",null,"\u534a\u591c\u7761\u4e0d\u7740\u89c9\uff0c\u5199\u70b9"),(0,o.yg)("p",null,"\u8fd9\u4e00\u6ce2\u64cd\u4f5c\uff0c\u8fdb\u573a\u65f6\u95f4\u592a\u65e9\u4e86\uff0c\u8fd9\u4e48\u5feb\u901f\u7684\u5927\u6da8\uff0c\u8dcc\u8d77\u6765\u80af\u5b9a\u4e5f\u662f\u5f88\u731b\u70c8\u7684"),(0,o.yg)("p",null,"\u6ca1\u6709\u505a\u81ea\u5df1\u6a21\u5f0f\u5185\u7684\u64cd\u4f5c\uff0c\u8dcc\u7834 5 \u65e5\u7ebf\u5185\u518d\u64cd\u4f5c\u5440"),(0,o.yg)("p",null,"\u53e6\u5916\u81ea\u5df1\u592a\u5feb\u901f\u7684\u6253\u5b8c\u4e86\u81ea\u5df1\u624b\u4e2d\u7684\u5b50\u5f39\uff0c\u66f4\u522b\u8bf4\u8f7b\u4ed3\u4e86\uff0c\u53c8\u5f00\u59cb\u91cd\u4ed3\u4e86"),(0,o.yg)("p",null,"\u6628\u5929\u544a\u8bc9\u81ea\u5df1\u8981\u505a\u5012 T\uff0c\u4eca\u5929\u4e5f\u662f\u72b9\u72b9\u8c6b\u8c6b\u7684\uff0c\u6ca1\u6709\u505a"),(0,o.yg)("p",null,"\u5230\u6625\u8282\u524d\u8005\u4e09\u4e2a\u6708\u771f\u7684\u662f\u81ea\u5df1\u6700\u540e\u7684\u673a\u4f1a\u4e86\uff0c\u9519\u8fc7\u4e86\uff0c\u8fd9\u8f88\u5b50\u4f30\u8ba1\u6ca1\u6709\u673a\u4f1a\u73a9\u8fd9\u4e2a\u4e86\uff0c\u4e14\u884c\u4e14\u73cd\u60dc"),(0,o.yg)("p",null,"\u6709\u673a\u4f1a\u505a T \u5427"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3327],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241011",id:"study/stock/20241011",title:"20241011",description:"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 4 \u4e2a\u4ea4\u6613\u65e5\uff0c\u4e5f\u662f\u672c\u5468\u7684\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5",source:"@site/docs/study/stock/20241011.md",sourceDirName:"study/stock",slug:"/study/stock/20241011",permalink:"/docs/study/stock/20241011",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 4 \u4e2a\u4ea4\u6613\u65e5\uff0c\u4e5f\u662f\u672c\u5468\u7684\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5"),(0,o.yg)("p",null,"\u534a\u591c\u7761\u4e0d\u7740\u89c9\uff0c\u5199\u70b9"),(0,o.yg)("p",null,"\u8fd9\u4e00\u6ce2\u64cd\u4f5c\uff0c\u8fdb\u573a\u65f6\u95f4\u592a\u65e9\u4e86\uff0c\u8fd9\u4e48\u5feb\u901f\u7684\u5927\u6da8\uff0c\u8dcc\u8d77\u6765\u80af\u5b9a\u4e5f\u662f\u5f88\u731b\u70c8\u7684"),(0,o.yg)("p",null,"\u6ca1\u6709\u505a\u81ea\u5df1\u6a21\u5f0f\u5185\u7684\u64cd\u4f5c\uff0c\u8dcc\u7834 5 \u65e5\u7ebf\u5185\u518d\u64cd\u4f5c\u5440"),(0,o.yg)("p",null,"\u53e6\u5916\u81ea\u5df1\u592a\u5feb\u901f\u7684\u6253\u5b8c\u4e86\u81ea\u5df1\u624b\u4e2d\u7684\u5b50\u5f39\uff0c\u66f4\u522b\u8bf4\u8f7b\u4ed3\u4e86\uff0c\u53c8\u5f00\u59cb\u91cd\u4ed3\u4e86"),(0,o.yg)("p",null,"\u6628\u5929\u544a\u8bc9\u81ea\u5df1\u8981\u505a\u5012 T\uff0c\u4eca\u5929\u4e5f\u662f\u72b9\u72b9\u8c6b\u8c6b\u7684\uff0c\u6ca1\u6709\u505a"),(0,o.yg)("p",null,"\u5230\u6625\u8282\u524d\u8005\u4e09\u4e2a\u6708\u771f\u7684\u662f\u81ea\u5df1\u6700\u540e\u7684\u673a\u4f1a\u4e86\uff0c\u9519\u8fc7\u4e86\uff0c\u8fd9\u8f88\u5b50\u4f30\u8ba1\u6ca1\u6709\u673a\u4f1a\u73a9\u8fd9\u4e2a\u4e86\uff0c\u4e14\u884c\u4e14\u73cd\u60dc"),(0,o.yg)("p",null,"\u6709\u673a\u4f1a\u505a T \u5427"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4ed715ca.8184936f.js b/assets/js/4ed715ca.cc5881e1.js similarity index 98% rename from assets/js/4ed715ca.8184936f.js rename to assets/js/4ed715ca.cc5881e1.js index 50d866004..737654e4e 100644 --- a/assets/js/4ed715ca.8184936f.js +++ b/assets/js/4ed715ca.cc5881e1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8451],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=p(r),y=o,f=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[u]="string"==typeof e?e:o,c[1]=s;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c="nacos",s={unversionedId:"study/back/springcloud/nacos",id:"study/back/springcloud/nacos",title:"nacos",description:"\u4e00\u4e2a\u66f4\u6613\u4e8e\u6784\u5efa\u4e91\u539f\u751f\u5e94\u7528\u7684\u52a8\u6001\u670d\u52a1\u53d1\u73b0\u3001\u914d\u7f6e\u7ba1\u7406\u548c\u670d\u52a1\u7ba1\u7406\u5e73\u53f0",source:"@site/docs/study/back/springcloud/nacos.md",sourceDirName:"study/back/springcloud",slug:"/study/back/springcloud/nacos",permalink:"/docs/study/back/springcloud/nacos",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"SpringCloud\u4e94\u5927\u7ec4\u4ef6",permalink:"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6"},next:{title:"\u5fae\u670d\u52a1",permalink:"/docs/study/back/springcloud/\u5fae\u670d\u52a1"}},i={},p=[],l={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"nacos"},"nacos"),(0,o.yg)("p",null,"\u4e00\u4e2a\u66f4\u6613\u4e8e\u6784\u5efa\u4e91\u539f\u751f\u5e94\u7528\u7684\u52a8\u6001\u670d\u52a1\u53d1\u73b0\u3001\u914d\u7f6e\u7ba1\u7406\u548c\u670d\u52a1\u7ba1\u7406\u5e73\u53f0"),(0,o.yg)("p",null,"Nacos \u81f4\u529b\u4e8e\u5e2e\u52a9\u60a8\u53d1\u73b0\u3001\u914d\u7f6e\u548c\u7ba1\u7406\u5fae\u670d\u52a1\u3002Nacos \u63d0\u4f9b\u4e86\u4e00\u7ec4\u7b80\u5355\u6613\u7528\u7684\u7279\u6027\u96c6\uff0c\u5e2e\u52a9\u60a8\u5feb\u901f\u5b9e\u73b0\u52a8\u6001\u670d\u52a1\u53d1\u73b0\u3001\u670d\u52a1\u914d\u7f6e\u3001\u670d\u52a1\u5143\u6570\u636e\u53ca\u6d41\u91cf\u7ba1\u7406\u3002"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://nacos.io/"},"\u5b98\u65b9\u7f51\u7ad9")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://nacos.io/docs/latest/what-is-nacos/"},"\u5b98\u65b9\u6587\u6863")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8451],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=p(r),y=o,f=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[u]="string"==typeof e?e:o,c[1]=s;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c="nacos",s={unversionedId:"study/back/springcloud/nacos",id:"study/back/springcloud/nacos",title:"nacos",description:"\u4e00\u4e2a\u66f4\u6613\u4e8e\u6784\u5efa\u4e91\u539f\u751f\u5e94\u7528\u7684\u52a8\u6001\u670d\u52a1\u53d1\u73b0\u3001\u914d\u7f6e\u7ba1\u7406\u548c\u670d\u52a1\u7ba1\u7406\u5e73\u53f0",source:"@site/docs/study/back/springcloud/nacos.md",sourceDirName:"study/back/springcloud",slug:"/study/back/springcloud/nacos",permalink:"/docs/study/back/springcloud/nacos",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"SpringCloud\u4e94\u5927\u7ec4\u4ef6",permalink:"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6"},next:{title:"\u5fae\u670d\u52a1",permalink:"/docs/study/back/springcloud/\u5fae\u670d\u52a1"}},i={},p=[],l={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"nacos"},"nacos"),(0,o.yg)("p",null,"\u4e00\u4e2a\u66f4\u6613\u4e8e\u6784\u5efa\u4e91\u539f\u751f\u5e94\u7528\u7684\u52a8\u6001\u670d\u52a1\u53d1\u73b0\u3001\u914d\u7f6e\u7ba1\u7406\u548c\u670d\u52a1\u7ba1\u7406\u5e73\u53f0"),(0,o.yg)("p",null,"Nacos \u81f4\u529b\u4e8e\u5e2e\u52a9\u60a8\u53d1\u73b0\u3001\u914d\u7f6e\u548c\u7ba1\u7406\u5fae\u670d\u52a1\u3002Nacos \u63d0\u4f9b\u4e86\u4e00\u7ec4\u7b80\u5355\u6613\u7528\u7684\u7279\u6027\u96c6\uff0c\u5e2e\u52a9\u60a8\u5feb\u901f\u5b9e\u73b0\u52a8\u6001\u670d\u52a1\u53d1\u73b0\u3001\u670d\u52a1\u914d\u7f6e\u3001\u670d\u52a1\u5143\u6570\u636e\u53ca\u6d41\u91cf\u7ba1\u7406\u3002"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://nacos.io/"},"\u5b98\u65b9\u7f51\u7ad9")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://nacos.io/docs/latest/what-is-nacos/"},"\u5b98\u65b9\u6587\u6863")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4f086afd.d633467d.js b/assets/js/4f086afd.064f712f.js similarity index 99% rename from assets/js/4f086afd.d633467d.js rename to assets/js/4f086afd.064f712f.js index dbda3ea6c..6307af010 100644 --- a/assets/js/4f086afd.d633467d.js +++ b/assets/js/4f086afd.064f712f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5452],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var u=n.createContext({}),c=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,u=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=c(r),d=l,f=s["".concat(u,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,o(o({ref:t},p),{},{components:r})):n.createElement(f,o({ref:t},p))}));function f(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[s]="string"==typeof e?e:l,o[1]=i;for(var c=2;c{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,i={unversionedId:"study/net/VLAN-VXLAN",id:"study/net/VLAN-VXLAN",title:"VLAN-VXLAN",description:"VLAN",source:"@site/docs/study/net/VLAN-VXLAN.md",sourceDirName:"study/net",slug:"/study/net/VLAN-VXLAN",permalink:"/docs/study/net/VLAN-VXLAN",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"UDP",permalink:"/docs/study/net/UDP"},next:{title:"Linux ip \u547d\u4ee4",permalink:"/docs/study/net/ip"}},u={},c=[{value:"VLAN",id:"vlan",level:3},{value:"VXLAN",id:"vxlan",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,l.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"vlan"},"VLAN"),(0,l.yg)("p",null,"VLAN(Virtual LAN)\uff0c\u7ffb\u8bd1\u6210\u4e2d\u6587\u662f\u201c\u865a\u62df\u5c40\u57df\u7f51\u201d\u3002LAN\u53ef\u4ee5\u662f\u7531\u5c11\u6570\u51e0\u53f0\u5bb6\u7528\u8ba1\u7b97\u673a\u6784\u6210\u7684\u7f51\u7edc\uff0c\u4e5f\u53ef\u4ee5\u662f\u6570\u4ee5\u767e\u8ba1\u7684\u8ba1\u7b97\u673a\u6784\u6210\u7684\u4f01\u4e1a\u7f51\u7edc\u3002VLAN\u6240\u6307\u7684LAN\u7279\u6307\u4f7f\u7528\u8def\u7531\u5668\u5206\u5272\u7684\u7f51\u7edc(\u4e5f\u5c31\u662f\u5e7f\u64ad\u57df)\u3002\u5176\u5b9e\u5c31\u662f\u5728\u7269\u7406\u5c40\u57df\u7f51\u7684\u57fa\u7840\u4e0a\u518d\u5212\u5206\u51fa\u591a\u4e2a\u865a\u62df\u5c40\u57df\u7f51\u3002"),(0,l.yg)("p",null,"VLAN\u4f5c\u4e3a\u4f20\u7edf\u7684\u7f51\u7edc\u9694\u79bb\u6280\u672f\uff0c\u5728\u6807\u51c6\u5b9a\u4e49\u4e2dVLAN\u7684\u6570\u91cf\u53ea\u67094000\u4e2a\u5de6\u53f3(VLAN ID\u7684\u53d6\u503c\u8303\u56f4\u53ea\u652f\u63011-4094)\uff0c\u65e0\u6cd5\u6ee1\u8db3\u5927\u578b\u6570\u636e\u4e2d\u5fc3\u7684\u79df\u6237\u95f4\u9694\u79bb\u9700\u6c42\u3002\u53e6\u5916\uff0cVLAN\u7684\u4e8c\u5c42\u8303\u56f4\u4e00\u822c\u8f83\u5c0f\u4e14\u56fa\u5b9a\uff0c\u65e0\u6cd5\u652f\u6301\u865a\u62df\u673a\u5927\u8303\u56f4\u7684\u52a8\u6001\u8fc1\u79fb."),(0,l.yg)("h3",{id:"vxlan"},"VXLAN"),(0,l.yg)("p",null,"VXLAN\uff08Virtual eXtensible Local Area Network\uff0c\u865a\u62df\u6269\u5c55\u5c40\u57df\u7f51\uff09\uff0c\u662f\u7531IETF\u5b9a\u4e49\u7684NVO3\uff08Network Virtualization over Layer 3\uff09\u6807\u51c6\u6280\u672f\u4e4b\u4e00\uff0c\u662f\u5bf9\u4f20\u7edfVLAN\u534f\u8bae\u7684\u4e00\u79cd\u6269\u5c55\u3002VXLAN\u7684\u7279\u70b9\u662f\u5c06L2\u7684\u4ee5\u592a\u5e27\u5c01\u88c5\u5230UDP\u6d88\u606f\uff08\u5373L2 over L4\uff09\u4e2d\uff0c\u5e76\u5728L3\u7f51\u7edc\u4e2d\u4f20\u8f93\u3002\u662foverlay\u7f51\u7edc\u7684\u5b9e\u73b0\u6280\u672f\u4e4b\u4e00\u3002"),(0,l.yg)("p",null,"vxlan\u89e3\u51b3\u4e86\u4ec0\u4e48\u5173\u952e\u95ee\u9898"),(0,l.yg)("p",null,"\u865a\u62df\u5316\u670d\u52a1\u5668\u52a8\u6001\u8fc1\u79fb"),(0,l.yg)("p",null,"\u670d\u52a1\u5668\u4ece\u8be5\u4e8c\u5c42\u4ea4\u6362\u673a\u7684\u4e00\u4e2a\u7aef\u53e3\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u7aef\u53e3\u65f6\uff0cIP\u5730\u5740\u662f\u53ef\u4ee5\u4fdd\u6301\u4e0d\u53d8\u7684\uff0cVXLAN\u5229\u7528\u6b64\u8bbe\u8ba1\u7406\u5ff5\uff0c\u5728\u6570\u636e\u4e2d\u5fc3IP\u7f51\u7edc\u57fa\u7840\u4e0a\uff0c\u6784\u5efa\u4e00\u5f20\u5168\u4e92\u8054\u7684\u4e8c\u5c42\u96a7\u9053\u865a\u62df\u7f51\u7edc\uff0c\u4fdd\u8bc1\u4efb\u610f\u4e24\u70b9\u4e4b\u95f4\u90fd\u80fd\u901a\u8fc7VXLAN\u96a7\u9053\u6765\u901a\u4fe1\uff0c\u5e76\u5ffd\u7565\u5e95\u5c42\u7f51\u7edc\u7684\u7ed3\u6784\u548c\u7ec6\u8282\uff0cVXLAN\u4e3a\u5b83\u4eec\u5c06\u6574\u4e2a\u6570\u636e\u4e2d\u5fc3\u57fa\u7840\u7f51\u7edc\u865a\u62df\u6210\u4e86\u4e00\u53f0\u5de8\u5927\u7684\u201c\u4e8c\u5c42\u4ea4\u6362\u673a\uff08\u5927\u4e8c\u5c42\uff09\u201d\uff0c\u6240\u6709\u670d\u52a1\u5668\u90fd\u8fde\u63a5\u5728\u8fd9\u53f0\u865a\u62df\u4e8c\u5c42\u4ea4\u6362\u673a\u4e0a\u3002"),(0,l.yg)("p",null,"\u5927\u89c4\u6a21\u6570\u636e\u4e2d\u5fc3\uff0c\u6d77\u91cf\u79df\u6237\u9694\u79bb\u80fd\u529b"),(0,l.yg)("p",null,"\u5728\u6807\u51c6\u5b9a\u4e49\u4e2dVLAN\u7684\u6570\u91cf\u53ea\u67094000\u4e2a\u5de6\u53f3\uff0c\u65e0\u6cd5\u6ee1\u8db3\u5927\u578b\u6570\u636e\u4e2d\u5fc3\u7684\u79df\u6237\u95f4\u9694\u79bb\u9700\u6c42\u3002 VXLAN\u5b8c\u7f8e\u5730\u5f25\u8865\u4e86VLAN\u7684\u4e0a\u8ff0\u4e0d\u8db3\uff0c\u4e00\u65b9\u9762\u901a\u8fc7VXLAN\u4e2d\u768424\u6bd4\u7279VNI\u5b57\u6bb5\u3002\u63d0\u4f9b\u591a\u8fbe16M\u79df\u6237\u7684\u6807\u8bc6\u80fd\u529b"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://blog.csdn.net/ecloud_developer/article/details/120526041"},"csdn-vlan\u548cvxlan"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5452],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var u=n.createContext({}),c=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,u=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=c(r),d=l,f=s["".concat(u,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,o(o({ref:t},p),{},{components:r})):n.createElement(f,o({ref:t},p))}));function f(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[s]="string"==typeof e?e:l,o[1]=i;for(var c=2;c{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,i={unversionedId:"study/net/VLAN-VXLAN",id:"study/net/VLAN-VXLAN",title:"VLAN-VXLAN",description:"VLAN",source:"@site/docs/study/net/VLAN-VXLAN.md",sourceDirName:"study/net",slug:"/study/net/VLAN-VXLAN",permalink:"/docs/study/net/VLAN-VXLAN",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"UDP",permalink:"/docs/study/net/UDP"},next:{title:"Linux ip \u547d\u4ee4",permalink:"/docs/study/net/ip"}},u={},c=[{value:"VLAN",id:"vlan",level:3},{value:"VXLAN",id:"vxlan",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,l.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"vlan"},"VLAN"),(0,l.yg)("p",null,"VLAN(Virtual LAN)\uff0c\u7ffb\u8bd1\u6210\u4e2d\u6587\u662f\u201c\u865a\u62df\u5c40\u57df\u7f51\u201d\u3002LAN\u53ef\u4ee5\u662f\u7531\u5c11\u6570\u51e0\u53f0\u5bb6\u7528\u8ba1\u7b97\u673a\u6784\u6210\u7684\u7f51\u7edc\uff0c\u4e5f\u53ef\u4ee5\u662f\u6570\u4ee5\u767e\u8ba1\u7684\u8ba1\u7b97\u673a\u6784\u6210\u7684\u4f01\u4e1a\u7f51\u7edc\u3002VLAN\u6240\u6307\u7684LAN\u7279\u6307\u4f7f\u7528\u8def\u7531\u5668\u5206\u5272\u7684\u7f51\u7edc(\u4e5f\u5c31\u662f\u5e7f\u64ad\u57df)\u3002\u5176\u5b9e\u5c31\u662f\u5728\u7269\u7406\u5c40\u57df\u7f51\u7684\u57fa\u7840\u4e0a\u518d\u5212\u5206\u51fa\u591a\u4e2a\u865a\u62df\u5c40\u57df\u7f51\u3002"),(0,l.yg)("p",null,"VLAN\u4f5c\u4e3a\u4f20\u7edf\u7684\u7f51\u7edc\u9694\u79bb\u6280\u672f\uff0c\u5728\u6807\u51c6\u5b9a\u4e49\u4e2dVLAN\u7684\u6570\u91cf\u53ea\u67094000\u4e2a\u5de6\u53f3(VLAN ID\u7684\u53d6\u503c\u8303\u56f4\u53ea\u652f\u63011-4094)\uff0c\u65e0\u6cd5\u6ee1\u8db3\u5927\u578b\u6570\u636e\u4e2d\u5fc3\u7684\u79df\u6237\u95f4\u9694\u79bb\u9700\u6c42\u3002\u53e6\u5916\uff0cVLAN\u7684\u4e8c\u5c42\u8303\u56f4\u4e00\u822c\u8f83\u5c0f\u4e14\u56fa\u5b9a\uff0c\u65e0\u6cd5\u652f\u6301\u865a\u62df\u673a\u5927\u8303\u56f4\u7684\u52a8\u6001\u8fc1\u79fb."),(0,l.yg)("h3",{id:"vxlan"},"VXLAN"),(0,l.yg)("p",null,"VXLAN\uff08Virtual eXtensible Local Area Network\uff0c\u865a\u62df\u6269\u5c55\u5c40\u57df\u7f51\uff09\uff0c\u662f\u7531IETF\u5b9a\u4e49\u7684NVO3\uff08Network Virtualization over Layer 3\uff09\u6807\u51c6\u6280\u672f\u4e4b\u4e00\uff0c\u662f\u5bf9\u4f20\u7edfVLAN\u534f\u8bae\u7684\u4e00\u79cd\u6269\u5c55\u3002VXLAN\u7684\u7279\u70b9\u662f\u5c06L2\u7684\u4ee5\u592a\u5e27\u5c01\u88c5\u5230UDP\u6d88\u606f\uff08\u5373L2 over L4\uff09\u4e2d\uff0c\u5e76\u5728L3\u7f51\u7edc\u4e2d\u4f20\u8f93\u3002\u662foverlay\u7f51\u7edc\u7684\u5b9e\u73b0\u6280\u672f\u4e4b\u4e00\u3002"),(0,l.yg)("p",null,"vxlan\u89e3\u51b3\u4e86\u4ec0\u4e48\u5173\u952e\u95ee\u9898"),(0,l.yg)("p",null,"\u865a\u62df\u5316\u670d\u52a1\u5668\u52a8\u6001\u8fc1\u79fb"),(0,l.yg)("p",null,"\u670d\u52a1\u5668\u4ece\u8be5\u4e8c\u5c42\u4ea4\u6362\u673a\u7684\u4e00\u4e2a\u7aef\u53e3\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u7aef\u53e3\u65f6\uff0cIP\u5730\u5740\u662f\u53ef\u4ee5\u4fdd\u6301\u4e0d\u53d8\u7684\uff0cVXLAN\u5229\u7528\u6b64\u8bbe\u8ba1\u7406\u5ff5\uff0c\u5728\u6570\u636e\u4e2d\u5fc3IP\u7f51\u7edc\u57fa\u7840\u4e0a\uff0c\u6784\u5efa\u4e00\u5f20\u5168\u4e92\u8054\u7684\u4e8c\u5c42\u96a7\u9053\u865a\u62df\u7f51\u7edc\uff0c\u4fdd\u8bc1\u4efb\u610f\u4e24\u70b9\u4e4b\u95f4\u90fd\u80fd\u901a\u8fc7VXLAN\u96a7\u9053\u6765\u901a\u4fe1\uff0c\u5e76\u5ffd\u7565\u5e95\u5c42\u7f51\u7edc\u7684\u7ed3\u6784\u548c\u7ec6\u8282\uff0cVXLAN\u4e3a\u5b83\u4eec\u5c06\u6574\u4e2a\u6570\u636e\u4e2d\u5fc3\u57fa\u7840\u7f51\u7edc\u865a\u62df\u6210\u4e86\u4e00\u53f0\u5de8\u5927\u7684\u201c\u4e8c\u5c42\u4ea4\u6362\u673a\uff08\u5927\u4e8c\u5c42\uff09\u201d\uff0c\u6240\u6709\u670d\u52a1\u5668\u90fd\u8fde\u63a5\u5728\u8fd9\u53f0\u865a\u62df\u4e8c\u5c42\u4ea4\u6362\u673a\u4e0a\u3002"),(0,l.yg)("p",null,"\u5927\u89c4\u6a21\u6570\u636e\u4e2d\u5fc3\uff0c\u6d77\u91cf\u79df\u6237\u9694\u79bb\u80fd\u529b"),(0,l.yg)("p",null,"\u5728\u6807\u51c6\u5b9a\u4e49\u4e2dVLAN\u7684\u6570\u91cf\u53ea\u67094000\u4e2a\u5de6\u53f3\uff0c\u65e0\u6cd5\u6ee1\u8db3\u5927\u578b\u6570\u636e\u4e2d\u5fc3\u7684\u79df\u6237\u95f4\u9694\u79bb\u9700\u6c42\u3002 VXLAN\u5b8c\u7f8e\u5730\u5f25\u8865\u4e86VLAN\u7684\u4e0a\u8ff0\u4e0d\u8db3\uff0c\u4e00\u65b9\u9762\u901a\u8fc7VXLAN\u4e2d\u768424\u6bd4\u7279VNI\u5b57\u6bb5\u3002\u63d0\u4f9b\u591a\u8fbe16M\u79df\u6237\u7684\u6807\u8bc6\u80fd\u529b"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://blog.csdn.net/ecloud_developer/article/details/120526041"},"csdn-vlan\u548cvxlan"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4f6149ca.edb6361d.js b/assets/js/4f6149ca.8be57878.js similarity index 98% rename from assets/js/4f6149ca.edb6361d.js rename to assets/js/4f6149ca.8be57878.js index 8fb2853df..67f32e9e2 100644 --- a/assets/js/4f6149ca.edb6361d.js +++ b/assets/js/4f6149ca.8be57878.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6923],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),d=p(r),f=o,m=d["".concat(l,".").concat(f)]||d[f]||s[f]||a;return r?n.createElement(m,i(i({ref:t},u),{},{components:r})):n.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[d]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"iotcloud/devicemanager/index",id:"iotcloud/devicemanager/index",title:"\u6982\u8ff0",description:"\u8bbe\u5907\u7ba1\u7406\u7684\u5185\u5bb9\u5305\u62ec\u8bbe\u5907\u7c7b\u578b\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u4fe1\u606f\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u5206\u7ec4\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3002",source:"@site/docs/iotcloud/devicemanager/index.md",sourceDirName:"iotcloud/devicemanager",slug:"/iotcloud/devicemanager/",permalink:"/docs/iotcloud/devicemanager/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"iotCloudSidebar",previous:{title:"HTTP \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/http"},next:{title:"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-type"}},l={},p=[],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u8bbe\u5907\u7ba1\u7406\u7684\u5185\u5bb9\u5305\u62ec\u8bbe\u5907\u7c7b\u578b\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u4fe1\u606f\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u5206\u7ec4\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6923],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),d=p(r),f=o,m=d["".concat(l,".").concat(f)]||d[f]||s[f]||a;return r?n.createElement(m,i(i({ref:t},u),{},{components:r})):n.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[d]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"iotcloud/devicemanager/index",id:"iotcloud/devicemanager/index",title:"\u6982\u8ff0",description:"\u8bbe\u5907\u7ba1\u7406\u7684\u5185\u5bb9\u5305\u62ec\u8bbe\u5907\u7c7b\u578b\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u4fe1\u606f\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u5206\u7ec4\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3002",source:"@site/docs/iotcloud/devicemanager/index.md",sourceDirName:"iotcloud/devicemanager",slug:"/iotcloud/devicemanager/",permalink:"/docs/iotcloud/devicemanager/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"iotCloudSidebar",previous:{title:"HTTP \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/http"},next:{title:"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-type"}},l={},p=[],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u8bbe\u5907\u7ba1\u7406\u7684\u5185\u5bb9\u5305\u62ec\u8bbe\u5907\u7c7b\u578b\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u4fe1\u606f\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u5206\u7ec4\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4fb554a1.4b5ac012.js b/assets/js/4fb554a1.412b63a0.js similarity index 99% rename from assets/js/4fb554a1.4b5ac012.js rename to assets/js/4fb554a1.412b63a0.js index 8e8e7833e..1c3007376 100644 --- a/assets/js/4fb554a1.4b5ac012.js +++ b/assets/js/4fb554a1.412b63a0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8859],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),p=s(r),y=o,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[p]="string"==typeof e?e:o,i[1]=c;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i=void 0,c={unversionedId:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0",id:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0",title:"\u7efc\u5408\u6982\u8ff0",description:"\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u901a\u8fc7\u7d22\u5f15\u6765\u8fbe\u5230\u5feb\u901f\u67e5\u8be2\u7684\u76ee\u7684\uff0c\u4f46\u662f\u5728\u5168\u6587\u641c\u7d22\u7684\u4e1a\u52a1\u573a\u666f\u4e0b\uff0c\u7d22\u5f15\u4e5f\u65e0\u80fd\u4e3a\u529b\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1a",source:"@site/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0.md",sourceDirName:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce",slug:"/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u8fbe\u68a6\u6570\u636e\u5e93",permalink:"/docs/study/db/SQL/\u8fbe\u68a6"},next:{title:"Elasticsearch",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch"}},l={},s=[{value:"\u5168\u6587\u641c\u7d22\u57fa\u672c\u539f\u7406",id:"\u5168\u6587\u641c\u7d22\u57fa\u672c\u539f\u7406",level:3}],u={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u901a\u8fc7\u7d22\u5f15\u6765\u8fbe\u5230\u5feb\u901f\u67e5\u8be2\u7684\u76ee\u7684\uff0c\u4f46\u662f\u5728\u5168\u6587\u641c\u7d22\u7684\u4e1a\u52a1\u573a\u666f\u4e0b\uff0c\u7d22\u5f15\u4e5f\u65e0\u80fd\u4e3a\u529b\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u5168\u6587\u641c\u7d22\u7684\u6761\u4ef6\u53ef\u4ee5\u968f\u610f\u6392\u5217\u7ec4\u5408\uff0c\u5982\u679c\u901a\u8fc7\u7d22\u5f15\u6765\u6ee1\u8db3\uff0c\u5219\u7d22\u5f15\u7684\u6570\u91cf\u4f1a\u975e\u5e38\u591a\u3002"),(0,o.yg)("li",{parentName:"ul"},"\u5168\u6587\u641c\u7d22\u7684\u6a21\u7cca\u5339\u914d\u65b9\u5f0f\uff0c\u7d22\u5f15\u65e0\u6cd5\u6ee1\u8db3\uff0c\u53ea\u80fd\u7528 like \u67e5\u8be2\uff0c\u800c like \u67e5\u8be2\u662f\u6574\u8868\u626b\u63cf\uff0c\u6548\u7387\u975e\u5e38\u4f4e\u3002")),(0,o.yg)("h3",{id:"\u5168\u6587\u641c\u7d22\u57fa\u672c\u539f\u7406"},"\u5168\u6587\u641c\u7d22\u57fa\u672c\u539f\u7406"),(0,o.yg)("p",null,"\u5168\u6587\u641c\u7d22\u5f15\u64ce\u7684\u6280\u672f\u539f\u7406\u88ab\u79f0\u4e3a\u201c\u5012\u6392\u7d22\u5f15\u201d\uff08Inverted index\uff09\uff0c\u4e5f\u5e38\u88ab\u79f0\u4e3a\u53cd\u5411\u7d22\u5f15\u3001\u7f6e\u5165\u6863\u6848\u6216\u53cd\u5411\u6863\u6848\uff0c\u662f\u4e00\u79cd\u7d22\u5f15\u65b9\u6cd5\uff0c\u5176\u57fa\u672c\u539f\u7406\u662f\u5efa\u7acb\u5355\u8bcd\u5230\u6587\u6863\u7684\u7d22\u5f15\u3002\u4e4b\u6240\u4ee5\u88ab\u79f0\u4e3a\u201c\u5012\u6392\u201d\u7d22\u5f15\uff0c\u662f\u548c\u201c\u6b63\u6392\u201c\u7d22\u5f15\u76f8\u5bf9\u7684\uff0c\u201c\u6b63\u6392\u7d22\u5f15\u201d\u7684\u57fa\u672c\u539f\u7406\u662f\u5efa\u7acb\u6587\u6863\u5230\u5355\u8bcd\u7684\u7d22\u5f15\u3002\u6211\u4eec\u901a\u8fc7\u4e00\u4e2a\u7b80\u5355\u7684\u6837\u4f8b\u6765\u8bf4\u660e\u8fd9\u4e24\u79cd\u7d22\u5f15\u7684\u5dee\u5f02\u3002"),(0,o.yg)("p",null,"\u5168\u6587\u641c\u7d22\u5f15\u64ce\u7684\u7d22\u5f15\u5bf9\u8c61\u662f\u5355\u8bcd\u548c\u6587\u6863\uff0c\u800c\u5173\u7cfb\u6570\u636e\u5e93\u7684\u7d22\u5f15\u5bf9\u8c61\u662f\u952e\u548c\u884c\uff0c\u4e24\u8005\u7684\u672f\u8bed\u5dee\u5f02\u5f88\u5927\uff0c\u4e0d\u80fd\u7b80\u5355\u5730\u7b49\u540c\u8d77\u6765\u3002\u56e0\u6b64\uff0c\u4e3a\u4e86\u8ba9\u5168\u6587\u641c\u7d22\u5f15\u64ce\u652f\u6301\u5173\u7cfb\u578b\u6570\u636e\u7684\u5168\u6587\u641c\u7d22\uff0c\u9700\u8981\u505a\u4e00\u4e9b\u8f6c\u6362\u64cd\u4f5c\uff0c\u5373\u5c06\u5173\u7cfb\u578b\u6570\u636e\u8f6c\u6362\u4e3a\u6587\u6863\u6570\u636e\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8859],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),p=s(r),y=o,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[p]="string"==typeof e?e:o,i[1]=c;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i=void 0,c={unversionedId:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0",id:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0",title:"\u7efc\u5408\u6982\u8ff0",description:"\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u901a\u8fc7\u7d22\u5f15\u6765\u8fbe\u5230\u5feb\u901f\u67e5\u8be2\u7684\u76ee\u7684\uff0c\u4f46\u662f\u5728\u5168\u6587\u641c\u7d22\u7684\u4e1a\u52a1\u573a\u666f\u4e0b\uff0c\u7d22\u5f15\u4e5f\u65e0\u80fd\u4e3a\u529b\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1a",source:"@site/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0.md",sourceDirName:"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce",slug:"/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u8fbe\u68a6\u6570\u636e\u5e93",permalink:"/docs/study/db/SQL/\u8fbe\u68a6"},next:{title:"Elasticsearch",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch"}},l={},s=[{value:"\u5168\u6587\u641c\u7d22\u57fa\u672c\u539f\u7406",id:"\u5168\u6587\u641c\u7d22\u57fa\u672c\u539f\u7406",level:3}],u={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u901a\u8fc7\u7d22\u5f15\u6765\u8fbe\u5230\u5feb\u901f\u67e5\u8be2\u7684\u76ee\u7684\uff0c\u4f46\u662f\u5728\u5168\u6587\u641c\u7d22\u7684\u4e1a\u52a1\u573a\u666f\u4e0b\uff0c\u7d22\u5f15\u4e5f\u65e0\u80fd\u4e3a\u529b\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u5168\u6587\u641c\u7d22\u7684\u6761\u4ef6\u53ef\u4ee5\u968f\u610f\u6392\u5217\u7ec4\u5408\uff0c\u5982\u679c\u901a\u8fc7\u7d22\u5f15\u6765\u6ee1\u8db3\uff0c\u5219\u7d22\u5f15\u7684\u6570\u91cf\u4f1a\u975e\u5e38\u591a\u3002"),(0,o.yg)("li",{parentName:"ul"},"\u5168\u6587\u641c\u7d22\u7684\u6a21\u7cca\u5339\u914d\u65b9\u5f0f\uff0c\u7d22\u5f15\u65e0\u6cd5\u6ee1\u8db3\uff0c\u53ea\u80fd\u7528 like \u67e5\u8be2\uff0c\u800c like \u67e5\u8be2\u662f\u6574\u8868\u626b\u63cf\uff0c\u6548\u7387\u975e\u5e38\u4f4e\u3002")),(0,o.yg)("h3",{id:"\u5168\u6587\u641c\u7d22\u57fa\u672c\u539f\u7406"},"\u5168\u6587\u641c\u7d22\u57fa\u672c\u539f\u7406"),(0,o.yg)("p",null,"\u5168\u6587\u641c\u7d22\u5f15\u64ce\u7684\u6280\u672f\u539f\u7406\u88ab\u79f0\u4e3a\u201c\u5012\u6392\u7d22\u5f15\u201d\uff08Inverted index\uff09\uff0c\u4e5f\u5e38\u88ab\u79f0\u4e3a\u53cd\u5411\u7d22\u5f15\u3001\u7f6e\u5165\u6863\u6848\u6216\u53cd\u5411\u6863\u6848\uff0c\u662f\u4e00\u79cd\u7d22\u5f15\u65b9\u6cd5\uff0c\u5176\u57fa\u672c\u539f\u7406\u662f\u5efa\u7acb\u5355\u8bcd\u5230\u6587\u6863\u7684\u7d22\u5f15\u3002\u4e4b\u6240\u4ee5\u88ab\u79f0\u4e3a\u201c\u5012\u6392\u201d\u7d22\u5f15\uff0c\u662f\u548c\u201c\u6b63\u6392\u201c\u7d22\u5f15\u76f8\u5bf9\u7684\uff0c\u201c\u6b63\u6392\u7d22\u5f15\u201d\u7684\u57fa\u672c\u539f\u7406\u662f\u5efa\u7acb\u6587\u6863\u5230\u5355\u8bcd\u7684\u7d22\u5f15\u3002\u6211\u4eec\u901a\u8fc7\u4e00\u4e2a\u7b80\u5355\u7684\u6837\u4f8b\u6765\u8bf4\u660e\u8fd9\u4e24\u79cd\u7d22\u5f15\u7684\u5dee\u5f02\u3002"),(0,o.yg)("p",null,"\u5168\u6587\u641c\u7d22\u5f15\u64ce\u7684\u7d22\u5f15\u5bf9\u8c61\u662f\u5355\u8bcd\u548c\u6587\u6863\uff0c\u800c\u5173\u7cfb\u6570\u636e\u5e93\u7684\u7d22\u5f15\u5bf9\u8c61\u662f\u952e\u548c\u884c\uff0c\u4e24\u8005\u7684\u672f\u8bed\u5dee\u5f02\u5f88\u5927\uff0c\u4e0d\u80fd\u7b80\u5355\u5730\u7b49\u540c\u8d77\u6765\u3002\u56e0\u6b64\uff0c\u4e3a\u4e86\u8ba9\u5168\u6587\u641c\u7d22\u5f15\u64ce\u652f\u6301\u5173\u7cfb\u578b\u6570\u636e\u7684\u5168\u6587\u641c\u7d22\uff0c\u9700\u8981\u505a\u4e00\u4e9b\u8f6c\u6362\u64cd\u4f5c\uff0c\u5373\u5c06\u5173\u7cfb\u578b\u6570\u636e\u8f6c\u6362\u4e3a\u6587\u6863\u6570\u636e\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/50eef34b.2f3248f0.js b/assets/js/50eef34b.3c1daa63.js similarity index 99% rename from assets/js/50eef34b.2f3248f0.js rename to assets/js/50eef34b.3c1daa63.js index f5aba3b57..1e75db9d6 100644 --- a/assets/js/50eef34b.2f3248f0.js +++ b/assets/js/50eef34b.3c1daa63.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5861],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>u});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),m=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},c=function(e){var t=m(e.components);return n.createElement(i.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),y=m(r),g=a,u=y["".concat(i,".").concat(g)]||y[g]||s[g]||o;return r?n.createElement(u,l(l({ref:t},c),{},{components:r})):n.createElement(u,l({ref:t},c))}));function u(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=g;var p={};for(var i in t)hasOwnProperty.call(t,i)&&(p[i]=t[i]);p.originalType=e,p[y]="string"==typeof e?e:a,l[1]=p;for(var m=2;m{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>s,frontMatter:()=>o,metadata:()=>p,toc:()=>m});var n=r(58168),a=(r(96540),r(15680));const o={sidebar_position:1},l=void 0,p={unversionedId:"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",id:"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",title:"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",description:"\u5206\u7c7b\uff1a\u884c\u4e1a+\u573a\u666f+\u6a21\u5f0f",source:"@site/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76.md",sourceDirName:"study/competitive",slug:"/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",permalink:"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/competitive/"},next:{title:"CMP-DMP-AEP-BAP",permalink:"/docs/study/competitive/CMP-DMP-AEP-BAP"}},i={},m=[{value:"\u5206\u7c7b\uff1a\u884c\u4e1a+\u573a\u666f+\u6a21\u5f0f",id:"\u5206\u7c7b\u884c\u4e1a\u573a\u666f\u6a21\u5f0f",level:3},{value:"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0",id:"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0",level:3},{value:"\u5782\u76f4\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848",id:"\u5782\u76f4\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:m},y="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(y,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5206\u7c7b\u884c\u4e1a\u573a\u666f\u6a21\u5f0f"},"\u5206\u7c7b\uff1a\u884c\u4e1a+\u573a\u666f+\u6a21\u5f0f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u201c\u573a\u666f\u201d\u6307\u8bbe\u5907\u8d44\u4ea7\u7ba1\u7406\u3001\u4e1a\u52a1\u8fd0\u8425\u4f18\u5316\u548c\u4ea7\u4e1a\u751f\u6001\u521b\u65b0\u4e09\u79cd\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u201c\u6a21\u5f0f\u201d\u5219\u5305\u62ec\u901a\u7528\u578b\u5e73\u53f0\u3001\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\u3001\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\u3001\u5de5\u4e1aApp/\u7ec6\u5206\u89e3\u51b3\u65b9\u6848\u4ee5\u53caIAAS\u5c42\uff08\u4e3b\u8981\u63d0\u4f9b\u4e91\u670d\u52a1\uff0c\u57fa\u672c\u5c31\u662f\u963f\u91cc\u4e91\u3001\u534e\u4e3a\u4e91\u3001\u817e\u8baf\u4e91\u3001AWS\u7b49\uff0c\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\uff09\u4e94\u7c7b")),(0,a.yg)("h3",{id:"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"},"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),(0,a.yg)("p",null,"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u8de8\u591a\u884c\u4e1a\u591a\u9886\u57df\uff0c\u5f80\u5f80\u4f1a\u57fa\u4e8e\u81ea\u8eabPaaS\u5c42\u4e0e\u751f\u6001\u4f19\u4f34\u5408\u4f5c\u63a8\u52a8\u5728\u5404\u884c\u4e1a\u3001\u9886\u57df\u7684\u5de5\u4e1a\u4e92\u8054\u7f51\u5efa\u8bbe\u3002\u4e5f\u6b63\u662f\u56e0\u4e3a\u5176\u8de8\u884c\u4e1a\u8de8\u9886\u57df\u7279\u6027\uff0c\u5de5\u4e1a\u4e92\u8054\u7f51\u901a\u7528\u578b\u5e73\u53f0\u5efa\u8bbe\u96be\u5ea6\u5927\uff0c\u5c5e\u4e8e\u8d44\u6e90\u548c\u8d44\u91d1\u5bc6\u96c6\u578b\u7684\u673a\u4f1a\u3002"),(0,a.yg)("p",null,"2019\u5e748\u670826\u65e5\uff0c\u5de5\u4fe1\u90e8\u516c\u5e032019\u5e74\u5341\u5927\u8de8\u884c\u4e1a\u8de8\u9886\u57df\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u6e05\u5355\uff0c\u5165\u9009\u5e73\u53f0\u5206\u522b\u662f\uff1a",(0,a.yg)("strong",{parentName:"p"},"\u6d77\u5c14COSMOPlat\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u4e1c\u65b9\u56fd\u4fe1Cloudiip\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u7528\u53cb\u7cbe\u667a\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u6811\u6839\u4e92\u8054\u6839\u4e91\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u822a\u5929\u4e91\u7f51INDICS\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u6d6a\u6f6e\u4e91In-Cloud\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u534e\u4e3aFusionPlant\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u5bcc\u58eb\u5eb7BEACON\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u963f\u91ccsupET\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u5f90\u5de5\u4fe1\u606f\u6c49\u4e91\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\uff0c\u8fd9\u5341\u5bb6\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u5373\u662f\u901a\u7528\u578b\u5e73\u53f0\u7684\u5178\u578b\u6848\u4f8b\u3002"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.rootcloud.com"},"\u6811\u6839\u4e92\u8054(\u4e09\u4e00\u91cd\u5de5)")),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.hanplatform.com"},"\u6c49\u4e91\u5de5\u4e1a\u7269\u8054\u7f51\u5e73\u53f0(\u5f90\u5de5\u4fe1\u606f)"))),(0,a.yg)("h3",{id:"\u5782\u76f4\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848"},"\u5782\u76f4\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848"),(0,a.yg)("p",null,"\u901a\u7528\u578b\u5e73\u53f0\u201c\u4e00\u4e2a\u5e73\u53f0\u5305\u6253\u5929\u4e0b\u201d\u7684\u6a21\u5f0f\u6bd4\u8f83\u96be\u5728\u884c\u4e1a\u5185\u6df1\u8015\uff0c\u4e0d\u540c\u884c\u4e1a\u751f\u4ea7\u573a\u666f\u7684\u5de8\u5927\u5dee\u522b\u4e5f\u7ed9\u4e86\u5782\u76f4\u9886\u57df\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848\u53d1\u5c55\u7684\u673a\u4f1a\u3002\u4e0b\u9762\u4ece\u5de5\u4e1a\u4e92\u8054\u7f51\u4e09\u5927\u5e94\u7528\u573a\u666f",(0,a.yg)("strong",{parentName:"p"},"\u8bbe\u5907\u8d44\u4ea7\u7ba1\u7406\u3001\u4e1a\u52a1\u8fd0\u8425\u4f18\u5316\u3001\u4ea7\u4e1a\u751f\u6001\u521b\u65b0"),"\u51fa\u53d1\uff0c\u5217\u4e3e\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\u3001\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\u4ee5\u53ca\u5de5\u4e1aApp\u7b49\u7ec6\u5206\u89e3\u51b3\u65b9\u6848\u4e09\u7c7b\u56fd\u5185\u5de5\u4e1a\u4e92\u8054\u7f51\u516c\u53f8\u3002\u5176\u4e2d\uff0c\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\u53ea\u805a\u7126\u4e8e\u67d0\u4e00\u4e2a\u9886\u57df\u6216\u884c\u4e1a\uff1b\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\u9664\u4e86\u5e73\u53f0\uff0c\u8fd8\u4f1a\u63d0\u4f9b\u6574\u4f53\u89e3\u51b3\u65b9\u6848\uff0c\u6a21\u5f0f\u66f4\u201c\u91cd\u201d\u3002\u9664\u4e86\u4ee5\u4e0a\u7aef\u5230\u7aef\u7684\u5e73\u53f0\u6a21\u5f0f\uff0c\u8fd8\u6709\u4e00\u7c7b\u516c\u53f8\u662f\u9488\u5bf9\u5de5\u4e1a\u573a\u666f\u4e2d\u7684\u67d0\u4e00\u4e2a\u75db\u70b9\u63d0\u4f9b\u7ec6\u5206\u89e3\u51b3\u65b9\u6848\uff0c\u8fd9\u79cd\u5c31\u662f\u5de5\u4e1aAPP/\u7ec6\u5206\u5e94\u7528\u3002\xa0"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.mogulinker.com/index.html"},"\u8611\u83c7\u4e92\u8054"),"\uff08\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\uff09",(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},"\u8bbe\u5907\u4ea7\u4e1a\u94fe\u4e09\u5927\u4e3b\u9898\uff1a\u8bbe\u5907\u5236\u9020\u4f01\u4e1a\u3001\u8bbe\u5907\u4ee3\u7406/\u670d\u52a1\u4f01\u4e1a\u3001\u8bbe\u5907\u7528\u6237\u4f01\u4e1a\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u8611\u83c7\u4e91\u76d2+\u8611\u83c7\u4e91+\u8611\u83c7\u5708\uff1b"),(0,a.yg)("li",{parentName:"ol"},'\u4e3a\u8bbe\u5907\u5236\u9020\u5546\u5b9a\u5236"\u7269\u8054\u7f51\u96c6\u6210\u7ba1\u7406\u7cfb\u7edf"\uff1b'),(0,a.yg)("li",{parentName:"ol"},'\u4e3a\u8bbe\u5907\u4ee3\u7406/\u670d\u52a1\u5546\u63d0\u4f9b"\u4e00\u7ad9\u5f0f\u7269\u8054\u7f51\u7ba1\u7406\u5de5\u5177"\uff1b'),(0,a.yg)("li",{parentName:"ol"},'\u4e3a\u8bbe\u5907\u7528\u6237\u4f01\u4e1a\u6253\u9020"\u6570\u5b57\u667a\u80fd\u7ba1\u7406\u8f66\u95f4\u7cfb"\uff1b'))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.isesol.com"},"\u667a\u80fd\u4e91\u79d1"),"\uff08\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\uff09"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.proudsmart.com"},"\u666e\u5965\u4e91\u79d1\u6280"),"\uff08\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\uff09"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.neucloud.cn"},"\u5bc4\u4e91\u79d1\u6280"),"\uff08\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\uff09"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.pi2star.com"},"\u6e43\u65b9\u79d1\u6280"),"\uff08\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\uff09"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.cyber-insight.com"},"\u5929\u6cfd\u667a\u4e91"),"\uff08\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\uff09")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s/0-jAmmJE4mVGnajb_QlFog"},"\u8fd1\u4e07\u4ebf\u5de5\u4e1a\u4e92\u8054\u7f51\u8d5b\u9053\u6709\u54ea\u4e9b\u73a9\u5bb6\uff1f\u8fd9\u91cc\u6709\u4e00\u4efd\u884c\u4e1a\u56fe\u8c31"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5861],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>u});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),m=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},c=function(e){var t=m(e.components);return n.createElement(i.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),y=m(r),g=a,u=y["".concat(i,".").concat(g)]||y[g]||s[g]||o;return r?n.createElement(u,l(l({ref:t},c),{},{components:r})):n.createElement(u,l({ref:t},c))}));function u(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=g;var p={};for(var i in t)hasOwnProperty.call(t,i)&&(p[i]=t[i]);p.originalType=e,p[y]="string"==typeof e?e:a,l[1]=p;for(var m=2;m{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>s,frontMatter:()=>o,metadata:()=>p,toc:()=>m});var n=r(58168),a=(r(96540),r(15680));const o={sidebar_position:1},l=void 0,p={unversionedId:"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",id:"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",title:"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",description:"\u5206\u7c7b\uff1a\u884c\u4e1a+\u573a\u666f+\u6a21\u5f0f",source:"@site/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76.md",sourceDirName:"study/competitive",slug:"/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",permalink:"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/competitive/"},next:{title:"CMP-DMP-AEP-BAP",permalink:"/docs/study/competitive/CMP-DMP-AEP-BAP"}},i={},m=[{value:"\u5206\u7c7b\uff1a\u884c\u4e1a+\u573a\u666f+\u6a21\u5f0f",id:"\u5206\u7c7b\u884c\u4e1a\u573a\u666f\u6a21\u5f0f",level:3},{value:"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0",id:"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0",level:3},{value:"\u5782\u76f4\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848",id:"\u5782\u76f4\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:m},y="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(y,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5206\u7c7b\u884c\u4e1a\u573a\u666f\u6a21\u5f0f"},"\u5206\u7c7b\uff1a\u884c\u4e1a+\u573a\u666f+\u6a21\u5f0f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u201c\u573a\u666f\u201d\u6307\u8bbe\u5907\u8d44\u4ea7\u7ba1\u7406\u3001\u4e1a\u52a1\u8fd0\u8425\u4f18\u5316\u548c\u4ea7\u4e1a\u751f\u6001\u521b\u65b0\u4e09\u79cd\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u201c\u6a21\u5f0f\u201d\u5219\u5305\u62ec\u901a\u7528\u578b\u5e73\u53f0\u3001\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\u3001\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\u3001\u5de5\u4e1aApp/\u7ec6\u5206\u89e3\u51b3\u65b9\u6848\u4ee5\u53caIAAS\u5c42\uff08\u4e3b\u8981\u63d0\u4f9b\u4e91\u670d\u52a1\uff0c\u57fa\u672c\u5c31\u662f\u963f\u91cc\u4e91\u3001\u534e\u4e3a\u4e91\u3001\u817e\u8baf\u4e91\u3001AWS\u7b49\uff0c\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u56f4\uff09\u4e94\u7c7b")),(0,a.yg)("h3",{id:"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"},"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),(0,a.yg)("p",null,"\u901a\u7528\u578b\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u8de8\u591a\u884c\u4e1a\u591a\u9886\u57df\uff0c\u5f80\u5f80\u4f1a\u57fa\u4e8e\u81ea\u8eabPaaS\u5c42\u4e0e\u751f\u6001\u4f19\u4f34\u5408\u4f5c\u63a8\u52a8\u5728\u5404\u884c\u4e1a\u3001\u9886\u57df\u7684\u5de5\u4e1a\u4e92\u8054\u7f51\u5efa\u8bbe\u3002\u4e5f\u6b63\u662f\u56e0\u4e3a\u5176\u8de8\u884c\u4e1a\u8de8\u9886\u57df\u7279\u6027\uff0c\u5de5\u4e1a\u4e92\u8054\u7f51\u901a\u7528\u578b\u5e73\u53f0\u5efa\u8bbe\u96be\u5ea6\u5927\uff0c\u5c5e\u4e8e\u8d44\u6e90\u548c\u8d44\u91d1\u5bc6\u96c6\u578b\u7684\u673a\u4f1a\u3002"),(0,a.yg)("p",null,"2019\u5e748\u670826\u65e5\uff0c\u5de5\u4fe1\u90e8\u516c\u5e032019\u5e74\u5341\u5927\u8de8\u884c\u4e1a\u8de8\u9886\u57df\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u6e05\u5355\uff0c\u5165\u9009\u5e73\u53f0\u5206\u522b\u662f\uff1a",(0,a.yg)("strong",{parentName:"p"},"\u6d77\u5c14COSMOPlat\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u4e1c\u65b9\u56fd\u4fe1Cloudiip\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u7528\u53cb\u7cbe\u667a\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u6811\u6839\u4e92\u8054\u6839\u4e91\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u822a\u5929\u4e91\u7f51INDICS\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u6d6a\u6f6e\u4e91In-Cloud\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u534e\u4e3aFusionPlant\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u5bcc\u58eb\u5eb7BEACON\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u963f\u91ccsupET\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u5f90\u5de5\u4fe1\u606f\u6c49\u4e91\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0"),"\uff0c\u8fd9\u5341\u5bb6\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u5373\u662f\u901a\u7528\u578b\u5e73\u53f0\u7684\u5178\u578b\u6848\u4f8b\u3002"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.rootcloud.com"},"\u6811\u6839\u4e92\u8054(\u4e09\u4e00\u91cd\u5de5)")),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.hanplatform.com"},"\u6c49\u4e91\u5de5\u4e1a\u7269\u8054\u7f51\u5e73\u53f0(\u5f90\u5de5\u4fe1\u606f)"))),(0,a.yg)("h3",{id:"\u5782\u76f4\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848"},"\u5782\u76f4\u5de5\u4e1a\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848"),(0,a.yg)("p",null,"\u901a\u7528\u578b\u5e73\u53f0\u201c\u4e00\u4e2a\u5e73\u53f0\u5305\u6253\u5929\u4e0b\u201d\u7684\u6a21\u5f0f\u6bd4\u8f83\u96be\u5728\u884c\u4e1a\u5185\u6df1\u8015\uff0c\u4e0d\u540c\u884c\u4e1a\u751f\u4ea7\u573a\u666f\u7684\u5de8\u5927\u5dee\u522b\u4e5f\u7ed9\u4e86\u5782\u76f4\u9886\u57df\u4e92\u8054\u7f51\u5e73\u53f0\u53ca\u89e3\u51b3\u65b9\u6848\u53d1\u5c55\u7684\u673a\u4f1a\u3002\u4e0b\u9762\u4ece\u5de5\u4e1a\u4e92\u8054\u7f51\u4e09\u5927\u5e94\u7528\u573a\u666f",(0,a.yg)("strong",{parentName:"p"},"\u8bbe\u5907\u8d44\u4ea7\u7ba1\u7406\u3001\u4e1a\u52a1\u8fd0\u8425\u4f18\u5316\u3001\u4ea7\u4e1a\u751f\u6001\u521b\u65b0"),"\u51fa\u53d1\uff0c\u5217\u4e3e\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\u3001\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\u4ee5\u53ca\u5de5\u4e1aApp\u7b49\u7ec6\u5206\u89e3\u51b3\u65b9\u6848\u4e09\u7c7b\u56fd\u5185\u5de5\u4e1a\u4e92\u8054\u7f51\u516c\u53f8\u3002\u5176\u4e2d\uff0c\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\u53ea\u805a\u7126\u4e8e\u67d0\u4e00\u4e2a\u9886\u57df\u6216\u884c\u4e1a\uff1b\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\u9664\u4e86\u5e73\u53f0\uff0c\u8fd8\u4f1a\u63d0\u4f9b\u6574\u4f53\u89e3\u51b3\u65b9\u6848\uff0c\u6a21\u5f0f\u66f4\u201c\u91cd\u201d\u3002\u9664\u4e86\u4ee5\u4e0a\u7aef\u5230\u7aef\u7684\u5e73\u53f0\u6a21\u5f0f\uff0c\u8fd8\u6709\u4e00\u7c7b\u516c\u53f8\u662f\u9488\u5bf9\u5de5\u4e1a\u573a\u666f\u4e2d\u7684\u67d0\u4e00\u4e2a\u75db\u70b9\u63d0\u4f9b\u7ec6\u5206\u89e3\u51b3\u65b9\u6848\uff0c\u8fd9\u79cd\u5c31\u662f\u5de5\u4e1aAPP/\u7ec6\u5206\u5e94\u7528\u3002\xa0"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.mogulinker.com/index.html"},"\u8611\u83c7\u4e92\u8054"),"\uff08\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\uff09",(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},"\u8bbe\u5907\u4ea7\u4e1a\u94fe\u4e09\u5927\u4e3b\u9898\uff1a\u8bbe\u5907\u5236\u9020\u4f01\u4e1a\u3001\u8bbe\u5907\u4ee3\u7406/\u670d\u52a1\u4f01\u4e1a\u3001\u8bbe\u5907\u7528\u6237\u4f01\u4e1a\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u8611\u83c7\u4e91\u76d2+\u8611\u83c7\u4e91+\u8611\u83c7\u5708\uff1b"),(0,a.yg)("li",{parentName:"ol"},'\u4e3a\u8bbe\u5907\u5236\u9020\u5546\u5b9a\u5236"\u7269\u8054\u7f51\u96c6\u6210\u7ba1\u7406\u7cfb\u7edf"\uff1b'),(0,a.yg)("li",{parentName:"ol"},'\u4e3a\u8bbe\u5907\u4ee3\u7406/\u670d\u52a1\u5546\u63d0\u4f9b"\u4e00\u7ad9\u5f0f\u7269\u8054\u7f51\u7ba1\u7406\u5de5\u5177"\uff1b'),(0,a.yg)("li",{parentName:"ol"},'\u4e3a\u8bbe\u5907\u7528\u6237\u4f01\u4e1a\u6253\u9020"\u6570\u5b57\u667a\u80fd\u7ba1\u7406\u8f66\u95f4\u7cfb"\uff1b'))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.isesol.com"},"\u667a\u80fd\u4e91\u79d1"),"\uff08\u5782\u76f4\u884c\u4e1a\u5e73\u53f0\uff09"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.proudsmart.com"},"\u666e\u5965\u4e91\u79d1\u6280"),"\uff08\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\uff09"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.neucloud.cn"},"\u5bc4\u4e91\u79d1\u6280"),"\uff08\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\uff09"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"http://www.pi2star.com"},"\u6e43\u65b9\u79d1\u6280"),"\uff08\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\uff09"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.cyber-insight.com"},"\u5929\u6cfd\u667a\u4e91"),"\uff08\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\uff09")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s/0-jAmmJE4mVGnajb_QlFog"},"\u8fd1\u4e07\u4ebf\u5de5\u4e1a\u4e92\u8054\u7f51\u8d5b\u9053\u6709\u54ea\u4e9b\u73a9\u5bb6\uff1f\u8fd9\u91cc\u6709\u4e00\u4efd\u884c\u4e1a\u56fe\u8c31"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/51316701.9d349f00.js b/assets/js/51316701.6e3e4a08.js similarity index 99% rename from assets/js/51316701.9d349f00.js rename to assets/js/51316701.6e3e4a08.js index b28d173d3..bf69a80a8 100644 --- a/assets/js/51316701.9d349f00.js +++ b/assets/js/51316701.6e3e4a08.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3073],{15680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>f});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=r.createContext({}),u=function(e){var n=r.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},s=function(e){var n=u(e.components);return r.createElement(c.Provider,{value:n},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),p=u(t),y=a,f=p["".concat(c,".").concat(y)]||p[y]||d[y]||o;return t?r.createElement(f,i(i({ref:n},s),{},{components:t})):r.createElement(f,i({ref:n},s))}));function f(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,i=new Array(o);i[0]=y;var l={};for(var c in n)hasOwnProperty.call(n,c)&&(l[c]=n[c]);l.originalType=e,l[p]="string"==typeof e?e:a,i[1]=l;for(var u=2;u{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>l,toc:()=>u});var r=t(58168),a=(t(96540),t(15680));const o={},i=void 0,l={unversionedId:"study/net/Linux\u7f51\u7edc\u914d\u7f6e",id:"study/net/Linux\u7f51\u7edc\u914d\u7f6e",title:"Linux\u7f51\u7edc\u914d\u7f6e",description:"\u5982\u4f55\u67e5\u770b\u7f51\u5361",source:"@site/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e.md",sourceDirName:"study/net",slug:"/study/net/Linux\u7f51\u7edc\u914d\u7f6e",permalink:"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"IPV6",permalink:"/docs/study/net/IPV6"},next:{title:"MacOS\u7f16\u8bd1OpenVPN",permalink:"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN"}},c={},u=[{value:"\u5982\u4f55\u67e5\u770b\u7f51\u5361",id:"\u5982\u4f55\u67e5\u770b\u7f51\u5361",level:3},{value:"\u5982\u4f55\u914d\u7f6e\u7f51\u5361",id:"\u5982\u4f55\u914d\u7f6e\u7f51\u5361",level:3},{value:"\u5f3a\u5927\u7684\u7f51\u7edc\u7ba1\u7406\u96c6\u6210\u5de5\u5177",id:"\u5f3a\u5927\u7684\u7f51\u7edc\u7ba1\u7406\u96c6\u6210\u5de5\u5177",level:3},{value:"\u5982\u4f55\u914d\u7f6eDNS",id:"\u5982\u4f55\u914d\u7f6edns",level:3}],s={toc:u},p="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(p,(0,r.A)({},s,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u7f51\u5361"},"\u5982\u4f55\u67e5\u770b\u7f51\u5361"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\nifconfig -a\n#\nip a\n#\nnetstat -i\n\n# \u5982\u679c\u7f51\u5361\u5904\u4e8eDOWN\u72b6\u6001\uff0c\u53ef\u4ee5\u4f7f\u7528ifup\u6fc0\u6d3b\nifup [\u7f51\u5361\u540d\u79f0]\n# \u5982\u679c\u9700\u8981\u5173\u95ed\u67d0\u4e2a\u7f51\u5361\uff0c\u53ef\u4ee5\u4f7f\u7528ifdown\u5173\u95ed\nifdown [\u7f51\u5361\u540d\u79f0]\n")),(0,a.yg)("h3",{id:"\u5982\u4f55\u914d\u7f6e\u7f51\u5361"},"\u5982\u4f55\u914d\u7f6e\u7f51\u5361"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\ncd /etc/sysconfig/network-scripts/\n#\nls\n#\nvi ifcfg-xxx\n# \u914d\u7f6e\u9759\u6001IP\u7684\u5e38\u7528\u53c2\u6570\u4fee\u6539-------------------------------------start\nBOOTPROTO=static #\u9759\u6001IP\u56fa\u5b9a\u914d\u7f6e\nIPADDR=10.20.25.101 #\u5206\u914d\u7684\u9759\u6001IP\nNETMASK=255.255.255.0 #\u5b50\u7f51\u63a9\u7801\nGATEWAY=10.20.25.254 #\u7f51\u5173\u5730\u5740\nONBOOT=yes #\u5f00\u673a\u81ea\u542f\uff0c\u5426\u5219\u8fd8\u5f97\u624b\u52a8\u542f\u52a8\u7f51\u5361\nDNS1=8.8.8.8 #DNS\u914d\u7f6eDNS[\u6570\u5b57]\nDNS2=114.114.114.114 #DNS\u914d\u7f6eDNS[\u6570\u5b57]\n# \u914d\u7f6e\u9759\u6001IP\u7684\u5e38\u7528\u53c2\u6570\u4fee\u6539-------------------------------------end\n# \u91cd\u542f\u7f51\u7edc\u670d\u52a1\uff0c\u4f1a\u6839\u636e\u914d\u7f6e\u6587\u4ef6\uff0c\u751f\u6548\u914d\u7f6e\u6587\u4ef6\uff0c\u6ce8\u610f\u5982\u679cONBOOT=no\u7684\u8bdd\uff0c\u8fd9\u4e2a\u7f51\u5361\u4e0d\u4f1a\u542f\u52a8\nsystemctl restart network\n")),(0,a.yg)("h3",{id:"\u5f3a\u5927\u7684\u7f51\u7edc\u7ba1\u7406\u96c6\u6210\u5de5\u5177"},"\u5f3a\u5927\u7684\u7f51\u7edc\u7ba1\u7406\u96c6\u6210\u5de5\u5177"),(0,a.yg)("p",null,"\u4e0b\u9762\u4e24\u4e2a\u5de5\u5177\u5e76\u4e0d\u662f\u6240\u6709\u7cfb\u7edf\u90fd\u652f\u6301\uff0c\u4f46\u662f\u4e0a\u9762\u7684\u914d\u7f6e\u662f\u6240\u6709\u7cfb\u7edf\u90fd\u652f\u6301"),(0,a.yg)("p",null,"nmcli \u96c6\u6210\u5de5\u5177\uff0c\u589e\u5220\u6539\u67e5\u7f51\u7edc\u914d\u7f6e"),(0,a.yg)("p",null,"nmtui \u7ec8\u7aef\u5b57\u7b26\u56fe\u5f62\u5de5\u5177\uff0c\u589e\u5220\u6539\u67e5\u7f51\u7edc\u914d\u7f6e"),(0,a.yg)("h3",{id:"\u5982\u4f55\u914d\u7f6edns"},"\u5982\u4f55\u914d\u7f6eDNS"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u901a\u8fc7\u4fee\u6539ifcfg-xxx\u7684\u7f51\u5361\u914d\u7f6e\u6587\u4ef6\u6765"),(0,a.yg)("li",{parentName:"ul"},"\u901a\u8fc7\u4fee\u6539/etc/resolv.conf\uff0c\u589e\u52a0nameserver 8.8.8.8\u6765\u914d\u7f6e\uff0c\u8fd9\u4e2a\u6587\u4ef6\u624b\u52a8\u4fee\u6539\u53ef\u80fd\u4f1a\u88ab\u5176\u4ed6\u7f51\u7edc\u7ba1\u7406\u5de5\u5177\u8986\u76d6")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3073],{15680:(e,n,t)=>{t.d(n,{xA:()=>s,yg:()=>f});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=r.createContext({}),u=function(e){var n=r.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},s=function(e){var n=u(e.components);return r.createElement(c.Provider,{value:n},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),p=u(t),y=a,f=p["".concat(c,".").concat(y)]||p[y]||d[y]||o;return t?r.createElement(f,i(i({ref:n},s),{},{components:t})):r.createElement(f,i({ref:n},s))}));function f(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,i=new Array(o);i[0]=y;var l={};for(var c in n)hasOwnProperty.call(n,c)&&(l[c]=n[c]);l.originalType=e,l[p]="string"==typeof e?e:a,i[1]=l;for(var u=2;u{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>l,toc:()=>u});var r=t(58168),a=(t(96540),t(15680));const o={},i=void 0,l={unversionedId:"study/net/Linux\u7f51\u7edc\u914d\u7f6e",id:"study/net/Linux\u7f51\u7edc\u914d\u7f6e",title:"Linux\u7f51\u7edc\u914d\u7f6e",description:"\u5982\u4f55\u67e5\u770b\u7f51\u5361",source:"@site/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e.md",sourceDirName:"study/net",slug:"/study/net/Linux\u7f51\u7edc\u914d\u7f6e",permalink:"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"IPV6",permalink:"/docs/study/net/IPV6"},next:{title:"MacOS\u7f16\u8bd1OpenVPN",permalink:"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN"}},c={},u=[{value:"\u5982\u4f55\u67e5\u770b\u7f51\u5361",id:"\u5982\u4f55\u67e5\u770b\u7f51\u5361",level:3},{value:"\u5982\u4f55\u914d\u7f6e\u7f51\u5361",id:"\u5982\u4f55\u914d\u7f6e\u7f51\u5361",level:3},{value:"\u5f3a\u5927\u7684\u7f51\u7edc\u7ba1\u7406\u96c6\u6210\u5de5\u5177",id:"\u5f3a\u5927\u7684\u7f51\u7edc\u7ba1\u7406\u96c6\u6210\u5de5\u5177",level:3},{value:"\u5982\u4f55\u914d\u7f6eDNS",id:"\u5982\u4f55\u914d\u7f6edns",level:3}],s={toc:u},p="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(p,(0,r.A)({},s,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u7f51\u5361"},"\u5982\u4f55\u67e5\u770b\u7f51\u5361"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\nifconfig -a\n#\nip a\n#\nnetstat -i\n\n# \u5982\u679c\u7f51\u5361\u5904\u4e8eDOWN\u72b6\u6001\uff0c\u53ef\u4ee5\u4f7f\u7528ifup\u6fc0\u6d3b\nifup [\u7f51\u5361\u540d\u79f0]\n# \u5982\u679c\u9700\u8981\u5173\u95ed\u67d0\u4e2a\u7f51\u5361\uff0c\u53ef\u4ee5\u4f7f\u7528ifdown\u5173\u95ed\nifdown [\u7f51\u5361\u540d\u79f0]\n")),(0,a.yg)("h3",{id:"\u5982\u4f55\u914d\u7f6e\u7f51\u5361"},"\u5982\u4f55\u914d\u7f6e\u7f51\u5361"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\ncd /etc/sysconfig/network-scripts/\n#\nls\n#\nvi ifcfg-xxx\n# \u914d\u7f6e\u9759\u6001IP\u7684\u5e38\u7528\u53c2\u6570\u4fee\u6539-------------------------------------start\nBOOTPROTO=static #\u9759\u6001IP\u56fa\u5b9a\u914d\u7f6e\nIPADDR=10.20.25.101 #\u5206\u914d\u7684\u9759\u6001IP\nNETMASK=255.255.255.0 #\u5b50\u7f51\u63a9\u7801\nGATEWAY=10.20.25.254 #\u7f51\u5173\u5730\u5740\nONBOOT=yes #\u5f00\u673a\u81ea\u542f\uff0c\u5426\u5219\u8fd8\u5f97\u624b\u52a8\u542f\u52a8\u7f51\u5361\nDNS1=8.8.8.8 #DNS\u914d\u7f6eDNS[\u6570\u5b57]\nDNS2=114.114.114.114 #DNS\u914d\u7f6eDNS[\u6570\u5b57]\n# \u914d\u7f6e\u9759\u6001IP\u7684\u5e38\u7528\u53c2\u6570\u4fee\u6539-------------------------------------end\n# \u91cd\u542f\u7f51\u7edc\u670d\u52a1\uff0c\u4f1a\u6839\u636e\u914d\u7f6e\u6587\u4ef6\uff0c\u751f\u6548\u914d\u7f6e\u6587\u4ef6\uff0c\u6ce8\u610f\u5982\u679cONBOOT=no\u7684\u8bdd\uff0c\u8fd9\u4e2a\u7f51\u5361\u4e0d\u4f1a\u542f\u52a8\nsystemctl restart network\n")),(0,a.yg)("h3",{id:"\u5f3a\u5927\u7684\u7f51\u7edc\u7ba1\u7406\u96c6\u6210\u5de5\u5177"},"\u5f3a\u5927\u7684\u7f51\u7edc\u7ba1\u7406\u96c6\u6210\u5de5\u5177"),(0,a.yg)("p",null,"\u4e0b\u9762\u4e24\u4e2a\u5de5\u5177\u5e76\u4e0d\u662f\u6240\u6709\u7cfb\u7edf\u90fd\u652f\u6301\uff0c\u4f46\u662f\u4e0a\u9762\u7684\u914d\u7f6e\u662f\u6240\u6709\u7cfb\u7edf\u90fd\u652f\u6301"),(0,a.yg)("p",null,"nmcli \u96c6\u6210\u5de5\u5177\uff0c\u589e\u5220\u6539\u67e5\u7f51\u7edc\u914d\u7f6e"),(0,a.yg)("p",null,"nmtui \u7ec8\u7aef\u5b57\u7b26\u56fe\u5f62\u5de5\u5177\uff0c\u589e\u5220\u6539\u67e5\u7f51\u7edc\u914d\u7f6e"),(0,a.yg)("h3",{id:"\u5982\u4f55\u914d\u7f6edns"},"\u5982\u4f55\u914d\u7f6eDNS"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u901a\u8fc7\u4fee\u6539ifcfg-xxx\u7684\u7f51\u5361\u914d\u7f6e\u6587\u4ef6\u6765"),(0,a.yg)("li",{parentName:"ul"},"\u901a\u8fc7\u4fee\u6539/etc/resolv.conf\uff0c\u589e\u52a0nameserver 8.8.8.8\u6765\u914d\u7f6e\uff0c\u8fd9\u4e2a\u6587\u4ef6\u624b\u52a8\u4fee\u6539\u53ef\u80fd\u4f1a\u88ab\u5176\u4ed6\u7f51\u7edc\u7ba1\u7406\u5de5\u5177\u8986\u76d6")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/52135254.16ab9fbb.js b/assets/js/52135254.d5252e5b.js similarity index 98% rename from assets/js/52135254.16ab9fbb.js rename to assets/js/52135254.d5252e5b.js index 40ce2a21d..23db7cdcd 100644 --- a/assets/js/52135254.16ab9fbb.js +++ b/assets/js/52135254.d5252e5b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1812],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),f=o,y=s["".concat(p,".").concat(f)]||s[f]||d[f]||a;return r?n.createElement(y,c(c({ref:t},u),{},{components:r})):n.createElement(y,c({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/\u6280\u672f\u6587\u6863",id:"study/program/\u6280\u672f\u6587\u6863",title:"\u6280\u672f\u6587\u6863",description:"\u6280\u672f\u6587\u6863",source:"@site/docs/study/program/\u6280\u672f\u6587\u6863.md",sourceDirName:"study/program",slug:"/study/program/\u6280\u672f\u6587\u6863",permalink:"/docs/study/program/\u6280\u672f\u6587\u6863",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Rust",permalink:"/docs/study/program/Rust/"},next:{title:"\u7f16\u8bd1\u5668",permalink:"/docs/study/program/\u7f16\u8bd1\u5668"}},p={},l=[{value:"\u6280\u672f\u6587\u6863",id:"\u6280\u672f\u6587\u6863",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u6280\u672f\u6587\u6863"},"\u6280\u672f\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://learn.microsoft.com/zh-cn/docs/"},"Micorsoft-\u6280\u672f\u6587\u6863"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1812],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),f=o,y=s["".concat(p,".").concat(f)]||s[f]||d[f]||a;return r?n.createElement(y,c(c({ref:t},u),{},{components:r})):n.createElement(y,c({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/\u6280\u672f\u6587\u6863",id:"study/program/\u6280\u672f\u6587\u6863",title:"\u6280\u672f\u6587\u6863",description:"\u6280\u672f\u6587\u6863",source:"@site/docs/study/program/\u6280\u672f\u6587\u6863.md",sourceDirName:"study/program",slug:"/study/program/\u6280\u672f\u6587\u6863",permalink:"/docs/study/program/\u6280\u672f\u6587\u6863",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Rust",permalink:"/docs/study/program/Rust/"},next:{title:"\u7f16\u8bd1\u5668",permalink:"/docs/study/program/\u7f16\u8bd1\u5668"}},p={},l=[{value:"\u6280\u672f\u6587\u6863",id:"\u6280\u672f\u6587\u6863",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u6280\u672f\u6587\u6863"},"\u6280\u672f\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://learn.microsoft.com/zh-cn/docs/"},"Micorsoft-\u6280\u672f\u6587\u6863"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/52f475a2.992f72a7.js b/assets/js/52f475a2.dfbbc447.js similarity index 98% rename from assets/js/52f475a2.992f72a7.js rename to assets/js/52f475a2.dfbbc447.js index 8b4a51cd6..5a86ff5c7 100644 --- a/assets/js/52f475a2.992f72a7.js +++ b/assets/js/52f475a2.dfbbc447.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2829],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241108",id:"study/stock/20241108",title:"20241108",description:"\u4eca\u5929\u5468\u4e94",source:"@site/docs/study/stock/20241108.md",sourceDirName:"study/stock",slug:"/study/stock/20241108",permalink:"/docs/study/stock/20241108",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e94"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u7ee7\u7eed\u6301\u6709\uff0c\u660e\u5929\u6302 -1% \u4e70\u5165\u4e00\u534a --- \u9707\u8361\u4e0b\u884c\uff0c\u4e70\u5165\u6210\u529f\uff0c\u6700\u4f4e-3%"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a --- \u9ad8\u5f00\u4f4e\u8d70\uff0c\u6700\u9ad8 2%\u5de6\u53f3"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a ---\u9ad8\u5f00\u4f4e\u8d70\uff0c\u6700\u9ad8 3%\u5de6\u53f3"),(0,o.yg)("p",null,"\u9884\u671f\u660e\u5929\u5927\u76d8\u4f1a\u7ee7\u7eed\u4e0a\u653b\uff0c\u4e0b\u5468\u4e00\u5e94\u8be5\u662f\u77ed\u671f\u9ad8\u70b9 --- \u65e9\u4e0a\u786e\u5b9e\u4e0a\u653b\u4e86\uff0c\u4f46\u662f\u529b\u5ea6\u6709\u9650\uff0c\u4e0b\u5348\u5f00\u59cb\u8df3\u6c34\u4e86"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2829],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241108",id:"study/stock/20241108",title:"20241108",description:"\u4eca\u5929\u5468\u4e94",source:"@site/docs/study/stock/20241108.md",sourceDirName:"study/stock",slug:"/study/stock/20241108",permalink:"/docs/study/stock/20241108",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e94"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u7ee7\u7eed\u6301\u6709\uff0c\u660e\u5929\u6302 -1% \u4e70\u5165\u4e00\u534a --- \u9707\u8361\u4e0b\u884c\uff0c\u4e70\u5165\u6210\u529f\uff0c\u6700\u4f4e-3%"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a --- \u9ad8\u5f00\u4f4e\u8d70\uff0c\u6700\u9ad8 2%\u5de6\u53f3"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a ---\u9ad8\u5f00\u4f4e\u8d70\uff0c\u6700\u9ad8 3%\u5de6\u53f3"),(0,o.yg)("p",null,"\u9884\u671f\u660e\u5929\u5927\u76d8\u4f1a\u7ee7\u7eed\u4e0a\u653b\uff0c\u4e0b\u5468\u4e00\u5e94\u8be5\u662f\u77ed\u671f\u9ad8\u70b9 --- \u65e9\u4e0a\u786e\u5b9e\u4e0a\u653b\u4e86\uff0c\u4f46\u662f\u529b\u5ea6\u6709\u9650\uff0c\u4e0b\u5348\u5f00\u59cb\u8df3\u6c34\u4e86"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5535d7af.e806e4c8.js b/assets/js/5535d7af.c0d7478d.js similarity index 98% rename from assets/js/5535d7af.e806e4c8.js rename to assets/js/5535d7af.c0d7478d.js index 363f1f97b..42f2a0bc3 100644 --- a/assets/js/5535d7af.e806e4c8.js +++ b/assets/js/5535d7af.c0d7478d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5755],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/net/SNMP",id:"study/net/SNMP",title:"SNMP",description:"\u53c2\u8003",source:"@site/docs/study/net/SNMP.md",sourceDirName:"study/net",slug:"/study/net/SNMP",permalink:"/docs/study/net/SNMP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenVPN",permalink:"/docs/study/net/OpenVPN"},next:{title:"TCP",permalink:"/docs/study/net/TCP"}},l={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_20332637/article/details/82690755"},"CSDN-SNMP \u6982\u8ff0"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5755],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/net/SNMP",id:"study/net/SNMP",title:"SNMP",description:"\u53c2\u8003",source:"@site/docs/study/net/SNMP.md",sourceDirName:"study/net",slug:"/study/net/SNMP",permalink:"/docs/study/net/SNMP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenVPN",permalink:"/docs/study/net/OpenVPN"},next:{title:"TCP",permalink:"/docs/study/net/TCP"}},l={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_20332637/article/details/82690755"},"CSDN-SNMP \u6982\u8ff0"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/576ec208.3c53dc8a.js b/assets/js/576ec208.b3eb2241.js similarity index 98% rename from assets/js/576ec208.3c53dc8a.js rename to assets/js/576ec208.b3eb2241.js index f5735c26c..c59b1e210 100644 --- a/assets/js/576ec208.3c53dc8a.js +++ b/assets/js/576ec208.b3eb2241.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[15],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),l=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(i.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),s=l(t),y=a,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||o;return t?n.createElement(f,c(c({ref:r},u),{},{components:t})):n.createElement(f,c({ref:r},u))}));function f(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,c=new Array(o);c[0]=y;var p={};for(var i in r)hasOwnProperty.call(r,i)&&(p[i]=r[i]);p.originalType=e,p[s]="string"==typeof e?e:a,c[1]=p;for(var l=2;l{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>l});var n=t(58168),a=(t(96540),t(15680));const o={},c=void 0,p={unversionedId:"study/program/JAVA/GraalVM",id:"study/program/JAVA/GraalVM",title:"GraalVM",description:"\u5b98\u7f51",source:"@site/docs/study/program/JAVA/GraalVM.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/GraalVM",permalink:"/docs/study/program/JAVA/GraalVM",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"GC",permalink:"/docs/study/program/JAVA/GC"},next:{title:"Guice",permalink:"/docs/study/program/JAVA/Guice"}},i={},l=[],u={toc:l},s="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.graalvm.org/"},"\u5b98\u7f51")),(0,a.yg)("p",null,"\u4e00\u6b3e\u9ad8\u6027\u80fd\u3001\u4e91\u539f\u751f\u3001\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u7684\u865a\u62df\u673a\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[15],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),l=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(i.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),s=l(t),y=a,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||o;return t?n.createElement(f,c(c({ref:r},u),{},{components:t})):n.createElement(f,c({ref:r},u))}));function f(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,c=new Array(o);c[0]=y;var p={};for(var i in r)hasOwnProperty.call(r,i)&&(p[i]=r[i]);p.originalType=e,p[s]="string"==typeof e?e:a,c[1]=p;for(var l=2;l{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>l});var n=t(58168),a=(t(96540),t(15680));const o={},c=void 0,p={unversionedId:"study/program/JAVA/GraalVM",id:"study/program/JAVA/GraalVM",title:"GraalVM",description:"\u5b98\u7f51",source:"@site/docs/study/program/JAVA/GraalVM.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/GraalVM",permalink:"/docs/study/program/JAVA/GraalVM",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"GC",permalink:"/docs/study/program/JAVA/GC"},next:{title:"Guice",permalink:"/docs/study/program/JAVA/Guice"}},i={},l=[],u={toc:l},s="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.graalvm.org/"},"\u5b98\u7f51")),(0,a.yg)("p",null,"\u4e00\u6b3e\u9ad8\u6027\u80fd\u3001\u4e91\u539f\u751f\u3001\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u7684\u865a\u62df\u673a\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/582dea03.3f903db4.js b/assets/js/582dea03.65c3b9b4.js similarity index 99% rename from assets/js/582dea03.3f903db4.js rename to assets/js/582dea03.65c3b9b4.js index d3eb4771c..d7a7483ef 100644 --- a/assets/js/582dea03.3f903db4.js +++ b/assets/js/582dea03.65c3b9b4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5979],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>m});var n=r(96540);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var a=n.createContext({}),l=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},d=function(e){var t=l(e.components);return n.createElement(a.Provider,{value:t},e.children)},p="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,s=e.originalType,a=e.parentName,d=u(e,["components","mdxType","originalType","parentName"]),p=l(r),y=i,m=p["".concat(a,".").concat(y)]||p[y]||c[y]||s;return r?n.createElement(m,o(o({ref:t},d),{},{components:r})):n.createElement(m,o({ref:t},d))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var s=r.length,o=new Array(s);o[0]=y;var u={};for(var a in t)hasOwnProperty.call(t,a)&&(u[a]=t[a]);u.originalType=e,u[p]="string"==typeof e?e:i,o[1]=u;for(var l=2;l{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>o,default:()=>c,frontMatter:()=>s,metadata:()=>u,toc:()=>l});var n=r(58168),i=(r(96540),r(15680));const s={},o="Linux\u8fd0\u7ef4-\u81ea\u542f",u={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f",id:"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f",title:"Linux\u8fd0\u7ef4-\u81ea\u542f",description:"systemd\u548cinit\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u542f\u52a8\u548c\u7ba1\u7406\u7cfb\u7edf\u7684\u4e24\u4e2a\u4e0d\u540c\u5de5\u5177\u3002",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6"},next:{title:"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1"}},a={},l=[{value:"init",id:"init",level:3},{value:"systemd",id:"systemd",level:3},{value:"Docker systemd",id:"docker-systemd",level:3},{value:"\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177 supervisord",id:"\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177-supervisord",level:3}],d={toc:l},p="wrapper";function c(e){let{components:t,...r}=e;return(0,i.yg)(p,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("h1",{id:"linux\u8fd0\u7ef4-\u81ea\u542f"},"Linux\u8fd0\u7ef4-\u81ea\u542f"),(0,i.yg)("p",null,"systemd\u548cinit\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u542f\u52a8\u548c\u7ba1\u7406\u7cfb\u7edf\u7684\u4e24\u4e2a\u4e0d\u540c\u5de5\u5177\u3002"),(0,i.yg)("h3",{id:"init"},"init"),(0,i.yg)("p",null,"\u5b83\u662fLinux\u5185\u6838\u542f\u52a8\u540e\u7684\u7b2c\u4e00\u4e2a\u7528\u6237\u8fdb\u7a0b\uff0c\u7528\u4e8e\u521d\u59cb\u5316\u548c\u7ba1\u7406\u7cfb\u7edf\u670d\u52a1\u548c\u5b88\u62a4\u8fdb\u7a0b\u3002init\u4f7f\u7528service\u547d\u4ee4\u6765\u7ba1\u7406\u670d\u52a1\uff0c\u5982\u542f\u52a8\u3001\u505c\u6b62\u548c\u91cd\u542f\u670d\u52a1\u3002init\u7684\u4e3b\u8981\u7f3a\u70b9\u662f\u542f\u52a8\u65f6\u95f4\u957f\uff0c\u56e0\u4e3a\u5b83\u5728\u542f\u52a8\u8fc7\u7a0b\u4e2d\u662f\u4e32\u884c\u7684\uff0c\u8fd9\u610f\u5473\u7740\u5fc5\u987b\u4f9d\u6b21\u542f\u52a8\u6bcf\u4e2a\u670d\u52a1\u3002\u6b64\u5916\uff0cinit\u7684\u914d\u7f6e\u811a\u672c\u8f83\u4e3a\u590d\u6742\uff0c\u9700\u8981\u81ea\u884c\u5904\u7406\u5404\u79cd\u60c5\u51b5\uff0c\u8fd9\u53ef\u80fd\u5bfc\u81f4\u811a\u672c\u53d8\u5f97\u5f88\u957f\u3002"),(0,i.yg)("h3",{id:"systemd"},"systemd"),(0,i.yg)("p",null,"\u5b83\u662f\u8f83\u65b0\u7684Linux\u7cfb\u7edf\u5b88\u62a4\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177\uff0c\u5728CentOS 7\u53ca\u66f4\u9ad8\u7248\u672c\u4e2d\uff0csystemd\u53d6\u4ee3\u4e86init\u4f5c\u4e3a\u7cfb\u7edf\u7684\u9ed8\u8ba4\u8fdb\u7a0b\u7ba1\u7406\u5668\u3002systemd\u63d0\u4f9b\u4e86\u5e76\u884c\u542f\u52a8\u670d\u52a1\u7684\u80fd\u529b\uff0c\u4f7f\u7528socket\u548cD-Bus\u6fc0\u6d3b\u673a\u5236\uff0c\u8fd9\u663e\u8457\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u542f\u52a8\u901f\u5ea6\u3002systemd\u8fd8\u652f\u6301SysV\u548cLSB\u521d\u59cb\u5316\u811a\u672c\uff0c\u5e76\u80fd\u591f\u7ba1\u7406\u7cfb\u7edf\u7684\u5404\u9879\u529f\u80fd\uff0c\u5982\u65e5\u5fd7\u8bb0\u5f55\u3001\u7f51\u7edc\u914d\u7f6e\u3001\u7535\u6e90\u7ba1\u7406\u7b49\u3002systemd\u7684\u6838\u5fc3\u6982\u5ff5\u5305\u62ec\u57fa\u4e8e\u4f9d\u8d56\u5173\u7cfb\u7684\u670d\u52a1\u63a7\u5236\u548c\u7edf\u4e00\u4efb\u52a1\u5b9a\u4e49\uff0c\u8fd9\u4f7f\u5f97\u7ba1\u7406\u66f4\u52a0\u9ad8\u6548\u548c\u7b80\u5316\u3002"),(0,i.yg)("h3",{id:"docker-systemd"},"Docker systemd"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_46207024/article/details/134006150"},"Docker\u670d\u52a1systemd\u914d\u7f6e\u6587\u4ef6\u8be6\u89e3")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/633832183"},"\u914d\u7f6e Docker \u7684 cgroup driver \u4e3a systemd"))),(0,i.yg)("h3",{id:"\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177-supervisord"},"\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177 supervisord"),(0,i.yg)("p",null,"Supervisord \u662f\u4e00\u4e2a\u7528 Python \u7f16\u5199\u7684\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177\uff0c\u4e3b\u8981\u7528\u4e8e\u5728\u7c7b Unix \u7cfb\u7edf\uff08\u5982 Linux\u3001macOS \u7b49\uff09\u4e0b\u5bf9\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u8fdb\u7a0b\u8fdb\u884c\u7ba1\u7406\u3002\u5b83\u53ef\u4ee5\u65b9\u4fbf\u5730\u542f\u52a8\u3001\u505c\u6b62\u3001\u91cd\u542f\u4e00\u4e2a\u6216\u591a\u4e2a\u8fdb\u7a0b\uff0c\u5e76\u4e14\u80fd\u591f\u5728\u8fdb\u7a0b\u610f\u5916\u9000\u51fa\u65f6\u81ea\u52a8\u91cd\u542f\uff0c\u786e\u4fdd\u8fdb\u7a0b\u7684\u6301\u7eed\u8fd0\u884c\u3002\u4f8b\u5982\uff0c\u5728\u4e00\u4e2a Web \u670d\u52a1\u5668\u73af\u5883\u4e2d\uff0c\u5b83\u53ef\u4ee5\u7ba1\u7406\u5982 Nginx\u3001uWSGI \u7b49\u8fdb\u7a0b\uff1b\u5728\u6570\u636e\u5904\u7406\u573a\u666f\u4e0b\uff0c\u80fd\u7ba1\u7406\u6570\u636e\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u8fdb\u7a0b\u3002"),(0,i.yg)("p",null,"\u5b98\u7f51 ",(0,i.yg)("a",{parentName:"p",href:"http://supervisord.org/"},"http://supervisord.org/")))}c.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5979],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>m});var n=r(96540);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var a=n.createContext({}),l=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},d=function(e){var t=l(e.components);return n.createElement(a.Provider,{value:t},e.children)},p="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,s=e.originalType,a=e.parentName,d=u(e,["components","mdxType","originalType","parentName"]),p=l(r),y=i,m=p["".concat(a,".").concat(y)]||p[y]||c[y]||s;return r?n.createElement(m,o(o({ref:t},d),{},{components:r})):n.createElement(m,o({ref:t},d))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var s=r.length,o=new Array(s);o[0]=y;var u={};for(var a in t)hasOwnProperty.call(t,a)&&(u[a]=t[a]);u.originalType=e,u[p]="string"==typeof e?e:i,o[1]=u;for(var l=2;l{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>o,default:()=>c,frontMatter:()=>s,metadata:()=>u,toc:()=>l});var n=r(58168),i=(r(96540),r(15680));const s={},o="Linux\u8fd0\u7ef4-\u81ea\u542f",u={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f",id:"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f",title:"Linux\u8fd0\u7ef4-\u81ea\u542f",description:"systemd\u548cinit\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u542f\u52a8\u548c\u7ba1\u7406\u7cfb\u7edf\u7684\u4e24\u4e2a\u4e0d\u540c\u5de5\u5177\u3002",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6"},next:{title:"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1"}},a={},l=[{value:"init",id:"init",level:3},{value:"systemd",id:"systemd",level:3},{value:"Docker systemd",id:"docker-systemd",level:3},{value:"\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177 supervisord",id:"\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177-supervisord",level:3}],d={toc:l},p="wrapper";function c(e){let{components:t,...r}=e;return(0,i.yg)(p,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("h1",{id:"linux\u8fd0\u7ef4-\u81ea\u542f"},"Linux\u8fd0\u7ef4-\u81ea\u542f"),(0,i.yg)("p",null,"systemd\u548cinit\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u542f\u52a8\u548c\u7ba1\u7406\u7cfb\u7edf\u7684\u4e24\u4e2a\u4e0d\u540c\u5de5\u5177\u3002"),(0,i.yg)("h3",{id:"init"},"init"),(0,i.yg)("p",null,"\u5b83\u662fLinux\u5185\u6838\u542f\u52a8\u540e\u7684\u7b2c\u4e00\u4e2a\u7528\u6237\u8fdb\u7a0b\uff0c\u7528\u4e8e\u521d\u59cb\u5316\u548c\u7ba1\u7406\u7cfb\u7edf\u670d\u52a1\u548c\u5b88\u62a4\u8fdb\u7a0b\u3002init\u4f7f\u7528service\u547d\u4ee4\u6765\u7ba1\u7406\u670d\u52a1\uff0c\u5982\u542f\u52a8\u3001\u505c\u6b62\u548c\u91cd\u542f\u670d\u52a1\u3002init\u7684\u4e3b\u8981\u7f3a\u70b9\u662f\u542f\u52a8\u65f6\u95f4\u957f\uff0c\u56e0\u4e3a\u5b83\u5728\u542f\u52a8\u8fc7\u7a0b\u4e2d\u662f\u4e32\u884c\u7684\uff0c\u8fd9\u610f\u5473\u7740\u5fc5\u987b\u4f9d\u6b21\u542f\u52a8\u6bcf\u4e2a\u670d\u52a1\u3002\u6b64\u5916\uff0cinit\u7684\u914d\u7f6e\u811a\u672c\u8f83\u4e3a\u590d\u6742\uff0c\u9700\u8981\u81ea\u884c\u5904\u7406\u5404\u79cd\u60c5\u51b5\uff0c\u8fd9\u53ef\u80fd\u5bfc\u81f4\u811a\u672c\u53d8\u5f97\u5f88\u957f\u3002"),(0,i.yg)("h3",{id:"systemd"},"systemd"),(0,i.yg)("p",null,"\u5b83\u662f\u8f83\u65b0\u7684Linux\u7cfb\u7edf\u5b88\u62a4\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177\uff0c\u5728CentOS 7\u53ca\u66f4\u9ad8\u7248\u672c\u4e2d\uff0csystemd\u53d6\u4ee3\u4e86init\u4f5c\u4e3a\u7cfb\u7edf\u7684\u9ed8\u8ba4\u8fdb\u7a0b\u7ba1\u7406\u5668\u3002systemd\u63d0\u4f9b\u4e86\u5e76\u884c\u542f\u52a8\u670d\u52a1\u7684\u80fd\u529b\uff0c\u4f7f\u7528socket\u548cD-Bus\u6fc0\u6d3b\u673a\u5236\uff0c\u8fd9\u663e\u8457\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u542f\u52a8\u901f\u5ea6\u3002systemd\u8fd8\u652f\u6301SysV\u548cLSB\u521d\u59cb\u5316\u811a\u672c\uff0c\u5e76\u80fd\u591f\u7ba1\u7406\u7cfb\u7edf\u7684\u5404\u9879\u529f\u80fd\uff0c\u5982\u65e5\u5fd7\u8bb0\u5f55\u3001\u7f51\u7edc\u914d\u7f6e\u3001\u7535\u6e90\u7ba1\u7406\u7b49\u3002systemd\u7684\u6838\u5fc3\u6982\u5ff5\u5305\u62ec\u57fa\u4e8e\u4f9d\u8d56\u5173\u7cfb\u7684\u670d\u52a1\u63a7\u5236\u548c\u7edf\u4e00\u4efb\u52a1\u5b9a\u4e49\uff0c\u8fd9\u4f7f\u5f97\u7ba1\u7406\u66f4\u52a0\u9ad8\u6548\u548c\u7b80\u5316\u3002"),(0,i.yg)("h3",{id:"docker-systemd"},"Docker systemd"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_46207024/article/details/134006150"},"Docker\u670d\u52a1systemd\u914d\u7f6e\u6587\u4ef6\u8be6\u89e3")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/633832183"},"\u914d\u7f6e Docker \u7684 cgroup driver \u4e3a systemd"))),(0,i.yg)("h3",{id:"\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177-supervisord"},"\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177 supervisord"),(0,i.yg)("p",null,"Supervisord \u662f\u4e00\u4e2a\u7528 Python \u7f16\u5199\u7684\u8fdb\u7a0b\u7ba1\u7406\u5de5\u5177\uff0c\u4e3b\u8981\u7528\u4e8e\u5728\u7c7b Unix \u7cfb\u7edf\uff08\u5982 Linux\u3001macOS \u7b49\uff09\u4e0b\u5bf9\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u8fdb\u7a0b\u8fdb\u884c\u7ba1\u7406\u3002\u5b83\u53ef\u4ee5\u65b9\u4fbf\u5730\u542f\u52a8\u3001\u505c\u6b62\u3001\u91cd\u542f\u4e00\u4e2a\u6216\u591a\u4e2a\u8fdb\u7a0b\uff0c\u5e76\u4e14\u80fd\u591f\u5728\u8fdb\u7a0b\u610f\u5916\u9000\u51fa\u65f6\u81ea\u52a8\u91cd\u542f\uff0c\u786e\u4fdd\u8fdb\u7a0b\u7684\u6301\u7eed\u8fd0\u884c\u3002\u4f8b\u5982\uff0c\u5728\u4e00\u4e2a Web \u670d\u52a1\u5668\u73af\u5883\u4e2d\uff0c\u5b83\u53ef\u4ee5\u7ba1\u7406\u5982 Nginx\u3001uWSGI \u7b49\u8fdb\u7a0b\uff1b\u5728\u6570\u636e\u5904\u7406\u573a\u666f\u4e0b\uff0c\u80fd\u7ba1\u7406\u6570\u636e\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u8fdb\u7a0b\u3002"),(0,i.yg)("p",null,"\u5b98\u7f51 ",(0,i.yg)("a",{parentName:"p",href:"http://supervisord.org/"},"http://supervisord.org/")))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/588433b1.f38cd65c.js b/assets/js/588433b1.87d9fd30.js similarity index 99% rename from assets/js/588433b1.f38cd65c.js rename to assets/js/588433b1.87d9fd30.js index e9565eb2f..5953e51d7 100644 --- a/assets/js/588433b1.f38cd65c.js +++ b/assets/js/588433b1.87d9fd30.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5537],{15680:(e,r,t)=>{t.d(r,{xA:()=>c,yg:()=>g});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=n.createContext({}),u=function(e){var r=n.useContext(p),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},c=function(e){var r=u(e.components);return n.createElement(p.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),s=u(t),y=a,g=s["".concat(p,".").concat(y)]||s[y]||d[y]||o;return t?n.createElement(g,l(l({ref:r},c),{},{components:t})):n.createElement(g,l({ref:r},c))}));function g(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var i={};for(var p in r)hasOwnProperty.call(r,p)&&(i[p]=r[p]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var u=2;u{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=t(58168),a=(t(96540),t(15680));const o={},l="C++\u8fdb\u7a0b\u95f4\u901a\u4fe1",i={unversionedId:"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1",id:"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1",title:"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1",description:"\u7ba1\u9053",source:"@site/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1.md",sourceDirName:"study/program/CPP",slug:"/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1",permalink:"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CGI",permalink:"/docs/study/program/CPP/CGI"},next:{title:"CSharp",permalink:"/docs/study/program/CSharp/"}},p={},u=[{value:"\u7ba1\u9053",id:"\u7ba1\u9053",level:3},{value:"\u5171\u4eab\u5185\u5b58",id:"\u5171\u4eab\u5185\u5b58",level:3},{value:"\u6d88\u606f\u961f\u5217",id:"\u6d88\u606f\u961f\u5217",level:3},{value:"\u4fe1\u53f7\u91cf",id:"\u4fe1\u53f7\u91cf",level:3},{value:"\u5957\u63a5\u5b57",id:"\u5957\u63a5\u5b57",level:3},{value:"\u6587\u4ef6\u6620\u5c04",id:"\u6587\u4ef6\u6620\u5c04",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:u},s="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},c,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"c\u8fdb\u7a0b\u95f4\u901a\u4fe1"},"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1"),(0,a.yg)("h3",{id:"\u7ba1\u9053"},"\u7ba1\u9053"),(0,a.yg)("p",null,"\u7ba1\u9053\uff08Pipe\uff09\uff1a\u662f\u4e00\u79cd\u534a\u53cc\u5de5\u7684\u901a\u4fe1\u65b9\u5f0f\uff0c\u9002\u7528\u4e8e\u5177\u6709\u4eb2\u7f18\u5173\u7cfb\u7684\u4e24\u4e2a\u8fdb\u7a0b\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u7ba1\u9053\u5206\u4e3a\u533f\u540d\u7ba1\u9053\u548c\u547d\u540d\u7ba1\u9053\u3002"),(0,a.yg)("h3",{id:"\u5171\u4eab\u5185\u5b58"},"\u5171\u4eab\u5185\u5b58"),(0,a.yg)("p",null,"\u5171\u4eab\u5185\u5b58\uff08Shared Memory\uff09\uff1a\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u8fdb\u7a0b\u95f4\u901a\u4fe1\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728\u591a\u4e2a\u8fdb\u7a0b\u4e4b\u95f4\u5171\u4eab\u540c\u4e00\u5757\u5185\u5b58\u533a\u57df\uff0c\u9700\u8981\u4f7f\u7528\u4fe1\u53f7\u91cf\u7b49\u540c\u6b65\u673a\u5236\u4fdd\u8bc1\u6570\u636e\u7684\u6b63\u786e\u6027\u3002"),(0,a.yg)("h3",{id:"\u6d88\u606f\u961f\u5217"},"\u6d88\u606f\u961f\u5217"),(0,a.yg)("p",null,"\u6d88\u606f\u961f\u5217\uff08Message Queue\uff09\uff1a\u662f\u4e00\u79cd\u53ef\u9760\u7684\u8fdb\u7a0b\u95f4\u901a\u4fe1\u65b9\u5f0f\uff0c\u5141\u8bb8\u4e00\u4e2a\u8fdb\u7a0b\u5411\u6d88\u606f\u961f\u5217\u53d1\u9001\u6d88\u606f\uff0c\u53e6\u4e00\u4e2a\u8fdb\u7a0b\u4ece\u8be5\u961f\u5217\u63a5\u6536\u6d88\u606f\u3002"),(0,a.yg)("h3",{id:"\u4fe1\u53f7\u91cf"},"\u4fe1\u53f7\u91cf"),(0,a.yg)("p",null,"\u4fe1\u53f7\u91cf\uff08Semaphore\uff09\uff1a\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u53d8\u91cf\uff0c\u4e3b\u8981\u7528\u4e8e\u591a\u4e2a\u8fdb\u7a0b\u5bf9\u5171\u4eab\u8d44\u6e90\u7684\u8bbf\u95ee\u63a7\u5236\u95ee\u9898\uff0c\u4ee5\u4fdd\u8bc1\u7a0b\u5e8f\u6b63\u5e38\u8fd0\u884c\u3002"),(0,a.yg)("h3",{id:"\u5957\u63a5\u5b57"},"\u5957\u63a5\u5b57"),(0,a.yg)("p",null,"\u5957\u63a5\u5b57\uff08Socket\uff09\uff1a\u662f\u4e00\u79cd\u7f51\u7edc\u7f16\u7a0b\u6280\u672f\uff0c\u4f46\u4e5f\u53ef\u7528\u4e8e\u5b9e\u73b0\u8fdb\u7a0b\u95f4\u901a\u4fe1\uff0c\u652f\u6301\u4e0d\u540c\u4e3b\u673a\u4e0a\u7684\u8fdb\u7a0b\u8fdb\u884c\u901a\u4fe1\u3002"),(0,a.yg)("h3",{id:"\u6587\u4ef6\u6620\u5c04"},"\u6587\u4ef6\u6620\u5c04"),(0,a.yg)("p",null,"\u6587\u4ef6\u6620\u5c04\uff08File Mapping\uff09\uff1a\u5c06\u78c1\u76d8\u4e0a\u7684\u6587\u4ef6\u6620\u5c04\u5230\u8fdb\u7a0b\u7684\u5730\u5740\u7a7a\u95f4\u4e2d\uff0c\u591a\u4e2a\u8fdb\u7a0b\u53ef\u4ee5\u540c\u65f6\u5bf9\u8be5\u6587\u4ef6\u8fdb\u884c\u8bfb\u5199\u64cd\u4f5c\uff0c\u9700\u8981\u4f7f\u7528\u540c\u6b65\u673a\u5236\u786e\u4fdd\u6570\u636e\u7684\u5b8c\u6574\u6027\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_43119867/article/details/130520252"},"CSDN-C++\u8fdb\u7a0b\u95f4\u901a\u4fe1\u7684\u591a\u79cd\u65b9\u5f0f\u53ca\u5b9e\u73b0"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5537],{15680:(e,r,t)=>{t.d(r,{xA:()=>c,yg:()=>g});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=n.createContext({}),u=function(e){var r=n.useContext(p),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},c=function(e){var r=u(e.components);return n.createElement(p.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),s=u(t),y=a,g=s["".concat(p,".").concat(y)]||s[y]||d[y]||o;return t?n.createElement(g,l(l({ref:r},c),{},{components:t})):n.createElement(g,l({ref:r},c))}));function g(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var i={};for(var p in r)hasOwnProperty.call(r,p)&&(i[p]=r[p]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var u=2;u{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=t(58168),a=(t(96540),t(15680));const o={},l="C++\u8fdb\u7a0b\u95f4\u901a\u4fe1",i={unversionedId:"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1",id:"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1",title:"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1",description:"\u7ba1\u9053",source:"@site/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1.md",sourceDirName:"study/program/CPP",slug:"/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1",permalink:"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CGI",permalink:"/docs/study/program/CPP/CGI"},next:{title:"CSharp",permalink:"/docs/study/program/CSharp/"}},p={},u=[{value:"\u7ba1\u9053",id:"\u7ba1\u9053",level:3},{value:"\u5171\u4eab\u5185\u5b58",id:"\u5171\u4eab\u5185\u5b58",level:3},{value:"\u6d88\u606f\u961f\u5217",id:"\u6d88\u606f\u961f\u5217",level:3},{value:"\u4fe1\u53f7\u91cf",id:"\u4fe1\u53f7\u91cf",level:3},{value:"\u5957\u63a5\u5b57",id:"\u5957\u63a5\u5b57",level:3},{value:"\u6587\u4ef6\u6620\u5c04",id:"\u6587\u4ef6\u6620\u5c04",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:u},s="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},c,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"c\u8fdb\u7a0b\u95f4\u901a\u4fe1"},"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1"),(0,a.yg)("h3",{id:"\u7ba1\u9053"},"\u7ba1\u9053"),(0,a.yg)("p",null,"\u7ba1\u9053\uff08Pipe\uff09\uff1a\u662f\u4e00\u79cd\u534a\u53cc\u5de5\u7684\u901a\u4fe1\u65b9\u5f0f\uff0c\u9002\u7528\u4e8e\u5177\u6709\u4eb2\u7f18\u5173\u7cfb\u7684\u4e24\u4e2a\u8fdb\u7a0b\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u7ba1\u9053\u5206\u4e3a\u533f\u540d\u7ba1\u9053\u548c\u547d\u540d\u7ba1\u9053\u3002"),(0,a.yg)("h3",{id:"\u5171\u4eab\u5185\u5b58"},"\u5171\u4eab\u5185\u5b58"),(0,a.yg)("p",null,"\u5171\u4eab\u5185\u5b58\uff08Shared Memory\uff09\uff1a\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u8fdb\u7a0b\u95f4\u901a\u4fe1\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728\u591a\u4e2a\u8fdb\u7a0b\u4e4b\u95f4\u5171\u4eab\u540c\u4e00\u5757\u5185\u5b58\u533a\u57df\uff0c\u9700\u8981\u4f7f\u7528\u4fe1\u53f7\u91cf\u7b49\u540c\u6b65\u673a\u5236\u4fdd\u8bc1\u6570\u636e\u7684\u6b63\u786e\u6027\u3002"),(0,a.yg)("h3",{id:"\u6d88\u606f\u961f\u5217"},"\u6d88\u606f\u961f\u5217"),(0,a.yg)("p",null,"\u6d88\u606f\u961f\u5217\uff08Message Queue\uff09\uff1a\u662f\u4e00\u79cd\u53ef\u9760\u7684\u8fdb\u7a0b\u95f4\u901a\u4fe1\u65b9\u5f0f\uff0c\u5141\u8bb8\u4e00\u4e2a\u8fdb\u7a0b\u5411\u6d88\u606f\u961f\u5217\u53d1\u9001\u6d88\u606f\uff0c\u53e6\u4e00\u4e2a\u8fdb\u7a0b\u4ece\u8be5\u961f\u5217\u63a5\u6536\u6d88\u606f\u3002"),(0,a.yg)("h3",{id:"\u4fe1\u53f7\u91cf"},"\u4fe1\u53f7\u91cf"),(0,a.yg)("p",null,"\u4fe1\u53f7\u91cf\uff08Semaphore\uff09\uff1a\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u53d8\u91cf\uff0c\u4e3b\u8981\u7528\u4e8e\u591a\u4e2a\u8fdb\u7a0b\u5bf9\u5171\u4eab\u8d44\u6e90\u7684\u8bbf\u95ee\u63a7\u5236\u95ee\u9898\uff0c\u4ee5\u4fdd\u8bc1\u7a0b\u5e8f\u6b63\u5e38\u8fd0\u884c\u3002"),(0,a.yg)("h3",{id:"\u5957\u63a5\u5b57"},"\u5957\u63a5\u5b57"),(0,a.yg)("p",null,"\u5957\u63a5\u5b57\uff08Socket\uff09\uff1a\u662f\u4e00\u79cd\u7f51\u7edc\u7f16\u7a0b\u6280\u672f\uff0c\u4f46\u4e5f\u53ef\u7528\u4e8e\u5b9e\u73b0\u8fdb\u7a0b\u95f4\u901a\u4fe1\uff0c\u652f\u6301\u4e0d\u540c\u4e3b\u673a\u4e0a\u7684\u8fdb\u7a0b\u8fdb\u884c\u901a\u4fe1\u3002"),(0,a.yg)("h3",{id:"\u6587\u4ef6\u6620\u5c04"},"\u6587\u4ef6\u6620\u5c04"),(0,a.yg)("p",null,"\u6587\u4ef6\u6620\u5c04\uff08File Mapping\uff09\uff1a\u5c06\u78c1\u76d8\u4e0a\u7684\u6587\u4ef6\u6620\u5c04\u5230\u8fdb\u7a0b\u7684\u5730\u5740\u7a7a\u95f4\u4e2d\uff0c\u591a\u4e2a\u8fdb\u7a0b\u53ef\u4ee5\u540c\u65f6\u5bf9\u8be5\u6587\u4ef6\u8fdb\u884c\u8bfb\u5199\u64cd\u4f5c\uff0c\u9700\u8981\u4f7f\u7528\u540c\u6b65\u673a\u5236\u786e\u4fdd\u6570\u636e\u7684\u5b8c\u6574\u6027\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_43119867/article/details/130520252"},"CSDN-C++\u8fdb\u7a0b\u95f4\u901a\u4fe1\u7684\u591a\u79cd\u65b9\u5f0f\u53ca\u5b9e\u73b0"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5886a939.4e9312d1.js b/assets/js/5886a939.536a5e81.js similarity index 98% rename from assets/js/5886a939.4e9312d1.js rename to assets/js/5886a939.536a5e81.js index 7f77059dc..a1c3d4aea 100644 --- a/assets/js/5886a939.4e9312d1.js +++ b/assets/js/5886a939.536a5e81.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7840],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=l(r),y=a,m=u["".concat(c,".").concat(y)]||u[y]||d[y]||o;return r?n.createElement(m,i(i({ref:t},p),{},{components:r})):n.createElement(m,i({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[u]="string"==typeof e?e:a,i[1]=s;for(var l=2;l{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={sidebar_position:1},i="\u672a\u6574\u7406",s={unversionedId:"study/system/index",id:"study/system/index",title:"\u672a\u6574\u7406",description:"\u5b66\u4e60\u8d44\u6599",source:"@site/docs/study/system/index.md",sourceDirName:"study/system",slug:"/study/system/",permalink:"/docs/study/system/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",permalink:"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0"},next:{title:"CPU\u7ebf\u7a0b\u5e76\u53d1",permalink:"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1"}},c={},l=[{value:"\u5b66\u4e60\u8d44\u6599",id:"\u5b66\u4e60\u8d44\u6599",level:3},{value:"mac \u7528\u4e45\u4e86\uff0c\u5982\u4f55\u6e05\u7406\u6bd4\u8f83\u5927\u7684\u6587\u4ef6",id:"mac-\u7528\u4e45\u4e86\u5982\u4f55\u6e05\u7406\u6bd4\u8f83\u5927\u7684\u6587\u4ef6",level:3}],p={toc:l},u="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u672a\u6574\u7406"},"\u672a\u6574\u7406"),(0,a.yg)("h3",{id:"\u5b66\u4e60\u8d44\u6599"},"\u5b66\u4e60\u8d44\u6599"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.junmajinlong.com/os/index/"},"\u9a8f\u9a6c\u91d1\u9f99-\u64cd\u4f5c\u7cfb\u7edf\u7cfb\u5217\u6587\u7ae0")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.zhihu.com/people/zhang-yan-fei-26-61/posts"},"\u77e5\u4e4e-\u5f20\u5f66\u98de"))),(0,a.yg)("h3",{id:"mac-\u7528\u4e45\u4e86\u5982\u4f55\u6e05\u7406\u6bd4\u8f83\u5927\u7684\u6587\u4ef6"},"mac \u7528\u4e45\u4e86\uff0c\u5982\u4f55\u6e05\u7406\u6bd4\u8f83\u5927\u7684\u6587\u4ef6"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"cd ~/Library\ndu -s ./* | sort -rn|head\ndu -sh ./* | sort -rn|head\n")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7840],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=l(r),y=a,m=u["".concat(c,".").concat(y)]||u[y]||d[y]||o;return r?n.createElement(m,i(i({ref:t},p),{},{components:r})):n.createElement(m,i({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[u]="string"==typeof e?e:a,i[1]=s;for(var l=2;l{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={sidebar_position:1},i="\u672a\u6574\u7406",s={unversionedId:"study/system/index",id:"study/system/index",title:"\u672a\u6574\u7406",description:"\u5b66\u4e60\u8d44\u6599",source:"@site/docs/study/system/index.md",sourceDirName:"study/system",slug:"/study/system/",permalink:"/docs/study/system/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",permalink:"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0"},next:{title:"CPU\u7ebf\u7a0b\u5e76\u53d1",permalink:"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1"}},c={},l=[{value:"\u5b66\u4e60\u8d44\u6599",id:"\u5b66\u4e60\u8d44\u6599",level:3},{value:"mac \u7528\u4e45\u4e86\uff0c\u5982\u4f55\u6e05\u7406\u6bd4\u8f83\u5927\u7684\u6587\u4ef6",id:"mac-\u7528\u4e45\u4e86\u5982\u4f55\u6e05\u7406\u6bd4\u8f83\u5927\u7684\u6587\u4ef6",level:3}],p={toc:l},u="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u672a\u6574\u7406"},"\u672a\u6574\u7406"),(0,a.yg)("h3",{id:"\u5b66\u4e60\u8d44\u6599"},"\u5b66\u4e60\u8d44\u6599"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.junmajinlong.com/os/index/"},"\u9a8f\u9a6c\u91d1\u9f99-\u64cd\u4f5c\u7cfb\u7edf\u7cfb\u5217\u6587\u7ae0")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.zhihu.com/people/zhang-yan-fei-26-61/posts"},"\u77e5\u4e4e-\u5f20\u5f66\u98de"))),(0,a.yg)("h3",{id:"mac-\u7528\u4e45\u4e86\u5982\u4f55\u6e05\u7406\u6bd4\u8f83\u5927\u7684\u6587\u4ef6"},"mac \u7528\u4e45\u4e86\uff0c\u5982\u4f55\u6e05\u7406\u6bd4\u8f83\u5927\u7684\u6587\u4ef6"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"cd ~/Library\ndu -s ./* | sort -rn|head\ndu -sh ./* | sort -rn|head\n")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5ae76acd.67e6ece9.js b/assets/js/5ae76acd.e6da5bbb.js similarity index 99% rename from assets/js/5ae76acd.67e6ece9.js rename to assets/js/5ae76acd.e6da5bbb.js index a4ba15c24..d3fb461c9 100644 --- a/assets/js/5ae76acd.67e6ece9.js +++ b/assets/js/5ae76acd.e6da5bbb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6427],{15680:(e,t,r)=>{r.d(t,{xA:()=>y,yg:()=>g});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},y=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),s=u(r),m=a,g=s["".concat(p,".").concat(m)]||s[m]||c[m]||o;return r?n.createElement(g,l(l({ref:t},y),{},{components:r})):n.createElement(g,l({ref:t},y))}));function g(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=m;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>c,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",id:"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",title:"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",description:"1. \u5d4c\u5165\u5f0flinux \u548c \u7528stm32\u8fdb\u884c\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1 \u8fd9\u4e24\u8005\u4e4b\u95f4\u6709\u4ec0\u4e48\u5173\u8054\u6027\u5417\uff1f",source:"@site/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1.md",sourceDirName:"study/hard",slug:"/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",permalink:"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",permalink:"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a"},next:{title:"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",permalink:"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b"}},p={},u=[],y={toc:u},s="wrapper";function c(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},y,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.zhihu.com/question/53880054/answer/164501004"},"\u5d4c\u5165\u5f0flinux \u548c \u7528stm32\u8fdb\u884c\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1 \u8fd9\u4e24\u8005\u4e4b\u95f4\u6709\u4ec0\u4e48\u5173\u8054\u6027\u5417\uff1f"),(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},"=====\u57fa\u4e8eSTM32\u7684\u5f00\u53d1\u5c5e\u4e8e\u5fae\u63a7\u5236\u5668\u5f00\u53d1\u9886\u57df\uff0c\u4e3b\u8981\u5f00\u53d1\u5de5\u5177\u662f",(0,a.yg)("strong",{parentName:"li"},"keil"),"\u6216",(0,a.yg)("strong",{parentName:"li"},"IAR"),"\uff0c\u8fd9\u79cd\u5f00\u53d1\u66f4\u51c6\u786e\u7684\u8bf4\u6cd5\u662f",(0,a.yg)("strong",{parentName:"li"},"\u5355\u7247\u673a\u5f00\u53d1"),"\u6216\u8005\u786c\u4ef6\u5f00\u53d1\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5d4c\u5165\u5f0f\u5f00\u53d1\uff0c\u5f00\u53d1\u73af\u5883\u662f",(0,a.yg)("strong",{parentName:"li"},"\u57fa\u4e8eLinux\u64cd\u4f5c\u7cfb\u7edf"),"\uff0c\u8fd9\u79cd\u5f00\u53d1\u4e00\u822c\u4f1a\u5206\u4e3a\u51e0\u4e2a\u5c42\u6b21\uff1a\u9a71\u52a8\u5f00\u53d1\u3001\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5f00\u53d1\u3001\u5e94\u7528\u5c42\u5f00\u53d1\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u5982\u679c\u73a9\u8fc7Arduino\u548c\u6811\u8393\u6d3e\uff0c\u90a3\u4e48\u8fd9\u4e2a\u5c31\u5f88\u597d\u7406\u89e3\u4e86\u3002STM32\u5f00\u53d1\u548cArduino\u662f\u540c\u4e00\u4e2a\u5c42\u6b21\uff0c\u5904\u4e8e\u5fae\u63a7\u5236\u5668\u7ea7\u522b\uff1b\u5d4c\u5165\u5f0fLinux\u5f00\u53d1\u548c\u6811\u8393\u6d3e\u4e00\u4e2a\u5c42\u6b21\uff0c\u5c5e\u4e8e\u5fae\u5904\u7406\u5668\u7ea7\u522b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u5355\u7247\u673a\u5f00\u53d1\u4e3b\u8981\u5728\u4e8e",(0,a.yg)("strong",{parentName:"li"},"\u63a7\u5236"),"\u3001",(0,a.yg)("strong",{parentName:"li"},"\u68c0\u6d4b"),"\u548c",(0,a.yg)("strong",{parentName:"li"},"\u4f20\u8f93"),"\u6570\u636e\uff0c\u6bd4\u5982\u63a7\u5236\u7ee7\u7535\u5668\u5f00\u5173\u4ee5\u63a7\u5236\u95e8\u9501\uff0c\u68c0\u6d4b\u6e29\u6e7f\u5ea6\u4e0a\u4f20\u6570\u636e\u5230\u7f51\u5173\u3002\u800c\u5904\u7406\u5668\u9664\u4e86\u53ef\u4ee5\u505a\u5355\u7247\u673a\u7684\u4e8b\uff0c\u8fd8\u53ef\u4ee5\u5904\u7406\u97f3\u89c6\u9891\u7b49",(0,a.yg)("strong",{parentName:"li"},"\u8ba1\u7b97\u91cf"),"\u5f88\u5927\u7684\u4efb\u52a1\uff0c\u6709",(0,a.yg)("strong",{parentName:"li"},"\u6587\u4ef6\u7ba1\u7406\u7cfb\u7edf"),"\u4e5f\u6709",(0,a.yg)("strong",{parentName:"li"},"\u66f4\u591a\u7684\u5b58\u50a8\u7a7a\u95f4"),"\uff0c\u4ee5\u53ca\u8be5\u5e73\u53f0\u6240\u63d0\u4f9b\u7684\u300c",(0,a.yg)("strong",{parentName:"li"},"\u5f00\u5c01\u5373\u7528"),"\u300d\u7684\u5de5\u5177\uff08\u5373\u5b89\u88c5\u540e\u5c31\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\uff09\uff0c\u6bd4\u5982\u5728\u6811\u8393\u6d3e\u4e0a\u8fd0\u884c\u4e00\u4e2a\u4eba\u8138\u68c0\u6d4b\u7cfb\u7edf\u662f\u6ca1\u95ee\u9898\u7684\uff0c\u5728\u6811\u8393\u6d3e\u4e0a\u642d\u5efaWeb\u7f51\u7ad9\u4e5f\u662f\u5f88\u65b9\u4fbf\u7684\u3002"),(0,a.yg)("li",{parentName:"ol"},"=====\u5d4c\u5165\u5f0f\u5f00\u53d1\uff0c\u4e3b\u8981\u6709\u4e09\u6761\u6280\u672f\u8def\u7ebf\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"51\u5355\u7247\u673a"),(0,a.yg)("li",{parentName:"ul"},"STM32 + RTOS"),(0,a.yg)("li",{parentName:"ul"},"ARM + Linux\xa0 \xa0\xa0"),(0,a.yg)("li",{parentName:"ul"},"51\u5355\u7247\u673a\u4e3b\u8981\u7528\u5728\u4e00\u4e9b\u63a7\u5236\u7b80\u5355\u7684\u7535\u8def\u3001\u7535\u5668\u884c\u4e1a"),(0,a.yg)("li",{parentName:"ul"},"STM32 + RTOS \u4e3b\u8981\u7528\u5728\u4e00\u4e9b\u5b9e\u65f6\u8981\u6c42\u6bd4\u8f83\u9ad8\u7684\u884c\u4e1a\uff1a\u822a\u7a7a\u822a\u5929\u7b49\uff0c\u8fd8\u6709\u7269\u8054\u7f51\u3001\u5de5\u4e1a\u63a7\u5236"),(0,a.yg)("li",{parentName:"ul"},"ARM + Linux\u4e3b\u8981\u7528\u5728\u6d88\u8d39\u7535\u5b50\u9886\u57df\uff1a\u624b\u673a\u3001\u5e73\u677f\u3001\u667a\u80fd\u624b\u8868\u3001\u667a\u80fd\u97f3\u7bb1\u7b49"))),(0,a.yg)("li",{parentName:"ol"},"=====\u6309\u7167\u7cfb\u5217\u5212\u5206\uff1a",(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u5fae\u63a7\u5236\u5668\u7cfb\u5217\uff1a8051, MSP 430 ,\xa0"),"STM32 F0-3( ARM Cortext M0 - M3\u7cfb\u5217\uff09\u7b49"),(0,a.yg)("li",{parentName:"ol"},"\u4e3b\u8981\u7279\u70b9\u6ca1\u6709",(0,a.yg)("em",{parentName:"li"},"\u5185\u5b58\u7ba1\u7406\u5355\u5143"),"\uff0c\u4e0d\u80fd\u8fd0\u884clinux \u8fd9\u7c7b\u6709\u7740\u865a\u62df\u5185\u5b58\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u53ea\u80fd\u8fd0\u884c\u88f8\u673a\u7a0b\u5e8f\u6216\u662fucOS\u4e00\u7c7b\u7684\u5b9e\u65f6\u64cd\u4f5c\u7cfb\u7edf\u3002\u4e3b\u8981\u5de5\u4f5c\u5c31\u662f\u5916\u8bbe\u9a71\u52a8\u5f00\u53d1\uff08\u6bd4\u5982\u5199\u4e2a\u7f16\u7801\u5668\u7684\u9a71\u52a8\uff0c\u6db2\u6676\u7684\u9a71\u52a8\uff0cusb\u7684\u9a71\u52a8\uff09\u548c\u57fa\u4e8e\u9a71\u52a8\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\uff0c\u5982\u63a7\u5236\u7c7b\u548c\u7b80\u5355\u7684\u56fe\u50cf\u5904\u7406\u529f\u80fd\u3002"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u5fae\u5904\u7406\u5668\u7cfb\u5217"),"\uff1a ARM Cortex A\u7cfb\u5217\u7684\u5904\u7406\u5668"),(0,a.yg)("li",{parentName:"ol"},"\u6709",(0,a.yg)("em",{parentName:"li"},"\u5185\u5b58\u7ba1\u7406\u5355\u5143MMU"),",\u53ef\u4ee5\u8fd0\u884clinux\u7a0b\u5e8f\uff0c\u5f00\u53d1\u5176\u5b9e\u548c\u5728windows pc\u4e0a\u5199\u7a0b\u5e8f\u662f\u4e00\u6837\u7684\uff0c\u53ea\u662f\u7531\u4e8earm\u7f16\u8bd1\u6162\uff0c\u4e00\u822c\u4f1a\u9009\u5728\u5728PC\u4e0a\u7528\u9488\u5bf9ARM\u7279\u5b9a\u7f16\u8bd1\u5668\u53bb\u7f16\u8bd1\u51fa\u7a0b\u5e8f\u653e\u5728ARM\u4e0a\u8fd0\u884c\uff0c\u5c31\u662f\u4ea4\u53c9\u7f16\u8bd1\u3002\u8fd9\u91cc\u6d89\u53ca\u5230\u7684\u9a71\u52a8\u5f00\u53d1\u6bd4\u8f83\u590d\u6742\uff0c\u4e00\u822c\u4f1a\u9075\u5faalinux\u5b9a\u4e49\u7684\u89c4\u5219\u53bb\u5199\u3002")))))))}c.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6427],{15680:(e,t,r)=>{r.d(t,{xA:()=>y,yg:()=>g});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},y=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),s=u(r),m=a,g=s["".concat(p,".").concat(m)]||s[m]||c[m]||o;return r?n.createElement(g,l(l({ref:t},y),{},{components:r})):n.createElement(g,l({ref:t},y))}));function g(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=m;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>c,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",id:"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",title:"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",description:"1. \u5d4c\u5165\u5f0flinux \u548c \u7528stm32\u8fdb\u884c\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1 \u8fd9\u4e24\u8005\u4e4b\u95f4\u6709\u4ec0\u4e48\u5173\u8054\u6027\u5417\uff1f",source:"@site/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1.md",sourceDirName:"study/hard",slug:"/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",permalink:"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a",permalink:"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a"},next:{title:"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",permalink:"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b"}},p={},u=[],y={toc:u},s="wrapper";function c(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},y,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.zhihu.com/question/53880054/answer/164501004"},"\u5d4c\u5165\u5f0flinux \u548c \u7528stm32\u8fdb\u884c\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1 \u8fd9\u4e24\u8005\u4e4b\u95f4\u6709\u4ec0\u4e48\u5173\u8054\u6027\u5417\uff1f"),(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},"=====\u57fa\u4e8eSTM32\u7684\u5f00\u53d1\u5c5e\u4e8e\u5fae\u63a7\u5236\u5668\u5f00\u53d1\u9886\u57df\uff0c\u4e3b\u8981\u5f00\u53d1\u5de5\u5177\u662f",(0,a.yg)("strong",{parentName:"li"},"keil"),"\u6216",(0,a.yg)("strong",{parentName:"li"},"IAR"),"\uff0c\u8fd9\u79cd\u5f00\u53d1\u66f4\u51c6\u786e\u7684\u8bf4\u6cd5\u662f",(0,a.yg)("strong",{parentName:"li"},"\u5355\u7247\u673a\u5f00\u53d1"),"\u6216\u8005\u786c\u4ef6\u5f00\u53d1\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5d4c\u5165\u5f0f\u5f00\u53d1\uff0c\u5f00\u53d1\u73af\u5883\u662f",(0,a.yg)("strong",{parentName:"li"},"\u57fa\u4e8eLinux\u64cd\u4f5c\u7cfb\u7edf"),"\uff0c\u8fd9\u79cd\u5f00\u53d1\u4e00\u822c\u4f1a\u5206\u4e3a\u51e0\u4e2a\u5c42\u6b21\uff1a\u9a71\u52a8\u5f00\u53d1\u3001\u64cd\u4f5c\u7cfb\u7edf\u5c42\u5f00\u53d1\u3001\u5e94\u7528\u5c42\u5f00\u53d1\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u5982\u679c\u73a9\u8fc7Arduino\u548c\u6811\u8393\u6d3e\uff0c\u90a3\u4e48\u8fd9\u4e2a\u5c31\u5f88\u597d\u7406\u89e3\u4e86\u3002STM32\u5f00\u53d1\u548cArduino\u662f\u540c\u4e00\u4e2a\u5c42\u6b21\uff0c\u5904\u4e8e\u5fae\u63a7\u5236\u5668\u7ea7\u522b\uff1b\u5d4c\u5165\u5f0fLinux\u5f00\u53d1\u548c\u6811\u8393\u6d3e\u4e00\u4e2a\u5c42\u6b21\uff0c\u5c5e\u4e8e\u5fae\u5904\u7406\u5668\u7ea7\u522b\u3002"),(0,a.yg)("li",{parentName:"ol"},"\u5355\u7247\u673a\u5f00\u53d1\u4e3b\u8981\u5728\u4e8e",(0,a.yg)("strong",{parentName:"li"},"\u63a7\u5236"),"\u3001",(0,a.yg)("strong",{parentName:"li"},"\u68c0\u6d4b"),"\u548c",(0,a.yg)("strong",{parentName:"li"},"\u4f20\u8f93"),"\u6570\u636e\uff0c\u6bd4\u5982\u63a7\u5236\u7ee7\u7535\u5668\u5f00\u5173\u4ee5\u63a7\u5236\u95e8\u9501\uff0c\u68c0\u6d4b\u6e29\u6e7f\u5ea6\u4e0a\u4f20\u6570\u636e\u5230\u7f51\u5173\u3002\u800c\u5904\u7406\u5668\u9664\u4e86\u53ef\u4ee5\u505a\u5355\u7247\u673a\u7684\u4e8b\uff0c\u8fd8\u53ef\u4ee5\u5904\u7406\u97f3\u89c6\u9891\u7b49",(0,a.yg)("strong",{parentName:"li"},"\u8ba1\u7b97\u91cf"),"\u5f88\u5927\u7684\u4efb\u52a1\uff0c\u6709",(0,a.yg)("strong",{parentName:"li"},"\u6587\u4ef6\u7ba1\u7406\u7cfb\u7edf"),"\u4e5f\u6709",(0,a.yg)("strong",{parentName:"li"},"\u66f4\u591a\u7684\u5b58\u50a8\u7a7a\u95f4"),"\uff0c\u4ee5\u53ca\u8be5\u5e73\u53f0\u6240\u63d0\u4f9b\u7684\u300c",(0,a.yg)("strong",{parentName:"li"},"\u5f00\u5c01\u5373\u7528"),"\u300d\u7684\u5de5\u5177\uff08\u5373\u5b89\u88c5\u540e\u5c31\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\uff09\uff0c\u6bd4\u5982\u5728\u6811\u8393\u6d3e\u4e0a\u8fd0\u884c\u4e00\u4e2a\u4eba\u8138\u68c0\u6d4b\u7cfb\u7edf\u662f\u6ca1\u95ee\u9898\u7684\uff0c\u5728\u6811\u8393\u6d3e\u4e0a\u642d\u5efaWeb\u7f51\u7ad9\u4e5f\u662f\u5f88\u65b9\u4fbf\u7684\u3002"),(0,a.yg)("li",{parentName:"ol"},"=====\u5d4c\u5165\u5f0f\u5f00\u53d1\uff0c\u4e3b\u8981\u6709\u4e09\u6761\u6280\u672f\u8def\u7ebf\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"51\u5355\u7247\u673a"),(0,a.yg)("li",{parentName:"ul"},"STM32 + RTOS"),(0,a.yg)("li",{parentName:"ul"},"ARM + Linux\xa0 \xa0\xa0"),(0,a.yg)("li",{parentName:"ul"},"51\u5355\u7247\u673a\u4e3b\u8981\u7528\u5728\u4e00\u4e9b\u63a7\u5236\u7b80\u5355\u7684\u7535\u8def\u3001\u7535\u5668\u884c\u4e1a"),(0,a.yg)("li",{parentName:"ul"},"STM32 + RTOS \u4e3b\u8981\u7528\u5728\u4e00\u4e9b\u5b9e\u65f6\u8981\u6c42\u6bd4\u8f83\u9ad8\u7684\u884c\u4e1a\uff1a\u822a\u7a7a\u822a\u5929\u7b49\uff0c\u8fd8\u6709\u7269\u8054\u7f51\u3001\u5de5\u4e1a\u63a7\u5236"),(0,a.yg)("li",{parentName:"ul"},"ARM + Linux\u4e3b\u8981\u7528\u5728\u6d88\u8d39\u7535\u5b50\u9886\u57df\uff1a\u624b\u673a\u3001\u5e73\u677f\u3001\u667a\u80fd\u624b\u8868\u3001\u667a\u80fd\u97f3\u7bb1\u7b49"))),(0,a.yg)("li",{parentName:"ol"},"=====\u6309\u7167\u7cfb\u5217\u5212\u5206\uff1a",(0,a.yg)("ol",{parentName:"li"},(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u5fae\u63a7\u5236\u5668\u7cfb\u5217\uff1a8051, MSP 430 ,\xa0"),"STM32 F0-3( ARM Cortext M0 - M3\u7cfb\u5217\uff09\u7b49"),(0,a.yg)("li",{parentName:"ol"},"\u4e3b\u8981\u7279\u70b9\u6ca1\u6709",(0,a.yg)("em",{parentName:"li"},"\u5185\u5b58\u7ba1\u7406\u5355\u5143"),"\uff0c\u4e0d\u80fd\u8fd0\u884clinux \u8fd9\u7c7b\u6709\u7740\u865a\u62df\u5185\u5b58\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u53ea\u80fd\u8fd0\u884c\u88f8\u673a\u7a0b\u5e8f\u6216\u662fucOS\u4e00\u7c7b\u7684\u5b9e\u65f6\u64cd\u4f5c\u7cfb\u7edf\u3002\u4e3b\u8981\u5de5\u4f5c\u5c31\u662f\u5916\u8bbe\u9a71\u52a8\u5f00\u53d1\uff08\u6bd4\u5982\u5199\u4e2a\u7f16\u7801\u5668\u7684\u9a71\u52a8\uff0c\u6db2\u6676\u7684\u9a71\u52a8\uff0cusb\u7684\u9a71\u52a8\uff09\u548c\u57fa\u4e8e\u9a71\u52a8\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\uff0c\u5982\u63a7\u5236\u7c7b\u548c\u7b80\u5355\u7684\u56fe\u50cf\u5904\u7406\u529f\u80fd\u3002"),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u5fae\u5904\u7406\u5668\u7cfb\u5217"),"\uff1a ARM Cortex A\u7cfb\u5217\u7684\u5904\u7406\u5668"),(0,a.yg)("li",{parentName:"ol"},"\u6709",(0,a.yg)("em",{parentName:"li"},"\u5185\u5b58\u7ba1\u7406\u5355\u5143MMU"),",\u53ef\u4ee5\u8fd0\u884clinux\u7a0b\u5e8f\uff0c\u5f00\u53d1\u5176\u5b9e\u548c\u5728windows pc\u4e0a\u5199\u7a0b\u5e8f\u662f\u4e00\u6837\u7684\uff0c\u53ea\u662f\u7531\u4e8earm\u7f16\u8bd1\u6162\uff0c\u4e00\u822c\u4f1a\u9009\u5728\u5728PC\u4e0a\u7528\u9488\u5bf9ARM\u7279\u5b9a\u7f16\u8bd1\u5668\u53bb\u7f16\u8bd1\u51fa\u7a0b\u5e8f\u653e\u5728ARM\u4e0a\u8fd0\u884c\uff0c\u5c31\u662f\u4ea4\u53c9\u7f16\u8bd1\u3002\u8fd9\u91cc\u6d89\u53ca\u5230\u7684\u9a71\u52a8\u5f00\u53d1\u6bd4\u8f83\u590d\u6742\uff0c\u4e00\u822c\u4f1a\u9075\u5faalinux\u5b9a\u4e49\u7684\u89c4\u5219\u53bb\u5199\u3002")))))))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5b169d85.d8a0a0a7.js b/assets/js/5b169d85.d7df7775.js similarity index 99% rename from assets/js/5b169d85.d8a0a0a7.js rename to assets/js/5b169d85.d7df7775.js index 19658c686..f03c22e6f 100644 --- a/assets/js/5b169d85.d8a0a0a7.js +++ b/assets/js/5b169d85.d7df7775.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8113],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),l=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=l(e.components);return r.createElement(s.Provider,{value:t},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),c=l(n),m=a,y=c["".concat(s,".").concat(m)]||c[m]||d[m]||o;return n?r.createElement(y,i(i({ref:t},u),{},{components:n})):r.createElement(y,i({ref:t},u))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,i=new Array(o);i[0]=m;var p={};for(var s in t)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p[c]="string"==typeof e?e:a,i[1]=p;for(var l=2;l{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>l});var r=n(58168),a=(n(96540),n(15680));const o={},i=void 0,p={unversionedId:"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",id:"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",title:"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",description:"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive",source:"@site/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316.md",sourceDirName:"study/back/API\u7f51\u5173",slug:"/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",permalink:"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Apache APISIX",permalink:"/docs/study/back/API\u7f51\u5173/APISIX"},next:{title:"OpenResty",permalink:"/docs/study/back/API\u7f51\u5173/OpenResty"}},s={},l=[{value:"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive",id:"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive",level:3},{value:"apisix\u7684\u8def\u7531\u589e\u52a0keep-alive",id:"apisix\u7684\u8def\u7531\u589e\u52a0keep-alive",level:3}],u={toc:l},c="wrapper";function d(e){let{components:t,...n}=e;return(0,a.yg)(c,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive"},"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5982\u679c\u4f7f\u7528\u7684SpringBoot\u7684undertow \u5355\u4f4d\u4e3a\u6beb\u79d2\nserver.undertow.always-set-keep-alive=true\nserver.undertow.keep-alive-timeout=5000000\n")),(0,a.yg)("p",null,"\u9700\u8981\u786e\u4fdd\u4e0a\u6e38\u670d\u52a1\u6709\u8db3\u591f\u591a\u7684CPU\u548c\u5185\u5b58\uff0c\u5426\u5219\u6027\u80fd\u8dd1\u4e0d\u8d77\u6765"),(0,a.yg)("h3",{id:"apisix\u7684\u8def\u7531\u589e\u52a0keep-alive"},"apisix\u7684\u8def\u7531\u589e\u52a0keep-alive"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'# \u9700\u8981\u5728upstream\u589e\u52a0\u5982\u4e0b\n# size\u53c2\u6570\u5b9a\u4e49\u4e86\u8fde\u63a5\u6c60\u7684\u5927\u5c0f\uff0c\u5373\u8fde\u63a5\u6c60\u4e2d\u6700\u591a\u53ef\u4ee5\u4fdd\u5b58\u7684\u8fde\u63a5\u6570\u91cf\u3002\u8fd9\u91cc\u8bbe\u7f6e\u4e3a 32\uff0c\u8868\u793a\u6700\u591a\u6709 32 \u4e2a\u4e0e\u4e0a\u6e38\u670d\u52a1\u5668\u7684\u8fde\u63a5\u53ef\u4ee5\u88ab\u590d\u7528\u3002\n# requests\u53c2\u6570\u6307\u5b9a\u4e86\u4e00\u4e2a\u8fde\u63a5\u53ef\u4ee5\u88ab\u590d\u7528\u7684\u6700\u5927\u8bf7\u6c42\u6b21\u6570\u3002\u5f53\u4e00\u4e2a\u8fde\u63a5\u88ab\u4f7f\u7528\u7684\u8bf7\u6c42\u6b21\u6570\u8fbe\u5230\u8fd9\u4e2a\u503c\u540e\uff0c\u8fde\u63a5\u5c06\u88ab\u5173\u95ed\u5e76\u91cd\u65b0\u5efa\u7acb\u3002\u8fd9\u91cc\u8bbe\u7f6e\u4e3a 1000\u3002\n# idle_timeout\u53c2\u6570\u5b9a\u4e49\u4e86\u8fde\u63a5\u5728\u7a7a\u95f2\u72b6\u6001\u4e0b\u53ef\u4ee5\u5b58\u6d3b\u7684\u65f6\u95f4\uff08\u5355\u4f4d\u662f\u79d2\uff09\u3002\u5982\u679c\u4e00\u4e2a\u8fde\u63a5\u5728idle_timeout\u79d2\u5185\u6ca1\u6709\u88ab\u4f7f\u7528\uff0c\u5b83\u5c06\u88ab\u5173\u95ed\u3002\u8fd9\u91cc\u8bbe\u7f6e\u4e3a 60 \u79d2\u3002\n,"keepalive_pool":{"idle_timeout":60,"requests":1000,"size":32}\n# \u7136\u540e\u66f4\u65b0\n./etcdctl put /apisix/routes/00000000000000000956 \'{"upstream":{"timeout":{"connect":180,"read":180,"send":180},"keepalive_pool":{"idle_timeout":60000,"requests":1000,"size":320},"nodes":{"10.0.102.139:20001":100},"pass_host":"node","type":"roundrobin","scheme":"https","hash_on":"vars"},"status":1,"priority":0,"vars":[["http_X-SW-Authorization-TenantCode","==","tenant"],["http_X-SW-Authorization-AppCode","IN",["","testapp"]]],"name":"tenant_\u52a0\u89e3\u5bc6\u670d\u52a1_tenant_\u4e1a\u52a1","plugins":{},"uris":["/pki/*"],"id":"00000000000000000956","create_time":1729748682,"update_time":1729818639}\'\n')),(0,a.yg)("p",null,'{\n"upstream": {\n"timeout": {\n"connect": 180,\n"read": 180,\n"send": 180\n},\n"keepalive',(0,a.yg)("em",{parentName:"p"},'pool": {\n"idle_timeout": 60,\n"requests": 1000,\n"size": 320\n},\n"nodes": {\n"10.0.102.139:20001": 100\n},\n"pass_host": "node",\n"type": "roundrobin",\n"scheme": "https",\n"hash_on": "vars"\n},\n"status": 1,\n"priority": 0,\n"vars": [\n','[\n"http_X-SW-Authorization-TenantCode",\n"==",\n"tenant"\n]',',\n[\n"http_X-SW-Authorization-AppCode",\n"IN",\n','[\n"",\n"testapp"\n]','\n]\n],\n"name": "tenant'),"\u52a0\u89e3\u5bc6\u670d\u52a1",(0,a.yg)("em",{parentName:"p"},"tenant"),'\u4e1a\u52a1",\n"plugins": {},\n"uris": ','[\n"/pki/*"\n]',',\n"id": "00000000000000000956",\n"create_time": 1729748682,\n"update_time": 1729818639\n}'))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8113],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),l=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=l(e.components);return r.createElement(s.Provider,{value:t},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),c=l(n),m=a,y=c["".concat(s,".").concat(m)]||c[m]||d[m]||o;return n?r.createElement(y,i(i({ref:t},u),{},{components:n})):r.createElement(y,i({ref:t},u))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,i=new Array(o);i[0]=m;var p={};for(var s in t)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p[c]="string"==typeof e?e:a,i[1]=p;for(var l=2;l{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>l});var r=n(58168),a=(n(96540),n(15680));const o={},i=void 0,p={unversionedId:"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",id:"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",title:"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",description:"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive",source:"@site/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316.md",sourceDirName:"study/back/API\u7f51\u5173",slug:"/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",permalink:"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Apache APISIX",permalink:"/docs/study/back/API\u7f51\u5173/APISIX"},next:{title:"OpenResty",permalink:"/docs/study/back/API\u7f51\u5173/OpenResty"}},s={},l=[{value:"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive",id:"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive",level:3},{value:"apisix\u7684\u8def\u7531\u589e\u52a0keep-alive",id:"apisix\u7684\u8def\u7531\u589e\u52a0keep-alive",level:3}],u={toc:l},c="wrapper";function d(e){let{components:t,...n}=e;return(0,a.yg)(c,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive"},"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5982\u679c\u4f7f\u7528\u7684SpringBoot\u7684undertow \u5355\u4f4d\u4e3a\u6beb\u79d2\nserver.undertow.always-set-keep-alive=true\nserver.undertow.keep-alive-timeout=5000000\n")),(0,a.yg)("p",null,"\u9700\u8981\u786e\u4fdd\u4e0a\u6e38\u670d\u52a1\u6709\u8db3\u591f\u591a\u7684CPU\u548c\u5185\u5b58\uff0c\u5426\u5219\u6027\u80fd\u8dd1\u4e0d\u8d77\u6765"),(0,a.yg)("h3",{id:"apisix\u7684\u8def\u7531\u589e\u52a0keep-alive"},"apisix\u7684\u8def\u7531\u589e\u52a0keep-alive"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'# \u9700\u8981\u5728upstream\u589e\u52a0\u5982\u4e0b\n# size\u53c2\u6570\u5b9a\u4e49\u4e86\u8fde\u63a5\u6c60\u7684\u5927\u5c0f\uff0c\u5373\u8fde\u63a5\u6c60\u4e2d\u6700\u591a\u53ef\u4ee5\u4fdd\u5b58\u7684\u8fde\u63a5\u6570\u91cf\u3002\u8fd9\u91cc\u8bbe\u7f6e\u4e3a 32\uff0c\u8868\u793a\u6700\u591a\u6709 32 \u4e2a\u4e0e\u4e0a\u6e38\u670d\u52a1\u5668\u7684\u8fde\u63a5\u53ef\u4ee5\u88ab\u590d\u7528\u3002\n# requests\u53c2\u6570\u6307\u5b9a\u4e86\u4e00\u4e2a\u8fde\u63a5\u53ef\u4ee5\u88ab\u590d\u7528\u7684\u6700\u5927\u8bf7\u6c42\u6b21\u6570\u3002\u5f53\u4e00\u4e2a\u8fde\u63a5\u88ab\u4f7f\u7528\u7684\u8bf7\u6c42\u6b21\u6570\u8fbe\u5230\u8fd9\u4e2a\u503c\u540e\uff0c\u8fde\u63a5\u5c06\u88ab\u5173\u95ed\u5e76\u91cd\u65b0\u5efa\u7acb\u3002\u8fd9\u91cc\u8bbe\u7f6e\u4e3a 1000\u3002\n# idle_timeout\u53c2\u6570\u5b9a\u4e49\u4e86\u8fde\u63a5\u5728\u7a7a\u95f2\u72b6\u6001\u4e0b\u53ef\u4ee5\u5b58\u6d3b\u7684\u65f6\u95f4\uff08\u5355\u4f4d\u662f\u79d2\uff09\u3002\u5982\u679c\u4e00\u4e2a\u8fde\u63a5\u5728idle_timeout\u79d2\u5185\u6ca1\u6709\u88ab\u4f7f\u7528\uff0c\u5b83\u5c06\u88ab\u5173\u95ed\u3002\u8fd9\u91cc\u8bbe\u7f6e\u4e3a 60 \u79d2\u3002\n,"keepalive_pool":{"idle_timeout":60,"requests":1000,"size":32}\n# \u7136\u540e\u66f4\u65b0\n./etcdctl put /apisix/routes/00000000000000000956 \'{"upstream":{"timeout":{"connect":180,"read":180,"send":180},"keepalive_pool":{"idle_timeout":60000,"requests":1000,"size":320},"nodes":{"10.0.102.139:20001":100},"pass_host":"node","type":"roundrobin","scheme":"https","hash_on":"vars"},"status":1,"priority":0,"vars":[["http_X-SW-Authorization-TenantCode","==","tenant"],["http_X-SW-Authorization-AppCode","IN",["","testapp"]]],"name":"tenant_\u52a0\u89e3\u5bc6\u670d\u52a1_tenant_\u4e1a\u52a1","plugins":{},"uris":["/pki/*"],"id":"00000000000000000956","create_time":1729748682,"update_time":1729818639}\'\n')),(0,a.yg)("p",null,'{\n"upstream": {\n"timeout": {\n"connect": 180,\n"read": 180,\n"send": 180\n},\n"keepalive',(0,a.yg)("em",{parentName:"p"},'pool": {\n"idle_timeout": 60,\n"requests": 1000,\n"size": 320\n},\n"nodes": {\n"10.0.102.139:20001": 100\n},\n"pass_host": "node",\n"type": "roundrobin",\n"scheme": "https",\n"hash_on": "vars"\n},\n"status": 1,\n"priority": 0,\n"vars": [\n','[\n"http_X-SW-Authorization-TenantCode",\n"==",\n"tenant"\n]',',\n[\n"http_X-SW-Authorization-AppCode",\n"IN",\n','[\n"",\n"testapp"\n]','\n]\n],\n"name": "tenant'),"\u52a0\u89e3\u5bc6\u670d\u52a1",(0,a.yg)("em",{parentName:"p"},"tenant"),'\u4e1a\u52a1",\n"plugins": {},\n"uris": ','[\n"/pki/*"\n]',',\n"id": "00000000000000000956",\n"create_time": 1729748682,\n"update_time": 1729818639\n}'))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5b270517.776bf818.js b/assets/js/5b270517.07878731.js similarity index 98% rename from assets/js/5b270517.776bf818.js rename to assets/js/5b270517.07878731.js index 2d9c3ab2d..094ba4fe4 100644 --- a/assets/js/5b270517.776bf818.js +++ b/assets/js/5b270517.07878731.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5006],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=p(r),y=o,f=u["".concat(l,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[u]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB",title:"TimescaleDB",description:"\u57fa\u672c\u4fe1\u606f",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenTSDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB"},next:{title:"Apache ShardingSphere",permalink:"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere"}},l={},p=[{value:"\u57fa\u672c\u4fe1\u606f",id:"\u57fa\u672c\u4fe1\u606f",level:3}],s={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u57fa\u672c\u4fe1\u606f"},"\u57fa\u672c\u4fe1\u606f"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u57fa\u4e8e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u5e93"),(0,o.yg)("li",{parentName:"ol"},"\u63a5\u53e3\uff1aSQL")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5006],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=p(r),y=o,f=u["".concat(l,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[u]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB",title:"TimescaleDB",description:"\u57fa\u672c\u4fe1\u606f",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenTSDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB"},next:{title:"Apache ShardingSphere",permalink:"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere"}},l={},p=[{value:"\u57fa\u672c\u4fe1\u606f",id:"\u57fa\u672c\u4fe1\u606f",level:3}],s={toc:p},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u57fa\u672c\u4fe1\u606f"},"\u57fa\u672c\u4fe1\u606f"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u57fa\u4e8e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u5e93"),(0,o.yg)("li",{parentName:"ol"},"\u63a5\u53e3\uff1aSQL")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5b89160d.b8cbbba8.js b/assets/js/5b89160d.6b9a70ed.js similarity index 98% rename from assets/js/5b89160d.b8cbbba8.js rename to assets/js/5b89160d.6b9a70ed.js index ab573e5c7..9e74baac3 100644 --- a/assets/js/5b89160d.b8cbbba8.js +++ b/assets/js/5b89160d.6b9a70ed.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2202],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,l=a(e,["components","mdxType","originalType","parentName"]),s=p(r),y=o,f=s["".concat(u,".").concat(y)]||s[y]||d[y]||i;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,c=new Array(i);c[0]=y;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,c[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>i,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const i={},c="ThingsCloud",a={unversionedId:"study/competitive/ThingsCloud",id:"study/competitive/ThingsCloud",title:"ThingsCloud",description:"\u53c2\u8003\uff0c\u53c2\u8003\uff0c\u7edd\u5bf9\u53ef\u4ee5\u53c2\u8003\u3002",source:"@site/docs/study/competitive/ThingsCloud.md",sourceDirName:"study/competitive",slug:"/study/competitive/ThingsCloud",permalink:"/docs/study/competitive/ThingsCloud",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TP-LINK",permalink:"/docs/study/competitive/TP-LINK"},next:{title:"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",permalink:"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0"}},u={},p=[],l={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"thingscloud"},"ThingsCloud"),(0,o.yg)("p",null,"\u53c2\u8003\uff0c\u53c2\u8003\uff0c\u7edd\u5bf9\u53ef\u4ee5\u53c2\u8003\u3002"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://www.thingscloud.xyz/"},"\u5b98\u65b9\u7f51\u7ad9")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2202],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,l=a(e,["components","mdxType","originalType","parentName"]),s=p(r),y=o,f=s["".concat(u,".").concat(y)]||s[y]||d[y]||i;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,c=new Array(i);c[0]=y;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,c[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>i,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const i={},c="ThingsCloud",a={unversionedId:"study/competitive/ThingsCloud",id:"study/competitive/ThingsCloud",title:"ThingsCloud",description:"\u53c2\u8003\uff0c\u53c2\u8003\uff0c\u7edd\u5bf9\u53ef\u4ee5\u53c2\u8003\u3002",source:"@site/docs/study/competitive/ThingsCloud.md",sourceDirName:"study/competitive",slug:"/study/competitive/ThingsCloud",permalink:"/docs/study/competitive/ThingsCloud",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TP-LINK",permalink:"/docs/study/competitive/TP-LINK"},next:{title:"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",permalink:"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0"}},u={},p=[],l={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"thingscloud"},"ThingsCloud"),(0,o.yg)("p",null,"\u53c2\u8003\uff0c\u53c2\u8003\uff0c\u7edd\u5bf9\u53ef\u4ee5\u53c2\u8003\u3002"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://www.thingscloud.xyz/"},"\u5b98\u65b9\u7f51\u7ad9")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5ca6a2d2.34b8b979.js b/assets/js/5ca6a2d2.2b54232d.js similarity index 99% rename from assets/js/5ca6a2d2.34b8b979.js rename to assets/js/5ca6a2d2.2b54232d.js index 0aefa6f55..189bda5bb 100644 --- a/assets/js/5ca6a2d2.34b8b979.js +++ b/assets/js/5ca6a2d2.2b54232d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2189],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>g});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var o=n.createContext({}),d=function(e){var t=n.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=d(e.components);return n.createElement(o.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},c=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,i=e.originalType,o=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=d(r),c=l,g=u["".concat(o,".").concat(c)]||u[c]||y[c]||i;return r?n.createElement(g,a(a({ref:t},p),{},{components:r})):n.createElement(g,a({ref:t},p))}));function g(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var i=r.length,a=new Array(i);a[0]=c;var s={};for(var o in t)hasOwnProperty.call(t,o)&&(s[o]=t[o]);s.originalType=e,s[u]="string"==typeof e?e:l,a[1]=s;for(var d=2;d{r.r(t),r.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>y,frontMatter:()=>i,metadata:()=>s,toc:()=>d});var n=r(58168),l=(r(96540),r(15680));const i={},a=void 0,s={unversionedId:"study/db/NoSQL/Redis",id:"study/db/NoSQL/Redis",title:"Redis",description:"Redis \u662f\u4ec0\u4e48",source:"@site/docs/study/db/NoSQL/Redis.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Redis",permalink:"/docs/study/db/NoSQL/Redis",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MongoDB",permalink:"/docs/study/db/NoSQL/MongoDB"},next:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0"}},o={},d=[{value:"Redis \u662f\u4ec0\u4e48",id:"redis-\u662f\u4ec0\u4e48",level:3},{value:"Redis \u6570\u636e\u7ed3\u6784",id:"redis-\u6570\u636e\u7ed3\u6784",level:3},{value:"Redis \u6301\u4e45\u5316",id:"redis-\u6301\u4e45\u5316",level:3},{value:"\u56db\u79cd\u6a21\u5f0f",id:"\u56db\u79cd\u6a21\u5f0f",level:3},{value:"\u5355\u673a",id:"\u5355\u673a",level:4},{value:"\u4e3b\u4ece",id:"\u4e3b\u4ece",level:4},{value:"\u54e8\u5175",id:"\u54e8\u5175",level:4},{value:"\u96c6\u7fa4",id:"\u96c6\u7fa4",level:4},{value:"\u5982\u4f55\u8bc6\u522b\u4e3b\u4ece",id:"\u5982\u4f55\u8bc6\u522b\u4e3b\u4ece",level:3},{value:"\u53c2\u8003\u8d44\u6599",id:"\u53c2\u8003\u8d44\u6599",level:3}],p={toc:d},u="wrapper";function y(e){let{components:t,...r}=e;return(0,l.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"redis-\u662f\u4ec0\u4e48"},"Redis \u662f\u4ec0\u4e48"),(0,l.yg)("p",null,"redis \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u4f7f\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\u3001\u652f\u6301\u7f51\u7edc\u4ea4\u4e92\u7684\u3001\u53ef\u57fa\u4e8e\u5185\u5b58\u4e5f\u53ef\u6301\u4e45\u5316\u7684 Key-Value \u6570\u636e\u5e93\u3002",(0,l.yg)("a",{parentName:"p",href:"https://redis.io"},"\u5b98\u7f51"),"\u3002"),(0,l.yg)("p",null,"\u76ee\u524d\uff0cVmware \u5728\u8d44\u52a9\u7740 redis \u9879\u76ee\u7684\u5f00\u53d1\u548c\u7ef4\u62a4\u3002"),(0,l.yg)("p",null,"redis \u7684\u4f5c\u8005\uff0c\u4ed6\u53eb Salvatore Sanfilippo\uff0c\u7f51\u540d\u662f antirez\uff0c\u53bb\u4ed6\u7684\u535a\u5ba2\u901b\u901b\uff0c\u5730\u5740\u662f antirez.com\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u53bb follow \u4ed6\u7684 github\uff0c\u5730\u5740\u662f",(0,l.yg)("a",{parentName:"p",href:"http://github.com/antirez"},"http://github.com/antirez"),"\u3002"),(0,l.yg)("p",null,"Redis \u662f K-V \u5b58\u50a8\u7684\u5178\u578b\u4ee3\u8868\uff0c\u5b83\u662f\u4e00\u6b3e\u5f00\u6e90\uff08\u57fa\u4e8e BSD \u8bb8\u53ef\uff09\u7684\u9ad8\u6027\u80fd K-V \u7f13\u5b58\u548c\u5b58\u50a8\u7cfb\u7edf\u3002Redis \u7684 Value \u662f\u5177\u4f53\u7684\u6570\u636e\u7ed3\u6784\uff0c\u5305\u62ec string\u3001hash\u3001list\u3001set\u3001sorted set\u3001bitmap \u548c hyperloglog\uff0c\u6240\u4ee5\u5e38\u5e38\u88ab\u79f0\u4e3a\u6570\u636e\u7ed3\u6784\u670d\u52a1\u5668\u3002"),(0,l.yg)("h3",{id:"redis-\u6570\u636e\u7ed3\u6784"},"Redis \u6570\u636e\u7ed3\u6784"),(0,l.yg)("p",null,"redis \u662f\u4e00\u79cd\u9ad8\u7ea7\u7684 key:value \u5b58\u50a8\u7cfb\u7edf\uff0c\u5176\u4e2d value \u652f\u6301\u4e94\u79cd\u6570\u636e\u7c7b\u578b\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5b57\u7b26\u4e32\uff08strings\uff09"),(0,l.yg)("li",{parentName:"ol"},"\u5b57\u7b26\u4e32\u5217\u8868\uff08lists\uff09"),(0,l.yg)("li",{parentName:"ol"},"\u5b57\u7b26\u4e32\u96c6\u5408\uff08sets\uff09"),(0,l.yg)("li",{parentName:"ol"},"\u6709\u5e8f\u5b57\u7b26\u4e32\u96c6\u5408\uff08sorted sets\uff09"),(0,l.yg)("li",{parentName:"ol"},"\u54c8\u5e0c\uff08hashes\uff09",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},"hashes \u5b58\u7684\u662f\u5b57\u7b26\u4e32\u548c\u5b57\u7b26\u4e32\u503c\u4e4b\u95f4\u7684\u6620\u5c04\uff0c\u6bd4\u5982\u4e00\u4e2a\u7528\u6237\u8981\u5b58\u50a8\u5176\u5168\u540d\u3001\u59d3\u6c0f\u3001\u5e74\u9f84\u7b49\u7b49\uff0c\u5c31\u5f88\u9002\u5408\u4f7f\u7528\u54c8\u5e0c\u3002")))),(0,l.yg)("p",null,"key \u7684\u547d\u540d\u89c4\u5219\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"key \u4e0d\u8981\u592a\u957f\uff0c\u5c3d\u91cf\u4e0d\u8981\u8d85\u8fc7 1024 \u5b57\u8282\uff0c\u8fd9\u4e0d\u4ec5\u6d88\u8017\u5185\u5b58\uff0c\u800c\u4e14\u4f1a\u964d\u4f4e\u67e5\u627e\u7684\u6548\u7387\uff1b"),(0,l.yg)("li",{parentName:"ol"},"key \u4e5f\u4e0d\u8981\u592a\u77ed\uff0c\u592a\u77ed\u7684\u8bdd\uff0ckey \u7684\u53ef\u8bfb\u6027\u4f1a\u964d\u4f4e\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5728\u4e00\u4e2a\u9879\u76ee\u4e2d\uff0ckey \u6700\u597d\u4f7f\u7528\u7edf\u4e00\u7684\u547d\u540d\u6a21\u5f0f\uff0c\u4f8b\u5982 user:10000:passwd\u3002")),(0,l.yg)("h3",{id:"redis-\u6301\u4e45\u5316"},"Redis \u6301\u4e45\u5316"),(0,l.yg)("p",null,"redis \u63d0\u4f9b\u4e86\u4e24\u79cd\u6301\u4e45\u5316\u7684\u65b9\u5f0f\uff0c\u5206\u522b\u662f RDB\uff08Redis DataBase\uff09\u548c AOF\uff08Append Only File\uff09\u3002"),(0,l.yg)("p",null,"RDB\uff0c\u7b80\u800c\u8a00\u4e4b\uff0c\u5c31\u662f\u5728\u4e0d\u540c\u7684\u65f6\u95f4\u70b9\uff0c\u5c06 redis \u5b58\u50a8\u7684\u6570\u636e\u751f\u6210\u5feb\u7167\u5e76\u5b58\u50a8\u5230\u78c1\u76d8\u7b49\u4ecb\u8d28\u4e0a\uff1b\nAOF\uff0c\u5219\u662f\u6362\u4e86\u4e00\u4e2a\u89d2\u5ea6\u6765\u5b9e\u73b0\u6301\u4e45\u5316\uff0c\u90a3\u5c31\u662f\u5c06 redis \u6267\u884c\u8fc7\u7684\u6240\u6709\u5199\u6307\u4ee4\u8bb0\u5f55\u4e0b\u6765\uff0c\u5728\u4e0b\u6b21 redis \u91cd\u65b0\u542f\u52a8\u65f6\uff0c\u53ea\u8981\u628a\u8fd9\u4e9b\u5199\u6307\u4ee4\u4ece\u524d\u5230\u540e\u518d\u91cd\u590d\u6267\u884c\u4e00\u904d\uff0c\u5c31\u53ef\u4ee5\u5b9e\u73b0\u6570\u636e\u6062\u590d\u4e86\u3002"),(0,l.yg)("p",null,"\u5176\u5b9e RDB \u548c AOF \u4e24\u79cd\u65b9\u5f0f\u4e5f\u53ef\u4ee5\u540c\u65f6\u4f7f\u7528\uff0c\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5982\u679c redis \u91cd\u542f\u7684\u8bdd\uff0c\u5219\u4f1a\u4f18\u5148\u91c7\u7528 AOF \u65b9\u5f0f\u6765\u8fdb\u884c\u6570\u636e\u6062\u590d\uff0c\u8fd9\u662f\u56e0\u4e3a AOF \u65b9\u5f0f\u7684\u6570\u636e\u6062\u590d\u5b8c\u6574\u5ea6\u66f4\u9ad8\u3002"),(0,l.yg)("p",null,"\u5982\u679c\u4f60\u6ca1\u6709\u6570\u636e\u6301\u4e45\u5316\u7684\u9700\u6c42\uff0c\u4e5f\u5b8c\u5168\u53ef\u4ee5\u5173\u95ed RDB \u548c AOF \u65b9\u5f0f\uff0c\u8fd9\u6837\u7684\u8bdd\uff0credis \u5c06\u53d8\u6210\u4e00\u4e2a\u7eaf\u5185\u5b58\u6570\u636e\u5e93\uff0c\u5c31\u50cf memcache \u4e00\u6837\u3002"),(0,l.yg)("h3",{id:"\u56db\u79cd\u6a21\u5f0f"},"\u56db\u79cd\u6a21\u5f0f"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://baijiahao.baidu.com/s?id=1761339110124241069&wfr=spider&for=pc"},"\u6df1\u5165\u7406\u89e3Redis\u7684\u5355\u673a\u3001\u4e3b\u4ece\u3001\u54e8\u5175\u3001\u96c6\u7fa4\u56db\u79cd\u6a21\u5f0f")),(0,l.yg)("h4",{id:"\u5355\u673a"},"\u5355\u673a"),(0,l.yg)("h4",{id:"\u4e3b\u4ece"},"\u4e3b\u4ece"),(0,l.yg)("p",null,"\u50cf MySQL \u4e00\u6837\uff0credis \u662f\u652f\u6301\u4e3b\u4ece\u540c\u6b65\u7684\uff0c\u800c\u4e14\u4e5f\u652f\u6301\u4e00\u4e3b\u591a\u4ece\u4ee5\u53ca\u591a\u7ea7\u4ece\u7ed3\u6784\u3002"),(0,l.yg)("p",null,"\u4e3b\u4ece\u7ed3\u6784\uff0c\u4e00\u662f\u4e3a\u4e86\u7eaf\u7cb9\u7684\u5197\u4f59\u5907\u4efd\uff0c\u4e8c\u662f\u4e3a\u4e86\u63d0\u5347\u8bfb\u6027\u80fd\uff0c\u6bd4\u5982\u5f88\u6d88\u8017\u6027\u80fd\u7684 SORT \u5c31\u53ef\u4ee5\u7531\u4ece\u670d\u52a1\u5668\u6765\u627f\u62c5\u3002"),(0,l.yg)("p",null,"redis \u7684\u4e3b\u4ece\u540c\u6b65\u662f\u5f02\u6b65\u8fdb\u884c\u7684\uff0c\u8fd9\u610f\u5473\u7740\u4e3b\u4ece\u540c\u6b65\u4e0d\u4f1a\u5f71\u54cd\u4e3b\u903b\u8f91\uff0c\u4e5f\u4e0d\u4f1a\u964d\u4f4e redis \u7684\u5904\u7406\u6027\u80fd\u3002"),(0,l.yg)("p",null,"\u4e3b\u4ece\u67b6\u6784\u4e2d\uff0c\u53ef\u4ee5\u8003\u8651\u5173\u95ed\u4e3b\u670d\u52a1\u5668\u7684\u6570\u636e\u6301\u4e45\u5316\u529f\u80fd\uff0c\u53ea\u8ba9\u4ece\u670d\u52a1\u5668\u8fdb\u884c\u6301\u4e45\u5316\uff0c\u8fd9\u6837\u53ef\u4ee5\u63d0\u9ad8\u4e3b\u670d\u52a1\u5668\u7684\u5904\u7406\u6027\u80fd\u3002"),(0,l.yg)("p",null,"\u5728\u4e3b\u4ece\u67b6\u6784\u4e2d\uff0c\u4ece\u670d\u52a1\u5668\u901a\u5e38\u88ab\u8bbe\u7f6e\u4e3a\u53ea\u8bfb\u6a21\u5f0f\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u4ece\u670d\u52a1\u5668\u7684\u6570\u636e\u88ab\u8bef\u4fee\u6539\u3002\u4f46\u662f\u4ece\u670d\u52a1\u5668\u4ecd\u7136\u53ef\u4ee5\u63a5\u53d7 CONFIG \u7b49\u6307\u4ee4\uff0c\u6240\u4ee5\u8fd8\u662f\u4e0d\u5e94\u8be5\u5c06\u4ece\u670d\u52a1\u5668\u76f4\u63a5\u66b4\u9732\u5230\u4e0d\u5b89\u5168\u7684\u7f51\u7edc\u73af\u5883\u4e2d\u3002\u5982\u679c\u5fc5\u987b\u5982\u6b64\uff0c\u90a3\u53ef\u4ee5\u8003\u8651\u7ed9\u91cd\u8981\u6307\u4ee4\u8fdb\u884c\u91cd\u547d\u540d\uff0c\u6765\u907f\u514d\u547d\u4ee4\u88ab\u5916\u4eba\u8bef\u6267\u884c\u3002"),(0,l.yg)("h4",{id:"\u54e8\u5175"},"\u54e8\u5175"),(0,l.yg)("p",null,"\u542f\u52a8\u591a\u4e2a\u54e8\u5175\u8fdb\u7a0b\u76d1\u63a7\u4e3b\u8282\u70b9\u7684\u72b6\u6001\uff0c\u4e00\u65e6\u591a\u4e2a\u54e8\u5175\uff08\u81f3\u4e8e\u51e0\u4e2a\u662f\u53ef\u4ee5\u914d\u7f6e\u7684\uff09\u8ba4\u4e3a\u4e3b\u8282\u70b9\u4e0d\u53ef\u7528\uff0c\u5c06\u5207\u6362\u67d0\u4e2a\u4ece\u8282\u70b9\u4e3a\u4e3b\u8282\u70b9\u3002"),(0,l.yg)("p",null,"\u5ba2\u6237\u7aef\u4f8b\u5982java\u9700\u8981\u53bb\u8fde\u63a5\u54e8\u5175\u800c\u4e0d\u662f\u76f4\u63a5\u8fde\u63a5\u4e3b\u8282\u70b9\uff0c\u5426\u5219\u4e3b\u8282\u70b9\u5207\u6362\uff0c\u5ba2\u6237\u7aef\u5e76\u4e0d\u77e5\u6653\u3002"),(0,l.yg)("p",null,"\u54e8\u5175\u6a21\u5f0f\u662f\u65e0\u6cd5\u4fdd\u8bc1Redis\u6570\u636e\u7684\u4e00\u81f4\u6027\u7684\uff0c\u90a3\u662f\u56e0\u4e3aRedis\u4ece\u673a\u662f\u5f02\u6b65\u540c\u6b65\u6570\u636e\u7684\uff0c\u4f1a\u5b58\u5728\u4e00\u5b9a\u7684\u65f6\u95f4\u5ef6\u8fdf\u5bfc\u81f4\u4ece\u673a\u7684\u6570\u636e\u8fd8\u6ca1\u6765\u5f97\u53ca\u540c\u6b65\u3002"),(0,l.yg)("h4",{id:"\u96c6\u7fa4"},"\u96c6\u7fa4"),(0,l.yg)("p",null,"\u96c6\u7fa4\u4e2d\u7684\u6bcf\u4e2a\u8282\u70b9\u5b58\u50a8\u54ea\u4e9bkey\u503c\u662f\u6839\u636ekey\u7684hash\u503c\u548c\u8282\u70b9\u7684\u6570\u91cf\u7b97\u51fa\u6765\u7684\u3002"),(0,l.yg)("p",null,"\u5b9a\u4e49\uff1aRedis \u96c6\u7fa4\u662f\u4e00\u4e2a\u63d0\u4f9b\u5728\u591a\u4e2a Redis \u8282\u70b9\u95f4\u5171\u4eab\u6570\u636e\u7684\u5206\u5e03\u5f0f\u89e3\u51b3\u65b9\u6848\u3002\u5b83\u901a\u8fc7\u5c06\u6570\u636e\u5206\u6563\u5b58\u50a8\u5728\u591a\u4e2a\u8282\u70b9\u4e0a\uff0c\u5b9e\u73b0\u6570\u636e\u7684\u5206\u7247\u5b58\u50a8\uff0c\u5e76\u4e14\u5728\u90e8\u5206\u8282\u70b9\u51fa\u73b0\u6545\u969c\u65f6\uff0c\u4f9d\u7136\u80fd\u591f\u4fdd\u8bc1\u96c6\u7fa4\u7684\u53ef\u7528\u6027\u548c\u6570\u636e\u7684\u5b8c\u6574\u6027\uff0c\u4ee5\u6b64\u6765\u6ee1\u8db3\u9ad8\u5e76\u53d1\u3001\u5927\u6570\u636e\u91cf\u7684\u5e94\u7528\u573a\u666f\u3002"),(0,l.yg)("p",null,"\u6570\u636e\u5206\u7247\u539f\u7406\uff1aRedis \u96c6\u7fa4\u91c7\u7528\u54c8\u5e0c\u69fd\uff08hash slot\uff09\u7684\u65b9\u5f0f\u6765\u8fdb\u884c\u6570\u636e\u5206\u7247\u3002\u6574\u4e2a\u96c6\u7fa4\u5171\u6709 16384 \u4e2a\u54c8\u5e0c\u69fd\uff0c\u6570\u636e\u7684\u952e\uff08key\uff09\u901a\u8fc7 CRC16 \u7b97\u6cd5\u8ba1\u7b97\u51fa\u4e00\u4e2a\u54c8\u5e0c\u503c\uff0c\u7136\u540e\u5bf9 16384 \u53d6\u6a21\uff0c\u5f97\u5230\u8fd9\u4e2a\u952e\u5bf9\u5e94\u7684\u54c8\u5e0c\u69fd\u7f16\u53f7\u3002\u6bcf\u4e2a\u8282\u70b9\u8d1f\u8d23\u4e00\u90e8\u5206\u54c8\u5e0c\u69fd\uff0c\u8fd9\u6837\u5c31\u5c06\u6570\u636e\u5206\u6563\u5230\u4e86\u4e0d\u540c\u7684\u8282\u70b9\u4e0a\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u6709 3 \u4e2a\u8282\u70b9\uff0c\u8282\u70b9 A \u8d1f\u8d23 0 - 5460 \u53f7\u54c8\u5e0c\u69fd\uff0c\u8282\u70b9 B \u8d1f\u8d23 5461 - 10922 \u53f7\u54c8\u5e0c\u69fd\uff0c\u8282\u70b9 C \u8d1f\u8d23 10923 - 16383 \u53f7\u54c8\u5e0c\u69fd\u3002\u5f53\u5ba2\u6237\u7aef\u8981\u8bbf\u95ee\u4e00\u4e2a\u952e\u65f6\uff0c\u5148\u8ba1\u7b97\u5176\u54c8\u5e0c\u69fd\u7f16\u53f7\uff0c\u7136\u540e\u5c31\u77e5\u9053\u5e94\u8be5\u5411\u54ea\u4e2a\u8282\u70b9\u53d1\u9001\u8bf7\u6c42\u3002"),(0,l.yg)("h3",{id:"\u5982\u4f55\u8bc6\u522b\u4e3b\u4ece"},"\u5982\u4f55\u8bc6\u522b\u4e3b\u4ece"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\n./bin/redis-cli --help\n./bin/redis-cli --tls --insecure -h 10.0.102.137 -a xxxx\n# INFO \u7528\u4e8e\u83b7\u53d6\u5173\u4e8e Redis \u670d\u52a1\u5668\u7684\u5404\u79cd\u4fe1\u606f\u3002\n# ROLE\n")),(0,l.yg)("h3",{id:"\u53c2\u8003\u8d44\u6599"},"\u53c2\u8003\u8d44\u6599"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/523368070"},"\u5f20\u5f66\u98de-Redis 6 \u4e2d\u7684\u591a\u7ebf\u7a0b\u5b9e\u73b0\u65b9\u5f0f\u6bd4\u6211\u9884\u671f\u7684\u8981\u5dee")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/512502929"},"\u5f20\u5f66\u98de-\u6df1\u5ea6\u89e3\u6790\u5355\u7ebf\u7a0b\u7684 Redis \u5982\u4f55\u505a\u5230\u6bcf\u79d2\u6570\u4e07 QPS \u7684\u8d85\u9ad8\u5904\u7406\u80fd\u529b\uff01"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2189],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>g});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var o=n.createContext({}),d=function(e){var t=n.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=d(e.components);return n.createElement(o.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},c=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,i=e.originalType,o=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=d(r),c=l,g=u["".concat(o,".").concat(c)]||u[c]||y[c]||i;return r?n.createElement(g,a(a({ref:t},p),{},{components:r})):n.createElement(g,a({ref:t},p))}));function g(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var i=r.length,a=new Array(i);a[0]=c;var s={};for(var o in t)hasOwnProperty.call(t,o)&&(s[o]=t[o]);s.originalType=e,s[u]="string"==typeof e?e:l,a[1]=s;for(var d=2;d{r.r(t),r.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>y,frontMatter:()=>i,metadata:()=>s,toc:()=>d});var n=r(58168),l=(r(96540),r(15680));const i={},a=void 0,s={unversionedId:"study/db/NoSQL/Redis",id:"study/db/NoSQL/Redis",title:"Redis",description:"Redis \u662f\u4ec0\u4e48",source:"@site/docs/study/db/NoSQL/Redis.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Redis",permalink:"/docs/study/db/NoSQL/Redis",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MongoDB",permalink:"/docs/study/db/NoSQL/MongoDB"},next:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0"}},o={},d=[{value:"Redis \u662f\u4ec0\u4e48",id:"redis-\u662f\u4ec0\u4e48",level:3},{value:"Redis \u6570\u636e\u7ed3\u6784",id:"redis-\u6570\u636e\u7ed3\u6784",level:3},{value:"Redis \u6301\u4e45\u5316",id:"redis-\u6301\u4e45\u5316",level:3},{value:"\u56db\u79cd\u6a21\u5f0f",id:"\u56db\u79cd\u6a21\u5f0f",level:3},{value:"\u5355\u673a",id:"\u5355\u673a",level:4},{value:"\u4e3b\u4ece",id:"\u4e3b\u4ece",level:4},{value:"\u54e8\u5175",id:"\u54e8\u5175",level:4},{value:"\u96c6\u7fa4",id:"\u96c6\u7fa4",level:4},{value:"\u5982\u4f55\u8bc6\u522b\u4e3b\u4ece",id:"\u5982\u4f55\u8bc6\u522b\u4e3b\u4ece",level:3},{value:"\u53c2\u8003\u8d44\u6599",id:"\u53c2\u8003\u8d44\u6599",level:3}],p={toc:d},u="wrapper";function y(e){let{components:t,...r}=e;return(0,l.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"redis-\u662f\u4ec0\u4e48"},"Redis \u662f\u4ec0\u4e48"),(0,l.yg)("p",null,"redis \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u4f7f\u7528 C \u8bed\u8a00\u7f16\u5199\u7684\u3001\u652f\u6301\u7f51\u7edc\u4ea4\u4e92\u7684\u3001\u53ef\u57fa\u4e8e\u5185\u5b58\u4e5f\u53ef\u6301\u4e45\u5316\u7684 Key-Value \u6570\u636e\u5e93\u3002",(0,l.yg)("a",{parentName:"p",href:"https://redis.io"},"\u5b98\u7f51"),"\u3002"),(0,l.yg)("p",null,"\u76ee\u524d\uff0cVmware \u5728\u8d44\u52a9\u7740 redis \u9879\u76ee\u7684\u5f00\u53d1\u548c\u7ef4\u62a4\u3002"),(0,l.yg)("p",null,"redis \u7684\u4f5c\u8005\uff0c\u4ed6\u53eb Salvatore Sanfilippo\uff0c\u7f51\u540d\u662f antirez\uff0c\u53bb\u4ed6\u7684\u535a\u5ba2\u901b\u901b\uff0c\u5730\u5740\u662f antirez.com\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u53bb follow \u4ed6\u7684 github\uff0c\u5730\u5740\u662f",(0,l.yg)("a",{parentName:"p",href:"http://github.com/antirez"},"http://github.com/antirez"),"\u3002"),(0,l.yg)("p",null,"Redis \u662f K-V \u5b58\u50a8\u7684\u5178\u578b\u4ee3\u8868\uff0c\u5b83\u662f\u4e00\u6b3e\u5f00\u6e90\uff08\u57fa\u4e8e BSD \u8bb8\u53ef\uff09\u7684\u9ad8\u6027\u80fd K-V \u7f13\u5b58\u548c\u5b58\u50a8\u7cfb\u7edf\u3002Redis \u7684 Value \u662f\u5177\u4f53\u7684\u6570\u636e\u7ed3\u6784\uff0c\u5305\u62ec string\u3001hash\u3001list\u3001set\u3001sorted set\u3001bitmap \u548c hyperloglog\uff0c\u6240\u4ee5\u5e38\u5e38\u88ab\u79f0\u4e3a\u6570\u636e\u7ed3\u6784\u670d\u52a1\u5668\u3002"),(0,l.yg)("h3",{id:"redis-\u6570\u636e\u7ed3\u6784"},"Redis \u6570\u636e\u7ed3\u6784"),(0,l.yg)("p",null,"redis \u662f\u4e00\u79cd\u9ad8\u7ea7\u7684 key:value \u5b58\u50a8\u7cfb\u7edf\uff0c\u5176\u4e2d value \u652f\u6301\u4e94\u79cd\u6570\u636e\u7c7b\u578b\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5b57\u7b26\u4e32\uff08strings\uff09"),(0,l.yg)("li",{parentName:"ol"},"\u5b57\u7b26\u4e32\u5217\u8868\uff08lists\uff09"),(0,l.yg)("li",{parentName:"ol"},"\u5b57\u7b26\u4e32\u96c6\u5408\uff08sets\uff09"),(0,l.yg)("li",{parentName:"ol"},"\u6709\u5e8f\u5b57\u7b26\u4e32\u96c6\u5408\uff08sorted sets\uff09"),(0,l.yg)("li",{parentName:"ol"},"\u54c8\u5e0c\uff08hashes\uff09",(0,l.yg)("ol",{parentName:"li"},(0,l.yg)("li",{parentName:"ol"},"hashes \u5b58\u7684\u662f\u5b57\u7b26\u4e32\u548c\u5b57\u7b26\u4e32\u503c\u4e4b\u95f4\u7684\u6620\u5c04\uff0c\u6bd4\u5982\u4e00\u4e2a\u7528\u6237\u8981\u5b58\u50a8\u5176\u5168\u540d\u3001\u59d3\u6c0f\u3001\u5e74\u9f84\u7b49\u7b49\uff0c\u5c31\u5f88\u9002\u5408\u4f7f\u7528\u54c8\u5e0c\u3002")))),(0,l.yg)("p",null,"key \u7684\u547d\u540d\u89c4\u5219\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"key \u4e0d\u8981\u592a\u957f\uff0c\u5c3d\u91cf\u4e0d\u8981\u8d85\u8fc7 1024 \u5b57\u8282\uff0c\u8fd9\u4e0d\u4ec5\u6d88\u8017\u5185\u5b58\uff0c\u800c\u4e14\u4f1a\u964d\u4f4e\u67e5\u627e\u7684\u6548\u7387\uff1b"),(0,l.yg)("li",{parentName:"ol"},"key \u4e5f\u4e0d\u8981\u592a\u77ed\uff0c\u592a\u77ed\u7684\u8bdd\uff0ckey \u7684\u53ef\u8bfb\u6027\u4f1a\u964d\u4f4e\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u5728\u4e00\u4e2a\u9879\u76ee\u4e2d\uff0ckey \u6700\u597d\u4f7f\u7528\u7edf\u4e00\u7684\u547d\u540d\u6a21\u5f0f\uff0c\u4f8b\u5982 user:10000:passwd\u3002")),(0,l.yg)("h3",{id:"redis-\u6301\u4e45\u5316"},"Redis \u6301\u4e45\u5316"),(0,l.yg)("p",null,"redis \u63d0\u4f9b\u4e86\u4e24\u79cd\u6301\u4e45\u5316\u7684\u65b9\u5f0f\uff0c\u5206\u522b\u662f RDB\uff08Redis DataBase\uff09\u548c AOF\uff08Append Only File\uff09\u3002"),(0,l.yg)("p",null,"RDB\uff0c\u7b80\u800c\u8a00\u4e4b\uff0c\u5c31\u662f\u5728\u4e0d\u540c\u7684\u65f6\u95f4\u70b9\uff0c\u5c06 redis \u5b58\u50a8\u7684\u6570\u636e\u751f\u6210\u5feb\u7167\u5e76\u5b58\u50a8\u5230\u78c1\u76d8\u7b49\u4ecb\u8d28\u4e0a\uff1b\nAOF\uff0c\u5219\u662f\u6362\u4e86\u4e00\u4e2a\u89d2\u5ea6\u6765\u5b9e\u73b0\u6301\u4e45\u5316\uff0c\u90a3\u5c31\u662f\u5c06 redis \u6267\u884c\u8fc7\u7684\u6240\u6709\u5199\u6307\u4ee4\u8bb0\u5f55\u4e0b\u6765\uff0c\u5728\u4e0b\u6b21 redis \u91cd\u65b0\u542f\u52a8\u65f6\uff0c\u53ea\u8981\u628a\u8fd9\u4e9b\u5199\u6307\u4ee4\u4ece\u524d\u5230\u540e\u518d\u91cd\u590d\u6267\u884c\u4e00\u904d\uff0c\u5c31\u53ef\u4ee5\u5b9e\u73b0\u6570\u636e\u6062\u590d\u4e86\u3002"),(0,l.yg)("p",null,"\u5176\u5b9e RDB \u548c AOF \u4e24\u79cd\u65b9\u5f0f\u4e5f\u53ef\u4ee5\u540c\u65f6\u4f7f\u7528\uff0c\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5982\u679c redis \u91cd\u542f\u7684\u8bdd\uff0c\u5219\u4f1a\u4f18\u5148\u91c7\u7528 AOF \u65b9\u5f0f\u6765\u8fdb\u884c\u6570\u636e\u6062\u590d\uff0c\u8fd9\u662f\u56e0\u4e3a AOF \u65b9\u5f0f\u7684\u6570\u636e\u6062\u590d\u5b8c\u6574\u5ea6\u66f4\u9ad8\u3002"),(0,l.yg)("p",null,"\u5982\u679c\u4f60\u6ca1\u6709\u6570\u636e\u6301\u4e45\u5316\u7684\u9700\u6c42\uff0c\u4e5f\u5b8c\u5168\u53ef\u4ee5\u5173\u95ed RDB \u548c AOF \u65b9\u5f0f\uff0c\u8fd9\u6837\u7684\u8bdd\uff0credis \u5c06\u53d8\u6210\u4e00\u4e2a\u7eaf\u5185\u5b58\u6570\u636e\u5e93\uff0c\u5c31\u50cf memcache \u4e00\u6837\u3002"),(0,l.yg)("h3",{id:"\u56db\u79cd\u6a21\u5f0f"},"\u56db\u79cd\u6a21\u5f0f"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://baijiahao.baidu.com/s?id=1761339110124241069&wfr=spider&for=pc"},"\u6df1\u5165\u7406\u89e3Redis\u7684\u5355\u673a\u3001\u4e3b\u4ece\u3001\u54e8\u5175\u3001\u96c6\u7fa4\u56db\u79cd\u6a21\u5f0f")),(0,l.yg)("h4",{id:"\u5355\u673a"},"\u5355\u673a"),(0,l.yg)("h4",{id:"\u4e3b\u4ece"},"\u4e3b\u4ece"),(0,l.yg)("p",null,"\u50cf MySQL \u4e00\u6837\uff0credis \u662f\u652f\u6301\u4e3b\u4ece\u540c\u6b65\u7684\uff0c\u800c\u4e14\u4e5f\u652f\u6301\u4e00\u4e3b\u591a\u4ece\u4ee5\u53ca\u591a\u7ea7\u4ece\u7ed3\u6784\u3002"),(0,l.yg)("p",null,"\u4e3b\u4ece\u7ed3\u6784\uff0c\u4e00\u662f\u4e3a\u4e86\u7eaf\u7cb9\u7684\u5197\u4f59\u5907\u4efd\uff0c\u4e8c\u662f\u4e3a\u4e86\u63d0\u5347\u8bfb\u6027\u80fd\uff0c\u6bd4\u5982\u5f88\u6d88\u8017\u6027\u80fd\u7684 SORT \u5c31\u53ef\u4ee5\u7531\u4ece\u670d\u52a1\u5668\u6765\u627f\u62c5\u3002"),(0,l.yg)("p",null,"redis \u7684\u4e3b\u4ece\u540c\u6b65\u662f\u5f02\u6b65\u8fdb\u884c\u7684\uff0c\u8fd9\u610f\u5473\u7740\u4e3b\u4ece\u540c\u6b65\u4e0d\u4f1a\u5f71\u54cd\u4e3b\u903b\u8f91\uff0c\u4e5f\u4e0d\u4f1a\u964d\u4f4e redis \u7684\u5904\u7406\u6027\u80fd\u3002"),(0,l.yg)("p",null,"\u4e3b\u4ece\u67b6\u6784\u4e2d\uff0c\u53ef\u4ee5\u8003\u8651\u5173\u95ed\u4e3b\u670d\u52a1\u5668\u7684\u6570\u636e\u6301\u4e45\u5316\u529f\u80fd\uff0c\u53ea\u8ba9\u4ece\u670d\u52a1\u5668\u8fdb\u884c\u6301\u4e45\u5316\uff0c\u8fd9\u6837\u53ef\u4ee5\u63d0\u9ad8\u4e3b\u670d\u52a1\u5668\u7684\u5904\u7406\u6027\u80fd\u3002"),(0,l.yg)("p",null,"\u5728\u4e3b\u4ece\u67b6\u6784\u4e2d\uff0c\u4ece\u670d\u52a1\u5668\u901a\u5e38\u88ab\u8bbe\u7f6e\u4e3a\u53ea\u8bfb\u6a21\u5f0f\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u4ece\u670d\u52a1\u5668\u7684\u6570\u636e\u88ab\u8bef\u4fee\u6539\u3002\u4f46\u662f\u4ece\u670d\u52a1\u5668\u4ecd\u7136\u53ef\u4ee5\u63a5\u53d7 CONFIG \u7b49\u6307\u4ee4\uff0c\u6240\u4ee5\u8fd8\u662f\u4e0d\u5e94\u8be5\u5c06\u4ece\u670d\u52a1\u5668\u76f4\u63a5\u66b4\u9732\u5230\u4e0d\u5b89\u5168\u7684\u7f51\u7edc\u73af\u5883\u4e2d\u3002\u5982\u679c\u5fc5\u987b\u5982\u6b64\uff0c\u90a3\u53ef\u4ee5\u8003\u8651\u7ed9\u91cd\u8981\u6307\u4ee4\u8fdb\u884c\u91cd\u547d\u540d\uff0c\u6765\u907f\u514d\u547d\u4ee4\u88ab\u5916\u4eba\u8bef\u6267\u884c\u3002"),(0,l.yg)("h4",{id:"\u54e8\u5175"},"\u54e8\u5175"),(0,l.yg)("p",null,"\u542f\u52a8\u591a\u4e2a\u54e8\u5175\u8fdb\u7a0b\u76d1\u63a7\u4e3b\u8282\u70b9\u7684\u72b6\u6001\uff0c\u4e00\u65e6\u591a\u4e2a\u54e8\u5175\uff08\u81f3\u4e8e\u51e0\u4e2a\u662f\u53ef\u4ee5\u914d\u7f6e\u7684\uff09\u8ba4\u4e3a\u4e3b\u8282\u70b9\u4e0d\u53ef\u7528\uff0c\u5c06\u5207\u6362\u67d0\u4e2a\u4ece\u8282\u70b9\u4e3a\u4e3b\u8282\u70b9\u3002"),(0,l.yg)("p",null,"\u5ba2\u6237\u7aef\u4f8b\u5982java\u9700\u8981\u53bb\u8fde\u63a5\u54e8\u5175\u800c\u4e0d\u662f\u76f4\u63a5\u8fde\u63a5\u4e3b\u8282\u70b9\uff0c\u5426\u5219\u4e3b\u8282\u70b9\u5207\u6362\uff0c\u5ba2\u6237\u7aef\u5e76\u4e0d\u77e5\u6653\u3002"),(0,l.yg)("p",null,"\u54e8\u5175\u6a21\u5f0f\u662f\u65e0\u6cd5\u4fdd\u8bc1Redis\u6570\u636e\u7684\u4e00\u81f4\u6027\u7684\uff0c\u90a3\u662f\u56e0\u4e3aRedis\u4ece\u673a\u662f\u5f02\u6b65\u540c\u6b65\u6570\u636e\u7684\uff0c\u4f1a\u5b58\u5728\u4e00\u5b9a\u7684\u65f6\u95f4\u5ef6\u8fdf\u5bfc\u81f4\u4ece\u673a\u7684\u6570\u636e\u8fd8\u6ca1\u6765\u5f97\u53ca\u540c\u6b65\u3002"),(0,l.yg)("h4",{id:"\u96c6\u7fa4"},"\u96c6\u7fa4"),(0,l.yg)("p",null,"\u96c6\u7fa4\u4e2d\u7684\u6bcf\u4e2a\u8282\u70b9\u5b58\u50a8\u54ea\u4e9bkey\u503c\u662f\u6839\u636ekey\u7684hash\u503c\u548c\u8282\u70b9\u7684\u6570\u91cf\u7b97\u51fa\u6765\u7684\u3002"),(0,l.yg)("p",null,"\u5b9a\u4e49\uff1aRedis \u96c6\u7fa4\u662f\u4e00\u4e2a\u63d0\u4f9b\u5728\u591a\u4e2a Redis \u8282\u70b9\u95f4\u5171\u4eab\u6570\u636e\u7684\u5206\u5e03\u5f0f\u89e3\u51b3\u65b9\u6848\u3002\u5b83\u901a\u8fc7\u5c06\u6570\u636e\u5206\u6563\u5b58\u50a8\u5728\u591a\u4e2a\u8282\u70b9\u4e0a\uff0c\u5b9e\u73b0\u6570\u636e\u7684\u5206\u7247\u5b58\u50a8\uff0c\u5e76\u4e14\u5728\u90e8\u5206\u8282\u70b9\u51fa\u73b0\u6545\u969c\u65f6\uff0c\u4f9d\u7136\u80fd\u591f\u4fdd\u8bc1\u96c6\u7fa4\u7684\u53ef\u7528\u6027\u548c\u6570\u636e\u7684\u5b8c\u6574\u6027\uff0c\u4ee5\u6b64\u6765\u6ee1\u8db3\u9ad8\u5e76\u53d1\u3001\u5927\u6570\u636e\u91cf\u7684\u5e94\u7528\u573a\u666f\u3002"),(0,l.yg)("p",null,"\u6570\u636e\u5206\u7247\u539f\u7406\uff1aRedis \u96c6\u7fa4\u91c7\u7528\u54c8\u5e0c\u69fd\uff08hash slot\uff09\u7684\u65b9\u5f0f\u6765\u8fdb\u884c\u6570\u636e\u5206\u7247\u3002\u6574\u4e2a\u96c6\u7fa4\u5171\u6709 16384 \u4e2a\u54c8\u5e0c\u69fd\uff0c\u6570\u636e\u7684\u952e\uff08key\uff09\u901a\u8fc7 CRC16 \u7b97\u6cd5\u8ba1\u7b97\u51fa\u4e00\u4e2a\u54c8\u5e0c\u503c\uff0c\u7136\u540e\u5bf9 16384 \u53d6\u6a21\uff0c\u5f97\u5230\u8fd9\u4e2a\u952e\u5bf9\u5e94\u7684\u54c8\u5e0c\u69fd\u7f16\u53f7\u3002\u6bcf\u4e2a\u8282\u70b9\u8d1f\u8d23\u4e00\u90e8\u5206\u54c8\u5e0c\u69fd\uff0c\u8fd9\u6837\u5c31\u5c06\u6570\u636e\u5206\u6563\u5230\u4e86\u4e0d\u540c\u7684\u8282\u70b9\u4e0a\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u6709 3 \u4e2a\u8282\u70b9\uff0c\u8282\u70b9 A \u8d1f\u8d23 0 - 5460 \u53f7\u54c8\u5e0c\u69fd\uff0c\u8282\u70b9 B \u8d1f\u8d23 5461 - 10922 \u53f7\u54c8\u5e0c\u69fd\uff0c\u8282\u70b9 C \u8d1f\u8d23 10923 - 16383 \u53f7\u54c8\u5e0c\u69fd\u3002\u5f53\u5ba2\u6237\u7aef\u8981\u8bbf\u95ee\u4e00\u4e2a\u952e\u65f6\uff0c\u5148\u8ba1\u7b97\u5176\u54c8\u5e0c\u69fd\u7f16\u53f7\uff0c\u7136\u540e\u5c31\u77e5\u9053\u5e94\u8be5\u5411\u54ea\u4e2a\u8282\u70b9\u53d1\u9001\u8bf7\u6c42\u3002"),(0,l.yg)("h3",{id:"\u5982\u4f55\u8bc6\u522b\u4e3b\u4ece"},"\u5982\u4f55\u8bc6\u522b\u4e3b\u4ece"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\n./bin/redis-cli --help\n./bin/redis-cli --tls --insecure -h 10.0.102.137 -a xxxx\n# INFO \u7528\u4e8e\u83b7\u53d6\u5173\u4e8e Redis \u670d\u52a1\u5668\u7684\u5404\u79cd\u4fe1\u606f\u3002\n# ROLE\n")),(0,l.yg)("h3",{id:"\u53c2\u8003\u8d44\u6599"},"\u53c2\u8003\u8d44\u6599"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/523368070"},"\u5f20\u5f66\u98de-Redis 6 \u4e2d\u7684\u591a\u7ebf\u7a0b\u5b9e\u73b0\u65b9\u5f0f\u6bd4\u6211\u9884\u671f\u7684\u8981\u5dee")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/512502929"},"\u5f20\u5f66\u98de-\u6df1\u5ea6\u89e3\u6790\u5355\u7ebf\u7a0b\u7684 Redis \u5982\u4f55\u505a\u5230\u6bcf\u79d2\u6570\u4e07 QPS \u7684\u8d85\u9ad8\u5904\u7406\u80fd\u529b\uff01"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5d0c646c.5368cfa7.js b/assets/js/5d0c646c.021e3837.js similarity index 98% rename from assets/js/5d0c646c.5368cfa7.js rename to assets/js/5d0c646c.021e3837.js index 0b865dc3f..6ddbb2a84 100644 --- a/assets/js/5d0c646c.5368cfa7.js +++ b/assets/js/5d0c646c.021e3837.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4080],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),p=u(r),d=o,f=p["".concat(i,".").concat(d)]||p[d]||y[d]||a;return r?n.createElement(f,s(s({ref:t},l),{},{components:r})):n.createElement(f,s({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[p]="string"==typeof e?e:o,s[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>s,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},s="\u5185\u5b58\u7ba1\u7406",c={unversionedId:"study/system/\u5185\u5b58\u7ba1\u7406",id:"study/system/\u5185\u5b58\u7ba1\u7406",title:"\u5185\u5b58\u7ba1\u7406",description:"\u53c2\u8003",source:"@site/docs/study/system/\u5185\u5b58\u7ba1\u7406.md",sourceDirName:"study/system",slug:"/study/system/\u5185\u5b58\u7ba1\u7406",permalink:"/docs/study/system/\u5185\u5b58\u7ba1\u7406",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"yum-dnf",permalink:"/docs/study/system/yum-dnf"},next:{title:"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790",permalink:"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790"}},i={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],l={toc:u},p="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5185\u5b58\u7ba1\u7406"},"\u5185\u5b58\u7ba1\u7406"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/455772416"},"\u77e5\u4e4e-\u4ece\u5185\u5b58\u7ba1\u7406\u539f\u7406\uff0c\u7aa5\u63a2 OS \u5185\u5b58\u7ba1\u7406\u673a\u5236"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4080],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),p=u(r),d=o,f=p["".concat(i,".").concat(d)]||p[d]||y[d]||a;return r?n.createElement(f,s(s({ref:t},l),{},{components:r})):n.createElement(f,s({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[p]="string"==typeof e?e:o,s[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>s,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},s="\u5185\u5b58\u7ba1\u7406",c={unversionedId:"study/system/\u5185\u5b58\u7ba1\u7406",id:"study/system/\u5185\u5b58\u7ba1\u7406",title:"\u5185\u5b58\u7ba1\u7406",description:"\u53c2\u8003",source:"@site/docs/study/system/\u5185\u5b58\u7ba1\u7406.md",sourceDirName:"study/system",slug:"/study/system/\u5185\u5b58\u7ba1\u7406",permalink:"/docs/study/system/\u5185\u5b58\u7ba1\u7406",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"yum-dnf",permalink:"/docs/study/system/yum-dnf"},next:{title:"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790",permalink:"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790"}},i={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],l={toc:u},p="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5185\u5b58\u7ba1\u7406"},"\u5185\u5b58\u7ba1\u7406"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/455772416"},"\u77e5\u4e4e-\u4ece\u5185\u5b58\u7ba1\u7406\u539f\u7406\uff0c\u7aa5\u63a2 OS \u5185\u5b58\u7ba1\u7406\u673a\u5236"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5d4ec3d4.8a181098.js b/assets/js/5d4ec3d4.b3b4487a.js similarity index 98% rename from assets/js/5d4ec3d4.8a181098.js rename to assets/js/5d4ec3d4.b3b4487a.js index 7dd1db236..033db01de 100644 --- a/assets/js/5d4ec3d4.8a181098.js +++ b/assets/js/5d4ec3d4.b3b4487a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8295],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),u=s(r),g=a,y=u["".concat(l,".").concat(g)]||u[g]||p[g]||o;return r?n.createElement(y,i(i({ref:t},d),{},{components:r})):n.createElement(y,i({ref:t},d))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=g;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:a,i[1]=c;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>p,frontMatter:()=>o,metadata:()=>c,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const o={},i=void 0,c={unversionedId:"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc",id:"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc",title:"log4jdbc",description:"log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging system.",source:"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc.md",sourceDirName:"study/back/\u6570\u636e\u5e93\u76f8\u5173",slug:"/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis"},next:{title:"\u9519\u8bef\u6392\u9664\u96c6\u9526",permalink:"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526"}},l={},s=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],d={toc:s},u="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging system."),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/arthurblake/log4jdbc"},"GitHub-log4jdbc")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_42272869/article/details/124477592"},"Java - log4jdbc \u4f7f\u7528\u4e0e\u539f\u7406\u4ecb\u7ecd\uff08SQL/\u65e5\u5fd7\u76d1\u63a7\uff09"))))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8295],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),u=s(r),g=a,y=u["".concat(l,".").concat(g)]||u[g]||p[g]||o;return r?n.createElement(y,i(i({ref:t},d),{},{components:r})):n.createElement(y,i({ref:t},d))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=g;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:a,i[1]=c;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>p,frontMatter:()=>o,metadata:()=>c,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const o={},i=void 0,c={unversionedId:"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc",id:"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc",title:"log4jdbc",description:"log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging system.",source:"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc.md",sourceDirName:"study/back/\u6570\u636e\u5e93\u76f8\u5173",slug:"/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis"},next:{title:"\u9519\u8bef\u6392\u9664\u96c6\u9526",permalink:"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526"}},l={},s=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],d={toc:s},u="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging system."),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/arthurblake/log4jdbc"},"GitHub-log4jdbc")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_42272869/article/details/124477592"},"Java - log4jdbc \u4f7f\u7528\u4e0e\u539f\u7406\u4ecb\u7ecd\uff08SQL/\u65e5\u5fd7\u76d1\u63a7\uff09"))))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5d7c8d18.02fd870e.js b/assets/js/5d7c8d18.12ae5f6f.js similarity index 98% rename from assets/js/5d7c8d18.02fd870e.js rename to assets/js/5d7c8d18.12ae5f6f.js index df981bde1..a8479b708 100644 --- a/assets/js/5d7c8d18.02fd870e.js +++ b/assets/js/5d7c8d18.12ae5f6f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4913],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),l=p(r),y=a,f=l["".concat(u,".").concat(y)]||l[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[l]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316",id:"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316",title:"Tomcat\u4f18\u5316",description:"Tomcat",source:"@site/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316.md",sourceDirName:"study/back/JavaWeb\u670d\u52a1\u5668",slug:"/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Jetty\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316"},next:{title:"Undertow\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316"}},u={},p=[],s={toc:p},l="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"Tomcat"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4913],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),l=p(r),y=a,f=l["".concat(u,".").concat(y)]||l[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[l]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316",id:"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316",title:"Tomcat\u4f18\u5316",description:"Tomcat",source:"@site/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316.md",sourceDirName:"study/back/JavaWeb\u670d\u52a1\u5668",slug:"/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Jetty\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316"},next:{title:"Undertow\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316"}},u={},p=[],s={toc:p},l="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"Tomcat"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5e266219.5c3b9090.js b/assets/js/5e266219.fc8c7034.js similarity index 98% rename from assets/js/5e266219.5c3b9090.js rename to assets/js/5e266219.fc8c7034.js index 4568aeb43..38a20ef2b 100644 --- a/assets/js/5e266219.5c3b9090.js +++ b/assets/js/5e266219.fc8c7034.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5731],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>g});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),y=o,g=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(g,c(c({ref:t},u),{},{components:r})):n.createElement(g,c({ref:t},u))}));function g(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4",id:"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4",title:"GIT-\u5e38\u7528\u547d\u4ee4",description:"clone",source:"@site/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4.md",sourceDirName:"study/program/GIT",slug:"/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4",permalink:"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Erlang",permalink:"/docs/study/program/Erlang/"},next:{title:"GitHub Desktop",permalink:"/docs/study/program/GIT/GitHubDesktop"}},l={},p=[{value:"clone",id:"clone",level:3},{value:"\u628a\u975e\u5fc5\u8981\u6587\u4ef6\u5df2\u7ecf\u4e0a\u4f20\u5230 git\uff0c\u5982\u4f55\u5904\u7406",id:"\u628a\u975e\u5fc5\u8981\u6587\u4ef6\u5df2\u7ecf\u4e0a\u4f20\u5230-git\u5982\u4f55\u5904\u7406",level:3}],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"clone"},"clone"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7528\u6237\u540d\u5982\u679c\u643a\u5e26@\u9700\u8981\u4f7f\u7528%40\u66ff\u6362\ngit clone https://\u7528\u6237\u540d:\u5bc6\u7801@git.coding.net/sample/HelloWorld.git\n")),(0,o.yg)("h3",{id:"\u628a\u975e\u5fc5\u8981\u6587\u4ef6\u5df2\u7ecf\u4e0a\u4f20\u5230-git\u5982\u4f55\u5904\u7406"},"\u628a\u975e\u5fc5\u8981\u6587\u4ef6\u5df2\u7ecf\u4e0a\u4f20\u5230 git\uff0c\u5982\u4f55\u5904\u7406"),(0,o.yg)("p",null,"\u5148\u589e\u52a0\u5230.gitignore\uff0c\u7136\u540e\u5220\u9664\u672c\u5730\u7f13\u5b58\uff0c\u518d\u4e0a\u4f20\u5230\u8fdc\u7a0b\u4ed3\u5e93\ngit rm --cached .xxx\ngit rm-r --cached .yyy"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5731],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>g});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),y=o,g=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(g,c(c({ref:t},u),{},{components:r})):n.createElement(g,c({ref:t},u))}));function g(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4",id:"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4",title:"GIT-\u5e38\u7528\u547d\u4ee4",description:"clone",source:"@site/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4.md",sourceDirName:"study/program/GIT",slug:"/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4",permalink:"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Erlang",permalink:"/docs/study/program/Erlang/"},next:{title:"GitHub Desktop",permalink:"/docs/study/program/GIT/GitHubDesktop"}},l={},p=[{value:"clone",id:"clone",level:3},{value:"\u628a\u975e\u5fc5\u8981\u6587\u4ef6\u5df2\u7ecf\u4e0a\u4f20\u5230 git\uff0c\u5982\u4f55\u5904\u7406",id:"\u628a\u975e\u5fc5\u8981\u6587\u4ef6\u5df2\u7ecf\u4e0a\u4f20\u5230-git\u5982\u4f55\u5904\u7406",level:3}],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"clone"},"clone"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7528\u6237\u540d\u5982\u679c\u643a\u5e26@\u9700\u8981\u4f7f\u7528%40\u66ff\u6362\ngit clone https://\u7528\u6237\u540d:\u5bc6\u7801@git.coding.net/sample/HelloWorld.git\n")),(0,o.yg)("h3",{id:"\u628a\u975e\u5fc5\u8981\u6587\u4ef6\u5df2\u7ecf\u4e0a\u4f20\u5230-git\u5982\u4f55\u5904\u7406"},"\u628a\u975e\u5fc5\u8981\u6587\u4ef6\u5df2\u7ecf\u4e0a\u4f20\u5230 git\uff0c\u5982\u4f55\u5904\u7406"),(0,o.yg)("p",null,"\u5148\u589e\u52a0\u5230.gitignore\uff0c\u7136\u540e\u5220\u9664\u672c\u5730\u7f13\u5b58\uff0c\u518d\u4e0a\u4f20\u5230\u8fdc\u7a0b\u4ed3\u5e93\ngit rm --cached .xxx\ngit rm-r --cached .yyy"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5f2eed60.841c5422.js b/assets/js/5f2eed60.ace43ad7.js similarity index 98% rename from assets/js/5f2eed60.841c5422.js rename to assets/js/5f2eed60.ace43ad7.js index 36991322a..3178f4662 100644 --- a/assets/js/5f2eed60.841c5422.js +++ b/assets/js/5f2eed60.ace43ad7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2168],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},f="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),f=c(r),y=a,d=f["".concat(p,".").concat(y)]||f[y]||s[y]||l;return r?n.createElement(d,i(i({ref:t},u),{},{components:r})):n.createElement(d,i({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,i=new Array(l);i[0]=y;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[f]="string"==typeof e?e:a,i[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>l,metadata:()=>o,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const l={},i=void 0,o={unversionedId:"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",id:"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",title:"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",description:"iperf3",source:"@site/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177.md",sourceDirName:"study/net",slug:"/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",permalink:"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6293\u5305\u5de5\u5177",permalink:"/docs/study/net/\u6293\u5305\u5de5\u5177"},next:{title:"ASN.1",permalink:"/docs/study/encryption/ASN.1"}},p={},c=[{value:"iperf3",id:"iperf3",level:3},{value:"netperf",id:"netperf",level:3},{value:"qperf",id:"qperf",level:3}],u={toc:c},f="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(f,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"iperf3"},"iperf3"),(0,a.yg)("p",null,"iPerf3 \u662f\u4e00\u79cd\u7528\u4e8e\u4e3b\u52a8\u6d4b\u91cf IP \u7f51\u7edc\u4e0a\u53ef\u5b9e\u73b0\u7684\u6700\u5927\u5e26\u5bbd\u7684\u5de5\u5177\u3002\u5b83\u652f\u6301\u8c03\u6574\u4e0e\u5b9a\u65f6\u3001\u7f13\u51b2\u533a\u548c\u534f\u8bae\uff08TCP\u3001UDP\u3001\u5e26\u6709 IPv4 \u548c IPv6 \u7684 SCTP\uff09\u76f8\u5173\u7684\u5404\u79cd\u53c2\u6570\u3002\u5bf9\u4e8e\u6bcf\u4e2a\u6d4b\u8bd5\uff0c\u5b83\u90fd\u4f1a\u62a5\u544a\u5e26\u5bbd\u3001\u635f\u8017\u548c\u5176\u4ed6\u53c2\u6570\u3002\u8fd9\u662f\u4e00\u4e2a\u65b0\u7684\u5b9e\u73b0\uff0c\u4e0e\u539f\u59cb iPerf \u4e0d\u5171\u4eab\u4ee3\u7801\uff0c\u4e5f\u4e0d\u5411\u540e\u517c\u5bb9\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://iperf.fr/"},"\u5b98\u7f51")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/585534080?utm_id=0"},"\u77e5\u4e4e-iperf3 \u547d\u4ee4\u7b80\u4ecb"))),(0,a.yg)("h3",{id:"netperf"},"netperf"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/HewlettPackard/netperf"},"github-netperf")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/lsc_2019/article/details/118577155"},"netperf \u7684\u5b89\u88c5\u3001\u6027\u80fd\u6d4b\u8bd5\u3001\u53c2\u6570\u3001\u542f\u52a8\u62a5\u9519\u7684\u5751\u3001\u5b9e\u4f8b"))),(0,a.yg)("h3",{id:"qperf"},"qperf"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.python100.com/html/109443.html"},"\u6df1\u5165\u5256\u6790 qperf\uff1a\u7f51\u7edc\u6027\u80fd\u57fa\u51c6\u6d4b\u8bd5\u5de5\u5177"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2168],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},f="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),f=c(r),y=a,d=f["".concat(p,".").concat(y)]||f[y]||s[y]||l;return r?n.createElement(d,i(i({ref:t},u),{},{components:r})):n.createElement(d,i({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,i=new Array(l);i[0]=y;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[f]="string"==typeof e?e:a,i[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>l,metadata:()=>o,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const l={},i=void 0,o={unversionedId:"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",id:"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",title:"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",description:"iperf3",source:"@site/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177.md",sourceDirName:"study/net",slug:"/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",permalink:"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6293\u5305\u5de5\u5177",permalink:"/docs/study/net/\u6293\u5305\u5de5\u5177"},next:{title:"ASN.1",permalink:"/docs/study/encryption/ASN.1"}},p={},c=[{value:"iperf3",id:"iperf3",level:3},{value:"netperf",id:"netperf",level:3},{value:"qperf",id:"qperf",level:3}],u={toc:c},f="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(f,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"iperf3"},"iperf3"),(0,a.yg)("p",null,"iPerf3 \u662f\u4e00\u79cd\u7528\u4e8e\u4e3b\u52a8\u6d4b\u91cf IP \u7f51\u7edc\u4e0a\u53ef\u5b9e\u73b0\u7684\u6700\u5927\u5e26\u5bbd\u7684\u5de5\u5177\u3002\u5b83\u652f\u6301\u8c03\u6574\u4e0e\u5b9a\u65f6\u3001\u7f13\u51b2\u533a\u548c\u534f\u8bae\uff08TCP\u3001UDP\u3001\u5e26\u6709 IPv4 \u548c IPv6 \u7684 SCTP\uff09\u76f8\u5173\u7684\u5404\u79cd\u53c2\u6570\u3002\u5bf9\u4e8e\u6bcf\u4e2a\u6d4b\u8bd5\uff0c\u5b83\u90fd\u4f1a\u62a5\u544a\u5e26\u5bbd\u3001\u635f\u8017\u548c\u5176\u4ed6\u53c2\u6570\u3002\u8fd9\u662f\u4e00\u4e2a\u65b0\u7684\u5b9e\u73b0\uff0c\u4e0e\u539f\u59cb iPerf \u4e0d\u5171\u4eab\u4ee3\u7801\uff0c\u4e5f\u4e0d\u5411\u540e\u517c\u5bb9\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://iperf.fr/"},"\u5b98\u7f51")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/585534080?utm_id=0"},"\u77e5\u4e4e-iperf3 \u547d\u4ee4\u7b80\u4ecb"))),(0,a.yg)("h3",{id:"netperf"},"netperf"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/HewlettPackard/netperf"},"github-netperf")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/lsc_2019/article/details/118577155"},"netperf \u7684\u5b89\u88c5\u3001\u6027\u80fd\u6d4b\u8bd5\u3001\u53c2\u6570\u3001\u542f\u52a8\u62a5\u9519\u7684\u5751\u3001\u5b9e\u4f8b"))),(0,a.yg)("h3",{id:"qperf"},"qperf"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.python100.com/html/109443.html"},"\u6df1\u5165\u5256\u6790 qperf\uff1a\u7f51\u7edc\u6027\u80fd\u57fa\u51c6\u6d4b\u8bd5\u5de5\u5177"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5f897b5c.89ec7fbe.js b/assets/js/5f897b5c.85aacf6d.js similarity index 98% rename from assets/js/5f897b5c.89ec7fbe.js rename to assets/js/5f897b5c.85aacf6d.js index 5fcd13ca7..0d3da0b76 100644 --- a/assets/js/5f897b5c.89ec7fbe.js +++ b/assets/js/5f897b5c.85aacf6d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[184],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=o,m=s["".concat(p,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(m,l(l({ref:t},c),{},{components:r})):n.createElement(m,l({ref:t},c))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,i={unversionedId:"study/program/GIT/PR\u548cMR",id:"study/program/GIT/PR\u548cMR",title:"PR\u548cMR",description:"\u7b80\u4ecb",source:"@site/docs/study/program/GIT/PR\u548cMR.md",sourceDirName:"study/program/GIT",slug:"/study/program/GIT/PR\u548cMR",permalink:"/docs/study/program/GIT/PR\u548cMR",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"GitHub Desktop",permalink:"/docs/study/program/GIT/GitHubDesktop"},next:{title:"Golang",permalink:"/docs/study/program/Golang/"}},p={},u=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"GitHub\u7684Fork-PR\u6a21\u5f0f",id:"github\u7684fork-pr\u6a21\u5f0f",level:3},{value:"Gitlab\u7684MR\u6a21\u5f0f",id:"gitlab\u7684mr\u6a21\u5f0f",level:3}],c={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,o.yg)("p",null,"\u6211\u4eec\u77e5\u9053Git\u534f\u4f5c\u4e2d\u6700\u91cd\u8981\u7684\u4e00\u4e2a\u6b65\u9aa4\u662fPull Requests\uff08\u7b80\u79f0PR,Gitlab\u4e2d\u4e5f\u53ebMerge requests\uff0cMR\uff09,PR\u548cMR\u8fd9\u4e24\u4e2a\u64cd\u4f5c\u7684\u76ee\u7684\u662f\u4e00\u4e2a\u610f\u601d\uff0c\u53ea\u4e0d\u8fc7PR\u662fGitHub\u7684\u4f7f\u7528\u65b9\u6cd5\uff0cMR\u662fGitlab\u7684\u7684\u4f7f\u7528\u65b9\u6cd5\u3002"),(0,o.yg)("h3",{id:"github\u7684fork-pr\u6a21\u5f0f"},"GitHub\u7684Fork-PR\u6a21\u5f0f"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u9996\u5148fork\u4e00\u4e2a\u5de5\u7a0b"),(0,o.yg)("li",{parentName:"ol"},"\u4fee\u6539\u4ee3\u7801\u5e76\u63d0\u4ea4PR\u8bf7\u6c42"),(0,o.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u4f5c\u8005review\u4ee3\u7801\uff0c\u5e76\u6839\u636e\u60c5\u51b5PR\u8bf7\u6c42")),(0,o.yg)("h3",{id:"gitlab\u7684mr\u6a21\u5f0f"},"Gitlab\u7684MR\u6a21\u5f0f"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u4e00\u822cMR\u5230\u7684\u5206\u652f\u90fd\u662fmaster\uff0cmaster\u662f\u53d7\u4fdd\u62a4\u7684\uff0c\u666e\u901a\u5f00\u53d1\u8005\u662f\u6ca1\u6709\u6743\u9650push\u7684\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u666e\u901a\u5f00\u53d1\u8005\u63d0\u4ea4MR\u8bf7\u6c42\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u4e3b\u5f00\u53d1\u4eba\u5458review\u4ee3\u7801\uff0c\u5e76\u6839\u636e\u60c5\u51b5\u540c\u610f\u5408\u5e76\u8bf7\u6c42")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[184],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=o,m=s["".concat(p,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(m,l(l({ref:t},c),{},{components:r})):n.createElement(m,l({ref:t},c))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,i={unversionedId:"study/program/GIT/PR\u548cMR",id:"study/program/GIT/PR\u548cMR",title:"PR\u548cMR",description:"\u7b80\u4ecb",source:"@site/docs/study/program/GIT/PR\u548cMR.md",sourceDirName:"study/program/GIT",slug:"/study/program/GIT/PR\u548cMR",permalink:"/docs/study/program/GIT/PR\u548cMR",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"GitHub Desktop",permalink:"/docs/study/program/GIT/GitHubDesktop"},next:{title:"Golang",permalink:"/docs/study/program/Golang/"}},p={},u=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"GitHub\u7684Fork-PR\u6a21\u5f0f",id:"github\u7684fork-pr\u6a21\u5f0f",level:3},{value:"Gitlab\u7684MR\u6a21\u5f0f",id:"gitlab\u7684mr\u6a21\u5f0f",level:3}],c={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,o.yg)("p",null,"\u6211\u4eec\u77e5\u9053Git\u534f\u4f5c\u4e2d\u6700\u91cd\u8981\u7684\u4e00\u4e2a\u6b65\u9aa4\u662fPull Requests\uff08\u7b80\u79f0PR,Gitlab\u4e2d\u4e5f\u53ebMerge requests\uff0cMR\uff09,PR\u548cMR\u8fd9\u4e24\u4e2a\u64cd\u4f5c\u7684\u76ee\u7684\u662f\u4e00\u4e2a\u610f\u601d\uff0c\u53ea\u4e0d\u8fc7PR\u662fGitHub\u7684\u4f7f\u7528\u65b9\u6cd5\uff0cMR\u662fGitlab\u7684\u7684\u4f7f\u7528\u65b9\u6cd5\u3002"),(0,o.yg)("h3",{id:"github\u7684fork-pr\u6a21\u5f0f"},"GitHub\u7684Fork-PR\u6a21\u5f0f"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u9996\u5148fork\u4e00\u4e2a\u5de5\u7a0b"),(0,o.yg)("li",{parentName:"ol"},"\u4fee\u6539\u4ee3\u7801\u5e76\u63d0\u4ea4PR\u8bf7\u6c42"),(0,o.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u4f5c\u8005review\u4ee3\u7801\uff0c\u5e76\u6839\u636e\u60c5\u51b5PR\u8bf7\u6c42")),(0,o.yg)("h3",{id:"gitlab\u7684mr\u6a21\u5f0f"},"Gitlab\u7684MR\u6a21\u5f0f"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u4e00\u822cMR\u5230\u7684\u5206\u652f\u90fd\u662fmaster\uff0cmaster\u662f\u53d7\u4fdd\u62a4\u7684\uff0c\u666e\u901a\u5f00\u53d1\u8005\u662f\u6ca1\u6709\u6743\u9650push\u7684\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u666e\u901a\u5f00\u53d1\u8005\u63d0\u4ea4MR\u8bf7\u6c42\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u4e3b\u5f00\u53d1\u4eba\u5458review\u4ee3\u7801\uff0c\u5e76\u6839\u636e\u60c5\u51b5\u540c\u610f\u5408\u5e76\u8bf7\u6c42")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/605a1ee6.2e7c8d87.js b/assets/js/605a1ee6.d45ae4ed.js similarity index 99% rename from assets/js/605a1ee6.2e7c8d87.js rename to assets/js/605a1ee6.d45ae4ed.js index 1c814f01a..13faeaaba 100644 --- a/assets/js/605a1ee6.2e7c8d87.js +++ b/assets/js/605a1ee6.d45ae4ed.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5336],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>g});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=r.createContext({}),a=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):u(u({},t),e)),n},y=function(e){var t=a(e.components);return r.createElement(p.Provider,{value:t},e.children)},i="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,o=e.originalType,p=e.parentName,y=c(e,["components","mdxType","originalType","parentName"]),i=a(n),f=l,g=i["".concat(p,".").concat(f)]||i[f]||s[f]||o;return n?r.createElement(g,u(u({ref:t},y),{},{components:n})):r.createElement(g,u({ref:t},y))}));function g(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=n.length,u=new Array(o);u[0]=f;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[i]="string"==typeof e?e:l,u[1]=c;for(var a=2;a{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>s,frontMatter:()=>o,metadata:()=>c,toc:()=>a});var r=n(58168),l=(n(96540),n(15680));const o={},u=void 0,c={unversionedId:"study/stock/20241105",id:"study/stock/20241105",title:"20241105",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241105.md",sourceDirName:"study/stock",slug:"/study/stock/20241105",permalink:"/docs/study/stock/20241105",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},p={},a=[],y={toc:a},i="wrapper";function s(e){let{components:t,...n}=e;return(0,l.yg)(i,(0,r.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,l.yg)("p",null,"\u8fd8\u662f\u56de\u5230\u4ee5\u524d\u7684\u6a21\u5f0f\u5427\uff0c\u5c0f\u8d44\u91d1\u6162\u6162\u73a9"),(0,l.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,l.yg)("p",null,"\u987a\u5a01\u80a1\u4efd \u6302 1% \u5356\u6389 --- \u6267\u884c\uff0c\u8fd8\u7b97\u53ef\u4ee5"),(0,l.yg)("p",null,"\u4f17\u6cf0\u6c7d\u8f66 \u6302 5% \u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634 \u4e24\u4e2a\u9633\u7ebf\u662f\u6da8\u505c\uff0c\u5f88\u5f3a\u52bf--- \u53ef\u4ee5\uff0c\u6210\u529f\u6da8\u505c\uff0c\u6700\u4f4e 3%"),(0,l.yg)("p",null,"\u5efa\u5143\u4fe1\u6258 \u6302 -3% \u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634 \u540e\u9633\u6da8\u505c\u4e14\u653e\u91cf---\u5dee\u4e00\u70b9\uff0c\u6ca1\u4e70\u4e0a"),(0,l.yg)("p",null,"\u534e\u4e1c\u6570\u63a7 \u770b\u4e00\u4e0b \u5730\u5929\u677f\u7684\u8d70\u52bf --- -3%\u5de6\u53f3\uff0c\u5c0f\u9633"),(0,l.yg)("p",null,"\u4e2d\u4fe1\u8bc1\u5238\u7834\u4e86\u524d\u9ad8\u4e4b\u540e\uff0c\u4f46\u662f\u6ca1\u653e\u91cf\u5440 -- \u4f46\u662f\u4eca\u5929\u5927\u9633\uff0c5%\u5de6\u53f3"),(0,l.yg)("p",null,"\u957f\u5b89\u6c7d\u8f66 \u4e0b\u5348 \u770b\u4e00\u4e0b \u8d70\u52bf \u662f\u5426\u51cf\u4ed3\u56de\u8c03 -- \u786e\u5b9e\u51cf\u4ed3\u56de\u8c03\uff0c\u4f46\u662f\u91cf\u548c\u6628\u5929\u5dee\u4e0d\u591a"),(0,l.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u662f\u52a0\u4ed3 K \u4e48 -- \u4eca\u5929\u4e0b\u5348\u5165\u4e86\uff0c\u7ed3\u679c\u4e8f\u635f\u4e86 1%\u5de6\u53f3"),(0,l.yg)("p",null,"\u53a6\u95e8\u94a8\u4e1a \u8981\u505a\u4e24\u9633\u5305\u4e00\u9634\u4e48 --- \u662f\u4e24\u9633\u5305\u4e00\u9634"),(0,l.yg)("hr",null),(0,l.yg)("p",null,"\u6574\u4f53\u6765\u8bf4\uff0c\u4eca\u5929\u5c0f\u8d44\u91d1\u6a21\u5f0f\u76c8\u5229\u4e86\uff0c\u9002\u5408\u81ea\u5df1"),(0,l.yg)("p",null,"\u4f46\u662f\u4eca\u5929\u5927\u76d8\u4e0a\u6da8\u4e86\uff0c\u4e4b\u524d\u5356\u7684\u80a1\u7968\u90fd\u957f\u5f97\u4e0d\u9519"),(0,l.yg)("p",null,"\u96be\u9053\u81ea\u5df1\u4e0d\u9002\u5408\u91cd\u4ed3\u4e48 \u4e00\u91cd\u4ed3\u5c31\u51fa\u9519"),(0,l.yg)("p",null,"\u8fd8\u662f\u627e\u51c6\u91cd\u4ed3\u7684\u65f6\u673a\uff0c\u5148\u7528\u5c0f\u8d44\u91d1\u6162\u6162\u6765\u5427"),(0,l.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u653e\u91cf\u7a81\u7834\u5e73\u53f0\u8c03\u6574\u524d\u9ad8\u70b9\uff0c\u540e\u7eed\u5982\u4f55\u53d1\u5c55\uff0c\u660e\u5929\u5927\u6982\u7387\u4f1a\u8c03\u6574\u786e\u8ba4"),(0,l.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,l.yg)("p",null,"\u4f17\u6cf0\u6c7d\u8f66 \u6302 5%\u5356\u6389 \u5356\u6389\u7406\u7531\uff1a\u4e8b\u4e0d\u8fc7\u4e09 \u4e0d\u559c\u6b22\u4e09\u8054\u677f"),(0,l.yg)("p",null,"\u4e2d\u4fe1\u8bc1\u5238 \u6302 -2%\u4e70\u5165 \u4e70\u5165\u7406\u7531\uff1a\u4e0a\u6da8\u901a\u9053\uff0c\u7b2c\u4e00\u6b21\u56de\u8c03\u7ed3\u675f\uff0c2 \u6839 K \u7ebf\u653e\u91cf\u4e0a\u6da8\uff0c\u9884\u6d4b\u8fd8\u6709\u7b2c\u4e09\u6839"),(0,l.yg)("p",null,"\u957f\u5b89\u6c7d\u8f66 \u6302-2%\u4e70\u5165 \u4e70\u5165\u7406\u7531\uff1a\u4e0a\u6da8\u901a\u9053\uff0c\u7b2c\u4e00\u6b21\u56de\u8c03\u7ed3\u675f\uff0c3 \u6839 K \u7ebf\u653e\u91cf\u4e0a\u6da8\uff0c\u4e00\u6839 K \u56de\u8c03\uff08\u7834\u524d K \u9ad8\uff09\uff0c\u9884\u6d4b\u540e\u9762\u4f1a\u6709\u4e09\u6839 K \u4e0a\u6da8"),(0,l.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u6302 3%\u5356\u6389 \u5356\u6389\u7406\u7531\uff1a\u6ca1\u7406\u7531\u5440 \u4e0d\u5356 \u4e0b\u5348\u770b\u770b\u5427"),(0,l.yg)("p",null,"\u53a6\u95e8\u94a8\u4e1a \u6302-5%\u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634\uff0c\u4f46\u662f\u6ca1\u653e\u91cf\u5440"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5336],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>g});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=r.createContext({}),a=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):u(u({},t),e)),n},y=function(e){var t=a(e.components);return r.createElement(p.Provider,{value:t},e.children)},i="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,o=e.originalType,p=e.parentName,y=c(e,["components","mdxType","originalType","parentName"]),i=a(n),f=l,g=i["".concat(p,".").concat(f)]||i[f]||s[f]||o;return n?r.createElement(g,u(u({ref:t},y),{},{components:n})):r.createElement(g,u({ref:t},y))}));function g(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=n.length,u=new Array(o);u[0]=f;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[i]="string"==typeof e?e:l,u[1]=c;for(var a=2;a{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>s,frontMatter:()=>o,metadata:()=>c,toc:()=>a});var r=n(58168),l=(n(96540),n(15680));const o={},u=void 0,c={unversionedId:"study/stock/20241105",id:"study/stock/20241105",title:"20241105",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241105.md",sourceDirName:"study/stock",slug:"/study/stock/20241105",permalink:"/docs/study/stock/20241105",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},p={},a=[],y={toc:a},i="wrapper";function s(e){let{components:t,...n}=e;return(0,l.yg)(i,(0,r.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,l.yg)("p",null,"\u8fd8\u662f\u56de\u5230\u4ee5\u524d\u7684\u6a21\u5f0f\u5427\uff0c\u5c0f\u8d44\u91d1\u6162\u6162\u73a9"),(0,l.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,l.yg)("p",null,"\u987a\u5a01\u80a1\u4efd \u6302 1% \u5356\u6389 --- \u6267\u884c\uff0c\u8fd8\u7b97\u53ef\u4ee5"),(0,l.yg)("p",null,"\u4f17\u6cf0\u6c7d\u8f66 \u6302 5% \u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634 \u4e24\u4e2a\u9633\u7ebf\u662f\u6da8\u505c\uff0c\u5f88\u5f3a\u52bf--- \u53ef\u4ee5\uff0c\u6210\u529f\u6da8\u505c\uff0c\u6700\u4f4e 3%"),(0,l.yg)("p",null,"\u5efa\u5143\u4fe1\u6258 \u6302 -3% \u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634 \u540e\u9633\u6da8\u505c\u4e14\u653e\u91cf---\u5dee\u4e00\u70b9\uff0c\u6ca1\u4e70\u4e0a"),(0,l.yg)("p",null,"\u534e\u4e1c\u6570\u63a7 \u770b\u4e00\u4e0b \u5730\u5929\u677f\u7684\u8d70\u52bf --- -3%\u5de6\u53f3\uff0c\u5c0f\u9633"),(0,l.yg)("p",null,"\u4e2d\u4fe1\u8bc1\u5238\u7834\u4e86\u524d\u9ad8\u4e4b\u540e\uff0c\u4f46\u662f\u6ca1\u653e\u91cf\u5440 -- \u4f46\u662f\u4eca\u5929\u5927\u9633\uff0c5%\u5de6\u53f3"),(0,l.yg)("p",null,"\u957f\u5b89\u6c7d\u8f66 \u4e0b\u5348 \u770b\u4e00\u4e0b \u8d70\u52bf \u662f\u5426\u51cf\u4ed3\u56de\u8c03 -- \u786e\u5b9e\u51cf\u4ed3\u56de\u8c03\uff0c\u4f46\u662f\u91cf\u548c\u6628\u5929\u5dee\u4e0d\u591a"),(0,l.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u662f\u52a0\u4ed3 K \u4e48 -- \u4eca\u5929\u4e0b\u5348\u5165\u4e86\uff0c\u7ed3\u679c\u4e8f\u635f\u4e86 1%\u5de6\u53f3"),(0,l.yg)("p",null,"\u53a6\u95e8\u94a8\u4e1a \u8981\u505a\u4e24\u9633\u5305\u4e00\u9634\u4e48 --- \u662f\u4e24\u9633\u5305\u4e00\u9634"),(0,l.yg)("hr",null),(0,l.yg)("p",null,"\u6574\u4f53\u6765\u8bf4\uff0c\u4eca\u5929\u5c0f\u8d44\u91d1\u6a21\u5f0f\u76c8\u5229\u4e86\uff0c\u9002\u5408\u81ea\u5df1"),(0,l.yg)("p",null,"\u4f46\u662f\u4eca\u5929\u5927\u76d8\u4e0a\u6da8\u4e86\uff0c\u4e4b\u524d\u5356\u7684\u80a1\u7968\u90fd\u957f\u5f97\u4e0d\u9519"),(0,l.yg)("p",null,"\u96be\u9053\u81ea\u5df1\u4e0d\u9002\u5408\u91cd\u4ed3\u4e48 \u4e00\u91cd\u4ed3\u5c31\u51fa\u9519"),(0,l.yg)("p",null,"\u8fd8\u662f\u627e\u51c6\u91cd\u4ed3\u7684\u65f6\u673a\uff0c\u5148\u7528\u5c0f\u8d44\u91d1\u6162\u6162\u6765\u5427"),(0,l.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u653e\u91cf\u7a81\u7834\u5e73\u53f0\u8c03\u6574\u524d\u9ad8\u70b9\uff0c\u540e\u7eed\u5982\u4f55\u53d1\u5c55\uff0c\u660e\u5929\u5927\u6982\u7387\u4f1a\u8c03\u6574\u786e\u8ba4"),(0,l.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,l.yg)("p",null,"\u4f17\u6cf0\u6c7d\u8f66 \u6302 5%\u5356\u6389 \u5356\u6389\u7406\u7531\uff1a\u4e8b\u4e0d\u8fc7\u4e09 \u4e0d\u559c\u6b22\u4e09\u8054\u677f"),(0,l.yg)("p",null,"\u4e2d\u4fe1\u8bc1\u5238 \u6302 -2%\u4e70\u5165 \u4e70\u5165\u7406\u7531\uff1a\u4e0a\u6da8\u901a\u9053\uff0c\u7b2c\u4e00\u6b21\u56de\u8c03\u7ed3\u675f\uff0c2 \u6839 K \u7ebf\u653e\u91cf\u4e0a\u6da8\uff0c\u9884\u6d4b\u8fd8\u6709\u7b2c\u4e09\u6839"),(0,l.yg)("p",null,"\u957f\u5b89\u6c7d\u8f66 \u6302-2%\u4e70\u5165 \u4e70\u5165\u7406\u7531\uff1a\u4e0a\u6da8\u901a\u9053\uff0c\u7b2c\u4e00\u6b21\u56de\u8c03\u7ed3\u675f\uff0c3 \u6839 K \u7ebf\u653e\u91cf\u4e0a\u6da8\uff0c\u4e00\u6839 K \u56de\u8c03\uff08\u7834\u524d K \u9ad8\uff09\uff0c\u9884\u6d4b\u540e\u9762\u4f1a\u6709\u4e09\u6839 K \u4e0a\u6da8"),(0,l.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u6302 3%\u5356\u6389 \u5356\u6389\u7406\u7531\uff1a\u6ca1\u7406\u7531\u5440 \u4e0d\u5356 \u4e0b\u5348\u770b\u770b\u5427"),(0,l.yg)("p",null,"\u53a6\u95e8\u94a8\u4e1a \u6302-5%\u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634\uff0c\u4f46\u662f\u6ca1\u653e\u91cf\u5440"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/61127ee0.e7f66340.js b/assets/js/61127ee0.1e294b51.js similarity index 99% rename from assets/js/61127ee0.e7f66340.js rename to assets/js/61127ee0.1e294b51.js index 6c85a9053..0bfe0011c 100644 --- a/assets/js/61127ee0.e7f66340.js +++ b/assets/js/61127ee0.1e294b51.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5218],{15680:(e,n,l)=>{l.d(n,{xA:()=>p,yg:()=>d});var a=l(96540);function r(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function t(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,a)}return l}function o(e){for(var n=1;n=0||(r[l]=e[l]);return r}(e,n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}var s=a.createContext({}),g=function(e){var n=a.useContext(s),l=n;return e&&(l="function"==typeof e?e(n):o(o({},n),e)),l},p=function(e){var n=g(e.components);return a.createElement(s.Provider,{value:n},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},y=a.forwardRef((function(e,n){var l=e.components,r=e.mdxType,t=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),c=g(l),y=r,d=c["".concat(s,".").concat(y)]||c[y]||u[y]||t;return l?a.createElement(d,o(o({ref:n},p),{},{components:l})):a.createElement(d,o({ref:n},p))}));function d(e,n){var l=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var t=l.length,o=new Array(t);o[0]=y;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[c]="string"==typeof e?e:r,o[1]=i;for(var g=2;g{l.r(n),l.d(n,{assets:()=>s,contentTitle:()=>o,default:()=>u,frontMatter:()=>t,metadata:()=>i,toc:()=>g});var a=l(58168),r=(l(96540),l(15680));const t={sidebar_position:2},o=void 0,i={unversionedId:"study/back/\u9ad8\u5e76\u53d1API",id:"study/back/\u9ad8\u5e76\u53d1API",title:"\u9ad8\u5e76\u53d1API",description:"\u603b\u7ed3",source:"@site/docs/study/back/\u9ad8\u5e76\u53d1API.md",sourceDirName:"study/back",slug:"/study/back/\u9ad8\u5e76\u53d1API",permalink:"/docs/study/back/\u9ad8\u5e76\u53d1API",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"Zookeeper",permalink:"/docs/study/back/Zookeeper"},next:{title:"API \u7f51\u5173",permalink:"/docs/study/back/API\u7f51\u5173/"}},s={},g=[{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3},{value:"wrk\u64cd\u4f5c",id:"wrk\u64cd\u4f5c",level:3},{value:"Nginx\u7edf\u8ba1\u8bbf\u95ee\u91cf",id:"nginx\u7edf\u8ba1\u8bbf\u95ee\u91cf",level:3},{value:"\u6839\u636e\u8bbf\u95eeIP\u7edf\u8ba1UV",id:"\u6839\u636e\u8bbf\u95eeip\u7edf\u8ba1uv",level:4},{value:"\u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1PV",id:"\u6839\u636e\u8bbf\u95eeurl\u7edf\u8ba1pv",level:4},{value:"\u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1QPS",id:"\u6839\u636e\u8bbf\u95eeurl\u7edf\u8ba1qps",level:4},{value:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684URL",id:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684url",level:4},{value:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684IP",id:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684ip",level:4},{value:"\u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7",id:"\u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7",level:4},{value:"\u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570",id:"\u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570",level:4},{value:"\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aIP\uff0c\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570",id:"\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aip\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570",level:4},{value:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570",id:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570",level:4},{value:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570",id:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570",level:4},{value:"\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42",id:"\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42",level:4},{value:"\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868",id:"\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868",level:4},{value:"\u67e5\u8be2\u67d0\u4e2aIP\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5,\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f",id:"\u67e5\u8be2\u67d0\u4e2aip\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f",level:4},{value:"\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u79d2)",id:"\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u79d2",level:4},{value:"\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5206\u949f)",id:"\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u5206\u949f",level:4},{value:"\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5c0f\u65f6)",id:"\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u5c0f\u65f6",level:4},{value:"\u5176\u4ed6\uff0c\u672a\u5206\u7c7b",id:"\u5176\u4ed6\u672a\u5206\u7c7b",level:4},{value:"\u540d\u8bcd\u89e3\u91ca",id:"\u540d\u8bcd\u89e3\u91ca",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:g},c="wrapper";function u(e){let{components:n,...l}=e;return(0,r.yg)(c,(0,a.A)({},p,l,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u5355\u673a\u767e\u4e07QPS\u7684Nginx\u662f\u6ca1\u6709\u95ee\u9898\u7684\uff0c\u5177\u4f53\u80fd\u5230\u591a\u5c11\uff0c\u53d7\u9650\u4e8e\uff1a",(0,r.yg)("ol",{parentName:"li"},(0,r.yg)("li",{parentName:"ol"},"\u670d\u52a1\u5668\u7684CPU\u6570\u91cf\u3001\u5185\u5b58\u5927\u5c0f\u3001\u78c1\u76d8\u6027\u80fd\uff1b"),(0,r.yg)("li",{parentName:"ol"},"\u670d\u52a1\u5668Linux\u7684\u914d\u7f6e"),(0,r.yg)("li",{parentName:"ol"},"Nginx\u7684\u53c2\u6570\u914d\u7f6e"),(0,r.yg)("li",{parentName:"ol"},"\u7f51\u5361\u7684\u914d\u7f6e\u3001\u8def\u7531\u5668\u7684\u914d\u7f6e\u3001\u4ea4\u6362\u673a\u7684\u914d\u7f6e"))),(0,r.yg)("li",{parentName:"ol"},"\u5355\u673aTomcat\u53d7\u9650\u4e8eJVM\u548cweb\u6846\u67b6\u7b49\u539f\u56e0\uff0c\u4e5f\u5c31\u6700\u591a1\u4e07\u5de6\u53f3\u7684QPS\uff1b",(0,r.yg)("ol",{parentName:"li"},(0,r.yg)("li",{parentName:"ol"},"\u5982\u679c\u9700\u8981\u7b80\u5355\u67e5\u8be2\u6570\u636e\u5e93\u7684\uff0c\u4e5f\u5c312~3K\u7684QPS\uff1b"),(0,r.yg)("li",{parentName:"ol"},"\u5982\u679c\u9700\u8981\u6570\u636e\u5e93\u4e8b\u52a1\u64cd\u4f5c\u7684\uff0c\u4e5f\u5c31100~150\u7684QPS\uff1b"))),(0,r.yg)("li",{parentName:"ol"},"\u4ec0\u4e48\u65f6\u5019\u9700\u8981\u6c34\u5e73\u62d3\u5c55QPS"),(0,r.yg)("li",{parentName:"ol"},"HTTP\u538b\u6d4b\u5de5\u5177\u4e4bwrk\uff1b",(0,r.yg)("ol",{parentName:"li"},(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/ac185e01cc30"},"HTTP\u538b\u6d4b\u5de5\u5177\u4e4bwrk")),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/quanxiaoha/p/10661650.html"},"\u6027\u80fd\u6d4b\u8bd5\u5de5\u5177wrk\u4f7f\u7528\u6559\u7a0b")))),(0,r.yg)("li",{parentName:"ol"},"\u4e00\u822c\u6765\u8bf4\uff0c\u4e0d\u4e00\u5b9a\u5f88\u51c6\u786e\uff0c\u53c2\u8003\uff1a",(0,r.yg)("ol",{parentName:"li"},(0,r.yg)("li",{parentName:"ol"},"2C4G\u673a\u5668\u5355\u673a\u4e00\u822c1000QPS\u3002"),(0,r.yg)("li",{parentName:"ol"},"8C8G\u673a\u5668\u5355\u673a\u53ef\u627f\u53d77000QPS\u3002")))),(0,r.yg)("h3",{id:"wrk\u64cd\u4f5c"},"wrk\u64cd\u4f5c"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#scripts/post.lua\nvim post.lua\n#\nwrk.method = "POST"\nwrk.body = \'{"domain":"xxx.xxx.xxx"}\'\nwrk.headers["Content-Type"] = "application/json"\n#\n./wrk -t4 -c1000 -d5s -s /root/code/wrk/scripts/post.lua {\u5177\u4f53\u7684URL}\n')),(0,r.yg)("h3",{id:"nginx\u7edf\u8ba1\u8bbf\u95ee\u91cf"},"Nginx\u7edf\u8ba1\u8bbf\u95ee\u91cf"),(0,r.yg)("h4",{id:"\u6839\u636e\u8bbf\u95eeip\u7edf\u8ba1uv"},"\u6839\u636e\u8bbf\u95eeIP\u7edf\u8ba1UV"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6839\u636e\u8bbf\u95eeIP\u7edf\u8ba1UV\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log} \\\n| grep \"21/May/2020\" | awk '{print $1}' \\\n|sort | uniq -c |wc -l\n")),(0,r.yg)("h4",{id:"\u6839\u636e\u8bbf\u95eeurl\u7edf\u8ba1pv"},"\u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1PV"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1PV\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log\u6587\u4ef6} \\\n| grep \"21/May/2020\" \\\n| awk '{print $7}' |wc -l\n")),(0,r.yg)("h4",{id:"\u6839\u636e\u8bbf\u95eeurl\u7edf\u8ba1qps"},"\u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1QPS"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1QPS\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log\u6587\u4ef6} \\\n| grep \"21/May/2020:16:39:\" \\\n| awk '{print $7}' |wc -l\n")),(0,r.yg)("h4",{id:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684url"},"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684URL"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684URL\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{print $7}' \\\n|sort | uniq -c |sort -n -k 1 -r|more\n")),(0,r.yg)("h4",{id:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684ip"},"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684IP"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684IP\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log\u6587\u4ef6} \\\n| grep \"12/May/2020\" | awk '{print $1}' \\\n|sort | uniq -c |sort -n -k 1 -r|more\n")),(0,r.yg)("h4",{id:"\u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7"},"\u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7\ncat /usr/local/nginx/logs/access.log \\\n| sed -n '/14\\/Mar\\/2015/,/14\\/Mar\\/2020/p'|more\n")),(0,r.yg)("h4",{id:"\u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570"},"\u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570\ncat /usr/local/nginx/logs/access.log \\\n| grep -E '16\\/Feb\\/2020:1[2-9]|29\\/Feb\\/2020:2[0-3]'| wc -\n")),(0,r.yg)("h4",{id:"\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aip\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570"},"\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aIP\uff0c\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aIP\uff0c\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{print $1}'|sort -n|uniq -c| sort -rn| head -5\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570"},"\u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{if($9 == 200) print $9}'|wc -l\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570"},"\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{if($9 != 200) print }'|less\n")),(0,r.yg)("h4",{id:"\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42"},"\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42\ncat /usr/local/nginx/logs/access.log \\\n| grep "29/Feb/2020" | grep "404"|less\n')),(0,r.yg)("h4",{id:"\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868"},"\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868\ncat /usr/local/nginx/logs/access.log \\\n| grep "29/Feb/2020" \\\n| awk -F: \'{a[$2":"($3-$3%5)]++}END\\\n{for(i in a){split(i,t);print i" \u81f3",t[1]":"t[2]+4," \\\n\u8bbf\u95ee "a[i] " \u6b21" | "sort -t: -k1n -k2n"}}\'\n')),(0,r.yg)("h4",{id:"\u67e5\u8be2\u67d0\u4e2aip\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f"},"\u67e5\u8be2\u67d0\u4e2aIP\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5,\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u8be2\u67d0\u4e2aIP\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5,\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | grep '122.4.22.242' \\\n| awk '{print $7}'|sort |uniq -c |sort -rn |head -n 100\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u79d2"},"\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u79d2)"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u79d2)\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{print $4}' \\\n|cut -c 14-21|sort|uniq -c|sort -nr|head -n 100\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u5206\u949f"},"\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5206\u949f)"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5206\u949f)\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{print $4}' \\\n|cut -c 14-18|sort|uniq -c|sort -nr|head -n 100\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u5c0f\u65f6"},"\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5c0f\u65f6)"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5c0f\u65f6)\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log\u6587\u4ef6} \\\n| grep \"21/May/2020\" | awk '{print $4}' \\\n|cut -c 14-15|sort|uniq -c|sort -nr|head -n 100\n")),(0,r.yg)("h4",{id:"\u5176\u4ed6\u672a\u5206\u7c7b"},"\u5176\u4ed6\uff0c\u672a\u5206\u7c7b"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'\n##\u6027\u80fd\u5206\u6790\n#\u5728nginx log\u4e2d\u6700\u540e\u4e00\u4e2a\u5b57\u6bb5\u52a0\u5165$request_time\n#\u5217\u51fa\u4f20\u8f93\u65f6\u95f4\u8d85\u8fc7 3 \u79d2\u7684\u9875\u9762\uff0c\u663e\u793a\u524d20\u6761\ncat /usr/local/nginx/logs/access.log | grep "29/Feb/2020" \\\n| awk \'($NF > 3){print $7}\'|sort -n|uniq -c|sort -nr|head -20\n\n##TCP\u8fde\u63a5\u7edf\u8ba1\n#\u67e5\u770b\u5f53\u524dTCP\u8fde\u63a5\u6570\nnetstat -tan | grep "ESTABLISHED" | grep ":80" | wc -l\n#\u7528tcpdump\u55c5\u63a280\u7aef\u53e3\u7684\u8bbf\u95ee\u770b\u770b\u8c01\u6700\u9ad8\ntcpdump -i eth0 -tnn dst port 80 -c 1000 \\\n| awk -F"." \'{print $1"."$2"."$3"."$4}\' | sort | uniq -c | sort -nr\n\n')),(0,r.yg)("h3",{id:"\u540d\u8bcd\u89e3\u91ca"},"\u540d\u8bcd\u89e3\u91ca"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"PV\uff08Page View\uff09\u8bbf\u95ee\u91cf, \u5373\u9875\u9762\u6d4f\u89c8\u91cf\u6216\u70b9\u51fb\u91cf\uff0c\u8861\u91cf\u7f51\u7ad9\u7528\u6237\u8bbf\u95ee\u7684\u7f51\u9875\u6570\u91cf\uff1b\u5728\u4e00\u5b9a\u7edf\u8ba1\u5468\u671f\u5185\u7528\u6237\u6bcf\u6253\u5f00\u6216\u5237\u65b0\u4e00\u4e2a\u9875\u9762\u5c31\u8bb0\u5f551\u6b21\uff0c\u591a\u6b21\u6253\u5f00\u6216\u5237\u65b0\u540c\u4e00\u9875\u9762\u5219\u6d4f\u89c8\u91cf\u7d2f\u8ba1\u3002"),(0,r.yg)("li",{parentName:"ol"},"UV\uff08Unique Visitor\uff09\u72ec\u7acb\u8bbf\u5ba2\uff0c\u7edf\u8ba11\u5929\u5185\u8bbf\u95ee\u67d0\u7ad9\u70b9\u7684\u7528\u6237\u6570(\u4ee5cookie\u4e3a\u4f9d\u636e);\u8bbf\u95ee\u7f51\u7ad9\u7684\u4e00\u53f0\u7535\u8111\u5ba2\u6237\u7aef\u4e3a\u4e00\u4e2a\u8bbf\u5ba2\u3002\u53ef\u4ee5\u7406\u89e3\u6210\u8bbf\u95ee\u67d0\u7f51\u7ad9\u7684\u7535\u8111\u7684\u6570\u91cf\u3002\u7f51\u7ad9\u5224\u65ad\u6765\u8bbf\u7535\u8111\u7684\u8eab\u4efd\u662f\u901a\u8fc7\u6765\u8bbf\u7535\u8111\u7684cookies\u5b9e\u73b0\u7684\u3002\u5982\u679c\u66f4\u6362\u4e86IP\u540e\u4f46\u4e0d\u6e05\u9664cookies\uff0c\u518d\u8bbf\u95ee\u76f8\u540c\u7f51\u7ad9\uff0c\u8be5\u7f51\u7ad9\u7684\u7edf\u8ba1\u4e2dUV\u6570\u662f\u4e0d\u53d8\u7684\u3002\u5982\u679c\u7528\u6237\u4e0d\u4fdd\u5b58cookies\u8bbf\u95ee\u3001\u6e05\u9664\u4e86cookies\u6216\u8005\u66f4\u6362\u8bbe\u5907\u8bbf\u95ee\uff0c\u8ba1\u6570\u4f1a\u52a01\u300200:00-24:00\u5185\u76f8\u540c\u7684\u5ba2\u6237\u7aef\u591a\u6b21\u8bbf\u95ee\u53ea\u8ba1\u4e3a1\u4e2a\u8bbf\u5ba2\u3002"),(0,r.yg)("li",{parentName:"ol"},"IP\uff08Internet Protocol\uff09\u72ec\u7acbIP\u6570\uff0c\u662f\u63071\u5929\u5185\u591a\u5c11\u4e2a\u72ec\u7acb\u7684IP\u6d4f\u89c8\u4e86\u9875\u9762\uff0c\u5373\u7edf\u8ba1\u4e0d\u540c\u7684IP\u6d4f\u89c8\u7528\u6237\u6570\u91cf\u3002\u540c\u4e00IP\u4e0d\u7ba1\u8bbf\u95ee\u4e86\u51e0\u4e2a\u9875\u9762\uff0c\u72ec\u7acbIP\u6570\u5747\u4e3a1\uff1b\u4e0d\u540c\u7684IP\u6d4f\u89c8\u9875\u9762\uff0c\u8ba1\u6570\u4f1a\u52a01\u3002 IP\u662f\u57fa\u4e8e\u7528\u6237\u5e7f\u57df\u7f51IP\u5730\u5740\u6765\u533a\u5206\u4e0d\u540c\u7684\u8bbf\u95ee\u8005\u7684\uff0c\u6240\u4ee5\uff0c\u591a\u4e2a\u7528\u6237\uff08\u591a\u4e2a\u5c40\u57df\u7f51IP\uff09\u5728\u540c\u4e00\u4e2a\u8def\u7531\u5668\uff08\u540c\u4e00\u4e2a\u5e7f\u57df\u7f51IP\uff09\u5185\u4e0a\u7f51\uff0c\u53ef\u80fd\u88ab\u8bb0\u5f55\u4e3a\u4e00\u4e2a\u72ec\u7acbIP\u8bbf\u95ee\u8005\u3002\u5982\u679c\u7528\u6237\u4e0d\u65ad\u66f4\u6362IP\uff0c\u5219\u6709\u53ef\u80fd\u88ab\u591a\u6b21\u7edf\u8ba1\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u4f1a\u8bdd\u6b21\u6570\uff08\u7f51\u7ad9\u8bbf\u95ee\u91cf\uff09Session\uff0c\u4f1a\u8bdd\u662f\u6307\u5728\u6307\u5b9a\u7684\u65f6\u95f4\u6bb5\u5185\u5728\u60a8\u7684\u7f51\u7ad9\u4e0a\u53d1\u751f\u7684\u4e00\u7cfb\u5217\u4e92\u52a8\uff0c\u6240\u4ee5\u4f1a\u8bdd\u6b21\u6570\u662f\u4e00\u6bb5\u65f6\u95f4\u5185\u7528\u6237\u5411\u60a8\u7684\u7f51\u7ad9\u53d1\u8d77\u7684\u4f1a\u8bdd\uff08Session\uff09\u603b\u6570\u91cf\u3002\u4e00\u6b21\u4f1a\u8bdd\u4f1a\u6d4f\u89c8\u4e00\u4e2a\u6216\u591a\u4e2a\u9875\u9762")),(0,r.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/wunaozai/p/6073731.html"},"Nginx \u5355\u673a\u767e\u4e07QPS\u73af\u5883\u642d\u5efa"))))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5218],{15680:(e,n,l)=>{l.d(n,{xA:()=>p,yg:()=>d});var a=l(96540);function r(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function t(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,a)}return l}function o(e){for(var n=1;n=0||(r[l]=e[l]);return r}(e,n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}var s=a.createContext({}),g=function(e){var n=a.useContext(s),l=n;return e&&(l="function"==typeof e?e(n):o(o({},n),e)),l},p=function(e){var n=g(e.components);return a.createElement(s.Provider,{value:n},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},y=a.forwardRef((function(e,n){var l=e.components,r=e.mdxType,t=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),c=g(l),y=r,d=c["".concat(s,".").concat(y)]||c[y]||u[y]||t;return l?a.createElement(d,o(o({ref:n},p),{},{components:l})):a.createElement(d,o({ref:n},p))}));function d(e,n){var l=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var t=l.length,o=new Array(t);o[0]=y;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[c]="string"==typeof e?e:r,o[1]=i;for(var g=2;g{l.r(n),l.d(n,{assets:()=>s,contentTitle:()=>o,default:()=>u,frontMatter:()=>t,metadata:()=>i,toc:()=>g});var a=l(58168),r=(l(96540),l(15680));const t={sidebar_position:2},o=void 0,i={unversionedId:"study/back/\u9ad8\u5e76\u53d1API",id:"study/back/\u9ad8\u5e76\u53d1API",title:"\u9ad8\u5e76\u53d1API",description:"\u603b\u7ed3",source:"@site/docs/study/back/\u9ad8\u5e76\u53d1API.md",sourceDirName:"study/back",slug:"/study/back/\u9ad8\u5e76\u53d1API",permalink:"/docs/study/back/\u9ad8\u5e76\u53d1API",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"Zookeeper",permalink:"/docs/study/back/Zookeeper"},next:{title:"API \u7f51\u5173",permalink:"/docs/study/back/API\u7f51\u5173/"}},s={},g=[{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3},{value:"wrk\u64cd\u4f5c",id:"wrk\u64cd\u4f5c",level:3},{value:"Nginx\u7edf\u8ba1\u8bbf\u95ee\u91cf",id:"nginx\u7edf\u8ba1\u8bbf\u95ee\u91cf",level:3},{value:"\u6839\u636e\u8bbf\u95eeIP\u7edf\u8ba1UV",id:"\u6839\u636e\u8bbf\u95eeip\u7edf\u8ba1uv",level:4},{value:"\u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1PV",id:"\u6839\u636e\u8bbf\u95eeurl\u7edf\u8ba1pv",level:4},{value:"\u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1QPS",id:"\u6839\u636e\u8bbf\u95eeurl\u7edf\u8ba1qps",level:4},{value:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684URL",id:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684url",level:4},{value:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684IP",id:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684ip",level:4},{value:"\u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7",id:"\u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7",level:4},{value:"\u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570",id:"\u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570",level:4},{value:"\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aIP\uff0c\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570",id:"\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aip\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570",level:4},{value:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570",id:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570",level:4},{value:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570",id:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570",level:4},{value:"\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42",id:"\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42",level:4},{value:"\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868",id:"\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868",level:4},{value:"\u67e5\u8be2\u67d0\u4e2aIP\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5,\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f",id:"\u67e5\u8be2\u67d0\u4e2aip\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f",level:4},{value:"\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u79d2)",id:"\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u79d2",level:4},{value:"\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5206\u949f)",id:"\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u5206\u949f",level:4},{value:"\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5c0f\u65f6)",id:"\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u5c0f\u65f6",level:4},{value:"\u5176\u4ed6\uff0c\u672a\u5206\u7c7b",id:"\u5176\u4ed6\u672a\u5206\u7c7b",level:4},{value:"\u540d\u8bcd\u89e3\u91ca",id:"\u540d\u8bcd\u89e3\u91ca",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:g},c="wrapper";function u(e){let{components:n,...l}=e;return(0,r.yg)(c,(0,a.A)({},p,l,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u5355\u673a\u767e\u4e07QPS\u7684Nginx\u662f\u6ca1\u6709\u95ee\u9898\u7684\uff0c\u5177\u4f53\u80fd\u5230\u591a\u5c11\uff0c\u53d7\u9650\u4e8e\uff1a",(0,r.yg)("ol",{parentName:"li"},(0,r.yg)("li",{parentName:"ol"},"\u670d\u52a1\u5668\u7684CPU\u6570\u91cf\u3001\u5185\u5b58\u5927\u5c0f\u3001\u78c1\u76d8\u6027\u80fd\uff1b"),(0,r.yg)("li",{parentName:"ol"},"\u670d\u52a1\u5668Linux\u7684\u914d\u7f6e"),(0,r.yg)("li",{parentName:"ol"},"Nginx\u7684\u53c2\u6570\u914d\u7f6e"),(0,r.yg)("li",{parentName:"ol"},"\u7f51\u5361\u7684\u914d\u7f6e\u3001\u8def\u7531\u5668\u7684\u914d\u7f6e\u3001\u4ea4\u6362\u673a\u7684\u914d\u7f6e"))),(0,r.yg)("li",{parentName:"ol"},"\u5355\u673aTomcat\u53d7\u9650\u4e8eJVM\u548cweb\u6846\u67b6\u7b49\u539f\u56e0\uff0c\u4e5f\u5c31\u6700\u591a1\u4e07\u5de6\u53f3\u7684QPS\uff1b",(0,r.yg)("ol",{parentName:"li"},(0,r.yg)("li",{parentName:"ol"},"\u5982\u679c\u9700\u8981\u7b80\u5355\u67e5\u8be2\u6570\u636e\u5e93\u7684\uff0c\u4e5f\u5c312~3K\u7684QPS\uff1b"),(0,r.yg)("li",{parentName:"ol"},"\u5982\u679c\u9700\u8981\u6570\u636e\u5e93\u4e8b\u52a1\u64cd\u4f5c\u7684\uff0c\u4e5f\u5c31100~150\u7684QPS\uff1b"))),(0,r.yg)("li",{parentName:"ol"},"\u4ec0\u4e48\u65f6\u5019\u9700\u8981\u6c34\u5e73\u62d3\u5c55QPS"),(0,r.yg)("li",{parentName:"ol"},"HTTP\u538b\u6d4b\u5de5\u5177\u4e4bwrk\uff1b",(0,r.yg)("ol",{parentName:"li"},(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/ac185e01cc30"},"HTTP\u538b\u6d4b\u5de5\u5177\u4e4bwrk")),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/quanxiaoha/p/10661650.html"},"\u6027\u80fd\u6d4b\u8bd5\u5de5\u5177wrk\u4f7f\u7528\u6559\u7a0b")))),(0,r.yg)("li",{parentName:"ol"},"\u4e00\u822c\u6765\u8bf4\uff0c\u4e0d\u4e00\u5b9a\u5f88\u51c6\u786e\uff0c\u53c2\u8003\uff1a",(0,r.yg)("ol",{parentName:"li"},(0,r.yg)("li",{parentName:"ol"},"2C4G\u673a\u5668\u5355\u673a\u4e00\u822c1000QPS\u3002"),(0,r.yg)("li",{parentName:"ol"},"8C8G\u673a\u5668\u5355\u673a\u53ef\u627f\u53d77000QPS\u3002")))),(0,r.yg)("h3",{id:"wrk\u64cd\u4f5c"},"wrk\u64cd\u4f5c"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#scripts/post.lua\nvim post.lua\n#\nwrk.method = "POST"\nwrk.body = \'{"domain":"xxx.xxx.xxx"}\'\nwrk.headers["Content-Type"] = "application/json"\n#\n./wrk -t4 -c1000 -d5s -s /root/code/wrk/scripts/post.lua {\u5177\u4f53\u7684URL}\n')),(0,r.yg)("h3",{id:"nginx\u7edf\u8ba1\u8bbf\u95ee\u91cf"},"Nginx\u7edf\u8ba1\u8bbf\u95ee\u91cf"),(0,r.yg)("h4",{id:"\u6839\u636e\u8bbf\u95eeip\u7edf\u8ba1uv"},"\u6839\u636e\u8bbf\u95eeIP\u7edf\u8ba1UV"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6839\u636e\u8bbf\u95eeIP\u7edf\u8ba1UV\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log} \\\n| grep \"21/May/2020\" | awk '{print $1}' \\\n|sort | uniq -c |wc -l\n")),(0,r.yg)("h4",{id:"\u6839\u636e\u8bbf\u95eeurl\u7edf\u8ba1pv"},"\u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1PV"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1PV\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log\u6587\u4ef6} \\\n| grep \"21/May/2020\" \\\n| awk '{print $7}' |wc -l\n")),(0,r.yg)("h4",{id:"\u6839\u636e\u8bbf\u95eeurl\u7edf\u8ba1qps"},"\u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1QPS"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6839\u636e\u8bbf\u95eeURL\u7edf\u8ba1QPS\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log\u6587\u4ef6} \\\n| grep \"21/May/2020:16:39:\" \\\n| awk '{print $7}' |wc -l\n")),(0,r.yg)("h4",{id:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684url"},"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684URL"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684URL\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{print $7}' \\\n|sort | uniq -c |sort -n -k 1 -r|more\n")),(0,r.yg)("h4",{id:"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684ip"},"\u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684IP"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u8be2\u8bbf\u95ee\u6700\u9891\u7e41\u7684IP\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log\u6587\u4ef6} \\\n| grep \"12/May/2020\" | awk '{print $1}' \\\n|sort | uniq -c |sort -n -k 1 -r|more\n")),(0,r.yg)("h4",{id:"\u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7"},"\u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6839\u636e\u65f6\u95f4\u6bb5\u7edf\u8ba1\u67e5\u770b\u65e5\u5fd7\ncat /usr/local/nginx/logs/access.log \\\n| sed -n '/14\\/Mar\\/2015/,/14\\/Mar\\/2020/p'|more\n")),(0,r.yg)("h4",{id:"\u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570"},"\u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67d0\u4e2a\u65f6\u95f4\u6bb5\u8bbf\u95ee\u603b\u6b21\u6570\ncat /usr/local/nginx/logs/access.log \\\n| grep -E '16\\/Feb\\/2020:1[2-9]|29\\/Feb\\/2020:2[0-3]'| wc -\n")),(0,r.yg)("h4",{id:"\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aip\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570"},"\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aIP\uff0c\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u770b\u8bbf\u95ee\u6700\u9891\u7e41\u7684\u524d5\u4e2aIP\uff0c\u5e76\u5217\u51fa\u8bbf\u95ee\u6b21\u6570\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{print $1}'|sort -n|uniq -c| sort -rn| head -5\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570"},"\u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u7edf\u8ba1\u72b6\u6001\u7801\u4e3a200\u6b21\u6570\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{if($9 == 200) print $9}'|wc -l\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570"},"\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7edf\u8ba1\u72b6\u6001\u7801\u4e0d\u662f200\u7684\u6b21\u6570\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{if($9 != 200) print }'|less\n")),(0,r.yg)("h4",{id:"\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42"},"\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u67e5\u770b404\u9519\u8bef\u7801\u7684\u8bf7\u6c42\ncat /usr/local/nginx/logs/access.log \\\n| grep "29/Feb/2020" | grep "404"|less\n')),(0,r.yg)("h4",{id:"\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868"},"\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u6bcf\u96945\u5206\u949f\u8bbf\u95ee\u6b21\u6570\u5217\u8868\ncat /usr/local/nginx/logs/access.log \\\n| grep "29/Feb/2020" \\\n| awk -F: \'{a[$2":"($3-$3%5)]++}END\\\n{for(i in a){split(i,t);print i" \u81f3",t[1]":"t[2]+4," \\\n\u8bbf\u95ee "a[i] " \u6b21" | "sort -t: -k1n -k2n"}}\'\n')),(0,r.yg)("h4",{id:"\u67e5\u8be2\u67d0\u4e2aip\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f"},"\u67e5\u8be2\u67d0\u4e2aIP\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5,\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u67e5\u8be2\u67d0\u4e2aIP\u7684\u8be6\u7ec6\u8bbf\u95ee\u60c5\u51b5,\u6309\u8bbf\u95ee\u9891\u7387\u6392\u5e8f\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | grep '122.4.22.242' \\\n| awk '{print $7}'|sort |uniq -c |sort -rn |head -n 100\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u79d2"},"\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u79d2)"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7edf\u8ba1\u6bcf\u79d2\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u79d2)\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{print $4}' \\\n|cut -c 14-21|sort|uniq -c|sort -nr|head -n 100\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u5206\u949f"},"\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5206\u949f)"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7edf\u8ba1\u6bcf\u5206\u949f\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5206\u949f)\ncat /usr/local/nginx/logs/access.log \\\n| grep \"29/Feb/2020\" | awk '{print $4}' \\\n|cut -c 14-18|sort|uniq -c|sort -nr|head -n 100\n")),(0,r.yg)("h4",{id:"\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570top100\u7684\u65f6\u95f4\u70b9\u7cbe\u786e\u5230\u5c0f\u65f6"},"\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5c0f\u65f6)"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\u7edf\u8ba1\u6bcf\u5c0f\u65f6\u7684\u8bf7\u6c42\u6570,top100\u7684\u65f6\u95f4\u70b9(\u7cbe\u786e\u5230\u5c0f\u65f6)\ncat /mnt/docker/tomcat/logs/{\u5177\u4f53\u7684nginx log\u6587\u4ef6} \\\n| grep \"21/May/2020\" | awk '{print $4}' \\\n|cut -c 14-15|sort|uniq -c|sort -nr|head -n 100\n")),(0,r.yg)("h4",{id:"\u5176\u4ed6\u672a\u5206\u7c7b"},"\u5176\u4ed6\uff0c\u672a\u5206\u7c7b"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'\n##\u6027\u80fd\u5206\u6790\n#\u5728nginx log\u4e2d\u6700\u540e\u4e00\u4e2a\u5b57\u6bb5\u52a0\u5165$request_time\n#\u5217\u51fa\u4f20\u8f93\u65f6\u95f4\u8d85\u8fc7 3 \u79d2\u7684\u9875\u9762\uff0c\u663e\u793a\u524d20\u6761\ncat /usr/local/nginx/logs/access.log | grep "29/Feb/2020" \\\n| awk \'($NF > 3){print $7}\'|sort -n|uniq -c|sort -nr|head -20\n\n##TCP\u8fde\u63a5\u7edf\u8ba1\n#\u67e5\u770b\u5f53\u524dTCP\u8fde\u63a5\u6570\nnetstat -tan | grep "ESTABLISHED" | grep ":80" | wc -l\n#\u7528tcpdump\u55c5\u63a280\u7aef\u53e3\u7684\u8bbf\u95ee\u770b\u770b\u8c01\u6700\u9ad8\ntcpdump -i eth0 -tnn dst port 80 -c 1000 \\\n| awk -F"." \'{print $1"."$2"."$3"."$4}\' | sort | uniq -c | sort -nr\n\n')),(0,r.yg)("h3",{id:"\u540d\u8bcd\u89e3\u91ca"},"\u540d\u8bcd\u89e3\u91ca"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"PV\uff08Page View\uff09\u8bbf\u95ee\u91cf, \u5373\u9875\u9762\u6d4f\u89c8\u91cf\u6216\u70b9\u51fb\u91cf\uff0c\u8861\u91cf\u7f51\u7ad9\u7528\u6237\u8bbf\u95ee\u7684\u7f51\u9875\u6570\u91cf\uff1b\u5728\u4e00\u5b9a\u7edf\u8ba1\u5468\u671f\u5185\u7528\u6237\u6bcf\u6253\u5f00\u6216\u5237\u65b0\u4e00\u4e2a\u9875\u9762\u5c31\u8bb0\u5f551\u6b21\uff0c\u591a\u6b21\u6253\u5f00\u6216\u5237\u65b0\u540c\u4e00\u9875\u9762\u5219\u6d4f\u89c8\u91cf\u7d2f\u8ba1\u3002"),(0,r.yg)("li",{parentName:"ol"},"UV\uff08Unique Visitor\uff09\u72ec\u7acb\u8bbf\u5ba2\uff0c\u7edf\u8ba11\u5929\u5185\u8bbf\u95ee\u67d0\u7ad9\u70b9\u7684\u7528\u6237\u6570(\u4ee5cookie\u4e3a\u4f9d\u636e);\u8bbf\u95ee\u7f51\u7ad9\u7684\u4e00\u53f0\u7535\u8111\u5ba2\u6237\u7aef\u4e3a\u4e00\u4e2a\u8bbf\u5ba2\u3002\u53ef\u4ee5\u7406\u89e3\u6210\u8bbf\u95ee\u67d0\u7f51\u7ad9\u7684\u7535\u8111\u7684\u6570\u91cf\u3002\u7f51\u7ad9\u5224\u65ad\u6765\u8bbf\u7535\u8111\u7684\u8eab\u4efd\u662f\u901a\u8fc7\u6765\u8bbf\u7535\u8111\u7684cookies\u5b9e\u73b0\u7684\u3002\u5982\u679c\u66f4\u6362\u4e86IP\u540e\u4f46\u4e0d\u6e05\u9664cookies\uff0c\u518d\u8bbf\u95ee\u76f8\u540c\u7f51\u7ad9\uff0c\u8be5\u7f51\u7ad9\u7684\u7edf\u8ba1\u4e2dUV\u6570\u662f\u4e0d\u53d8\u7684\u3002\u5982\u679c\u7528\u6237\u4e0d\u4fdd\u5b58cookies\u8bbf\u95ee\u3001\u6e05\u9664\u4e86cookies\u6216\u8005\u66f4\u6362\u8bbe\u5907\u8bbf\u95ee\uff0c\u8ba1\u6570\u4f1a\u52a01\u300200:00-24:00\u5185\u76f8\u540c\u7684\u5ba2\u6237\u7aef\u591a\u6b21\u8bbf\u95ee\u53ea\u8ba1\u4e3a1\u4e2a\u8bbf\u5ba2\u3002"),(0,r.yg)("li",{parentName:"ol"},"IP\uff08Internet Protocol\uff09\u72ec\u7acbIP\u6570\uff0c\u662f\u63071\u5929\u5185\u591a\u5c11\u4e2a\u72ec\u7acb\u7684IP\u6d4f\u89c8\u4e86\u9875\u9762\uff0c\u5373\u7edf\u8ba1\u4e0d\u540c\u7684IP\u6d4f\u89c8\u7528\u6237\u6570\u91cf\u3002\u540c\u4e00IP\u4e0d\u7ba1\u8bbf\u95ee\u4e86\u51e0\u4e2a\u9875\u9762\uff0c\u72ec\u7acbIP\u6570\u5747\u4e3a1\uff1b\u4e0d\u540c\u7684IP\u6d4f\u89c8\u9875\u9762\uff0c\u8ba1\u6570\u4f1a\u52a01\u3002 IP\u662f\u57fa\u4e8e\u7528\u6237\u5e7f\u57df\u7f51IP\u5730\u5740\u6765\u533a\u5206\u4e0d\u540c\u7684\u8bbf\u95ee\u8005\u7684\uff0c\u6240\u4ee5\uff0c\u591a\u4e2a\u7528\u6237\uff08\u591a\u4e2a\u5c40\u57df\u7f51IP\uff09\u5728\u540c\u4e00\u4e2a\u8def\u7531\u5668\uff08\u540c\u4e00\u4e2a\u5e7f\u57df\u7f51IP\uff09\u5185\u4e0a\u7f51\uff0c\u53ef\u80fd\u88ab\u8bb0\u5f55\u4e3a\u4e00\u4e2a\u72ec\u7acbIP\u8bbf\u95ee\u8005\u3002\u5982\u679c\u7528\u6237\u4e0d\u65ad\u66f4\u6362IP\uff0c\u5219\u6709\u53ef\u80fd\u88ab\u591a\u6b21\u7edf\u8ba1\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u4f1a\u8bdd\u6b21\u6570\uff08\u7f51\u7ad9\u8bbf\u95ee\u91cf\uff09Session\uff0c\u4f1a\u8bdd\u662f\u6307\u5728\u6307\u5b9a\u7684\u65f6\u95f4\u6bb5\u5185\u5728\u60a8\u7684\u7f51\u7ad9\u4e0a\u53d1\u751f\u7684\u4e00\u7cfb\u5217\u4e92\u52a8\uff0c\u6240\u4ee5\u4f1a\u8bdd\u6b21\u6570\u662f\u4e00\u6bb5\u65f6\u95f4\u5185\u7528\u6237\u5411\u60a8\u7684\u7f51\u7ad9\u53d1\u8d77\u7684\u4f1a\u8bdd\uff08Session\uff09\u603b\u6570\u91cf\u3002\u4e00\u6b21\u4f1a\u8bdd\u4f1a\u6d4f\u89c8\u4e00\u4e2a\u6216\u591a\u4e2a\u9875\u9762")),(0,r.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/wunaozai/p/6073731.html"},"Nginx \u5355\u673a\u767e\u4e07QPS\u73af\u5883\u642d\u5efa"))))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/62465e63.0d5d03db.js b/assets/js/62465e63.06282615.js similarity index 98% rename from assets/js/62465e63.0d5d03db.js rename to assets/js/62465e63.06282615.js index cc511a1d2..6fcb6db69 100644 --- a/assets/js/62465e63.0d5d03db.js +++ b/assets/js/62465e63.06282615.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1746],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),d=u(r),y=o,f=d["".concat(c,".").concat(y)]||d[y]||p[y]||a;return r?n.createElement(f,l(l({ref:t},s),{},{components:r})):n.createElement(f,l({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[d]="string"==typeof e?e:o,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>p,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,i={unversionedId:"study/db/OLAP/ClickHouse",id:"study/db/OLAP/ClickHouse",title:"ClickHouse",description:"Clickhouse\u662fYandex\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8e\u5b9e\u65f6\u6570\u636e\u5206\u6790\u7684\u6570\u636e\u5e93\uff0c\u4e00\u5f00\u59cb\u5c31\u7528\u5728yandex\u5185\u90e8\u7684\u591a\u4e2a\u6570\u636e\u5206\u6790\u4e1a\u52a1\u4e0a\u3002\u8981\u4ecb\u7ecdclickhouse\uff0c\u8fd8\u662f\u9700\u8981\u5148\u4ecb\u7ecd\u4e00\u4e0byandex\u3002Clickhouse\u4e3a\u4ec0\u4e48\u4f1a\u51fa\u73b0\uff0c\u5176\u5b9e\u548cyandex\u7684\u4e1a\u52a1\u5173\u7cfb\u975e\u5e38\u5927\u3002Yandex\u662f\u4fc4\u7f57\u65af\u6700\u5927\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u4f1a\u6709\u5f88\u591a\u6570\u636e\u5206\u6790\u7684\u4e1a\u52a1\uff0c\u5176\u4e2d\u6570\u636e\u91cf\u6700\u5927\u7684\u4e1a\u52a1\uff0c\u5c31\u662fYandex.Metrica\uff0c\u8fd9\u662f\u4e00\u4e2a\u548c\u767e\u5ea6\u7edf\u8ba1\u7c7b\u4f3c\u7684\u7f51\u7ad9\u6570\u636e\u5206\u6790\u670d\u52a1\uff0c\u6570\u636e\u91cf\u4e5f\u4ec5\u6b21\u4e8egoogle analysis\u3002\u81ea\u4eceClickhouse\u5f00\u6e90\u540e\uff0c\u5728\u56fd\u5185\u5916\u7684\u5f88\u591a\u516c\u53f8\u7684\u7ebf\u4e0a\u4e1a\u52a1\u90fd\u5df2\u7ecf\u5f00\u59cb\u4f7f\u7528\u3002",source:"@site/docs/study/db/OLAP/ClickHouse.md",sourceDirName:"study/db/OLAP",slug:"/study/db/OLAP/ClickHouse",permalink:"/docs/study/db/OLAP/ClickHouse",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0"},next:{title:"Kylin",permalink:"/docs/study/db/OLAP/Kylin"}},c={},u=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3}],s={toc:u},d="wrapper";function p(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"Clickhouse\u662fYandex\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8e\u5b9e\u65f6\u6570\u636e\u5206\u6790\u7684\u6570\u636e\u5e93\uff0c\u4e00\u5f00\u59cb\u5c31\u7528\u5728yandex\u5185\u90e8\u7684\u591a\u4e2a\u6570\u636e\u5206\u6790\u4e1a\u52a1\u4e0a\u3002\u8981\u4ecb\u7ecdclickhouse\uff0c\u8fd8\u662f\u9700\u8981\u5148\u4ecb\u7ecd\u4e00\u4e0byandex\u3002Clickhouse\u4e3a\u4ec0\u4e48\u4f1a\u51fa\u73b0\uff0c\u5176\u5b9e\u548cyandex\u7684\u4e1a\u52a1\u5173\u7cfb\u975e\u5e38\u5927\u3002Yandex\u662f\u4fc4\u7f57\u65af\u6700\u5927\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u4f1a\u6709\u5f88\u591a\u6570\u636e\u5206\u6790\u7684\u4e1a\u52a1\uff0c\u5176\u4e2d\u6570\u636e\u91cf\u6700\u5927\u7684\u4e1a\u52a1\uff0c\u5c31\u662fYandex.Metrica\uff0c\u8fd9\u662f\u4e00\u4e2a\u548c\u767e\u5ea6\u7edf\u8ba1\u7c7b\u4f3c\u7684\u7f51\u7ad9\u6570\u636e\u5206\u6790\u670d\u52a1\uff0c\u6570\u636e\u91cf\u4e5f\u4ec5\u6b21\u4e8egoogle analysis\u3002\u81ea\u4eceClickhouse\u5f00\u6e90\u540e\uff0c\u5728\u56fd\u5185\u5916\u7684\u5f88\u591a\u516c\u53f8\u7684\u7ebf\u4e0a\u4e1a\u52a1\u90fd\u5df2\u7ecf\u5f00\u59cb\u4f7f\u7528\u3002"),(0,o.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"Clickhouse\u662f\u6781\u5176\u9002\u5408OLAP\uff08\u8054\u673a\u5206\u6790\u5904\u7406\uff09\u95ee\u9898\u7684\u4e00\u4e2a\u6570\u636e\u5e93\u3002\u8fd9\u7c7b\u95ee\u9898\u6709\u5982\u4e0b\u4e00\u4e9b\u7279\u70b9\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u8bf7\u6c42\u4ee5\u8bfb\u4e3a\u4e3b\uff0c\u6570\u636e\u6dfb\u52a0\u3001\u66f4\u65b0\u4e00\u822c\u4ee5\u6279\u91cf\u7684\u5f62\u5f0f\u8fdb\u884c\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u8868\u53ef\u4ee5\u5f88\u5bbd\uff0c\u4f46\u662f\u5b9e\u9645\u67e5\u8be2\u65f6\u53ea\u4f1a\u7528\u5230\u6709\u9650\u7684\u51e0\u5217\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u5217\u503c\u8f83\u5c0f\uff0c\u4e00\u822c\u662f\u6570\u5b57\u6216\u8005\u77ed\u5b57\u7b26\u4e32;"),(0,o.yg)("li",{parentName:"ul"},"\u67e5\u8be2\u7ed3\u679c\u96c6\u7684\u5927\u5c0f\u663e\u8457\u5c0f\u4e8e\u6e90\u6570\u636e\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u4e8b\u52a1\u5904\u7406\u9700\u6c42\u8f83\u5f31")))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1746],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),d=u(r),y=o,f=d["".concat(c,".").concat(y)]||d[y]||p[y]||a;return r?n.createElement(f,l(l({ref:t},s),{},{components:r})):n.createElement(f,l({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[d]="string"==typeof e?e:o,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>p,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,i={unversionedId:"study/db/OLAP/ClickHouse",id:"study/db/OLAP/ClickHouse",title:"ClickHouse",description:"Clickhouse\u662fYandex\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8e\u5b9e\u65f6\u6570\u636e\u5206\u6790\u7684\u6570\u636e\u5e93\uff0c\u4e00\u5f00\u59cb\u5c31\u7528\u5728yandex\u5185\u90e8\u7684\u591a\u4e2a\u6570\u636e\u5206\u6790\u4e1a\u52a1\u4e0a\u3002\u8981\u4ecb\u7ecdclickhouse\uff0c\u8fd8\u662f\u9700\u8981\u5148\u4ecb\u7ecd\u4e00\u4e0byandex\u3002Clickhouse\u4e3a\u4ec0\u4e48\u4f1a\u51fa\u73b0\uff0c\u5176\u5b9e\u548cyandex\u7684\u4e1a\u52a1\u5173\u7cfb\u975e\u5e38\u5927\u3002Yandex\u662f\u4fc4\u7f57\u65af\u6700\u5927\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u4f1a\u6709\u5f88\u591a\u6570\u636e\u5206\u6790\u7684\u4e1a\u52a1\uff0c\u5176\u4e2d\u6570\u636e\u91cf\u6700\u5927\u7684\u4e1a\u52a1\uff0c\u5c31\u662fYandex.Metrica\uff0c\u8fd9\u662f\u4e00\u4e2a\u548c\u767e\u5ea6\u7edf\u8ba1\u7c7b\u4f3c\u7684\u7f51\u7ad9\u6570\u636e\u5206\u6790\u670d\u52a1\uff0c\u6570\u636e\u91cf\u4e5f\u4ec5\u6b21\u4e8egoogle analysis\u3002\u81ea\u4eceClickhouse\u5f00\u6e90\u540e\uff0c\u5728\u56fd\u5185\u5916\u7684\u5f88\u591a\u516c\u53f8\u7684\u7ebf\u4e0a\u4e1a\u52a1\u90fd\u5df2\u7ecf\u5f00\u59cb\u4f7f\u7528\u3002",source:"@site/docs/study/db/OLAP/ClickHouse.md",sourceDirName:"study/db/OLAP",slug:"/study/db/OLAP/ClickHouse",permalink:"/docs/study/db/OLAP/ClickHouse",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0"},next:{title:"Kylin",permalink:"/docs/study/db/OLAP/Kylin"}},c={},u=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3}],s={toc:u},d="wrapper";function p(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"Clickhouse\u662fYandex\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8e\u5b9e\u65f6\u6570\u636e\u5206\u6790\u7684\u6570\u636e\u5e93\uff0c\u4e00\u5f00\u59cb\u5c31\u7528\u5728yandex\u5185\u90e8\u7684\u591a\u4e2a\u6570\u636e\u5206\u6790\u4e1a\u52a1\u4e0a\u3002\u8981\u4ecb\u7ecdclickhouse\uff0c\u8fd8\u662f\u9700\u8981\u5148\u4ecb\u7ecd\u4e00\u4e0byandex\u3002Clickhouse\u4e3a\u4ec0\u4e48\u4f1a\u51fa\u73b0\uff0c\u5176\u5b9e\u548cyandex\u7684\u4e1a\u52a1\u5173\u7cfb\u975e\u5e38\u5927\u3002Yandex\u662f\u4fc4\u7f57\u65af\u6700\u5927\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u4f1a\u6709\u5f88\u591a\u6570\u636e\u5206\u6790\u7684\u4e1a\u52a1\uff0c\u5176\u4e2d\u6570\u636e\u91cf\u6700\u5927\u7684\u4e1a\u52a1\uff0c\u5c31\u662fYandex.Metrica\uff0c\u8fd9\u662f\u4e00\u4e2a\u548c\u767e\u5ea6\u7edf\u8ba1\u7c7b\u4f3c\u7684\u7f51\u7ad9\u6570\u636e\u5206\u6790\u670d\u52a1\uff0c\u6570\u636e\u91cf\u4e5f\u4ec5\u6b21\u4e8egoogle analysis\u3002\u81ea\u4eceClickhouse\u5f00\u6e90\u540e\uff0c\u5728\u56fd\u5185\u5916\u7684\u5f88\u591a\u516c\u53f8\u7684\u7ebf\u4e0a\u4e1a\u52a1\u90fd\u5df2\u7ecf\u5f00\u59cb\u4f7f\u7528\u3002"),(0,o.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"Clickhouse\u662f\u6781\u5176\u9002\u5408OLAP\uff08\u8054\u673a\u5206\u6790\u5904\u7406\uff09\u95ee\u9898\u7684\u4e00\u4e2a\u6570\u636e\u5e93\u3002\u8fd9\u7c7b\u95ee\u9898\u6709\u5982\u4e0b\u4e00\u4e9b\u7279\u70b9\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u8bf7\u6c42\u4ee5\u8bfb\u4e3a\u4e3b\uff0c\u6570\u636e\u6dfb\u52a0\u3001\u66f4\u65b0\u4e00\u822c\u4ee5\u6279\u91cf\u7684\u5f62\u5f0f\u8fdb\u884c\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u8868\u53ef\u4ee5\u5f88\u5bbd\uff0c\u4f46\u662f\u5b9e\u9645\u67e5\u8be2\u65f6\u53ea\u4f1a\u7528\u5230\u6709\u9650\u7684\u51e0\u5217\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u5217\u503c\u8f83\u5c0f\uff0c\u4e00\u822c\u662f\u6570\u5b57\u6216\u8005\u77ed\u5b57\u7b26\u4e32;"),(0,o.yg)("li",{parentName:"ul"},"\u67e5\u8be2\u7ed3\u679c\u96c6\u7684\u5927\u5c0f\u663e\u8457\u5c0f\u4e8e\u6e90\u6570\u636e\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u4e8b\u52a1\u5904\u7406\u9700\u6c42\u8f83\u5f31")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/62781bcd.ce62aa97.js b/assets/js/62781bcd.dcb0ca69.js similarity index 99% rename from assets/js/62781bcd.ce62aa97.js rename to assets/js/62781bcd.dcb0ca69.js index 122c613fe..b6f43ce04 100644 --- a/assets/js/62781bcd.ce62aa97.js +++ b/assets/js/62781bcd.dcb0ca69.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3806],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>g});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),y=c(r),m=o,g=y["".concat(i,".").concat(m)]||y[m]||s[m]||a;return r?n.createElement(g,l(l({ref:t},u),{},{components:r})):n.createElement(g,l({ref:t},u))}));function g(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=m;var p={};for(var i in t)hasOwnProperty.call(t,i)&&(p[i]=t[i]);p.originalType=e,p[y]="string"==typeof e?e:o,l[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,p={unversionedId:"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",id:"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",title:"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",description:"\u5728\u5927\u4f17\u719f\u77e5\u7684\u7269\u8054\u7f51\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\u56db\u5927\u5c42\u6b21\u91cc\uff0c\u5e73\u53f0\u5c42\u5c06\u4f5c\u4e3a\u7269\u8054\u7f51\u4ece\u8bbe\u5907\u8fde\u63a5\u5230\u573a\u666f\u5e94\u7528\u7684\u5173\u952e\u201c\u6865\u6881\u201d\u800c\u53d1\u6325\u4f5c\u7528\u3002",source:"@site/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0.md",sourceDirName:"study/competitive",slug:"/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",permalink:"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ThingsCloud",permalink:"/docs/study/competitive/ThingsCloud"},next:{title:"\u672a\u6574\u7406",permalink:"/docs/study/system/"}},i={},c=[],u={toc:c},y="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u5728\u5927\u4f17\u719f\u77e5\u7684\u7269\u8054\u7f51\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\u56db\u5927\u5c42\u6b21\u91cc\uff0c\u5e73\u53f0\u5c42\u5c06\u4f5c\u4e3a\u7269\u8054\u7f51\u4ece\u8bbe\u5907\u8fde\u63a5\u5230\u573a\u666f\u5e94\u7528\u7684\u5173\u952e\u201c\u6865\u6881\u201d\u800c\u53d1\u6325\u4f5c\u7528\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u662f\u4e00\u6b3e\u63d0\u4f9b\u4e30\u5bcc\u529f\u80fd\u7ec4\u5408\u7684\u5546\u4e1a\u8f6f\u4ef6\u4ea7\u54c1\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1a"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u8d1f\u8d23\u7269\u8054\u7f51\u8bbe\u5907\u7684\u8fde\u63a5\u4e0e\u7ba1\u7406\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u8d1f\u8d23\u7269\u8054\u7f51\u6570\u636e\u7684\u8bbf\u95ee\u3001\u6444\u53d6\u4e0e\u5b58\u50a8\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u5bf9\u6570\u636e\u7684\u53ef\u89c6\u5316\u4e0e\u5206\u6790\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u4f5c\u4e3a\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u548c\u96c6\u6210\u7684\u5de5\u5177\u3002")),(0,o.yg)("p",null,"\u751a\u81f3\u8fd8\u6709\u89c2\u70b9\u8ba4\u4e3a\uff0c\u7269\u8054\u7f51\u672a\u6765\u4e00\u5b9a\u662f\u5e73\u53f0\u4e3a\u738b\u3002\u5c24\u5176\u968f\u7740\u6570\u636e\u91cf\u5267\u589e\u3001\u7528\u6237\u5bf9\u8ba1\u7b97\u80fd\u529b\u7684\u9700\u6c42\u8d8a\u6765\u8d8a\u5927\uff0c\u5177\u6709\u5f3a\u5927\u63a5\u5165\u4e0e\u8fd0\u7ef4\u7ba1\u7406\u80fd\u529b\u7684\u4e91\u5e73\u53f0\u5c06\u662f\u4f01\u4e1a\u6253\u9020\u54c1\u724c\u7684\u91cd\u8981\u5173\u952e\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u88ab\u8ba4\u4e3a\u662f\u63a8\u52a8\u7269\u8054\u7f51\u5927\u89c4\u6a21\u8fde\u63a5\u7684\u57fa\u7840\u8f6f\u4ef6\uff0c\u662f\u4fc3\u8fdb IoT \u9879\u76ee\u89c4\u6a21\u843d\u5730\u7684\u5173\u952e\u57fa\u7840\u8bbe\u65bd\uff0c\u662f\u5168\u7403\u7269\u8054\u7f51\u4f01\u4e1a\u4e89\u593a\u53d1\u529b\u7684\u6218\u7565\u9ad8\u5730\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u5c5e\u4e8e\u4e91\u8ba1\u7b97\u4e09\u79cd\u670d\u52a1\u6a21\u578b\uff08IaaS\u3001PaaS\u3001SaaS\uff09\u4e2d PaaS \u5c42\u7684\u4e00\u90e8\u5206\uff0c\u8d77\u6e90\u4e8e\u7269\u8054\u7f51\u4e2d\u95f4\u4ef6\u7684\u5f62\u5f0f\uff0c\u5176\u76ee\u7684\u662f\u5728\u786c\u4ef6\u5c42\u548c\u5e94\u7528\u5c42\u4e4b\u95f4\u8d77\u5230\u4e2d\u4ecb\u4f5c\u7528\uff0c\u7ba1\u7406\u4e8c\u8005\u4e4b\u95f4\u7684\u6240\u6709\u4ea4\u4e92\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u4f01\u4e1a\u8f83\u9ad8\u9891\u5730\u63d0\u5230 4 \u5927\u529f\u80fd\uff0c\u5206\u522b\u662f",(0,o.yg)("strong",{parentName:"p"},"\u8fde\u63a5\u7ba1\u7406"),"\u3001",(0,o.yg)("strong",{parentName:"p"},"\u8bbe\u5907\u7ba1\u7406"),"\u3001",(0,o.yg)("strong",{parentName:"p"},"\u5e94\u7528\u5f00\u53d1"),"\u3001",(0,o.yg)("strong",{parentName:"p"},"\u6570\u636e\u5206\u6790"),"\u3002"),(0,o.yg)("p",null,"\u8fde\u63a5\u7ba1\u7406\u662f\u57fa\u7840\u3001\u8bbe\u5907\u7ba1\u7406\u662f\u6838\u5fc3\u3001\u5e94\u7528\u5f00\u53d1\u662f\u4ef7\u503c\u4f53\u73b0\u3001\u6570\u636e\u5206\u6790\u662f\u5e94\u7528\u6f5c\u80fd\u3001\u5b89\u5168\u662f\u91cd\u8981\u4fdd\u969c\u3002"),(0,o.yg)("p",null,"\u4ece\u6839\u672c\u4e0a\u7406\u89e3\uff0c\u7269\u8054\u7f51\u5e73\u53f0\u73a9\u5bb6\u7684",(0,o.yg)("strong",{parentName:"p"},(0,o.yg)("em",{parentName:"strong"},"\u7ecf\u8425\u7b56\u7565")),"\u4e3b\u8981\u53ef\u5206\u4e3a\u4e24\u70b9\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u4e00\u79cd\u662f\u6a2a\u5411\u7684\uff0c\u4e13\u95e8\u505a\u6cdb\u884c\u4e1a\u7684\u8fde\u63a5\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u53e6\u4e00\u79cd\u662f\u7eb5\u5411\u7684\uff0c\u6301\u7eed\u5728\u5782\u76f4\u9886\u57df\u6316\u6398\u6df1\u8015\u3002")),(0,o.yg)("p",null,"\u6784\u7b51\u82af\u7aef\u8fb9\u7f51\u4e91\u5168\u6808\u7269\u8054\u7f51\u4ea7\u54c1\u548c\u89e3\u51b3\u65b9\u6848\u3002\u5728\u7f51\u7edc\u4fa7\uff0c\u9664\u4e86\u5927\u5bb6\u6bd4\u8f83\u719f\u6089\u7684 2\u30013\u30014G\u30015G \u5916\uff0c\u534e\u4e3a\u8fd8\u5728\u63a8\u8fdb NB-IoT\u3001eLTE \u7b49\u7269\u8054\u7f51\u7f51\u7edc\u7684\u5efa\u8bbe\uff0c\u4e3a\u4ea7\u4e1a\u9886\u57df\u4e07\u7269\u4e92\u8054\u51c6\u5907\u597d\u7f51\u7edc\u3002"),(0,o.yg)("p",null,"\u8bbe\u5907\u63a5\u5165\u670d\u52a1\u5b9e\u73b0\u591a\uff08\u4ebf\u7ea7\u8054\u63a5\u3001\u767e\u4e07\u5e76\u53d1\uff09\u3001\u5feb\uff08\u5c0f\u65f6\u7ea7\u63a5\u5165\u3001\u5206\u949f\u7ea7\u5b89\u88c5\u90e8\u7f72\uff09\u3001\u597d\uff08\u9ad8\u5b89\u5168\u9ad8\u53ef\u9760\uff09\u3001\u7701\uff08\u4f4e\u529f\u8017\u3001\u4f4e\u6210\u672c\uff09\u7684\u8bbe\u5907\u4e0a\u4e91\u63a5\u5165\uff1b\u6570\u636e\u5206\u6790\u670d\u52a1\u5b9e\u73b0\u5f00\u7bb1\u5373\u7528\u7684\u4e00\u7ad9\u5f0f\u6570\u636e\u5904\u7406 & \u5206\u6790\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u7269\u8054\u7f51\u5b9e\u65f6\u5206\u6790\u3001\u65f6\u9700\u5206\u6790\u3001\u79bb\u7ebf\u5206\u6790\uff0c\u5feb\u901f\u6316\u6398\u7269\u8054\u7f51\u6570\u636e\u7684\u4ef7\u503c\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u4e3b\u8981\u6709\u4e09\u79cd\u5ba2\u6237\uff1a\u8bbe\u5907\u751f\u4ea7\u5382\u5bb6\u3001\u5de5\u4e1a\u73b0\u573a\uff08\u8bbe\u5907\u7528\u6237\uff09\u3001\u5782\u76f4\u884c\u4e1a\u7269\u8054\u7f51\u89e3\u51b3\u65b9\u6848\u5546\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u5904\u4e8e\u7269\u8054\u7f51\u56db\u4e2a\u903b\u8f91\u5c42\uff08\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\uff09\u4e2d\u5904\u4e8e\u5e73\u53f0\u5c42\u8fd9\u4e00\u73af\uff0c\u5e73\u53f0\u5c42\u4e8e\u7269\u8054\u7f51\u7684\u4f5c\u7528\u5728\u4e8e\u6536\u96c6\u3001\u5904\u7406\u6570\u636e\u7b49\u3002\u6211\u4eec\u53ef\u6839\u636e\u4e91\u5e73\u53f0\u7684\u529f\u80fd\u5c06\u5176\u5206\u4e3aCMP\u3001DMP\u3001AEP\u548cBAP\u7b49\u56db\u4e2a\u5e73\u53f0\u3002\u5230\u76ee\u524d\u4e3a\u6b62\u8fd8\u6ca1\u6709\u4e00\u5bb6\u516c\u53f8\u53ef\u5728\u4e1a\u52a1\u4e0a\u6db5\u76d6\u56db\u4e2a\u5b50\u5e73\u53f0\uff0c\u6bcf\u4e2a\u516c\u53f8\u6709\u5404\u81ea\u64c5\u957f\u9886\u57df \u548c\u72ec\u7279\u4f18\u52bf\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3806],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>g});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),y=c(r),m=o,g=y["".concat(i,".").concat(m)]||y[m]||s[m]||a;return r?n.createElement(g,l(l({ref:t},u),{},{components:r})):n.createElement(g,l({ref:t},u))}));function g(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=m;var p={};for(var i in t)hasOwnProperty.call(t,i)&&(p[i]=t[i]);p.originalType=e,p[y]="string"==typeof e?e:o,l[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,p={unversionedId:"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",id:"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",title:"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",description:"\u5728\u5927\u4f17\u719f\u77e5\u7684\u7269\u8054\u7f51\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\u56db\u5927\u5c42\u6b21\u91cc\uff0c\u5e73\u53f0\u5c42\u5c06\u4f5c\u4e3a\u7269\u8054\u7f51\u4ece\u8bbe\u5907\u8fde\u63a5\u5230\u573a\u666f\u5e94\u7528\u7684\u5173\u952e\u201c\u6865\u6881\u201d\u800c\u53d1\u6325\u4f5c\u7528\u3002",source:"@site/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0.md",sourceDirName:"study/competitive",slug:"/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",permalink:"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ThingsCloud",permalink:"/docs/study/competitive/ThingsCloud"},next:{title:"\u672a\u6574\u7406",permalink:"/docs/study/system/"}},i={},c=[],u={toc:c},y="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u5728\u5927\u4f17\u719f\u77e5\u7684\u7269\u8054\u7f51\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\u56db\u5927\u5c42\u6b21\u91cc\uff0c\u5e73\u53f0\u5c42\u5c06\u4f5c\u4e3a\u7269\u8054\u7f51\u4ece\u8bbe\u5907\u8fde\u63a5\u5230\u573a\u666f\u5e94\u7528\u7684\u5173\u952e\u201c\u6865\u6881\u201d\u800c\u53d1\u6325\u4f5c\u7528\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u662f\u4e00\u6b3e\u63d0\u4f9b\u4e30\u5bcc\u529f\u80fd\u7ec4\u5408\u7684\u5546\u4e1a\u8f6f\u4ef6\u4ea7\u54c1\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1a"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u8d1f\u8d23\u7269\u8054\u7f51\u8bbe\u5907\u7684\u8fde\u63a5\u4e0e\u7ba1\u7406\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u8d1f\u8d23\u7269\u8054\u7f51\u6570\u636e\u7684\u8bbf\u95ee\u3001\u6444\u53d6\u4e0e\u5b58\u50a8\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u5bf9\u6570\u636e\u7684\u53ef\u89c6\u5316\u4e0e\u5206\u6790\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u4f5c\u4e3a\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u548c\u96c6\u6210\u7684\u5de5\u5177\u3002")),(0,o.yg)("p",null,"\u751a\u81f3\u8fd8\u6709\u89c2\u70b9\u8ba4\u4e3a\uff0c\u7269\u8054\u7f51\u672a\u6765\u4e00\u5b9a\u662f\u5e73\u53f0\u4e3a\u738b\u3002\u5c24\u5176\u968f\u7740\u6570\u636e\u91cf\u5267\u589e\u3001\u7528\u6237\u5bf9\u8ba1\u7b97\u80fd\u529b\u7684\u9700\u6c42\u8d8a\u6765\u8d8a\u5927\uff0c\u5177\u6709\u5f3a\u5927\u63a5\u5165\u4e0e\u8fd0\u7ef4\u7ba1\u7406\u80fd\u529b\u7684\u4e91\u5e73\u53f0\u5c06\u662f\u4f01\u4e1a\u6253\u9020\u54c1\u724c\u7684\u91cd\u8981\u5173\u952e\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u88ab\u8ba4\u4e3a\u662f\u63a8\u52a8\u7269\u8054\u7f51\u5927\u89c4\u6a21\u8fde\u63a5\u7684\u57fa\u7840\u8f6f\u4ef6\uff0c\u662f\u4fc3\u8fdb IoT \u9879\u76ee\u89c4\u6a21\u843d\u5730\u7684\u5173\u952e\u57fa\u7840\u8bbe\u65bd\uff0c\u662f\u5168\u7403\u7269\u8054\u7f51\u4f01\u4e1a\u4e89\u593a\u53d1\u529b\u7684\u6218\u7565\u9ad8\u5730\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u5c5e\u4e8e\u4e91\u8ba1\u7b97\u4e09\u79cd\u670d\u52a1\u6a21\u578b\uff08IaaS\u3001PaaS\u3001SaaS\uff09\u4e2d PaaS \u5c42\u7684\u4e00\u90e8\u5206\uff0c\u8d77\u6e90\u4e8e\u7269\u8054\u7f51\u4e2d\u95f4\u4ef6\u7684\u5f62\u5f0f\uff0c\u5176\u76ee\u7684\u662f\u5728\u786c\u4ef6\u5c42\u548c\u5e94\u7528\u5c42\u4e4b\u95f4\u8d77\u5230\u4e2d\u4ecb\u4f5c\u7528\uff0c\u7ba1\u7406\u4e8c\u8005\u4e4b\u95f4\u7684\u6240\u6709\u4ea4\u4e92\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u4f01\u4e1a\u8f83\u9ad8\u9891\u5730\u63d0\u5230 4 \u5927\u529f\u80fd\uff0c\u5206\u522b\u662f",(0,o.yg)("strong",{parentName:"p"},"\u8fde\u63a5\u7ba1\u7406"),"\u3001",(0,o.yg)("strong",{parentName:"p"},"\u8bbe\u5907\u7ba1\u7406"),"\u3001",(0,o.yg)("strong",{parentName:"p"},"\u5e94\u7528\u5f00\u53d1"),"\u3001",(0,o.yg)("strong",{parentName:"p"},"\u6570\u636e\u5206\u6790"),"\u3002"),(0,o.yg)("p",null,"\u8fde\u63a5\u7ba1\u7406\u662f\u57fa\u7840\u3001\u8bbe\u5907\u7ba1\u7406\u662f\u6838\u5fc3\u3001\u5e94\u7528\u5f00\u53d1\u662f\u4ef7\u503c\u4f53\u73b0\u3001\u6570\u636e\u5206\u6790\u662f\u5e94\u7528\u6f5c\u80fd\u3001\u5b89\u5168\u662f\u91cd\u8981\u4fdd\u969c\u3002"),(0,o.yg)("p",null,"\u4ece\u6839\u672c\u4e0a\u7406\u89e3\uff0c\u7269\u8054\u7f51\u5e73\u53f0\u73a9\u5bb6\u7684",(0,o.yg)("strong",{parentName:"p"},(0,o.yg)("em",{parentName:"strong"},"\u7ecf\u8425\u7b56\u7565")),"\u4e3b\u8981\u53ef\u5206\u4e3a\u4e24\u70b9\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u4e00\u79cd\u662f\u6a2a\u5411\u7684\uff0c\u4e13\u95e8\u505a\u6cdb\u884c\u4e1a\u7684\u8fde\u63a5\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u53e6\u4e00\u79cd\u662f\u7eb5\u5411\u7684\uff0c\u6301\u7eed\u5728\u5782\u76f4\u9886\u57df\u6316\u6398\u6df1\u8015\u3002")),(0,o.yg)("p",null,"\u6784\u7b51\u82af\u7aef\u8fb9\u7f51\u4e91\u5168\u6808\u7269\u8054\u7f51\u4ea7\u54c1\u548c\u89e3\u51b3\u65b9\u6848\u3002\u5728\u7f51\u7edc\u4fa7\uff0c\u9664\u4e86\u5927\u5bb6\u6bd4\u8f83\u719f\u6089\u7684 2\u30013\u30014G\u30015G \u5916\uff0c\u534e\u4e3a\u8fd8\u5728\u63a8\u8fdb NB-IoT\u3001eLTE \u7b49\u7269\u8054\u7f51\u7f51\u7edc\u7684\u5efa\u8bbe\uff0c\u4e3a\u4ea7\u4e1a\u9886\u57df\u4e07\u7269\u4e92\u8054\u51c6\u5907\u597d\u7f51\u7edc\u3002"),(0,o.yg)("p",null,"\u8bbe\u5907\u63a5\u5165\u670d\u52a1\u5b9e\u73b0\u591a\uff08\u4ebf\u7ea7\u8054\u63a5\u3001\u767e\u4e07\u5e76\u53d1\uff09\u3001\u5feb\uff08\u5c0f\u65f6\u7ea7\u63a5\u5165\u3001\u5206\u949f\u7ea7\u5b89\u88c5\u90e8\u7f72\uff09\u3001\u597d\uff08\u9ad8\u5b89\u5168\u9ad8\u53ef\u9760\uff09\u3001\u7701\uff08\u4f4e\u529f\u8017\u3001\u4f4e\u6210\u672c\uff09\u7684\u8bbe\u5907\u4e0a\u4e91\u63a5\u5165\uff1b\u6570\u636e\u5206\u6790\u670d\u52a1\u5b9e\u73b0\u5f00\u7bb1\u5373\u7528\u7684\u4e00\u7ad9\u5f0f\u6570\u636e\u5904\u7406 & \u5206\u6790\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u7269\u8054\u7f51\u5b9e\u65f6\u5206\u6790\u3001\u65f6\u9700\u5206\u6790\u3001\u79bb\u7ebf\u5206\u6790\uff0c\u5feb\u901f\u6316\u6398\u7269\u8054\u7f51\u6570\u636e\u7684\u4ef7\u503c\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u4e3b\u8981\u6709\u4e09\u79cd\u5ba2\u6237\uff1a\u8bbe\u5907\u751f\u4ea7\u5382\u5bb6\u3001\u5de5\u4e1a\u73b0\u573a\uff08\u8bbe\u5907\u7528\u6237\uff09\u3001\u5782\u76f4\u884c\u4e1a\u7269\u8054\u7f51\u89e3\u51b3\u65b9\u6848\u5546\u3002"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u5904\u4e8e\u7269\u8054\u7f51\u56db\u4e2a\u903b\u8f91\u5c42\uff08\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\uff09\u4e2d\u5904\u4e8e\u5e73\u53f0\u5c42\u8fd9\u4e00\u73af\uff0c\u5e73\u53f0\u5c42\u4e8e\u7269\u8054\u7f51\u7684\u4f5c\u7528\u5728\u4e8e\u6536\u96c6\u3001\u5904\u7406\u6570\u636e\u7b49\u3002\u6211\u4eec\u53ef\u6839\u636e\u4e91\u5e73\u53f0\u7684\u529f\u80fd\u5c06\u5176\u5206\u4e3aCMP\u3001DMP\u3001AEP\u548cBAP\u7b49\u56db\u4e2a\u5e73\u53f0\u3002\u5230\u76ee\u524d\u4e3a\u6b62\u8fd8\u6ca1\u6709\u4e00\u5bb6\u516c\u53f8\u53ef\u5728\u4e1a\u52a1\u4e0a\u6db5\u76d6\u56db\u4e2a\u5b50\u5e73\u53f0\uff0c\u6bcf\u4e2a\u516c\u53f8\u6709\u5404\u81ea\u64c5\u957f\u9886\u57df \u548c\u72ec\u7279\u4f18\u52bf\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/62b25442.de55dbe6.js b/assets/js/62b25442.69735db9.js similarity index 99% rename from assets/js/62b25442.de55dbe6.js rename to assets/js/62b25442.69735db9.js index a58572db9..024254022 100644 --- a/assets/js/62b25442.de55dbe6.js +++ b/assets/js/62b25442.69735db9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[310],{15680:(e,n,t)=>{t.d(n,{xA:()=>y,yg:()=>N});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function l(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var g=a.createContext({}),p=function(e){var n=a.useContext(g),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},y=function(e){var n=p(e.components);return a.createElement(g.Provider,{value:n},e.children)},m="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},u=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,i=e.originalType,g=e.parentName,y=o(e,["components","mdxType","originalType","parentName"]),m=p(t),u=r,N=m["".concat(g,".").concat(u)]||m[u]||s[u]||i;return t?a.createElement(N,l(l({ref:n},y),{},{components:t})):a.createElement(N,l({ref:n},y))}));function N(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var i=t.length,l=new Array(i);l[0]=u;var o={};for(var g in n)hasOwnProperty.call(n,g)&&(o[g]=n[g]);o.originalType=e,o[m]="string"==typeof e?e:r,l[1]=o;for(var p=2;p{t.r(n),t.d(n,{assets:()=>g,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>o,toc:()=>p});var a=t(58168),r=(t(96540),t(15680));const i={},l=void 0,o={unversionedId:"study/program/Golang/CGO",id:"study/program/Golang/CGO",title:"CGO",description:"\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684cgo\u652f\u6301\u7684\u51fd\u6570\u548c\u7c7b\u578b\u4ee5\u53ca\u67e5\u8be2\u7684\u65b9\u6cd5\uff1a",source:"@site/docs/study/program/Golang/CGO.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/CGO",permalink:"/docs/study/program/Golang/CGO",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Golang",permalink:"/docs/study/program/Golang/"},next:{title:"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",permalink:"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406"}},g={},p=[{value:"\u5e38\u89c1\u652f\u6301\u7684\u7c7b\u578b\uff1a",id:"\u5e38\u89c1\u652f\u6301\u7684\u7c7b\u578b",level:3},{value:"\u5e38\u89c1\u652f\u6301\u7684\u51fd\u6570\uff1a",id:"\u5e38\u89c1\u652f\u6301\u7684\u51fd\u6570",level:3},{value:"\u67e5\u8be2\u65b9\u6cd5\uff1a",id:"\u67e5\u8be2\u65b9\u6cd5",level:3}],y={toc:p},m="wrapper";function s(e){let{components:n,...t}=e;return(0,r.yg)(m,(0,a.A)({},y,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("p",null,"\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684cgo\u652f\u6301\u7684\u51fd\u6570\u548c\u7c7b\u578b\u4ee5\u53ca\u67e5\u8be2\u7684\u65b9\u6cd5\uff1a"),(0,r.yg)("h3",{id:"\u5e38\u89c1\u652f\u6301\u7684\u7c7b\u578b"},"\u5e38\u89c1\u652f\u6301\u7684\u7c7b\u578b\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u6570\u503c\u7c7b\u578b"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.char"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"byte"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.schar"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int8"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.uchar"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint8"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.short"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int16"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.ushort"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint16"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.int"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.uint"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.long"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.ulong"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.longlong"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int64"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.ulonglong"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint64"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.float"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"float32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.double"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"float64"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.size_t"),"\uff1a\u53ef\u5f53\u4f5cGo\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint"),"\u65e0\u7b26\u53f7\u6574\u6570\u7c7b\u578b\u5bf9\u5f85 \u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5b57\u7b26\u4e32\u548c\u5207\u7247\u7c7b\u578b"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"*C.char")),"\uff1aC\u8bed\u8a00\u4e2d\u7684\u5b57\u7b26\u4e32\u7c7b\u578b\uff0c\u4ee5",(0,r.yg)("inlineCode",{parentName:"li"},"null"),"\u5b57\u7b26\u7ed3\u5c3e\uff0c\u53ef\u4e0eGo\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"string"),"\u7c7b\u578b\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},"C.CString"),"\u3001",(0,r.yg)("inlineCode",{parentName:"li"},"C.GoString"),"\u7b49\u51fd\u6570\u8fdb\u884c\u8f6c\u6362."),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"[]byte"),"\u4e0e",(0,r.yg)("inlineCode",{parentName:"strong"},"unsafe.Pointer")),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"[]byte"),"\u5207\u7247\u53ef\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},"C.CBytes"),"\u51fd\u6570\u8f6c\u6362\u4e3a",(0,r.yg)("inlineCode",{parentName:"li"},"unsafe.Pointer"),"\u7c7b\u578b\u7684C\u8bed\u8a00\u5b57\u8282\u6570\u7ec4\uff0c\u53cd\u4e4b\u53ef\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},"C.GoBytes"),"\u51fd\u6570\u5c06C\u8bed\u8a00\u5b57\u8282\u6570\u7ec4\u8f6c\u6362\u4e3a",(0,r.yg)("inlineCode",{parentName:"li"},"[]byte"),"\u5207\u7247."))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u7ed3\u6784\u4f53\u3001\u8054\u5408\u3001\u679a\u4e3e\u7c7b\u578b"),"\uff1a\u53ef\u4ee5\u5728Go\u4ee3\u7801\u4e2d\u5b9a\u4e49\u548c\u4f7f\u7528C\u7ed3\u6784\u4f53\uff0c\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},'import "C"'),"\u5bfc\u5165\u540e\uff0c\u53ef\u76f4\u63a5\u4f7f\u7528C\u7ed3\u6784\u4f53\u7c7b\u578b\u6765\u58f0\u660e\u53d8\u91cf\u548c\u64cd\u4f5c\u7ed3\u6784\u4f53\u6210\u5458.")),(0,r.yg)("h3",{id:"\u5e38\u89c1\u652f\u6301\u7684\u51fd\u6570"},"\u5e38\u89c1\u652f\u6301\u7684\u51fd\u6570\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u7c7b\u578b\u8f6c\u6362\u51fd\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.CString(string)")),"\uff1a\u5c06Go\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"string"),"\u8f6c\u6362\u4e3aC\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"*C.char"),"\u7c7b\u578b\uff0c\u8fd4\u56de\u7684\u5b57\u7b26\u4e32\u7531C\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"malloc"),"\u51fd\u6570\u5206\u914d\u5185\u5b58\uff0c\u4f7f\u7528\u540e\u9700\u8c03\u7528",(0,r.yg)("inlineCode",{parentName:"li"},"C.free"),"\u91ca\u653e\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.CBytes([]byte)")),"\uff1a\u5c06Go\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"[]byte"),"\u5207\u7247\u8f6c\u6362\u4e3aC\u8bed\u8a00\u7684\u5b57\u8282\u6570\u7ec4\uff0c\u540c\u6837\u7531",(0,r.yg)("inlineCode",{parentName:"li"},"malloc"),"\u5206\u914d\u5185\u5b58\uff0c\u9700\u624b\u52a8\u91ca\u653e\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.GoString(*C.char)")),"\uff1a\u5c06C\u8bed\u8a00\u7684\u4ee5",(0,r.yg)("inlineCode",{parentName:"li"},"null"),"\u7ed3\u5c3e\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3aGo\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"string"),"\u7c7b\u578b\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.GoStringN(*C.char, C.int)")),"\uff1a\u5c06C\u8bed\u8a00\u7684\u5177\u6709\u660e\u786e\u957f\u5ea6\u7684\u5b57\u7b26\u6570\u7ec4\u8f6c\u6362\u4e3aGo\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"string"),"\u7c7b\u578b\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.GoBytes(unsafe.Pointer, C.int)")),"\uff1a\u5c06C\u8bed\u8a00\u7684\u5177\u6709\u660e\u786e\u957f\u5ea6\u7684\u5b57\u8282\u6570\u7ec4\u8f6c\u6362\u4e3aGo\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"[]byte"),"\u5207\u7247\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u6807\u51c6\u5e93\u51fd\u6570"),"\uff1a\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528C\u6807\u51c6\u5e93\u4e2d\u7684\u51fd\u6570\uff0c\u5982",(0,r.yg)("inlineCode",{parentName:"li"},"stdio.h"),"\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"puts"),"\u3001",(0,r.yg)("inlineCode",{parentName:"li"},"printf"),"\uff0c",(0,r.yg)("inlineCode",{parentName:"li"},"stdlib.h"),"\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"malloc"),"\u3001",(0,r.yg)("inlineCode",{parentName:"li"},"free"),"\uff0c",(0,r.yg)("inlineCode",{parentName:"li"},"string.h"),"\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"strlen"),"\u7b49.")),(0,r.yg)("h3",{id:"\u67e5\u8be2\u65b9\u6cd5"},"\u67e5\u8be2\u65b9\u6cd5\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5b98\u65b9\u6587\u6863"),"\uff1aGo\u8bed\u8a00\u7684\u5b98\u65b9\u6587\u6863\u662f\u6700\u6743\u5a01\u7684\u67e5\u8be2\u8d44\u6599\u3002\u53ef\u4ee5\u67e5\u770b ",(0,r.yg)("a",{parentName:"li",href:"https://pkg.go.dev/cmd/cgo"},"cgo command")," \u548c ",(0,r.yg)("a",{parentName:"li",href:"https://pkg.go.dev/runtime/cgo"},"runtime/cgo")," \u7684\u6587\u6863\uff0c\u5176\u4e2d\u5305\u542b\u4e86\u5bf9cgo\u5de5\u5177\u4ee5\u53ca\u76f8\u5173\u51fd\u6570\u3001\u7c7b\u578b\u7b49\u7684\u8be6\u7ec6\u4ecb\u7ecd."),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Go\u8bed\u8a00\u7684\u4ee3\u7801\u793a\u4f8b"),"\uff1a\u5728Go\u8bed\u8a00\u7684\u5b98\u65b9\u4ed3\u5e93\u4ee5\u53ca\u4e00\u4e9b\u77e5\u540d\u7684\u5f00\u6e90\u9879\u76ee\u4e2d\uff0c\u53ef\u4ee5\u627e\u5230\u5927\u91cf\u4f7f\u7528cgo\u7684\u793a\u4f8b\u4ee3\u7801\uff0c\u901a\u8fc7\u5b66\u4e60\u8fd9\u4e9b\u793a\u4f8b\uff0c\u4e86\u89e3\u4e0d\u540c\u573a\u666f\u4e0bcgo\u652f\u6301\u7684\u51fd\u6570\u548c\u7c7b\u578b\u7684\u4f7f\u7528\u65b9\u6cd5\u3002\u4f8b\u5982\uff0cGo\u8bed\u8a00\u6807\u51c6\u5e93\u4e2d\u7684\u4e00\u4e9b\u4f7f\u7528\u4e86cgo\u7684\u5305\uff0c\u5982",(0,r.yg)("inlineCode",{parentName:"li"},"net"),"\u5305\u4e2d\u4e0e\u7f51\u7edc\u76f8\u5173\u7684\u5e95\u5c42\u5b9e\u73b0\u53ef\u80fd\u4f1a\u6d89\u53ca\u5230cgo\u4e0e\u7cfb\u7edfC\u5e93\u51fd\u6570\u7684\u4ea4\u4e92\u7b49 \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5728\u7ebf\u6559\u7a0b\u548c\u535a\u5ba2"),"\uff1a\u8bb8\u591a\u6280\u672f\u535a\u5ba2\u548c\u5728\u7ebf\u6559\u7a0b\u4e5f\u4f1a\u5bf9cgo\u7684\u4f7f\u7528\u8fdb\u884c\u8be6\u7ec6\u8bb2\u89e3\uff0c\u5e76\u5217\u4e3e\u4e00\u4e9b\u5e38\u89c1\u7684\u51fd\u6570\u548c\u7c7b\u578b\u7684\u4f7f\u7528\u793a\u4f8b\uff0c\u5982 ",(0,r.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_44470091/article/details/110654875"},"CSDN\u535a\u5ba2")," \u4e0a\u7684\u76f8\u5173\u6587\u7ae0.")))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[310],{15680:(e,n,t)=>{t.d(n,{xA:()=>y,yg:()=>N});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function l(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var g=a.createContext({}),p=function(e){var n=a.useContext(g),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},y=function(e){var n=p(e.components);return a.createElement(g.Provider,{value:n},e.children)},m="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},u=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,i=e.originalType,g=e.parentName,y=o(e,["components","mdxType","originalType","parentName"]),m=p(t),u=r,N=m["".concat(g,".").concat(u)]||m[u]||s[u]||i;return t?a.createElement(N,l(l({ref:n},y),{},{components:t})):a.createElement(N,l({ref:n},y))}));function N(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var i=t.length,l=new Array(i);l[0]=u;var o={};for(var g in n)hasOwnProperty.call(n,g)&&(o[g]=n[g]);o.originalType=e,o[m]="string"==typeof e?e:r,l[1]=o;for(var p=2;p{t.r(n),t.d(n,{assets:()=>g,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>o,toc:()=>p});var a=t(58168),r=(t(96540),t(15680));const i={},l=void 0,o={unversionedId:"study/program/Golang/CGO",id:"study/program/Golang/CGO",title:"CGO",description:"\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684cgo\u652f\u6301\u7684\u51fd\u6570\u548c\u7c7b\u578b\u4ee5\u53ca\u67e5\u8be2\u7684\u65b9\u6cd5\uff1a",source:"@site/docs/study/program/Golang/CGO.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/CGO",permalink:"/docs/study/program/Golang/CGO",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Golang",permalink:"/docs/study/program/Golang/"},next:{title:"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",permalink:"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406"}},g={},p=[{value:"\u5e38\u89c1\u652f\u6301\u7684\u7c7b\u578b\uff1a",id:"\u5e38\u89c1\u652f\u6301\u7684\u7c7b\u578b",level:3},{value:"\u5e38\u89c1\u652f\u6301\u7684\u51fd\u6570\uff1a",id:"\u5e38\u89c1\u652f\u6301\u7684\u51fd\u6570",level:3},{value:"\u67e5\u8be2\u65b9\u6cd5\uff1a",id:"\u67e5\u8be2\u65b9\u6cd5",level:3}],y={toc:p},m="wrapper";function s(e){let{components:n,...t}=e;return(0,r.yg)(m,(0,a.A)({},y,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("p",null,"\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684cgo\u652f\u6301\u7684\u51fd\u6570\u548c\u7c7b\u578b\u4ee5\u53ca\u67e5\u8be2\u7684\u65b9\u6cd5\uff1a"),(0,r.yg)("h3",{id:"\u5e38\u89c1\u652f\u6301\u7684\u7c7b\u578b"},"\u5e38\u89c1\u652f\u6301\u7684\u7c7b\u578b\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u6570\u503c\u7c7b\u578b"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.char"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"byte"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.schar"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int8"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.uchar"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint8"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.short"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int16"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.ushort"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint16"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.int"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.uint"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.long"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.ulong"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.longlong"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"int64"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.ulonglong"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint64"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.float"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"float32"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.double"),"\uff1a\u5bf9\u5e94Go\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"float64"),"\u7c7b\u578b \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"C.size_t"),"\uff1a\u53ef\u5f53\u4f5cGo\u8bed\u8a00\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"uint"),"\u65e0\u7b26\u53f7\u6574\u6570\u7c7b\u578b\u5bf9\u5f85 \u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5b57\u7b26\u4e32\u548c\u5207\u7247\u7c7b\u578b"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"*C.char")),"\uff1aC\u8bed\u8a00\u4e2d\u7684\u5b57\u7b26\u4e32\u7c7b\u578b\uff0c\u4ee5",(0,r.yg)("inlineCode",{parentName:"li"},"null"),"\u5b57\u7b26\u7ed3\u5c3e\uff0c\u53ef\u4e0eGo\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"string"),"\u7c7b\u578b\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},"C.CString"),"\u3001",(0,r.yg)("inlineCode",{parentName:"li"},"C.GoString"),"\u7b49\u51fd\u6570\u8fdb\u884c\u8f6c\u6362."),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"[]byte"),"\u4e0e",(0,r.yg)("inlineCode",{parentName:"strong"},"unsafe.Pointer")),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"[]byte"),"\u5207\u7247\u53ef\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},"C.CBytes"),"\u51fd\u6570\u8f6c\u6362\u4e3a",(0,r.yg)("inlineCode",{parentName:"li"},"unsafe.Pointer"),"\u7c7b\u578b\u7684C\u8bed\u8a00\u5b57\u8282\u6570\u7ec4\uff0c\u53cd\u4e4b\u53ef\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},"C.GoBytes"),"\u51fd\u6570\u5c06C\u8bed\u8a00\u5b57\u8282\u6570\u7ec4\u8f6c\u6362\u4e3a",(0,r.yg)("inlineCode",{parentName:"li"},"[]byte"),"\u5207\u7247."))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u7ed3\u6784\u4f53\u3001\u8054\u5408\u3001\u679a\u4e3e\u7c7b\u578b"),"\uff1a\u53ef\u4ee5\u5728Go\u4ee3\u7801\u4e2d\u5b9a\u4e49\u548c\u4f7f\u7528C\u7ed3\u6784\u4f53\uff0c\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},'import "C"'),"\u5bfc\u5165\u540e\uff0c\u53ef\u76f4\u63a5\u4f7f\u7528C\u7ed3\u6784\u4f53\u7c7b\u578b\u6765\u58f0\u660e\u53d8\u91cf\u548c\u64cd\u4f5c\u7ed3\u6784\u4f53\u6210\u5458.")),(0,r.yg)("h3",{id:"\u5e38\u89c1\u652f\u6301\u7684\u51fd\u6570"},"\u5e38\u89c1\u652f\u6301\u7684\u51fd\u6570\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u7c7b\u578b\u8f6c\u6362\u51fd\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.CString(string)")),"\uff1a\u5c06Go\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"string"),"\u8f6c\u6362\u4e3aC\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"*C.char"),"\u7c7b\u578b\uff0c\u8fd4\u56de\u7684\u5b57\u7b26\u4e32\u7531C\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"malloc"),"\u51fd\u6570\u5206\u914d\u5185\u5b58\uff0c\u4f7f\u7528\u540e\u9700\u8c03\u7528",(0,r.yg)("inlineCode",{parentName:"li"},"C.free"),"\u91ca\u653e\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.CBytes([]byte)")),"\uff1a\u5c06Go\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"[]byte"),"\u5207\u7247\u8f6c\u6362\u4e3aC\u8bed\u8a00\u7684\u5b57\u8282\u6570\u7ec4\uff0c\u540c\u6837\u7531",(0,r.yg)("inlineCode",{parentName:"li"},"malloc"),"\u5206\u914d\u5185\u5b58\uff0c\u9700\u624b\u52a8\u91ca\u653e\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.GoString(*C.char)")),"\uff1a\u5c06C\u8bed\u8a00\u7684\u4ee5",(0,r.yg)("inlineCode",{parentName:"li"},"null"),"\u7ed3\u5c3e\u7684\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3aGo\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"string"),"\u7c7b\u578b\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.GoStringN(*C.char, C.int)")),"\uff1a\u5c06C\u8bed\u8a00\u7684\u5177\u6709\u660e\u786e\u957f\u5ea6\u7684\u5b57\u7b26\u6570\u7ec4\u8f6c\u6362\u4e3aGo\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"string"),"\u7c7b\u578b\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("inlineCode",{parentName:"strong"},"C.GoBytes(unsafe.Pointer, C.int)")),"\uff1a\u5c06C\u8bed\u8a00\u7684\u5177\u6709\u660e\u786e\u957f\u5ea6\u7684\u5b57\u8282\u6570\u7ec4\u8f6c\u6362\u4e3aGo\u8bed\u8a00\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"[]byte"),"\u5207\u7247\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u6807\u51c6\u5e93\u51fd\u6570"),"\uff1a\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528C\u6807\u51c6\u5e93\u4e2d\u7684\u51fd\u6570\uff0c\u5982",(0,r.yg)("inlineCode",{parentName:"li"},"stdio.h"),"\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"puts"),"\u3001",(0,r.yg)("inlineCode",{parentName:"li"},"printf"),"\uff0c",(0,r.yg)("inlineCode",{parentName:"li"},"stdlib.h"),"\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"malloc"),"\u3001",(0,r.yg)("inlineCode",{parentName:"li"},"free"),"\uff0c",(0,r.yg)("inlineCode",{parentName:"li"},"string.h"),"\u4e2d\u7684",(0,r.yg)("inlineCode",{parentName:"li"},"strlen"),"\u7b49.")),(0,r.yg)("h3",{id:"\u67e5\u8be2\u65b9\u6cd5"},"\u67e5\u8be2\u65b9\u6cd5\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5b98\u65b9\u6587\u6863"),"\uff1aGo\u8bed\u8a00\u7684\u5b98\u65b9\u6587\u6863\u662f\u6700\u6743\u5a01\u7684\u67e5\u8be2\u8d44\u6599\u3002\u53ef\u4ee5\u67e5\u770b ",(0,r.yg)("a",{parentName:"li",href:"https://pkg.go.dev/cmd/cgo"},"cgo command")," \u548c ",(0,r.yg)("a",{parentName:"li",href:"https://pkg.go.dev/runtime/cgo"},"runtime/cgo")," \u7684\u6587\u6863\uff0c\u5176\u4e2d\u5305\u542b\u4e86\u5bf9cgo\u5de5\u5177\u4ee5\u53ca\u76f8\u5173\u51fd\u6570\u3001\u7c7b\u578b\u7b49\u7684\u8be6\u7ec6\u4ecb\u7ecd."),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Go\u8bed\u8a00\u7684\u4ee3\u7801\u793a\u4f8b"),"\uff1a\u5728Go\u8bed\u8a00\u7684\u5b98\u65b9\u4ed3\u5e93\u4ee5\u53ca\u4e00\u4e9b\u77e5\u540d\u7684\u5f00\u6e90\u9879\u76ee\u4e2d\uff0c\u53ef\u4ee5\u627e\u5230\u5927\u91cf\u4f7f\u7528cgo\u7684\u793a\u4f8b\u4ee3\u7801\uff0c\u901a\u8fc7\u5b66\u4e60\u8fd9\u4e9b\u793a\u4f8b\uff0c\u4e86\u89e3\u4e0d\u540c\u573a\u666f\u4e0bcgo\u652f\u6301\u7684\u51fd\u6570\u548c\u7c7b\u578b\u7684\u4f7f\u7528\u65b9\u6cd5\u3002\u4f8b\u5982\uff0cGo\u8bed\u8a00\u6807\u51c6\u5e93\u4e2d\u7684\u4e00\u4e9b\u4f7f\u7528\u4e86cgo\u7684\u5305\uff0c\u5982",(0,r.yg)("inlineCode",{parentName:"li"},"net"),"\u5305\u4e2d\u4e0e\u7f51\u7edc\u76f8\u5173\u7684\u5e95\u5c42\u5b9e\u73b0\u53ef\u80fd\u4f1a\u6d89\u53ca\u5230cgo\u4e0e\u7cfb\u7edfC\u5e93\u51fd\u6570\u7684\u4ea4\u4e92\u7b49 \u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5728\u7ebf\u6559\u7a0b\u548c\u535a\u5ba2"),"\uff1a\u8bb8\u591a\u6280\u672f\u535a\u5ba2\u548c\u5728\u7ebf\u6559\u7a0b\u4e5f\u4f1a\u5bf9cgo\u7684\u4f7f\u7528\u8fdb\u884c\u8be6\u7ec6\u8bb2\u89e3\uff0c\u5e76\u5217\u4e3e\u4e00\u4e9b\u5e38\u89c1\u7684\u51fd\u6570\u548c\u7c7b\u578b\u7684\u4f7f\u7528\u793a\u4f8b\uff0c\u5982 ",(0,r.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_44470091/article/details/110654875"},"CSDN\u535a\u5ba2")," \u4e0a\u7684\u76f8\u5173\u6587\u7ae0.")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6360ef06.67c34194.js b/assets/js/6360ef06.53b96d21.js similarity index 99% rename from assets/js/6360ef06.67c34194.js rename to assets/js/6360ef06.53b96d21.js index cf111cae6..ea2d344ea 100644 --- a/assets/js/6360ef06.67c34194.js +++ b/assets/js/6360ef06.53b96d21.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5543],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var a=r(96540);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var y=a.createContext({}),s=function(e){var t=a.useContext(y),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=s(e.components);return a.createElement(y.Provider,{value:t},e.children)},c="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,i=e.originalType,y=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),c=s(r),d=n,m=c["".concat(y,".").concat(d)]||c[d]||p[d]||i;return r?a.createElement(m,l(l({ref:t},u),{},{components:r})):a.createElement(m,l({ref:t},u))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var i=r.length,l=new Array(i);l[0]=d;var o={};for(var y in t)hasOwnProperty.call(t,y)&&(o[y]=t[y]);o.originalType=e,o[c]="string"==typeof e?e:n,l[1]=o;for(var s=2;s{r.r(t),r.d(t,{assets:()=>y,contentTitle:()=>l,default:()=>p,frontMatter:()=>i,metadata:()=>o,toc:()=>s});var a=r(58168),n=(r(96540),r(15680));const i={},l=void 0,o={unversionedId:"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis",id:"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis",title:"JPA-MyBatis",description:"JPA",source:"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis.md",sourceDirName:"study/back/\u6570\u636e\u5e93\u76f8\u5173",slug:"/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb"},next:{title:"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60"}},y={},s=[{value:"JPA",id:"jpa",level:3},{value:"MyBatis",id:"mybatis",level:3},{value:"\u4e24\u8005\u5bf9\u6bd4",id:"\u4e24\u8005\u5bf9\u6bd4",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:s},c="wrapper";function p(e){let{components:t,...r}=e;return(0,n.yg)(c,(0,a.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"jpa"},"JPA"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"JPA \u662f Java Persistence API \u7684\u7b80\u79f0\uff0c\u4e2d\u6587\u540d Java \u6301\u4e45\u5c42 API \u3002"),(0,n.yg)("li",{parentName:"ul"},"\u662f Java EE 5.0 \u5e73\u53f0\u6807\u51c6\u7684 ORM \u89c4\u8303\uff0c\u4f7f\u5f97\u5e94\u7528\u7a0b\u5e8f\u4ee5\u7edf\u4e00\u7684\u65b9\u5f0f\u8bbf\u95ee\u6301\u4e45\u5c42\u3002\u65e2\u7136\u662f\u89c4\u8303\uff0c\u90a3\u80af\u5b9a\u5c31\u9700\u8981\u6280\u672f\u6765\u5b9e\u73b0\u8fd9\u4e2a\u89c4\u8303\uff0c\u6240\u4ee5 Hibernate3.2+\u3001TopLink 10.1.3 \u4ee5\u53ca OpenJPA \u90fd\u63d0\u4f9b\u4e86 JPA \u7684\u5b9e\u73b0\u3002")),(0,n.yg)("h3",{id:"mybatis"},"MyBatis"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"MyBatis \u662f\u652f\u6301\u666e\u901a SQL \u67e5\u8be2\uff0c\u5b58\u50a8\u8fc7\u7a0b\u548c\u9ad8\u7ea7\u6620\u5c04\u7684\u4f18\u79c0\u6301\u4e45\u5c42\u6846\u67b6\u3002"),(0,n.yg)("li",{parentName:"ul"},"MyBatis \u6d88\u9664\u4e86\u51e0\u4e4e\u6240\u6709\u7684 JDBC \u4ee3\u7801\u548c\u53c2\u6570\u7684\u624b\u5de5\u8bbe\u7f6e\u4ee5\u53ca\u7ed3\u679c\u96c6\u7684\u68c0\u7d22\u3002"),(0,n.yg)("li",{parentName:"ul"},"MyBatis \u4f7f\u7528\u7b80\u5355\u7684 XML \u6216\u6ce8\u89e3\u7528\u4e8e\u914d\u7f6e\u548c\u539f\u59cb\u6620\u5c04\uff0c\u5c06\u63a5\u53e3\u548c Java \u7684 POJOs\uff08Plain Ordinary Java Objects\uff0c\u666e\u901a\u7684 Java \u5bf9\u8c61\uff09\u6620\u5c04\u6210\u6570\u636e\u5e93\u4e2d\u7684\u8bb0\u5f55\u3002")),(0,n.yg)("h3",{id:"\u4e24\u8005\u5bf9\u6bd4"},"\u4e24\u8005\u5bf9\u6bd4"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"MyBatis \u6ca1\u6709\u5b9e\u73b0 JPA \u89c4\u8303\uff0c\u5c5e\u4e8e\u534a\u81ea\u52a8 ORM \u6620\u5c04\u5de5\u5177\uff0c\u5728 MyBatis \u4e2d\uff0c\u7a0b\u5e8f\u5458\u9700\u8981\u81ea\u5df1\u7f16\u5199 Sql \u8bed\u53e5\u3002"),(0,n.yg)("li",{parentName:"ul"},"JPA \u662f Repository\uff0cMyBatis \u662f Mapper\u3002"),(0,n.yg)("li",{parentName:"ul"},"MyBatis \u652f\u6301\u5b9a\u5236\u5316 SQL\u3001\u5b58\u50a8\u8fc7\u7a0b\u4ee5\u53ca\u9ad8\u7ea7\u6620\u5c04\u3002JPA \u4ec5\u652f\u6301\u7b80\u5355\u7684\u6620\u5c04\uff0c\u5b83\u6620\u5c04\u5b9e\u4f53\u7c7b\u5c5e\u6027\u5230\u6570\u636e\u5e93\u8868\u7684\u5b57\u6bb5\u4e0a\u3002"),(0,n.yg)("li",{parentName:"ul"},"MyBatis \u9700\u8981\u624b\u52a8\u8fdb\u884c\u5206\u9875\uff0c\u800c JPA \u53ef\u4ee5\u4f7f\u7528\u6846\u67b6\u81ea\u5e26\u7684\u5206\u9875\u673a\u5236\u3002")),(0,n.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"JPA \u5bf9\u4e8e\u5355\u8868\u7684\u7b80\u5355\u67e5\u8be2\u786e\u5b9e\u7b80\u5355\u65b9\u4fbf\u53c8\u5b9e\u7528\u3002"),(0,n.yg)("li",{parentName:"ul"},"mybatis ,\u53ea\u80fd\u8bf4\u5bf9\u4e8e\u591a\u8868\u67e5\u8be2\u786e\u5b9e\u662f\u6bd4\u8f83\u652f\u6301\u3002\u5c24\u5176\u662f\u5728\u4e1a\u52a1\u903b\u8f91\u591a\u662f\u591a\u8868\u5173\u8054\u7684\u60c5\u51b5\u4e0b\uff0cmybatis \u7edd\u5bf9\u6bd4 jpa \u8981\u66f4\u52a0\u9002\u5408\u3002\u65e0\u8bba\u662f\u4ee5\u540e\u7684\u7ef4\u62a4\u8fd8\u662f\u4e1a\u52a1\u7684\u53d8\u66f4\u90fd\u65b9\u4fbf\u4e0d\u5c11\u3002")),(0,n.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_49794051/article/details/111903009"},"CSDN-\u9c7c\u548c\u718a\u638c\u517c\u5f97\uff1a\u540c\u65f6\u4f7f\u7528 JPA \u548c Mybatis"))))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5543],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var a=r(96540);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function l(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var y=a.createContext({}),s=function(e){var t=a.useContext(y),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=s(e.components);return a.createElement(y.Provider,{value:t},e.children)},c="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,i=e.originalType,y=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),c=s(r),d=n,m=c["".concat(y,".").concat(d)]||c[d]||p[d]||i;return r?a.createElement(m,l(l({ref:t},u),{},{components:r})):a.createElement(m,l({ref:t},u))}));function m(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var i=r.length,l=new Array(i);l[0]=d;var o={};for(var y in t)hasOwnProperty.call(t,y)&&(o[y]=t[y]);o.originalType=e,o[c]="string"==typeof e?e:n,l[1]=o;for(var s=2;s{r.r(t),r.d(t,{assets:()=>y,contentTitle:()=>l,default:()=>p,frontMatter:()=>i,metadata:()=>o,toc:()=>s});var a=r(58168),n=(r(96540),r(15680));const i={},l=void 0,o={unversionedId:"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis",id:"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis",title:"JPA-MyBatis",description:"JPA",source:"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis.md",sourceDirName:"study/back/\u6570\u636e\u5e93\u76f8\u5173",slug:"/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb"},next:{title:"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60"}},y={},s=[{value:"JPA",id:"jpa",level:3},{value:"MyBatis",id:"mybatis",level:3},{value:"\u4e24\u8005\u5bf9\u6bd4",id:"\u4e24\u8005\u5bf9\u6bd4",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:s},c="wrapper";function p(e){let{components:t,...r}=e;return(0,n.yg)(c,(0,a.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"jpa"},"JPA"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"JPA \u662f Java Persistence API \u7684\u7b80\u79f0\uff0c\u4e2d\u6587\u540d Java \u6301\u4e45\u5c42 API \u3002"),(0,n.yg)("li",{parentName:"ul"},"\u662f Java EE 5.0 \u5e73\u53f0\u6807\u51c6\u7684 ORM \u89c4\u8303\uff0c\u4f7f\u5f97\u5e94\u7528\u7a0b\u5e8f\u4ee5\u7edf\u4e00\u7684\u65b9\u5f0f\u8bbf\u95ee\u6301\u4e45\u5c42\u3002\u65e2\u7136\u662f\u89c4\u8303\uff0c\u90a3\u80af\u5b9a\u5c31\u9700\u8981\u6280\u672f\u6765\u5b9e\u73b0\u8fd9\u4e2a\u89c4\u8303\uff0c\u6240\u4ee5 Hibernate3.2+\u3001TopLink 10.1.3 \u4ee5\u53ca OpenJPA \u90fd\u63d0\u4f9b\u4e86 JPA \u7684\u5b9e\u73b0\u3002")),(0,n.yg)("h3",{id:"mybatis"},"MyBatis"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"MyBatis \u662f\u652f\u6301\u666e\u901a SQL \u67e5\u8be2\uff0c\u5b58\u50a8\u8fc7\u7a0b\u548c\u9ad8\u7ea7\u6620\u5c04\u7684\u4f18\u79c0\u6301\u4e45\u5c42\u6846\u67b6\u3002"),(0,n.yg)("li",{parentName:"ul"},"MyBatis \u6d88\u9664\u4e86\u51e0\u4e4e\u6240\u6709\u7684 JDBC \u4ee3\u7801\u548c\u53c2\u6570\u7684\u624b\u5de5\u8bbe\u7f6e\u4ee5\u53ca\u7ed3\u679c\u96c6\u7684\u68c0\u7d22\u3002"),(0,n.yg)("li",{parentName:"ul"},"MyBatis \u4f7f\u7528\u7b80\u5355\u7684 XML \u6216\u6ce8\u89e3\u7528\u4e8e\u914d\u7f6e\u548c\u539f\u59cb\u6620\u5c04\uff0c\u5c06\u63a5\u53e3\u548c Java \u7684 POJOs\uff08Plain Ordinary Java Objects\uff0c\u666e\u901a\u7684 Java \u5bf9\u8c61\uff09\u6620\u5c04\u6210\u6570\u636e\u5e93\u4e2d\u7684\u8bb0\u5f55\u3002")),(0,n.yg)("h3",{id:"\u4e24\u8005\u5bf9\u6bd4"},"\u4e24\u8005\u5bf9\u6bd4"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"MyBatis \u6ca1\u6709\u5b9e\u73b0 JPA \u89c4\u8303\uff0c\u5c5e\u4e8e\u534a\u81ea\u52a8 ORM \u6620\u5c04\u5de5\u5177\uff0c\u5728 MyBatis \u4e2d\uff0c\u7a0b\u5e8f\u5458\u9700\u8981\u81ea\u5df1\u7f16\u5199 Sql \u8bed\u53e5\u3002"),(0,n.yg)("li",{parentName:"ul"},"JPA \u662f Repository\uff0cMyBatis \u662f Mapper\u3002"),(0,n.yg)("li",{parentName:"ul"},"MyBatis \u652f\u6301\u5b9a\u5236\u5316 SQL\u3001\u5b58\u50a8\u8fc7\u7a0b\u4ee5\u53ca\u9ad8\u7ea7\u6620\u5c04\u3002JPA \u4ec5\u652f\u6301\u7b80\u5355\u7684\u6620\u5c04\uff0c\u5b83\u6620\u5c04\u5b9e\u4f53\u7c7b\u5c5e\u6027\u5230\u6570\u636e\u5e93\u8868\u7684\u5b57\u6bb5\u4e0a\u3002"),(0,n.yg)("li",{parentName:"ul"},"MyBatis \u9700\u8981\u624b\u52a8\u8fdb\u884c\u5206\u9875\uff0c\u800c JPA \u53ef\u4ee5\u4f7f\u7528\u6846\u67b6\u81ea\u5e26\u7684\u5206\u9875\u673a\u5236\u3002")),(0,n.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"JPA \u5bf9\u4e8e\u5355\u8868\u7684\u7b80\u5355\u67e5\u8be2\u786e\u5b9e\u7b80\u5355\u65b9\u4fbf\u53c8\u5b9e\u7528\u3002"),(0,n.yg)("li",{parentName:"ul"},"mybatis ,\u53ea\u80fd\u8bf4\u5bf9\u4e8e\u591a\u8868\u67e5\u8be2\u786e\u5b9e\u662f\u6bd4\u8f83\u652f\u6301\u3002\u5c24\u5176\u662f\u5728\u4e1a\u52a1\u903b\u8f91\u591a\u662f\u591a\u8868\u5173\u8054\u7684\u60c5\u51b5\u4e0b\uff0cmybatis \u7edd\u5bf9\u6bd4 jpa \u8981\u66f4\u52a0\u9002\u5408\u3002\u65e0\u8bba\u662f\u4ee5\u540e\u7684\u7ef4\u62a4\u8fd8\u662f\u4e1a\u52a1\u7684\u53d8\u66f4\u90fd\u65b9\u4fbf\u4e0d\u5c11\u3002")),(0,n.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},(0,n.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_49794051/article/details/111903009"},"CSDN-\u9c7c\u548c\u718a\u638c\u517c\u5f97\uff1a\u540c\u65f6\u4f7f\u7528 JPA \u548c Mybatis"))))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/63beabb4.eef6c90f.js b/assets/js/63beabb4.ddc12a19.js similarity index 99% rename from assets/js/63beabb4.eef6c90f.js rename to assets/js/63beabb4.ddc12a19.js index 73f1aa671..3fd5e3f66 100644 --- a/assets/js/63beabb4.eef6c90f.js +++ b/assets/js/63beabb4.ddc12a19.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1118],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>d});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=r.createContext({}),o=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},y=function(e){var t=o(e.components);return r.createElement(p.Provider,{value:t},e.children)},c="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,y=u(e,["components","mdxType","originalType","parentName"]),c=o(n),g=l,d=c["".concat(p,".").concat(g)]||c[g]||s[g]||a;return n?r.createElement(d,i(i({ref:t},y),{},{components:n})):r.createElement(d,i({ref:t},y))}));function d(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=g;var u={};for(var p in t)hasOwnProperty.call(t,p)&&(u[p]=t[p]);u.originalType=e,u[c]="string"==typeof e?e:l,i[1]=u;for(var o=2;o{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>u,toc:()=>o});var r=n(58168),l=(n(96540),n(15680));const a={},i="PKCS",u={unversionedId:"study/encryption/PKCS",id:"study/encryption/PKCS",title:"PKCS",description:"\u57fa\u672c\u6982\u5ff5",source:"@site/docs/study/encryption/PKCS.md",sourceDirName:"study/encryption",slug:"/study/encryption/PKCS",permalink:"/docs/study/encryption/PKCS",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenSSL",permalink:"/docs/study/encryption/OpenSSL"},next:{title:"PKI",permalink:"/docs/study/encryption/PKI"}},p={},o=[{value:"\u57fa\u672c\u6982\u5ff5",id:"\u57fa\u672c\u6982\u5ff5",level:3},{value:"\u4e0d\u540c\u7248\u672c\u6807\u51c6\u7684\u7528\u9014",id:"\u4e0d\u540c\u7248\u672c\u6807\u51c6\u7684\u7528\u9014",level:3},{value:"\u5404\u4e2a\u6807\u51c6\u7684\u91cd\u70b9\u5185\u5bb9",id:"\u5404\u4e2a\u6807\u51c6\u7684\u91cd\u70b9\u5185\u5bb9",level:3},{value:"\u4e0d\u540c\u6807\u51c6\u7684\u5e94\u7528\u573a\u666f",id:"\u4e0d\u540c\u6807\u51c6\u7684\u5e94\u7528\u573a\u666f",level:3},{value:"PKCS1\u5230PKCS12\u4e4b\u95f4\u7684\u533a\u522b",id:"pkcs1\u5230pkcs12\u4e4b\u95f4\u7684\u533a\u522b",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],y={toc:o},c="wrapper";function s(e){let{components:t,...n}=e;return(0,l.yg)(c,(0,r.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h1",{id:"pkcs"},"PKCS"),(0,l.yg)("h3",{id:"\u57fa\u672c\u6982\u5ff5"},"\u57fa\u672c\u6982\u5ff5"),(0,l.yg)("p",null,"PKCS\uff08Public Key Cryptography Standards\uff09\u662f\u4e00\u7cfb\u5217\u5bc6\u7801\u5b66\u6807\u51c6\uff0c\u65e8\u5728\u4fc3\u8fdb\u516c\u94a5\u5bc6\u7801\u5b66\u7684\u53d1\u5c55\u548c\u5e94\u7528\u3002\u8fd9\u4e9b\u6807\u51c6\u7531RSA\u516c\u53f8\uff08\u73b0\u5728\u662fEMC\u516c\u53f8\uff09\u4e8e1991\u5e74\u81f31999\u5e74\u4e4b\u95f4\u5236\u5b9a\uff0c\u5e76\u88abInternet Engineering Task Force\uff08IETF\uff09\u548c\u5176\u4ed6\u7ec4\u7ec7\u91c7\u7eb3\u3002"),(0,l.yg)("h3",{id:"\u4e0d\u540c\u7248\u672c\u6807\u51c6\u7684\u7528\u9014"},"\u4e0d\u540c\u7248\u672c\u6807\u51c6\u7684\u7528\u9014"),(0,l.yg)("p",null,"\u4e0d\u540c\u7684PKCS\u6807\u51c6\u90fd\u6709\u4e0d\u540c\u7684\u7528\u9014\uff0c\u5305\u62ec\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"PKCS #1: \u5b9a\u4e49\u4e86\u516c\u94a5\u5bc6\u7801\u5b66\u7684\u57fa\u672c\u7b97\u6cd5\u548c\u6570\u636e\u683c\u5f0f\uff0c\u4e3b\u8981\u7528\u4e8eRSA\u52a0\u5bc6\u548c\u7b7e\u540d\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #5: \u5b9a\u4e49\u4e86\u7528\u4e8e\u5bc6\u7801\u5b66\u5b89\u5168\u7684\u5bc6\u7801\u57fa\u7840\u8bbe\u65bd\u6280\u672f\uff0c\u5982\u5bc6\u7801\u63a8\u5bfc\u51fd\u6570\u548c\u5bc6\u7801\u52a0\u5bc6\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #7: \u5b9a\u4e49\u4e86\u6570\u5b57\u7b7e\u540d\u3001\u6d88\u606f\u6458\u8981\u3001\u6570\u5b57\u4fe1\u5c01\u7b49\u6d88\u606f\u8bed\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #8: \u5b9a\u4e49\u4e86\u79c1\u94a5\u4fe1\u606f\u8bed\u6cd5\uff0c\u7528\u4e8e\u5728\u4e0d\u540c\u7cfb\u7edf\u4e4b\u95f4\u4f20\u8f93\u548c\u5b58\u50a8\u79c1\u94a5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #10: \u5b9a\u4e49\u4e86\u8bc1\u4e66\u8bf7\u6c42\u6d88\u606f\u7684\u8bed\u6cd5\uff0c\u7528\u4e8e\u5728\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08CA\uff09\u4e2d\u7533\u8bf7\u6570\u5b57\u8bc1\u4e66\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #12: \u5b9a\u4e49\u4e86\u4e2a\u4eba\u4fe1\u606f\u4ea4\u6362\u8bed\u6cd5\uff0c\u7528\u4e8e\u5c06\u7528\u6237\u7684\u79c1\u94a5\u3001\u8bc1\u4e66\u7b49\u6253\u5305\u6210\u4e00\u4e2a\u52a0\u5bc6\u6587\u4ef6\u3002")),(0,l.yg)("h3",{id:"\u5404\u4e2a\u6807\u51c6\u7684\u91cd\u70b9\u5185\u5bb9"},"\u5404\u4e2a\u6807\u51c6\u7684\u91cd\u70b9\u5185\u5bb9"),(0,l.yg)("p",null,"\u4e0d\u540c\u7684PKCS\u6807\u51c6\u90fd\u6709\u5404\u81ea\u7684\u91cd\u70b9\u5185\u5bb9\uff0c\u4f8b\u5982\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"PKCS #1: RSA\u7b97\u6cd5\u7684\u6570\u636e\u683c\u5f0f\u3001\u52a0\u5bc6\u548c\u7b7e\u540d\u64cd\u4f5c\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #5: \u5bc6\u7801\u63a8\u5bfc\u51fd\u6570\u3001\u5bc6\u7801\u52a0\u5bc6\u7b97\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #7: \u6d88\u606f\u7684\u7ed3\u6784\u3001\u6570\u5b57\u7b7e\u540d\u3001\u6d88\u606f\u6458\u8981\u3001\u6570\u5b57\u4fe1\u5c01\u7b49\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #8: \u79c1\u94a5\u7684\u7ed3\u6784\u548c\u683c\u5f0f\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #10: \u8bc1\u4e66\u8bf7\u6c42\u6d88\u606f\u7684\u683c\u5f0f\u3001\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u7684\u76f8\u5173\u4fe1\u606f\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #12: \u4e2a\u4eba\u4fe1\u606f\u4ea4\u6362\u6587\u4ef6\u7684\u7ed3\u6784\u3001\u79c1\u94a5\u3001\u8bc1\u4e66\u3001\u5bc6\u7801\u7b49\u5185\u5bb9\u3002")),(0,l.yg)("h3",{id:"\u4e0d\u540c\u6807\u51c6\u7684\u5e94\u7528\u573a\u666f"},"\u4e0d\u540c\u6807\u51c6\u7684\u5e94\u7528\u573a\u666f"),(0,l.yg)("p",null,"PKCS\u6807\u51c6\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8bb8\u591a\u9886\u57df\uff0c\u5305\u62ec\u7f51\u7edc\u901a\u4fe1\u3001\u5b89\u5168\u534f\u8bae\u3001\u6570\u5b57\u8bc1\u4e66\u7ba1\u7406\u7b49\uff0c\u5305\u62ec\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"SSL/TLS\u901a\u4fe1\u534f\u8bae\u4e2d\u7684\u6570\u5b57\u8bc1\u4e66\u548c\u79c1\u94a5\u7ba1\u7406\u3002"),(0,l.yg)("li",{parentName:"ul"},"S/MIME\u52a0\u5bc6\u548c\u7b7e\u540d\u7535\u5b50\u90ae\u4ef6\u3002"),(0,l.yg)("li",{parentName:"ul"},"HTTPS\u7f51\u7ad9\u7684SSL/TLS\u8bc1\u4e66\u7ba1\u7406\u3002"),(0,l.yg)("li",{parentName:"ul"},"VPN\uff08Virtual Private Network\uff09\u8fde\u63a5\u4e2d\u7684\u8eab\u4efd\u8ba4\u8bc1\u548c\u52a0\u5bc6\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6570\u5b57\u7b7e\u540d\u548c\u7535\u5b50\u6587\u6863\u7684\u9a8c\u8bc1\u3002")),(0,l.yg)("h3",{id:"pkcs1\u5230pkcs12\u4e4b\u95f4\u7684\u533a\u522b"},"PKCS1\u5230PKCS12\u4e4b\u95f4\u7684\u533a\u522b"),(0,l.yg)("p",null,"\u4e0d\u540c\u7684PKCS\u6807\u51c6\u7684\u7248\u672c\u4e4b\u95f4\u7684\u533a\u522b\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"PKCS #1\uff1a\u7528\u4e8eRSA\u7b97\u6cd5\u7684\u6570\u636e\u683c\u5f0f\u548c\u64cd\u4f5c\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #5\uff1a\u5bc6\u7801\u63a8\u5bfc\u51fd\u6570\u548c\u5bc6\u7801\u52a0\u5bc6\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #7\uff1a\u901a\u7528\u6d88\u606f\u8bed\u6cd5\uff0c\u5305\u62ec\u6570\u5b57\u7b7e\u540d\u3001\u6d88\u606f\u6458\u8981\u3001\u6570\u5b57\u4fe1\u5c01\u7b49\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #8\uff1a\u79c1\u94a5\u4fe1\u606f\u8bed\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #10\uff1a\u8bc1\u4e66\u8bf7\u6c42\u6d88\u606f\u8bed\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #12\uff1a\u4e2a\u4eba\u4fe1\u606f\u4ea4\u6362\u8bed\u6cd5\u3002")),(0,l.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,l.yg)("p",null,"\u603b\u7ed3\uff1a\u8fd9\u4e9b\u6807\u51c6\u4e4b\u95f4\u7684\u533a\u522b\u5728\u4e8e\u5176\u5b9a\u4e49\u7684\u6570\u636e\u7ed3\u6784\u3001\u8bed\u6cd5\u3001\u7528\u9014\u548c\u5e94\u7528\u573a\u666f\u3002\u4f8b\u5982\uff0cPKCS #1\u4e3b\u8981\u7528\u4e8eRSA\u7b97\u6cd5\uff0c\u800cPKCS #7\u7528\u4e8e\u6d88\u606f\u7684\u7b7e\u540d\u548c\u52a0\u5bc6\uff0cPKCS #12\u5219\u7528\u4e8e\u4e2a\u4eba\u4fe1\u606f\u7684\u6253\u5305\u548c\u4ea4\u6362\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_43757014/article/details/138316278"},"https://blog.csdn.net/weixin_43757014/article/details/138316278"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1118],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>d});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=r.createContext({}),o=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},y=function(e){var t=o(e.components);return r.createElement(p.Provider,{value:t},e.children)},c="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,y=u(e,["components","mdxType","originalType","parentName"]),c=o(n),g=l,d=c["".concat(p,".").concat(g)]||c[g]||s[g]||a;return n?r.createElement(d,i(i({ref:t},y),{},{components:n})):r.createElement(d,i({ref:t},y))}));function d(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=g;var u={};for(var p in t)hasOwnProperty.call(t,p)&&(u[p]=t[p]);u.originalType=e,u[c]="string"==typeof e?e:l,i[1]=u;for(var o=2;o{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>u,toc:()=>o});var r=n(58168),l=(n(96540),n(15680));const a={},i="PKCS",u={unversionedId:"study/encryption/PKCS",id:"study/encryption/PKCS",title:"PKCS",description:"\u57fa\u672c\u6982\u5ff5",source:"@site/docs/study/encryption/PKCS.md",sourceDirName:"study/encryption",slug:"/study/encryption/PKCS",permalink:"/docs/study/encryption/PKCS",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"OpenSSL",permalink:"/docs/study/encryption/OpenSSL"},next:{title:"PKI",permalink:"/docs/study/encryption/PKI"}},p={},o=[{value:"\u57fa\u672c\u6982\u5ff5",id:"\u57fa\u672c\u6982\u5ff5",level:3},{value:"\u4e0d\u540c\u7248\u672c\u6807\u51c6\u7684\u7528\u9014",id:"\u4e0d\u540c\u7248\u672c\u6807\u51c6\u7684\u7528\u9014",level:3},{value:"\u5404\u4e2a\u6807\u51c6\u7684\u91cd\u70b9\u5185\u5bb9",id:"\u5404\u4e2a\u6807\u51c6\u7684\u91cd\u70b9\u5185\u5bb9",level:3},{value:"\u4e0d\u540c\u6807\u51c6\u7684\u5e94\u7528\u573a\u666f",id:"\u4e0d\u540c\u6807\u51c6\u7684\u5e94\u7528\u573a\u666f",level:3},{value:"PKCS1\u5230PKCS12\u4e4b\u95f4\u7684\u533a\u522b",id:"pkcs1\u5230pkcs12\u4e4b\u95f4\u7684\u533a\u522b",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],y={toc:o},c="wrapper";function s(e){let{components:t,...n}=e;return(0,l.yg)(c,(0,r.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h1",{id:"pkcs"},"PKCS"),(0,l.yg)("h3",{id:"\u57fa\u672c\u6982\u5ff5"},"\u57fa\u672c\u6982\u5ff5"),(0,l.yg)("p",null,"PKCS\uff08Public Key Cryptography Standards\uff09\u662f\u4e00\u7cfb\u5217\u5bc6\u7801\u5b66\u6807\u51c6\uff0c\u65e8\u5728\u4fc3\u8fdb\u516c\u94a5\u5bc6\u7801\u5b66\u7684\u53d1\u5c55\u548c\u5e94\u7528\u3002\u8fd9\u4e9b\u6807\u51c6\u7531RSA\u516c\u53f8\uff08\u73b0\u5728\u662fEMC\u516c\u53f8\uff09\u4e8e1991\u5e74\u81f31999\u5e74\u4e4b\u95f4\u5236\u5b9a\uff0c\u5e76\u88abInternet Engineering Task Force\uff08IETF\uff09\u548c\u5176\u4ed6\u7ec4\u7ec7\u91c7\u7eb3\u3002"),(0,l.yg)("h3",{id:"\u4e0d\u540c\u7248\u672c\u6807\u51c6\u7684\u7528\u9014"},"\u4e0d\u540c\u7248\u672c\u6807\u51c6\u7684\u7528\u9014"),(0,l.yg)("p",null,"\u4e0d\u540c\u7684PKCS\u6807\u51c6\u90fd\u6709\u4e0d\u540c\u7684\u7528\u9014\uff0c\u5305\u62ec\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"PKCS #1: \u5b9a\u4e49\u4e86\u516c\u94a5\u5bc6\u7801\u5b66\u7684\u57fa\u672c\u7b97\u6cd5\u548c\u6570\u636e\u683c\u5f0f\uff0c\u4e3b\u8981\u7528\u4e8eRSA\u52a0\u5bc6\u548c\u7b7e\u540d\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #5: \u5b9a\u4e49\u4e86\u7528\u4e8e\u5bc6\u7801\u5b66\u5b89\u5168\u7684\u5bc6\u7801\u57fa\u7840\u8bbe\u65bd\u6280\u672f\uff0c\u5982\u5bc6\u7801\u63a8\u5bfc\u51fd\u6570\u548c\u5bc6\u7801\u52a0\u5bc6\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #7: \u5b9a\u4e49\u4e86\u6570\u5b57\u7b7e\u540d\u3001\u6d88\u606f\u6458\u8981\u3001\u6570\u5b57\u4fe1\u5c01\u7b49\u6d88\u606f\u8bed\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #8: \u5b9a\u4e49\u4e86\u79c1\u94a5\u4fe1\u606f\u8bed\u6cd5\uff0c\u7528\u4e8e\u5728\u4e0d\u540c\u7cfb\u7edf\u4e4b\u95f4\u4f20\u8f93\u548c\u5b58\u50a8\u79c1\u94a5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #10: \u5b9a\u4e49\u4e86\u8bc1\u4e66\u8bf7\u6c42\u6d88\u606f\u7684\u8bed\u6cd5\uff0c\u7528\u4e8e\u5728\u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08CA\uff09\u4e2d\u7533\u8bf7\u6570\u5b57\u8bc1\u4e66\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #12: \u5b9a\u4e49\u4e86\u4e2a\u4eba\u4fe1\u606f\u4ea4\u6362\u8bed\u6cd5\uff0c\u7528\u4e8e\u5c06\u7528\u6237\u7684\u79c1\u94a5\u3001\u8bc1\u4e66\u7b49\u6253\u5305\u6210\u4e00\u4e2a\u52a0\u5bc6\u6587\u4ef6\u3002")),(0,l.yg)("h3",{id:"\u5404\u4e2a\u6807\u51c6\u7684\u91cd\u70b9\u5185\u5bb9"},"\u5404\u4e2a\u6807\u51c6\u7684\u91cd\u70b9\u5185\u5bb9"),(0,l.yg)("p",null,"\u4e0d\u540c\u7684PKCS\u6807\u51c6\u90fd\u6709\u5404\u81ea\u7684\u91cd\u70b9\u5185\u5bb9\uff0c\u4f8b\u5982\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"PKCS #1: RSA\u7b97\u6cd5\u7684\u6570\u636e\u683c\u5f0f\u3001\u52a0\u5bc6\u548c\u7b7e\u540d\u64cd\u4f5c\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #5: \u5bc6\u7801\u63a8\u5bfc\u51fd\u6570\u3001\u5bc6\u7801\u52a0\u5bc6\u7b97\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #7: \u6d88\u606f\u7684\u7ed3\u6784\u3001\u6570\u5b57\u7b7e\u540d\u3001\u6d88\u606f\u6458\u8981\u3001\u6570\u5b57\u4fe1\u5c01\u7b49\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #8: \u79c1\u94a5\u7684\u7ed3\u6784\u548c\u683c\u5f0f\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #10: \u8bc1\u4e66\u8bf7\u6c42\u6d88\u606f\u7684\u683c\u5f0f\u3001\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u7684\u76f8\u5173\u4fe1\u606f\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #12: \u4e2a\u4eba\u4fe1\u606f\u4ea4\u6362\u6587\u4ef6\u7684\u7ed3\u6784\u3001\u79c1\u94a5\u3001\u8bc1\u4e66\u3001\u5bc6\u7801\u7b49\u5185\u5bb9\u3002")),(0,l.yg)("h3",{id:"\u4e0d\u540c\u6807\u51c6\u7684\u5e94\u7528\u573a\u666f"},"\u4e0d\u540c\u6807\u51c6\u7684\u5e94\u7528\u573a\u666f"),(0,l.yg)("p",null,"PKCS\u6807\u51c6\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8bb8\u591a\u9886\u57df\uff0c\u5305\u62ec\u7f51\u7edc\u901a\u4fe1\u3001\u5b89\u5168\u534f\u8bae\u3001\u6570\u5b57\u8bc1\u4e66\u7ba1\u7406\u7b49\uff0c\u5305\u62ec\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"SSL/TLS\u901a\u4fe1\u534f\u8bae\u4e2d\u7684\u6570\u5b57\u8bc1\u4e66\u548c\u79c1\u94a5\u7ba1\u7406\u3002"),(0,l.yg)("li",{parentName:"ul"},"S/MIME\u52a0\u5bc6\u548c\u7b7e\u540d\u7535\u5b50\u90ae\u4ef6\u3002"),(0,l.yg)("li",{parentName:"ul"},"HTTPS\u7f51\u7ad9\u7684SSL/TLS\u8bc1\u4e66\u7ba1\u7406\u3002"),(0,l.yg)("li",{parentName:"ul"},"VPN\uff08Virtual Private Network\uff09\u8fde\u63a5\u4e2d\u7684\u8eab\u4efd\u8ba4\u8bc1\u548c\u52a0\u5bc6\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u6570\u5b57\u7b7e\u540d\u548c\u7535\u5b50\u6587\u6863\u7684\u9a8c\u8bc1\u3002")),(0,l.yg)("h3",{id:"pkcs1\u5230pkcs12\u4e4b\u95f4\u7684\u533a\u522b"},"PKCS1\u5230PKCS12\u4e4b\u95f4\u7684\u533a\u522b"),(0,l.yg)("p",null,"\u4e0d\u540c\u7684PKCS\u6807\u51c6\u7684\u7248\u672c\u4e4b\u95f4\u7684\u533a\u522b\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"PKCS #1\uff1a\u7528\u4e8eRSA\u7b97\u6cd5\u7684\u6570\u636e\u683c\u5f0f\u548c\u64cd\u4f5c\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #5\uff1a\u5bc6\u7801\u63a8\u5bfc\u51fd\u6570\u548c\u5bc6\u7801\u52a0\u5bc6\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #7\uff1a\u901a\u7528\u6d88\u606f\u8bed\u6cd5\uff0c\u5305\u62ec\u6570\u5b57\u7b7e\u540d\u3001\u6d88\u606f\u6458\u8981\u3001\u6570\u5b57\u4fe1\u5c01\u7b49\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #8\uff1a\u79c1\u94a5\u4fe1\u606f\u8bed\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #10\uff1a\u8bc1\u4e66\u8bf7\u6c42\u6d88\u606f\u8bed\u6cd5\u3002"),(0,l.yg)("li",{parentName:"ul"},"PKCS #12\uff1a\u4e2a\u4eba\u4fe1\u606f\u4ea4\u6362\u8bed\u6cd5\u3002")),(0,l.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,l.yg)("p",null,"\u603b\u7ed3\uff1a\u8fd9\u4e9b\u6807\u51c6\u4e4b\u95f4\u7684\u533a\u522b\u5728\u4e8e\u5176\u5b9a\u4e49\u7684\u6570\u636e\u7ed3\u6784\u3001\u8bed\u6cd5\u3001\u7528\u9014\u548c\u5e94\u7528\u573a\u666f\u3002\u4f8b\u5982\uff0cPKCS #1\u4e3b\u8981\u7528\u4e8eRSA\u7b97\u6cd5\uff0c\u800cPKCS #7\u7528\u4e8e\u6d88\u606f\u7684\u7b7e\u540d\u548c\u52a0\u5bc6\uff0cPKCS #12\u5219\u7528\u4e8e\u4e2a\u4eba\u4fe1\u606f\u7684\u6253\u5305\u548c\u4ea4\u6362\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_43757014/article/details/138316278"},"https://blog.csdn.net/weixin_43757014/article/details/138316278"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/64949222.e223d9de.js b/assets/js/64949222.b1be4bc9.js similarity index 98% rename from assets/js/64949222.e223d9de.js rename to assets/js/64949222.b1be4bc9.js index 51ca303bb..a97fa22c9 100644 --- a/assets/js/64949222.e223d9de.js +++ b/assets/js/64949222.b1be4bc9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6627],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241015",id:"study/stock/20241015",title:"20241015",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241015.md",sourceDirName:"study/stock",slug:"/study/stock/20241015",permalink:"/docs/study/stock/20241015",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u8dcc\u4e86 2.53%"),(0,o.yg)("p",null,"\u8dcc\u7684\u539f\u56e0\u4e0d\u77e5\u9053\u5440\uff0c\u603b\u4e4b\u4ed6\u8dcc\u4e86"),(0,o.yg)("p",null,"\u4e0d\u8981\u53bb\u60f3\u4ed6\u8dcc\u7684\u539f\u56e0\uff0c\u539f\u56e0\u6709\u5f88\u591a\uff0c\u5f88\u96be\u53bb\u786e\u5b9a"),(0,o.yg)("p",null,"\u4eca\u5929\u505a\u4e86\u4e2a T\uff0c\u51cf\u5c11\u4e8f\u635f 100 \u5143\uff0c\u662f\u4e2a\u4e0d\u9519\u7684\u8fdb\u6b65"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6627],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241015",id:"study/stock/20241015",title:"20241015",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241015.md",sourceDirName:"study/stock",slug:"/study/stock/20241015",permalink:"/docs/study/stock/20241015",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u8dcc\u4e86 2.53%"),(0,o.yg)("p",null,"\u8dcc\u7684\u539f\u56e0\u4e0d\u77e5\u9053\u5440\uff0c\u603b\u4e4b\u4ed6\u8dcc\u4e86"),(0,o.yg)("p",null,"\u4e0d\u8981\u53bb\u60f3\u4ed6\u8dcc\u7684\u539f\u56e0\uff0c\u539f\u56e0\u6709\u5f88\u591a\uff0c\u5f88\u96be\u53bb\u786e\u5b9a"),(0,o.yg)("p",null,"\u4eca\u5929\u505a\u4e86\u4e2a T\uff0c\u51cf\u5c11\u4e8f\u635f 100 \u5143\uff0c\u662f\u4e2a\u4e0d\u9519\u7684\u8fdb\u6b65"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/64c9ca80.7c7dc265.js b/assets/js/64c9ca80.a7a47fed.js similarity index 99% rename from assets/js/64c9ca80.7c7dc265.js rename to assets/js/64c9ca80.a7a47fed.js index 6683cc756..3e7be8756 100644 --- a/assets/js/64c9ca80.7c7dc265.js +++ b/assets/js/64c9ca80.a7a47fed.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7021],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=r.createContext({}),i=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},u=function(e){var t=i(e.components);return r.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=i(n),m=a,y=s["".concat(p,".").concat(m)]||s[m]||d[m]||o;return n?r.createElement(y,l(l({ref:t},u),{},{components:n})):r.createElement(y,l({ref:t},u))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=m;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[s]="string"==typeof e?e:a,l[1]=c;for(var i=2;i{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>i});var r=n(58168),a=(n(96540),n(15680));const o={},l="\u8fbe\u68a6\u6570\u636e\u5e93",c={unversionedId:"study/db/SQL/\u8fbe\u68a6",id:"study/db/SQL/\u8fbe\u68a6",title:"\u8fbe\u68a6\u6570\u636e\u5e93",description:"\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u5e93\u7cfb\u7edf\u7684\u5b89\u5168\u6027\uff0cDM \u6570\u636e\u5e93\u91c7\u7528\u201c\u4e09\u6743\u5206\u7acb\u201d\u6216\u201c\u56db\u6743\u5206\u7acb\u201d\u7684\u5b89\u5168\u673a\u5236\uff0c\u201c\u4e09\u6743\u5206\u7acb\u201d\u65f6\u7cfb\u7edf\u5185\u7f6e\u4e09\u79cd\u7cfb\u7edf\u7ba1\u7406\u5458\uff0c\u5305\u62ec\u6570\u636e\u5e93\u7ba1\u7406\u5458\u3001\u6570\u636e\u5e93\u5b89\u5168\u5458\u548c\u6570\u636e\u5e93\u5ba1\u8ba1\u5458\uff0c\u201c\u56db\u6743\u5206\u7acb\u201d\u65f6\u65b0\u589e\u4e86\u4e00\u7c7b\u7528\u6237\uff0c\u79f0\u4e3a\u6570\u636e\u5e93\u5bf9\u8c61\u64cd\u4f5c\u5458\u3002\u5b83\u4eec\u5404\u53f8\u5176\u804c\uff0c\u4e92\u76f8\u5236\u7ea6\uff0c\u6709\u6548\u5730\u907f\u514d\u4e86\u5c06\u6240\u6709\u6743\u9650\u96c6\u4e2d\u4e8e\u4e00\u4eba\u7684\u98ce\u9669\uff0c\u4fdd\u8bc1\u4e86\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u3002",source:"@site/docs/study/db/SQL/\u8fbe\u68a6.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/\u8fbe\u68a6",permalink:"/docs/study/db/SQL/\u8fbe\u68a6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72"},next:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0"}},p={},i=[{value:"\u67e5\u770b\u8fde\u63a5\u6570",id:"\u67e5\u770b\u8fde\u63a5\u6570",level:3},{value:"\u6e05\u9664\u8fbe\u68a6\u7684\u4e00\u4e9b\u8fde\u63a5",id:"\u6e05\u9664\u8fbe\u68a6\u7684\u4e00\u4e9b\u8fde\u63a5",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:i},s="wrapper";function d(e){let{components:t,...n}=e;return(0,a.yg)(s,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u8fbe\u68a6\u6570\u636e\u5e93"},"\u8fbe\u68a6\u6570\u636e\u5e93"),(0,a.yg)("p",null,"\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u5e93\u7cfb\u7edf\u7684\u5b89\u5168\u6027\uff0cDM \u6570\u636e\u5e93\u91c7\u7528\u201c\u4e09\u6743\u5206\u7acb\u201d\u6216\u201c\u56db\u6743\u5206\u7acb\u201d\u7684\u5b89\u5168\u673a\u5236\uff0c\u201c\u4e09\u6743\u5206\u7acb\u201d\u65f6\u7cfb\u7edf\u5185\u7f6e\u4e09\u79cd\u7cfb\u7edf\u7ba1\u7406\u5458\uff0c\u5305\u62ec\u6570\u636e\u5e93\u7ba1\u7406\u5458\u3001\u6570\u636e\u5e93\u5b89\u5168\u5458\u548c\u6570\u636e\u5e93\u5ba1\u8ba1\u5458\uff0c\u201c\u56db\u6743\u5206\u7acb\u201d\u65f6\u65b0\u589e\u4e86\u4e00\u7c7b\u7528\u6237\uff0c\u79f0\u4e3a\u6570\u636e\u5e93\u5bf9\u8c61\u64cd\u4f5c\u5458\u3002\u5b83\u4eec\u5404\u53f8\u5176\u804c\uff0c\u4e92\u76f8\u5236\u7ea6\uff0c\u6709\u6548\u5730\u907f\u514d\u4e86\u5c06\u6240\u6709\u6743\u9650\u96c6\u4e2d\u4e8e\u4e00\u4eba\u7684\u98ce\u9669\uff0c\u4fdd\u8bc1\u4e86\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u3002"),(0,a.yg)("p",null,"\u9700\u8981\u8bf4\u660e\u7684\u662f\uff0c\u5728 DM \u6570\u636e\u5e93\u4e2d\u6709\u4e00\u4e2a\u7279\u6b8a\u7684\u9884\u5b9a\u4e49\u7528\u6237\u201cSYS\u201d\uff0c\u6b64\u7528\u6237\u4ec5\u7528\u4e8e\u4fdd\u5b58\u7cfb\u7edf\u5185\u90e8\u5bf9\u8c61\uff0c\u5e76\u975e\u6570\u636e\u5e93\u7ba1\u7406\u5458\uff0c\u4e5f\u65e0\u6cd5\u8fdb\u884c\u767b\u5f55\u3002"),(0,a.yg)("p",null,"\u4e09\u6743\u5206\u7acb\u7684\u7528\u6237\u8bbe\u8ba1\u7684\u539f\u5b50\uff0c\u53c2\u8003",(0,a.yg)("a",{parentName:"p",href:"https://eco.dameng.com/document/dm/zh-cn/pm/system-administrator.html"},"https://eco.dameng.com/document/dm/zh-cn/pm/system-administrator.html")),(0,a.yg)("p",null,"\u5b98\u7f51 ",(0,a.yg)("a",{parentName:"p",href:"https://www.dameng.com/"},"https://www.dameng.com/")),(0,a.yg)("p",null,"\u5bf9\u6807\u7684\u662fOracle"),(0,a.yg)("h3",{id:"\u67e5\u770b\u8fde\u63a5\u6570"},"\u67e5\u770b\u8fde\u63a5\u6570"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-SQL"},"-- \u67e5\u770b\u652f\u6301\u7684\u6700\u5927\u8fde\u63a5\u6570\nSELECT SF_GET_PARA_VALUE(2, 'MAX_SESSIONS');\n-- \u8bbe\u7f6e\u6700\u5927\u8fde\u63a5\u6570 \u6216\u4fee\u6539dm.ini\u6587\u4ef6\u7684MAX_SESSIONS\uff08\u9700\u8981\u91cd\u542f\uff09\nSP_SET_PARA_VALUE (2, 'MAX_SESSIONS', 9999);\n-- \u5f53\u524d\u6d3b\u8dc3\u7684\u8fde\u63a5\u6570\nSELECT count(*) FROM v$sessions WHERE state='ACTIVE';\n")),(0,a.yg)("h3",{id:"\u6e05\u9664\u8fbe\u68a6\u7684\u4e00\u4e9b\u8fde\u63a5"},"\u6e05\u9664\u8fbe\u68a6\u7684\u4e00\u4e9b\u8fde\u63a5"),(0,a.yg)("p",null,"\u83ab\u540d\u5176\u5999\u8fbe\u68a6\u591a\u4e86\u4e00\u4e9b\u65e0\u6548\u7684\u8fde\u63a5\uff0c\u4f30\u8ba1\u662f\u4f1a\u8bdd\u65f6\u95f4\u4e00\u81f4\u6ca1\u63a7\u5236\u5bfc\u81f4\u7684\uff0c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-SQL"},"-- \u67e5\u8be2\u6240\u6709\u4f1a\u8bdd\u8fde\u63a5 \u53ef\u4ee5\u6839\u636eIP\u6a21\u7cca\u641c\u7d20\nSELECT * FROM V$SESSIONS where CLNT_IP like '%103.41%';\n \n-- \u7ed3\u675f\u4f1a\u8bdd \u4e0a\u9762\u8bed\u53e5\u8fd4\u56de\u7684SESS_ID\u5b57\u6bb5\nCALL SP_CLOSE_SESSION(140149950321128);\n")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.dameng.com/DM8.html"},"DM8\u5b98\u65b9\u4ecb\u7ecd")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://eco.dameng.com/document/dm/zh-cn/pm/index.html"},"DM8\u5b98\u65b9\u6280\u672f\u6587\u6863"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7021],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=r.createContext({}),i=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},u=function(e){var t=i(e.components);return r.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=i(n),m=a,y=s["".concat(p,".").concat(m)]||s[m]||d[m]||o;return n?r.createElement(y,l(l({ref:t},u),{},{components:n})):r.createElement(y,l({ref:t},u))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=m;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[s]="string"==typeof e?e:a,l[1]=c;for(var i=2;i{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>i});var r=n(58168),a=(n(96540),n(15680));const o={},l="\u8fbe\u68a6\u6570\u636e\u5e93",c={unversionedId:"study/db/SQL/\u8fbe\u68a6",id:"study/db/SQL/\u8fbe\u68a6",title:"\u8fbe\u68a6\u6570\u636e\u5e93",description:"\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u5e93\u7cfb\u7edf\u7684\u5b89\u5168\u6027\uff0cDM \u6570\u636e\u5e93\u91c7\u7528\u201c\u4e09\u6743\u5206\u7acb\u201d\u6216\u201c\u56db\u6743\u5206\u7acb\u201d\u7684\u5b89\u5168\u673a\u5236\uff0c\u201c\u4e09\u6743\u5206\u7acb\u201d\u65f6\u7cfb\u7edf\u5185\u7f6e\u4e09\u79cd\u7cfb\u7edf\u7ba1\u7406\u5458\uff0c\u5305\u62ec\u6570\u636e\u5e93\u7ba1\u7406\u5458\u3001\u6570\u636e\u5e93\u5b89\u5168\u5458\u548c\u6570\u636e\u5e93\u5ba1\u8ba1\u5458\uff0c\u201c\u56db\u6743\u5206\u7acb\u201d\u65f6\u65b0\u589e\u4e86\u4e00\u7c7b\u7528\u6237\uff0c\u79f0\u4e3a\u6570\u636e\u5e93\u5bf9\u8c61\u64cd\u4f5c\u5458\u3002\u5b83\u4eec\u5404\u53f8\u5176\u804c\uff0c\u4e92\u76f8\u5236\u7ea6\uff0c\u6709\u6548\u5730\u907f\u514d\u4e86\u5c06\u6240\u6709\u6743\u9650\u96c6\u4e2d\u4e8e\u4e00\u4eba\u7684\u98ce\u9669\uff0c\u4fdd\u8bc1\u4e86\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u3002",source:"@site/docs/study/db/SQL/\u8fbe\u68a6.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/\u8fbe\u68a6",permalink:"/docs/study/db/SQL/\u8fbe\u68a6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72"},next:{title:"\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0"}},p={},i=[{value:"\u67e5\u770b\u8fde\u63a5\u6570",id:"\u67e5\u770b\u8fde\u63a5\u6570",level:3},{value:"\u6e05\u9664\u8fbe\u68a6\u7684\u4e00\u4e9b\u8fde\u63a5",id:"\u6e05\u9664\u8fbe\u68a6\u7684\u4e00\u4e9b\u8fde\u63a5",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:i},s="wrapper";function d(e){let{components:t,...n}=e;return(0,a.yg)(s,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u8fbe\u68a6\u6570\u636e\u5e93"},"\u8fbe\u68a6\u6570\u636e\u5e93"),(0,a.yg)("p",null,"\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u5e93\u7cfb\u7edf\u7684\u5b89\u5168\u6027\uff0cDM \u6570\u636e\u5e93\u91c7\u7528\u201c\u4e09\u6743\u5206\u7acb\u201d\u6216\u201c\u56db\u6743\u5206\u7acb\u201d\u7684\u5b89\u5168\u673a\u5236\uff0c\u201c\u4e09\u6743\u5206\u7acb\u201d\u65f6\u7cfb\u7edf\u5185\u7f6e\u4e09\u79cd\u7cfb\u7edf\u7ba1\u7406\u5458\uff0c\u5305\u62ec\u6570\u636e\u5e93\u7ba1\u7406\u5458\u3001\u6570\u636e\u5e93\u5b89\u5168\u5458\u548c\u6570\u636e\u5e93\u5ba1\u8ba1\u5458\uff0c\u201c\u56db\u6743\u5206\u7acb\u201d\u65f6\u65b0\u589e\u4e86\u4e00\u7c7b\u7528\u6237\uff0c\u79f0\u4e3a\u6570\u636e\u5e93\u5bf9\u8c61\u64cd\u4f5c\u5458\u3002\u5b83\u4eec\u5404\u53f8\u5176\u804c\uff0c\u4e92\u76f8\u5236\u7ea6\uff0c\u6709\u6548\u5730\u907f\u514d\u4e86\u5c06\u6240\u6709\u6743\u9650\u96c6\u4e2d\u4e8e\u4e00\u4eba\u7684\u98ce\u9669\uff0c\u4fdd\u8bc1\u4e86\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u3002"),(0,a.yg)("p",null,"\u9700\u8981\u8bf4\u660e\u7684\u662f\uff0c\u5728 DM \u6570\u636e\u5e93\u4e2d\u6709\u4e00\u4e2a\u7279\u6b8a\u7684\u9884\u5b9a\u4e49\u7528\u6237\u201cSYS\u201d\uff0c\u6b64\u7528\u6237\u4ec5\u7528\u4e8e\u4fdd\u5b58\u7cfb\u7edf\u5185\u90e8\u5bf9\u8c61\uff0c\u5e76\u975e\u6570\u636e\u5e93\u7ba1\u7406\u5458\uff0c\u4e5f\u65e0\u6cd5\u8fdb\u884c\u767b\u5f55\u3002"),(0,a.yg)("p",null,"\u4e09\u6743\u5206\u7acb\u7684\u7528\u6237\u8bbe\u8ba1\u7684\u539f\u5b50\uff0c\u53c2\u8003",(0,a.yg)("a",{parentName:"p",href:"https://eco.dameng.com/document/dm/zh-cn/pm/system-administrator.html"},"https://eco.dameng.com/document/dm/zh-cn/pm/system-administrator.html")),(0,a.yg)("p",null,"\u5b98\u7f51 ",(0,a.yg)("a",{parentName:"p",href:"https://www.dameng.com/"},"https://www.dameng.com/")),(0,a.yg)("p",null,"\u5bf9\u6807\u7684\u662fOracle"),(0,a.yg)("h3",{id:"\u67e5\u770b\u8fde\u63a5\u6570"},"\u67e5\u770b\u8fde\u63a5\u6570"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-SQL"},"-- \u67e5\u770b\u652f\u6301\u7684\u6700\u5927\u8fde\u63a5\u6570\nSELECT SF_GET_PARA_VALUE(2, 'MAX_SESSIONS');\n-- \u8bbe\u7f6e\u6700\u5927\u8fde\u63a5\u6570 \u6216\u4fee\u6539dm.ini\u6587\u4ef6\u7684MAX_SESSIONS\uff08\u9700\u8981\u91cd\u542f\uff09\nSP_SET_PARA_VALUE (2, 'MAX_SESSIONS', 9999);\n-- \u5f53\u524d\u6d3b\u8dc3\u7684\u8fde\u63a5\u6570\nSELECT count(*) FROM v$sessions WHERE state='ACTIVE';\n")),(0,a.yg)("h3",{id:"\u6e05\u9664\u8fbe\u68a6\u7684\u4e00\u4e9b\u8fde\u63a5"},"\u6e05\u9664\u8fbe\u68a6\u7684\u4e00\u4e9b\u8fde\u63a5"),(0,a.yg)("p",null,"\u83ab\u540d\u5176\u5999\u8fbe\u68a6\u591a\u4e86\u4e00\u4e9b\u65e0\u6548\u7684\u8fde\u63a5\uff0c\u4f30\u8ba1\u662f\u4f1a\u8bdd\u65f6\u95f4\u4e00\u81f4\u6ca1\u63a7\u5236\u5bfc\u81f4\u7684\uff0c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-SQL"},"-- \u67e5\u8be2\u6240\u6709\u4f1a\u8bdd\u8fde\u63a5 \u53ef\u4ee5\u6839\u636eIP\u6a21\u7cca\u641c\u7d20\nSELECT * FROM V$SESSIONS where CLNT_IP like '%103.41%';\n \n-- \u7ed3\u675f\u4f1a\u8bdd \u4e0a\u9762\u8bed\u53e5\u8fd4\u56de\u7684SESS_ID\u5b57\u6bb5\nCALL SP_CLOSE_SESSION(140149950321128);\n")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.dameng.com/DM8.html"},"DM8\u5b98\u65b9\u4ecb\u7ecd")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://eco.dameng.com/document/dm/zh-cn/pm/index.html"},"DM8\u5b98\u65b9\u6280\u672f\u6587\u6863"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/65c56656.37700d5c.js b/assets/js/65c56656.036bb99a.js similarity index 99% rename from assets/js/65c56656.37700d5c.js rename to assets/js/65c56656.036bb99a.js index 78b464d0f..a89446850 100644 --- a/assets/js/65c56656.37700d5c.js +++ b/assets/js/65c56656.036bb99a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7269],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>s});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=r.createContext({}),p=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(u.Provider,{value:t},e.children)},y="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),y=p(n),m=a,s=y["".concat(u,".").concat(m)]||y[m]||g[m]||l;return n?r.createElement(s,i(i({ref:t},c),{},{components:n})):r.createElement(s,i({ref:t},c))}));function s(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,i=new Array(l);i[0]=m;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o[y]="string"==typeof e?e:a,i[1]=o;for(var p=2;p{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>g,frontMatter:()=>l,metadata:()=>o,toc:()=>p});var r=n(58168),a=(n(96540),n(15680));const l={sidebar_position:4},i="\u79fb\u52a8\u7aef",o={unversionedId:"xuanxing/fe/\u79fb\u52a8\u7aef",id:"xuanxing/fe/\u79fb\u52a8\u7aef",title:"\u79fb\u52a8\u7aef",description:"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u79fb\u52a8\u7aef\u65b9\u9762\uff0c\u9996\u9009\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\uff0c\u5982\u679c\u6709\u5916\u8d38\u9700\u6c42\uff0c\u53ef\u4ee5\u589e\u52a0 APP \u548c Mobile WEB\u3002",source:"@site/docs/xuanxing/fe/4-\u79fb\u52a8\u7aef.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/\u79fb\u52a8\u7aef",permalink:"/docs/xuanxing/fe/\u79fb\u52a8\u7aef",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"xuanxingSidebar",previous:{title:"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef",permalink:"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef"},next:{title:"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668",permalink:"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668"}},u={},p=[{value:"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6280\u672f\u9009\u578b",id:"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6280\u672f\u9009\u578b",level:3},{value:"Mobile WEB \u6280\u672f\u9009\u578b",id:"mobile-web-\u6280\u672f\u9009\u578b",level:3},{value:"APP \u6280\u672f\u9009\u578b",id:"app-\u6280\u672f\u9009\u578b",level:3},{value:"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a",id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350",level:3}],c={toc:p},y="wrapper";function g(e){let{components:t,...n}=e;return(0,a.yg)(y,(0,r.A)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u79fb\u52a8\u7aef"},"\u79fb\u52a8\u7aef"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u79fb\u52a8\u7aef\u65b9\u9762\uff0c\u9996\u9009",(0,a.yg)("strong",{parentName:"p"},"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f"),"\uff0c\u5982\u679c\u6709\u5916\u8d38\u9700\u6c42\uff0c\u53ef\u4ee5\u589e\u52a0 APP \u548c Mobile WEB\u3002"),(0,a.yg)("h3",{id:"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6280\u672f\u9009\u578b"},"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6280\u672f\u9009\u578b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Vant"),(0,a.yg)("li",{parentName:"ul"},"uni-app")),(0,a.yg)("h3",{id:"mobile-web-\u6280\u672f\u9009\u578b"},"Mobile WEB \u6280\u672f\u9009\u578b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Vant")),(0,a.yg)("h3",{id:"app-\u6280\u672f\u9009\u578b"},"APP \u6280\u672f\u9009\u578b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u539f\u751f\u5f00\u53d1\uff1a\u6548\u679c\u3001\u4f53\u9a8c\u662f\u6700\u597d\u7684\uff0c\u4f46\u662f\u5f00\u53d1\u6210\u672c\u9ad8\uff0c\u4e14\u65e0\u6cd5\u505a\u5230\u70ed\u66f4\u65b0\uff0c\u4e0d\u8de8\u5e73\u53f0\uff1b"),(0,a.yg)("li",{parentName:"ul"},"H5+\u539f\u751f\uff1a\u8fd9\u5c31\u662f\u5178\u578b\u7684\u6df7\u5408\u5f00\u53d1\uff0c\u7b80\u5355\u529f\u80fd\u4f7f\u7528 H5,\u590d\u6742\u529f\u80fd\u4f7f\u7528\u539f\u751f\uff0c\u53ef\u9009\u7684\u6846\u67b6\u6709\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"Cordova\u3001Ionic\u3001uni-app"),(0,a.yg)("li",{parentName:"ul"},"H5 \u90e8\u5206\u53ef\u4ee5\u505a\u70ed\u66f4\u65b0"))),(0,a.yg)("li",{parentName:"ul"},"JS \u5f00\u53d1+\u539f\u751f\u6e32\u67d3:",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"React Native\u3001Weex\u3001\u5feb\u5e94\u7528\u3001uni-app"),(0,a.yg)("li",{parentName:"ul"},"Weex \u662f\u963f\u91cc\u51fa\u7684"),(0,a.yg)("li",{parentName:"ul"},"React Native \u548c Weex \u7684\u6e32\u67d3/\u6392\u7248\u5f15\u64ce\u662f\u96c6\u6210\u5230\u6846\u67b6\u4e2d\u7684\uff0c\u6bcf\u4e00\u4e2a APP \u90fd\u9700\u8981\u6253\u5305\u4e00\u4efd\uff0c\u5b89\u88c5\u5305\u4f53\u79ef\u8f83\u5927\uff1b\u800c\u5feb\u5e94\u7528\u6e32\u67d3/\u6392\u7248\u5f15\u64ce\u662f\u96c6\u6210\u5230 ROM \u4e2d\u7684\uff0c\u5e94\u7528\u4e2d\u65e0\u9700\u6253\u5305\uff0c\u5b89\u88c5\u5305\u4f53\u79ef\u5c0f\uff0c\u6b63\u56e0\u5982\u6b64\uff0c\u5feb\u5e94\u7528\u624d\u80fd\u5728\u4fdd\u8bc1\u6027\u80fd\u7684\u540c\u65f6\u505a\u5230\u5feb\u901f\u5206\u53d1\u3002"),(0,a.yg)("li",{parentName:"ul"},"uni-app \u652f\u6301 webview+\u90e8\u5206 weex \u53cc\u91cd\u6e32\u67d3"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u505a\u70ed\u66f4\u65b0\uff0c\u4f46\u662f\u6b64\u79cd\u65b9\u5f0f\u6253\u51fa\u7684\u5305\u5b9e\u5728\u662f\u6709\u70b9\u5927\uff1b"),(0,a.yg)("li",{parentName:"ul"},"uni-app \u652f\u6301 webview+\u90e8\u5206 weex \u53cc\u91cd\u6e32\u67d3"))),(0,a.yg)("li",{parentName:"ul"},"\u81ea\u7ed8 UI+\u539f\u751f\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"QT for mobile\u3001Flutter"),(0,a.yg)("li",{parentName:"ul"},"Flutter \u6587\u6863\u8fd8\u662f\u4e0d\u9519\u7684")))),(0,a.yg)("h3",{id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350"},"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a"),(0,a.yg)("p",null,"\u4ee5\u4e0a\u6765\u770b\uff0c"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u8ffd\u6c42\u5feb\u901f\uff0c\u4f7f\u7528 uni-app"),(0,a.yg)("li",{parentName:"ul"},"\u8ffd\u6c42\u53ef\u7ef4\u62a4\uff0c\u5c0f\u7a0b\u5e8f\u4f7f\u7528 Vant/TDesign\uff0cAPP \u9009\u62e9 Flutter")))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7269],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>s});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=r.createContext({}),p=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(u.Provider,{value:t},e.children)},y="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),y=p(n),m=a,s=y["".concat(u,".").concat(m)]||y[m]||g[m]||l;return n?r.createElement(s,i(i({ref:t},c),{},{components:n})):r.createElement(s,i({ref:t},c))}));function s(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,i=new Array(l);i[0]=m;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o[y]="string"==typeof e?e:a,i[1]=o;for(var p=2;p{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>g,frontMatter:()=>l,metadata:()=>o,toc:()=>p});var r=n(58168),a=(n(96540),n(15680));const l={sidebar_position:4},i="\u79fb\u52a8\u7aef",o={unversionedId:"xuanxing/fe/\u79fb\u52a8\u7aef",id:"xuanxing/fe/\u79fb\u52a8\u7aef",title:"\u79fb\u52a8\u7aef",description:"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u79fb\u52a8\u7aef\u65b9\u9762\uff0c\u9996\u9009\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\uff0c\u5982\u679c\u6709\u5916\u8d38\u9700\u6c42\uff0c\u53ef\u4ee5\u589e\u52a0 APP \u548c Mobile WEB\u3002",source:"@site/docs/xuanxing/fe/4-\u79fb\u52a8\u7aef.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/\u79fb\u52a8\u7aef",permalink:"/docs/xuanxing/fe/\u79fb\u52a8\u7aef",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"xuanxingSidebar",previous:{title:"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef",permalink:"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef"},next:{title:"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668",permalink:"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668"}},u={},p=[{value:"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6280\u672f\u9009\u578b",id:"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6280\u672f\u9009\u578b",level:3},{value:"Mobile WEB \u6280\u672f\u9009\u578b",id:"mobile-web-\u6280\u672f\u9009\u578b",level:3},{value:"APP \u6280\u672f\u9009\u578b",id:"app-\u6280\u672f\u9009\u578b",level:3},{value:"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a",id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350",level:3}],c={toc:p},y="wrapper";function g(e){let{components:t,...n}=e;return(0,a.yg)(y,(0,r.A)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u79fb\u52a8\u7aef"},"\u79fb\u52a8\u7aef"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u79fb\u52a8\u7aef\u65b9\u9762\uff0c\u9996\u9009",(0,a.yg)("strong",{parentName:"p"},"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f"),"\uff0c\u5982\u679c\u6709\u5916\u8d38\u9700\u6c42\uff0c\u53ef\u4ee5\u589e\u52a0 APP \u548c Mobile WEB\u3002"),(0,a.yg)("h3",{id:"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6280\u672f\u9009\u578b"},"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6280\u672f\u9009\u578b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Vant"),(0,a.yg)("li",{parentName:"ul"},"uni-app")),(0,a.yg)("h3",{id:"mobile-web-\u6280\u672f\u9009\u578b"},"Mobile WEB \u6280\u672f\u9009\u578b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Vant")),(0,a.yg)("h3",{id:"app-\u6280\u672f\u9009\u578b"},"APP \u6280\u672f\u9009\u578b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u539f\u751f\u5f00\u53d1\uff1a\u6548\u679c\u3001\u4f53\u9a8c\u662f\u6700\u597d\u7684\uff0c\u4f46\u662f\u5f00\u53d1\u6210\u672c\u9ad8\uff0c\u4e14\u65e0\u6cd5\u505a\u5230\u70ed\u66f4\u65b0\uff0c\u4e0d\u8de8\u5e73\u53f0\uff1b"),(0,a.yg)("li",{parentName:"ul"},"H5+\u539f\u751f\uff1a\u8fd9\u5c31\u662f\u5178\u578b\u7684\u6df7\u5408\u5f00\u53d1\uff0c\u7b80\u5355\u529f\u80fd\u4f7f\u7528 H5,\u590d\u6742\u529f\u80fd\u4f7f\u7528\u539f\u751f\uff0c\u53ef\u9009\u7684\u6846\u67b6\u6709\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"Cordova\u3001Ionic\u3001uni-app"),(0,a.yg)("li",{parentName:"ul"},"H5 \u90e8\u5206\u53ef\u4ee5\u505a\u70ed\u66f4\u65b0"))),(0,a.yg)("li",{parentName:"ul"},"JS \u5f00\u53d1+\u539f\u751f\u6e32\u67d3:",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"React Native\u3001Weex\u3001\u5feb\u5e94\u7528\u3001uni-app"),(0,a.yg)("li",{parentName:"ul"},"Weex \u662f\u963f\u91cc\u51fa\u7684"),(0,a.yg)("li",{parentName:"ul"},"React Native \u548c Weex \u7684\u6e32\u67d3/\u6392\u7248\u5f15\u64ce\u662f\u96c6\u6210\u5230\u6846\u67b6\u4e2d\u7684\uff0c\u6bcf\u4e00\u4e2a APP \u90fd\u9700\u8981\u6253\u5305\u4e00\u4efd\uff0c\u5b89\u88c5\u5305\u4f53\u79ef\u8f83\u5927\uff1b\u800c\u5feb\u5e94\u7528\u6e32\u67d3/\u6392\u7248\u5f15\u64ce\u662f\u96c6\u6210\u5230 ROM \u4e2d\u7684\uff0c\u5e94\u7528\u4e2d\u65e0\u9700\u6253\u5305\uff0c\u5b89\u88c5\u5305\u4f53\u79ef\u5c0f\uff0c\u6b63\u56e0\u5982\u6b64\uff0c\u5feb\u5e94\u7528\u624d\u80fd\u5728\u4fdd\u8bc1\u6027\u80fd\u7684\u540c\u65f6\u505a\u5230\u5feb\u901f\u5206\u53d1\u3002"),(0,a.yg)("li",{parentName:"ul"},"uni-app \u652f\u6301 webview+\u90e8\u5206 weex \u53cc\u91cd\u6e32\u67d3"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u505a\u70ed\u66f4\u65b0\uff0c\u4f46\u662f\u6b64\u79cd\u65b9\u5f0f\u6253\u51fa\u7684\u5305\u5b9e\u5728\u662f\u6709\u70b9\u5927\uff1b"),(0,a.yg)("li",{parentName:"ul"},"uni-app \u652f\u6301 webview+\u90e8\u5206 weex \u53cc\u91cd\u6e32\u67d3"))),(0,a.yg)("li",{parentName:"ul"},"\u81ea\u7ed8 UI+\u539f\u751f\uff1a",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"QT for mobile\u3001Flutter"),(0,a.yg)("li",{parentName:"ul"},"Flutter \u6587\u6863\u8fd8\u662f\u4e0d\u9519\u7684")))),(0,a.yg)("h3",{id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350"},"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a"),(0,a.yg)("p",null,"\u4ee5\u4e0a\u6765\u770b\uff0c"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u8ffd\u6c42\u5feb\u901f\uff0c\u4f7f\u7528 uni-app"),(0,a.yg)("li",{parentName:"ul"},"\u8ffd\u6c42\u53ef\u7ef4\u62a4\uff0c\u5c0f\u7a0b\u5e8f\u4f7f\u7528 Vant/TDesign\uff0cAPP \u9009\u62e9 Flutter")))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/67e91227.f2806aa2.js b/assets/js/67e91227.cff1d829.js similarity index 98% rename from assets/js/67e91227.f2806aa2.js rename to assets/js/67e91227.cff1d829.js index b13933b02..7323b7bb9 100644 --- a/assets/js/67e91227.f2806aa2.js +++ b/assets/js/67e91227.cff1d829.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9376],{15680:(e,r,t)=>{t.d(r,{xA:()=>m,yg:()=>d});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),p=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},m=function(e){var r=p(e.components);return n.createElement(c.Provider,{value:r},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,m=i(e,["components","mdxType","originalType","parentName"]),u=p(t),y=a,d=u["".concat(c,".").concat(y)]||u[y]||s[y]||o;return t?n.createElement(d,l(l({ref:r},m),{},{components:t})):n.createElement(d,l({ref:r},m))}));function d(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var i={};for(var c in r)hasOwnProperty.call(r,c)&&(i[c]=r[c]);i.originalType=e,i[u]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=t(58168),a=(t(96540),t(15680));const o={},l="make",i={unversionedId:"study/program/C/make",id:"study/program/C/make",title:"make",description:"make \u662f\u4e00\u6761\u8ba1\u7b97\u673a\u6307\u4ee4\uff0c\u662f\u5728\u5b89\u88c5\u6709 GNU Make \u7684\u8ba1\u7b97\u673a\u4e0a\u7684\u53ef\u6267\u884c\u6307\u4ee4\u3002\u8be5\u6307\u4ee4\u662f\u8bfb\u5165\u4e00\u4e2a\u540d\u4e3a makefile \u7684\u6587\u4ef6\uff0c\u7136\u540e\u6267\u884c\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u6307\u5b9a\u7684\u6307\u4ee4\u3002",source:"@site/docs/study/program/C/make.md",sourceDirName:"study/program/C",slug:"/study/program/C/make",permalink:"/docs/study/program/C/make",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"extern-c",permalink:"/docs/study/program/C/extern-c"},next:{title:"pragma",permalink:"/docs/study/program/C/pragma"}},c={},p=[{value:"make \u7684\u4e00\u4e9b\u5e38\u7528\u53c2\u6570",id:"make-\u7684\u4e00\u4e9b\u5e38\u7528\u53c2\u6570",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],m={toc:p},u="wrapper";function s(e){let{components:r,...t}=e;return(0,a.yg)(u,(0,n.A)({},m,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"make"},"make"),(0,a.yg)("p",null,"make \u662f\u4e00\u6761\u8ba1\u7b97\u673a\u6307\u4ee4\uff0c\u662f\u5728\u5b89\u88c5\u6709 GNU Make \u7684\u8ba1\u7b97\u673a\u4e0a\u7684\u53ef\u6267\u884c\u6307\u4ee4\u3002\u8be5\u6307\u4ee4\u662f\u8bfb\u5165\u4e00\u4e2a\u540d\u4e3a makefile \u7684\u6587\u4ef6\uff0c\u7136\u540e\u6267\u884c\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u6307\u5b9a\u7684\u6307\u4ee4\u3002"),(0,a.yg)("h3",{id:"make-\u7684\u4e00\u4e9b\u5e38\u7528\u53c2\u6570"},"make \u7684\u4e00\u4e9b\u5e38\u7528\u53c2\u6570"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"make \uff1a\u6839\u636e Makefile \u7f16\u8bd1\u6e90\u4ee3\u7801\uff0c\u8fde\u63a5\uff0c\u751f\u6210\u76ee\u6807\u6587\u4ef6\uff0c\u53ef\u6267\u884c\u6587\u4ef6\u3002"),(0,a.yg)("li",{parentName:"ul"},"make install \uff1a\u5b89\u88c5\u7f16\u8bd1\u597d\u7684\u7a0b\u5e8f\u548c\u5e93\uff0c\u5934\u6587\u4ef6\u5230\u7cfb\u7edf\u4e2d,\u4e00\u822c\u4e3a/usr/local/bin \u76ee\u5f55\u3002"),(0,a.yg)("li",{parentName:"ul"},"make clean : \u6e05\u9664\u4e0a\u6b21\u7684 make \u547d\u4ee4\u6240\u4ea7\u751f\u7684 object \u6587\u4ef6\uff08\u540e\u7f00\u4e3a\u201c.o\u201d\u7684\u6587\u4ef6\uff09\u53ca\u53ef\u6267\u884c\u6587\u4ef6\u3002\uff08make \u7684\u53cd\u5411\u64cd\u4f5c\uff09")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/make/17067703"},"\u767e\u5ea6\u767e\u79d1-make"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9376],{15680:(e,r,t)=>{t.d(r,{xA:()=>m,yg:()=>d});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),p=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},m=function(e){var r=p(e.components);return n.createElement(c.Provider,{value:r},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,m=i(e,["components","mdxType","originalType","parentName"]),u=p(t),y=a,d=u["".concat(c,".").concat(y)]||u[y]||s[y]||o;return t?n.createElement(d,l(l({ref:r},m),{},{components:t})):n.createElement(d,l({ref:r},m))}));function d(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var i={};for(var c in r)hasOwnProperty.call(r,c)&&(i[c]=r[c]);i.originalType=e,i[u]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=t(58168),a=(t(96540),t(15680));const o={},l="make",i={unversionedId:"study/program/C/make",id:"study/program/C/make",title:"make",description:"make \u662f\u4e00\u6761\u8ba1\u7b97\u673a\u6307\u4ee4\uff0c\u662f\u5728\u5b89\u88c5\u6709 GNU Make \u7684\u8ba1\u7b97\u673a\u4e0a\u7684\u53ef\u6267\u884c\u6307\u4ee4\u3002\u8be5\u6307\u4ee4\u662f\u8bfb\u5165\u4e00\u4e2a\u540d\u4e3a makefile \u7684\u6587\u4ef6\uff0c\u7136\u540e\u6267\u884c\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u6307\u5b9a\u7684\u6307\u4ee4\u3002",source:"@site/docs/study/program/C/make.md",sourceDirName:"study/program/C",slug:"/study/program/C/make",permalink:"/docs/study/program/C/make",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"extern-c",permalink:"/docs/study/program/C/extern-c"},next:{title:"pragma",permalink:"/docs/study/program/C/pragma"}},c={},p=[{value:"make \u7684\u4e00\u4e9b\u5e38\u7528\u53c2\u6570",id:"make-\u7684\u4e00\u4e9b\u5e38\u7528\u53c2\u6570",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],m={toc:p},u="wrapper";function s(e){let{components:r,...t}=e;return(0,a.yg)(u,(0,n.A)({},m,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"make"},"make"),(0,a.yg)("p",null,"make \u662f\u4e00\u6761\u8ba1\u7b97\u673a\u6307\u4ee4\uff0c\u662f\u5728\u5b89\u88c5\u6709 GNU Make \u7684\u8ba1\u7b97\u673a\u4e0a\u7684\u53ef\u6267\u884c\u6307\u4ee4\u3002\u8be5\u6307\u4ee4\u662f\u8bfb\u5165\u4e00\u4e2a\u540d\u4e3a makefile \u7684\u6587\u4ef6\uff0c\u7136\u540e\u6267\u884c\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u6307\u5b9a\u7684\u6307\u4ee4\u3002"),(0,a.yg)("h3",{id:"make-\u7684\u4e00\u4e9b\u5e38\u7528\u53c2\u6570"},"make \u7684\u4e00\u4e9b\u5e38\u7528\u53c2\u6570"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"make \uff1a\u6839\u636e Makefile \u7f16\u8bd1\u6e90\u4ee3\u7801\uff0c\u8fde\u63a5\uff0c\u751f\u6210\u76ee\u6807\u6587\u4ef6\uff0c\u53ef\u6267\u884c\u6587\u4ef6\u3002"),(0,a.yg)("li",{parentName:"ul"},"make install \uff1a\u5b89\u88c5\u7f16\u8bd1\u597d\u7684\u7a0b\u5e8f\u548c\u5e93\uff0c\u5934\u6587\u4ef6\u5230\u7cfb\u7edf\u4e2d,\u4e00\u822c\u4e3a/usr/local/bin \u76ee\u5f55\u3002"),(0,a.yg)("li",{parentName:"ul"},"make clean : \u6e05\u9664\u4e0a\u6b21\u7684 make \u547d\u4ee4\u6240\u4ea7\u751f\u7684 object \u6587\u4ef6\uff08\u540e\u7f00\u4e3a\u201c.o\u201d\u7684\u6587\u4ef6\uff09\u53ca\u53ef\u6267\u884c\u6587\u4ef6\u3002\uff08make \u7684\u53cd\u5411\u64cd\u4f5c\uff09")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/make/17067703"},"\u767e\u5ea6\u767e\u79d1-make"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/68202b49.2dd7798d.js b/assets/js/68202b49.e7cce922.js similarity index 99% rename from assets/js/68202b49.2dd7798d.js rename to assets/js/68202b49.e7cce922.js index eb145934a..cbe2554fd 100644 --- a/assets/js/68202b49.2dd7798d.js +++ b/assets/js/68202b49.e7cce922.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8302],{15680:(e,r,n)=>{n.d(r,{xA:()=>d,yg:()=>y});var t=n(96540);function o(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function a(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function i(e){for(var r=1;r=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=t.createContext({}),p=function(e){var r=t.useContext(c),n=r;return e&&(n="function"==typeof e?e(r):i(i({},r),e)),n},d=function(e){var r=p(e.components);return t.createElement(c.Provider,{value:r},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},f=t.forwardRef((function(e,r){var n=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),u=p(n),f=o,y=u["".concat(c,".").concat(f)]||u[f]||s[f]||a;return n?t.createElement(y,i(i({ref:r},d),{},{components:n})):t.createElement(y,i({ref:r},d))}));function y(e,r){var n=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=f;var l={};for(var c in r)hasOwnProperty.call(r,c)&&(l[c]=r[c]);l.originalType=e,l[u]="string"==typeof e?e:o,i[1]=l;for(var p=2;p{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var t=n(58168),o=(n(96540),n(15680));const a={},i=void 0,l={unversionedId:"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3",id:"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3",title:"Dockerfile\u4f7f\u7528\u8be6\u89e3",description:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",source:"@site/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3.md",sourceDirName:"study/docker",slug:"/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3",permalink:"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Docker Swarm",permalink:"/docs/study/docker/Docker-swarm"},next:{title:"Docker\u7684\u4f7f\u7528\u603b\u7ed3",permalink:"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3"}},c={},p=[{value:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",id:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",level:3},{value:"SpringBoot Dockerfile \u793a\u4f8b",id:"springboot-dockerfile-\u793a\u4f8b",level:3},{value:"\u793a\u4f8b 1",id:"\u793a\u4f8b-1",level:4},{value:"\u793a\u4f8b 2",id:"\u793a\u4f8b-2",level:4},{value:"\u53c2\u8003\u6587\u6863",id:"\u53c2\u8003\u6587\u6863",level:3}],d={toc:p},u="wrapper";function s(e){let{components:r,...n}=e;return(0,o.yg)(u,(0,t.A)({},d,n,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5b98\u65b9\u53c2\u8003\u6587\u6863"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.docker.com/reference/dockerfile/"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863-\u82f1\u6587\u7248\u672c"))),(0,o.yg)("h3",{id:"springboot-dockerfile-\u793a\u4f8b"},"SpringBoot Dockerfile \u793a\u4f8b"),(0,o.yg)("h4",{id:"\u793a\u4f8b-1"},"\u793a\u4f8b 1"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# JDK17\u73af\u5883\nFROM ubuntu:23.10 as ujdk17\nWORKDIR /root/jdk\nADD jdk-17_linux-x64_bin.tar.gz ./\nENV JAVA_HOME=/root/jdk/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\nRUN java --version\n# \u76f4\u63a5\u8fd0\u884cSpringBoot Jar\u5305\u6a21\u5f0f\nFROM ujdk17 as xxx\nWORKDIR /root/application\nARG JAR_FILE=target/*.jar\nCOPY ${JAR_FILE} application.jar\nEXPOSE 8080\nENTRYPOINT java -jar application.jarca\n")),(0,o.yg)("h4",{id:"\u793a\u4f8b-2"},"\u793a\u4f8b 2"),(0,o.yg)("p",null,"\u6ca1\u6709\u6210\u529f\uff01\uff01(\u539f\u56e0\u662f SpringBoot \u7684\u7248\u672c\u7528\u7684\u662f 3.0.3)"),(0,o.yg)("p",null,"\u6210\u529f\uff01\uff01(\u539f\u56e0\u662f SpringBoot \u7684\u7248\u672c\u7528\u7684\u662f 3.2.3)"),(0,o.yg)("p",null,"\u4e00\u5b9a\u8981\u770b\u6e05 SpringBoot \u7684\u7248\u672c\u53f7\uff0c\u5dee\u5f02\u8fd8\u662f\u5f88\u5927\u7684"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'# JDK17\u73af\u5883\nFROM ubuntu:23.10 as ujdk17\nWORKDIR /root/jdk\nADD jdk-17_linux-x64_bin.tar.gz ./\nENV JAVA_HOME=/root/jdk/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\nRUN java --version\n# \u6784\u5efa\u73af\u5883 \u4e3b\u8981\u662f\u60f3\u5229\u7528Docker\u7684\u5206\u5c42\u7f13\u5b58\u6982\u5ff5\u8fbe\u5230\u5feb\u901f\u6784\u5efa\u7684\u76ee\u7684 jarmode\u6a21\u5f0f\nFROM ujdk17 as builder\nWORKDIR /root/application\nARG JAR_FILE=target/*.jar\nCOPY ${JAR_FILE} application.jar\nRUN java -Djarmode=layertools -jar application.jar extract\n# jarmode\u6a21\u5f0f\u542f\u52a8\nFROM ujdk17 as xxx\nWORKDIR /root/application\nCOPY --from=builder /root/application/dependencies/ ./\nCOPY --from=builder /root/application/spring-boot-loader/ ./\nCOPY --from=builder /root/application/snapshot-dependencies/ ./\nCOPY --from=builder /root/application/application/ ./\nEXPOSE 8080\nENTRYPOINT ["java", "org.springframework.boot.loader.launch.JarLauncher"]\n')),(0,o.yg)("h3",{id:"\u53c2\u8003\u6587\u6863"},"\u53c2\u8003\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/4508784f6ddc"},"\u7b80\u4e66-Dockerfile \u8be6\u89e3\uff08\u8d85\u8be6\u7ec6\uff09"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8302],{15680:(e,r,n)=>{n.d(r,{xA:()=>d,yg:()=>y});var t=n(96540);function o(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function a(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function i(e){for(var r=1;r=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=t.createContext({}),p=function(e){var r=t.useContext(c),n=r;return e&&(n="function"==typeof e?e(r):i(i({},r),e)),n},d=function(e){var r=p(e.components);return t.createElement(c.Provider,{value:r},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},f=t.forwardRef((function(e,r){var n=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),u=p(n),f=o,y=u["".concat(c,".").concat(f)]||u[f]||s[f]||a;return n?t.createElement(y,i(i({ref:r},d),{},{components:n})):t.createElement(y,i({ref:r},d))}));function y(e,r){var n=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=f;var l={};for(var c in r)hasOwnProperty.call(r,c)&&(l[c]=r[c]);l.originalType=e,l[u]="string"==typeof e?e:o,i[1]=l;for(var p=2;p{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var t=n(58168),o=(n(96540),n(15680));const a={},i=void 0,l={unversionedId:"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3",id:"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3",title:"Dockerfile\u4f7f\u7528\u8be6\u89e3",description:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",source:"@site/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3.md",sourceDirName:"study/docker",slug:"/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3",permalink:"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Docker Swarm",permalink:"/docs/study/docker/Docker-swarm"},next:{title:"Docker\u7684\u4f7f\u7528\u603b\u7ed3",permalink:"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3"}},c={},p=[{value:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",id:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",level:3},{value:"SpringBoot Dockerfile \u793a\u4f8b",id:"springboot-dockerfile-\u793a\u4f8b",level:3},{value:"\u793a\u4f8b 1",id:"\u793a\u4f8b-1",level:4},{value:"\u793a\u4f8b 2",id:"\u793a\u4f8b-2",level:4},{value:"\u53c2\u8003\u6587\u6863",id:"\u53c2\u8003\u6587\u6863",level:3}],d={toc:p},u="wrapper";function s(e){let{components:r,...n}=e;return(0,o.yg)(u,(0,t.A)({},d,n,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5b98\u65b9\u53c2\u8003\u6587\u6863"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://docs.docker.com/reference/dockerfile/"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863-\u82f1\u6587\u7248\u672c"))),(0,o.yg)("h3",{id:"springboot-dockerfile-\u793a\u4f8b"},"SpringBoot Dockerfile \u793a\u4f8b"),(0,o.yg)("h4",{id:"\u793a\u4f8b-1"},"\u793a\u4f8b 1"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# JDK17\u73af\u5883\nFROM ubuntu:23.10 as ujdk17\nWORKDIR /root/jdk\nADD jdk-17_linux-x64_bin.tar.gz ./\nENV JAVA_HOME=/root/jdk/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\nRUN java --version\n# \u76f4\u63a5\u8fd0\u884cSpringBoot Jar\u5305\u6a21\u5f0f\nFROM ujdk17 as xxx\nWORKDIR /root/application\nARG JAR_FILE=target/*.jar\nCOPY ${JAR_FILE} application.jar\nEXPOSE 8080\nENTRYPOINT java -jar application.jarca\n")),(0,o.yg)("h4",{id:"\u793a\u4f8b-2"},"\u793a\u4f8b 2"),(0,o.yg)("p",null,"\u6ca1\u6709\u6210\u529f\uff01\uff01(\u539f\u56e0\u662f SpringBoot \u7684\u7248\u672c\u7528\u7684\u662f 3.0.3)"),(0,o.yg)("p",null,"\u6210\u529f\uff01\uff01(\u539f\u56e0\u662f SpringBoot \u7684\u7248\u672c\u7528\u7684\u662f 3.2.3)"),(0,o.yg)("p",null,"\u4e00\u5b9a\u8981\u770b\u6e05 SpringBoot \u7684\u7248\u672c\u53f7\uff0c\u5dee\u5f02\u8fd8\u662f\u5f88\u5927\u7684"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'# JDK17\u73af\u5883\nFROM ubuntu:23.10 as ujdk17\nWORKDIR /root/jdk\nADD jdk-17_linux-x64_bin.tar.gz ./\nENV JAVA_HOME=/root/jdk/jdk-17.0.8\nENV PATH=$JAVA_HOME/bin:$PATH\nRUN java --version\n# \u6784\u5efa\u73af\u5883 \u4e3b\u8981\u662f\u60f3\u5229\u7528Docker\u7684\u5206\u5c42\u7f13\u5b58\u6982\u5ff5\u8fbe\u5230\u5feb\u901f\u6784\u5efa\u7684\u76ee\u7684 jarmode\u6a21\u5f0f\nFROM ujdk17 as builder\nWORKDIR /root/application\nARG JAR_FILE=target/*.jar\nCOPY ${JAR_FILE} application.jar\nRUN java -Djarmode=layertools -jar application.jar extract\n# jarmode\u6a21\u5f0f\u542f\u52a8\nFROM ujdk17 as xxx\nWORKDIR /root/application\nCOPY --from=builder /root/application/dependencies/ ./\nCOPY --from=builder /root/application/spring-boot-loader/ ./\nCOPY --from=builder /root/application/snapshot-dependencies/ ./\nCOPY --from=builder /root/application/application/ ./\nEXPOSE 8080\nENTRYPOINT ["java", "org.springframework.boot.loader.launch.JarLauncher"]\n')),(0,o.yg)("h3",{id:"\u53c2\u8003\u6587\u6863"},"\u53c2\u8003\u6587\u6863"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/4508784f6ddc"},"\u7b80\u4e66-Dockerfile \u8be6\u89e3\uff08\u8d85\u8be6\u7ec6\uff09"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/68699a4c.78491a41.js b/assets/js/68699a4c.5c79a513.js similarity index 98% rename from assets/js/68699a4c.78491a41.js rename to assets/js/68699a4c.5c79a513.js index a180f1ebb..8b58535fd 100644 --- a/assets/js/68699a4c.78491a41.js +++ b/assets/js/68699a4c.5c79a513.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[695],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>y});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),i=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},l=function(e){var r=i(e.components);return n.createElement(c.Provider,{value:r},e.children)},m="mdxType",u={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),m=i(t),d=a,y=m["".concat(c,".").concat(d)]||m[d]||u[d]||o;return t?n.createElement(y,p(p({ref:r},l),{},{components:t})):n.createElement(y,p({ref:r},l))}));function y(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,p=new Array(o);p[0]=d;var s={};for(var c in r)hasOwnProperty.call(r,c)&&(s[c]=r[c]);s.originalType=e,s[m]="string"==typeof e?e:a,p[1]=s;for(var i=2;i{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>p,default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var n=t(58168),a=(t(96540),t(15680));const o={},p=void 0,s={unversionedId:"study/program/JS/npm",id:"study/program/JS/npm",title:"npm",description:"npmjs",source:"@site/docs/study/program/JS/npm.md",sourceDirName:"study/program/JS",slug:"/study/program/JS/npm",permalink:"/docs/study/program/JS/npm",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5e38\u7528\u7684\u6846\u67b6",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6"},next:{title:"npx",permalink:"/docs/study/program/JS/npx"}},c={},i=[{value:"\u5b89\u88c5cnpm (\u56fd\u5185\u6dd8\u5b9d\u955c\u50cf\u6e90),\u4e3b\u8981\u7528\u4e8e\u67d0\u4e9b\u5305\u6216\u547d\u4ee4\u7a0b\u5e8f\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u7684\u60c5\u51b5",id:"\u5b89\u88c5cnpm-\u56fd\u5185\u6dd8\u5b9d\u955c\u50cf\u6e90\u4e3b\u8981\u7528\u4e8e\u67d0\u4e9b\u5305\u6216\u547d\u4ee4\u7a0b\u5e8f\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u7684\u60c5\u51b5",level:4},{value:"node-sass",id:"node-sass",level:3}],l={toc:i},m="wrapper";function u(e){let{components:r,...o}=e;return(0,a.yg)(m,(0,n.A)({},l,o,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.npmjs.com/"},"npmjs")),(0,a.yg)("h4",{id:"\u5b89\u88c5cnpm-\u56fd\u5185\u6dd8\u5b9d\u955c\u50cf\u6e90\u4e3b\u8981\u7528\u4e8e\u67d0\u4e9b\u5305\u6216\u547d\u4ee4\u7a0b\u5e8f\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u7684\u60c5\u51b5"},"\u5b89\u88c5cnpm (\u56fd\u5185\u6dd8\u5b9d\u955c\u50cf\u6e90),\u4e3b\u8981\u7528\u4e8e\u67d0\u4e9b\u5305\u6216\u547d\u4ee4\u7a0b\u5e8f\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u7684\u60c5\u51b5"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u76f4\u63a5\u6309\u7167cnpm\nnpm install cnpm -g --registry=https://registry.npm.taobao.org\n\n# \u53e6\u4e00\u79cd\u65b9\u5f0f\nnpm install -g mirror-config-china --registry=https://registry.npmmirror.com\nnpm install node-sass\n")),(0,a.yg)("h3",{id:"node-sass"},"node-sass"),(0,a.yg)("p",null,"\u6ce8\u610f\u4e0d\u540c\u7684node\u7248\u672c\uff0c\u8981\u6c42\u7684node-sass\u7248\u672c\u4e0d\u4e00\u6837\uff0c\u5b58\u5728\u4e00\u5b9a\u7684\u517c\u5bb9\u95ee\u9898\uff1a\n",(0,a.yg)("img",{alt:"image.png",src:t(56747).A,width:"948",height:"836"})))}u.isMDXComponent=!0},56747:(e,r,t)=>{t.d(r,{A:()=>n});const n=t.p+"assets/images/image-e92e78d715ae90026be6844331682aa0.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[695],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>y});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),i=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},l=function(e){var r=i(e.components);return n.createElement(c.Provider,{value:r},e.children)},m="mdxType",u={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),m=i(t),d=a,y=m["".concat(c,".").concat(d)]||m[d]||u[d]||o;return t?n.createElement(y,p(p({ref:r},l),{},{components:t})):n.createElement(y,p({ref:r},l))}));function y(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,p=new Array(o);p[0]=d;var s={};for(var c in r)hasOwnProperty.call(r,c)&&(s[c]=r[c]);s.originalType=e,s[m]="string"==typeof e?e:a,p[1]=s;for(var i=2;i{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>p,default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var n=t(58168),a=(t(96540),t(15680));const o={},p=void 0,s={unversionedId:"study/program/JS/npm",id:"study/program/JS/npm",title:"npm",description:"npmjs",source:"@site/docs/study/program/JS/npm.md",sourceDirName:"study/program/JS",slug:"/study/program/JS/npm",permalink:"/docs/study/program/JS/npm",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5e38\u7528\u7684\u6846\u67b6",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6"},next:{title:"npx",permalink:"/docs/study/program/JS/npx"}},c={},i=[{value:"\u5b89\u88c5cnpm (\u56fd\u5185\u6dd8\u5b9d\u955c\u50cf\u6e90),\u4e3b\u8981\u7528\u4e8e\u67d0\u4e9b\u5305\u6216\u547d\u4ee4\u7a0b\u5e8f\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u7684\u60c5\u51b5",id:"\u5b89\u88c5cnpm-\u56fd\u5185\u6dd8\u5b9d\u955c\u50cf\u6e90\u4e3b\u8981\u7528\u4e8e\u67d0\u4e9b\u5305\u6216\u547d\u4ee4\u7a0b\u5e8f\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u7684\u60c5\u51b5",level:4},{value:"node-sass",id:"node-sass",level:3}],l={toc:i},m="wrapper";function u(e){let{components:r,...o}=e;return(0,a.yg)(m,(0,n.A)({},l,o,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.npmjs.com/"},"npmjs")),(0,a.yg)("h4",{id:"\u5b89\u88c5cnpm-\u56fd\u5185\u6dd8\u5b9d\u955c\u50cf\u6e90\u4e3b\u8981\u7528\u4e8e\u67d0\u4e9b\u5305\u6216\u547d\u4ee4\u7a0b\u5e8f\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u7684\u60c5\u51b5"},"\u5b89\u88c5cnpm (\u56fd\u5185\u6dd8\u5b9d\u955c\u50cf\u6e90),\u4e3b\u8981\u7528\u4e8e\u67d0\u4e9b\u5305\u6216\u547d\u4ee4\u7a0b\u5e8f\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u7684\u60c5\u51b5"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u76f4\u63a5\u6309\u7167cnpm\nnpm install cnpm -g --registry=https://registry.npm.taobao.org\n\n# \u53e6\u4e00\u79cd\u65b9\u5f0f\nnpm install -g mirror-config-china --registry=https://registry.npmmirror.com\nnpm install node-sass\n")),(0,a.yg)("h3",{id:"node-sass"},"node-sass"),(0,a.yg)("p",null,"\u6ce8\u610f\u4e0d\u540c\u7684node\u7248\u672c\uff0c\u8981\u6c42\u7684node-sass\u7248\u672c\u4e0d\u4e00\u6837\uff0c\u5b58\u5728\u4e00\u5b9a\u7684\u517c\u5bb9\u95ee\u9898\uff1a\n",(0,a.yg)("img",{alt:"image.png",src:t(56747).A,width:"948",height:"836"})))}u.isMDXComponent=!0},56747:(e,r,t)=>{t.d(r,{A:()=>n});const n=t.p+"assets/images/image-e92e78d715ae90026be6844331682aa0.png"}}]); \ No newline at end of file diff --git a/assets/js/69ea6d61.8df6efc0.js b/assets/js/69ea6d61.6f671220.js similarity index 99% rename from assets/js/69ea6d61.8df6efc0.js rename to assets/js/69ea6d61.6f671220.js index 7bed69731..e1b95752e 100644 --- a/assets/js/69ea6d61.8df6efc0.js +++ b/assets/js/69ea6d61.6f671220.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8075],{15680:(e,n,t)=>{t.d(n,{xA:()=>d,yg:()=>y});var r=t(96540);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=r.createContext({}),u=function(e){var n=r.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):a(a({},n),e)),t},d=function(e){var n=u(e.components);return r.createElement(c.Provider,{value:n},e.children)},p="mdxType",l={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},f=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),p=u(t),f=o,y=p["".concat(c,".").concat(f)]||p[f]||l[f]||i;return t?r.createElement(y,a(a({ref:n},d),{},{components:t})):r.createElement(y,a({ref:n},d))}));function y(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var i=t.length,a=new Array(i);a[0]=f;var s={};for(var c in n)hasOwnProperty.call(n,c)&&(s[c]=n[c]);s.originalType=e,s[p]="string"==typeof e?e:o,a[1]=s;for(var u=2;u{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>a,default:()=>l,frontMatter:()=>i,metadata:()=>s,toc:()=>u});var r=t(58168),o=(t(96540),t(15680));const i={},a=void 0,s={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",id:"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",title:"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",description:"fio",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e"},next:{title:"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6"}},c={},u=[{value:"fio",id:"fio",level:3}],d={toc:u},p="wrapper";function l(e){let{components:n,...t}=e;return(0,o.yg)(p,(0,r.A)({},d,t,{components:n,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"fio"},"fio"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u987a\u5e8f\u8bfb\u53d6\u6d4b\u8bd5\n# --name\u53c2\u6570\u7528\u4e8e\u6307\u5b9a\u6d4b\u8bd5\u540d\u79f0\uff0c\n# --filename\u6307\u5b9a\u8981\u6d4b\u8bd5\u7684\u8bbe\u5907\uff08\u8fd9\u91cc\u662f/dev/sda\uff0c\u8868\u793a\u7cfb\u7edf\u4e2d\u7684\u7b2c\u4e00\u5757\u78c1\u76d8\uff09\uff0c\n# --direct=1\u8868\u793a\u4f7f\u7528\u76f4\u63a5 I/O \u6a21\u5f0f\uff0c\u8df3\u8fc7\u64cd\u4f5c\u7cfb\u7edf\u7684\u7f13\u5b58\uff0c\n# --rw=read\u8868\u793a\u6d4b\u8bd5\u8bfb\u53d6\u6a21\u5f0f\uff0c\n# --bs=1M\u8868\u793a\u5757\u5927\u5c0f\u4e3a 1MB\uff0c\n# --size=1G\u8868\u793a\u6d4b\u8bd5\u6570\u636e\u5927\u5c0f\u4e3a 1GB\uff0c\n# --numjobs=1\u8868\u793a\u4f7f\u7528 1 \u4e2a\u7ebf\u7a0b\uff0c\n# --iodepth=1\u8868\u793a I/O \u961f\u5217\u6df1\u5ea6\u4e3a 1\u3002\nfio --name=seq-read --filename=/dev/sda --direct=1 --rw=read --bs=1M --size=1G --numjobs=1 --iodepth=1\n# \u968f\u673a\u5199\u5165\u6d4b\u8bd5\n# \u4e0e\u987a\u5e8f\u8bfb\u53d6\u6d4b\u8bd5\u7c7b\u4f3c\uff0c\u4f46\u8fd9\u91cc\n# --rw = write\u8868\u793a\u6d4b\u8bd5\u5199\u5165\u6a21\u5f0f\uff0c\n# --bs = 4k\u8868\u793a\u5757\u5927\u5c0f\u4e3a 4KB\uff0c\n# --numjobs = 4\u8868\u793a\u4f7f\u7528 4 \u4e2a\u7ebf\u7a0b\uff0c\n# --iodepth = 16\u8868\u793a I/O \u961f\u5217\u6df1\u5ea6\u4e3a 16\uff0c\u8fd9\u79cd\u914d\u7f6e\u66f4\u9002\u5408\u6a21\u62df\u591a\u7528\u6237\u540c\u65f6\u5199\u5165\u5c0f\u6587\u4ef6\u7684\u573a\u666f\uff0c\u5982\u6570\u636e\u5e93\u4e8b\u52a1\u5199\u5165\u3002\nfio --name=rand-write --filename=/dev/sda --direct=1 --rw=write --bs=4k --size=512M --numjobs=4 --iodepth=16\n# \n# \u6d4b\u8bd5\u7ed3\u679c\u89e3\u8bfb\n# \u5e26\u5bbd\uff08Bandwidth\uff09\uff1a\n# \u5355\u4f4d\u901a\u5e38\u662f MB/s \u6216 GB/s\uff0c\u8868\u793a\u6bcf\u79d2\u8bfb\u5199\u7684\u6570\u636e\u91cf\u3002\u4f8b\u5982\uff0c\u6d4b\u8bd5\u7ed3\u679c\u663e\u793a\u987a\u5e8f\u8bfb\u53d6\u5e26\u5bbd\u4e3a 100MB/s\uff0c\u610f\u5473\u7740\u6bcf\u79d2\u53ef\u4ee5\u4ece\u5b58\u50a8\u8bbe\u5907\u8bfb\u53d6 100MB \u7684\u6570\u636e\u3002\u5e26\u5bbd\u8d8a\u9ad8\uff0c\u8bf4\u660e\u5b58\u50a8\u8bbe\u5907\u5728\u8be5\u6a21\u5f0f\u4e0b\u7684\u6570\u636e\u4f20\u8f93\u901f\u5ea6\u8d8a\u5feb\u3002\n# IOPS\uff08Input/Output Operations Per Second\uff09\uff1a\n# \u5373\u6bcf\u79d2 I/O \u64cd\u4f5c\u6b21\u6570\u3002\u5728\u968f\u673a\u8bfb\u5199\u6d4b\u8bd5\u4e2d\uff0cIOPS \u662f\u4e00\u4e2a\u91cd\u8981\u7684\u6307\u6807\u3002\u4f8b\u5982\uff0c\u6d4b\u8bd5\u7ed3\u679c\u663e\u793a\u968f\u673a\u5199\u5165 IOPS \u4e3a 10000\uff0c\u8bf4\u660e\u6bcf\u79d2\u53ef\u4ee5\u8fdb\u884c 10000 \u6b21\u5199\u5165\u64cd\u4f5c\u3002\u5bf9\u4e8e\u6570\u636e\u5e93\u7b49\u5bf9\u5c0f\u6587\u4ef6\u9891\u7e41\u8bfb\u5199\u7684\u5e94\u7528\uff0c\u9ad8 IOPS \u610f\u5473\u7740\u66f4\u597d\u7684\u6027\u80fd\u3002\n# \u5ef6\u8fdf\uff08Latency\uff09\uff1a\n# \u4ee5\u7eb3\u79d2\uff08ns\uff09\u3001\u5fae\u79d2\uff08\u03bcs\uff09\u6216\u6beb\u79d2\uff08ms\uff09\u4e3a\u5355\u4f4d\uff0c\u4ee3\u8868\u6bcf\u4e2a I/O \u64cd\u4f5c\u4ece\u53d1\u8d77\u8bf7\u6c42\u5230\u5b8c\u6210\u7684\u65f6\u95f4\u3002\u4f8b\u5982\uff0c\u5e73\u5747\u5199\u5165\u5ef6\u8fdf\u4e3a 100\u03bcs\uff0c\u8868\u793a\u6bcf\u4e2a\u5199\u5165\u8bf7\u6c42\u5e73\u5747\u9700\u8981 100 \u5fae\u79d2\u624d\u80fd\u5b8c\u6210\u3002\u8f83\u4f4e\u7684\u5ef6\u8fdf\u8868\u793a\u5b58\u50a8\u8bbe\u5907\u80fd\u591f\u66f4\u5feb\u5730\u54cd\u5e94 I/O \u8bf7\u6c42\u3002\n\n")))}l.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8075],{15680:(e,n,t)=>{t.d(n,{xA:()=>d,yg:()=>y});var r=t(96540);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=r.createContext({}),u=function(e){var n=r.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):a(a({},n),e)),t},d=function(e){var n=u(e.components);return r.createElement(c.Provider,{value:n},e.children)},p="mdxType",l={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},f=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),p=u(t),f=o,y=p["".concat(c,".").concat(f)]||p[f]||l[f]||i;return t?r.createElement(y,a(a({ref:n},d),{},{components:t})):r.createElement(y,a({ref:n},d))}));function y(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var i=t.length,a=new Array(i);a[0]=f;var s={};for(var c in n)hasOwnProperty.call(n,c)&&(s[c]=n[c]);s.originalType=e,s[p]="string"==typeof e?e:o,a[1]=s;for(var u=2;u{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>a,default:()=>l,frontMatter:()=>i,metadata:()=>s,toc:()=>u});var r=t(58168),o=(t(96540),t(15680));const i={},a=void 0,s={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",id:"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",title:"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",description:"fio",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e"},next:{title:"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6"}},c={},u=[{value:"fio",id:"fio",level:3}],d={toc:u},p="wrapper";function l(e){let{components:n,...t}=e;return(0,o.yg)(p,(0,r.A)({},d,t,{components:n,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"fio"},"fio"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u987a\u5e8f\u8bfb\u53d6\u6d4b\u8bd5\n# --name\u53c2\u6570\u7528\u4e8e\u6307\u5b9a\u6d4b\u8bd5\u540d\u79f0\uff0c\n# --filename\u6307\u5b9a\u8981\u6d4b\u8bd5\u7684\u8bbe\u5907\uff08\u8fd9\u91cc\u662f/dev/sda\uff0c\u8868\u793a\u7cfb\u7edf\u4e2d\u7684\u7b2c\u4e00\u5757\u78c1\u76d8\uff09\uff0c\n# --direct=1\u8868\u793a\u4f7f\u7528\u76f4\u63a5 I/O \u6a21\u5f0f\uff0c\u8df3\u8fc7\u64cd\u4f5c\u7cfb\u7edf\u7684\u7f13\u5b58\uff0c\n# --rw=read\u8868\u793a\u6d4b\u8bd5\u8bfb\u53d6\u6a21\u5f0f\uff0c\n# --bs=1M\u8868\u793a\u5757\u5927\u5c0f\u4e3a 1MB\uff0c\n# --size=1G\u8868\u793a\u6d4b\u8bd5\u6570\u636e\u5927\u5c0f\u4e3a 1GB\uff0c\n# --numjobs=1\u8868\u793a\u4f7f\u7528 1 \u4e2a\u7ebf\u7a0b\uff0c\n# --iodepth=1\u8868\u793a I/O \u961f\u5217\u6df1\u5ea6\u4e3a 1\u3002\nfio --name=seq-read --filename=/dev/sda --direct=1 --rw=read --bs=1M --size=1G --numjobs=1 --iodepth=1\n# \u968f\u673a\u5199\u5165\u6d4b\u8bd5\n# \u4e0e\u987a\u5e8f\u8bfb\u53d6\u6d4b\u8bd5\u7c7b\u4f3c\uff0c\u4f46\u8fd9\u91cc\n# --rw = write\u8868\u793a\u6d4b\u8bd5\u5199\u5165\u6a21\u5f0f\uff0c\n# --bs = 4k\u8868\u793a\u5757\u5927\u5c0f\u4e3a 4KB\uff0c\n# --numjobs = 4\u8868\u793a\u4f7f\u7528 4 \u4e2a\u7ebf\u7a0b\uff0c\n# --iodepth = 16\u8868\u793a I/O \u961f\u5217\u6df1\u5ea6\u4e3a 16\uff0c\u8fd9\u79cd\u914d\u7f6e\u66f4\u9002\u5408\u6a21\u62df\u591a\u7528\u6237\u540c\u65f6\u5199\u5165\u5c0f\u6587\u4ef6\u7684\u573a\u666f\uff0c\u5982\u6570\u636e\u5e93\u4e8b\u52a1\u5199\u5165\u3002\nfio --name=rand-write --filename=/dev/sda --direct=1 --rw=write --bs=4k --size=512M --numjobs=4 --iodepth=16\n# \n# \u6d4b\u8bd5\u7ed3\u679c\u89e3\u8bfb\n# \u5e26\u5bbd\uff08Bandwidth\uff09\uff1a\n# \u5355\u4f4d\u901a\u5e38\u662f MB/s \u6216 GB/s\uff0c\u8868\u793a\u6bcf\u79d2\u8bfb\u5199\u7684\u6570\u636e\u91cf\u3002\u4f8b\u5982\uff0c\u6d4b\u8bd5\u7ed3\u679c\u663e\u793a\u987a\u5e8f\u8bfb\u53d6\u5e26\u5bbd\u4e3a 100MB/s\uff0c\u610f\u5473\u7740\u6bcf\u79d2\u53ef\u4ee5\u4ece\u5b58\u50a8\u8bbe\u5907\u8bfb\u53d6 100MB \u7684\u6570\u636e\u3002\u5e26\u5bbd\u8d8a\u9ad8\uff0c\u8bf4\u660e\u5b58\u50a8\u8bbe\u5907\u5728\u8be5\u6a21\u5f0f\u4e0b\u7684\u6570\u636e\u4f20\u8f93\u901f\u5ea6\u8d8a\u5feb\u3002\n# IOPS\uff08Input/Output Operations Per Second\uff09\uff1a\n# \u5373\u6bcf\u79d2 I/O \u64cd\u4f5c\u6b21\u6570\u3002\u5728\u968f\u673a\u8bfb\u5199\u6d4b\u8bd5\u4e2d\uff0cIOPS \u662f\u4e00\u4e2a\u91cd\u8981\u7684\u6307\u6807\u3002\u4f8b\u5982\uff0c\u6d4b\u8bd5\u7ed3\u679c\u663e\u793a\u968f\u673a\u5199\u5165 IOPS \u4e3a 10000\uff0c\u8bf4\u660e\u6bcf\u79d2\u53ef\u4ee5\u8fdb\u884c 10000 \u6b21\u5199\u5165\u64cd\u4f5c\u3002\u5bf9\u4e8e\u6570\u636e\u5e93\u7b49\u5bf9\u5c0f\u6587\u4ef6\u9891\u7e41\u8bfb\u5199\u7684\u5e94\u7528\uff0c\u9ad8 IOPS \u610f\u5473\u7740\u66f4\u597d\u7684\u6027\u80fd\u3002\n# \u5ef6\u8fdf\uff08Latency\uff09\uff1a\n# \u4ee5\u7eb3\u79d2\uff08ns\uff09\u3001\u5fae\u79d2\uff08\u03bcs\uff09\u6216\u6beb\u79d2\uff08ms\uff09\u4e3a\u5355\u4f4d\uff0c\u4ee3\u8868\u6bcf\u4e2a I/O \u64cd\u4f5c\u4ece\u53d1\u8d77\u8bf7\u6c42\u5230\u5b8c\u6210\u7684\u65f6\u95f4\u3002\u4f8b\u5982\uff0c\u5e73\u5747\u5199\u5165\u5ef6\u8fdf\u4e3a 100\u03bcs\uff0c\u8868\u793a\u6bcf\u4e2a\u5199\u5165\u8bf7\u6c42\u5e73\u5747\u9700\u8981 100 \u5fae\u79d2\u624d\u80fd\u5b8c\u6210\u3002\u8f83\u4f4e\u7684\u5ef6\u8fdf\u8868\u793a\u5b58\u50a8\u8bbe\u5907\u80fd\u591f\u66f4\u5feb\u5730\u54cd\u5e94 I/O \u8bf7\u6c42\u3002\n\n")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6b91e1af.e2271c88.js b/assets/js/6b91e1af.fcbbcf0c.js similarity index 98% rename from assets/js/6b91e1af.e2271c88.js rename to assets/js/6b91e1af.fcbbcf0c.js index b58c9ff01..8fcf23bb0 100644 --- a/assets/js/6b91e1af.e2271c88.js +++ b/assets/js/6b91e1af.fcbbcf0c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6902],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),i=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},u=function(e){var t=i(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),d=i(r),y=a,f=d["".concat(c,".").concat(y)]||d[y]||p[y]||o;return r?n.createElement(f,s(s({ref:t},u),{},{components:r})):n.createElement(f,s({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,s=new Array(o);s[0]=y;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[d]="string"==typeof e?e:a,s[1]=l;for(var i=2;i{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>p,frontMatter:()=>o,metadata:()=>l,toc:()=>i});var n=r(58168),a=(r(96540),r(15680));const o={},s=void 0,l={unversionedId:"study/db/NoSQL/Cassandra",id:"study/db/NoSQL/Cassandra",title:"Cassandra",description:"\u7b80\u4ecb",source:"@site/docs/study/db/NoSQL/Cassandra.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Cassandra",permalink:"/docs/study/db/NoSQL/Cassandra",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TiDB",permalink:"/docs/study/db/NewSQL/TiDB"},next:{title:"Etcd",permalink:"/docs/study/db/NoSQL/Etcd"}},c={},i=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3}],u={toc:i},d="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"Apache Cassandra \u662f\u4e00\u5957\u5f00\u6e90\u5206\u5e03\u5f0f Key-Value \u5b58\u50a8\u7cfb\u7edf\u3002\u5b83\u6700\u521d\u7531 Facebook \u5f00\u53d1\uff0c\u7528\u4e8e\u50a8\u5b58\u7279\u522b\u5927\u7684\u6570\u636e\u3002"),(0,a.yg)("p",null,"\u4e3b\u8981\u7279\u6027\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5206\u5e03\u5f0f"),(0,a.yg)("li",{parentName:"ul"},"\u57fa\u4e8ecolumn\u7684\u7ed3\u6784\u5316"),(0,a.yg)("li",{parentName:"ul"},"\u9ad8\u4f38\u7f29\u6027")),(0,a.yg)("p",null,"Cassandra \u7684\u4e3b\u8981\u7279\u70b9\u5c31\u662f\u5b83\u4e0d\u662f\u4e00\u4e2a\u6570\u636e\u5e93\uff0c\u800c\u662f\u7531\u4e00\u5806\u6570\u636e\u5e93\u8282\u70b9\u5171\u540c\u6784\u6210\u7684\u4e00\u4e2a\u5206\u5e03\u5f0f\u7f51\u7edc\u670d\u52a1\uff0c\u5bf9 Cassandra \u7684\u4e00\u4e2a\u5199\u64cd\u4f5c\uff0c\u4f1a\u88ab\u590d\u5236\u5230\u5176\u4ed6\u8282\u70b9\u4e0a\u53bb\uff0c\u5bf9 Cassandra \u7684\u8bfb\u64cd\u4f5c\uff0c\u4e5f\u4f1a\u88ab\u8def\u7531\u5230\u67d0\u4e2a\u8282\u70b9\u4e0a\u9762\u53bb\u8bfb\u53d6\u3002\u5bf9\u4e8e\u4e00\u4e2a Cassandra \u7fa4\u96c6\u6765\u8bf4\uff0c\u6269\u5c55\u6027\u80fd \u662f\u6bd4\u8f83\u7b80\u5355\u7684\u4e8b\u60c5\uff0c\u53ea\u7ba1\u5728\u7fa4\u96c6\u91cc\u9762\u6dfb\u52a0\u8282\u70b9\u5c31\u53ef\u4ee5\u4e86\u3002"),(0,a.yg)("p",null,"Cassandra \u662f\u4e00\u4e2a\u6df7\u5408\u578b\u7684\u975e\u5173\u7cfb\u7684\u6570\u636e\u5e93\uff0c\u7c7b\u4f3c\u4e8e Google \u7684 BigTable\u3002\u5176\u4e3b\u8981\u529f\u80fd\u6bd4 Dynomite\uff08\u5206\u5e03\u5f0f\u7684 Key-Value \u5b58 \u50a8\u7cfb\u7edf\uff09\u66f4\u4e30\u5bcc\uff0c\u4f46\u652f\u6301\u5ea6\u5374\u4e0d\u5982\u6587\u6863\u5b58\u50a8 MongoDB\uff08\u4ecb\u4e8e\u5173\u7cfb\u6570\u636e\u5e93\u548c\u975e\u5173\u7cfb\u6570\u636e\u5e93\u4e4b\u95f4\u7684\u5f00\u6e90\u4ea7\u54c1\uff0c\u662f\u975e\u5173\u7cfb\u6570\u636e\u5e93\u5f53\u4e2d\u529f\u80fd\u6700\u4e30\u5bcc\uff0c\u6700\u50cf\u5173\u7cfb\u6570\u636e\u5e93 \u7684\u3002\u652f\u6301\u7684\u6570\u636e\u7ed3\u6784\u975e\u5e38\u677e\u6563\uff0c\u662f\u7c7b\u4f3c json \u7684 bjson \u683c\u5f0f\uff0c\u56e0\u6b64\u53ef\u4ee5\u5b58\u50a8\u6bd4\u8f83\u590d\u6742\u7684\u6570\u636e\u7c7b\u578b\u3002\uff09Cassandra \u6700\u521d\u7531 Facebook \u5f00\u53d1\uff0c\u540e\u8f6c\u53d8\u6210\u4e86\u5f00\u6e90\u9879\u76ee\u3002\u5b83\u662f\u4e00\u4e2a\u7f51\u7edc\u793e\u4ea4\u4e91\u8ba1\u7b97\u65b9\u9762\u7406\u60f3\u7684\u6570\u636e\u5e93\u3002\u4ee5 Amazon \u4e13\u6709\u7684\u5b8c\u5168\u5206\u5e03\u5f0f\u7684 Dynamo \u4e3a\u57fa\u7840\uff0c\u7ed3\u5408\u4e86 Google BigTable \u57fa\u4e8e\u5217\u65cf\uff08Column Family\uff09\u7684\u6570\u636e\u6a21\u578b\u3002P2P \u53bb\u4e2d\u5fc3\u5316\u7684\u5b58\u50a8\u3002\u5f88\u591a\u65b9\u9762\u90fd\u53ef\u4ee5\u79f0\u4e4b\u4e3a Dynamo 2.0\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"http://www.cassandra.com.cn/"},"\u4e2d\u6587\u5b98\u7f51\u5730\u5740")))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6902],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),i=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},u=function(e){var t=i(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),d=i(r),y=a,f=d["".concat(c,".").concat(y)]||d[y]||p[y]||o;return r?n.createElement(f,s(s({ref:t},u),{},{components:r})):n.createElement(f,s({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,s=new Array(o);s[0]=y;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[d]="string"==typeof e?e:a,s[1]=l;for(var i=2;i{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>p,frontMatter:()=>o,metadata:()=>l,toc:()=>i});var n=r(58168),a=(r(96540),r(15680));const o={},s=void 0,l={unversionedId:"study/db/NoSQL/Cassandra",id:"study/db/NoSQL/Cassandra",title:"Cassandra",description:"\u7b80\u4ecb",source:"@site/docs/study/db/NoSQL/Cassandra.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Cassandra",permalink:"/docs/study/db/NoSQL/Cassandra",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TiDB",permalink:"/docs/study/db/NewSQL/TiDB"},next:{title:"Etcd",permalink:"/docs/study/db/NoSQL/Etcd"}},c={},i=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3}],u={toc:i},d="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"Apache Cassandra \u662f\u4e00\u5957\u5f00\u6e90\u5206\u5e03\u5f0f Key-Value \u5b58\u50a8\u7cfb\u7edf\u3002\u5b83\u6700\u521d\u7531 Facebook \u5f00\u53d1\uff0c\u7528\u4e8e\u50a8\u5b58\u7279\u522b\u5927\u7684\u6570\u636e\u3002"),(0,a.yg)("p",null,"\u4e3b\u8981\u7279\u6027\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5206\u5e03\u5f0f"),(0,a.yg)("li",{parentName:"ul"},"\u57fa\u4e8ecolumn\u7684\u7ed3\u6784\u5316"),(0,a.yg)("li",{parentName:"ul"},"\u9ad8\u4f38\u7f29\u6027")),(0,a.yg)("p",null,"Cassandra \u7684\u4e3b\u8981\u7279\u70b9\u5c31\u662f\u5b83\u4e0d\u662f\u4e00\u4e2a\u6570\u636e\u5e93\uff0c\u800c\u662f\u7531\u4e00\u5806\u6570\u636e\u5e93\u8282\u70b9\u5171\u540c\u6784\u6210\u7684\u4e00\u4e2a\u5206\u5e03\u5f0f\u7f51\u7edc\u670d\u52a1\uff0c\u5bf9 Cassandra \u7684\u4e00\u4e2a\u5199\u64cd\u4f5c\uff0c\u4f1a\u88ab\u590d\u5236\u5230\u5176\u4ed6\u8282\u70b9\u4e0a\u53bb\uff0c\u5bf9 Cassandra \u7684\u8bfb\u64cd\u4f5c\uff0c\u4e5f\u4f1a\u88ab\u8def\u7531\u5230\u67d0\u4e2a\u8282\u70b9\u4e0a\u9762\u53bb\u8bfb\u53d6\u3002\u5bf9\u4e8e\u4e00\u4e2a Cassandra \u7fa4\u96c6\u6765\u8bf4\uff0c\u6269\u5c55\u6027\u80fd \u662f\u6bd4\u8f83\u7b80\u5355\u7684\u4e8b\u60c5\uff0c\u53ea\u7ba1\u5728\u7fa4\u96c6\u91cc\u9762\u6dfb\u52a0\u8282\u70b9\u5c31\u53ef\u4ee5\u4e86\u3002"),(0,a.yg)("p",null,"Cassandra \u662f\u4e00\u4e2a\u6df7\u5408\u578b\u7684\u975e\u5173\u7cfb\u7684\u6570\u636e\u5e93\uff0c\u7c7b\u4f3c\u4e8e Google \u7684 BigTable\u3002\u5176\u4e3b\u8981\u529f\u80fd\u6bd4 Dynomite\uff08\u5206\u5e03\u5f0f\u7684 Key-Value \u5b58 \u50a8\u7cfb\u7edf\uff09\u66f4\u4e30\u5bcc\uff0c\u4f46\u652f\u6301\u5ea6\u5374\u4e0d\u5982\u6587\u6863\u5b58\u50a8 MongoDB\uff08\u4ecb\u4e8e\u5173\u7cfb\u6570\u636e\u5e93\u548c\u975e\u5173\u7cfb\u6570\u636e\u5e93\u4e4b\u95f4\u7684\u5f00\u6e90\u4ea7\u54c1\uff0c\u662f\u975e\u5173\u7cfb\u6570\u636e\u5e93\u5f53\u4e2d\u529f\u80fd\u6700\u4e30\u5bcc\uff0c\u6700\u50cf\u5173\u7cfb\u6570\u636e\u5e93 \u7684\u3002\u652f\u6301\u7684\u6570\u636e\u7ed3\u6784\u975e\u5e38\u677e\u6563\uff0c\u662f\u7c7b\u4f3c json \u7684 bjson \u683c\u5f0f\uff0c\u56e0\u6b64\u53ef\u4ee5\u5b58\u50a8\u6bd4\u8f83\u590d\u6742\u7684\u6570\u636e\u7c7b\u578b\u3002\uff09Cassandra \u6700\u521d\u7531 Facebook \u5f00\u53d1\uff0c\u540e\u8f6c\u53d8\u6210\u4e86\u5f00\u6e90\u9879\u76ee\u3002\u5b83\u662f\u4e00\u4e2a\u7f51\u7edc\u793e\u4ea4\u4e91\u8ba1\u7b97\u65b9\u9762\u7406\u60f3\u7684\u6570\u636e\u5e93\u3002\u4ee5 Amazon \u4e13\u6709\u7684\u5b8c\u5168\u5206\u5e03\u5f0f\u7684 Dynamo \u4e3a\u57fa\u7840\uff0c\u7ed3\u5408\u4e86 Google BigTable \u57fa\u4e8e\u5217\u65cf\uff08Column Family\uff09\u7684\u6570\u636e\u6a21\u578b\u3002P2P \u53bb\u4e2d\u5fc3\u5316\u7684\u5b58\u50a8\u3002\u5f88\u591a\u65b9\u9762\u90fd\u53ef\u4ee5\u79f0\u4e4b\u4e3a Dynamo 2.0\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"http://www.cassandra.com.cn/"},"\u4e2d\u6587\u5b98\u7f51\u5730\u5740")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6bfc7002.258c8ab9.js b/assets/js/6bfc7002.71f76a7d.js similarity index 98% rename from assets/js/6bfc7002.258c8ab9.js rename to assets/js/6bfc7002.71f76a7d.js index b46d58094..d2c730756 100644 --- a/assets/js/6bfc7002.258c8ab9.js +++ b/assets/js/6bfc7002.71f76a7d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7165],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),l=p(r),y=o,f=l["".concat(s,".").concat(y)]||l[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[l]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"study/devops/index",id:"study/devops/index",title:"\u6982\u8ff0",description:"\u8f6f\u4ef6\u5f00\u53d1 + \u7cfb\u7edf\u8fd0\u7ef4",source:"@site/docs/study/devops/index.md",sourceDirName:"study/devops",slug:"/study/devops/",permalink:"/docs/study/devops/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",permalink:"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6"},next:{title:"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",permalink:"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790"}},s={},p=[],u={toc:p},l="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u8f6f\u4ef6\u5f00\u53d1 + \u7cfb\u7edf\u8fd0\u7ef4"),(0,o.yg)("p",null,"\u7ad9\u5728\u5f00\u53d1\u7684\u89d2\u5ea6\uff0c\u4e00\u4e9b\u5e38\u7528\u7684\u8fd0\u7ef4\u624b\u6bb5\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7165],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),l=p(r),y=o,f=l["".concat(s,".").concat(y)]||l[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[l]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"study/devops/index",id:"study/devops/index",title:"\u6982\u8ff0",description:"\u8f6f\u4ef6\u5f00\u53d1 + \u7cfb\u7edf\u8fd0\u7ef4",source:"@site/docs/study/devops/index.md",sourceDirName:"study/devops",slug:"/study/devops/",permalink:"/docs/study/devops/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",permalink:"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6"},next:{title:"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",permalink:"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790"}},s={},p=[],u={toc:p},l="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u8f6f\u4ef6\u5f00\u53d1 + \u7cfb\u7edf\u8fd0\u7ef4"),(0,o.yg)("p",null,"\u7ad9\u5728\u5f00\u53d1\u7684\u89d2\u5ea6\uff0c\u4e00\u4e9b\u5e38\u7528\u7684\u8fd0\u7ef4\u624b\u6bb5\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6c0bce26.192a301a.js b/assets/js/6c0bce26.14dd7808.js similarity index 98% rename from assets/js/6c0bce26.192a301a.js rename to assets/js/6c0bce26.14dd7808.js index 79fe4a18e..be164b6ca 100644 --- a/assets/js/6c0bce26.192a301a.js +++ b/assets/js/6c0bce26.14dd7808.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1980],{15680:(e,r,n)=>{n.d(r,{xA:()=>u,yg:()=>v});var t=n(96540);function o(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function a(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function i(e){for(var r=1;r=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=t.createContext({}),p=function(e){var r=t.useContext(c),n=r;return e&&(n="function"==typeof e?e(r):i(i({},r),e)),n},u=function(e){var r=p(e.components);return t.createElement(c.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},g=t.forwardRef((function(e,r){var n=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(n),g=o,v=s["".concat(c,".").concat(g)]||s[g]||d[g]||a;return n?t.createElement(v,i(i({ref:r},u),{},{components:n})):t.createElement(v,i({ref:r},u))}));function v(e,r){var n=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=g;var l={};for(var c in r)hasOwnProperty.call(r,c)&&(l[c]=r[c]);l.originalType=e,l[s]="string"==typeof e?e:o,i[1]=l;for(var p=2;p{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var t=n(58168),o=(n(96540),n(15680));const a={},i=void 0,l={unversionedId:"study/back/maven/\u6784\u5efaDocker",id:"study/back/maven/\u6784\u5efaDocker",title:"\u6784\u5efaDocker",description:"\u6784\u5efa Java SpringBoot Docker \u955c\u50cf",source:"@site/docs/study/back/maven/\u6784\u5efaDocker.md",sourceDirName:"study/back/maven",slug:"/study/back/maven/\u6784\u5efaDocker",permalink:"/docs/study/back/maven/\u6784\u5efaDocker",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5e38\u7528\u53c2\u6570",permalink:"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570"},next:{title:"Kafka",permalink:"/docs/study/back/mq/Kafka"}},c={},p=[{value:"\u6784\u5efa Java SpringBoot Docker \u955c\u50cf",id:"\u6784\u5efa-java-springboot-docker-\u955c\u50cf",level:3},{value:"\u6700\u4e3a\u539f\u59cb\u7684\u65b9\u5f0f",id:"\u6700\u4e3a\u539f\u59cb\u7684\u65b9\u5f0f",level:4},{value:"spring-boot-maven-plugin",id:"spring-boot-maven-plugin",level:4},{value:"jib-maven-plugin",id:"jib-maven-plugin",level:4},{value:"dockerfle-maven-plugin",id:"dockerfle-maven-plugin",level:4}],u={toc:p},s="wrapper";function d(e){let{components:r,...n}=e;return(0,o.yg)(s,(0,t.A)({},u,n,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u6784\u5efa-java-springboot-docker-\u955c\u50cf"},"\u6784\u5efa Java SpringBoot Docker \u955c\u50cf"),(0,o.yg)("h4",{id:"\u6700\u4e3a\u539f\u59cb\u7684\u65b9\u5f0f"},"\u6700\u4e3a\u539f\u59cb\u7684\u65b9\u5f0f"),(0,o.yg)("p",null,"\u4e5f\u5c31\u662f\u4f7f\u7528 Docker \u7684\u6253\u5305\u547d\u4ee4\u53bb\u6253\u5305"),(0,o.yg)("h4",{id:"spring-boot-maven-plugin"},"spring-boot-maven-plugin"),(0,o.yg)("p",null,"SpringBoot \u81ea\u5df1\u5185\u7f6e\u4e86\u4e00\u4e2a Docker \u955c\u50cf\u6253\u5305\u5de5\u5177\uff0c\u5728 spring-boot-starter-parent \u4e2d\uff0c\u6211\u4eec\u65e0\u9700\u591a\u4f59\u7684\u8bbe\u7f6e\u3002"),(0,o.yg)("p",null,"\u4f18\u70b9\uff1a\u4e0d\u9700\u8981\u5199 DockerFile\uff0cSpring \u5efa\u8bae\u7684\u5b89\u5168\u3001\u5185\u5b58\u3001\u6027\u80fd\u7b49\u95ee\u9898\u90fd\u4e0d\u9700\u8981\u7ba1\u3002"),(0,o.yg)("h4",{id:"jib-maven-plugin"},"jib-maven-plugin"),(0,o.yg)("p",null,"\u6765\u81ea Google \u7684\u4e00\u6b3e\u6253\u5305\u63d2\u4ef6\u3002"),(0,o.yg)("p",null,"\u4f18\u70b9\uff1a\u4e0d\u9700\u8981\u672c\u5730\u5b89\u88c5 Docker\uff0c\u4e5f\u4e0d\u9700\u8981\u5199 DockerFile\uff0cJib \u53ef\u4ee5\u76f4\u63a5\u63a8\u9001\u5230\u6307\u5b9a\u7684 Docker \u4ed3\u5e93\u3002"),(0,o.yg)("h4",{id:"dockerfle-maven-plugin"},"dockerfle-maven-plugin"),(0,o.yg)("p",null,"\u9700\u8981\u5199 DockerFile \u4e5f\u9700\u8981\u672c\u5730 Docker \u73af\u5883\uff0c\u4f46\u662f\u6070\u6070\u662f\u6700\u597d\u7528\u7684\uff0c\u6700\u7a33\u5b9a\u7684\uff0c\u6700\u81ea\u7531\u628a\u63a7\u7684\u3002"),(0,o.yg)("p",null,"\u4f18\u70b9\uff1a\u7a33\u5b9a\uff0c\u4e0d\u53d7\u7f51\u7edc\u9650\u5236\uff0cDockerFile \u81ea\u5df1\u5199\uff0c\u81ea\u7531\u5ea6\u5f88\u9ad8\uff0c\u60f3\u600e\u4e48\u6539\u600e\u4e48\u6539\uff0c\u4e2a\u4eba\u63a8\u8350\u8fd9\u4e2a\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1980],{15680:(e,r,n)=>{n.d(r,{xA:()=>u,yg:()=>v});var t=n(96540);function o(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function a(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function i(e){for(var r=1;r=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=t.createContext({}),p=function(e){var r=t.useContext(c),n=r;return e&&(n="function"==typeof e?e(r):i(i({},r),e)),n},u=function(e){var r=p(e.components);return t.createElement(c.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},g=t.forwardRef((function(e,r){var n=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(n),g=o,v=s["".concat(c,".").concat(g)]||s[g]||d[g]||a;return n?t.createElement(v,i(i({ref:r},u),{},{components:n})):t.createElement(v,i({ref:r},u))}));function v(e,r){var n=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=g;var l={};for(var c in r)hasOwnProperty.call(r,c)&&(l[c]=r[c]);l.originalType=e,l[s]="string"==typeof e?e:o,i[1]=l;for(var p=2;p{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var t=n(58168),o=(n(96540),n(15680));const a={},i=void 0,l={unversionedId:"study/back/maven/\u6784\u5efaDocker",id:"study/back/maven/\u6784\u5efaDocker",title:"\u6784\u5efaDocker",description:"\u6784\u5efa Java SpringBoot Docker \u955c\u50cf",source:"@site/docs/study/back/maven/\u6784\u5efaDocker.md",sourceDirName:"study/back/maven",slug:"/study/back/maven/\u6784\u5efaDocker",permalink:"/docs/study/back/maven/\u6784\u5efaDocker",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5e38\u7528\u53c2\u6570",permalink:"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570"},next:{title:"Kafka",permalink:"/docs/study/back/mq/Kafka"}},c={},p=[{value:"\u6784\u5efa Java SpringBoot Docker \u955c\u50cf",id:"\u6784\u5efa-java-springboot-docker-\u955c\u50cf",level:3},{value:"\u6700\u4e3a\u539f\u59cb\u7684\u65b9\u5f0f",id:"\u6700\u4e3a\u539f\u59cb\u7684\u65b9\u5f0f",level:4},{value:"spring-boot-maven-plugin",id:"spring-boot-maven-plugin",level:4},{value:"jib-maven-plugin",id:"jib-maven-plugin",level:4},{value:"dockerfle-maven-plugin",id:"dockerfle-maven-plugin",level:4}],u={toc:p},s="wrapper";function d(e){let{components:r,...n}=e;return(0,o.yg)(s,(0,t.A)({},u,n,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u6784\u5efa-java-springboot-docker-\u955c\u50cf"},"\u6784\u5efa Java SpringBoot Docker \u955c\u50cf"),(0,o.yg)("h4",{id:"\u6700\u4e3a\u539f\u59cb\u7684\u65b9\u5f0f"},"\u6700\u4e3a\u539f\u59cb\u7684\u65b9\u5f0f"),(0,o.yg)("p",null,"\u4e5f\u5c31\u662f\u4f7f\u7528 Docker \u7684\u6253\u5305\u547d\u4ee4\u53bb\u6253\u5305"),(0,o.yg)("h4",{id:"spring-boot-maven-plugin"},"spring-boot-maven-plugin"),(0,o.yg)("p",null,"SpringBoot \u81ea\u5df1\u5185\u7f6e\u4e86\u4e00\u4e2a Docker \u955c\u50cf\u6253\u5305\u5de5\u5177\uff0c\u5728 spring-boot-starter-parent \u4e2d\uff0c\u6211\u4eec\u65e0\u9700\u591a\u4f59\u7684\u8bbe\u7f6e\u3002"),(0,o.yg)("p",null,"\u4f18\u70b9\uff1a\u4e0d\u9700\u8981\u5199 DockerFile\uff0cSpring \u5efa\u8bae\u7684\u5b89\u5168\u3001\u5185\u5b58\u3001\u6027\u80fd\u7b49\u95ee\u9898\u90fd\u4e0d\u9700\u8981\u7ba1\u3002"),(0,o.yg)("h4",{id:"jib-maven-plugin"},"jib-maven-plugin"),(0,o.yg)("p",null,"\u6765\u81ea Google \u7684\u4e00\u6b3e\u6253\u5305\u63d2\u4ef6\u3002"),(0,o.yg)("p",null,"\u4f18\u70b9\uff1a\u4e0d\u9700\u8981\u672c\u5730\u5b89\u88c5 Docker\uff0c\u4e5f\u4e0d\u9700\u8981\u5199 DockerFile\uff0cJib \u53ef\u4ee5\u76f4\u63a5\u63a8\u9001\u5230\u6307\u5b9a\u7684 Docker \u4ed3\u5e93\u3002"),(0,o.yg)("h4",{id:"dockerfle-maven-plugin"},"dockerfle-maven-plugin"),(0,o.yg)("p",null,"\u9700\u8981\u5199 DockerFile \u4e5f\u9700\u8981\u672c\u5730 Docker \u73af\u5883\uff0c\u4f46\u662f\u6070\u6070\u662f\u6700\u597d\u7528\u7684\uff0c\u6700\u7a33\u5b9a\u7684\uff0c\u6700\u81ea\u7531\u628a\u63a7\u7684\u3002"),(0,o.yg)("p",null,"\u4f18\u70b9\uff1a\u7a33\u5b9a\uff0c\u4e0d\u53d7\u7f51\u7edc\u9650\u5236\uff0cDockerFile \u81ea\u5df1\u5199\uff0c\u81ea\u7531\u5ea6\u5f88\u9ad8\uff0c\u60f3\u600e\u4e48\u6539\u600e\u4e48\u6539\uff0c\u4e2a\u4eba\u63a8\u8350\u8fd9\u4e2a\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6c9e9146.f390e4a5.js b/assets/js/6c9e9146.094283c9.js similarity index 98% rename from assets/js/6c9e9146.f390e4a5.js rename to assets/js/6c9e9146.094283c9.js index 56f64d9ca..3366ad7df 100644 --- a/assets/js/6c9e9146.f390e4a5.js +++ b/assets/js/6c9e9146.094283c9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5464],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),u=l(r),y=o,f=u["".concat(s,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB",title:"KairosDB",description:"\u57fa\u672c\u4fe1\u606f",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Druid",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid"},next:{title:"OpenTSDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB"}},s={},l=[],p={toc:l},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u57fa\u672c\u4fe1\u606f")),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aJava"),(0,o.yg)("li",{parentName:"ol"},"\u5f00\u6e90\uff1a\u662f\uff0c\u4ed6\u662fOpenTSDB\u7684fork\uff0c\u4e0d\u8fc7\u5b58\u50a8\u7cfb\u7edf\u7528\u7684\u662fCassandra"),(0,o.yg)("li",{parentName:"ol"},"\u5b58\u50a8\u65b9\u6848\uff1aCassandra\uff0cCassandra \u662f\u4e00\u4e2a\u6bd4\u8f83\u6d41\u884c\u7684NoSQL\u6570\u636e\u5e93\uff0c\u5f88\u591a\u5f00\u6e90\u8f6f\u4ef6\u57fa\u4e8e\u6b64\u6570\u636e\u5e93\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u63a5\u53e3\uff1aRestful API")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5464],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),u=l(r),y=o,f=u["".concat(s,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB",title:"KairosDB",description:"\u57fa\u672c\u4fe1\u606f",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Druid",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid"},next:{title:"OpenTSDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB"}},s={},l=[],p={toc:l},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u57fa\u672c\u4fe1\u606f")),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aJava"),(0,o.yg)("li",{parentName:"ol"},"\u5f00\u6e90\uff1a\u662f\uff0c\u4ed6\u662fOpenTSDB\u7684fork\uff0c\u4e0d\u8fc7\u5b58\u50a8\u7cfb\u7edf\u7528\u7684\u662fCassandra"),(0,o.yg)("li",{parentName:"ol"},"\u5b58\u50a8\u65b9\u6848\uff1aCassandra\uff0cCassandra \u662f\u4e00\u4e2a\u6bd4\u8f83\u6d41\u884c\u7684NoSQL\u6570\u636e\u5e93\uff0c\u5f88\u591a\u5f00\u6e90\u8f6f\u4ef6\u57fa\u4e8e\u6b64\u6570\u636e\u5e93\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u63a5\u53e3\uff1aRestful API")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6cce85b2.eee4e36c.js b/assets/js/6cce85b2.36fbfbad.js similarity index 98% rename from assets/js/6cce85b2.eee4e36c.js rename to assets/js/6cce85b2.36fbfbad.js index 675432e9c..3b3f3aaf0 100644 --- a/assets/js/6cce85b2.eee4e36c.js +++ b/assets/js/6cce85b2.36fbfbad.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2039],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):u(u({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=l(r),y=a,f=s["".concat(c,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(f,u(u({ref:t},p),{},{components:r})):n.createElement(f,u({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,u=new Array(o);u[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:a,u[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>u,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},u="Lua",i={unversionedId:"study/program/Lua/index",id:"study/program/Lua/index",title:"Lua",description:"\u5b66\u4e60\u8d44\u6599",source:"@site/docs/study/program/Lua/index.md",sourceDirName:"study/program/Lua",slug:"/study/program/Lua/",permalink:"/docs/study/program/Lua/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Kotlin",permalink:"/docs/study/program/Kotlin/"},next:{title:"Rust",permalink:"/docs/study/program/Rust/"}},c={},l=[{value:"\u5b66\u4e60\u8d44\u6599",id:"\u5b66\u4e60\u8d44\u6599",level:3}],p={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"lua"},"Lua"),(0,a.yg)("h3",{id:"\u5b66\u4e60\u8d44\u6599"},"\u5b66\u4e60\u8d44\u6599"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.junmajinlong.com/lua/index/"},"Lua \u7b14\u8bb0\u7cfb\u5217"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2039],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):u(u({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=l(r),y=a,f=s["".concat(c,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(f,u(u({ref:t},p),{},{components:r})):n.createElement(f,u({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,u=new Array(o);u[0]=y;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:a,u[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>u,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},u="Lua",i={unversionedId:"study/program/Lua/index",id:"study/program/Lua/index",title:"Lua",description:"\u5b66\u4e60\u8d44\u6599",source:"@site/docs/study/program/Lua/index.md",sourceDirName:"study/program/Lua",slug:"/study/program/Lua/",permalink:"/docs/study/program/Lua/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Kotlin",permalink:"/docs/study/program/Kotlin/"},next:{title:"Rust",permalink:"/docs/study/program/Rust/"}},c={},l=[{value:"\u5b66\u4e60\u8d44\u6599",id:"\u5b66\u4e60\u8d44\u6599",level:3}],p={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"lua"},"Lua"),(0,a.yg)("h3",{id:"\u5b66\u4e60\u8d44\u6599"},"\u5b66\u4e60\u8d44\u6599"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.junmajinlong.com/lua/index/"},"Lua \u7b14\u8bb0\u7cfb\u5217"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6d57cdd2.67e5dc14.js b/assets/js/6d57cdd2.4b18d1ca.js similarity index 98% rename from assets/js/6d57cdd2.67e5dc14.js rename to assets/js/6d57cdd2.4b18d1ca.js index 1497fafef..9bdc3fd4d 100644 --- a/assets/js/6d57cdd2.67e5dc14.js +++ b/assets/js/6d57cdd2.4b18d1ca.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7466],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241111",id:"study/stock/20241111",title:"20241111",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241111.md",sourceDirName:"study/stock",slug:"/study/stock/20241111",permalink:"/docs/study/stock/20241111",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa"),(0,o.yg)("p",null,"\u7535\u5e7f\u4f20\u5a92 \u5982\u4f55\u5904\u7406\uff1a-3%\u4e70\u5165"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7466],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241111",id:"study/stock/20241111",title:"20241111",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241111.md",sourceDirName:"study/stock",slug:"/study/stock/20241111",permalink:"/docs/study/stock/20241111",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa"),(0,o.yg)("p",null,"\u7535\u5e7f\u4f20\u5a92 \u5982\u4f55\u5904\u7406\uff1a-3%\u4e70\u5165"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6de29db3.32b3422a.js b/assets/js/6de29db3.121c72a5.js similarity index 98% rename from assets/js/6de29db3.32b3422a.js rename to assets/js/6de29db3.121c72a5.js index 56b2dc780..82f89635b 100644 --- a/assets/js/6de29db3.32b3422a.js +++ b/assets/js/6de29db3.121c72a5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3066],{15680:(e,r,t)=>{t.d(r,{xA:()=>p,yg:()=>g});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=n.createContext({}),l=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},p=function(e){var r=l(e.components);return n.createElement(c.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=l(t),y=o,g=s["".concat(c,".").concat(y)]||s[y]||d[y]||i;return t?n.createElement(g,a(a({ref:r},p),{},{components:t})):n.createElement(g,a({ref:r},p))}));function g(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var i=t.length,a=new Array(i);a[0]=y;var u={};for(var c in r)hasOwnProperty.call(r,c)&&(u[c]=r[c]);u.originalType=e,u[s]="string"==typeof e?e:o,a[1]=u;for(var l=2;l{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>u,toc:()=>l});var n=t(58168),o=(t(96540),t(15680));const i={},a=void 0,u={unversionedId:"study/back/spring/@Resource@Autowired",id:"study/back/spring/@Resource@Autowired",title:"@Resource@Autowired",description:"@Autowired \u548c @Resource \u90fd\u662f\u7528\u6765\u5b9e\u73b0\u4f9d\u8d56\u6ce8\u5165\u7684\u6ce8\u89e3\uff08\u5728 Spring/Spring Boot \u9879\u76ee\u4e2d\uff09\uff0c\u4f46\u4e8c\u8005\u5374\u6709\u7740 5 \u70b9\u4e0d\u540c\uff1a",source:"@site/docs/study/back/spring/@Resource@Autowired.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/@Resource@Autowired",permalink:"/docs/study/back/spring/@Resource@Autowired",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"@Configuration",permalink:"/docs/study/back/spring/@Configuration"},next:{title:"Spring AOP",permalink:"/docs/study/back/spring/SpringAOP"}},c={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:l},s="wrapper";function d(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},p,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"@Autowired \u548c @Resource \u90fd\u662f\u7528\u6765\u5b9e\u73b0\u4f9d\u8d56\u6ce8\u5165\u7684\u6ce8\u89e3\uff08\u5728 Spring/Spring Boot \u9879\u76ee\u4e2d\uff09\uff0c\u4f46\u4e8c\u8005\u5374\u6709\u7740 5 \u70b9\u4e0d\u540c\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u6765\u6e90\u4e0d\u540c\uff1a@Autowired \u6765\u81ea Spring \u6846\u67b6\uff0c\u800c @Resource \u6765\u81ea\u4e8e\uff08Java\uff09JSR-250\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u4f9d\u8d56\u67e5\u627e\u7684\u987a\u5e8f\u4e0d\u540c\uff1a@Autowired \u5148\u6839\u636e\u7c7b\u578b\u518d\u6839\u636e\u540d\u79f0\u67e5\u8be2\uff0c\u800c @Resource \u5148\u6839\u636e\u540d\u79f0\u518d\u6839\u636e\u7c7b\u578b\u67e5\u8be2\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u652f\u6301\u7684\u53c2\u6570\u4e0d\u540c\uff1a@Autowired \u53ea\u652f\u6301\u8bbe\u7f6e 1 \u4e2a\u53c2\u6570\uff0c\u800c @Resource \u652f\u6301\u8bbe\u7f6e 7 \u4e2a\u53c2\u6570\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u4f9d\u8d56\u6ce8\u5165\u7684\u7528\u6cd5\u652f\u6301\u4e0d\u540c\uff1a@Autowired \u65e2\u652f\u6301\u6784\u9020\u65b9\u6cd5\u6ce8\u5165\uff0c\u53c8\u652f\u6301\u5c5e\u6027\u6ce8\u5165\u548c Setter \u6ce8\u5165\uff0c\u800c @Resource \u53ea\u652f\u6301\u5c5e\u6027\u6ce8\u5165\u548c Setter \u6ce8\u5165\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u7f16\u8bd1\u5668 IDEA \u7684\u63d0\u793a\u4e0d\u540c\uff1a\u5f53\u6ce8\u5165 Mapper \u5bf9\u8c61\u65f6\uff0c\u4f7f\u7528 @Autowired \u6ce8\u89e3\u7f16\u8bd1\u5668\u4f1a\u63d0\u793a\u9519\u8bef\uff0c\u800c\u4f7f\u7528 @Resource \u6ce8\u89e3\u5219\u4e0d\u4f1a\u63d0\u793a\u9519\u8bef\u3002")),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/xhbzl/article/details/126765893"},"CSDN-@Autowired \u548c@Resource \u5230\u5e95\u6709\u4ec0\u4e48\u533a\u522b"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3066],{15680:(e,r,t)=>{t.d(r,{xA:()=>p,yg:()=>g});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=n.createContext({}),l=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},p=function(e){var r=l(e.components);return n.createElement(c.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=l(t),y=o,g=s["".concat(c,".").concat(y)]||s[y]||d[y]||i;return t?n.createElement(g,a(a({ref:r},p),{},{components:t})):n.createElement(g,a({ref:r},p))}));function g(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var i=t.length,a=new Array(i);a[0]=y;var u={};for(var c in r)hasOwnProperty.call(r,c)&&(u[c]=r[c]);u.originalType=e,u[s]="string"==typeof e?e:o,a[1]=u;for(var l=2;l{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>u,toc:()=>l});var n=t(58168),o=(t(96540),t(15680));const i={},a=void 0,u={unversionedId:"study/back/spring/@Resource@Autowired",id:"study/back/spring/@Resource@Autowired",title:"@Resource@Autowired",description:"@Autowired \u548c @Resource \u90fd\u662f\u7528\u6765\u5b9e\u73b0\u4f9d\u8d56\u6ce8\u5165\u7684\u6ce8\u89e3\uff08\u5728 Spring/Spring Boot \u9879\u76ee\u4e2d\uff09\uff0c\u4f46\u4e8c\u8005\u5374\u6709\u7740 5 \u70b9\u4e0d\u540c\uff1a",source:"@site/docs/study/back/spring/@Resource@Autowired.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/@Resource@Autowired",permalink:"/docs/study/back/spring/@Resource@Autowired",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"@Configuration",permalink:"/docs/study/back/spring/@Configuration"},next:{title:"Spring AOP",permalink:"/docs/study/back/spring/SpringAOP"}},c={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:l},s="wrapper";function d(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},p,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"@Autowired \u548c @Resource \u90fd\u662f\u7528\u6765\u5b9e\u73b0\u4f9d\u8d56\u6ce8\u5165\u7684\u6ce8\u89e3\uff08\u5728 Spring/Spring Boot \u9879\u76ee\u4e2d\uff09\uff0c\u4f46\u4e8c\u8005\u5374\u6709\u7740 5 \u70b9\u4e0d\u540c\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u6765\u6e90\u4e0d\u540c\uff1a@Autowired \u6765\u81ea Spring \u6846\u67b6\uff0c\u800c @Resource \u6765\u81ea\u4e8e\uff08Java\uff09JSR-250\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u4f9d\u8d56\u67e5\u627e\u7684\u987a\u5e8f\u4e0d\u540c\uff1a@Autowired \u5148\u6839\u636e\u7c7b\u578b\u518d\u6839\u636e\u540d\u79f0\u67e5\u8be2\uff0c\u800c @Resource \u5148\u6839\u636e\u540d\u79f0\u518d\u6839\u636e\u7c7b\u578b\u67e5\u8be2\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u652f\u6301\u7684\u53c2\u6570\u4e0d\u540c\uff1a@Autowired \u53ea\u652f\u6301\u8bbe\u7f6e 1 \u4e2a\u53c2\u6570\uff0c\u800c @Resource \u652f\u6301\u8bbe\u7f6e 7 \u4e2a\u53c2\u6570\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u4f9d\u8d56\u6ce8\u5165\u7684\u7528\u6cd5\u652f\u6301\u4e0d\u540c\uff1a@Autowired \u65e2\u652f\u6301\u6784\u9020\u65b9\u6cd5\u6ce8\u5165\uff0c\u53c8\u652f\u6301\u5c5e\u6027\u6ce8\u5165\u548c Setter \u6ce8\u5165\uff0c\u800c @Resource \u53ea\u652f\u6301\u5c5e\u6027\u6ce8\u5165\u548c Setter \u6ce8\u5165\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u7f16\u8bd1\u5668 IDEA \u7684\u63d0\u793a\u4e0d\u540c\uff1a\u5f53\u6ce8\u5165 Mapper \u5bf9\u8c61\u65f6\uff0c\u4f7f\u7528 @Autowired \u6ce8\u89e3\u7f16\u8bd1\u5668\u4f1a\u63d0\u793a\u9519\u8bef\uff0c\u800c\u4f7f\u7528 @Resource \u6ce8\u89e3\u5219\u4e0d\u4f1a\u63d0\u793a\u9519\u8bef\u3002")),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/xhbzl/article/details/126765893"},"CSDN-@Autowired \u548c@Resource \u5230\u5e95\u6709\u4ec0\u4e48\u533a\u522b"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/72b2f356.a2f828b7.js b/assets/js/72b2f356.acba9bb5.js similarity index 98% rename from assets/js/72b2f356.a2f828b7.js rename to assets/js/72b2f356.acba9bb5.js index b7923e7ca..372840c93 100644 --- a/assets/js/72b2f356.a2f828b7.js +++ b/assets/js/72b2f356.acba9bb5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2700],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(r),y=o,f=s["".concat(c,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:o,i[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i="Kotlin",l={unversionedId:"study/program/Kotlin/index",id:"study/program/Kotlin/index",title:"Kotlin",description:"Kotlin\uff08\u79d1\u7279\u6797\uff09\u662f\u4e00\u4e2a\u7528\u4e8e\u73b0\u4ee3\u591a\u5e73\u53f0\u5e94\u7528\u7684\u9759\u6001\u7f16\u7a0b\u8bed\u8a00\uff0c\u7531 JetBrains \u5f00\u53d1\u3002",source:"@site/docs/study/program/Kotlin/index.md",sourceDirName:"study/program/Kotlin",slug:"/study/program/Kotlin/",permalink:"/docs/study/program/Kotlin/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"nrm",permalink:"/docs/study/program/JS/nrm"},next:{title:"Lua",permalink:"/docs/study/program/Lua/"}},c={},p=[],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"kotlin"},"Kotlin"),(0,o.yg)("p",null,"Kotlin\uff08\u79d1\u7279\u6797\uff09\u662f\u4e00\u4e2a\u7528\u4e8e\u73b0\u4ee3\u591a\u5e73\u53f0\u5e94\u7528\u7684\u9759\u6001\u7f16\u7a0b\u8bed\u8a00\uff0c\u7531 JetBrains \u5f00\u53d1\u3002"),(0,o.yg)("p",null,"Kotlin \u53ef\u4ee5\u7f16\u8bd1\u6210 Java \u5b57\u8282\u7801\uff0c\u4e5f\u53ef\u4ee5\u7f16\u8bd1\u6210 JavaScript\uff0c\u65b9\u4fbf\u5728\u6ca1\u6709 JVM \u7684\u8bbe\u5907\u4e0a\u8fd0\u884c\u3002\u9664\u6b64\u4e4b\u5916 Kotlin \u8fd8\u53ef\u4ee5\u7f16\u8bd1\u6210\u4e8c\u8fdb\u5236\u4ee3\u7801\u76f4\u63a5\u8fd0\u884c\u5728\u673a\u5668\u4e0a\uff08\u4f8b\u5982\u5d4c\u5165\u5f0f\u8bbe\u5907\u6216 iOS\uff09\u3002"),(0,o.yg)("p",null,"Kotlin \u5df2\u6b63\u5f0f\u6210\u4e3a Android \u5b98\u65b9\u652f\u6301\u5f00\u53d1\u8bed\u8a00\u3002"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://kotlinlang.org/"},"\u5b98\u65b9\u7f51\u7ad9")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2700],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(r),y=o,f=s["".concat(c,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:o,i[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i="Kotlin",l={unversionedId:"study/program/Kotlin/index",id:"study/program/Kotlin/index",title:"Kotlin",description:"Kotlin\uff08\u79d1\u7279\u6797\uff09\u662f\u4e00\u4e2a\u7528\u4e8e\u73b0\u4ee3\u591a\u5e73\u53f0\u5e94\u7528\u7684\u9759\u6001\u7f16\u7a0b\u8bed\u8a00\uff0c\u7531 JetBrains \u5f00\u53d1\u3002",source:"@site/docs/study/program/Kotlin/index.md",sourceDirName:"study/program/Kotlin",slug:"/study/program/Kotlin/",permalink:"/docs/study/program/Kotlin/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"nrm",permalink:"/docs/study/program/JS/nrm"},next:{title:"Lua",permalink:"/docs/study/program/Lua/"}},c={},p=[],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"kotlin"},"Kotlin"),(0,o.yg)("p",null,"Kotlin\uff08\u79d1\u7279\u6797\uff09\u662f\u4e00\u4e2a\u7528\u4e8e\u73b0\u4ee3\u591a\u5e73\u53f0\u5e94\u7528\u7684\u9759\u6001\u7f16\u7a0b\u8bed\u8a00\uff0c\u7531 JetBrains \u5f00\u53d1\u3002"),(0,o.yg)("p",null,"Kotlin \u53ef\u4ee5\u7f16\u8bd1\u6210 Java \u5b57\u8282\u7801\uff0c\u4e5f\u53ef\u4ee5\u7f16\u8bd1\u6210 JavaScript\uff0c\u65b9\u4fbf\u5728\u6ca1\u6709 JVM \u7684\u8bbe\u5907\u4e0a\u8fd0\u884c\u3002\u9664\u6b64\u4e4b\u5916 Kotlin \u8fd8\u53ef\u4ee5\u7f16\u8bd1\u6210\u4e8c\u8fdb\u5236\u4ee3\u7801\u76f4\u63a5\u8fd0\u884c\u5728\u673a\u5668\u4e0a\uff08\u4f8b\u5982\u5d4c\u5165\u5f0f\u8bbe\u5907\u6216 iOS\uff09\u3002"),(0,o.yg)("p",null,"Kotlin \u5df2\u6b63\u5f0f\u6210\u4e3a Android \u5b98\u65b9\u652f\u6301\u5f00\u53d1\u8bed\u8a00\u3002"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://kotlinlang.org/"},"\u5b98\u65b9\u7f51\u7ad9")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/73162314.cc032df6.js b/assets/js/73162314.fec7b172.js similarity index 99% rename from assets/js/73162314.cc032df6.js rename to assets/js/73162314.fec7b172.js index 474ec7e1e..832595c66 100644 --- a/assets/js/73162314.cc032df6.js +++ b/assets/js/73162314.fec7b172.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6898],{15680:(e,n,l)=>{l.d(n,{xA:()=>y,yg:()=>g});var a=l(96540);function t(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function r(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,a)}return l}function o(e){for(var n=1;n=0||(t[l]=e[l]);return t}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}var s=a.createContext({}),u=function(e){var n=a.useContext(s),l=n;return e&&(l="function"==typeof e?e(n):o(o({},n),e)),l},y=function(e){var n=u(e.components);return a.createElement(s.Provider,{value:n},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},_=a.forwardRef((function(e,n){var l=e.components,t=e.mdxType,r=e.originalType,s=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),c=u(l),_=t,g=c["".concat(s,".").concat(_)]||c[_]||d[_]||r;return l?a.createElement(g,o(o({ref:n},y),{},{components:l})):a.createElement(g,o({ref:n},y))}));function g(e,n){var l=arguments,t=n&&n.mdxType;if("string"==typeof e||t){var r=l.length,o=new Array(r);o[0]=_;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[c]="string"==typeof e?e:t,o[1]=i;for(var u=2;u{l.r(n),l.d(n,{assets:()=>s,contentTitle:()=>o,default:()=>d,frontMatter:()=>r,metadata:()=>i,toc:()=>u});var a=l(58168),t=(l(96540),l(15680));const r={},o=void 0,i={unversionedId:"study/db/SQL/MySQL",id:"study/db/SQL/MySQL",title:"MySQL",description:"\u7248\u672c\u9009\u62e9",source:"@site/docs/study/db/SQL/MySQL.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/MySQL",permalink:"/docs/study/db/SQL/MySQL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MySQL \u7b14\u8bb0",permalink:"/docs/study/db/SQL/MySQL-\u7b14\u8bb0"},next:{title:"OpenGauss",permalink:"/docs/study/db/SQL/OpenGauss"}},s={},u=[{value:"\u7248\u672c\u9009\u62e9",id:"\u7248\u672c\u9009\u62e9",level:3},{value:"\u4fee\u6539\u65f6\u533a",id:"\u4fee\u6539\u65f6\u533a",level:3},{value:"\u521b\u5efa\u7528\u6237\u5e76\u6388\u6743",id:"\u521b\u5efa\u7528\u6237\u5e76\u6388\u6743",level:3},{value:"\u5185\u5b58\u5206\u914d",id:"\u5185\u5b58\u5206\u914d",level:3},{value:"\u5171\u4eab\u5185\u5b58",id:"\u5171\u4eab\u5185\u5b58",level:4},{value:"Session \u79c1\u6709\u5185\u5b58",id:"session-\u79c1\u6709\u5185\u5b58",level:4},{value:"\u5982\u4f55\u8bbe\u7f6e",id:"\u5982\u4f55\u8bbe\u7f6e",level:4},{value:"\u67e5\u8be2\u4f18\u5316",id:"\u67e5\u8be2\u4f18\u5316",level:3},{value:"\u5197\u4f59\u7d22\u5f15",id:"\u5197\u4f59\u7d22\u5f15",level:3},{value:"\u5b58\u50a8\u5f15\u64ce",id:"\u5b58\u50a8\u5f15\u64ce",level:3},{value:"MyISAM\u548cInnoDB\u533a\u522b",id:"myisam\u548cinnodb\u533a\u522b",level:3},{value:"\u4e50\u89c2\u9501\u4e0e\u60b2\u89c2\u9501\u7684\u533a\u522b",id:"\u4e50\u89c2\u9501\u4e0e\u60b2\u89c2\u9501\u7684\u533a\u522b",level:3},{value:"\u60b2\u89c2\u9501",id:"\u60b2\u89c2\u9501",level:4},{value:"\u4e50\u89c2\u9501",id:"\u4e50\u89c2\u9501",level:4},{value:"\u4e24\u79cd\u9501\u7684\u4f7f\u7528\u573a\u666f",id:"\u4e24\u79cd\u9501\u7684\u4f7f\u7528\u573a\u666f",level:4},{value:"\u65e5\u5fd7\u76f8\u5173/Binlog\u7b49",id:"\u65e5\u5fd7\u76f8\u5173binlog\u7b49",level:3},{value:"Binlog\u5f55\u5165\u683c\u5f0f",id:"binlog\u5f55\u5165\u683c\u5f0f",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:4},{value:"\u5360\u7528\u78c1\u76d8\u5927\u5c0f/\u6570\u636e\u5927\u5c0f/\u7d22\u5f15\u5927\u5c0f",id:"\u5360\u7528\u78c1\u76d8\u5927\u5c0f\u6570\u636e\u5927\u5c0f\u7d22\u5f15\u5927\u5c0f",level:3},{value:"\u4f18\u5316",id:"\u4f18\u5316",level:3}],y={toc:u},c="wrapper";function d(e){let{components:n,...l}=e;return(0,t.yg)(c,(0,a.A)({},y,l,{components:n,mdxType:"MDXLayout"}),(0,t.yg)("h3",{id:"\u7248\u672c\u9009\u62e9"},"\u7248\u672c\u9009\u62e9"),(0,t.yg)("p",null,"\u5f53\u524d\u6bd4\u8f83\u7a33\u5b9a\u7248\u672c\u662f5.6\u30015.7\u548c8.0\uff0c\u5982\u679c\u662f\u65b0\u9879\u76ee\u5f53\u7136\u662f\u75288.0\uff1b6.0\u5c31\u662f\u4e2a\u5e9f\u5f03\u7248\u672c\uff0c7.x\u662fNDB Cluster\u7248\uff1b"),(0,t.yg)("p",null,"mysql8.0\u7684\u4e3b\u8981\u65b0\u7279\u6027\uff1a"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"hash join\uff1b")),(0,t.yg)("h3",{id:"\u4fee\u6539\u65f6\u533a"},"\u4fee\u6539\u65f6\u533a"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"docker exec -it mysql02 bash\ncd /etc/mysql/mysql.conf.d\necho \"default-time_zone = '+8:00'\" >> mysqld.cnf\nexit\ndocker restart mysql02\n")),(0,t.yg)("h3",{id:"\u521b\u5efa\u7528\u6237\u5e76\u6388\u6743"},"\u521b\u5efa\u7528\u6237\u5e76\u6388\u6743"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"-- \u521b\u5efa\u7528\u6237\ncreate user 'xx'@'%' identified by 'xx';\n-- \u6388\u6743\u67d0\u4e2a\u8868\u7684\u67e5\u8be2\u548c\u589e\u52a0\u6743\u9650\ngrant SELECT,INSERT on newcloud.elk_user_func_flow_for_user_op_for_res to 'xx'@'%';\n-- \u5220\u9664\u7528\u6237\ndrop user 'xx'@'%';\n-- \u67e5\u770b\u67d0\u4e2a\u7528\u6237\u7684\u6388\u6743\u4fe1\u606f\nshow grants for 'cloudExtend'@'%'; \n--\nflush privileges;\n")),(0,t.yg)("h3",{id:"\u5185\u5b58\u5206\u914d"},"\u5185\u5b58\u5206\u914d"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"-- \u67e5\u8be2\u5171\u4eab\u5185\u5b58\u4f7f\u7528\u60c5\u51b5 \u5355\u4f4d\u662fByte\nshow variables where variable_name in (\n'innodb_buffer_pool_size','innodb_log_buffer_size','innodb_additional_mem_pool_size','key_buffer_size','query_cache_size'\n);\n-- InnoDB \u7f13\u51b2\u6c60\u5212\u5206\u4e3a\u7684\u533a\u57df\u6570\nshow variables like 'innodb_buffer_pool_instances'\n-- \u67e5\u8be2session\u79c1\u6709\u5185\u6d4b\u4f7f\u7528\u60c5\u51b5 \u5355\u4f4d\u662fByte\nshow variables where variable_name in (\n'read_buffer_size','read_rnd_buffer_size','sort_buffer_size','join_buffer_size','binlog_cache_size','tmp_table_size'\n);\n")),(0,t.yg)("p",null,"MySQL \u7684\u5185\u5b58\u5927\u4f53\u53ef\u4ee5\u5206\u4e3a\u5171\u4eab\u5185\u5b58\u548c session \u79c1\u6709\u5185\u5b58\u4e24\u90e8\u5206\uff0c\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5404\u90e8\u5206\u7684\u6784\u6210\u3002"),(0,t.yg)("h4",{id:"\u5171\u4eab\u5185\u5b58"},"\u5171\u4eab\u5185\u5b58"),(0,t.yg)("p",null,"\u53c2\u6570\u8bf4\u660e\uff1a"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"innodb_buffer_pool\n\u8be5\u90e8\u5206\u7f13\u5b58\u662f Innodb \u5f15\u64ce\u6700\u91cd\u8981\u7684\u7f13\u5b58\u533a\u57df\uff0c\u662f\u901a\u8fc7\u5185\u5b58\u6765\u5f25\u8865\u7269\u7406\u6570\u636e\u6587\u4ef6\u7684\u91cd\u8981\u624b\u6bb5\u3002\u5176\u4e2d\u4e3b\u8981\u5305\u542b\u6570\u636e\u9875\u3001\u7d22\u5f15\u9875\u3001undo \u9875\u3001insert buffer\u3001\u81ea\u9002\u5e94\u54c8\u5e0c\u7d22\u5f15\u3001\u9501\u4fe1\u606f\u4ee5\u53ca\u6570\u636e\u5b57\u5178\u7b49\u4fe1\u606f\u3002\u5728\u8fdb\u884c SQL \u8bfb\u548c\u5199\u7684\u64cd\u4f5c\u65f6\uff0c\u9996\u5148\u5e76\u4e0d\u662f\u5bf9\u7269\u7406\u6570\u636e\u6587\u4ef6\u64cd\u4f5c\uff0c\u800c\u662f\u5148\u5bf9 buffer_pool \u8fdb\u884c\u64cd\u4f5c\uff0c\u7136\u540e\u518d\u901a\u8fc7 checkpoint \u7b49\u673a\u5236\u5199\u56de\u6570\u636e\u6587\u4ef6\u3002\u8be5\u7a7a\u95f4\u7684\u4f18\u70b9\u662f\u53ef\u4ee5\u63d0\u5347\u6570\u636e\u5e93\u7684\u6027\u80fd\u3001\u52a0\u5feb SQL \u8fd0\u884c\u901f\u5ea6\uff0c\u7f3a\u70b9\u662f\u6545\u969c\u6062\u590d\u901f\u5ea6\u8f83\u6162\u3002"),(0,t.yg)("li",{parentName:"ul"},"innodb_log_buffer\n\u8be5\u90e8\u5206\u4e3b\u8981\u5b58\u653e redo log \u7684\u4fe1\u606f\uff0c\u5728 RDS \u4e0a\u4f1a\u8bbe\u7f6e 1 M \u7684\u5927\u5c0f\u3002InnoDB \u4f1a\u9996\u5148\u5c06 redo log \u5199\u5728\u8fd9\u91cc\uff0c\u7136\u540e\u6309\u7167\u4e00\u5b9a\u9891\u7387\u5c06\u5176\u5237\u65b0\u56de\u91cd\u505a\u65e5\u5fd7\u6587\u4ef6\u4e2d\u3002\u8be5\u7a7a\u95f4\u4e0d\u9700\u8981\u592a\u5927\uff0c\u56e0\u4e3a\u4e00\u822c\u60c5\u51b5\u4e0b\u8be5\u90e8\u5206\u7f13\u5b58\u4f1a\u4ee5\u8f83\u5feb\u9891\u7387\u5237\u65b0\u81f3 redo log\uff08Master Thread \u4f1a\u6bcf\u79d2\u5237\u65b0\u3001\u4e8b\u52a1\u63d0\u4ea4\u65f6\u4f1a\u5237\u65b0\u3001\u5176\u7a7a\u95f4\u5c11\u4e8e 1/2 \u65f6\u540c\u6837\u4f1a\u5237\u65b0\uff09\u3002"),(0,t.yg)("li",{parentName:"ul"},"innodb_additional_mem_pool\n\u8be5\u90e8\u5206\u4e3b\u8981\u5b58\u653e InnoDB \u5185\u7684\u4e00\u4e9b\u6570\u636e\u7ed3\u6784\uff0c\u5728 RDS \u4e2d\u7edf\u4e00\u8bbe\u7f6e\u4e3a 2 M\u3002\u901a\u5e38\u662f\u5728 buffer_pool \u4e2d\u7533\u8bf7\u5185\u5b58\u7684\u65f6\u5019\u8fd8\u9700\u8981\u5728\u989d\u5916\u5185\u5b58\u4e2d\u7533\u8bf7\u7a7a\u95f4\u5b58\u50a8\u8be5\u5bf9\u8c61\u7684\u7ed3\u6784\u4fe1\u606f\u3002\u8be5\u5927\u5c0f\u4e3b\u8981\u4e0e\u8868\u6570\u91cf\u6709\u5173\uff0c\u8868\u6570\u91cf\u8d8a\u5927\u9700\u8981\u66f4\u5927\u7684\u7a7a\u95f4\u3002"),(0,t.yg)("li",{parentName:"ul"},"key_buffer\n\u8be5\u90e8\u5206\u662f MyISAM \u8868\u7684\u91cd\u8981\u7f13\u5b58\u533a\u57df\uff0c\u6240\u6709\u5b9e\u4f8b\u7edf\u4e00\u4e3a 16 M\u3002\u8be5\u90e8\u5206\u4e3b\u8981\u5b58\u653e MyISAM \u8868\u7684\u952e\u3002MyISAM \u8868\u4e0d\u540c\u4e8e InnoDB \u8868\uff0c\u5176\u7f13\u5b58\u7684\u7d22\u5f15\u7f13\u5b58\u662f\u653e\u5728 key_buffer \u4e2d\u7684\uff0c\u800c\u6570\u636e\u7f13\u5b58\u5219\u5b58\u50a8\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u7684\u5185\u5b58\u4e2d\u3002RDS \u7684\u7cfb\u7edf\u662f MyISAM \u5f15\u64ce\u7684\uff0c\u56e0\u6b64\u5728 RDS \u4e2d\u662f\u7ed9\u4e88\u8be5\u90e8\u5206\u4e00\u5b9a\u91cf\u7684\u7a7a\u95f4\u7684\u3002"),(0,t.yg)("li",{parentName:"ul"},"query_cache\n\u8be5\u90e8\u5206\u662f\u5bf9\u67e5\u8be2\u7ed3\u679c\u505a\u7f13\u5b58\u4ee5\u51cf\u5c11\u89e3\u6790 SQL \u548c\u6267\u884c SQL \u7684\u82b1\u9500\uff0c\u5728 RDS \u4e0a\u5173\u95ed\u4e86\u8be5\u90e8\u5206\u7684\u7f13\u5b58\u3002\u4e3b\u8981\u9002\u5408\u4e8e\u8bfb\u591a\u5199\u5c11\u7684\u5e94\u7528\u573a\u666f\uff0c\u56e0\u4e3a\u5b83\u662f\u6309\u7167 SQL \u8bed\u53e5\u7684 hash \u503c\u8fdb\u884c\u7f13\u5b58\u7684\uff0c\u5f53\u8868\u6570\u636e\u53d1\u751f\u53d8\u5316\u540e\u5373\u5931\u6548\u3002")),(0,t.yg)("h4",{id:"session-\u79c1\u6709\u5185\u5b58"},"Session \u79c1\u6709\u5185\u5b58"),(0,t.yg)("p",null,"\u5171\u4eab\u5185\u5b58\u4e2d\u4ecb\u7ecd\u7684\u5185\u5b58\u7a7a\u95f4\u662f\u5b9e\u4f8b\u521b\u5efa\u65f6\u5373\u5206\u914d\u7684\u5185\u5b58\u7a7a\u95f4\uff0c\u5e76\u4e14\u662f\u6240\u6709\u8fde\u63a5\u5171\u4eab\u7684\u3002"),(0,t.yg)("p",null,"\u53c2\u6570\u8bf4\u660e\uff1a"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"read_buffer&read_rnd_buffer\n\u5206\u522b\u5b58\u653e\u4e86\u5bf9\u987a\u5e8f\u548c\u968f\u673a\u626b\u63cf\uff08\u4f8b\u5982\u6309\u7167\u6392\u5e8f\u7684\u987a\u5e8f\u8bbf\u95ee\uff09\u7684\u7f13\u5b58\uff0cRDS \u7ed9\u6bcf\u4e2a session \u8bbe\u7f6e 256 K \u7684\u5927\u5c0f\u3002\u5f53 thread \u8fdb\u884c\u987a\u5e8f\u6216\u968f\u673a\u626b\u63cf\u6570\u636e\u65f6\u4f1a\u9996\u5148\u626b\u63cf\u8be5 buffer \u7a7a\u95f4\u4ee5\u907f\u514d\u66f4\u591a\u7684\u7269\u7406\u8bfb\u3002"),(0,t.yg)("li",{parentName:"ul"},"sort_buffer\n\u9700\u8981\u6267\u884c order by \u548c group by \u7684 SQL \u90fd\u4f1a\u5206\u914d sort_buffer\uff0c\u7528\u4e8e\u5b58\u50a8\u6392\u5e8f\u7684\u4e2d\u95f4\u7ed3\u679c\uff0c\u5728 RDS \u4e0a\u8bbe\u7f6e 256 K\u3002\u5728\u6392\u5e8f\u8fc7\u7a0b\u4e2d\uff0c\u82e5\u5b58\u50a8\u91cf\u5927\u4e8e sort_buffer_size\uff0c\u5219\u4f1a\u5728\u78c1\u76d8\u751f\u6210\u4e34\u65f6\u8868\u4ee5\u5b8c\u6210\u64cd\u4f5c\u3002\u5728 Linux \u7cfb\u7edf\u4e2d\uff0c\u5f53\u5206\u914d\u7a7a\u95f4\u5927\u4e8e 2 M \u65f6\u4f1a\u4f7f\u7528 mmap() \u800c\u4e0d\u662f malloc() \u6765\u8fdb\u884c\u5185\u5b58\u5206\u914d\uff0c\u5bfc\u81f4\u6548\u7387\u964d\u4f4e\u3002"),(0,t.yg)("li",{parentName:"ul"},"join_buffer\nMySQL \u4ec5\u652f\u6301 nest loop \u7684 join \u7b97\u6cd5\uff0cRDS \u8bbe\u7f6e 256 K \u7684\u5927\u5c0f\u3002\u5904\u7406\u903b\u8f91\u662f\u9a71\u52a8\u8868\u7684\u4e00\u884c\u548c\u975e\u9a71\u52a8\u8868\u8054\u5408\u67e5\u627e\uff0c\u8fd9\u65f6\u5c31\u53ef\u4ee5\u5c06\u975e\u9a71\u52a8\u8868\u653e\u5165 join_buffer\uff0c\u4e0d\u9700\u8981\u8bbf\u95ee\u62e5\u6709\u5e76\u53d1\u4fdd\u62a4\u673a\u5236\u7684 buffer_pool\u3002"),(0,t.yg)("li",{parentName:"ul"},"binlog_cache\n\u8be5\u533a\u57df\u7528\u6765\u7f13\u5b58\u8be5 thread \u7684 binlog \u65e5\u5fd7\uff0cRDS \u8bbe\u7f6e 256 K \u7684\u5927\u5c0f\u3002\u5728\u4e00\u4e2a\u4e8b\u52a1\u8fd8\u6ca1\u6709 commit \u4e4b\u524d\u4f1a\u5148\u5c06\u5176\u65e5\u5fd7\u5b58\u50a8\u4e8e binlog_cache \u4e2d\uff0c\u7b49\u5230\u4e8b\u52a1 commit \u540e\u4f1a\u5c06\u5176 binlog \u5237\u56de\u78c1\u76d8\u4e0a\u7684 binlog \u6587\u4ef6\u4ee5\u6301\u4e45\u5316\u3002"),(0,t.yg)("li",{parentName:"ul"},"tmp_table\n\u4e0d\u540c\u4e8e\u4e0a\u9762\u5404\u4e2a session \u5c42\u6b21\u7684 buffer\uff0c\u8fd9\u4e2a\u53c2\u6570\u53ef\u4ee5\u5728\u63a7\u5236\u53f0\u4e0a\u4fee\u6539\u3002\u8be5\u53c2\u6570\u662f\u6307\u7528\u6237\u5185\u5b58\u4e34\u65f6\u8868\u7684\u5927\u5c0f\uff0c\u5982\u679c\u8be5 thread \u521b\u5efa\u7684\u4e34\u65f6\u8868\u8d85\u8fc7\u5b83\u8bbe\u7f6e\u7684\u5927\u5c0f\u4f1a\u628a\u4e34\u65f6\u8868\u8f6c\u6362\u4e3a\u78c1\u76d8\u4e0a\u7684\u4e00\u5f20 MyISAM \u4e34\u65f6\u8868\u3002\u5982\u679c\u7528\u6237\u5728\u6267\u884c\u4e8b\u52a1\u65f6\u9047\u5230\u7c7b\u4f3c\u5982\u4e0b\u8fd9\u6837\u7684\u9519\u8bef\uff0c\u53ef\u4ee5\u8003\u8651\u589e\u5927 tmp_table \u7684\u503c\u3002")),(0,t.yg)("h4",{id:"\u5982\u4f55\u8bbe\u7f6e"},"\u5982\u4f55\u8bbe\u7f6e"),(0,t.yg)("p",null,"\u9488\u5bf9\u5f53\u524dMySQL\u4f01\u4e1a\u7528\u6237\u7684\u5b9e\u9645\u73af\u5883\uff08\u5927\u5185\u5b58\uff09\uff1a"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u5728\u4e13\u7528\u6570\u636e\u5e93\u670d\u52a1\u5668\u4e0a\uff0c\u53ef\u4ee5\u5c06innodb_buffer_pool_size\u8bbe\u7f6e\u4e3a\u8ba1\u7b97\u673a\u7269\u7406\u5185\u5b58\u5927\u5c0f\u768480\uff05;"),(0,t.yg)("li",{parentName:"ol"},"\u5728innodb_buffer_pool_size\u8bbe\u7f6e\u6bd4\u8f83\u5927\u7684\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u5c06innodb_buffer_pool_instances\u7684\u503c\u8bbe\u7f6e\u4e3a8-16\uff0c\u4fdd\u8bc1\u4e00\u4e2apool 10G\u4ee5\u4e0a\u3002")),(0,t.yg)("p",null,"\uff08\u6ce8\u610finnodb_buffer_pool_size\u5fc5\u987b\u4e3a\xa0innodb_buffer_pool_instances \u7684\u500d\u6570\uff09"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u901a\u8fc7SQL\u4fee\u6539 \u91cd\u542f\u540e\u5931\u6548 2G\nset global innodb_buffer_pool_size = 2147483648\n\n#\u4fee\u6539my.cnf\u914d\u7f6e \u9700\u8981\u91cd\u542f\ninnodb_buffer_pool_size = 2147483648\ninnodb_buffer_pool_size = 2G\ninnodb_buffer_pool_size = 2048M\n")),(0,t.yg)("h3",{id:"\u67e5\u8be2\u4f18\u5316"},"\u67e5\u8be2\u4f18\u5316"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"#\n-- \u67e5\u8be2\u7f13\u5b58\nshow variables where variable_name in (\n'have_query_cache','query_cache_limit','query_cache_min_res_unit','query_cache_size','query_cache_type','query_cache_wlock_invalidate'\n);\n")),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"have_query_cache\uff1a\u5f53\u524d\u7684MYSQL\u7248\u672c\u662f\u5426\u652f\u6301\u201c\u67e5\u8be2\u7f13\u5b58\u201d\u529f\u80fd\u3002"),(0,t.yg)("li",{parentName:"ol"},"query_cache_min_res_unit\uff1a\u67e5\u8be2\u7f13\u5b58\u5206\u914d\u7684\u6700\u5c0f\u5757\uff08\u5b57\u8282\uff09\u3002\u9ed8\u8ba4\u503c\u662f4096\uff084KB\uff09\u3002\u5f53\u67e5\u8be2\u8fdb\u884c\u65f6\uff0cMySQL\u628a\u67e5\u8be2\u7ed3\u679c\u4fdd\u5b58\u5728query cache\uff0c\u4f46\u662f\u5982\u679c\u4fdd\u5b58\u7684\u7ed3\u679c\u6bd4\u8f83\u5927\uff0c\u8d85\u8fc7\u4e86query_cache_min_res_unit\u7684\u503c\uff0c\u8fd9\u65f6\u5019MySQL\u5c06\u4e00\u8fb9\u68c0\u7d22\u7ed3\u679c\uff0c\u4e00\u8fb9\u8fdb\u884c\u4fdd\u5b58\u7ed3\u679c\u3002\u4ed6\u4fdd\u5b58\u7ed3\u679c\u4e5f\u662f\u6309\u9ed8\u8ba4\u5927\u5c0f\u5148\u5206\u914d\u4e00\u5757\u7a7a\u95f4\uff0c\u5982\u679c\u4e0d\u591f\uff0c\u53c8\u8981\u7533\u8bf7\u65b0\u7684\u7a7a\u95f4\u7ed9\u4ed6\u3002\u5982\u679c\u67e5\u8be2\u7ed3\u679c\u6bd4\u8f83\u5c0f\uff0c\u9ed8\u8ba4\u7684query_cache_min_res_unit\u53ef\u80fd\u9020\u6210\u5927\u91cf\u7684\u5185\u5b58\u788e\u7247\uff0c\u5982\u679c\u67e5\u8be2\u7ed3\u679c\u6bd4\u8f83\u5927\uff0c\u9ed8\u8ba4\u7684query_cache_min_res_unit\u53c8\u4e0d\u591f\uff0c\u5bfc\u81f4\u4e00\u76f4\u5206\u914d\u5757\u7a7a\u95f4\uff0c\u6240\u4ee5\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u6c42\uff0c\u8c03\u8282query_cache_min_res_unit\u7684\u5927\u5c0f\u3002\u6ce8\uff1a\u5982\u679c\u4e0a\u9762\u8bf4\u7684\u5185\u5bb9\u6709\u70b9\u5f2f\u5f2f\u7ed5\uff0c\u90a3\u4e3e\u4e2a\u73b0\u5b9e\u751f\u6d3b\u4e2d\u7684\u4f8b\u5b50\uff0c\u6bd4\u5982\u54b1\u73b0\u5728\u8981\u7ed9\u8fd0\u52a8\u5458\u9001\u6c34\uff0c\u9ed8\u8ba4\u7684\u662f500ml\u7684\u74f6\u5b50\uff0c\u5982\u679c\u8fc7\u6765\u7684\u662f\u5c11\u5e74\u8fd0\u52a8\u5458\uff0c\u53ef\u80fd500ml\u592a\u5927\u4e86\uff0c\u4ed6\u4eec\u559d\u4e0d\u5b8c\uff0c\u9020\u6210\u4e86\u6d6a\u8d39\uff0c\u90a3\u6211\u4eec\u5c31\u53ef\u4ee5\u9009\u62e9300ml\u7684\u74f6\u5b50\uff0c\u5982\u679c\u8fc7\u6765\u7684\u662f\u6210\u5e74\u8fd0\u52a8\u5458\uff0c\u53ef\u80fd500ml\u4e0d\u591f\uff0c\u90a3\u4ed6\u4eec\u4e00\u74f6\u559d\u5b8c\u4e86\uff0c\u53c8\u5f00\u4e00\u74f6\uff0c\u76f4\u63a5\u4e0d\u6e34\u4e3a\u6b62\u3002\u90a3\u4e48\u90a3\u6837\u5f00\u74f6\u5b50\u4e5f\u8981\u65f6\u95f4\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u9009\u62e91000ml\u7684\u74f6\u5b50\u3002"),(0,t.yg)("li",{parentName:"ol"},"query_cache_size\uff1a\u4e3a\u7f13\u5b58\u67e5\u8be2\u7ed3\u679c\u5206\u914d\u7684\u603b\u5185\u5b58\u3002"),(0,t.yg)("li",{parentName:"ol"},"query_cache_type\uff1a\u9ed8\u8ba4\u4e3aon\u3002"),(0,t.yg)("li",{parentName:"ol"},"query_cache_wlock_invalidate\uff1a\u5982\u679c\u8be5\u8868\u88ab\u9501\u4f4f\uff0c\u662f\u5426\u8fd4\u56de\u7f13\u5b58\u4e2d\u7684\u6570\u636e\uff0c\u9ed8\u8ba4\u662f\u5173\u95ed\u7684\u3002")),(0,t.yg)("p",null,"MYSQL\u7684\u67e5\u8be2\u7f13\u5b58\u5b9e\u8d28\u4e0a\u662f\u7f13\u5b58SQL\u7684hash\u503c\u548c\u8be5SQL\u7684\u67e5\u8be2\u7ed3\u679c\uff0c\u5982\u679c\u8fd0\u884c\u76f8\u540c\u7684SQL,\u670d\u52a1\u5668\u76f4\u63a5\u4ece\u7f13\u5b58\u4e2d\u53bb\u6389\u7ed3\u679c\uff0c\u800c\u4e0d\u518d\u53bb\u89e3\u6790\uff0c\u4f18\u5316\uff0c\u5bfb\u627e\u6700\u4f4e\u6210\u672c\u7684\u6267\u884c\u8ba1\u5212\u7b49\u4e00\u7cfb\u5217\u64cd\u4f5c\uff0c\u5927\u5927\u63d0\u5347\u4e86\u67e5\u8be2\u901f\u5ea6\u3002\n\u4f46\u662f\u4e07\u4e8b\u6709\u5229\u4e5f\u6709\u5f0a\u3002"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"\u7b2c\u4e00\u4e2a\u5f0a\u7aef\u5c31\u662f\u5982\u679c\u8868\u7684\u6570\u636e\u6709\u4e00\u6761\u53d1\u751f\u53d8\u5316\uff0c\u90a3\u4e48\u7f13\u5b58\u597d\u7684\u7ed3\u679c\u5c06\u5168\u90e8\u4e0d\u518d\u6709\u6548\u3002\u8fd9\u5bf9\u4e8e\u9891\u7e41\u66f4\u65b0\u7684\u8868\uff0c\u67e5\u8be2\u7f13\u5b58\u662f\u4e0d\u9002\u5408\u7684\u3002"),(0,t.yg)("li",{parentName:"ul"},"\u7b2c\u4e8c\u4e2a\u5f0a\u7aef\u5c31\u662f\u7f13\u5b58\u673a\u5236\u662f\u901a\u8fc7\u5bf9SQL\u7684hash\uff0c\u5f97\u51fa\u7684\u503c\u4e3akey\uff0c\u67e5\u8be2\u7ed3\u679c\u4e3avalue\u6765\u5b58\u653e\u7684\uff0c\u90a3\u4e48\u5c31\u610f\u5473\u7740SQL\u5fc5\u987b\u5b8c\u5b8c\u5168\u5168\u4e00\u6a21\u4e00\u6837\uff0c\u5426\u5219\u5c31\u547d\u4e0d\u4e2d\u7f13\u5b58\u3002")),(0,t.yg)("p",null,"\u9ed8\u8ba4query_cache_type\u8bbe\u7f6e\u4e3aOFF\uff0c\u5176\u5b9e\u7f51\u4e0a\u8d44\u6599\u548c\u5404\u5927\u4e91\u5382\u5546\u63d0\u4f9b\u7684\u4e91\u670d\u52a1\u5668\u90fd\u662f\u5c06\u8fd9\u4e2a\u529f\u80fd\u5173\u95ed\u7684\uff0c\u4ece\u4e0a\u9762\u7684\u539f\u7406\u6765\u770b\uff0c\u5728\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u4ed6\u7684\u5f0a\u7aef\u5927\u4e8e\u4f18\u70b9\u3002"),(0,t.yg)("h3",{id:"\u5197\u4f59\u7d22\u5f15"},"\u5197\u4f59\u7d22\u5f15"),(0,t.yg)("p",null,"\u5197\u4f59\u7d22\u5f15\u6307\u7684\u662f\u7d22\u5f15\u7684\u529f\u80fd\u76f8\u540c\uff0c\u80fd\u591f\u547d\u4e2d\u5c31\u80af\u5b9a\u80fd\u547d\u4e2d \uff0c\u90a3\u4e48\u5c31\u662f\u5197\u4f59\u7d22\u5f15\u5982\uff08name,city \uff09\u548c\uff08name \uff09\u8fd9\u4e24\u4e2a\u7d22\u5f15\u5c31\u662f\u5197\u4f59\u7d22\u5f15\uff0c\u80fd\u591f\u547d\u4e2d\u540e\u8005\u7684\u67e5\u8be2\u80af\u5b9a\u662f\u80fd\u591f\u547d\u4e2d\u524d\u8005\u7684 \u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u90fd\u5e94\u8be5\u5c3d\u91cf\u6269\u5c55\u5df2\u6709\u7684\u7d22\u5f15\u800c\u4e0d\u662f\u521b\u5efa\u65b0\u7d22\u5f15\u3002\nMySQLS.7 \u7248\u672c\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u67e5\u8be2 sys \u5e93\u7684 schema_redundant_indexes \u8868\u6765\u67e5\u770b\u5197\u4f59\u7d22\u5f15\u3002"),(0,t.yg)("h3",{id:"\u5b58\u50a8\u5f15\u64ce"},"\u5b58\u50a8\u5f15\u64ce"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"-- \u67e5\u8be2\u5f53\u524d\u6570\u636e\u5e93\u670d\u52a1\u5668\u652f\u6301\u7684\u5b58\u50a8\u5f15\u64ce\u5217\u8868\nshow engines;\n-- \u67e5\u770b\u9ed8\u8ba4\u7684\u5b58\u50a8\u5f15\u64ce\nshow variables like '%storage_engine%';\n-- \u67e5\u770b\u8868\u7684\u5b58\u50a8\u5f15\u64ce\u53ca\u5176\u4ed6\u76f8\u5173\u4fe1\u606f\nshow table status like \"table_name\";\n")),(0,t.yg)("h3",{id:"myisam\u548cinnodb\u533a\u522b"},"MyISAM\u548cInnoDB\u533a\u522b"),(0,t.yg)("p",null,"MyISAM\u662fMySQL\u7684\u9ed8\u8ba4\u6570\u636e\u5e93\u5f15\u64ce\uff085.5\u7248\u4e4b\u524d\uff09\u3002\u867d\u7136\u6027\u80fd\u6781\u4f73\uff0c\u800c\u4e14\u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u7279\u6027\uff0c\u5305\u62ec\u5168\u6587\u7d22\u5f15\u3001\u538b\u7f29\u3001\u7a7a\u95f4\u51fd\u6570\u7b49\uff0c\u4f46MyISAM\u4e0d\u652f\u6301\u4e8b\u52a1\u548c\u884c\u7ea7\u9501\uff0c\u800c\u4e14\u6700\u5927\u7684\u7f3a\u9677\u5c31\u662f\u5d29\u6e83\u540e\u65e0\u6cd5\u5b89\u5168\u6062\u590d\u3002\u4e0d\u8fc7\uff0c5.5\u7248\u672c\u4e4b\u540e\uff0cMySQL\u5f15\u5165\u4e86InnoDB\uff08\u4e8b\u52a1\u6027\u6570\u636e\u5e93\u5f15\u64ce\uff09\uff0cMySQL 5.5\u7248\u672c\u540e\u9ed8\u8ba4\u7684\u5b58\u50a8\u5f15\u64ce\u4e3aInnoDB\u3002\n\u5927\u591a\u6570\u65f6\u5019\u6211\u4eec\u4f7f\u7528\u7684\u90fd\u662f InnoDB \u5b58\u50a8\u5f15\u64ce\uff0c\u4f46\u662f\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4f7f\u7528 MyISAM \u4e5f\u662f\u5408\u9002\u7684\u6bd4\u5982\u8bfb\u5bc6\u96c6\u7684\u60c5\u51b5\u4e0b\u3002\uff08\u5982\u679c\u4f60\u4e0d\u4ecb\u610f MyISAM \u5d29\u6e83\u56de\u590d\u95ee\u9898\u7684\u8bdd\uff09\u3002"),(0,t.yg)("p",null,"\u4e24\u8005\u7684\u5bf9\u6bd4\uff1a"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u662f\u5426\u652f\u6301\u884c\u7ea7\u9501: MyISAM \u53ea\u6709\u8868\u7ea7\u9501(table-level locking)\uff0c\u800cInnoDB \u652f\u6301\u884c\u7ea7\u9501(row-level locking)\u548c\u8868\u7ea7\u9501,\u9ed8\u8ba4\u4e3a\u884c\u7ea7\u9501\u3002"),(0,t.yg)("li",{parentName:"ol"},"\u662f\u5426\u652f\u6301\u4e8b\u52a1\u548c\u5d29\u6e83\u540e\u7684\u5b89\u5168\u6062\u590d\uff1aMyISAM\u5f3a\u8c03\u7684\u662f\u6027\u80fd\uff0c\u6bcf\u6b21\u67e5\u8be2\u5177\u6709\u539f\u5b50\u6027,\u5176\u6267\u884c\u6bd4InnoDB\u7c7b\u578b\u66f4\u5feb\uff0c\u4f46\u662f\u4e0d\u63d0\u4f9b\u4e8b\u52a1\u652f\u6301\u3002\u4f46\u662fInnoDB\u63d0\u4f9b\u4e8b\u52a1\u652f\u6301\u4e8b\u52a1\uff0c\u5916\u90e8\u952e\u7b49\u9ad8\u7ea7\u6570\u636e\u5e93\u529f\u80fd\u3002\u5177\u6709\u4e8b\u52a1(commit)\u3001\u56de\u6eda(rollback)\u548c\u5d29\u6e83\u4fee\u590d\u80fd\u529b(crash recovery capabilities)\u7684\u4e8b\u52a1\u5b89\u5168(transaction-safe (ACID compliant))\u578b\u8868\u3002"),(0,t.yg)("li",{parentName:"ol"},"\u662f\u5426\u652f\u6301\u5916\u952e\uff1aMyISAM\u4e0d\u652f\u6301\uff0c\u800cInnoDB\u652f\u6301\u3002"),(0,t.yg)("li",{parentName:"ol"},"\u662f\u5426\u652f\u6301MVCC\uff1a\u4ec5 InnoDB \u652f\u6301\u3002\u5e94\u5bf9\u9ad8\u5e76\u53d1\u4e8b\u52a1, MVCC\u6bd4\u5355\u7eaf\u7684\u52a0\u9501\u66f4\u9ad8\u6548;MVCC\u53ea\u5728 READ COMMITTED\u548c REPEATABLE READ\u4e24\u4e2a\u9694\u79bb\u7ea7\u522b\u4e0b\u5de5\u4f5c;MVCC\u53ef\u4ee5\u4f7f\u7528 \u4e50\u89c2(optimistic)\u9501 \u548c \u60b2\u89c2(pessimistic)\u9501\u6765\u5b9e\u73b0;\u5404\u6570\u636e\u5e93\u4e2dMVCC\u5b9e\u73b0\u5e76\u4e0d\u7edf\u4e00\u3002"),(0,t.yg)("li",{parentName:"ol"},"......")),(0,t.yg)("p",null,"\u300aMySQL\u9ad8\u6027\u80fd\u300b\u4e0a\u9762\u6709\u4e00\u53e5\u8bdd\u8fd9\u6837\u5199\u5230:"),(0,t.yg)("blockquote",null,(0,t.yg)("p",{parentName:"blockquote"},"\u4e0d\u8981\u8f7b\u6613\u76f8\u4fe1\u201cMyISAM\u6bd4InnoDB\u5feb\u201d\u4e4b\u7c7b\u7684\u7ecf\u9a8c\u4e4b\u8c08\uff0c\u8fd9\u4e2a\u7ed3\u8bba\u5f80\u5f80\u4e0d\u662f\u7edd\u5bf9\u7684\u3002\u5728\u5f88\u591a\u6211\u4eec\u5df2\u77e5\u573a\u666f\u4e2d\uff0cInnoDB\u7684\u901f\u5ea6\u90fd\u53ef\u4ee5\u8ba9MyISAM\u671b\u5c18\u83ab\u53ca\uff0c\u5c24\u5176\u662f\u7528\u5230\u4e86\u805a\u7c07\u7d22\u5f15\uff0c\u6216\u8005\u9700\u8981\u8bbf\u95ee\u7684\u6570\u636e\u90fd\u53ef\u4ee5\u653e\u5165\u5185\u5b58\u7684\u5e94\u7528\u3002")),(0,t.yg)("p",null,"\u4e00\u822c\u60c5\u51b5\u4e0b\u6211\u4eec\u9009\u62e9 InnoDB \u90fd\u662f\u6ca1\u6709\u95ee\u9898\u7684\uff0c\u4f46\u662f\u67d0\u4e8b\u60c5\u51b5\u4e0b\u4f60\u5e76\u4e0d\u5728\u4e4e\u53ef\u6269\u5c55\u80fd\u529b\u548c\u5e76\u53d1\u80fd\u529b\uff0c\u4e5f\u4e0d\u9700\u8981\u4e8b\u52a1\u652f\u6301\uff0c\u4e5f\u4e0d\u5728\u4e4e\u5d29\u6e83\u540e\u7684\u5b89\u5168\u6062\u590d\u95ee\u9898\u7684\u8bdd\uff0c\u9009\u62e9MyISAM\u4e5f\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u4f46\u662f\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u90fd\u662f\u9700\u8981\u8003\u8651\u5230\u8fd9\u4e9b\u95ee\u9898\u7684\u3002"),(0,t.yg)("h3",{id:"\u4e50\u89c2\u9501\u4e0e\u60b2\u89c2\u9501\u7684\u533a\u522b"},"\u4e50\u89c2\u9501\u4e0e\u60b2\u89c2\u9501\u7684\u533a\u522b"),(0,t.yg)("h4",{id:""}),(0,t.yg)("h4",{id:"\u60b2\u89c2\u9501"},"\u60b2\u89c2\u9501"),(0,t.yg)("p",null,"\u603b\u662f\u5047\u8bbe\u6700\u574f\u7684\u60c5\u51b5\uff0c\u6bcf\u6b21\u53bb\u62ff\u6570\u636e\u7684\u65f6\u5019\u90fd\u8ba4\u4e3a\u522b\u4eba\u4f1a\u4fee\u6539\uff0c\u6240\u4ee5\u6bcf\u6b21\u5728\u62ff\u6570\u636e\u7684\u65f6\u5019\u90fd\u4f1a\u4e0a\u9501\uff0c\u8fd9\u6837\u522b\u4eba\u60f3\u62ff\u8fd9\u4e2a\u6570\u636e\u5c31\u4f1a\u963b\u585e\u76f4\u5230\u5b83\u62ff\u5230\u9501\uff08\u5171\u4eab\u8d44\u6e90\u6bcf\u6b21\u53ea\u7ed9\u4e00\u4e2a\u7ebf\u7a0b\u4f7f\u7528\uff0c\u5176\u5b83\u7ebf\u7a0b\u963b\u585e\uff0c\u7528\u5b8c\u540e\u518d\u628a\u8d44\u6e90\u8f6c\u8ba9\u7ed9\u5176\u5b83\u7ebf\u7a0b\uff09\u3002\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u91cc\u8fb9\u5c31\u7528\u5230\u4e86\u5f88\u591a\u8fd9\u79cd\u9501\u673a\u5236\uff0c\u6bd4\u5982\u884c\u9501\uff0c\u8868\u9501\u7b49\uff0c\u8bfb\u9501\uff0c\u5199\u9501\u7b49\uff0c\u90fd\u662f\u5728\u505a\u64cd\u4f5c\u4e4b\u524d\u5148\u4e0a\u9501\u3002Java\u4e2dsynchronized\u548cReentrantLock\u7b49\u72ec\u5360\u9501\u5c31\u662f\u60b2\u89c2\u9501\u601d\u60f3\u7684\u5b9e\u73b0\u3002"),(0,t.yg)("h4",{id:"\u4e50\u89c2\u9501"},"\u4e50\u89c2\u9501"),(0,t.yg)("p",null,"\u603b\u662f\u5047\u8bbe\u6700\u597d\u7684\u60c5\u51b5\uff0c\u6bcf\u6b21\u53bb\u62ff\u6570\u636e\u7684\u65f6\u5019\u90fd\u8ba4\u4e3a\u522b\u4eba\u4e0d\u4f1a\u4fee\u6539\uff0c\u6240\u4ee5\u4e0d\u4f1a\u4e0a\u9501\uff0c\u4f46\u662f\u5728\u66f4\u65b0\u7684\u65f6\u5019\u4f1a\u5224\u65ad\u4e00\u4e0b\u5728\u6b64\u671f\u95f4\u522b\u4eba\u6709\u6ca1\u6709\u53bb\u66f4\u65b0\u8fd9\u4e2a\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528\u7248\u672c\u53f7\u673a\u5236\u548cCAS\u7b97\u6cd5\u5b9e\u73b0\u3002\u4e50\u89c2\u9501\u9002\u7528\u4e8e\u591a\u8bfb\u7684\u5e94\u7528\u7c7b\u578b\uff0c\u8fd9\u6837\u53ef\u4ee5\u63d0\u9ad8\u541e\u5410\u91cf\uff0c\u50cf\u6570\u636e\u5e93\u63d0\u4f9b\u7684\u7c7b\u4f3c\u4e8ewrite_condition\u673a\u5236\uff0c\u5176\u5b9e\u90fd\u662f\u63d0\u4f9b\u7684\u4e50\u89c2\u9501\u3002\u5728Java\u4e2djava.util.concurrent.atomic\u5305\u4e0b\u9762\u7684\u539f\u5b50\u53d8\u91cf\u7c7b\u5c31\u662f\u4f7f\u7528\u4e86\u4e50\u89c2\u9501\u7684\u4e00\u79cd\u5b9e\u73b0\u65b9\u5f0fCAS\u5b9e\u73b0\u7684\u3002"),(0,t.yg)("h4",{id:"\u4e24\u79cd\u9501\u7684\u4f7f\u7528\u573a\u666f"},"\u4e24\u79cd\u9501\u7684\u4f7f\u7528\u573a\u666f"),(0,t.yg)("p",null,"\u4ece\u4e0a\u9762\u5bf9\u4e24\u79cd\u9501\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u77e5\u9053\u4e24\u79cd\u9501\u5404\u6709\u4f18\u7f3a\u70b9\uff0c\u4e0d\u53ef\u8ba4\u4e3a\u4e00\u79cd\u597d\u4e8e\u53e6\u4e00\u79cd\uff0c\u50cf\u4e50\u89c2\u9501\u9002\u7528\u4e8e\u5199\u6bd4\u8f83\u5c11\u7684\u60c5\u51b5\u4e0b\uff08\u591a\u8bfb\u573a\u666f\uff09\uff0c\u5373\u51b2\u7a81\u771f\u7684\u5f88\u5c11\u53d1\u751f\u7684\u65f6\u5019\uff0c\u8fd9\u6837\u53ef\u4ee5\u7701\u53bb\u4e86\u9501\u7684\u5f00\u9500\uff0c\u52a0\u5927\u4e86\u7cfb\u7edf\u7684\u6574\u4e2a\u541e\u5410\u91cf\u3002\u4f46\u5982\u679c\u662f\u591a\u5199\u7684\u60c5\u51b5\uff0c\u4e00\u822c\u4f1a\u7ecf\u5e38\u4ea7\u751f\u51b2\u7a81\uff0c\u8fd9\u5c31\u4f1a\u5bfc\u81f4\u4e0a\u5c42\u5e94\u7528\u4f1a\u4e0d\u65ad\u7684\u8fdb\u884cretry\uff0c\u8fd9\u6837\u53cd\u5012\u662f\u964d\u4f4e\u4e86\u6027\u80fd\uff0c\u6240\u4ee5\u4e00\u822c\u591a\u5199\u7684\u573a\u666f\u4e0b\u7528\u60b2\u89c2\u9501\u5c31\u6bd4\u8f83\u5408\u9002\u3002"),(0,t.yg)("h3",{id:"\u65e5\u5fd7\u76f8\u5173binlog\u7b49"},"\u65e5\u5fd7\u76f8\u5173/Binlog\u7b49"),(0,t.yg)("h4",{id:"binlog\u5f55\u5165\u683c\u5f0f"},"Binlog\u5f55\u5165\u683c\u5f0f"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"\u6709\u4e09\u79cd\u683c\u5f0f\uff0cstatement\uff0crow\u548cmixed\u3002",(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},"statement\u6a21\u5f0f\u4e0b\uff0c\u6bcf\u4e00\u6761\u4f1a\u4fee\u6539\u6570\u636e\u7684sql\u90fd\u4f1a\u8bb0\u5f55\u5728binlog\u4e2d\u3002\u4e0d\u9700\u8981\u8bb0\u5f55\u6bcf\u4e00\u884c\u7684\u53d8\u5316\uff0c\u51cf\u5c11\u4e86binlog\u65e5\u5fd7\u91cf\uff0c\u8282\u7ea6\u4e86IO\uff0c\u63d0\u9ad8\u6027\u80fd\u3002\u7531\u4e8esql\u7684\u6267\u884c\u662f\u6709\u4e0a\u4e0b\u6587\u7684\uff0c\u56e0\u6b64\u5728\u4fdd\u5b58\u7684\u65f6\u5019\u9700\u8981\u4fdd\u5b58\u76f8\u5173\u7684\u4fe1\u606f\uff0c\u540c\u65f6\u8fd8\u6709\u4e00\u4e9b\u4f7f\u7528\u4e86\u51fd\u6570\u4e4b\u7c7b\u7684\u8bed\u53e5\u65e0\u6cd5\u88ab\u8bb0\u5f55\u590d\u5236\u3002"),(0,t.yg)("li",{parentName:"ul"},"row\u7ea7\u522b\u4e0b\uff0c\u4e0d\u8bb0\u5f55sql\u8bed\u53e5\u4e0a\u4e0b\u6587\u76f8\u5173\u4fe1\u606f\uff0c\u4ec5\u4fdd\u5b58\u54ea\u6761\u8bb0\u5f55\u88ab\u4fee\u6539\u3002\u8bb0\u5f55\u5355\u5143\u4e3a\u6bcf\u4e00\u884c\u7684\u6539\u52a8\uff0c\u57fa\u672c\u662f\u53ef\u4ee5\u5168\u90e8\u8bb0\u4e0b\u6765\u4f46\u662f\u7531\u4e8e\u5f88\u591a\u64cd\u4f5c\uff0c\u4f1a\u5bfc\u81f4\u5927\u91cf\u884c\u7684\u6539\u52a8(\u6bd4\u5982alter table)\uff0c\u56e0\u6b64\u8fd9\u79cd\u6a21\u5f0f\u7684\u6587\u4ef6\u4fdd\u5b58\u7684\u4fe1\u606f\u592a\u591a\uff0c\u65e5\u5fd7\u91cf\u592a\u5927\u3002"),(0,t.yg)("li",{parentName:"ul"},"mixed\uff0c\u4e00\u79cd\u6298\u4e2d\u7684\u65b9\u6848\uff0c\u666e\u901a\u64cd\u4f5c\u4f7f\u7528statement\u8bb0\u5f55\uff0c\u5f53\u65e0\u6cd5\u4f7f\u7528statement\u7684\u65f6\u5019\u4f7f\u7528row\u3002"))),(0,t.yg)("li",{parentName:"ul"},"\u6b64\u5916\uff0c\u65b0\u7248\u7684MySQL\u4e2d\u5bf9row\u7ea7\u522b\u4e5f\u505a\u4e86\u4e00\u4e9b\u4f18\u5316\uff0c\u5f53\u8868\u7ed3\u6784\u53d1\u751f\u53d8\u5316\u7684\u65f6\u5019\uff0c\u4f1a\u8bb0\u5f55\u8bed\u53e5\u800c\u4e0d\u662f\u9010\u884c\u8bb0\u5f55\u3002")),(0,t.yg)("h4",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/horses/article/details/106053399?utm_medium=distribute.pc_category.none-task-blog-hot-10.nonecase&depth_1-utm_source=distribute.pc_category.none-task-blog-hot-10.nonecase&request_id="},"MySQL \u670d\u52a1\u5668\u4e2d\u7684 6 \u79cd\u65e5\u5fd7\u7c7b\u578b"))),(0,t.yg)("h3",{id:"\u5360\u7528\u78c1\u76d8\u5927\u5c0f\u6570\u636e\u5927\u5c0f\u7d22\u5f15\u5927\u5c0f"},"\u5360\u7528\u78c1\u76d8\u5927\u5c0f/\u6570\u636e\u5927\u5c0f/\u7d22\u5f15\u5927\u5c0f"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"-- \u67e5\u770b\u6240\u6709\u6570\u636e\u5e93\u6570\u636e\u5927\u5c0f\u548c\u7d22\u5f15\u5927\u5c0f\nselect TABLE_SCHEMA, \nconcat(truncate(sum(data_length)/1024/1024,2),' MB') as data_size,\nsum(data_length) as data_size_B,\nconcat(truncate(sum(index_length)/1024/1024,2),'MB') as index_size,\nsum(index_length) as index_size_B\nfrom information_schema.tables\ngroup by TABLE_SCHEMA\norder by data_size_B desc;\n\n-- \u67e5\u770b\u67d0\u4e2a\u6570\u636e\u5e93\u6240\u6709\u6570\u636e\u8868\u6570\u636e\u5927\u5c0f\u548c\u7d22\u5f15\u5927\u5c0f\nselect TABLE_NAME, \nconcat(truncate(sum(data_length)/1024/1024,2),' MB') as data_size,\nsum(data_length) as data_size_B,\nconcat(truncate(sum(index_length)/1024/1024,2),'MB') as index_size,\nsum(index_length) as index_size_B\nfrom information_schema.tables\n where TABLE_SCHEMA = 'newcloud'\ngroup by TABLE_NAME\norder by data_size_B desc;\n\n-- \u67e5\u770b\u67d0\u4e2a\u6570\u636e\u5e93\u67d0\u4e2a\u6570\u636e\u8868\u6570\u636e\u5927\u5c0f\u548c\u7d22\u5f15\u5927\u5c0f\nselect TABLE_NAME, \nconcat(truncate(sum(data_length)/1024/1024,2),' MB') as data_size,\nsum(data_length) as data_size_B,\nconcat(truncate(sum(index_length)/1024/1024,2),'MB') as index_size,\nsum(index_length) as index_size_B\nfrom information_schema.tables\nwhere TABLE_SCHEMA = 'newcloud'\nand table_name='log_err_flow'\ngroup by TABLE_NAME\norder by data_size_B desc;\n")),(0,t.yg)("h3",{id:"\u4f18\u5316"},"\u4f18\u5316"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("a",{parentName:"li",href:"https://cloud.tencent.com/developer/article/1580260"},"\u7a0b\u5e8f\u5458\u8fdb\u9636\u5fc5\u8bfb\uff0c\u4e07\u5b57\u603b\u7ed3Mysql\u4f18\u5316\u7cbe\u534e\u7bc7"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6898],{15680:(e,n,l)=>{l.d(n,{xA:()=>y,yg:()=>g});var a=l(96540);function t(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function r(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,a)}return l}function o(e){for(var n=1;n=0||(t[l]=e[l]);return t}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(t[l]=e[l])}return t}var s=a.createContext({}),u=function(e){var n=a.useContext(s),l=n;return e&&(l="function"==typeof e?e(n):o(o({},n),e)),l},y=function(e){var n=u(e.components);return a.createElement(s.Provider,{value:n},e.children)},c="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},_=a.forwardRef((function(e,n){var l=e.components,t=e.mdxType,r=e.originalType,s=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),c=u(l),_=t,g=c["".concat(s,".").concat(_)]||c[_]||d[_]||r;return l?a.createElement(g,o(o({ref:n},y),{},{components:l})):a.createElement(g,o({ref:n},y))}));function g(e,n){var l=arguments,t=n&&n.mdxType;if("string"==typeof e||t){var r=l.length,o=new Array(r);o[0]=_;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[c]="string"==typeof e?e:t,o[1]=i;for(var u=2;u{l.r(n),l.d(n,{assets:()=>s,contentTitle:()=>o,default:()=>d,frontMatter:()=>r,metadata:()=>i,toc:()=>u});var a=l(58168),t=(l(96540),l(15680));const r={},o=void 0,i={unversionedId:"study/db/SQL/MySQL",id:"study/db/SQL/MySQL",title:"MySQL",description:"\u7248\u672c\u9009\u62e9",source:"@site/docs/study/db/SQL/MySQL.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/MySQL",permalink:"/docs/study/db/SQL/MySQL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MySQL \u7b14\u8bb0",permalink:"/docs/study/db/SQL/MySQL-\u7b14\u8bb0"},next:{title:"OpenGauss",permalink:"/docs/study/db/SQL/OpenGauss"}},s={},u=[{value:"\u7248\u672c\u9009\u62e9",id:"\u7248\u672c\u9009\u62e9",level:3},{value:"\u4fee\u6539\u65f6\u533a",id:"\u4fee\u6539\u65f6\u533a",level:3},{value:"\u521b\u5efa\u7528\u6237\u5e76\u6388\u6743",id:"\u521b\u5efa\u7528\u6237\u5e76\u6388\u6743",level:3},{value:"\u5185\u5b58\u5206\u914d",id:"\u5185\u5b58\u5206\u914d",level:3},{value:"\u5171\u4eab\u5185\u5b58",id:"\u5171\u4eab\u5185\u5b58",level:4},{value:"Session \u79c1\u6709\u5185\u5b58",id:"session-\u79c1\u6709\u5185\u5b58",level:4},{value:"\u5982\u4f55\u8bbe\u7f6e",id:"\u5982\u4f55\u8bbe\u7f6e",level:4},{value:"\u67e5\u8be2\u4f18\u5316",id:"\u67e5\u8be2\u4f18\u5316",level:3},{value:"\u5197\u4f59\u7d22\u5f15",id:"\u5197\u4f59\u7d22\u5f15",level:3},{value:"\u5b58\u50a8\u5f15\u64ce",id:"\u5b58\u50a8\u5f15\u64ce",level:3},{value:"MyISAM\u548cInnoDB\u533a\u522b",id:"myisam\u548cinnodb\u533a\u522b",level:3},{value:"\u4e50\u89c2\u9501\u4e0e\u60b2\u89c2\u9501\u7684\u533a\u522b",id:"\u4e50\u89c2\u9501\u4e0e\u60b2\u89c2\u9501\u7684\u533a\u522b",level:3},{value:"\u60b2\u89c2\u9501",id:"\u60b2\u89c2\u9501",level:4},{value:"\u4e50\u89c2\u9501",id:"\u4e50\u89c2\u9501",level:4},{value:"\u4e24\u79cd\u9501\u7684\u4f7f\u7528\u573a\u666f",id:"\u4e24\u79cd\u9501\u7684\u4f7f\u7528\u573a\u666f",level:4},{value:"\u65e5\u5fd7\u76f8\u5173/Binlog\u7b49",id:"\u65e5\u5fd7\u76f8\u5173binlog\u7b49",level:3},{value:"Binlog\u5f55\u5165\u683c\u5f0f",id:"binlog\u5f55\u5165\u683c\u5f0f",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:4},{value:"\u5360\u7528\u78c1\u76d8\u5927\u5c0f/\u6570\u636e\u5927\u5c0f/\u7d22\u5f15\u5927\u5c0f",id:"\u5360\u7528\u78c1\u76d8\u5927\u5c0f\u6570\u636e\u5927\u5c0f\u7d22\u5f15\u5927\u5c0f",level:3},{value:"\u4f18\u5316",id:"\u4f18\u5316",level:3}],y={toc:u},c="wrapper";function d(e){let{components:n,...l}=e;return(0,t.yg)(c,(0,a.A)({},y,l,{components:n,mdxType:"MDXLayout"}),(0,t.yg)("h3",{id:"\u7248\u672c\u9009\u62e9"},"\u7248\u672c\u9009\u62e9"),(0,t.yg)("p",null,"\u5f53\u524d\u6bd4\u8f83\u7a33\u5b9a\u7248\u672c\u662f5.6\u30015.7\u548c8.0\uff0c\u5982\u679c\u662f\u65b0\u9879\u76ee\u5f53\u7136\u662f\u75288.0\uff1b6.0\u5c31\u662f\u4e2a\u5e9f\u5f03\u7248\u672c\uff0c7.x\u662fNDB Cluster\u7248\uff1b"),(0,t.yg)("p",null,"mysql8.0\u7684\u4e3b\u8981\u65b0\u7279\u6027\uff1a"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"hash join\uff1b")),(0,t.yg)("h3",{id:"\u4fee\u6539\u65f6\u533a"},"\u4fee\u6539\u65f6\u533a"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"docker exec -it mysql02 bash\ncd /etc/mysql/mysql.conf.d\necho \"default-time_zone = '+8:00'\" >> mysqld.cnf\nexit\ndocker restart mysql02\n")),(0,t.yg)("h3",{id:"\u521b\u5efa\u7528\u6237\u5e76\u6388\u6743"},"\u521b\u5efa\u7528\u6237\u5e76\u6388\u6743"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"-- \u521b\u5efa\u7528\u6237\ncreate user 'xx'@'%' identified by 'xx';\n-- \u6388\u6743\u67d0\u4e2a\u8868\u7684\u67e5\u8be2\u548c\u589e\u52a0\u6743\u9650\ngrant SELECT,INSERT on newcloud.elk_user_func_flow_for_user_op_for_res to 'xx'@'%';\n-- \u5220\u9664\u7528\u6237\ndrop user 'xx'@'%';\n-- \u67e5\u770b\u67d0\u4e2a\u7528\u6237\u7684\u6388\u6743\u4fe1\u606f\nshow grants for 'cloudExtend'@'%'; \n--\nflush privileges;\n")),(0,t.yg)("h3",{id:"\u5185\u5b58\u5206\u914d"},"\u5185\u5b58\u5206\u914d"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"-- \u67e5\u8be2\u5171\u4eab\u5185\u5b58\u4f7f\u7528\u60c5\u51b5 \u5355\u4f4d\u662fByte\nshow variables where variable_name in (\n'innodb_buffer_pool_size','innodb_log_buffer_size','innodb_additional_mem_pool_size','key_buffer_size','query_cache_size'\n);\n-- InnoDB \u7f13\u51b2\u6c60\u5212\u5206\u4e3a\u7684\u533a\u57df\u6570\nshow variables like 'innodb_buffer_pool_instances'\n-- \u67e5\u8be2session\u79c1\u6709\u5185\u6d4b\u4f7f\u7528\u60c5\u51b5 \u5355\u4f4d\u662fByte\nshow variables where variable_name in (\n'read_buffer_size','read_rnd_buffer_size','sort_buffer_size','join_buffer_size','binlog_cache_size','tmp_table_size'\n);\n")),(0,t.yg)("p",null,"MySQL \u7684\u5185\u5b58\u5927\u4f53\u53ef\u4ee5\u5206\u4e3a\u5171\u4eab\u5185\u5b58\u548c session \u79c1\u6709\u5185\u5b58\u4e24\u90e8\u5206\uff0c\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5404\u90e8\u5206\u7684\u6784\u6210\u3002"),(0,t.yg)("h4",{id:"\u5171\u4eab\u5185\u5b58"},"\u5171\u4eab\u5185\u5b58"),(0,t.yg)("p",null,"\u53c2\u6570\u8bf4\u660e\uff1a"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"innodb_buffer_pool\n\u8be5\u90e8\u5206\u7f13\u5b58\u662f Innodb \u5f15\u64ce\u6700\u91cd\u8981\u7684\u7f13\u5b58\u533a\u57df\uff0c\u662f\u901a\u8fc7\u5185\u5b58\u6765\u5f25\u8865\u7269\u7406\u6570\u636e\u6587\u4ef6\u7684\u91cd\u8981\u624b\u6bb5\u3002\u5176\u4e2d\u4e3b\u8981\u5305\u542b\u6570\u636e\u9875\u3001\u7d22\u5f15\u9875\u3001undo \u9875\u3001insert buffer\u3001\u81ea\u9002\u5e94\u54c8\u5e0c\u7d22\u5f15\u3001\u9501\u4fe1\u606f\u4ee5\u53ca\u6570\u636e\u5b57\u5178\u7b49\u4fe1\u606f\u3002\u5728\u8fdb\u884c SQL \u8bfb\u548c\u5199\u7684\u64cd\u4f5c\u65f6\uff0c\u9996\u5148\u5e76\u4e0d\u662f\u5bf9\u7269\u7406\u6570\u636e\u6587\u4ef6\u64cd\u4f5c\uff0c\u800c\u662f\u5148\u5bf9 buffer_pool \u8fdb\u884c\u64cd\u4f5c\uff0c\u7136\u540e\u518d\u901a\u8fc7 checkpoint \u7b49\u673a\u5236\u5199\u56de\u6570\u636e\u6587\u4ef6\u3002\u8be5\u7a7a\u95f4\u7684\u4f18\u70b9\u662f\u53ef\u4ee5\u63d0\u5347\u6570\u636e\u5e93\u7684\u6027\u80fd\u3001\u52a0\u5feb SQL \u8fd0\u884c\u901f\u5ea6\uff0c\u7f3a\u70b9\u662f\u6545\u969c\u6062\u590d\u901f\u5ea6\u8f83\u6162\u3002"),(0,t.yg)("li",{parentName:"ul"},"innodb_log_buffer\n\u8be5\u90e8\u5206\u4e3b\u8981\u5b58\u653e redo log \u7684\u4fe1\u606f\uff0c\u5728 RDS \u4e0a\u4f1a\u8bbe\u7f6e 1 M \u7684\u5927\u5c0f\u3002InnoDB \u4f1a\u9996\u5148\u5c06 redo log \u5199\u5728\u8fd9\u91cc\uff0c\u7136\u540e\u6309\u7167\u4e00\u5b9a\u9891\u7387\u5c06\u5176\u5237\u65b0\u56de\u91cd\u505a\u65e5\u5fd7\u6587\u4ef6\u4e2d\u3002\u8be5\u7a7a\u95f4\u4e0d\u9700\u8981\u592a\u5927\uff0c\u56e0\u4e3a\u4e00\u822c\u60c5\u51b5\u4e0b\u8be5\u90e8\u5206\u7f13\u5b58\u4f1a\u4ee5\u8f83\u5feb\u9891\u7387\u5237\u65b0\u81f3 redo log\uff08Master Thread \u4f1a\u6bcf\u79d2\u5237\u65b0\u3001\u4e8b\u52a1\u63d0\u4ea4\u65f6\u4f1a\u5237\u65b0\u3001\u5176\u7a7a\u95f4\u5c11\u4e8e 1/2 \u65f6\u540c\u6837\u4f1a\u5237\u65b0\uff09\u3002"),(0,t.yg)("li",{parentName:"ul"},"innodb_additional_mem_pool\n\u8be5\u90e8\u5206\u4e3b\u8981\u5b58\u653e InnoDB \u5185\u7684\u4e00\u4e9b\u6570\u636e\u7ed3\u6784\uff0c\u5728 RDS \u4e2d\u7edf\u4e00\u8bbe\u7f6e\u4e3a 2 M\u3002\u901a\u5e38\u662f\u5728 buffer_pool \u4e2d\u7533\u8bf7\u5185\u5b58\u7684\u65f6\u5019\u8fd8\u9700\u8981\u5728\u989d\u5916\u5185\u5b58\u4e2d\u7533\u8bf7\u7a7a\u95f4\u5b58\u50a8\u8be5\u5bf9\u8c61\u7684\u7ed3\u6784\u4fe1\u606f\u3002\u8be5\u5927\u5c0f\u4e3b\u8981\u4e0e\u8868\u6570\u91cf\u6709\u5173\uff0c\u8868\u6570\u91cf\u8d8a\u5927\u9700\u8981\u66f4\u5927\u7684\u7a7a\u95f4\u3002"),(0,t.yg)("li",{parentName:"ul"},"key_buffer\n\u8be5\u90e8\u5206\u662f MyISAM \u8868\u7684\u91cd\u8981\u7f13\u5b58\u533a\u57df\uff0c\u6240\u6709\u5b9e\u4f8b\u7edf\u4e00\u4e3a 16 M\u3002\u8be5\u90e8\u5206\u4e3b\u8981\u5b58\u653e MyISAM \u8868\u7684\u952e\u3002MyISAM \u8868\u4e0d\u540c\u4e8e InnoDB \u8868\uff0c\u5176\u7f13\u5b58\u7684\u7d22\u5f15\u7f13\u5b58\u662f\u653e\u5728 key_buffer \u4e2d\u7684\uff0c\u800c\u6570\u636e\u7f13\u5b58\u5219\u5b58\u50a8\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u7684\u5185\u5b58\u4e2d\u3002RDS \u7684\u7cfb\u7edf\u662f MyISAM \u5f15\u64ce\u7684\uff0c\u56e0\u6b64\u5728 RDS \u4e2d\u662f\u7ed9\u4e88\u8be5\u90e8\u5206\u4e00\u5b9a\u91cf\u7684\u7a7a\u95f4\u7684\u3002"),(0,t.yg)("li",{parentName:"ul"},"query_cache\n\u8be5\u90e8\u5206\u662f\u5bf9\u67e5\u8be2\u7ed3\u679c\u505a\u7f13\u5b58\u4ee5\u51cf\u5c11\u89e3\u6790 SQL \u548c\u6267\u884c SQL \u7684\u82b1\u9500\uff0c\u5728 RDS \u4e0a\u5173\u95ed\u4e86\u8be5\u90e8\u5206\u7684\u7f13\u5b58\u3002\u4e3b\u8981\u9002\u5408\u4e8e\u8bfb\u591a\u5199\u5c11\u7684\u5e94\u7528\u573a\u666f\uff0c\u56e0\u4e3a\u5b83\u662f\u6309\u7167 SQL \u8bed\u53e5\u7684 hash \u503c\u8fdb\u884c\u7f13\u5b58\u7684\uff0c\u5f53\u8868\u6570\u636e\u53d1\u751f\u53d8\u5316\u540e\u5373\u5931\u6548\u3002")),(0,t.yg)("h4",{id:"session-\u79c1\u6709\u5185\u5b58"},"Session \u79c1\u6709\u5185\u5b58"),(0,t.yg)("p",null,"\u5171\u4eab\u5185\u5b58\u4e2d\u4ecb\u7ecd\u7684\u5185\u5b58\u7a7a\u95f4\u662f\u5b9e\u4f8b\u521b\u5efa\u65f6\u5373\u5206\u914d\u7684\u5185\u5b58\u7a7a\u95f4\uff0c\u5e76\u4e14\u662f\u6240\u6709\u8fde\u63a5\u5171\u4eab\u7684\u3002"),(0,t.yg)("p",null,"\u53c2\u6570\u8bf4\u660e\uff1a"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"read_buffer&read_rnd_buffer\n\u5206\u522b\u5b58\u653e\u4e86\u5bf9\u987a\u5e8f\u548c\u968f\u673a\u626b\u63cf\uff08\u4f8b\u5982\u6309\u7167\u6392\u5e8f\u7684\u987a\u5e8f\u8bbf\u95ee\uff09\u7684\u7f13\u5b58\uff0cRDS \u7ed9\u6bcf\u4e2a session \u8bbe\u7f6e 256 K \u7684\u5927\u5c0f\u3002\u5f53 thread \u8fdb\u884c\u987a\u5e8f\u6216\u968f\u673a\u626b\u63cf\u6570\u636e\u65f6\u4f1a\u9996\u5148\u626b\u63cf\u8be5 buffer \u7a7a\u95f4\u4ee5\u907f\u514d\u66f4\u591a\u7684\u7269\u7406\u8bfb\u3002"),(0,t.yg)("li",{parentName:"ul"},"sort_buffer\n\u9700\u8981\u6267\u884c order by \u548c group by \u7684 SQL \u90fd\u4f1a\u5206\u914d sort_buffer\uff0c\u7528\u4e8e\u5b58\u50a8\u6392\u5e8f\u7684\u4e2d\u95f4\u7ed3\u679c\uff0c\u5728 RDS \u4e0a\u8bbe\u7f6e 256 K\u3002\u5728\u6392\u5e8f\u8fc7\u7a0b\u4e2d\uff0c\u82e5\u5b58\u50a8\u91cf\u5927\u4e8e sort_buffer_size\uff0c\u5219\u4f1a\u5728\u78c1\u76d8\u751f\u6210\u4e34\u65f6\u8868\u4ee5\u5b8c\u6210\u64cd\u4f5c\u3002\u5728 Linux \u7cfb\u7edf\u4e2d\uff0c\u5f53\u5206\u914d\u7a7a\u95f4\u5927\u4e8e 2 M \u65f6\u4f1a\u4f7f\u7528 mmap() \u800c\u4e0d\u662f malloc() \u6765\u8fdb\u884c\u5185\u5b58\u5206\u914d\uff0c\u5bfc\u81f4\u6548\u7387\u964d\u4f4e\u3002"),(0,t.yg)("li",{parentName:"ul"},"join_buffer\nMySQL \u4ec5\u652f\u6301 nest loop \u7684 join \u7b97\u6cd5\uff0cRDS \u8bbe\u7f6e 256 K \u7684\u5927\u5c0f\u3002\u5904\u7406\u903b\u8f91\u662f\u9a71\u52a8\u8868\u7684\u4e00\u884c\u548c\u975e\u9a71\u52a8\u8868\u8054\u5408\u67e5\u627e\uff0c\u8fd9\u65f6\u5c31\u53ef\u4ee5\u5c06\u975e\u9a71\u52a8\u8868\u653e\u5165 join_buffer\uff0c\u4e0d\u9700\u8981\u8bbf\u95ee\u62e5\u6709\u5e76\u53d1\u4fdd\u62a4\u673a\u5236\u7684 buffer_pool\u3002"),(0,t.yg)("li",{parentName:"ul"},"binlog_cache\n\u8be5\u533a\u57df\u7528\u6765\u7f13\u5b58\u8be5 thread \u7684 binlog \u65e5\u5fd7\uff0cRDS \u8bbe\u7f6e 256 K \u7684\u5927\u5c0f\u3002\u5728\u4e00\u4e2a\u4e8b\u52a1\u8fd8\u6ca1\u6709 commit \u4e4b\u524d\u4f1a\u5148\u5c06\u5176\u65e5\u5fd7\u5b58\u50a8\u4e8e binlog_cache \u4e2d\uff0c\u7b49\u5230\u4e8b\u52a1 commit \u540e\u4f1a\u5c06\u5176 binlog \u5237\u56de\u78c1\u76d8\u4e0a\u7684 binlog \u6587\u4ef6\u4ee5\u6301\u4e45\u5316\u3002"),(0,t.yg)("li",{parentName:"ul"},"tmp_table\n\u4e0d\u540c\u4e8e\u4e0a\u9762\u5404\u4e2a session \u5c42\u6b21\u7684 buffer\uff0c\u8fd9\u4e2a\u53c2\u6570\u53ef\u4ee5\u5728\u63a7\u5236\u53f0\u4e0a\u4fee\u6539\u3002\u8be5\u53c2\u6570\u662f\u6307\u7528\u6237\u5185\u5b58\u4e34\u65f6\u8868\u7684\u5927\u5c0f\uff0c\u5982\u679c\u8be5 thread \u521b\u5efa\u7684\u4e34\u65f6\u8868\u8d85\u8fc7\u5b83\u8bbe\u7f6e\u7684\u5927\u5c0f\u4f1a\u628a\u4e34\u65f6\u8868\u8f6c\u6362\u4e3a\u78c1\u76d8\u4e0a\u7684\u4e00\u5f20 MyISAM \u4e34\u65f6\u8868\u3002\u5982\u679c\u7528\u6237\u5728\u6267\u884c\u4e8b\u52a1\u65f6\u9047\u5230\u7c7b\u4f3c\u5982\u4e0b\u8fd9\u6837\u7684\u9519\u8bef\uff0c\u53ef\u4ee5\u8003\u8651\u589e\u5927 tmp_table \u7684\u503c\u3002")),(0,t.yg)("h4",{id:"\u5982\u4f55\u8bbe\u7f6e"},"\u5982\u4f55\u8bbe\u7f6e"),(0,t.yg)("p",null,"\u9488\u5bf9\u5f53\u524dMySQL\u4f01\u4e1a\u7528\u6237\u7684\u5b9e\u9645\u73af\u5883\uff08\u5927\u5185\u5b58\uff09\uff1a"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u5728\u4e13\u7528\u6570\u636e\u5e93\u670d\u52a1\u5668\u4e0a\uff0c\u53ef\u4ee5\u5c06innodb_buffer_pool_size\u8bbe\u7f6e\u4e3a\u8ba1\u7b97\u673a\u7269\u7406\u5185\u5b58\u5927\u5c0f\u768480\uff05;"),(0,t.yg)("li",{parentName:"ol"},"\u5728innodb_buffer_pool_size\u8bbe\u7f6e\u6bd4\u8f83\u5927\u7684\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u5c06innodb_buffer_pool_instances\u7684\u503c\u8bbe\u7f6e\u4e3a8-16\uff0c\u4fdd\u8bc1\u4e00\u4e2apool 10G\u4ee5\u4e0a\u3002")),(0,t.yg)("p",null,"\uff08\u6ce8\u610finnodb_buffer_pool_size\u5fc5\u987b\u4e3a\xa0innodb_buffer_pool_instances \u7684\u500d\u6570\uff09"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\u901a\u8fc7SQL\u4fee\u6539 \u91cd\u542f\u540e\u5931\u6548 2G\nset global innodb_buffer_pool_size = 2147483648\n\n#\u4fee\u6539my.cnf\u914d\u7f6e \u9700\u8981\u91cd\u542f\ninnodb_buffer_pool_size = 2147483648\ninnodb_buffer_pool_size = 2G\ninnodb_buffer_pool_size = 2048M\n")),(0,t.yg)("h3",{id:"\u67e5\u8be2\u4f18\u5316"},"\u67e5\u8be2\u4f18\u5316"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"#\n-- \u67e5\u8be2\u7f13\u5b58\nshow variables where variable_name in (\n'have_query_cache','query_cache_limit','query_cache_min_res_unit','query_cache_size','query_cache_type','query_cache_wlock_invalidate'\n);\n")),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"have_query_cache\uff1a\u5f53\u524d\u7684MYSQL\u7248\u672c\u662f\u5426\u652f\u6301\u201c\u67e5\u8be2\u7f13\u5b58\u201d\u529f\u80fd\u3002"),(0,t.yg)("li",{parentName:"ol"},"query_cache_min_res_unit\uff1a\u67e5\u8be2\u7f13\u5b58\u5206\u914d\u7684\u6700\u5c0f\u5757\uff08\u5b57\u8282\uff09\u3002\u9ed8\u8ba4\u503c\u662f4096\uff084KB\uff09\u3002\u5f53\u67e5\u8be2\u8fdb\u884c\u65f6\uff0cMySQL\u628a\u67e5\u8be2\u7ed3\u679c\u4fdd\u5b58\u5728query cache\uff0c\u4f46\u662f\u5982\u679c\u4fdd\u5b58\u7684\u7ed3\u679c\u6bd4\u8f83\u5927\uff0c\u8d85\u8fc7\u4e86query_cache_min_res_unit\u7684\u503c\uff0c\u8fd9\u65f6\u5019MySQL\u5c06\u4e00\u8fb9\u68c0\u7d22\u7ed3\u679c\uff0c\u4e00\u8fb9\u8fdb\u884c\u4fdd\u5b58\u7ed3\u679c\u3002\u4ed6\u4fdd\u5b58\u7ed3\u679c\u4e5f\u662f\u6309\u9ed8\u8ba4\u5927\u5c0f\u5148\u5206\u914d\u4e00\u5757\u7a7a\u95f4\uff0c\u5982\u679c\u4e0d\u591f\uff0c\u53c8\u8981\u7533\u8bf7\u65b0\u7684\u7a7a\u95f4\u7ed9\u4ed6\u3002\u5982\u679c\u67e5\u8be2\u7ed3\u679c\u6bd4\u8f83\u5c0f\uff0c\u9ed8\u8ba4\u7684query_cache_min_res_unit\u53ef\u80fd\u9020\u6210\u5927\u91cf\u7684\u5185\u5b58\u788e\u7247\uff0c\u5982\u679c\u67e5\u8be2\u7ed3\u679c\u6bd4\u8f83\u5927\uff0c\u9ed8\u8ba4\u7684query_cache_min_res_unit\u53c8\u4e0d\u591f\uff0c\u5bfc\u81f4\u4e00\u76f4\u5206\u914d\u5757\u7a7a\u95f4\uff0c\u6240\u4ee5\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u6c42\uff0c\u8c03\u8282query_cache_min_res_unit\u7684\u5927\u5c0f\u3002\u6ce8\uff1a\u5982\u679c\u4e0a\u9762\u8bf4\u7684\u5185\u5bb9\u6709\u70b9\u5f2f\u5f2f\u7ed5\uff0c\u90a3\u4e3e\u4e2a\u73b0\u5b9e\u751f\u6d3b\u4e2d\u7684\u4f8b\u5b50\uff0c\u6bd4\u5982\u54b1\u73b0\u5728\u8981\u7ed9\u8fd0\u52a8\u5458\u9001\u6c34\uff0c\u9ed8\u8ba4\u7684\u662f500ml\u7684\u74f6\u5b50\uff0c\u5982\u679c\u8fc7\u6765\u7684\u662f\u5c11\u5e74\u8fd0\u52a8\u5458\uff0c\u53ef\u80fd500ml\u592a\u5927\u4e86\uff0c\u4ed6\u4eec\u559d\u4e0d\u5b8c\uff0c\u9020\u6210\u4e86\u6d6a\u8d39\uff0c\u90a3\u6211\u4eec\u5c31\u53ef\u4ee5\u9009\u62e9300ml\u7684\u74f6\u5b50\uff0c\u5982\u679c\u8fc7\u6765\u7684\u662f\u6210\u5e74\u8fd0\u52a8\u5458\uff0c\u53ef\u80fd500ml\u4e0d\u591f\uff0c\u90a3\u4ed6\u4eec\u4e00\u74f6\u559d\u5b8c\u4e86\uff0c\u53c8\u5f00\u4e00\u74f6\uff0c\u76f4\u63a5\u4e0d\u6e34\u4e3a\u6b62\u3002\u90a3\u4e48\u90a3\u6837\u5f00\u74f6\u5b50\u4e5f\u8981\u65f6\u95f4\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u9009\u62e91000ml\u7684\u74f6\u5b50\u3002"),(0,t.yg)("li",{parentName:"ol"},"query_cache_size\uff1a\u4e3a\u7f13\u5b58\u67e5\u8be2\u7ed3\u679c\u5206\u914d\u7684\u603b\u5185\u5b58\u3002"),(0,t.yg)("li",{parentName:"ol"},"query_cache_type\uff1a\u9ed8\u8ba4\u4e3aon\u3002"),(0,t.yg)("li",{parentName:"ol"},"query_cache_wlock_invalidate\uff1a\u5982\u679c\u8be5\u8868\u88ab\u9501\u4f4f\uff0c\u662f\u5426\u8fd4\u56de\u7f13\u5b58\u4e2d\u7684\u6570\u636e\uff0c\u9ed8\u8ba4\u662f\u5173\u95ed\u7684\u3002")),(0,t.yg)("p",null,"MYSQL\u7684\u67e5\u8be2\u7f13\u5b58\u5b9e\u8d28\u4e0a\u662f\u7f13\u5b58SQL\u7684hash\u503c\u548c\u8be5SQL\u7684\u67e5\u8be2\u7ed3\u679c\uff0c\u5982\u679c\u8fd0\u884c\u76f8\u540c\u7684SQL,\u670d\u52a1\u5668\u76f4\u63a5\u4ece\u7f13\u5b58\u4e2d\u53bb\u6389\u7ed3\u679c\uff0c\u800c\u4e0d\u518d\u53bb\u89e3\u6790\uff0c\u4f18\u5316\uff0c\u5bfb\u627e\u6700\u4f4e\u6210\u672c\u7684\u6267\u884c\u8ba1\u5212\u7b49\u4e00\u7cfb\u5217\u64cd\u4f5c\uff0c\u5927\u5927\u63d0\u5347\u4e86\u67e5\u8be2\u901f\u5ea6\u3002\n\u4f46\u662f\u4e07\u4e8b\u6709\u5229\u4e5f\u6709\u5f0a\u3002"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"\u7b2c\u4e00\u4e2a\u5f0a\u7aef\u5c31\u662f\u5982\u679c\u8868\u7684\u6570\u636e\u6709\u4e00\u6761\u53d1\u751f\u53d8\u5316\uff0c\u90a3\u4e48\u7f13\u5b58\u597d\u7684\u7ed3\u679c\u5c06\u5168\u90e8\u4e0d\u518d\u6709\u6548\u3002\u8fd9\u5bf9\u4e8e\u9891\u7e41\u66f4\u65b0\u7684\u8868\uff0c\u67e5\u8be2\u7f13\u5b58\u662f\u4e0d\u9002\u5408\u7684\u3002"),(0,t.yg)("li",{parentName:"ul"},"\u7b2c\u4e8c\u4e2a\u5f0a\u7aef\u5c31\u662f\u7f13\u5b58\u673a\u5236\u662f\u901a\u8fc7\u5bf9SQL\u7684hash\uff0c\u5f97\u51fa\u7684\u503c\u4e3akey\uff0c\u67e5\u8be2\u7ed3\u679c\u4e3avalue\u6765\u5b58\u653e\u7684\uff0c\u90a3\u4e48\u5c31\u610f\u5473\u7740SQL\u5fc5\u987b\u5b8c\u5b8c\u5168\u5168\u4e00\u6a21\u4e00\u6837\uff0c\u5426\u5219\u5c31\u547d\u4e0d\u4e2d\u7f13\u5b58\u3002")),(0,t.yg)("p",null,"\u9ed8\u8ba4query_cache_type\u8bbe\u7f6e\u4e3aOFF\uff0c\u5176\u5b9e\u7f51\u4e0a\u8d44\u6599\u548c\u5404\u5927\u4e91\u5382\u5546\u63d0\u4f9b\u7684\u4e91\u670d\u52a1\u5668\u90fd\u662f\u5c06\u8fd9\u4e2a\u529f\u80fd\u5173\u95ed\u7684\uff0c\u4ece\u4e0a\u9762\u7684\u539f\u7406\u6765\u770b\uff0c\u5728\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u4ed6\u7684\u5f0a\u7aef\u5927\u4e8e\u4f18\u70b9\u3002"),(0,t.yg)("h3",{id:"\u5197\u4f59\u7d22\u5f15"},"\u5197\u4f59\u7d22\u5f15"),(0,t.yg)("p",null,"\u5197\u4f59\u7d22\u5f15\u6307\u7684\u662f\u7d22\u5f15\u7684\u529f\u80fd\u76f8\u540c\uff0c\u80fd\u591f\u547d\u4e2d\u5c31\u80af\u5b9a\u80fd\u547d\u4e2d \uff0c\u90a3\u4e48\u5c31\u662f\u5197\u4f59\u7d22\u5f15\u5982\uff08name,city \uff09\u548c\uff08name \uff09\u8fd9\u4e24\u4e2a\u7d22\u5f15\u5c31\u662f\u5197\u4f59\u7d22\u5f15\uff0c\u80fd\u591f\u547d\u4e2d\u540e\u8005\u7684\u67e5\u8be2\u80af\u5b9a\u662f\u80fd\u591f\u547d\u4e2d\u524d\u8005\u7684 \u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u90fd\u5e94\u8be5\u5c3d\u91cf\u6269\u5c55\u5df2\u6709\u7684\u7d22\u5f15\u800c\u4e0d\u662f\u521b\u5efa\u65b0\u7d22\u5f15\u3002\nMySQLS.7 \u7248\u672c\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u67e5\u8be2 sys \u5e93\u7684 schema_redundant_indexes \u8868\u6765\u67e5\u770b\u5197\u4f59\u7d22\u5f15\u3002"),(0,t.yg)("h3",{id:"\u5b58\u50a8\u5f15\u64ce"},"\u5b58\u50a8\u5f15\u64ce"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"-- \u67e5\u8be2\u5f53\u524d\u6570\u636e\u5e93\u670d\u52a1\u5668\u652f\u6301\u7684\u5b58\u50a8\u5f15\u64ce\u5217\u8868\nshow engines;\n-- \u67e5\u770b\u9ed8\u8ba4\u7684\u5b58\u50a8\u5f15\u64ce\nshow variables like '%storage_engine%';\n-- \u67e5\u770b\u8868\u7684\u5b58\u50a8\u5f15\u64ce\u53ca\u5176\u4ed6\u76f8\u5173\u4fe1\u606f\nshow table status like \"table_name\";\n")),(0,t.yg)("h3",{id:"myisam\u548cinnodb\u533a\u522b"},"MyISAM\u548cInnoDB\u533a\u522b"),(0,t.yg)("p",null,"MyISAM\u662fMySQL\u7684\u9ed8\u8ba4\u6570\u636e\u5e93\u5f15\u64ce\uff085.5\u7248\u4e4b\u524d\uff09\u3002\u867d\u7136\u6027\u80fd\u6781\u4f73\uff0c\u800c\u4e14\u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u7279\u6027\uff0c\u5305\u62ec\u5168\u6587\u7d22\u5f15\u3001\u538b\u7f29\u3001\u7a7a\u95f4\u51fd\u6570\u7b49\uff0c\u4f46MyISAM\u4e0d\u652f\u6301\u4e8b\u52a1\u548c\u884c\u7ea7\u9501\uff0c\u800c\u4e14\u6700\u5927\u7684\u7f3a\u9677\u5c31\u662f\u5d29\u6e83\u540e\u65e0\u6cd5\u5b89\u5168\u6062\u590d\u3002\u4e0d\u8fc7\uff0c5.5\u7248\u672c\u4e4b\u540e\uff0cMySQL\u5f15\u5165\u4e86InnoDB\uff08\u4e8b\u52a1\u6027\u6570\u636e\u5e93\u5f15\u64ce\uff09\uff0cMySQL 5.5\u7248\u672c\u540e\u9ed8\u8ba4\u7684\u5b58\u50a8\u5f15\u64ce\u4e3aInnoDB\u3002\n\u5927\u591a\u6570\u65f6\u5019\u6211\u4eec\u4f7f\u7528\u7684\u90fd\u662f InnoDB \u5b58\u50a8\u5f15\u64ce\uff0c\u4f46\u662f\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4f7f\u7528 MyISAM \u4e5f\u662f\u5408\u9002\u7684\u6bd4\u5982\u8bfb\u5bc6\u96c6\u7684\u60c5\u51b5\u4e0b\u3002\uff08\u5982\u679c\u4f60\u4e0d\u4ecb\u610f MyISAM \u5d29\u6e83\u56de\u590d\u95ee\u9898\u7684\u8bdd\uff09\u3002"),(0,t.yg)("p",null,"\u4e24\u8005\u7684\u5bf9\u6bd4\uff1a"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u662f\u5426\u652f\u6301\u884c\u7ea7\u9501: MyISAM \u53ea\u6709\u8868\u7ea7\u9501(table-level locking)\uff0c\u800cInnoDB \u652f\u6301\u884c\u7ea7\u9501(row-level locking)\u548c\u8868\u7ea7\u9501,\u9ed8\u8ba4\u4e3a\u884c\u7ea7\u9501\u3002"),(0,t.yg)("li",{parentName:"ol"},"\u662f\u5426\u652f\u6301\u4e8b\u52a1\u548c\u5d29\u6e83\u540e\u7684\u5b89\u5168\u6062\u590d\uff1aMyISAM\u5f3a\u8c03\u7684\u662f\u6027\u80fd\uff0c\u6bcf\u6b21\u67e5\u8be2\u5177\u6709\u539f\u5b50\u6027,\u5176\u6267\u884c\u6bd4InnoDB\u7c7b\u578b\u66f4\u5feb\uff0c\u4f46\u662f\u4e0d\u63d0\u4f9b\u4e8b\u52a1\u652f\u6301\u3002\u4f46\u662fInnoDB\u63d0\u4f9b\u4e8b\u52a1\u652f\u6301\u4e8b\u52a1\uff0c\u5916\u90e8\u952e\u7b49\u9ad8\u7ea7\u6570\u636e\u5e93\u529f\u80fd\u3002\u5177\u6709\u4e8b\u52a1(commit)\u3001\u56de\u6eda(rollback)\u548c\u5d29\u6e83\u4fee\u590d\u80fd\u529b(crash recovery capabilities)\u7684\u4e8b\u52a1\u5b89\u5168(transaction-safe (ACID compliant))\u578b\u8868\u3002"),(0,t.yg)("li",{parentName:"ol"},"\u662f\u5426\u652f\u6301\u5916\u952e\uff1aMyISAM\u4e0d\u652f\u6301\uff0c\u800cInnoDB\u652f\u6301\u3002"),(0,t.yg)("li",{parentName:"ol"},"\u662f\u5426\u652f\u6301MVCC\uff1a\u4ec5 InnoDB \u652f\u6301\u3002\u5e94\u5bf9\u9ad8\u5e76\u53d1\u4e8b\u52a1, MVCC\u6bd4\u5355\u7eaf\u7684\u52a0\u9501\u66f4\u9ad8\u6548;MVCC\u53ea\u5728 READ COMMITTED\u548c REPEATABLE READ\u4e24\u4e2a\u9694\u79bb\u7ea7\u522b\u4e0b\u5de5\u4f5c;MVCC\u53ef\u4ee5\u4f7f\u7528 \u4e50\u89c2(optimistic)\u9501 \u548c \u60b2\u89c2(pessimistic)\u9501\u6765\u5b9e\u73b0;\u5404\u6570\u636e\u5e93\u4e2dMVCC\u5b9e\u73b0\u5e76\u4e0d\u7edf\u4e00\u3002"),(0,t.yg)("li",{parentName:"ol"},"......")),(0,t.yg)("p",null,"\u300aMySQL\u9ad8\u6027\u80fd\u300b\u4e0a\u9762\u6709\u4e00\u53e5\u8bdd\u8fd9\u6837\u5199\u5230:"),(0,t.yg)("blockquote",null,(0,t.yg)("p",{parentName:"blockquote"},"\u4e0d\u8981\u8f7b\u6613\u76f8\u4fe1\u201cMyISAM\u6bd4InnoDB\u5feb\u201d\u4e4b\u7c7b\u7684\u7ecf\u9a8c\u4e4b\u8c08\uff0c\u8fd9\u4e2a\u7ed3\u8bba\u5f80\u5f80\u4e0d\u662f\u7edd\u5bf9\u7684\u3002\u5728\u5f88\u591a\u6211\u4eec\u5df2\u77e5\u573a\u666f\u4e2d\uff0cInnoDB\u7684\u901f\u5ea6\u90fd\u53ef\u4ee5\u8ba9MyISAM\u671b\u5c18\u83ab\u53ca\uff0c\u5c24\u5176\u662f\u7528\u5230\u4e86\u805a\u7c07\u7d22\u5f15\uff0c\u6216\u8005\u9700\u8981\u8bbf\u95ee\u7684\u6570\u636e\u90fd\u53ef\u4ee5\u653e\u5165\u5185\u5b58\u7684\u5e94\u7528\u3002")),(0,t.yg)("p",null,"\u4e00\u822c\u60c5\u51b5\u4e0b\u6211\u4eec\u9009\u62e9 InnoDB \u90fd\u662f\u6ca1\u6709\u95ee\u9898\u7684\uff0c\u4f46\u662f\u67d0\u4e8b\u60c5\u51b5\u4e0b\u4f60\u5e76\u4e0d\u5728\u4e4e\u53ef\u6269\u5c55\u80fd\u529b\u548c\u5e76\u53d1\u80fd\u529b\uff0c\u4e5f\u4e0d\u9700\u8981\u4e8b\u52a1\u652f\u6301\uff0c\u4e5f\u4e0d\u5728\u4e4e\u5d29\u6e83\u540e\u7684\u5b89\u5168\u6062\u590d\u95ee\u9898\u7684\u8bdd\uff0c\u9009\u62e9MyISAM\u4e5f\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u4f46\u662f\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u90fd\u662f\u9700\u8981\u8003\u8651\u5230\u8fd9\u4e9b\u95ee\u9898\u7684\u3002"),(0,t.yg)("h3",{id:"\u4e50\u89c2\u9501\u4e0e\u60b2\u89c2\u9501\u7684\u533a\u522b"},"\u4e50\u89c2\u9501\u4e0e\u60b2\u89c2\u9501\u7684\u533a\u522b"),(0,t.yg)("h4",{id:""}),(0,t.yg)("h4",{id:"\u60b2\u89c2\u9501"},"\u60b2\u89c2\u9501"),(0,t.yg)("p",null,"\u603b\u662f\u5047\u8bbe\u6700\u574f\u7684\u60c5\u51b5\uff0c\u6bcf\u6b21\u53bb\u62ff\u6570\u636e\u7684\u65f6\u5019\u90fd\u8ba4\u4e3a\u522b\u4eba\u4f1a\u4fee\u6539\uff0c\u6240\u4ee5\u6bcf\u6b21\u5728\u62ff\u6570\u636e\u7684\u65f6\u5019\u90fd\u4f1a\u4e0a\u9501\uff0c\u8fd9\u6837\u522b\u4eba\u60f3\u62ff\u8fd9\u4e2a\u6570\u636e\u5c31\u4f1a\u963b\u585e\u76f4\u5230\u5b83\u62ff\u5230\u9501\uff08\u5171\u4eab\u8d44\u6e90\u6bcf\u6b21\u53ea\u7ed9\u4e00\u4e2a\u7ebf\u7a0b\u4f7f\u7528\uff0c\u5176\u5b83\u7ebf\u7a0b\u963b\u585e\uff0c\u7528\u5b8c\u540e\u518d\u628a\u8d44\u6e90\u8f6c\u8ba9\u7ed9\u5176\u5b83\u7ebf\u7a0b\uff09\u3002\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u91cc\u8fb9\u5c31\u7528\u5230\u4e86\u5f88\u591a\u8fd9\u79cd\u9501\u673a\u5236\uff0c\u6bd4\u5982\u884c\u9501\uff0c\u8868\u9501\u7b49\uff0c\u8bfb\u9501\uff0c\u5199\u9501\u7b49\uff0c\u90fd\u662f\u5728\u505a\u64cd\u4f5c\u4e4b\u524d\u5148\u4e0a\u9501\u3002Java\u4e2dsynchronized\u548cReentrantLock\u7b49\u72ec\u5360\u9501\u5c31\u662f\u60b2\u89c2\u9501\u601d\u60f3\u7684\u5b9e\u73b0\u3002"),(0,t.yg)("h4",{id:"\u4e50\u89c2\u9501"},"\u4e50\u89c2\u9501"),(0,t.yg)("p",null,"\u603b\u662f\u5047\u8bbe\u6700\u597d\u7684\u60c5\u51b5\uff0c\u6bcf\u6b21\u53bb\u62ff\u6570\u636e\u7684\u65f6\u5019\u90fd\u8ba4\u4e3a\u522b\u4eba\u4e0d\u4f1a\u4fee\u6539\uff0c\u6240\u4ee5\u4e0d\u4f1a\u4e0a\u9501\uff0c\u4f46\u662f\u5728\u66f4\u65b0\u7684\u65f6\u5019\u4f1a\u5224\u65ad\u4e00\u4e0b\u5728\u6b64\u671f\u95f4\u522b\u4eba\u6709\u6ca1\u6709\u53bb\u66f4\u65b0\u8fd9\u4e2a\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528\u7248\u672c\u53f7\u673a\u5236\u548cCAS\u7b97\u6cd5\u5b9e\u73b0\u3002\u4e50\u89c2\u9501\u9002\u7528\u4e8e\u591a\u8bfb\u7684\u5e94\u7528\u7c7b\u578b\uff0c\u8fd9\u6837\u53ef\u4ee5\u63d0\u9ad8\u541e\u5410\u91cf\uff0c\u50cf\u6570\u636e\u5e93\u63d0\u4f9b\u7684\u7c7b\u4f3c\u4e8ewrite_condition\u673a\u5236\uff0c\u5176\u5b9e\u90fd\u662f\u63d0\u4f9b\u7684\u4e50\u89c2\u9501\u3002\u5728Java\u4e2djava.util.concurrent.atomic\u5305\u4e0b\u9762\u7684\u539f\u5b50\u53d8\u91cf\u7c7b\u5c31\u662f\u4f7f\u7528\u4e86\u4e50\u89c2\u9501\u7684\u4e00\u79cd\u5b9e\u73b0\u65b9\u5f0fCAS\u5b9e\u73b0\u7684\u3002"),(0,t.yg)("h4",{id:"\u4e24\u79cd\u9501\u7684\u4f7f\u7528\u573a\u666f"},"\u4e24\u79cd\u9501\u7684\u4f7f\u7528\u573a\u666f"),(0,t.yg)("p",null,"\u4ece\u4e0a\u9762\u5bf9\u4e24\u79cd\u9501\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u77e5\u9053\u4e24\u79cd\u9501\u5404\u6709\u4f18\u7f3a\u70b9\uff0c\u4e0d\u53ef\u8ba4\u4e3a\u4e00\u79cd\u597d\u4e8e\u53e6\u4e00\u79cd\uff0c\u50cf\u4e50\u89c2\u9501\u9002\u7528\u4e8e\u5199\u6bd4\u8f83\u5c11\u7684\u60c5\u51b5\u4e0b\uff08\u591a\u8bfb\u573a\u666f\uff09\uff0c\u5373\u51b2\u7a81\u771f\u7684\u5f88\u5c11\u53d1\u751f\u7684\u65f6\u5019\uff0c\u8fd9\u6837\u53ef\u4ee5\u7701\u53bb\u4e86\u9501\u7684\u5f00\u9500\uff0c\u52a0\u5927\u4e86\u7cfb\u7edf\u7684\u6574\u4e2a\u541e\u5410\u91cf\u3002\u4f46\u5982\u679c\u662f\u591a\u5199\u7684\u60c5\u51b5\uff0c\u4e00\u822c\u4f1a\u7ecf\u5e38\u4ea7\u751f\u51b2\u7a81\uff0c\u8fd9\u5c31\u4f1a\u5bfc\u81f4\u4e0a\u5c42\u5e94\u7528\u4f1a\u4e0d\u65ad\u7684\u8fdb\u884cretry\uff0c\u8fd9\u6837\u53cd\u5012\u662f\u964d\u4f4e\u4e86\u6027\u80fd\uff0c\u6240\u4ee5\u4e00\u822c\u591a\u5199\u7684\u573a\u666f\u4e0b\u7528\u60b2\u89c2\u9501\u5c31\u6bd4\u8f83\u5408\u9002\u3002"),(0,t.yg)("h3",{id:"\u65e5\u5fd7\u76f8\u5173binlog\u7b49"},"\u65e5\u5fd7\u76f8\u5173/Binlog\u7b49"),(0,t.yg)("h4",{id:"binlog\u5f55\u5165\u683c\u5f0f"},"Binlog\u5f55\u5165\u683c\u5f0f"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"\u6709\u4e09\u79cd\u683c\u5f0f\uff0cstatement\uff0crow\u548cmixed\u3002",(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},"statement\u6a21\u5f0f\u4e0b\uff0c\u6bcf\u4e00\u6761\u4f1a\u4fee\u6539\u6570\u636e\u7684sql\u90fd\u4f1a\u8bb0\u5f55\u5728binlog\u4e2d\u3002\u4e0d\u9700\u8981\u8bb0\u5f55\u6bcf\u4e00\u884c\u7684\u53d8\u5316\uff0c\u51cf\u5c11\u4e86binlog\u65e5\u5fd7\u91cf\uff0c\u8282\u7ea6\u4e86IO\uff0c\u63d0\u9ad8\u6027\u80fd\u3002\u7531\u4e8esql\u7684\u6267\u884c\u662f\u6709\u4e0a\u4e0b\u6587\u7684\uff0c\u56e0\u6b64\u5728\u4fdd\u5b58\u7684\u65f6\u5019\u9700\u8981\u4fdd\u5b58\u76f8\u5173\u7684\u4fe1\u606f\uff0c\u540c\u65f6\u8fd8\u6709\u4e00\u4e9b\u4f7f\u7528\u4e86\u51fd\u6570\u4e4b\u7c7b\u7684\u8bed\u53e5\u65e0\u6cd5\u88ab\u8bb0\u5f55\u590d\u5236\u3002"),(0,t.yg)("li",{parentName:"ul"},"row\u7ea7\u522b\u4e0b\uff0c\u4e0d\u8bb0\u5f55sql\u8bed\u53e5\u4e0a\u4e0b\u6587\u76f8\u5173\u4fe1\u606f\uff0c\u4ec5\u4fdd\u5b58\u54ea\u6761\u8bb0\u5f55\u88ab\u4fee\u6539\u3002\u8bb0\u5f55\u5355\u5143\u4e3a\u6bcf\u4e00\u884c\u7684\u6539\u52a8\uff0c\u57fa\u672c\u662f\u53ef\u4ee5\u5168\u90e8\u8bb0\u4e0b\u6765\u4f46\u662f\u7531\u4e8e\u5f88\u591a\u64cd\u4f5c\uff0c\u4f1a\u5bfc\u81f4\u5927\u91cf\u884c\u7684\u6539\u52a8(\u6bd4\u5982alter table)\uff0c\u56e0\u6b64\u8fd9\u79cd\u6a21\u5f0f\u7684\u6587\u4ef6\u4fdd\u5b58\u7684\u4fe1\u606f\u592a\u591a\uff0c\u65e5\u5fd7\u91cf\u592a\u5927\u3002"),(0,t.yg)("li",{parentName:"ul"},"mixed\uff0c\u4e00\u79cd\u6298\u4e2d\u7684\u65b9\u6848\uff0c\u666e\u901a\u64cd\u4f5c\u4f7f\u7528statement\u8bb0\u5f55\uff0c\u5f53\u65e0\u6cd5\u4f7f\u7528statement\u7684\u65f6\u5019\u4f7f\u7528row\u3002"))),(0,t.yg)("li",{parentName:"ul"},"\u6b64\u5916\uff0c\u65b0\u7248\u7684MySQL\u4e2d\u5bf9row\u7ea7\u522b\u4e5f\u505a\u4e86\u4e00\u4e9b\u4f18\u5316\uff0c\u5f53\u8868\u7ed3\u6784\u53d1\u751f\u53d8\u5316\u7684\u65f6\u5019\uff0c\u4f1a\u8bb0\u5f55\u8bed\u53e5\u800c\u4e0d\u662f\u9010\u884c\u8bb0\u5f55\u3002")),(0,t.yg)("h4",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/horses/article/details/106053399?utm_medium=distribute.pc_category.none-task-blog-hot-10.nonecase&depth_1-utm_source=distribute.pc_category.none-task-blog-hot-10.nonecase&request_id="},"MySQL \u670d\u52a1\u5668\u4e2d\u7684 6 \u79cd\u65e5\u5fd7\u7c7b\u578b"))),(0,t.yg)("h3",{id:"\u5360\u7528\u78c1\u76d8\u5927\u5c0f\u6570\u636e\u5927\u5c0f\u7d22\u5f15\u5927\u5c0f"},"\u5360\u7528\u78c1\u76d8\u5927\u5c0f/\u6570\u636e\u5927\u5c0f/\u7d22\u5f15\u5927\u5c0f"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-sql"},"-- \u67e5\u770b\u6240\u6709\u6570\u636e\u5e93\u6570\u636e\u5927\u5c0f\u548c\u7d22\u5f15\u5927\u5c0f\nselect TABLE_SCHEMA, \nconcat(truncate(sum(data_length)/1024/1024,2),' MB') as data_size,\nsum(data_length) as data_size_B,\nconcat(truncate(sum(index_length)/1024/1024,2),'MB') as index_size,\nsum(index_length) as index_size_B\nfrom information_schema.tables\ngroup by TABLE_SCHEMA\norder by data_size_B desc;\n\n-- \u67e5\u770b\u67d0\u4e2a\u6570\u636e\u5e93\u6240\u6709\u6570\u636e\u8868\u6570\u636e\u5927\u5c0f\u548c\u7d22\u5f15\u5927\u5c0f\nselect TABLE_NAME, \nconcat(truncate(sum(data_length)/1024/1024,2),' MB') as data_size,\nsum(data_length) as data_size_B,\nconcat(truncate(sum(index_length)/1024/1024,2),'MB') as index_size,\nsum(index_length) as index_size_B\nfrom information_schema.tables\n where TABLE_SCHEMA = 'newcloud'\ngroup by TABLE_NAME\norder by data_size_B desc;\n\n-- \u67e5\u770b\u67d0\u4e2a\u6570\u636e\u5e93\u67d0\u4e2a\u6570\u636e\u8868\u6570\u636e\u5927\u5c0f\u548c\u7d22\u5f15\u5927\u5c0f\nselect TABLE_NAME, \nconcat(truncate(sum(data_length)/1024/1024,2),' MB') as data_size,\nsum(data_length) as data_size_B,\nconcat(truncate(sum(index_length)/1024/1024,2),'MB') as index_size,\nsum(index_length) as index_size_B\nfrom information_schema.tables\nwhere TABLE_SCHEMA = 'newcloud'\nand table_name='log_err_flow'\ngroup by TABLE_NAME\norder by data_size_B desc;\n")),(0,t.yg)("h3",{id:"\u4f18\u5316"},"\u4f18\u5316"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("a",{parentName:"li",href:"https://cloud.tencent.com/developer/article/1580260"},"\u7a0b\u5e8f\u5458\u8fdb\u9636\u5fc5\u8bfb\uff0c\u4e07\u5b57\u603b\u7ed3Mysql\u4f18\u5316\u7cbe\u534e\u7bc7"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/74adc76f.d1f67461.js b/assets/js/74adc76f.7ace46a9.js similarity index 98% rename from assets/js/74adc76f.d1f67461.js rename to assets/js/74adc76f.7ace46a9.js index cad97c0d4..4d005af22 100644 --- a/assets/js/74adc76f.d1f67461.js +++ b/assets/js/74adc76f.7ace46a9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1399],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=r.createContext({}),u=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=u(e.components);return r.createElement(l.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(n),d=a,y=s["".concat(l,".").concat(d)]||s[d]||f[d]||o;return n?r.createElement(y,i(i({ref:t},p),{},{components:n})):r.createElement(y,i({ref:t},p))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,i=new Array(o);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:a,i[1]=c;for(var u=2;u{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>f,frontMatter:()=>o,metadata:()=>c,toc:()=>u});var r=n(58168),a=(n(96540),n(15680));const o={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"xuanxing/back/index",id:"xuanxing/back/index",title:"\u6982\u8ff0",description:"\u4e3b\u8981\u4f7f\u7528 Java\uff0c\u4e2d\u95f4\u4ef6\u53ef\u96c6\u6210\u6216\u72ec\u7acb\u90e8\u7f72\u3002",source:"@site/docs/xuanxing/back/index.md",sourceDirName:"xuanxing/back",slug:"/xuanxing/back/",permalink:"/docs/xuanxing/back/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",previous:{title:"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668",permalink:"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668"},next:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/devops/"}},l={},u=[],p={toc:u},s="wrapper";function f(e){let{components:t,...n}=e;return(0,a.yg)(s,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u4e3b\u8981\u4f7f\u7528 Java\uff0c\u4e2d\u95f4\u4ef6\u53ef\u96c6\u6210\u6216\u72ec\u7acb\u90e8\u7f72\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"MQTT Broker \u91c7\u7528 hivemq \u96c6\u6210"),(0,a.yg)("li",{parentName:"ul"},"redis"),(0,a.yg)("li",{parentName:"ul"},"mysql"),(0,a.yg)("li",{parentName:"ul"},"kafka"),(0,a.yg)("li",{parentName:"ul"},"influxdb")))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1399],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=r.createContext({}),u=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=u(e.components);return r.createElement(l.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(n),d=a,y=s["".concat(l,".").concat(d)]||s[d]||f[d]||o;return n?r.createElement(y,i(i({ref:t},p),{},{components:n})):r.createElement(y,i({ref:t},p))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,i=new Array(o);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:a,i[1]=c;for(var u=2;u{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>f,frontMatter:()=>o,metadata:()=>c,toc:()=>u});var r=n(58168),a=(n(96540),n(15680));const o={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"xuanxing/back/index",id:"xuanxing/back/index",title:"\u6982\u8ff0",description:"\u4e3b\u8981\u4f7f\u7528 Java\uff0c\u4e2d\u95f4\u4ef6\u53ef\u96c6\u6210\u6216\u72ec\u7acb\u90e8\u7f72\u3002",source:"@site/docs/xuanxing/back/index.md",sourceDirName:"xuanxing/back",slug:"/xuanxing/back/",permalink:"/docs/xuanxing/back/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",previous:{title:"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668",permalink:"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668"},next:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/devops/"}},l={},u=[],p={toc:u},s="wrapper";function f(e){let{components:t,...n}=e;return(0,a.yg)(s,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u4e3b\u8981\u4f7f\u7528 Java\uff0c\u4e2d\u95f4\u4ef6\u53ef\u96c6\u6210\u6216\u72ec\u7acb\u90e8\u7f72\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"MQTT Broker \u91c7\u7528 hivemq \u96c6\u6210"),(0,a.yg)("li",{parentName:"ul"},"redis"),(0,a.yg)("li",{parentName:"ul"},"mysql"),(0,a.yg)("li",{parentName:"ul"},"kafka"),(0,a.yg)("li",{parentName:"ul"},"influxdb")))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/75219fff.6db97bcc.js b/assets/js/75219fff.15332e8b.js similarity index 98% rename from assets/js/75219fff.6db97bcc.js rename to assets/js/75219fff.15332e8b.js index 910da05fe..63c0c9ff3 100644 --- a/assets/js/75219fff.6db97bcc.js +++ b/assets/js/75219fff.15332e8b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3213],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),p=s(r),f=o,m=p["".concat(l,".").concat(f)]||p[f]||d[f]||a;return r?n.createElement(m,c(c({ref:t},u),{},{components:r})):n.createElement(m,c({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},c="\u4e0b\u8f7d\u56fe\u7247",i={unversionedId:"study/fe/\u4e0b\u8f7d\u56fe\u7247",id:"study/fe/\u4e0b\u8f7d\u56fe\u7247",title:"\u4e0b\u8f7d\u56fe\u7247",description:"",source:"@site/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247.md",sourceDirName:"study/fe",slug:"/study/fe/\u4e0b\u8f7d\u56fe\u7247",permalink:"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"mqtt.js",permalink:"/docs/study/fe/mqtt.js"},next:{title:"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",permalink:"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0"}},l={},s=[],u={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u4e0b\u8f7d\u56fe\u7247"},"\u4e0b\u8f7d\u56fe\u7247"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-javascript"},'function download(src, name) {\n var $a = document.createElement("a");\n $a.setAttribute("href", src);\n $a.setAttribute("download", name);\n var evObj = document.createEvent("MouseEvents");\n evObj.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, true, false, 0, null);\n $a.dispatchEvent(evObj);\n}\ndocument.querySelectorAll(".wrap-card:nth-child(15) img.icon").forEach((item, i) => {\n if (i >= 120 && i < 130) {\n console.log(item.src);\n download(item.src, item.src.split("/").slice(-1)[0]);\n }\n});\ndocument.querySelectorAll(".chart img").forEach((item, i) => {\n console.log(i);\n if (i >= 30 && i < 40) {\n console.log(item.src);\n download(item.src, item.src.split("/").slice(-1)[0]);\n }\n});\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3213],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),p=s(r),f=o,m=p["".concat(l,".").concat(f)]||p[f]||d[f]||a;return r?n.createElement(m,c(c({ref:t},u),{},{components:r})):n.createElement(m,c({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},c="\u4e0b\u8f7d\u56fe\u7247",i={unversionedId:"study/fe/\u4e0b\u8f7d\u56fe\u7247",id:"study/fe/\u4e0b\u8f7d\u56fe\u7247",title:"\u4e0b\u8f7d\u56fe\u7247",description:"",source:"@site/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247.md",sourceDirName:"study/fe",slug:"/study/fe/\u4e0b\u8f7d\u56fe\u7247",permalink:"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"mqtt.js",permalink:"/docs/study/fe/mqtt.js"},next:{title:"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",permalink:"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0"}},l={},s=[],u={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u4e0b\u8f7d\u56fe\u7247"},"\u4e0b\u8f7d\u56fe\u7247"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-javascript"},'function download(src, name) {\n var $a = document.createElement("a");\n $a.setAttribute("href", src);\n $a.setAttribute("download", name);\n var evObj = document.createEvent("MouseEvents");\n evObj.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, true, false, 0, null);\n $a.dispatchEvent(evObj);\n}\ndocument.querySelectorAll(".wrap-card:nth-child(15) img.icon").forEach((item, i) => {\n if (i >= 120 && i < 130) {\n console.log(item.src);\n download(item.src, item.src.split("/").slice(-1)[0]);\n }\n});\ndocument.querySelectorAll(".chart img").forEach((item, i) => {\n console.log(i);\n if (i >= 30 && i < 40) {\n console.log(item.src);\n download(item.src, item.src.split("/").slice(-1)[0]);\n }\n});\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7660f772.505fddbb.js b/assets/js/7660f772.8dea103b.js similarity index 98% rename from assets/js/7660f772.505fddbb.js rename to assets/js/7660f772.8dea103b.js index 687dbe789..31d759d27 100644 --- a/assets/js/7660f772.505fddbb.js +++ b/assets/js/7660f772.8dea103b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3364],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>f});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),i=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},u=function(e){var t=i(e.components);return r.createElement(s.Provider,{value:t},e.children)},l="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),l=i(n),d=a,f=l["".concat(s,".").concat(d)]||l[d]||y[d]||o;return n?r.createElement(f,c(c({ref:t},u),{},{components:n})):r.createElement(f,c({ref:t},u))}));function f(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,c=new Array(o);c[0]=d;var p={};for(var s in t)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p[l]="string"==typeof e?e:a,c[1]=p;for(var i=2;i{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>p,toc:()=>i});var r=n(58168),a=(n(96540),n(15680));const o={},c=void 0,p={unversionedId:"study/back/API\u7f51\u5173/OpenResty",id:"study/back/API\u7f51\u5173/OpenResty",title:"OpenResty",description:"OpenResty\xae \u662f\u4e00\u4e2a\u57fa\u4e8e Nginx \u4e0e Lua \u7684\u9ad8\u6027\u80fd Web \u5e73\u53f0\uff0c\u5176\u5185\u90e8\u96c6\u6210\u4e86\u5927\u91cf\u7cbe\u826f\u7684 Lua \u5e93\u3001\u7b2c\u4e09\u65b9\u6a21\u5757\u4ee5\u53ca\u5927\u591a\u6570\u7684\u4f9d\u8d56\u9879\u3002\u7528\u4e8e\u65b9\u4fbf\u5730\u642d\u5efa\u80fd\u591f\u5904\u7406\u8d85\u9ad8\u5e76\u53d1\u3001\u6269\u5c55\u6027\u6781\u9ad8\u7684\u52a8\u6001 Web \u5e94\u7528\u3001Web \u670d\u52a1\u548c\u52a8\u6001\u7f51\u5173\u3002",source:"@site/docs/study/back/API\u7f51\u5173/OpenResty.md",sourceDirName:"study/back/API\u7f51\u5173",slug:"/study/back/API\u7f51\u5173/OpenResty",permalink:"/docs/study/back/API\u7f51\u5173/OpenResty",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",permalink:"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316"},next:{title:"Maven",permalink:"/docs/study/back/IEDA/Maven"}},s={},i=[],u={toc:i},l="wrapper";function y(e){let{components:t,...n}=e;return(0,a.yg)(l,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"OpenResty\xae \u662f\u4e00\u4e2a\u57fa\u4e8e Nginx \u4e0e Lua \u7684\u9ad8\u6027\u80fd Web \u5e73\u53f0\uff0c\u5176\u5185\u90e8\u96c6\u6210\u4e86\u5927\u91cf\u7cbe\u826f\u7684 Lua \u5e93\u3001\u7b2c\u4e09\u65b9\u6a21\u5757\u4ee5\u53ca\u5927\u591a\u6570\u7684\u4f9d\u8d56\u9879\u3002\u7528\u4e8e\u65b9\u4fbf\u5730\u642d\u5efa\u80fd\u591f\u5904\u7406\u8d85\u9ad8\u5e76\u53d1\u3001\u6269\u5c55\u6027\u6781\u9ad8\u7684\u52a8\u6001 Web \u5e94\u7528\u3001Web \u670d\u52a1\u548c\u52a8\u6001\u7f51\u5173\u3002"),(0,a.yg)("p",null,"OpenResty\xae \u901a\u8fc7\u6c47\u805a\u5404\u79cd\u8bbe\u8ba1\u7cbe\u826f\u7684 Nginx \u6a21\u5757\uff08\u4e3b\u8981\u7531 OpenResty \u56e2\u961f\u81ea\u4e3b\u5f00\u53d1\uff09\uff0c\u4ece\u800c\u5c06 Nginx \u6709\u6548\u5730\u53d8\u6210\u4e00\u4e2a\u5f3a\u5927\u7684\u901a\u7528 Web \u5e94\u7528\u5e73\u53f0\u3002\u8fd9\u6837\uff0cWeb \u5f00\u53d1\u4eba\u5458\u548c\u7cfb\u7edf\u5de5\u7a0b\u5e08\u53ef\u4ee5\u4f7f\u7528 Lua \u811a\u672c\u8bed\u8a00\u8c03\u52a8 Nginx \u652f\u6301\u7684\u5404\u79cd C \u4ee5\u53ca Lua \u6a21\u5757\uff0c\u5feb\u901f\u6784\u9020\u51fa\u8db3\u4ee5\u80dc\u4efb 10K \u4e43\u81f3 1000K \u4ee5\u4e0a\u5355\u673a\u5e76\u53d1\u8fde\u63a5\u7684\u9ad8\u6027\u80fd Web \u5e94\u7528\u7cfb\u7edf\u3002"),(0,a.yg)("p",null,"OpenResty\xae \u7684\u76ee\u6807\u662f\u8ba9\u4f60\u7684Web\u670d\u52a1\u76f4\u63a5\u8dd1\u5728 Nginx \u670d\u52a1\u5185\u90e8\uff0c\u5145\u5206\u5229\u7528 Nginx \u7684\u975e\u963b\u585e I/O \u6a21\u578b\uff0c\u4e0d\u4ec5\u4ec5\u5bf9 HTTP \u5ba2\u6237\u7aef\u8bf7\u6c42,\u751a\u81f3\u4e8e\u5bf9\u8fdc\u7a0b\u540e\u7aef\u8bf8\u5982 MySQL\u3001PostgreSQL\u3001Memcached \u4ee5\u53ca Redis \u7b49\u90fd\u8fdb\u884c\u4e00\u81f4\u7684\u9ad8\u6027\u80fd\u54cd\u5e94\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://openresty.org/cn/"},"https://openresty.org/cn/")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3364],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>f});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),i=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},u=function(e){var t=i(e.components);return r.createElement(s.Provider,{value:t},e.children)},l="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),l=i(n),d=a,f=l["".concat(s,".").concat(d)]||l[d]||y[d]||o;return n?r.createElement(f,c(c({ref:t},u),{},{components:n})):r.createElement(f,c({ref:t},u))}));function f(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,c=new Array(o);c[0]=d;var p={};for(var s in t)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p[l]="string"==typeof e?e:a,c[1]=p;for(var i=2;i{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>p,toc:()=>i});var r=n(58168),a=(n(96540),n(15680));const o={},c=void 0,p={unversionedId:"study/back/API\u7f51\u5173/OpenResty",id:"study/back/API\u7f51\u5173/OpenResty",title:"OpenResty",description:"OpenResty\xae \u662f\u4e00\u4e2a\u57fa\u4e8e Nginx \u4e0e Lua \u7684\u9ad8\u6027\u80fd Web \u5e73\u53f0\uff0c\u5176\u5185\u90e8\u96c6\u6210\u4e86\u5927\u91cf\u7cbe\u826f\u7684 Lua \u5e93\u3001\u7b2c\u4e09\u65b9\u6a21\u5757\u4ee5\u53ca\u5927\u591a\u6570\u7684\u4f9d\u8d56\u9879\u3002\u7528\u4e8e\u65b9\u4fbf\u5730\u642d\u5efa\u80fd\u591f\u5904\u7406\u8d85\u9ad8\u5e76\u53d1\u3001\u6269\u5c55\u6027\u6781\u9ad8\u7684\u52a8\u6001 Web \u5e94\u7528\u3001Web \u670d\u52a1\u548c\u52a8\u6001\u7f51\u5173\u3002",source:"@site/docs/study/back/API\u7f51\u5173/OpenResty.md",sourceDirName:"study/back/API\u7f51\u5173",slug:"/study/back/API\u7f51\u5173/OpenResty",permalink:"/docs/study/back/API\u7f51\u5173/OpenResty",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",permalink:"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316"},next:{title:"Maven",permalink:"/docs/study/back/IEDA/Maven"}},s={},i=[],u={toc:i},l="wrapper";function y(e){let{components:t,...n}=e;return(0,a.yg)(l,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"OpenResty\xae \u662f\u4e00\u4e2a\u57fa\u4e8e Nginx \u4e0e Lua \u7684\u9ad8\u6027\u80fd Web \u5e73\u53f0\uff0c\u5176\u5185\u90e8\u96c6\u6210\u4e86\u5927\u91cf\u7cbe\u826f\u7684 Lua \u5e93\u3001\u7b2c\u4e09\u65b9\u6a21\u5757\u4ee5\u53ca\u5927\u591a\u6570\u7684\u4f9d\u8d56\u9879\u3002\u7528\u4e8e\u65b9\u4fbf\u5730\u642d\u5efa\u80fd\u591f\u5904\u7406\u8d85\u9ad8\u5e76\u53d1\u3001\u6269\u5c55\u6027\u6781\u9ad8\u7684\u52a8\u6001 Web \u5e94\u7528\u3001Web \u670d\u52a1\u548c\u52a8\u6001\u7f51\u5173\u3002"),(0,a.yg)("p",null,"OpenResty\xae \u901a\u8fc7\u6c47\u805a\u5404\u79cd\u8bbe\u8ba1\u7cbe\u826f\u7684 Nginx \u6a21\u5757\uff08\u4e3b\u8981\u7531 OpenResty \u56e2\u961f\u81ea\u4e3b\u5f00\u53d1\uff09\uff0c\u4ece\u800c\u5c06 Nginx \u6709\u6548\u5730\u53d8\u6210\u4e00\u4e2a\u5f3a\u5927\u7684\u901a\u7528 Web \u5e94\u7528\u5e73\u53f0\u3002\u8fd9\u6837\uff0cWeb \u5f00\u53d1\u4eba\u5458\u548c\u7cfb\u7edf\u5de5\u7a0b\u5e08\u53ef\u4ee5\u4f7f\u7528 Lua \u811a\u672c\u8bed\u8a00\u8c03\u52a8 Nginx \u652f\u6301\u7684\u5404\u79cd C \u4ee5\u53ca Lua \u6a21\u5757\uff0c\u5feb\u901f\u6784\u9020\u51fa\u8db3\u4ee5\u80dc\u4efb 10K \u4e43\u81f3 1000K \u4ee5\u4e0a\u5355\u673a\u5e76\u53d1\u8fde\u63a5\u7684\u9ad8\u6027\u80fd Web \u5e94\u7528\u7cfb\u7edf\u3002"),(0,a.yg)("p",null,"OpenResty\xae \u7684\u76ee\u6807\u662f\u8ba9\u4f60\u7684Web\u670d\u52a1\u76f4\u63a5\u8dd1\u5728 Nginx \u670d\u52a1\u5185\u90e8\uff0c\u5145\u5206\u5229\u7528 Nginx \u7684\u975e\u963b\u585e I/O \u6a21\u578b\uff0c\u4e0d\u4ec5\u4ec5\u5bf9 HTTP \u5ba2\u6237\u7aef\u8bf7\u6c42,\u751a\u81f3\u4e8e\u5bf9\u8fdc\u7a0b\u540e\u7aef\u8bf8\u5982 MySQL\u3001PostgreSQL\u3001Memcached \u4ee5\u53ca Redis \u7b49\u90fd\u8fdb\u884c\u4e00\u81f4\u7684\u9ad8\u6027\u80fd\u54cd\u5e94\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://openresty.org/cn/"},"https://openresty.org/cn/")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/795941ce.491a38e9.js b/assets/js/795941ce.4a975602.js similarity index 99% rename from assets/js/795941ce.491a38e9.js rename to assets/js/795941ce.4a975602.js index ed93100f7..32c089e03 100644 --- a/assets/js/795941ce.491a38e9.js +++ b/assets/js/795941ce.4a975602.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4968],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>g});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function s(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var l=a.createContext({}),c=function(e){var n=a.useContext(l),t=n;return e&&(t="function"==typeof e?e(n):s(s({},n),e)),t},p=function(e){var n=c(e.components);return a.createElement(l.Provider,{value:n},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},h=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,o=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=c(t),h=r,g=u["".concat(l,".").concat(h)]||u[h]||d[h]||o;return t?a.createElement(g,s(s({ref:n},p),{},{components:t})):a.createElement(g,s({ref:n},p))}));function g(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var o=t.length,s=new Array(o);s[0]=h;var i={};for(var l in n)hasOwnProperty.call(n,l)&&(i[l]=n[l]);i.originalType=e,i[u]="string"==typeof e?e:r,s[1]=i;for(var c=2;c{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>s,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var a=t(58168),r=(t(96540),t(15680));const o={},s="Apache APISIX",i={unversionedId:"study/back/API\u7f51\u5173/APISIX",id:"study/back/API\u7f51\u5173/APISIX",title:"Apache APISIX",description:"Apache APISIX \u662f\u4e00\u4e2a\u52a8\u6001\u3001\u5b9e\u65f6\u3001\u9ad8\u6027\u80fd\u7684\u4e91\u539f\u751f API \u7f51\u5173\uff0c\u63d0\u4f9b\u4e86\u8d1f\u8f7d\u5747\u8861\u3001\u52a8\u6001\u4e0a\u6e38\u3001\u7070\u5ea6\u53d1\u5e03\u3001\u670d\u52a1\u7194\u65ad\u3001\u8eab\u4efd\u8ba4\u8bc1\u3001\u53ef\u89c2\u6d4b\u6027\u7b49\u4e30\u5bcc\u7684\u6d41\u91cf\u7ba1\u7406\u529f\u80fd\u3002",source:"@site/docs/study/back/API\u7f51\u5173/APISIX.md",sourceDirName:"study/back/API\u7f51\u5173",slug:"/study/back/API\u7f51\u5173/APISIX",permalink:"/docs/study/back/API\u7f51\u5173/APISIX",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"API \u7f51\u5173",permalink:"/docs/study/back/API\u7f51\u5173/"},next:{title:"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",permalink:"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316"}},l={},c=[{value:"APISIX \u6240\u5c55\u73b0\u51fa\u7684\u6027\u80fd\u5982\u4f55\uff1f",id:"apisix-\u6240\u5c55\u73b0\u51fa\u7684\u6027\u80fd\u5982\u4f55",level:3},{value:"apisix dashboard",id:"apisix-dashboard",level:3}],p={toc:c},u="wrapper";function d(e){let{components:n,...t}=e;return(0,r.yg)(u,(0,a.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"apache-apisix"},"Apache APISIX"),(0,r.yg)("p",null,"Apache APISIX \u662f\u4e00\u4e2a\u52a8\u6001\u3001\u5b9e\u65f6\u3001\u9ad8\u6027\u80fd\u7684\u4e91\u539f\u751f API \u7f51\u5173\uff0c\u63d0\u4f9b\u4e86\u8d1f\u8f7d\u5747\u8861\u3001\u52a8\u6001\u4e0a\u6e38\u3001\u7070\u5ea6\u53d1\u5e03\u3001\u670d\u52a1\u7194\u65ad\u3001\u8eab\u4efd\u8ba4\u8bc1\u3001\u53ef\u89c2\u6d4b\u6027\u7b49\u4e30\u5bcc\u7684\u6d41\u91cf\u7ba1\u7406\u529f\u80fd\u3002"),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://apisix.apache.org/zh/"},"\u5b98\u65b9\u7f51\u7ad9")),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://apisix.apache.org/zh/docs/apisix/getting-started/README/"},"\u5b98\u65b9\u6587\u6863")),(0,r.yg)("p",null,"\u57fa\u4e8e ",(0,r.yg)("a",{parentName:"p",href:"https://openresty.org/cn/"},"OpenResty")," \u548c ",(0,r.yg)("a",{parentName:"p",href:"https://etcd.io/"},"etcd")),(0,r.yg)("h3",{id:"apisix-\u6240\u5c55\u73b0\u51fa\u7684\u6027\u80fd\u5982\u4f55"},"APISIX \u6240\u5c55\u73b0\u51fa\u7684\u6027\u80fd\u5982\u4f55\uff1f"),(0,r.yg)("p",null,"\u4e0e\u5176\u5b83 API \u7f51\u5173\u76f8\u6bd4\uff0cApache APISIX \u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u6027\u80fd\uff0c\u5176\u5355\u6838 QPS \u9ad8\u8fbe 18,000\uff0c\u5e73\u5747\u5ef6\u8fdf\u4ec5\u4e3a 0.2 ms\u3002"),(0,r.yg)("p",null,"\u5982\u679c\u60a8\u60f3\u83b7\u53d6\u6027\u80fd\u57fa\u51c6\u6d4b\u8bd5\u7684\u5177\u4f53\u7ed3\u679c\uff0c\u8bf7\u67e5\u770b ",(0,r.yg)("a",{parentName:"p",href:"https://apisix.apache.org/zh/docs/apisix/benchmark/"},"benchmark"),"\u3002"),(0,r.yg)("h3",{id:"apisix-dashboard"},"apisix dashboard"),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://apisix.apache.org/zh/docs/dashboard/USER_GUIDE/"},"https://apisix.apache.org/zh/docs/dashboard/USER_GUIDE/")),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull apache/apisix-dashboard\n#\ndocker run -d \\\n--name dashboard \\\n-p 9000:9000 \\\n-v /root/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml \\\napache/apisix-dashboard:24.9.26 \n")),(0,r.yg)("p",null,"conf.yaml"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE file distributed with\n# this work for additional information regarding copyright ownership.\n# The ASF licenses this file to You under the Apache License, Version 2.0\n# (the "License"); you may not use this file except in compliance with\n# the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an "AS IS" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n# yamllint disable rule:comments-indentation\nconf:\n listen:\n # host: 127.0.0.1 # the address on which the `Manager API` should listen.\n # The default value is 0.0.0.0, if want to specify, please enable it.\n # This value accepts IPv4, IPv6, and hostname.\n port: 9000 # The port on which the `Manager API` should listen.\n\n # ssl:\n # host: 127.0.0.1 # the address on which the `Manager API` should listen for HTTPS.\n # The default value is 0.0.0.0, if want to specify, please enable it.\n # port: 9001 # The port on which the `Manager API` should listen for HTTPS.\n # cert: "/tmp/cert/example.crt" # Path of your SSL cert.\n # key: "/tmp/cert/example.key" # Path of your SSL key.\n\n allow_list: # If we don\'t set any IP list, then any IP access is allowed by default.\n #- 127.0.0.1 # The rules are checked in sequence until the first match is found.\n #- 0.0.0.0 # In this example, access is allowed only for IPv4 network 127.0.0.1, and for IPv6 network ::1.\n # It also support CIDR like 192.168.1.0/24 and 2001:0db8::/32\n etcd:\n endpoints: # supports defining multiple etcd host addresses for an etcd cluster\n - 10.0.101.150:2379\n # yamllint disable rule:comments-indentation\n # etcd basic auth info\n # username: "root" # ignore etcd username if not enable etcd auth\n # password: "123456" # ignore etcd password if not enable etcd auth\n mtls:\n key_file: "" # Path of your self-signed client side key\n cert_file: "" # Path of your self-signed client side cert\n ca_file: "" # Path of your self-signed ca cert, the CA is used to sign callers\' certificates\n # prefix: /apisix # apisix config\'s prefix in etcd, /apisix by default\n log:\n error_log:\n level: warn # supports levels, lower to higher: debug, info, warn, error, panic, fatal\n file_path:\n logs/error.log # supports relative path, absolute path, standard output\n # such as: logs/error.log, /tmp/logs/error.log, /dev/stdout, /dev/stderr\n # such as absolute path on Windows: winfile:///C:\\error.log\n access_log:\n file_path:\n logs/access.log # supports relative path, absolute path, standard output\n # such as: logs/access.log, /tmp/logs/access.log, /dev/stdout, /dev/stderr\n # such as absolute path on Windows: winfile:///C:\\access.log\n # log example: 2020-12-09T16:38:09.039+0800 INFO filter/logging.go:46 /apisix/admin/routes/r1 {"status": 401, "host": "127.0.0.1:9000", "query": "asdfsafd=adf&a=a", "requestId": "3d50ecb8-758c-46d1-af5b-cd9d1c820156", "latency": 0, "remoteIP": "127.0.0.1", "method": "PUT", "errs": []}\n max_cpu: 0 # supports tweaking with the number of OS threads are going to be used for parallelism. Default value: 0 [will use max number of available cpu cores considering hyperthreading (if any)]. If the value is negative, is will not touch the existing parallelism profile.\n # security:\n # access_control_allow_origin: "http://httpbin.org"\n # access_control_allow_credentials: true # support using custom cors configration\n # access_control_allow_headers: "Authorization"\n # access_control-allow_methods: "*"\n # x_frame_options: "deny"\n # \u8fd9\u91cc\u9700\u8981\u4fee\u6539\n content_security_policy: "default-src \'self\'; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; style-src \'self\' \'unsafe-inline\'; img-src \'self\' data:; frame-src xx.xx.xx.xx:3000" # You can set frame-src to provide content for your grafana panel.\n\nauthentication:\n secret:\n secret # secret for jwt token generation.\n # NOTE: Highly recommended to modify this value to protect `manager api`.\n # if it\'s default value, when `manager api` start, it will generate a random string to replace it.\n expire_time: 3600 # jwt token expire time, in second\n users: # yamllint enable rule:comments-indentation\n - username: admin # username and password for login `manager api`\n password: admin\n - username: user\n password: user\n\noidc:\n enabled: false\n expire_time: 3600\n client_id: dashboard\n client_secret: dashboard\n auth_url: http://172.17.0.1:8080/auth/realms/master/protocol/openid-connect/auth\n token_url: http://172.17.0.1:8080/auth/realms/master/protocol/openid-connect/token\n user_info_url: http://172.17.0.1:8080/auth/realms/master/protocol/openid-connect/userinfo\n redirect_url: http://127.0.0.1:9000/apisix/admin/oidc/callback\n scope: openid\n\nplugins:\n - api-breaker\n - authz-casbin\n - authz-casdoor\n - authz-keycloak\n - aws-lambda\n - azure-functions\n - basic-auth\n # - batch-requests\n - clickhouse-logger\n - client-control\n - consumer-restriction\n - cors\n - csrf\n - datadog\n # - dubbo-proxy\n - echo\n - error-log-logger\n # - example-plugin\n - ext-plugin-post-req\n - ext-plugin-post-resp\n - ext-plugin-pre-req\n - fault-injection\n - file-logger\n - forward-auth\n - google-cloud-logging\n - grpc-transcode\n - grpc-web\n - gzip\n - hmac-auth\n - http-logger\n - ip-restriction\n - jwt-auth\n - kafka-logger\n - kafka-proxy\n - key-auth\n - ldap-auth\n - limit-conn\n - limit-count\n - limit-req\n - loggly\n # - log-rotate\n - mocking\n # - node-status\n - opa\n - openid-connect\n - opentelemetry\n - openwhisk\n - prometheus\n - proxy-cache\n - proxy-control\n - proxy-mirror\n - proxy-rewrite\n - public-api\n - real-ip\n - redirect\n - referer-restriction\n - request-id\n - request-validation\n - response-rewrite\n - rocketmq-logger\n - server-info\n - serverless-post-function\n - serverless-pre-function\n - skywalking\n - skywalking-logger\n - sls-logger\n - splunk-hec-logging\n - syslog\n - tcp-logger\n - traffic-split\n - ua-restriction\n - udp-logger\n - uri-blocker\n - wolf-rbac\n - zipkin\n - elasticsearch-logge\n - openfunction\n - tencent-cloud-cls\n - ai\n - cas-auth\n')),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull grafana/grafana\nmkdir -p /root/grafana/conf\n#\ndocker run -d \\\n--name grafana \\\n-p 3000:3000 \\\ngrafana/grafana:24.9.27 \n-v /root/grafana/conf:/usr/share/grafana/conf \\\n#\nhttp://127.0.0.1:3000\n#\nadmin/admin\nadmin/Aa123456\n#\n[auth.anonymous] \n# enable anonymous access \nenabled = true\nallow_embedding = true\n")),(0,r.yg)("p",null,"\u4f7f\u7528prometheus\u6536\u96c6apisix\u7684\u6307\u6807\u4fe1\u606f\uff0c\u9664\u4e86\u6536\u96c6\u4e5f\u53ef\u4ee5\u6709\u7b80\u5355\u7684web\u754c\u9762\u3001\u56fe\u8868\u5c55\u793a"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull prom/prometheus\n#\ndocker run -d \\\n--name prometheus \\\n-p 9090:9090 \\\n-v /etc/localtime:/etc/localtime \\\nprom/prometheus:latest \n#\nvi /etc/prometheus/prometheus.yml \n# \u8fdb\u5165\u5bb9\u5668\u589e\u52a0\n- job_name: 'apisix'\n scrape_interval: 10s\n metrics_path: '/apisix/prometheus/metrics'\n static_configs:\n - targets: ['10.0.101.150:9091']\n")),(0,r.yg)("p",null,"\u9700\u8981apisix\u6253\u5f00\u76f4\u9500\u4fe1\u606f\u6536\u96c6\u63a5\u53e3"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u4fee\u6539apisix\u7684\u914d\u7f6e\u6587\u4ef6 \u6253\u5f00Prometheus\nvi config-default.yaml\n#\nenable_export_server: true # Enable the Prometheus export server.\nexport_addr: # Set the address for the Prometheus export server.\nip: 10.0.101.150 # Set the IP.\nport: 9091 # Set the port.\n#\ncurl -i http://10.0.101.150:9091/apisix/prometheus/metrics\n")),(0,r.yg)("h1",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zcs2312852665/article/details/137352254"},"https://blog.csdn.net/zcs2312852665/article/details/137352254")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/Chary/p/18050607"},"https://www.cnblogs.com/Chary/p/18050607"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4968],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>g});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function s(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var l=a.createContext({}),c=function(e){var n=a.useContext(l),t=n;return e&&(t="function"==typeof e?e(n):s(s({},n),e)),t},p=function(e){var n=c(e.components);return a.createElement(l.Provider,{value:n},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},h=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,o=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=c(t),h=r,g=u["".concat(l,".").concat(h)]||u[h]||d[h]||o;return t?a.createElement(g,s(s({ref:n},p),{},{components:t})):a.createElement(g,s({ref:n},p))}));function g(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var o=t.length,s=new Array(o);s[0]=h;var i={};for(var l in n)hasOwnProperty.call(n,l)&&(i[l]=n[l]);i.originalType=e,i[u]="string"==typeof e?e:r,s[1]=i;for(var c=2;c{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>s,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var a=t(58168),r=(t(96540),t(15680));const o={},s="Apache APISIX",i={unversionedId:"study/back/API\u7f51\u5173/APISIX",id:"study/back/API\u7f51\u5173/APISIX",title:"Apache APISIX",description:"Apache APISIX \u662f\u4e00\u4e2a\u52a8\u6001\u3001\u5b9e\u65f6\u3001\u9ad8\u6027\u80fd\u7684\u4e91\u539f\u751f API \u7f51\u5173\uff0c\u63d0\u4f9b\u4e86\u8d1f\u8f7d\u5747\u8861\u3001\u52a8\u6001\u4e0a\u6e38\u3001\u7070\u5ea6\u53d1\u5e03\u3001\u670d\u52a1\u7194\u65ad\u3001\u8eab\u4efd\u8ba4\u8bc1\u3001\u53ef\u89c2\u6d4b\u6027\u7b49\u4e30\u5bcc\u7684\u6d41\u91cf\u7ba1\u7406\u529f\u80fd\u3002",source:"@site/docs/study/back/API\u7f51\u5173/APISIX.md",sourceDirName:"study/back/API\u7f51\u5173",slug:"/study/back/API\u7f51\u5173/APISIX",permalink:"/docs/study/back/API\u7f51\u5173/APISIX",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"API \u7f51\u5173",permalink:"/docs/study/back/API\u7f51\u5173/"},next:{title:"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316",permalink:"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316"}},l={},c=[{value:"APISIX \u6240\u5c55\u73b0\u51fa\u7684\u6027\u80fd\u5982\u4f55\uff1f",id:"apisix-\u6240\u5c55\u73b0\u51fa\u7684\u6027\u80fd\u5982\u4f55",level:3},{value:"apisix dashboard",id:"apisix-dashboard",level:3}],p={toc:c},u="wrapper";function d(e){let{components:n,...t}=e;return(0,r.yg)(u,(0,a.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"apache-apisix"},"Apache APISIX"),(0,r.yg)("p",null,"Apache APISIX \u662f\u4e00\u4e2a\u52a8\u6001\u3001\u5b9e\u65f6\u3001\u9ad8\u6027\u80fd\u7684\u4e91\u539f\u751f API \u7f51\u5173\uff0c\u63d0\u4f9b\u4e86\u8d1f\u8f7d\u5747\u8861\u3001\u52a8\u6001\u4e0a\u6e38\u3001\u7070\u5ea6\u53d1\u5e03\u3001\u670d\u52a1\u7194\u65ad\u3001\u8eab\u4efd\u8ba4\u8bc1\u3001\u53ef\u89c2\u6d4b\u6027\u7b49\u4e30\u5bcc\u7684\u6d41\u91cf\u7ba1\u7406\u529f\u80fd\u3002"),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://apisix.apache.org/zh/"},"\u5b98\u65b9\u7f51\u7ad9")),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://apisix.apache.org/zh/docs/apisix/getting-started/README/"},"\u5b98\u65b9\u6587\u6863")),(0,r.yg)("p",null,"\u57fa\u4e8e ",(0,r.yg)("a",{parentName:"p",href:"https://openresty.org/cn/"},"OpenResty")," \u548c ",(0,r.yg)("a",{parentName:"p",href:"https://etcd.io/"},"etcd")),(0,r.yg)("h3",{id:"apisix-\u6240\u5c55\u73b0\u51fa\u7684\u6027\u80fd\u5982\u4f55"},"APISIX \u6240\u5c55\u73b0\u51fa\u7684\u6027\u80fd\u5982\u4f55\uff1f"),(0,r.yg)("p",null,"\u4e0e\u5176\u5b83 API \u7f51\u5173\u76f8\u6bd4\uff0cApache APISIX \u63d0\u4f9b\u4e86\u66f4\u597d\u7684\u6027\u80fd\uff0c\u5176\u5355\u6838 QPS \u9ad8\u8fbe 18,000\uff0c\u5e73\u5747\u5ef6\u8fdf\u4ec5\u4e3a 0.2 ms\u3002"),(0,r.yg)("p",null,"\u5982\u679c\u60a8\u60f3\u83b7\u53d6\u6027\u80fd\u57fa\u51c6\u6d4b\u8bd5\u7684\u5177\u4f53\u7ed3\u679c\uff0c\u8bf7\u67e5\u770b ",(0,r.yg)("a",{parentName:"p",href:"https://apisix.apache.org/zh/docs/apisix/benchmark/"},"benchmark"),"\u3002"),(0,r.yg)("h3",{id:"apisix-dashboard"},"apisix dashboard"),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://apisix.apache.org/zh/docs/dashboard/USER_GUIDE/"},"https://apisix.apache.org/zh/docs/dashboard/USER_GUIDE/")),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull apache/apisix-dashboard\n#\ndocker run -d \\\n--name dashboard \\\n-p 9000:9000 \\\n-v /root/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml \\\napache/apisix-dashboard:24.9.26 \n")),(0,r.yg)("p",null,"conf.yaml"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE file distributed with\n# this work for additional information regarding copyright ownership.\n# The ASF licenses this file to You under the Apache License, Version 2.0\n# (the "License"); you may not use this file except in compliance with\n# the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an "AS IS" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n# yamllint disable rule:comments-indentation\nconf:\n listen:\n # host: 127.0.0.1 # the address on which the `Manager API` should listen.\n # The default value is 0.0.0.0, if want to specify, please enable it.\n # This value accepts IPv4, IPv6, and hostname.\n port: 9000 # The port on which the `Manager API` should listen.\n\n # ssl:\n # host: 127.0.0.1 # the address on which the `Manager API` should listen for HTTPS.\n # The default value is 0.0.0.0, if want to specify, please enable it.\n # port: 9001 # The port on which the `Manager API` should listen for HTTPS.\n # cert: "/tmp/cert/example.crt" # Path of your SSL cert.\n # key: "/tmp/cert/example.key" # Path of your SSL key.\n\n allow_list: # If we don\'t set any IP list, then any IP access is allowed by default.\n #- 127.0.0.1 # The rules are checked in sequence until the first match is found.\n #- 0.0.0.0 # In this example, access is allowed only for IPv4 network 127.0.0.1, and for IPv6 network ::1.\n # It also support CIDR like 192.168.1.0/24 and 2001:0db8::/32\n etcd:\n endpoints: # supports defining multiple etcd host addresses for an etcd cluster\n - 10.0.101.150:2379\n # yamllint disable rule:comments-indentation\n # etcd basic auth info\n # username: "root" # ignore etcd username if not enable etcd auth\n # password: "123456" # ignore etcd password if not enable etcd auth\n mtls:\n key_file: "" # Path of your self-signed client side key\n cert_file: "" # Path of your self-signed client side cert\n ca_file: "" # Path of your self-signed ca cert, the CA is used to sign callers\' certificates\n # prefix: /apisix # apisix config\'s prefix in etcd, /apisix by default\n log:\n error_log:\n level: warn # supports levels, lower to higher: debug, info, warn, error, panic, fatal\n file_path:\n logs/error.log # supports relative path, absolute path, standard output\n # such as: logs/error.log, /tmp/logs/error.log, /dev/stdout, /dev/stderr\n # such as absolute path on Windows: winfile:///C:\\error.log\n access_log:\n file_path:\n logs/access.log # supports relative path, absolute path, standard output\n # such as: logs/access.log, /tmp/logs/access.log, /dev/stdout, /dev/stderr\n # such as absolute path on Windows: winfile:///C:\\access.log\n # log example: 2020-12-09T16:38:09.039+0800 INFO filter/logging.go:46 /apisix/admin/routes/r1 {"status": 401, "host": "127.0.0.1:9000", "query": "asdfsafd=adf&a=a", "requestId": "3d50ecb8-758c-46d1-af5b-cd9d1c820156", "latency": 0, "remoteIP": "127.0.0.1", "method": "PUT", "errs": []}\n max_cpu: 0 # supports tweaking with the number of OS threads are going to be used for parallelism. Default value: 0 [will use max number of available cpu cores considering hyperthreading (if any)]. If the value is negative, is will not touch the existing parallelism profile.\n # security:\n # access_control_allow_origin: "http://httpbin.org"\n # access_control_allow_credentials: true # support using custom cors configration\n # access_control_allow_headers: "Authorization"\n # access_control-allow_methods: "*"\n # x_frame_options: "deny"\n # \u8fd9\u91cc\u9700\u8981\u4fee\u6539\n content_security_policy: "default-src \'self\'; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; style-src \'self\' \'unsafe-inline\'; img-src \'self\' data:; frame-src xx.xx.xx.xx:3000" # You can set frame-src to provide content for your grafana panel.\n\nauthentication:\n secret:\n secret # secret for jwt token generation.\n # NOTE: Highly recommended to modify this value to protect `manager api`.\n # if it\'s default value, when `manager api` start, it will generate a random string to replace it.\n expire_time: 3600 # jwt token expire time, in second\n users: # yamllint enable rule:comments-indentation\n - username: admin # username and password for login `manager api`\n password: admin\n - username: user\n password: user\n\noidc:\n enabled: false\n expire_time: 3600\n client_id: dashboard\n client_secret: dashboard\n auth_url: http://172.17.0.1:8080/auth/realms/master/protocol/openid-connect/auth\n token_url: http://172.17.0.1:8080/auth/realms/master/protocol/openid-connect/token\n user_info_url: http://172.17.0.1:8080/auth/realms/master/protocol/openid-connect/userinfo\n redirect_url: http://127.0.0.1:9000/apisix/admin/oidc/callback\n scope: openid\n\nplugins:\n - api-breaker\n - authz-casbin\n - authz-casdoor\n - authz-keycloak\n - aws-lambda\n - azure-functions\n - basic-auth\n # - batch-requests\n - clickhouse-logger\n - client-control\n - consumer-restriction\n - cors\n - csrf\n - datadog\n # - dubbo-proxy\n - echo\n - error-log-logger\n # - example-plugin\n - ext-plugin-post-req\n - ext-plugin-post-resp\n - ext-plugin-pre-req\n - fault-injection\n - file-logger\n - forward-auth\n - google-cloud-logging\n - grpc-transcode\n - grpc-web\n - gzip\n - hmac-auth\n - http-logger\n - ip-restriction\n - jwt-auth\n - kafka-logger\n - kafka-proxy\n - key-auth\n - ldap-auth\n - limit-conn\n - limit-count\n - limit-req\n - loggly\n # - log-rotate\n - mocking\n # - node-status\n - opa\n - openid-connect\n - opentelemetry\n - openwhisk\n - prometheus\n - proxy-cache\n - proxy-control\n - proxy-mirror\n - proxy-rewrite\n - public-api\n - real-ip\n - redirect\n - referer-restriction\n - request-id\n - request-validation\n - response-rewrite\n - rocketmq-logger\n - server-info\n - serverless-post-function\n - serverless-pre-function\n - skywalking\n - skywalking-logger\n - sls-logger\n - splunk-hec-logging\n - syslog\n - tcp-logger\n - traffic-split\n - ua-restriction\n - udp-logger\n - uri-blocker\n - wolf-rbac\n - zipkin\n - elasticsearch-logge\n - openfunction\n - tencent-cloud-cls\n - ai\n - cas-auth\n')),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull grafana/grafana\nmkdir -p /root/grafana/conf\n#\ndocker run -d \\\n--name grafana \\\n-p 3000:3000 \\\ngrafana/grafana:24.9.27 \n-v /root/grafana/conf:/usr/share/grafana/conf \\\n#\nhttp://127.0.0.1:3000\n#\nadmin/admin\nadmin/Aa123456\n#\n[auth.anonymous] \n# enable anonymous access \nenabled = true\nallow_embedding = true\n")),(0,r.yg)("p",null,"\u4f7f\u7528prometheus\u6536\u96c6apisix\u7684\u6307\u6807\u4fe1\u606f\uff0c\u9664\u4e86\u6536\u96c6\u4e5f\u53ef\u4ee5\u6709\u7b80\u5355\u7684web\u754c\u9762\u3001\u56fe\u8868\u5c55\u793a"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull prom/prometheus\n#\ndocker run -d \\\n--name prometheus \\\n-p 9090:9090 \\\n-v /etc/localtime:/etc/localtime \\\nprom/prometheus:latest \n#\nvi /etc/prometheus/prometheus.yml \n# \u8fdb\u5165\u5bb9\u5668\u589e\u52a0\n- job_name: 'apisix'\n scrape_interval: 10s\n metrics_path: '/apisix/prometheus/metrics'\n static_configs:\n - targets: ['10.0.101.150:9091']\n")),(0,r.yg)("p",null,"\u9700\u8981apisix\u6253\u5f00\u76f4\u9500\u4fe1\u606f\u6536\u96c6\u63a5\u53e3"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# \u4fee\u6539apisix\u7684\u914d\u7f6e\u6587\u4ef6 \u6253\u5f00Prometheus\nvi config-default.yaml\n#\nenable_export_server: true # Enable the Prometheus export server.\nexport_addr: # Set the address for the Prometheus export server.\nip: 10.0.101.150 # Set the IP.\nport: 9091 # Set the port.\n#\ncurl -i http://10.0.101.150:9091/apisix/prometheus/metrics\n")),(0,r.yg)("h1",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zcs2312852665/article/details/137352254"},"https://blog.csdn.net/zcs2312852665/article/details/137352254")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/Chary/p/18050607"},"https://www.cnblogs.com/Chary/p/18050607"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7a58d7fa.e09a1079.js b/assets/js/7a58d7fa.ee919608.js similarity index 99% rename from assets/js/7a58d7fa.e09a1079.js rename to assets/js/7a58d7fa.ee919608.js index 3d4277530..224ef4ecd 100644 --- a/assets/js/7a58d7fa.e09a1079.js +++ b/assets/js/7a58d7fa.ee919608.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7484],{15680:(e,r,t)=>{t.d(r,{xA:()=>s,yg:()=>y});var n=t(96540);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var p=n.createContext({}),c=function(e){var r=n.useContext(p),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},s=function(e){var r=c(e.components);return n.createElement(p.Provider,{value:r},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},m=n.forwardRef((function(e,r){var t=e.components,i=e.mdxType,o=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),d=c(t),m=i,y=d["".concat(p,".").concat(m)]||d[m]||u[m]||o;return t?n.createElement(y,a(a({ref:r},s),{},{components:t})):n.createElement(y,a({ref:r},s))}));function y(e,r){var t=arguments,i=r&&r.mdxType;if("string"==typeof e||i){var o=t.length,a=new Array(o);a[0]=m;var l={};for(var p in r)hasOwnProperty.call(r,p)&&(l[p]=r[p]);l.originalType=e,l[d]="string"==typeof e?e:i,a[1]=l;for(var c=2;c{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=t(58168),i=(t(96540),t(15680));const o={},a=void 0,l={unversionedId:"study/program/C/MFC-WinForm-WPF-DotNet\u7b49",id:"study/program/C/MFC-WinForm-WPF-DotNet\u7b49",title:"MFC-WinForm-WPF-DotNet\u7b49",description:"MFC",source:"@site/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49.md",sourceDirName:"study/program/C",slug:"/study/program/C/MFC-WinForm-WPF-DotNet\u7b49",permalink:"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C\u8bed\u8a00\u7248\u672c",permalink:"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c"},next:{title:"MinGW_CygWin",permalink:"/docs/study/program/C/MinGW_CygWin"}},p={},c=[{value:"MFC",id:"mfc",level:3},{value:"WinForm",id:"winform",level:3},{value:"WPF",id:"wpf",level:3},{value:"DirectX",id:"directx",level:3},{value:".NET",id:"net",level:3},{value:".NET core",id:"net-core",level:3},{value:"UWP",id:"uwp",level:3},{value:"C#",id:"c",level:3},{value:"Delphi",id:"delphi",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:c},d="wrapper";function u(e){let{components:r,...t}=e;return(0,i.yg)(d,(0,n.A)({},s,t,{components:r,mdxType:"MDXLayout"}),(0,i.yg)("h3",{id:"mfc"},"MFC"),(0,i.yg)("p",null,"MFC(Microsoft Foundation Classes)\uff0c\u662f\u5fae\u8f6f\u516c\u53f8\u63d0\u4f9b\u7684\u4e00\u4e2a\u7c7b\u5e93\uff08class libraries\uff09\uff0c\u4ee5 C++\u7c7b\u7684\u5f62\u5f0f\u5c01\u88c5\u4e86 Windows \u7684 API\uff0c\u5e76\u4e14\u5305\u542b\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u6846\u67b6\uff0c\u4ee5\u51cf\u5c11\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4eba\u5458\u7684\u5de5\u4f5c\u91cf\u3002\u5176\u4e2d\u5305\u542b\u7684\u7c7b\u5305\u542b\u5927\u91cf Windows \u53e5\u67c4\u5c01\u88c5\u7c7b\u548c\u5f88\u591a Windows \u7684\u5185\u5efa\u63a7\u4ef6\u548c\u7ec4\u4ef6\u7684\u5c01\u88c5\u7c7b\u3002"),(0,i.yg)("h3",{id:"winform"},"WinForm"),(0,i.yg)("p",null,"Windows Form\uff0c\u7b80\u79f0 WinForm \u662f\u5fae\u8f6f .NET \u5e73\u53f0 \u4e0b\u7528\u4e8e\u5f00\u53d1\u201c\u56fe\u5f62\u754c\u9762\u201d\u5e94\u7528\u7a0b\u5e8f\u7684\u7ec4\u4ef6\u3002"),(0,i.yg)("h3",{id:"wpf"},"WPF"),(0,i.yg)("p",null,"WPF\uff08Windows Presentation Foundation\uff09\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u57fa\u4e8e Windows \u7684\u7528\u6237\u754c\u9762\u6846\u67b6\uff0c\u5c5e\u4e8e.NET Framework 3.0 \u7684\u4e00\u90e8\u5206\u3002\u5b83\u63d0\u4f9b\u4e86\u7edf\u4e00\u7684\u7f16\u7a0b\u6a21\u578b\u3001\u8bed\u8a00\u548c\u6846\u67b6\uff0c\u771f\u6b63\u505a\u5230\u4e86\u5206\u79bb\u754c\u9762\u8bbe\u8ba1\u4eba\u5458\u4e0e\u5f00\u53d1\u4eba\u5458\u7684\u5de5\u4f5c\uff1b\u540c\u65f6\u5b83\u63d0\u4f9b\u4e86\u5168\u65b0\u7684\u591a\u5a92\u4f53\u4ea4\u4e92\u7528\u6237\u56fe\u5f62\u754c\u9762\u3002"),(0,i.yg)("h3",{id:"directx"},"DirectX"),(0,i.yg)("p",null,"DirectX\uff08Direct eXtension\uff0c\u7b80\u79f0 DX\uff09\u662f\u7531\u5fae\u8f6f\u516c\u53f8\u521b\u5efa\u7684\u591a\u5a92\u4f53\u7f16\u7a0b\u63a5\u53e3\uff0c\u662f\u4e00\u79cd\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff08API\uff09\u3002DirectX \u53ef\u4ee5\u8ba9\u4ee5 windows \u4e3a\u5e73\u53f0\u7684\u6e38\u620f\u6216\u591a\u5a92\u4f53\u7a0b\u5e8f\u83b7\u5f97\u66f4\u9ad8\u7684\u6267\u884c\u6548\u7387\uff0c\u52a0\u5f3a 3D \u56fe\u5f62\u548c\u58f0\u97f3\u6548\u679c\uff0c\u5e76\u63d0\u4f9b\u8bbe\u8ba1\u4eba\u5458\u4e00\u4e2a\u5171\u540c\u7684\u786c\u4ef6\u9a71\u52a8\u6807\u51c6\uff0c\u8ba9\u6e38\u620f\u5f00\u53d1\u8005\u4e0d\u5fc5\u4e3a\u6bcf\u4e00\u54c1\u724c\u7684\u786c\u4ef6\u6765\u5199\u4e0d\u540c\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u4e5f\u964d\u4f4e\u7528\u6237\u5b89\u88c5\u53ca\u8bbe\u7f6e\u786c\u4ef6\u7684\u590d\u6742\u5ea6\u3002DirectX \u5df2\u88ab\u5e7f\u6cdb\u4f7f\u7528\u4e8e Microsoft Windows\u3001Microsoft XBOX\u3001Microsoft XBOX 360 \u548c Microsoft XBOX ONE \u7535\u5b50\u6e38\u620f\u5f00\u53d1\u3002"),(0,i.yg)("h3",{id:"net"},".NET"),(0,i.yg)("p",null,".NET \u662f\u4e00\u79cd\u7528\u4e8e\u6784\u5efa\u591a\u79cd\u5e94\u7528\u7684\u514d\u8d39\u5f00\u6e90\u5f00\u53d1\u5e73\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528 C#\u3001F#\u6216 Visual Basic \u7f16\u5199.NET \u5e94\u7528\u3002 .NET \u7528\u4e8e\u751f\u6210\u591a\u79cd\u7c7b\u578b\u7684\u5e94\u7528\u7a0b\u5e8f\u548c\u5e93\u5f00\u53d1 Web \u5e94\u7528\u3001Web API \u548c\u5fae\u670d\u52a1\u3001\u4e91\u4e2d\u7684\u65e0\u670d\u52a1\u5668\u51fd\u6570\u3001\u4e91\u539f\u751f\u5e94\u7528\u3001\u79fb\u52a8\u5e94\u7528\u3001\u684c\u9762\u5e94\u7528\u3001Windows WPF\u3001Windows \u7a97\u4f53\u3001\u901a\u7528 Windows \u5e73\u53f0 (UWP)\u3001\u6e38\u620f\u3001\u7269\u8054\u7f51 (IoT)\u3001\u673a\u5668\u5b66\u4e60\u3001\u63a7\u5236\u53f0\u5e94\u7528\u3001Windows \u670d\u52a1\u3002.NET \u7c7b\u5e93\u5728\u4e0d\u540c\u5e94\u7528\u548c\u5e94\u7528\u7c7b\u578b\u4e2d\u5171\u4eab\u529f\u80fd\uff0c\u65e0\u8bba\u6784\u5efa\u54ea\u79cd\u7c7b\u578b\u7684\u5e94\u7528\uff0c\u4ee3\u7801\u548c\u9879\u76ee\u6587\u4ef6\u770b\u8d77\u6765\u90fd\u4e00\u6837\uff0c\u53ef\u4ee5\u8bbf\u95ee\u6bcf\u4e2a\u5e94\u7528\u7684\u76f8\u540c\u8fd0\u884c\u65f6\u3001API \u548c\u8bed\u8a00\u529f\u80fd\u3002"),(0,i.yg)("h3",{id:"net-core"},".NET core"),(0,i.yg)("p",null,".NET Core \u662f\u9002\u7528\u4e8e Windows\u3001Linux \u548c macOS \u7684\u514d\u8d39\u3001\u5f00\u6e90\u6258\u7ba1\u7684\u8ba1\u7b97\u673a\u8f6f\u4ef6\u6846\u67b6\uff0c\u662f\u5fae\u8f6f\u5f00\u53d1\u7684\u7b2c\u4e00\u4e2a\u5b98\u65b9\u7248\u672c\uff0c\u5177\u6709\u8de8\u5e73\u53f0\u80fd\u529b\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6 (Application Framework)\uff0c\u672a\u6765\u4e5f\u5c06\u4f1a\u652f\u6301 FreeBSD \u4e0e Alpine \u5e73\u53f0\uff0c\u4e5f\u662f\u5fae\u8f6f\u5728\u4e00\u5f00\u59cb\u53d1\u5c55\u65f6\u5c31\u5f00\u6e90\u7684\u8f6f\u4ef6\u5e73\u53f0 \uff0c\u5b83\u7ecf\u5e38\u4e5f\u4f1a\u62ff\u6765\u548c\u73b0\u6709\u7684\u5f00\u6e90 .NET \u5e73\u53f0 Mono \u6bd4\u8f83\u3002"),(0,i.yg)("h3",{id:"uwp"},"UWP"),(0,i.yg)("p",null,"UWP \u5373 Windows 10 \u4e2d\u7684 Universal Windows Platform \u7b80\u79f0\u3002\u5373 Windows \u901a\u7528\u5e94\u7528\u5e73\u53f0\uff0c\u5728 Windows 10 Mobile/Surface\uff08Windows \u5e73\u677f\u7535\u8111\uff09/PC/Xbox/HoloLens \u7b49\u5e73\u53f0\u4e0a\u8fd0\u884c\uff0cuwp \u4e0d\u540c\u4e8e\u4f20\u7edf pc \u4e0a\u7684 exe \u5e94\u7528\uff0c\u4e5f\u8ddf\u53ea\u9002\u7528\u4e8e\u624b\u673a\u7aef\u7684 app \u6709\u672c\u8d28\u533a\u522b\u3002\u5b83\u5e76\u4e0d\u662f\u4e3a\u67d0\u4e00\u4e2a\u7ec8\u7aef\u800c\u8bbe\u8ba1\uff0c\u800c\u662f\u53ef\u4ee5\u5728\u6240\u6709 Windows10 \u8bbe\u5907\u4e0a\u8fd0\u884c\u3002"),(0,i.yg)("h3",{id:"c"},"C#"),(0,i.yg)("p",null,"C#\u662f\u5fae\u8f6f\u516c\u53f8\u53d1\u5e03\u7684\u4e00\u79cd\u7531 C \u548c C++\u884d\u751f\u51fa\u6765\u7684\u9762\u5411\u5bf9\u8c61\u7684\u7f16\u7a0b\u8bed\u8a00\u3001\u8fd0\u884c\u4e8e.NET Framework \u548c.NET Core(\u5b8c\u5168\u5f00\u6e90\uff0c\u8de8\u5e73\u53f0)\u4e4b\u4e0a\u7684\u9ad8\u7ea7\u7a0b\u5e8f\u8bbe\u8ba1\u8bed\u8a00\u3002"),(0,i.yg)("p",null,"C#\u662f\u7531 C \u548c C++\u884d\u751f\u51fa\u6765\u7684\u4e00\u79cd\u5b89\u5168\u7684\u3001\u7a33\u5b9a\u7684\u3001\u7b80\u5355\u7684\u3001\u4f18\u96c5\u7684\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u8bed\u8a00\u3002\u5b83\u5728\u7ee7\u627f C \u548c C++\u5f3a\u5927\u529f\u80fd\u7684\u540c\u65f6\u53bb\u6389\u4e86\u4e00\u4e9b\u5b83\u4eec\u7684\u590d\u6742\u7279\u6027\uff08\u4f8b\u5982\u6ca1\u6709\u5b8f\u4ee5\u53ca\u4e0d\u5141\u8bb8\u591a\u91cd\u7ee7\u627f\uff09\u3002C#\u7efc\u5408\u4e86 VB \u7b80\u5355\u7684\u53ef\u89c6\u5316\u64cd\u4f5c\u548c C++\u7684\u9ad8\u8fd0\u884c\u6548\u7387\uff0c\u4ee5\u5176\u5f3a\u5927\u7684\u64cd\u4f5c\u80fd\u529b\u3001\u4f18\u96c5\u7684\u8bed\u6cd5\u98ce\u683c\u3001\u521b\u65b0\u7684\u8bed\u8a00\u7279\u6027\u548c\u4fbf\u6377\u7684\u9762\u5411\u7ec4\u4ef6\u7f16\u7a0b\u7684\u652f\u6301\u6210\u4e3a.NET \u5f00\u53d1\u7684\u9996\u9009\u8bed\u8a00\u3002"),(0,i.yg)("h3",{id:"delphi"},"Delphi"),(0,i.yg)("p",null,"Delphi\uff0c\u662f Windows \u5e73\u53f0\u4e0b\u8457\u540d\u7684\u5feb\u901f\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u5de5\u5177(Rapid Application Development\uff0c\u7b80\u79f0 RAD)\u3002\u5b83\u7684\u524d\u8eab\uff0c\u5373\u662f DOS \u65f6\u4ee3\u76db\u884c\u4e00\u65f6\u7684\u201cBorlandTurbo Pascal\u201d\uff0c\u6700\u65e9\u7684\u7248\u672c\u7531\u7f8e\u56fd Borland\uff08\u5b9d\u5170\uff09\u516c\u53f8\u4e8e 1995 \u5e74\u5f00\u53d1\u3002\u4e3b\u521b\u8005\u4e3a Anders Hejlsberg\u3002\u7ecf\u8fc7\u6570\u5e74\u7684\u53d1\u5c55\uff0c\u6b64\u4ea7\u54c1\u4e5f\u8f6c\u79fb\u81f3 Embarcadero \u516c\u53f8\u65d7\u4e0b\u3002Delphi \u662f\u4e00\u4e2a\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u4f7f\u7528\u7684\u6838\u5fc3\u662f\u7531\u4f20\u7edf Pascal \u8bed\u8a00\u53d1\u5c55\u800c\u6765\u7684 Object Pascal\uff0c\u4ee5\u56fe\u5f62\u7528\u6237\u754c\u9762\u4e3a\u5f00\u53d1\u73af\u5883\uff0c\u900f\u8fc7 IDE\u3001VCL \u5de5\u5177\u4e0e\u7f16\u8bd1\u5668\uff0c\u914d\u5408\u8fde\u7ed3\u6570\u636e\u5e93\u7684\u529f\u80fd\uff0c\u6784\u6210\u4e00\u4e2a\u4ee5\u9762\u5411\u5bf9\u8c61\u7a0b\u5e8f\u8bbe\u8ba1\u4e3a\u4e2d\u5fc3\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u5de5\u5177\u3002",(0,i.yg)("strong",{parentName:"p"},(0,i.yg)("em",{parentName:"strong"},"\u5df2\u6ca1\u843d\uff0c\u73b0\u5728\u5f88\u5c11\u6709\u4eba\u7528\u4e86"))),(0,i.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/MFC/2236974"},"\u767e\u5ea6\u767e\u79d1-MFC")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/WPF/5299594"},"\u767e\u5ea6\u767e\u79d1-WPF")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/DirectX/314119"},"\u767e\u5ea6\u767e\u79d1-DirectX")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/.NET/156737"},"\u767e\u5ea6\u767e\u79d1-.NET")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/.net%20core"},"\u767e\u5ea6\u767e\u79d1-.NET core")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/Universal%20Windows%20Platform/23796796"},"\u767e\u5ea6\u767e\u79d1-UWP")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/C%23/195147"},"\u767e\u5ea6\u767e\u79d1-C#"))))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7484],{15680:(e,r,t)=>{t.d(r,{xA:()=>s,yg:()=>y});var n=t(96540);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var p=n.createContext({}),c=function(e){var r=n.useContext(p),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},s=function(e){var r=c(e.components);return n.createElement(p.Provider,{value:r},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},m=n.forwardRef((function(e,r){var t=e.components,i=e.mdxType,o=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),d=c(t),m=i,y=d["".concat(p,".").concat(m)]||d[m]||u[m]||o;return t?n.createElement(y,a(a({ref:r},s),{},{components:t})):n.createElement(y,a({ref:r},s))}));function y(e,r){var t=arguments,i=r&&r.mdxType;if("string"==typeof e||i){var o=t.length,a=new Array(o);a[0]=m;var l={};for(var p in r)hasOwnProperty.call(r,p)&&(l[p]=r[p]);l.originalType=e,l[d]="string"==typeof e?e:i,a[1]=l;for(var c=2;c{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=t(58168),i=(t(96540),t(15680));const o={},a=void 0,l={unversionedId:"study/program/C/MFC-WinForm-WPF-DotNet\u7b49",id:"study/program/C/MFC-WinForm-WPF-DotNet\u7b49",title:"MFC-WinForm-WPF-DotNet\u7b49",description:"MFC",source:"@site/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49.md",sourceDirName:"study/program/C",slug:"/study/program/C/MFC-WinForm-WPF-DotNet\u7b49",permalink:"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C\u8bed\u8a00\u7248\u672c",permalink:"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c"},next:{title:"MinGW_CygWin",permalink:"/docs/study/program/C/MinGW_CygWin"}},p={},c=[{value:"MFC",id:"mfc",level:3},{value:"WinForm",id:"winform",level:3},{value:"WPF",id:"wpf",level:3},{value:"DirectX",id:"directx",level:3},{value:".NET",id:"net",level:3},{value:".NET core",id:"net-core",level:3},{value:"UWP",id:"uwp",level:3},{value:"C#",id:"c",level:3},{value:"Delphi",id:"delphi",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:c},d="wrapper";function u(e){let{components:r,...t}=e;return(0,i.yg)(d,(0,n.A)({},s,t,{components:r,mdxType:"MDXLayout"}),(0,i.yg)("h3",{id:"mfc"},"MFC"),(0,i.yg)("p",null,"MFC(Microsoft Foundation Classes)\uff0c\u662f\u5fae\u8f6f\u516c\u53f8\u63d0\u4f9b\u7684\u4e00\u4e2a\u7c7b\u5e93\uff08class libraries\uff09\uff0c\u4ee5 C++\u7c7b\u7684\u5f62\u5f0f\u5c01\u88c5\u4e86 Windows \u7684 API\uff0c\u5e76\u4e14\u5305\u542b\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u6846\u67b6\uff0c\u4ee5\u51cf\u5c11\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4eba\u5458\u7684\u5de5\u4f5c\u91cf\u3002\u5176\u4e2d\u5305\u542b\u7684\u7c7b\u5305\u542b\u5927\u91cf Windows \u53e5\u67c4\u5c01\u88c5\u7c7b\u548c\u5f88\u591a Windows \u7684\u5185\u5efa\u63a7\u4ef6\u548c\u7ec4\u4ef6\u7684\u5c01\u88c5\u7c7b\u3002"),(0,i.yg)("h3",{id:"winform"},"WinForm"),(0,i.yg)("p",null,"Windows Form\uff0c\u7b80\u79f0 WinForm \u662f\u5fae\u8f6f .NET \u5e73\u53f0 \u4e0b\u7528\u4e8e\u5f00\u53d1\u201c\u56fe\u5f62\u754c\u9762\u201d\u5e94\u7528\u7a0b\u5e8f\u7684\u7ec4\u4ef6\u3002"),(0,i.yg)("h3",{id:"wpf"},"WPF"),(0,i.yg)("p",null,"WPF\uff08Windows Presentation Foundation\uff09\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u57fa\u4e8e Windows \u7684\u7528\u6237\u754c\u9762\u6846\u67b6\uff0c\u5c5e\u4e8e.NET Framework 3.0 \u7684\u4e00\u90e8\u5206\u3002\u5b83\u63d0\u4f9b\u4e86\u7edf\u4e00\u7684\u7f16\u7a0b\u6a21\u578b\u3001\u8bed\u8a00\u548c\u6846\u67b6\uff0c\u771f\u6b63\u505a\u5230\u4e86\u5206\u79bb\u754c\u9762\u8bbe\u8ba1\u4eba\u5458\u4e0e\u5f00\u53d1\u4eba\u5458\u7684\u5de5\u4f5c\uff1b\u540c\u65f6\u5b83\u63d0\u4f9b\u4e86\u5168\u65b0\u7684\u591a\u5a92\u4f53\u4ea4\u4e92\u7528\u6237\u56fe\u5f62\u754c\u9762\u3002"),(0,i.yg)("h3",{id:"directx"},"DirectX"),(0,i.yg)("p",null,"DirectX\uff08Direct eXtension\uff0c\u7b80\u79f0 DX\uff09\u662f\u7531\u5fae\u8f6f\u516c\u53f8\u521b\u5efa\u7684\u591a\u5a92\u4f53\u7f16\u7a0b\u63a5\u53e3\uff0c\u662f\u4e00\u79cd\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff08API\uff09\u3002DirectX \u53ef\u4ee5\u8ba9\u4ee5 windows \u4e3a\u5e73\u53f0\u7684\u6e38\u620f\u6216\u591a\u5a92\u4f53\u7a0b\u5e8f\u83b7\u5f97\u66f4\u9ad8\u7684\u6267\u884c\u6548\u7387\uff0c\u52a0\u5f3a 3D \u56fe\u5f62\u548c\u58f0\u97f3\u6548\u679c\uff0c\u5e76\u63d0\u4f9b\u8bbe\u8ba1\u4eba\u5458\u4e00\u4e2a\u5171\u540c\u7684\u786c\u4ef6\u9a71\u52a8\u6807\u51c6\uff0c\u8ba9\u6e38\u620f\u5f00\u53d1\u8005\u4e0d\u5fc5\u4e3a\u6bcf\u4e00\u54c1\u724c\u7684\u786c\u4ef6\u6765\u5199\u4e0d\u540c\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u4e5f\u964d\u4f4e\u7528\u6237\u5b89\u88c5\u53ca\u8bbe\u7f6e\u786c\u4ef6\u7684\u590d\u6742\u5ea6\u3002DirectX \u5df2\u88ab\u5e7f\u6cdb\u4f7f\u7528\u4e8e Microsoft Windows\u3001Microsoft XBOX\u3001Microsoft XBOX 360 \u548c Microsoft XBOX ONE \u7535\u5b50\u6e38\u620f\u5f00\u53d1\u3002"),(0,i.yg)("h3",{id:"net"},".NET"),(0,i.yg)("p",null,".NET \u662f\u4e00\u79cd\u7528\u4e8e\u6784\u5efa\u591a\u79cd\u5e94\u7528\u7684\u514d\u8d39\u5f00\u6e90\u5f00\u53d1\u5e73\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528 C#\u3001F#\u6216 Visual Basic \u7f16\u5199.NET \u5e94\u7528\u3002 .NET \u7528\u4e8e\u751f\u6210\u591a\u79cd\u7c7b\u578b\u7684\u5e94\u7528\u7a0b\u5e8f\u548c\u5e93\u5f00\u53d1 Web \u5e94\u7528\u3001Web API \u548c\u5fae\u670d\u52a1\u3001\u4e91\u4e2d\u7684\u65e0\u670d\u52a1\u5668\u51fd\u6570\u3001\u4e91\u539f\u751f\u5e94\u7528\u3001\u79fb\u52a8\u5e94\u7528\u3001\u684c\u9762\u5e94\u7528\u3001Windows WPF\u3001Windows \u7a97\u4f53\u3001\u901a\u7528 Windows \u5e73\u53f0 (UWP)\u3001\u6e38\u620f\u3001\u7269\u8054\u7f51 (IoT)\u3001\u673a\u5668\u5b66\u4e60\u3001\u63a7\u5236\u53f0\u5e94\u7528\u3001Windows \u670d\u52a1\u3002.NET \u7c7b\u5e93\u5728\u4e0d\u540c\u5e94\u7528\u548c\u5e94\u7528\u7c7b\u578b\u4e2d\u5171\u4eab\u529f\u80fd\uff0c\u65e0\u8bba\u6784\u5efa\u54ea\u79cd\u7c7b\u578b\u7684\u5e94\u7528\uff0c\u4ee3\u7801\u548c\u9879\u76ee\u6587\u4ef6\u770b\u8d77\u6765\u90fd\u4e00\u6837\uff0c\u53ef\u4ee5\u8bbf\u95ee\u6bcf\u4e2a\u5e94\u7528\u7684\u76f8\u540c\u8fd0\u884c\u65f6\u3001API \u548c\u8bed\u8a00\u529f\u80fd\u3002"),(0,i.yg)("h3",{id:"net-core"},".NET core"),(0,i.yg)("p",null,".NET Core \u662f\u9002\u7528\u4e8e Windows\u3001Linux \u548c macOS \u7684\u514d\u8d39\u3001\u5f00\u6e90\u6258\u7ba1\u7684\u8ba1\u7b97\u673a\u8f6f\u4ef6\u6846\u67b6\uff0c\u662f\u5fae\u8f6f\u5f00\u53d1\u7684\u7b2c\u4e00\u4e2a\u5b98\u65b9\u7248\u672c\uff0c\u5177\u6709\u8de8\u5e73\u53f0\u80fd\u529b\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6 (Application Framework)\uff0c\u672a\u6765\u4e5f\u5c06\u4f1a\u652f\u6301 FreeBSD \u4e0e Alpine \u5e73\u53f0\uff0c\u4e5f\u662f\u5fae\u8f6f\u5728\u4e00\u5f00\u59cb\u53d1\u5c55\u65f6\u5c31\u5f00\u6e90\u7684\u8f6f\u4ef6\u5e73\u53f0 \uff0c\u5b83\u7ecf\u5e38\u4e5f\u4f1a\u62ff\u6765\u548c\u73b0\u6709\u7684\u5f00\u6e90 .NET \u5e73\u53f0 Mono \u6bd4\u8f83\u3002"),(0,i.yg)("h3",{id:"uwp"},"UWP"),(0,i.yg)("p",null,"UWP \u5373 Windows 10 \u4e2d\u7684 Universal Windows Platform \u7b80\u79f0\u3002\u5373 Windows \u901a\u7528\u5e94\u7528\u5e73\u53f0\uff0c\u5728 Windows 10 Mobile/Surface\uff08Windows \u5e73\u677f\u7535\u8111\uff09/PC/Xbox/HoloLens \u7b49\u5e73\u53f0\u4e0a\u8fd0\u884c\uff0cuwp \u4e0d\u540c\u4e8e\u4f20\u7edf pc \u4e0a\u7684 exe \u5e94\u7528\uff0c\u4e5f\u8ddf\u53ea\u9002\u7528\u4e8e\u624b\u673a\u7aef\u7684 app \u6709\u672c\u8d28\u533a\u522b\u3002\u5b83\u5e76\u4e0d\u662f\u4e3a\u67d0\u4e00\u4e2a\u7ec8\u7aef\u800c\u8bbe\u8ba1\uff0c\u800c\u662f\u53ef\u4ee5\u5728\u6240\u6709 Windows10 \u8bbe\u5907\u4e0a\u8fd0\u884c\u3002"),(0,i.yg)("h3",{id:"c"},"C#"),(0,i.yg)("p",null,"C#\u662f\u5fae\u8f6f\u516c\u53f8\u53d1\u5e03\u7684\u4e00\u79cd\u7531 C \u548c C++\u884d\u751f\u51fa\u6765\u7684\u9762\u5411\u5bf9\u8c61\u7684\u7f16\u7a0b\u8bed\u8a00\u3001\u8fd0\u884c\u4e8e.NET Framework \u548c.NET Core(\u5b8c\u5168\u5f00\u6e90\uff0c\u8de8\u5e73\u53f0)\u4e4b\u4e0a\u7684\u9ad8\u7ea7\u7a0b\u5e8f\u8bbe\u8ba1\u8bed\u8a00\u3002"),(0,i.yg)("p",null,"C#\u662f\u7531 C \u548c C++\u884d\u751f\u51fa\u6765\u7684\u4e00\u79cd\u5b89\u5168\u7684\u3001\u7a33\u5b9a\u7684\u3001\u7b80\u5355\u7684\u3001\u4f18\u96c5\u7684\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u8bed\u8a00\u3002\u5b83\u5728\u7ee7\u627f C \u548c C++\u5f3a\u5927\u529f\u80fd\u7684\u540c\u65f6\u53bb\u6389\u4e86\u4e00\u4e9b\u5b83\u4eec\u7684\u590d\u6742\u7279\u6027\uff08\u4f8b\u5982\u6ca1\u6709\u5b8f\u4ee5\u53ca\u4e0d\u5141\u8bb8\u591a\u91cd\u7ee7\u627f\uff09\u3002C#\u7efc\u5408\u4e86 VB \u7b80\u5355\u7684\u53ef\u89c6\u5316\u64cd\u4f5c\u548c C++\u7684\u9ad8\u8fd0\u884c\u6548\u7387\uff0c\u4ee5\u5176\u5f3a\u5927\u7684\u64cd\u4f5c\u80fd\u529b\u3001\u4f18\u96c5\u7684\u8bed\u6cd5\u98ce\u683c\u3001\u521b\u65b0\u7684\u8bed\u8a00\u7279\u6027\u548c\u4fbf\u6377\u7684\u9762\u5411\u7ec4\u4ef6\u7f16\u7a0b\u7684\u652f\u6301\u6210\u4e3a.NET \u5f00\u53d1\u7684\u9996\u9009\u8bed\u8a00\u3002"),(0,i.yg)("h3",{id:"delphi"},"Delphi"),(0,i.yg)("p",null,"Delphi\uff0c\u662f Windows \u5e73\u53f0\u4e0b\u8457\u540d\u7684\u5feb\u901f\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u5de5\u5177(Rapid Application Development\uff0c\u7b80\u79f0 RAD)\u3002\u5b83\u7684\u524d\u8eab\uff0c\u5373\u662f DOS \u65f6\u4ee3\u76db\u884c\u4e00\u65f6\u7684\u201cBorlandTurbo Pascal\u201d\uff0c\u6700\u65e9\u7684\u7248\u672c\u7531\u7f8e\u56fd Borland\uff08\u5b9d\u5170\uff09\u516c\u53f8\u4e8e 1995 \u5e74\u5f00\u53d1\u3002\u4e3b\u521b\u8005\u4e3a Anders Hejlsberg\u3002\u7ecf\u8fc7\u6570\u5e74\u7684\u53d1\u5c55\uff0c\u6b64\u4ea7\u54c1\u4e5f\u8f6c\u79fb\u81f3 Embarcadero \u516c\u53f8\u65d7\u4e0b\u3002Delphi \u662f\u4e00\u4e2a\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u4f7f\u7528\u7684\u6838\u5fc3\u662f\u7531\u4f20\u7edf Pascal \u8bed\u8a00\u53d1\u5c55\u800c\u6765\u7684 Object Pascal\uff0c\u4ee5\u56fe\u5f62\u7528\u6237\u754c\u9762\u4e3a\u5f00\u53d1\u73af\u5883\uff0c\u900f\u8fc7 IDE\u3001VCL \u5de5\u5177\u4e0e\u7f16\u8bd1\u5668\uff0c\u914d\u5408\u8fde\u7ed3\u6570\u636e\u5e93\u7684\u529f\u80fd\uff0c\u6784\u6210\u4e00\u4e2a\u4ee5\u9762\u5411\u5bf9\u8c61\u7a0b\u5e8f\u8bbe\u8ba1\u4e3a\u4e2d\u5fc3\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u5de5\u5177\u3002",(0,i.yg)("strong",{parentName:"p"},(0,i.yg)("em",{parentName:"strong"},"\u5df2\u6ca1\u843d\uff0c\u73b0\u5728\u5f88\u5c11\u6709\u4eba\u7528\u4e86"))),(0,i.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/MFC/2236974"},"\u767e\u5ea6\u767e\u79d1-MFC")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/WPF/5299594"},"\u767e\u5ea6\u767e\u79d1-WPF")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/DirectX/314119"},"\u767e\u5ea6\u767e\u79d1-DirectX")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/.NET/156737"},"\u767e\u5ea6\u767e\u79d1-.NET")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/.net%20core"},"\u767e\u5ea6\u767e\u79d1-.NET core")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/Universal%20Windows%20Platform/23796796"},"\u767e\u5ea6\u767e\u79d1-UWP")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/C%23/195147"},"\u767e\u5ea6\u767e\u79d1-C#"))))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7bed50c7.47e8c7e4.js b/assets/js/7bed50c7.3e9e2c81.js similarity index 98% rename from assets/js/7bed50c7.47e8c7e4.js rename to assets/js/7bed50c7.3e9e2c81.js index 57511e83e..7a53f985e 100644 --- a/assets/js/7bed50c7.47e8c7e4.js +++ b/assets/js/7bed50c7.3e9e2c81.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8342],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241018",id:"study/stock/20241018",title:"20241018",description:"\u4eca\u5929\u5468\u4e94",source:"@site/docs/study/stock/20241018.md",sourceDirName:"study/stock",slug:"/study/stock/20241018",permalink:"/docs/study/stock/20241018",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e94"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u6da8\u4e86 2.91%\uff0c\u4e45\u8fdd\u7684\u8c03\u6574\u7ec8\u4e8e\u5b8c\u4e86"),(0,o.yg)("p",null,"\u6628\u5929\u521b\u4e1a\u677f\u6e05\u4ed3\u4e86\uff0c\u56e0\u4e3a\u662f\u6309\u7167\u6a21\u5f0f\u6765\u7684\uff0c\u7ed3\u679c\u4eca\u5929\u521b\u4e1a\u677f\u5927\u6da8 8.07%\uff0c\u4e0b\u7a7f 13 \u65e5\u7ebf\u7684\u5927\u6da8\uff0c\u4e0d\u7528\u7ea0\u7ed3\uff0c\u6a21\u5f0f\u5185\u7684\u5373\u4f7f\u5bf9\u7684\u3002"),(0,o.yg)("p",null,"\u6628\u5929\u51cf\u4ed3\u4e86\u79d1\u521b\u7248\uff0c\u56e0\u4e3a 30F \u8fdb\u5165\u4e86\u4e0b\u8dcc\u901a\u9053\uff0c\u8fd9\u4e2a\u505a\u7684\u6ca1\u95ee\u9898\u3002"),(0,o.yg)("p",null,"\u4f46\u662f\u4eca\u5929\u79d1\u521b\u7248 30F \u4e0b\u8dcc\u901a\u9053\u77ed\u6682\u8c03\u6574\u540e\uff0c\u4e0a\u7a7f\u51fa\u73b0\u4e86\u5440\uff0c\u4f46\u662f\u6ca1\u4e70\u8fdb\u53bb\uff0c\u5c31\u53ef\u60dc\u4e86\uff0c\u505a\u9519\u4e86\u3002"),(0,o.yg)("p",null,"\u4eca\u5929\u64cd\u4f5c\u8fd8\u7b97\u53ef\u4ee5\uff0c\u7b97\u662f\u8ba9\u81ea\u5df1\u660e\u767d\u4e86\uff0c\u534a\u4ed3\u5de6\u53f3\u7684\u4ed3\u4f4d\u624d\u662f\u81ea\u5df1\u6700\u8212\u670d\u7684\u4ed3\u4f4d\u3002"),(0,o.yg)("p",null,"\u5f53\u81ea\u5df1\u5feb\u71ac\u4e0d\u4f4f\u7684\u65f6\u5019\uff0c\u5c31\u662f\u53d8\u76d8\u7684\u65f6\u5019\u3002"),(0,o.yg)("p",null,"\u534a\u4ed3\u6eda\u52a8\uff0c\u65e5 K \u4e0a\u6da8\u901a\u9053\u5185\u64cd\u4f5c\uff0c30F \u4e0b\u8dcc\u901a\u9053\u505a T\uff0c5FT \u5c0f\u4ed3\u4f4d T\u3002"),(0,o.yg)("p",null,"\u4eca\u5929\u771f\u6b63\u7684\u8ba9\u6211\u611f\u53d7\u5230\u4e86\u725b\u77ed\u718a\u957f\u5440\u3002"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8342],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241018",id:"study/stock/20241018",title:"20241018",description:"\u4eca\u5929\u5468\u4e94",source:"@site/docs/study/stock/20241018.md",sourceDirName:"study/stock",slug:"/study/stock/20241018",permalink:"/docs/study/stock/20241018",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e94"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u6da8\u4e86 2.91%\uff0c\u4e45\u8fdd\u7684\u8c03\u6574\u7ec8\u4e8e\u5b8c\u4e86"),(0,o.yg)("p",null,"\u6628\u5929\u521b\u4e1a\u677f\u6e05\u4ed3\u4e86\uff0c\u56e0\u4e3a\u662f\u6309\u7167\u6a21\u5f0f\u6765\u7684\uff0c\u7ed3\u679c\u4eca\u5929\u521b\u4e1a\u677f\u5927\u6da8 8.07%\uff0c\u4e0b\u7a7f 13 \u65e5\u7ebf\u7684\u5927\u6da8\uff0c\u4e0d\u7528\u7ea0\u7ed3\uff0c\u6a21\u5f0f\u5185\u7684\u5373\u4f7f\u5bf9\u7684\u3002"),(0,o.yg)("p",null,"\u6628\u5929\u51cf\u4ed3\u4e86\u79d1\u521b\u7248\uff0c\u56e0\u4e3a 30F \u8fdb\u5165\u4e86\u4e0b\u8dcc\u901a\u9053\uff0c\u8fd9\u4e2a\u505a\u7684\u6ca1\u95ee\u9898\u3002"),(0,o.yg)("p",null,"\u4f46\u662f\u4eca\u5929\u79d1\u521b\u7248 30F \u4e0b\u8dcc\u901a\u9053\u77ed\u6682\u8c03\u6574\u540e\uff0c\u4e0a\u7a7f\u51fa\u73b0\u4e86\u5440\uff0c\u4f46\u662f\u6ca1\u4e70\u8fdb\u53bb\uff0c\u5c31\u53ef\u60dc\u4e86\uff0c\u505a\u9519\u4e86\u3002"),(0,o.yg)("p",null,"\u4eca\u5929\u64cd\u4f5c\u8fd8\u7b97\u53ef\u4ee5\uff0c\u7b97\u662f\u8ba9\u81ea\u5df1\u660e\u767d\u4e86\uff0c\u534a\u4ed3\u5de6\u53f3\u7684\u4ed3\u4f4d\u624d\u662f\u81ea\u5df1\u6700\u8212\u670d\u7684\u4ed3\u4f4d\u3002"),(0,o.yg)("p",null,"\u5f53\u81ea\u5df1\u5feb\u71ac\u4e0d\u4f4f\u7684\u65f6\u5019\uff0c\u5c31\u662f\u53d8\u76d8\u7684\u65f6\u5019\u3002"),(0,o.yg)("p",null,"\u534a\u4ed3\u6eda\u52a8\uff0c\u65e5 K \u4e0a\u6da8\u901a\u9053\u5185\u64cd\u4f5c\uff0c30F \u4e0b\u8dcc\u901a\u9053\u505a T\uff0c5FT \u5c0f\u4ed3\u4f4d T\u3002"),(0,o.yg)("p",null,"\u4eca\u5929\u771f\u6b63\u7684\u8ba9\u6211\u611f\u53d7\u5230\u4e86\u725b\u77ed\u718a\u957f\u5440\u3002"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7c0c45cc.27c28db6.js b/assets/js/7c0c45cc.6a65b31f.js similarity index 99% rename from assets/js/7c0c45cc.27c28db6.js rename to assets/js/7c0c45cc.6a65b31f.js index 88dfcb76c..0e8e1e248 100644 --- a/assets/js/7c0c45cc.27c28db6.js +++ b/assets/js/7c0c45cc.6a65b31f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1521],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),i=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=i(r),d=a,y=u["".concat(l,".").concat(d)]||u[d]||f[d]||o;return r?n.createElement(y,c(c({ref:t},p),{},{components:r})):n.createElement(y,c({ref:t},p))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:a,c[1]=s;for(var i=2;i{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>f,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,s={unversionedId:"study/back/mq/Kafka",id:"study/back/mq/Kafka",title:"Kafka",description:"\u7b80\u4ecb",source:"@site/docs/study/back/mq/Kafka.md",sourceDirName:"study/back/mq",slug:"/study/back/mq/Kafka",permalink:"/docs/study/back/mq/Kafka",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6784\u5efaDocker",permalink:"/docs/study/back/maven/\u6784\u5efaDocker"},next:{title:"MQTT broker",permalink:"/docs/study/back/mq/MQTT broker"}},l={},i=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u5e38\u89c1\u4f7f\u7528\u573a\u666f",id:"\u5e38\u89c1\u4f7f\u7528\u573a\u666f",level:3},{value:"\u5e38\u7528\u547d\u4ee4",id:"\u5e38\u7528\u547d\u4ee4",level:3}],p={toc:i},u="wrapper";function f(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"kafka \u6700\u65b0\u5b9a\u4e49\u4e3a\uff1a\u5206\u5e03\u5f0f\u6d41\u5f0f\u5e73\u53f0\uff0c\u800c\u4e0d\u662f\u5355\u7eaf\u7684\u6d88\u606f\u7cfb\u7edf\uff0c\u66f4\u5177\u6709\u6301\u4e45\u5316\u3001\u6d41\u5904\u7406\u7684\u7279\u70b9\uff1b\u4e3b\u8981\u5904\u7406\u4e24\u7c7b\u5e94\u7528\uff1a\u5b9e\u65f6\u6d41\u6570\u636e\u7ba1\u9053\u548c\u5b9e\u65f6\u6d41\u5e94\u7528\u7a0b\u5e8f\u3002"),(0,a.yg)("p",null,"\u5b9e\u65f6\u6d41\u6570\u636e\u7ba1\u9053\uff1a\u4e3e\u4e2a\u4f8b\u5b50 Kafka+ELK \u5904\u7406\u65e5\u5fd7\uff1b\n\u5b9e\u65f6\u6d41\u5e94\u7528\u7a0b\u5e8f\uff1a\u4e3e\u4e2a\u4f8b\u5b50 Kafka+\u62a5\u8b66\u6a21\u5757 APP\uff1b\n\u6301\u4e45\u5316\uff0c\u53ef\u4ee5\u4f5c\u4e3a\u5b58\u50a8\u7cfb\u7edf\uff0c\u6bcf\u4e2a\u6d88\u8d39\u8005\u5bf9\u6bcf\u4e2a topic \u90fd\u6709\u4e00\u4e2a offset \u6765\u8bb0\u5f55\u4e0a\u6b21\u6d88\u8d39\u7684\u4f4d\u7f6e\uff1b"),(0,a.yg)("h3",{id:"\u5e38\u89c1\u4f7f\u7528\u573a\u666f"},"\u5e38\u89c1\u4f7f\u7528\u573a\u666f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u6d88\u606f\uff0c\u53ef\u4ee5\u5ab2\u7f8e ActiveMQ \u548c RabbitMQ\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u7f51\u7ad9\u6d3b\u52a8\u8ddf\u8e2a\uff0c\u6570\u636e>>Kafka>>ELK/Hbase/Hadoop\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5ea6\u91cf\uff0c\u8fd0\u8425\u76d1\u63a7\u6570\u636e\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u65e5\u5fd7\u805a\u5408\uff0cKafka+ELK\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u6d41\u5904\u7406\uff0c\u4ece 0.10 \u5f00\u59cb\uff0cKafka Streams \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4f46\u529f\u80fd\u5f3a\u5927\u7684\u6d41\u5904\u7406\u5e93\uff1b")),(0,a.yg)("h3",{id:"\u5e38\u7528\u547d\u4ee4"},"\u5e38\u7528\u547d\u4ee4"),(0,a.yg)("p",null,"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"p",href:"https://kafka.apache.org/quickstart"},"quickstart")),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u8fdb\u7a0b+kafka\u542f\u52a8\u65b9\u5f0f\ntar -xzf kafka_2.13-3.7.0.tgz\ncd kafka_2.13-3.7.0\n#\nnohup bin/zookeeper-server-start.sh config/zookeeper.properties > /dev/null 2>&1 &\n#\nnohup bin/kafka-server-start.sh config/server.properties > /dev/null 2>&1 &\n#\nnohup ./chongqing.sh > /dev/null 2&>1 &\n")),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'#!/bin/sh\necho -e "\u5faa\u73af\u5904\u7406 ..."\nwhile [ 1 ]\ndo\necho \'{"cloudID":"DcqcCcspgExtXcKp","orgID":1,"serviceCloudID":"HwygExtXcKp","serviceDirectoryID":"xc-kp_basicencryption_dataencryptioin_1","usedPercent":"30%","csID":6802687148295450000,"configNum":10,"serviceUsed":150,"serviceTotal":500,"serviceSpecification":50,"serviceCountUnit":"Mb/s"}\' | ./bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic quickstart-events\nsleep 10s\ndone\n')),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u770btopic\u5217\u8868\n./bin/kafka-topics.sh --list --bootstrap-server localhost:9092\n# \u521b\u5efatopic\n./bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --topic xxx\n# \u521b\u5efa\u751f\u4ea7\u8005\n./bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic jiot.cloud\n./bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic quickstart-events\n# \u521b\u5efa\u6d88\u8d39\u8005\n./bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 \\\n--topic quickstart-events \\\n--from-beginning\n")))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1521],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),i=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=i(r),d=a,y=u["".concat(l,".").concat(d)]||u[d]||f[d]||o;return r?n.createElement(y,c(c({ref:t},p),{},{components:r})):n.createElement(y,c({ref:t},p))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:a,c[1]=s;for(var i=2;i{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>f,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,s={unversionedId:"study/back/mq/Kafka",id:"study/back/mq/Kafka",title:"Kafka",description:"\u7b80\u4ecb",source:"@site/docs/study/back/mq/Kafka.md",sourceDirName:"study/back/mq",slug:"/study/back/mq/Kafka",permalink:"/docs/study/back/mq/Kafka",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6784\u5efaDocker",permalink:"/docs/study/back/maven/\u6784\u5efaDocker"},next:{title:"MQTT broker",permalink:"/docs/study/back/mq/MQTT broker"}},l={},i=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u5e38\u89c1\u4f7f\u7528\u573a\u666f",id:"\u5e38\u89c1\u4f7f\u7528\u573a\u666f",level:3},{value:"\u5e38\u7528\u547d\u4ee4",id:"\u5e38\u7528\u547d\u4ee4",level:3}],p={toc:i},u="wrapper";function f(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"kafka \u6700\u65b0\u5b9a\u4e49\u4e3a\uff1a\u5206\u5e03\u5f0f\u6d41\u5f0f\u5e73\u53f0\uff0c\u800c\u4e0d\u662f\u5355\u7eaf\u7684\u6d88\u606f\u7cfb\u7edf\uff0c\u66f4\u5177\u6709\u6301\u4e45\u5316\u3001\u6d41\u5904\u7406\u7684\u7279\u70b9\uff1b\u4e3b\u8981\u5904\u7406\u4e24\u7c7b\u5e94\u7528\uff1a\u5b9e\u65f6\u6d41\u6570\u636e\u7ba1\u9053\u548c\u5b9e\u65f6\u6d41\u5e94\u7528\u7a0b\u5e8f\u3002"),(0,a.yg)("p",null,"\u5b9e\u65f6\u6d41\u6570\u636e\u7ba1\u9053\uff1a\u4e3e\u4e2a\u4f8b\u5b50 Kafka+ELK \u5904\u7406\u65e5\u5fd7\uff1b\n\u5b9e\u65f6\u6d41\u5e94\u7528\u7a0b\u5e8f\uff1a\u4e3e\u4e2a\u4f8b\u5b50 Kafka+\u62a5\u8b66\u6a21\u5757 APP\uff1b\n\u6301\u4e45\u5316\uff0c\u53ef\u4ee5\u4f5c\u4e3a\u5b58\u50a8\u7cfb\u7edf\uff0c\u6bcf\u4e2a\u6d88\u8d39\u8005\u5bf9\u6bcf\u4e2a topic \u90fd\u6709\u4e00\u4e2a offset \u6765\u8bb0\u5f55\u4e0a\u6b21\u6d88\u8d39\u7684\u4f4d\u7f6e\uff1b"),(0,a.yg)("h3",{id:"\u5e38\u89c1\u4f7f\u7528\u573a\u666f"},"\u5e38\u89c1\u4f7f\u7528\u573a\u666f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u6d88\u606f\uff0c\u53ef\u4ee5\u5ab2\u7f8e ActiveMQ \u548c RabbitMQ\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u7f51\u7ad9\u6d3b\u52a8\u8ddf\u8e2a\uff0c\u6570\u636e>>Kafka>>ELK/Hbase/Hadoop\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5ea6\u91cf\uff0c\u8fd0\u8425\u76d1\u63a7\u6570\u636e\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u65e5\u5fd7\u805a\u5408\uff0cKafka+ELK\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u6d41\u5904\u7406\uff0c\u4ece 0.10 \u5f00\u59cb\uff0cKafka Streams \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u4f46\u529f\u80fd\u5f3a\u5927\u7684\u6d41\u5904\u7406\u5e93\uff1b")),(0,a.yg)("h3",{id:"\u5e38\u7528\u547d\u4ee4"},"\u5e38\u7528\u547d\u4ee4"),(0,a.yg)("p",null,"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"p",href:"https://kafka.apache.org/quickstart"},"quickstart")),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u8fdb\u7a0b+kafka\u542f\u52a8\u65b9\u5f0f\ntar -xzf kafka_2.13-3.7.0.tgz\ncd kafka_2.13-3.7.0\n#\nnohup bin/zookeeper-server-start.sh config/zookeeper.properties > /dev/null 2>&1 &\n#\nnohup bin/kafka-server-start.sh config/server.properties > /dev/null 2>&1 &\n#\nnohup ./chongqing.sh > /dev/null 2&>1 &\n")),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'#!/bin/sh\necho -e "\u5faa\u73af\u5904\u7406 ..."\nwhile [ 1 ]\ndo\necho \'{"cloudID":"DcqcCcspgExtXcKp","orgID":1,"serviceCloudID":"HwygExtXcKp","serviceDirectoryID":"xc-kp_basicencryption_dataencryptioin_1","usedPercent":"30%","csID":6802687148295450000,"configNum":10,"serviceUsed":150,"serviceTotal":500,"serviceSpecification":50,"serviceCountUnit":"Mb/s"}\' | ./bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic quickstart-events\nsleep 10s\ndone\n')),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u770btopic\u5217\u8868\n./bin/kafka-topics.sh --list --bootstrap-server localhost:9092\n# \u521b\u5efatopic\n./bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --topic xxx\n# \u521b\u5efa\u751f\u4ea7\u8005\n./bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic jiot.cloud\n./bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic quickstart-events\n# \u521b\u5efa\u6d88\u8d39\u8005\n./bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 \\\n--topic quickstart-events \\\n--from-beginning\n")))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7c66c59a.556d6d98.js b/assets/js/7c66c59a.10c26f19.js similarity index 99% rename from assets/js/7c66c59a.556d6d98.js rename to assets/js/7c66c59a.10c26f19.js index 142fa09c2..1c61c46d8 100644 --- a/assets/js/7c66c59a.556d6d98.js +++ b/assets/js/7c66c59a.10c26f19.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5599],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>g});var r=n(96540);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},u=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},i="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,s=e.mdxType,a=e.originalType,p=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),i=c(n),d=s,g=i["".concat(p,".").concat(d)]||i[d]||y[d]||a;return n?r.createElement(g,o(o({ref:t},u),{},{components:n})):r.createElement(g,o({ref:t},u))}));function g(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var a=n.length,o=new Array(a);o[0]=d;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[i]="string"==typeof e?e:s,o[1]=l;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>y,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var r=n(58168),s=(n(96540),n(15680));const a={},o="ssh",l={unversionedId:"study/devops/ssh",id:"study/devops/ssh",title:"ssh",description:"ssh\u8fde\u63a5\u4e0d\u4e0a",source:"@site/docs/study/devops/ssh.md",sourceDirName:"study/devops",slug:"/study/devops/ssh",permalink:"/docs/study/devops/ssh",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"jar\u8fd0\u7ef4-\u76d1\u63a7",permalink:"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7"},next:{title:"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",permalink:"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7"}},p={},c=[{value:"ssh\u8fde\u63a5\u4e0d\u4e0a",id:"ssh\u8fde\u63a5\u4e0d\u4e0a",level:3},{value:"\u914d\u7f6essh\u514d\u5bc6\u767b\u5f55",id:"\u914d\u7f6essh\u514d\u5bc6\u767b\u5f55",level:3}],u={toc:c},i="wrapper";function y(e){let{components:t,...n}=e;return(0,s.yg)(i,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,s.yg)("h1",{id:"ssh"},"ssh"),(0,s.yg)("h3",{id:"ssh\u8fde\u63a5\u4e0d\u4e0a"},"ssh\u8fde\u63a5\u4e0d\u4e0a"),(0,s.yg)("p",null,"\u73b0\u573a\u63cf\u8ff0\uff1a"),(0,s.yg)("p",null,"\u4f7f\u7528ssh ",(0,s.yg)("a",{parentName:"p",href:"mailto:ccsp@10.0.120.44"},"ccsp@10.0.120.44")," \u547d\u4ee4\u540e\uff0c\u8fc7\u4e86\u5f88\u4e45\u624d\u8fd4\u56de"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"Connection closed by 10.0.120.44 port 22\n")),(0,s.yg)("p",null,"\u6709\u7684\u670d\u52a1\u5668\u662f\u53ef\u4ee5\uff0c\u5f53\u65f6\u8fde\u63a5\u4e0d\u4e0a\u7684\u8fd9\u4e2a\u670d\u52a1\u5668\u662fUbuntu\uff0c10.0.120.44\u6240\u5728\u64cd\u4f5c\u7cfb\u7edf\u662f\u6b27\u62c9\u3002"),(0,s.yg)("p",null,"\u89e3\u51b3\u65b9\u6848\uff1a"),(0,s.yg)("p",null,"\u6211\u4e00\u5ea6\u6000\u7591\u662fssh\u7684\u95ee\u9898\uff0c\u56e0\u4e3a\u6709\u7684\u670d\u52a1\u5668\u80fd\u591f\u6b63\u5e38\u7684\u8fde\u63a5\uff0c\u800c\u4e14\u7528\u81ea\u5df1\u7684windows\u5ba2\u6237\u7aef\u90fd\u662f\u53ef\u4ee5\u6b63\u5e38\u8fde\u63a5\u7684\u3002"),(0,s.yg)("p",null,"\u4f7f\u7528\u547d\u4ee4 "),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"ssh -v ccsp@10.0.120.44\n")),(0,s.yg)("p",null,"\u8f93\u51fa\u6253\u5370\u65e5\u5fd7\uff0c\u53d1\u73b0\u4e86\u4e00\u70b9\u8e2a\u8ff9\uff0c"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"debug1: Unspecified GSS failure. Minor code may provide more information\nNo Kerberos credentials available (default cache: FILE:/tmp/krb5cc_994)\n")),(0,s.yg)("p",null,(0,s.yg)("strong",{parentName:"p"},(0,s.yg)("em",{parentName:"strong"},"\u89e3\u51b3\u65b9\u6848"))),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"ssh -v -o GSSAPIAuthentication=no ccsp@10.0.120.44\n")),(0,s.yg)("p",null,"\u589e\u52a0\u53c2\u6570 \u7981\u7528GSSAPIAuthentication"),(0,s.yg)("p",null,"\u539f\u56e0\u662fclient\u548cserver\u7684ssh\u7248\u672c\u662f\u4e0d\u4e00\u81f4\u7684\uff0cclient\u7684\u7248\u672c\u6709\u70b9\u4f4e\u3002"),(0,s.yg)("h3",{id:"\u914d\u7f6essh\u514d\u5bc6\u767b\u5f55"},"\u914d\u7f6essh\u514d\u5bc6\u767b\u5f55"),(0,s.yg)("p",null,"\u914d\u7f6eSSH\u514d\u5bc6\u767b\u5f55\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a"),(0,s.yg)("p",null,"\u751f\u6210SSH\u5bc6\u94a5\u5bf9\u3002\u5728\u672c\u5730\u8ba1\u7b97\u673a\u7684\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u751f\u6210SSH\u5bc6\u94a5\u5bf9\uff1assh-keygen -t rsa\uff0c\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u79c1\u94a5\uff08id_rsa\uff09\u548c\u4e00\u4e2a\u516c\u94a5\uff08id_rsa.pub\uff09\u3002"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"#\nssh-keygen -t rsa\n#\nssh-copy-id username@remote_host\n# \u7279\u6b8a\u7aef\u53e3\nssh-copy-id -p 10212 username@remote_host\n#\n")),(0,s.yg)("p",null,"\u5c06\u516c\u94a5\u590d\u5236\u5230\u76ee\u6807\u670d\u52a1\u5668\u3002\u4f7f\u7528ssh-copy-id\u547d\u4ee4\u5c06\u516c\u94a5\u590d\u5236\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\uff0c\u4f8b\u5982ssh-copy-id username@remote_host\uff0c\u5176\u4e2dusername\u662f\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u7528\u6237\u540d\uff0cremote_host\u662f\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u5730\u5740\u6216\u57df\u540d\u3002"),(0,s.yg)("p",null,"\u6d4b\u8bd5\u514d\u5bc6\u767b\u5f55\u3002\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u6267\u884cssh\u547d\u4ee4\uff0c\u65e0\u9700\u8f93\u5165\u5bc6\u7801\uff0c\u4f8b\u5982ssh username@remote_host\uff0c\u5982\u679c\u4e00\u5207\u6b63\u5e38\uff0c\u5219\u8868\u793aSSH\u514d\u5bc6\u767b\u5f55\u5df2\u6210\u529f\u914d\u7f6e\u3002"),(0,s.yg)("p",null,"\u6b64\u5916\uff0c\u5728\u76ee\u6807\u670d\u52a1\u5668\u4e0a\uff0c\u53ef\u80fd\u9700\u8981\u914d\u7f6eSSH\u670d\u52a1\u4ee5\u5141\u8bb8\u514d\u5bc6\u767b\u5f55\uff0c\u8fd9\u901a\u5e38\u6d89\u53ca\u7f16\u8f91/etc/ssh/sshd_config\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0RSAAuthentication\ue6ea\u548cPubkeyAuthentication\u9009\u9879\uff0c\u5e76\u91cd\u542fSSH\u670d\u52a1\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5599],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>g});var r=n(96540);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},u=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},i="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,s=e.mdxType,a=e.originalType,p=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),i=c(n),d=s,g=i["".concat(p,".").concat(d)]||i[d]||y[d]||a;return n?r.createElement(g,o(o({ref:t},u),{},{components:n})):r.createElement(g,o({ref:t},u))}));function g(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var a=n.length,o=new Array(a);o[0]=d;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[i]="string"==typeof e?e:s,o[1]=l;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>y,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var r=n(58168),s=(n(96540),n(15680));const a={},o="ssh",l={unversionedId:"study/devops/ssh",id:"study/devops/ssh",title:"ssh",description:"ssh\u8fde\u63a5\u4e0d\u4e0a",source:"@site/docs/study/devops/ssh.md",sourceDirName:"study/devops",slug:"/study/devops/ssh",permalink:"/docs/study/devops/ssh",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"jar\u8fd0\u7ef4-\u76d1\u63a7",permalink:"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7"},next:{title:"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7",permalink:"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7"}},p={},c=[{value:"ssh\u8fde\u63a5\u4e0d\u4e0a",id:"ssh\u8fde\u63a5\u4e0d\u4e0a",level:3},{value:"\u914d\u7f6essh\u514d\u5bc6\u767b\u5f55",id:"\u914d\u7f6essh\u514d\u5bc6\u767b\u5f55",level:3}],u={toc:c},i="wrapper";function y(e){let{components:t,...n}=e;return(0,s.yg)(i,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,s.yg)("h1",{id:"ssh"},"ssh"),(0,s.yg)("h3",{id:"ssh\u8fde\u63a5\u4e0d\u4e0a"},"ssh\u8fde\u63a5\u4e0d\u4e0a"),(0,s.yg)("p",null,"\u73b0\u573a\u63cf\u8ff0\uff1a"),(0,s.yg)("p",null,"\u4f7f\u7528ssh ",(0,s.yg)("a",{parentName:"p",href:"mailto:ccsp@10.0.120.44"},"ccsp@10.0.120.44")," \u547d\u4ee4\u540e\uff0c\u8fc7\u4e86\u5f88\u4e45\u624d\u8fd4\u56de"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"Connection closed by 10.0.120.44 port 22\n")),(0,s.yg)("p",null,"\u6709\u7684\u670d\u52a1\u5668\u662f\u53ef\u4ee5\uff0c\u5f53\u65f6\u8fde\u63a5\u4e0d\u4e0a\u7684\u8fd9\u4e2a\u670d\u52a1\u5668\u662fUbuntu\uff0c10.0.120.44\u6240\u5728\u64cd\u4f5c\u7cfb\u7edf\u662f\u6b27\u62c9\u3002"),(0,s.yg)("p",null,"\u89e3\u51b3\u65b9\u6848\uff1a"),(0,s.yg)("p",null,"\u6211\u4e00\u5ea6\u6000\u7591\u662fssh\u7684\u95ee\u9898\uff0c\u56e0\u4e3a\u6709\u7684\u670d\u52a1\u5668\u80fd\u591f\u6b63\u5e38\u7684\u8fde\u63a5\uff0c\u800c\u4e14\u7528\u81ea\u5df1\u7684windows\u5ba2\u6237\u7aef\u90fd\u662f\u53ef\u4ee5\u6b63\u5e38\u8fde\u63a5\u7684\u3002"),(0,s.yg)("p",null,"\u4f7f\u7528\u547d\u4ee4 "),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"ssh -v ccsp@10.0.120.44\n")),(0,s.yg)("p",null,"\u8f93\u51fa\u6253\u5370\u65e5\u5fd7\uff0c\u53d1\u73b0\u4e86\u4e00\u70b9\u8e2a\u8ff9\uff0c"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"debug1: Unspecified GSS failure. Minor code may provide more information\nNo Kerberos credentials available (default cache: FILE:/tmp/krb5cc_994)\n")),(0,s.yg)("p",null,(0,s.yg)("strong",{parentName:"p"},(0,s.yg)("em",{parentName:"strong"},"\u89e3\u51b3\u65b9\u6848"))),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"ssh -v -o GSSAPIAuthentication=no ccsp@10.0.120.44\n")),(0,s.yg)("p",null,"\u589e\u52a0\u53c2\u6570 \u7981\u7528GSSAPIAuthentication"),(0,s.yg)("p",null,"\u539f\u56e0\u662fclient\u548cserver\u7684ssh\u7248\u672c\u662f\u4e0d\u4e00\u81f4\u7684\uff0cclient\u7684\u7248\u672c\u6709\u70b9\u4f4e\u3002"),(0,s.yg)("h3",{id:"\u914d\u7f6essh\u514d\u5bc6\u767b\u5f55"},"\u914d\u7f6essh\u514d\u5bc6\u767b\u5f55"),(0,s.yg)("p",null,"\u914d\u7f6eSSH\u514d\u5bc6\u767b\u5f55\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a"),(0,s.yg)("p",null,"\u751f\u6210SSH\u5bc6\u94a5\u5bf9\u3002\u5728\u672c\u5730\u8ba1\u7b97\u673a\u7684\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u751f\u6210SSH\u5bc6\u94a5\u5bf9\uff1assh-keygen -t rsa\uff0c\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u79c1\u94a5\uff08id_rsa\uff09\u548c\u4e00\u4e2a\u516c\u94a5\uff08id_rsa.pub\uff09\u3002"),(0,s.yg)("pre",null,(0,s.yg)("code",{parentName:"pre",className:"language-shell"},"#\nssh-keygen -t rsa\n#\nssh-copy-id username@remote_host\n# \u7279\u6b8a\u7aef\u53e3\nssh-copy-id -p 10212 username@remote_host\n#\n")),(0,s.yg)("p",null,"\u5c06\u516c\u94a5\u590d\u5236\u5230\u76ee\u6807\u670d\u52a1\u5668\u3002\u4f7f\u7528ssh-copy-id\u547d\u4ee4\u5c06\u516c\u94a5\u590d\u5236\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\uff0c\u4f8b\u5982ssh-copy-id username@remote_host\uff0c\u5176\u4e2dusername\u662f\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u7528\u6237\u540d\uff0cremote_host\u662f\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u5730\u5740\u6216\u57df\u540d\u3002"),(0,s.yg)("p",null,"\u6d4b\u8bd5\u514d\u5bc6\u767b\u5f55\u3002\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u6267\u884cssh\u547d\u4ee4\uff0c\u65e0\u9700\u8f93\u5165\u5bc6\u7801\uff0c\u4f8b\u5982ssh username@remote_host\uff0c\u5982\u679c\u4e00\u5207\u6b63\u5e38\uff0c\u5219\u8868\u793aSSH\u514d\u5bc6\u767b\u5f55\u5df2\u6210\u529f\u914d\u7f6e\u3002"),(0,s.yg)("p",null,"\u6b64\u5916\uff0c\u5728\u76ee\u6807\u670d\u52a1\u5668\u4e0a\uff0c\u53ef\u80fd\u9700\u8981\u914d\u7f6eSSH\u670d\u52a1\u4ee5\u5141\u8bb8\u514d\u5bc6\u767b\u5f55\uff0c\u8fd9\u901a\u5e38\u6d89\u53ca\u7f16\u8f91/etc/ssh/sshd_config\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0RSAAuthentication\ue6ea\u548cPubkeyAuthentication\u9009\u9879\uff0c\u5e76\u91cd\u542fSSH\u670d\u52a1\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7dce8d84.e046b413.js b/assets/js/7dce8d84.9a4e36cb.js similarity index 98% rename from assets/js/7dce8d84.e046b413.js rename to assets/js/7dce8d84.9a4e36cb.js index a856e34a2..2d4d415ed 100644 --- a/assets/js/7dce8d84.e046b413.js +++ b/assets/js/7dce8d84.9a4e36cb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3290],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241009",id:"study/stock/20241009",title:"20241009",description:"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 2 \u4e2a\u4ea4\u6613\u65e5",source:"@site/docs/study/stock/20241009.md",sourceDirName:"study/stock",slug:"/study/stock/20241009",permalink:"/docs/study/stock/20241009",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 2 \u4e2a\u4ea4\u6613\u65e5"),(0,o.yg)("p",null,"\u4eca\u5929\u80a1\u5e02\u5927\u5e45\u8c03\u6574\uff0c\u524d\u671f\u6da8\u7684\u592a\u731b\u4e86\uff0c\u4eca\u5929\u8c03\u6574\u7684\u4e5f\u5f88\u731b"),(0,o.yg)("p",null,"\u4eca\u5929\u4e1c\u65b9\u8d22\u5bcc\u6210\u4ea4\u4e86 900 \u4ebf\u5143\uff0c\u7834\u4e86 07 \u5e74\u4e2d\u56fd\u77f3\u6cb9\u7684\u5355\u65e5\u6210\u4ea4"),(0,o.yg)("p",null,"\u4eca\u5929\u4e5f\u7b97\u662f\u5de8\u91cf\u6210\u4ea4\u989d\uff0c\u6210\u4ea4\u4e86 2.9 \u4e07\u4ebf"),(0,o.yg)("p",null,"\u4eca\u5929\u5728\u6c34\u4e0b\u4e70\u4e86\u521b\u4e1a\u677f ETF\u3001\u79d1\u521b 50ETF"),(0,o.yg)("p",null,"\u56fd\u5bb6\u9700\u8981\u7684\u662f\u6162\u725b\u3001\u957f\u725b\uff0c\u4e0d\u662f\u75af\u725b"),(0,o.yg)("p",null,"\u75af\u6da8\u75af\u8dcc\u80af\u5b9a\u662f\u4e0d\u884c\u7684\uff0c\u75af\u6da8\u5e26\u6765\u7684\u6d41\u52a8\u6027\u9700\u8981\u7ef4\u62a4"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3290],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241009",id:"study/stock/20241009",title:"20241009",description:"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 2 \u4e2a\u4ea4\u6613\u65e5",source:"@site/docs/study/stock/20241009.md",sourceDirName:"study/stock",slug:"/study/stock/20241009",permalink:"/docs/study/stock/20241009",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 2 \u4e2a\u4ea4\u6613\u65e5"),(0,o.yg)("p",null,"\u4eca\u5929\u80a1\u5e02\u5927\u5e45\u8c03\u6574\uff0c\u524d\u671f\u6da8\u7684\u592a\u731b\u4e86\uff0c\u4eca\u5929\u8c03\u6574\u7684\u4e5f\u5f88\u731b"),(0,o.yg)("p",null,"\u4eca\u5929\u4e1c\u65b9\u8d22\u5bcc\u6210\u4ea4\u4e86 900 \u4ebf\u5143\uff0c\u7834\u4e86 07 \u5e74\u4e2d\u56fd\u77f3\u6cb9\u7684\u5355\u65e5\u6210\u4ea4"),(0,o.yg)("p",null,"\u4eca\u5929\u4e5f\u7b97\u662f\u5de8\u91cf\u6210\u4ea4\u989d\uff0c\u6210\u4ea4\u4e86 2.9 \u4e07\u4ebf"),(0,o.yg)("p",null,"\u4eca\u5929\u5728\u6c34\u4e0b\u4e70\u4e86\u521b\u4e1a\u677f ETF\u3001\u79d1\u521b 50ETF"),(0,o.yg)("p",null,"\u56fd\u5bb6\u9700\u8981\u7684\u662f\u6162\u725b\u3001\u957f\u725b\uff0c\u4e0d\u662f\u75af\u725b"),(0,o.yg)("p",null,"\u75af\u6da8\u75af\u8dcc\u80af\u5b9a\u662f\u4e0d\u884c\u7684\uff0c\u75af\u6da8\u5e26\u6765\u7684\u6d41\u52a8\u6027\u9700\u8981\u7ef4\u62a4"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7f32d532.1531011c.js b/assets/js/7f32d532.1ac52d85.js similarity index 98% rename from assets/js/7f32d532.1531011c.js rename to assets/js/7f32d532.1ac52d85.js index abfbc175d..93da4bfcd 100644 --- a/assets/js/7f32d532.1531011c.js +++ b/assets/js/7f32d532.1ac52d85.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6349],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,d=s["".concat(l,".").concat(y)]||s[y]||m[y]||o;return r?n.createElement(d,c(c({ref:t},u),{},{components:r})):n.createElement(d,c({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/program/C/cmake",id:"study/program/C/cmake",title:"cmake",description:"cmake \u4ecb\u7ecd",source:"@site/docs/study/program/C/cmake.md",sourceDirName:"study/program/C",slug:"/study/program/C/cmake",permalink:"/docs/study/program/C/cmake",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MinGW_CygWin",permalink:"/docs/study/program/C/MinGW_CygWin"},next:{title:"extern-c",permalink:"/docs/study/program/C/extern-c"}},l={},p=[{value:"cmake \u4ecb\u7ecd",id:"cmake-\u4ecb\u7ecd",level:3}],u={toc:p},s="wrapper";function m(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"cmake-\u4ecb\u7ecd"},"cmake \u4ecb\u7ecd"),(0,a.yg)("p",null,"\u4f60\u6216\u8bb8\u542c\u8fc7\u597d\u51e0\u79cd Make \u5de5\u5177\uff0c\u4f8b\u5982 GNU Make \uff0cQT \u7684 qmake \uff0c\u5fae\u8f6f\u7684 MS nmake\uff0cBSD Make\uff08pmake\uff09\uff0cMakepp\uff0c\u7b49\u7b49\u3002\u8fd9\u4e9b Make \u5de5\u5177\u9075\u5faa\u7740\u4e0d\u540c\u7684\u89c4\u8303\u548c\u6807\u51c6\uff0c\u6240\u6267\u884c\u7684 Makefile \u683c\u5f0f\u4e5f\u5343\u5dee\u4e07\u522b\u3002\u8fd9\u6837\u5c31\u5e26\u6765\u4e86\u4e00\u4e2a\u4e25\u5cfb\u7684\u95ee\u9898\uff1a\u5982\u679c\u8f6f\u4ef6\u60f3\u8de8\u5e73\u53f0\uff0c\u5fc5\u987b\u8981\u4fdd\u8bc1\u80fd\u591f\u5728\u4e0d\u540c\u5e73\u53f0\u7f16\u8bd1\u3002\u800c\u5982\u679c\u4f7f\u7528\u4e0a\u9762\u7684 Make \u5de5\u5177\uff0c\u5c31\u5f97\u4e3a\u6bcf\u4e00\u79cd\u6807\u51c6\u5199\u4e00\u6b21 Makefile \uff0c\u8fd9\u5c06\u662f\u4e00\u4ef6\u8ba9\u4eba\u6293\u72c2\u7684\u5de5\u4f5c\u3002"),(0,a.yg)("p",null,"CMake \u5c31\u662f\u9488\u5bf9\u4e0a\u9762\u95ee\u9898\u6240\u8bbe\u8ba1\u7684\u5de5\u5177\uff1a\u5b83\u9996\u5148\u5141\u8bb8\u5f00\u53d1\u8005\u7f16\u5199\u4e00\u79cd\u5e73\u53f0\u65e0\u5173\u7684 CMakeList.txt \u6587\u4ef6\u6765\u5b9a\u5236\u6574\u4e2a\u7f16\u8bd1\u6d41\u7a0b\uff0c\u7136\u540e\u518d\u6839\u636e\u76ee\u6807\u7528\u6237\u7684\u5e73\u53f0\u8fdb\u4e00\u6b65\u751f\u6210\u6240\u9700\u7684\u672c\u5730\u5316 Makefile \u548c\u5de5\u7a0b\u6587\u4ef6\uff0c\u5982 Unix \u7684 Makefile \u6216 Windows \u7684 Visual Studio \u5de5\u7a0b\u3002\u4ece\u800c\u505a\u5230\u201cWrite once, run everywhere\u201d\u3002\u663e\u7136\uff0cCMake \u662f\u4e00\u4e2a\u6bd4\u4e0a\u8ff0\u51e0\u79cd make \u66f4\u9ad8\u7ea7\u7684\u7f16\u8bd1\u914d\u7f6e\u5de5\u5177\u3002\u4e00\u4e9b\u4f7f\u7528 CMake \u4f5c\u4e3a\u9879\u76ee\u67b6\u6784\u7cfb\u7edf\u7684\u77e5\u540d\u5f00\u6e90\u9879\u76ee\u6709 VTK\u3001ITK\u3001KDE\u3001OpenCV\u3001OSG \u7b49 \u3002"),(0,a.yg)("p",null,"\u5728 linux \u5e73\u53f0\u4e0b\u4f7f\u7528 CMake \u751f\u6210 Makefile \u5e76\u7f16\u8bd1\u7684\u6d41\u7a0b\u5982\u4e0b\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5199 CMake \u914d\u7f6e\u6587\u4ef6 CMakeLists.txt \u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6267\u884c\u547d\u4ee4 cmake PATH \u6216\u8005 ccmake PATH \u751f\u6210 Makefile\uff08ccmake \u548c cmake \u7684\u533a\u522b\u5728\u4e8e\u524d\u8005\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7684\u754c\u9762\uff09\u3002\u5176\u4e2d\uff0c PATH \u662f CMakeLists.txt \u6240\u5728\u7684\u76ee\u5f55\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u4f7f\u7528 make \u547d\u4ee4\u8fdb\u884c\u7f16\u8bd1\u3002")))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6349],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,d=s["".concat(l,".").concat(y)]||s[y]||m[y]||o;return r?n.createElement(d,c(c({ref:t},u),{},{components:r})):n.createElement(d,c({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/program/C/cmake",id:"study/program/C/cmake",title:"cmake",description:"cmake \u4ecb\u7ecd",source:"@site/docs/study/program/C/cmake.md",sourceDirName:"study/program/C",slug:"/study/program/C/cmake",permalink:"/docs/study/program/C/cmake",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MinGW_CygWin",permalink:"/docs/study/program/C/MinGW_CygWin"},next:{title:"extern-c",permalink:"/docs/study/program/C/extern-c"}},l={},p=[{value:"cmake \u4ecb\u7ecd",id:"cmake-\u4ecb\u7ecd",level:3}],u={toc:p},s="wrapper";function m(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"cmake-\u4ecb\u7ecd"},"cmake \u4ecb\u7ecd"),(0,a.yg)("p",null,"\u4f60\u6216\u8bb8\u542c\u8fc7\u597d\u51e0\u79cd Make \u5de5\u5177\uff0c\u4f8b\u5982 GNU Make \uff0cQT \u7684 qmake \uff0c\u5fae\u8f6f\u7684 MS nmake\uff0cBSD Make\uff08pmake\uff09\uff0cMakepp\uff0c\u7b49\u7b49\u3002\u8fd9\u4e9b Make \u5de5\u5177\u9075\u5faa\u7740\u4e0d\u540c\u7684\u89c4\u8303\u548c\u6807\u51c6\uff0c\u6240\u6267\u884c\u7684 Makefile \u683c\u5f0f\u4e5f\u5343\u5dee\u4e07\u522b\u3002\u8fd9\u6837\u5c31\u5e26\u6765\u4e86\u4e00\u4e2a\u4e25\u5cfb\u7684\u95ee\u9898\uff1a\u5982\u679c\u8f6f\u4ef6\u60f3\u8de8\u5e73\u53f0\uff0c\u5fc5\u987b\u8981\u4fdd\u8bc1\u80fd\u591f\u5728\u4e0d\u540c\u5e73\u53f0\u7f16\u8bd1\u3002\u800c\u5982\u679c\u4f7f\u7528\u4e0a\u9762\u7684 Make \u5de5\u5177\uff0c\u5c31\u5f97\u4e3a\u6bcf\u4e00\u79cd\u6807\u51c6\u5199\u4e00\u6b21 Makefile \uff0c\u8fd9\u5c06\u662f\u4e00\u4ef6\u8ba9\u4eba\u6293\u72c2\u7684\u5de5\u4f5c\u3002"),(0,a.yg)("p",null,"CMake \u5c31\u662f\u9488\u5bf9\u4e0a\u9762\u95ee\u9898\u6240\u8bbe\u8ba1\u7684\u5de5\u5177\uff1a\u5b83\u9996\u5148\u5141\u8bb8\u5f00\u53d1\u8005\u7f16\u5199\u4e00\u79cd\u5e73\u53f0\u65e0\u5173\u7684 CMakeList.txt \u6587\u4ef6\u6765\u5b9a\u5236\u6574\u4e2a\u7f16\u8bd1\u6d41\u7a0b\uff0c\u7136\u540e\u518d\u6839\u636e\u76ee\u6807\u7528\u6237\u7684\u5e73\u53f0\u8fdb\u4e00\u6b65\u751f\u6210\u6240\u9700\u7684\u672c\u5730\u5316 Makefile \u548c\u5de5\u7a0b\u6587\u4ef6\uff0c\u5982 Unix \u7684 Makefile \u6216 Windows \u7684 Visual Studio \u5de5\u7a0b\u3002\u4ece\u800c\u505a\u5230\u201cWrite once, run everywhere\u201d\u3002\u663e\u7136\uff0cCMake \u662f\u4e00\u4e2a\u6bd4\u4e0a\u8ff0\u51e0\u79cd make \u66f4\u9ad8\u7ea7\u7684\u7f16\u8bd1\u914d\u7f6e\u5de5\u5177\u3002\u4e00\u4e9b\u4f7f\u7528 CMake \u4f5c\u4e3a\u9879\u76ee\u67b6\u6784\u7cfb\u7edf\u7684\u77e5\u540d\u5f00\u6e90\u9879\u76ee\u6709 VTK\u3001ITK\u3001KDE\u3001OpenCV\u3001OSG \u7b49 \u3002"),(0,a.yg)("p",null,"\u5728 linux \u5e73\u53f0\u4e0b\u4f7f\u7528 CMake \u751f\u6210 Makefile \u5e76\u7f16\u8bd1\u7684\u6d41\u7a0b\u5982\u4e0b\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5199 CMake \u914d\u7f6e\u6587\u4ef6 CMakeLists.txt \u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6267\u884c\u547d\u4ee4 cmake PATH \u6216\u8005 ccmake PATH \u751f\u6210 Makefile\uff08ccmake \u548c cmake \u7684\u533a\u522b\u5728\u4e8e\u524d\u8005\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7684\u754c\u9762\uff09\u3002\u5176\u4e2d\uff0c PATH \u662f CMakeLists.txt \u6240\u5728\u7684\u76ee\u5f55\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u4f7f\u7528 make \u547d\u4ee4\u8fdb\u884c\u7f16\u8bd1\u3002")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/80403a0b.c26a72e3.js b/assets/js/80403a0b.86333e29.js similarity index 99% rename from assets/js/80403a0b.c26a72e3.js rename to assets/js/80403a0b.86333e29.js index 7ee9f39f9..1e0666632 100644 --- a/assets/js/80403a0b.c26a72e3.js +++ b/assets/js/80403a0b.86333e29.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1197],{15680:(e,l,n)=>{n.d(l,{xA:()=>o,yg:()=>d});var t=n(96540);function a(e,l,n){return l in e?Object.defineProperty(e,l,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[l]=n,e}function r(e,l){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),n.push.apply(n,t)}return n}function g(e){for(var l=1;l=0||(a[n]=e[n]);return a}(e,l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var i=t.createContext({}),y=function(e){var l=t.useContext(i),n=l;return e&&(n="function"==typeof e?e(l):g(g({},l),e)),n},o=function(e){var l=y(e.components);return t.createElement(i.Provider,{value:l},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var l=e.children;return t.createElement(t.Fragment,{},l)}},s=t.forwardRef((function(e,l){var n=e.components,a=e.mdxType,r=e.originalType,i=e.parentName,o=p(e,["components","mdxType","originalType","parentName"]),u=y(n),s=a,d=u["".concat(i,".").concat(s)]||u[s]||c[s]||r;return n?t.createElement(d,g(g({ref:l},o),{},{components:n})):t.createElement(d,g({ref:l},o))}));function d(e,l){var n=arguments,a=l&&l.mdxType;if("string"==typeof e||a){var r=n.length,g=new Array(r);g[0]=s;var p={};for(var i in l)hasOwnProperty.call(l,i)&&(p[i]=l[i]);p.originalType=e,p[u]="string"==typeof e?e:a,g[1]=p;for(var y=2;y{n.r(l),n.d(l,{assets:()=>i,contentTitle:()=>g,default:()=>c,frontMatter:()=>r,metadata:()=>p,toc:()=>y});var t=n(58168),a=(n(96540),n(15680));const r={},g=void 0,p={unversionedId:"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",id:"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",title:"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",description:"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1",source:"@site/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",permalink:"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u884c\u4e1a\u5206\u6790",permalink:"/docs/study/encryption/\u884c\u4e1a\u5206\u6790"},next:{title:"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"}},i={},y=[{value:"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1",id:"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1",level:3},{value:"\u516c\u94a5\u5bc6\u7801\u4e2d",id:"\u516c\u94a5\u5bc6\u7801\u4e2d",level:3},{value:"\u5355\u5411\u6563\u5217\u51fd\u6570",id:"\u5355\u5411\u6563\u5217\u51fd\u6570",level:3},{value:"\u6d88\u606f\u8ba4\u8bc1\u7801",id:"\u6d88\u606f\u8ba4\u8bc1\u7801",level:3},{value:"\u6570\u5b57\u7b7e\u540d-\u6d88\u606f\u5230\u5e95\u662f\u8c01\u5199\u7684\u3002",id:"\u6570\u5b57\u7b7e\u540d-\u6d88\u606f\u5230\u5e95\u662f\u8c01\u5199\u7684",level:3},{value:"\u8bc1\u4e66-\u4e3a\u516c\u94a5\u52a0\u4e0a\u6570\u5b57\u7b7e\u540d",id:"\u8bc1\u4e66-\u4e3a\u516c\u94a5\u52a0\u4e0a\u6570\u5b57\u7b7e\u540d",level:3},{value:"\u968f\u673a\u6570-\u4e0d\u53ef\u9884\u6d4b\u6027\u7684\u6e90\u6cc9",id:"\u968f\u673a\u6570-\u4e0d\u53ef\u9884\u6d4b\u6027\u7684\u6e90\u6cc9",level:3},{value:"SSL/TLS",id:"ssltls",level:3}],o={toc:y},u="wrapper";function c(e){let{components:l,...r}=e;return(0,a.yg)(u,(0,t.A)({},o,r,{components:l,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1"},"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1"),(0,a.yg)("p",null,"\u5305\u62ec\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u5bf9\u79f0\u52a0\u5bc6\uff0c\u52a0\u5bc6\u548c\u89e3\u5bc6\u7684\u79d8\u94a5\u662f\u4e00\u6837\u7684\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u975e\u5bf9\u79f0\u52a0\u5bc6\uff0c\u52a0\u5bc6\u548c\u89e3\u5bc6\u7684\u79d8\u94a5\u662f\u4e0d\u4e00\u6837\u7684\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5355\u9879\u6563\u5217\u51fd\u6570\uff0c\u5c31\u662f\u54c8\u5e0c\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u6d88\u606f\u8ba4\u8bc1\u7801\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u6570\u5b57\u7b7e\u540d\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\uff1b")),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(57539).A,width:"750",height:"585"})),(0,a.yg)("p",null,"\u51ef\u6492\u5bc6\u7801\u52a0\u5bc6\uff1a\u662f\u901a\u8fc7\u5c06\u660e\u6587\u4e2d\u6240\u4f7f\u7528\u7684\u5b57\u6bcd\u8868\u6309\u7167\u4e00\u5b9a\u7684\u5b57\u6570\u201c\u5e73\u79fb\u201d\u6765\u8fdb\u884c\u52a0\u5bc6\u7684\u3002\n\u7b80\u5355\u66ff\u6362\u52a0\u5bc6\uff1a\u662f\u5c06\u660e\u6587\u4e2d\u6240\u6709\u4f7f\u7528\u7684\u5b57\u6bcd\u66ff\u6362\u6210\u53e6\u4e00\u5957\u5b57\u6bcd\u8868\u7684\u5bc6\u7801\u3002"),(0,a.yg)("p",null,"\u4e00\u79cd\u5bc6\u7801\u80fd\u591f\u4f7f\u7528\u7684\u201c\u6240\u6709\u79d8\u94a5\u7684\u96c6\u5408\u201d\u79f0\u4e3a\u79d8\u94a5\u7a7a\u95f4\u3002"),(0,a.yg)("p",null,"\u867d\u7136\u7528\u66b4\u529b\u7834\u89e3\u5f88\u96be\u7834\u89e3\u7b80\u5355\u66ff\u6362\u5bc6\u7801\uff0c\u4f46\u4f7f\u7528\u88ab\u79f0\u4e3a\u9891\u7387\u5206\u6790\u7684\u5bc6\u7801\u7834\u8bd1\u65b9\u6cd5\uff0c\u5c31\u80fd\u591f\u7834\u8bd1\u7b80\u5355\u66ff\u6362\u5bc6\u7801\u3002\u6240\u8c13\u7684\u9891\u7387\u5206\u6790\u662f\u6307\u5bf9\u5bc6\u6587\u4e2d\u51fa\u73b0\u7684\u5b57\u6bcd\u6b21\u6570\u8fdb\u884c\u7edf\u8ba1\uff0c\u7136\u540e\u6839\u636e\u7ecf\u9a8c\u5c1d\u8bd5\u53bb\u89e3\u8bfb\u7b80\u5355\u66ff\u6362\u7684\u542b\u4e49\u3002\u4ece\u516c\u5143\u524d\u5f00\u59cb\uff0c\u7b80\u5355\u66ff\u6362\u5bc6\u7801\u5728\u51e0\u767e\u5e74\u7684\u65f6\u95f4\u91cc\u4e00\u76f4\u88ab\u7528\u4e8e\u79d8\u5bc6\u901a\u4fe1\u3002\u7136\u800c\u5728\u963f\u62c9\u4f2f\u5b66\u8005\u53d1\u660e\u9891\u7387\u5206\u6790\u6cd5\u4e4b\u540e\uff0c\u8fd9\u79cd\u5bc6\u7801\u5f88\u5bb9\u6613\u5c31\u88ab\u7834\u8bd1\u4e86\u3002"),(0,a.yg)("p",null,"\u5c06\u5bc6\u7801\u7b97\u6cd5\u548c\u79d8\u94a5\u5206\u5f00\u8003\u8651\uff0c\u5c31\u89e3\u51b3\u4e86\u5e0c\u671b\u91cd\u590d\u4f7f\u7528\uff0c\u4f46\u91cd\u590d\u4f7f\u7528\u4f1a\u589e\u52a0\u98ce\u9669\u8fd9\u4e2a\u96be\u9898\u3002"),(0,a.yg)("p",null,"XOR=\u5f02\u6216"),(0,a.yg)("p",null,"DES\u300b\u4e09\u91cd DES"),(0,a.yg)("p",null,"AES \u6240\u4f7f\u7528\u7684\u5bc6\u7801\u7b97\u6cd5\u662f\u6bd4\u5229\u65f6\u5bc6\u7801\u5b66\u5bb6\u5f00\u53d1\u7684 R'ijndael\u3002"),(0,a.yg)("p",null,"\u4e00\u822c\u6765\u8bf4\uff0c\u6211\u4eec\u4e0d\u5e94\u8be5\u4f7f\u7528\u4efb\u4f55\u81ea\u5236\u7684\u5bc6\u7801\u7b97\u6cd5\uff0c\u800c\u662f\u5e94\u8be5\u4f7f\u7528 AES\u3002\u56e0\u4e3a AES \u5728\u5176\u9009\u5b9a\u8fc7\u7a0b\u4e2d\uff0c\u7ecf\u8fc7\u4e86\u5168\u4e16\u754c\u5bc6\u7801\u5b66\u5bb6\u7684\u6240\u8fdb\u884c\u7684\u9ad8\u54c1\u8d28\u7684\u9a8c\u8bc1\u5de5\uff0c\u800c\u5bf9\u4e8e\u81ea\u5236\u7684\u5bc6\u7801\u7b97\u6cd5\u5219\u5f88\u96be\u8fdb\u884c\u8fd9\u6837\u7684\u9a8c\u8bc1\u3002"),(0,a.yg)("p",null,"\u5bc6\u7801\u7b97\u6cd5\u53ef\u4ee5\u5206\u4e3a\u5206\u7ec4\u5bc6\u7801\u548c\u6d41\u5bc6\u7801\u4e24\u79cd\uff1b\u5206\u7ec4\u5bc6\u7801\u662f\u6bcf\u6b21\u53ea\u80fd\u5904\u7406\u7279\u5b9a\u957f\u5ea6\u7684\u4e00\u5757\u6570\u636e\u7684\u4e00\u7c7b\u5bc6\u7801\u7b97\u6cd5\uff0c\u8fd9\u91cc\u7684\u4e00\u5757\u5c31\u6210\u4e3a\u5206\u7ec4\u3002\u523a\u732c\u4e00\u4e2a\u5206\u7ec4\u7684\u6bd4\u7279\u6570\u5c31\u79f0\u4e3a\u5206\u7ec4\u957f\u5ea6\u3002\u4f8b\u5982 DES \u548c\u4e09\u91cd DES \u7684\u5206\u7ec4\u957f\u5ea6\u90fd\u662f 64 \u6bd4\u7279\u3002\u8fd9\u4e9b\u5bc6\u7801\u7b97\u6cd5\u4e00\u6b21\u53ea\u80fd\u52a0\u5bc6 64 \u6bd4\u7279\u7684\u660e\u6587\uff0c\u5e76\u751f\u6210 64 \u6bd4\u7279\u7684\u5bc6\u6587\u3002AES \u7684\u5206\u7ec4\u957f\u5ea6\u53ef\u4ee5\u4ece 128 \u6bd4\u7279\u3001192 \u6bd4\u7279\u548c 256 \u6bd4\u7279\u4e2d\u8fdb\u884c\u9009\u62e9\u3002"),(0,a.yg)("p",null,"\u6d41\u5bc6\u7801\u662f\u5bf9\u6570\u636e\u6d41\u8fdb\u884c\u8fde\u7eed\u5904\u7406\u7684\u4e00\u7c7b\u5bc6\u7801\u7b97\u6cd5\u3002\u6d41\u5bc6\u7801\u4e2d\u4e00\u822c\u4ee5 1 \u6bd4\u7279\u30018 \u6bd4\u7279\u6216 32 \u6bd4\u7279\u4e3a\u5355\u4f4d\u8fdb\u884c\u52a0\u5bc6\u548c\u89e3\u5bc6\u3002"),(0,a.yg)("p",null,"\u5728\u5bf9\u79f0\u5bc6\u7801\u4e2d\u6240\u4ecb\u7ecd\u7684\u7b97\u6cd5\u4e2d\uff0c\u53ea\u6709\u4e00\u6b21\u6027\u5bc6\u7801\u672c\u5c5e\u4e8e\u6d41\u5bc6\u7801\uff0c\u800c DES\u3001\u4e09\u91cd DES\u3001AES \u7b49\u5927\u591a\u6570\u5bf9\u79f0\u5bc6\u7801\u7b97\u6cd5\u90fd\u5c5e\u4e8e\u5206\u7ec4\u5bc6\u7801\u3002"),(0,a.yg)("p",null,"\u5206\u7ec4\u5bc6\u7801\u7b97\u6cd5\u53ea\u80fd\u52a0\u5bc6\u56fa\u5b9a\u957f\u5ea6\u7684\u5206\u7ec4\uff0c\u4f46\u662f\u6211\u4eec\u9700\u8981\u52a0\u5bc6\u7684\u5bc6\u6587\u957f\u5ea6\u53ef\u80fd\u4f1a\u8d85\u8fc7\u5206\u7ec4\u5bc6\u7801\u7684\u5206\u7ec4\u957f\u5ea6\uff0c\u8fd9\u65f6\u5c31\u9700\u8981\u5bf9\u5206\u7ec4\u5bc6\u7801\u7b97\u6cd5\u8fdb\u884c\u8fed\u4ee3\uff0c\u4ee5\u4fbf\u8bb2\u4e00\u6bb5\u5f88\u957f\u7684\u660e\u6587\u5168\u90e8\u52a0\u5bc6\u3002\u800c\u8fed\u4ee3\u7684\u65b9\u6cd5\u5c31\u6210\u4e3a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\u3002\u6a21\u5f0f\u6709\u5f88\u591a\u79cd\u7c7b\uff0c\u4e3b\u8981\u6709\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"ECB \u6a21\u5f0f\uff0c\u7535\u5b50\u5bc6\u7801\u672c\u6a21\u5f0f\uff1b\u5c06\u660e\u6587\u5206\u7ec4\u52a0\u5bc6\u4e4b\u540e\u7684\u7ed3\u679c\u76f4\u63a5\u6210\u4e3a\u5bc6\u6587\u5206\u7ec4\uff1b\u6a21\u5f0f\u7b80\u5355\uff0c\u901a\u5e38\u4e0d\u4f1a\u88ab\u4f7f\u7528\uff1b"),(0,a.yg)("li",{parentName:"ol"},"CBC \u6a21\u5f0f\uff0c\u5bc6\u7801\u5206\u7ec4\u94fe\u63a5\u6a21\u5f0f\uff1b\u786e\u4fdd\u4e92\u8054\u7f51\u5b89\u5168\u7684\u901a\u4fe1\u534f\u8bae\u4e4b\u4e00 IPsec\uff0c\u5c31\u662f\u4f7f\u7528 CBC \u6a21\u5f0f\u6765\u786e\u4fdd\u901a\u4fe1\u673a\u5bc6\u6027\u7684\uff0c\u5982\u4f7f\u7528 CBC \u6a21\u5f0f\u4e09\u91cd DES \u7684 3DES-CBC \u4ee5\u53ca CBC \u6a21\u5f0f AES \u7684 AES-CBC \u7b49\u3002"),(0,a.yg)("li",{parentName:"ol"},"CFB \u6a21\u5f0f\uff0c\u5bc6\u6587\u53cd\u9988\u6a21\u5f0f\uff1b"),(0,a.yg)("li",{parentName:"ol"},"OFB \u6a21\u5f0f\uff0c\u8f93\u51fa\u53cd\u9988\u6a21\u5f0f\uff1b"),(0,a.yg)("li",{parentName:"ol"},"CTR \u6a21\u5f0f\uff0c\u8ba1\u6570\u5668\u6a21\u5f0f\uff1b")),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(66954).A,width:"750",height:"831"})),(0,a.yg)("p",null,"\u5728\u5bf9\u79f0\u5bc6\u7801\u4e2d\uff0c\u7531\u4e8e\u52a0\u5bc6\u548c\u89e3\u5bc6\u7684\u79d8\u94a5\u662f\u76f8\u540c\u7684\uff0c\u56e0\u6b64\u5fc5\u987b\u5411\u63a5\u6536\u8005\u4f69\u677e\u79d8\u94a5\u3002\u7528\u4e8e\u89e3\u5bc6\u7684\u79d8\u94a5\u5fc5\u987b\u88ab\u914d\u9001\u7ed9\u63a5\u6536\u8005\uff0c\u8fd9\u4e00\u95ee\u9898\u88ab\u79f0\u4e3a\u79d8\u94a5\u914d\u9001\u95ee\u9898\u3002\u5982\u679c\u4f7f\u7528\u516c\u94a5\u5bc6\u7801\uff0c\u5219\u65e0\u9700\u5411\u63a5\u6536\u8005\u4f69\u677e\u7528\u4e8e\u89e3\u5bc6\u7684\u79d8\u94a5\uff0c\u8fd9\u6837\u5c31\u89e3\u51b3\u4e86\u79d8\u94a5\u914d\u9001\u95ee\u9898\u3002\u53ef\u4ee5\u8bf4\u516c\u94a5\u5bc6\u7801\u662f\u5bc6\u7801\u5b66\u5386\u53f2\u4e0a\u6700\u4f1f\u5927\u7684\u53d1\u660e\u3002"),(0,a.yg)("h3",{id:"\u516c\u94a5\u5bc6\u7801\u4e2d"},"\u516c\u94a5\u5bc6\u7801\u4e2d"),(0,a.yg)("p",null,"\u52a0\u5bc6\u79d8\u94a5\u4e00\u822c\u662f\u516c\u5f00\u7684\u3002\u6b63\u5f0f\u7531\u4e8e\u52a0\u5bc6\u79d8\u94a5\u662f\u53ef\u4ee5\u4efb\u610f\u516c\u5f00\uff0c\u56e0\u6b64\u8be5\u79d8\u94a5\u88ab\u79f0\u4e3a\u516c\u94a5\u3002\u76f8\u5bf9\u7684\uff0c\u89e3\u5bc6\u79d8\u94a5\u662f\u7edd\u5bf9\u4e0d\u80fd\u516c\u5f00\u7684\uff0c\u8fd9\u4e2a\u79d8\u94a5\u53ea\u80fd\u7531\u4f60\u81ea\u5df1\u6765\u4f7f\u7528\uff0c\u56e0\u6b64\u6210\u4e3a\u79c1\u94a5\u3002\u79d8\u94a5\u5bf9\u4e2d\u7684\u4e24\u4e2a\u79d8\u94a5\u4e4b\u95f4\u5177\u6709\u975e\u5e38\u5bc6\u5207\u7684\u5173\u7cfb-\u6570\u5b66\u4e0a\u7684\u5173\u7cfb-\u56e0\u6b64\u516c\u94a5\u548c\u79c1\u94a5\u662f\u4e0d\u80fd\u5206\u522b\u72ec\u7acb\u751f\u6210\u7684\u3002"),(0,a.yg)("p",null,"RSA \u53ef\u4ee5\u8bf4\u662f\u73b0\u5728\u516c\u94a5\u5bc6\u7801\u7684\u4e8b\u5b9e\u6807\u51c6\u3002"),(0,a.yg)("p",null,"\u516c\u94a5\u5bc6\u7801\u65e0\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u516c\u94a5\u662f\u5426\u5408\u6cd5\u7684\u95ee\u9898\uff0c\u4e5f\u5c31\u662f\u516c\u94a5\u8ba4\u8bc1\u95ee\u9898\uff0c\u56e0\u4e3a\u5b58\u5728\u4e2d\u95f4\u4eba\u66ff\u6362\u516c\u94a5\u7684\u95ee\u9898\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4ed6\u7684\u5904\u7406\u901f\u5ea6\u53ea\u6709\u5bf9\u79f0\u5bc6\u7801\u7684\u51e0\u767e\u5206\u4e4b\u4e00\uff1b")),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(10830).A,width:"1968",height:"520"})),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(9313).A,width:"1962",height:"582"})),(0,a.yg)("p",null,"\u5bf9\u79f0\u5bc6\u7801\u901a\u8fc7\u5c06\u660e\u6587\u8f6c\u6362\u6210\u590d\u6742\u7684\u5f62\u5f0f\u6765\u4fdd\u8bc1\u5176\u673a\u5bc6\u6027\uff0c\u76f8\u5bf9\u7684\uff0c\u516c\u94a5\u5bc6\u7801\u5219\u662f\u57fa\u4e8e\u6570\u5b66\u4e0a\u7684\u56f0\u96be\u7684\u95ee\u9898\u6765\u4fdd\u8bc1\u673a\u5bc6\u6027\u7684\u3002\u4f8b\u5982 RSA \u5c31\u5229\u7528\u4e86\u5927\u6574\u6570\u7684\u8d28\u56e0\u6570\u5206\u89e3\u95ee\u9898\u7684\u56f0\u96be\u5ea6\u3002\u56e0\u6b64\uff0c\u5bf9\u79f0\u5bc6\u7801\u548c\u516c\u94a5\u5bc6\u7801\u6e90\u4e8e\u4e24\u79cd\u6839\u672c\u4e0d\u540c\u7684\u601d\u8def\u3002"),(0,a.yg)("p",null,"\u6df7\u5408\u5bc6\u7801\u7cfb\u7edf\uff0c\u7528\u5bf9\u79f0\u5bc6\u7801\u63d0\u9ad8\u901f\u5ea6\uff0c\u7528\u516c\u94a5\u5bc6\u7801\u6765\u5305\u542b\u4f1a\u8bdd\u79d8\u94a5\u3002\u4f1a\u8bdd\u79d8\u94a5\u662f\u5bf9\u79f0\u5bc6\u7801\u7684\u79d8\u94a5\uff0c\u540c\u65f6\u4e5f\u662f\u516c\u94a5\u5bc6\u7801\u7684\u660e\u6587\u3002"),(0,a.yg)("h3",{id:"\u5355\u5411\u6563\u5217\u51fd\u6570"},"\u5355\u5411\u6563\u5217\u51fd\u6570"),(0,a.yg)("p",null,"\u5c31\u662f\u4e00\u79cd\u91c7\u96c6\u6587\u4ef6\u6307\u7eb9\u7684\u6280\u672f\uff0c\u5355\u5411\u6563\u5217\u51fd\u6570\u6709\u4e00\u4e2a\u8f93\u5165\u548c\u4e00\u4e2a\u8f93\u51fa\uff0c\u5176\u4e2d\u8f93\u5165\u6210\u4e3a\u6d88\u606f\uff0c\u8f93\u51fa\u6210\u4e3a\u6563\u5217\u503c\u3002\u5355\u5411\u6563\u5217\u51fd\u6570\u53ef\u4ee5\u6839\u636e\u6d88\u606f\u7684\u5185\u5bb9\u8ba1\u7b97\u51fa\u6563\u5217\u503c\uff0c\u800c\u6563\u5217\u503c\u5c31\u53ef\u4ee5\u88ab\u7528\u6765\u68c0\u67e5\u6d88\u606f\u7684\u5b8c\u6574\u6027\u3002"),(0,a.yg)("p",null,"\u6563\u5217\u503c\u7684\u957f\u5ea6\u548c\u6d88\u606f\u7684\u957f\u5ea6\u65e0\u5173\u3002\u65e0\u8bba\u6d88\u606f\u662f 1 \u6bd4\u7279\u8fd8\u662f 100MB\uff0c\u751a\u81f3\u662f 100GB\uff0c\u5355\u5411\u6563\u5217\u51fd\u6570\u6597\u6e56\u81ea\u5df1\u7b97\u51fa\u56fa\u5b9a\u957f\u5ea6\u7684\u6563\u5217\u503c\u3002\u4ee5 SHA-1 \u5355\u5411\u6563\u5217\u51fd\u6570\u4e3a\u4f8b\uff0c\u4ed6\u6240\u8ba1\u7b97\u51fa\u7684\u6563\u5217\u503c\u7684\u957f\u5ea6\u6c38\u8fdc\u662f 160 \u6bd4\u7279\uff0820 \u5b57\u8282\uff09\u3002"),(0,a.yg)("p",null,"\u5355\u5411\u6563\u5217\u51fd\u6570\u4e5f\u79f0\u4e3a\u6d88\u606f\u6458\u8981\u51fd\u6570\uff0c\u54c8\u5e0c\u51fd\u6570\u6216\u8005\u6742\u51d1\u51fd\u6570\u3002\u8f93\u5165\u5355\u5411\u6563\u5217\u51fd\u6570\u7684\u6d88\u606f\u4e5f\u79f0\u4e3a\u539f\u50cf\u3002\u5355\u5411\u6563\u5217\u51fd\u6570\u8f93\u51fa\u7684\u6563\u5217\u503c\u4e5f\u79f0\u4e3a\u6d88\u606f\u6458\u8981\u6216\u8005\u6307\u7eb9\u3002\u5b8c\u6574\u6027\u4e5f\u79f0\u4e3a\u4e00\u81f4\u6027\u3002"),(0,a.yg)("p",null,"\u5355\u5411\u6563\u5217\u51fd\u6570\u7684\u5b9e\u9645\u5e94\u7528\uff1a\u57fa\u4e8e\u53e3\u4ee4\u7684\u52a0\u5bc6\u3001\u6d88\u606f\u8ba4\u8bc1\u7801\u3001\u6570\u5b57\u7b7e\u540d\u3001\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\u3001\u4e00\u6b21\u6027\u53e3\u4ee4\u3002"),(0,a.yg)("p",null,"\u51e0\u79cd\u5355\u5411\u6563\u5217\u51fd\u6570\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"MD4\uff0c\u6d88\u606f\u6458\u8981 Message Digest 4\uff0c\u5df2\u7ecf\u627e\u5230\u6563\u5217\u78b0\u649e\u7684\u65b9\u6cd5\uff0c\u5df2\u4e0d\u5b89\u5168\uff1b"),(0,a.yg)("li",{parentName:"ol"},"MD5\uff0c\u5f3a\u6297\u78b0\u649e\u6027\u5df2\u88ab\u653b\u7834\uff0c\u5df2\u4e0d\u5b89\u5168\u3002"),(0,a.yg)("li",{parentName:"ol"},"SHA-1\uff0c\u5df2\u88ab\u653b\u7834\uff1b"),(0,a.yg)("li",{parentName:"ol"},"SHA-2\uff0c\u5305\u62ec SHA-256\u3001SHA-384\u3001SHA-512\uff0c\u5c1a\u672a\u88ab\u653b\u7834\uff1b"),(0,a.yg)("li",{parentName:"ol"},"RIPEMD\uff0c\u5df2\u88ab\u653b\u7834\uff1b"),(0,a.yg)("li",{parentName:"ol"},"RIPEMD-160\uff0c\u5c1a\u672a\u88ab\u653b\u7834\uff1b")),(0,a.yg)("p",null,"\u5355\u5411\u6563\u5217\u51fd\u6570\u65e0\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\uff1a\u5355\u5411\u6563\u5217\u51fd\u6570\u80fd\u591f\u8fa8\u522b\u51fa\u201c\u7be1\u6539\u201d\uff0c\u4f46\u65e0\u6cd5\u8fa8\u522b\u51fa\u201c\u4f2a\u88c5\u201d\u3002"),(0,a.yg)("h3",{id:"\u6d88\u606f\u8ba4\u8bc1\u7801"},"\u6d88\u606f\u8ba4\u8bc1\u7801"),(0,a.yg)("p",null,"\u662f\u4e00\u79cd\u786e\u8ba4\u5b8c\u6574\u6027\u5e76\u8fdb\u884c\u8ba4\u8bc1\u7684\u6280\u672f\uff0c\u53d6\u4e09\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\uff0c\u7b80\u79f0 MAC\u3002\u6d88\u606f\u8ba4\u8bc1\u7801\u7684\u8f93\u5165\u5305\u62ec\u4efb\u610f\u957f\u5ea6\u7684\u6d88\u606f\u548c\u4e00\u4e2a\u53d1\u9001\u8005\u4e0e\u63a5\u6536\u8005\u4e4b\u95f4\u5171\u4eab\u7684\u79d8\u94a5\uff0c\u4ed6\u53ef\u4ee5\u8f93\u51fa\u56fa\u5b9a\u957f\u5ea6\u7684\u6570\u636e\uff0c\u8fd9\u4e2a\u6570\u636e\u79f0\u4e3a MAC \u503c\u3002\u6d88\u606f\u8ba4\u8bc1\u7801\u6709\u5f88\u591a\u5b9e\u73b0\u65b9\u6cd5\uff0c\u5927\u5bb6\u53ef\u4ee5\u6682\u4e14\u8fd9\u6837\u7406\u89e3\uff1a\u6d88\u606f\u8ba4\u8bc1\u7801\u662f\u4e00\u79cd\u4e0e\u79d8\u94a5\u76f8\u5173\u8054\u7684\u5355\u5411\u6563\u5217\u51fd\u6570\u3002"),(0,a.yg)("p",null,"\u51e0\u4e2a\u6d88\u606f\u8ba4\u8bc1\u7801\u5728\u73b0\u5b9e\u4e16\u754c\u4e2d\u5e94\u7528\u7684\u5b9e\u4f8b\uff0c"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"SWIFT\uff0c\u73af\u7403\u94f6\u884c\u91d1\u878d\u7535\u4fe1\u534f\u4f1a\uff0c\u662f\u4e00\u4e2a\u4e3a\u56fd\u9645\u94f6\u884c\u95f4\u7684\u4ea4\u6613\u4fdd\u9a7e\u62a4\u822a\u7684\u7ec4\u7ec7\uff1b\u7528\u7684\u5c31\u662f\u6d88\u606f\u8ba4\u8bc1\u7801\uff0c\u6d88\u606f\u8ba4\u8bc1\u7801\u7684\u79d8\u94a5\u662f\u901a\u8fc7\u4eba\u6765\u8fdb\u884c\u914d\u9001\u7684\u3002"),(0,a.yg)("li",{parentName:"ol"},"IPSec"),(0,a.yg)("li",{parentName:"ol"},"SSL/TLS")),(0,a.yg)("p",null,"\u6d88\u606f\u8ba4\u8bc1\u7801\u6709\u5f88\u591a\u5b9e\u73b0\u65b9\u5f0f\uff0c"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u4f7f\u7528 SHA-1\u3001MD5 \u4e4b\u7c7b\u7684\u5355\u5411\u6563\u5217\u51fd\u6570\u53ef\u4ee5\u5b9e\u73b0\u6d88\u606f\u8ba4\u8bc1\u7801\uff0c\u6210\u4e3a HMAC\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4f7f\u7528\u5206\u7ec4\u5bc6\u7801\u5b9e\u73b0\uff0c\u4f8b\u5982 DES\u3001AES"),(0,a.yg)("li",{parentName:"ol"},"\u4f7f\u7528\u6d41\u5bc6\u7801\u548c\u516c\u94a5\u5bc6\u7801\u7b49\uff1b")),(0,a.yg)("p",null,"\u6d88\u606f\u8ba4\u8bc1\u7801\u65e0\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u5305\u62ec\u201c\u5bf9\u7b2c\u4e09\u65b9\u8bc1\u660e\u201d\u548c\u201c\u9632\u6b62\u5426\u8ba4\u201d\u3002"),(0,a.yg)("h3",{id:"\u6570\u5b57\u7b7e\u540d-\u6d88\u606f\u5230\u5e95\u662f\u8c01\u5199\u7684"},"\u6570\u5b57\u7b7e\u540d-\u6d88\u606f\u5230\u5e95\u662f\u8c01\u5199\u7684\u3002"),(0,a.yg)("p",null,"\u6570\u5b57\u7b7e\u540d\u662f\u4e00\u79cd\u5c06\u76f8\u5f53\u4e8e\u73b0\u5b9e\u4e16\u754c\u4e2d\u7684\u7b7e\u7ae0\u3001\u7b7e\u5b57\u7684\u529f\u80fd\u5728\u8ba1\u7b97\u673a\u4e16\u754c\u4e2d\u8fdb\u884c\u5b9e\u73b0\u7684\u6280\u672f\u3002\u4f7f\u7528\u6570\u5b57\u7b7e\u540d\u53ef\u4ee5\u8bc6\u522b\u7be1\u6539\u548c\u4f2a\u88c5\uff0c\u8fd8\u53ef\u9632\u6b62\u5426\u8ba4\u3002"),(0,a.yg)("p",null,"\u5b9e\u9645\u4e0a\uff0c\u6570\u5b57\u7b7e\u540d\u548c\u516c\u94a5\u5bc6\u7801\u6709\u7740\u975e\u5e38\u7d27\u5bc6\u7684\u8054\u7cfb\uff0c\u7b80\u800c\u8a00\u4e4b\uff0c\u6570\u5b57\u7b7e\u540d\u5c31\u662f\u901a\u8fc7\u8bb2\u516c\u94a5\u5bc6\u7801\u201c\u53cd\u8fc7\u6765\u7528\u201d\u800c\u5b9e\u73b0\u7684\u3002"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(88184).A,width:"1946",height:"486"})),(0,a.yg)("p",null,"\u6570\u5b57\u7b7e\u540d\u7684\u4f5c\u7528\u672c\u6765\u5c31\u4e0d\u662f\u4fdd\u8bc1\u673a\u5bc6\u6027\u7684\uff0c\u800c\u662f\u88ab\u7528\u4e8e\u4ee3\u8868\u4e00\u79cd\u53ea\u6709\u6301\u6709\u8be5\u79d8\u94a5\u7684\u4eba\u624d\u80fd\u591f\u751f\u6210\u4fe1\u606f\u3002"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(83795).A,width:"750",height:"383"})),(0,a.yg)("p",null,"\u5bf9\u79f0\u5bc6\u7801\u7684\u79d8\u94a5\u662f\u673a\u5bc6\u6027\u7684\u7cbe\u534e\uff0c\u5355\u5411\u6563\u5217\u51fd\u6570\u7684\u6563\u5217\u503c\u662f\u5b8c\u6574\u6027\u7684\u7cbe\u534e\u3002"),(0,a.yg)("h3",{id:"\u8bc1\u4e66-\u4e3a\u516c\u94a5\u52a0\u4e0a\u6570\u5b57\u7b7e\u540d"},"\u8bc1\u4e66-\u4e3a\u516c\u94a5\u52a0\u4e0a\u6570\u5b57\u7b7e\u540d"),(0,a.yg)("p",null,"\u8bc1\u4e66\u662f\u7531\u8ba4\u8bc1\u673a\u6784\u9881\u53d1\u7684\uff0c\u4f7f\u7528\u8005\u9700\u8981\u5bf9\u8bc1\u4e66\u8fdb\u884c\u9a8c\u8bc1\uff0c\u56e0\u6b64\u5982\u679c\u8bc1\u4e66\u7684\u683c\u5f0f\u5343\u5947\u767e\u602a\u90a3\u5c31\u4e0d\u65b9\u4fbf\u4e86\uff0c\u4e8e\u662f\uff0c\u4eba\u4eec\u5236\u5b9a\u4e86\u8bc1\u4e66\u7684\u6807\u51c6\u89c4\u8303\uff0c\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u662f X.509 \u89c4\u8303\u3002"),(0,a.yg)("p",null,"\u516c\u94a5\u57fa\u7840\u8bbe\u65bd PKI \u662f\u4e3a\u4e86\u80fd\u591f\u6709\u6548\u5730\u8fd0\u7528\u516c\u94a5\u800c\u5236\u5b9a\u7684\u4e00\u4e9b\u5217\u89c4\u8303\u548c\u89c4\u683c\u7684\u603b\u79f0\u3002\u516c\u94a5\u57fa\u7840\u8bbe\u65bd\u4e00\u822c\u6839\u636e\u5176\u5e94\u7528\u7f29\u5199\u800c\u7b80\u79f0\u4e3a PKI\u3002"),(0,a.yg)("p",null,"\u8bf7\u8bb0\u4f4f\uff0c\u4f7f\u7528\u516c\u5f00\u7684\u6280\u672f\u548c\u628a\u81ea\u5df1\u7684\u6280\u672f\u516c\u5f00\u662f\u4e24\u7801\u4e8b\u3002\u91c7\u7528\u5df2\u7ecf\u516c\u5f00\u7684\uff0c\u5e76\u79ef\u7d2f\u4e86\u5927\u91cf\u6210\u679c\u7684\u6280\u672f\u662f\u6b63\u786e\u7684\u51b3\u5b9a\uff0c\u7136\u800c\u5e76\u4e0d\u9700\u8981\u5c06\u81ea\u5df1\u516c\u53f8\u6240\u91c7\u7528\u7684\u6280\u672f\u4e0a\u7684\u7ec6\u8282\u516c\u5f00\u51fa\u6765\u3002\u6211\u4eec\u62ff\u5458\u5de5\u8bbf\u95ee\u516c\u53f8\u5185\u90e8\u7f51\u7edc\u7684\u65b9\u6cd5\u4e3a\u4f8b\u3002\u9a8c\u8bc1\u5458\u5de5\u7684\u5408\u6cd5\u8eab\u4efd\u53ef\u4ee5\u91c7\u7528\u516c\u5f00\u7684\uff0c\u79ef\u7d2f\u4e86\u5927\u91cf\u6210\u679c\u7684\u6280\u672f\uff0c\u4f46\u662f\u6211\u4eec\u5e76\u4e0d\u9700\u8981\u5c06\u8fd9\u4e9b\u7ec6\u8282\u516c\u5f00\u51fa\u6765\uff0c\u800c\u662f\u53ea\u8981\u544a\u8bc9\u76f8\u5173\u7684\u5458\u5de5\u5c31\u53ef\u4ee5\u4e86\u3002\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u5c06\u81ea\u5df1\u7684\u98ce\u9669\u63a7\u5236\u5230\u6700\u5c0f\uff0c\u4e07\u4e00\u6709\u4eba\u6076\u610f\u8bb2\u6280\u672f\u7684\u8be6\u7ec6\u4fe1\u606f\u516c\u5f00\u51fa\u6765\uff0c\u4e5f\u4e0d\u4f1a\u4ea7\u751f\u4e25\u91cd\u7684\u95ee\u9898\uff0c\u56e0\u4e3a\u6211\u4eec\u6240\u4f7f\u7528\u7684\u6280\u672f\u539f\u672c\u5c31\u662f\u516c\u5f00\u7684\u3002\u53cd\u8fc7\u6765\u8bf4\uff0c\u5982\u679c\u6211\u4eec\u4f7f\u7528\u7684\u6280\u672f\u662f\u4f9d\u9760\u5bf9\u7ec6\u8282\u7684\u4fdd\u5bc6\u6765\u4fdd\u8bc1\u5b89\u5168\u7684\uff0c\u90a3\u4e48\u4e00\u65e6\u6709\u4eba\u6076\u610f\u6cc4\u6f0f\u6280\u672f\u7ec6\u8282\uff0c\u5c31\u4f1a\u9020\u6210\u4e25\u91cd\u7684\u95ee\u9898\u3002"),(0,a.yg)("p",null,"\u6709\u9650\u7fa4\u7684\u79bb\u6563\u5bf9\u6570\u95ee\u9898\u7684\u590d\u6742\u5ea6\u6b63\u5f0f\u652f\u6491 Diffie-Hellman \u79d8\u94a5\u4ea4\u6362\u7b97\u6cd5\u7684\u57fa\u7840\u3002"),(0,a.yg)("h3",{id:"\u968f\u673a\u6570-\u4e0d\u53ef\u9884\u6d4b\u6027\u7684\u6e90\u6cc9"},"\u968f\u673a\u6570-\u4e0d\u53ef\u9884\u6d4b\u6027\u7684\u6e90\u6cc9"),(0,a.yg)("p",null,"\u6211\u4eec\u5c06\u968f\u673a\u6570\u7684\u6027\u8d28\u5206\u4e3a\u4ee5\u4e0b\u4e09\u7c7b\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u968f\u673a\u6027\uff0c\u4e0d\u5b58\u5728\u7edf\u8ba1\u5b66\u504f\u5dee\uff0c\u662f\u5b8c\u5168\u6742\u4e71\u7684\u6570\u5217\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4e0d\u53ef\u9884\u6d4b\u6027\uff0c\u4e0d\u80fd\u4ece\u8fc7\u53bb\u7684\u6570\u5217\u63a8\u6d4b\u51fa\u4e0b\u4e00\u4e2a\u51fa\u73b0\u7684\u6570\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4e0d\u53ef\u91cd\u73b0\u6027\uff0c\u9664\u975e\u5c06\u6570\u5217\u672c\u8eab\u4fdd\u5b58\u4e0b\u6765\uff0c\u5426\u5219\u4e0d\u80fd\u91cd\u73b0\u76f8\u540c\u7684\u6570\u5217\uff1b")),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(51882).A,width:"750",height:"474"})),(0,a.yg)("p",null,"\u4ec5\u9760\u8f6f\u4ef6\u662f\u65e0\u6cd5\u751f\u6210\u51fa\u5177\u5907\u4e0d\u53ef\u91cd\u73b0\u6027\u7684\u968f\u673a\u6570\u5217\u7684\u3002\u8f6f\u4ef6\u53ea\u80fd\u751f\u6210\u4f2a\u968f\u673a\u6570\u5217\uff0c\u8fd9\u662f\u56e0\u4e3a\u8fd0\u884c\u8f6f\u4ef6\u7684\u8ba1\u7b97\u673a\u672c\u8eab\u5177\u5907\u4f18\u5148\u7684\u5185\u90e8\u72b6\u6001\u3002\u800c\u5728\u5185\u90e8\u72b6\u6001\u76f8\u540c\u7684\u6761\u4ef6\u4e0b\uff0c\u8f6f\u4ef6\u5fc5\u7136\u53ea\u80fd\u751f\u6210\u76f8\u540c\u7684\u6570\uff0c\u56e0\u4e3a\u8f6f\u4ef6\u6240\u751f\u6210\u7684\u6570\u5217\u5728\u67d0\u4e2a\u65f6\u523b\u4e00\u5b9a\u4f1a\u51fa\u73b0\u91cd\u590d\u3002\u9996\u6b21\u51fa\u73b0\u91cd\u590d\u4e4b\u524d\u7684\u6570\u5217\u957f\u5ea6\u79f0\u4e3a\u5468\u671f\uff0c\u5bf9\u4e8e\u8f6f\u4ef6\u6240\u751f\u6210\u7684\u6570\u5217\uff0c\u5176\u5468\u671f\u5fc5\u5b9a\u662f\u6709\u9650\u7684\u3002\u5f53\u7136\uff0c\u8fd9\u4e2a\u5468\u671f\u53ef\u80fd\u4f1a\u5f88\u957f\uff0c\u4f46\u603b\u5f52\u662f\u6709\u9650\u7684\u3002\u51e1\u662f\u5177\u6709\u5468\u671f\u7684\u6570\u5217\uff0c\u90fd\u4e0d\u5177\u5907\u4e0d\u53ef\u91cd\u73b0\u6027\u3002"),(0,a.yg)("p",null,"\u968f\u673a\u6570\u53ef\u4ee5\u901a\u8fc7\u786c\u4ef6\u6765\u751f\u6210\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u8f6f\u4ef6\u6765\u751f\u6210\u3002\n\u901a\u8fc7\u786c\u4ef6\u751f\u6210\u7684\u968f\u673a\u6570\u5217\uff0c\u662f\u6839\u636e\u4f20\u611f\u5668\u6536\u96c6\u7684\u70ed\u91cf\u3001\u58f0\u97f3\u7684\u53d8\u5316\u7b49\u4e8b\u5b9e\u4e0a\u65e0\u6cd5\u9884\u6d4b\u548c\u91cd\u73b0\u7684\u81ea\u7136\u73b0\u8c61\u4fe1\u606f\u6765\u751f\u6210\u7684\u3002\u50cf\u8fd9\u6837\u7684\u786c\u4ef6\u8bbe\u5907\u5c31\u6210\u4e3a\u968f\u673a\u6570\u751f\u6210\u5668\u3002\n\u800c\u53ef\u4ee5\u751f\u6210\u968f\u673a\u6570\u7684\u8f6f\u4ef6\u5219\u79f0\u4e3a\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\u3002\u56e0\u4e3a\u4ec5\u9760\u8f6f\u4ef6\u65e0\u6cd5\u751f\u6210\u771f\u968f\u673a\u6570\uff0c\u56e0\u6b64\u8981\u52a0\u4e0a\u4e00\u4e2a\u4f2a\u5b57\u3002"),(0,a.yg)("p",null,"\u4e00\u4e9b\u5177\u4f53\u7684\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u4e71\u6765\u7684\u65b9\u6cd5\uff0c\u4e0d\u884c\uff0c\u4e0d\u5177\u5907\u4e0d\u53ef\u9884\u6d4b\u6027\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u7ebf\u6027\u540c\u4f59\u6cd5\uff0c\u662f\u4e00\u79cd\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\u7b97\u6cd5\uff0c\u5f88\u591a\u9884\u7814\u7684\u968f\u673a\u6570\u51fd\u6570\u90fd\u662f\u7528\u7684\u4ed6\uff0c\u4f8b\u5982 js\u3001java\uff0c\u7136\u800c\u4ed6\u4e0d\u80fd\u7528\u4e8e\u5bc6\u7801\u6280\u672f\u3002\u4e0d\u5177\u5907\u4e0d\u53ef\u9884\u6d4b\u6027\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5355\u5411\u6563\u5217\u51fd\u6570\u6cd5\uff0c\u5177\u5907\u4e0d\u53ef\u9884\u6d4b\u6027\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5bc6\u7801\u6cd5\uff0c\u5177\u5907\u4e0d\u53ef\u9884\u6d4b\u6027\uff0c\u65e2\u53ef\u4ee5\u4f7f\u7528 AES \u7b49\u5bf9\u79f0\u5bc6\u7801\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528 RSA \u7b49\u516c\u94a5\u5bc6\u7801\uff1b")),(0,a.yg)("p",null,"\u4f2a\u968f\u673a\u6570\u7684\u79cd\u5b50\u548c\u5bc6\u7801\u7684\u79d8\u94a5\u540c\u7b49\u91cd\u8981\u3002\u5982\u679c\u653b\u51fb\u8005\u77e5\u9053\u4e86\u4f2a\u968f\u673a\u6570\u7684\u79cd\u5b50\uff0c\u90a3\u4e48\u4ed6\u5c31\u80fd\u591f\u77e5\u9053\u8fd9\u4e2a\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\u6240\u751f\u6210\u7684\u5168\u90e8\u4f2a\u968f\u673a\u6570\u6570\u5217\u3002\u56e0\u4e3a\u4f2a\u968f\u673a\u6570\u7684\u79cd\u5b50\u4e0d\u53ef\u80fd\u88ab\u653b\u51fb\u8005\u77e5\u9053\u3002\u8981\u907f\u514d\u79cd\u5b50\u88ab\u653b\u51fb\u8005\u77e5\u9053\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u5177\u5907\u4e0d\u53ef\u91cd\u73b0\u6027\u7684\u771f\u968f\u673a\u6570\u4f5c\u4e3a\u79cd\u5b50\u3002"),(0,a.yg)("p",null,"PGP-\u5bc6\u7801\u6280\u672f\u7684\u5b8c\u7f8e\u7ec4\u5408"),(0,a.yg)("h3",{id:"ssltls"},"SSL/TLS"),(0,a.yg)("p",null,"\u4e3a\u4e86\u66f4\u5b89\u5168\u7684\u901a\u4fe1\uff0c\u662f\u4e16\u754c\u4e0a\u5e94\u7528\u6700\u5e7f\u6cdb\u7684\u5bc6\u7801\u901a\u4fe1\u65b9\u6cd5\u3002"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(79005).A,width:"750",height:"725"})))}c.isMDXComponent=!0},10830:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/3-1cd22ce575e5572824bd4c8ad4099377.png"},9313:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/4-b7ba21080fe3004db7495ee55cbcf227.png"},88184:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/5-180f1157571f0dc0cd0daf2b1fe5c9c4.png"},83795:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/6-04cf67c1d3f54bc82262926c7e27388d.png"},51882:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/7-88db62490bde176557c35427f36fc908.png"},79005:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/8-699fd9ac60c91e226b2029ed1e184f2c.png"},66954:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/model-694c6958c5a4ee8c940e3b4236a68518.png"},57539:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/tool-d0ca9efb9b22f41c3fd8b98e6420074a.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1197],{15680:(e,l,n)=>{n.d(l,{xA:()=>o,yg:()=>d});var t=n(96540);function a(e,l,n){return l in e?Object.defineProperty(e,l,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[l]=n,e}function r(e,l){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);l&&(t=t.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),n.push.apply(n,t)}return n}function g(e){for(var l=1;l=0||(a[n]=e[n]);return a}(e,l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var i=t.createContext({}),y=function(e){var l=t.useContext(i),n=l;return e&&(n="function"==typeof e?e(l):g(g({},l),e)),n},o=function(e){var l=y(e.components);return t.createElement(i.Provider,{value:l},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var l=e.children;return t.createElement(t.Fragment,{},l)}},s=t.forwardRef((function(e,l){var n=e.components,a=e.mdxType,r=e.originalType,i=e.parentName,o=p(e,["components","mdxType","originalType","parentName"]),u=y(n),s=a,d=u["".concat(i,".").concat(s)]||u[s]||c[s]||r;return n?t.createElement(d,g(g({ref:l},o),{},{components:n})):t.createElement(d,g({ref:l},o))}));function d(e,l){var n=arguments,a=l&&l.mdxType;if("string"==typeof e||a){var r=n.length,g=new Array(r);g[0]=s;var p={};for(var i in l)hasOwnProperty.call(l,i)&&(p[i]=l[i]);p.originalType=e,p[u]="string"==typeof e?e:a,g[1]=p;for(var y=2;y{n.r(l),n.d(l,{assets:()=>i,contentTitle:()=>g,default:()=>c,frontMatter:()=>r,metadata:()=>p,toc:()=>y});var t=n(58168),a=(n(96540),n(15680));const r={},g=void 0,p={unversionedId:"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",id:"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",title:"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",description:"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1",source:"@site/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",permalink:"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u884c\u4e1a\u5206\u6790",permalink:"/docs/study/encryption/\u884c\u4e1a\u5206\u6790"},next:{title:"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"}},i={},y=[{value:"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1",id:"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1",level:3},{value:"\u516c\u94a5\u5bc6\u7801\u4e2d",id:"\u516c\u94a5\u5bc6\u7801\u4e2d",level:3},{value:"\u5355\u5411\u6563\u5217\u51fd\u6570",id:"\u5355\u5411\u6563\u5217\u51fd\u6570",level:3},{value:"\u6d88\u606f\u8ba4\u8bc1\u7801",id:"\u6d88\u606f\u8ba4\u8bc1\u7801",level:3},{value:"\u6570\u5b57\u7b7e\u540d-\u6d88\u606f\u5230\u5e95\u662f\u8c01\u5199\u7684\u3002",id:"\u6570\u5b57\u7b7e\u540d-\u6d88\u606f\u5230\u5e95\u662f\u8c01\u5199\u7684",level:3},{value:"\u8bc1\u4e66-\u4e3a\u516c\u94a5\u52a0\u4e0a\u6570\u5b57\u7b7e\u540d",id:"\u8bc1\u4e66-\u4e3a\u516c\u94a5\u52a0\u4e0a\u6570\u5b57\u7b7e\u540d",level:3},{value:"\u968f\u673a\u6570-\u4e0d\u53ef\u9884\u6d4b\u6027\u7684\u6e90\u6cc9",id:"\u968f\u673a\u6570-\u4e0d\u53ef\u9884\u6d4b\u6027\u7684\u6e90\u6cc9",level:3},{value:"SSL/TLS",id:"ssltls",level:3}],o={toc:y},u="wrapper";function c(e){let{components:l,...r}=e;return(0,a.yg)(u,(0,t.A)({},o,r,{components:l,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1"},"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1"),(0,a.yg)("p",null,"\u5305\u62ec\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u5bf9\u79f0\u52a0\u5bc6\uff0c\u52a0\u5bc6\u548c\u89e3\u5bc6\u7684\u79d8\u94a5\u662f\u4e00\u6837\u7684\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u975e\u5bf9\u79f0\u52a0\u5bc6\uff0c\u52a0\u5bc6\u548c\u89e3\u5bc6\u7684\u79d8\u94a5\u662f\u4e0d\u4e00\u6837\u7684\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5355\u9879\u6563\u5217\u51fd\u6570\uff0c\u5c31\u662f\u54c8\u5e0c\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u6d88\u606f\u8ba4\u8bc1\u7801\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u6570\u5b57\u7b7e\u540d\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\uff1b")),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(57539).A,width:"750",height:"585"})),(0,a.yg)("p",null,"\u51ef\u6492\u5bc6\u7801\u52a0\u5bc6\uff1a\u662f\u901a\u8fc7\u5c06\u660e\u6587\u4e2d\u6240\u4f7f\u7528\u7684\u5b57\u6bcd\u8868\u6309\u7167\u4e00\u5b9a\u7684\u5b57\u6570\u201c\u5e73\u79fb\u201d\u6765\u8fdb\u884c\u52a0\u5bc6\u7684\u3002\n\u7b80\u5355\u66ff\u6362\u52a0\u5bc6\uff1a\u662f\u5c06\u660e\u6587\u4e2d\u6240\u6709\u4f7f\u7528\u7684\u5b57\u6bcd\u66ff\u6362\u6210\u53e6\u4e00\u5957\u5b57\u6bcd\u8868\u7684\u5bc6\u7801\u3002"),(0,a.yg)("p",null,"\u4e00\u79cd\u5bc6\u7801\u80fd\u591f\u4f7f\u7528\u7684\u201c\u6240\u6709\u79d8\u94a5\u7684\u96c6\u5408\u201d\u79f0\u4e3a\u79d8\u94a5\u7a7a\u95f4\u3002"),(0,a.yg)("p",null,"\u867d\u7136\u7528\u66b4\u529b\u7834\u89e3\u5f88\u96be\u7834\u89e3\u7b80\u5355\u66ff\u6362\u5bc6\u7801\uff0c\u4f46\u4f7f\u7528\u88ab\u79f0\u4e3a\u9891\u7387\u5206\u6790\u7684\u5bc6\u7801\u7834\u8bd1\u65b9\u6cd5\uff0c\u5c31\u80fd\u591f\u7834\u8bd1\u7b80\u5355\u66ff\u6362\u5bc6\u7801\u3002\u6240\u8c13\u7684\u9891\u7387\u5206\u6790\u662f\u6307\u5bf9\u5bc6\u6587\u4e2d\u51fa\u73b0\u7684\u5b57\u6bcd\u6b21\u6570\u8fdb\u884c\u7edf\u8ba1\uff0c\u7136\u540e\u6839\u636e\u7ecf\u9a8c\u5c1d\u8bd5\u53bb\u89e3\u8bfb\u7b80\u5355\u66ff\u6362\u7684\u542b\u4e49\u3002\u4ece\u516c\u5143\u524d\u5f00\u59cb\uff0c\u7b80\u5355\u66ff\u6362\u5bc6\u7801\u5728\u51e0\u767e\u5e74\u7684\u65f6\u95f4\u91cc\u4e00\u76f4\u88ab\u7528\u4e8e\u79d8\u5bc6\u901a\u4fe1\u3002\u7136\u800c\u5728\u963f\u62c9\u4f2f\u5b66\u8005\u53d1\u660e\u9891\u7387\u5206\u6790\u6cd5\u4e4b\u540e\uff0c\u8fd9\u79cd\u5bc6\u7801\u5f88\u5bb9\u6613\u5c31\u88ab\u7834\u8bd1\u4e86\u3002"),(0,a.yg)("p",null,"\u5c06\u5bc6\u7801\u7b97\u6cd5\u548c\u79d8\u94a5\u5206\u5f00\u8003\u8651\uff0c\u5c31\u89e3\u51b3\u4e86\u5e0c\u671b\u91cd\u590d\u4f7f\u7528\uff0c\u4f46\u91cd\u590d\u4f7f\u7528\u4f1a\u589e\u52a0\u98ce\u9669\u8fd9\u4e2a\u96be\u9898\u3002"),(0,a.yg)("p",null,"XOR=\u5f02\u6216"),(0,a.yg)("p",null,"DES\u300b\u4e09\u91cd DES"),(0,a.yg)("p",null,"AES \u6240\u4f7f\u7528\u7684\u5bc6\u7801\u7b97\u6cd5\u662f\u6bd4\u5229\u65f6\u5bc6\u7801\u5b66\u5bb6\u5f00\u53d1\u7684 R'ijndael\u3002"),(0,a.yg)("p",null,"\u4e00\u822c\u6765\u8bf4\uff0c\u6211\u4eec\u4e0d\u5e94\u8be5\u4f7f\u7528\u4efb\u4f55\u81ea\u5236\u7684\u5bc6\u7801\u7b97\u6cd5\uff0c\u800c\u662f\u5e94\u8be5\u4f7f\u7528 AES\u3002\u56e0\u4e3a AES \u5728\u5176\u9009\u5b9a\u8fc7\u7a0b\u4e2d\uff0c\u7ecf\u8fc7\u4e86\u5168\u4e16\u754c\u5bc6\u7801\u5b66\u5bb6\u7684\u6240\u8fdb\u884c\u7684\u9ad8\u54c1\u8d28\u7684\u9a8c\u8bc1\u5de5\uff0c\u800c\u5bf9\u4e8e\u81ea\u5236\u7684\u5bc6\u7801\u7b97\u6cd5\u5219\u5f88\u96be\u8fdb\u884c\u8fd9\u6837\u7684\u9a8c\u8bc1\u3002"),(0,a.yg)("p",null,"\u5bc6\u7801\u7b97\u6cd5\u53ef\u4ee5\u5206\u4e3a\u5206\u7ec4\u5bc6\u7801\u548c\u6d41\u5bc6\u7801\u4e24\u79cd\uff1b\u5206\u7ec4\u5bc6\u7801\u662f\u6bcf\u6b21\u53ea\u80fd\u5904\u7406\u7279\u5b9a\u957f\u5ea6\u7684\u4e00\u5757\u6570\u636e\u7684\u4e00\u7c7b\u5bc6\u7801\u7b97\u6cd5\uff0c\u8fd9\u91cc\u7684\u4e00\u5757\u5c31\u6210\u4e3a\u5206\u7ec4\u3002\u523a\u732c\u4e00\u4e2a\u5206\u7ec4\u7684\u6bd4\u7279\u6570\u5c31\u79f0\u4e3a\u5206\u7ec4\u957f\u5ea6\u3002\u4f8b\u5982 DES \u548c\u4e09\u91cd DES \u7684\u5206\u7ec4\u957f\u5ea6\u90fd\u662f 64 \u6bd4\u7279\u3002\u8fd9\u4e9b\u5bc6\u7801\u7b97\u6cd5\u4e00\u6b21\u53ea\u80fd\u52a0\u5bc6 64 \u6bd4\u7279\u7684\u660e\u6587\uff0c\u5e76\u751f\u6210 64 \u6bd4\u7279\u7684\u5bc6\u6587\u3002AES \u7684\u5206\u7ec4\u957f\u5ea6\u53ef\u4ee5\u4ece 128 \u6bd4\u7279\u3001192 \u6bd4\u7279\u548c 256 \u6bd4\u7279\u4e2d\u8fdb\u884c\u9009\u62e9\u3002"),(0,a.yg)("p",null,"\u6d41\u5bc6\u7801\u662f\u5bf9\u6570\u636e\u6d41\u8fdb\u884c\u8fde\u7eed\u5904\u7406\u7684\u4e00\u7c7b\u5bc6\u7801\u7b97\u6cd5\u3002\u6d41\u5bc6\u7801\u4e2d\u4e00\u822c\u4ee5 1 \u6bd4\u7279\u30018 \u6bd4\u7279\u6216 32 \u6bd4\u7279\u4e3a\u5355\u4f4d\u8fdb\u884c\u52a0\u5bc6\u548c\u89e3\u5bc6\u3002"),(0,a.yg)("p",null,"\u5728\u5bf9\u79f0\u5bc6\u7801\u4e2d\u6240\u4ecb\u7ecd\u7684\u7b97\u6cd5\u4e2d\uff0c\u53ea\u6709\u4e00\u6b21\u6027\u5bc6\u7801\u672c\u5c5e\u4e8e\u6d41\u5bc6\u7801\uff0c\u800c DES\u3001\u4e09\u91cd DES\u3001AES \u7b49\u5927\u591a\u6570\u5bf9\u79f0\u5bc6\u7801\u7b97\u6cd5\u90fd\u5c5e\u4e8e\u5206\u7ec4\u5bc6\u7801\u3002"),(0,a.yg)("p",null,"\u5206\u7ec4\u5bc6\u7801\u7b97\u6cd5\u53ea\u80fd\u52a0\u5bc6\u56fa\u5b9a\u957f\u5ea6\u7684\u5206\u7ec4\uff0c\u4f46\u662f\u6211\u4eec\u9700\u8981\u52a0\u5bc6\u7684\u5bc6\u6587\u957f\u5ea6\u53ef\u80fd\u4f1a\u8d85\u8fc7\u5206\u7ec4\u5bc6\u7801\u7684\u5206\u7ec4\u957f\u5ea6\uff0c\u8fd9\u65f6\u5c31\u9700\u8981\u5bf9\u5206\u7ec4\u5bc6\u7801\u7b97\u6cd5\u8fdb\u884c\u8fed\u4ee3\uff0c\u4ee5\u4fbf\u8bb2\u4e00\u6bb5\u5f88\u957f\u7684\u660e\u6587\u5168\u90e8\u52a0\u5bc6\u3002\u800c\u8fed\u4ee3\u7684\u65b9\u6cd5\u5c31\u6210\u4e3a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\u3002\u6a21\u5f0f\u6709\u5f88\u591a\u79cd\u7c7b\uff0c\u4e3b\u8981\u6709\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"ECB \u6a21\u5f0f\uff0c\u7535\u5b50\u5bc6\u7801\u672c\u6a21\u5f0f\uff1b\u5c06\u660e\u6587\u5206\u7ec4\u52a0\u5bc6\u4e4b\u540e\u7684\u7ed3\u679c\u76f4\u63a5\u6210\u4e3a\u5bc6\u6587\u5206\u7ec4\uff1b\u6a21\u5f0f\u7b80\u5355\uff0c\u901a\u5e38\u4e0d\u4f1a\u88ab\u4f7f\u7528\uff1b"),(0,a.yg)("li",{parentName:"ol"},"CBC \u6a21\u5f0f\uff0c\u5bc6\u7801\u5206\u7ec4\u94fe\u63a5\u6a21\u5f0f\uff1b\u786e\u4fdd\u4e92\u8054\u7f51\u5b89\u5168\u7684\u901a\u4fe1\u534f\u8bae\u4e4b\u4e00 IPsec\uff0c\u5c31\u662f\u4f7f\u7528 CBC \u6a21\u5f0f\u6765\u786e\u4fdd\u901a\u4fe1\u673a\u5bc6\u6027\u7684\uff0c\u5982\u4f7f\u7528 CBC \u6a21\u5f0f\u4e09\u91cd DES \u7684 3DES-CBC \u4ee5\u53ca CBC \u6a21\u5f0f AES \u7684 AES-CBC \u7b49\u3002"),(0,a.yg)("li",{parentName:"ol"},"CFB \u6a21\u5f0f\uff0c\u5bc6\u6587\u53cd\u9988\u6a21\u5f0f\uff1b"),(0,a.yg)("li",{parentName:"ol"},"OFB \u6a21\u5f0f\uff0c\u8f93\u51fa\u53cd\u9988\u6a21\u5f0f\uff1b"),(0,a.yg)("li",{parentName:"ol"},"CTR \u6a21\u5f0f\uff0c\u8ba1\u6570\u5668\u6a21\u5f0f\uff1b")),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(66954).A,width:"750",height:"831"})),(0,a.yg)("p",null,"\u5728\u5bf9\u79f0\u5bc6\u7801\u4e2d\uff0c\u7531\u4e8e\u52a0\u5bc6\u548c\u89e3\u5bc6\u7684\u79d8\u94a5\u662f\u76f8\u540c\u7684\uff0c\u56e0\u6b64\u5fc5\u987b\u5411\u63a5\u6536\u8005\u4f69\u677e\u79d8\u94a5\u3002\u7528\u4e8e\u89e3\u5bc6\u7684\u79d8\u94a5\u5fc5\u987b\u88ab\u914d\u9001\u7ed9\u63a5\u6536\u8005\uff0c\u8fd9\u4e00\u95ee\u9898\u88ab\u79f0\u4e3a\u79d8\u94a5\u914d\u9001\u95ee\u9898\u3002\u5982\u679c\u4f7f\u7528\u516c\u94a5\u5bc6\u7801\uff0c\u5219\u65e0\u9700\u5411\u63a5\u6536\u8005\u4f69\u677e\u7528\u4e8e\u89e3\u5bc6\u7684\u79d8\u94a5\uff0c\u8fd9\u6837\u5c31\u89e3\u51b3\u4e86\u79d8\u94a5\u914d\u9001\u95ee\u9898\u3002\u53ef\u4ee5\u8bf4\u516c\u94a5\u5bc6\u7801\u662f\u5bc6\u7801\u5b66\u5386\u53f2\u4e0a\u6700\u4f1f\u5927\u7684\u53d1\u660e\u3002"),(0,a.yg)("h3",{id:"\u516c\u94a5\u5bc6\u7801\u4e2d"},"\u516c\u94a5\u5bc6\u7801\u4e2d"),(0,a.yg)("p",null,"\u52a0\u5bc6\u79d8\u94a5\u4e00\u822c\u662f\u516c\u5f00\u7684\u3002\u6b63\u5f0f\u7531\u4e8e\u52a0\u5bc6\u79d8\u94a5\u662f\u53ef\u4ee5\u4efb\u610f\u516c\u5f00\uff0c\u56e0\u6b64\u8be5\u79d8\u94a5\u88ab\u79f0\u4e3a\u516c\u94a5\u3002\u76f8\u5bf9\u7684\uff0c\u89e3\u5bc6\u79d8\u94a5\u662f\u7edd\u5bf9\u4e0d\u80fd\u516c\u5f00\u7684\uff0c\u8fd9\u4e2a\u79d8\u94a5\u53ea\u80fd\u7531\u4f60\u81ea\u5df1\u6765\u4f7f\u7528\uff0c\u56e0\u6b64\u6210\u4e3a\u79c1\u94a5\u3002\u79d8\u94a5\u5bf9\u4e2d\u7684\u4e24\u4e2a\u79d8\u94a5\u4e4b\u95f4\u5177\u6709\u975e\u5e38\u5bc6\u5207\u7684\u5173\u7cfb-\u6570\u5b66\u4e0a\u7684\u5173\u7cfb-\u56e0\u6b64\u516c\u94a5\u548c\u79c1\u94a5\u662f\u4e0d\u80fd\u5206\u522b\u72ec\u7acb\u751f\u6210\u7684\u3002"),(0,a.yg)("p",null,"RSA \u53ef\u4ee5\u8bf4\u662f\u73b0\u5728\u516c\u94a5\u5bc6\u7801\u7684\u4e8b\u5b9e\u6807\u51c6\u3002"),(0,a.yg)("p",null,"\u516c\u94a5\u5bc6\u7801\u65e0\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u516c\u94a5\u662f\u5426\u5408\u6cd5\u7684\u95ee\u9898\uff0c\u4e5f\u5c31\u662f\u516c\u94a5\u8ba4\u8bc1\u95ee\u9898\uff0c\u56e0\u4e3a\u5b58\u5728\u4e2d\u95f4\u4eba\u66ff\u6362\u516c\u94a5\u7684\u95ee\u9898\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4ed6\u7684\u5904\u7406\u901f\u5ea6\u53ea\u6709\u5bf9\u79f0\u5bc6\u7801\u7684\u51e0\u767e\u5206\u4e4b\u4e00\uff1b")),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(10830).A,width:"1968",height:"520"})),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(9313).A,width:"1962",height:"582"})),(0,a.yg)("p",null,"\u5bf9\u79f0\u5bc6\u7801\u901a\u8fc7\u5c06\u660e\u6587\u8f6c\u6362\u6210\u590d\u6742\u7684\u5f62\u5f0f\u6765\u4fdd\u8bc1\u5176\u673a\u5bc6\u6027\uff0c\u76f8\u5bf9\u7684\uff0c\u516c\u94a5\u5bc6\u7801\u5219\u662f\u57fa\u4e8e\u6570\u5b66\u4e0a\u7684\u56f0\u96be\u7684\u95ee\u9898\u6765\u4fdd\u8bc1\u673a\u5bc6\u6027\u7684\u3002\u4f8b\u5982 RSA \u5c31\u5229\u7528\u4e86\u5927\u6574\u6570\u7684\u8d28\u56e0\u6570\u5206\u89e3\u95ee\u9898\u7684\u56f0\u96be\u5ea6\u3002\u56e0\u6b64\uff0c\u5bf9\u79f0\u5bc6\u7801\u548c\u516c\u94a5\u5bc6\u7801\u6e90\u4e8e\u4e24\u79cd\u6839\u672c\u4e0d\u540c\u7684\u601d\u8def\u3002"),(0,a.yg)("p",null,"\u6df7\u5408\u5bc6\u7801\u7cfb\u7edf\uff0c\u7528\u5bf9\u79f0\u5bc6\u7801\u63d0\u9ad8\u901f\u5ea6\uff0c\u7528\u516c\u94a5\u5bc6\u7801\u6765\u5305\u542b\u4f1a\u8bdd\u79d8\u94a5\u3002\u4f1a\u8bdd\u79d8\u94a5\u662f\u5bf9\u79f0\u5bc6\u7801\u7684\u79d8\u94a5\uff0c\u540c\u65f6\u4e5f\u662f\u516c\u94a5\u5bc6\u7801\u7684\u660e\u6587\u3002"),(0,a.yg)("h3",{id:"\u5355\u5411\u6563\u5217\u51fd\u6570"},"\u5355\u5411\u6563\u5217\u51fd\u6570"),(0,a.yg)("p",null,"\u5c31\u662f\u4e00\u79cd\u91c7\u96c6\u6587\u4ef6\u6307\u7eb9\u7684\u6280\u672f\uff0c\u5355\u5411\u6563\u5217\u51fd\u6570\u6709\u4e00\u4e2a\u8f93\u5165\u548c\u4e00\u4e2a\u8f93\u51fa\uff0c\u5176\u4e2d\u8f93\u5165\u6210\u4e3a\u6d88\u606f\uff0c\u8f93\u51fa\u6210\u4e3a\u6563\u5217\u503c\u3002\u5355\u5411\u6563\u5217\u51fd\u6570\u53ef\u4ee5\u6839\u636e\u6d88\u606f\u7684\u5185\u5bb9\u8ba1\u7b97\u51fa\u6563\u5217\u503c\uff0c\u800c\u6563\u5217\u503c\u5c31\u53ef\u4ee5\u88ab\u7528\u6765\u68c0\u67e5\u6d88\u606f\u7684\u5b8c\u6574\u6027\u3002"),(0,a.yg)("p",null,"\u6563\u5217\u503c\u7684\u957f\u5ea6\u548c\u6d88\u606f\u7684\u957f\u5ea6\u65e0\u5173\u3002\u65e0\u8bba\u6d88\u606f\u662f 1 \u6bd4\u7279\u8fd8\u662f 100MB\uff0c\u751a\u81f3\u662f 100GB\uff0c\u5355\u5411\u6563\u5217\u51fd\u6570\u6597\u6e56\u81ea\u5df1\u7b97\u51fa\u56fa\u5b9a\u957f\u5ea6\u7684\u6563\u5217\u503c\u3002\u4ee5 SHA-1 \u5355\u5411\u6563\u5217\u51fd\u6570\u4e3a\u4f8b\uff0c\u4ed6\u6240\u8ba1\u7b97\u51fa\u7684\u6563\u5217\u503c\u7684\u957f\u5ea6\u6c38\u8fdc\u662f 160 \u6bd4\u7279\uff0820 \u5b57\u8282\uff09\u3002"),(0,a.yg)("p",null,"\u5355\u5411\u6563\u5217\u51fd\u6570\u4e5f\u79f0\u4e3a\u6d88\u606f\u6458\u8981\u51fd\u6570\uff0c\u54c8\u5e0c\u51fd\u6570\u6216\u8005\u6742\u51d1\u51fd\u6570\u3002\u8f93\u5165\u5355\u5411\u6563\u5217\u51fd\u6570\u7684\u6d88\u606f\u4e5f\u79f0\u4e3a\u539f\u50cf\u3002\u5355\u5411\u6563\u5217\u51fd\u6570\u8f93\u51fa\u7684\u6563\u5217\u503c\u4e5f\u79f0\u4e3a\u6d88\u606f\u6458\u8981\u6216\u8005\u6307\u7eb9\u3002\u5b8c\u6574\u6027\u4e5f\u79f0\u4e3a\u4e00\u81f4\u6027\u3002"),(0,a.yg)("p",null,"\u5355\u5411\u6563\u5217\u51fd\u6570\u7684\u5b9e\u9645\u5e94\u7528\uff1a\u57fa\u4e8e\u53e3\u4ee4\u7684\u52a0\u5bc6\u3001\u6d88\u606f\u8ba4\u8bc1\u7801\u3001\u6570\u5b57\u7b7e\u540d\u3001\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\u3001\u4e00\u6b21\u6027\u53e3\u4ee4\u3002"),(0,a.yg)("p",null,"\u51e0\u79cd\u5355\u5411\u6563\u5217\u51fd\u6570\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"MD4\uff0c\u6d88\u606f\u6458\u8981 Message Digest 4\uff0c\u5df2\u7ecf\u627e\u5230\u6563\u5217\u78b0\u649e\u7684\u65b9\u6cd5\uff0c\u5df2\u4e0d\u5b89\u5168\uff1b"),(0,a.yg)("li",{parentName:"ol"},"MD5\uff0c\u5f3a\u6297\u78b0\u649e\u6027\u5df2\u88ab\u653b\u7834\uff0c\u5df2\u4e0d\u5b89\u5168\u3002"),(0,a.yg)("li",{parentName:"ol"},"SHA-1\uff0c\u5df2\u88ab\u653b\u7834\uff1b"),(0,a.yg)("li",{parentName:"ol"},"SHA-2\uff0c\u5305\u62ec SHA-256\u3001SHA-384\u3001SHA-512\uff0c\u5c1a\u672a\u88ab\u653b\u7834\uff1b"),(0,a.yg)("li",{parentName:"ol"},"RIPEMD\uff0c\u5df2\u88ab\u653b\u7834\uff1b"),(0,a.yg)("li",{parentName:"ol"},"RIPEMD-160\uff0c\u5c1a\u672a\u88ab\u653b\u7834\uff1b")),(0,a.yg)("p",null,"\u5355\u5411\u6563\u5217\u51fd\u6570\u65e0\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\uff1a\u5355\u5411\u6563\u5217\u51fd\u6570\u80fd\u591f\u8fa8\u522b\u51fa\u201c\u7be1\u6539\u201d\uff0c\u4f46\u65e0\u6cd5\u8fa8\u522b\u51fa\u201c\u4f2a\u88c5\u201d\u3002"),(0,a.yg)("h3",{id:"\u6d88\u606f\u8ba4\u8bc1\u7801"},"\u6d88\u606f\u8ba4\u8bc1\u7801"),(0,a.yg)("p",null,"\u662f\u4e00\u79cd\u786e\u8ba4\u5b8c\u6574\u6027\u5e76\u8fdb\u884c\u8ba4\u8bc1\u7684\u6280\u672f\uff0c\u53d6\u4e09\u4e2a\u5355\u8bcd\u7684\u9996\u5b57\u6bcd\uff0c\u7b80\u79f0 MAC\u3002\u6d88\u606f\u8ba4\u8bc1\u7801\u7684\u8f93\u5165\u5305\u62ec\u4efb\u610f\u957f\u5ea6\u7684\u6d88\u606f\u548c\u4e00\u4e2a\u53d1\u9001\u8005\u4e0e\u63a5\u6536\u8005\u4e4b\u95f4\u5171\u4eab\u7684\u79d8\u94a5\uff0c\u4ed6\u53ef\u4ee5\u8f93\u51fa\u56fa\u5b9a\u957f\u5ea6\u7684\u6570\u636e\uff0c\u8fd9\u4e2a\u6570\u636e\u79f0\u4e3a MAC \u503c\u3002\u6d88\u606f\u8ba4\u8bc1\u7801\u6709\u5f88\u591a\u5b9e\u73b0\u65b9\u6cd5\uff0c\u5927\u5bb6\u53ef\u4ee5\u6682\u4e14\u8fd9\u6837\u7406\u89e3\uff1a\u6d88\u606f\u8ba4\u8bc1\u7801\u662f\u4e00\u79cd\u4e0e\u79d8\u94a5\u76f8\u5173\u8054\u7684\u5355\u5411\u6563\u5217\u51fd\u6570\u3002"),(0,a.yg)("p",null,"\u51e0\u4e2a\u6d88\u606f\u8ba4\u8bc1\u7801\u5728\u73b0\u5b9e\u4e16\u754c\u4e2d\u5e94\u7528\u7684\u5b9e\u4f8b\uff0c"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"SWIFT\uff0c\u73af\u7403\u94f6\u884c\u91d1\u878d\u7535\u4fe1\u534f\u4f1a\uff0c\u662f\u4e00\u4e2a\u4e3a\u56fd\u9645\u94f6\u884c\u95f4\u7684\u4ea4\u6613\u4fdd\u9a7e\u62a4\u822a\u7684\u7ec4\u7ec7\uff1b\u7528\u7684\u5c31\u662f\u6d88\u606f\u8ba4\u8bc1\u7801\uff0c\u6d88\u606f\u8ba4\u8bc1\u7801\u7684\u79d8\u94a5\u662f\u901a\u8fc7\u4eba\u6765\u8fdb\u884c\u914d\u9001\u7684\u3002"),(0,a.yg)("li",{parentName:"ol"},"IPSec"),(0,a.yg)("li",{parentName:"ol"},"SSL/TLS")),(0,a.yg)("p",null,"\u6d88\u606f\u8ba4\u8bc1\u7801\u6709\u5f88\u591a\u5b9e\u73b0\u65b9\u5f0f\uff0c"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u4f7f\u7528 SHA-1\u3001MD5 \u4e4b\u7c7b\u7684\u5355\u5411\u6563\u5217\u51fd\u6570\u53ef\u4ee5\u5b9e\u73b0\u6d88\u606f\u8ba4\u8bc1\u7801\uff0c\u6210\u4e3a HMAC\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4f7f\u7528\u5206\u7ec4\u5bc6\u7801\u5b9e\u73b0\uff0c\u4f8b\u5982 DES\u3001AES"),(0,a.yg)("li",{parentName:"ol"},"\u4f7f\u7528\u6d41\u5bc6\u7801\u548c\u516c\u94a5\u5bc6\u7801\u7b49\uff1b")),(0,a.yg)("p",null,"\u6d88\u606f\u8ba4\u8bc1\u7801\u65e0\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u5305\u62ec\u201c\u5bf9\u7b2c\u4e09\u65b9\u8bc1\u660e\u201d\u548c\u201c\u9632\u6b62\u5426\u8ba4\u201d\u3002"),(0,a.yg)("h3",{id:"\u6570\u5b57\u7b7e\u540d-\u6d88\u606f\u5230\u5e95\u662f\u8c01\u5199\u7684"},"\u6570\u5b57\u7b7e\u540d-\u6d88\u606f\u5230\u5e95\u662f\u8c01\u5199\u7684\u3002"),(0,a.yg)("p",null,"\u6570\u5b57\u7b7e\u540d\u662f\u4e00\u79cd\u5c06\u76f8\u5f53\u4e8e\u73b0\u5b9e\u4e16\u754c\u4e2d\u7684\u7b7e\u7ae0\u3001\u7b7e\u5b57\u7684\u529f\u80fd\u5728\u8ba1\u7b97\u673a\u4e16\u754c\u4e2d\u8fdb\u884c\u5b9e\u73b0\u7684\u6280\u672f\u3002\u4f7f\u7528\u6570\u5b57\u7b7e\u540d\u53ef\u4ee5\u8bc6\u522b\u7be1\u6539\u548c\u4f2a\u88c5\uff0c\u8fd8\u53ef\u9632\u6b62\u5426\u8ba4\u3002"),(0,a.yg)("p",null,"\u5b9e\u9645\u4e0a\uff0c\u6570\u5b57\u7b7e\u540d\u548c\u516c\u94a5\u5bc6\u7801\u6709\u7740\u975e\u5e38\u7d27\u5bc6\u7684\u8054\u7cfb\uff0c\u7b80\u800c\u8a00\u4e4b\uff0c\u6570\u5b57\u7b7e\u540d\u5c31\u662f\u901a\u8fc7\u8bb2\u516c\u94a5\u5bc6\u7801\u201c\u53cd\u8fc7\u6765\u7528\u201d\u800c\u5b9e\u73b0\u7684\u3002"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(88184).A,width:"1946",height:"486"})),(0,a.yg)("p",null,"\u6570\u5b57\u7b7e\u540d\u7684\u4f5c\u7528\u672c\u6765\u5c31\u4e0d\u662f\u4fdd\u8bc1\u673a\u5bc6\u6027\u7684\uff0c\u800c\u662f\u88ab\u7528\u4e8e\u4ee3\u8868\u4e00\u79cd\u53ea\u6709\u6301\u6709\u8be5\u79d8\u94a5\u7684\u4eba\u624d\u80fd\u591f\u751f\u6210\u4fe1\u606f\u3002"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(83795).A,width:"750",height:"383"})),(0,a.yg)("p",null,"\u5bf9\u79f0\u5bc6\u7801\u7684\u79d8\u94a5\u662f\u673a\u5bc6\u6027\u7684\u7cbe\u534e\uff0c\u5355\u5411\u6563\u5217\u51fd\u6570\u7684\u6563\u5217\u503c\u662f\u5b8c\u6574\u6027\u7684\u7cbe\u534e\u3002"),(0,a.yg)("h3",{id:"\u8bc1\u4e66-\u4e3a\u516c\u94a5\u52a0\u4e0a\u6570\u5b57\u7b7e\u540d"},"\u8bc1\u4e66-\u4e3a\u516c\u94a5\u52a0\u4e0a\u6570\u5b57\u7b7e\u540d"),(0,a.yg)("p",null,"\u8bc1\u4e66\u662f\u7531\u8ba4\u8bc1\u673a\u6784\u9881\u53d1\u7684\uff0c\u4f7f\u7528\u8005\u9700\u8981\u5bf9\u8bc1\u4e66\u8fdb\u884c\u9a8c\u8bc1\uff0c\u56e0\u6b64\u5982\u679c\u8bc1\u4e66\u7684\u683c\u5f0f\u5343\u5947\u767e\u602a\u90a3\u5c31\u4e0d\u65b9\u4fbf\u4e86\uff0c\u4e8e\u662f\uff0c\u4eba\u4eec\u5236\u5b9a\u4e86\u8bc1\u4e66\u7684\u6807\u51c6\u89c4\u8303\uff0c\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u662f X.509 \u89c4\u8303\u3002"),(0,a.yg)("p",null,"\u516c\u94a5\u57fa\u7840\u8bbe\u65bd PKI \u662f\u4e3a\u4e86\u80fd\u591f\u6709\u6548\u5730\u8fd0\u7528\u516c\u94a5\u800c\u5236\u5b9a\u7684\u4e00\u4e9b\u5217\u89c4\u8303\u548c\u89c4\u683c\u7684\u603b\u79f0\u3002\u516c\u94a5\u57fa\u7840\u8bbe\u65bd\u4e00\u822c\u6839\u636e\u5176\u5e94\u7528\u7f29\u5199\u800c\u7b80\u79f0\u4e3a PKI\u3002"),(0,a.yg)("p",null,"\u8bf7\u8bb0\u4f4f\uff0c\u4f7f\u7528\u516c\u5f00\u7684\u6280\u672f\u548c\u628a\u81ea\u5df1\u7684\u6280\u672f\u516c\u5f00\u662f\u4e24\u7801\u4e8b\u3002\u91c7\u7528\u5df2\u7ecf\u516c\u5f00\u7684\uff0c\u5e76\u79ef\u7d2f\u4e86\u5927\u91cf\u6210\u679c\u7684\u6280\u672f\u662f\u6b63\u786e\u7684\u51b3\u5b9a\uff0c\u7136\u800c\u5e76\u4e0d\u9700\u8981\u5c06\u81ea\u5df1\u516c\u53f8\u6240\u91c7\u7528\u7684\u6280\u672f\u4e0a\u7684\u7ec6\u8282\u516c\u5f00\u51fa\u6765\u3002\u6211\u4eec\u62ff\u5458\u5de5\u8bbf\u95ee\u516c\u53f8\u5185\u90e8\u7f51\u7edc\u7684\u65b9\u6cd5\u4e3a\u4f8b\u3002\u9a8c\u8bc1\u5458\u5de5\u7684\u5408\u6cd5\u8eab\u4efd\u53ef\u4ee5\u91c7\u7528\u516c\u5f00\u7684\uff0c\u79ef\u7d2f\u4e86\u5927\u91cf\u6210\u679c\u7684\u6280\u672f\uff0c\u4f46\u662f\u6211\u4eec\u5e76\u4e0d\u9700\u8981\u5c06\u8fd9\u4e9b\u7ec6\u8282\u516c\u5f00\u51fa\u6765\uff0c\u800c\u662f\u53ea\u8981\u544a\u8bc9\u76f8\u5173\u7684\u5458\u5de5\u5c31\u53ef\u4ee5\u4e86\u3002\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u5c06\u81ea\u5df1\u7684\u98ce\u9669\u63a7\u5236\u5230\u6700\u5c0f\uff0c\u4e07\u4e00\u6709\u4eba\u6076\u610f\u8bb2\u6280\u672f\u7684\u8be6\u7ec6\u4fe1\u606f\u516c\u5f00\u51fa\u6765\uff0c\u4e5f\u4e0d\u4f1a\u4ea7\u751f\u4e25\u91cd\u7684\u95ee\u9898\uff0c\u56e0\u4e3a\u6211\u4eec\u6240\u4f7f\u7528\u7684\u6280\u672f\u539f\u672c\u5c31\u662f\u516c\u5f00\u7684\u3002\u53cd\u8fc7\u6765\u8bf4\uff0c\u5982\u679c\u6211\u4eec\u4f7f\u7528\u7684\u6280\u672f\u662f\u4f9d\u9760\u5bf9\u7ec6\u8282\u7684\u4fdd\u5bc6\u6765\u4fdd\u8bc1\u5b89\u5168\u7684\uff0c\u90a3\u4e48\u4e00\u65e6\u6709\u4eba\u6076\u610f\u6cc4\u6f0f\u6280\u672f\u7ec6\u8282\uff0c\u5c31\u4f1a\u9020\u6210\u4e25\u91cd\u7684\u95ee\u9898\u3002"),(0,a.yg)("p",null,"\u6709\u9650\u7fa4\u7684\u79bb\u6563\u5bf9\u6570\u95ee\u9898\u7684\u590d\u6742\u5ea6\u6b63\u5f0f\u652f\u6491 Diffie-Hellman \u79d8\u94a5\u4ea4\u6362\u7b97\u6cd5\u7684\u57fa\u7840\u3002"),(0,a.yg)("h3",{id:"\u968f\u673a\u6570-\u4e0d\u53ef\u9884\u6d4b\u6027\u7684\u6e90\u6cc9"},"\u968f\u673a\u6570-\u4e0d\u53ef\u9884\u6d4b\u6027\u7684\u6e90\u6cc9"),(0,a.yg)("p",null,"\u6211\u4eec\u5c06\u968f\u673a\u6570\u7684\u6027\u8d28\u5206\u4e3a\u4ee5\u4e0b\u4e09\u7c7b\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u968f\u673a\u6027\uff0c\u4e0d\u5b58\u5728\u7edf\u8ba1\u5b66\u504f\u5dee\uff0c\u662f\u5b8c\u5168\u6742\u4e71\u7684\u6570\u5217\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4e0d\u53ef\u9884\u6d4b\u6027\uff0c\u4e0d\u80fd\u4ece\u8fc7\u53bb\u7684\u6570\u5217\u63a8\u6d4b\u51fa\u4e0b\u4e00\u4e2a\u51fa\u73b0\u7684\u6570\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u4e0d\u53ef\u91cd\u73b0\u6027\uff0c\u9664\u975e\u5c06\u6570\u5217\u672c\u8eab\u4fdd\u5b58\u4e0b\u6765\uff0c\u5426\u5219\u4e0d\u80fd\u91cd\u73b0\u76f8\u540c\u7684\u6570\u5217\uff1b")),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(51882).A,width:"750",height:"474"})),(0,a.yg)("p",null,"\u4ec5\u9760\u8f6f\u4ef6\u662f\u65e0\u6cd5\u751f\u6210\u51fa\u5177\u5907\u4e0d\u53ef\u91cd\u73b0\u6027\u7684\u968f\u673a\u6570\u5217\u7684\u3002\u8f6f\u4ef6\u53ea\u80fd\u751f\u6210\u4f2a\u968f\u673a\u6570\u5217\uff0c\u8fd9\u662f\u56e0\u4e3a\u8fd0\u884c\u8f6f\u4ef6\u7684\u8ba1\u7b97\u673a\u672c\u8eab\u5177\u5907\u4f18\u5148\u7684\u5185\u90e8\u72b6\u6001\u3002\u800c\u5728\u5185\u90e8\u72b6\u6001\u76f8\u540c\u7684\u6761\u4ef6\u4e0b\uff0c\u8f6f\u4ef6\u5fc5\u7136\u53ea\u80fd\u751f\u6210\u76f8\u540c\u7684\u6570\uff0c\u56e0\u4e3a\u8f6f\u4ef6\u6240\u751f\u6210\u7684\u6570\u5217\u5728\u67d0\u4e2a\u65f6\u523b\u4e00\u5b9a\u4f1a\u51fa\u73b0\u91cd\u590d\u3002\u9996\u6b21\u51fa\u73b0\u91cd\u590d\u4e4b\u524d\u7684\u6570\u5217\u957f\u5ea6\u79f0\u4e3a\u5468\u671f\uff0c\u5bf9\u4e8e\u8f6f\u4ef6\u6240\u751f\u6210\u7684\u6570\u5217\uff0c\u5176\u5468\u671f\u5fc5\u5b9a\u662f\u6709\u9650\u7684\u3002\u5f53\u7136\uff0c\u8fd9\u4e2a\u5468\u671f\u53ef\u80fd\u4f1a\u5f88\u957f\uff0c\u4f46\u603b\u5f52\u662f\u6709\u9650\u7684\u3002\u51e1\u662f\u5177\u6709\u5468\u671f\u7684\u6570\u5217\uff0c\u90fd\u4e0d\u5177\u5907\u4e0d\u53ef\u91cd\u73b0\u6027\u3002"),(0,a.yg)("p",null,"\u968f\u673a\u6570\u53ef\u4ee5\u901a\u8fc7\u786c\u4ef6\u6765\u751f\u6210\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u8f6f\u4ef6\u6765\u751f\u6210\u3002\n\u901a\u8fc7\u786c\u4ef6\u751f\u6210\u7684\u968f\u673a\u6570\u5217\uff0c\u662f\u6839\u636e\u4f20\u611f\u5668\u6536\u96c6\u7684\u70ed\u91cf\u3001\u58f0\u97f3\u7684\u53d8\u5316\u7b49\u4e8b\u5b9e\u4e0a\u65e0\u6cd5\u9884\u6d4b\u548c\u91cd\u73b0\u7684\u81ea\u7136\u73b0\u8c61\u4fe1\u606f\u6765\u751f\u6210\u7684\u3002\u50cf\u8fd9\u6837\u7684\u786c\u4ef6\u8bbe\u5907\u5c31\u6210\u4e3a\u968f\u673a\u6570\u751f\u6210\u5668\u3002\n\u800c\u53ef\u4ee5\u751f\u6210\u968f\u673a\u6570\u7684\u8f6f\u4ef6\u5219\u79f0\u4e3a\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\u3002\u56e0\u4e3a\u4ec5\u9760\u8f6f\u4ef6\u65e0\u6cd5\u751f\u6210\u771f\u968f\u673a\u6570\uff0c\u56e0\u6b64\u8981\u52a0\u4e0a\u4e00\u4e2a\u4f2a\u5b57\u3002"),(0,a.yg)("p",null,"\u4e00\u4e9b\u5177\u4f53\u7684\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\uff1a"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u4e71\u6765\u7684\u65b9\u6cd5\uff0c\u4e0d\u884c\uff0c\u4e0d\u5177\u5907\u4e0d\u53ef\u9884\u6d4b\u6027\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u7ebf\u6027\u540c\u4f59\u6cd5\uff0c\u662f\u4e00\u79cd\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\u7b97\u6cd5\uff0c\u5f88\u591a\u9884\u7814\u7684\u968f\u673a\u6570\u51fd\u6570\u90fd\u662f\u7528\u7684\u4ed6\uff0c\u4f8b\u5982 js\u3001java\uff0c\u7136\u800c\u4ed6\u4e0d\u80fd\u7528\u4e8e\u5bc6\u7801\u6280\u672f\u3002\u4e0d\u5177\u5907\u4e0d\u53ef\u9884\u6d4b\u6027\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5355\u5411\u6563\u5217\u51fd\u6570\u6cd5\uff0c\u5177\u5907\u4e0d\u53ef\u9884\u6d4b\u6027\uff1b"),(0,a.yg)("li",{parentName:"ol"},"\u5bc6\u7801\u6cd5\uff0c\u5177\u5907\u4e0d\u53ef\u9884\u6d4b\u6027\uff0c\u65e2\u53ef\u4ee5\u4f7f\u7528 AES \u7b49\u5bf9\u79f0\u5bc6\u7801\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528 RSA \u7b49\u516c\u94a5\u5bc6\u7801\uff1b")),(0,a.yg)("p",null,"\u4f2a\u968f\u673a\u6570\u7684\u79cd\u5b50\u548c\u5bc6\u7801\u7684\u79d8\u94a5\u540c\u7b49\u91cd\u8981\u3002\u5982\u679c\u653b\u51fb\u8005\u77e5\u9053\u4e86\u4f2a\u968f\u673a\u6570\u7684\u79cd\u5b50\uff0c\u90a3\u4e48\u4ed6\u5c31\u80fd\u591f\u77e5\u9053\u8fd9\u4e2a\u4f2a\u968f\u673a\u6570\u751f\u6210\u5668\u6240\u751f\u6210\u7684\u5168\u90e8\u4f2a\u968f\u673a\u6570\u6570\u5217\u3002\u56e0\u4e3a\u4f2a\u968f\u673a\u6570\u7684\u79cd\u5b50\u4e0d\u53ef\u80fd\u88ab\u653b\u51fb\u8005\u77e5\u9053\u3002\u8981\u907f\u514d\u79cd\u5b50\u88ab\u653b\u51fb\u8005\u77e5\u9053\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u5177\u5907\u4e0d\u53ef\u91cd\u73b0\u6027\u7684\u771f\u968f\u673a\u6570\u4f5c\u4e3a\u79cd\u5b50\u3002"),(0,a.yg)("p",null,"PGP-\u5bc6\u7801\u6280\u672f\u7684\u5b8c\u7f8e\u7ec4\u5408"),(0,a.yg)("h3",{id:"ssltls"},"SSL/TLS"),(0,a.yg)("p",null,"\u4e3a\u4e86\u66f4\u5b89\u5168\u7684\u901a\u4fe1\uff0c\u662f\u4e16\u754c\u4e0a\u5e94\u7528\u6700\u5e7f\u6cdb\u7684\u5bc6\u7801\u901a\u4fe1\u65b9\u6cd5\u3002"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(79005).A,width:"750",height:"725"})))}c.isMDXComponent=!0},10830:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/3-1cd22ce575e5572824bd4c8ad4099377.png"},9313:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/4-b7ba21080fe3004db7495ee55cbcf227.png"},88184:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/5-180f1157571f0dc0cd0daf2b1fe5c9c4.png"},83795:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/6-04cf67c1d3f54bc82262926c7e27388d.png"},51882:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/7-88db62490bde176557c35427f36fc908.png"},79005:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/8-699fd9ac60c91e226b2029ed1e184f2c.png"},66954:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/model-694c6958c5a4ee8c940e3b4236a68518.png"},57539:(e,l,n)=>{n.d(l,{A:()=>t});const t=n.p+"assets/images/tool-d0ca9efb9b22f41c3fd8b98e6420074a.png"}}]); \ No newline at end of file diff --git a/assets/js/817aa27b.76f18eb7.js b/assets/js/817aa27b.926dafbf.js similarity index 99% rename from assets/js/817aa27b.76f18eb7.js rename to assets/js/817aa27b.926dafbf.js index aff93e22a..e328439ce 100644 --- a/assets/js/817aa27b.76f18eb7.js +++ b/assets/js/817aa27b.926dafbf.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4632],{15680:(e,n,o)=>{o.d(n,{xA:()=>p,yg:()=>s});var t=o(96540);function l(e,n,o){return n in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function a(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),o.push.apply(o,t)}return o}function r(e){for(var n=1;n=0||(l[o]=e[o]);return l}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(l[o]=e[o])}return l}var g=t.createContext({}),u=function(e){var n=t.useContext(g),o=n;return e&&(o="function"==typeof e?e(n):r(r({},n),e)),o},p=function(e){var n=u(e.components);return t.createElement(g.Provider,{value:n},e.children)},d="mdxType",c={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},y=t.forwardRef((function(e,n){var o=e.components,l=e.mdxType,a=e.originalType,g=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),d=u(o),y=l,s=d["".concat(g,".").concat(y)]||d[y]||c[y]||a;return o?t.createElement(s,r(r({ref:n},p),{},{components:o})):t.createElement(s,r({ref:n},p))}));function s(e,n){var o=arguments,l=n&&n.mdxType;if("string"==typeof e||l){var a=o.length,r=new Array(a);r[0]=y;var i={};for(var g in n)hasOwnProperty.call(n,g)&&(i[g]=n[g]);i.originalType=e,i[d]="string"==typeof e?e:l,r[1]=i;for(var u=2;u{o.r(n),o.d(n,{assets:()=>g,contentTitle:()=>r,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var t=o(58168),l=(o(96540),o(15680));const a={},r=void 0,i={unversionedId:"study/db/NoSQL/MongoDB",id:"study/db/NoSQL/MongoDB",title:"MongoDB",description:"MongoDB",source:"@site/docs/study/db/NoSQL/MongoDB.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/MongoDB",permalink:"/docs/study/db/NoSQL/MongoDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Ignite",permalink:"/docs/study/db/NoSQL/Ignite"},next:{title:"Redis",permalink:"/docs/study/db/NoSQL/Redis"}},g={},u=[{value:"MongoDB",id:"mongodb",level:3},{value:"\u6587\u6863\u6570\u636e\u5e93",id:"\u6587\u6863\u6570\u636e\u5e93",level:3},{value:"\u9002\u7528\u573a\u666f",id:"\u9002\u7528\u573a\u666f",level:3},{value:"\u4e0d\u9002\u7528\u573a\u666f",id:"\u4e0d\u9002\u7528\u573a\u666f",level:3},{value:"\u6982\u5ff5",id:"\u6982\u5ff5",level:3},{value:"db",id:"db",level:4},{value:"collection",id:"collection",level:4},{value:"document",id:"document",level:4},{value:"\u96c6\u7fa4\u6982\u5ff5",id:"\u96c6\u7fa4\u6982\u5ff5",level:3},{value:"mongostat",id:"mongostat",level:3},{value:"mongotop",id:"mongotop",level:3},{value:"\u5907\u4efd/\u6062\u590d",id:"\u5907\u4efd\u6062\u590d",level:3},{value:"\u5206\u9875\u67e5\u8be2",id:"\u5206\u9875\u67e5\u8be2",level:3},{value:"\u65b9\u6848\u4e00",id:"\u65b9\u6848\u4e00",level:4},{value:"\u65b9\u6848\u4e8c",id:"\u65b9\u6848\u4e8c",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},d="wrapper";function c(e){let{components:n,...o}=e;return(0,l.yg)(d,(0,t.A)({},p,o,{components:n,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"mongodb"},"MongoDB"),(0,l.yg)("p",null,"MongoDB\u662f\u4e00\u4e2a\u4ecb\u4e8e\u5173\u7cfb\u6570\u636e\u5e93\u548c\u975e\u5173\u7cfb\u6570\u636e\u5e93\u4e4b\u95f4\u7684\u4ea7\u54c1\uff0c\u662f\u975e\u5173\u7cfb\u6570\u636e\u5e93\u5f53\u4e2d\u529f\u80fd\u6700\u4e30\u5bcc\uff0c\u6700\u50cf\u5173\u7cfb\u6570\u636e\u5e93\u7684\u3002\u4ed6\u652f\u6301\u7684\u6570\u636e\u7ed3\u6784\u975e\u5e38\u677e\u6563\uff0c\u662f\u7c7b\u4f3cjson\u7684bson\u683c\u5f0f\uff0c\u56e0\u6b64\u53ef\u4ee5\u5b58\u50a8\u6bd4\u8f83\u590d\u6742\u7684\u6570\u636e\u7c7b\u578b\u3002Mongo\u6700\u5927\u7684\u7279\u70b9\u662f\u4ed6\u652f\u6301\u7684\u67e5\u8be2\u8bed\u8a00\u975e\u5e38\u5f3a\u5927\uff0c\u5176\u8bed\u6cd5\u6709\u70b9\u7c7b\u4f3c\u4e8e\u9762\u5411\u5bf9\u8c61\u7684\u67e5\u8be2\u8bed\u8a00\uff0c\u51e0\u4e4e\u53ef\u4ee5\u5b9e\u73b0\u7c7b\u4f3c\u5173\u7cfb\u6570\u636e\u5e93\u5355\u8868\u67e5\u8be2\u7684\u7edd\u5927\u90e8\u5206\u529f\u80fd\uff0c\u800c\u4e14\u8fd8\u652f\u6301\u5bf9\u6570\u636e\u5efa\u7acb\u7d22\u5f15\u3002"),(0,l.yg)("p",null,"Mongo\u662f\u4e00\u4e2a\u9ad8\u6027\u80fd\uff0c\u5f00\u6e90\uff0c\u65e0\u6a21\u5f0f\u7684\u6587\u6863\u578b\u6570\u636e\u5e93\uff0c\u5b83\u5728\u8bb8\u591a\u573a\u666f\u4e0b\u53ef\u7528\u4e8e\u66ff\u4ee3\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u6216\u952e/\u503c\u5b58\u50a8\u65b9\u5f0f\u3002"),(0,l.yg)("p",null,"MongoDB Version4+\u5f00\u59cb\u539f\u751f\u652f\u6301\u4e8b\u52a1\uff1b\u8c8c\u4f3c\u53ef\u4ee5\u66ff\u6362\u5173\u7cfb\u6570\u636e\u5e93\uff0c\u4f46\u662f\u8fd9\u80fd\u884c\u4e48\uff1f",(0,l.yg)("a",{parentName:"p",href:"https://www.cnblogs.com/ExMan/p/9565125.html"},"\u5343\u4e07\u522b\u7528MongoDB\uff1f\u771f\u7684\u5417\uff1f\uff01")," \xa0\u6211\u5bf9\u6b64\u6301\u4fdd\u7559\u610f\u89c1\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u4e0d\u8981\u4e3a\u4e86\u4f7f\u7528MongoDB\u800c\u4f7f\u7528MongoDB\uff0c\u4e00\u5b9a\u8981\u597d\u597d\u5206\u6790\uff0c\u4e3b\u8981\u7cbe\u529b\u5e94\u8be5\u653e\u5728\u4f7f\u7528Msql\u7b49\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e0a\uff0c\u5f53\u5173\u7cfb\u578b\u6570\u636e\u5e93\u662f\u5728\u65e0\u6cd5\u6ee1\u8db3\u6216\u8005\u5b9e\u73b0\u8f83\u590d\u6742\u65f6\uff0c\u518d\u53bb\u8003\u8651\u8fd9\u4e2a\u7ec6\u5206\u573a\u666fMongoDB\u662f\u5426\u5408\u9002\u3002")),(0,l.yg)("h3",{id:"\u6587\u6863\u6570\u636e\u5e93"},"\u6587\u6863\u6570\u636e\u5e93"),(0,l.yg)("p",null,"\u4e3a\u4e86\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93 schema \u5e26\u6765\u7684\u95ee\u9898\uff0c\u6587\u6863\u6570\u636e\u5e93\u5e94\u8fd0\u800c\u751f\u3002\u6587\u6863\u6570\u636e\u5e93\u6700\u5927\u7684\u7279\u70b9\u5c31\u662f no-schema\uff0c\u53ef\u4ee5\u5b58\u50a8\u548c\u8bfb\u53d6\u4efb\u610f\u7684\u6570\u636e\u3002\u76ee\u524d\u7edd\u5927\u90e8\u5206\u6587\u6863\u6570\u636e\u5e93\u5b58\u50a8\u7684\u6570\u636e\u683c\u5f0f\u662f JSON\uff08\u6216\u8005 BSON\uff09\uff0c\u56e0\u4e3a JSON \u6570\u636e\u662f\u81ea\u63cf\u8ff0\u7684\uff0c\u65e0\u987b\u5728\u4f7f\u7528\u524d\u5b9a\u4e49\u5b57\u6bb5\uff0c\u8bfb\u53d6\u4e00\u4e2a JSON \u4e2d\u4e0d\u5b58\u5728\u7684\u5b57\u6bb5\u4e5f\u4e0d\u4f1a\u5bfc\u81f4 SQL \u90a3\u6837\u7684\u8bed\u6cd5\u9519\u8bef\u3002"),(0,l.yg)("p",null,"\u6587\u6863\u6570\u636e\u5e93\u7684 no-schema \u7279\u6027\uff0c\u7ed9\u4e1a\u52a1\u5f00\u53d1\u5e26\u6765\u4e86\u51e0\u4e2a\u660e\u663e\u7684\u4f18\u52bf\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u65b0\u589e\u5b57\u6bb5\u7b80\u5355"),(0,l.yg)("li",{parentName:"ul"},"\u5386\u53f2\u6570\u636e\u4e0d\u4f1a\u51fa\u9519"),(0,l.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u5f88\u5bb9\u6613\u5b58\u50a8\u590d\u6742\u6570\u636e")),(0,l.yg)("p",null,"\u6587\u6863\u6570\u636e\u5e93 no-schema \u7684\u7279\u6027\u5e26\u6765\u7684\u8fd9\u4e9b\u4f18\u52bf\u4e5f\u662f\u6709\u4ee3\u4ef7\u7684\uff0c\u6700\u4e3b\u8981\u7684\u4ee3\u4ef7\u5c31\u662f\u4e0d\u652f\u6301\u4e8b\u52a1\u3002\u6587\u6863\u6570\u636e\u5e93\u53e6\u5916\u4e00\u4e2a\u7f3a\u70b9\u5c31\u662f\u65e0\u6cd5\u5b9e\u73b0\u5173\u7cfb\u6570\u636e\u5e93\u7684 join \u64cd\u4f5c\u3002"),(0,l.yg)("h3",{id:"\u9002\u7528\u573a\u666f"},"\u9002\u7528\u573a\u666f"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u7f51\u7ad9\u5b9e\u65f6\u6570\u636e\u5904\u7406\u3002\u5b83\u975e\u5e38\u9002\u5408\u5b9e\u65f6\u7684\u63d2\u5165\u3001\u66f4\u65b0\u4e0e\u67e5\u8be2\uff0c\u5e76\u5177\u5907\u7f51\u7ad9\u5b9e\u65f6\u6570\u636e\u5b58\u50a8\u6240\u9700\u7684\u590d\u5236\u53ca\u9ad8\u5ea6\u4f38\u7f29\u6027\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u7f13\u5b58\u3002\u7531\u4e8e\u6027\u80fd\u5f88\u9ad8\uff0c\u5b83\u9002\u5408\u4f5c\u4e3a\u4fe1\u606f\u57fa\u7840\u8bbe\u65bd\u7684\u7f13\u5b58\u5c42\u3002\u5728\u7cfb\u7edf\u91cd\u542f\u4e4b\u540e\uff0c\u7531\u5b83\u642d\u5efa\u7684\u6301\u4e45\u5316\u7f13\u5b58\u5c42\u53ef\u4ee5\u907f\u514d\u4e0b\u5c42\u7684\u6570\u636e\u6e90\u8fc7\u8f7d\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u9ad8\u4f38\u7f29\u6027\u9ad8\u53ef\u7528\u7684\u573a\u666f\u3002MongoDB\u4f7f\u7528\u5206\u7247\u6c34\u5e73\u7f29\u653e\uff0c\u5e76\u4e14\u53ef\u4ee5\u8fd0\u884c\u5728\u591a\u4e2a\u670d\u52a1\u5668\u4e0a\uff0c\u5e73\u8861\u8d1f\u8f7d\u6216\u590d\u5236\u6570\u636e\uff0c\u4ee5\u4fbf\u5728\u786c\u4ef6\u51fa\u73b0\u6545\u969c\u65f6\u4fdd\u6301\u7cfb\u7edf\u6b63\u5e38\u8fd0\u884c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u6d77\u91cf\u6570\u636e\u3002")),(0,l.yg)("h3",{id:"\u4e0d\u9002\u7528\u573a\u666f"},"\u4e0d\u9002\u7528\u573a\u666f"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u8981\u6c42\u9ad8\u5ea6\u4e8b\u52a1\u6027\u7684\u7cfb\u7edf\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4f20\u7edf\u7684\u5546\u4e1a\u667a\u80fd\u5e94\u7528\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u590d\u6742\u7684\u8de8\u6587\u6863\uff08\u8868\uff09\u7ea7\u8054\u67e5\u8be2\u3002")),(0,l.yg)("h3",{id:"\u6982\u5ff5"},"\u6982\u5ff5"),(0,l.yg)("h4",{id:"db"},"db"),(0,l.yg)("p",null,"\u6709\u4e00\u4e9b\u6570\u636e\u5e93\u540d\u662f\u4fdd\u7559\u7684\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bbf\u95ee\u8fd9\u4e9b\u6709\u7279\u6b8a\u4f5c\u7528\u7684\u6570\u636e\u5e93\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"admin"),'\uff1a \u4ece\u6743\u9650\u7684\u89d2\u5ea6\u6765\u770b\uff0c\u8fd9\u662f"root"\u6570\u636e\u5e93\u3002\u8981\u662f\u5c06\u4e00\u4e2a\u7528\u6237\u6dfb\u52a0\u5230\u8fd9\u4e2a\u6570\u636e\u5e93\uff0c\u8fd9\u4e2a\u7528\u6237\u81ea\u52a8\u7ee7\u627f\u6240\u6709\u6570\u636e\u5e93\u7684\u6743\u9650\u3002\u4e00\u4e9b\u7279\u5b9a\u7684\u670d\u52a1\u5668\u7aef\u547d\u4ee4\u4e5f\u53ea\u80fd\u4ece\u8fd9\u4e2a\u6570\u636e\u5e93\u8fd0\u884c\uff0c\u6bd4\u5982\u5217\u51fa\u6240\u6709\u7684\u6570\u636e\u5e93\u6216\u8005\u5173\u95ed\u670d\u52a1\u5668\u3002'),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"local:")," \u8fd9\u4e2a\u6570\u636e\u6c38\u8fdc\u4e0d\u4f1a\u88ab\u590d\u5236\uff0c\u53ef\u4ee5\u7528\u6765\u5b58\u50a8\u9650\u4e8e\u672c\u5730\u5355\u53f0\u670d\u52a1\u5668\u7684\u4efb\u610f\u96c6\u5408"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"config"),": \u5f53Mongo\u7528\u4e8e\u5206\u7247\u8bbe\u7f6e\u65f6\uff0cconfig\u6570\u636e\u5e93\u5728\u5185\u90e8\u4f7f\u7528\uff0c\u7528\u4e8e\u4fdd\u5b58\u5206\u7247\u7684\u76f8\u5173\u4fe1\u606f\u3002")),(0,l.yg)("h4",{id:"collection"},"collection"),(0,l.yg)("p",null,"\u6570\u636e\u5e93\u8868/\u96c6\u5408\n\u96c6\u5408\u5c31\u662f MongoDB \u6587\u6863\u7ec4\uff0c\u7c7b\u4f3c\u4e8e RDBMS \uff08\u5173\u7cfb\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff1aRelational Database Management System)\u4e2d\u7684\u8868\u683c\u3002\n\u96c6\u5408\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\uff0c\u96c6\u5408\u6ca1\u6709\u56fa\u5b9a\u7684\u7ed3\u6784\uff0c\u8fd9\u610f\u5473\u7740\u4f60\u5728\u5bf9\u96c6\u5408\u53ef\u4ee5\u63d2\u5165\u4e0d\u540c\u683c\u5f0f\u548c\u7c7b\u578b\u7684\u6570\u636e\uff0c\u4f46\u901a\u5e38\u60c5\u51b5\u4e0b\u6211\u4eec\u63d2\u5165\u96c6\u5408\u7684\u6570\u636e\u90fd\u4f1a\u6709\u4e00\u5b9a\u7684\u5173\u8054\u6027\u3002"),(0,l.yg)("h4",{id:"document"},"document"),(0,l.yg)("p",null,"\u6570\u636e\u8bb0\u5f55\u884c/\u6587\u6863\n\u6587\u6863\u662f\u4e00\u7ec4\u952e\u503c(key-value)\u5bf9(\u5373 BSON)\u3002MongoDB \u7684\u6587\u6863\u4e0d\u9700\u8981\u8bbe\u7f6e\u76f8\u540c\u7684\u5b57\u6bb5\uff0c\u5e76\u4e14\u76f8\u540c\u7684\u5b57\u6bb5\u4e0d\u9700\u8981\u76f8\u540c\u7684\u6570\u636e\u7c7b\u578b\uff0c\u8fd9\u4e0e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u6709\u5f88\u5927\u7684\u533a\u522b\uff0c\u4e5f\u662f MongoDB \u975e\u5e38\u7a81\u51fa\u7684\u7279\u70b9\u3002"),(0,l.yg)("h3",{id:"\u96c6\u7fa4\u6982\u5ff5"},"\u96c6\u7fa4\u6982\u5ff5"),(0,l.yg)("p",null,"mongodb\u96c6\u7fa4\u6709\u4e09\u79cd\u6a21\u5f0f\uff0c\u4e3b\u4ece\u6a21\u5f0f\uff0c\u526f\u672c\u96c6\u6a21\u5f0f\u3001sharding\u5206\u7247\u6a21\u5f0f\u3002\u4e3b\u4ece\u6a21\u5f0f\u5b98\u7f51\u4e5f\u4e0d\u518d\u63a8\u8350\u4e0a\u751f\u4ea7\u73af\u5883\uff0c\u4e3b\u8981\u662f\u5b89\u5168\u6027\u592a\u4f4e\u3002\u526f\u672c\u96c6\u548csharding\u6a21\u5f0f\u76ee\u524d\u662f\u7528\u7684\u6700\u5e7f\u7684\u65b9\u6848\uff0c\u901a\u5e38\u8fd92\u79cd\u65b9\u6848\u7684\u9009\u62e9\u901a\u8fc7\u6570\u636e\u91cf\u548c\u5e76\u53d1\u6570\u6765\u6743\u8861\u3002\u5728GB\u7ea7\u522b\u7684\u57fa\u672c\u4e0a\u526f\u672c\u96c6\u65b9\u6848\u53ef\u6ee1\u8db3\uff0cTB\u7ea7\u522b\u6216\u4ee5\u4e0a\u91c7\u7528sharding\u6a21\u5f0f\uff0c\u89e3\u51b3\u5355\u673a\u5bb9\u91cf\u548c\u5355\u673a\u5e76\u53d1\u80fd\u529b\u3002\n\u8fd9\u4e24\u79cd\u65e2\u6709\u81ea\u5df1\u7684\u4f18\u52bf\u4e5f\u6709\u81ea\u5df1\u7684\u7f3a\u70b9\uff0c\u6bd4\u5982sharding\u6a21\u5f0f\u5206\u7247\u8d8a\u591a\uff0c\u6027\u80fd\u81ea\u7136\u4e0b\u964d\u8d8a\u591a\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u4e0d\u662f\u6240\u7528\u7684\u4f7f\u7528\u573a\u666f\u90fd\u5fc5\u987b\u4e0a\u96c6\u7fa4\uff0c\u8981\u56e0\u5730\u5236\u5b9c\u3002")),(0,l.yg)("h3",{id:"mongostat"},"mongostat"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\nmongostat -u admin -p Aa0123 --authenticationDatabase=admin\n")),(0,l.yg)("h3",{id:"mongotop"},"mongotop"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\nmongotop -u admin -p Aa0123 --authenticationDatabase=admin\n")),(0,l.yg)("h3",{id:"\u5907\u4efd\u6062\u590d"},"\u5907\u4efd/\u6062\u590d"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\u5907\u4efd\u6240\u6709\u8868\nmongodump -h 172.18.92.170 --port 27017 -u \u7528\u6237\u540d -p \u5bc6\u7801 -o /usr/local/mongodb/bak/\n\n#\u6062\u590d\u6240\u6709\u8868\nmongorestore --port 27017 -u \u7528\u6237\u540d -p \u5bc6\u7801 --authenticationDatabase admin /usr/local/mongodb/bak/\n")),(0,l.yg)("h3",{id:"\u5206\u9875\u67e5\u8be2"},"\u5206\u9875\u67e5\u8be2"),(0,l.yg)("p",null,"mongo\u7684\u5206\u9875\u76f8\u5173\u529f\u80fd\u6027\u80fd\u8f83\u5dee\uff0c\u9488\u5bf9\u8fd9\u4e2a\u95ee\u9898\u7ecf\u8fc7\u7814\u7a76\u53d1\u73b0\u5728\u5206\u9875\u4e2dskip\u6570\u503c\u8d8a\u5927\u6027\u80fd\u5c31\u8d8a\u4f4e\uff0c\u7b26\u5408\u6761\u4ef6\u7684\u6570\u636e\u8d8a\u591acount\u6027\u80fd\u5c31\u8d8a\u4f4e\u3002\u9488\u5bf9\u8fd92\u4e2a\u95ee\u9898\u6211\u4eec\u8fdb\u884c\u4e86\u8be6\u7ec6\u7684\u6d4b\u8bd5\uff0c\u5171\u603b\u7ed3\u51fa2\u79cd\u6548\u679c\u4e0d\u9519\u7684\u65b9\u6848\u3002"),(0,l.yg)("h4",{id:"\u65b9\u6848\u4e00"},"\u65b9\u6848\u4e00"),(0,l.yg)("p",null,"\u4f7f\u7528Top N\u7684\u65b9\u5f0f\u9650\u5236\u68c0\u7d22\u6570\u91cf\u6700\u59275000\u6761\uff0c\u4f8b\u5982\u7edf\u8ba1\u7b26\u5408\u6761\u4ef6\u7684\u62a5\u8b66\u8bb0\u5f55\u6761\u6570\uff1a"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-javascript"},'db.AlarmHistory.find({\n "did": {$in: [\n "10000000000000001000"\n ]},\n "createTime":{ "$gte":1636949672, "$lt":1637381672}\n}).limit(5000).count(true);\n')),(0,l.yg)("p",null,"\u901a\u8fc7limit(5000)\u9650\u5236\u7edf\u8ba1\u6700\u5927\u503c\u5373\u4e3a5000\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86count\u6548\u7387\uff0c\u4f46\u4e5f\u6709\u4e00\u4e9b\u5c40\u9650\u6027\u5c31\u662f\u53ea\u80fd\u7edf\u8ba1\u7b26\u5408\u6761\u4ef6\u7684\u6700\u540e5000\u6761\u6570\u636e\uff0c\u800c\u4e0d\u662f\u7b26\u5408\u6761\u4ef6\u7684\u5168\u90e8\u6570\u636e\u3002"),(0,l.yg)("h4",{id:"\u65b9\u6848\u4e8c"},"\u65b9\u6848\u4e8c"),(0,l.yg)("p",null,"\u901a\u8fc7\u52a0\u8f7d\u66f4\u591a\u7684\u65b9\u5f0f\u5206\u9875\uff0c\u5373\u67e5\u8be2\u4e0b\u4e00\u9875\u65f6\u9700\u8981\u4f20\u9012\u5f53\u524d\u9875\u7684\u6700\u540e\u4e00\u6761\u6570\u636e\u7684\u5e8f\u53f7\uff0c\u8fd9\u6837\u5c31\u7ed5\u8fc7count\u7edf\u8ba1\uff0c\u4f46\u8fd9\u79cd\u65b9\u5f0f\u7684\u5f0a\u7aef\u5728\u4e8e\u9875\u9762\u4e0d\u4f1a\u663e\u793a\u603b\u5171\u591a\u5c11\u6761\u6570\u636e\u3001\u5171\u5206\u591a\u5c11\u9875\u7b49\u6570\u636e\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},(0,l.yg)("a",{parentName:"li",href:"https://www.runoob.com/mongodb/mongodb-tutorial.html"},"MongoDB\u6559\u7a0b"))))}c.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4632],{15680:(e,n,o)=>{o.d(n,{xA:()=>p,yg:()=>s});var t=o(96540);function l(e,n,o){return n in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function a(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),o.push.apply(o,t)}return o}function r(e){for(var n=1;n=0||(l[o]=e[o]);return l}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(l[o]=e[o])}return l}var g=t.createContext({}),u=function(e){var n=t.useContext(g),o=n;return e&&(o="function"==typeof e?e(n):r(r({},n),e)),o},p=function(e){var n=u(e.components);return t.createElement(g.Provider,{value:n},e.children)},d="mdxType",c={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},y=t.forwardRef((function(e,n){var o=e.components,l=e.mdxType,a=e.originalType,g=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),d=u(o),y=l,s=d["".concat(g,".").concat(y)]||d[y]||c[y]||a;return o?t.createElement(s,r(r({ref:n},p),{},{components:o})):t.createElement(s,r({ref:n},p))}));function s(e,n){var o=arguments,l=n&&n.mdxType;if("string"==typeof e||l){var a=o.length,r=new Array(a);r[0]=y;var i={};for(var g in n)hasOwnProperty.call(n,g)&&(i[g]=n[g]);i.originalType=e,i[d]="string"==typeof e?e:l,r[1]=i;for(var u=2;u{o.r(n),o.d(n,{assets:()=>g,contentTitle:()=>r,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var t=o(58168),l=(o(96540),o(15680));const a={},r=void 0,i={unversionedId:"study/db/NoSQL/MongoDB",id:"study/db/NoSQL/MongoDB",title:"MongoDB",description:"MongoDB",source:"@site/docs/study/db/NoSQL/MongoDB.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/MongoDB",permalink:"/docs/study/db/NoSQL/MongoDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Ignite",permalink:"/docs/study/db/NoSQL/Ignite"},next:{title:"Redis",permalink:"/docs/study/db/NoSQL/Redis"}},g={},u=[{value:"MongoDB",id:"mongodb",level:3},{value:"\u6587\u6863\u6570\u636e\u5e93",id:"\u6587\u6863\u6570\u636e\u5e93",level:3},{value:"\u9002\u7528\u573a\u666f",id:"\u9002\u7528\u573a\u666f",level:3},{value:"\u4e0d\u9002\u7528\u573a\u666f",id:"\u4e0d\u9002\u7528\u573a\u666f",level:3},{value:"\u6982\u5ff5",id:"\u6982\u5ff5",level:3},{value:"db",id:"db",level:4},{value:"collection",id:"collection",level:4},{value:"document",id:"document",level:4},{value:"\u96c6\u7fa4\u6982\u5ff5",id:"\u96c6\u7fa4\u6982\u5ff5",level:3},{value:"mongostat",id:"mongostat",level:3},{value:"mongotop",id:"mongotop",level:3},{value:"\u5907\u4efd/\u6062\u590d",id:"\u5907\u4efd\u6062\u590d",level:3},{value:"\u5206\u9875\u67e5\u8be2",id:"\u5206\u9875\u67e5\u8be2",level:3},{value:"\u65b9\u6848\u4e00",id:"\u65b9\u6848\u4e00",level:4},{value:"\u65b9\u6848\u4e8c",id:"\u65b9\u6848\u4e8c",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},d="wrapper";function c(e){let{components:n,...o}=e;return(0,l.yg)(d,(0,t.A)({},p,o,{components:n,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"mongodb"},"MongoDB"),(0,l.yg)("p",null,"MongoDB\u662f\u4e00\u4e2a\u4ecb\u4e8e\u5173\u7cfb\u6570\u636e\u5e93\u548c\u975e\u5173\u7cfb\u6570\u636e\u5e93\u4e4b\u95f4\u7684\u4ea7\u54c1\uff0c\u662f\u975e\u5173\u7cfb\u6570\u636e\u5e93\u5f53\u4e2d\u529f\u80fd\u6700\u4e30\u5bcc\uff0c\u6700\u50cf\u5173\u7cfb\u6570\u636e\u5e93\u7684\u3002\u4ed6\u652f\u6301\u7684\u6570\u636e\u7ed3\u6784\u975e\u5e38\u677e\u6563\uff0c\u662f\u7c7b\u4f3cjson\u7684bson\u683c\u5f0f\uff0c\u56e0\u6b64\u53ef\u4ee5\u5b58\u50a8\u6bd4\u8f83\u590d\u6742\u7684\u6570\u636e\u7c7b\u578b\u3002Mongo\u6700\u5927\u7684\u7279\u70b9\u662f\u4ed6\u652f\u6301\u7684\u67e5\u8be2\u8bed\u8a00\u975e\u5e38\u5f3a\u5927\uff0c\u5176\u8bed\u6cd5\u6709\u70b9\u7c7b\u4f3c\u4e8e\u9762\u5411\u5bf9\u8c61\u7684\u67e5\u8be2\u8bed\u8a00\uff0c\u51e0\u4e4e\u53ef\u4ee5\u5b9e\u73b0\u7c7b\u4f3c\u5173\u7cfb\u6570\u636e\u5e93\u5355\u8868\u67e5\u8be2\u7684\u7edd\u5927\u90e8\u5206\u529f\u80fd\uff0c\u800c\u4e14\u8fd8\u652f\u6301\u5bf9\u6570\u636e\u5efa\u7acb\u7d22\u5f15\u3002"),(0,l.yg)("p",null,"Mongo\u662f\u4e00\u4e2a\u9ad8\u6027\u80fd\uff0c\u5f00\u6e90\uff0c\u65e0\u6a21\u5f0f\u7684\u6587\u6863\u578b\u6570\u636e\u5e93\uff0c\u5b83\u5728\u8bb8\u591a\u573a\u666f\u4e0b\u53ef\u7528\u4e8e\u66ff\u4ee3\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u6216\u952e/\u503c\u5b58\u50a8\u65b9\u5f0f\u3002"),(0,l.yg)("p",null,"MongoDB Version4+\u5f00\u59cb\u539f\u751f\u652f\u6301\u4e8b\u52a1\uff1b\u8c8c\u4f3c\u53ef\u4ee5\u66ff\u6362\u5173\u7cfb\u6570\u636e\u5e93\uff0c\u4f46\u662f\u8fd9\u80fd\u884c\u4e48\uff1f",(0,l.yg)("a",{parentName:"p",href:"https://www.cnblogs.com/ExMan/p/9565125.html"},"\u5343\u4e07\u522b\u7528MongoDB\uff1f\u771f\u7684\u5417\uff1f\uff01")," \xa0\u6211\u5bf9\u6b64\u6301\u4fdd\u7559\u610f\u89c1\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u4e0d\u8981\u4e3a\u4e86\u4f7f\u7528MongoDB\u800c\u4f7f\u7528MongoDB\uff0c\u4e00\u5b9a\u8981\u597d\u597d\u5206\u6790\uff0c\u4e3b\u8981\u7cbe\u529b\u5e94\u8be5\u653e\u5728\u4f7f\u7528Msql\u7b49\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e0a\uff0c\u5f53\u5173\u7cfb\u578b\u6570\u636e\u5e93\u662f\u5728\u65e0\u6cd5\u6ee1\u8db3\u6216\u8005\u5b9e\u73b0\u8f83\u590d\u6742\u65f6\uff0c\u518d\u53bb\u8003\u8651\u8fd9\u4e2a\u7ec6\u5206\u573a\u666fMongoDB\u662f\u5426\u5408\u9002\u3002")),(0,l.yg)("h3",{id:"\u6587\u6863\u6570\u636e\u5e93"},"\u6587\u6863\u6570\u636e\u5e93"),(0,l.yg)("p",null,"\u4e3a\u4e86\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93 schema \u5e26\u6765\u7684\u95ee\u9898\uff0c\u6587\u6863\u6570\u636e\u5e93\u5e94\u8fd0\u800c\u751f\u3002\u6587\u6863\u6570\u636e\u5e93\u6700\u5927\u7684\u7279\u70b9\u5c31\u662f no-schema\uff0c\u53ef\u4ee5\u5b58\u50a8\u548c\u8bfb\u53d6\u4efb\u610f\u7684\u6570\u636e\u3002\u76ee\u524d\u7edd\u5927\u90e8\u5206\u6587\u6863\u6570\u636e\u5e93\u5b58\u50a8\u7684\u6570\u636e\u683c\u5f0f\u662f JSON\uff08\u6216\u8005 BSON\uff09\uff0c\u56e0\u4e3a JSON \u6570\u636e\u662f\u81ea\u63cf\u8ff0\u7684\uff0c\u65e0\u987b\u5728\u4f7f\u7528\u524d\u5b9a\u4e49\u5b57\u6bb5\uff0c\u8bfb\u53d6\u4e00\u4e2a JSON \u4e2d\u4e0d\u5b58\u5728\u7684\u5b57\u6bb5\u4e5f\u4e0d\u4f1a\u5bfc\u81f4 SQL \u90a3\u6837\u7684\u8bed\u6cd5\u9519\u8bef\u3002"),(0,l.yg)("p",null,"\u6587\u6863\u6570\u636e\u5e93\u7684 no-schema \u7279\u6027\uff0c\u7ed9\u4e1a\u52a1\u5f00\u53d1\u5e26\u6765\u4e86\u51e0\u4e2a\u660e\u663e\u7684\u4f18\u52bf\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u65b0\u589e\u5b57\u6bb5\u7b80\u5355"),(0,l.yg)("li",{parentName:"ul"},"\u5386\u53f2\u6570\u636e\u4e0d\u4f1a\u51fa\u9519"),(0,l.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u5f88\u5bb9\u6613\u5b58\u50a8\u590d\u6742\u6570\u636e")),(0,l.yg)("p",null,"\u6587\u6863\u6570\u636e\u5e93 no-schema \u7684\u7279\u6027\u5e26\u6765\u7684\u8fd9\u4e9b\u4f18\u52bf\u4e5f\u662f\u6709\u4ee3\u4ef7\u7684\uff0c\u6700\u4e3b\u8981\u7684\u4ee3\u4ef7\u5c31\u662f\u4e0d\u652f\u6301\u4e8b\u52a1\u3002\u6587\u6863\u6570\u636e\u5e93\u53e6\u5916\u4e00\u4e2a\u7f3a\u70b9\u5c31\u662f\u65e0\u6cd5\u5b9e\u73b0\u5173\u7cfb\u6570\u636e\u5e93\u7684 join \u64cd\u4f5c\u3002"),(0,l.yg)("h3",{id:"\u9002\u7528\u573a\u666f"},"\u9002\u7528\u573a\u666f"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u7f51\u7ad9\u5b9e\u65f6\u6570\u636e\u5904\u7406\u3002\u5b83\u975e\u5e38\u9002\u5408\u5b9e\u65f6\u7684\u63d2\u5165\u3001\u66f4\u65b0\u4e0e\u67e5\u8be2\uff0c\u5e76\u5177\u5907\u7f51\u7ad9\u5b9e\u65f6\u6570\u636e\u5b58\u50a8\u6240\u9700\u7684\u590d\u5236\u53ca\u9ad8\u5ea6\u4f38\u7f29\u6027\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u7f13\u5b58\u3002\u7531\u4e8e\u6027\u80fd\u5f88\u9ad8\uff0c\u5b83\u9002\u5408\u4f5c\u4e3a\u4fe1\u606f\u57fa\u7840\u8bbe\u65bd\u7684\u7f13\u5b58\u5c42\u3002\u5728\u7cfb\u7edf\u91cd\u542f\u4e4b\u540e\uff0c\u7531\u5b83\u642d\u5efa\u7684\u6301\u4e45\u5316\u7f13\u5b58\u5c42\u53ef\u4ee5\u907f\u514d\u4e0b\u5c42\u7684\u6570\u636e\u6e90\u8fc7\u8f7d\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u9ad8\u4f38\u7f29\u6027\u9ad8\u53ef\u7528\u7684\u573a\u666f\u3002MongoDB\u4f7f\u7528\u5206\u7247\u6c34\u5e73\u7f29\u653e\uff0c\u5e76\u4e14\u53ef\u4ee5\u8fd0\u884c\u5728\u591a\u4e2a\u670d\u52a1\u5668\u4e0a\uff0c\u5e73\u8861\u8d1f\u8f7d\u6216\u590d\u5236\u6570\u636e\uff0c\u4ee5\u4fbf\u5728\u786c\u4ef6\u51fa\u73b0\u6545\u969c\u65f6\u4fdd\u6301\u7cfb\u7edf\u6b63\u5e38\u8fd0\u884c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u6d77\u91cf\u6570\u636e\u3002")),(0,l.yg)("h3",{id:"\u4e0d\u9002\u7528\u573a\u666f"},"\u4e0d\u9002\u7528\u573a\u666f"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u8981\u6c42\u9ad8\u5ea6\u4e8b\u52a1\u6027\u7684\u7cfb\u7edf\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4f20\u7edf\u7684\u5546\u4e1a\u667a\u80fd\u5e94\u7528\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u590d\u6742\u7684\u8de8\u6587\u6863\uff08\u8868\uff09\u7ea7\u8054\u67e5\u8be2\u3002")),(0,l.yg)("h3",{id:"\u6982\u5ff5"},"\u6982\u5ff5"),(0,l.yg)("h4",{id:"db"},"db"),(0,l.yg)("p",null,"\u6709\u4e00\u4e9b\u6570\u636e\u5e93\u540d\u662f\u4fdd\u7559\u7684\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bbf\u95ee\u8fd9\u4e9b\u6709\u7279\u6b8a\u4f5c\u7528\u7684\u6570\u636e\u5e93\u3002"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"admin"),'\uff1a \u4ece\u6743\u9650\u7684\u89d2\u5ea6\u6765\u770b\uff0c\u8fd9\u662f"root"\u6570\u636e\u5e93\u3002\u8981\u662f\u5c06\u4e00\u4e2a\u7528\u6237\u6dfb\u52a0\u5230\u8fd9\u4e2a\u6570\u636e\u5e93\uff0c\u8fd9\u4e2a\u7528\u6237\u81ea\u52a8\u7ee7\u627f\u6240\u6709\u6570\u636e\u5e93\u7684\u6743\u9650\u3002\u4e00\u4e9b\u7279\u5b9a\u7684\u670d\u52a1\u5668\u7aef\u547d\u4ee4\u4e5f\u53ea\u80fd\u4ece\u8fd9\u4e2a\u6570\u636e\u5e93\u8fd0\u884c\uff0c\u6bd4\u5982\u5217\u51fa\u6240\u6709\u7684\u6570\u636e\u5e93\u6216\u8005\u5173\u95ed\u670d\u52a1\u5668\u3002'),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"local:")," \u8fd9\u4e2a\u6570\u636e\u6c38\u8fdc\u4e0d\u4f1a\u88ab\u590d\u5236\uff0c\u53ef\u4ee5\u7528\u6765\u5b58\u50a8\u9650\u4e8e\u672c\u5730\u5355\u53f0\u670d\u52a1\u5668\u7684\u4efb\u610f\u96c6\u5408"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"config"),": \u5f53Mongo\u7528\u4e8e\u5206\u7247\u8bbe\u7f6e\u65f6\uff0cconfig\u6570\u636e\u5e93\u5728\u5185\u90e8\u4f7f\u7528\uff0c\u7528\u4e8e\u4fdd\u5b58\u5206\u7247\u7684\u76f8\u5173\u4fe1\u606f\u3002")),(0,l.yg)("h4",{id:"collection"},"collection"),(0,l.yg)("p",null,"\u6570\u636e\u5e93\u8868/\u96c6\u5408\n\u96c6\u5408\u5c31\u662f MongoDB \u6587\u6863\u7ec4\uff0c\u7c7b\u4f3c\u4e8e RDBMS \uff08\u5173\u7cfb\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff1aRelational Database Management System)\u4e2d\u7684\u8868\u683c\u3002\n\u96c6\u5408\u5b58\u5728\u4e8e\u6570\u636e\u5e93\u4e2d\uff0c\u96c6\u5408\u6ca1\u6709\u56fa\u5b9a\u7684\u7ed3\u6784\uff0c\u8fd9\u610f\u5473\u7740\u4f60\u5728\u5bf9\u96c6\u5408\u53ef\u4ee5\u63d2\u5165\u4e0d\u540c\u683c\u5f0f\u548c\u7c7b\u578b\u7684\u6570\u636e\uff0c\u4f46\u901a\u5e38\u60c5\u51b5\u4e0b\u6211\u4eec\u63d2\u5165\u96c6\u5408\u7684\u6570\u636e\u90fd\u4f1a\u6709\u4e00\u5b9a\u7684\u5173\u8054\u6027\u3002"),(0,l.yg)("h4",{id:"document"},"document"),(0,l.yg)("p",null,"\u6570\u636e\u8bb0\u5f55\u884c/\u6587\u6863\n\u6587\u6863\u662f\u4e00\u7ec4\u952e\u503c(key-value)\u5bf9(\u5373 BSON)\u3002MongoDB \u7684\u6587\u6863\u4e0d\u9700\u8981\u8bbe\u7f6e\u76f8\u540c\u7684\u5b57\u6bb5\uff0c\u5e76\u4e14\u76f8\u540c\u7684\u5b57\u6bb5\u4e0d\u9700\u8981\u76f8\u540c\u7684\u6570\u636e\u7c7b\u578b\uff0c\u8fd9\u4e0e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u6709\u5f88\u5927\u7684\u533a\u522b\uff0c\u4e5f\u662f MongoDB \u975e\u5e38\u7a81\u51fa\u7684\u7279\u70b9\u3002"),(0,l.yg)("h3",{id:"\u96c6\u7fa4\u6982\u5ff5"},"\u96c6\u7fa4\u6982\u5ff5"),(0,l.yg)("p",null,"mongodb\u96c6\u7fa4\u6709\u4e09\u79cd\u6a21\u5f0f\uff0c\u4e3b\u4ece\u6a21\u5f0f\uff0c\u526f\u672c\u96c6\u6a21\u5f0f\u3001sharding\u5206\u7247\u6a21\u5f0f\u3002\u4e3b\u4ece\u6a21\u5f0f\u5b98\u7f51\u4e5f\u4e0d\u518d\u63a8\u8350\u4e0a\u751f\u4ea7\u73af\u5883\uff0c\u4e3b\u8981\u662f\u5b89\u5168\u6027\u592a\u4f4e\u3002\u526f\u672c\u96c6\u548csharding\u6a21\u5f0f\u76ee\u524d\u662f\u7528\u7684\u6700\u5e7f\u7684\u65b9\u6848\uff0c\u901a\u5e38\u8fd92\u79cd\u65b9\u6848\u7684\u9009\u62e9\u901a\u8fc7\u6570\u636e\u91cf\u548c\u5e76\u53d1\u6570\u6765\u6743\u8861\u3002\u5728GB\u7ea7\u522b\u7684\u57fa\u672c\u4e0a\u526f\u672c\u96c6\u65b9\u6848\u53ef\u6ee1\u8db3\uff0cTB\u7ea7\u522b\u6216\u4ee5\u4e0a\u91c7\u7528sharding\u6a21\u5f0f\uff0c\u89e3\u51b3\u5355\u673a\u5bb9\u91cf\u548c\u5355\u673a\u5e76\u53d1\u80fd\u529b\u3002\n\u8fd9\u4e24\u79cd\u65e2\u6709\u81ea\u5df1\u7684\u4f18\u52bf\u4e5f\u6709\u81ea\u5df1\u7684\u7f3a\u70b9\uff0c\u6bd4\u5982sharding\u6a21\u5f0f\u5206\u7247\u8d8a\u591a\uff0c\u6027\u80fd\u81ea\u7136\u4e0b\u964d\u8d8a\u591a\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u4e0d\u662f\u6240\u7528\u7684\u4f7f\u7528\u573a\u666f\u90fd\u5fc5\u987b\u4e0a\u96c6\u7fa4\uff0c\u8981\u56e0\u5730\u5236\u5b9c\u3002")),(0,l.yg)("h3",{id:"mongostat"},"mongostat"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\nmongostat -u admin -p Aa0123 --authenticationDatabase=admin\n")),(0,l.yg)("h3",{id:"mongotop"},"mongotop"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\nmongotop -u admin -p Aa0123 --authenticationDatabase=admin\n")),(0,l.yg)("h3",{id:"\u5907\u4efd\u6062\u590d"},"\u5907\u4efd/\u6062\u590d"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\u5907\u4efd\u6240\u6709\u8868\nmongodump -h 172.18.92.170 --port 27017 -u \u7528\u6237\u540d -p \u5bc6\u7801 -o /usr/local/mongodb/bak/\n\n#\u6062\u590d\u6240\u6709\u8868\nmongorestore --port 27017 -u \u7528\u6237\u540d -p \u5bc6\u7801 --authenticationDatabase admin /usr/local/mongodb/bak/\n")),(0,l.yg)("h3",{id:"\u5206\u9875\u67e5\u8be2"},"\u5206\u9875\u67e5\u8be2"),(0,l.yg)("p",null,"mongo\u7684\u5206\u9875\u76f8\u5173\u529f\u80fd\u6027\u80fd\u8f83\u5dee\uff0c\u9488\u5bf9\u8fd9\u4e2a\u95ee\u9898\u7ecf\u8fc7\u7814\u7a76\u53d1\u73b0\u5728\u5206\u9875\u4e2dskip\u6570\u503c\u8d8a\u5927\u6027\u80fd\u5c31\u8d8a\u4f4e\uff0c\u7b26\u5408\u6761\u4ef6\u7684\u6570\u636e\u8d8a\u591acount\u6027\u80fd\u5c31\u8d8a\u4f4e\u3002\u9488\u5bf9\u8fd92\u4e2a\u95ee\u9898\u6211\u4eec\u8fdb\u884c\u4e86\u8be6\u7ec6\u7684\u6d4b\u8bd5\uff0c\u5171\u603b\u7ed3\u51fa2\u79cd\u6548\u679c\u4e0d\u9519\u7684\u65b9\u6848\u3002"),(0,l.yg)("h4",{id:"\u65b9\u6848\u4e00"},"\u65b9\u6848\u4e00"),(0,l.yg)("p",null,"\u4f7f\u7528Top N\u7684\u65b9\u5f0f\u9650\u5236\u68c0\u7d22\u6570\u91cf\u6700\u59275000\u6761\uff0c\u4f8b\u5982\u7edf\u8ba1\u7b26\u5408\u6761\u4ef6\u7684\u62a5\u8b66\u8bb0\u5f55\u6761\u6570\uff1a"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-javascript"},'db.AlarmHistory.find({\n "did": {$in: [\n "10000000000000001000"\n ]},\n "createTime":{ "$gte":1636949672, "$lt":1637381672}\n}).limit(5000).count(true);\n')),(0,l.yg)("p",null,"\u901a\u8fc7limit(5000)\u9650\u5236\u7edf\u8ba1\u6700\u5927\u503c\u5373\u4e3a5000\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86count\u6548\u7387\uff0c\u4f46\u4e5f\u6709\u4e00\u4e9b\u5c40\u9650\u6027\u5c31\u662f\u53ea\u80fd\u7edf\u8ba1\u7b26\u5408\u6761\u4ef6\u7684\u6700\u540e5000\u6761\u6570\u636e\uff0c\u800c\u4e0d\u662f\u7b26\u5408\u6761\u4ef6\u7684\u5168\u90e8\u6570\u636e\u3002"),(0,l.yg)("h4",{id:"\u65b9\u6848\u4e8c"},"\u65b9\u6848\u4e8c"),(0,l.yg)("p",null,"\u901a\u8fc7\u52a0\u8f7d\u66f4\u591a\u7684\u65b9\u5f0f\u5206\u9875\uff0c\u5373\u67e5\u8be2\u4e0b\u4e00\u9875\u65f6\u9700\u8981\u4f20\u9012\u5f53\u524d\u9875\u7684\u6700\u540e\u4e00\u6761\u6570\u636e\u7684\u5e8f\u53f7\uff0c\u8fd9\u6837\u5c31\u7ed5\u8fc7count\u7edf\u8ba1\uff0c\u4f46\u8fd9\u79cd\u65b9\u5f0f\u7684\u5f0a\u7aef\u5728\u4e8e\u9875\u9762\u4e0d\u4f1a\u663e\u793a\u603b\u5171\u591a\u5c11\u6761\u6570\u636e\u3001\u5171\u5206\u591a\u5c11\u9875\u7b49\u6570\u636e\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},(0,l.yg)("a",{parentName:"li",href:"https://www.runoob.com/mongodb/mongodb-tutorial.html"},"MongoDB\u6559\u7a0b"))))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/826108d9.72fca5a6.js b/assets/js/826108d9.e1cb0645.js similarity index 98% rename from assets/js/826108d9.72fca5a6.js rename to assets/js/826108d9.e1cb0645.js index f034093b8..acc85e6d6 100644 --- a/assets/js/826108d9.72fca5a6.js +++ b/assets/js/826108d9.e1cb0645.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7671],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,s=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),l=p(r),y=o,f=l["".concat(s,".").concat(y)]||l[y]||d[y]||i;return r?n.createElement(f,a(a({ref:t},u),{},{components:r})):n.createElement(f,a({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[l]="string"==typeof e?e:o,a[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:1},a="\u6982\u8ff0",c={unversionedId:"study/think/index",id:"study/think/index",title:"\u6982\u8ff0",description:"\u8de8\u8d8a\u7f16\u7a0b\u8bed\u8a00\u7684\u4e00\u4e9b\u5957\u8def\u3002",source:"@site/docs/study/think/index.md",sourceDirName:"study/think",slug:"/study/think/",permalink:"/docs/study/think/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u901a\u4fe1\u6a21\u7ec4",permalink:"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4"},next:{title:"\u8bbe\u8ba1\u6a21\u5f0f",permalink:"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f"}},s={},p=[],u={toc:p},l="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u8de8\u8d8a\u7f16\u7a0b\u8bed\u8a00\u7684\u4e00\u4e9b\u5957\u8def\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7671],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,s=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),l=p(r),y=o,f=l["".concat(s,".").concat(y)]||l[y]||d[y]||i;return r?n.createElement(f,a(a({ref:t},u),{},{components:r})):n.createElement(f,a({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=y;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[l]="string"==typeof e?e:o,a[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:1},a="\u6982\u8ff0",c={unversionedId:"study/think/index",id:"study/think/index",title:"\u6982\u8ff0",description:"\u8de8\u8d8a\u7f16\u7a0b\u8bed\u8a00\u7684\u4e00\u4e9b\u5957\u8def\u3002",source:"@site/docs/study/think/index.md",sourceDirName:"study/think",slug:"/study/think/",permalink:"/docs/study/think/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u901a\u4fe1\u6a21\u7ec4",permalink:"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4"},next:{title:"\u8bbe\u8ba1\u6a21\u5f0f",permalink:"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f"}},s={},p=[],u={toc:p},l="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u8de8\u8d8a\u7f16\u7a0b\u8bed\u8a00\u7684\u4e00\u4e9b\u5957\u8def\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8303fa10.193d3cf0.js b/assets/js/8303fa10.436613c4.js similarity index 98% rename from assets/js/8303fa10.193d3cf0.js rename to assets/js/8303fa10.436613c4.js index d28bc88e4..5c77a6900 100644 --- a/assets/js/8303fa10.193d3cf0.js +++ b/assets/js/8303fa10.436613c4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8723],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i="\u4eba\u5de5\u667a\u80fd",c={unversionedId:"study/ai/index",id:"study/ai/index",title:"\u4eba\u5de5\u667a\u80fd",description:"LLM",source:"@site/docs/study/ai/index.md",sourceDirName:"study/ai",slug:"/study/ai/",permalink:"/docs/study/ai/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"},next:{title:"\u5b57\u8282\u5e8f Big Endian Little Endian",permalink:"/docs/study/other/\u5b57\u8282\u5e8f"}},l={},u=[{value:"LLM",id:"llm",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u4eba\u5de5\u667a\u80fd"},"\u4eba\u5de5\u667a\u80fd"),(0,o.yg)("h3",{id:"llm"},"LLM"),(0,o.yg)("p",null,"\u5927\u8bed\u8a00\u6a21\u578b Large Language Models\uff0c\u4eba\u7c7b\u8981\u8d70\u5411\u4eba\u5de5\u667a\u80fd\u65f6\u4ee3\uff0c\u79bb\u4e0d\u5f00 LLM \u7684\u53d1\u5c55\uff0c\u6216\u8005\u8bf4\uff0cLLM \u662f\u901a\u5f80 AI \u65f6\u4ee3\u7684\u6838\u5fc3\u9014\u5f84\u3002"),(0,o.yg)("p",null,"ChatGPT \u662f\u6700\u77e5\u540d\u7684 LLM \u6848\u4f8b\uff0cLLM \u7684\u53d1\u5c55\u53c8\u79bb\u4e0d\u5f00\u673a\u5668\u5b66\u4e60\u3001\u795e\u7ecf\u7f51\u7edc\u3001\u6df1\u5ea6\u5b66\u4e60\u7b49\u6280\u672f\u7684\u7a81\u7834\u3002\u5927\u8bed\u8a00\u6a21\u578b\u7684\u5173\u952e\u4e4b\u4e00\u662f\u4e00\u4e2a\u201c\u5927\u201d\u5b57\uff0c\u8bad\u7ec3\u7684\u6570\u636e\u975e\u5e38\u591a\uff0c\u582a\u79f0\u6d77\u91cf\uff0c\u5982 ChatGPT \u5c31\u5305\u542b\u4e86 8000 \u4ebf\u4ee5\u4e0a\u7684\u6570\u636e\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8723],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i="\u4eba\u5de5\u667a\u80fd",c={unversionedId:"study/ai/index",id:"study/ai/index",title:"\u4eba\u5de5\u667a\u80fd",description:"LLM",source:"@site/docs/study/ai/index.md",sourceDirName:"study/ai",slug:"/study/ai/",permalink:"/docs/study/ai/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"},next:{title:"\u5b57\u8282\u5e8f Big Endian Little Endian",permalink:"/docs/study/other/\u5b57\u8282\u5e8f"}},l={},u=[{value:"LLM",id:"llm",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u4eba\u5de5\u667a\u80fd"},"\u4eba\u5de5\u667a\u80fd"),(0,o.yg)("h3",{id:"llm"},"LLM"),(0,o.yg)("p",null,"\u5927\u8bed\u8a00\u6a21\u578b Large Language Models\uff0c\u4eba\u7c7b\u8981\u8d70\u5411\u4eba\u5de5\u667a\u80fd\u65f6\u4ee3\uff0c\u79bb\u4e0d\u5f00 LLM \u7684\u53d1\u5c55\uff0c\u6216\u8005\u8bf4\uff0cLLM \u662f\u901a\u5f80 AI \u65f6\u4ee3\u7684\u6838\u5fc3\u9014\u5f84\u3002"),(0,o.yg)("p",null,"ChatGPT \u662f\u6700\u77e5\u540d\u7684 LLM \u6848\u4f8b\uff0cLLM \u7684\u53d1\u5c55\u53c8\u79bb\u4e0d\u5f00\u673a\u5668\u5b66\u4e60\u3001\u795e\u7ecf\u7f51\u7edc\u3001\u6df1\u5ea6\u5b66\u4e60\u7b49\u6280\u672f\u7684\u7a81\u7834\u3002\u5927\u8bed\u8a00\u6a21\u578b\u7684\u5173\u952e\u4e4b\u4e00\u662f\u4e00\u4e2a\u201c\u5927\u201d\u5b57\uff0c\u8bad\u7ec3\u7684\u6570\u636e\u975e\u5e38\u591a\uff0c\u582a\u79f0\u6d77\u91cf\uff0c\u5982 ChatGPT \u5c31\u5305\u542b\u4e86 8000 \u4ebf\u4ee5\u4e0a\u7684\u6570\u636e\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8497e197.0a5569a0.js b/assets/js/8497e197.0733c1eb.js similarity index 99% rename from assets/js/8497e197.0a5569a0.js rename to assets/js/8497e197.0733c1eb.js index 9e7c2c990..5cbdb2581 100644 --- a/assets/js/8497e197.0a5569a0.js +++ b/assets/js/8497e197.0733c1eb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7441],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>g});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=r.createContext({}),s=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},p=function(e){var t=s(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,l=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=s(n),d=o,g=u["".concat(c,".").concat(d)]||u[d]||y[d]||l;return n?r.createElement(g,a(a({ref:t},p),{},{components:n})):r.createElement(g,a({ref:t},p))}));function g(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=n.length,a=new Array(l);a[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[u]="string"==typeof e?e:o,a[1]=i;for(var s=2;s{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>y,frontMatter:()=>l,metadata:()=>i,toc:()=>s});var r=n(58168),o=(n(96540),n(15680));const l={},a=void 0,i={unversionedId:"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",id:"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",title:"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",description:"\u6d88\u606f\u6458\u8981\uff08Message Digest\uff09\u53c8\u79f0\u4e3a\u6570\u5b57\u6458\u8981\uff08Digital Digest\uff09\u3002\u5b83\u662f\u4e00\u4e2a\u552f\u4e00\u5bf9\u5e94\u4e00\u4e2a\u6d88\u606f\u6216\u6587\u672c\u7684\u56fa\u5b9a\u957f\u5ea6\u7684\u503c\uff0c\u5b83\u7531\u4e00\u4e2a\u5355\u5411 Hash \u52a0\u5bc6\u51fd\u6570\u5bf9\u6d88\u606f\u8fdb\u884c\u4f5c\u7528\u800c\u4ea7\u751f\u3002\u5982\u679c\u6d88\u606f\u5728\u9014\u4e2d\u6539\u53d8\u4e86\uff0c\u5219\u63a5\u6536\u8005\u901a\u8fc7\u5bf9\u6536\u5230\u6d88\u606f\u7684\u65b0\u4ea7\u751f\u7684\u6458\u8981\u4e0e\u539f\u6458\u8981\u6bd4\u8f83\uff0c\u5c31\u53ef\u77e5\u9053\u6d88\u606f\u662f\u5426\u88ab\u6539\u53d8\u4e86\u3002\u56e0\u6b64\u6d88\u606f\u6458\u8981\u4fdd\u8bc1\u4e86\u6d88\u606f\u7684\u5b8c\u6574\u6027\u3002",source:"@site/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6570\u5b57\u8bc1\u4e66",permalink:"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66"},next:{title:"\u7b49\u4fdd\u548c\u5bc6\u8bc4",permalink:"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4"}},c={},s=[{value:"MD5",id:"md5",level:3},{value:"SHA",id:"sha",level:3},{value:"MAC",id:"mac",level:3}],p={toc:s},u="wrapper";function y(e){let{components:t,...n}=e;return(0,o.yg)(u,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u6d88\u606f\u6458\u8981\uff08Message Digest\uff09\u53c8\u79f0\u4e3a\u6570\u5b57\u6458\u8981\uff08Digital Digest\uff09\u3002\u5b83\u662f\u4e00\u4e2a\u552f\u4e00\u5bf9\u5e94\u4e00\u4e2a\u6d88\u606f\u6216\u6587\u672c\u7684\u56fa\u5b9a\u957f\u5ea6\u7684\u503c\uff0c\u5b83\u7531\u4e00\u4e2a\u5355\u5411 Hash \u52a0\u5bc6\u51fd\u6570\u5bf9\u6d88\u606f\u8fdb\u884c\u4f5c\u7528\u800c\u4ea7\u751f\u3002\u5982\u679c\u6d88\u606f\u5728\u9014\u4e2d\u6539\u53d8\u4e86\uff0c\u5219\u63a5\u6536\u8005\u901a\u8fc7\u5bf9\u6536\u5230\u6d88\u606f\u7684\u65b0\u4ea7\u751f\u7684\u6458\u8981\u4e0e\u539f\u6458\u8981\u6bd4\u8f83\uff0c\u5c31\u53ef\u77e5\u9053\u6d88\u606f\u662f\u5426\u88ab\u6539\u53d8\u4e86\u3002\u56e0\u6b64\u6d88\u606f\u6458\u8981\u4fdd\u8bc1\u4e86\u6d88\u606f\u7684\u5b8c\u6574\u6027\u3002"),(0,o.yg)("p",null,'\u6d88\u606f\u6458\u8981\u91c7\u7528\u5355\u5411 Hash \u51fd\u6570\u5c06\u9700\u52a0\u5bc6\u7684\u660e\u6587"\u6458\u8981"\u6210\u4e00\u4e32\u56fa\u5b9a\u4f4d\u6570\uff08\u5982 128bit\uff09\u7684\u5bc6\u6587\uff0c\u8fd9\u4e00\u4e32\u5bc6\u6587\u4ea6\u79f0\u4e3a\u6570\u5b57\u6307\u7eb9\uff08Finger Print\uff09\uff0c\u5b83\u6709\u56fa\u5b9a\u7684\u957f\u5ea6\uff0c\u4e14\u4e0d\u540c\u7684\u660e\u6587\u6458\u8981\u6210\u5bc6\u6587\uff0c\u5176\u7ed3\u679c\u603b\u662f\u4e0d\u540c\u7684\uff0c\u800c\u540c\u6837\u7684\u660e\u6587\u5176\u6458\u8981\u5fc5\u5b9a\u4e00\u81f4\u3002\u8fd9\u6837\u8fd9\u4e32\u6458\u8981\u4fbf\u53ef\u6210\u4e3a\u9a8c\u8bc1\u660e\u6587\u662f\u5426\u662f\u201c\u771f\u8eab\u201d\u7684\u201c\u6307\u7eb9\u201d\u4e86\u3002'),(0,o.yg)("p",null,"\u6d88\u606f\u6458\u8981\u5177\u6709\u4e0d\u53ef\u9006\u6027\uff0c\u5728\u6d88\u606f\u6458\u8981\u751f\u6210\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u4e22\u5931\u5f88\u591a\u539f\u6587\u7684\u4fe1\u606f\uff0c\u800c\u4e14\u65e0\u6cd5\u627e\u56de\u3002\u4e00\u4e2a\u597d\u7684\u6458\u8981\u7b97\u6cd5\uff0c\u662f\u6781\u96be\u4ea7\u751f Hash \u78b0\u649e\u7684\uff0c\u4e5f\u5c31\u662f\u627e\u5230\u53e6\u4e00\u6bb5\u660e\u6587\u7ecf\u8ba1\u7b97\u540e\u4ea7\u751f\u76f8\u540c\u7684\u6458\u8981\u3002"),(0,o.yg)("h3",{id:"md5"},"MD5"),(0,o.yg)("p",null,"MD \u662f\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u4e00\u4e2a\u7b97\u6cd5\u5bb6\u65cf\uff0c\u5c24\u5176\u662f MD5\uff08Message-Digest Algorithm 5\uff0c\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u7248\u672c 5\uff09\uff0c\u5b83\u7531 MD2\u3001MD3\u3001MD4 \u53d1\u5c55\u800c\u6765\uff0c\u7531 Ron Rivest\uff08RSA \u516c\u53f8\uff09\u5728 1992 \u5e74\u63d0\u51fa\uff0c\u76ee\u524d\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u6570\u636e\u5b8c\u6574\u6027\u6821\u9a8c\u3001\u6570\u636e\uff08\u6d88\u606f\uff09\u6458\u8981\u3001\u6570\u636e\u52a0\u5bc6\u7b49\u3002MD2\u3001MD4\u3001MD5 \u90fd\u4ea7\u751f 16 \u5b57\u8282\uff08128 \u4f4d\uff09\u7684\u6821\u9a8c\u503c\uff0c\u4e00\u822c\u7528 32 \u4f4d\u5341\u516d\u8fdb\u5236\u6570\u8868\u793a\u3002MD2 \u7684\u7b97\u6cd5\u8f83\u6162\u4f46\u76f8\u5bf9\u5b89\u5168\uff0cMD4 \u901f\u5ea6\u5f88\u5feb\uff0c\u4f46\u5b89\u5168\u6027\u4e0b\u964d\uff0cMD5 \u6bd4 MD4 \u66f4\u5b89\u5168\u3001\u901f\u5ea6\u66f4\u5feb\u3002"),(0,o.yg)("p",null,"\u76ee\u524d\u5728\u4e92\u8054\u7f51\u4e0a\u8fdb\u884c\u5927\u6587\u4ef6\u4f20\u8f93\u65f6\uff0c\u90fd\u8981\u5f97\u7528 MD5 \u7b97\u6cd5\u4ea7\u751f\u4e00\u4e2a\u4e0e\u6587\u4ef6\u5339\u914d\u7684\u3001\u5b58\u50a8 MD5 \u503c\u7684\u6587\u672c\u6587\u4ef6\uff08\u540e\u7f00\u540d\u4e3a .md5 \u6216.md5sum\uff09\uff0c\u8fd9\u6837\u63a5\u6536\u8005\u5728\u63a5\u6536\u5230\u6587\u4ef6\u540e\uff0c\u5c31\u53ef\u4ee5\u5229\u7528\u4e0e SFV \u7c7b\u4f3c\u7684\u65b9\u6cd5\u6765\u68c0\u67e5\u6587\u4ef6\u5b8c\u6574\u6027\uff0c\u76ee\u524d\u7edd\u5927\u591a\u6570\u5927\u578b\u8f6f\u4ef6\u516c\u53f8\u6216\u5f00\u6e90\u7ec4\u7ec7\u90fd\u662f\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u6765\u6821\u9a8c\u6570\u636e\u5b8c\u6574\u6027\uff0c\u800c\u4e14\u90e8\u5206\u64cd\u4f5c\u7cfb\u7edf\u4e5f\u4f7f\u7528\u6b64\u7b97\u6cd5\u6765\u5bf9\u7528\u6237\u5bc6\u7801\u8fdb\u884c\u52a0\u5bc6\uff0c\u53e6\u5916\uff0c\u5b83\u4e5f\u662f\u76ee\u524d\u8ba1\u7b97\u673a\u72af\u7f6a\u4e2d\u6570\u636e\u53d6\u8bc1\u7684\u6700\u5e38\u7528\u7b97\u6cd5\u3002\u4e0e MD5 \u76f8\u5173\u7684\u5de5\u5177\u6709\u5f88\u591a\uff0c\u5982 WinMD5 \u7b49\u3002"),(0,o.yg)("h3",{id:"sha"},"SHA"),(0,o.yg)("p",null,"SHA\uff08Secure Hash Algorithm\uff09\u662f\u7531\u7f8e\u56fd\u4e13\u95e8\u5236\u5b9a\u5bc6\u7801\u7b97\u6cd5\u7684\u6807\u51c6\u673a\u6784\u2014\u2014\u7f8e\u56fd\u56fd\u5bb6\u6807\u51c6\u6280\u672f\u7814\u7a76\u9662\uff08NIST\uff09\u5236\u5b9a\u7684\uff0cSHA \u7cfb\u5217\u7b97\u6cd5\u7684\u6458\u8981\u957f\u5ea6\u5206\u522b\u4e3a\uff1aSHA-1 \u4e3a 20 \u5b57\u8282\uff08160 \u4f4d\uff09\u3001SHA-224 \u4e3a 32 \u5b57\u8282\uff08224 \u4f4d\uff09\u3001SHA-256 \u4e3a 32 \u5b57\u8282\uff08256 \u4f4d\uff09\u3001SHA-384 \u4e3a 48 \u5b57\u8282\uff08384 \u4f4d\uff09\u3001SHA-512 \u4e3a 64 \u5b57\u8282\uff08512 \u4f4d\uff09\uff0c\u7531\u4e8e\u5b83\u4ea7\u751f\u7684\u6570\u636e\u6458\u8981\u7684\u957f\u5ea6\u66f4\u957f\uff0c\u56e0\u6b64\u66f4\u96be\u4ee5\u53d1\u751f\u78b0\u649e\uff0c\u56e0\u6b64\u8f83\u4e4b MD5 \u66f4\u4e3a\u5b89\u5168\uff0c\u5b83\u662f\u672a\u6765\u6570\u636e\u6458\u8981\u7b97\u6cd5\u7684\u53d1\u5c55\u65b9\u5411\u3002\u7531\u4e8e SHA \u7cfb\u5217\u7b97\u6cd5\u7684\u6570\u636e\u6458\u8981\u957f\u5ea6\u8f83\u957f\uff0c\u56e0\u6b64\u5176\u8fd0\u7b97\u901f\u5ea6\u4e0e MD5 \u76f8\u6bd4\uff0c\u4e5f\u76f8\u5bf9\u8f83\u6162\u3002"),(0,o.yg)("p",null,"\u76ee\u524d SHA1 \u7684\u5e94\u7528\u8f83\u4e3a\u5e7f\u6cdb\uff0c\u4e3b\u8981\u5e94\u7528\u4e8e CA \u548c\u6570\u5b57\u8bc1\u4e66\u4e2d\uff0c\u53e6\u5916\u5728\u76ee\u524d\u4e92\u8054\u7f51\u4e2d\u6d41\u884c\u7684 BT \u8f6f\u4ef6\u4e2d\uff0c\u4e5f\u662f\u4f7f\u7528 SHA1 \u6765\u8fdb\u884c\u6587\u4ef6\u6821\u9a8c\u7684\u3002"),(0,o.yg)("h3",{id:"mac"},"MAC"),(0,o.yg)("p",null,"MAC \u7b97\u6cd5 (Message Authentication Codes \u6d88\u606f\u8ba4\u8bc1\u7801\u7b97\u6cd5) \u542b\u6709\u5bc6\u94a5\u7684\u6563\u5217\u51fd\u6570\u7b97\u6cd5\uff0c\u517c\u5bb9\u4e86 MD \u548c SHA \u7b97\u6cd5\u7684\u7279\u6027\uff0c\u5e76\u5728\u6b64\u57fa\u7840\u4e0a\u52a0\u4e0a\u4e86\u5bc6\u94a5\u3002\u56e0\u6b64 MAC \u7b97\u6cd5\u4e5f\u7ecf\u5e38\u88ab\u79f0\u4f5c HMAC \u7b97\u6cd5\u3002\u6d88\u606f\u7684\u6563\u5217\u503c\u7531\u53ea\u6709\u901a\u4fe1\u53cc\u65b9\u77e5\u9053\u7684\u5bc6\u94a5\u6765\u63a7\u5236\u3002\u6b64\u65f6 Hash \u503c\u79f0\u4f5c MAC\u3002"),(0,o.yg)("p",null,"\u7ecf\u8fc7 MAC \u7b97\u6cd5\u5f97\u5230\u7684\u6458\u8981\u503c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5341\u516d\u8fdb\u5236\u7f16\u7801\u8868\u793a\uff0c\u5176\u6458\u8981\u503c\u5f97\u957f\u5ea6\u4e0e\u5b9e\u73b0\u7b97\u6cd5\u7684\u6458\u8981\u503c\u957f\u5ea6\u76f8\u540c\u3002\u4f8b\u5982 HmacSHA \u7b97\u6cd5\u5f97\u5230\u7684\u6458\u8981\u957f\u5ea6\u5c31\u662f SHA1 \u7b97\u6cd5\u5f97\u5230\u7684\u6458\u8981\u957f\u5ea6\uff0c\u90fd\u662f 160 \u4f4d\u4e8c\u8fdb\u5236\u6570\uff0c\u6362\u7b97\u6210\u5341\u516d\u8fdb\u5236\u7684\u7f16\u7801\u4e3a 40 \u4f4d\u3002"),(0,o.yg)("p",null,"\u6d41\u7a0b\u5206\u6790\uff1a"),(0,o.yg)("p",null,"\u7532\u4e59\u53cc\u65b9\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u53ef\u4ee5\u91c7\u53d6\u5982\u4e0b\u6d41\u7a0b\uff1a"),(0,o.yg)("p",null,"1.\u7532\u65b9\u5411\u4e59\u65b9\u516c\u5e03\u6458\u8981\u7b97\u6cd5\uff08\u5c31\u662f\u6307\u5b9a\u8981\u4f7f\u7528\u7684\u6458\u8981\u7b97\u6cd5\u540d\uff09"),(0,o.yg)("p",null,"2.\u7532\u4e59\u53cc\u65b9\u6309\u7167\u7ea6\u5b9a\u6784\u9020\u5bc6\u94a5\uff0c\u53cc\u65b9\u62e5\u6709\u76f8\u540c\u7684\u5bc6\u94a5\uff08\u4e00\u822c\u662f\u4e00\u65b9\u6784\u9020\u5bc6\u94a5\u540e\u901a\u77e5\u53e6\u5916\u4e00\u65b9\uff0c\u6b64\u8fc7\u7a0b\u4e0d\u9700\u8981\u901a\u8fc7\u7a0b\u5e8f\u5b9e\u73b0\uff0c\u5c31\u662f\u53cc\u65b9\u7ea6\u5b9a\u4e2a\u5b57\u7b26\u4e32\uff0c\u4f46\u662f\u8fd9\u4e2a\u5b57\u7b26\u4e32\u53ef\u4e0d\u662f\u968f\u4fbf\u8bbe\u5b9a\u7684\uff0c\u4e5f\u662f\u901a\u8fc7\u76f8\u5173\u7b97\u6cd5\u83b7\u53d6\u7684\uff09"),(0,o.yg)("p",null,"3.\u7532\u65b9\u4f7f\u7528\u5bc6\u94a5\u5bf9\u6d88\u606f\u505a\u6458\u8981\u5904\u7406\uff0c\u7136\u540e\u5c06\u6d88\u606f\u548c\u751f\u6210\u7684\u6458\u8981\u6d88\u606f\u4e00\u540c\u53d1\u9001\u7ed9\u4e59\u65b9"),(0,o.yg)("p",null,"4.\u4e59\u65b9\u6536\u5230\u6d88\u606f\u540e\uff0c\u4f7f\u7528\u7532\u65b9\u5df2\u7ecf\u516c\u5e03\u7684\u6458\u8981\u7b97\u6cd5+\u7ea6\u5b9a\u597d\u7684\u5bc6\u94a5 \u5bf9\u6536\u5230\u7684\u6d88\u606f\u8fdb\u884c\u6458\u8981\u5904\u7406\u3002\u7136\u540e\u6bd4\u5bf9\u81ea\u5df1\u7684\u6458\u8981\u6d88\u606f\u548c\u7532\u65b9\u53d1\u8fc7\u6765\u7684\u6458\u8981\u6d88\u606f\u3002\u7504\u522b\u6d88\u606f\u662f\u5426\u662f\u7532\u65b9\u53d1\u9001\u8fc7\u6765\u7684\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7441],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>g});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=r.createContext({}),s=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},p=function(e){var t=s(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,l=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=s(n),d=o,g=u["".concat(c,".").concat(d)]||u[d]||y[d]||l;return n?r.createElement(g,a(a({ref:t},p),{},{components:n})):r.createElement(g,a({ref:t},p))}));function g(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=n.length,a=new Array(l);a[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[u]="string"==typeof e?e:o,a[1]=i;for(var s=2;s{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>y,frontMatter:()=>l,metadata:()=>i,toc:()=>s});var r=n(58168),o=(n(96540),n(15680));const l={},a=void 0,i={unversionedId:"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",id:"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",title:"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",description:"\u6d88\u606f\u6458\u8981\uff08Message Digest\uff09\u53c8\u79f0\u4e3a\u6570\u5b57\u6458\u8981\uff08Digital Digest\uff09\u3002\u5b83\u662f\u4e00\u4e2a\u552f\u4e00\u5bf9\u5e94\u4e00\u4e2a\u6d88\u606f\u6216\u6587\u672c\u7684\u56fa\u5b9a\u957f\u5ea6\u7684\u503c\uff0c\u5b83\u7531\u4e00\u4e2a\u5355\u5411 Hash \u52a0\u5bc6\u51fd\u6570\u5bf9\u6d88\u606f\u8fdb\u884c\u4f5c\u7528\u800c\u4ea7\u751f\u3002\u5982\u679c\u6d88\u606f\u5728\u9014\u4e2d\u6539\u53d8\u4e86\uff0c\u5219\u63a5\u6536\u8005\u901a\u8fc7\u5bf9\u6536\u5230\u6d88\u606f\u7684\u65b0\u4ea7\u751f\u7684\u6458\u8981\u4e0e\u539f\u6458\u8981\u6bd4\u8f83\uff0c\u5c31\u53ef\u77e5\u9053\u6d88\u606f\u662f\u5426\u88ab\u6539\u53d8\u4e86\u3002\u56e0\u6b64\u6d88\u606f\u6458\u8981\u4fdd\u8bc1\u4e86\u6d88\u606f\u7684\u5b8c\u6574\u6027\u3002",source:"@site/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6570\u5b57\u8bc1\u4e66",permalink:"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66"},next:{title:"\u7b49\u4fdd\u548c\u5bc6\u8bc4",permalink:"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4"}},c={},s=[{value:"MD5",id:"md5",level:3},{value:"SHA",id:"sha",level:3},{value:"MAC",id:"mac",level:3}],p={toc:s},u="wrapper";function y(e){let{components:t,...n}=e;return(0,o.yg)(u,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u6d88\u606f\u6458\u8981\uff08Message Digest\uff09\u53c8\u79f0\u4e3a\u6570\u5b57\u6458\u8981\uff08Digital Digest\uff09\u3002\u5b83\u662f\u4e00\u4e2a\u552f\u4e00\u5bf9\u5e94\u4e00\u4e2a\u6d88\u606f\u6216\u6587\u672c\u7684\u56fa\u5b9a\u957f\u5ea6\u7684\u503c\uff0c\u5b83\u7531\u4e00\u4e2a\u5355\u5411 Hash \u52a0\u5bc6\u51fd\u6570\u5bf9\u6d88\u606f\u8fdb\u884c\u4f5c\u7528\u800c\u4ea7\u751f\u3002\u5982\u679c\u6d88\u606f\u5728\u9014\u4e2d\u6539\u53d8\u4e86\uff0c\u5219\u63a5\u6536\u8005\u901a\u8fc7\u5bf9\u6536\u5230\u6d88\u606f\u7684\u65b0\u4ea7\u751f\u7684\u6458\u8981\u4e0e\u539f\u6458\u8981\u6bd4\u8f83\uff0c\u5c31\u53ef\u77e5\u9053\u6d88\u606f\u662f\u5426\u88ab\u6539\u53d8\u4e86\u3002\u56e0\u6b64\u6d88\u606f\u6458\u8981\u4fdd\u8bc1\u4e86\u6d88\u606f\u7684\u5b8c\u6574\u6027\u3002"),(0,o.yg)("p",null,'\u6d88\u606f\u6458\u8981\u91c7\u7528\u5355\u5411 Hash \u51fd\u6570\u5c06\u9700\u52a0\u5bc6\u7684\u660e\u6587"\u6458\u8981"\u6210\u4e00\u4e32\u56fa\u5b9a\u4f4d\u6570\uff08\u5982 128bit\uff09\u7684\u5bc6\u6587\uff0c\u8fd9\u4e00\u4e32\u5bc6\u6587\u4ea6\u79f0\u4e3a\u6570\u5b57\u6307\u7eb9\uff08Finger Print\uff09\uff0c\u5b83\u6709\u56fa\u5b9a\u7684\u957f\u5ea6\uff0c\u4e14\u4e0d\u540c\u7684\u660e\u6587\u6458\u8981\u6210\u5bc6\u6587\uff0c\u5176\u7ed3\u679c\u603b\u662f\u4e0d\u540c\u7684\uff0c\u800c\u540c\u6837\u7684\u660e\u6587\u5176\u6458\u8981\u5fc5\u5b9a\u4e00\u81f4\u3002\u8fd9\u6837\u8fd9\u4e32\u6458\u8981\u4fbf\u53ef\u6210\u4e3a\u9a8c\u8bc1\u660e\u6587\u662f\u5426\u662f\u201c\u771f\u8eab\u201d\u7684\u201c\u6307\u7eb9\u201d\u4e86\u3002'),(0,o.yg)("p",null,"\u6d88\u606f\u6458\u8981\u5177\u6709\u4e0d\u53ef\u9006\u6027\uff0c\u5728\u6d88\u606f\u6458\u8981\u751f\u6210\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u4e22\u5931\u5f88\u591a\u539f\u6587\u7684\u4fe1\u606f\uff0c\u800c\u4e14\u65e0\u6cd5\u627e\u56de\u3002\u4e00\u4e2a\u597d\u7684\u6458\u8981\u7b97\u6cd5\uff0c\u662f\u6781\u96be\u4ea7\u751f Hash \u78b0\u649e\u7684\uff0c\u4e5f\u5c31\u662f\u627e\u5230\u53e6\u4e00\u6bb5\u660e\u6587\u7ecf\u8ba1\u7b97\u540e\u4ea7\u751f\u76f8\u540c\u7684\u6458\u8981\u3002"),(0,o.yg)("h3",{id:"md5"},"MD5"),(0,o.yg)("p",null,"MD \u662f\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u4e00\u4e2a\u7b97\u6cd5\u5bb6\u65cf\uff0c\u5c24\u5176\u662f MD5\uff08Message-Digest Algorithm 5\uff0c\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u7248\u672c 5\uff09\uff0c\u5b83\u7531 MD2\u3001MD3\u3001MD4 \u53d1\u5c55\u800c\u6765\uff0c\u7531 Ron Rivest\uff08RSA \u516c\u53f8\uff09\u5728 1992 \u5e74\u63d0\u51fa\uff0c\u76ee\u524d\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u6570\u636e\u5b8c\u6574\u6027\u6821\u9a8c\u3001\u6570\u636e\uff08\u6d88\u606f\uff09\u6458\u8981\u3001\u6570\u636e\u52a0\u5bc6\u7b49\u3002MD2\u3001MD4\u3001MD5 \u90fd\u4ea7\u751f 16 \u5b57\u8282\uff08128 \u4f4d\uff09\u7684\u6821\u9a8c\u503c\uff0c\u4e00\u822c\u7528 32 \u4f4d\u5341\u516d\u8fdb\u5236\u6570\u8868\u793a\u3002MD2 \u7684\u7b97\u6cd5\u8f83\u6162\u4f46\u76f8\u5bf9\u5b89\u5168\uff0cMD4 \u901f\u5ea6\u5f88\u5feb\uff0c\u4f46\u5b89\u5168\u6027\u4e0b\u964d\uff0cMD5 \u6bd4 MD4 \u66f4\u5b89\u5168\u3001\u901f\u5ea6\u66f4\u5feb\u3002"),(0,o.yg)("p",null,"\u76ee\u524d\u5728\u4e92\u8054\u7f51\u4e0a\u8fdb\u884c\u5927\u6587\u4ef6\u4f20\u8f93\u65f6\uff0c\u90fd\u8981\u5f97\u7528 MD5 \u7b97\u6cd5\u4ea7\u751f\u4e00\u4e2a\u4e0e\u6587\u4ef6\u5339\u914d\u7684\u3001\u5b58\u50a8 MD5 \u503c\u7684\u6587\u672c\u6587\u4ef6\uff08\u540e\u7f00\u540d\u4e3a .md5 \u6216.md5sum\uff09\uff0c\u8fd9\u6837\u63a5\u6536\u8005\u5728\u63a5\u6536\u5230\u6587\u4ef6\u540e\uff0c\u5c31\u53ef\u4ee5\u5229\u7528\u4e0e SFV \u7c7b\u4f3c\u7684\u65b9\u6cd5\u6765\u68c0\u67e5\u6587\u4ef6\u5b8c\u6574\u6027\uff0c\u76ee\u524d\u7edd\u5927\u591a\u6570\u5927\u578b\u8f6f\u4ef6\u516c\u53f8\u6216\u5f00\u6e90\u7ec4\u7ec7\u90fd\u662f\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u6765\u6821\u9a8c\u6570\u636e\u5b8c\u6574\u6027\uff0c\u800c\u4e14\u90e8\u5206\u64cd\u4f5c\u7cfb\u7edf\u4e5f\u4f7f\u7528\u6b64\u7b97\u6cd5\u6765\u5bf9\u7528\u6237\u5bc6\u7801\u8fdb\u884c\u52a0\u5bc6\uff0c\u53e6\u5916\uff0c\u5b83\u4e5f\u662f\u76ee\u524d\u8ba1\u7b97\u673a\u72af\u7f6a\u4e2d\u6570\u636e\u53d6\u8bc1\u7684\u6700\u5e38\u7528\u7b97\u6cd5\u3002\u4e0e MD5 \u76f8\u5173\u7684\u5de5\u5177\u6709\u5f88\u591a\uff0c\u5982 WinMD5 \u7b49\u3002"),(0,o.yg)("h3",{id:"sha"},"SHA"),(0,o.yg)("p",null,"SHA\uff08Secure Hash Algorithm\uff09\u662f\u7531\u7f8e\u56fd\u4e13\u95e8\u5236\u5b9a\u5bc6\u7801\u7b97\u6cd5\u7684\u6807\u51c6\u673a\u6784\u2014\u2014\u7f8e\u56fd\u56fd\u5bb6\u6807\u51c6\u6280\u672f\u7814\u7a76\u9662\uff08NIST\uff09\u5236\u5b9a\u7684\uff0cSHA \u7cfb\u5217\u7b97\u6cd5\u7684\u6458\u8981\u957f\u5ea6\u5206\u522b\u4e3a\uff1aSHA-1 \u4e3a 20 \u5b57\u8282\uff08160 \u4f4d\uff09\u3001SHA-224 \u4e3a 32 \u5b57\u8282\uff08224 \u4f4d\uff09\u3001SHA-256 \u4e3a 32 \u5b57\u8282\uff08256 \u4f4d\uff09\u3001SHA-384 \u4e3a 48 \u5b57\u8282\uff08384 \u4f4d\uff09\u3001SHA-512 \u4e3a 64 \u5b57\u8282\uff08512 \u4f4d\uff09\uff0c\u7531\u4e8e\u5b83\u4ea7\u751f\u7684\u6570\u636e\u6458\u8981\u7684\u957f\u5ea6\u66f4\u957f\uff0c\u56e0\u6b64\u66f4\u96be\u4ee5\u53d1\u751f\u78b0\u649e\uff0c\u56e0\u6b64\u8f83\u4e4b MD5 \u66f4\u4e3a\u5b89\u5168\uff0c\u5b83\u662f\u672a\u6765\u6570\u636e\u6458\u8981\u7b97\u6cd5\u7684\u53d1\u5c55\u65b9\u5411\u3002\u7531\u4e8e SHA \u7cfb\u5217\u7b97\u6cd5\u7684\u6570\u636e\u6458\u8981\u957f\u5ea6\u8f83\u957f\uff0c\u56e0\u6b64\u5176\u8fd0\u7b97\u901f\u5ea6\u4e0e MD5 \u76f8\u6bd4\uff0c\u4e5f\u76f8\u5bf9\u8f83\u6162\u3002"),(0,o.yg)("p",null,"\u76ee\u524d SHA1 \u7684\u5e94\u7528\u8f83\u4e3a\u5e7f\u6cdb\uff0c\u4e3b\u8981\u5e94\u7528\u4e8e CA \u548c\u6570\u5b57\u8bc1\u4e66\u4e2d\uff0c\u53e6\u5916\u5728\u76ee\u524d\u4e92\u8054\u7f51\u4e2d\u6d41\u884c\u7684 BT \u8f6f\u4ef6\u4e2d\uff0c\u4e5f\u662f\u4f7f\u7528 SHA1 \u6765\u8fdb\u884c\u6587\u4ef6\u6821\u9a8c\u7684\u3002"),(0,o.yg)("h3",{id:"mac"},"MAC"),(0,o.yg)("p",null,"MAC \u7b97\u6cd5 (Message Authentication Codes \u6d88\u606f\u8ba4\u8bc1\u7801\u7b97\u6cd5) \u542b\u6709\u5bc6\u94a5\u7684\u6563\u5217\u51fd\u6570\u7b97\u6cd5\uff0c\u517c\u5bb9\u4e86 MD \u548c SHA \u7b97\u6cd5\u7684\u7279\u6027\uff0c\u5e76\u5728\u6b64\u57fa\u7840\u4e0a\u52a0\u4e0a\u4e86\u5bc6\u94a5\u3002\u56e0\u6b64 MAC \u7b97\u6cd5\u4e5f\u7ecf\u5e38\u88ab\u79f0\u4f5c HMAC \u7b97\u6cd5\u3002\u6d88\u606f\u7684\u6563\u5217\u503c\u7531\u53ea\u6709\u901a\u4fe1\u53cc\u65b9\u77e5\u9053\u7684\u5bc6\u94a5\u6765\u63a7\u5236\u3002\u6b64\u65f6 Hash \u503c\u79f0\u4f5c MAC\u3002"),(0,o.yg)("p",null,"\u7ecf\u8fc7 MAC \u7b97\u6cd5\u5f97\u5230\u7684\u6458\u8981\u503c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5341\u516d\u8fdb\u5236\u7f16\u7801\u8868\u793a\uff0c\u5176\u6458\u8981\u503c\u5f97\u957f\u5ea6\u4e0e\u5b9e\u73b0\u7b97\u6cd5\u7684\u6458\u8981\u503c\u957f\u5ea6\u76f8\u540c\u3002\u4f8b\u5982 HmacSHA \u7b97\u6cd5\u5f97\u5230\u7684\u6458\u8981\u957f\u5ea6\u5c31\u662f SHA1 \u7b97\u6cd5\u5f97\u5230\u7684\u6458\u8981\u957f\u5ea6\uff0c\u90fd\u662f 160 \u4f4d\u4e8c\u8fdb\u5236\u6570\uff0c\u6362\u7b97\u6210\u5341\u516d\u8fdb\u5236\u7684\u7f16\u7801\u4e3a 40 \u4f4d\u3002"),(0,o.yg)("p",null,"\u6d41\u7a0b\u5206\u6790\uff1a"),(0,o.yg)("p",null,"\u7532\u4e59\u53cc\u65b9\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u53ef\u4ee5\u91c7\u53d6\u5982\u4e0b\u6d41\u7a0b\uff1a"),(0,o.yg)("p",null,"1.\u7532\u65b9\u5411\u4e59\u65b9\u516c\u5e03\u6458\u8981\u7b97\u6cd5\uff08\u5c31\u662f\u6307\u5b9a\u8981\u4f7f\u7528\u7684\u6458\u8981\u7b97\u6cd5\u540d\uff09"),(0,o.yg)("p",null,"2.\u7532\u4e59\u53cc\u65b9\u6309\u7167\u7ea6\u5b9a\u6784\u9020\u5bc6\u94a5\uff0c\u53cc\u65b9\u62e5\u6709\u76f8\u540c\u7684\u5bc6\u94a5\uff08\u4e00\u822c\u662f\u4e00\u65b9\u6784\u9020\u5bc6\u94a5\u540e\u901a\u77e5\u53e6\u5916\u4e00\u65b9\uff0c\u6b64\u8fc7\u7a0b\u4e0d\u9700\u8981\u901a\u8fc7\u7a0b\u5e8f\u5b9e\u73b0\uff0c\u5c31\u662f\u53cc\u65b9\u7ea6\u5b9a\u4e2a\u5b57\u7b26\u4e32\uff0c\u4f46\u662f\u8fd9\u4e2a\u5b57\u7b26\u4e32\u53ef\u4e0d\u662f\u968f\u4fbf\u8bbe\u5b9a\u7684\uff0c\u4e5f\u662f\u901a\u8fc7\u76f8\u5173\u7b97\u6cd5\u83b7\u53d6\u7684\uff09"),(0,o.yg)("p",null,"3.\u7532\u65b9\u4f7f\u7528\u5bc6\u94a5\u5bf9\u6d88\u606f\u505a\u6458\u8981\u5904\u7406\uff0c\u7136\u540e\u5c06\u6d88\u606f\u548c\u751f\u6210\u7684\u6458\u8981\u6d88\u606f\u4e00\u540c\u53d1\u9001\u7ed9\u4e59\u65b9"),(0,o.yg)("p",null,"4.\u4e59\u65b9\u6536\u5230\u6d88\u606f\u540e\uff0c\u4f7f\u7528\u7532\u65b9\u5df2\u7ecf\u516c\u5e03\u7684\u6458\u8981\u7b97\u6cd5+\u7ea6\u5b9a\u597d\u7684\u5bc6\u94a5 \u5bf9\u6536\u5230\u7684\u6d88\u606f\u8fdb\u884c\u6458\u8981\u5904\u7406\u3002\u7136\u540e\u6bd4\u5bf9\u81ea\u5df1\u7684\u6458\u8981\u6d88\u606f\u548c\u7532\u65b9\u53d1\u8fc7\u6765\u7684\u6458\u8981\u6d88\u606f\u3002\u7504\u522b\u6d88\u606f\u662f\u5426\u662f\u7532\u65b9\u53d1\u9001\u8fc7\u6765\u7684\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/84ea7d53.63639aa1.js b/assets/js/84ea7d53.60b9d452.js similarity index 99% rename from assets/js/84ea7d53.63639aa1.js rename to assets/js/84ea7d53.60b9d452.js index 97d726d8d..55405de95 100644 --- a/assets/js/84ea7d53.63639aa1.js +++ b/assets/js/84ea7d53.60b9d452.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[0],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>m});var a=n(96540);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var g=a.createContext({}),u=function(e){var t=a.useContext(g),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},y=function(e){var t=u(e.components);return a.createElement(g.Provider,{value:t},e.children)},o="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,l=e.originalType,g=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),o=u(n),c=r,m=o["".concat(g,".").concat(c)]||o[c]||d[c]||l;return n?a.createElement(m,p(p({ref:t},y),{},{components:n})):a.createElement(m,p({ref:t},y))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var l=n.length,p=new Array(l);p[0]=c;var i={};for(var g in t)hasOwnProperty.call(t,g)&&(i[g]=t[g]);i.originalType=e,i[o]="string"==typeof e?e:r,p[1]=i;for(var u=2;u{n.r(t),n.d(t,{assets:()=>g,contentTitle:()=>p,default:()=>d,frontMatter:()=>l,metadata:()=>i,toc:()=>u});var a=n(58168),r=(n(96540),n(15680));const l={},p=void 0,i={unversionedId:"study/net/vpn",id:"study/net/vpn",title:"vpn",description:"\u7b80\u4ecb",source:"@site/docs/study/net/vpn.md",sourceDirName:"study/net",slug:"/study/net/vpn",permalink:"/docs/study/net/vpn",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"tuntap",permalink:"/docs/study/net/tuntap"},next:{title:"\u4ee3\u7406",permalink:"/docs/study/net/\u4ee3\u7406"}},g={},u=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u5206\u7c7b",id:"\u5206\u7c7b",level:3},{value:"\u6309 VPN \u7684\u534f\u8bae\u5206\u7c7b",id:"\u6309-vpn-\u7684\u534f\u8bae\u5206\u7c7b",level:4},{value:"\u5206\u7c7b\u6bd4\u8f83",id:"\u5206\u7c7b\u6bd4\u8f83",level:4},{value:"OpenVPN",id:"openvpn",level:3},{value:"PPTP",id:"pptp",level:3},{value:"L2TP",id:"l2tp",level:3},{value:"IKEv2/IPSec",id:"ikev2ipsec",level:3},{value:"SSTP",id:"sstp",level:3},{value:"WireGuard",id:"wireguard",level:3},{value:"Shadowsocks",id:"shadowsocks",level:3},{value:"\u5bf9\u6bd4",id:"\u5bf9\u6bd4",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],y={toc:u},o="wrapper";function d(e){let{components:t,...l}=e;return(0,r.yg)(o,(0,a.A)({},y,l,{components:t,mdxType:"MDXLayout"}),(0,r.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,r.yg)("p",null,"\u865a\u62df\u4e13\u7528\u7f51\u7edc(VPN)\u7684\u529f\u80fd\u662f\uff1a\u5728\u516c\u7528\u7f51\u7edc\u4e0a\u5efa\u7acb\u4e13\u7528\u7f51\u7edc\uff0c\u8fdb\u884c\u52a0\u5bc6\u901a\u8baf\u3002\u5728\u4f01\u4e1a\u7f51\u7edc\u4e2d\u6709\u5e7f\u6cdb\u5e94\u7528\u3002VPN \u7f51\u5173\u901a\u8fc7\u5bf9\u6570\u636e\u5305\u7684\u52a0\u5bc6\u548c\u6570\u636e\u5305\u76ee\u6807\u5730\u5740\u7684\u8f6c\u6362\u5b9e\u73b0\u8fdc\u7a0b\u8bbf\u95ee\u3002VPN \u53ef\u901a\u8fc7\u670d\u52a1\u5668\u3001\u786c\u4ef6\u3001\u8f6f\u4ef6\u7b49\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\u3002"),(0,r.yg)("p",null,"VPN \u5c5e\u4e8e\u8fdc\u7a0b\u8bbf\u95ee\u6280\u672f\uff0c\u7b80\u5355\u5730\u8bf4\u5c31\u662f\u5229\u7528\u516c\u7528\u7f51\u7edc\u67b6\u8bbe\u4e13\u7528\u7f51\u7edc\u3002\u4f8b\u5982\u67d0\u516c\u53f8\u5458\u5de5\u51fa\u5dee\u5230\u5916\u5730\uff0c\u4ed6\u60f3\u8bbf\u95ee\u4f01\u4e1a\u5185\u7f51\u7684\u670d\u52a1\u5668\u8d44\u6e90\uff0c\u8fd9\u79cd\u8bbf\u95ee\u5c31\u5c5e\u4e8e\u8fdc\u7a0b\u8bbf\u95ee\u3002"),(0,r.yg)("p",null,"\u8ba9\u5916\u5730\u5458\u5de5\u8bbf\u95ee\u5230\u5185\u7f51\u8d44\u6e90\uff0c\u5229\u7528 VPN \u7684\u89e3\u51b3\u65b9\u6cd5\u5c31\u662f\u5728\u5185\u7f51\u4e2d\u67b6\u8bbe\u4e00\u53f0 VPN \u670d\u52a1\u5668\u3002\u5916\u5730\u5458\u5de5\u5728\u5f53\u5730\u8fde\u4e0a\u4e92\u8054\u7f51\u540e\uff0c\u901a\u8fc7\u4e92\u8054\u7f51\u8fde\u63a5 VPN \u670d\u52a1\u5668\uff0c\u7136\u540e\u901a\u8fc7 VPN \u670d\u52a1\u5668\u8fdb\u5165\u4f01\u4e1a\u5185\u7f51\u3002\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u5b89\u5168\uff0cVPN \u670d\u52a1\u5668\u548c\u5ba2\u6237\u673a\u4e4b\u95f4\u7684\u901a\u8baf\u6570\u636e\u90fd\u8fdb\u884c\u4e86\u52a0\u5bc6\u5904\u7406\u3002\u6709\u4e86\u6570\u636e\u52a0\u5bc6\uff0c\u5c31\u53ef\u4ee5\u8ba4\u4e3a\u6570\u636e\u662f\u5728\u4e00\u6761\u4e13\u7528\u7684\u6570\u636e\u94fe\u8def\u4e0a\u8fdb\u884c\u5b89\u5168\u4f20\u8f93\uff0c\u5c31\u5982\u540c\u4e13\u95e8\u67b6\u8bbe\u4e86\u4e00\u4e2a\u4e13\u7528\u7f51\u7edc\u4e00\u6837\uff0c\u4f46\u5b9e\u9645\u4e0a VPN \u4f7f\u7528\u7684\u662f\u4e92\u8054\u7f51\u4e0a\u7684\u516c\u7528\u94fe\u8def\uff0c\u56e0\u6b64 VPN \u79f0\u4e3a\u865a\u62df\u4e13\u7528\u7f51\u7edc\uff0c\u5176\u5b9e\u8d28\u4e0a\u5c31\u662f\u5229\u7528\u52a0\u5bc6\u6280\u672f\u5728\u516c\u7f51\u4e0a\u5c01\u88c5\u51fa\u4e00\u4e2a\u6570\u636e\u901a\u8baf\u96a7\u9053\u3002\u6709\u4e86 VPN \u6280\u672f\uff0c\u7528\u6237\u65e0\u8bba\u662f\u5728\u5916\u5730\u51fa\u5dee\u8fd8\u662f\u5728\u5bb6\u4e2d\u529e\u516c\uff0c\u53ea\u8981\u80fd\u4e0a\u4e92\u8054\u7f51\u5c31\u80fd\u5229\u7528 VPN \u8bbf\u95ee\u5185\u7f51\u8d44\u6e90\uff0c\u8fd9\u5c31\u662f VPN \u5728\u4f01\u4e1a\u4e2d\u5e94\u7528\u5f97\u5982\u6b64\u5e7f\u6cdb\u7684\u539f\u56e0\u3002"),(0,r.yg)("h3",{id:"\u5206\u7c7b"},"\u5206\u7c7b"),(0,r.yg)("h4",{id:"\u6309-vpn-\u7684\u534f\u8bae\u5206\u7c7b"},"\u6309 VPN \u7684\u534f\u8bae\u5206\u7c7b"),(0,r.yg)("p",null,"VPN \u7684\u96a7\u9053\u534f\u8bae\u4e3b\u8981\u6709\u4e09\u79cd\uff0cPPTP\u3001L2TP \u548c IPSec\uff0c\u5176\u4e2d PPTP \u548c L2TP \u534f\u8bae\u5de5\u4f5c\u5728 OSI \u6a21\u578b\u7684\u7b2c\u4e8c\u5c42\uff0c\u53c8\u79f0\u4e3a\u4e8c\u5c42\u96a7\u9053\u534f\u8bae\uff1bIPSec \u662f\u7b2c\u4e09\u5c42\u96a7\u9053\u534f\u8bae\u3002"),(0,r.yg)("p",null,(0,r.yg)("img",{alt:"OSI \u6a21\u578b",src:n(16323).A,width:"640",height:"273"})),(0,r.yg)("h4",{id:"\u5206\u7c7b\u6bd4\u8f83"},"\u5206\u7c7b\u6bd4\u8f83"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"VPN \u5206\u7c7b"),(0,r.yg)("th",{parentName:"tr",align:null},"\u901f\u5ea6"),(0,r.yg)("th",{parentName:"tr",align:null},"\u5b89\u5168"),(0,r.yg)("th",{parentName:"tr",align:null},"\u52a0\u5bc6"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"OpenVPN"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"PPTP"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"L2TP"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee\uff08\u9664\u975e\u548c IPSec \u914d\u5408\uff09")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"IKEv2/IPSec"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"SSTP"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"WireGuard"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"Shadowsocks"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f")))),(0,r.yg)("h3",{id:"openvpn"},"OpenVPN"),(0,r.yg)("p",null,"OpenVPN \u662f\u4e00\u4e2a\u57fa\u4e8e OpenSSL \u5e93\u7684",(0,r.yg)("strong",{parentName:"p"},(0,r.yg)("em",{parentName:"strong"},"\u5e94\u7528\u5c42"))," VPN \u5b9e\u73b0\u3002\u548c\u4f20\u7edf VPN \u76f8\u6bd4\uff0c\u5b83\u7684\u4f18\u70b9\u662f\u7b80\u5355\u6613\u7528\u3002"),(0,r.yg)("p",null,"OpenVpn \u7684\u6280\u672f\u6838\u5fc3\u662f\u865a\u62df\u7f51\u5361\uff0c\u5176\u6b21\u662f SSL \u534f\u8bae\u5b9e\u73b0\u3002"),(0,r.yg)("p",null,"\u5bf9\u865a\u62df\u7f51\u5361\u53ca\u5176\u5728 OpenVpn \u7684\u4e2d\u7684\u5de5\u4f5c\u673a\u7406\u8fdb\u884c\u4ecb\u7ecd\uff1a"),(0,r.yg)("p",null,"\u865a\u62df\u7f51\u5361\u662f\u4f7f\u7528\u7f51\u7edc\u5e95\u5c42\u7f16\u7a0b\u6280\u672f\u5b9e\u73b0\u7684\u4e00\u4e2a\u9a71\u52a8\u8f6f\u4ef6\uff0c\u5b89\u88c5\u540e\u5728\u4e3b\u673a\u4e0a\u591a\u51fa\u73b0\u4e00\u4e2a\u7f51\u5361\uff0c\u53ef\u4ee5\u50cf\u5176\u5b83\u7f51\u5361\u4e00\u6837\u8fdb\u884c\u914d\u7f6e\u3002\u670d\u52a1\u7a0b\u5e8f\u53ef\u4ee5\u5728\u5e94\u7528\u5c42\u6253\u5f00\u865a\u62df\u7f51\u5361\uff0c\u5982\u679c\u5e94\u7528\u8f6f\u4ef6\uff08\u5982 IE\uff09\u5411\u865a\u62df\u7f51\u5361\u53d1\u9001\u6570\u636e\uff0c\u5219\u670d\u52a1\u7a0b\u5e8f\u53ef\u4ee5\u8bfb\u53d6\u5230\u8be5\u6570\u636e\uff0c\u5982\u679c\u670d\u52a1\u7a0b\u5e8f\u5199\u5408\u9002\u7684\u6570\u636e\u5230\u865a\u62df\u7f51\u5361\uff0c\u5e94\u7528\u8f6f\u4ef6\u4e5f\u53ef\u4ee5\u63a5\u6536\u5f97\u5230\u3002\u865a\u62df\u7f51\u5361\u5728\u5f88\u591a\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u90fd\u6709\u76f8\u5e94\u7684\u5b9e\u73b0\uff0c\u8fd9\u4e5f\u662f OpenVpn \u80fd\u591f\u8de8\u5e73\u53f0\u4e00\u4e2a\u5f88\u91cd\u8981\u7684\u7406\u7531\u3002"),(0,r.yg)("p",null,"\u5728 OpenVpn \u4e2d\uff0c\u5982\u679c\u7528\u6237\u8bbf\u95ee\u4e00\u4e2a\u8fdc\u7a0b\u7684\u865a\u62df\u5730\u5740\uff08\u5c5e\u4e8e\u865a\u62df\u7f51\u5361\u914d\u7528\u7684\u5730\u5740\u7cfb\u5217\uff0c\u533a\u522b\u4e8e\u771f\u5b9e\u5730\u5740\uff09\uff0c\u5219\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u901a\u8fc7\u8def\u7531\u673a\u5236\u5c06\u6570\u636e\u5305\uff08TUN \u6a21\u5f0f\uff09\u6216\u6570\u636e\u5e27\uff08TAP \u6a21\u5f0f\uff09\u53d1\u9001\u5230\u865a\u62df\u7f51\u5361\u4e0a\uff0c\u670d\u52a1\u7a0b\u5e8f\u63a5\u6536\u8be5\u6570\u636e\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u540e\uff0c\u901a\u8fc7 SOCKET \u4ece\u5916\u7f51\u4e0a\u53d1\u9001\u51fa\u53bb\uff0c\u8fdc\u7a0b\u670d\u52a1\u7a0b\u5e8f\u901a\u8fc7 SOCKET \u4ece\u5916\u7f51\u4e0a\u63a5\u6536\u6570\u636e\uff0c\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u540e\uff0c\u53d1\u9001\u7ed9\u865a\u62df\u7f51\u5361\uff0c\u5219\u5e94\u7528\u8f6f\u4ef6\u53ef\u4ee5\u63a5\u6536\u5230\uff0c\u5b8c\u6210\u4e86\u4e00\u4e2a\u5355\u5411\u4f20\u8f93\u7684\u8fc7\u7a0b\uff0c\u53cd\u4e4b\u4ea6\u7136\u3002"),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://community.openvpn.net/openvpn"},"https://community.openvpn.net/openvpn")),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://pritunl.com/"},"https://pritunl.com/")),(0,r.yg)("h3",{id:"pptp"},"PPTP"),(0,r.yg)("p",null,"\u7531\u5fae\u8f6f\u548c\u5176\u4ed6\u516c\u53f8\u4e8e 1999 \u5e74\u5f00\u53d1\uff0c\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u4f46\u662f\u73b0\u5728\u57fa\u672c\u88ab\u8ba4\u4e3a\u662f\u4e0d\u5b89\u5168\u7684\u3001\u8fc7\u65f6\u7684\u3002"),(0,r.yg)("h3",{id:"l2tp"},"L2TP"),(0,r.yg)("p",null,"\u7b2c\u4e8c\u5c42\u96a7\u9053\u534f\u8bae\u5927\u7ea6\u4e0e PPTP \u540c\u65f6\u5f00\u53d1\u3002\u4f5c\u4e3a\u4e00\u79cd\u96a7\u9053\u534f\u8bae\uff0c\u5b83\u672c\u8eab\u4e0d\u52a0\u5bc6\u6570\u636e\uff0c\u56e0\u6b64\u901a\u5e38\u4e0e IPSec \u914d\u5bf9\u3002\u8fd9\u79cd\u6a21\u5757\u5316\u4f7f\u5b83\u80fd\u591f\u5229\u7528 AES \u52a0\u5bc6\u3002"),(0,r.yg)("p",null,"\u548c PPTP \u5dee\u4e0d\u591a\uff0c\u5e94\u7528\u4e5f\u5f88\u5e7f\u6cdb\uff0c\u4f46\u662f\u5b58\u5728\u4e00\u5b9a\u7684\u9632\u706b\u5899\u95ee\u9898\u3002"),(0,r.yg)("h3",{id:"ikev2ipsec"},"IKEv2/IPSec"),(0,r.yg)("p",null,"\u601d\u79d1\u548c\u5fae\u8f6f\u5f00\u53d1\uff0c\u4e5f\u6709\u5f88\u591a\u5f00\u6e90\u7248\u672c\uff0c\u5bf9\u79fb\u52a8\u7aef\u652f\u6301\u66f4\u52a0\u53cb\u597d\u4e00\u4e9b\u3002"),(0,r.yg)("h3",{id:"sstp"},"SSTP"),(0,r.yg)("p",null,"\u662f\u5fae\u8f6f\u5f00\u53d1\u7528\u4e8e\u66ff\u4ee3 PPTP \u7684\u65b0\u534f\u8bae\uff0c\u4f46\u662f\u4e0d\u662f\u5f00\u6e90\u7684\u3002"),(0,r.yg)("h3",{id:"wireguard"},"WireGuard"),(0,r.yg)("p",null,"WireGuard \u662f\u6700\u65b0\u7684\uff0c\u4e8e 2016 \u5e74\u5f00\u53d1\u3002\u4ed6\u7684\u4ee3\u7801\u91cf\u975e\u5e38\u5c0f\uff0c\u53ea\u6709 4K\uff0c\u4ee3\u7801\u91cf\u5c0f\uff0c\u610f\u5473\u7740\u597d\u7ef4\u62a4\u4ee5\u53ca\u5bb9\u6613\u53d1\u73b0\u95ee\u9898\u3002\u5f00\u6e90\u3002"),(0,r.yg)("p",null,"\u53c8\u5feb\u53c8\u5b89\u5168\uff0c\u4f46\u662f\u5bf9\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\u8981\u6c42\u8f83\u9ad8\u3002"),(0,r.yg)("h3",{id:"shadowsocks"},"Shadowsocks"),(0,r.yg)("p",null,"Shadowsocks \u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u52a0\u5bc6\u534f\u8bae\u9879\u76ee\u3002\u5b83\u57fa\u4e8e SOCKS5 \u4ee3\u7406\uff0c\u5373 SOCKS \u534f\u8bae\u7684\u7b2c\u4e94\u4e2a\u7248\u672c\uff0c\u7528\u4e8e\u901a\u8fc7\u4ee3\u7406\u8def\u7531\u60a8\u7684\u6d41\u91cf\u3002"),(0,r.yg)("p",null,"Shadowsocks \u65e8\u5728\u63d0\u4f9b\u8fd9\u79cd\u52a0\u5bc6\uff0c\u56e0\u4e3a\u5b83\u7684\u76ee\u7684\u53ea\u6709\u4e00\u4e2a\uff1a\u7ed5\u8fc7\u4e2d\u56fd\u9632\u706b\u957f\u57ce\u3002"),(0,r.yg)("h3",{id:"\u5bf9\u6bd4"},"\u5bf9\u6bd4"),(0,r.yg)("p",null,"IPSec \u534f\u8bae\u5de5\u4f5c\u5728 OSI \u6a21\u578b\u7684\u7b2c\u4e09\u5c42\uff0c\u4f7f\u5176\u5728\u5355\u72ec\u4f7f\u7528\u65f6\u9002\u4e8e\u4fdd\u62a4\u57fa\u4e8e TCP \u6216 UDP \u7684\u534f\u8bae\uff08\u5982\u5b89\u5168\u5957\u63a5\u5b50\u5c42\uff08SSL\uff09\u5c31\u4e0d\u80fd\u4fdd\u62a4 UDP \u5c42\u7684\u901a\u4fe1\u6d41\uff09\u3002\u8fd9\u5c31\u610f\u5473\u7740\uff0c\u4e0e\u4f20\u8f93\u5c42\u6216\u66f4\u9ad8\u5c42\u7684\u534f\u8bae\u76f8\u6bd4\uff0cIPSec \u534f\u8bae\u5fc5\u987b\u5904\u7406\u53ef\u9760\u6027\u548c\u5206\u7247\u7684\u95ee\u9898\uff0c\u8fd9\u540c\u65f6\u4e5f\u589e\u52a0\u4e86\u5b83\u7684\u590d\u6742\u6027\u548c\u5904\u7406\u5f00\u9500\u3002\u76f8\u5bf9\u800c\u8a00\uff0cSSL/TLS \u4f9d\u9760\u66f4\u9ad8\u5c42\u7684 TCP\uff08OSI \u7684\u7b2c\u56db\u5c42\uff09\u6765\u7ba1\u7406\u53ef\u9760\u6027\u548c\u5206\u7247\u3002"),(0,r.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/%E8%99%9A%E6%8B%9F%E4%B8%93%E7%94%A8%E7%BD%91%E7%BB%9C/8747869?fromtitle=VPN&fromid=382304&fr=aladdin#reference-2"},"\u767e\u5ea6\u767e\u79d1-VPN")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/OpenVPN/10718662?fr=aladdin"},"\u767e\u5ea6\u767e\u79d1-OpenVPN")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://www.w3cschool.cn/completemessageformat/"},"w3cshool-\u62a5\u6587\u683c\u5f0f\u5927\u5168"))))}d.isMDXComponent=!0},16323:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/osi-795934f0caf8f9ab1c108a754fd16564.webp"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[0],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>m});var a=n(96540);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var g=a.createContext({}),u=function(e){var t=a.useContext(g),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},y=function(e){var t=u(e.components);return a.createElement(g.Provider,{value:t},e.children)},o="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,l=e.originalType,g=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),o=u(n),c=r,m=o["".concat(g,".").concat(c)]||o[c]||d[c]||l;return n?a.createElement(m,p(p({ref:t},y),{},{components:n})):a.createElement(m,p({ref:t},y))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var l=n.length,p=new Array(l);p[0]=c;var i={};for(var g in t)hasOwnProperty.call(t,g)&&(i[g]=t[g]);i.originalType=e,i[o]="string"==typeof e?e:r,p[1]=i;for(var u=2;u{n.r(t),n.d(t,{assets:()=>g,contentTitle:()=>p,default:()=>d,frontMatter:()=>l,metadata:()=>i,toc:()=>u});var a=n(58168),r=(n(96540),n(15680));const l={},p=void 0,i={unversionedId:"study/net/vpn",id:"study/net/vpn",title:"vpn",description:"\u7b80\u4ecb",source:"@site/docs/study/net/vpn.md",sourceDirName:"study/net",slug:"/study/net/vpn",permalink:"/docs/study/net/vpn",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"tuntap",permalink:"/docs/study/net/tuntap"},next:{title:"\u4ee3\u7406",permalink:"/docs/study/net/\u4ee3\u7406"}},g={},u=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u5206\u7c7b",id:"\u5206\u7c7b",level:3},{value:"\u6309 VPN \u7684\u534f\u8bae\u5206\u7c7b",id:"\u6309-vpn-\u7684\u534f\u8bae\u5206\u7c7b",level:4},{value:"\u5206\u7c7b\u6bd4\u8f83",id:"\u5206\u7c7b\u6bd4\u8f83",level:4},{value:"OpenVPN",id:"openvpn",level:3},{value:"PPTP",id:"pptp",level:3},{value:"L2TP",id:"l2tp",level:3},{value:"IKEv2/IPSec",id:"ikev2ipsec",level:3},{value:"SSTP",id:"sstp",level:3},{value:"WireGuard",id:"wireguard",level:3},{value:"Shadowsocks",id:"shadowsocks",level:3},{value:"\u5bf9\u6bd4",id:"\u5bf9\u6bd4",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],y={toc:u},o="wrapper";function d(e){let{components:t,...l}=e;return(0,r.yg)(o,(0,a.A)({},y,l,{components:t,mdxType:"MDXLayout"}),(0,r.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,r.yg)("p",null,"\u865a\u62df\u4e13\u7528\u7f51\u7edc(VPN)\u7684\u529f\u80fd\u662f\uff1a\u5728\u516c\u7528\u7f51\u7edc\u4e0a\u5efa\u7acb\u4e13\u7528\u7f51\u7edc\uff0c\u8fdb\u884c\u52a0\u5bc6\u901a\u8baf\u3002\u5728\u4f01\u4e1a\u7f51\u7edc\u4e2d\u6709\u5e7f\u6cdb\u5e94\u7528\u3002VPN \u7f51\u5173\u901a\u8fc7\u5bf9\u6570\u636e\u5305\u7684\u52a0\u5bc6\u548c\u6570\u636e\u5305\u76ee\u6807\u5730\u5740\u7684\u8f6c\u6362\u5b9e\u73b0\u8fdc\u7a0b\u8bbf\u95ee\u3002VPN \u53ef\u901a\u8fc7\u670d\u52a1\u5668\u3001\u786c\u4ef6\u3001\u8f6f\u4ef6\u7b49\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\u3002"),(0,r.yg)("p",null,"VPN \u5c5e\u4e8e\u8fdc\u7a0b\u8bbf\u95ee\u6280\u672f\uff0c\u7b80\u5355\u5730\u8bf4\u5c31\u662f\u5229\u7528\u516c\u7528\u7f51\u7edc\u67b6\u8bbe\u4e13\u7528\u7f51\u7edc\u3002\u4f8b\u5982\u67d0\u516c\u53f8\u5458\u5de5\u51fa\u5dee\u5230\u5916\u5730\uff0c\u4ed6\u60f3\u8bbf\u95ee\u4f01\u4e1a\u5185\u7f51\u7684\u670d\u52a1\u5668\u8d44\u6e90\uff0c\u8fd9\u79cd\u8bbf\u95ee\u5c31\u5c5e\u4e8e\u8fdc\u7a0b\u8bbf\u95ee\u3002"),(0,r.yg)("p",null,"\u8ba9\u5916\u5730\u5458\u5de5\u8bbf\u95ee\u5230\u5185\u7f51\u8d44\u6e90\uff0c\u5229\u7528 VPN \u7684\u89e3\u51b3\u65b9\u6cd5\u5c31\u662f\u5728\u5185\u7f51\u4e2d\u67b6\u8bbe\u4e00\u53f0 VPN \u670d\u52a1\u5668\u3002\u5916\u5730\u5458\u5de5\u5728\u5f53\u5730\u8fde\u4e0a\u4e92\u8054\u7f51\u540e\uff0c\u901a\u8fc7\u4e92\u8054\u7f51\u8fde\u63a5 VPN \u670d\u52a1\u5668\uff0c\u7136\u540e\u901a\u8fc7 VPN \u670d\u52a1\u5668\u8fdb\u5165\u4f01\u4e1a\u5185\u7f51\u3002\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u5b89\u5168\uff0cVPN \u670d\u52a1\u5668\u548c\u5ba2\u6237\u673a\u4e4b\u95f4\u7684\u901a\u8baf\u6570\u636e\u90fd\u8fdb\u884c\u4e86\u52a0\u5bc6\u5904\u7406\u3002\u6709\u4e86\u6570\u636e\u52a0\u5bc6\uff0c\u5c31\u53ef\u4ee5\u8ba4\u4e3a\u6570\u636e\u662f\u5728\u4e00\u6761\u4e13\u7528\u7684\u6570\u636e\u94fe\u8def\u4e0a\u8fdb\u884c\u5b89\u5168\u4f20\u8f93\uff0c\u5c31\u5982\u540c\u4e13\u95e8\u67b6\u8bbe\u4e86\u4e00\u4e2a\u4e13\u7528\u7f51\u7edc\u4e00\u6837\uff0c\u4f46\u5b9e\u9645\u4e0a VPN \u4f7f\u7528\u7684\u662f\u4e92\u8054\u7f51\u4e0a\u7684\u516c\u7528\u94fe\u8def\uff0c\u56e0\u6b64 VPN \u79f0\u4e3a\u865a\u62df\u4e13\u7528\u7f51\u7edc\uff0c\u5176\u5b9e\u8d28\u4e0a\u5c31\u662f\u5229\u7528\u52a0\u5bc6\u6280\u672f\u5728\u516c\u7f51\u4e0a\u5c01\u88c5\u51fa\u4e00\u4e2a\u6570\u636e\u901a\u8baf\u96a7\u9053\u3002\u6709\u4e86 VPN \u6280\u672f\uff0c\u7528\u6237\u65e0\u8bba\u662f\u5728\u5916\u5730\u51fa\u5dee\u8fd8\u662f\u5728\u5bb6\u4e2d\u529e\u516c\uff0c\u53ea\u8981\u80fd\u4e0a\u4e92\u8054\u7f51\u5c31\u80fd\u5229\u7528 VPN \u8bbf\u95ee\u5185\u7f51\u8d44\u6e90\uff0c\u8fd9\u5c31\u662f VPN \u5728\u4f01\u4e1a\u4e2d\u5e94\u7528\u5f97\u5982\u6b64\u5e7f\u6cdb\u7684\u539f\u56e0\u3002"),(0,r.yg)("h3",{id:"\u5206\u7c7b"},"\u5206\u7c7b"),(0,r.yg)("h4",{id:"\u6309-vpn-\u7684\u534f\u8bae\u5206\u7c7b"},"\u6309 VPN \u7684\u534f\u8bae\u5206\u7c7b"),(0,r.yg)("p",null,"VPN \u7684\u96a7\u9053\u534f\u8bae\u4e3b\u8981\u6709\u4e09\u79cd\uff0cPPTP\u3001L2TP \u548c IPSec\uff0c\u5176\u4e2d PPTP \u548c L2TP \u534f\u8bae\u5de5\u4f5c\u5728 OSI \u6a21\u578b\u7684\u7b2c\u4e8c\u5c42\uff0c\u53c8\u79f0\u4e3a\u4e8c\u5c42\u96a7\u9053\u534f\u8bae\uff1bIPSec \u662f\u7b2c\u4e09\u5c42\u96a7\u9053\u534f\u8bae\u3002"),(0,r.yg)("p",null,(0,r.yg)("img",{alt:"OSI \u6a21\u578b",src:n(16323).A,width:"640",height:"273"})),(0,r.yg)("h4",{id:"\u5206\u7c7b\u6bd4\u8f83"},"\u5206\u7c7b\u6bd4\u8f83"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"VPN \u5206\u7c7b"),(0,r.yg)("th",{parentName:"tr",align:null},"\u901f\u5ea6"),(0,r.yg)("th",{parentName:"tr",align:null},"\u5b89\u5168"),(0,r.yg)("th",{parentName:"tr",align:null},"\u52a0\u5bc6"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"OpenVPN"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"PPTP"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"L2TP"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee\uff08\u9664\u975e\u548c IPSec \u914d\u5408\uff09")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"IKEv2/IPSec"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"SSTP"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5dee"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"WireGuard"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4f18")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"Shadowsocks"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f"),(0,r.yg)("td",{parentName:"tr",align:null},"\u826f")))),(0,r.yg)("h3",{id:"openvpn"},"OpenVPN"),(0,r.yg)("p",null,"OpenVPN \u662f\u4e00\u4e2a\u57fa\u4e8e OpenSSL \u5e93\u7684",(0,r.yg)("strong",{parentName:"p"},(0,r.yg)("em",{parentName:"strong"},"\u5e94\u7528\u5c42"))," VPN \u5b9e\u73b0\u3002\u548c\u4f20\u7edf VPN \u76f8\u6bd4\uff0c\u5b83\u7684\u4f18\u70b9\u662f\u7b80\u5355\u6613\u7528\u3002"),(0,r.yg)("p",null,"OpenVpn \u7684\u6280\u672f\u6838\u5fc3\u662f\u865a\u62df\u7f51\u5361\uff0c\u5176\u6b21\u662f SSL \u534f\u8bae\u5b9e\u73b0\u3002"),(0,r.yg)("p",null,"\u5bf9\u865a\u62df\u7f51\u5361\u53ca\u5176\u5728 OpenVpn \u7684\u4e2d\u7684\u5de5\u4f5c\u673a\u7406\u8fdb\u884c\u4ecb\u7ecd\uff1a"),(0,r.yg)("p",null,"\u865a\u62df\u7f51\u5361\u662f\u4f7f\u7528\u7f51\u7edc\u5e95\u5c42\u7f16\u7a0b\u6280\u672f\u5b9e\u73b0\u7684\u4e00\u4e2a\u9a71\u52a8\u8f6f\u4ef6\uff0c\u5b89\u88c5\u540e\u5728\u4e3b\u673a\u4e0a\u591a\u51fa\u73b0\u4e00\u4e2a\u7f51\u5361\uff0c\u53ef\u4ee5\u50cf\u5176\u5b83\u7f51\u5361\u4e00\u6837\u8fdb\u884c\u914d\u7f6e\u3002\u670d\u52a1\u7a0b\u5e8f\u53ef\u4ee5\u5728\u5e94\u7528\u5c42\u6253\u5f00\u865a\u62df\u7f51\u5361\uff0c\u5982\u679c\u5e94\u7528\u8f6f\u4ef6\uff08\u5982 IE\uff09\u5411\u865a\u62df\u7f51\u5361\u53d1\u9001\u6570\u636e\uff0c\u5219\u670d\u52a1\u7a0b\u5e8f\u53ef\u4ee5\u8bfb\u53d6\u5230\u8be5\u6570\u636e\uff0c\u5982\u679c\u670d\u52a1\u7a0b\u5e8f\u5199\u5408\u9002\u7684\u6570\u636e\u5230\u865a\u62df\u7f51\u5361\uff0c\u5e94\u7528\u8f6f\u4ef6\u4e5f\u53ef\u4ee5\u63a5\u6536\u5f97\u5230\u3002\u865a\u62df\u7f51\u5361\u5728\u5f88\u591a\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u90fd\u6709\u76f8\u5e94\u7684\u5b9e\u73b0\uff0c\u8fd9\u4e5f\u662f OpenVpn \u80fd\u591f\u8de8\u5e73\u53f0\u4e00\u4e2a\u5f88\u91cd\u8981\u7684\u7406\u7531\u3002"),(0,r.yg)("p",null,"\u5728 OpenVpn \u4e2d\uff0c\u5982\u679c\u7528\u6237\u8bbf\u95ee\u4e00\u4e2a\u8fdc\u7a0b\u7684\u865a\u62df\u5730\u5740\uff08\u5c5e\u4e8e\u865a\u62df\u7f51\u5361\u914d\u7528\u7684\u5730\u5740\u7cfb\u5217\uff0c\u533a\u522b\u4e8e\u771f\u5b9e\u5730\u5740\uff09\uff0c\u5219\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u901a\u8fc7\u8def\u7531\u673a\u5236\u5c06\u6570\u636e\u5305\uff08TUN \u6a21\u5f0f\uff09\u6216\u6570\u636e\u5e27\uff08TAP \u6a21\u5f0f\uff09\u53d1\u9001\u5230\u865a\u62df\u7f51\u5361\u4e0a\uff0c\u670d\u52a1\u7a0b\u5e8f\u63a5\u6536\u8be5\u6570\u636e\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u540e\uff0c\u901a\u8fc7 SOCKET \u4ece\u5916\u7f51\u4e0a\u53d1\u9001\u51fa\u53bb\uff0c\u8fdc\u7a0b\u670d\u52a1\u7a0b\u5e8f\u901a\u8fc7 SOCKET \u4ece\u5916\u7f51\u4e0a\u63a5\u6536\u6570\u636e\uff0c\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u540e\uff0c\u53d1\u9001\u7ed9\u865a\u62df\u7f51\u5361\uff0c\u5219\u5e94\u7528\u8f6f\u4ef6\u53ef\u4ee5\u63a5\u6536\u5230\uff0c\u5b8c\u6210\u4e86\u4e00\u4e2a\u5355\u5411\u4f20\u8f93\u7684\u8fc7\u7a0b\uff0c\u53cd\u4e4b\u4ea6\u7136\u3002"),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://community.openvpn.net/openvpn"},"https://community.openvpn.net/openvpn")),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://pritunl.com/"},"https://pritunl.com/")),(0,r.yg)("h3",{id:"pptp"},"PPTP"),(0,r.yg)("p",null,"\u7531\u5fae\u8f6f\u548c\u5176\u4ed6\u516c\u53f8\u4e8e 1999 \u5e74\u5f00\u53d1\uff0c\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u4f46\u662f\u73b0\u5728\u57fa\u672c\u88ab\u8ba4\u4e3a\u662f\u4e0d\u5b89\u5168\u7684\u3001\u8fc7\u65f6\u7684\u3002"),(0,r.yg)("h3",{id:"l2tp"},"L2TP"),(0,r.yg)("p",null,"\u7b2c\u4e8c\u5c42\u96a7\u9053\u534f\u8bae\u5927\u7ea6\u4e0e PPTP \u540c\u65f6\u5f00\u53d1\u3002\u4f5c\u4e3a\u4e00\u79cd\u96a7\u9053\u534f\u8bae\uff0c\u5b83\u672c\u8eab\u4e0d\u52a0\u5bc6\u6570\u636e\uff0c\u56e0\u6b64\u901a\u5e38\u4e0e IPSec \u914d\u5bf9\u3002\u8fd9\u79cd\u6a21\u5757\u5316\u4f7f\u5b83\u80fd\u591f\u5229\u7528 AES \u52a0\u5bc6\u3002"),(0,r.yg)("p",null,"\u548c PPTP \u5dee\u4e0d\u591a\uff0c\u5e94\u7528\u4e5f\u5f88\u5e7f\u6cdb\uff0c\u4f46\u662f\u5b58\u5728\u4e00\u5b9a\u7684\u9632\u706b\u5899\u95ee\u9898\u3002"),(0,r.yg)("h3",{id:"ikev2ipsec"},"IKEv2/IPSec"),(0,r.yg)("p",null,"\u601d\u79d1\u548c\u5fae\u8f6f\u5f00\u53d1\uff0c\u4e5f\u6709\u5f88\u591a\u5f00\u6e90\u7248\u672c\uff0c\u5bf9\u79fb\u52a8\u7aef\u652f\u6301\u66f4\u52a0\u53cb\u597d\u4e00\u4e9b\u3002"),(0,r.yg)("h3",{id:"sstp"},"SSTP"),(0,r.yg)("p",null,"\u662f\u5fae\u8f6f\u5f00\u53d1\u7528\u4e8e\u66ff\u4ee3 PPTP \u7684\u65b0\u534f\u8bae\uff0c\u4f46\u662f\u4e0d\u662f\u5f00\u6e90\u7684\u3002"),(0,r.yg)("h3",{id:"wireguard"},"WireGuard"),(0,r.yg)("p",null,"WireGuard \u662f\u6700\u65b0\u7684\uff0c\u4e8e 2016 \u5e74\u5f00\u53d1\u3002\u4ed6\u7684\u4ee3\u7801\u91cf\u975e\u5e38\u5c0f\uff0c\u53ea\u6709 4K\uff0c\u4ee3\u7801\u91cf\u5c0f\uff0c\u610f\u5473\u7740\u597d\u7ef4\u62a4\u4ee5\u53ca\u5bb9\u6613\u53d1\u73b0\u95ee\u9898\u3002\u5f00\u6e90\u3002"),(0,r.yg)("p",null,"\u53c8\u5feb\u53c8\u5b89\u5168\uff0c\u4f46\u662f\u5bf9\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\u8981\u6c42\u8f83\u9ad8\u3002"),(0,r.yg)("h3",{id:"shadowsocks"},"Shadowsocks"),(0,r.yg)("p",null,"Shadowsocks \u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u52a0\u5bc6\u534f\u8bae\u9879\u76ee\u3002\u5b83\u57fa\u4e8e SOCKS5 \u4ee3\u7406\uff0c\u5373 SOCKS \u534f\u8bae\u7684\u7b2c\u4e94\u4e2a\u7248\u672c\uff0c\u7528\u4e8e\u901a\u8fc7\u4ee3\u7406\u8def\u7531\u60a8\u7684\u6d41\u91cf\u3002"),(0,r.yg)("p",null,"Shadowsocks \u65e8\u5728\u63d0\u4f9b\u8fd9\u79cd\u52a0\u5bc6\uff0c\u56e0\u4e3a\u5b83\u7684\u76ee\u7684\u53ea\u6709\u4e00\u4e2a\uff1a\u7ed5\u8fc7\u4e2d\u56fd\u9632\u706b\u957f\u57ce\u3002"),(0,r.yg)("h3",{id:"\u5bf9\u6bd4"},"\u5bf9\u6bd4"),(0,r.yg)("p",null,"IPSec \u534f\u8bae\u5de5\u4f5c\u5728 OSI \u6a21\u578b\u7684\u7b2c\u4e09\u5c42\uff0c\u4f7f\u5176\u5728\u5355\u72ec\u4f7f\u7528\u65f6\u9002\u4e8e\u4fdd\u62a4\u57fa\u4e8e TCP \u6216 UDP \u7684\u534f\u8bae\uff08\u5982\u5b89\u5168\u5957\u63a5\u5b50\u5c42\uff08SSL\uff09\u5c31\u4e0d\u80fd\u4fdd\u62a4 UDP \u5c42\u7684\u901a\u4fe1\u6d41\uff09\u3002\u8fd9\u5c31\u610f\u5473\u7740\uff0c\u4e0e\u4f20\u8f93\u5c42\u6216\u66f4\u9ad8\u5c42\u7684\u534f\u8bae\u76f8\u6bd4\uff0cIPSec \u534f\u8bae\u5fc5\u987b\u5904\u7406\u53ef\u9760\u6027\u548c\u5206\u7247\u7684\u95ee\u9898\uff0c\u8fd9\u540c\u65f6\u4e5f\u589e\u52a0\u4e86\u5b83\u7684\u590d\u6742\u6027\u548c\u5904\u7406\u5f00\u9500\u3002\u76f8\u5bf9\u800c\u8a00\uff0cSSL/TLS \u4f9d\u9760\u66f4\u9ad8\u5c42\u7684 TCP\uff08OSI \u7684\u7b2c\u56db\u5c42\uff09\u6765\u7ba1\u7406\u53ef\u9760\u6027\u548c\u5206\u7247\u3002"),(0,r.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/%E8%99%9A%E6%8B%9F%E4%B8%93%E7%94%A8%E7%BD%91%E7%BB%9C/8747869?fromtitle=VPN&fromid=382304&fr=aladdin#reference-2"},"\u767e\u5ea6\u767e\u79d1-VPN")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/OpenVPN/10718662?fr=aladdin"},"\u767e\u5ea6\u767e\u79d1-OpenVPN")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://www.w3cschool.cn/completemessageformat/"},"w3cshool-\u62a5\u6587\u683c\u5f0f\u5927\u5168"))))}d.isMDXComponent=!0},16323:(e,t,n)=>{n.d(t,{A:()=>a});const a=n.p+"assets/images/osi-795934f0caf8f9ab1c108a754fd16564.webp"}}]); \ No newline at end of file diff --git a/assets/js/88504535.4d3062cd.js b/assets/js/88504535.e6c0e6aa.js similarity index 98% rename from assets/js/88504535.4d3062cd.js rename to assets/js/88504535.e6c0e6aa.js index 41a6b9645..48d681fac 100644 --- a/assets/js/88504535.4d3062cd.js +++ b/assets/js/88504535.e6c0e6aa.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6397],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241112",id:"study/stock/20241112",title:"20241112",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241112.md",sourceDirName:"study/stock",slug:"/study/stock/20241112",permalink:"/docs/study/stock/20241112",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"--- \u4eca\u5929\u5927\u76d8\u4e0a\u5348\u9707\u8361\uff0c\u4e0b\u5348\u8df3\u6c34\uff0c\u6536\u76d8-1.39%"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa --- -2%\u4e70\u8fdb\u4e86\uff0c-5%\u53c8\u8865\u4e86\uff0c\u6700\u9ad8 1.51\uff0c\u6ca1\u6709\u5356\u51fa"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa --- \u4eca\u5929\u521b\u4e1a\u677f\u4e0a\u5348\u8fd8\u662f\u9006\u5927\u76d8\u5728=1%\u5de6\u53f3\uff0c\u4f46\u662f\u4e0b\u5348\u8fd8\u662f\u8df3\u6c34\u4e86\uff0c\u5728-1%\u5de6\u53f3\u4e70\u4e86\u4e00\u7b14"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa --- -2%\u4e70\u8fdb\uff0c\u5728\u4e0b\u5348\u6210\u4ea4\u7684"),(0,o.yg)("p",null,"\u7535\u5e7f\u4f20\u5a92 \u5982\u4f55\u5904\u7406\uff1a-3%\u4e70\u5165 --- \u5fd8\u4e86\u59d4\u6258\u4e86"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e09\u6210\uff0c+3%\u5356\u51fa\u4e09\u6210"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e00\u534a\n\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e00\u534a"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6397],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241112",id:"study/stock/20241112",title:"20241112",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241112.md",sourceDirName:"study/stock",slug:"/study/stock/20241112",permalink:"/docs/study/stock/20241112",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"--- \u4eca\u5929\u5927\u76d8\u4e0a\u5348\u9707\u8361\uff0c\u4e0b\u5348\u8df3\u6c34\uff0c\u6536\u76d8-1.39%"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa --- -2%\u4e70\u8fdb\u4e86\uff0c-5%\u53c8\u8865\u4e86\uff0c\u6700\u9ad8 1.51\uff0c\u6ca1\u6709\u5356\u51fa"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa --- \u4eca\u5929\u521b\u4e1a\u677f\u4e0a\u5348\u8fd8\u662f\u9006\u5927\u76d8\u5728=1%\u5de6\u53f3\uff0c\u4f46\u662f\u4e0b\u5348\u8fd8\u662f\u8df3\u6c34\u4e86\uff0c\u5728-1%\u5de6\u53f3\u4e70\u4e86\u4e00\u7b14"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a-2%\u4e70\u5165\uff0c+3%\u5356\u51fa --- -2%\u4e70\u8fdb\uff0c\u5728\u4e0b\u5348\u6210\u4ea4\u7684"),(0,o.yg)("p",null,"\u7535\u5e7f\u4f20\u5a92 \u5982\u4f55\u5904\u7406\uff1a-3%\u4e70\u5165 --- \u5fd8\u4e86\u59d4\u6258\u4e86"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e09\u6210\uff0c+3%\u5356\u51fa\u4e09\u6210"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e00\u534a\n\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e00\u534a"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/890e3ca7.ed83bea7.js b/assets/js/890e3ca7.ad3bbf50.js similarity index 98% rename from assets/js/890e3ca7.ed83bea7.js rename to assets/js/890e3ca7.ad3bbf50.js index 34f4c6c13..791378f35 100644 --- a/assets/js/890e3ca7.ed83bea7.js +++ b/assets/js/890e3ca7.ad3bbf50.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6533],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241022",id:"study/stock/20241022",title:"20241022",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241022.md",sourceDirName:"study/stock",slug:"/study/stock/20241022",permalink:"/docs/study/stock/20241022",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u6da8\u4e86 0.54%"),(0,o.yg)("p",null,"\u4eca\u5929\u79d1\u521b\u677f\u534a\u4ed3\u4e86"),(0,o.yg)("p",null,"\u521b\u4e1a\u677f\u8865\u4ed3\u4e86\u4e00\u70b9\uff0c\u6574\u4f53\u4ed3\u4f4d 70%"),(0,o.yg)("p",null,"\u521b\u4e1a\u677f\u8865\u5145\u7684\u4e0d\u662f\u5f88\u5bf9\uff0c\u5728 30F \u7684 B3 \u8fdb\u53bb\u7684\uff0c\u7ed3\u679c\u5c31\u4e0b\u6765\u4e86\uff0c\u5168\u5929\u7a84\u5e45\u9707\u8361"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u8e72\u5b88\uff0c\u611f\u89c9\u8981\u53d8\u5929\uff0c\u5728\u7a84\u5e45\u4e0b\u8dcc\u901a\u9053\u7684\u60c5\u51b5\u4e0b\uff0c\u4e0d\u77e5\u9053\u662f\u53d8 A \u8fd8\u662f\u53d8\u6210\u5bbd\u5e45 B"),(0,o.yg)("p",null,"\u660e\u5929\u5168\u4ed3\uff0c\u5269\u4e0b\u8d44\u91d1\u4e0a\u521b\u4e1a\u677f"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6533],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241022",id:"study/stock/20241022",title:"20241022",description:"\u4eca\u5929\u5468\u4e8c",source:"@site/docs/study/stock/20241022.md",sourceDirName:"study/stock",slug:"/study/stock/20241022",permalink:"/docs/study/stock/20241022",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e8c"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u6da8\u4e86 0.54%"),(0,o.yg)("p",null,"\u4eca\u5929\u79d1\u521b\u677f\u534a\u4ed3\u4e86"),(0,o.yg)("p",null,"\u521b\u4e1a\u677f\u8865\u4ed3\u4e86\u4e00\u70b9\uff0c\u6574\u4f53\u4ed3\u4f4d 70%"),(0,o.yg)("p",null,"\u521b\u4e1a\u677f\u8865\u5145\u7684\u4e0d\u662f\u5f88\u5bf9\uff0c\u5728 30F \u7684 B3 \u8fdb\u53bb\u7684\uff0c\u7ed3\u679c\u5c31\u4e0b\u6765\u4e86\uff0c\u5168\u5929\u7a84\u5e45\u9707\u8361"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u8e72\u5b88\uff0c\u611f\u89c9\u8981\u53d8\u5929\uff0c\u5728\u7a84\u5e45\u4e0b\u8dcc\u901a\u9053\u7684\u60c5\u51b5\u4e0b\uff0c\u4e0d\u77e5\u9053\u662f\u53d8 A \u8fd8\u662f\u53d8\u6210\u5bbd\u5e45 B"),(0,o.yg)("p",null,"\u660e\u5929\u5168\u4ed3\uff0c\u5269\u4e0b\u8d44\u91d1\u4e0a\u521b\u4e1a\u677f"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/89a98191.e702e442.js b/assets/js/89a98191.27176829.js similarity index 99% rename from assets/js/89a98191.e702e442.js rename to assets/js/89a98191.27176829.js index 812498a38..5060d94b1 100644 --- a/assets/js/89a98191.e702e442.js +++ b/assets/js/89a98191.27176829.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3991],{15680:(e,n,t)=>{t.d(n,{xA:()=>c,yg:()=>y});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function o(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=r.createContext({}),p=function(e){var n=r.useContext(l),t=n;return e&&(t="function"==typeof e?e(n):o(o({},n),e)),t},c=function(e){var n=p(e.components);return r.createElement(l.Provider,{value:n},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},h=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,i=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),u=p(t),h=a,y=u["".concat(l,".").concat(h)]||u[h]||d[h]||i;return t?r.createElement(y,o(o({ref:n},c),{},{components:t})):r.createElement(y,o({ref:n},c))}));function y(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var i=t.length,o=new Array(i);o[0]=h;var s={};for(var l in n)hasOwnProperty.call(n,l)&&(s[l]=n[l]);s.originalType=e,s[u]="string"==typeof e?e:a,o[1]=s;for(var p=2;p{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>s,toc:()=>p});var r=t(58168),a=(t(96540),t(15680));const i={},o=void 0,s={unversionedId:"study/net/OpenVPN",id:"study/net/OpenVPN",title:"OpenVPN",description:"\u914d\u7f6e",source:"@site/docs/study/net/OpenVPN.md",sourceDirName:"study/net",slug:"/study/net/OpenVPN",permalink:"/docs/study/net/OpenVPN",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MacOS\u7f16\u8bd1OpenVPN",permalink:"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN"},next:{title:"SNMP",permalink:"/docs/study/net/SNMP"}},l={},p=[{value:"\u914d\u7f6e",id:"\u914d\u7f6e",level:3},{value:"\u811a\u672c",id:"\u811a\u672c",level:3},{value:"server.conf",id:"serverconf",level:3},{value:"\u914d\u7f6e IP \u8f6c\u53d1\u529f\u80fd",id:"\u914d\u7f6e-ip-\u8f6c\u53d1\u529f\u80fd",level:3},{value:"client.ovpn",id:"clientovpn",level:3},{value:"\u751f\u6210\u5ba2\u6237\u7aef\u8bc1\u4e66",id:"\u751f\u6210\u5ba2\u6237\u7aef\u8bc1\u4e66",level:3},{value:"\u914d\u7f6e\u4e0d\u540c\u7684\u5ba2\u6237\u7aef\u542f\u7528\u4e0d\u540c\u7684\u5b50\u7f51",id:"\u914d\u7f6e\u4e0d\u540c\u7684\u5ba2\u6237\u7aef\u542f\u7528\u4e0d\u540c\u7684\u5b50\u7f51",level:3},{value:"topology",id:"topology",level:3},{value:"tun \u6a21\u5f0f\uff1a",id:"tun-\u6a21\u5f0f",level:4},{value:"tap \u6a21\u5f0f\uff1a",id:"tap-\u6a21\u5f0f",level:4},{value:"\u811a\u672c\u521b\u5efa client",id:"\u811a\u672c\u521b\u5efa-client",level:3},{value:"\u7ba1\u7406\u7aef\u63a5\u53e3",id:"\u7ba1\u7406\u7aef\u63a5\u53e3",level:3},{value:"\u5305\u8fc7\u6ee4",id:"\u5305\u8fc7\u6ee4",level:3},{value:"\u95ee\u9898\uff1a\u8fde\u63a5\u6210\u529f\u540e\uff0c\u5ba2\u6237\u7aef\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95ee\u5176\u4ed6\u7f51\u7ad9",id:"\u95ee\u9898\u8fde\u63a5\u6210\u529f\u540e\u5ba2\u6237\u7aef\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95ee\u5176\u4ed6\u7f51\u7ad9",level:3},{value:"\u95ee\u9898\uff1atcpdump \u76d1\u542c\u4e0d\u4e86 tun0",id:"\u95ee\u9898tcpdump-\u76d1\u542c\u4e0d\u4e86-tun0",level:3}],c={toc:p},u="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(u,(0,r.A)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u914d\u7f6e"},"\u914d\u7f6e"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/sinat_27690807/article/details/118482528"},"OpenVPN \u4e2d server.conf \u548c client.conf \u914d\u7f6e\u6587\u4ef6\u8be6\u89e3")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.linuxfly.org/post/86/"},"\u6df1\u5165 openvpn \u914d\u7f6e-\u6709\u6848\u4f8b")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.51cto.com/icenycmh/1867641"},"openvpn2.3.12 \u5b89\u88c5\u4e0e easy-rsa3 \u7684\u4f7f\u7528")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.51cto.com/songky/2115052?articleABtest=1"},"\u963f\u91cc\u4e91\u670d\u52a1\u5668\u914d\u7f6e CentOS7.4+OpenVPN-2.4.5+easy-rsa-3.0")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://bajie.dev/zh-cn/posts/20211018-openvpn_limit_bandwidth/"},"OpenVPN \u9650\u5236\u6d41\u91cf\u5e26\u5bbd-\u7f51\u5361\u7ea7\u522b\u9650\u5236")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.ilxqx.com/archives/jie-jue-openvpn-ke-hu-duan-suo-you-wang-luo-quan-zou-vpn-de-wen-ti"},"\u89e3\u51b3 OpenVPN \u5ba2\u6237\u7aef\u6240\u6709\u7f51\u7edc\u5168\u8d70 VPN \u7684\u95ee\u9898,server.conf \u548c client.conf \u914d\u7f6e\u6587\u4ef6\u8be6\u89e3")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://build.openvpn.net/man/openvpn-2.6/openvpn.8.html"},"openvpn \u5b98\u65b9\u547d\u4ee4\u884c\u6587\u6863")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.junmajinlong.com/virtual/network/data_flow_about_openvpn/"},"\u901a\u8fc7 openvpn \u5206\u6790 tun \u5b9e\u73b0\u96a7\u9053\u7684\u6570\u636e\u6d41\u7a0b"))),(0,a.yg)("h3",{id:"\u811a\u672c"},"\u811a\u672c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5b89\u88c5\nyum install openvpn\nyum install easy-rsa\n\n# \u51c6\u5907\u76ee\u5f55 \u6ce8\u610f\u7248\u672c\u53f7 \u9700\u8981\u81ea\u884c\u66f4\u6539\ncp /usr/share/doc/openvpn-2.4.5/sample/sample-config-files/server.conf /etc/openvpn\ncp -r /usr/share/easy-rsa/ /etc/openvpn\ncp /usr/share/doc/easy-rsa-3.0.3/vars.example easy-rsa/3.0/vars\n\n# \u521d\u59cb\u5316pki\ncd /etc/openvpn/easy-rsa/3.0\n./easyrsa init-pki\n\n# \u521b\u5efaca\uff0c\u8bb0\u4f4fca\u5bc6\u7801\n./easyrsa build-ca\n\n# \u521b\u5efaDiffie-Hellman\uff0c\u786e\u4fddkey\u7a7f\u8d8a\u4e0d\u5b89\u5168\u7f51\u7edc\n./easyrsa gen-dh\n# \u751f\u6210\u9632\u653b\u51fbkey\u6587\u4ef6\nopenvpn --genkey --secret ta.key\n\n# \u521b\u5efa\u670d\u52a1\u5668\u8bc1\u4e66 \u6ce8\u610f\u540d\u5b57\u4e3avpnserver \u53ef\u4ee5\u66f4\u6539\n./easyrsa gen-req vpnserver nopass\n# \u7b7e\u7ea6\u670d\u52a1\u7aef\u8bc1\u4e66 \u6ce8\u610f\u540d\u5b57\u4e3avpnserver\n./easyrsa sign server vpnserver\n\n# \u5c06\u670d\u52a1\u5668\u8bc1\u4e66\u6574\u7406\u5230\u4e00\u8d77\ncd /etc/openvpn/\nmkdir pki\ncd pki\n/usr/bin/cp -rf ../easy-rsa/3.0/ta.key ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/ca.crt ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/dh.pem ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/issued/vpnserver.crt ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/private/vpnserver.key ./\n# \u5c06\u5ba2\u6237\u7aef\u6240\u9700\u8bc1\u4e66\u6574\u7406\u5230\u4e00\u8d77\nmkdir /etc/openvpn/client\ncd /etc/openvpn/client\n/usr/bin/cp -rf ../easy-rsa/3.0/ta.key ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/ca.crt ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/issued/client001.crt ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/private/client001.key ./\n\n# \u542f\u52a8 \u505c\u6b62 \u72b6\u6001\nsystemctl start openvpn@server\nsystemctl stop openvpn@server\nsystemctl status openvpn@server\nsystemctl restart openvpn@server\n")),(0,a.yg)("h3",{id:"serverconf"},"server.conf"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'#################################################\n# Sample OpenVPN 2.0 config file for #\n# multi-client server. #\n# #\n# This file is for the server side #\n# of a many-clients <-> one-server #\n# OpenVPN configuration. #\n# #\n# OpenVPN also supports #\n# single-machine <-> single-machine #\n# configurations (See the Examples page #\n# on the web site for more info). #\n# #\n# This config should work on Windows #\n# or Linux/BSD systems. Remember on #\n# Windows to quote pathnames and use #\n# double backslashes, e.g.: #\n# "C:\\\\Program Files\\\\OpenVPN\\\\config\\\\foo.key" #\n# #\n# Comments are preceded with \'#\' or \';\' #\n#################################################\n\n# Which local IP address should OpenVPN\n# listen on? (optional)\n;local a.b.c.d\n\n# Which TCP/UDP port should OpenVPN listen on?\n# If you want to run multiple OpenVPN instances\n# on the same machine, use a different port\n# number for each one. You will need to\n# open up this port on your firewall.\nport 1194\n\n# TCP or UDP server?\n;proto tcp\nproto udp\n\n# "dev tun" will create a routed IP tunnel,\n# "dev tap" will create an ethernet tunnel.\n# Use "dev tap0" if you are ethernet bridging\n# and have precreated a tap0 virtual interface\n# and bridged it with your ethernet interface.\n# If you want to control access policies\n# over the VPN, you must create firewall\n# rules for the the TUN/TAP interface.\n# On non-Windows systems, you can give\n# an explicit unit number, such as tun0.\n# On Windows, use "dev-node" for this.\n# On most systems, the VPN will not function\n# unless you partially or fully disable\n# the firewall for the TUN/TAP interface.\n;dev tap\ndev tun\n\n# Windows needs the TAP-Win32 adapter name\n# from the Network Connections panel if you\n# have more than one. On XP SP2 or higher,\n# you may need to selectively disable the\n# Windows firewall for the TAP adapter.\n# Non-Windows systems usually don\'t need this.\n;dev-node MyTap\n\n# SSL/TLS root certificate (ca), certificate\n# (cert), and private key (key). Each client\n# and the server must have their own cert and\n# key file. The server and all clients will\n# use the same ca file.\n#\n# See the "easy-rsa" directory for a series\n# of scripts for generating RSA certificates\n# and private keys. Remember to use\n# a unique Common Name for the server\n# and each of the client certificates.\n#\n# Any X509 key management system can be used.\n# OpenVPN can also use a PKCS #12 formatted key file\n# (see "pkcs12" directive in man page).\nca /etc/openvpn/pki/ca.crt\ncert /etc/openvpn/pki/vpnserver.crt\nkey /etc/openvpn/pki/vpnserver.key # This file should be kept secret\n\n# Diffie hellman parameters.\n# Generate your own with:\n# openssl dhparam -out dh2048.pem 2048\ndh /etc/openvpn/pki/dh.pem\n\n# Network topology\n# Should be subnet (addressing via IP)\n# unless Windows clients v2.0.9 and lower have to\n# be supported (then net30, i.e. a /30 per client)\n# Defaults to net30 (not recommended)\n;topology subnet\n\n# Configure server mode and supply a VPN subnet\n# for OpenVPN to draw client addresses from.\n# The server will take 10.8.0.1 for itself,\n# the rest will be made available to clients.\n# Each client will be able to reach the server\n# on 10.8.0.1. Comment this line out if you are\n# ethernet bridging. See the man page for more info.\nserver 10.8.0.0 255.255.255.0\n\n# Maintain a record of client <-> virtual IP address\n# associations in this file. If OpenVPN goes down or\n# is restarted, reconnecting clients can be assigned\n# the same virtual IP address from the pool that was\n# previously assigned.\nifconfig-pool-persist ipp.txt\n\n# Configure server mode for ethernet bridging.\n# You must first use your OS\'s bridging capability\n# to bridge the TAP interface with the ethernet\n# NIC interface. Then you must manually set the\n# IP/netmask on the bridge interface, here we\n# assume 10.8.0.4/255.255.255.0. Finally we\n# must set aside an IP range in this subnet\n# (start=10.8.0.50 end=10.8.0.100) to allocate\n# to connecting clients. Leave this line commented\n# out unless you are ethernet bridging.\n;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100\n\n# Configure server mode for ethernet bridging\n# using a DHCP-proxy, where clients talk\n# to the OpenVPN server-side DHCP server\n# to receive their IP address allocation\n# and DNS server addresses. You must first use\n# your OS\'s bridging capability to bridge the TAP\n# interface with the ethernet NIC interface.\n# Note: this mode only works on clients (such as\n# Windows), where the client-side TAP adapter is\n# bound to a DHCP client.\n;server-bridge\n\n# Push routes to the client to allow it\n# to reach other private subnets behind\n# the server. Remember that these\n# private subnets will also need\n# to know to route the OpenVPN client\n# address pool (10.8.0.0/255.255.255.0)\n# back to the OpenVPN server.\n;push "route 192.168.10.0 255.255.255.0"\n;push "route 192.168.20.0 255.255.255.0"\n\n# To assign specific IP addresses to specific\n# clients or if a connecting client has a private\n# subnet behind it that should also have VPN access,\n# use the subdirectory "ccd" for client-specific\n# configuration files (see man page for more info).\n\n# EXAMPLE: Suppose the client\n# having the certificate common name "Thelonious"\n# also has a small subnet behind his connecting\n# machine, such as 192.168.40.128/255.255.255.248.\n# First, uncomment out these lines:\n;client-config-dir ccd\n;route 192.168.40.128 255.255.255.248\n# Then create a file ccd/Thelonious with this line:\n# iroute 192.168.40.128 255.255.255.248\n# This will allow Thelonious\' private subnet to\n# access the VPN. This example will only work\n# if you are routing, not bridging, i.e. you are\n# using "dev tun" and "server" directives.\n\n# EXAMPLE: Suppose you want to give\n# Thelonious a fixed VPN IP address of 10.9.0.1.\n# First uncomment out these lines:\n;client-config-dir ccd\n;route 10.9.0.0 255.255.255.252\n# Then add this line to ccd/Thelonious:\n# ifconfig-push 10.9.0.1 10.9.0.2\n\n# Suppose that you want to enable different\n# firewall access policies for different groups\n# of clients. There are two methods:\n# (1) Run multiple OpenVPN daemons, one for each\n# group, and firewall the TUN/TAP interface\n# for each group/daemon appropriately.\n# (2) (Advanced) Create a script to dynamically\n# modify the firewall in response to access\n# from different clients. See man\n# page for more info on learn-address script.\n;learn-address ./script\n\n# If enabled, this directive will configure\n# all clients to redirect their default\n# network gateway through the VPN, causing\n# all IP traffic such as web browsing and\n# and DNS lookups to go through the VPN\n# (The OpenVPN server machine may need to NAT\n# or bridge the TUN/TAP interface to the internet\n# in order for this to work properly).\n;push "redirect-gateway def1 bypass-dhcp"\n\n# Certain Windows-specific network settings\n# can be pushed to clients, such as DNS\n# or WINS server addresses. CAVEAT:\n# http://openvpn.net/faq.html#dhcpcaveats\n# The addresses below refer to the public\n# DNS servers provided by opendns.com.\n;push "dhcp-option DNS 208.67.222.222"\n;push "dhcp-option DNS 208.67.220.220"\npush "dhcp-option DNS 8.8.8.8"\n\n# Uncomment this directive to allow different\n# clients to be able to "see" each other.\n# By default, clients will only see the server.\n# To force clients to only see the server, you\n# will also need to appropriately firewall the\n# server\'s TUN/TAP interface.\nclient-to-client\n\n# Uncomment this directive if multiple clients\n# might connect with the same certificate/key\n# files or common names. This is recommended\n# only for testing purposes. For production use,\n# each client should have its own certificate/key\n# pair.\n#\n# IF YOU HAVE NOT GENERATED INDIVIDUAL\n# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,\n# EACH HAVING ITS OWN UNIQUE "COMMON NAME",\n# UNCOMMENT THIS LINE OUT.\n;duplicate-cn\n\n# The keepalive directive causes ping-like\n# messages to be sent back and forth over\n# the link so that each side knows when\n# the other side has gone down.\n# Ping every 10 seconds, assume that remote\n# peer is down if no ping received during\n# a 120 second time period.\nkeepalive 10 120\n\n# For extra security beyond that provided\n# by SSL/TLS, create an "HMAC firewall"\n# to help block DoS attacks and UDP port flooding.\n#\n# Generate with:\n# openvpn --genkey --secret ta.key\n#\n# The server and each client must have\n# a copy of this key.\n# The second parameter should be \'0\'\n# on the server and \'1\' on the clients.\ntls-auth /etc/openvpn/pki/ta.key 0 # This file is secret\n\n# Select a cryptographic cipher.\n# This config item must be copied to\n# the client config file as well.\n# Note that v2.4 client/server will automatically\n# negotiate AES-256-GCM in TLS mode.\n# See also the ncp-cipher option in the manpage\ncipher AES-256-CBC\n\n# Enable compression on the VPN link and push the\n# option to the client (v2.4+ only, for earlier\n# versions see below)\n;compress lz4-v2\n;push "compress lz4-v2"\n\n# For compression compatible with older clients use comp-lzo\n# If you enable it here, you must also\n# enable it in the client config file.\ncomp-lzo\n\n# The maximum number of concurrently connected\n# clients we want to allow.\nmax-clients 999\n\n# It\'s a good idea to reduce the OpenVPN\n# daemon\'s privileges after initialization.\n#\n# You can uncomment this out on\n# non-Windows systems.\n;user nobody\n;group nobody\n\n# The persist options will try to avoid\n# accessing certain resources on restart\n# that may no longer be accessible because\n# of the privilege downgrade.\npersist-key\npersist-tun\n\n# Output a short status file showing\n# current connections, truncated\n# and rewritten every minute.\nstatus openvpn-status.log\n\n# By default, log messages will go to the syslog (or\n# on Windows, if running as a service, they will go to\n# the "\\Program Files\\OpenVPN\\log" directory).\n# Use log or log-append to override this default.\n# "log" will truncate the log file on OpenVPN startup,\n# while "log-append" will append to it. Use one\n# or the other (but not both).\n;log openvpn.log\n;log-append openvpn.log\n\n# Set the appropriate level of log\n# file verbosity.\n#\n# 0 is silent, except for fatal errors\n# 4 is reasonable for general usage\n# 5 and 6 can help to debug connection problems\n# 9 is extremely verbose\nverb 3\n\n# Silence repeating messages. At most 20\n# sequential messages of the same message\n# category will be output to the log.\n;mute 20\n\n# Notify the client that when the server restarts so it\n# can automatically reconnect.\nexplicit-exit-notify 1\n')),(0,a.yg)("h3",{id:"\u914d\u7f6e-ip-\u8f6c\u53d1\u529f\u80fd"},"\u914d\u7f6e IP \u8f6c\u53d1\u529f\u80fd"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u8be2\nsysctl net.ipv4.ip_forward\n# \u8bbe\u7f6e\necho 'net.ipv4.ip_forward = 1' >/etc/sysctl.conf\nsysctl -p\n")),(0,a.yg)("p",null,"\u53c2\u8003",(0,a.yg)("a",{parentName:"p",href:"https://blog.csdn.net/wangqiaowq/article/details/131802323"},"net.ipv4.ip_forward")),(0,a.yg)("h3",{id:"clientovpn"},"client.ovpn"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u76f8\u5f53\u4e8e pull tls-client\nclient\n#\ndev tun\n#\nproto udp\n# \u8fde\u63a5\u8fdc\u7a0bopenvpn server\uff0c\u53ef\u4ee5\u6709\u591a\u4e2a\uff0c\u4f46\u540c\u65f6\u8fde\u63a5\u53ea\u6709\u4e00\u4e2a\nremote 60.204.171.251 1194\nresolv-retry infinite\nnobind\npersist-key\npersist-tun\n#\nca ca.crt\ncert client001.crt\nkey client001.key\ntls-auth ta.key 1\n#\ncomp-lzo\n# \u65e5\u5fd7\u5bb9\u6613\u7ea7\u522b\nverb 3\n")),(0,a.yg)("h3",{id:"\u751f\u6210\u5ba2\u6237\u7aef\u8bc1\u4e66"},"\u751f\u6210\u5ba2\u6237\u7aef\u8bc1\u4e66"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"cd /etc/openvpn/easy-rsa/3.0/\n./easyrsa build-client-full client003\n/usr/bin/cp -rf /etc/openvpn/easy-rsa/3.0/pki/issued/client003.crt /etc/openvpn/client\n/usr/bin/cp -rf /etc/openvpn/easy-rsa/3.0/pki/private/client003.key /etc/openvpn/client\n")),(0,a.yg)("h3",{id:"\u914d\u7f6e\u4e0d\u540c\u7684\u5ba2\u6237\u7aef\u542f\u7528\u4e0d\u540c\u7684\u5b50\u7f51"},"\u914d\u7f6e\u4e0d\u540c\u7684\u5ba2\u6237\u7aef\u542f\u7528\u4e0d\u540c\u7684\u5b50\u7f51"),(0,a.yg)("p",null,"\u4fee\u6539 server.conf \u6587\u4ef6"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u542f\u7528ccd \u589e\u52a0\u4e24\u4e2a\u5b50\u7f51\u8def\u7531\nclient-config-dir ccd\n;route 10.9.0.0 255.255.255.252\nroute 10.9.0.0 255.255.255.0\nroute 10.9.1.0 255.255.255.0\n# \u4fee\u6539topology\u4e3asubnet\ntopology subnet\n")),(0,a.yg)("h3",{id:"topology"},"topology"),(0,a.yg)("h4",{id:"tun-\u6a21\u5f0f"},"tun \u6a21\u5f0f\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"subnet\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"a. \u4ece pool \u4e2d\u9009\u62e9\u4e00\u4e2a ip \u4f5c\u4e3a client \u7684\u865a\u62df\u7f51\u5361 ip\uff1b")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"b. \u5c06\u81ea\u5df1\u7684\u5b50\u7f51\u63a9\u7801\u4f5c\u4e3a client \u7684\u5b50\u7f51\u63a9\u7801\u3002")))),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"p2p\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"a.\u4ece pool \u4e2d\u9009\u62e9\u4e00\u4e2a ip \u4f5c\u4e3a client \u7684\u865a\u62df\u7f51\u5361 ip\uff1b")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"b.\u5c06\u81ea\u5df1\u7684\u5b9e\u9645\u865a\u62df\u7f51\u5361 ip \u4f5c\u4e3a client \u7684\u5bf9\u7aef ip\u3002")))),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"net30\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"a.\u4ece pool \u4e2d\u9009\u62e9 4 \u4e2a\u63a9\u7801\u4e3a 30 \u7684 ip\uff0c\u5c06\u4e2d\u95f4\u4e24\u4e2a ip \u4e2d\u7684\u5927\u8005\u4f5c\u4e3a client \u7684\u865a\u62df\u7f51\u5361 ip\uff1b")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"b.\u5c06\u5c0f\u8005\u4f5c\u4e3a client \u7684\u5bf9\u7aef ip\u3002"))))),(0,a.yg)("h4",{id:"tap-\u6a21\u5f0f"},"tap \u6a21\u5f0f\uff1a"),(0,a.yg)("p",null,"\u5b8c\u5168\u6309\u7167 tun \u6a21\u5f0f\u7684 1 \u6765\u5206\u914d\u3002"),(0,a.yg)("h3",{id:"\u811a\u672c\u521b\u5efa-client"},"\u811a\u672c\u521b\u5efa client"),(0,a.yg)("p",null,"\u811a\u672c\u521b\u5efa client\uff0c\u81ea\u52a8\u8f93\u5165 ca \u5bc6\u7801\uff0c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'#!/usr/bin/expect\n\nset timeout 30\n\nspawn ./easyrsa build-client-full client014 nopass\nexpect "pass"\nsend "weichuang"\nsend "\\n"\ninteract\n')),(0,a.yg)("h3",{id:"\u7ba1\u7406\u7aef\u63a5\u53e3"},"\u7ba1\u7406\u7aef\u63a5\u53e3"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://openvpn.net/community-resources/management-interface/"},"\u5b98\u65b9\u7ba1\u7406\u7aef\u63a5\u53e3\u4f7f\u7528\u6587\u6863"))),(0,a.yg)("h3",{id:"\u5305\u8fc7\u6ee4"},"\u5305\u8fc7\u6ee4"),(0,a.yg)("p",null,"\u53ef\u5b9e\u73b0\u7b80\u5355\u7684\u9632\u706b\u5899\u63a7\u5236"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://backreference.org/2010/06/18/openvpns-built-in-packet-filter/"},"openvpn \u5185\u7f6e\u5305\u8fc7\u6ee4\u975e\u5b98\u65b9\u6280\u672f\u6587\u6863"))),(0,a.yg)("h3",{id:"\u95ee\u9898\u8fde\u63a5\u6210\u529f\u540e\u5ba2\u6237\u7aef\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95ee\u5176\u4ed6\u7f51\u7ad9"},"\u95ee\u9898\uff1a\u8fde\u63a5\u6210\u529f\u540e\uff0c\u5ba2\u6237\u7aef\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95ee\u5176\u4ed6\u7f51\u7ad9"),(0,a.yg)("p",null,"\u5c06 server.conf \u7684"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},';push "redirect-gateway def1 bypass-dhcp"\n')),(0,a.yg)("p",null,"\u6ce8\u91ca\u6389"),(0,a.yg)("h3",{id:"\u95ee\u9898tcpdump-\u76d1\u542c\u4e0d\u4e86-tun0"},"\u95ee\u9898\uff1atcpdump \u76d1\u542c\u4e0d\u4e86 tun0"),(0,a.yg)("p",null,"\u5982\u679c\u5f00\u542f\u4e86 client-to-client\uff0c\u6d41\u91cf\u662f\u4e0d\u8d70 tun \u7684\u7684\u3002"),(0,a.yg)("p",null,"\u53ef\u4ee5\u53c2\u8003",(0,a.yg)("a",{parentName:"p",href:"https://serverfault.com/questions/1052645/openvpn-server-not-showing-traffic-using-tcpdump"},"openvpn server not showing traffic using tcpdump")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3991],{15680:(e,n,t)=>{t.d(n,{xA:()=>c,yg:()=>y});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function o(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=r.createContext({}),p=function(e){var n=r.useContext(l),t=n;return e&&(t="function"==typeof e?e(n):o(o({},n),e)),t},c=function(e){var n=p(e.components);return r.createElement(l.Provider,{value:n},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},h=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,i=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),u=p(t),h=a,y=u["".concat(l,".").concat(h)]||u[h]||d[h]||i;return t?r.createElement(y,o(o({ref:n},c),{},{components:t})):r.createElement(y,o({ref:n},c))}));function y(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var i=t.length,o=new Array(i);o[0]=h;var s={};for(var l in n)hasOwnProperty.call(n,l)&&(s[l]=n[l]);s.originalType=e,s[u]="string"==typeof e?e:a,o[1]=s;for(var p=2;p{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>s,toc:()=>p});var r=t(58168),a=(t(96540),t(15680));const i={},o=void 0,s={unversionedId:"study/net/OpenVPN",id:"study/net/OpenVPN",title:"OpenVPN",description:"\u914d\u7f6e",source:"@site/docs/study/net/OpenVPN.md",sourceDirName:"study/net",slug:"/study/net/OpenVPN",permalink:"/docs/study/net/OpenVPN",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MacOS\u7f16\u8bd1OpenVPN",permalink:"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN"},next:{title:"SNMP",permalink:"/docs/study/net/SNMP"}},l={},p=[{value:"\u914d\u7f6e",id:"\u914d\u7f6e",level:3},{value:"\u811a\u672c",id:"\u811a\u672c",level:3},{value:"server.conf",id:"serverconf",level:3},{value:"\u914d\u7f6e IP \u8f6c\u53d1\u529f\u80fd",id:"\u914d\u7f6e-ip-\u8f6c\u53d1\u529f\u80fd",level:3},{value:"client.ovpn",id:"clientovpn",level:3},{value:"\u751f\u6210\u5ba2\u6237\u7aef\u8bc1\u4e66",id:"\u751f\u6210\u5ba2\u6237\u7aef\u8bc1\u4e66",level:3},{value:"\u914d\u7f6e\u4e0d\u540c\u7684\u5ba2\u6237\u7aef\u542f\u7528\u4e0d\u540c\u7684\u5b50\u7f51",id:"\u914d\u7f6e\u4e0d\u540c\u7684\u5ba2\u6237\u7aef\u542f\u7528\u4e0d\u540c\u7684\u5b50\u7f51",level:3},{value:"topology",id:"topology",level:3},{value:"tun \u6a21\u5f0f\uff1a",id:"tun-\u6a21\u5f0f",level:4},{value:"tap \u6a21\u5f0f\uff1a",id:"tap-\u6a21\u5f0f",level:4},{value:"\u811a\u672c\u521b\u5efa client",id:"\u811a\u672c\u521b\u5efa-client",level:3},{value:"\u7ba1\u7406\u7aef\u63a5\u53e3",id:"\u7ba1\u7406\u7aef\u63a5\u53e3",level:3},{value:"\u5305\u8fc7\u6ee4",id:"\u5305\u8fc7\u6ee4",level:3},{value:"\u95ee\u9898\uff1a\u8fde\u63a5\u6210\u529f\u540e\uff0c\u5ba2\u6237\u7aef\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95ee\u5176\u4ed6\u7f51\u7ad9",id:"\u95ee\u9898\u8fde\u63a5\u6210\u529f\u540e\u5ba2\u6237\u7aef\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95ee\u5176\u4ed6\u7f51\u7ad9",level:3},{value:"\u95ee\u9898\uff1atcpdump \u76d1\u542c\u4e0d\u4e86 tun0",id:"\u95ee\u9898tcpdump-\u76d1\u542c\u4e0d\u4e86-tun0",level:3}],c={toc:p},u="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(u,(0,r.A)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u914d\u7f6e"},"\u914d\u7f6e"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/sinat_27690807/article/details/118482528"},"OpenVPN \u4e2d server.conf \u548c client.conf \u914d\u7f6e\u6587\u4ef6\u8be6\u89e3")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.linuxfly.org/post/86/"},"\u6df1\u5165 openvpn \u914d\u7f6e-\u6709\u6848\u4f8b")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.51cto.com/icenycmh/1867641"},"openvpn2.3.12 \u5b89\u88c5\u4e0e easy-rsa3 \u7684\u4f7f\u7528")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.51cto.com/songky/2115052?articleABtest=1"},"\u963f\u91cc\u4e91\u670d\u52a1\u5668\u914d\u7f6e CentOS7.4+OpenVPN-2.4.5+easy-rsa-3.0")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://bajie.dev/zh-cn/posts/20211018-openvpn_limit_bandwidth/"},"OpenVPN \u9650\u5236\u6d41\u91cf\u5e26\u5bbd-\u7f51\u5361\u7ea7\u522b\u9650\u5236")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.ilxqx.com/archives/jie-jue-openvpn-ke-hu-duan-suo-you-wang-luo-quan-zou-vpn-de-wen-ti"},"\u89e3\u51b3 OpenVPN \u5ba2\u6237\u7aef\u6240\u6709\u7f51\u7edc\u5168\u8d70 VPN \u7684\u95ee\u9898,server.conf \u548c client.conf \u914d\u7f6e\u6587\u4ef6\u8be6\u89e3")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://build.openvpn.net/man/openvpn-2.6/openvpn.8.html"},"openvpn \u5b98\u65b9\u547d\u4ee4\u884c\u6587\u6863")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.junmajinlong.com/virtual/network/data_flow_about_openvpn/"},"\u901a\u8fc7 openvpn \u5206\u6790 tun \u5b9e\u73b0\u96a7\u9053\u7684\u6570\u636e\u6d41\u7a0b"))),(0,a.yg)("h3",{id:"\u811a\u672c"},"\u811a\u672c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5b89\u88c5\nyum install openvpn\nyum install easy-rsa\n\n# \u51c6\u5907\u76ee\u5f55 \u6ce8\u610f\u7248\u672c\u53f7 \u9700\u8981\u81ea\u884c\u66f4\u6539\ncp /usr/share/doc/openvpn-2.4.5/sample/sample-config-files/server.conf /etc/openvpn\ncp -r /usr/share/easy-rsa/ /etc/openvpn\ncp /usr/share/doc/easy-rsa-3.0.3/vars.example easy-rsa/3.0/vars\n\n# \u521d\u59cb\u5316pki\ncd /etc/openvpn/easy-rsa/3.0\n./easyrsa init-pki\n\n# \u521b\u5efaca\uff0c\u8bb0\u4f4fca\u5bc6\u7801\n./easyrsa build-ca\n\n# \u521b\u5efaDiffie-Hellman\uff0c\u786e\u4fddkey\u7a7f\u8d8a\u4e0d\u5b89\u5168\u7f51\u7edc\n./easyrsa gen-dh\n# \u751f\u6210\u9632\u653b\u51fbkey\u6587\u4ef6\nopenvpn --genkey --secret ta.key\n\n# \u521b\u5efa\u670d\u52a1\u5668\u8bc1\u4e66 \u6ce8\u610f\u540d\u5b57\u4e3avpnserver \u53ef\u4ee5\u66f4\u6539\n./easyrsa gen-req vpnserver nopass\n# \u7b7e\u7ea6\u670d\u52a1\u7aef\u8bc1\u4e66 \u6ce8\u610f\u540d\u5b57\u4e3avpnserver\n./easyrsa sign server vpnserver\n\n# \u5c06\u670d\u52a1\u5668\u8bc1\u4e66\u6574\u7406\u5230\u4e00\u8d77\ncd /etc/openvpn/\nmkdir pki\ncd pki\n/usr/bin/cp -rf ../easy-rsa/3.0/ta.key ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/ca.crt ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/dh.pem ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/issued/vpnserver.crt ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/private/vpnserver.key ./\n# \u5c06\u5ba2\u6237\u7aef\u6240\u9700\u8bc1\u4e66\u6574\u7406\u5230\u4e00\u8d77\nmkdir /etc/openvpn/client\ncd /etc/openvpn/client\n/usr/bin/cp -rf ../easy-rsa/3.0/ta.key ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/ca.crt ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/issued/client001.crt ./\n/usr/bin/cp -rf ../easy-rsa/3.0/pki/private/client001.key ./\n\n# \u542f\u52a8 \u505c\u6b62 \u72b6\u6001\nsystemctl start openvpn@server\nsystemctl stop openvpn@server\nsystemctl status openvpn@server\nsystemctl restart openvpn@server\n")),(0,a.yg)("h3",{id:"serverconf"},"server.conf"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'#################################################\n# Sample OpenVPN 2.0 config file for #\n# multi-client server. #\n# #\n# This file is for the server side #\n# of a many-clients <-> one-server #\n# OpenVPN configuration. #\n# #\n# OpenVPN also supports #\n# single-machine <-> single-machine #\n# configurations (See the Examples page #\n# on the web site for more info). #\n# #\n# This config should work on Windows #\n# or Linux/BSD systems. Remember on #\n# Windows to quote pathnames and use #\n# double backslashes, e.g.: #\n# "C:\\\\Program Files\\\\OpenVPN\\\\config\\\\foo.key" #\n# #\n# Comments are preceded with \'#\' or \';\' #\n#################################################\n\n# Which local IP address should OpenVPN\n# listen on? (optional)\n;local a.b.c.d\n\n# Which TCP/UDP port should OpenVPN listen on?\n# If you want to run multiple OpenVPN instances\n# on the same machine, use a different port\n# number for each one. You will need to\n# open up this port on your firewall.\nport 1194\n\n# TCP or UDP server?\n;proto tcp\nproto udp\n\n# "dev tun" will create a routed IP tunnel,\n# "dev tap" will create an ethernet tunnel.\n# Use "dev tap0" if you are ethernet bridging\n# and have precreated a tap0 virtual interface\n# and bridged it with your ethernet interface.\n# If you want to control access policies\n# over the VPN, you must create firewall\n# rules for the the TUN/TAP interface.\n# On non-Windows systems, you can give\n# an explicit unit number, such as tun0.\n# On Windows, use "dev-node" for this.\n# On most systems, the VPN will not function\n# unless you partially or fully disable\n# the firewall for the TUN/TAP interface.\n;dev tap\ndev tun\n\n# Windows needs the TAP-Win32 adapter name\n# from the Network Connections panel if you\n# have more than one. On XP SP2 or higher,\n# you may need to selectively disable the\n# Windows firewall for the TAP adapter.\n# Non-Windows systems usually don\'t need this.\n;dev-node MyTap\n\n# SSL/TLS root certificate (ca), certificate\n# (cert), and private key (key). Each client\n# and the server must have their own cert and\n# key file. The server and all clients will\n# use the same ca file.\n#\n# See the "easy-rsa" directory for a series\n# of scripts for generating RSA certificates\n# and private keys. Remember to use\n# a unique Common Name for the server\n# and each of the client certificates.\n#\n# Any X509 key management system can be used.\n# OpenVPN can also use a PKCS #12 formatted key file\n# (see "pkcs12" directive in man page).\nca /etc/openvpn/pki/ca.crt\ncert /etc/openvpn/pki/vpnserver.crt\nkey /etc/openvpn/pki/vpnserver.key # This file should be kept secret\n\n# Diffie hellman parameters.\n# Generate your own with:\n# openssl dhparam -out dh2048.pem 2048\ndh /etc/openvpn/pki/dh.pem\n\n# Network topology\n# Should be subnet (addressing via IP)\n# unless Windows clients v2.0.9 and lower have to\n# be supported (then net30, i.e. a /30 per client)\n# Defaults to net30 (not recommended)\n;topology subnet\n\n# Configure server mode and supply a VPN subnet\n# for OpenVPN to draw client addresses from.\n# The server will take 10.8.0.1 for itself,\n# the rest will be made available to clients.\n# Each client will be able to reach the server\n# on 10.8.0.1. Comment this line out if you are\n# ethernet bridging. See the man page for more info.\nserver 10.8.0.0 255.255.255.0\n\n# Maintain a record of client <-> virtual IP address\n# associations in this file. If OpenVPN goes down or\n# is restarted, reconnecting clients can be assigned\n# the same virtual IP address from the pool that was\n# previously assigned.\nifconfig-pool-persist ipp.txt\n\n# Configure server mode for ethernet bridging.\n# You must first use your OS\'s bridging capability\n# to bridge the TAP interface with the ethernet\n# NIC interface. Then you must manually set the\n# IP/netmask on the bridge interface, here we\n# assume 10.8.0.4/255.255.255.0. Finally we\n# must set aside an IP range in this subnet\n# (start=10.8.0.50 end=10.8.0.100) to allocate\n# to connecting clients. Leave this line commented\n# out unless you are ethernet bridging.\n;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100\n\n# Configure server mode for ethernet bridging\n# using a DHCP-proxy, where clients talk\n# to the OpenVPN server-side DHCP server\n# to receive their IP address allocation\n# and DNS server addresses. You must first use\n# your OS\'s bridging capability to bridge the TAP\n# interface with the ethernet NIC interface.\n# Note: this mode only works on clients (such as\n# Windows), where the client-side TAP adapter is\n# bound to a DHCP client.\n;server-bridge\n\n# Push routes to the client to allow it\n# to reach other private subnets behind\n# the server. Remember that these\n# private subnets will also need\n# to know to route the OpenVPN client\n# address pool (10.8.0.0/255.255.255.0)\n# back to the OpenVPN server.\n;push "route 192.168.10.0 255.255.255.0"\n;push "route 192.168.20.0 255.255.255.0"\n\n# To assign specific IP addresses to specific\n# clients or if a connecting client has a private\n# subnet behind it that should also have VPN access,\n# use the subdirectory "ccd" for client-specific\n# configuration files (see man page for more info).\n\n# EXAMPLE: Suppose the client\n# having the certificate common name "Thelonious"\n# also has a small subnet behind his connecting\n# machine, such as 192.168.40.128/255.255.255.248.\n# First, uncomment out these lines:\n;client-config-dir ccd\n;route 192.168.40.128 255.255.255.248\n# Then create a file ccd/Thelonious with this line:\n# iroute 192.168.40.128 255.255.255.248\n# This will allow Thelonious\' private subnet to\n# access the VPN. This example will only work\n# if you are routing, not bridging, i.e. you are\n# using "dev tun" and "server" directives.\n\n# EXAMPLE: Suppose you want to give\n# Thelonious a fixed VPN IP address of 10.9.0.1.\n# First uncomment out these lines:\n;client-config-dir ccd\n;route 10.9.0.0 255.255.255.252\n# Then add this line to ccd/Thelonious:\n# ifconfig-push 10.9.0.1 10.9.0.2\n\n# Suppose that you want to enable different\n# firewall access policies for different groups\n# of clients. There are two methods:\n# (1) Run multiple OpenVPN daemons, one for each\n# group, and firewall the TUN/TAP interface\n# for each group/daemon appropriately.\n# (2) (Advanced) Create a script to dynamically\n# modify the firewall in response to access\n# from different clients. See man\n# page for more info on learn-address script.\n;learn-address ./script\n\n# If enabled, this directive will configure\n# all clients to redirect their default\n# network gateway through the VPN, causing\n# all IP traffic such as web browsing and\n# and DNS lookups to go through the VPN\n# (The OpenVPN server machine may need to NAT\n# or bridge the TUN/TAP interface to the internet\n# in order for this to work properly).\n;push "redirect-gateway def1 bypass-dhcp"\n\n# Certain Windows-specific network settings\n# can be pushed to clients, such as DNS\n# or WINS server addresses. CAVEAT:\n# http://openvpn.net/faq.html#dhcpcaveats\n# The addresses below refer to the public\n# DNS servers provided by opendns.com.\n;push "dhcp-option DNS 208.67.222.222"\n;push "dhcp-option DNS 208.67.220.220"\npush "dhcp-option DNS 8.8.8.8"\n\n# Uncomment this directive to allow different\n# clients to be able to "see" each other.\n# By default, clients will only see the server.\n# To force clients to only see the server, you\n# will also need to appropriately firewall the\n# server\'s TUN/TAP interface.\nclient-to-client\n\n# Uncomment this directive if multiple clients\n# might connect with the same certificate/key\n# files or common names. This is recommended\n# only for testing purposes. For production use,\n# each client should have its own certificate/key\n# pair.\n#\n# IF YOU HAVE NOT GENERATED INDIVIDUAL\n# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,\n# EACH HAVING ITS OWN UNIQUE "COMMON NAME",\n# UNCOMMENT THIS LINE OUT.\n;duplicate-cn\n\n# The keepalive directive causes ping-like\n# messages to be sent back and forth over\n# the link so that each side knows when\n# the other side has gone down.\n# Ping every 10 seconds, assume that remote\n# peer is down if no ping received during\n# a 120 second time period.\nkeepalive 10 120\n\n# For extra security beyond that provided\n# by SSL/TLS, create an "HMAC firewall"\n# to help block DoS attacks and UDP port flooding.\n#\n# Generate with:\n# openvpn --genkey --secret ta.key\n#\n# The server and each client must have\n# a copy of this key.\n# The second parameter should be \'0\'\n# on the server and \'1\' on the clients.\ntls-auth /etc/openvpn/pki/ta.key 0 # This file is secret\n\n# Select a cryptographic cipher.\n# This config item must be copied to\n# the client config file as well.\n# Note that v2.4 client/server will automatically\n# negotiate AES-256-GCM in TLS mode.\n# See also the ncp-cipher option in the manpage\ncipher AES-256-CBC\n\n# Enable compression on the VPN link and push the\n# option to the client (v2.4+ only, for earlier\n# versions see below)\n;compress lz4-v2\n;push "compress lz4-v2"\n\n# For compression compatible with older clients use comp-lzo\n# If you enable it here, you must also\n# enable it in the client config file.\ncomp-lzo\n\n# The maximum number of concurrently connected\n# clients we want to allow.\nmax-clients 999\n\n# It\'s a good idea to reduce the OpenVPN\n# daemon\'s privileges after initialization.\n#\n# You can uncomment this out on\n# non-Windows systems.\n;user nobody\n;group nobody\n\n# The persist options will try to avoid\n# accessing certain resources on restart\n# that may no longer be accessible because\n# of the privilege downgrade.\npersist-key\npersist-tun\n\n# Output a short status file showing\n# current connections, truncated\n# and rewritten every minute.\nstatus openvpn-status.log\n\n# By default, log messages will go to the syslog (or\n# on Windows, if running as a service, they will go to\n# the "\\Program Files\\OpenVPN\\log" directory).\n# Use log or log-append to override this default.\n# "log" will truncate the log file on OpenVPN startup,\n# while "log-append" will append to it. Use one\n# or the other (but not both).\n;log openvpn.log\n;log-append openvpn.log\n\n# Set the appropriate level of log\n# file verbosity.\n#\n# 0 is silent, except for fatal errors\n# 4 is reasonable for general usage\n# 5 and 6 can help to debug connection problems\n# 9 is extremely verbose\nverb 3\n\n# Silence repeating messages. At most 20\n# sequential messages of the same message\n# category will be output to the log.\n;mute 20\n\n# Notify the client that when the server restarts so it\n# can automatically reconnect.\nexplicit-exit-notify 1\n')),(0,a.yg)("h3",{id:"\u914d\u7f6e-ip-\u8f6c\u53d1\u529f\u80fd"},"\u914d\u7f6e IP \u8f6c\u53d1\u529f\u80fd"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u67e5\u8be2\nsysctl net.ipv4.ip_forward\n# \u8bbe\u7f6e\necho 'net.ipv4.ip_forward = 1' >/etc/sysctl.conf\nsysctl -p\n")),(0,a.yg)("p",null,"\u53c2\u8003",(0,a.yg)("a",{parentName:"p",href:"https://blog.csdn.net/wangqiaowq/article/details/131802323"},"net.ipv4.ip_forward")),(0,a.yg)("h3",{id:"clientovpn"},"client.ovpn"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u76f8\u5f53\u4e8e pull tls-client\nclient\n#\ndev tun\n#\nproto udp\n# \u8fde\u63a5\u8fdc\u7a0bopenvpn server\uff0c\u53ef\u4ee5\u6709\u591a\u4e2a\uff0c\u4f46\u540c\u65f6\u8fde\u63a5\u53ea\u6709\u4e00\u4e2a\nremote 60.204.171.251 1194\nresolv-retry infinite\nnobind\npersist-key\npersist-tun\n#\nca ca.crt\ncert client001.crt\nkey client001.key\ntls-auth ta.key 1\n#\ncomp-lzo\n# \u65e5\u5fd7\u5bb9\u6613\u7ea7\u522b\nverb 3\n")),(0,a.yg)("h3",{id:"\u751f\u6210\u5ba2\u6237\u7aef\u8bc1\u4e66"},"\u751f\u6210\u5ba2\u6237\u7aef\u8bc1\u4e66"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"cd /etc/openvpn/easy-rsa/3.0/\n./easyrsa build-client-full client003\n/usr/bin/cp -rf /etc/openvpn/easy-rsa/3.0/pki/issued/client003.crt /etc/openvpn/client\n/usr/bin/cp -rf /etc/openvpn/easy-rsa/3.0/pki/private/client003.key /etc/openvpn/client\n")),(0,a.yg)("h3",{id:"\u914d\u7f6e\u4e0d\u540c\u7684\u5ba2\u6237\u7aef\u542f\u7528\u4e0d\u540c\u7684\u5b50\u7f51"},"\u914d\u7f6e\u4e0d\u540c\u7684\u5ba2\u6237\u7aef\u542f\u7528\u4e0d\u540c\u7684\u5b50\u7f51"),(0,a.yg)("p",null,"\u4fee\u6539 server.conf \u6587\u4ef6"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"# \u542f\u7528ccd \u589e\u52a0\u4e24\u4e2a\u5b50\u7f51\u8def\u7531\nclient-config-dir ccd\n;route 10.9.0.0 255.255.255.252\nroute 10.9.0.0 255.255.255.0\nroute 10.9.1.0 255.255.255.0\n# \u4fee\u6539topology\u4e3asubnet\ntopology subnet\n")),(0,a.yg)("h3",{id:"topology"},"topology"),(0,a.yg)("h4",{id:"tun-\u6a21\u5f0f"},"tun \u6a21\u5f0f\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"subnet\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"a. \u4ece pool \u4e2d\u9009\u62e9\u4e00\u4e2a ip \u4f5c\u4e3a client \u7684\u865a\u62df\u7f51\u5361 ip\uff1b")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"b. \u5c06\u81ea\u5df1\u7684\u5b50\u7f51\u63a9\u7801\u4f5c\u4e3a client \u7684\u5b50\u7f51\u63a9\u7801\u3002")))),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"p2p\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"a.\u4ece pool \u4e2d\u9009\u62e9\u4e00\u4e2a ip \u4f5c\u4e3a client \u7684\u865a\u62df\u7f51\u5361 ip\uff1b")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"b.\u5c06\u81ea\u5df1\u7684\u5b9e\u9645\u865a\u62df\u7f51\u5361 ip \u4f5c\u4e3a client \u7684\u5bf9\u7aef ip\u3002")))),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"net30\uff1a"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"a.\u4ece pool \u4e2d\u9009\u62e9 4 \u4e2a\u63a9\u7801\u4e3a 30 \u7684 ip\uff0c\u5c06\u4e2d\u95f4\u4e24\u4e2a ip \u4e2d\u7684\u5927\u8005\u4f5c\u4e3a client \u7684\u865a\u62df\u7f51\u5361 ip\uff1b")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"b.\u5c06\u5c0f\u8005\u4f5c\u4e3a client \u7684\u5bf9\u7aef ip\u3002"))))),(0,a.yg)("h4",{id:"tap-\u6a21\u5f0f"},"tap \u6a21\u5f0f\uff1a"),(0,a.yg)("p",null,"\u5b8c\u5168\u6309\u7167 tun \u6a21\u5f0f\u7684 1 \u6765\u5206\u914d\u3002"),(0,a.yg)("h3",{id:"\u811a\u672c\u521b\u5efa-client"},"\u811a\u672c\u521b\u5efa client"),(0,a.yg)("p",null,"\u811a\u672c\u521b\u5efa client\uff0c\u81ea\u52a8\u8f93\u5165 ca \u5bc6\u7801\uff0c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'#!/usr/bin/expect\n\nset timeout 30\n\nspawn ./easyrsa build-client-full client014 nopass\nexpect "pass"\nsend "weichuang"\nsend "\\n"\ninteract\n')),(0,a.yg)("h3",{id:"\u7ba1\u7406\u7aef\u63a5\u53e3"},"\u7ba1\u7406\u7aef\u63a5\u53e3"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://openvpn.net/community-resources/management-interface/"},"\u5b98\u65b9\u7ba1\u7406\u7aef\u63a5\u53e3\u4f7f\u7528\u6587\u6863"))),(0,a.yg)("h3",{id:"\u5305\u8fc7\u6ee4"},"\u5305\u8fc7\u6ee4"),(0,a.yg)("p",null,"\u53ef\u5b9e\u73b0\u7b80\u5355\u7684\u9632\u706b\u5899\u63a7\u5236"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://backreference.org/2010/06/18/openvpns-built-in-packet-filter/"},"openvpn \u5185\u7f6e\u5305\u8fc7\u6ee4\u975e\u5b98\u65b9\u6280\u672f\u6587\u6863"))),(0,a.yg)("h3",{id:"\u95ee\u9898\u8fde\u63a5\u6210\u529f\u540e\u5ba2\u6237\u7aef\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95ee\u5176\u4ed6\u7f51\u7ad9"},"\u95ee\u9898\uff1a\u8fde\u63a5\u6210\u529f\u540e\uff0c\u5ba2\u6237\u7aef\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95ee\u5176\u4ed6\u7f51\u7ad9"),(0,a.yg)("p",null,"\u5c06 server.conf \u7684"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},';push "redirect-gateway def1 bypass-dhcp"\n')),(0,a.yg)("p",null,"\u6ce8\u91ca\u6389"),(0,a.yg)("h3",{id:"\u95ee\u9898tcpdump-\u76d1\u542c\u4e0d\u4e86-tun0"},"\u95ee\u9898\uff1atcpdump \u76d1\u542c\u4e0d\u4e86 tun0"),(0,a.yg)("p",null,"\u5982\u679c\u5f00\u542f\u4e86 client-to-client\uff0c\u6d41\u91cf\u662f\u4e0d\u8d70 tun \u7684\u7684\u3002"),(0,a.yg)("p",null,"\u53ef\u4ee5\u53c2\u8003",(0,a.yg)("a",{parentName:"p",href:"https://serverfault.com/questions/1052645/openvpn-server-not-showing-traffic-using-tcpdump"},"openvpn server not showing traffic using tcpdump")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8a15073d.47e19c1e.js b/assets/js/8a15073d.5c1c0208.js similarity index 98% rename from assets/js/8a15073d.47e19c1e.js rename to assets/js/8a15073d.5c1c0208.js index 33d23e33c..701432988 100644 --- a/assets/js/8a15073d.47e19c1e.js +++ b/assets/js/8a15073d.5c1c0208.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4002],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241017",id:"study/stock/20241017",title:"20241017",description:"\u4eca\u5929\u5468\u56db",source:"@site/docs/study/stock/20241017.md",sourceDirName:"study/stock",slug:"/study/stock/20241017",permalink:"/docs/study/stock/20241017",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u56db"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u8dcc\u4e86 1.05%"),(0,o.yg)("p",null,"\u4eca\u5929\u6309\u7167\u4ea4\u6613\u7cfb\u7edf\uff0c\u521b\u4e1a\u677f\u6e05\u4ed3\u4e86\uff0c\u79d1\u521b\u677f\u51cf\u4ed3\u4e86\u3002"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4002],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241017",id:"study/stock/20241017",title:"20241017",description:"\u4eca\u5929\u5468\u56db",source:"@site/docs/study/stock/20241017.md",sourceDirName:"study/stock",slug:"/study/stock/20241017",permalink:"/docs/study/stock/20241017",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u56db"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u8dcc\u4e86 1.05%"),(0,o.yg)("p",null,"\u4eca\u5929\u6309\u7167\u4ea4\u6613\u7cfb\u7edf\uff0c\u521b\u4e1a\u677f\u6e05\u4ed3\u4e86\uff0c\u79d1\u521b\u677f\u51cf\u4ed3\u4e86\u3002"),(0,o.yg)("p",null,"\u4e25\u683c\u6267\u884c\uff01"),(0,o.yg)("p",null,"\u52a0\u6cb9\uff01"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8a1a07c4.fd95582a.js b/assets/js/8a1a07c4.35a2e748.js similarity index 99% rename from assets/js/8a1a07c4.fd95582a.js rename to assets/js/8a1a07c4.35a2e748.js index bd12dc278..f9fe65cef 100644 --- a/assets/js/8a1a07c4.fd95582a.js +++ b/assets/js/8a1a07c4.35a2e748.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9726],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>c});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var o=r.createContext({}),p=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=p(e.components);return r.createElement(o.Provider,{value:t},e.children)},g="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,o=e.parentName,u=y(e,["components","mdxType","originalType","parentName"]),g=p(n),m=l,c=g["".concat(o,".").concat(m)]||g[m]||s[m]||a;return n?r.createElement(c,i(i({ref:t},u),{},{components:n})):r.createElement(c,i({ref:t},u))}));function c(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=m;var y={};for(var o in t)hasOwnProperty.call(t,o)&&(y[o]=t[o]);y.originalType=e,y[g]="string"==typeof e?e:l,i[1]=y;for(var p=2;p{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>y,toc:()=>p});var r=n(58168),l=(n(96540),n(15680));const a={},i="HSM",y={unversionedId:"study/encryption/HSM",id:"study/encryption/HSM",title:"HSM",description:"HSM \u786c\u4ef6\u52a0\u5bc6\u673a",source:"@site/docs/study/encryption/HSM.md",sourceDirName:"study/encryption",slug:"/study/encryption/HSM",permalink:"/docs/study/encryption/HSM",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ECC \u548c RSA",permalink:"/docs/study/encryption/ECC-RSA"},next:{title:"OpenSSL",permalink:"/docs/study/encryption/OpenSSL"}},o={},p=[{value:"HSM \u786c\u4ef6\u52a0\u5bc6\u673a",id:"hsm-\u786c\u4ef6\u52a0\u5bc6\u673a",level:3},{value:"VSM \u865a\u62df\u5bc6\u7801\u673a",id:"vsm-\u865a\u62df\u5bc6\u7801\u673a",level:3},{value:"\u603b\u7ed3HSM\u3001VSM\u4f18\u52a3\u52bf",id:"\u603b\u7ed3hsmvsm\u4f18\u52a3\u52bf",level:3},{value:"VSM\uff08\u865a\u62df\u5bc6\u7801\u673a\uff09",id:"vsm\u865a\u62df\u5bc6\u7801\u673a",level:4},{value:"HSM\uff08\u786c\u4ef6\u5bc6\u7801\u673a\uff09",id:"hsm\u786c\u4ef6\u5bc6\u7801\u673a",level:4},{value:"\u6839\u79d8\u94a5\uff08Root Key\uff09",id:"\u6839\u79d8\u94a5root-key",level:3},{value:"\u4e3b\u79d8\u94a5\uff08Master Key\uff09",id:"\u4e3b\u79d8\u94a5master-key",level:3},{value:"\u5de5\u4f5c\u79d8\u94a5\uff08Working Key\uff09",id:"\u5de5\u4f5c\u79d8\u94a5working-key",level:3},{value:"\u4f1a\u8bdd\u79d8\u94a5\uff08Session Key\uff09",id:"\u4f1a\u8bdd\u79d8\u94a5session-key",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3}],u={toc:p},g="wrapper";function s(e){let{components:t,...n}=e;return(0,l.yg)(g,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h1",{id:"hsm"},"HSM"),(0,l.yg)("h3",{id:"hsm-\u786c\u4ef6\u52a0\u5bc6\u673a"},"HSM \u786c\u4ef6\u52a0\u5bc6\u673a"),(0,l.yg)("p",null,"\u786c\u4ef6\u5b89\u5168\u6a21\u5757\uff08HSM\uff09\u662f\u4e00\u79cd\u7269\u7406\u8bbe\u5907\uff0c\u8bbe\u8ba1\u7528\u4e8e\u5b89\u5168\u5730\u7ba1\u7406\u3001\u5904\u7406\u548c\u5b58\u50a8\u52a0\u5bc6\u5bc6\u94a5\u548c\u6570\u5b57\u8bc1\u4e66\u3002HSM\u5e7f\u6cdb\u5e94\u7528\u4e8e\u9700\u8981\u9ad8\u5b89\u5168\u6027\u7684\u573a\u666f\uff0c\u5982\u91d1\u878d\u670d\u52a1\u3001\u6570\u636e\u4fdd\u62a4\u3001\u4f01\u4e1a\u5b89\u5168\u4ee5\u53ca\u653f\u5e9c\u548c\u519b\u4e8b\u9886\u57df\u3002HSM\u63d0\u4f9b\u4e86\u4e00\u79cd\u6bd4\u8f6f\u4ef6\u5b58\u50a8\u5bc6\u94a5\u66f4\u5b89\u5168\u7684\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5bc6\u94a5\u6750\u6599\u4ece\u4e0d\u4ee5\u672a\u52a0\u5bc6\u5f62\u5f0f\u79bb\u5f00\u6a21\u5757\u3002"),(0,l.yg)("h3",{id:"vsm-\u865a\u62df\u5bc6\u7801\u673a"},"VSM \u865a\u62df\u5bc6\u7801\u673a"),(0,l.yg)("p",null,"\u865a\u62df\u5bc6\u7801\u673a\uff08VSM\uff0cVirtual Security Module\uff09\u662f\u4e00\u79cd\u57fa\u4e8e\u8f6f\u4ef6\u5b9e\u73b0\u7684\u5bc6\u7801\u8bbe\u5907\u529f\u80fd\u6a21\u62df\u7cfb\u7edf\u3002\u5b83\u5229\u7528\u8f6f\u4ef6\u6280\u672f\u5728\u901a\u7528\u7684\u8ba1\u7b97\u5e73\u53f0\uff08\u5982\u670d\u52a1\u5668\u3001\u4e91\u8ba1\u7b97\u73af\u5883\u7b49\uff09\u4e0a\u63d0\u4f9b\u5bc6\u7801\u5b66\u670d\u52a1\uff0c\u6a21\u62df\u4f20\u7edf\u786c\u4ef6\u5bc6\u7801\u673a\u7684\u529f\u80fd\uff0c\u5305\u62ec\u5bc6\u94a5\u7ba1\u7406\u3001\u6570\u636e\u52a0\u5bc6 / \u89e3\u5bc6\u3001\u6570\u5b57\u7b7e\u540d\u7b49\u64cd\u4f5c\u3002"),(0,l.yg)("h3",{id:"\u603b\u7ed3hsmvsm\u4f18\u52a3\u52bf"},"\u603b\u7ed3HSM\u3001VSM\u4f18\u52a3\u52bf"),(0,l.yg)("p",null,"VSM\uff08\u865a\u62df\u5bc6\u7801\u673a\uff09\u548cHSM\uff08\u786c\u4ef6\u5bc6\u7801\u673a\uff09\u7684\u4f18\u52a3\u52bf\u5982\u4e0b\uff1a"),(0,l.yg)("h4",{id:"vsm\u865a\u62df\u5bc6\u7801\u673a"},"VSM\uff08\u865a\u62df\u5bc6\u7801\u673a\uff09"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u4f18\u52bf"),"\uff1a",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6210\u672c\u4f4e"),"\uff1aVSM\u662f\u57fa\u4e8e\u8f6f\u4ef6\u5b9e\u73b0\u7684\u5bc6\u7801\u8bbe\u5907\u529f\u80fd\u6a21\u62df\u7cfb\u7edf\uff0c\u4e0d\u9700\u8981\u8d2d\u4e70\u4e13\u95e8\u7684\u786c\u4ef6\u8bbe\u5907\uff0c\u5927\u5927\u964d\u4f4e\u4e86\u91c7\u8d2d\u6210\u672c\u3002\u5bf9\u4e8e\u9884\u7b97\u6709\u9650\u7684\u4f01\u4e1a\u6216\u9879\u76ee\u6765\u8bf4\uff0c\u662f\u4e00\u79cd\u7ecf\u6d4e\u5b9e\u60e0\u7684\u9009\u62e9\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7075\u6d3b\u90e8\u7f72"),"\uff1a\u53ef\u4ee5\u65b9\u4fbf\u5730\u90e8\u7f72\u5728\u5404\u79cd\u8ba1\u7b97\u73af\u5883\u4e2d\uff0c\u5305\u62ec\u672c\u5730\u670d\u52a1\u5668\u3001\u79c1\u6709\u4e91\u3001\u516c\u6709\u4e91\u7b49\u3002\u5e76\u4e14\u80fd\u591f\u6839\u636e\u4e1a\u52a1\u9700\u6c42\u7075\u6d3b\u5730\u8fdb\u884c\u6269\u5c55\u6216\u7f29\u51cf\u8d44\u6e90\uff0c\u9002\u5e94\u4e0d\u540c\u89c4\u6a21\u7684\u4e1a\u52a1\u573a\u666f\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6613\u4e8e\u66f4\u65b0\u7ef4\u62a4"),"\uff1a\u8f6f\u4ef6\u6027\u8d28\u4f7f\u5f97VSM\u7684\u66f4\u65b0\u548c\u7ef4\u62a4\u76f8\u5bf9\u5bb9\u6613\u3002\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u901a\u8fc7\u8f6f\u4ef6\u5347\u7ea7\u7684\u65b9\u5f0f\u6765\u66f4\u65b0\u52a0\u5bc6\u7b97\u6cd5\u3001\u4fee\u590d\u5b89\u5168\u6f0f\u6d1e\u6216\u6dfb\u52a0\u65b0\u7684\u5bc6\u7801\u529f\u80fd\uff0c\u65e0\u9700\u50cf\u786c\u4ef6\u5bc6\u7801\u673a\u90a3\u6837\u8fdb\u884c\u590d\u6742\u7684\u786c\u4ef6\u66f4\u6362\u6216\u73b0\u573a\u7ef4\u62a4\u64cd\u4f5c\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u517c\u5bb9\u6027\u597d"),"\uff1aVSM\u901a\u5e38\u63d0\u4f9b\u4e0e\u5b9e\u4f53\u5bc6\u7801\u8bbe\u5907\u76f8\u540c\u7684\u529f\u80fd\u4e0e\u63a5\u53e3\uff0c\u53ef\u5b8c\u5168\u517c\u5bb9\u4f20\u7edf\u5e94\u7528\uff0c\u65b9\u4fbf\u4f01\u4e1a\u5c06\u73b0\u6709\u5e94\u7528\u8fc1\u79fb\u5230\u865a\u62df\u5bc6\u7801\u673a\u73af\u5883\u4e2d\uff0c\u964d\u4f4e\u4e86\u5e94\u7528\u6539\u9020\u7684\u96be\u5ea6\u548c\u6210\u672c\u3002"))),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u52a3\u52bf"),"\uff1a",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u5b89\u5168\u6027\u76f8\u5bf9\u8f83\u4f4e"),"\uff1a\u5c3d\u7ba1VSM\u91c7\u53d6\u4e86\u591a\u79cd\u5b89\u5168\u63aa\u65bd\uff0c\u4f46\u7531\u4e8e\u5b83\u57fa\u4e8e\u8f6f\u4ef6\u5b9e\u73b0\uff0c\u5176\u5b89\u5168\u6027\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u4f9d\u8d56\u4e8e\u8fd0\u884c\u73af\u5883\u7684\u5b89\u5168\u6027\u3002\u4e0e\u786c\u4ef6\u5bc6\u7801\u673a\u76f8\u6bd4\uff0c\u66f4\u5bb9\u6613\u53d7\u5230\u8f6f\u4ef6\u6f0f\u6d1e\uff08\u5982\u64cd\u4f5c\u7cfb\u7edf\u6f0f\u6d1e\u3001\u5e94\u7528\u7a0b\u5e8f\u6f0f\u6d1e\uff09\u7684\u653b\u51fb\u3002\u5982\u679c\u8fd0\u884cVSM\u7684\u670d\u52a1\u5668\u88ab\u9ed1\u5ba2\u5165\u4fb5\uff0c\u653b\u51fb\u8005\u53ef\u80fd\u4f1a\u7834\u574fVSM\u7684\u5b89\u5168\u673a\u5236\uff0c\u4ece\u800c\u83b7\u53d6\u5bc6\u94a5\u6216\u7be1\u6539\u52a0\u5bc6\u6570\u636e\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6027\u80fd\u53d7\u73af\u5883\u5f71\u54cd"),"\uff1aVSM\u7684\u6027\u80fd\u4f1a\u53d7\u5230\u8fd0\u884c\u73af\u5883\u7684\u5f71\u54cd\u3002\u5728\u9ad8\u8d1f\u8f7d\u6216\u8d44\u6e90\u53d7\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u5982\u670d\u52a1\u5668CPU\u5360\u7528\u7387\u8fc7\u9ad8\u3001\u5185\u5b58\u4e0d\u8db3\u7b49\uff0cVSM\u7684\u5bc6\u7801\u5904\u7406\u901f\u5ea6\u53ef\u80fd\u4f1a\u4e0b\u964d\uff0c\u65e0\u6cd5\u4fdd\u8bc1\u7a33\u5b9a\u7684\u9ad8\u6027\u80fd\u5bc6\u7801\u670d\u52a1\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7f3a\u4e4f\u7269\u7406\u4fdd\u62a4"),"\uff1a\u786c\u4ef6\u5bc6\u7801\u673a\u901a\u5e38\u5177\u6709\u7269\u7406\u5c42\u9762\u7684\u4fdd\u62a4\u63aa\u65bd\uff0c\u5982\u9632\u7be1\u6539\u5916\u58f3\u3001\u5b89\u5168\u82af\u7247\u7b49\uff0c\u800cVSM\u7f3a\u4e4f\u8fd9\u4e9b\u7269\u7406\u4fdd\u62a4\u673a\u5236\uff0c\u66f4\u5bb9\u6613\u53d7\u5230\u7269\u7406\u653b\u51fb\u6216\u786c\u4ef6\u6545\u969c\u7684\u5f71\u54cd\u3002")))),(0,l.yg)("h4",{id:"hsm\u786c\u4ef6\u5bc6\u7801\u673a"},"HSM\uff08\u786c\u4ef6\u5bc6\u7801\u673a\uff09"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u4f18\u52bf"),"\uff1a",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u5b89\u5168\u6027\u9ad8"),"\uff1a\u786c\u4ef6\u5bc6\u7801\u673a\u5177\u6709\u4e13\u95e8\u8bbe\u8ba1\u7684\u786c\u4ef6\u7535\u8def\u548c\u5b89\u5168\u82af\u7247\uff0c\u80fd\u591f\u63d0\u4f9b\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u3002\u5176\u5bc6\u94a5\u5b58\u50a8\u5728\u5b89\u5168\u7684\u786c\u4ef6\u73af\u5883\u4e2d\uff0c\u96be\u4ee5\u88ab\u7a83\u53d6\u6216\u7be1\u6539\uff0c\u6709\u6548\u4fdd\u62a4\u4e86\u5bc6\u94a5\u7684\u5b89\u5168\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6027\u80fd\u7a33\u5b9a"),"\uff1a\u72ec\u7acb\u7684\u786c\u4ef6\u8bbe\u5907\u4e0d\u53d7\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u6216\u7cfb\u7edf\u7684\u5f71\u54cd\uff0c\u80fd\u591f\u63d0\u4f9b\u7a33\u5b9a\u3001\u9ad8\u6548\u7684\u5bc6\u7801\u8fd0\u7b97\u6027\u80fd\uff0c\u9002\u7528\u4e8e\u5bf9\u5bc6\u7801\u5904\u7406\u901f\u5ea6\u548c\u7a33\u5b9a\u6027\u8981\u6c42\u8f83\u9ad8\u7684\u573a\u666f\uff0c\u5982\u91d1\u878d\u3001\u653f\u52a1\u7b49\u5173\u952e\u4e1a\u52a1\u9886\u57df\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7269\u7406\u4fdd\u62a4\u673a\u5236"),"\uff1a\u5177\u5907\u7269\u7406\u5c42\u9762\u7684\u4fdd\u62a4\u63aa\u65bd\uff0c\u5982\u9632\u7be1\u6539\u8bbe\u8ba1\u3001\u786c\u4ef6\u52a0\u5bc6\u6a21\u5757\u7b49\uff0c\u80fd\u591f\u9632\u6b62\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\u548c\u7269\u7406\u653b\u51fb\uff0c\u8fdb\u4e00\u6b65\u589e\u5f3a\u4e86\u8bbe\u5907\u7684\u5b89\u5168\u6027\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7b26\u5408\u6cd5\u89c4\u6807\u51c6"),"\uff1a\u8bb8\u591a\u884c\u4e1a\u7684\u6cd5\u89c4\u548c\u6807\u51c6\u8981\u6c42\u4f7f\u7528\u7ecf\u8fc7\u8ba4\u8bc1\u7684\u786c\u4ef6\u5bc6\u7801\u8bbe\u5907\u6765\u4fdd\u969c\u6570\u636e\u5b89\u5168\uff0cHSM\u901a\u5e38\u7ecf\u8fc7\u4e25\u683c\u7684\u5b89\u5168\u8ba4\u8bc1\uff0c\u7b26\u5408\u76f8\u5173\u6cd5\u89c4\u6807\u51c6\uff0c\u80fd\u591f\u6ee1\u8db3\u4f01\u4e1a\u7684\u5408\u89c4\u9700\u6c42\u3002"))),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u52a3\u52bf"),"\uff1a",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6210\u672c\u9ad8"),"\uff1a\u8d2d\u4e70\u3001\u90e8\u7f72\u548c\u7ef4\u62a4\u786c\u4ef6\u5bc6\u7801\u673a\u9700\u8981\u8f83\u9ad8\u7684\u6210\u672c\uff0c\u5305\u62ec\u786c\u4ef6\u8bbe\u5907\u7684\u91c7\u8d2d\u8d39\u7528\u3001\u8bbe\u5907\u7684\u5b89\u88c5\u8c03\u8bd5\u8d39\u7528\u3001\u7ef4\u62a4\u4eba\u5458\u7684\u57f9\u8bad\u6210\u672c\u7b49\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u90e8\u7f72\u4e0d\u591f\u7075\u6d3b"),"\uff1a\u786c\u4ef6\u5bc6\u7801\u673a\u662f\u72ec\u7acb\u7684\u786c\u4ef6\u8bbe\u5907\uff0c\u90e8\u7f72\u76f8\u5bf9\u56fa\u5b9a\uff0c\u4e0d\u592a\u5bb9\u6613\u6839\u636e\u4e1a\u52a1\u9700\u6c42\u5feb\u901f\u8fdb\u884c\u6269\u5c55\u6216\u8c03\u6574\u3002\u5982\u679c\u4e1a\u52a1\u91cf\u7a81\u7136\u589e\u52a0\uff0c\u53ef\u80fd\u9700\u8981\u8d2d\u4e70\u65b0\u7684\u786c\u4ef6\u8bbe\u5907\uff0c\u5bfc\u81f4\u90e8\u7f72\u5468\u671f\u8f83\u957f\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7ba1\u7406\u590d\u6742"),"\uff1a\u786c\u4ef6\u5bc6\u7801\u673a\u7684\u7ba1\u7406\u548c\u7ef4\u62a4\u9700\u8981\u4e13\u4e1a\u7684\u6280\u672f\u4eba\u5458\uff0c\u7ba1\u7406\u8fc7\u7a0b\u76f8\u5bf9\u590d\u6742\u3002\u4f8b\u5982\uff0c\u5bc6\u94a5\u7684\u5907\u4efd\u3001\u6062\u590d\u3001\u66f4\u65b0\u7b49\u64cd\u4f5c\u90fd\u9700\u8981\u4e25\u683c\u7684\u7ba1\u7406\u6d41\u7a0b\u548c\u6280\u672f\u652f\u6301\u3002")))),(0,l.yg)("h3",{id:"\u6839\u79d8\u94a5root-key"},"\u6839\u79d8\u94a5\uff08Root Key\uff09"),(0,l.yg)("p",null,"\u6839\u5bc6\u94a5\u662f\u5bc6\u7801\u673a\u5bc6\u94a5\u4f53\u7cfb\u4e2d\u7684\u6700\u9876\u5c42\u3001\u6700\u57fa\u7840\u7684\u5bc6\u94a5\u3002\u5b83\u5c31\u50cf\u4e00\u68f5\u5927\u6811\u7684\u6811\u6839\uff0c\u662f\u6574\u4e2a\u5bc6\u94a5\u4f53\u7cfb\u7684\u6839\u57fa\u3002\u901a\u5e38\u662f\u5728\u5bc6\u7801\u673a\u521d\u59cb\u5316\u6216\u8005\u7cfb\u7edf\u5efa\u7acb\u521d\u671f\u901a\u8fc7\u975e\u5e38\u5b89\u5168\u3001\u4e25\u683c\u7684\u65b9\u5f0f\u751f\u6210\u6216\u8bbe\u7f6e\u7684\u3002"),(0,l.yg)("p",null,"\u751f\u6210\u65b9\u5f0f\u6781\u4e3a\u8c28\u614e\uff0c\u53ef\u80fd\u6d89\u53ca\u5230\u7269\u7406\u624b\u6bb5\uff08\u5982\u901a\u8fc7\u4e13\u95e8\u7684\u5b89\u5168\u8bbe\u5907\u5199\u5165\uff09\u6216\u8005\u591a\u91cd\u52a0\u5bc6\u6280\u672f\u7684\u590d\u6742\u7ec4\u5408\u3002\u5176\u5b58\u50a8\u4f4d\u7f6e\u4e5f\u662f\u5bc6\u7801\u673a\u4e2d\u6700\u5b89\u5168\u7684\u533a\u57df\uff0c\u4f8b\u5982\u91c7\u7528\u4e13\u95e8\u7684\u786c\u4ef6\u5b89\u5168\u6a21\u5757\uff08HSM\uff09\u4e2d\u7684\u53d7\u4fdd\u62a4\u5b58\u50a8\u5355\u5143\uff0c\u5e76\u4e14\u53ef\u80fd\u4f1a\u6709\u7269\u7406\u9632\u62a4\u63aa\u65bd\uff0c\u5982\u9632\u7be1\u6539\u3001\u9632\u7535\u78c1\u6cc4\u9732\u7b49\u3002"),(0,l.yg)("p",null,"\u4e3b\u8981\u7528\u4e8e\u751f\u6210\u548c\u4fdd\u62a4\u5176\u4ed6\u9ad8\u7ea7\u522b\u7684\u5bc6\u94a5\uff0c\u5982\u4e3b\u5bc6\u94a5\u3002\u5b83\u4e3a\u6574\u4e2a\u5bc6\u94a5\u4f53\u7cfb\u63d0\u4f9b\u4fe1\u4efb\u6839\uff0c\u7528\u4e8e\u9a8c\u8bc1\u4e3b\u5bc6\u94a5\u7684\u5408\u6cd5\u6027\u3002"),(0,l.yg)("h3",{id:"\u4e3b\u79d8\u94a5master-key"},"\u4e3b\u79d8\u94a5\uff08Master Key\uff09"),(0,l.yg)("p",null,"\u4e3b\u5bc6\u94a5\u662f\u5bc6\u7801\u673a\u5bc6\u94a5\u4f53\u7cfb\u4e2d\u7684\u6838\u5fc3\u5bc6\u94a5\uff0c\u7531\u6839\u5bc6\u94a5\u884d\u751f\u800c\u6765\u3002\u5b83\u662f\u4e00\u79cd\u957f\u671f\u5bc6\u94a5\uff0c\u7528\u4e8e\u7ba1\u7406\u548c\u4fdd\u62a4\u5176\u4ed6\u5bc6\u94a5\uff0c\u5982\u4f1a\u8bdd\u5bc6\u94a5\u548c\u5de5\u4f5c\u5bc6\u94a5\u3002\u53ef\u4ee5\u628a\u4e3b\u5bc6\u94a5\u60f3\u8c61\u6210\u4e00\u4e2a \u201c\u5bc6\u94a5\u7ba1\u7406\u5458\u201d\uff0c\u8d1f\u8d23\u5bc6\u94a5\u7684\u5b58\u50a8\u3001\u5206\u53d1\u7b49\u5173\u952e\u73af\u8282\u3002"),(0,l.yg)("p",null,"\u4e3b\u5bc6\u94a5\u662f\u5728\u6839\u5bc6\u94a5\u7684\u57fa\u7840\u4e0a\uff0c\u901a\u8fc7\u5b89\u5168\u7684\u5bc6\u94a5\u751f\u6210\u7b97\u6cd5\u751f\u6210\u7684\u3002\u5176\u5b58\u50a8\u4e5f\u975e\u5e38\u5b89\u5168\uff0c\u4e00\u822c\u5b58\u50a8\u5728\u5bc6\u7801\u673a\u5185\u90e8\u7684\u5b89\u5168\u5b58\u50a8\u533a\u57df\uff0c\u53ef\u80fd\u4f1a\u88ab\u52a0\u5bc6\u5b58\u50a8\uff08\u4f7f\u7528\u6839\u5bc6\u94a5\u6216\u8005\u5176\u4ed6\u4fdd\u62a4\u673a\u5236\uff09\u3002"),(0,l.yg)("p",null,"\u7528\u4e8e\u52a0\u5bc6\u548c\u5b58\u50a8\u4f1a\u8bdd\u5bc6\u94a5\u3001\u5de5\u4f5c\u79d8\u94a5\u3002\u5f53\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u4f1a\u8bdd\u5bc6\u94a5\u65f6\uff0c\u4e3b\u5bc6\u94a5\u4f1a\u5bf9\u5176\u8fdb\u884c\u52a0\u5bc6\uff0c\u7136\u540e\u5b58\u50a8\u5728\u5bc6\u7801\u673a\u7684\u5bc6\u94a5\u5b58\u50a8\u5e93\u4e2d\u3002\u5f53\u901a\u4fe1\u4f1a\u8bdd\u9700\u8981\u4f7f\u7528\u4f1a\u8bdd\u5bc6\u94a5\u65f6\uff0c\u4e3b\u5bc6\u94a5\u518d\u5bf9\u5b58\u50a8\u7684\u52a0\u5bc6\u4f1a\u8bdd\u5bc6\u94a5\u8fdb\u884c\u89e3\u5bc6\u3002\u540c\u65f6\uff0c\u4e3b\u5bc6\u94a5\u8fd8\u53ef\u4ee5\u7528\u4e8e\u7ba1\u7406\u5176\u4ed6\u5de5\u4f5c\u5bc6\u94a5\uff0c\u5982\u5bf9\u5de5\u4f5c\u5bc6\u94a5\u8fdb\u884c\u5907\u4efd\u3001\u6062\u590d\u548c\u66f4\u65b0\u7b49\u64cd\u4f5c\u3002"),(0,l.yg)("h3",{id:"\u5de5\u4f5c\u79d8\u94a5working-key"},"\u5de5\u4f5c\u79d8\u94a5\uff08Working Key\uff09"),(0,l.yg)("p",null,"\u5de5\u4f5c\u5bc6\u94a5\uff08Working Key\uff09\u662f\u5bc6\u7801\u7cfb\u7edf\u4e2d\u7528\u4e8e\u5b9e\u9645\u6570\u636e\u52a0\u5bc6\u64cd\u4f5c\u7684\u5bc6\u94a5\u3002\u5b83\u4ecb\u4e8e\u4e3b\u5bc6\u94a5\u548c\u4f1a\u8bdd\u5bc6\u94a5\u4e4b\u95f4\uff0c\u662f\u6839\u636e\u7279\u5b9a\u4e1a\u52a1\u573a\u666f\u6216\u64cd\u4f5c\u6d41\u7a0b\u800c\u8bbe\u7acb\u7684\u5bc6\u94a5\u3002\u5de5\u4f5c\u5bc6\u94a5\u4e3b\u8981\u7528\u4e8e\u52a0\u5bc6\u5177\u4f53\u4e1a\u52a1\u76f8\u5173\u7684\u6570\u636e\uff0c\u8fd9\u4e9b\u6570\u636e\u53ef\u4ee5\u662f\u6279\u91cf\u7684\u3001\u6709\u89c4\u5f8b\u7684\uff0c\u5e76\u4e14\u548c\u7279\u5b9a\u7684\u4e1a\u52a1\u903b\u8f91\u7d27\u5bc6\u76f8\u5173\u3002"),(0,l.yg)("p",null,"\u5de5\u4f5c\u5bc6\u94a5\u7684\u66f4\u65b0\u901a\u5e38\u662f\u57fa\u4e8e\u4e1a\u52a1\u5468\u671f\u6216\u8005\u5b89\u5168\u7b56\u7565\u3002\u4f8b\u5982\uff0c\u4e3a\u4e86\u5e94\u5bf9\u4e0d\u65ad\u53d8\u5316\u7684\u5b89\u5168\u5a01\u80c1\uff0c\u91d1\u878d\u7cfb\u7edf\u4e2d\u7684\u5de5\u4f5c\u5bc6\u94a5\u53ef\u80fd\u4f1a\u5b9a\u671f\u66f4\u65b0\uff0c\u66f4\u65b0\u5468\u671f\u53ef\u4ee5\u662f\u6bcf\u5929\u3001\u6bcf\u5468\u6216\u8005\u6bcf\u6708\u7b49\u3002\u66f4\u65b0\u8fc7\u7a0b\u4f1a\u6d89\u53ca\u5230\u4e3b\u5bc6\u94a5\u5bf9\u65b0\u5de5\u4f5c\u5bc6\u94a5\u7684\u52a0\u5bc6\u5b58\u50a8\uff0c\u4ee5\u53ca\u65e7\u5de5\u4f5c\u5bc6\u94a5\u7684\u5b89\u5168\u9500\u6bc1\u6216\u5907\u4efd\uff08\u7528\u4e8e\u5bc6\u94a5\u6062\u590d\u7b49\u60c5\u51b5\uff09\u3002"),(0,l.yg)("h3",{id:"\u4f1a\u8bdd\u79d8\u94a5session-key"},"\u4f1a\u8bdd\u79d8\u94a5\uff08Session Key\uff09"),(0,l.yg)("p",null,"\u4f1a\u8bdd\u5bc6\u94a5\u662f\u4e3a\u4e86\u4e00\u6b21\u7279\u5b9a\u7684\u901a\u4fe1\u4f1a\u8bdd\uff08\u5982\u4e00\u6b21\u7f51\u7edc\u8fde\u63a5\u3001\u4e00\u6b21\u6570\u636e\u4f20\u8f93\u4ea4\u4e92\u7b49\uff09\u800c\u4e34\u65f6\u751f\u6210\u7684\u5bf9\u79f0\u5bc6\u94a5\u3002\u5b83\u662f\u4e00\u79cd\u77ed\u671f\u5bc6\u94a5\uff0c\u53ea\u5728\u672c\u6b21\u4f1a\u8bdd\u671f\u95f4\u6709\u6548\u3002"),(0,l.yg)("p",null,"\u53ef\u4ee5\u901a\u8fc7\u5bc6\u7801\u673a\u5185\u90e8\u7684\u968f\u673a\u6570\u751f\u6210\u5668\u751f\u6210\uff0c\u6216\u8005\u901a\u8fc7\u901a\u4fe1\u53cc\u65b9\u57fa\u4e8e\u5bc6\u94a5\u534f\u5546\u534f\u8bae\uff08\u5982 Diffie - Hellman \u5bc6\u94a5\u4ea4\u6362\u534f\u8bae\uff09\u6765\u5171\u540c\u751f\u6210\u3002\u4f1a\u8bdd\u5bc6\u94a5\u5728\u751f\u6210\u540e\uff0c\u901a\u5e38\u4f1a\u88ab\u4e3b\u5bc6\u94a5\u52a0\u5bc6\u5b58\u50a8\u5728\u5bc6\u7801\u673a\u7684\u5b58\u50a8\u533a\u57df\uff0c\u76f4\u5230\u8be5\u4f1a\u8bdd\u5f00\u59cb\u4f7f\u7528\u3002"),(0,l.yg)("p",null,"\u4ee5\u4e00\u4e2a\u5728\u7ebf\u8d2d\u7269\u7f51\u7ad9\u7684\u5b89\u5168\u901a\u4fe1\u4e3a\u4f8b\uff0c\u5f53\u7528\u6237\u6d4f\u89c8\u5668\u548c\u7f51\u7ad9\u670d\u52a1\u5668\u5efa\u7acb\u5b89\u5168\u8fde\u63a5\uff08\u5982 TLS \u8fde\u63a5\uff09\u65f6\uff0c\u53cc\u65b9\u901a\u8fc7\u5bc6\u94a5\u534f\u5546\u534f\u8bae\u751f\u6210\u4f1a\u8bdd\u5bc6\u94a5\uff0c\u7136\u540e\u8fd9\u4e2a\u4f1a\u8bdd\u5bc6\u94a5\u88ab\u7f51\u7ad9\u670d\u52a1\u5668\u7684\u5bc6\u7801\u673a\u4e2d\u7684\u4e3b\u5bc6\u94a5\u52a0\u5bc6\u5b58\u50a8\u3002"),(0,l.yg)("p",null,"\u4e3b\u8981\u7528\u4e8e\u5bf9\u4f1a\u8bdd\u671f\u95f4\u4f20\u8f93\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u548c\u89e3\u5bc6\u3002\u4f8b\u5982\uff0c\u5728\u4e0a\u8ff0\u8d2d\u7269\u7f51\u7ad9\u7684\u5b89\u5168\u8fde\u63a5\u4e2d\uff0c\u7528\u6237\u8f93\u5165\u7684\u4e2a\u4eba\u4fe1\u606f\uff08\u5982\u8d26\u53f7\u3001\u5bc6\u7801\u3001\u6536\u8d27\u5730\u5740\u7b49\uff09\u4f1a\u901a\u8fc7\u4f1a\u8bdd\u5bc6\u94a5\u52a0\u5bc6\u540e\u53d1\u9001\u7ed9\u670d\u52a1\u5668\uff0c\u670d\u52a1\u5668\u63a5\u6536\u5230\u5bc6\u6587\u540e\uff0c\u4f7f\u7528\u76f8\u540c\u7684\u4f1a\u8bdd\u5bc6\u94a5\u8fdb\u884c\u89e3\u5bc6\uff0c\u4ece\u800c\u83b7\u53d6\u539f\u59cb\u4fe1\u606f\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u6709\u6548\u5730\u9632\u6b62\u6570\u636e\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u88ab\u7a83\u53d6\u6216\u8005\u7be1\u6539\uff0c\u5e76\u4e14\u7531\u4e8e\u4f1a\u8bdd\u5bc6\u94a5\u662f\u4e34\u65f6\u7684\uff0c\u5373\u4f7f\u4e00\u6b21\u4f1a\u8bdd\u5bc6\u94a5\u88ab\u6cc4\u9732\uff0c\u4e5f\u4e0d\u4f1a\u5f71\u54cd\u5176\u4ed6\u4f1a\u8bdd\u7684\u5b89\u5168\u3002"),(0,l.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,l.yg)("p",null,"\u5de5\u4f5c\u5bc6\u94a5\u4e0e\u4e3b\u5bc6\u94a5\u3001\u4f1a\u8bdd\u5bc6\u94a5\u534f\u540c\u5de5\u4f5c\uff0c\u5171\u540c\u6784\u5efa\u8d77\u4e00\u4e2a\u5b8c\u6574\u7684\u52a0\u5bc6\u4f53\u7cfb\u3002\u4e3b\u5bc6\u94a5\u7528\u4e8e\u7ba1\u7406\u5de5\u4f5c\u5bc6\u94a5\u7684\u751f\u6210\u3001\u5b58\u50a8\u548c\u66f4\u65b0\uff0c\u4f1a\u8bdd\u5bc6\u94a5\u5219\u7528\u4e8e\u52a0\u5bc6\u4e00\u6b21\u901a\u4fe1\u4f1a\u8bdd\u4e2d\u7684\u6570\u636e\u3002\u4f8b\u5982\uff0c\u5728\u4e00\u4e2a\u4f01\u4e1a\u5185\u90e8\u7684\u901a\u4fe1\u7cfb\u7edf\u4e2d\uff0c\u5de5\u4f5c\u5bc6\u94a5\u7528\u4e8e\u52a0\u5bc6\u4e1a\u52a1\u6587\u6863\u7b49\u6570\u636e\uff0c\u5f53\u8fd9\u4e9b\u6570\u636e\u9700\u8981\u5728\u7f51\u7edc\u4e2d\u4f20\u8f93\u65f6\uff0c\u4f1a\u4e34\u65f6\u751f\u6210\u4f1a\u8bdd\u5bc6\u94a5\uff0c\u4f1a\u8bdd\u5bc6\u94a5\u5c06\u4f1a\u8bdd\u671f\u95f4\u4f20\u8f93\u7684\u5df2\u7ecf\u7531\u5de5\u4f5c\u5bc6\u94a5\u52a0\u5bc6\u7684\u6570\u636e\u518d\u6b21\u52a0\u5bc6\uff0c\u4ece\u800c\u63d0\u4f9b\u591a\u5c42\u5b89\u5168\u9632\u62a4\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9726],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>c});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var o=r.createContext({}),p=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=p(e.components);return r.createElement(o.Provider,{value:t},e.children)},g="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,o=e.parentName,u=y(e,["components","mdxType","originalType","parentName"]),g=p(n),m=l,c=g["".concat(o,".").concat(m)]||g[m]||s[m]||a;return n?r.createElement(c,i(i({ref:t},u),{},{components:n})):r.createElement(c,i({ref:t},u))}));function c(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=m;var y={};for(var o in t)hasOwnProperty.call(t,o)&&(y[o]=t[o]);y.originalType=e,y[g]="string"==typeof e?e:l,i[1]=y;for(var p=2;p{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>y,toc:()=>p});var r=n(58168),l=(n(96540),n(15680));const a={},i="HSM",y={unversionedId:"study/encryption/HSM",id:"study/encryption/HSM",title:"HSM",description:"HSM \u786c\u4ef6\u52a0\u5bc6\u673a",source:"@site/docs/study/encryption/HSM.md",sourceDirName:"study/encryption",slug:"/study/encryption/HSM",permalink:"/docs/study/encryption/HSM",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ECC \u548c RSA",permalink:"/docs/study/encryption/ECC-RSA"},next:{title:"OpenSSL",permalink:"/docs/study/encryption/OpenSSL"}},o={},p=[{value:"HSM \u786c\u4ef6\u52a0\u5bc6\u673a",id:"hsm-\u786c\u4ef6\u52a0\u5bc6\u673a",level:3},{value:"VSM \u865a\u62df\u5bc6\u7801\u673a",id:"vsm-\u865a\u62df\u5bc6\u7801\u673a",level:3},{value:"\u603b\u7ed3HSM\u3001VSM\u4f18\u52a3\u52bf",id:"\u603b\u7ed3hsmvsm\u4f18\u52a3\u52bf",level:3},{value:"VSM\uff08\u865a\u62df\u5bc6\u7801\u673a\uff09",id:"vsm\u865a\u62df\u5bc6\u7801\u673a",level:4},{value:"HSM\uff08\u786c\u4ef6\u5bc6\u7801\u673a\uff09",id:"hsm\u786c\u4ef6\u5bc6\u7801\u673a",level:4},{value:"\u6839\u79d8\u94a5\uff08Root Key\uff09",id:"\u6839\u79d8\u94a5root-key",level:3},{value:"\u4e3b\u79d8\u94a5\uff08Master Key\uff09",id:"\u4e3b\u79d8\u94a5master-key",level:3},{value:"\u5de5\u4f5c\u79d8\u94a5\uff08Working Key\uff09",id:"\u5de5\u4f5c\u79d8\u94a5working-key",level:3},{value:"\u4f1a\u8bdd\u79d8\u94a5\uff08Session Key\uff09",id:"\u4f1a\u8bdd\u79d8\u94a5session-key",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3}],u={toc:p},g="wrapper";function s(e){let{components:t,...n}=e;return(0,l.yg)(g,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h1",{id:"hsm"},"HSM"),(0,l.yg)("h3",{id:"hsm-\u786c\u4ef6\u52a0\u5bc6\u673a"},"HSM \u786c\u4ef6\u52a0\u5bc6\u673a"),(0,l.yg)("p",null,"\u786c\u4ef6\u5b89\u5168\u6a21\u5757\uff08HSM\uff09\u662f\u4e00\u79cd\u7269\u7406\u8bbe\u5907\uff0c\u8bbe\u8ba1\u7528\u4e8e\u5b89\u5168\u5730\u7ba1\u7406\u3001\u5904\u7406\u548c\u5b58\u50a8\u52a0\u5bc6\u5bc6\u94a5\u548c\u6570\u5b57\u8bc1\u4e66\u3002HSM\u5e7f\u6cdb\u5e94\u7528\u4e8e\u9700\u8981\u9ad8\u5b89\u5168\u6027\u7684\u573a\u666f\uff0c\u5982\u91d1\u878d\u670d\u52a1\u3001\u6570\u636e\u4fdd\u62a4\u3001\u4f01\u4e1a\u5b89\u5168\u4ee5\u53ca\u653f\u5e9c\u548c\u519b\u4e8b\u9886\u57df\u3002HSM\u63d0\u4f9b\u4e86\u4e00\u79cd\u6bd4\u8f6f\u4ef6\u5b58\u50a8\u5bc6\u94a5\u66f4\u5b89\u5168\u7684\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5bc6\u94a5\u6750\u6599\u4ece\u4e0d\u4ee5\u672a\u52a0\u5bc6\u5f62\u5f0f\u79bb\u5f00\u6a21\u5757\u3002"),(0,l.yg)("h3",{id:"vsm-\u865a\u62df\u5bc6\u7801\u673a"},"VSM \u865a\u62df\u5bc6\u7801\u673a"),(0,l.yg)("p",null,"\u865a\u62df\u5bc6\u7801\u673a\uff08VSM\uff0cVirtual Security Module\uff09\u662f\u4e00\u79cd\u57fa\u4e8e\u8f6f\u4ef6\u5b9e\u73b0\u7684\u5bc6\u7801\u8bbe\u5907\u529f\u80fd\u6a21\u62df\u7cfb\u7edf\u3002\u5b83\u5229\u7528\u8f6f\u4ef6\u6280\u672f\u5728\u901a\u7528\u7684\u8ba1\u7b97\u5e73\u53f0\uff08\u5982\u670d\u52a1\u5668\u3001\u4e91\u8ba1\u7b97\u73af\u5883\u7b49\uff09\u4e0a\u63d0\u4f9b\u5bc6\u7801\u5b66\u670d\u52a1\uff0c\u6a21\u62df\u4f20\u7edf\u786c\u4ef6\u5bc6\u7801\u673a\u7684\u529f\u80fd\uff0c\u5305\u62ec\u5bc6\u94a5\u7ba1\u7406\u3001\u6570\u636e\u52a0\u5bc6 / \u89e3\u5bc6\u3001\u6570\u5b57\u7b7e\u540d\u7b49\u64cd\u4f5c\u3002"),(0,l.yg)("h3",{id:"\u603b\u7ed3hsmvsm\u4f18\u52a3\u52bf"},"\u603b\u7ed3HSM\u3001VSM\u4f18\u52a3\u52bf"),(0,l.yg)("p",null,"VSM\uff08\u865a\u62df\u5bc6\u7801\u673a\uff09\u548cHSM\uff08\u786c\u4ef6\u5bc6\u7801\u673a\uff09\u7684\u4f18\u52a3\u52bf\u5982\u4e0b\uff1a"),(0,l.yg)("h4",{id:"vsm\u865a\u62df\u5bc6\u7801\u673a"},"VSM\uff08\u865a\u62df\u5bc6\u7801\u673a\uff09"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u4f18\u52bf"),"\uff1a",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6210\u672c\u4f4e"),"\uff1aVSM\u662f\u57fa\u4e8e\u8f6f\u4ef6\u5b9e\u73b0\u7684\u5bc6\u7801\u8bbe\u5907\u529f\u80fd\u6a21\u62df\u7cfb\u7edf\uff0c\u4e0d\u9700\u8981\u8d2d\u4e70\u4e13\u95e8\u7684\u786c\u4ef6\u8bbe\u5907\uff0c\u5927\u5927\u964d\u4f4e\u4e86\u91c7\u8d2d\u6210\u672c\u3002\u5bf9\u4e8e\u9884\u7b97\u6709\u9650\u7684\u4f01\u4e1a\u6216\u9879\u76ee\u6765\u8bf4\uff0c\u662f\u4e00\u79cd\u7ecf\u6d4e\u5b9e\u60e0\u7684\u9009\u62e9\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7075\u6d3b\u90e8\u7f72"),"\uff1a\u53ef\u4ee5\u65b9\u4fbf\u5730\u90e8\u7f72\u5728\u5404\u79cd\u8ba1\u7b97\u73af\u5883\u4e2d\uff0c\u5305\u62ec\u672c\u5730\u670d\u52a1\u5668\u3001\u79c1\u6709\u4e91\u3001\u516c\u6709\u4e91\u7b49\u3002\u5e76\u4e14\u80fd\u591f\u6839\u636e\u4e1a\u52a1\u9700\u6c42\u7075\u6d3b\u5730\u8fdb\u884c\u6269\u5c55\u6216\u7f29\u51cf\u8d44\u6e90\uff0c\u9002\u5e94\u4e0d\u540c\u89c4\u6a21\u7684\u4e1a\u52a1\u573a\u666f\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6613\u4e8e\u66f4\u65b0\u7ef4\u62a4"),"\uff1a\u8f6f\u4ef6\u6027\u8d28\u4f7f\u5f97VSM\u7684\u66f4\u65b0\u548c\u7ef4\u62a4\u76f8\u5bf9\u5bb9\u6613\u3002\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u901a\u8fc7\u8f6f\u4ef6\u5347\u7ea7\u7684\u65b9\u5f0f\u6765\u66f4\u65b0\u52a0\u5bc6\u7b97\u6cd5\u3001\u4fee\u590d\u5b89\u5168\u6f0f\u6d1e\u6216\u6dfb\u52a0\u65b0\u7684\u5bc6\u7801\u529f\u80fd\uff0c\u65e0\u9700\u50cf\u786c\u4ef6\u5bc6\u7801\u673a\u90a3\u6837\u8fdb\u884c\u590d\u6742\u7684\u786c\u4ef6\u66f4\u6362\u6216\u73b0\u573a\u7ef4\u62a4\u64cd\u4f5c\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u517c\u5bb9\u6027\u597d"),"\uff1aVSM\u901a\u5e38\u63d0\u4f9b\u4e0e\u5b9e\u4f53\u5bc6\u7801\u8bbe\u5907\u76f8\u540c\u7684\u529f\u80fd\u4e0e\u63a5\u53e3\uff0c\u53ef\u5b8c\u5168\u517c\u5bb9\u4f20\u7edf\u5e94\u7528\uff0c\u65b9\u4fbf\u4f01\u4e1a\u5c06\u73b0\u6709\u5e94\u7528\u8fc1\u79fb\u5230\u865a\u62df\u5bc6\u7801\u673a\u73af\u5883\u4e2d\uff0c\u964d\u4f4e\u4e86\u5e94\u7528\u6539\u9020\u7684\u96be\u5ea6\u548c\u6210\u672c\u3002"))),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u52a3\u52bf"),"\uff1a",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u5b89\u5168\u6027\u76f8\u5bf9\u8f83\u4f4e"),"\uff1a\u5c3d\u7ba1VSM\u91c7\u53d6\u4e86\u591a\u79cd\u5b89\u5168\u63aa\u65bd\uff0c\u4f46\u7531\u4e8e\u5b83\u57fa\u4e8e\u8f6f\u4ef6\u5b9e\u73b0\uff0c\u5176\u5b89\u5168\u6027\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u4f9d\u8d56\u4e8e\u8fd0\u884c\u73af\u5883\u7684\u5b89\u5168\u6027\u3002\u4e0e\u786c\u4ef6\u5bc6\u7801\u673a\u76f8\u6bd4\uff0c\u66f4\u5bb9\u6613\u53d7\u5230\u8f6f\u4ef6\u6f0f\u6d1e\uff08\u5982\u64cd\u4f5c\u7cfb\u7edf\u6f0f\u6d1e\u3001\u5e94\u7528\u7a0b\u5e8f\u6f0f\u6d1e\uff09\u7684\u653b\u51fb\u3002\u5982\u679c\u8fd0\u884cVSM\u7684\u670d\u52a1\u5668\u88ab\u9ed1\u5ba2\u5165\u4fb5\uff0c\u653b\u51fb\u8005\u53ef\u80fd\u4f1a\u7834\u574fVSM\u7684\u5b89\u5168\u673a\u5236\uff0c\u4ece\u800c\u83b7\u53d6\u5bc6\u94a5\u6216\u7be1\u6539\u52a0\u5bc6\u6570\u636e\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6027\u80fd\u53d7\u73af\u5883\u5f71\u54cd"),"\uff1aVSM\u7684\u6027\u80fd\u4f1a\u53d7\u5230\u8fd0\u884c\u73af\u5883\u7684\u5f71\u54cd\u3002\u5728\u9ad8\u8d1f\u8f7d\u6216\u8d44\u6e90\u53d7\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u5982\u670d\u52a1\u5668CPU\u5360\u7528\u7387\u8fc7\u9ad8\u3001\u5185\u5b58\u4e0d\u8db3\u7b49\uff0cVSM\u7684\u5bc6\u7801\u5904\u7406\u901f\u5ea6\u53ef\u80fd\u4f1a\u4e0b\u964d\uff0c\u65e0\u6cd5\u4fdd\u8bc1\u7a33\u5b9a\u7684\u9ad8\u6027\u80fd\u5bc6\u7801\u670d\u52a1\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7f3a\u4e4f\u7269\u7406\u4fdd\u62a4"),"\uff1a\u786c\u4ef6\u5bc6\u7801\u673a\u901a\u5e38\u5177\u6709\u7269\u7406\u5c42\u9762\u7684\u4fdd\u62a4\u63aa\u65bd\uff0c\u5982\u9632\u7be1\u6539\u5916\u58f3\u3001\u5b89\u5168\u82af\u7247\u7b49\uff0c\u800cVSM\u7f3a\u4e4f\u8fd9\u4e9b\u7269\u7406\u4fdd\u62a4\u673a\u5236\uff0c\u66f4\u5bb9\u6613\u53d7\u5230\u7269\u7406\u653b\u51fb\u6216\u786c\u4ef6\u6545\u969c\u7684\u5f71\u54cd\u3002")))),(0,l.yg)("h4",{id:"hsm\u786c\u4ef6\u5bc6\u7801\u673a"},"HSM\uff08\u786c\u4ef6\u5bc6\u7801\u673a\uff09"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u4f18\u52bf"),"\uff1a",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u5b89\u5168\u6027\u9ad8"),"\uff1a\u786c\u4ef6\u5bc6\u7801\u673a\u5177\u6709\u4e13\u95e8\u8bbe\u8ba1\u7684\u786c\u4ef6\u7535\u8def\u548c\u5b89\u5168\u82af\u7247\uff0c\u80fd\u591f\u63d0\u4f9b\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u3002\u5176\u5bc6\u94a5\u5b58\u50a8\u5728\u5b89\u5168\u7684\u786c\u4ef6\u73af\u5883\u4e2d\uff0c\u96be\u4ee5\u88ab\u7a83\u53d6\u6216\u7be1\u6539\uff0c\u6709\u6548\u4fdd\u62a4\u4e86\u5bc6\u94a5\u7684\u5b89\u5168\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6027\u80fd\u7a33\u5b9a"),"\uff1a\u72ec\u7acb\u7684\u786c\u4ef6\u8bbe\u5907\u4e0d\u53d7\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u6216\u7cfb\u7edf\u7684\u5f71\u54cd\uff0c\u80fd\u591f\u63d0\u4f9b\u7a33\u5b9a\u3001\u9ad8\u6548\u7684\u5bc6\u7801\u8fd0\u7b97\u6027\u80fd\uff0c\u9002\u7528\u4e8e\u5bf9\u5bc6\u7801\u5904\u7406\u901f\u5ea6\u548c\u7a33\u5b9a\u6027\u8981\u6c42\u8f83\u9ad8\u7684\u573a\u666f\uff0c\u5982\u91d1\u878d\u3001\u653f\u52a1\u7b49\u5173\u952e\u4e1a\u52a1\u9886\u57df\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7269\u7406\u4fdd\u62a4\u673a\u5236"),"\uff1a\u5177\u5907\u7269\u7406\u5c42\u9762\u7684\u4fdd\u62a4\u63aa\u65bd\uff0c\u5982\u9632\u7be1\u6539\u8bbe\u8ba1\u3001\u786c\u4ef6\u52a0\u5bc6\u6a21\u5757\u7b49\uff0c\u80fd\u591f\u9632\u6b62\u672a\u7ecf\u6388\u6743\u7684\u8bbf\u95ee\u548c\u7269\u7406\u653b\u51fb\uff0c\u8fdb\u4e00\u6b65\u589e\u5f3a\u4e86\u8bbe\u5907\u7684\u5b89\u5168\u6027\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7b26\u5408\u6cd5\u89c4\u6807\u51c6"),"\uff1a\u8bb8\u591a\u884c\u4e1a\u7684\u6cd5\u89c4\u548c\u6807\u51c6\u8981\u6c42\u4f7f\u7528\u7ecf\u8fc7\u8ba4\u8bc1\u7684\u786c\u4ef6\u5bc6\u7801\u8bbe\u5907\u6765\u4fdd\u969c\u6570\u636e\u5b89\u5168\uff0cHSM\u901a\u5e38\u7ecf\u8fc7\u4e25\u683c\u7684\u5b89\u5168\u8ba4\u8bc1\uff0c\u7b26\u5408\u76f8\u5173\u6cd5\u89c4\u6807\u51c6\uff0c\u80fd\u591f\u6ee1\u8db3\u4f01\u4e1a\u7684\u5408\u89c4\u9700\u6c42\u3002"))),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u52a3\u52bf"),"\uff1a",(0,l.yg)("ul",{parentName:"li"},(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u6210\u672c\u9ad8"),"\uff1a\u8d2d\u4e70\u3001\u90e8\u7f72\u548c\u7ef4\u62a4\u786c\u4ef6\u5bc6\u7801\u673a\u9700\u8981\u8f83\u9ad8\u7684\u6210\u672c\uff0c\u5305\u62ec\u786c\u4ef6\u8bbe\u5907\u7684\u91c7\u8d2d\u8d39\u7528\u3001\u8bbe\u5907\u7684\u5b89\u88c5\u8c03\u8bd5\u8d39\u7528\u3001\u7ef4\u62a4\u4eba\u5458\u7684\u57f9\u8bad\u6210\u672c\u7b49\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u90e8\u7f72\u4e0d\u591f\u7075\u6d3b"),"\uff1a\u786c\u4ef6\u5bc6\u7801\u673a\u662f\u72ec\u7acb\u7684\u786c\u4ef6\u8bbe\u5907\uff0c\u90e8\u7f72\u76f8\u5bf9\u56fa\u5b9a\uff0c\u4e0d\u592a\u5bb9\u6613\u6839\u636e\u4e1a\u52a1\u9700\u6c42\u5feb\u901f\u8fdb\u884c\u6269\u5c55\u6216\u8c03\u6574\u3002\u5982\u679c\u4e1a\u52a1\u91cf\u7a81\u7136\u589e\u52a0\uff0c\u53ef\u80fd\u9700\u8981\u8d2d\u4e70\u65b0\u7684\u786c\u4ef6\u8bbe\u5907\uff0c\u5bfc\u81f4\u90e8\u7f72\u5468\u671f\u8f83\u957f\u3002"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},"\u7ba1\u7406\u590d\u6742"),"\uff1a\u786c\u4ef6\u5bc6\u7801\u673a\u7684\u7ba1\u7406\u548c\u7ef4\u62a4\u9700\u8981\u4e13\u4e1a\u7684\u6280\u672f\u4eba\u5458\uff0c\u7ba1\u7406\u8fc7\u7a0b\u76f8\u5bf9\u590d\u6742\u3002\u4f8b\u5982\uff0c\u5bc6\u94a5\u7684\u5907\u4efd\u3001\u6062\u590d\u3001\u66f4\u65b0\u7b49\u64cd\u4f5c\u90fd\u9700\u8981\u4e25\u683c\u7684\u7ba1\u7406\u6d41\u7a0b\u548c\u6280\u672f\u652f\u6301\u3002")))),(0,l.yg)("h3",{id:"\u6839\u79d8\u94a5root-key"},"\u6839\u79d8\u94a5\uff08Root Key\uff09"),(0,l.yg)("p",null,"\u6839\u5bc6\u94a5\u662f\u5bc6\u7801\u673a\u5bc6\u94a5\u4f53\u7cfb\u4e2d\u7684\u6700\u9876\u5c42\u3001\u6700\u57fa\u7840\u7684\u5bc6\u94a5\u3002\u5b83\u5c31\u50cf\u4e00\u68f5\u5927\u6811\u7684\u6811\u6839\uff0c\u662f\u6574\u4e2a\u5bc6\u94a5\u4f53\u7cfb\u7684\u6839\u57fa\u3002\u901a\u5e38\u662f\u5728\u5bc6\u7801\u673a\u521d\u59cb\u5316\u6216\u8005\u7cfb\u7edf\u5efa\u7acb\u521d\u671f\u901a\u8fc7\u975e\u5e38\u5b89\u5168\u3001\u4e25\u683c\u7684\u65b9\u5f0f\u751f\u6210\u6216\u8bbe\u7f6e\u7684\u3002"),(0,l.yg)("p",null,"\u751f\u6210\u65b9\u5f0f\u6781\u4e3a\u8c28\u614e\uff0c\u53ef\u80fd\u6d89\u53ca\u5230\u7269\u7406\u624b\u6bb5\uff08\u5982\u901a\u8fc7\u4e13\u95e8\u7684\u5b89\u5168\u8bbe\u5907\u5199\u5165\uff09\u6216\u8005\u591a\u91cd\u52a0\u5bc6\u6280\u672f\u7684\u590d\u6742\u7ec4\u5408\u3002\u5176\u5b58\u50a8\u4f4d\u7f6e\u4e5f\u662f\u5bc6\u7801\u673a\u4e2d\u6700\u5b89\u5168\u7684\u533a\u57df\uff0c\u4f8b\u5982\u91c7\u7528\u4e13\u95e8\u7684\u786c\u4ef6\u5b89\u5168\u6a21\u5757\uff08HSM\uff09\u4e2d\u7684\u53d7\u4fdd\u62a4\u5b58\u50a8\u5355\u5143\uff0c\u5e76\u4e14\u53ef\u80fd\u4f1a\u6709\u7269\u7406\u9632\u62a4\u63aa\u65bd\uff0c\u5982\u9632\u7be1\u6539\u3001\u9632\u7535\u78c1\u6cc4\u9732\u7b49\u3002"),(0,l.yg)("p",null,"\u4e3b\u8981\u7528\u4e8e\u751f\u6210\u548c\u4fdd\u62a4\u5176\u4ed6\u9ad8\u7ea7\u522b\u7684\u5bc6\u94a5\uff0c\u5982\u4e3b\u5bc6\u94a5\u3002\u5b83\u4e3a\u6574\u4e2a\u5bc6\u94a5\u4f53\u7cfb\u63d0\u4f9b\u4fe1\u4efb\u6839\uff0c\u7528\u4e8e\u9a8c\u8bc1\u4e3b\u5bc6\u94a5\u7684\u5408\u6cd5\u6027\u3002"),(0,l.yg)("h3",{id:"\u4e3b\u79d8\u94a5master-key"},"\u4e3b\u79d8\u94a5\uff08Master Key\uff09"),(0,l.yg)("p",null,"\u4e3b\u5bc6\u94a5\u662f\u5bc6\u7801\u673a\u5bc6\u94a5\u4f53\u7cfb\u4e2d\u7684\u6838\u5fc3\u5bc6\u94a5\uff0c\u7531\u6839\u5bc6\u94a5\u884d\u751f\u800c\u6765\u3002\u5b83\u662f\u4e00\u79cd\u957f\u671f\u5bc6\u94a5\uff0c\u7528\u4e8e\u7ba1\u7406\u548c\u4fdd\u62a4\u5176\u4ed6\u5bc6\u94a5\uff0c\u5982\u4f1a\u8bdd\u5bc6\u94a5\u548c\u5de5\u4f5c\u5bc6\u94a5\u3002\u53ef\u4ee5\u628a\u4e3b\u5bc6\u94a5\u60f3\u8c61\u6210\u4e00\u4e2a \u201c\u5bc6\u94a5\u7ba1\u7406\u5458\u201d\uff0c\u8d1f\u8d23\u5bc6\u94a5\u7684\u5b58\u50a8\u3001\u5206\u53d1\u7b49\u5173\u952e\u73af\u8282\u3002"),(0,l.yg)("p",null,"\u4e3b\u5bc6\u94a5\u662f\u5728\u6839\u5bc6\u94a5\u7684\u57fa\u7840\u4e0a\uff0c\u901a\u8fc7\u5b89\u5168\u7684\u5bc6\u94a5\u751f\u6210\u7b97\u6cd5\u751f\u6210\u7684\u3002\u5176\u5b58\u50a8\u4e5f\u975e\u5e38\u5b89\u5168\uff0c\u4e00\u822c\u5b58\u50a8\u5728\u5bc6\u7801\u673a\u5185\u90e8\u7684\u5b89\u5168\u5b58\u50a8\u533a\u57df\uff0c\u53ef\u80fd\u4f1a\u88ab\u52a0\u5bc6\u5b58\u50a8\uff08\u4f7f\u7528\u6839\u5bc6\u94a5\u6216\u8005\u5176\u4ed6\u4fdd\u62a4\u673a\u5236\uff09\u3002"),(0,l.yg)("p",null,"\u7528\u4e8e\u52a0\u5bc6\u548c\u5b58\u50a8\u4f1a\u8bdd\u5bc6\u94a5\u3001\u5de5\u4f5c\u79d8\u94a5\u3002\u5f53\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u4f1a\u8bdd\u5bc6\u94a5\u65f6\uff0c\u4e3b\u5bc6\u94a5\u4f1a\u5bf9\u5176\u8fdb\u884c\u52a0\u5bc6\uff0c\u7136\u540e\u5b58\u50a8\u5728\u5bc6\u7801\u673a\u7684\u5bc6\u94a5\u5b58\u50a8\u5e93\u4e2d\u3002\u5f53\u901a\u4fe1\u4f1a\u8bdd\u9700\u8981\u4f7f\u7528\u4f1a\u8bdd\u5bc6\u94a5\u65f6\uff0c\u4e3b\u5bc6\u94a5\u518d\u5bf9\u5b58\u50a8\u7684\u52a0\u5bc6\u4f1a\u8bdd\u5bc6\u94a5\u8fdb\u884c\u89e3\u5bc6\u3002\u540c\u65f6\uff0c\u4e3b\u5bc6\u94a5\u8fd8\u53ef\u4ee5\u7528\u4e8e\u7ba1\u7406\u5176\u4ed6\u5de5\u4f5c\u5bc6\u94a5\uff0c\u5982\u5bf9\u5de5\u4f5c\u5bc6\u94a5\u8fdb\u884c\u5907\u4efd\u3001\u6062\u590d\u548c\u66f4\u65b0\u7b49\u64cd\u4f5c\u3002"),(0,l.yg)("h3",{id:"\u5de5\u4f5c\u79d8\u94a5working-key"},"\u5de5\u4f5c\u79d8\u94a5\uff08Working Key\uff09"),(0,l.yg)("p",null,"\u5de5\u4f5c\u5bc6\u94a5\uff08Working Key\uff09\u662f\u5bc6\u7801\u7cfb\u7edf\u4e2d\u7528\u4e8e\u5b9e\u9645\u6570\u636e\u52a0\u5bc6\u64cd\u4f5c\u7684\u5bc6\u94a5\u3002\u5b83\u4ecb\u4e8e\u4e3b\u5bc6\u94a5\u548c\u4f1a\u8bdd\u5bc6\u94a5\u4e4b\u95f4\uff0c\u662f\u6839\u636e\u7279\u5b9a\u4e1a\u52a1\u573a\u666f\u6216\u64cd\u4f5c\u6d41\u7a0b\u800c\u8bbe\u7acb\u7684\u5bc6\u94a5\u3002\u5de5\u4f5c\u5bc6\u94a5\u4e3b\u8981\u7528\u4e8e\u52a0\u5bc6\u5177\u4f53\u4e1a\u52a1\u76f8\u5173\u7684\u6570\u636e\uff0c\u8fd9\u4e9b\u6570\u636e\u53ef\u4ee5\u662f\u6279\u91cf\u7684\u3001\u6709\u89c4\u5f8b\u7684\uff0c\u5e76\u4e14\u548c\u7279\u5b9a\u7684\u4e1a\u52a1\u903b\u8f91\u7d27\u5bc6\u76f8\u5173\u3002"),(0,l.yg)("p",null,"\u5de5\u4f5c\u5bc6\u94a5\u7684\u66f4\u65b0\u901a\u5e38\u662f\u57fa\u4e8e\u4e1a\u52a1\u5468\u671f\u6216\u8005\u5b89\u5168\u7b56\u7565\u3002\u4f8b\u5982\uff0c\u4e3a\u4e86\u5e94\u5bf9\u4e0d\u65ad\u53d8\u5316\u7684\u5b89\u5168\u5a01\u80c1\uff0c\u91d1\u878d\u7cfb\u7edf\u4e2d\u7684\u5de5\u4f5c\u5bc6\u94a5\u53ef\u80fd\u4f1a\u5b9a\u671f\u66f4\u65b0\uff0c\u66f4\u65b0\u5468\u671f\u53ef\u4ee5\u662f\u6bcf\u5929\u3001\u6bcf\u5468\u6216\u8005\u6bcf\u6708\u7b49\u3002\u66f4\u65b0\u8fc7\u7a0b\u4f1a\u6d89\u53ca\u5230\u4e3b\u5bc6\u94a5\u5bf9\u65b0\u5de5\u4f5c\u5bc6\u94a5\u7684\u52a0\u5bc6\u5b58\u50a8\uff0c\u4ee5\u53ca\u65e7\u5de5\u4f5c\u5bc6\u94a5\u7684\u5b89\u5168\u9500\u6bc1\u6216\u5907\u4efd\uff08\u7528\u4e8e\u5bc6\u94a5\u6062\u590d\u7b49\u60c5\u51b5\uff09\u3002"),(0,l.yg)("h3",{id:"\u4f1a\u8bdd\u79d8\u94a5session-key"},"\u4f1a\u8bdd\u79d8\u94a5\uff08Session Key\uff09"),(0,l.yg)("p",null,"\u4f1a\u8bdd\u5bc6\u94a5\u662f\u4e3a\u4e86\u4e00\u6b21\u7279\u5b9a\u7684\u901a\u4fe1\u4f1a\u8bdd\uff08\u5982\u4e00\u6b21\u7f51\u7edc\u8fde\u63a5\u3001\u4e00\u6b21\u6570\u636e\u4f20\u8f93\u4ea4\u4e92\u7b49\uff09\u800c\u4e34\u65f6\u751f\u6210\u7684\u5bf9\u79f0\u5bc6\u94a5\u3002\u5b83\u662f\u4e00\u79cd\u77ed\u671f\u5bc6\u94a5\uff0c\u53ea\u5728\u672c\u6b21\u4f1a\u8bdd\u671f\u95f4\u6709\u6548\u3002"),(0,l.yg)("p",null,"\u53ef\u4ee5\u901a\u8fc7\u5bc6\u7801\u673a\u5185\u90e8\u7684\u968f\u673a\u6570\u751f\u6210\u5668\u751f\u6210\uff0c\u6216\u8005\u901a\u8fc7\u901a\u4fe1\u53cc\u65b9\u57fa\u4e8e\u5bc6\u94a5\u534f\u5546\u534f\u8bae\uff08\u5982 Diffie - Hellman \u5bc6\u94a5\u4ea4\u6362\u534f\u8bae\uff09\u6765\u5171\u540c\u751f\u6210\u3002\u4f1a\u8bdd\u5bc6\u94a5\u5728\u751f\u6210\u540e\uff0c\u901a\u5e38\u4f1a\u88ab\u4e3b\u5bc6\u94a5\u52a0\u5bc6\u5b58\u50a8\u5728\u5bc6\u7801\u673a\u7684\u5b58\u50a8\u533a\u57df\uff0c\u76f4\u5230\u8be5\u4f1a\u8bdd\u5f00\u59cb\u4f7f\u7528\u3002"),(0,l.yg)("p",null,"\u4ee5\u4e00\u4e2a\u5728\u7ebf\u8d2d\u7269\u7f51\u7ad9\u7684\u5b89\u5168\u901a\u4fe1\u4e3a\u4f8b\uff0c\u5f53\u7528\u6237\u6d4f\u89c8\u5668\u548c\u7f51\u7ad9\u670d\u52a1\u5668\u5efa\u7acb\u5b89\u5168\u8fde\u63a5\uff08\u5982 TLS \u8fde\u63a5\uff09\u65f6\uff0c\u53cc\u65b9\u901a\u8fc7\u5bc6\u94a5\u534f\u5546\u534f\u8bae\u751f\u6210\u4f1a\u8bdd\u5bc6\u94a5\uff0c\u7136\u540e\u8fd9\u4e2a\u4f1a\u8bdd\u5bc6\u94a5\u88ab\u7f51\u7ad9\u670d\u52a1\u5668\u7684\u5bc6\u7801\u673a\u4e2d\u7684\u4e3b\u5bc6\u94a5\u52a0\u5bc6\u5b58\u50a8\u3002"),(0,l.yg)("p",null,"\u4e3b\u8981\u7528\u4e8e\u5bf9\u4f1a\u8bdd\u671f\u95f4\u4f20\u8f93\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u548c\u89e3\u5bc6\u3002\u4f8b\u5982\uff0c\u5728\u4e0a\u8ff0\u8d2d\u7269\u7f51\u7ad9\u7684\u5b89\u5168\u8fde\u63a5\u4e2d\uff0c\u7528\u6237\u8f93\u5165\u7684\u4e2a\u4eba\u4fe1\u606f\uff08\u5982\u8d26\u53f7\u3001\u5bc6\u7801\u3001\u6536\u8d27\u5730\u5740\u7b49\uff09\u4f1a\u901a\u8fc7\u4f1a\u8bdd\u5bc6\u94a5\u52a0\u5bc6\u540e\u53d1\u9001\u7ed9\u670d\u52a1\u5668\uff0c\u670d\u52a1\u5668\u63a5\u6536\u5230\u5bc6\u6587\u540e\uff0c\u4f7f\u7528\u76f8\u540c\u7684\u4f1a\u8bdd\u5bc6\u94a5\u8fdb\u884c\u89e3\u5bc6\uff0c\u4ece\u800c\u83b7\u53d6\u539f\u59cb\u4fe1\u606f\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u6709\u6548\u5730\u9632\u6b62\u6570\u636e\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u88ab\u7a83\u53d6\u6216\u8005\u7be1\u6539\uff0c\u5e76\u4e14\u7531\u4e8e\u4f1a\u8bdd\u5bc6\u94a5\u662f\u4e34\u65f6\u7684\uff0c\u5373\u4f7f\u4e00\u6b21\u4f1a\u8bdd\u5bc6\u94a5\u88ab\u6cc4\u9732\uff0c\u4e5f\u4e0d\u4f1a\u5f71\u54cd\u5176\u4ed6\u4f1a\u8bdd\u7684\u5b89\u5168\u3002"),(0,l.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,l.yg)("p",null,"\u5de5\u4f5c\u5bc6\u94a5\u4e0e\u4e3b\u5bc6\u94a5\u3001\u4f1a\u8bdd\u5bc6\u94a5\u534f\u540c\u5de5\u4f5c\uff0c\u5171\u540c\u6784\u5efa\u8d77\u4e00\u4e2a\u5b8c\u6574\u7684\u52a0\u5bc6\u4f53\u7cfb\u3002\u4e3b\u5bc6\u94a5\u7528\u4e8e\u7ba1\u7406\u5de5\u4f5c\u5bc6\u94a5\u7684\u751f\u6210\u3001\u5b58\u50a8\u548c\u66f4\u65b0\uff0c\u4f1a\u8bdd\u5bc6\u94a5\u5219\u7528\u4e8e\u52a0\u5bc6\u4e00\u6b21\u901a\u4fe1\u4f1a\u8bdd\u4e2d\u7684\u6570\u636e\u3002\u4f8b\u5982\uff0c\u5728\u4e00\u4e2a\u4f01\u4e1a\u5185\u90e8\u7684\u901a\u4fe1\u7cfb\u7edf\u4e2d\uff0c\u5de5\u4f5c\u5bc6\u94a5\u7528\u4e8e\u52a0\u5bc6\u4e1a\u52a1\u6587\u6863\u7b49\u6570\u636e\uff0c\u5f53\u8fd9\u4e9b\u6570\u636e\u9700\u8981\u5728\u7f51\u7edc\u4e2d\u4f20\u8f93\u65f6\uff0c\u4f1a\u4e34\u65f6\u751f\u6210\u4f1a\u8bdd\u5bc6\u94a5\uff0c\u4f1a\u8bdd\u5bc6\u94a5\u5c06\u4f1a\u8bdd\u671f\u95f4\u4f20\u8f93\u7684\u5df2\u7ecf\u7531\u5de5\u4f5c\u5bc6\u94a5\u52a0\u5bc6\u7684\u6570\u636e\u518d\u6b21\u52a0\u5bc6\uff0c\u4ece\u800c\u63d0\u4f9b\u591a\u5c42\u5b89\u5168\u9632\u62a4\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8a4b28e1.f602a36a.js b/assets/js/8a4b28e1.4b0fd825.js similarity index 98% rename from assets/js/8a4b28e1.f602a36a.js rename to assets/js/8a4b28e1.4b0fd825.js index 2270bb0e5..d948b1413 100644 --- a/assets/js/8a4b28e1.f602a36a.js +++ b/assets/js/8a4b28e1.4b0fd825.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5916],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>f});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,o=e.originalType,u=e.parentName,i=c(e,["components","mdxType","originalType","parentName"]),y=p(r),d=l,f=y["".concat(u,".").concat(d)]||y[d]||s[d]||o;return r?n.createElement(f,a(a({ref:t},i),{},{components:r})):n.createElement(f,a({ref:t},i))}));function f(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=r.length,a=new Array(o);a[0]=d;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c[y]="string"==typeof e?e:l,a[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),l=(r(96540),r(15680));const o={},a=void 0,c={unversionedId:"study/stock/\u672f",id:"study/stock/\u672f",title:"\u672f",description:"1",source:"@site/docs/study/stock/\u672f.md",sourceDirName:"study/stock",slug:"/study/stock/\u672f",permalink:"/docs/study/stock/\u672f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[{value:"1",id:"1",level:3},{value:"2",id:"2",level:3},{value:"3",id:"3",level:3},{value:"4",id:"4",level:3}],i={toc:p},y="wrapper";function s(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"1"},"1"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("p",{parentName:"li"},"\u4e0b\u8dcc\u901a\u9053\u5e95\u90e8\u5f00\u59cb\u4e0a\u6da8\uff0c\u4f1a\u6709\u4e00\u6839\u9634\u7ebf\uff0c\u8fd9\u6839\u9634\u7ebf\u5c31\u662f\u51cf\u4ed3\u7ebf")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("p",{parentName:"li"},"\u4e0a\u6da8\u901a\u9053\u9876\u90e8\u5f00\u59cb\u4e0b\u8dcc\uff0c\u4f1a\u6709\u4e00\u6839\u9633\u7ebf\uff0c\u8fd9\u6839\u9633\u7ebf\u5c31\u662f\u8865\u4ed3\u7ebf"))),(0,l.yg)("p",null,"\u65e0\u8bba\u662f\u51cf\u4ed3\u8fd8\u662f\u8865\u4ed3\uff0c\u90fd\u5e94\u8be5\u662f\u65e0\u529b\u7684\uff08\u91cf\uff09\uff0c\u5426\u5219\u4f1a\u6309\u7167\u539f\u6765\u7684\u8d8b\u52bf\u7ee7\u7eed"),(0,l.yg)("h3",{id:"2"},"2"),(0,l.yg)("p",null,"\u6240\u6709\u7684\u4e0a\u6da8\u90fd\u662f\u4e70\u76d8\u7684\u529b\u91cf\u51b3\u5b9a\u7684"),(0,l.yg)("p",null,"\u6240\u6709\u7684\u4e0b\u8dcc\u90fd\u662f\u5356\u76d8\u7684\u529b\u91cf\u51b3\u5b9a\u7684"),(0,l.yg)("p",null,"\u6240\u8c13\u7684\u4e0a\u6da8\u7684\u8d8b\u52bf\u5c31\u662f\u4e70\u76d8\u7684\u529b\u91cf\u4e00\u76f4\u5728\u5728\u5ef6\u7eed"),(0,l.yg)("p",null,"\u5982\u679c\u5f97\u4e0d\u5230\u5ef6\u7eed\uff0c\u8fd9\u4e2a\u52bf\u5c31\u6709\u975e\u5e38\u5927\u7684\u6982\u7387\u88ab\u7ec8\u7ed3"),(0,l.yg)("h3",{id:"3"},"3"),(0,l.yg)("p",null,"\u8282\u594f\uff01\u8282\u594f\uff01\u8282\u594f\uff01"),(0,l.yg)("p",null,"\u4ed3\u4f4d\u7684\u8282\u594f\uff0c\u8c03\u6574\u7684\u65f6\u5019\u6e05\u4ed3\uff0c\u4e0b\u8dcc\u7684\u65f6\u5019\u6e05\u4ed3\uff0c\u4e0a\u6da8\u7684\u65f6\u5019\u91cd\u4ed3\u3002"),(0,l.yg)("p",null,"\u6211\u89c9\u5f97\u4ed3\u4f4d\u7684\u63a7\u5236\u5e94\u8be5\u662f\u6700\u96be\u7684"),(0,l.yg)("p",null,"\u4f60\u5224\u65ad\u5bf9\u4e86\uff0c\u4f46\u662f\u4f60\u4ed3\u4f4d\u592a\u8f7b"),(0,l.yg)("p",null,"\u4f60\u5224\u65ad\u9519\u4e86\uff0c\u4f46\u662f\u4f60\u4ed3\u4f4d\u592a\u91cd"),(0,l.yg)("h3",{id:"4"},"4"),(0,l.yg)("p",null,"\u91cd\u4ed3\u7684\u673a\u4f1a\uff0c\u4e0d\u4f1a\u592a\u591a\uff0c\u4e00\u6ce2\u4e0a\u6da8\u4e0d\u4f1a\u8d85\u8fc7\u4e09\u6b21\uff0c\u5207\u8bb0\uff1a\u5982\u679c\u9519\u8fc7\u4e86\uff0c\u4e00\u5b9a\u4e0d\u8981\u8ffd"),(0,l.yg)("p",null,"90%\u7684\u673a\u4f1a\u90fd\u662f\u6e05\u4ed3\u7684\u673a\u4f1a\uff0c\u6bcf\u4e2a\u6708\u7684\u91cd\u4ed3\u673a\u4f1a\u4e0d\u4f1a\u8d85\u8fc7 3 \u6b21"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5916],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>f});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,o=e.originalType,u=e.parentName,i=c(e,["components","mdxType","originalType","parentName"]),y=p(r),d=l,f=y["".concat(u,".").concat(d)]||y[d]||s[d]||o;return r?n.createElement(f,a(a({ref:t},i),{},{components:r})):n.createElement(f,a({ref:t},i))}));function f(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=r.length,a=new Array(o);a[0]=d;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c[y]="string"==typeof e?e:l,a[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),l=(r(96540),r(15680));const o={},a=void 0,c={unversionedId:"study/stock/\u672f",id:"study/stock/\u672f",title:"\u672f",description:"1",source:"@site/docs/study/stock/\u672f.md",sourceDirName:"study/stock",slug:"/study/stock/\u672f",permalink:"/docs/study/stock/\u672f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[{value:"1",id:"1",level:3},{value:"2",id:"2",level:3},{value:"3",id:"3",level:3},{value:"4",id:"4",level:3}],i={toc:p},y="wrapper";function s(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"1"},"1"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("p",{parentName:"li"},"\u4e0b\u8dcc\u901a\u9053\u5e95\u90e8\u5f00\u59cb\u4e0a\u6da8\uff0c\u4f1a\u6709\u4e00\u6839\u9634\u7ebf\uff0c\u8fd9\u6839\u9634\u7ebf\u5c31\u662f\u51cf\u4ed3\u7ebf")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("p",{parentName:"li"},"\u4e0a\u6da8\u901a\u9053\u9876\u90e8\u5f00\u59cb\u4e0b\u8dcc\uff0c\u4f1a\u6709\u4e00\u6839\u9633\u7ebf\uff0c\u8fd9\u6839\u9633\u7ebf\u5c31\u662f\u8865\u4ed3\u7ebf"))),(0,l.yg)("p",null,"\u65e0\u8bba\u662f\u51cf\u4ed3\u8fd8\u662f\u8865\u4ed3\uff0c\u90fd\u5e94\u8be5\u662f\u65e0\u529b\u7684\uff08\u91cf\uff09\uff0c\u5426\u5219\u4f1a\u6309\u7167\u539f\u6765\u7684\u8d8b\u52bf\u7ee7\u7eed"),(0,l.yg)("h3",{id:"2"},"2"),(0,l.yg)("p",null,"\u6240\u6709\u7684\u4e0a\u6da8\u90fd\u662f\u4e70\u76d8\u7684\u529b\u91cf\u51b3\u5b9a\u7684"),(0,l.yg)("p",null,"\u6240\u6709\u7684\u4e0b\u8dcc\u90fd\u662f\u5356\u76d8\u7684\u529b\u91cf\u51b3\u5b9a\u7684"),(0,l.yg)("p",null,"\u6240\u8c13\u7684\u4e0a\u6da8\u7684\u8d8b\u52bf\u5c31\u662f\u4e70\u76d8\u7684\u529b\u91cf\u4e00\u76f4\u5728\u5728\u5ef6\u7eed"),(0,l.yg)("p",null,"\u5982\u679c\u5f97\u4e0d\u5230\u5ef6\u7eed\uff0c\u8fd9\u4e2a\u52bf\u5c31\u6709\u975e\u5e38\u5927\u7684\u6982\u7387\u88ab\u7ec8\u7ed3"),(0,l.yg)("h3",{id:"3"},"3"),(0,l.yg)("p",null,"\u8282\u594f\uff01\u8282\u594f\uff01\u8282\u594f\uff01"),(0,l.yg)("p",null,"\u4ed3\u4f4d\u7684\u8282\u594f\uff0c\u8c03\u6574\u7684\u65f6\u5019\u6e05\u4ed3\uff0c\u4e0b\u8dcc\u7684\u65f6\u5019\u6e05\u4ed3\uff0c\u4e0a\u6da8\u7684\u65f6\u5019\u91cd\u4ed3\u3002"),(0,l.yg)("p",null,"\u6211\u89c9\u5f97\u4ed3\u4f4d\u7684\u63a7\u5236\u5e94\u8be5\u662f\u6700\u96be\u7684"),(0,l.yg)("p",null,"\u4f60\u5224\u65ad\u5bf9\u4e86\uff0c\u4f46\u662f\u4f60\u4ed3\u4f4d\u592a\u8f7b"),(0,l.yg)("p",null,"\u4f60\u5224\u65ad\u9519\u4e86\uff0c\u4f46\u662f\u4f60\u4ed3\u4f4d\u592a\u91cd"),(0,l.yg)("h3",{id:"4"},"4"),(0,l.yg)("p",null,"\u91cd\u4ed3\u7684\u673a\u4f1a\uff0c\u4e0d\u4f1a\u592a\u591a\uff0c\u4e00\u6ce2\u4e0a\u6da8\u4e0d\u4f1a\u8d85\u8fc7\u4e09\u6b21\uff0c\u5207\u8bb0\uff1a\u5982\u679c\u9519\u8fc7\u4e86\uff0c\u4e00\u5b9a\u4e0d\u8981\u8ffd"),(0,l.yg)("p",null,"90%\u7684\u673a\u4f1a\u90fd\u662f\u6e05\u4ed3\u7684\u673a\u4f1a\uff0c\u6bcf\u4e2a\u6708\u7684\u91cd\u4ed3\u673a\u4f1a\u4e0d\u4f1a\u8d85\u8fc7 3 \u6b21"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8ac6cabb.03e258fc.js b/assets/js/8ac6cabb.a47c1484.js similarity index 99% rename from assets/js/8ac6cabb.03e258fc.js rename to assets/js/8ac6cabb.a47c1484.js index 6d270182f..a5d1cd66a 100644 --- a/assets/js/8ac6cabb.03e258fc.js +++ b/assets/js/8ac6cabb.a47c1484.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1821],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>A});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var u=r.createContext({}),c=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(u.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},P=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,o=e.originalType,u=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),y=c(n),P=l,A=y["".concat(u,".").concat(P)]||y[P]||s[P]||o;return n?r.createElement(A,a(a({ref:t},p),{},{components:n})):r.createElement(A,a({ref:t},p))}));function A(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=n.length,a=new Array(o);a[0]=P;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[y]="string"==typeof e?e:l,a[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var r=n(58168),l=(n(96540),n(15680));const o={},a=void 0,i={unversionedId:"study/think/\u67b6\u6784/CAP\u7406\u8bba",id:"study/think/\u67b6\u6784/CAP\u7406\u8bba",title:"CAP\u7406\u8bba",description:"\u7406\u8bba\u77e5\u8bc6",source:"@site/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/CAP\u7406\u8bba",permalink:"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/"},next:{title:"\u5f02\u5730\u591a\u6d3b\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784"}},u={},c=[{value:"\u7406\u8bba\u77e5\u8bc6",id:"\u7406\u8bba\u77e5\u8bc6",level:3},{value:"\u4e2a\u4eba\u7406\u89e3",id:"\u4e2a\u4eba\u7406\u89e3",level:3}],p={toc:c},y="wrapper";function s(e){let{components:t,...n}=e;return(0,l.yg)(y,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u7406\u8bba\u77e5\u8bc6"},"\u7406\u8bba\u77e5\u8bc6"),(0,l.yg)("p",null,"\u5728\u4e00\u4e2a\u5206\u5e03\u5f0f\u7cfb\u7edf\uff08\u6307\u4e92\u76f8\u8fde\u63a5\u5e76\u5171\u4eab\u6570\u636e\u7684\u8282\u70b9\u7684\u96c6\u5408\uff09\u4e2d\uff0c\u5f53\u6d89\u53ca\u8bfb\u5199\u64cd\u4f5c\u65f6\uff0c\u53ea\u80fd\u4fdd\u8bc1\u4e00\u81f4\u6027\uff08Consistence\uff09\u3001\u53ef\u7528\u6027\uff08Availability\uff09\u3001\u5206\u533a\u5bb9\u9519\u6027\uff08Partition Tolerance\uff09\u4e09\u8005\u4e2d\u7684\u4e24\u4e2a\uff0c\u53e6\u5916\u4e00\u4e2a\u5fc5\u987b\u88ab\u727a\u7272\u3002"),(0,l.yg)("p",null,"\u5206\u5e03\u5f0f\u7cfb\u7edf\u5e76\u4e0d\u4e00\u5b9a\u4f1a\u4e92\u8054\u548c\u5171\u4eab\u6570\u636e\u3002\u6700\u7b80\u5355\u7684\u4f8b\u5982 Memcache \u7684\u96c6\u7fa4\uff0c\u76f8\u4e92\u4e4b\u95f4\u5c31\u6ca1\u6709\u8fde\u63a5\u548c\u5171\u4eab\u6570\u636e\uff0c\u56e0\u6b64 Memcache \u96c6\u7fa4\u8fd9\u7c7b\u5206\u5e03\u5f0f\u7cfb\u7edf\u5c31\u4e0d\u7b26\u5408 CAP \u7406\u8bba\u63a2\u8ba8\u7684\u5bf9\u8c61\uff1b\u800c MySQL \u96c6\u7fa4\u5c31\u662f\u4e92\u8054\u548c\u8fdb\u884c\u6570\u636e\u590d\u5236\u7684\uff0c\u56e0\u6b64\u662f CAP \u7406\u8bba\u63a2\u8ba8\u7684\u5bf9\u8c61\u3002"),(0,l.yg)("p",null,"CAP \u5173\u6ce8\u7684\u662f\u5bf9\u6570\u636e\u7684\u8bfb\u5199\u64cd\u4f5c\uff0c\u800c\u4e0d\u662f\u5206\u5e03\u5f0f\u7cfb\u7edf\u7684\u6240\u6709\u529f\u80fd\u3002\u4f8b\u5982\uff0cZooKeeper \u7684\u9009\u4e3e\u673a\u5236\u5c31\u4e0d\u662f CAP \u63a2\u8ba8\u7684\u5bf9\u8c61\u3002"),(0,l.yg)("p",null,"\u4e00\u81f4\u6027\uff08Consistency\uff09\uff0c\u5bf9\u67d0\u4e2a\u6307\u5b9a\u7684\u5ba2\u6237\u7aef\u6765\u8bf4\uff0c\u8bfb\u64cd\u4f5c\u4fdd\u8bc1\u80fd\u591f\u8fd4\u56de\u6700\u65b0\u7684\u5199\u64cd\u4f5c\u7ed3\u679c\u3002"),(0,l.yg)("p",null,"\u53ef\u7528\u6027\uff08Availability\uff09\uff0c\u975e\u6545\u969c\u7684\u8282\u70b9\u5728\u5408\u7406\u7684\u65f6\u95f4\u5185\u8fd4\u56de\u5408\u7406\u7684\u54cd\u5e94\uff08\u4e0d\u662f\u9519\u8bef\u548c\u8d85\u65f6\u7684\u54cd\u5e94\uff09\u3002"),(0,l.yg)("p",null,"\u5206\u533a\u5bb9\u5fcd\u6027\uff08Partition Tolerance\uff09\uff0c\u5f53\u51fa\u73b0\u7f51\u7edc\u5206\u533a\u540e\uff0c\u7cfb\u7edf\u80fd\u591f\u7ee7\u7eed\u201c\u5c65\u884c\u804c\u8d23\u201d\u3002"),(0,l.yg)("p",null,"\u867d\u7136 CAP \u7406\u8bba\u5b9a\u4e49\u662f\u4e09\u4e2a\u8981\u7d20\u4e2d\u53ea\u80fd\u53d6\u4e24\u4e2a\uff0c\u4f46\u653e\u5230\u5206\u5e03\u5f0f\u73af\u5883\u4e0b\u6765\u601d\u8003\uff0c\u6211\u4eec\u4f1a\u53d1\u73b0\u5fc5\u987b\u9009\u62e9 P\uff08\u5206\u533a\u5bb9\u5fcd\uff09\u8981\u7d20\uff0c\u56e0\u4e3a\u7f51\u7edc\u672c\u8eab\u65e0\u6cd5\u505a\u5230 100% \u53ef\u9760\uff0c\u6709\u53ef\u80fd\u51fa\u6545\u969c\uff0c\u6240\u4ee5\u5206\u533a\u662f\u4e00\u4e2a\u5fc5\u7136\u7684\u73b0\u8c61\u3002\u5982\u679c\u6211\u4eec\u9009\u62e9\u4e86 CA \u800c\u653e\u5f03\u4e86 P\uff0c\u90a3\u4e48\u5f53\u53d1\u751f\u5206\u533a\u73b0\u8c61\u65f6\uff0c\u4e3a\u4e86\u4fdd\u8bc1 C\uff0c\u7cfb\u7edf\u9700\u8981\u7981\u6b62\u5199\u5165\uff0c\u5f53\u6709\u5199\u5165\u8bf7\u6c42\u65f6\uff0c\u7cfb\u7edf\u8fd4\u56de error\uff08\u4f8b\u5982\uff0c\u5f53\u524d\u7cfb\u7edf\u4e0d\u5141\u8bb8\u5199\u5165\uff09\uff0c\u8fd9\u53c8\u548c A \u51b2\u7a81\u4e86\uff0c\u56e0\u4e3a A \u8981\u6c42\u8fd4\u56de no error \u548c no timeout\u3002\u56e0\u6b64\uff0c\u5206\u5e03\u5f0f\u7cfb\u7edf\u7406\u8bba\u4e0a\u4e0d\u53ef\u80fd\u9009\u62e9 CA \u67b6\u6784\uff0c\u53ea\u80fd\u9009\u62e9 CP \u6216\u8005 AP \u67b6\u6784\u3002"),(0,l.yg)("p",null," Paxos\u7b97\u6cd5\u672c\u8eab\u80fd\u63d0\u4f9b\u7684\u662f\uff0c\u53ef\u9760\u7684\u6700\u7ec8\u4e00\u81f4\u6027\u4fdd\u8bc1\u3002\u5982\u6709\u8db3\u591f\u7684\u9694\u79bb\u6027\u63aa\u65bd\uff0c\u4e2d\u95f4\u72b6\u6001\u7684\u65e0\u6cd5\u88ab\u5ba2\u6237\u7aef\u8bfb\u53d6\uff0c\u5219\u53ef\u4ee5\u8fbe\u5230\u5f3a\u4e00\u81f4\u6027\uff0c\u8fd9\u79cd\u5c5e\u4e8eCP\u67b6\u6784\u3002\u5176\u5b83\u60c5\u51b5\uff0c\u5c31\u662fAP\u67b6\u6784\u3002 "),(0,l.yg)("p",null,"CAP\u5b9a\u7406\u5b58\u5728\u4e0d\u5c11\u5751\u70b9\uff0c\u7406\u89e3\u8d77\u6765\u5f88\u662f\u4ee4\u4eba\u8d39\u89e3\u3002\n1\u3001\u9002\u7528\u573a\u666f\u3002\u5206\u5e03\u5f0f\u7cfb\u7edf\u6709\u5f88\u591a\u7c7b\u578b\uff0c\u6709\u5f02\u6784\u7684\uff0c\u6bd4\u5982\u8282\u70b9\u4e4b\u95f4\u662f\u4e0a\u4e0b\u6e38\u4f9d\u8d56\u7684\u5173\u7cfb\uff0c\u6709\u540c\u6784\u7684\uff0c\u6bd4\u5982\u5206\u533a/\u5206\u7247\u578b\u7684\u3001\u526f\u672c\u578b\u7684\uff08\u4e3b\u4ece\u3001\u591a\u4e3b\uff09\u3002CAP\u5b9a\u7406\u7684\u9002\u7528\u573a\u666f\u662f\u526f\u672c\u578b\u7684\u8fd9\u79cd\u3002\n2\u3001\u4e00\u81f4\u6027\u7684\u6982\u5ff5\uff0c\u4ece\u5f3a\u5230\u5f31\uff0c\u7ebf\u6027\u4e00\u81f4\u6027\u3001\u987a\u5e8f\u4e00\u81f4\u6027\u3001\u56e0\u679c\u4e00\u81f4\u6027\u3001\u5355\u8c03\u4e00\u81f4\u6027\u3001\u6700\u7ec8\u4e00\u81f4\u6027\uff0cCAP\u4e2d\u7684\u4e00\u81f4\u6027\u5e94\u8be5\u662f\u6307\u7ebf\u6027\u4e00\u81f4\u6027\u3002\n3\u3001CAP\u4e2d\u7684\u4e00\u81f4\u6027\uff0c\u4e0eACID\u4e2d\u7684\u4e00\u81f4\u6027\u7684\u533a\u522b\u3002\u4e8b\u52a1\u4e2d\u7684\u4e00\u81f4\u6027\uff0c\u662f\u6307\u6ee1\u8db3\u5b8c\u6574\u6027\u7ea6\u675f\u6761\u4ef6\uff0cCAP\u4e2d\u7684\u4e00\u81f4\u6027\uff0c\u662f\u6307\u8bfb\u5199\u4e00\u81f4\u6027\u3002\n4\u3001CAP\u4e2d\u7684\u53ef\u7528\u6027\uff0c\u4e0e\u6211\u4eec\u5e38\u8bf4\u7684\u9ad8\u53ef\u7528\u7684\u533a\u522b\u3002\u6bd4\u5982HBase\u3001MongoDB\u5c5e\u4e8eCP\u67b6\u6784\uff0cCassandra\u3001CounchDB\u5c5e\u4e8eAP\u7cfb\u7edf\uff0c\u80fd\u8bf4\u540e\u8005\u6bd4\u524d\u8005\u66f4\u9ad8\u53ef\u7528\u4e48\uff1f\u5e94\u8be5\u4e0d\u662f\u3002CAP\u4e2d\u7684\u53ef\u7528\u6027\uff0c\u662f\u6307\u5728\u67d0\u4e00\u6b21\u8bfb\u64cd\u4f5c\u4e2d\uff0c\u5373\u4fbf\u53d1\u73b0\u4e0d\u4e00\u81f4\uff0c\u4e5f\u8981\u8fd4\u56de\u54cd\u5e94\uff0c\u5373\u5728\u5408\u7406\u65f6\u95f4\u5185\u8fd4\u56de\u5408\u7406\u54cd\u5e94\u3002\u6211\u4eec\u5e38\u8bf4\u7684\u9ad8\u53ef\u7528\uff0c\u662f\u6307\u90e8\u5206\u5b9e\u4f8b\u6302\u4e86\uff0c\u80fd\u81ea\u52a8\u6458\u9664\uff0c\u5e76\u7531\u5176\u5b83\u5b9e\u4f8b\u7ee7\u7eed\u63d0\u4f9b\u670d\u52a1\uff0c\u5173\u952e\u662f\u5197\u4f59\u3002\n5\u3001\u54ea\u4e9b\u60c5\u51b5\u5c5e\u4e8e\u7f51\u7edc\u5206\u533a\u3002\u7f51\u7edc\u6545\u969c\u9020\u6210\u7684\u5206\u533a\uff0c\u5c5e\u4e8e\u3002\u8282\u70b9\u5e94\u7528\u51fa\u73b0\u95ee\u9898\u5bfc\u81f4\u8d85\u65f6\uff0c\u5c5e\u4e8e\u3002\u8282\u70b9\u5b95\u673a\u6216\u786c\u4ef6\u6545\u969c\uff0c\u4e0d\u5c5e\u4e8e\u3002"),(0,l.yg)("p",null,"CAP \u5173\u6ce8\u7684\u7c92\u5ea6\u662f\u6570\u636e\uff0c\u800c\u4e0d\u662f\u6574\u4e2a\u7cfb\u7edf\u3002\u6240\u4ee5\u5728 CAP \u7406\u8bba\u843d\u5730\u5b9e\u8df5\u65f6\uff0c\u6211\u4eec\u9700\u8981\u5c06\u7cfb\u7edf\u5185\u7684\u6570\u636e\u6309\u7167\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u548c\u8981\u6c42\u8fdb\u884c\u5206\u7c7b\uff0c\u6bcf\u7c7b\u6570\u636e\u9009\u62e9\u4e0d\u540c\u7684\u7b56\u7565\uff08CP \u8fd8\u662f AP\uff09\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u9650\u5b9a\u6574\u4e2a\u7cfb\u7edf\u6240\u6709\u6570\u636e\u90fd\u662f\u540c\u4e00\u7b56\u7565\u3002"),(0,l.yg)("p",null,"CAP \u662f\u5ffd\u7565\u7f51\u7edc\u5ef6\u8fdf\u7684\u3002"),(0,l.yg)("p",null,"\u6b63\u5e38\u8fd0\u884c\u60c5\u51b5\u4e0b\uff0c\u4e0d\u5b58\u5728 CP \u548c AP \u7684\u9009\u62e9\uff0c\u53ef\u4ee5\u540c\u65f6\u6ee1\u8db3 CA\u3002"),(0,l.yg)("p",null,"\u653e\u5f03\u5e76\u4e0d\u7b49\u4e8e\u4ec0\u4e48\u90fd\u4e0d\u505a\uff0c\u9700\u8981\u4e3a\u5206\u533a\u6062\u590d\u540e\u505a\u51c6\u5907\u3002"),(0,l.yg)("p",null,"ACID \u4e2d\u7684 A\uff08Atomicity\uff09\u548c CAP \u4e2d\u7684 A\uff08Availability\uff09\u610f\u4e49\u5b8c\u5168\u4e0d\u540c\uff0c\u800c ACID \u4e2d\u7684 C \u548c CAP \u4e2d\u7684 C \u540d\u79f0\u867d\u7136\u90fd\u662f\u4e00\u81f4\u6027\uff0c\u4f46\u542b\u4e49\u4e5f\u5b8c\u5168\u4e0d\u4e00\u6837\u3002ACID \u4e2d\u7684 C \u662f\u6307\u6570\u636e\u5e93\u7684\u6570\u636e\u5b8c\u6574\u6027\uff0c\u800c CAP \u4e2d\u7684 C \u662f\u6307\u5206\u5e03\u5f0f\u8282\u70b9\u4e2d\u7684\u6570\u636e\u4e00\u81f4\u6027\u3002\u518d\u7ed3\u5408 ACID \u7684\u5e94\u7528\u573a\u666f\u662f\u6570\u636e\u5e93\u4e8b\u52a1\uff0cCAP \u5173\u6ce8\u7684\u662f\u5206\u5e03\u5f0f\u7cfb\u7edf\u6570\u636e\u8bfb\u5199\u8fd9\u4e2a\u5dee\u5f02\u70b9\u6765\u770b\uff0c\u5176\u5b9e CAP \u548c ACID \u7684\u5bf9\u6bd4\u5c31\u7c7b\u4f3c\u5173\u516c\u6218\u79e6\u743c\uff0c\u867d\u7136\u5173\u516c\u548c\u79e6\u743c\u90fd\u662f\u6b66\u5c06\uff0c\u4f46\u5176\u5b9e\u6ca1\u6709\u592a\u591a\u53ef\u6bd4\u6027\u3002"),(0,l.yg)("p",null,"BASE \u662f\u6307\u57fa\u672c\u53ef\u7528\uff08Basically Available\uff09\u3001\u8f6f\u72b6\u6001\uff08 Soft State\uff09\u3001\u6700\u7ec8\u4e00\u81f4\u6027\uff08 Eventual Consistency\uff09\uff0c\u6838\u5fc3\u601d\u60f3\u662f\u5373\u4f7f\u65e0\u6cd5\u505a\u5230\u5f3a\u4e00\u81f4\u6027\uff08CAP \u7684\u4e00\u81f4\u6027\u5c31\u662f\u5f3a\u4e00\u81f4\u6027\uff09\uff0c\u4f46\u5e94\u7528\u53ef\u4ee5\u91c7\u7528\u9002\u5408\u7684\u65b9\u5f0f\u8fbe\u5230\u6700\u7ec8\u4e00\u81f4\u6027\u3002"),(0,l.yg)("p",null,"BASE \u7406\u8bba\u672c\u8d28\u4e0a\u662f\u5bf9 CAP \u7684\u5ef6\u4f38\u548c\u8865\u5145\uff0c\u66f4\u5177\u4f53\u5730\u8bf4\uff0c\u662f\u5bf9 CAP \u4e2d AP \u65b9\u6848\u7684\u4e00\u4e2a\u8865\u5145\u3002CAP \u7406\u8bba\u662f\u5ffd\u7565\u5ef6\u65f6\u7684\uff0c\u800c\u5b9e\u9645\u5e94\u7528\u4e2d\u5ef6\u65f6\u662f\u65e0\u6cd5\u907f\u514d\u7684\u3002AP \u65b9\u6848\u4e2d\u727a\u7272\u4e00\u81f4\u6027\u53ea\u662f\u6307\u5206\u533a\u671f\u95f4\uff0c\u800c\u4e0d\u662f\u6c38\u8fdc\u653e\u5f03\u4e00\u81f4\u6027\u3002"),(0,l.yg)("h3",{id:"\u4e2a\u4eba\u7406\u89e3"},"\u4e2a\u4eba\u7406\u89e3"),(0,l.yg)("p",null,"\u8bbe\u8ba1\u5206\u5e03\u5f0f\u7cfb\u7edf\u7684\u4e24\u5927\u521d\u8877\uff1a\u6a2a\u5411\u6269\u5c55\uff08scalability\uff09\u548c\u9ad8\u53ef\u7528\u6027\uff08availability\uff09\u3002\u201c\u6a2a\u5411\u6269\u5c55\u201d\u662f\u4e3a\u4e86\u89e3\u51b3\u5355\u70b9\u74f6\u9888\u95ee\u9898\uff0c\u8fdb\u800c\u4fdd\u8bc1\u9ad8\u5e76\u53d1\u91cf\u4e0b\u7684\u300c\u53ef\u7528\u6027\u300d\uff1b\u201c\u9ad8\u53ef\u7528\u6027\u201d\u662f\u4e3a\u4e86\u89e3\u51b3\u5355\u70b9\u6545\u969c\uff08SPOF\uff09\u95ee\u9898\uff0c\u8fdb\u800c\u4fdd\u8bc1\u90e8\u5206\u8282\u70b9\u6545\u969c\u65f6\u7684\u300c\u53ef\u7528\u6027\u300d\u3002\u7531\u6b64\u53ef\u4ee5\u770b\u51fa\uff0c\u5206\u5e03\u5f0f\u7cfb\u7edf\u7684\u6838\u5fc3\u8bc9\u6c42\u5c31\u662f\u300c\u53ef\u7528\u6027\u300d\u3002\u8fd9\u4e2a\u300c\u53ef\u7528\u6027\u300d\u6b63\u662f CAP \u4e2d\u7684 A\uff1a\u7528\u6237\u8bbf\u95ee\u7cfb\u7edf\u65f6\uff0c\u53ef\u4ee5\u5728\u5408\u7406\u7684\u65f6\u95f4\u5185\u5f97\u5230\u5408\u7406\u7684\u54cd\u5e94\u3002 "),(0,l.yg)("p",null,"\u4e3a\u4e86\u4fdd\u8bc1\u300c\u53ef\u7528\u6027\u300d\uff0c\u4e00\u4e2a\u5206\u5e03\u5f0f\u7cfb\u7edf\u901a\u5e38\u7531\u591a\u4e2a\u8282\u70b9\u7ec4\u6210\u3002\u8fd9\u4e9b\u8282\u70b9\u5404\u81ea\u7ef4\u62a4\u4e00\u4efd\u6570\u636e\uff0c\u4f46\u662f\u4e0d\u7ba1\u7528\u6237\u8bbf\u95ee\u5230\u54ea\u4e2a\u8282\u70b9\uff0c\u539f\u5219\u4e0a\u90fd\u5e94\u8be5\u8bfb\u53d6\u5230\u76f8\u540c\u7684\u6570\u636e\u3002\u4e3a\u4e86\u8fbe\u5230\u8fd9\u4e2a\u6548\u679c\uff0c\u4e00\u4e2a\u8282\u70b9\u6536\u5230\u5199\u5165\u8bf7\u6c42\u66f4\u65b0\u81ea\u5df1\u7684\u6570\u636e\u540e\uff0c\u5fc5\u987b\u5c06\u6570\u636e\u540c\u6b65\u5230\u5176\u4ed6\u8282\u70b9\uff0c\u4ee5\u4fdd\u8bc1\u5404\u4e2a\u8282\u70b9\u7684\u6570\u636e\u300c\u4e00\u81f4\u6027\u300d\u3002\u8fd9\u4e2a\u300c\u4e00\u81f4\u6027\u300d\u6b63\u662f CAP \u4e2d\u7684 C\uff1a\u7528\u6237\u8bbf\u95ee\u7cfb\u7edf\u65f6\uff0c\u53ef\u4ee5\u8bfb\u53d6\u5230\u6700\u8fd1\u5199\u5165\u7684\u6570\u636e\u3002 "),(0,l.yg)("p",null,"\u9700\u8981\u6ce8\u610f\u7684\u662f\uff1aCAP \u5e76\u6ca1\u6709\u8003\u8651\u6570\u636e\u540c\u6b65\u7684\u8017\u65f6\uff0c\u6240\u4ee5\u73b0\u5b9e\u4e2d\u7684\u5206\u5e03\u5f0f\u7cfb\u7edf\uff0c\u7406\u8bba\u4e0a\u65e0\u6cd5\u4fdd\u8bc1\u4efb\u4f55\u65f6\u523b\u7684\u7edd\u5bf9\u300c\u4e00\u81f4\u6027\u300d\uff1b\u4e0d\u540c\u4e1a\u52a1\u7cfb\u7edf\u5bf9\u4e0a\u8ff0\u8017\u65f6\u7684\u654f\u611f\u5ea6\u4e0d\u540c\u3002 "),(0,l.yg)("p",null,"\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u8282\u70b9\u4e4b\u95f4\u7684\u6570\u636e\u540c\u6b65\u662f\u57fa\u4e8e\u7f51\u7edc\u7684\u3002\u7531\u4e8e\u7f51\u7edc\u672c\u8eab\u56fa\u6709\u7684\u4e0d\u53ef\u9760\u5c5e\u6027\uff0c\u6781\u7aef\u60c5\u51b5\u4e0b\u4f1a\u51fa\u73b0\u7f51\u7edc\u4e0d\u53ef\u7528\u7684\u60c5\u51b5\uff0c\u8fdb\u800c\u5c06\u7f51\u7edc\u4e24\u7aef\u7684\u8282\u70b9\u5b64\u7acb\u5f00\u6765\uff0c\u8fd9\u5c31\u662f\u6240\u8c13\u7684\u201c\u7f51\u7edc\u5206\u533a\u201d\u73b0\u8c61\u3002\u201c\u7f51\u7edc\u5206\u533a\u201d\u7406\u8bba\u4e0a\u662f\u65e0\u6cd5\u907f\u514d\u7684\uff0c\u867d\u7136\u5b9e\u9645\u53d1\u751f\u7684\u6982\u7387\u8f83\u4f4e\u3001\u65f6\u957f\u8f83\u77ed\u3002\u6ca1\u6709\u53d1\u751f\u201c\u7f51\u7edc\u5206\u533a\u201d\u65f6\uff0c\u7cfb\u7edf\u53ef\u4ee5\u505a\u5230\u540c\u65f6\u4fdd\u8bc1\u300c\u4e00\u81f4\u6027\u300d\u548c\u300c\u53ef\u7528\u6027\u300d\u3002 "),(0,l.yg)("p",null,"\u53d1\u751f\u201c\u7f51\u7edc\u5206\u533a\u201d\u65f6\uff0c\u7cfb\u7edf\u4e2d\u591a\u4e2a\u8282\u70b9\u7684\u6570\u636e\u4e00\u5b9a\u662f\u4e0d\u4e00\u81f4\u7684\uff0c\u4f46\u662f\u53ef\u4ee5\u9009\u62e9\u5bf9\u7528\u6237\u8868\u73b0\u51fa\u300c\u4e00\u81f4\u6027\u300d\uff0c\u4ee3\u4ef7\u662f\u727a\u7272\u300c\u53ef\u7528\u6027\u300d\uff1a\u5c06\u672a\u80fd\u540c\u6b65\u5f97\u5230\u65b0\u6570\u636e\u7684\u90e8\u5206\u8282\u70b9\u7f6e\u4e3a\u201c\u4e0d\u53ef\u7528\u72b6\u6001\u201d\uff0c\u8bbf\u95ee\u5230\u8fd9\u4e9b\u8282\u70b9\u7684\u7528\u6237\u663e\u7136\u611f\u77e5\u5230\u7cfb\u7edf\u662f\u4e0d\u53ef\u7528\u7684\u3002\u53d1\u751f\u201c\u7f51\u7edc\u5206\u533a\u201d\u65f6\uff0c\u7cfb\u7edf\u4e5f\u53ef\u4ee5\u9009\u62e9\u300c\u53ef\u7528\u6027\u300d\uff0c\u6b64\u65f6\u7cfb\u7edf\u4e2d\u5404\u4e2a\u8282\u70b9\u90fd\u662f\u53ef\u7528\u7684\uff0c\u53ea\u662f\u8fd4\u56de\u7ed9\u7528\u6237\u7684\u6570\u636e\u662f\u4e0d\u4e00\u81f4\u7684\u3002\u8fd9\u91cc\u7684\u9009\u62e9\uff0c\u5c31\u662f CAP \u4e2d\u7684 P\u3002 "),(0,l.yg)("p",null,"\u5206\u5e03\u5f0f\u7cfb\u7edf\u7406\u8bba\u4e0a\u4e00\u5b9a\u4f1a\u5b58\u5728 P\uff0c\u6240\u4ee5\u7406\u8bba\u4e0a\u53ea\u80fd\u505a\u5230 CP \u6216 AP\u3002\u5982\u679c\u5957\u7528 CAP \u4e2d\u79bb\u6563\u7684 C/A/P \u7684\u6982\u5ff5\uff0c\u7406\u8bba\u4e0a\u6ca1\u6709 P \u7684\u53ea\u53ef\u80fd\u662f\u5355\u70b9\uff08\u5b50\uff09\u7cfb\u7edf\uff0c\u6240\u4ee5\u7406\u8bba\u4e0a\u53ef\u4ee5\u505a\u5230 CA\u3002\u4f46\u662f\u5355\u70b9\uff08\u5b50\uff09\u7cfb\u7edf\u5e76\u4e0d\u662f\u5206\u5e03\u5f0f\u7cfb\u7edf\uff0c\u6240\u4ee5\u5176\u5b9e\u5e76\u4e0d\u5728 CAP \u7406\u8bba\u7684\u63cf\u8ff0\u8303\u56f4\u5185\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1821],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>A});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var u=r.createContext({}),c=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(u.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},P=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,o=e.originalType,u=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),y=c(n),P=l,A=y["".concat(u,".").concat(P)]||y[P]||s[P]||o;return n?r.createElement(A,a(a({ref:t},p),{},{components:n})):r.createElement(A,a({ref:t},p))}));function A(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=n.length,a=new Array(o);a[0]=P;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[y]="string"==typeof e?e:l,a[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var r=n(58168),l=(n(96540),n(15680));const o={},a=void 0,i={unversionedId:"study/think/\u67b6\u6784/CAP\u7406\u8bba",id:"study/think/\u67b6\u6784/CAP\u7406\u8bba",title:"CAP\u7406\u8bba",description:"\u7406\u8bba\u77e5\u8bc6",source:"@site/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/CAP\u7406\u8bba",permalink:"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/"},next:{title:"\u5f02\u5730\u591a\u6d3b\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784"}},u={},c=[{value:"\u7406\u8bba\u77e5\u8bc6",id:"\u7406\u8bba\u77e5\u8bc6",level:3},{value:"\u4e2a\u4eba\u7406\u89e3",id:"\u4e2a\u4eba\u7406\u89e3",level:3}],p={toc:c},y="wrapper";function s(e){let{components:t,...n}=e;return(0,l.yg)(y,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u7406\u8bba\u77e5\u8bc6"},"\u7406\u8bba\u77e5\u8bc6"),(0,l.yg)("p",null,"\u5728\u4e00\u4e2a\u5206\u5e03\u5f0f\u7cfb\u7edf\uff08\u6307\u4e92\u76f8\u8fde\u63a5\u5e76\u5171\u4eab\u6570\u636e\u7684\u8282\u70b9\u7684\u96c6\u5408\uff09\u4e2d\uff0c\u5f53\u6d89\u53ca\u8bfb\u5199\u64cd\u4f5c\u65f6\uff0c\u53ea\u80fd\u4fdd\u8bc1\u4e00\u81f4\u6027\uff08Consistence\uff09\u3001\u53ef\u7528\u6027\uff08Availability\uff09\u3001\u5206\u533a\u5bb9\u9519\u6027\uff08Partition Tolerance\uff09\u4e09\u8005\u4e2d\u7684\u4e24\u4e2a\uff0c\u53e6\u5916\u4e00\u4e2a\u5fc5\u987b\u88ab\u727a\u7272\u3002"),(0,l.yg)("p",null,"\u5206\u5e03\u5f0f\u7cfb\u7edf\u5e76\u4e0d\u4e00\u5b9a\u4f1a\u4e92\u8054\u548c\u5171\u4eab\u6570\u636e\u3002\u6700\u7b80\u5355\u7684\u4f8b\u5982 Memcache \u7684\u96c6\u7fa4\uff0c\u76f8\u4e92\u4e4b\u95f4\u5c31\u6ca1\u6709\u8fde\u63a5\u548c\u5171\u4eab\u6570\u636e\uff0c\u56e0\u6b64 Memcache \u96c6\u7fa4\u8fd9\u7c7b\u5206\u5e03\u5f0f\u7cfb\u7edf\u5c31\u4e0d\u7b26\u5408 CAP \u7406\u8bba\u63a2\u8ba8\u7684\u5bf9\u8c61\uff1b\u800c MySQL \u96c6\u7fa4\u5c31\u662f\u4e92\u8054\u548c\u8fdb\u884c\u6570\u636e\u590d\u5236\u7684\uff0c\u56e0\u6b64\u662f CAP \u7406\u8bba\u63a2\u8ba8\u7684\u5bf9\u8c61\u3002"),(0,l.yg)("p",null,"CAP \u5173\u6ce8\u7684\u662f\u5bf9\u6570\u636e\u7684\u8bfb\u5199\u64cd\u4f5c\uff0c\u800c\u4e0d\u662f\u5206\u5e03\u5f0f\u7cfb\u7edf\u7684\u6240\u6709\u529f\u80fd\u3002\u4f8b\u5982\uff0cZooKeeper \u7684\u9009\u4e3e\u673a\u5236\u5c31\u4e0d\u662f CAP \u63a2\u8ba8\u7684\u5bf9\u8c61\u3002"),(0,l.yg)("p",null,"\u4e00\u81f4\u6027\uff08Consistency\uff09\uff0c\u5bf9\u67d0\u4e2a\u6307\u5b9a\u7684\u5ba2\u6237\u7aef\u6765\u8bf4\uff0c\u8bfb\u64cd\u4f5c\u4fdd\u8bc1\u80fd\u591f\u8fd4\u56de\u6700\u65b0\u7684\u5199\u64cd\u4f5c\u7ed3\u679c\u3002"),(0,l.yg)("p",null,"\u53ef\u7528\u6027\uff08Availability\uff09\uff0c\u975e\u6545\u969c\u7684\u8282\u70b9\u5728\u5408\u7406\u7684\u65f6\u95f4\u5185\u8fd4\u56de\u5408\u7406\u7684\u54cd\u5e94\uff08\u4e0d\u662f\u9519\u8bef\u548c\u8d85\u65f6\u7684\u54cd\u5e94\uff09\u3002"),(0,l.yg)("p",null,"\u5206\u533a\u5bb9\u5fcd\u6027\uff08Partition Tolerance\uff09\uff0c\u5f53\u51fa\u73b0\u7f51\u7edc\u5206\u533a\u540e\uff0c\u7cfb\u7edf\u80fd\u591f\u7ee7\u7eed\u201c\u5c65\u884c\u804c\u8d23\u201d\u3002"),(0,l.yg)("p",null,"\u867d\u7136 CAP \u7406\u8bba\u5b9a\u4e49\u662f\u4e09\u4e2a\u8981\u7d20\u4e2d\u53ea\u80fd\u53d6\u4e24\u4e2a\uff0c\u4f46\u653e\u5230\u5206\u5e03\u5f0f\u73af\u5883\u4e0b\u6765\u601d\u8003\uff0c\u6211\u4eec\u4f1a\u53d1\u73b0\u5fc5\u987b\u9009\u62e9 P\uff08\u5206\u533a\u5bb9\u5fcd\uff09\u8981\u7d20\uff0c\u56e0\u4e3a\u7f51\u7edc\u672c\u8eab\u65e0\u6cd5\u505a\u5230 100% \u53ef\u9760\uff0c\u6709\u53ef\u80fd\u51fa\u6545\u969c\uff0c\u6240\u4ee5\u5206\u533a\u662f\u4e00\u4e2a\u5fc5\u7136\u7684\u73b0\u8c61\u3002\u5982\u679c\u6211\u4eec\u9009\u62e9\u4e86 CA \u800c\u653e\u5f03\u4e86 P\uff0c\u90a3\u4e48\u5f53\u53d1\u751f\u5206\u533a\u73b0\u8c61\u65f6\uff0c\u4e3a\u4e86\u4fdd\u8bc1 C\uff0c\u7cfb\u7edf\u9700\u8981\u7981\u6b62\u5199\u5165\uff0c\u5f53\u6709\u5199\u5165\u8bf7\u6c42\u65f6\uff0c\u7cfb\u7edf\u8fd4\u56de error\uff08\u4f8b\u5982\uff0c\u5f53\u524d\u7cfb\u7edf\u4e0d\u5141\u8bb8\u5199\u5165\uff09\uff0c\u8fd9\u53c8\u548c A \u51b2\u7a81\u4e86\uff0c\u56e0\u4e3a A \u8981\u6c42\u8fd4\u56de no error \u548c no timeout\u3002\u56e0\u6b64\uff0c\u5206\u5e03\u5f0f\u7cfb\u7edf\u7406\u8bba\u4e0a\u4e0d\u53ef\u80fd\u9009\u62e9 CA \u67b6\u6784\uff0c\u53ea\u80fd\u9009\u62e9 CP \u6216\u8005 AP \u67b6\u6784\u3002"),(0,l.yg)("p",null," Paxos\u7b97\u6cd5\u672c\u8eab\u80fd\u63d0\u4f9b\u7684\u662f\uff0c\u53ef\u9760\u7684\u6700\u7ec8\u4e00\u81f4\u6027\u4fdd\u8bc1\u3002\u5982\u6709\u8db3\u591f\u7684\u9694\u79bb\u6027\u63aa\u65bd\uff0c\u4e2d\u95f4\u72b6\u6001\u7684\u65e0\u6cd5\u88ab\u5ba2\u6237\u7aef\u8bfb\u53d6\uff0c\u5219\u53ef\u4ee5\u8fbe\u5230\u5f3a\u4e00\u81f4\u6027\uff0c\u8fd9\u79cd\u5c5e\u4e8eCP\u67b6\u6784\u3002\u5176\u5b83\u60c5\u51b5\uff0c\u5c31\u662fAP\u67b6\u6784\u3002 "),(0,l.yg)("p",null,"CAP\u5b9a\u7406\u5b58\u5728\u4e0d\u5c11\u5751\u70b9\uff0c\u7406\u89e3\u8d77\u6765\u5f88\u662f\u4ee4\u4eba\u8d39\u89e3\u3002\n1\u3001\u9002\u7528\u573a\u666f\u3002\u5206\u5e03\u5f0f\u7cfb\u7edf\u6709\u5f88\u591a\u7c7b\u578b\uff0c\u6709\u5f02\u6784\u7684\uff0c\u6bd4\u5982\u8282\u70b9\u4e4b\u95f4\u662f\u4e0a\u4e0b\u6e38\u4f9d\u8d56\u7684\u5173\u7cfb\uff0c\u6709\u540c\u6784\u7684\uff0c\u6bd4\u5982\u5206\u533a/\u5206\u7247\u578b\u7684\u3001\u526f\u672c\u578b\u7684\uff08\u4e3b\u4ece\u3001\u591a\u4e3b\uff09\u3002CAP\u5b9a\u7406\u7684\u9002\u7528\u573a\u666f\u662f\u526f\u672c\u578b\u7684\u8fd9\u79cd\u3002\n2\u3001\u4e00\u81f4\u6027\u7684\u6982\u5ff5\uff0c\u4ece\u5f3a\u5230\u5f31\uff0c\u7ebf\u6027\u4e00\u81f4\u6027\u3001\u987a\u5e8f\u4e00\u81f4\u6027\u3001\u56e0\u679c\u4e00\u81f4\u6027\u3001\u5355\u8c03\u4e00\u81f4\u6027\u3001\u6700\u7ec8\u4e00\u81f4\u6027\uff0cCAP\u4e2d\u7684\u4e00\u81f4\u6027\u5e94\u8be5\u662f\u6307\u7ebf\u6027\u4e00\u81f4\u6027\u3002\n3\u3001CAP\u4e2d\u7684\u4e00\u81f4\u6027\uff0c\u4e0eACID\u4e2d\u7684\u4e00\u81f4\u6027\u7684\u533a\u522b\u3002\u4e8b\u52a1\u4e2d\u7684\u4e00\u81f4\u6027\uff0c\u662f\u6307\u6ee1\u8db3\u5b8c\u6574\u6027\u7ea6\u675f\u6761\u4ef6\uff0cCAP\u4e2d\u7684\u4e00\u81f4\u6027\uff0c\u662f\u6307\u8bfb\u5199\u4e00\u81f4\u6027\u3002\n4\u3001CAP\u4e2d\u7684\u53ef\u7528\u6027\uff0c\u4e0e\u6211\u4eec\u5e38\u8bf4\u7684\u9ad8\u53ef\u7528\u7684\u533a\u522b\u3002\u6bd4\u5982HBase\u3001MongoDB\u5c5e\u4e8eCP\u67b6\u6784\uff0cCassandra\u3001CounchDB\u5c5e\u4e8eAP\u7cfb\u7edf\uff0c\u80fd\u8bf4\u540e\u8005\u6bd4\u524d\u8005\u66f4\u9ad8\u53ef\u7528\u4e48\uff1f\u5e94\u8be5\u4e0d\u662f\u3002CAP\u4e2d\u7684\u53ef\u7528\u6027\uff0c\u662f\u6307\u5728\u67d0\u4e00\u6b21\u8bfb\u64cd\u4f5c\u4e2d\uff0c\u5373\u4fbf\u53d1\u73b0\u4e0d\u4e00\u81f4\uff0c\u4e5f\u8981\u8fd4\u56de\u54cd\u5e94\uff0c\u5373\u5728\u5408\u7406\u65f6\u95f4\u5185\u8fd4\u56de\u5408\u7406\u54cd\u5e94\u3002\u6211\u4eec\u5e38\u8bf4\u7684\u9ad8\u53ef\u7528\uff0c\u662f\u6307\u90e8\u5206\u5b9e\u4f8b\u6302\u4e86\uff0c\u80fd\u81ea\u52a8\u6458\u9664\uff0c\u5e76\u7531\u5176\u5b83\u5b9e\u4f8b\u7ee7\u7eed\u63d0\u4f9b\u670d\u52a1\uff0c\u5173\u952e\u662f\u5197\u4f59\u3002\n5\u3001\u54ea\u4e9b\u60c5\u51b5\u5c5e\u4e8e\u7f51\u7edc\u5206\u533a\u3002\u7f51\u7edc\u6545\u969c\u9020\u6210\u7684\u5206\u533a\uff0c\u5c5e\u4e8e\u3002\u8282\u70b9\u5e94\u7528\u51fa\u73b0\u95ee\u9898\u5bfc\u81f4\u8d85\u65f6\uff0c\u5c5e\u4e8e\u3002\u8282\u70b9\u5b95\u673a\u6216\u786c\u4ef6\u6545\u969c\uff0c\u4e0d\u5c5e\u4e8e\u3002"),(0,l.yg)("p",null,"CAP \u5173\u6ce8\u7684\u7c92\u5ea6\u662f\u6570\u636e\uff0c\u800c\u4e0d\u662f\u6574\u4e2a\u7cfb\u7edf\u3002\u6240\u4ee5\u5728 CAP \u7406\u8bba\u843d\u5730\u5b9e\u8df5\u65f6\uff0c\u6211\u4eec\u9700\u8981\u5c06\u7cfb\u7edf\u5185\u7684\u6570\u636e\u6309\u7167\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u548c\u8981\u6c42\u8fdb\u884c\u5206\u7c7b\uff0c\u6bcf\u7c7b\u6570\u636e\u9009\u62e9\u4e0d\u540c\u7684\u7b56\u7565\uff08CP \u8fd8\u662f AP\uff09\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u9650\u5b9a\u6574\u4e2a\u7cfb\u7edf\u6240\u6709\u6570\u636e\u90fd\u662f\u540c\u4e00\u7b56\u7565\u3002"),(0,l.yg)("p",null,"CAP \u662f\u5ffd\u7565\u7f51\u7edc\u5ef6\u8fdf\u7684\u3002"),(0,l.yg)("p",null,"\u6b63\u5e38\u8fd0\u884c\u60c5\u51b5\u4e0b\uff0c\u4e0d\u5b58\u5728 CP \u548c AP \u7684\u9009\u62e9\uff0c\u53ef\u4ee5\u540c\u65f6\u6ee1\u8db3 CA\u3002"),(0,l.yg)("p",null,"\u653e\u5f03\u5e76\u4e0d\u7b49\u4e8e\u4ec0\u4e48\u90fd\u4e0d\u505a\uff0c\u9700\u8981\u4e3a\u5206\u533a\u6062\u590d\u540e\u505a\u51c6\u5907\u3002"),(0,l.yg)("p",null,"ACID \u4e2d\u7684 A\uff08Atomicity\uff09\u548c CAP \u4e2d\u7684 A\uff08Availability\uff09\u610f\u4e49\u5b8c\u5168\u4e0d\u540c\uff0c\u800c ACID \u4e2d\u7684 C \u548c CAP \u4e2d\u7684 C \u540d\u79f0\u867d\u7136\u90fd\u662f\u4e00\u81f4\u6027\uff0c\u4f46\u542b\u4e49\u4e5f\u5b8c\u5168\u4e0d\u4e00\u6837\u3002ACID \u4e2d\u7684 C \u662f\u6307\u6570\u636e\u5e93\u7684\u6570\u636e\u5b8c\u6574\u6027\uff0c\u800c CAP \u4e2d\u7684 C \u662f\u6307\u5206\u5e03\u5f0f\u8282\u70b9\u4e2d\u7684\u6570\u636e\u4e00\u81f4\u6027\u3002\u518d\u7ed3\u5408 ACID \u7684\u5e94\u7528\u573a\u666f\u662f\u6570\u636e\u5e93\u4e8b\u52a1\uff0cCAP \u5173\u6ce8\u7684\u662f\u5206\u5e03\u5f0f\u7cfb\u7edf\u6570\u636e\u8bfb\u5199\u8fd9\u4e2a\u5dee\u5f02\u70b9\u6765\u770b\uff0c\u5176\u5b9e CAP \u548c ACID \u7684\u5bf9\u6bd4\u5c31\u7c7b\u4f3c\u5173\u516c\u6218\u79e6\u743c\uff0c\u867d\u7136\u5173\u516c\u548c\u79e6\u743c\u90fd\u662f\u6b66\u5c06\uff0c\u4f46\u5176\u5b9e\u6ca1\u6709\u592a\u591a\u53ef\u6bd4\u6027\u3002"),(0,l.yg)("p",null,"BASE \u662f\u6307\u57fa\u672c\u53ef\u7528\uff08Basically Available\uff09\u3001\u8f6f\u72b6\u6001\uff08 Soft State\uff09\u3001\u6700\u7ec8\u4e00\u81f4\u6027\uff08 Eventual Consistency\uff09\uff0c\u6838\u5fc3\u601d\u60f3\u662f\u5373\u4f7f\u65e0\u6cd5\u505a\u5230\u5f3a\u4e00\u81f4\u6027\uff08CAP \u7684\u4e00\u81f4\u6027\u5c31\u662f\u5f3a\u4e00\u81f4\u6027\uff09\uff0c\u4f46\u5e94\u7528\u53ef\u4ee5\u91c7\u7528\u9002\u5408\u7684\u65b9\u5f0f\u8fbe\u5230\u6700\u7ec8\u4e00\u81f4\u6027\u3002"),(0,l.yg)("p",null,"BASE \u7406\u8bba\u672c\u8d28\u4e0a\u662f\u5bf9 CAP \u7684\u5ef6\u4f38\u548c\u8865\u5145\uff0c\u66f4\u5177\u4f53\u5730\u8bf4\uff0c\u662f\u5bf9 CAP \u4e2d AP \u65b9\u6848\u7684\u4e00\u4e2a\u8865\u5145\u3002CAP \u7406\u8bba\u662f\u5ffd\u7565\u5ef6\u65f6\u7684\uff0c\u800c\u5b9e\u9645\u5e94\u7528\u4e2d\u5ef6\u65f6\u662f\u65e0\u6cd5\u907f\u514d\u7684\u3002AP \u65b9\u6848\u4e2d\u727a\u7272\u4e00\u81f4\u6027\u53ea\u662f\u6307\u5206\u533a\u671f\u95f4\uff0c\u800c\u4e0d\u662f\u6c38\u8fdc\u653e\u5f03\u4e00\u81f4\u6027\u3002"),(0,l.yg)("h3",{id:"\u4e2a\u4eba\u7406\u89e3"},"\u4e2a\u4eba\u7406\u89e3"),(0,l.yg)("p",null,"\u8bbe\u8ba1\u5206\u5e03\u5f0f\u7cfb\u7edf\u7684\u4e24\u5927\u521d\u8877\uff1a\u6a2a\u5411\u6269\u5c55\uff08scalability\uff09\u548c\u9ad8\u53ef\u7528\u6027\uff08availability\uff09\u3002\u201c\u6a2a\u5411\u6269\u5c55\u201d\u662f\u4e3a\u4e86\u89e3\u51b3\u5355\u70b9\u74f6\u9888\u95ee\u9898\uff0c\u8fdb\u800c\u4fdd\u8bc1\u9ad8\u5e76\u53d1\u91cf\u4e0b\u7684\u300c\u53ef\u7528\u6027\u300d\uff1b\u201c\u9ad8\u53ef\u7528\u6027\u201d\u662f\u4e3a\u4e86\u89e3\u51b3\u5355\u70b9\u6545\u969c\uff08SPOF\uff09\u95ee\u9898\uff0c\u8fdb\u800c\u4fdd\u8bc1\u90e8\u5206\u8282\u70b9\u6545\u969c\u65f6\u7684\u300c\u53ef\u7528\u6027\u300d\u3002\u7531\u6b64\u53ef\u4ee5\u770b\u51fa\uff0c\u5206\u5e03\u5f0f\u7cfb\u7edf\u7684\u6838\u5fc3\u8bc9\u6c42\u5c31\u662f\u300c\u53ef\u7528\u6027\u300d\u3002\u8fd9\u4e2a\u300c\u53ef\u7528\u6027\u300d\u6b63\u662f CAP \u4e2d\u7684 A\uff1a\u7528\u6237\u8bbf\u95ee\u7cfb\u7edf\u65f6\uff0c\u53ef\u4ee5\u5728\u5408\u7406\u7684\u65f6\u95f4\u5185\u5f97\u5230\u5408\u7406\u7684\u54cd\u5e94\u3002 "),(0,l.yg)("p",null,"\u4e3a\u4e86\u4fdd\u8bc1\u300c\u53ef\u7528\u6027\u300d\uff0c\u4e00\u4e2a\u5206\u5e03\u5f0f\u7cfb\u7edf\u901a\u5e38\u7531\u591a\u4e2a\u8282\u70b9\u7ec4\u6210\u3002\u8fd9\u4e9b\u8282\u70b9\u5404\u81ea\u7ef4\u62a4\u4e00\u4efd\u6570\u636e\uff0c\u4f46\u662f\u4e0d\u7ba1\u7528\u6237\u8bbf\u95ee\u5230\u54ea\u4e2a\u8282\u70b9\uff0c\u539f\u5219\u4e0a\u90fd\u5e94\u8be5\u8bfb\u53d6\u5230\u76f8\u540c\u7684\u6570\u636e\u3002\u4e3a\u4e86\u8fbe\u5230\u8fd9\u4e2a\u6548\u679c\uff0c\u4e00\u4e2a\u8282\u70b9\u6536\u5230\u5199\u5165\u8bf7\u6c42\u66f4\u65b0\u81ea\u5df1\u7684\u6570\u636e\u540e\uff0c\u5fc5\u987b\u5c06\u6570\u636e\u540c\u6b65\u5230\u5176\u4ed6\u8282\u70b9\uff0c\u4ee5\u4fdd\u8bc1\u5404\u4e2a\u8282\u70b9\u7684\u6570\u636e\u300c\u4e00\u81f4\u6027\u300d\u3002\u8fd9\u4e2a\u300c\u4e00\u81f4\u6027\u300d\u6b63\u662f CAP \u4e2d\u7684 C\uff1a\u7528\u6237\u8bbf\u95ee\u7cfb\u7edf\u65f6\uff0c\u53ef\u4ee5\u8bfb\u53d6\u5230\u6700\u8fd1\u5199\u5165\u7684\u6570\u636e\u3002 "),(0,l.yg)("p",null,"\u9700\u8981\u6ce8\u610f\u7684\u662f\uff1aCAP \u5e76\u6ca1\u6709\u8003\u8651\u6570\u636e\u540c\u6b65\u7684\u8017\u65f6\uff0c\u6240\u4ee5\u73b0\u5b9e\u4e2d\u7684\u5206\u5e03\u5f0f\u7cfb\u7edf\uff0c\u7406\u8bba\u4e0a\u65e0\u6cd5\u4fdd\u8bc1\u4efb\u4f55\u65f6\u523b\u7684\u7edd\u5bf9\u300c\u4e00\u81f4\u6027\u300d\uff1b\u4e0d\u540c\u4e1a\u52a1\u7cfb\u7edf\u5bf9\u4e0a\u8ff0\u8017\u65f6\u7684\u654f\u611f\u5ea6\u4e0d\u540c\u3002 "),(0,l.yg)("p",null,"\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u8282\u70b9\u4e4b\u95f4\u7684\u6570\u636e\u540c\u6b65\u662f\u57fa\u4e8e\u7f51\u7edc\u7684\u3002\u7531\u4e8e\u7f51\u7edc\u672c\u8eab\u56fa\u6709\u7684\u4e0d\u53ef\u9760\u5c5e\u6027\uff0c\u6781\u7aef\u60c5\u51b5\u4e0b\u4f1a\u51fa\u73b0\u7f51\u7edc\u4e0d\u53ef\u7528\u7684\u60c5\u51b5\uff0c\u8fdb\u800c\u5c06\u7f51\u7edc\u4e24\u7aef\u7684\u8282\u70b9\u5b64\u7acb\u5f00\u6765\uff0c\u8fd9\u5c31\u662f\u6240\u8c13\u7684\u201c\u7f51\u7edc\u5206\u533a\u201d\u73b0\u8c61\u3002\u201c\u7f51\u7edc\u5206\u533a\u201d\u7406\u8bba\u4e0a\u662f\u65e0\u6cd5\u907f\u514d\u7684\uff0c\u867d\u7136\u5b9e\u9645\u53d1\u751f\u7684\u6982\u7387\u8f83\u4f4e\u3001\u65f6\u957f\u8f83\u77ed\u3002\u6ca1\u6709\u53d1\u751f\u201c\u7f51\u7edc\u5206\u533a\u201d\u65f6\uff0c\u7cfb\u7edf\u53ef\u4ee5\u505a\u5230\u540c\u65f6\u4fdd\u8bc1\u300c\u4e00\u81f4\u6027\u300d\u548c\u300c\u53ef\u7528\u6027\u300d\u3002 "),(0,l.yg)("p",null,"\u53d1\u751f\u201c\u7f51\u7edc\u5206\u533a\u201d\u65f6\uff0c\u7cfb\u7edf\u4e2d\u591a\u4e2a\u8282\u70b9\u7684\u6570\u636e\u4e00\u5b9a\u662f\u4e0d\u4e00\u81f4\u7684\uff0c\u4f46\u662f\u53ef\u4ee5\u9009\u62e9\u5bf9\u7528\u6237\u8868\u73b0\u51fa\u300c\u4e00\u81f4\u6027\u300d\uff0c\u4ee3\u4ef7\u662f\u727a\u7272\u300c\u53ef\u7528\u6027\u300d\uff1a\u5c06\u672a\u80fd\u540c\u6b65\u5f97\u5230\u65b0\u6570\u636e\u7684\u90e8\u5206\u8282\u70b9\u7f6e\u4e3a\u201c\u4e0d\u53ef\u7528\u72b6\u6001\u201d\uff0c\u8bbf\u95ee\u5230\u8fd9\u4e9b\u8282\u70b9\u7684\u7528\u6237\u663e\u7136\u611f\u77e5\u5230\u7cfb\u7edf\u662f\u4e0d\u53ef\u7528\u7684\u3002\u53d1\u751f\u201c\u7f51\u7edc\u5206\u533a\u201d\u65f6\uff0c\u7cfb\u7edf\u4e5f\u53ef\u4ee5\u9009\u62e9\u300c\u53ef\u7528\u6027\u300d\uff0c\u6b64\u65f6\u7cfb\u7edf\u4e2d\u5404\u4e2a\u8282\u70b9\u90fd\u662f\u53ef\u7528\u7684\uff0c\u53ea\u662f\u8fd4\u56de\u7ed9\u7528\u6237\u7684\u6570\u636e\u662f\u4e0d\u4e00\u81f4\u7684\u3002\u8fd9\u91cc\u7684\u9009\u62e9\uff0c\u5c31\u662f CAP \u4e2d\u7684 P\u3002 "),(0,l.yg)("p",null,"\u5206\u5e03\u5f0f\u7cfb\u7edf\u7406\u8bba\u4e0a\u4e00\u5b9a\u4f1a\u5b58\u5728 P\uff0c\u6240\u4ee5\u7406\u8bba\u4e0a\u53ea\u80fd\u505a\u5230 CP \u6216 AP\u3002\u5982\u679c\u5957\u7528 CAP \u4e2d\u79bb\u6563\u7684 C/A/P \u7684\u6982\u5ff5\uff0c\u7406\u8bba\u4e0a\u6ca1\u6709 P \u7684\u53ea\u53ef\u80fd\u662f\u5355\u70b9\uff08\u5b50\uff09\u7cfb\u7edf\uff0c\u6240\u4ee5\u7406\u8bba\u4e0a\u53ef\u4ee5\u505a\u5230 CA\u3002\u4f46\u662f\u5355\u70b9\uff08\u5b50\uff09\u7cfb\u7edf\u5e76\u4e0d\u662f\u5206\u5e03\u5f0f\u7cfb\u7edf\uff0c\u6240\u4ee5\u5176\u5b9e\u5e76\u4e0d\u5728 CAP \u7406\u8bba\u7684\u63cf\u8ff0\u8303\u56f4\u5185\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8b59d635.1631e201.js b/assets/js/8b59d635.cb47b8ea.js similarity index 99% rename from assets/js/8b59d635.1631e201.js rename to assets/js/8b59d635.cb47b8ea.js index 0d2c1bdb9..2c68d8b79 100644 --- a/assets/js/8b59d635.1631e201.js +++ b/assets/js/8b59d635.cb47b8ea.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2041],{15680:(e,l,t)=>{t.d(l,{xA:()=>g,yg:()=>c});var n=t(96540);function r(e,l,t){return l in e?Object.defineProperty(e,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[l]=t,e}function a(e,l){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),t.push.apply(t,n)}return t}function u(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var y=n.createContext({}),p=function(e){var l=n.useContext(y),t=l;return e&&(t="function"==typeof e?e(l):u(u({},l),e)),t},g=function(e){var l=p(e.components);return n.createElement(y.Provider,{value:l},e.children)},o="mdxType",m={inlineCode:"code",wrapper:function(e){var l=e.children;return n.createElement(n.Fragment,{},l)}},d=n.forwardRef((function(e,l){var t=e.components,r=e.mdxType,a=e.originalType,y=e.parentName,g=i(e,["components","mdxType","originalType","parentName"]),o=p(t),d=r,c=o["".concat(y,".").concat(d)]||o[d]||m[d]||a;return t?n.createElement(c,u(u({ref:l},g),{},{components:t})):n.createElement(c,u({ref:l},g))}));function c(e,l){var t=arguments,r=l&&l.mdxType;if("string"==typeof e||r){var a=t.length,u=new Array(a);u[0]=d;var i={};for(var y in l)hasOwnProperty.call(l,y)&&(i[y]=l[y]);i.originalType=e,i[o]="string"==typeof e?e:r,u[1]=i;for(var p=2;p{t.r(l),t.d(l,{assets:()=>y,contentTitle:()=>u,default:()=>m,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=t(58168),r=(t(96540),t(15680));const a={},u=void 0,i={unversionedId:"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",id:"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",title:"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",description:"\u6bcf\u59295\u70b9\u4e4b\u540e\u82b110\u5206\u949f\u7684\u65f6\u95f4\u5ba1\u67e5\u4e00\u4e0b\u522b\u4eba\u7684\u4ee3\u7801\uff0c\u5e76\u548c\u4ee3\u7801\u4f5c\u8005\u6c9f\u901a\uff1b",source:"@site/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c.md",sourceDirName:"study/think/\u4ee3\u7801\u8bc4\u5ba1",slug:"/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177"},next:{title:"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",permalink:"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5"}},y={},p=[{value:"\u4ee3\u7801\u4f5c\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868",id:"\u4ee3\u7801\u4f5c\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868",level:3},{value:"\u4ee3\u7801\u5ba1\u67e5\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868",id:"\u4ee3\u7801\u5ba1\u67e5\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868",level:3},{value:"\u5b9e\u73b0",id:"\u5b9e\u73b0",level:4},{value:"\u903b\u8f91\u9519\u8bef\u6216Bug",id:"\u903b\u8f91\u9519\u8bef\u6216bug",level:4},{value:"\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7",id:"\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7",level:4},{value:"\u53ef\u7528\u6027\u548c\u53ef\u8bbf\u95ee\u6027",id:"\u53ef\u7528\u6027\u548c\u53ef\u8bbf\u95ee\u6027",level:4},{value:"\u6d4b\u8bd5\u4e0e\u53ef\u6d4b\u8bd5\u6027",id:"\u6d4b\u8bd5\u4e0e\u53ef\u6d4b\u8bd5\u6027",level:4},{value:"\u4f9d\u8d56",id:"\u4f9d\u8d56",level:4},{value:"\u5b89\u5168\u548c\u9690\u79c1\u6570\u636e",id:"\u5b89\u5168\u548c\u9690\u79c1\u6570\u636e",level:4},{value:"\u6027\u80fd",id:"\u6027\u80fd",level:4},{value:"\u53ef\u8bfb\u6027",id:"\u53ef\u8bfb\u6027",level:4},{value:"\u4e13\u5bb6\u610f\u89c1",id:"\u4e13\u5bb6\u610f\u89c1",level:4},{value:"\u4ee3\u7801\u98ce\u683c\u548c\u7ea6\u5b9a",id:"\u4ee3\u7801\u98ce\u683c\u548c\u7ea6\u5b9a",level:4},{value:"\u5c3d\u53ef\u80fd\u81ea\u52a8\u5316",id:"\u5c3d\u53ef\u80fd\u81ea\u52a8\u5316",level:4}],g={toc:p},o="wrapper";function m(e){let{components:l,...t}=e;return(0,r.yg)(o,(0,n.A)({},g,t,{components:l,mdxType:"MDXLayout"}),(0,r.yg)("p",null,"\u6bcf\u59295\u70b9\u4e4b\u540e\u82b110\u5206\u949f\u7684\u65f6\u95f4\u5ba1\u67e5\u4e00\u4e0b\u522b\u4eba\u7684\u4ee3\u7801\uff0c\u5e76\u548c\u4ee3\u7801\u4f5c\u8005\u6c9f\u901a\uff1b\n\u9605\u8bfb\u522b\u4eba\u7684\u4ee3\u7801\u662f\u4e00\u79cd\u5f88\u91cd\u8981\u7684\u80fd\u529b\u3002\n\u4ece3\u67082\u53f7\u5f00\u59cb\uff0c\u6bcf\u5929\u7684\u65e5\u62a5\u52a0\u4e0a\u4e00\u4e2a\u5185\u5bb9\uff1a\u4ee3\u7801\u5ba1\u6838\u5185\u5bb9\u603b\u7ed3\uff0c\u4f8b\u5982\uff1a\u9605\u8bfb\u4e86\u3010\u738b\u4e16\u8d85\u3011\u7684\u3010\u6dfb\u52a0\u8bbe\u5907\u3011\u76f8\u5173\u4ee3\u7801\uff0c\u53d1\u73b0\u6709\u4e2a\u547d\u540d\u3010xxx\u3011\u4e0d\u662f\u5f88\u5408\u89c4\u8303\uff0c\u548c\u4ed6\u6c9f\u901a\u8fc7\u540e\uff0cxxx\uff1b\n\u8c01\u6765\u9605\u8bfb\u8c01\u7684\u4ee3\u7801\uff0c\u5404\u81ea\u7ec4\u957f\u5b9a\u4e00\u4e0b\u3002"),(0,r.yg)("p",null,"\u8001\u4eba\u9605\u8bfb\u65b0\u4eba\u7684\u4ee3\u7801\uff0c\u80fd\u591f\u66f4\u660e\u786e\u7684\u77e5\u6653\u65b0\u4eba\u5bf9\u529f\u80fd\u5b9e\u73b0\u7684\u7406\u89e3\u662f\u5426\u5230\u4f4d\uff0c\u8001\u4eba\u662f\u5426\u628a\u4efb\u52a1\u8bf4\u660e\u767d\u4e86\u3002\n\u65b0\u4eba\u9605\u8bfb\u8001\u4eba\u7684\u4ee3\u7801\uff0c\u80fd\u591f\u66f4\u660e\u786e\u7684\u77e5\u6653\u5f53\u524d\u9879\u76ee\u7684\u89c4\u8303\u3001\u6d41\u7a0b\u7b49\u3002\n\u9ad8\u7ea7\u5f00\u53d1\u9605\u8bfb\u521d\u4e2d\u7ea7\u5f00\u53d1\u7684\u4ee3\u7801\uff0c\u80fd\u591f\u67e5\u7f3a\u8865\u6f0f\uff0c\u907f\u514d\u5b89\u5168\u98ce\u9669\uff1b\n\u521d\u4e2d\u7ea7\u5f00\u53d1\u4e50\u961f\u9ad8\u7ea7\u5f00\u53d1\u7684\u4ee3\u7801\uff0c\u80fd\u591f\u5b66\u5230\u66f4\u591a\u4ee3\u7801\u7ecf\u9a8c\u3001\u601d\u60f3\u3001\u610f\u8bc6\u3002"),(0,r.yg)("p",null,"\u4ee3\u7801\u5ba1\u67e5\u5217\u8868\uff0c\u662f\u4ee3\u7801\u5ba1\u67e5\u7684\u660e\u786e\u89c4\u5219\u548c\u6307\u5bfc\u624b\u518c\uff0c\u5b83\u53ef\u4ee5\u4f7f\u4ee3\u7801\u5ba1\u67e5\u4e3a\u4f60\u7684\u56e2\u961f\u5e26\u6765\u66f4\u591a\u597d\u5904\uff0c\u5e76\u4e14\u80fd\u591f\u663e\u8457\u63d0\u5347\u4ee3\u7801\u5ba1\u67e5\u7684\u901f\u5ea6\u3002\u7814\u7a76\u8868\u660e\uff0c\u4f7f\u7528\u4ee3\u7801\u5ba1\u67e5\u5217\u8868\u7684\u5ba1\u9605\u8005\u7684\u8868\u73b0\u8981\u4f18\u4e8e\u4e0d\u4f7f\u7528\u7684\u5ba1\u9605\u8005\u3002\u6240\u4ee5\u4e0d\u7ba1\u4f60\u662f\u65b0\u624b\u5f00\u53d1\u8005\u8fd8\u662f\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\uff0c\u5f00\u59cb\u8003\u8651\u4f7f\u7528\u4ee3\u7801\u5ba1\u67e5\u5217\u8868\u5427\u3002"),(0,r.yg)("h3",{id:"\u4ee3\u7801\u4f5c\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868"},"\u4ee3\u7801\u4f5c\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868"),(0,r.yg)("p",null,"\u4f5c\u4e3a\u4ee3\u7801\u7684\u4f5c\u8005\uff0c\u4f60\u5e94\u8be5\u4fdd\u8bc1\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u7f16\u8bd1\u6210\u529f\u5e76\u4e14\u901a\u8fc7\u9759\u6001\u68c0\u67e5\uff08\u6ca1\u6709\u8b66\u544a\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u901a\u8fc7\u6240\u6709\u7684\u6d4b\u8bd5\uff08\u5355\u5143\u6d4b\u8bd5\u3001\u96c6\u6210\u6d4b\u8bd5\u548c\u7cfb\u7edf\u6d4b\u8bd5\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u4f60\u5df2\u7ecf\u4ed4\u7ec6\u68c0\u67e5\u4e86\u62fc\u5199\u9519\u8bef\uff0c\u5e76\u505a\u4e86\u5904\u7406\uff08\u6ce8\u91ca\u3001todo\u7b49\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u6982\u8ff0\u4ee3\u7801\u4fee\u6539\u7684\u539f\u56e0\u4ee5\u53ca\u4fee\u6539\u4e86\u54ea\u4e9b\u5730\u65b9")),(0,r.yg)("p",null,"\u9664\u6b64\u4e4b\u5916\uff0c\u4f5c\u4e3a\u4ee3\u7801\u4f5c\u8005\uff0c\u4e5f\u5e94\u8be5\u5728\u63d0\u4ea4\u5ba1\u67e5\u4e4b\u524d\uff0c\u6309\u7167\u5ba1\u67e5\u8005\u7684\u5217\u8868\u5bf9\u81ea\u5df1\u7684\u4ee3\u7801\u8fdb\u884c\u5ba1\u67e5\u3002"),(0,r.yg)("h3",{id:"\u4ee3\u7801\u5ba1\u67e5\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868"},"\u4ee3\u7801\u5ba1\u67e5\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868"),(0,r.yg)("p",null,"\u4f5c\u4e3a\u4ee3\u7801\u5ba1\u67e5\u8005\uff0c\u4f60\u7684\u4efb\u52a1\u662f\u5bfb\u627e\u6700\u91cd\u8981\u7684\u95ee\u9898\u3002\u8bc4\u8bba\u4f1a\u5bf9\u4ee3\u7801\u7684\u7ed3\u6784\u6027\u6216\u903b\u8f91\u6027\u95ee\u9898\u66f4\u6709\u4ef7\u503c\uff0c\u5373\u4f7f\u6709\u65f6\u5019\u4f1a\u663e\u5f97\u6311\u5254\u3002\u4f60\u5e94\u8be5\u77e5\u9053\u4ec0\u4e48\u662f\u597d\u7684\u4ee3\u7801\u53cd\u9988\u3002\u53e6\u5916\u9700\u8981\u6ce8\u610f\uff0c\u6700\u597d\u7684\u4ee3\u7801\u5ba1\u67e5\u53cd\u9988\u4e0d\u662f\u70b9\u8bc4\uff0c\u800c\u662f\u5efa\u8bae\u3002\u6240\u4ee5\u4e0d\u8981\u8bf4\u201c\u53d8\u91cf\u540d\u79f0\u5e94\u8be5\u662fremoveObject\u201c\uff0c\u6700\u597d\u8bf4\u201d\u8c03\u7528\u53d8\u91cfremoveObject\u600e\u4e48\u6837\uff1f\u201c\u3002\n\u4e0b\u9762\u8fd9\u4efd\u5217\u8868\u8db3\u591f\u5e2e\u52a9\u4f60\u63d0\u51fa\u597d\u7684\u4ee3\u7801\u5ba1\u67e5\u53cd\u9988\u4e86\u3002"),(0,r.yg)("h4",{id:"\u5b9e\u73b0"},"\u5b9e\u73b0"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u6b64\u4ee3\u7801\u66f4\u6539\u4f1a\u6267\u884c\u5b83\u5e94\u8be5\u505a\u7684\u4e8b\u60c5\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u79cd\u89e3\u51b3\u65b9\u6cd5\u662f\u6700\u7b80\u5355\u7684\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u4e2a\u66f4\u6539\u6709\u5f15\u5165\u4e00\u4e9b\u4e0d\u9700\u8981\u7684\u7f16\u8bd1\u65f6\u6216\u8fd0\u884c\u65f6\u7684\u4f9d\u8d56\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u4f7f\u7528\u4e86\u4e0d\u5e94\u8be5\u4f7f\u7528\u7684\u6846\u67b6\u3001API\u3001\u5e93\u3001\u670d\u52a1\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u5b58\u5728\u53ef\u4ee5\u63d0\u5347\u89e3\u51b3\u65b9\u6cd5\u7684\u672a\u4f7f\u7528\u7684\u6846\u67b6\u3001API\u3001\u5e93\u3001\u670d\u52a1\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u5904\u4e8e\u6b63\u786e\u7684\u62bd\u8c61\u7ea7\u522b\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u7684\u6a21\u5757\u5316\u505a\u7684\u662f\u5426\u8db3\u591f\u597d\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4f60\u662f\u5426\u6709\u5176\u4ed6\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u8be5\u65b9\u6848\u5728\u4ee3\u7801\u53ef\u7ef4\u62a4\u6027\u3001\u53ef\u8bfb\u6027\u3001\u6027\u80fd\u3001\u5b89\u5168\u65b9\u9762\u8868\u73b0\u66f4\u597d\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u5df2\u7ecf\u5b58\u5728\u7c7b\u4f3c\u529f\u80fd\u7684\u51fd\u6570\uff1f\u5982\u679c\u6709\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u590d\u7528\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u6700\u4f73\u5b9e\u8df5\u3001\u8bbe\u8ba1\u6a21\u5f0f\u6216\u7279\u5b9a\u8bed\u8a00\u6a21\u5f0f\u53ef\u4ee5\u4f18\u5316\u4ee3\u7801\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u9075\u5faa\u9762\u5411\u5bf9\u8c61\u7684\u5206\u6790\u548c\u8bbe\u8ba1\u539f\u5219\uff0c\u4f8b\u5982\u5355\u4e00\u8d23\u4efb\u539f\u5219\uff0c\u5f00\u95ed\u539f\u5219\uff0c\u91cc\u6c0f\u66ff\u6362\u539f\u5219\uff0c\u63a5\u53e3\u9694\u79bb\uff0c\u4f9d\u8d56\u6ce8\u5165\uff1f")),(0,r.yg)("h4",{id:"\u903b\u8f91\u9519\u8bef\u6216bug"},"\u903b\u8f91\u9519\u8bef\u6216Bug"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4f60\u80fd\u60f3\u5230\u4ee3\u7801\u4e0d\u6309\u9884\u671f\u8fd0\u884c\u7684\u4efb\u4f55\u7528\u4f8b\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4f60\u80fd\u60f3\u5230\u4efb\u4f55\u53ef\u80fd\u7834\u574f\u4ee3\u7801\u7684\u8f93\u5165\u6216\u5916\u90e8\u4e8b\u4ef6\u5417\uff1f")),(0,r.yg)("h4",{id:"\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7"},"\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u9519\u8bef\u90fd\u88ab\u6b63\u786e\u5904\u7406\u4e86\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u9700\u8981\u589e\u52a0\u6216\u5220\u9664\u7684\u65e5\u5fd7/debug\u4fe1\u606f\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u9519\u8bef\u6d88\u606f\u5bf9\u7528\u6237\u662f\u5426\u53cb\u597d\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u8db3\u591f\u7684\u65e5\u5fd7\uff0c\u5b83\u4eec\u7684\u7f16\u5199\u65b9\u5f0f\u662f\u5426\u662f\u6613\u4e8e\u8c03\u8bd5\u7684\uff1f")),(0,r.yg)("h4",{id:"\u53ef\u7528\u6027\u548c\u53ef\u8bbf\u95ee\u6027"},"\u53ef\u7528\u6027\u548c\u53ef\u8bbf\u95ee\u6027"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4ece\u53ef\u7528\u6027\u89d2\u5ea6\u51fa\u53d1\uff0c\u6240\u63d0\u51fa\u7684\u89e3\u51b3\u65b9\u6848\u662f\u5426\u8bbe\u8ba1\u5408\u7406\uff1f"),(0,r.yg)("li",{parentName:"ul"},"API\u6587\u6863\u662f\u5426\u8db3\u591f\u597d\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u63d0\u51fa\u7684\u89e3\u51b3\u65b9\u6848\u662f\u5426\u5177\u5907\u53ef\u8bbf\u95ee\u6027\uff1f"),(0,r.yg)("li",{parentName:"ul"},"API/UI\u662f\u5426\u76f4\u89c2\u6613\u7528\uff1f")),(0,r.yg)("h4",{id:"\u6d4b\u8bd5\u4e0e\u53ef\u6d4b\u8bd5\u6027"},"\u6d4b\u8bd5\u4e0e\u53ef\u6d4b\u8bd5\u6027"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u8fbe\u5230\u53ef\u6d4b\u8bd5\u6807\u51c6\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u8db3\u591f\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\uff08\u5355\u5143\u6d4b\u8bd5/\u96c6\u6210\u6d4b\u8bd5/\u7cfb\u7edf\u6d4b\u8bd5\uff09\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u73b0\u6709\u6d4b\u8bd5\u662f\u5426\u5408\u7406\u8986\u76d6\u4ee3\u7801\u53d8\u66f4\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u989d\u5916\u7684\u6d4b\u8bd5\u7528\u4f8b\u3001\u8f93\u5165\u6216\u8fb9\u754c\u7528\u4f8b\u4ee5\u4f9b\u6d4b\u8bd5\uff1f")),(0,r.yg)("h4",{id:"\u4f9d\u8d56"},"\u4f9d\u8d56"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u5982\u679c\u8fd9\u4e2a\u4fee\u6539\u9700\u8981\u66f4\u65b0\u4ee3\u7801\u4ee5\u5916\u7684\u6587\u4ef6\uff0c\u4f8b\u5982\u66f4\u65b0\u6587\u6863\uff0c\u914d\u7f6e\uff0creadme\u6587\u4ef6\u3002\u662f\u5426\u5b8c\u6210\u4e86\u8fd9\u4e9b\u66f4\u65b0\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u4e2a\u4fee\u6539\u662f\u5426\u4f1a\u5bf9\u7cfb\u7edf\u5176\u4ed6\u5730\u65b9\u9020\u6210\u5f71\u54cd\uff1f\u662f\u5426\u80fd\u540e\u5411\u540e\u517c\u5bb9\uff1f")),(0,r.yg)("h4",{id:"\u5b89\u5168\u548c\u9690\u79c1\u6570\u636e"},"\u5b89\u5168\u548c\u9690\u79c1\u6570\u636e"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u6bb5\u4ee3\u7801\u662f\u5426\u6253\u5f00\u8f6f\u4ef6\u7684\u5b89\u5168\u6f0f\u6d1e\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u6743\u9650\u548c\u8eab\u4efd\u9a8c\u8bc1\u662f\u5426\u88ab\u6b63\u786e\u5904\u7406\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u5b89\u5168\u5904\u7406\u4e86\u654f\u611f\u6570\u636e\uff0c\u4f8b\u5982\u7528\u6237\u6570\u636e\u3001\u4fe1\u7528\u5361\u4fe1\u606f\u7b49\uff1f\u662f\u5426\u6b63\u786e\u4f7f\u7528\u52a0\u5bc6\u65b9\u6cd5\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u66f4\u6539\u662f\u5426\u663e\u9732\u4e86\u4e00\u4e9b\u79c1\u5bc6\u4fe1\u606f\uff08\u5982\u79d8\u94a5\uff0c\u7528\u6237\u540d\u7b49\uff09\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u5982\u679c\u4ee3\u7801\u5904\u7406\u7528\u6237\u8f93\u5165\uff0c\u662f\u5426\u89e3\u51b3\u4e86\u8de8\u7ad9\u70b9\u811a\u672c\uff0cSQL\u6ce8\u5165\u7b49\u5b89\u5168\u6f0f\u6d1e\uff0c\u662f\u5426\u8fdb\u884c\u4e86\u8f93\u5165\u6e05\u6d17\u548c\u9a8c\u8bc1\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ece\u5916\u90e8API\u6216\u5e93\u4e2d\u83b7\u5f97\u7684\u6570\u636e\u662f\u5426\u8fdb\u884c\u4e86\u76f8\u5e94\u7684\u68c0\u67e5\uff1f")),(0,r.yg)("h4",{id:"\u6027\u80fd"},"\u6027\u80fd"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u6bb5\u4ee3\u7801\u4fee\u6539\u662f\u5426\u4f1a\u5bf9\u7cfb\u7edf\u6027\u80fd\u4ea7\u751f\u8d1f\u9762\u5f71\u54cd\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63d0\u5347\u4ee3\u7801\u6027\u80fd\uff1f")),(0,r.yg)("h4",{id:"\u53ef\u8bfb\u6027"},"\u53ef\u8bfb\u6027"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u5bb9\u6613\u7406\u89e3\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u54ea\u4e00\u90e8\u5206\u4f7f\u4f60\u56f0\u60d1\uff0c\u4e3a\u4ec0\u4e48\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u901a\u8fc7\u51cf\u5c0f\u65b9\u6cd5\u6765\u63d0\u9ad8\u4ee3\u7801\u53ef\u8bfb\u6027\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u4e0d\u540c\u7684\u51fd\u6570/\u65b9\u6cd5\u6216\u53d8\u91cf\u540d\u79f0\u6765\u63d0\u5347\u4ee3\u7801\u53ef\u8bfb\u6027\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u5b58\u653e\u5728\u6b63\u786e\u7684\u6587\u4ef6/\u76ee\u5f55/\u5305\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4f60\u662f\u5426\u8ba4\u4e3a\u65b9\u6cd5\u5e94\u8be5\u91cd\u6784\u4ee5\u62e5\u6709\u66f4\u76f4\u89c2\u7684\u63a7\u5236\u6d41\u7a0b\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u6570\u636e\u6d41\u662f\u5426\u53ef\u7406\u89e3\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u591a\u4f59\u7684\u6ce8\u91ca\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u67d0\u4e9b\u6ce8\u91ca\u662f\u5426\u53ef\u4ee5\u66f4\u597d\u7684\u4f20\u8fbe\u4fe1\u606f\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u66f4\u591a\u7684\u6ce8\u91ca\u4f1a\u4f7f\u4f60\u7684\u4ee3\u7801\u66f4\u5bb9\u6613\u7406\u89e3\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u53ef\u4ee5\u79fb\u9664\u4e00\u4e9b\u6ce8\u91ca\uff0c\u901a\u8fc7\u63d0\u5347\u4ee3\u7801\u53ef\u8bfb\u6027\u6765\u7406\u89e3\u4ee3\u7801\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u5b58\u5728\u6ce8\u91ca\u6389\u7684\u4ee3\u7801\uff1f")),(0,r.yg)("h4",{id:"\u4e13\u5bb6\u610f\u89c1"},"\u4e13\u5bb6\u610f\u89c1"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4f60\u662f\u5426\u8ba4\u4e3a\u7279\u5b9a\u4e13\u5bb6\uff08\u5982\u5b89\u5168\u4e13\u5bb6\u6216\u53ef\u7528\u6027\u4e13\u5bb6\uff09\u5e94\u8be5\u5148\u68c0\u67e5\u4ee3\u7801\uff0c\u7136\u540e\u518d\u63d0\u4ea4\u4ee3\u7801\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u4e2a\u4ee3\u7801\u4fee\u6539\u4f1a\u5f71\u54cd\u5176\u4ed6\u56e2\u961f\u5417\uff1f\u4ed6\u4eec\u4e5f\u5e94\u8be5\u53d1\u8868\u610f\u89c1\u5417\uff1f")),(0,r.yg)("h4",{id:"\u4ee3\u7801\u98ce\u683c\u548c\u7ea6\u5b9a"},"\u4ee3\u7801\u98ce\u683c\u548c\u7ea6\u5b9a"),(0,r.yg)("p",null,"\u60a8\u7684\u56e2\u961f\u6216\u516c\u53f8\u5fc5\u987b\u62e5\u6709\u6e05\u6670\u7684\u7f16\u7801\u98ce\u683c\u6307\u5357\uff0c\u8fd9\u4e00\u70b9\u5f88\u91cd\u8981\u3002\u56e0\u4e3a\u8fd9\u662f\u5728\u4ee3\u7801\u5e93\u4e2d\u5b9e\u65bd\u552f\u4e00\u6027\u7684\u552f\u4e00\u65b9\u6cd5\u3002\u5e76\u4e14\u4e00\u81f4\u6027\u4f1a\u4f7f\u4ee3\u7801\u5ba1\u67e5\u66f4\u5feb\uff0c\u4f7f\u4eba\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u66f4\u6539\u9879\u76ee\uff0c\u5e76\u4fdd\u6301\u60a8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002Google\u662f\u505a\u5230\u8fd9\u4e00\u70b9\u7684\u5f88\u597d\u7684\u4f8b\u5b50\uff0c\u65e0\u7591\uff0c\u8fd9\u4f7fGoogle\u53ef\u4ee5\u8fdb\u884c\u5feb\u901f\u7684\u4ee3\u7801\u5ba1\u67e5\u3002\u9996\u5148\uff0c\u6211\u5efa\u8bae\u4f7f\u7528\u73b0\u6210\u7684\u7f16\u7801\u6837\u5f0f\u6765\u652f\u6301Google\u63d0\u4f9b\u7684\u591a\u79cd\u8bed\u8a00\u3002\u8bbe\u5b9a\u57fa\u672c\u89c4\u5219\u5f88\u91cd\u8981\uff0c\u4f46\u8981\u786e\u4fdd\u4e00\u52b3\u6c38\u9038\u3002\u4e0d\u8981\u6301\u7eed\u4e89\u8bba\u3002"),(0,r.yg)("h4",{id:"\u5c3d\u53ef\u80fd\u81ea\u52a8\u5316"},"\u5c3d\u53ef\u80fd\u81ea\u52a8\u5316"),(0,r.yg)("p",null,"\u786e\u5b9a\u4e86\u4ee3\u7801\u98ce\u683c\u4ee5\u540e\uff0c\u8bf7\u82b1\u4e00\u4e9b\u65f6\u95f4\u6b63\u786e\u5b89\u88c5\u548c\u914d\u7f6e\u5de5\u5177\uff0c\u4ee5\u4fbf\u4e00\u952e\u683c\u5f0f\u5316\u4ee3\u7801\u3002\u53e6\u5916\u8fd8\u6709\u5f88\u591a\u4e8b\u60c5\u53ef\u4ee5\u505a\u3002\u4f8b\u5982\u4f7f\u7528\u9759\u6001\u68c0\u67e5\u6765\u4ee3\u66ff\u90e8\u5206\u4eba\u5de5\u5ba1\u6838\u3002\u8fd9\u662f\u503c\u5f97\u4e3a\u4e4b\u52aa\u529b\u7684\u3002"))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2041],{15680:(e,l,t)=>{t.d(l,{xA:()=>g,yg:()=>c});var n=t(96540);function r(e,l,t){return l in e?Object.defineProperty(e,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[l]=t,e}function a(e,l){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),t.push.apply(t,n)}return t}function u(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var y=n.createContext({}),p=function(e){var l=n.useContext(y),t=l;return e&&(t="function"==typeof e?e(l):u(u({},l),e)),t},g=function(e){var l=p(e.components);return n.createElement(y.Provider,{value:l},e.children)},o="mdxType",m={inlineCode:"code",wrapper:function(e){var l=e.children;return n.createElement(n.Fragment,{},l)}},d=n.forwardRef((function(e,l){var t=e.components,r=e.mdxType,a=e.originalType,y=e.parentName,g=i(e,["components","mdxType","originalType","parentName"]),o=p(t),d=r,c=o["".concat(y,".").concat(d)]||o[d]||m[d]||a;return t?n.createElement(c,u(u({ref:l},g),{},{components:t})):n.createElement(c,u({ref:l},g))}));function c(e,l){var t=arguments,r=l&&l.mdxType;if("string"==typeof e||r){var a=t.length,u=new Array(a);u[0]=d;var i={};for(var y in l)hasOwnProperty.call(l,y)&&(i[y]=l[y]);i.originalType=e,i[o]="string"==typeof e?e:r,u[1]=i;for(var p=2;p{t.r(l),t.d(l,{assets:()=>y,contentTitle:()=>u,default:()=>m,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=t(58168),r=(t(96540),t(15680));const a={},u=void 0,i={unversionedId:"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",id:"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",title:"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",description:"\u6bcf\u59295\u70b9\u4e4b\u540e\u82b110\u5206\u949f\u7684\u65f6\u95f4\u5ba1\u67e5\u4e00\u4e0b\u522b\u4eba\u7684\u4ee3\u7801\uff0c\u5e76\u548c\u4ee3\u7801\u4f5c\u8005\u6c9f\u901a\uff1b",source:"@site/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c.md",sourceDirName:"study/think/\u4ee3\u7801\u8bc4\u5ba1",slug:"/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177"},next:{title:"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",permalink:"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5"}},y={},p=[{value:"\u4ee3\u7801\u4f5c\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868",id:"\u4ee3\u7801\u4f5c\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868",level:3},{value:"\u4ee3\u7801\u5ba1\u67e5\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868",id:"\u4ee3\u7801\u5ba1\u67e5\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868",level:3},{value:"\u5b9e\u73b0",id:"\u5b9e\u73b0",level:4},{value:"\u903b\u8f91\u9519\u8bef\u6216Bug",id:"\u903b\u8f91\u9519\u8bef\u6216bug",level:4},{value:"\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7",id:"\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7",level:4},{value:"\u53ef\u7528\u6027\u548c\u53ef\u8bbf\u95ee\u6027",id:"\u53ef\u7528\u6027\u548c\u53ef\u8bbf\u95ee\u6027",level:4},{value:"\u6d4b\u8bd5\u4e0e\u53ef\u6d4b\u8bd5\u6027",id:"\u6d4b\u8bd5\u4e0e\u53ef\u6d4b\u8bd5\u6027",level:4},{value:"\u4f9d\u8d56",id:"\u4f9d\u8d56",level:4},{value:"\u5b89\u5168\u548c\u9690\u79c1\u6570\u636e",id:"\u5b89\u5168\u548c\u9690\u79c1\u6570\u636e",level:4},{value:"\u6027\u80fd",id:"\u6027\u80fd",level:4},{value:"\u53ef\u8bfb\u6027",id:"\u53ef\u8bfb\u6027",level:4},{value:"\u4e13\u5bb6\u610f\u89c1",id:"\u4e13\u5bb6\u610f\u89c1",level:4},{value:"\u4ee3\u7801\u98ce\u683c\u548c\u7ea6\u5b9a",id:"\u4ee3\u7801\u98ce\u683c\u548c\u7ea6\u5b9a",level:4},{value:"\u5c3d\u53ef\u80fd\u81ea\u52a8\u5316",id:"\u5c3d\u53ef\u80fd\u81ea\u52a8\u5316",level:4}],g={toc:p},o="wrapper";function m(e){let{components:l,...t}=e;return(0,r.yg)(o,(0,n.A)({},g,t,{components:l,mdxType:"MDXLayout"}),(0,r.yg)("p",null,"\u6bcf\u59295\u70b9\u4e4b\u540e\u82b110\u5206\u949f\u7684\u65f6\u95f4\u5ba1\u67e5\u4e00\u4e0b\u522b\u4eba\u7684\u4ee3\u7801\uff0c\u5e76\u548c\u4ee3\u7801\u4f5c\u8005\u6c9f\u901a\uff1b\n\u9605\u8bfb\u522b\u4eba\u7684\u4ee3\u7801\u662f\u4e00\u79cd\u5f88\u91cd\u8981\u7684\u80fd\u529b\u3002\n\u4ece3\u67082\u53f7\u5f00\u59cb\uff0c\u6bcf\u5929\u7684\u65e5\u62a5\u52a0\u4e0a\u4e00\u4e2a\u5185\u5bb9\uff1a\u4ee3\u7801\u5ba1\u6838\u5185\u5bb9\u603b\u7ed3\uff0c\u4f8b\u5982\uff1a\u9605\u8bfb\u4e86\u3010\u738b\u4e16\u8d85\u3011\u7684\u3010\u6dfb\u52a0\u8bbe\u5907\u3011\u76f8\u5173\u4ee3\u7801\uff0c\u53d1\u73b0\u6709\u4e2a\u547d\u540d\u3010xxx\u3011\u4e0d\u662f\u5f88\u5408\u89c4\u8303\uff0c\u548c\u4ed6\u6c9f\u901a\u8fc7\u540e\uff0cxxx\uff1b\n\u8c01\u6765\u9605\u8bfb\u8c01\u7684\u4ee3\u7801\uff0c\u5404\u81ea\u7ec4\u957f\u5b9a\u4e00\u4e0b\u3002"),(0,r.yg)("p",null,"\u8001\u4eba\u9605\u8bfb\u65b0\u4eba\u7684\u4ee3\u7801\uff0c\u80fd\u591f\u66f4\u660e\u786e\u7684\u77e5\u6653\u65b0\u4eba\u5bf9\u529f\u80fd\u5b9e\u73b0\u7684\u7406\u89e3\u662f\u5426\u5230\u4f4d\uff0c\u8001\u4eba\u662f\u5426\u628a\u4efb\u52a1\u8bf4\u660e\u767d\u4e86\u3002\n\u65b0\u4eba\u9605\u8bfb\u8001\u4eba\u7684\u4ee3\u7801\uff0c\u80fd\u591f\u66f4\u660e\u786e\u7684\u77e5\u6653\u5f53\u524d\u9879\u76ee\u7684\u89c4\u8303\u3001\u6d41\u7a0b\u7b49\u3002\n\u9ad8\u7ea7\u5f00\u53d1\u9605\u8bfb\u521d\u4e2d\u7ea7\u5f00\u53d1\u7684\u4ee3\u7801\uff0c\u80fd\u591f\u67e5\u7f3a\u8865\u6f0f\uff0c\u907f\u514d\u5b89\u5168\u98ce\u9669\uff1b\n\u521d\u4e2d\u7ea7\u5f00\u53d1\u4e50\u961f\u9ad8\u7ea7\u5f00\u53d1\u7684\u4ee3\u7801\uff0c\u80fd\u591f\u5b66\u5230\u66f4\u591a\u4ee3\u7801\u7ecf\u9a8c\u3001\u601d\u60f3\u3001\u610f\u8bc6\u3002"),(0,r.yg)("p",null,"\u4ee3\u7801\u5ba1\u67e5\u5217\u8868\uff0c\u662f\u4ee3\u7801\u5ba1\u67e5\u7684\u660e\u786e\u89c4\u5219\u548c\u6307\u5bfc\u624b\u518c\uff0c\u5b83\u53ef\u4ee5\u4f7f\u4ee3\u7801\u5ba1\u67e5\u4e3a\u4f60\u7684\u56e2\u961f\u5e26\u6765\u66f4\u591a\u597d\u5904\uff0c\u5e76\u4e14\u80fd\u591f\u663e\u8457\u63d0\u5347\u4ee3\u7801\u5ba1\u67e5\u7684\u901f\u5ea6\u3002\u7814\u7a76\u8868\u660e\uff0c\u4f7f\u7528\u4ee3\u7801\u5ba1\u67e5\u5217\u8868\u7684\u5ba1\u9605\u8005\u7684\u8868\u73b0\u8981\u4f18\u4e8e\u4e0d\u4f7f\u7528\u7684\u5ba1\u9605\u8005\u3002\u6240\u4ee5\u4e0d\u7ba1\u4f60\u662f\u65b0\u624b\u5f00\u53d1\u8005\u8fd8\u662f\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\uff0c\u5f00\u59cb\u8003\u8651\u4f7f\u7528\u4ee3\u7801\u5ba1\u67e5\u5217\u8868\u5427\u3002"),(0,r.yg)("h3",{id:"\u4ee3\u7801\u4f5c\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868"},"\u4ee3\u7801\u4f5c\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868"),(0,r.yg)("p",null,"\u4f5c\u4e3a\u4ee3\u7801\u7684\u4f5c\u8005\uff0c\u4f60\u5e94\u8be5\u4fdd\u8bc1\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u7f16\u8bd1\u6210\u529f\u5e76\u4e14\u901a\u8fc7\u9759\u6001\u68c0\u67e5\uff08\u6ca1\u6709\u8b66\u544a\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u901a\u8fc7\u6240\u6709\u7684\u6d4b\u8bd5\uff08\u5355\u5143\u6d4b\u8bd5\u3001\u96c6\u6210\u6d4b\u8bd5\u548c\u7cfb\u7edf\u6d4b\u8bd5\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u4f60\u5df2\u7ecf\u4ed4\u7ec6\u68c0\u67e5\u4e86\u62fc\u5199\u9519\u8bef\uff0c\u5e76\u505a\u4e86\u5904\u7406\uff08\u6ce8\u91ca\u3001todo\u7b49\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u6982\u8ff0\u4ee3\u7801\u4fee\u6539\u7684\u539f\u56e0\u4ee5\u53ca\u4fee\u6539\u4e86\u54ea\u4e9b\u5730\u65b9")),(0,r.yg)("p",null,"\u9664\u6b64\u4e4b\u5916\uff0c\u4f5c\u4e3a\u4ee3\u7801\u4f5c\u8005\uff0c\u4e5f\u5e94\u8be5\u5728\u63d0\u4ea4\u5ba1\u67e5\u4e4b\u524d\uff0c\u6309\u7167\u5ba1\u67e5\u8005\u7684\u5217\u8868\u5bf9\u81ea\u5df1\u7684\u4ee3\u7801\u8fdb\u884c\u5ba1\u67e5\u3002"),(0,r.yg)("h3",{id:"\u4ee3\u7801\u5ba1\u67e5\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868"},"\u4ee3\u7801\u5ba1\u67e5\u8005\u5e94\u8be5\u5173\u6ce8\u7684\u5217\u8868"),(0,r.yg)("p",null,"\u4f5c\u4e3a\u4ee3\u7801\u5ba1\u67e5\u8005\uff0c\u4f60\u7684\u4efb\u52a1\u662f\u5bfb\u627e\u6700\u91cd\u8981\u7684\u95ee\u9898\u3002\u8bc4\u8bba\u4f1a\u5bf9\u4ee3\u7801\u7684\u7ed3\u6784\u6027\u6216\u903b\u8f91\u6027\u95ee\u9898\u66f4\u6709\u4ef7\u503c\uff0c\u5373\u4f7f\u6709\u65f6\u5019\u4f1a\u663e\u5f97\u6311\u5254\u3002\u4f60\u5e94\u8be5\u77e5\u9053\u4ec0\u4e48\u662f\u597d\u7684\u4ee3\u7801\u53cd\u9988\u3002\u53e6\u5916\u9700\u8981\u6ce8\u610f\uff0c\u6700\u597d\u7684\u4ee3\u7801\u5ba1\u67e5\u53cd\u9988\u4e0d\u662f\u70b9\u8bc4\uff0c\u800c\u662f\u5efa\u8bae\u3002\u6240\u4ee5\u4e0d\u8981\u8bf4\u201c\u53d8\u91cf\u540d\u79f0\u5e94\u8be5\u662fremoveObject\u201c\uff0c\u6700\u597d\u8bf4\u201d\u8c03\u7528\u53d8\u91cfremoveObject\u600e\u4e48\u6837\uff1f\u201c\u3002\n\u4e0b\u9762\u8fd9\u4efd\u5217\u8868\u8db3\u591f\u5e2e\u52a9\u4f60\u63d0\u51fa\u597d\u7684\u4ee3\u7801\u5ba1\u67e5\u53cd\u9988\u4e86\u3002"),(0,r.yg)("h4",{id:"\u5b9e\u73b0"},"\u5b9e\u73b0"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u6b64\u4ee3\u7801\u66f4\u6539\u4f1a\u6267\u884c\u5b83\u5e94\u8be5\u505a\u7684\u4e8b\u60c5\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u79cd\u89e3\u51b3\u65b9\u6cd5\u662f\u6700\u7b80\u5355\u7684\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u4e2a\u66f4\u6539\u6709\u5f15\u5165\u4e00\u4e9b\u4e0d\u9700\u8981\u7684\u7f16\u8bd1\u65f6\u6216\u8fd0\u884c\u65f6\u7684\u4f9d\u8d56\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u4f7f\u7528\u4e86\u4e0d\u5e94\u8be5\u4f7f\u7528\u7684\u6846\u67b6\u3001API\u3001\u5e93\u3001\u670d\u52a1\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u5b58\u5728\u53ef\u4ee5\u63d0\u5347\u89e3\u51b3\u65b9\u6cd5\u7684\u672a\u4f7f\u7528\u7684\u6846\u67b6\u3001API\u3001\u5e93\u3001\u670d\u52a1\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u5904\u4e8e\u6b63\u786e\u7684\u62bd\u8c61\u7ea7\u522b\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u7684\u6a21\u5757\u5316\u505a\u7684\u662f\u5426\u8db3\u591f\u597d\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4f60\u662f\u5426\u6709\u5176\u4ed6\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u8be5\u65b9\u6848\u5728\u4ee3\u7801\u53ef\u7ef4\u62a4\u6027\u3001\u53ef\u8bfb\u6027\u3001\u6027\u80fd\u3001\u5b89\u5168\u65b9\u9762\u8868\u73b0\u66f4\u597d\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u5df2\u7ecf\u5b58\u5728\u7c7b\u4f3c\u529f\u80fd\u7684\u51fd\u6570\uff1f\u5982\u679c\u6709\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u590d\u7528\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u6700\u4f73\u5b9e\u8df5\u3001\u8bbe\u8ba1\u6a21\u5f0f\u6216\u7279\u5b9a\u8bed\u8a00\u6a21\u5f0f\u53ef\u4ee5\u4f18\u5316\u4ee3\u7801\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u9075\u5faa\u9762\u5411\u5bf9\u8c61\u7684\u5206\u6790\u548c\u8bbe\u8ba1\u539f\u5219\uff0c\u4f8b\u5982\u5355\u4e00\u8d23\u4efb\u539f\u5219\uff0c\u5f00\u95ed\u539f\u5219\uff0c\u91cc\u6c0f\u66ff\u6362\u539f\u5219\uff0c\u63a5\u53e3\u9694\u79bb\uff0c\u4f9d\u8d56\u6ce8\u5165\uff1f")),(0,r.yg)("h4",{id:"\u903b\u8f91\u9519\u8bef\u6216bug"},"\u903b\u8f91\u9519\u8bef\u6216Bug"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4f60\u80fd\u60f3\u5230\u4ee3\u7801\u4e0d\u6309\u9884\u671f\u8fd0\u884c\u7684\u4efb\u4f55\u7528\u4f8b\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4f60\u80fd\u60f3\u5230\u4efb\u4f55\u53ef\u80fd\u7834\u574f\u4ee3\u7801\u7684\u8f93\u5165\u6216\u5916\u90e8\u4e8b\u4ef6\u5417\uff1f")),(0,r.yg)("h4",{id:"\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7"},"\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u9519\u8bef\u90fd\u88ab\u6b63\u786e\u5904\u7406\u4e86\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u9700\u8981\u589e\u52a0\u6216\u5220\u9664\u7684\u65e5\u5fd7/debug\u4fe1\u606f\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u9519\u8bef\u6d88\u606f\u5bf9\u7528\u6237\u662f\u5426\u53cb\u597d\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u8db3\u591f\u7684\u65e5\u5fd7\uff0c\u5b83\u4eec\u7684\u7f16\u5199\u65b9\u5f0f\u662f\u5426\u662f\u6613\u4e8e\u8c03\u8bd5\u7684\uff1f")),(0,r.yg)("h4",{id:"\u53ef\u7528\u6027\u548c\u53ef\u8bbf\u95ee\u6027"},"\u53ef\u7528\u6027\u548c\u53ef\u8bbf\u95ee\u6027"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4ece\u53ef\u7528\u6027\u89d2\u5ea6\u51fa\u53d1\uff0c\u6240\u63d0\u51fa\u7684\u89e3\u51b3\u65b9\u6848\u662f\u5426\u8bbe\u8ba1\u5408\u7406\uff1f"),(0,r.yg)("li",{parentName:"ul"},"API\u6587\u6863\u662f\u5426\u8db3\u591f\u597d\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u63d0\u51fa\u7684\u89e3\u51b3\u65b9\u6848\u662f\u5426\u5177\u5907\u53ef\u8bbf\u95ee\u6027\uff1f"),(0,r.yg)("li",{parentName:"ul"},"API/UI\u662f\u5426\u76f4\u89c2\u6613\u7528\uff1f")),(0,r.yg)("h4",{id:"\u6d4b\u8bd5\u4e0e\u53ef\u6d4b\u8bd5\u6027"},"\u6d4b\u8bd5\u4e0e\u53ef\u6d4b\u8bd5\u6027"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u8fbe\u5230\u53ef\u6d4b\u8bd5\u6807\u51c6\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u8db3\u591f\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\uff08\u5355\u5143\u6d4b\u8bd5/\u96c6\u6210\u6d4b\u8bd5/\u7cfb\u7edf\u6d4b\u8bd5\uff09\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u73b0\u6709\u6d4b\u8bd5\u662f\u5426\u5408\u7406\u8986\u76d6\u4ee3\u7801\u53d8\u66f4\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u989d\u5916\u7684\u6d4b\u8bd5\u7528\u4f8b\u3001\u8f93\u5165\u6216\u8fb9\u754c\u7528\u4f8b\u4ee5\u4f9b\u6d4b\u8bd5\uff1f")),(0,r.yg)("h4",{id:"\u4f9d\u8d56"},"\u4f9d\u8d56"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u5982\u679c\u8fd9\u4e2a\u4fee\u6539\u9700\u8981\u66f4\u65b0\u4ee3\u7801\u4ee5\u5916\u7684\u6587\u4ef6\uff0c\u4f8b\u5982\u66f4\u65b0\u6587\u6863\uff0c\u914d\u7f6e\uff0creadme\u6587\u4ef6\u3002\u662f\u5426\u5b8c\u6210\u4e86\u8fd9\u4e9b\u66f4\u65b0\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u4e2a\u4fee\u6539\u662f\u5426\u4f1a\u5bf9\u7cfb\u7edf\u5176\u4ed6\u5730\u65b9\u9020\u6210\u5f71\u54cd\uff1f\u662f\u5426\u80fd\u540e\u5411\u540e\u517c\u5bb9\uff1f")),(0,r.yg)("h4",{id:"\u5b89\u5168\u548c\u9690\u79c1\u6570\u636e"},"\u5b89\u5168\u548c\u9690\u79c1\u6570\u636e"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u6bb5\u4ee3\u7801\u662f\u5426\u6253\u5f00\u8f6f\u4ef6\u7684\u5b89\u5168\u6f0f\u6d1e\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u6743\u9650\u548c\u8eab\u4efd\u9a8c\u8bc1\u662f\u5426\u88ab\u6b63\u786e\u5904\u7406\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u5b89\u5168\u5904\u7406\u4e86\u654f\u611f\u6570\u636e\uff0c\u4f8b\u5982\u7528\u6237\u6570\u636e\u3001\u4fe1\u7528\u5361\u4fe1\u606f\u7b49\uff1f\u662f\u5426\u6b63\u786e\u4f7f\u7528\u52a0\u5bc6\u65b9\u6cd5\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u66f4\u6539\u662f\u5426\u663e\u9732\u4e86\u4e00\u4e9b\u79c1\u5bc6\u4fe1\u606f\uff08\u5982\u79d8\u94a5\uff0c\u7528\u6237\u540d\u7b49\uff09\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u5982\u679c\u4ee3\u7801\u5904\u7406\u7528\u6237\u8f93\u5165\uff0c\u662f\u5426\u89e3\u51b3\u4e86\u8de8\u7ad9\u70b9\u811a\u672c\uff0cSQL\u6ce8\u5165\u7b49\u5b89\u5168\u6f0f\u6d1e\uff0c\u662f\u5426\u8fdb\u884c\u4e86\u8f93\u5165\u6e05\u6d17\u548c\u9a8c\u8bc1\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ece\u5916\u90e8API\u6216\u5e93\u4e2d\u83b7\u5f97\u7684\u6570\u636e\u662f\u5426\u8fdb\u884c\u4e86\u76f8\u5e94\u7684\u68c0\u67e5\uff1f")),(0,r.yg)("h4",{id:"\u6027\u80fd"},"\u6027\u80fd"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u6bb5\u4ee3\u7801\u4fee\u6539\u662f\u5426\u4f1a\u5bf9\u7cfb\u7edf\u6027\u80fd\u4ea7\u751f\u8d1f\u9762\u5f71\u54cd\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63d0\u5347\u4ee3\u7801\u6027\u80fd\uff1f")),(0,r.yg)("h4",{id:"\u53ef\u8bfb\u6027"},"\u53ef\u8bfb\u6027"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u5bb9\u6613\u7406\u89e3\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u54ea\u4e00\u90e8\u5206\u4f7f\u4f60\u56f0\u60d1\uff0c\u4e3a\u4ec0\u4e48\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u901a\u8fc7\u51cf\u5c0f\u65b9\u6cd5\u6765\u63d0\u9ad8\u4ee3\u7801\u53ef\u8bfb\u6027\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u4e0d\u540c\u7684\u51fd\u6570/\u65b9\u6cd5\u6216\u53d8\u91cf\u540d\u79f0\u6765\u63d0\u5347\u4ee3\u7801\u53ef\u8bfb\u6027\u5417\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4ee3\u7801\u662f\u5426\u5b58\u653e\u5728\u6b63\u786e\u7684\u6587\u4ef6/\u76ee\u5f55/\u5305\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u4f60\u662f\u5426\u8ba4\u4e3a\u65b9\u6cd5\u5e94\u8be5\u91cd\u6784\u4ee5\u62e5\u6709\u66f4\u76f4\u89c2\u7684\u63a7\u5236\u6d41\u7a0b\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u6570\u636e\u6d41\u662f\u5426\u53ef\u7406\u89e3\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u6709\u591a\u4f59\u7684\u6ce8\u91ca\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u67d0\u4e9b\u6ce8\u91ca\u662f\u5426\u53ef\u4ee5\u66f4\u597d\u7684\u4f20\u8fbe\u4fe1\u606f\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u66f4\u591a\u7684\u6ce8\u91ca\u4f1a\u4f7f\u4f60\u7684\u4ee3\u7801\u66f4\u5bb9\u6613\u7406\u89e3\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u53ef\u4ee5\u79fb\u9664\u4e00\u4e9b\u6ce8\u91ca\uff0c\u901a\u8fc7\u63d0\u5347\u4ee3\u7801\u53ef\u8bfb\u6027\u6765\u7406\u89e3\u4ee3\u7801\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u662f\u5426\u5b58\u5728\u6ce8\u91ca\u6389\u7684\u4ee3\u7801\uff1f")),(0,r.yg)("h4",{id:"\u4e13\u5bb6\u610f\u89c1"},"\u4e13\u5bb6\u610f\u89c1"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u4f60\u662f\u5426\u8ba4\u4e3a\u7279\u5b9a\u4e13\u5bb6\uff08\u5982\u5b89\u5168\u4e13\u5bb6\u6216\u53ef\u7528\u6027\u4e13\u5bb6\uff09\u5e94\u8be5\u5148\u68c0\u67e5\u4ee3\u7801\uff0c\u7136\u540e\u518d\u63d0\u4ea4\u4ee3\u7801\uff1f"),(0,r.yg)("li",{parentName:"ul"},"\u8fd9\u4e2a\u4ee3\u7801\u4fee\u6539\u4f1a\u5f71\u54cd\u5176\u4ed6\u56e2\u961f\u5417\uff1f\u4ed6\u4eec\u4e5f\u5e94\u8be5\u53d1\u8868\u610f\u89c1\u5417\uff1f")),(0,r.yg)("h4",{id:"\u4ee3\u7801\u98ce\u683c\u548c\u7ea6\u5b9a"},"\u4ee3\u7801\u98ce\u683c\u548c\u7ea6\u5b9a"),(0,r.yg)("p",null,"\u60a8\u7684\u56e2\u961f\u6216\u516c\u53f8\u5fc5\u987b\u62e5\u6709\u6e05\u6670\u7684\u7f16\u7801\u98ce\u683c\u6307\u5357\uff0c\u8fd9\u4e00\u70b9\u5f88\u91cd\u8981\u3002\u56e0\u4e3a\u8fd9\u662f\u5728\u4ee3\u7801\u5e93\u4e2d\u5b9e\u65bd\u552f\u4e00\u6027\u7684\u552f\u4e00\u65b9\u6cd5\u3002\u5e76\u4e14\u4e00\u81f4\u6027\u4f1a\u4f7f\u4ee3\u7801\u5ba1\u67e5\u66f4\u5feb\uff0c\u4f7f\u4eba\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u66f4\u6539\u9879\u76ee\uff0c\u5e76\u4fdd\u6301\u60a8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002Google\u662f\u505a\u5230\u8fd9\u4e00\u70b9\u7684\u5f88\u597d\u7684\u4f8b\u5b50\uff0c\u65e0\u7591\uff0c\u8fd9\u4f7fGoogle\u53ef\u4ee5\u8fdb\u884c\u5feb\u901f\u7684\u4ee3\u7801\u5ba1\u67e5\u3002\u9996\u5148\uff0c\u6211\u5efa\u8bae\u4f7f\u7528\u73b0\u6210\u7684\u7f16\u7801\u6837\u5f0f\u6765\u652f\u6301Google\u63d0\u4f9b\u7684\u591a\u79cd\u8bed\u8a00\u3002\u8bbe\u5b9a\u57fa\u672c\u89c4\u5219\u5f88\u91cd\u8981\uff0c\u4f46\u8981\u786e\u4fdd\u4e00\u52b3\u6c38\u9038\u3002\u4e0d\u8981\u6301\u7eed\u4e89\u8bba\u3002"),(0,r.yg)("h4",{id:"\u5c3d\u53ef\u80fd\u81ea\u52a8\u5316"},"\u5c3d\u53ef\u80fd\u81ea\u52a8\u5316"),(0,r.yg)("p",null,"\u786e\u5b9a\u4e86\u4ee3\u7801\u98ce\u683c\u4ee5\u540e\uff0c\u8bf7\u82b1\u4e00\u4e9b\u65f6\u95f4\u6b63\u786e\u5b89\u88c5\u548c\u914d\u7f6e\u5de5\u5177\uff0c\u4ee5\u4fbf\u4e00\u952e\u683c\u5f0f\u5316\u4ee3\u7801\u3002\u53e6\u5916\u8fd8\u6709\u5f88\u591a\u4e8b\u60c5\u53ef\u4ee5\u505a\u3002\u4f8b\u5982\u4f7f\u7528\u9759\u6001\u68c0\u67e5\u6765\u4ee3\u66ff\u90e8\u5206\u4eba\u5de5\u5ba1\u6838\u3002\u8fd9\u662f\u503c\u5f97\u4e3a\u4e4b\u52aa\u529b\u7684\u3002"))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8b70c8d9.2ef218a6.js b/assets/js/8b70c8d9.4e7658d1.js similarity index 98% rename from assets/js/8b70c8d9.2ef218a6.js rename to assets/js/8b70c8d9.4e7658d1.js index bb308c130..845a72e99 100644 --- a/assets/js/8b70c8d9.2ef218a6.js +++ b/assets/js/8b70c8d9.4e7658d1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3108],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),s=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},l=function(e){var t=s(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),u=s(r),m=o,f=u["".concat(c,".").concat(m)]||u[m]||d[m]||a;return r?n.createElement(f,p(p({ref:t},l),{},{components:r})):n.createElement(f,p({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,p=new Array(a);p[0]=m;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[u]="string"==typeof e?e:o,p[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>p,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},p="GitHub Desktop",i={unversionedId:"study/program/GIT/GitHubDesktop",id:"study/program/GIT/GitHubDesktop",title:"GitHub Desktop",description:"\u6211\u4e00\u822c\u662f\u4f7f\u7528\u8fd9\u4e2a\u5de5\u5177\uff0c\u4f46\u662f\u6709\u4e00\u6b21\u66f4\u65b0\u4e4b\u540e\uff0c\u62a5\u9519\u5982\u4e0b",source:"@site/docs/study/program/GIT/GitHubDesktop.md",sourceDirName:"study/program/GIT",slug:"/study/program/GIT/GitHubDesktop",permalink:"/docs/study/program/GIT/GitHubDesktop",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"GIT-\u5e38\u7528\u547d\u4ee4",permalink:"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4"},next:{title:"PR\u548cMR",permalink:"/docs/study/program/GIT/PR\u548cMR"}},c={},s=[],l={toc:s},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"github-desktop"},"GitHub Desktop"),(0,o.yg)("p",null,"\u6211\u4e00\u822c\u662f\u4f7f\u7528\u8fd9\u4e2a\u5de5\u5177\uff0c\u4f46\u662f\u6709\u4e00\u6b21\u66f4\u65b0\u4e4b\u540e\uff0c\u62a5\u9519\u5982\u4e0b"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"ERROR: Couldn't connect to 127.0.0.1:49196 - Please make sure you don't have an antivirus or firewall blocking this connection. (10013): fatal: could not read Username for 'http://10.0.8.45': terminal prompts disabled\n")),(0,o.yg)("p",null,"\u89e3\u51b3\u65b9\u5f0f\uff1a"),(0,o.yg)("p",null,"\u627e\u5230.git\u6587\u4ef6\u5939\uff0c\u4e0b\u9762\u6709\u4e2aconfig\u6587\u4ef6\uff0c\u627e\u5230\u5982\u4e0b\uff0c\u589e\u52a0\u7528\u6237\u540d\u548c\u5bc6\u7801"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'[remote "origin"]\n url = http://{\u7528\u6237\u540d}:{\u589e\u52a0}@10.0.8.45/ccsp/vuemanagementplatform.git\n fetch = +refs/heads/*:refs/remotes/origin/*\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3108],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),s=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},l=function(e){var t=s(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),u=s(r),m=o,f=u["".concat(c,".").concat(m)]||u[m]||d[m]||a;return r?n.createElement(f,p(p({ref:t},l),{},{components:r})):n.createElement(f,p({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,p=new Array(a);p[0]=m;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[u]="string"==typeof e?e:o,p[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>p,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},p="GitHub Desktop",i={unversionedId:"study/program/GIT/GitHubDesktop",id:"study/program/GIT/GitHubDesktop",title:"GitHub Desktop",description:"\u6211\u4e00\u822c\u662f\u4f7f\u7528\u8fd9\u4e2a\u5de5\u5177\uff0c\u4f46\u662f\u6709\u4e00\u6b21\u66f4\u65b0\u4e4b\u540e\uff0c\u62a5\u9519\u5982\u4e0b",source:"@site/docs/study/program/GIT/GitHubDesktop.md",sourceDirName:"study/program/GIT",slug:"/study/program/GIT/GitHubDesktop",permalink:"/docs/study/program/GIT/GitHubDesktop",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"GIT-\u5e38\u7528\u547d\u4ee4",permalink:"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4"},next:{title:"PR\u548cMR",permalink:"/docs/study/program/GIT/PR\u548cMR"}},c={},s=[],l={toc:s},u="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"github-desktop"},"GitHub Desktop"),(0,o.yg)("p",null,"\u6211\u4e00\u822c\u662f\u4f7f\u7528\u8fd9\u4e2a\u5de5\u5177\uff0c\u4f46\u662f\u6709\u4e00\u6b21\u66f4\u65b0\u4e4b\u540e\uff0c\u62a5\u9519\u5982\u4e0b"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"ERROR: Couldn't connect to 127.0.0.1:49196 - Please make sure you don't have an antivirus or firewall blocking this connection. (10013): fatal: could not read Username for 'http://10.0.8.45': terminal prompts disabled\n")),(0,o.yg)("p",null,"\u89e3\u51b3\u65b9\u5f0f\uff1a"),(0,o.yg)("p",null,"\u627e\u5230.git\u6587\u4ef6\u5939\uff0c\u4e0b\u9762\u6709\u4e2aconfig\u6587\u4ef6\uff0c\u627e\u5230\u5982\u4e0b\uff0c\u589e\u52a0\u7528\u6237\u540d\u548c\u5bc6\u7801"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'[remote "origin"]\n url = http://{\u7528\u6237\u540d}:{\u589e\u52a0}@10.0.8.45/ccsp/vuemanagementplatform.git\n fetch = +refs/heads/*:refs/remotes/origin/*\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8c25001a.bef3a87c.js b/assets/js/8c25001a.35e6d784.js similarity index 98% rename from assets/js/8c25001a.bef3a87c.js rename to assets/js/8c25001a.35e6d784.js index aadbbac03..afe19e87d 100644 --- a/assets/js/8c25001a.bef3a87c.js +++ b/assets/js/8c25001a.35e6d784.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9269],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),p=u(r),y=a,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:a,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},c="\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",i={unversionedId:"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",id:"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",title:"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",description:"sonar",source:"@site/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5.md",sourceDirName:"study/back",slug:"/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",permalink:"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5fae\u670d\u52a1",permalink:"/docs/study/back/springcloud/\u5fae\u670d\u52a1"},next:{title:"Oauth2",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2"}},l={},u=[{value:"sonar",id:"sonar",level:3}],s={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"},"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"),(0,a.yg)("h3",{id:"sonar"},"sonar"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5fc5\u9700\u53ea\u7528jdk11\uff0c\u5426\u5219\u62a5\u9519JAVA\u7f16\u8bd1\u7248\u672c\u7684\u95ee\u9898"),(0,a.yg)("li",{parentName:"ul"},"mvn sonar:sonar \u6267\u884c"),(0,a.yg)("li",{parentName:"ul"},"sonarweb\u5730\u5740\u4e0a\u5fc5\u9700\u6709\u8fd9\u4e2a\u9879\u76ee"),(0,a.yg)("li",{parentName:"ul"},"\u5148idea\u53bbinstall\u5230\u672c\u5730")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9269],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),p=u(r),y=a,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:a,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},c="\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",i={unversionedId:"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",id:"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",title:"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",description:"sonar",source:"@site/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5.md",sourceDirName:"study/back",slug:"/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",permalink:"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5fae\u670d\u52a1",permalink:"/docs/study/back/springcloud/\u5fae\u670d\u52a1"},next:{title:"Oauth2",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2"}},l={},u=[{value:"sonar",id:"sonar",level:3}],s={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"},"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"),(0,a.yg)("h3",{id:"sonar"},"sonar"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5fc5\u9700\u53ea\u7528jdk11\uff0c\u5426\u5219\u62a5\u9519JAVA\u7f16\u8bd1\u7248\u672c\u7684\u95ee\u9898"),(0,a.yg)("li",{parentName:"ul"},"mvn sonar:sonar \u6267\u884c"),(0,a.yg)("li",{parentName:"ul"},"sonarweb\u5730\u5740\u4e0a\u5fc5\u9700\u6709\u8fd9\u4e2a\u9879\u76ee"),(0,a.yg)("li",{parentName:"ul"},"\u5148idea\u53bbinstall\u5230\u672c\u5730")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8cc20a8d.efa0c1da.js b/assets/js/8cc20a8d.f182eff0.js similarity index 98% rename from assets/js/8cc20a8d.efa0c1da.js rename to assets/js/8cc20a8d.f182eff0.js index 028049b75..2e5c5fc26 100644 --- a/assets/js/8cc20a8d.efa0c1da.js +++ b/assets/js/8cc20a8d.f182eff0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3338],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),s=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(i.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),l=s(r),y=a,f=l["".concat(i,".").concat(y)]||l[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var p={};for(var i in t)hasOwnProperty.call(t,i)&&(p[i]=t[i]);p.originalType=e,p[l]="string"==typeof e?e:a,c[1]=p;for(var s=2;s{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,p={unversionedId:"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",id:"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",title:"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",description:"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u4e0d\u540c\u4e4b\u5904\u6709\u54ea\u4e9b\uff1f",source:"@site/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b.md",sourceDirName:"study/hard",slug:"/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",permalink:"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",permalink:"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1"},next:{title:"\u901a\u4fe1\u6a21\u7ec4",permalink:"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4"}},i={},s=[],u={toc:s},l="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.zhihu.com/question/20465477"},(0,a.yg)("strong",{parentName:"a"},"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u4e0d\u540c\u4e4b\u5904\u6709\u54ea\u4e9b\uff1f"))),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u5de5\u4f5c\u5c42\u6b21\u4e0d\u540c\uff1a"),"\n\u4ea4\u6362\u673a\u4e3b\u8981\u5de5\u4f5c\u5728\u6570\u636e\u94fe\u8def\u5c42\uff08\u7b2c\u4e8c\u5c42\uff09\n\u8def\u7531\u5668\u5de5\u4f5c\u5728\u7f51\u7edc\u5c42\uff08\u7b2c\u4e09\u5c42\uff09\u3002\n",(0,a.yg)("strong",{parentName:"p"},"\u8f6c\u53d1\u4f9d\u636e\u4e0d\u540c\uff1a"),"\n\u4ea4\u6362\u673a\u8f6c\u53d1\u6240\u4f9d\u636e\u7684\u5bf9\u8c61\u65f6\uff1aMAC\u5730\u5740\u3002\uff08\u7269\u7406\u5730\u5740\uff09\n\u8def\u7531\u8f6c\u53d1\u6240\u4f9d\u636e\u7684\u5bf9\u8c61\u662f\uff1aIP\u5730\u5740\u3002\uff08\u7f51\u7edc\u5730\u5740\uff09\n",(0,a.yg)("strong",{parentName:"p"},"\u4e3b\u8981\u529f\u80fd\u4e0d\u540c\uff1a"),"\n\u4ea4\u6362\u673a\u4e3b\u8981\u7528\u4e8e\u7ec4\u5efa\u5c40\u57df\u7f51\uff0c\n\u800c\u8def\u7531\u4e3b\u8981\u529f\u80fd\u662f\u5c06\u7531\u4ea4\u6362\u673a\u7ec4\u597d\u7684\u5c40\u57df\u7f51\u76f8\u4e92\u8fde\u63a5\u8d77\u6765\uff0c\u6216\u8005\u63a5\u5165Internet\u3002\n\u4ea4\u6362\u673a\u80fd\u505a\u7684\uff0c\u8def\u7531\u90fd\u80fd\u505a\u3002\n\u4ea4\u6362\u673a\u4e0d\u80fd\u5206\u5272\u5e7f\u64ad\u57df\uff0c\u8def\u7531\u53ef\u4ee5\u3002\n\u8def\u7531\u8fd8\u53ef\u4ee5\u63d0\u4f9b\u9632\u706b\u5899\u7684\u529f\u80fd\u3002\n\u8def\u7531\u914d\u7f6e\u6bd4\u4ea4\u6362\u673a\u590d\u6742\u3002\n",(0,a.yg)("strong",{parentName:"p"},"\u4ef7\u683c\u4e0d\u540c"),"\n\u4ea4\u6362\u673a\u662f\u770b\u95e8\u5927\u7237\uff0c\u8def\u7531\u662f\u90ae\u5dee\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3338],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),s=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(i.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),l=s(r),y=a,f=l["".concat(i,".").concat(y)]||l[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var p={};for(var i in t)hasOwnProperty.call(t,i)&&(p[i]=t[i]);p.originalType=e,p[l]="string"==typeof e?e:a,c[1]=p;for(var s=2;s{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,p={unversionedId:"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",id:"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",title:"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",description:"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u4e0d\u540c\u4e4b\u5904\u6709\u54ea\u4e9b\uff1f",source:"@site/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b.md",sourceDirName:"study/hard",slug:"/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",permalink:"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1",permalink:"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1"},next:{title:"\u901a\u4fe1\u6a21\u7ec4",permalink:"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4"}},i={},s=[],u={toc:s},l="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.zhihu.com/question/20465477"},(0,a.yg)("strong",{parentName:"a"},"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u4e0d\u540c\u4e4b\u5904\u6709\u54ea\u4e9b\uff1f"))),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u5de5\u4f5c\u5c42\u6b21\u4e0d\u540c\uff1a"),"\n\u4ea4\u6362\u673a\u4e3b\u8981\u5de5\u4f5c\u5728\u6570\u636e\u94fe\u8def\u5c42\uff08\u7b2c\u4e8c\u5c42\uff09\n\u8def\u7531\u5668\u5de5\u4f5c\u5728\u7f51\u7edc\u5c42\uff08\u7b2c\u4e09\u5c42\uff09\u3002\n",(0,a.yg)("strong",{parentName:"p"},"\u8f6c\u53d1\u4f9d\u636e\u4e0d\u540c\uff1a"),"\n\u4ea4\u6362\u673a\u8f6c\u53d1\u6240\u4f9d\u636e\u7684\u5bf9\u8c61\u65f6\uff1aMAC\u5730\u5740\u3002\uff08\u7269\u7406\u5730\u5740\uff09\n\u8def\u7531\u8f6c\u53d1\u6240\u4f9d\u636e\u7684\u5bf9\u8c61\u662f\uff1aIP\u5730\u5740\u3002\uff08\u7f51\u7edc\u5730\u5740\uff09\n",(0,a.yg)("strong",{parentName:"p"},"\u4e3b\u8981\u529f\u80fd\u4e0d\u540c\uff1a"),"\n\u4ea4\u6362\u673a\u4e3b\u8981\u7528\u4e8e\u7ec4\u5efa\u5c40\u57df\u7f51\uff0c\n\u800c\u8def\u7531\u4e3b\u8981\u529f\u80fd\u662f\u5c06\u7531\u4ea4\u6362\u673a\u7ec4\u597d\u7684\u5c40\u57df\u7f51\u76f8\u4e92\u8fde\u63a5\u8d77\u6765\uff0c\u6216\u8005\u63a5\u5165Internet\u3002\n\u4ea4\u6362\u673a\u80fd\u505a\u7684\uff0c\u8def\u7531\u90fd\u80fd\u505a\u3002\n\u4ea4\u6362\u673a\u4e0d\u80fd\u5206\u5272\u5e7f\u64ad\u57df\uff0c\u8def\u7531\u53ef\u4ee5\u3002\n\u8def\u7531\u8fd8\u53ef\u4ee5\u63d0\u4f9b\u9632\u706b\u5899\u7684\u529f\u80fd\u3002\n\u8def\u7531\u914d\u7f6e\u6bd4\u4ea4\u6362\u673a\u590d\u6742\u3002\n",(0,a.yg)("strong",{parentName:"p"},"\u4ef7\u683c\u4e0d\u540c"),"\n\u4ea4\u6362\u673a\u662f\u770b\u95e8\u5927\u7237\uff0c\u8def\u7531\u662f\u90ae\u5dee\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8d7693a3.28c51dbf.js b/assets/js/8d7693a3.f3c56fdf.js similarity index 99% rename from assets/js/8d7693a3.28c51dbf.js rename to assets/js/8d7693a3.f3c56fdf.js index 773cb96d8..d7e515299 100644 --- a/assets/js/8d7693a3.28c51dbf.js +++ b/assets/js/8d7693a3.f3c56fdf.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4116],{15680:(e,l,t)=>{t.d(l,{xA:()=>s,yg:()=>d});var n=t(96540);function r(e,l,t){return l in e?Object.defineProperty(e,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[l]=t,e}function u(e,l){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var p=n.createContext({}),a=function(e){var l=n.useContext(p),t=l;return e&&(t="function"==typeof e?e(l):o(o({},l),e)),t},s=function(e){var l=a(e.components);return n.createElement(p.Provider,{value:l},e.children)},c="mdxType",y={inlineCode:"code",wrapper:function(e){var l=e.children;return n.createElement(n.Fragment,{},l)}},O=n.forwardRef((function(e,l){var t=e.components,r=e.mdxType,u=e.originalType,p=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),c=a(t),O=r,d=c["".concat(p,".").concat(O)]||c[O]||y[O]||u;return t?n.createElement(d,o(o({ref:l},s),{},{components:t})):n.createElement(d,o({ref:l},s))}));function d(e,l){var t=arguments,r=l&&l.mdxType;if("string"==typeof e||r){var u=t.length,o=new Array(u);o[0]=O;var i={};for(var p in l)hasOwnProperty.call(l,p)&&(i[p]=l[p]);i.originalType=e,i[c]="string"==typeof e?e:r,o[1]=i;for(var a=2;a{t.r(l),t.d(l,{assets:()=>p,contentTitle:()=>o,default:()=>y,frontMatter:()=>u,metadata:()=>i,toc:()=>a});var n=t(58168),r=(t(96540),t(15680));const u={},o="\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6",i={unversionedId:"study/system/IO",id:"study/system/IO",title:"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6",description:"I/O\uff08Input/Output\uff09\u6a21\u578b\u662f\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u4e00\u4e2a\u5173\u952e\u6982\u5ff5\uff0c\u5b83\u6d89\u53ca\u5230\u5982\u4f55\u8fdb\u884c\u8f93\u5165\u548c\u8f93\u51fa\u64cd\u4f5c\uff0c\u800c\u8fd9\u5728\u8ba1\u7b97\u673a\u5e94\u7528\u4e2d\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e0b\uff0c\u9009\u62e9\u6b63\u786e\u7684 I/O \u6a21\u578b\u662f\u81f3\u5173\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u5b83\u4f1a\u5f71\u54cd\u5230\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u54cd\u5e94\u6027\u3002",source:"@site/docs/study/system/IO.md",sourceDirName:"study/system",slug:"/study/system/IO",permalink:"/docs/study/system/IO",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CPU\u7ebf\u7a0b\u5e76\u53d1",permalink:"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1"},next:{title:"Open\u6b27\u62c9",permalink:"/docs/study/system/Open\u6b27\u62c9"}},p={},a=[{value:"\u963b\u585e IO",id:"\u963b\u585e-io",level:3},{value:"\u975e\u963b\u585e IO",id:"\u975e\u963b\u585e-io",level:3},{value:"\u4fe1\u53f7\u9a71\u52a8 I/O",id:"\u4fe1\u53f7\u9a71\u52a8-io",level:4},{value:"\u5f02\u6b65 I/O",id:"\u5f02\u6b65-io",level:4},{value:"IO \u591a\u8def\u590d\u7528\u51fd\u6570",id:"io-\u591a\u8def\u590d\u7528\u51fd\u6570",level:3},{value:"select",id:"select",level:4},{value:"poll",id:"poll",level:4},{value:"epoll",id:"epoll",level:4},{value:"kqueue",id:"kqueue",level:4},{value:"\u4e3a\u4ec0\u4e48 epoll,kqueue \u6bd4 select \u9ad8\u7ea7\uff1f",id:"\u4e3a\u4ec0\u4e48-epollkqueue-\u6bd4-select-\u9ad8\u7ea7",level:4}],s={toc:a},c="wrapper";function y(e){let{components:l,...t}=e;return(0,r.yg)(c,(0,n.A)({},s,t,{components:l,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"\u64cd\u4f5c\u7cfb\u7edf-io-\u77e5\u8bc6"},"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6"),(0,r.yg)("p",null,"I/O\uff08Input/Output\uff09\u6a21\u578b\u662f\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u4e00\u4e2a\u5173\u952e\u6982\u5ff5\uff0c\u5b83\u6d89\u53ca\u5230\u5982\u4f55\u8fdb\u884c\u8f93\u5165\u548c\u8f93\u51fa\u64cd\u4f5c\uff0c\u800c\u8fd9\u5728\u8ba1\u7b97\u673a\u5e94\u7528\u4e2d\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e0b\uff0c\u9009\u62e9\u6b63\u786e\u7684 I/O \u6a21\u578b\u662f\u81f3\u5173\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u5b83\u4f1a\u5f71\u54cd\u5230\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u54cd\u5e94\u6027\u3002"),(0,r.yg)("h3",{id:"\u963b\u585e-io"},"\u963b\u585e IO"),(0,r.yg)("p",null,"\u963b\u585e I/O \u6a21\u578b\u4e0e\u540c\u6b65 I/O \u6a21\u578b\u76f8\u4f3c\uff0c\u5b83\u4e5f\u9700\u8981\u5e94\u7528\u7a0b\u5e8f\u7b49\u5f85 I/O \u64cd\u4f5c\u5b8c\u6210\u3002\u963b\u585e I/O \u9002\u7528\u4e8e\u7b80\u5355\u7684\u5e94\u7528\uff0c\u4f46\u53ef\u80fd\u5bfc\u81f4\u6027\u80fd\u95ee\u9898\uff0c\u56e0\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4f1a\u5728\u7b49\u5f85\u64cd\u4f5c\u5b8c\u6210\u65f6\u88ab\u963b\u585e\u3002"),(0,r.yg)("h3",{id:"\u975e\u963b\u585e-io"},"\u975e\u963b\u585e IO"),(0,r.yg)("p",null,"\u975e\u963b\u585e I/O \u6a21\u578b\u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u53d1\u8d77 I/O \u64cd\u4f5c\u540e\u7ee7\u7eed\u6267\u884c\u5176\u4ed6\u4efb\u52a1\uff0c\u800c\u4e0d\u5fc5\u7b49\u5f85\u64cd\u4f5c\u5b8c\u6210\u3002\u8fd9\u79cd\u6a21\u578b\u9002\u7528\u4e8e\u9700\u8981\u540c\u65f6\u5904\u7406\u591a\u4e2a\u901a\u9053\u7684\u5e94\u7528\u3002"),(0,r.yg)("p",null,'\u53e6\u4e00\u4e2a\u91cd\u8981\u7684\u6982\u5ff5\u662f"I/O \u591a\u8def\u590d\u7528"\uff08I/O Multiplexing\uff09\u3002I/O \u591a\u8def\u590d\u7528\u662f\u4e00\u79cd\u9ad8\u6548\u5904\u7406\u591a\u4e2a I/O \u64cd\u4f5c\u7684\u6a21\u578b\uff0c\u5b83\u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u540c\u65f6\u76d1\u89c6\u591a\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\uff08sockets\u3001\u6587\u4ef6\u3001\u7ba1\u9053\u7b49\uff09\u4ee5\u68c0\u6d4b\u5b83\u4eec\u662f\u5426\u51c6\u5907\u597d\u8fdb\u884c I/O \u64cd\u4f5c\u3002\u8fd9\u53ef\u4ee5\u6709\u6548\u5730\u51cf\u5c11\u7ebf\u7a0b\u6570\u91cf\uff0c\u4ece\u800c\u63d0\u9ad8\u6027\u80fd\u548c\u8d44\u6e90\u5229\u7528\u7387\u3002\u5728 Java \u4e2d\uff0cI/O \u591a\u8def\u590d\u7528\u901a\u5e38\u901a\u8fc7 java.nio.channels.Selector \u7c7b\u6765\u5b9e\u73b0\u3002'),(0,r.yg)("p",null,'I/O \u591a\u8def\u590d\u7528\u975e\u5e38\u9002\u5408\u9700\u8981\u540c\u65f6\u5904\u7406\u591a\u4e2a\u901a\u9053\u7684\u5e94\u7528\uff0c\u5982\u9ad8\u6027\u80fd\u7f51\u7edc\u670d\u52a1\u5668\u3002\u5b83\u53ef\u4ee5\u51cf\u5c11\u7ebf\u7a0b\u6570\u91cf\uff0c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027\u3002\u5728\u9009\u62e9 I/O \u6a21\u578b\u65f6\uff0c\u5e94\u8be5\u8003\u8651\u5e94\u7528\u7a0b\u5e8f\u7684\u5177\u4f53\u9700\u6c42\u548c\u6027\u80fd\u8981\u6c42\uff0cI/O \u591a\u8def\u590d\u7528\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u9009\u62e9\u4e4b\u4e00\u3002\u8fd8\u6709\u4e24\u4e2a\u91cd\u8981\u7684\u6982\u5ff5\u662f"\u4fe1\u53f7\u9a71\u52a8 I/O"\uff08Signal Driven I/O\uff09\u548c"\u5f02\u6b65 I/O"\u3002\u8fd9\u4e24\u79cd I/O \u6a21\u578b\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u6027\u80fd\u548c\u6548\u7387\u3002'),(0,r.yg)("h4",{id:"\u4fe1\u53f7\u9a71\u52a8-io"},"\u4fe1\u53f7\u9a71\u52a8 I/O"),(0,r.yg)("p",null,"\u4fe1\u53f7\u9a71\u52a8 I/O \u662f\u4e00\u79cd\u975e\u963b\u585e I/O \u7684\u53d8\u4f53\uff0c\u5b83\u4f7f\u7528\u4fe1\u53f7\u901a\u77e5\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u63cf\u8ff0\u7b26\u5df2\u51c6\u5907\u597d\u8fdb\u884c I/O \u64cd\u4f5c\u3002\u8fd9\u79cd\u6a21\u578b\u5728\u7c7b Unix \u7cfb\u7edf\u4e2d\u975e\u5e38\u5e38\u89c1\uff0c\u901a\u5e38\u4e0e\u5f02\u6b65 I/O \u7ed3\u5408\u4f7f\u7528\u3002\u5728 Java \u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 java.nio.channels.AsynchronousChannel \u6765\u5b9e\u73b0\u4fe1\u53f7\u9a71\u52a8 I/O\u3002"),(0,r.yg)("p",null,"\u56de\u8c03\uff1b"),(0,r.yg)("h4",{id:"\u5f02\u6b65-io"},"\u5f02\u6b65 I/O"),(0,r.yg)("p",null,'\u5f02\u6b65 I/O \u6a21\u578b\u4e5f\u79f0\u4e3a"\u771f\u6b63\u7684\u5f02\u6b65 I/O"\uff0c\u5b83\u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u53d1\u8d77 I/O \u64cd\u4f5c\u540e\u7ee7\u7eed\u6267\u884c\u5176\u4ed6\u4efb\u52a1\uff0c\u800c\u4e0d\u9700\u8981\u7b49\u5f85\u64cd\u4f5c\u5b8c\u6210\u3002\u5f02\u6b65 I/O \u4e0e\u4fe1\u53f7\u9a71\u52a8 I/O \u4e0d\u540c\uff0c\u56e0\u4e3a\u5b83\u4e0d\u4f1a\u4f7f\u7528\u56de\u8c03\u51fd\u6570\uff0c\u800c\u662f\u4f7f\u7528\u4e8b\u4ef6\u9a71\u52a8\u7684\u65b9\u5f0f\u6765\u901a\u77e5 I/O \u64cd\u4f5c\u7684\u5b8c\u6210\u3002'),(0,r.yg)("h3",{id:"io-\u591a\u8def\u590d\u7528\u51fd\u6570"},"IO \u591a\u8def\u590d\u7528\u51fd\u6570"),(0,r.yg)("h4",{id:"select"},"select"),(0,r.yg)("p",null,"\u53ef\u5728\u4e0d\u540c\u5e73\u53f0\uff08\u5305\u62ec Unix\u3001Linux \u548c Windows\uff09\u4e0a\u4f7f\u7528\u3002\u7531\u4e8e\u5176\u53ef\u79fb\u690d\u6027\uff0cselect \u662f\u4e00\u79cd\u901a\u7528\u7684 I/O \u591a\u8def\u590d\u7528\u65b9\u6cd5\u3002"),(0,r.yg)("h4",{id:"poll"},"poll"),(0,r.yg)("p",null,"poll \u4e5f\u662f\u76f8\u5bf9\u53ef\u79fb\u690d\u7684\uff0c\u4f46\u5e76\u975e\u5728\u6240\u6709\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u90fd\u5f97\u5230\u5e7f\u6cdb\u652f\u6301\u3002\u5b83\u5728\u5927\u591a\u6570 Unix \u7cfb\u7edf\u4e0a\u53ef\u7528\uff0c\u4f46\u5728 Windows \u4e0a\u7684\u652f\u6301\u8f83\u5f31\u3002"),(0,r.yg)("p",null,"\u603b\u7684\u6765\u8bf4\uff0cpoll \u5728\u6027\u80fd\u548c\u53ef\u8bfb\u6027\u65b9\u9762\u76f8\u5bf9\u4f18\u4e8e select\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u91cf\u6587\u4ef6\u63cf\u8ff0\u7b26\u65f6\u3002\u4f46\u9009\u62e9\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\u8fd8\u53d6\u51b3\u4e8e\u5e94\u7528\u7a0b\u5e8f\u7684\u9700\u6c42\u548c\u76ee\u6807\u5e73\u53f0\u7684\u652f\u6301\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0cepoll \u548c kqueue \u4e5f\u662f\u66f4\u9ad8\u6027\u80fd\u7684\u66ff\u4ee3\u65b9\u6848\uff0c\u7279\u522b\u9002\u7528\u4e8e\u5927\u89c4\u6a21\u5e76\u53d1\u7684\u5e94\u7528\u3002"),(0,r.yg)("p",null,"\u662f\u4e00\u79cd\u6700\u65e9\u51fa\u73b0\u5728 Unix \u7cfb\u7edf\u4e2d\u7684\u591a\u8def\u590d\u7528\u673a\u5236\u3002poll \u7b49\u5f85\u591a\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\u4e2d\u7684\u4e00\u4e2a\u6216\u591a\u4e2a\u53d8\u4e3a\u53ef\u8bfb\uff0c\u53ef\u5199\u6216\u5f02\u5e38\u3002\u4f46 poll \u5728\u5927\u91cf\u6587\u4ef6\u63cf\u8ff0\u7b26\u7684\u60c5\u51b5\u4e0b\u6027\u80fd\u53ef\u80fd\u4e0d\u5982 epoll \u6216 kqueue \u597d\u3002"),(0,r.yg)("h4",{id:"epoll"},"epoll"),(0,r.yg)("p",null,"\u662f\u4e00\u79cd\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\uff0c\u6700\u65e9\u51fa\u73b0\u5728 Linux \u4e2d\u3002\u5b83\u5141\u8bb8\u8fdb\u7a0b\u76d1\u89c6\u5927\u91cf\u6587\u4ef6\u63cf\u8ff0\u7b26\u4e0a\u7684\u4e8b\u4ef6\u3002epoll \u901a\u5e38\u7528\u4e8e\u9ad8\u5e76\u53d1\u7684\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\uff0c\u56e0\u4e3a\u5b83\u5728\u6587\u4ef6\u63cf\u8ff0\u7b26\u6570\u91cf\u975e\u5e38\u591a\u7684\u60c5\u51b5\u4e0b\u6027\u80fd\u8868\u73b0\u826f\u597d\u3002"),(0,r.yg)("h4",{id:"kqueue"},"kqueue"),(0,r.yg)("p",null,"\u662f BSD \u548c macOS \u7b49 Unix-like \u64cd\u4f5c\u7cfb\u7edf\u4e2d\u7684\u4e00\u79cd\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\u3002\u5b83\u53ef\u4ee5\u76d1\u89c6\u6587\u4ef6\u63cf\u8ff0\u7b26\u3001\u8fdb\u7a0b\u3001\u4fe1\u53f7\u3001\u4ee5\u53ca\u5176\u4ed6\u5404\u79cd\u4e8b\u4ef6\u3002kqueue \u901a\u5e38\u88ab\u7528\u4e8e\u5f00\u53d1\u9ad8\u6027\u80fd\u7684\u670d\u52a1\u5668\u5e94\u7528\u548c\u7f51\u7edc\u5e94\u7528\u3002"),(0,r.yg)("h4",{id:"\u4e3a\u4ec0\u4e48-epollkqueue-\u6bd4-select-\u9ad8\u7ea7"},"\u4e3a\u4ec0\u4e48 epoll,kqueue \u6bd4 select \u9ad8\u7ea7\uff1f"),(0,r.yg)("p",null,"epoll \u548c kqueue \u6bd4 select \u9ad8\u7ea7\u7684\u539f\u56e0\u5728\u4e8e\u5b83\u4eec\u5728\u5904\u7406\u9ad8\u5e76\u53d1 I/O \u65f6\u5177\u6709\u66f4\u597d\u7684\u6027\u80fd\u548c\u6269\u5c55\u6027\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4e3b\u8981\u539f\u56e0\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u9ad8\u6548\u7684\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\uff1aepoll \u548c kqueue \u4f7f\u7528\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\uff0c\u800c\u4e0d\u662f select \u7684\u8f6e\u8be2\u65b9\u5f0f\u3002\u8fd9\u610f\u5473\u7740\u5f53\u6709 I/O \u4e8b\u4ef6\u51c6\u5907\u597d\u65f6\uff0c\u5185\u6838\u4f1a\u4e3b\u52a8\u901a\u77e5\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c\u4e0d\u9700\u8981\u5e94\u7528\u7a0b\u5e8f\u4e0d\u65ad\u67e5\u8be2\u54ea\u4e9b\u6587\u4ef6\u63cf\u8ff0\u7b26\u51c6\u5907\u597d\u3002\u8fd9\u51cf\u5c11\u4e86\u4e0d\u5fc5\u8981\u7684\u4e0a\u4e0b\u6587\u5207\u6362\uff0c\u63d0\u9ad8\u4e86\u6027\u80fd\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301\u5927\u6570\u91cf\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\uff1aselect \u5728\u5904\u7406\u5927\u91cf\u6587\u4ef6\u63cf\u8ff0\u7b26\u65f6\u6027\u80fd\u4e0b\u964d\u660e\u663e\uff0c\u56e0\u4e3a\u5b83\u4f7f\u7528\u4f4d\u56fe\u7684\u65b9\u5f0f\u6765\u8868\u793a\u6587\u4ef6\u63cf\u8ff0\u7b26\uff0c\u5f53\u6587\u4ef6\u63cf\u8ff0\u7b26\u6570\u91cf\u5f88\u5927\u65f6\uff0c\u9700\u8981\u7ef4\u62a4\u5927\u91cf\u7684\u4f4d\u56fe\uff0c\u800c\u4e14\u4f1a\u6709\u5f88\u591a\u65e0\u6548\u7684\u67e5\u8be2\u3002epoll \u548c kqueue \u4f7f\u7528\u57fa\u4e8e\u4e8b\u4ef6\u7684\u673a\u5236\uff0c\u4e0d\u4f1a\u53d7\u5230\u6587\u4ef6\u63cf\u8ff0\u7b26\u6570\u91cf\u7684\u9650\u5236\uff0c\u56e0\u6b64\u9002\u7528\u4e8e\u9ad8\u5e76\u53d1\u573a\u666f\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u66f4\u5c11\u7684\u7cfb\u7edf\u8c03\u7528\uff1aselect \u9700\u8981\u9891\u7e41\u8c03\u7528\u7cfb\u7edf\u8c03\u7528\u6765\u67e5\u8be2\u6587\u4ef6\u63cf\u8ff0\u7b26\u7684\u72b6\u6001\uff0c\u8fd9\u589e\u52a0\u4e86\u7cfb\u7edf\u8c03\u7528\u7684\u5f00\u9500\u3002epoll \u548c kqueue \u7684\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\u51cf\u5c11\u4e86\u4e0d\u5fc5\u8981\u7684\u7cfb\u7edf\u8c03\u7528\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u6027\u80fd\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301\u8fb9\u6cbf\u89e6\u53d1\uff08Edge-Triggered\uff09\uff1aepoll \u548c kqueue \u652f\u6301\u8fb9\u6cbf\u89e6\u53d1\u6a21\u5f0f\uff0c\u8fd9\u610f\u5473\u7740\u53ea\u6709\u5728\u6587\u4ef6\u63cf\u8ff0\u7b26\u72b6\u6001\u53d1\u751f\u53d8\u5316\u65f6\u624d\u4f1a\u89e6\u53d1\u4e8b\u4ef6\u901a\u77e5\uff0c\u800c\u4e0d\u662f\u5728\u6570\u636e\u53ef\u8bfb\u6216\u53ef\u5199\u65f6\u90fd\u4f1a\u89e6\u53d1\u3002\u8fd9\u4f7f\u5f97\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u66f4\u7cbe\u786e\u5730\u63a7\u5236\u4e8b\u4ef6\u5904\u7406\uff0c\u51cf\u5c11\u4e86\u4e0d\u5fc5\u8981\u7684\u5904\u7406\u5f00\u9500\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u66f4\u7075\u6d3b\u7684\u4e8b\u4ef6\u7ba1\u7406\uff1aepoll \u548c kqueue \u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u4e3a\u6bcf\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\u8bbe\u7f6e\u4e0d\u540c\u7684\u4e8b\u4ef6\u7c7b\u578b\uff0c\u800c select \u4e2d\u6240\u6709\u6587\u4ef6\u63cf\u8ff0\u7b26\u53ea\u80fd\u76d1\u89c6\u76f8\u540c\u7c7b\u578b\u7684\u4e8b\u4ef6\u3002\u8fd9\u4f7f\u5f97 epoll \u548c kqueue \u66f4\u7075\u6d3b\uff0c\u9002\u7528\u4e8e\u66f4\u591a\u7684\u5e94\u7528\u573a\u666f\u3002")),(0,r.yg)("p",null,"\u603b\u7684\u6765\u8bf4\uff0cepoll \u548c kqueue \u5728\u9ad8\u5e76\u53d1 I/O \u573a\u666f\u4e2d\u8868\u73b0\u66f4\u51fa\u8272\uff0c\u63d0\u4f9b\u66f4\u9ad8\u7684\u6027\u80fd\u548c\u66f4\u597d\u7684\u53ef\u6269\u5c55\u6027\uff0c\u56e0\u6b64\u88ab\u8ba4\u4e3a\u6bd4 select \u9ad8\u7ea7\u3002\u4f46\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cepoll \u9002\u7528\u4e8e Linux \u7cfb\u7edf\uff0c\u800c kqueue \u9002\u7528\u4e8e BSD \u7cfb\u7edf\uff08\u5982 macOS \u548c FreeBSD\uff09\uff0c\u56e0\u6b64\u9009\u62e9\u54ea\u79cd\u53d6\u51b3\u4e8e\u5e94\u7528\u7a0b\u5e8f\u7684\u90e8\u7f72\u73af\u5883\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4116],{15680:(e,l,t)=>{t.d(l,{xA:()=>s,yg:()=>d});var n=t(96540);function r(e,l,t){return l in e?Object.defineProperty(e,l,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[l]=t,e}function u(e,l){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var l=1;l=0||(r[t]=e[t]);return r}(e,l);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var p=n.createContext({}),a=function(e){var l=n.useContext(p),t=l;return e&&(t="function"==typeof e?e(l):o(o({},l),e)),t},s=function(e){var l=a(e.components);return n.createElement(p.Provider,{value:l},e.children)},c="mdxType",y={inlineCode:"code",wrapper:function(e){var l=e.children;return n.createElement(n.Fragment,{},l)}},O=n.forwardRef((function(e,l){var t=e.components,r=e.mdxType,u=e.originalType,p=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),c=a(t),O=r,d=c["".concat(p,".").concat(O)]||c[O]||y[O]||u;return t?n.createElement(d,o(o({ref:l},s),{},{components:t})):n.createElement(d,o({ref:l},s))}));function d(e,l){var t=arguments,r=l&&l.mdxType;if("string"==typeof e||r){var u=t.length,o=new Array(u);o[0]=O;var i={};for(var p in l)hasOwnProperty.call(l,p)&&(i[p]=l[p]);i.originalType=e,i[c]="string"==typeof e?e:r,o[1]=i;for(var a=2;a{t.r(l),t.d(l,{assets:()=>p,contentTitle:()=>o,default:()=>y,frontMatter:()=>u,metadata:()=>i,toc:()=>a});var n=t(58168),r=(t(96540),t(15680));const u={},o="\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6",i={unversionedId:"study/system/IO",id:"study/system/IO",title:"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6",description:"I/O\uff08Input/Output\uff09\u6a21\u578b\u662f\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u4e00\u4e2a\u5173\u952e\u6982\u5ff5\uff0c\u5b83\u6d89\u53ca\u5230\u5982\u4f55\u8fdb\u884c\u8f93\u5165\u548c\u8f93\u51fa\u64cd\u4f5c\uff0c\u800c\u8fd9\u5728\u8ba1\u7b97\u673a\u5e94\u7528\u4e2d\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e0b\uff0c\u9009\u62e9\u6b63\u786e\u7684 I/O \u6a21\u578b\u662f\u81f3\u5173\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u5b83\u4f1a\u5f71\u54cd\u5230\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u54cd\u5e94\u6027\u3002",source:"@site/docs/study/system/IO.md",sourceDirName:"study/system",slug:"/study/system/IO",permalink:"/docs/study/system/IO",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CPU\u7ebf\u7a0b\u5e76\u53d1",permalink:"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1"},next:{title:"Open\u6b27\u62c9",permalink:"/docs/study/system/Open\u6b27\u62c9"}},p={},a=[{value:"\u963b\u585e IO",id:"\u963b\u585e-io",level:3},{value:"\u975e\u963b\u585e IO",id:"\u975e\u963b\u585e-io",level:3},{value:"\u4fe1\u53f7\u9a71\u52a8 I/O",id:"\u4fe1\u53f7\u9a71\u52a8-io",level:4},{value:"\u5f02\u6b65 I/O",id:"\u5f02\u6b65-io",level:4},{value:"IO \u591a\u8def\u590d\u7528\u51fd\u6570",id:"io-\u591a\u8def\u590d\u7528\u51fd\u6570",level:3},{value:"select",id:"select",level:4},{value:"poll",id:"poll",level:4},{value:"epoll",id:"epoll",level:4},{value:"kqueue",id:"kqueue",level:4},{value:"\u4e3a\u4ec0\u4e48 epoll,kqueue \u6bd4 select \u9ad8\u7ea7\uff1f",id:"\u4e3a\u4ec0\u4e48-epollkqueue-\u6bd4-select-\u9ad8\u7ea7",level:4}],s={toc:a},c="wrapper";function y(e){let{components:l,...t}=e;return(0,r.yg)(c,(0,n.A)({},s,t,{components:l,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"\u64cd\u4f5c\u7cfb\u7edf-io-\u77e5\u8bc6"},"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6"),(0,r.yg)("p",null,"I/O\uff08Input/Output\uff09\u6a21\u578b\u662f\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u4e00\u4e2a\u5173\u952e\u6982\u5ff5\uff0c\u5b83\u6d89\u53ca\u5230\u5982\u4f55\u8fdb\u884c\u8f93\u5165\u548c\u8f93\u51fa\u64cd\u4f5c\uff0c\u800c\u8fd9\u5728\u8ba1\u7b97\u673a\u5e94\u7528\u4e2d\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e0b\uff0c\u9009\u62e9\u6b63\u786e\u7684 I/O \u6a21\u578b\u662f\u81f3\u5173\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u5b83\u4f1a\u5f71\u54cd\u5230\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u54cd\u5e94\u6027\u3002"),(0,r.yg)("h3",{id:"\u963b\u585e-io"},"\u963b\u585e IO"),(0,r.yg)("p",null,"\u963b\u585e I/O \u6a21\u578b\u4e0e\u540c\u6b65 I/O \u6a21\u578b\u76f8\u4f3c\uff0c\u5b83\u4e5f\u9700\u8981\u5e94\u7528\u7a0b\u5e8f\u7b49\u5f85 I/O \u64cd\u4f5c\u5b8c\u6210\u3002\u963b\u585e I/O \u9002\u7528\u4e8e\u7b80\u5355\u7684\u5e94\u7528\uff0c\u4f46\u53ef\u80fd\u5bfc\u81f4\u6027\u80fd\u95ee\u9898\uff0c\u56e0\u4e3a\u5e94\u7528\u7a0b\u5e8f\u4f1a\u5728\u7b49\u5f85\u64cd\u4f5c\u5b8c\u6210\u65f6\u88ab\u963b\u585e\u3002"),(0,r.yg)("h3",{id:"\u975e\u963b\u585e-io"},"\u975e\u963b\u585e IO"),(0,r.yg)("p",null,"\u975e\u963b\u585e I/O \u6a21\u578b\u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u53d1\u8d77 I/O \u64cd\u4f5c\u540e\u7ee7\u7eed\u6267\u884c\u5176\u4ed6\u4efb\u52a1\uff0c\u800c\u4e0d\u5fc5\u7b49\u5f85\u64cd\u4f5c\u5b8c\u6210\u3002\u8fd9\u79cd\u6a21\u578b\u9002\u7528\u4e8e\u9700\u8981\u540c\u65f6\u5904\u7406\u591a\u4e2a\u901a\u9053\u7684\u5e94\u7528\u3002"),(0,r.yg)("p",null,'\u53e6\u4e00\u4e2a\u91cd\u8981\u7684\u6982\u5ff5\u662f"I/O \u591a\u8def\u590d\u7528"\uff08I/O Multiplexing\uff09\u3002I/O \u591a\u8def\u590d\u7528\u662f\u4e00\u79cd\u9ad8\u6548\u5904\u7406\u591a\u4e2a I/O \u64cd\u4f5c\u7684\u6a21\u578b\uff0c\u5b83\u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u540c\u65f6\u76d1\u89c6\u591a\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\uff08sockets\u3001\u6587\u4ef6\u3001\u7ba1\u9053\u7b49\uff09\u4ee5\u68c0\u6d4b\u5b83\u4eec\u662f\u5426\u51c6\u5907\u597d\u8fdb\u884c I/O \u64cd\u4f5c\u3002\u8fd9\u53ef\u4ee5\u6709\u6548\u5730\u51cf\u5c11\u7ebf\u7a0b\u6570\u91cf\uff0c\u4ece\u800c\u63d0\u9ad8\u6027\u80fd\u548c\u8d44\u6e90\u5229\u7528\u7387\u3002\u5728 Java \u4e2d\uff0cI/O \u591a\u8def\u590d\u7528\u901a\u5e38\u901a\u8fc7 java.nio.channels.Selector \u7c7b\u6765\u5b9e\u73b0\u3002'),(0,r.yg)("p",null,'I/O \u591a\u8def\u590d\u7528\u975e\u5e38\u9002\u5408\u9700\u8981\u540c\u65f6\u5904\u7406\u591a\u4e2a\u901a\u9053\u7684\u5e94\u7528\uff0c\u5982\u9ad8\u6027\u80fd\u7f51\u7edc\u670d\u52a1\u5668\u3002\u5b83\u53ef\u4ee5\u51cf\u5c11\u7ebf\u7a0b\u6570\u91cf\uff0c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027\u3002\u5728\u9009\u62e9 I/O \u6a21\u578b\u65f6\uff0c\u5e94\u8be5\u8003\u8651\u5e94\u7528\u7a0b\u5e8f\u7684\u5177\u4f53\u9700\u6c42\u548c\u6027\u80fd\u8981\u6c42\uff0cI/O \u591a\u8def\u590d\u7528\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u9009\u62e9\u4e4b\u4e00\u3002\u8fd8\u6709\u4e24\u4e2a\u91cd\u8981\u7684\u6982\u5ff5\u662f"\u4fe1\u53f7\u9a71\u52a8 I/O"\uff08Signal Driven I/O\uff09\u548c"\u5f02\u6b65 I/O"\u3002\u8fd9\u4e24\u79cd I/O \u6a21\u578b\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u6027\u80fd\u548c\u6548\u7387\u3002'),(0,r.yg)("h4",{id:"\u4fe1\u53f7\u9a71\u52a8-io"},"\u4fe1\u53f7\u9a71\u52a8 I/O"),(0,r.yg)("p",null,"\u4fe1\u53f7\u9a71\u52a8 I/O \u662f\u4e00\u79cd\u975e\u963b\u585e I/O \u7684\u53d8\u4f53\uff0c\u5b83\u4f7f\u7528\u4fe1\u53f7\u901a\u77e5\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u63cf\u8ff0\u7b26\u5df2\u51c6\u5907\u597d\u8fdb\u884c I/O \u64cd\u4f5c\u3002\u8fd9\u79cd\u6a21\u578b\u5728\u7c7b Unix \u7cfb\u7edf\u4e2d\u975e\u5e38\u5e38\u89c1\uff0c\u901a\u5e38\u4e0e\u5f02\u6b65 I/O \u7ed3\u5408\u4f7f\u7528\u3002\u5728 Java \u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 java.nio.channels.AsynchronousChannel \u6765\u5b9e\u73b0\u4fe1\u53f7\u9a71\u52a8 I/O\u3002"),(0,r.yg)("p",null,"\u56de\u8c03\uff1b"),(0,r.yg)("h4",{id:"\u5f02\u6b65-io"},"\u5f02\u6b65 I/O"),(0,r.yg)("p",null,'\u5f02\u6b65 I/O \u6a21\u578b\u4e5f\u79f0\u4e3a"\u771f\u6b63\u7684\u5f02\u6b65 I/O"\uff0c\u5b83\u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u53d1\u8d77 I/O \u64cd\u4f5c\u540e\u7ee7\u7eed\u6267\u884c\u5176\u4ed6\u4efb\u52a1\uff0c\u800c\u4e0d\u9700\u8981\u7b49\u5f85\u64cd\u4f5c\u5b8c\u6210\u3002\u5f02\u6b65 I/O \u4e0e\u4fe1\u53f7\u9a71\u52a8 I/O \u4e0d\u540c\uff0c\u56e0\u4e3a\u5b83\u4e0d\u4f1a\u4f7f\u7528\u56de\u8c03\u51fd\u6570\uff0c\u800c\u662f\u4f7f\u7528\u4e8b\u4ef6\u9a71\u52a8\u7684\u65b9\u5f0f\u6765\u901a\u77e5 I/O \u64cd\u4f5c\u7684\u5b8c\u6210\u3002'),(0,r.yg)("h3",{id:"io-\u591a\u8def\u590d\u7528\u51fd\u6570"},"IO \u591a\u8def\u590d\u7528\u51fd\u6570"),(0,r.yg)("h4",{id:"select"},"select"),(0,r.yg)("p",null,"\u53ef\u5728\u4e0d\u540c\u5e73\u53f0\uff08\u5305\u62ec Unix\u3001Linux \u548c Windows\uff09\u4e0a\u4f7f\u7528\u3002\u7531\u4e8e\u5176\u53ef\u79fb\u690d\u6027\uff0cselect \u662f\u4e00\u79cd\u901a\u7528\u7684 I/O \u591a\u8def\u590d\u7528\u65b9\u6cd5\u3002"),(0,r.yg)("h4",{id:"poll"},"poll"),(0,r.yg)("p",null,"poll \u4e5f\u662f\u76f8\u5bf9\u53ef\u79fb\u690d\u7684\uff0c\u4f46\u5e76\u975e\u5728\u6240\u6709\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u90fd\u5f97\u5230\u5e7f\u6cdb\u652f\u6301\u3002\u5b83\u5728\u5927\u591a\u6570 Unix \u7cfb\u7edf\u4e0a\u53ef\u7528\uff0c\u4f46\u5728 Windows \u4e0a\u7684\u652f\u6301\u8f83\u5f31\u3002"),(0,r.yg)("p",null,"\u603b\u7684\u6765\u8bf4\uff0cpoll \u5728\u6027\u80fd\u548c\u53ef\u8bfb\u6027\u65b9\u9762\u76f8\u5bf9\u4f18\u4e8e select\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u91cf\u6587\u4ef6\u63cf\u8ff0\u7b26\u65f6\u3002\u4f46\u9009\u62e9\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\u8fd8\u53d6\u51b3\u4e8e\u5e94\u7528\u7a0b\u5e8f\u7684\u9700\u6c42\u548c\u76ee\u6807\u5e73\u53f0\u7684\u652f\u6301\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0cepoll \u548c kqueue \u4e5f\u662f\u66f4\u9ad8\u6027\u80fd\u7684\u66ff\u4ee3\u65b9\u6848\uff0c\u7279\u522b\u9002\u7528\u4e8e\u5927\u89c4\u6a21\u5e76\u53d1\u7684\u5e94\u7528\u3002"),(0,r.yg)("p",null,"\u662f\u4e00\u79cd\u6700\u65e9\u51fa\u73b0\u5728 Unix \u7cfb\u7edf\u4e2d\u7684\u591a\u8def\u590d\u7528\u673a\u5236\u3002poll \u7b49\u5f85\u591a\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\u4e2d\u7684\u4e00\u4e2a\u6216\u591a\u4e2a\u53d8\u4e3a\u53ef\u8bfb\uff0c\u53ef\u5199\u6216\u5f02\u5e38\u3002\u4f46 poll \u5728\u5927\u91cf\u6587\u4ef6\u63cf\u8ff0\u7b26\u7684\u60c5\u51b5\u4e0b\u6027\u80fd\u53ef\u80fd\u4e0d\u5982 epoll \u6216 kqueue \u597d\u3002"),(0,r.yg)("h4",{id:"epoll"},"epoll"),(0,r.yg)("p",null,"\u662f\u4e00\u79cd\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\uff0c\u6700\u65e9\u51fa\u73b0\u5728 Linux \u4e2d\u3002\u5b83\u5141\u8bb8\u8fdb\u7a0b\u76d1\u89c6\u5927\u91cf\u6587\u4ef6\u63cf\u8ff0\u7b26\u4e0a\u7684\u4e8b\u4ef6\u3002epoll \u901a\u5e38\u7528\u4e8e\u9ad8\u5e76\u53d1\u7684\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\uff0c\u56e0\u4e3a\u5b83\u5728\u6587\u4ef6\u63cf\u8ff0\u7b26\u6570\u91cf\u975e\u5e38\u591a\u7684\u60c5\u51b5\u4e0b\u6027\u80fd\u8868\u73b0\u826f\u597d\u3002"),(0,r.yg)("h4",{id:"kqueue"},"kqueue"),(0,r.yg)("p",null,"\u662f BSD \u548c macOS \u7b49 Unix-like \u64cd\u4f5c\u7cfb\u7edf\u4e2d\u7684\u4e00\u79cd\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\u3002\u5b83\u53ef\u4ee5\u76d1\u89c6\u6587\u4ef6\u63cf\u8ff0\u7b26\u3001\u8fdb\u7a0b\u3001\u4fe1\u53f7\u3001\u4ee5\u53ca\u5176\u4ed6\u5404\u79cd\u4e8b\u4ef6\u3002kqueue \u901a\u5e38\u88ab\u7528\u4e8e\u5f00\u53d1\u9ad8\u6027\u80fd\u7684\u670d\u52a1\u5668\u5e94\u7528\u548c\u7f51\u7edc\u5e94\u7528\u3002"),(0,r.yg)("h4",{id:"\u4e3a\u4ec0\u4e48-epollkqueue-\u6bd4-select-\u9ad8\u7ea7"},"\u4e3a\u4ec0\u4e48 epoll,kqueue \u6bd4 select \u9ad8\u7ea7\uff1f"),(0,r.yg)("p",null,"epoll \u548c kqueue \u6bd4 select \u9ad8\u7ea7\u7684\u539f\u56e0\u5728\u4e8e\u5b83\u4eec\u5728\u5904\u7406\u9ad8\u5e76\u53d1 I/O \u65f6\u5177\u6709\u66f4\u597d\u7684\u6027\u80fd\u548c\u6269\u5c55\u6027\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4e3b\u8981\u539f\u56e0\uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u9ad8\u6548\u7684\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\uff1aepoll \u548c kqueue \u4f7f\u7528\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\uff0c\u800c\u4e0d\u662f select \u7684\u8f6e\u8be2\u65b9\u5f0f\u3002\u8fd9\u610f\u5473\u7740\u5f53\u6709 I/O \u4e8b\u4ef6\u51c6\u5907\u597d\u65f6\uff0c\u5185\u6838\u4f1a\u4e3b\u52a8\u901a\u77e5\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c\u4e0d\u9700\u8981\u5e94\u7528\u7a0b\u5e8f\u4e0d\u65ad\u67e5\u8be2\u54ea\u4e9b\u6587\u4ef6\u63cf\u8ff0\u7b26\u51c6\u5907\u597d\u3002\u8fd9\u51cf\u5c11\u4e86\u4e0d\u5fc5\u8981\u7684\u4e0a\u4e0b\u6587\u5207\u6362\uff0c\u63d0\u9ad8\u4e86\u6027\u80fd\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301\u5927\u6570\u91cf\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\uff1aselect \u5728\u5904\u7406\u5927\u91cf\u6587\u4ef6\u63cf\u8ff0\u7b26\u65f6\u6027\u80fd\u4e0b\u964d\u660e\u663e\uff0c\u56e0\u4e3a\u5b83\u4f7f\u7528\u4f4d\u56fe\u7684\u65b9\u5f0f\u6765\u8868\u793a\u6587\u4ef6\u63cf\u8ff0\u7b26\uff0c\u5f53\u6587\u4ef6\u63cf\u8ff0\u7b26\u6570\u91cf\u5f88\u5927\u65f6\uff0c\u9700\u8981\u7ef4\u62a4\u5927\u91cf\u7684\u4f4d\u56fe\uff0c\u800c\u4e14\u4f1a\u6709\u5f88\u591a\u65e0\u6548\u7684\u67e5\u8be2\u3002epoll \u548c kqueue \u4f7f\u7528\u57fa\u4e8e\u4e8b\u4ef6\u7684\u673a\u5236\uff0c\u4e0d\u4f1a\u53d7\u5230\u6587\u4ef6\u63cf\u8ff0\u7b26\u6570\u91cf\u7684\u9650\u5236\uff0c\u56e0\u6b64\u9002\u7528\u4e8e\u9ad8\u5e76\u53d1\u573a\u666f\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u66f4\u5c11\u7684\u7cfb\u7edf\u8c03\u7528\uff1aselect \u9700\u8981\u9891\u7e41\u8c03\u7528\u7cfb\u7edf\u8c03\u7528\u6765\u67e5\u8be2\u6587\u4ef6\u63cf\u8ff0\u7b26\u7684\u72b6\u6001\uff0c\u8fd9\u589e\u52a0\u4e86\u7cfb\u7edf\u8c03\u7528\u7684\u5f00\u9500\u3002epoll \u548c kqueue \u7684\u4e8b\u4ef6\u901a\u77e5\u673a\u5236\u51cf\u5c11\u4e86\u4e0d\u5fc5\u8981\u7684\u7cfb\u7edf\u8c03\u7528\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u6027\u80fd\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301\u8fb9\u6cbf\u89e6\u53d1\uff08Edge-Triggered\uff09\uff1aepoll \u548c kqueue \u652f\u6301\u8fb9\u6cbf\u89e6\u53d1\u6a21\u5f0f\uff0c\u8fd9\u610f\u5473\u7740\u53ea\u6709\u5728\u6587\u4ef6\u63cf\u8ff0\u7b26\u72b6\u6001\u53d1\u751f\u53d8\u5316\u65f6\u624d\u4f1a\u89e6\u53d1\u4e8b\u4ef6\u901a\u77e5\uff0c\u800c\u4e0d\u662f\u5728\u6570\u636e\u53ef\u8bfb\u6216\u53ef\u5199\u65f6\u90fd\u4f1a\u89e6\u53d1\u3002\u8fd9\u4f7f\u5f97\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u66f4\u7cbe\u786e\u5730\u63a7\u5236\u4e8b\u4ef6\u5904\u7406\uff0c\u51cf\u5c11\u4e86\u4e0d\u5fc5\u8981\u7684\u5904\u7406\u5f00\u9500\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u66f4\u7075\u6d3b\u7684\u4e8b\u4ef6\u7ba1\u7406\uff1aepoll \u548c kqueue \u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u4e3a\u6bcf\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\u8bbe\u7f6e\u4e0d\u540c\u7684\u4e8b\u4ef6\u7c7b\u578b\uff0c\u800c select \u4e2d\u6240\u6709\u6587\u4ef6\u63cf\u8ff0\u7b26\u53ea\u80fd\u76d1\u89c6\u76f8\u540c\u7c7b\u578b\u7684\u4e8b\u4ef6\u3002\u8fd9\u4f7f\u5f97 epoll \u548c kqueue \u66f4\u7075\u6d3b\uff0c\u9002\u7528\u4e8e\u66f4\u591a\u7684\u5e94\u7528\u573a\u666f\u3002")),(0,r.yg)("p",null,"\u603b\u7684\u6765\u8bf4\uff0cepoll \u548c kqueue \u5728\u9ad8\u5e76\u53d1 I/O \u573a\u666f\u4e2d\u8868\u73b0\u66f4\u51fa\u8272\uff0c\u63d0\u4f9b\u66f4\u9ad8\u7684\u6027\u80fd\u548c\u66f4\u597d\u7684\u53ef\u6269\u5c55\u6027\uff0c\u56e0\u6b64\u88ab\u8ba4\u4e3a\u6bd4 select \u9ad8\u7ea7\u3002\u4f46\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cepoll \u9002\u7528\u4e8e Linux \u7cfb\u7edf\uff0c\u800c kqueue \u9002\u7528\u4e8e BSD \u7cfb\u7edf\uff08\u5982 macOS \u548c FreeBSD\uff09\uff0c\u56e0\u6b64\u9009\u62e9\u54ea\u79cd\u53d6\u51b3\u4e8e\u5e94\u7528\u7a0b\u5e8f\u7684\u90e8\u7f72\u73af\u5883\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8dc1e402.4340a893.js b/assets/js/8dc1e402.a5d679d8.js similarity index 99% rename from assets/js/8dc1e402.4340a893.js rename to assets/js/8dc1e402.a5d679d8.js index 2dbe996b4..0432ae0b4 100644 --- a/assets/js/8dc1e402.4340a893.js +++ b/assets/js/8dc1e402.a5d679d8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5902],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),i=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=i(r),d=a,m=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,l(l({ref:t},p),{},{components:r})):n.createElement(m,l({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=d;var u={};for(var c in t)hasOwnProperty.call(t,c)&&(u[c]=t[c]);u.originalType=e,u[s]="string"==typeof e?e:a,l[1]=u;for(var i=2;i{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>u,toc:()=>i});var n=r(58168),a=(r(96540),r(15680));const o={},l="Oauth2",u={unversionedId:"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2",id:"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2",title:"Oauth2",description:"Oauth2 \u662f\u76ee\u524d\u6700\u6d41\u884c\u7684\u6388\u6743\u673a\u5236\uff0c\u7528\u6765\u6388\u6743\u7b2c\u4e09\u65b9\u5e94\u7528\uff0c\u83b7\u53d6\u7528\u6237\u6570\u636e\u3002",source:"@site/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2.md",sourceDirName:"study/back/\u4fe1\u606f\u5b89\u5168",slug:"/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",permalink:"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"},next:{title:"\u8ba4\u8bc1",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1"}},c={},i=[{value:"Oauth2 \u56db\u79cd\u8ba4\u8bc1\u65b9\u5f0f",id:"oauth2-\u56db\u79cd\u8ba4\u8bc1\u65b9\u5f0f",level:3},{value:"\u53c2\u8003\u6587\u6863",id:"\u53c2\u8003\u6587\u6863",level:3}],p={toc:i},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"oauth2"},"Oauth2"),(0,a.yg)("p",null,"Oauth2 \u662f\u76ee\u524d\u6700\u6d41\u884c\u7684\u6388\u6743\u673a\u5236\uff0c\u7528\u6765\u6388\u6743\u7b2c\u4e09\u65b9\u5e94\u7528\uff0c\u83b7\u53d6\u7528\u6237\u6570\u636e\u3002"),(0,a.yg)("p",null,"Oauth2 \u6709\u56db\u79cd\u89d2\u8272\uff0c\u4e00\u4e2a\u662f\u5ba2\u6237\u7aef\uff0c\u4e00\u4e2a\u662f\u8d44\u6e90\u6240\u6709\u8005\uff0c\u4e00\u4e2a\u662f\u6388\u6743\u670d\u52a1\u5668\uff0c\u8fd8\u6709\u4e00\u4e2a\u662f\u8d44\u6e90\u670d\u52a1\u5668\u3002"),(0,a.yg)("h3",{id:"oauth2-\u56db\u79cd\u8ba4\u8bc1\u65b9\u5f0f"},"Oauth2 \u56db\u79cd\u8ba4\u8bc1\u65b9\u5f0f"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6388\u6743\u7801\u6a21\u5f0f\uff08authorization code\uff09\uff1a\u8981\u6388\u6743\uff0c\u540c\u610f\uff0c\u7ed9\u6388\u6743\u7801\uff0c\u62ff\u6388\u6743\u7801\u8981\u4ee4\u724c"),(0,a.yg)("li",{parentName:"ul"},"\u7b80\u5316\u6a21\u5f0f\uff08\u9690\u85cf\u6a21\u5f0f\uff09\uff08implicit\uff09\uff1a\u8981\u6388\u6743\uff0c\u540c\u610f\uff0c\u76f4\u63a5\u62ff\u4ee4\u724c\uff0c",(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u4e00\u822c\u662f\u7b2c\u4e09\u65b9\u5e94\u7528\u53ea\u6709\u524d\u7aef"))),(0,a.yg)("li",{parentName:"ul"},"\u5bc6\u7801\u6a21\u5f0f\uff08resource owner password credentials\uff09\uff0c\u8981\u6388\u6743\uff0c\u76f4\u63a5\u7ed9\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c",(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u53ca\u5176\u4fe1\u4efb\uff0c\u5f88\u5c11\u7528\u5230"))),(0,a.yg)("li",{parentName:"ul"},"\u5ba2\u6237\u7aef\u6a21\u5f0f\uff08client credentials\uff09\uff0c\u8981\u6388\u6743\uff0c\u76f4\u63a5\u7ed9\u4ee4\u724c\uff1b",(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u4e00\u822c\u662f\u7b2c\u4e09\u65b9\u5e94\u7528\u7684\u540e\u7aef\uff0c\u540c\u65f6\u652f\u6301\u5f88\u591a\u81ea\u5df1\u7684\u7528\u6237")))),(0,a.yg)("p",null,"\u4e0d\u7ba1\u662f\u54ea\u4e00\u79cd\u6388\u6743\u65b9\u5f0f\uff0c\u7b2c\u4e09\u65b9\u5e94\u7528\u7533\u8bf7\u4ee4\u724c\u4e4b\u524d\uff0c\u90fd\u5fc5\u987b\u5148\u5230\u7cfb\u7edf\u5907\u6848\uff0c\u8bf4\u660e\u81ea\u5df1\u7684\u8eab\u4efd\uff0c\u7136\u540e\u62ff\u5230\u4e24\u4e2a\u8eab\u4efd\u7684\u8bc6\u522b\u7801\uff0c\u5ba2\u6237\u7aef\u548c\u5ba2\u6237\u7aef\u5bc6\u94a5\uff0c\u8fd9\u662f\u9632\u6b62\u5bc6\u94a5\u88ab\u6ee5\u7528\uff0c\u6ca1\u6709\u5907\u6848\u8fc7\u7684\u7b2c\u4e09\u65b9\u7684\u5e94\u7528\uff0c\u662f\u4e0d\u4f1a\u62ff\u5230\u4ee4\u724c\u7684"),(0,a.yg)("h3",{id:"\u53c2\u8003\u6587\u6863"},"\u53c2\u8003\u6587\u6863"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/m0_53151031/article/details/123737336"},"CSDN-\u524d\u8a00\u6280\u672f\u4e4b Oauth2 \u5168\u65b9\u9762\u4ecb\u7ecd"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5902],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),i=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=i(r),d=a,m=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,l(l({ref:t},p),{},{components:r})):n.createElement(m,l({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=d;var u={};for(var c in t)hasOwnProperty.call(t,c)&&(u[c]=t[c]);u.originalType=e,u[s]="string"==typeof e?e:a,l[1]=u;for(var i=2;i{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>u,toc:()=>i});var n=r(58168),a=(r(96540),r(15680));const o={},l="Oauth2",u={unversionedId:"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2",id:"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2",title:"Oauth2",description:"Oauth2 \u662f\u76ee\u524d\u6700\u6d41\u884c\u7684\u6388\u6743\u673a\u5236\uff0c\u7528\u6765\u6388\u6743\u7b2c\u4e09\u65b9\u5e94\u7528\uff0c\u83b7\u53d6\u7528\u6237\u6570\u636e\u3002",source:"@site/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2.md",sourceDirName:"study/back/\u4fe1\u606f\u5b89\u5168",slug:"/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",permalink:"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"},next:{title:"\u8ba4\u8bc1",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1"}},c={},i=[{value:"Oauth2 \u56db\u79cd\u8ba4\u8bc1\u65b9\u5f0f",id:"oauth2-\u56db\u79cd\u8ba4\u8bc1\u65b9\u5f0f",level:3},{value:"\u53c2\u8003\u6587\u6863",id:"\u53c2\u8003\u6587\u6863",level:3}],p={toc:i},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"oauth2"},"Oauth2"),(0,a.yg)("p",null,"Oauth2 \u662f\u76ee\u524d\u6700\u6d41\u884c\u7684\u6388\u6743\u673a\u5236\uff0c\u7528\u6765\u6388\u6743\u7b2c\u4e09\u65b9\u5e94\u7528\uff0c\u83b7\u53d6\u7528\u6237\u6570\u636e\u3002"),(0,a.yg)("p",null,"Oauth2 \u6709\u56db\u79cd\u89d2\u8272\uff0c\u4e00\u4e2a\u662f\u5ba2\u6237\u7aef\uff0c\u4e00\u4e2a\u662f\u8d44\u6e90\u6240\u6709\u8005\uff0c\u4e00\u4e2a\u662f\u6388\u6743\u670d\u52a1\u5668\uff0c\u8fd8\u6709\u4e00\u4e2a\u662f\u8d44\u6e90\u670d\u52a1\u5668\u3002"),(0,a.yg)("h3",{id:"oauth2-\u56db\u79cd\u8ba4\u8bc1\u65b9\u5f0f"},"Oauth2 \u56db\u79cd\u8ba4\u8bc1\u65b9\u5f0f"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6388\u6743\u7801\u6a21\u5f0f\uff08authorization code\uff09\uff1a\u8981\u6388\u6743\uff0c\u540c\u610f\uff0c\u7ed9\u6388\u6743\u7801\uff0c\u62ff\u6388\u6743\u7801\u8981\u4ee4\u724c"),(0,a.yg)("li",{parentName:"ul"},"\u7b80\u5316\u6a21\u5f0f\uff08\u9690\u85cf\u6a21\u5f0f\uff09\uff08implicit\uff09\uff1a\u8981\u6388\u6743\uff0c\u540c\u610f\uff0c\u76f4\u63a5\u62ff\u4ee4\u724c\uff0c",(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u4e00\u822c\u662f\u7b2c\u4e09\u65b9\u5e94\u7528\u53ea\u6709\u524d\u7aef"))),(0,a.yg)("li",{parentName:"ul"},"\u5bc6\u7801\u6a21\u5f0f\uff08resource owner password credentials\uff09\uff0c\u8981\u6388\u6743\uff0c\u76f4\u63a5\u7ed9\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c",(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u53ca\u5176\u4fe1\u4efb\uff0c\u5f88\u5c11\u7528\u5230"))),(0,a.yg)("li",{parentName:"ul"},"\u5ba2\u6237\u7aef\u6a21\u5f0f\uff08client credentials\uff09\uff0c\u8981\u6388\u6743\uff0c\u76f4\u63a5\u7ed9\u4ee4\u724c\uff1b",(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u4e00\u822c\u662f\u7b2c\u4e09\u65b9\u5e94\u7528\u7684\u540e\u7aef\uff0c\u540c\u65f6\u652f\u6301\u5f88\u591a\u81ea\u5df1\u7684\u7528\u6237")))),(0,a.yg)("p",null,"\u4e0d\u7ba1\u662f\u54ea\u4e00\u79cd\u6388\u6743\u65b9\u5f0f\uff0c\u7b2c\u4e09\u65b9\u5e94\u7528\u7533\u8bf7\u4ee4\u724c\u4e4b\u524d\uff0c\u90fd\u5fc5\u987b\u5148\u5230\u7cfb\u7edf\u5907\u6848\uff0c\u8bf4\u660e\u81ea\u5df1\u7684\u8eab\u4efd\uff0c\u7136\u540e\u62ff\u5230\u4e24\u4e2a\u8eab\u4efd\u7684\u8bc6\u522b\u7801\uff0c\u5ba2\u6237\u7aef\u548c\u5ba2\u6237\u7aef\u5bc6\u94a5\uff0c\u8fd9\u662f\u9632\u6b62\u5bc6\u94a5\u88ab\u6ee5\u7528\uff0c\u6ca1\u6709\u5907\u6848\u8fc7\u7684\u7b2c\u4e09\u65b9\u7684\u5e94\u7528\uff0c\u662f\u4e0d\u4f1a\u62ff\u5230\u4ee4\u724c\u7684"),(0,a.yg)("h3",{id:"\u53c2\u8003\u6587\u6863"},"\u53c2\u8003\u6587\u6863"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/m0_53151031/article/details/123737336"},"CSDN-\u524d\u8a00\u6280\u672f\u4e4b Oauth2 \u5168\u65b9\u9762\u4ecb\u7ecd"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8f9566ba.8a7decb1.js b/assets/js/8f9566ba.5643ef1a.js similarity index 99% rename from assets/js/8f9566ba.8a7decb1.js rename to assets/js/8f9566ba.5643ef1a.js index 4edd511ef..3bd2d8013 100644 --- a/assets/js/8f9566ba.8a7decb1.js +++ b/assets/js/8f9566ba.5643ef1a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1312],{15680:(e,a,r)=>{r.d(a,{xA:()=>p,yg:()=>g});var t=r(96540);function l(e,a,r){return a in e?Object.defineProperty(e,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[a]=r,e}function i(e,a){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),r.push.apply(r,t)}return r}function n(e){for(var a=1;a=0||(l[r]=e[r]);return l}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var d=t.createContext({}),s=function(e){var a=t.useContext(d),r=a;return e&&(r="function"==typeof e?e(a):n(n({},a),e)),r},p=function(e){var a=s(e.components);return t.createElement(d.Provider,{value:a},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var a=e.children;return t.createElement(t.Fragment,{},a)}},j=t.forwardRef((function(e,a){var r=e.components,l=e.mdxType,i=e.originalType,d=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),u=s(r),j=l,g=u["".concat(d,".").concat(j)]||u[j]||c[j]||i;return r?t.createElement(g,n(n({ref:a},p),{},{components:r})):t.createElement(g,n({ref:a},p))}));function g(e,a){var r=arguments,l=a&&a.mdxType;if("string"==typeof e||l){var i=r.length,n=new Array(i);n[0]=j;var o={};for(var d in a)hasOwnProperty.call(a,d)&&(o[d]=a[d]);o.originalType=e,o[u]="string"==typeof e?e:l,n[1]=o;for(var s=2;s{r.r(a),r.d(a,{assets:()=>d,contentTitle:()=>n,default:()=>c,frontMatter:()=>i,metadata:()=>o,toc:()=>s});var t=r(58168),l=(r(96540),r(15680));const i={},n="JDK17-bin",o={unversionedId:"study/program/JAVA/JDK17-bin",id:"study/program/JAVA/JDK17-bin",title:"JDK17-bin",description:"jar",source:"@site/docs/study/program/JAVA/JDK17-bin.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JDK17-bin",permalink:"/docs/study/program/JAVA/JDK17-bin",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Guice",permalink:"/docs/study/program/JAVA/Guice"},next:{title:"JDK17",permalink:"/docs/study/program/JAVA/JDK17"}},d={},s=[{value:"jar",id:"jar",level:3},{value:"jarsigner",id:"jarsigner",level:3},{value:"java",id:"java",level:3},{value:"javac",id:"javac",level:3},{value:"javadoc",id:"javadoc",level:3},{value:"javap",id:"javap",level:3},{value:"jcmd",id:"jcmd",level:3},{value:"jconsole",id:"jconsole",level:3},{value:"jdb",id:"jdb",level:3},{value:"jdeprscan",id:"jdeprscan",level:3},{value:"jdeps",id:"jdeps",level:3},{value:"jfr",id:"jfr",level:3},{value:"jhsdb",id:"jhsdb",level:3},{value:"jimage",id:"jimage",level:3},{value:"jinfo",id:"jinfo",level:3},{value:"jlink",id:"jlink",level:3},{value:"jmap",id:"jmap",level:3},{value:"jmod",id:"jmod",level:3},{value:"jpakcage",id:"jpakcage",level:3},{value:"jps",id:"jps",level:3},{value:"jrunscript",id:"jrunscript",level:3},{value:"jshell",id:"jshell",level:3},{value:"jstack",id:"jstack",level:3},{value:"jstat",id:"jstat",level:3},{value:"jstatd",id:"jstatd",level:3},{value:"keytool",id:"keytool",level:3},{value:"rmiregistry",id:"rmiregistry",level:3},{value:"serialver",id:"serialver",level:3},{value:"\u5176\u4ed6\u5206\u6790\u5de5\u5177",id:"\u5176\u4ed6\u5206\u6790\u5de5\u5177",level:3}],p={toc:s},u="wrapper";function c(e){let{components:a,...r}=e;return(0,l.yg)(u,(0,t.A)({},p,r,{components:a,mdxType:"MDXLayout"}),(0,l.yg)("h1",{id:"jdk17-bin"},"JDK17-bin"),(0,l.yg)("h3",{id:"jar"},"jar"),(0,l.yg)("p",null,"\u64cd\u4f5c jar \u6587\u4ef6\uff0c\u5305\u62ec\u65b0\u5efa\u3001\u67e5\u770b\u5185\u5bb9\u3001\u89e3\u538b\u3001\u6dfb\u52a0\u6587\u4ef6\u7b49"),(0,l.yg)("h3",{id:"jarsigner"},"jarsigner"),(0,l.yg)("p",null,"jarsigner \u547d\u4ee4\u662f Java \u5f00\u53d1\u5de5\u5177\u4e2d\u7528\u4e8e\u5bf9 JAR \u6587\u4ef6\u8fdb\u884c\u7b7e\u540d\u7684\u91cd\u8981\u5de5\u5177\u4e4b\u4e00\u3002\u5b83\u901a\u8fc7\u6570\u5b57\u7b7e\u540d\u5b9e\u73b0\u8eab\u4efd\u9a8c\u8bc1\u548c\u4fdd\u8bc1\u5e94\u7528\u7a0b\u5e8f\u7684\u5b8c\u6574\u6027\uff0c\u63d0\u4f9b\u4e86\u5e94\u7528\u7a0b\u5e8f\u53d1\u5e03\u548c\u5206\u53d1\u7684\u5b89\u5168\u6027\u3002\u4f46\u5b83\u4e5f\u5f15\u5165\u4e86\u989d\u5916\u7684\u590d\u6742\u6027\u548c\u4e00\u4e9b\u64cd\u4f5c\u6b65\u9aa4\u3002\u901a\u8fc7\u7406\u89e3\u548c\u6b63\u786e\u4f7f\u7528 jarsigner\uff0c\u53ef\u4ee5\u63d0\u9ad8 Java \u5e94\u7528\u7a0b\u5e8f\u7684\u5b89\u5168\u6027\u548c\u7528\u6237\u7684\u4fe1\u4efb\u5ea6\u3002"),(0,l.yg)("p",null,"\u603b\u7684\u6765\u8bf4\uff0cjarsigner \u4e3a Java \u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u4e86\u4e00\u79cd\u6709\u6548\u7684\u65b9\u5f0f\u6765\u9a8c\u8bc1\u5e94\u7528\u7a0b\u5e8f\u7684\u6765\u6e90\u548c\u5b8c\u6574\u6027\uff0c\u5e2e\u52a9\u5efa\u7acb\u7528\u6237\u548c\u5f00\u53d1\u8005\u4e4b\u95f4\u7684\u4fe1\u4efb\u5173\u7cfb\u3002"),(0,l.yg)("h3",{id:"java"},"java"),(0,l.yg)("h3",{id:"javac"},"javac"),(0,l.yg)("h3",{id:"javadoc"},"javadoc"),(0,l.yg)("h3",{id:"javap"},"javap"),(0,l.yg)("h3",{id:"jcmd"},"jcmd"),(0,l.yg)("h3",{id:"jconsole"},"jconsole"),(0,l.yg)("p",null,"jconsole \u63d0\u4f9b\u4e86\u53ef\u89c6\u5316\u7684\u65b9\u5f0f\u6765\u83b7\u53d6\u6709\u5173 Java \u5e94\u7528\u7a0b\u5e8f\u7684\u5404\u79cd\u4fe1\u606f\uff0c\u5305\u62ec\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u3001\u7ebf\u7a0b\u6d3b\u52a8\u3001GC \u884c\u4e3a\u7b49\u91cd\u8981\u6307\u6807\u3002\u5b83\u8fd8\u5141\u8bb8\u8fdc\u7a0b\u8fde\u63a5\u5230\u8fd0\u884c\u4e2d\u7684 Java \u8fdb\u7a0b\uff0c\u63d0\u4f9b\u5bf9\u8fdc\u7a0b\u5e94\u7528\u7a0b\u5e8f\u7684\u76d1\u63a7\u548c\u7ba1\u7406\u80fd\u529b\u3002"),(0,l.yg)("h3",{id:"jdb"},"jdb"),(0,l.yg)("h3",{id:"jdeprscan"},"jdeprscan"),(0,l.yg)("h3",{id:"jdeps"},"jdeps"),(0,l.yg)("h3",{id:"jfr"},"jfr"),(0,l.yg)("h3",{id:"jhsdb"},"jhsdb"),(0,l.yg)("h3",{id:"jimage"},"jimage"),(0,l.yg)("h3",{id:"jinfo"},"jinfo"),(0,l.yg)("p",null,"Java Configuration Info \uff1a\u67e5\u770b\u914d\u7f6e\u53c2\u6570\u4fe1\u606f\uff0c\u652f\u6301\u90e8\u5206\u53c2\u6570\u8fd0\u884c\u65f6\u4fee\u6539"),(0,l.yg)("h3",{id:"jlink"},"jlink"),(0,l.yg)("h3",{id:"jmap"},"jmap"),(0,l.yg)("p",null,"Java Memory Map \uff1a\u5206\u6790\u5806\u5185\u5b58\u5de5\u5177\uff0c\u5bfc\u51fa dump \u5806\u5185\u5b58\u5feb\u7167"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"jmap -dump:live,format=b,file=heap.bin \n")),(0,l.yg)("h3",{id:"jmod"},"jmod"),(0,l.yg)("h3",{id:"jpakcage"},"jpakcage"),(0,l.yg)("h3",{id:"jps"},"jps"),(0,l.yg)("p",null,"JVM Process status tool\uff1aJVM \u8fdb\u7a0b\u72b6\u6001\u5de5\u5177\uff0c\u67e5\u770b\u8fdb\u7a0b\u57fa\u672c\u4fe1\u606f"),(0,l.yg)("p",null,"\u7528\u7684\u4e0d\u591a"),(0,l.yg)("h3",{id:"jrunscript"},"jrunscript"),(0,l.yg)("h3",{id:"jshell"},"jshell"),(0,l.yg)("h3",{id:"jstack"},"jstack"),(0,l.yg)("p",null,"Java Stack Trace \uff1aJava \u5806\u6808\u8ddf\u8e2a\u5de5\u5177"),(0,l.yg)("p",null,"\u53ef\u4ee5\u751f\u6210 JVM \u5f53\u524d\u65f6\u523b\u7684\u7ebf\u7a0b\u5feb\u7167\uff0c\u751f\u6210\u7ebf\u7a0b\u5feb\u7167\u7684\u4e3b\u8981\u76ee\u7684\u662f\u5b9a\u4f4d\u7ebf\u7a0b\u51fa\u73b0\u957f\u65f6\u95f4\u505c\u987f\u7684\u539f\u56e0\uff0c\u5982\u7ebf\u7a0b\u95f4\u6b7b\u9501\u3001\u6b7b\u5faa\u73af\u3001\u8bf7\u6c42\u5916\u90e8\u8d44\u6e90\u5bfc\u81f4\u7684\u957f\u65f6\u95f4\u7b49\u5f85\u7b49\u3002"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"jstack -l {PID} > jstack-dump.log\n")),(0,l.yg)("p",null,"\u7136\u540e \u653e\u5230 ",(0,l.yg)("a",{parentName:"p",href:"https://fastthread.io/"},"fastthread.io")," \u5206\u6790"),(0,l.yg)("h3",{id:"jstat"},"jstat"),(0,l.yg)("p",null,"JVM statistics monitoring tool \uff1a JVM \u7edf\u8ba1\u76d1\u63a7\u5de5\u5177\uff0c\u67e5\u770b\u5806\uff0cGC \u8be6\u7ec6\u4fe1\u606f"),(0,l.yg)("p",null,"\u5148\u7528\u4ed6\u5206\u6790 GC \u95ee\u9898\uff0c\u5305\u62ec GC \u6b21\u6570\u3001GC \u65f6\u95f4\u3001GC \u539f\u56e0\u3001GC \u524d\u540e\u5806\u5185\u5b58\u53d8\u5316"),(0,l.yg)("h3",{id:"jstatd"},"jstatd"),(0,l.yg)("h3",{id:"keytool"},"keytool"),(0,l.yg)("h3",{id:"rmiregistry"},"rmiregistry"),(0,l.yg)("h3",{id:"serialver"},"serialver"),(0,l.yg)("h3",{id:"\u5176\u4ed6\u5206\u6790\u5de5\u5177"},"\u5176\u4ed6\u5206\u6790\u5de5\u5177"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://visualvm.github.io/"},"VisualVM")," \u8fdc\u7a0b\u9700\u8981\u914d\u5408 jstatd \u4f7f\u7528"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://gceasy.io/"},"GCEasy\uff1a\u514d\u8d39 GC \u65e5\u5fd7\u53ef\u89c6\u5316\u5206\u6790 Web \u5de5\u5177")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://eclipse.dev/mat/downloads.php"},"Eclipse MAT\uff1aMemory Analyzer Tool \u53ef\u89c6\u5316\u5185\u5b58\u5206\u6790\u5de5\u5177")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://github.com/chewiebug/GCViewer"},"GCViewer\uff1a\u5f00\u6e90\u7684 GC \u65e5\u5fd7\u5206\u6790\u5de5\u5177")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://github.com/alibaba/arthas/blob/master/README_CN.md"}," Alibaba Arthas\uff1a\u7ebf\u4e0a Java \u7a0b\u5e8f\u8bca\u65ad\u5de5\u5177\uff0c\u529f\u80fd\u975e\u5e38\u5f3a\u5927"))))}c.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1312],{15680:(e,a,r)=>{r.d(a,{xA:()=>p,yg:()=>g});var t=r(96540);function l(e,a,r){return a in e?Object.defineProperty(e,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[a]=r,e}function i(e,a){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);a&&(t=t.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),r.push.apply(r,t)}return r}function n(e){for(var a=1;a=0||(l[r]=e[r]);return l}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var d=t.createContext({}),s=function(e){var a=t.useContext(d),r=a;return e&&(r="function"==typeof e?e(a):n(n({},a),e)),r},p=function(e){var a=s(e.components);return t.createElement(d.Provider,{value:a},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var a=e.children;return t.createElement(t.Fragment,{},a)}},j=t.forwardRef((function(e,a){var r=e.components,l=e.mdxType,i=e.originalType,d=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),u=s(r),j=l,g=u["".concat(d,".").concat(j)]||u[j]||c[j]||i;return r?t.createElement(g,n(n({ref:a},p),{},{components:r})):t.createElement(g,n({ref:a},p))}));function g(e,a){var r=arguments,l=a&&a.mdxType;if("string"==typeof e||l){var i=r.length,n=new Array(i);n[0]=j;var o={};for(var d in a)hasOwnProperty.call(a,d)&&(o[d]=a[d]);o.originalType=e,o[u]="string"==typeof e?e:l,n[1]=o;for(var s=2;s{r.r(a),r.d(a,{assets:()=>d,contentTitle:()=>n,default:()=>c,frontMatter:()=>i,metadata:()=>o,toc:()=>s});var t=r(58168),l=(r(96540),r(15680));const i={},n="JDK17-bin",o={unversionedId:"study/program/JAVA/JDK17-bin",id:"study/program/JAVA/JDK17-bin",title:"JDK17-bin",description:"jar",source:"@site/docs/study/program/JAVA/JDK17-bin.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JDK17-bin",permalink:"/docs/study/program/JAVA/JDK17-bin",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Guice",permalink:"/docs/study/program/JAVA/Guice"},next:{title:"JDK17",permalink:"/docs/study/program/JAVA/JDK17"}},d={},s=[{value:"jar",id:"jar",level:3},{value:"jarsigner",id:"jarsigner",level:3},{value:"java",id:"java",level:3},{value:"javac",id:"javac",level:3},{value:"javadoc",id:"javadoc",level:3},{value:"javap",id:"javap",level:3},{value:"jcmd",id:"jcmd",level:3},{value:"jconsole",id:"jconsole",level:3},{value:"jdb",id:"jdb",level:3},{value:"jdeprscan",id:"jdeprscan",level:3},{value:"jdeps",id:"jdeps",level:3},{value:"jfr",id:"jfr",level:3},{value:"jhsdb",id:"jhsdb",level:3},{value:"jimage",id:"jimage",level:3},{value:"jinfo",id:"jinfo",level:3},{value:"jlink",id:"jlink",level:3},{value:"jmap",id:"jmap",level:3},{value:"jmod",id:"jmod",level:3},{value:"jpakcage",id:"jpakcage",level:3},{value:"jps",id:"jps",level:3},{value:"jrunscript",id:"jrunscript",level:3},{value:"jshell",id:"jshell",level:3},{value:"jstack",id:"jstack",level:3},{value:"jstat",id:"jstat",level:3},{value:"jstatd",id:"jstatd",level:3},{value:"keytool",id:"keytool",level:3},{value:"rmiregistry",id:"rmiregistry",level:3},{value:"serialver",id:"serialver",level:3},{value:"\u5176\u4ed6\u5206\u6790\u5de5\u5177",id:"\u5176\u4ed6\u5206\u6790\u5de5\u5177",level:3}],p={toc:s},u="wrapper";function c(e){let{components:a,...r}=e;return(0,l.yg)(u,(0,t.A)({},p,r,{components:a,mdxType:"MDXLayout"}),(0,l.yg)("h1",{id:"jdk17-bin"},"JDK17-bin"),(0,l.yg)("h3",{id:"jar"},"jar"),(0,l.yg)("p",null,"\u64cd\u4f5c jar \u6587\u4ef6\uff0c\u5305\u62ec\u65b0\u5efa\u3001\u67e5\u770b\u5185\u5bb9\u3001\u89e3\u538b\u3001\u6dfb\u52a0\u6587\u4ef6\u7b49"),(0,l.yg)("h3",{id:"jarsigner"},"jarsigner"),(0,l.yg)("p",null,"jarsigner \u547d\u4ee4\u662f Java \u5f00\u53d1\u5de5\u5177\u4e2d\u7528\u4e8e\u5bf9 JAR \u6587\u4ef6\u8fdb\u884c\u7b7e\u540d\u7684\u91cd\u8981\u5de5\u5177\u4e4b\u4e00\u3002\u5b83\u901a\u8fc7\u6570\u5b57\u7b7e\u540d\u5b9e\u73b0\u8eab\u4efd\u9a8c\u8bc1\u548c\u4fdd\u8bc1\u5e94\u7528\u7a0b\u5e8f\u7684\u5b8c\u6574\u6027\uff0c\u63d0\u4f9b\u4e86\u5e94\u7528\u7a0b\u5e8f\u53d1\u5e03\u548c\u5206\u53d1\u7684\u5b89\u5168\u6027\u3002\u4f46\u5b83\u4e5f\u5f15\u5165\u4e86\u989d\u5916\u7684\u590d\u6742\u6027\u548c\u4e00\u4e9b\u64cd\u4f5c\u6b65\u9aa4\u3002\u901a\u8fc7\u7406\u89e3\u548c\u6b63\u786e\u4f7f\u7528 jarsigner\uff0c\u53ef\u4ee5\u63d0\u9ad8 Java \u5e94\u7528\u7a0b\u5e8f\u7684\u5b89\u5168\u6027\u548c\u7528\u6237\u7684\u4fe1\u4efb\u5ea6\u3002"),(0,l.yg)("p",null,"\u603b\u7684\u6765\u8bf4\uff0cjarsigner \u4e3a Java \u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u4e86\u4e00\u79cd\u6709\u6548\u7684\u65b9\u5f0f\u6765\u9a8c\u8bc1\u5e94\u7528\u7a0b\u5e8f\u7684\u6765\u6e90\u548c\u5b8c\u6574\u6027\uff0c\u5e2e\u52a9\u5efa\u7acb\u7528\u6237\u548c\u5f00\u53d1\u8005\u4e4b\u95f4\u7684\u4fe1\u4efb\u5173\u7cfb\u3002"),(0,l.yg)("h3",{id:"java"},"java"),(0,l.yg)("h3",{id:"javac"},"javac"),(0,l.yg)("h3",{id:"javadoc"},"javadoc"),(0,l.yg)("h3",{id:"javap"},"javap"),(0,l.yg)("h3",{id:"jcmd"},"jcmd"),(0,l.yg)("h3",{id:"jconsole"},"jconsole"),(0,l.yg)("p",null,"jconsole \u63d0\u4f9b\u4e86\u53ef\u89c6\u5316\u7684\u65b9\u5f0f\u6765\u83b7\u53d6\u6709\u5173 Java \u5e94\u7528\u7a0b\u5e8f\u7684\u5404\u79cd\u4fe1\u606f\uff0c\u5305\u62ec\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\u3001\u7ebf\u7a0b\u6d3b\u52a8\u3001GC \u884c\u4e3a\u7b49\u91cd\u8981\u6307\u6807\u3002\u5b83\u8fd8\u5141\u8bb8\u8fdc\u7a0b\u8fde\u63a5\u5230\u8fd0\u884c\u4e2d\u7684 Java \u8fdb\u7a0b\uff0c\u63d0\u4f9b\u5bf9\u8fdc\u7a0b\u5e94\u7528\u7a0b\u5e8f\u7684\u76d1\u63a7\u548c\u7ba1\u7406\u80fd\u529b\u3002"),(0,l.yg)("h3",{id:"jdb"},"jdb"),(0,l.yg)("h3",{id:"jdeprscan"},"jdeprscan"),(0,l.yg)("h3",{id:"jdeps"},"jdeps"),(0,l.yg)("h3",{id:"jfr"},"jfr"),(0,l.yg)("h3",{id:"jhsdb"},"jhsdb"),(0,l.yg)("h3",{id:"jimage"},"jimage"),(0,l.yg)("h3",{id:"jinfo"},"jinfo"),(0,l.yg)("p",null,"Java Configuration Info \uff1a\u67e5\u770b\u914d\u7f6e\u53c2\u6570\u4fe1\u606f\uff0c\u652f\u6301\u90e8\u5206\u53c2\u6570\u8fd0\u884c\u65f6\u4fee\u6539"),(0,l.yg)("h3",{id:"jlink"},"jlink"),(0,l.yg)("h3",{id:"jmap"},"jmap"),(0,l.yg)("p",null,"Java Memory Map \uff1a\u5206\u6790\u5806\u5185\u5b58\u5de5\u5177\uff0c\u5bfc\u51fa dump \u5806\u5185\u5b58\u5feb\u7167"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"jmap -dump:live,format=b,file=heap.bin \n")),(0,l.yg)("h3",{id:"jmod"},"jmod"),(0,l.yg)("h3",{id:"jpakcage"},"jpakcage"),(0,l.yg)("h3",{id:"jps"},"jps"),(0,l.yg)("p",null,"JVM Process status tool\uff1aJVM \u8fdb\u7a0b\u72b6\u6001\u5de5\u5177\uff0c\u67e5\u770b\u8fdb\u7a0b\u57fa\u672c\u4fe1\u606f"),(0,l.yg)("p",null,"\u7528\u7684\u4e0d\u591a"),(0,l.yg)("h3",{id:"jrunscript"},"jrunscript"),(0,l.yg)("h3",{id:"jshell"},"jshell"),(0,l.yg)("h3",{id:"jstack"},"jstack"),(0,l.yg)("p",null,"Java Stack Trace \uff1aJava \u5806\u6808\u8ddf\u8e2a\u5de5\u5177"),(0,l.yg)("p",null,"\u53ef\u4ee5\u751f\u6210 JVM \u5f53\u524d\u65f6\u523b\u7684\u7ebf\u7a0b\u5feb\u7167\uff0c\u751f\u6210\u7ebf\u7a0b\u5feb\u7167\u7684\u4e3b\u8981\u76ee\u7684\u662f\u5b9a\u4f4d\u7ebf\u7a0b\u51fa\u73b0\u957f\u65f6\u95f4\u505c\u987f\u7684\u539f\u56e0\uff0c\u5982\u7ebf\u7a0b\u95f4\u6b7b\u9501\u3001\u6b7b\u5faa\u73af\u3001\u8bf7\u6c42\u5916\u90e8\u8d44\u6e90\u5bfc\u81f4\u7684\u957f\u65f6\u95f4\u7b49\u5f85\u7b49\u3002"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"jstack -l {PID} > jstack-dump.log\n")),(0,l.yg)("p",null,"\u7136\u540e \u653e\u5230 ",(0,l.yg)("a",{parentName:"p",href:"https://fastthread.io/"},"fastthread.io")," \u5206\u6790"),(0,l.yg)("h3",{id:"jstat"},"jstat"),(0,l.yg)("p",null,"JVM statistics monitoring tool \uff1a JVM \u7edf\u8ba1\u76d1\u63a7\u5de5\u5177\uff0c\u67e5\u770b\u5806\uff0cGC \u8be6\u7ec6\u4fe1\u606f"),(0,l.yg)("p",null,"\u5148\u7528\u4ed6\u5206\u6790 GC \u95ee\u9898\uff0c\u5305\u62ec GC \u6b21\u6570\u3001GC \u65f6\u95f4\u3001GC \u539f\u56e0\u3001GC \u524d\u540e\u5806\u5185\u5b58\u53d8\u5316"),(0,l.yg)("h3",{id:"jstatd"},"jstatd"),(0,l.yg)("h3",{id:"keytool"},"keytool"),(0,l.yg)("h3",{id:"rmiregistry"},"rmiregistry"),(0,l.yg)("h3",{id:"serialver"},"serialver"),(0,l.yg)("h3",{id:"\u5176\u4ed6\u5206\u6790\u5de5\u5177"},"\u5176\u4ed6\u5206\u6790\u5de5\u5177"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://visualvm.github.io/"},"VisualVM")," \u8fdc\u7a0b\u9700\u8981\u914d\u5408 jstatd \u4f7f\u7528"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://gceasy.io/"},"GCEasy\uff1a\u514d\u8d39 GC \u65e5\u5fd7\u53ef\u89c6\u5316\u5206\u6790 Web \u5de5\u5177")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://eclipse.dev/mat/downloads.php"},"Eclipse MAT\uff1aMemory Analyzer Tool \u53ef\u89c6\u5316\u5185\u5b58\u5206\u6790\u5de5\u5177")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://github.com/chewiebug/GCViewer"},"GCViewer\uff1a\u5f00\u6e90\u7684 GC \u65e5\u5fd7\u5206\u6790\u5de5\u5177")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://github.com/alibaba/arthas/blob/master/README_CN.md"}," Alibaba Arthas\uff1a\u7ebf\u4e0a Java \u7a0b\u5e8f\u8bca\u65ad\u5de5\u5177\uff0c\u529f\u80fd\u975e\u5e38\u5f3a\u5927"))))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/8fdf64da.ff509948.js b/assets/js/8fdf64da.2723ce8d.js similarity index 98% rename from assets/js/8fdf64da.ff509948.js rename to assets/js/8fdf64da.2723ce8d.js index 67c24a026..d59e4ff35 100644 --- a/assets/js/8fdf64da.ff509948.js +++ b/assets/js/8fdf64da.2723ce8d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[748],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c="API \u7f51\u5173",i={unversionedId:"study/back/API\u7f51\u5173/index",id:"study/back/API\u7f51\u5173/index",title:"API \u7f51\u5173",description:"\u53c2\u8003",source:"@site/docs/study/back/API\u7f51\u5173/index.md",sourceDirName:"study/back/API\u7f51\u5173",slug:"/study/back/API\u7f51\u5173/",permalink:"/docs/study/back/API\u7f51\u5173/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9ad8\u5e76\u53d1API",permalink:"/docs/study/back/\u9ad8\u5e76\u53d1API"},next:{title:"Apache APISIX",permalink:"/docs/study/back/API\u7f51\u5173/APISIX"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"api-\u7f51\u5173"},"API \u7f51\u5173"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/2YSP/p/14223892.html"},"\u535a\u5ba2\u56ed-\u5982\u4f55\u8bbe\u8ba1\u4e00\u4e2a\u9ad8\u6027\u80fd\u7f51\u5173"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[748],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c="API \u7f51\u5173",i={unversionedId:"study/back/API\u7f51\u5173/index",id:"study/back/API\u7f51\u5173/index",title:"API \u7f51\u5173",description:"\u53c2\u8003",source:"@site/docs/study/back/API\u7f51\u5173/index.md",sourceDirName:"study/back/API\u7f51\u5173",slug:"/study/back/API\u7f51\u5173/",permalink:"/docs/study/back/API\u7f51\u5173/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9ad8\u5e76\u53d1API",permalink:"/docs/study/back/\u9ad8\u5e76\u53d1API"},next:{title:"Apache APISIX",permalink:"/docs/study/back/API\u7f51\u5173/APISIX"}},l={},p=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"api-\u7f51\u5173"},"API \u7f51\u5173"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/2YSP/p/14223892.html"},"\u535a\u5ba2\u56ed-\u5982\u4f55\u8bbe\u8ba1\u4e00\u4e2a\u9ad8\u6027\u80fd\u7f51\u5173"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9062da7c.add5abc9.js b/assets/js/9062da7c.abd00543.js similarity index 98% rename from assets/js/9062da7c.add5abc9.js rename to assets/js/9062da7c.abd00543.js index ee1d7e424..ec90b7591 100644 --- a/assets/js/9062da7c.add5abc9.js +++ b/assets/js/9062da7c.abd00543.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9063],{15680:(e,r,t)=>{t.d(r,{xA:()=>i,yg:()=>m});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function s(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var l=n.createContext({}),d=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):s(s({},r),e)),t},i=function(e){var r=d(e.components);return n.createElement(l.Provider,{value:r},e.children)},u="mdxType",p={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,c=e.originalType,l=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),u=d(t),y=o,m=u["".concat(l,".").concat(y)]||u[y]||p[y]||c;return t?n.createElement(m,s(s({ref:r},i),{},{components:t})):n.createElement(m,s({ref:r},i))}));function m(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var c=t.length,s=new Array(c);s[0]=y;var a={};for(var l in r)hasOwnProperty.call(r,l)&&(a[l]=r[l]);a.originalType=e,a[u]="string"==typeof e?e:o,s[1]=a;for(var d=2;d{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>s,default:()=>p,frontMatter:()=>c,metadata:()=>a,toc:()=>d});var n=t(58168),o=(t(96540),t(15680));const c={},s="docker-mysql",a={unversionedId:"study/docker/docker-mysql",id:"study/docker/docker-mysql",title:"docker-mysql",description:"",source:"@site/docs/study/docker/docker-mysql.md",sourceDirName:"study/docker",slug:"/study/docker/docker-mysql",permalink:"/docs/study/docker/docker-mysql",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"docker-linux",permalink:"/docs/study/docker/docker-linux"},next:{title:"docker-network",permalink:"/docs/study/docker/docker-network"}},l={},d=[],i={toc:d},u="wrapper";function p(e){let{components:r,...t}=e;return(0,o.yg)(u,(0,n.A)({},i,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"docker-mysql"},"docker-mysql"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5982\u679c\u8fd8\u6ca1\u5b89\u88c5docker\u670d\u52a1\u7684\u8bdd(centos)\nyum install docker\n# \u5982\u679c\u8fd8\u6ca1\u542f\u52a8docker\u670d\u52a1\u7684\u8bdd\nsystemctl start docker\n#\ndocker pull mysql:8\n# \u7eaf\u7cb9\u5b66\u4e60\u4f7f\u7528\ndocker run -d \\\n-p 13306:3306 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n-e MYSQL_ROOT_PASSWORD=Aa0123 \\\n--name mysql-study \\\nmysql:8\n\n#\ndocker exec -it mysql-study bash\n#\nmysql -u root -p\n#\nuse mysql\nupdate user set authentication_string ='' where user = 'root';\nflush privileges;\nALTER user 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'Aa0123';\nALTER user 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Aa0123';\nflush privileges;\n\n#\ndocker stop mysql-study\ndocker rm mysql-study\n")))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9063],{15680:(e,r,t)=>{t.d(r,{xA:()=>i,yg:()=>m});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function s(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var l=n.createContext({}),d=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):s(s({},r),e)),t},i=function(e){var r=d(e.components);return n.createElement(l.Provider,{value:r},e.children)},u="mdxType",p={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,c=e.originalType,l=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),u=d(t),y=o,m=u["".concat(l,".").concat(y)]||u[y]||p[y]||c;return t?n.createElement(m,s(s({ref:r},i),{},{components:t})):n.createElement(m,s({ref:r},i))}));function m(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var c=t.length,s=new Array(c);s[0]=y;var a={};for(var l in r)hasOwnProperty.call(r,l)&&(a[l]=r[l]);a.originalType=e,a[u]="string"==typeof e?e:o,s[1]=a;for(var d=2;d{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>s,default:()=>p,frontMatter:()=>c,metadata:()=>a,toc:()=>d});var n=t(58168),o=(t(96540),t(15680));const c={},s="docker-mysql",a={unversionedId:"study/docker/docker-mysql",id:"study/docker/docker-mysql",title:"docker-mysql",description:"",source:"@site/docs/study/docker/docker-mysql.md",sourceDirName:"study/docker",slug:"/study/docker/docker-mysql",permalink:"/docs/study/docker/docker-mysql",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"docker-linux",permalink:"/docs/study/docker/docker-linux"},next:{title:"docker-network",permalink:"/docs/study/docker/docker-network"}},l={},d=[],i={toc:d},u="wrapper";function p(e){let{components:r,...t}=e;return(0,o.yg)(u,(0,n.A)({},i,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"docker-mysql"},"docker-mysql"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u5982\u679c\u8fd8\u6ca1\u5b89\u88c5docker\u670d\u52a1\u7684\u8bdd(centos)\nyum install docker\n# \u5982\u679c\u8fd8\u6ca1\u542f\u52a8docker\u670d\u52a1\u7684\u8bdd\nsystemctl start docker\n#\ndocker pull mysql:8\n# \u7eaf\u7cb9\u5b66\u4e60\u4f7f\u7528\ndocker run -d \\\n-p 13306:3306 \\\n--privileged=true \\\n-e TZ=Asia/Shanghai \\\n-e MYSQL_ROOT_PASSWORD=Aa0123 \\\n--name mysql-study \\\nmysql:8\n\n#\ndocker exec -it mysql-study bash\n#\nmysql -u root -p\n#\nuse mysql\nupdate user set authentication_string ='' where user = 'root';\nflush privileges;\nALTER user 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'Aa0123';\nALTER user 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Aa0123';\nflush privileges;\n\n#\ndocker stop mysql-study\ndocker rm mysql-study\n")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/90f76576.4cc7dce3.js b/assets/js/90f76576.1401bded.js similarity index 98% rename from assets/js/90f76576.4cc7dce3.js rename to assets/js/90f76576.1401bded.js index c2c2630d1..badc6bf61 100644 --- a/assets/js/90f76576.4cc7dce3.js +++ b/assets/js/90f76576.1401bded.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1149],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),d=o,f=s["".concat(l,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",id:"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",title:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",description:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",source:"@site/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f"},next:{title:"\u6570\u5b57\u8bc1\u4e66",permalink:"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66"}},l={},p=[{value:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",id:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"},"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"DES\uff0c\u5df2\u88ab\u7834\u89e3\uff0c\u4e0d\u5efa\u8bae\u4f7f\u7528\uff0c\u662f\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u7684\u57fa\u77f3\uff0c\u5177\u6709\u5b66\u4e60\u4ef7\u503c"),(0,o.yg)("li",{parentName:"ul"},"3DES\uff0c\u65e9\u4e8e AES \u51fa\u73b0\uff0c\u7528\u6765\u4ee3\u66ff DES\uff0c\u8ba1\u7b97\u79d8\u94a5\u65f6\u95f4\u592a\u957f\uff0c\u52a0\u5bc6\u6548\u7387\u4e0d\u9ad8\uff0c\u6240\u4ee5\u57fa\u672c\u4e0d\u5728\u4f7f\u7528\uff0c\u9664\u975e\u4e00\u4e9b\u8001\u7684\u7cfb\u7edf\u517c\u5bb9"),(0,o.yg)("li",{parentName:"ul"},"AES\uff0c\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u4e2d\u6027\u80fd\u6700\u9ad8\u7684\uff0c\u901f\u5ea6\u5feb\uff0c\u5b89\u5168\u7ea7\u522b\u9ad8\uff0c\u662f\u73b0\u5728\u6700\u6d41\u884c\u7684\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0cRijndael \u7b97\u6cd5\u662f AES \u7b97\u6cd5\u7684\u57fa\u7840\uff0cAES \u7b97\u6cd5\u662f Rijndael \u7b97\u6cd5\u7684\u4e00\u4e2a\u5177\u4f53\u5b9e\u73b0\uff0cAES \u7b97\u6cd5\u6709 5 \u79cd\u5bc6\u94a5\u957f\u5ea6\uff0c\u5206\u522b\u662f 128 \u4f4d\uff0c192 \u4f4d\uff0c256 \u4f4d"),(0,o.yg)("li",{parentName:"ul"},"IDEA\uff0c\u5e38\u7528\u7684\u7535\u5b50\u90ae\u4ef6\u52a0\u5bc6\u7b97\u6cd5"),(0,o.yg)("li",{parentName:"ul"},"PBE\uff0c\u4e0d\u63a8\u8350\u4f7f\u7528")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1149],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),d=o,f=s["".concat(l,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",id:"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",title:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",description:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",source:"@site/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f"},next:{title:"\u6570\u5b57\u8bc1\u4e66",permalink:"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66"}},l={},p=[{value:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",id:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"},"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"DES\uff0c\u5df2\u88ab\u7834\u89e3\uff0c\u4e0d\u5efa\u8bae\u4f7f\u7528\uff0c\u662f\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u7684\u57fa\u77f3\uff0c\u5177\u6709\u5b66\u4e60\u4ef7\u503c"),(0,o.yg)("li",{parentName:"ul"},"3DES\uff0c\u65e9\u4e8e AES \u51fa\u73b0\uff0c\u7528\u6765\u4ee3\u66ff DES\uff0c\u8ba1\u7b97\u79d8\u94a5\u65f6\u95f4\u592a\u957f\uff0c\u52a0\u5bc6\u6548\u7387\u4e0d\u9ad8\uff0c\u6240\u4ee5\u57fa\u672c\u4e0d\u5728\u4f7f\u7528\uff0c\u9664\u975e\u4e00\u4e9b\u8001\u7684\u7cfb\u7edf\u517c\u5bb9"),(0,o.yg)("li",{parentName:"ul"},"AES\uff0c\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u4e2d\u6027\u80fd\u6700\u9ad8\u7684\uff0c\u901f\u5ea6\u5feb\uff0c\u5b89\u5168\u7ea7\u522b\u9ad8\uff0c\u662f\u73b0\u5728\u6700\u6d41\u884c\u7684\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0cRijndael \u7b97\u6cd5\u662f AES \u7b97\u6cd5\u7684\u57fa\u7840\uff0cAES \u7b97\u6cd5\u662f Rijndael \u7b97\u6cd5\u7684\u4e00\u4e2a\u5177\u4f53\u5b9e\u73b0\uff0cAES \u7b97\u6cd5\u6709 5 \u79cd\u5bc6\u94a5\u957f\u5ea6\uff0c\u5206\u522b\u662f 128 \u4f4d\uff0c192 \u4f4d\uff0c256 \u4f4d"),(0,o.yg)("li",{parentName:"ul"},"IDEA\uff0c\u5e38\u7528\u7684\u7535\u5b50\u90ae\u4ef6\u52a0\u5bc6\u7b97\u6cd5"),(0,o.yg)("li",{parentName:"ul"},"PBE\uff0c\u4e0d\u63a8\u8350\u4f7f\u7528")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9112f769.d7dd6141.js b/assets/js/9112f769.d7dd6141.js new file mode 100644 index 000000000..7b3034f0a --- /dev/null +++ b/assets/js/9112f769.d7dd6141.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8618],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),i=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=i(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||a;return r?n.createElement(d,c(c({ref:t},p),{},{components:r})):n.createElement(d,c({ref:t},p))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,c[1]=l;for(var i=2;i{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>l,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,l={unversionedId:"study/stock/\u9053",id:"study/stock/\u9053",title:"\u9053",description:"\u77e5\u884c\u5408\u4e00",source:"@site/docs/study/stock/\u9053.md",sourceDirName:"study/stock",slug:"/study/stock/\u9053",permalink:"/docs/study/stock/\u9053",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},i=[],p={toc:i},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u77e5\u884c\u5408\u4e00"),(0,o.yg)("p",null,"\u94c1\u5f8b\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"3+3 \u6216 4+3\uff0c\u4e0d\u80fd\u8d85\u8fc7 7 \u6210"),(0,o.yg)("li",{parentName:"ul"},"\u4e0a\u6da8\u901a\u9053\u7684\u7b2c\u4e00\u6b21\u56de\u8c03\u7684\u4f4e\u70b9\u4e70\u5165\uff0c\u8bbe\u7f6e\u6b62\u635f\u4f4d\uff0c\u4e0d\u7834\u524d\u9ad8\u5fc5\u51fa\uff0c\u957f\u9634\u5168\u51fa\uff0c\u77ed\u9634\u51fa\u4e00\u534a"),(0,o.yg)("li",{parentName:"ul"},"\u8d44\u91d1\u4f7f\u7528\u4e0d\u80fd\u6709\u671f\u9650"),(0,o.yg)("li",{parentName:"ul"},"\u5fc5\u987b\u8bbe\u7f6e\u6b62\u635f\u4f4d")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/916bb7d8.faae9324.js b/assets/js/916bb7d8.c7efa819.js similarity index 98% rename from assets/js/916bb7d8.faae9324.js rename to assets/js/916bb7d8.c7efa819.js index dc39c23f0..e4300cf5b 100644 --- a/assets/js/916bb7d8.faae9324.js +++ b/assets/js/916bb7d8.c7efa819.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4056],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=o,f=s["".concat(p,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c="\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5",i={unversionedId:"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3",id:"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3",title:"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5",description:"\u9488\u5bf9\u5bc6\u7801\u5b58\u50a8\u7684\u52a0\u5bc6\u7b97\u6cd5",source:"@site/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u52a0\u89e3\u5bc6\u670d\u52a1",permalink:"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1"},next:{title:"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5"},"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5"),(0,o.yg)("p",null,"\u9488\u5bf9\u5bc6\u7801\u5b58\u50a8\u7684\u52a0\u5bc6\u7b97\u6cd5"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/410896683"},"\u77e5\u4e4e-\u5bc6\u7801\u5b66\u7cfb\u5217\u4e4b:bcrypt \u52a0\u5bc6\u7b97\u6cd5\u8be6\u89e3"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4056],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=o,f=s["".concat(p,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c="\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5",i={unversionedId:"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3",id:"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3",title:"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5",description:"\u9488\u5bf9\u5bc6\u7801\u5b58\u50a8\u7684\u52a0\u5bc6\u7b97\u6cd5",source:"@site/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u52a0\u89e3\u5bc6\u670d\u52a1",permalink:"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1"},next:{title:"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5"},"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5"),(0,o.yg)("p",null,"\u9488\u5bf9\u5bc6\u7801\u5b58\u50a8\u7684\u52a0\u5bc6\u7b97\u6cd5"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/410896683"},"\u77e5\u4e4e-\u5bc6\u7801\u5b66\u7cfb\u5217\u4e4b:bcrypt \u52a0\u5bc6\u7b97\u6cd5\u8be6\u89e3"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/917fe9d9.fd54574d.js b/assets/js/917fe9d9.e6d71eba.js similarity index 98% rename from assets/js/917fe9d9.fd54574d.js rename to assets/js/917fe9d9.e6d71eba.js index 54303e513..70bfa9e9e 100644 --- a/assets/js/917fe9d9.fd54574d.js +++ b/assets/js/917fe9d9.e6d71eba.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3353],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),i=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=i(e.components);return n.createElement(u.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),y=i(r),p=o,f=y["".concat(u,".").concat(p)]||y[p]||d[p]||a;return r?n.createElement(f,s(s({ref:t},l),{},{components:r})):n.createElement(f,s({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=p;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c[y]="string"==typeof e?e:o,s[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},s=void 0,c={unversionedId:"study/system/yum-dnf",id:"study/system/yum-dnf",title:"yum-dnf",description:"yum",source:"@site/docs/study/system/yum-dnf.md",sourceDirName:"study/system",slug:"/study/system/yum-dnf",permalink:"/docs/study/system/yum-dnf",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"shell\u7f16\u7a0b\u667aexpect",permalink:"/docs/study/system/shell\u7f16\u7a0b\u667aexpect"},next:{title:"\u5185\u5b58\u7ba1\u7406",permalink:"/docs/study/system/\u5185\u5b58\u7ba1\u7406"}},u={},i=[{value:"yum",id:"yum",level:3},{value:"dnf",id:"dnf",level:3}],l={toc:i},y="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(y,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"yum"},"yum"),(0,o.yg)("h3",{id:"dnf"},"dnf"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3353],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),i=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=i(e.components);return n.createElement(u.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),y=i(r),p=o,f=y["".concat(u,".").concat(p)]||y[p]||d[p]||a;return r?n.createElement(f,s(s({ref:t},l),{},{components:r})):n.createElement(f,s({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=p;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c[y]="string"==typeof e?e:o,s[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},s=void 0,c={unversionedId:"study/system/yum-dnf",id:"study/system/yum-dnf",title:"yum-dnf",description:"yum",source:"@site/docs/study/system/yum-dnf.md",sourceDirName:"study/system",slug:"/study/system/yum-dnf",permalink:"/docs/study/system/yum-dnf",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"shell\u7f16\u7a0b\u667aexpect",permalink:"/docs/study/system/shell\u7f16\u7a0b\u667aexpect"},next:{title:"\u5185\u5b58\u7ba1\u7406",permalink:"/docs/study/system/\u5185\u5b58\u7ba1\u7406"}},u={},i=[{value:"yum",id:"yum",level:3},{value:"dnf",id:"dnf",level:3}],l={toc:i},y="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(y,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"yum"},"yum"),(0,o.yg)("h3",{id:"dnf"},"dnf"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.165993e1.js b/assets/js/935f2afb.c8f376aa.js similarity index 89% rename from assets/js/935f2afb.165993e1.js rename to assets/js/935f2afb.c8f376aa.js index b8c1274b3..39fb2cc56 100644 --- a/assets/js/935f2afb.165993e1.js +++ b/assets/js/935f2afb.c8f376aa.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8581],{35610:d=>{d.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"studySidebar":[{"type":"link","label":"\u5b66\u65e0\u6b62\u5883","href":"/docs/study/","docId":"study/index"},{"type":"category","label":"\u524d\u7aef","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/fe/","docId":"study/fe/index"},{"type":"link","label":"\u524d\u7aef\u6a21\u5757\u5316","href":"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316","docId":"study/fe/\u524d\u7aef\u6a21\u5757\u5316"},{"type":"link","label":"ARMS\u524d\u7aef\u76d1\u63a7","href":"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7","docId":"study/fe/ARMS\u524d\u7aef\u76d1\u63a7"},{"type":"link","label":"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","href":"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","docId":"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55"},{"type":"link","label":"TypeScript\u8bed\u6cd5\u56fe","href":"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe","docId":"study/fe/TypeScript\u8bed\u6cd5\u56fe"},{"type":"link","label":"WebGL","href":"/docs/study/fe/WebGL","docId":"study/fe/WebGL"},{"type":"link","label":"mqtt.js","href":"/docs/study/fe/mqtt.js","docId":"study/fe/mqtt.js"},{"type":"link","label":"\u4e0b\u8f7d\u56fe\u7247","href":"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247","docId":"study/fe/\u4e0b\u8f7d\u56fe\u7247"},{"type":"link","label":"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","href":"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","docId":"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u540e\u7aef","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/back/","docId":"study/back/index"},{"type":"link","label":"Zookeeper","href":"/docs/study/back/Zookeeper","docId":"study/back/Zookeeper"},{"type":"link","label":"\u9ad8\u5e76\u53d1API","href":"/docs/study/back/\u9ad8\u5e76\u53d1API","docId":"study/back/\u9ad8\u5e76\u53d1API"},{"type":"category","label":"API \u7f51\u5173","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Apache APISIX","href":"/docs/study/back/API\u7f51\u5173/APISIX","docId":"study/back/API\u7f51\u5173/APISIX"},{"type":"link","label":"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","href":"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","docId":"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316"},{"type":"link","label":"OpenResty","href":"/docs/study/back/API\u7f51\u5173/OpenResty","docId":"study/back/API\u7f51\u5173/OpenResty"}],"href":"/docs/study/back/API\u7f51\u5173/"},{"type":"category","label":"IEDA","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Maven","href":"/docs/study/back/IEDA/Maven","docId":"study/back/IEDA/Maven"},{"type":"link","label":"encoding","href":"/docs/study/back/IEDA/encoding","docId":"study/back/IEDA/encoding"},{"type":"link","label":"File and Code Templates","href":"/docs/study/back/IEDA/fileandcodetemplates","docId":"study/back/IEDA/fileandcodetemplates"},{"type":"link","label":"Save Action","href":"/docs/study/back/IEDA/save-action","docId":"study/back/IEDA/save-action"},{"type":"link","label":"\u4f7f\u7528\u95ee\u9898","href":"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898","docId":"study/back/IEDA/\u4f7f\u7528\u95ee\u9898"}]},{"type":"category","label":"JavaWeb\u670d\u52a1\u5668","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Jetty\u4f18\u5316","href":"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316","docId":"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316"},{"type":"link","label":"Tomcat\u4f18\u5316","href":"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316","docId":"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316"},{"type":"link","label":"Undertow\u4f18\u5316","href":"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316","docId":"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316"}]},{"type":"link","label":"Keepalived","href":"/docs/study/back/Keepalived","docId":"study/back/Keepalived"},{"type":"link","label":"POST\u7f16\u7801\u683c\u5f0f","href":"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f","docId":"study/back/POST\u7f16\u7801\u683c\u5f0f"},{"type":"link","label":"WSL","href":"/docs/study/back/WSL","docId":"study/back/WSL"},{"type":"category","label":"maven","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","href":"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","docId":"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e"},{"type":"link","label":"mvnw","href":"/docs/study/back/maven/mvnw","docId":"study/back/maven/mvnw"},{"type":"link","label":"\u5e38\u7528\u53c2\u6570","href":"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570","docId":"study/back/maven/\u5e38\u7528\u53c2\u6570"},{"type":"link","label":"\u6784\u5efaDocker","href":"/docs/study/back/maven/\u6784\u5efaDocker","docId":"study/back/maven/\u6784\u5efaDocker"}]},{"type":"category","label":"mq","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Kafka","href":"/docs/study/back/mq/Kafka","docId":"study/back/mq/Kafka"},{"type":"link","label":"MQTT broker","href":"/docs/study/back/mq/MQTT broker","docId":"study/back/mq/MQTT broker"},{"type":"link","label":"MQ\u5b9e\u73b0\u5bf9\u6bd4","href":"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4","docId":"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4"},{"type":"link","label":"RocketMQ","href":"/docs/study/back/mq/RocketMQ","docId":"study/back/mq/RocketMQ"}]},{"type":"category","label":"spring","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"@Configuration","href":"/docs/study/back/spring/@Configuration","docId":"study/back/spring/@Configuration"},{"type":"link","label":"@Resource@Autowired","href":"/docs/study/back/spring/@Resource@Autowired","docId":"study/back/spring/@Resource@Autowired"},{"type":"link","label":"Spring AOP","href":"/docs/study/back/spring/SpringAOP","docId":"study/back/spring/SpringAOP"},{"type":"link","label":"Spring Boot","href":"/docs/study/back/spring/SpringBoot","docId":"study/back/spring/SpringBoot"},{"type":"link","label":"Spirng Framework","href":"/docs/study/back/spring/SpringFramework","docId":"study/back/spring/SpringFramework"},{"type":"link","label":"Spring Security","href":"/docs/study/back/spring/SpringSecurity","docId":"study/back/spring/SpringSecurity"},{"type":"link","label":"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","href":"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","docId":"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3"}]},{"type":"category","label":"springcloud","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"SpringCloud\u4e94\u5927\u7ec4\u4ef6","href":"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6","docId":"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6"},{"type":"link","label":"nacos","href":"/docs/study/back/springcloud/nacos","docId":"study/back/springcloud/nacos"},{"type":"link","label":"\u5fae\u670d\u52a1","href":"/docs/study/back/springcloud/\u5fae\u670d\u52a1","docId":"study/back/springcloud/\u5fae\u670d\u52a1"}]},{"type":"link","label":"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","href":"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","docId":"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"},{"type":"category","label":"\u4fe1\u606f\u5b89\u5168","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Oauth2","href":"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2","docId":"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2"},{"type":"link","label":"\u8ba4\u8bc1","href":"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1","docId":"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1"},{"type":"link","label":"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","href":"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","docId":"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb"}]},{"type":"category","label":"\u6570\u636e\u5e93\u76f8\u5173","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"JPA-MyBatis","href":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis","docId":"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis"},{"type":"link","label":"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","href":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","docId":"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60"},{"type":"link","label":"MyBatis","href":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis","docId":"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis"},{"type":"link","label":"log4jdbc","href":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc","docId":"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc"}]},{"type":"link","label":"\u9519\u8bef\u6392\u9664\u96c6\u9526","href":"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526","docId":"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u6570\u636e\u5e93","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/db/","docId":"study/db/index"},{"type":"link","label":"\u7efc\u5408","href":"/docs/study/db/\u7efc\u5408","docId":"study/db/\u7efc\u5408"},{"type":"category","label":"NewSQL","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"TiDB","href":"/docs/study/db/NewSQL/TiDB","docId":"study/db/NewSQL/TiDB"}]},{"type":"category","label":"NoSQL","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Cassandra","href":"/docs/study/db/NoSQL/Cassandra","docId":"study/db/NoSQL/Cassandra"},{"type":"link","label":"Etcd","href":"/docs/study/db/NoSQL/Etcd","docId":"study/db/NoSQL/Etcd"},{"type":"link","label":"Hadoop","href":"/docs/study/db/NoSQL/Hadoop","docId":"study/db/NoSQL/Hadoop"},{"type":"link","label":"Hbase","href":"/docs/study/db/NoSQL/Hbase","docId":"study/db/NoSQL/Hbase"},{"type":"link","label":"Ignite","href":"/docs/study/db/NoSQL/Ignite","docId":"study/db/NoSQL/Ignite"},{"type":"link","label":"MongoDB","href":"/docs/study/db/NoSQL/MongoDB","docId":"study/db/NoSQL/MongoDB"},{"type":"link","label":"Redis","href":"/docs/study/db/NoSQL/Redis","docId":"study/db/NoSQL/Redis"}]},{"type":"category","label":"OLAP","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u7efc\u5408\u6982\u8ff0","href":"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0","docId":"study/db/OLAP/\u7efc\u5408\u6982\u8ff0"},{"type":"link","label":"ClickHouse","href":"/docs/study/db/OLAP/ClickHouse","docId":"study/db/OLAP/ClickHouse"},{"type":"link","label":"Kylin","href":"/docs/study/db/OLAP/Kylin","docId":"study/db/OLAP/Kylin"},{"type":"link","label":"StarRocks","href":"/docs/study/db/OLAP/StarRocks","docId":"study/db/OLAP/StarRocks"}]},{"type":"category","label":"SQL","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u7efc\u5408\u6982\u8ff0","href":"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0","docId":"study/db/SQL/\u7efc\u5408\u6982\u8ff0"},{"type":"link","label":"Kingbase","href":"/docs/study/db/SQL/Kingbase","docId":"study/db/SQL/Kingbase"},{"type":"link","label":"MariaDB","href":"/docs/study/db/SQL/MariaDB","docId":"study/db/SQL/MariaDB"},{"type":"link","label":"MySQL \u7b14\u8bb0","href":"/docs/study/db/SQL/MySQL-\u7b14\u8bb0","docId":"study/db/SQL/MySQL-\u7b14\u8bb0"},{"type":"link","label":"MySQL","href":"/docs/study/db/SQL/MySQL","docId":"study/db/SQL/MySQL"},{"type":"link","label":"OpenGauss","href":"/docs/study/db/SQL/OpenGauss","docId":"study/db/SQL/OpenGauss"},{"type":"link","label":"PostgreSQL","href":"/docs/study/db/SQL/PostgreSQL","docId":"study/db/SQL/PostgreSQL"},{"type":"link","label":"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","href":"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","docId":"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72"},{"type":"link","label":"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","href":"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","docId":"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72"},{"type":"link","label":"\u8fbe\u68a6\u6570\u636e\u5e93","href":"/docs/study/db/SQL/\u8fbe\u68a6","docId":"study/db/SQL/\u8fbe\u68a6"}]},{"type":"category","label":"\u5168\u6587\u641c\u7d22\u5f15\u64ce","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u7efc\u5408\u6982\u8ff0","href":"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0","docId":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0"},{"type":"link","label":"Elasticsearch","href":"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch","docId":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch"}]},{"type":"category","label":"\u65f6\u5e8f\u6570\u636e\u5e93","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"InfluxDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB"},{"type":"link","label":"TDengine","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine"},{"type":"link","label":"Apache IoTDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB"},{"type":"link","label":"Druid","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid"},{"type":"link","label":"KairosDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB"},{"type":"link","label":"OpenTSDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB"},{"type":"link","label":"TimescaleDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB"}]},{"type":"category","label":"\u9a71\u52a8","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Apache ShardingSphere","href":"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere","docId":"study/db/\u9a71\u52a8/ApacheShardingSphere"}]}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7f16\u7a0b\u8bed\u8a00/\u5de5\u5177","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/program/","docId":"study/program/index"},{"type":"category","label":"Java","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"GC","href":"/docs/study/program/JAVA/GC","docId":"study/program/JAVA/GC"},{"type":"link","label":"GraalVM","href":"/docs/study/program/JAVA/GraalVM","docId":"study/program/JAVA/GraalVM"},{"type":"link","label":"Guice","href":"/docs/study/program/JAVA/Guice","docId":"study/program/JAVA/Guice"},{"type":"link","label":"JDK17-bin","href":"/docs/study/program/JAVA/JDK17-bin","docId":"study/program/JAVA/JDK17-bin"},{"type":"link","label":"JDK17","href":"/docs/study/program/JAVA/JDK17","docId":"study/program/JAVA/JDK17"},{"type":"link","label":"JDK21","href":"/docs/study/program/JAVA/JDK21","docId":"study/program/JAVA/JDK21"},{"type":"link","label":"JDK8","href":"/docs/study/program/JAVA/JDK8","docId":"study/program/JAVA/JDK8"},{"type":"link","label":"JNI","href":"/docs/study/program/JAVA/JNI","docId":"study/program/JAVA/JNI"},{"type":"link","label":"Maven","href":"/docs/study/program/JAVA/Maven","docId":"study/program/JAVA/Maven"},{"type":"link","label":"OpenJ9","href":"/docs/study/program/JAVA/OepnJ9","docId":"study/program/JAVA/OepnJ9"},{"type":"link","label":"RxJava","href":"/docs/study/program/JAVA/RxJava","docId":"study/program/JAVA/RxJava"},{"type":"link","label":"Vert.x","href":"/docs/study/program/JAVA/Vert.x","docId":"study/program/JAVA/Vert.x"},{"type":"link","label":"\u4ee3\u7801\u751f\u6210","href":"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210","docId":"study/program/JAVA/\u4ee3\u7801\u751f\u6210"},{"type":"link","label":"\u9501\uff08\u591a\u7ebf\u7a0b\uff09","href":"/docs/study/program/JAVA/\u9501","docId":"study/program/JAVA/\u9501"}],"href":"/docs/study/program/JAVA/"},{"type":"link","label":"ABIAPI","href":"/docs/study/program/ABIAPI","docId":"study/program/ABIAPI"},{"type":"category","label":"C C++ \u7f16\u7a0b\u8bed\u8a00","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"C\u8bed\u8a00\u6807\u51c6\u5e93","href":"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93","docId":"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93"},{"type":"link","label":"C\u8bed\u8a00\u7248\u672c","href":"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c","docId":"study/program/C/C\u8bed\u8a00\u7248\u672c"},{"type":"link","label":"MFC-WinForm-WPF-DotNet\u7b49","href":"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49","docId":"study/program/C/MFC-WinForm-WPF-DotNet\u7b49"},{"type":"link","label":"MinGW_CygWin","href":"/docs/study/program/C/MinGW_CygWin","docId":"study/program/C/MinGW_CygWin"},{"type":"link","label":"cmake","href":"/docs/study/program/C/cmake","docId":"study/program/C/cmake"},{"type":"link","label":"extern-c","href":"/docs/study/program/C/extern-c","docId":"study/program/C/extern-c"},{"type":"link","label":"make","href":"/docs/study/program/C/make","docId":"study/program/C/make"},{"type":"link","label":"pragma","href":"/docs/study/program/C/pragma","docId":"study/program/C/pragma"},{"type":"link","label":"size_t-ptrdiff_t-intptr_t-uintptr_t","href":"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t","docId":"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t"},{"type":"link","label":"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","href":"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","docId":"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93"},{"type":"link","label":"\u6784\u5efa\u5de5\u5177","href":"/docs/study/program/C/\u6784\u5efa\u5de5\u5177","docId":"study/program/C/\u6784\u5efa\u5de5\u5177"},{"type":"link","label":"\u865a\u62df\u7f51\u5361","href":"/docs/study/program/C/\u865a\u62df\u7f51\u5361","docId":"study/program/C/\u865a\u62df\u7f51\u5361"}],"href":"/docs/study/program/C/"},{"type":"category","label":"C++","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CGI","href":"/docs/study/program/CPP/CGI","docId":"study/program/CPP/CGI"},{"type":"link","label":"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1","href":"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1","docId":"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1"}],"href":"/docs/study/program/CPP/"},{"type":"link","label":"CSharp","href":"/docs/study/program/CSharp/","docId":"study/program/CSharp/index"},{"type":"category","label":"Dart","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Flutter","href":"/docs/study/program/Dart/Flutter","docId":"study/program/Dart/Flutter"},{"type":"link","label":"Dart \u5b66\u4e60\u8d44\u6599","href":"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599","docId":"study/program/Dart/\u5b66\u4e60\u8d44\u6599"}]},{"type":"category","label":"ETL","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"dataX","href":"/docs/study/program/ETL/dataX","docId":"study/program/ETL/dataX"},{"type":"link","label":"flume","href":"/docs/study/program/ETL/flume","docId":"study/program/ETL/flume"},{"type":"link","label":"kettle","href":"/docs/study/program/ETL/kettle","docId":"study/program/ETL/kettle"},{"type":"link","label":"sqoop","href":"/docs/study/program/ETL/sqoop","docId":"study/program/ETL/sqoop"}]},{"type":"link","label":"Erlang","href":"/docs/study/program/Erlang/","docId":"study/program/Erlang/index"},{"type":"category","label":"GIT","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"GIT-\u5e38\u7528\u547d\u4ee4","href":"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4","docId":"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4"},{"type":"link","label":"GitHub Desktop","href":"/docs/study/program/GIT/GitHubDesktop","docId":"study/program/GIT/GitHubDesktop"},{"type":"link","label":"PR\u548cMR","href":"/docs/study/program/GIT/PR\u548cMR","docId":"study/program/GIT/PR\u548cMR"}]},{"type":"category","label":"Golang","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CGO","href":"/docs/study/program/Golang/CGO","docId":"study/program/Golang/CGO"},{"type":"link","label":"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","href":"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","docId":"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406"},{"type":"link","label":"\u5e38\u7528\u7684\u5de5\u5177","href":"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177","docId":"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177"},{"type":"link","label":"\u5e38\u7528\u7684\u6846\u67b6","href":"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6","docId":"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6"}],"href":"/docs/study/program/Golang/"},{"type":"category","label":"JS","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"npm","href":"/docs/study/program/JS/npm","docId":"study/program/JS/npm"},{"type":"link","label":"npx","href":"/docs/study/program/JS/npx","docId":"study/program/JS/npx"},{"type":"link","label":"nrm","href":"/docs/study/program/JS/nrm","docId":"study/program/JS/nrm"}]},{"type":"link","label":"Kotlin","href":"/docs/study/program/Kotlin/","docId":"study/program/Kotlin/index"},{"type":"link","label":"Lua","href":"/docs/study/program/Lua/","docId":"study/program/Lua/index"},{"type":"link","label":"Rust","href":"/docs/study/program/Rust/","docId":"study/program/Rust/index"},{"type":"link","label":"\u6280\u672f\u6587\u6863","href":"/docs/study/program/\u6280\u672f\u6587\u6863","docId":"study/program/\u6280\u672f\u6587\u6863"},{"type":"link","label":"\u7f16\u8bd1\u5668","href":"/docs/study/program/\u7f16\u8bd1\u5668","docId":"study/program/\u7f16\u8bd1\u5668"},{"type":"link","label":"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","href":"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","docId":"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7cfb\u7edf\u8fd0\u7ef4","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/devops/","docId":"study/devops/index"},{"type":"link","label":"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","href":"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","docId":"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790"},{"type":"link","label":"Linux\u53d1\u884c\u7248","href":"/docs/study/devops/Linux\u53d1\u884c\u7248","docId":"study/devops/Linux\u53d1\u884c\u7248"},{"type":"link","label":"Linux\u8fd0\u7ef4-GRUB","href":"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB","docId":"study/devops/Linux\u8fd0\u7ef4-GRUB"},{"type":"link","label":"Linux\u8fd0\u7ef4-proc","href":"/docs/study/devops/Linux\u8fd0\u7ef4-proc","docId":"study/devops/Linux\u8fd0\u7ef4-proc"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u5e38\u7528","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528","docId":"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","docId":"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","docId":"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","docId":"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u81ea\u542f","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f","docId":"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","docId":"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1"},{"type":"link","label":"SHELL","href":"/docs/study/devops/SHELL","docId":"study/devops/SHELL"},{"type":"link","label":"ansible","href":"/docs/study/devops/ansible","docId":"study/devops/ansible"},{"type":"link","label":"centos-nginx","href":"/docs/study/devops/centos-gninx-app","docId":"study/devops/centos-gninx-app"},{"type":"link","label":"centos-jdk17-app","href":"/docs/study/devops/centos-jdk17-app","docId":"study/devops/centos-jdk17-app"},{"type":"link","label":"jar\u8fd0\u7ef4-\u76d1\u63a7","href":"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7","docId":"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7"},{"type":"link","label":"ssh","href":"/docs/study/devops/ssh","docId":"study/devops/ssh"},{"type":"link","label":"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","href":"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","docId":"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u786c\u4ef6/\u5d4c\u5165\u5f0f","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/hard/","docId":"study/hard/index"},{"type":"link","label":"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","href":"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","docId":"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a"},{"type":"link","label":"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","href":"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","docId":"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1"},{"type":"link","label":"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","href":"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","docId":"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b"},{"type":"link","label":"\u901a\u4fe1\u6a21\u7ec4","href":"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4","docId":"study/hard/\u901a\u4fe1\u6a21\u7ec4"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7f16\u7a0b\u601d\u60f3","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/think/","docId":"study/think/index"},{"type":"link","label":"\u8bbe\u8ba1\u6a21\u5f0f","href":"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f","docId":"study/think/\u8bbe\u8ba1\u6a21\u5f0f"},{"type":"link","label":"IT_CT_OT","href":"/docs/study/think/IT_CT_OT","docId":"study/think/IT_CT_OT"},{"type":"category","label":"\u4ee3\u7801\u8bc4\u5ba1","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","href":"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","docId":"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177"},{"type":"link","label":"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","href":"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","docId":"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c"}]},{"type":"link","label":"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","href":"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","docId":"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5"},{"type":"link","label":"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","href":"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","docId":"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink"},{"type":"link","label":"\u5e76\u53d1\u6a21\u578b","href":"/docs/study/think/\u5e76\u53d1\u6a21\u578b","docId":"study/think/\u5e76\u53d1\u6a21\u578b"},{"type":"category","label":"\u67b6\u6784","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CAP\u7406\u8bba","href":"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba","docId":"study/think/\u67b6\u6784/CAP\u7406\u8bba"},{"type":"link","label":"\u5f02\u5730\u591a\u6d3b\u67b6\u6784","href":"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784","docId":"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784"},{"type":"link","label":"\u6280\u672f\u4e2d\u53f0","href":"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0","docId":"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0"},{"type":"link","label":"\u67b6\u6784\u56fe\u793a\u4f8b","href":"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b","docId":"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b"},{"type":"link","label":"\u8d1f\u8f7d\u5747\u8861","href":"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861","docId":"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861"},{"type":"link","label":"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","href":"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","docId":"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f"}],"href":"/docs/study/think/\u67b6\u6784/"},{"type":"category","label":"\u6982\u5ff5\u6a21\u578b","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Actor Model","href":"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model","docId":"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model"},{"type":"link","label":"Proactor","href":"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor","docId":"study/think/\u6982\u5ff5\u6a21\u578b/Proactor"},{"type":"link","label":"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","href":"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","docId":"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f"}]},{"type":"category","label":"\u7f13\u5b58","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u5206\u5e03\u5f0f\u7f13\u5b58","href":"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58","docId":"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58"}],"href":"/docs/study/think/\u7f13\u5b58/"},{"type":"link","label":"\u8c08\u5de5\u4f5c\u5fc3\u5f97","href":"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97","docId":"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97"},{"type":"link","label":"\u9650\u6d41","href":"/docs/study/think/\u9650\u6d41","docId":"study/think/\u9650\u6d41"},{"type":"link","label":"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","href":"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","docId":"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD"}],"collapsed":true,"collapsible":true},{"type":"category","label":"Docker","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/docker/","docId":"study/docker/index"},{"type":"link","label":"Docker Compose","href":"/docs/study/docker/Docker-compose","docId":"study/docker/Docker-compose"},{"type":"link","label":"Docker Swarm","href":"/docs/study/docker/Docker-swarm","docId":"study/docker/Docker-swarm"},{"type":"link","label":"Dockerfile\u4f7f\u7528\u8be6\u89e3","href":"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3","docId":"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3"},{"type":"link","label":"Docker\u7684\u4f7f\u7528\u603b\u7ed3","href":"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3","docId":"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3"},{"type":"link","label":"docker-kafka","href":"/docs/study/docker/docker-kafka","docId":"study/docker/docker-kafka"},{"type":"link","label":"docker-linux","href":"/docs/study/docker/docker-linux","docId":"study/docker/docker-linux"},{"type":"link","label":"docker-mysql","href":"/docs/study/docker/docker-mysql","docId":"study/docker/docker-mysql"},{"type":"link","label":"docker-network","href":"/docs/study/docker/docker-network","docId":"study/docker/docker-network"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7ade\u54c1\u5206\u6790","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/competitive/","docId":"study/competitive/index"},{"type":"link","label":"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","href":"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","docId":"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76"},{"type":"link","label":"CMP-DMP-AEP-BAP","href":"/docs/study/competitive/CMP-DMP-AEP-BAP","docId":"study/competitive/CMP-DMP-AEP-BAP"},{"type":"link","label":"TP-LINK","href":"/docs/study/competitive/TP-LINK","docId":"study/competitive/TP-LINK"},{"type":"link","label":"ThingsCloud","href":"/docs/study/competitive/ThingsCloud","docId":"study/competitive/ThingsCloud"},{"type":"link","label":"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","href":"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","docId":"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u64cd\u4f5c\u7cfb\u7edf","items":[{"type":"link","label":"\u672a\u6574\u7406","href":"/docs/study/system/","docId":"study/system/index"},{"type":"link","label":"CPU\u7ebf\u7a0b\u5e76\u53d1","href":"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1","docId":"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1"},{"type":"link","label":"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6","href":"/docs/study/system/IO","docId":"study/system/IO"},{"type":"link","label":"Open\u6b27\u62c9","href":"/docs/study/system/Open\u6b27\u62c9","docId":"study/system/Open\u6b27\u62c9"},{"type":"link","label":"openWRT","href":"/docs/study/system/openWRT","docId":"study/system/openWRT"},{"type":"link","label":"shell\u7f16\u7a0b\u667aexpect","href":"/docs/study/system/shell\u7f16\u7a0b\u667aexpect","docId":"study/system/shell\u7f16\u7a0b\u667aexpect"},{"type":"link","label":"yum-dnf","href":"/docs/study/system/yum-dnf","docId":"study/system/yum-dnf"},{"type":"link","label":"\u5185\u5b58\u7ba1\u7406","href":"/docs/study/system/\u5185\u5b58\u7ba1\u7406","docId":"study/system/\u5185\u5b58\u7ba1\u7406"},{"type":"link","label":"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790","href":"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790","docId":"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790"},{"type":"link","label":"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","href":"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","docId":"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838"},{"type":"link","label":"\u7a0b\u5e8f\u8c03\u8bd5","href":"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5","docId":"study/system/\u7a0b\u5e8f\u8c03\u8bd5"},{"type":"link","label":"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","href":"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","docId":"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7f51\u7edc","items":[{"type":"link","label":"IPV6","href":"/docs/study/net/IPV6","docId":"study/net/IPV6"},{"type":"link","label":"Linux\u7f51\u7edc\u914d\u7f6e","href":"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e","docId":"study/net/Linux\u7f51\u7edc\u914d\u7f6e"},{"type":"link","label":"MacOS\u7f16\u8bd1OpenVPN","href":"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN","docId":"study/net/MacOS\u7f16\u8bd1OpenVPN"},{"type":"link","label":"OpenVPN","href":"/docs/study/net/OpenVPN","docId":"study/net/OpenVPN"},{"type":"link","label":"SNMP","href":"/docs/study/net/SNMP","docId":"study/net/SNMP"},{"type":"link","label":"TCP","href":"/docs/study/net/TCP","docId":"study/net/TCP"},{"type":"link","label":"UDP","href":"/docs/study/net/UDP","docId":"study/net/UDP"},{"type":"link","label":"VLAN-VXLAN","href":"/docs/study/net/VLAN-VXLAN","docId":"study/net/VLAN-VXLAN"},{"type":"link","label":"Linux ip \u547d\u4ee4","href":"/docs/study/net/ip","docId":"study/net/ip"},{"type":"link","label":"Linux iptables \u9632\u706b\u5899","href":"/docs/study/net/iptables","docId":"study/net/iptables"},{"type":"link","label":"Linux netns","href":"/docs/study/net/netns","docId":"study/net/netns"},{"type":"link","label":"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)","href":"/docs/study/net/p2p","docId":"study/net/p2p"},{"type":"link","label":"unix pfctl \u9632\u706b\u5899","href":"/docs/study/net/pfctl\u9632\u706b\u5899","docId":"study/net/pfctl\u9632\u706b\u5899"},{"type":"link","label":"route","href":"/docs/study/net/route","docId":"study/net/route"},{"type":"link","label":"Linux tc","href":"/docs/study/net/tc","docId":"study/net/tc"},{"type":"link","label":"tuntap","href":"/docs/study/net/tuntap","docId":"study/net/tuntap"},{"type":"link","label":"vpn","href":"/docs/study/net/vpn","docId":"study/net/vpn"},{"type":"link","label":"\u4ee3\u7406","href":"/docs/study/net/\u4ee3\u7406","docId":"study/net/\u4ee3\u7406"},{"type":"link","label":"\u5185\u7f51\u7a7f\u900f","href":"/docs/study/net/\u5185\u7f51\u7a7f\u900f","docId":"study/net/\u5185\u7f51\u7a7f\u900f"},{"type":"link","label":"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","href":"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","docId":"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4"},{"type":"link","label":"\u5f02\u5730\u7ec4\u7f51","href":"/docs/study/net/\u5f02\u5730\u7ec4\u7f51","docId":"study/net/\u5f02\u5730\u7ec4\u7f51"},{"type":"link","label":"\u6293\u5305\u5de5\u5177","href":"/docs/study/net/\u6293\u5305\u5de5\u5177","docId":"study/net/\u6293\u5305\u5de5\u5177"},{"type":"link","label":"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","href":"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","docId":"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u52a0\u89e3\u5bc6","items":[{"type":"link","label":"ASN.1","href":"/docs/study/encryption/ASN.1","docId":"study/encryption/ASN.1"},{"type":"link","label":"ECC \u548c RSA","href":"/docs/study/encryption/ECC-RSA","docId":"study/encryption/ECC-RSA"},{"type":"link","label":"HSM","href":"/docs/study/encryption/HSM","docId":"study/encryption/HSM"},{"type":"link","label":"OpenSSL","href":"/docs/study/encryption/OpenSSL","docId":"study/encryption/OpenSSL"},{"type":"link","label":"PKCS","href":"/docs/study/encryption/PKCS","docId":"study/encryption/PKCS"},{"type":"link","label":"PKI","href":"/docs/study/encryption/PKI","docId":"study/encryption/PKI"},{"type":"link","label":"SSL TLS HTTPS","href":"/docs/study/encryption/SSL_TLS","docId":"study/encryption/SSL_TLS"},{"type":"link","label":"\u52a0\u89e3\u5bc6","href":"/docs/study/encryption/","docId":"study/encryption/index"},{"type":"link","label":"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","href":"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","docId":"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5"},{"type":"link","label":"\u52a0\u89e3\u5bc6\u670d\u52a1","href":"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1","docId":"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1"},{"type":"link","label":"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5","href":"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3","docId":"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3"},{"type":"link","label":"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","href":"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","docId":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f"},{"type":"link","label":"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","href":"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","docId":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"},{"type":"link","label":"\u6570\u5b57\u8bc1\u4e66","href":"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66","docId":"study/encryption/\u6570\u5b57\u8bc1\u4e66"},{"type":"link","label":"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","href":"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","docId":"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3"},{"type":"link","label":"\u7b49\u4fdd\u548c\u5bc6\u8bc4","href":"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4","docId":"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4"},{"type":"link","label":"\u884c\u4e1a\u5206\u6790","href":"/docs/study/encryption/\u884c\u4e1a\u5206\u6790","docId":"study/encryption/\u884c\u4e1a\u5206\u6790"},{"type":"link","label":"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","href":"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","docId":"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f"},{"type":"link","label":"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","href":"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","docId":"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u4eba\u5de5\u667a\u80fd","items":[{"type":"link","label":"\u4eba\u5de5\u667a\u80fd","href":"/docs/study/ai/","docId":"study/ai/index"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u5176\u4ed6","items":[{"type":"link","label":"\u5b57\u8282\u5e8f Big Endian Little Endian","href":"/docs/study/other/\u5b57\u8282\u5e8f","docId":"study/other/\u5b57\u8282\u5e8f"},{"type":"link","label":"\u6807\u51c6\u540d\u79f0\u7f29\u5199","href":"/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199","docId":"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199"}],"collapsed":true,"collapsible":true}],"xuanxingSidebar":[{"type":"link","label":"\u7efc\u8ff0","href":"/docs/xuanxing/","docId":"xuanxing/index"},{"type":"category","label":"\u524d\u7aef","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/xuanxing/fe/","docId":"xuanxing/fe/index"},{"type":"link","label":"\u5b98\u7f51","href":"/docs/xuanxing/fe/\u5b98\u7f51","docId":"xuanxing/fe/\u5b98\u7f51"},{"type":"link","label":"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef","href":"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef","docId":"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef"},{"type":"link","label":"\u79fb\u52a8\u7aef","href":"/docs/xuanxing/fe/\u79fb\u52a8\u7aef","docId":"xuanxing/fe/\u79fb\u52a8\u7aef"},{"type":"link","label":"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668","href":"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668","docId":"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u540e\u7aef","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/xuanxing/back/","docId":"xuanxing/back/index"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u8fd0\u7ef4","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/xuanxing/devops/","docId":"xuanxing/devops/index"}],"collapsed":true,"collapsible":true},{"type":"category","label":"ThingsBoard","items":[{"type":"link","label":"\u7efc\u8ff0","href":"/docs/xuanxing/thingsboard/","docId":"xuanxing/thingsboard/index"},{"type":"link","label":"\u5982\u4f55\u4f7f\u7528","href":"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528","docId":"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528"},{"type":"link","label":"\u6e90\u7801\u7ed3\u6784","href":"/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784","docId":"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784"}],"collapsed":true,"collapsible":true}],"iotCloudSidebar":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/iotcloud/","docId":"iotcloud/index"},{"type":"category","label":"\u8bbe\u5907\u63a5\u5165","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/iotcloud/connect/","docId":"iotcloud/connect/index"},{"type":"link","label":"MQTT \u8bbe\u5907\u63a5\u5165","href":"/docs/iotcloud/connect/mqtt","docId":"iotcloud/connect/mqtt"},{"type":"link","label":"TCP \u8bbe\u5907\u63a5\u5165","href":"/docs/iotcloud/connect/tcp","docId":"iotcloud/connect/tcp"},{"type":"link","label":"HTTP \u8bbe\u5907\u63a5\u5165","href":"/docs/iotcloud/connect/http","docId":"iotcloud/connect/http"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u8bbe\u5907\u7ba1\u7406","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/iotcloud/devicemanager/","docId":"iotcloud/devicemanager/index"},{"type":"link","label":"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406","href":"/docs/iotcloud/devicemanager/device-type","docId":"iotcloud/devicemanager/device-type"},{"type":"link","label":"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406","href":"/docs/iotcloud/devicemanager/device-info","docId":"iotcloud/devicemanager/device-info"},{"type":"link","label":"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406","href":"/docs/iotcloud/devicemanager/device-group","docId":"iotcloud/devicemanager/device-group"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7528\u6237\u4e2d\u5fc3","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/iotcloud/usercenter/","docId":"iotcloud/usercenter/index"},{"type":"link","label":"\u7528\u6237\u65e5\u5fd7","href":"/docs/iotcloud/usercenter/user-log","docId":"iotcloud/usercenter/user-log"},{"type":"link","label":"\u7528\u6237\u8bbe\u7f6e","href":"/docs/iotcloud/usercenter/user-settings","docId":"iotcloud/usercenter/user-settings"},{"type":"link","label":"RAM \u7528\u6237","href":"/docs/iotcloud/usercenter/system-user","docId":"iotcloud/usercenter/system-user"},{"type":"link","label":"\u5ba2\u6237\u7ba1\u7406","href":"/docs/iotcloud/usercenter/customer","docId":"iotcloud/usercenter/customer"}],"collapsed":true,"collapsible":true}]},"docs":{"iotcloud/alarmlinkage/index":{"id":"iotcloud/alarmlinkage/index","title":"\u6982\u8ff0","description":"\u62a5\u8b66\u8054\u52a8\u4e3b\u8981\u662f\u7ba1\u7406\u62a5\u8b66\u63a8\u9001\u548c\u62a5\u8b66\u8054\u7cfb\u4eba\u3002"},"iotcloud/connect/http":{"id":"iotcloud/connect/http","title":"HTTP \u8bbe\u5907\u63a5\u5165","description":"","sidebar":"iotCloudSidebar"},"iotcloud/connect/index":{"id":"iotcloud/connect/index","title":"\u6982\u8ff0","description":"\u8bbe\u5907\u63a5\u5165\u4e91\u5e73\u53f0\uff0c\u6700\u6838\u5fc3\u7684\u70b9\u662f\u63a5\u5165\u534f\u8bae\uff0c\u672c\u5e73\u53f0\u76ee\u524d\u652f\u6301\u6700\u6d41\u884c\u7684 MQTT\uff0c\u4f20\u7edf\u7684 TCP\uff0c\u4ee5\u53ca\u5904\u7406\u5f02\u6784\u7cfb\u7edf\u6216\u7b80\u5355\u4f7f\u7528\u7684 HTTP \u534f\u8bae\u3002","sidebar":"iotCloudSidebar"},"iotcloud/connect/mqtt":{"id":"iotcloud/connect/mqtt","title":"MQTT \u8bbe\u5907\u63a5\u5165","description":"\u6211\u89c9\u5f97\u5927\u6982\u5206\u4e24\u79cd\u6a21\u5f0f\uff1a","sidebar":"iotCloudSidebar"},"iotcloud/connect/tcp":{"id":"iotcloud/connect/tcp","title":"TCP \u8bbe\u5907\u63a5\u5165","description":"TCP \u63a5\u5165\u5e94\u8be5\u5c5e\u4e8e\u6700\u4e3a\u4f20\u7edf\u7684\u63a5\u5165\u65b9\u5f0f\uff0c\u534f\u8bae\u53ef\u4ee5\u91c7\u7528\u79c1\u6709\u534f\u8bae\u6216\u901a\u7528\u7684 Modbus \u7b49\u3002","sidebar":"iotCloudSidebar"},"iotcloud/devicemanager/device-group":{"id":"iotcloud/devicemanager/device-group","title":"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406","description":"\u4e3a\u4ec0\u4e48\u9700\u8981\u8bbe\u8ba1\u8bbe\u5907\u5206\u7ec4\u8fd9\u4e2a\u529f\u80fd\uff1f","sidebar":"iotCloudSidebar"},"iotcloud/devicemanager/device-info":{"id":"iotcloud/devicemanager/device-info","title":"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406","description":"","sidebar":"iotCloudSidebar"},"iotcloud/devicemanager/device-type":{"id":"iotcloud/devicemanager/device-type","title":"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406","description":"","sidebar":"iotCloudSidebar"},"iotcloud/devicemanager/index":{"id":"iotcloud/devicemanager/index","title":"\u6982\u8ff0","description":"\u8bbe\u5907\u7ba1\u7406\u7684\u5185\u5bb9\u5305\u62ec\u8bbe\u5907\u7c7b\u578b\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u4fe1\u606f\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u5206\u7ec4\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3002","sidebar":"iotCloudSidebar"},"iotcloud/index":{"id":"iotcloud/index","title":"\u6982\u8ff0","description":"\u6240\u6709\u7a0b\u5e8f\u7684\u4ee3\u7801\u5168\u90e8\u5f00\u6e90\uff0c\u514d\u8d39\u5546\u7528\uff0c\u4e0d\u53d7\u4efb\u4f55\u9650\u5236\uff0c\u81f4\u529b\u4e8e\u6253\u9020\u514d\u8d39\u3001\u5f00\u6e90\u3001\u6027\u80fd\u4f18\u5f02\u7684\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u751f\u6001\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/customer":{"id":"iotcloud/usercenter/customer","title":"\u5ba2\u6237\u7ba1\u7406","description":"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u5ba2\u6237 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/index":{"id":"iotcloud/usercenter/index","title":"\u6982\u8ff0","description":"\u7528\u6237\u4e2d\u5fc3\u5305\u62ec\uff1a\u5f53\u524d\u767b\u5f55\u7528\u6237\u7684\u7528\u6237\u65e5\u5fd7\uff0c\u6ce8\u518c\u7528\u6237\u53ca\u5176\u76f8\u5173\u529f\u80fd\u7684\u4fe1\u606f\u8bbe\u7f6e\uff0cRAM \u7528\u6237\u7684\u7ba1\u7406\uff0c\u5ba2\u6237\u7684\u7ba1\u7406\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/system-user":{"id":"iotcloud/usercenter/system-user","title":"RAM \u7528\u6237","description":"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd RAM\uff08Resource Access Management\uff09\u7528\u6237\u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/user-log":{"id":"iotcloud/usercenter/user-log","title":"\u7528\u6237\u65e5\u5fd7","description":"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u65e5\u5fd7 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/user-settings":{"id":"iotcloud/usercenter/user-settings","title":"\u7528\u6237\u8bbe\u7f6e","description":"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u8bbe\u7f6e \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002","sidebar":"iotCloudSidebar"},"study/ai/index":{"id":"study/ai/index","title":"\u4eba\u5de5\u667a\u80fd","description":"LLM","sidebar":"studySidebar"},"study/back/API\u7f51\u5173/APISIX":{"id":"study/back/API\u7f51\u5173/APISIX","title":"Apache APISIX","description":"Apache APISIX \u662f\u4e00\u4e2a\u52a8\u6001\u3001\u5b9e\u65f6\u3001\u9ad8\u6027\u80fd\u7684\u4e91\u539f\u751f API \u7f51\u5173\uff0c\u63d0\u4f9b\u4e86\u8d1f\u8f7d\u5747\u8861\u3001\u52a8\u6001\u4e0a\u6e38\u3001\u7070\u5ea6\u53d1\u5e03\u3001\u670d\u52a1\u7194\u65ad\u3001\u8eab\u4efd\u8ba4\u8bc1\u3001\u53ef\u89c2\u6d4b\u6027\u7b49\u4e30\u5bcc\u7684\u6d41\u91cf\u7ba1\u7406\u529f\u80fd\u3002","sidebar":"studySidebar"},"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316":{"id":"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","title":"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","description":"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive","sidebar":"studySidebar"},"study/back/API\u7f51\u5173/index":{"id":"study/back/API\u7f51\u5173/index","title":"API \u7f51\u5173","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/back/API\u7f51\u5173/OpenResty":{"id":"study/back/API\u7f51\u5173/OpenResty","title":"OpenResty","description":"OpenResty\xae \u662f\u4e00\u4e2a\u57fa\u4e8e Nginx \u4e0e Lua \u7684\u9ad8\u6027\u80fd Web \u5e73\u53f0\uff0c\u5176\u5185\u90e8\u96c6\u6210\u4e86\u5927\u91cf\u7cbe\u826f\u7684 Lua \u5e93\u3001\u7b2c\u4e09\u65b9\u6a21\u5757\u4ee5\u53ca\u5927\u591a\u6570\u7684\u4f9d\u8d56\u9879\u3002\u7528\u4e8e\u65b9\u4fbf\u5730\u642d\u5efa\u80fd\u591f\u5904\u7406\u8d85\u9ad8\u5e76\u53d1\u3001\u6269\u5c55\u6027\u6781\u9ad8\u7684\u52a8\u6001 Web \u5e94\u7528\u3001Web \u670d\u52a1\u548c\u52a8\u6001\u7f51\u5173\u3002","sidebar":"studySidebar"},"study/back/IEDA/encoding":{"id":"study/back/IEDA/encoding","title":"encoding","description":"\u6ce8\u610f encoding \u7684\u914d\u7f6e","sidebar":"studySidebar"},"study/back/IEDA/fileandcodetemplates":{"id":"study/back/IEDA/fileandcodetemplates","title":"File and Code Templates","description":"File and Code Templates","sidebar":"studySidebar"},"study/back/IEDA/Maven":{"id":"study/back/IEDA/Maven","title":"Maven","description":"Maven \u5728 IDEA \u7684\u6700\u4f73\u914d\u7f6e","sidebar":"studySidebar"},"study/back/IEDA/save-action":{"id":"study/back/IEDA/save-action","title":"Save Action","description":"Save Action","sidebar":"studySidebar"},"study/back/IEDA/\u4f7f\u7528\u95ee\u9898":{"id":"study/back/IEDA/\u4f7f\u7528\u95ee\u9898","title":"\u4f7f\u7528\u95ee\u9898","description":"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86","sidebar":"studySidebar"},"study/back/index":{"id":"study/back/index","title":"\u6982\u8ff0","description":"\u540e\u7aef\u662f\u76f8\u5f53\u4e8e\u524d\u7aef\u6765\u8bf4\u7684\uff0c\u7528\u6237\u770b\u4e0d\u5230\u7684\u5185\u5bb9\u7edf\u4e00\u6210\u4e3a\u540e\u7aef\uff0c\u540e\u7aef\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a","sidebar":"studySidebar"},"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316":{"id":"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316","title":"Jetty\u4f18\u5316","description":"Jetty","sidebar":"studySidebar"},"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316":{"id":"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316","title":"Tomcat\u4f18\u5316","description":"Tomcat","sidebar":"studySidebar"},"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316":{"id":"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316","title":"Undertow\u4f18\u5316","description":"Undertow \u662f\u4e00\u4e2a\u7075\u6d3b\u7684\u3001\u9ad8\u6027\u80fd\u7684 Web \u670d\u52a1\u5668\uff0c\u5b83\u53ef\u4ee5\u4f5c\u4e3a\u72ec\u7acb\u7684\u670d\u52a1\u5668\u8fd0\u884c\uff0c\u4e5f\u80fd\u5f88\u597d\u5730\u5d4c\u5165\u5230 Java \u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982 Spring Boot \u5e94\u7528\u3002\u5b83\u662f\u57fa\u4e8e Java NIO\uff08Non - Blocking I/O\uff09\u5b9e\u73b0\u7684\uff0c\u8fd9\u4f7f\u5f97\u5b83\u80fd\u591f\u9ad8\u6548\u5730\u5904\u7406\u5927\u91cf\u5e76\u53d1\u8fde\u63a5\uff0c\u63d0\u4f9b\u4e86\u51fa\u8272\u7684\u6027\u80fd\u3002","sidebar":"studySidebar"},"study/back/Keepalived":{"id":"study/back/Keepalived","title":"Keepalived","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/back/maven/mvnw":{"id":"study/back/maven/mvnw","title":"mvnw","description":"- \u7b80\u4e66-mvnw \u4ecb\u7ecd","sidebar":"studySidebar"},"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e":{"id":"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","title":"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","description":"\u5206\u7c7b","sidebar":"studySidebar"},"study/back/maven/\u5e38\u7528\u53c2\u6570":{"id":"study/back/maven/\u5e38\u7528\u53c2\u6570","title":"\u5e38\u7528\u53c2\u6570","description":"\u8df3\u8fc7\u6d4b\u8bd5","sidebar":"studySidebar"},"study/back/maven/\u6784\u5efaDocker":{"id":"study/back/maven/\u6784\u5efaDocker","title":"\u6784\u5efaDocker","description":"\u6784\u5efa Java SpringBoot Docker \u955c\u50cf","sidebar":"studySidebar"},"study/back/mq/Kafka":{"id":"study/back/mq/Kafka","title":"Kafka","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/back/mq/MQTT broker":{"id":"study/back/mq/MQTT broker","title":"MQTT broker","description":"EMQ EMQX","sidebar":"studySidebar"},"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4":{"id":"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4","title":"MQ\u5b9e\u73b0\u5bf9\u6bd4","description":"\u56db\u79cd MQ \u5b9e\u73b0\u5bf9\u6bd4","sidebar":"studySidebar"},"study/back/mq/RocketMQ":{"id":"study/back/mq/RocketMQ","title":"RocketMQ","description":"RocketMQ \u548c Kafka \u6709\u4ec0\u4e48\u533a\u522b\uff1f","sidebar":"studySidebar"},"study/back/POST\u7f16\u7801\u683c\u5f0f":{"id":"study/back/POST\u7f16\u7801\u683c\u5f0f","title":"POST\u7f16\u7801\u683c\u5f0f","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/back/spring/@Configuration":{"id":"study/back/spring/@Configuration","title":"@Configuration","description":"\u5728 Spring \u6846\u67b6\u4e2d\uff0c@Configuration \u6ce8\u89e3\u7528\u4e8e\u58f0\u660e\u4e00\u4e2a Java \u7c7b\u4f5c\u4e3a\u914d\u7f6e\u7c7b\uff0c\u5b83\u66ff\u4ee3\u4e86\u4f20\u7edf\u7684 XML \u914d\u7f6e\u65b9\u5f0f\u3002\u901a\u8fc7@Configuration \u6ce8\u89e3\u6807\u8bb0\u7684\u7c7b\u53ef\u4ee5\u5305\u542b@Bean \u6ce8\u89e3\uff0c\u7528\u4e8e\u5b9a\u4e49 Spring \u5bb9\u5668\u4e2d\u7684 Bean \u5bf9\u8c61\u3002","sidebar":"studySidebar"},"study/back/spring/@Resource@Autowired":{"id":"study/back/spring/@Resource@Autowired","title":"@Resource@Autowired","description":"@Autowired \u548c @Resource \u90fd\u662f\u7528\u6765\u5b9e\u73b0\u4f9d\u8d56\u6ce8\u5165\u7684\u6ce8\u89e3\uff08\u5728 Spring/Spring Boot \u9879\u76ee\u4e2d\uff09\uff0c\u4f46\u4e8c\u8005\u5374\u6709\u7740 5 \u70b9\u4e0d\u540c\uff1a","sidebar":"studySidebar"},"study/back/spring/SpringAOP":{"id":"study/back/spring/SpringAOP","title":"Spring AOP","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/back/spring/SpringBoot":{"id":"study/back/spring/SpringBoot","title":"Spring Boot","description":"\u5e38\u770b\u6587\u6863","sidebar":"studySidebar"},"study/back/spring/SpringFramework":{"id":"study/back/spring/SpringFramework","title":"Spirng Framework","description":"\u5b98\u65b9\u53c2\u8003\u6587\u6863","sidebar":"studySidebar"},"study/back/spring/SpringSecurity":{"id":"study/back/spring/SpringSecurity","title":"Spring Security","description":"Spring Security \u662f\u4e00\u5957\u5b89\u5168\u6846\u67b6\uff0c\u53ef\u4ee5\u57fa\u4e8e RBAC\uff08\u57fa\u4e8e\u89d2\u8272\u7684\u6743\u9650\u63a7\u5236\uff09\u5bf9\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u8fdb\u884c\u63a7\u5236\uff0c","sidebar":"studySidebar"},"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3":{"id":"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","title":"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","description":"InitializingBean","sidebar":"studySidebar"},"study/back/springcloud/nacos":{"id":"study/back/springcloud/nacos","title":"nacos","description":"\u4e00\u4e2a\u66f4\u6613\u4e8e\u6784\u5efa\u4e91\u539f\u751f\u5e94\u7528\u7684\u52a8\u6001\u670d\u52a1\u53d1\u73b0\u3001\u914d\u7f6e\u7ba1\u7406\u548c\u670d\u52a1\u7ba1\u7406\u5e73\u53f0","sidebar":"studySidebar"},"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6":{"id":"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6","title":"SpringCloud\u4e94\u5927\u7ec4\u4ef6","description":"image.png","sidebar":"studySidebar"},"study/back/springcloud/\u5fae\u670d\u52a1":{"id":"study/back/springcloud/\u5fae\u670d\u52a1","title":"\u5fae\u670d\u52a1","description":"\u5fae\u670d\u52a1\u662f\u5206\u5e03\u5f0f\u67b6\u6784\u7684\u4e00\u79cd\uff1b","sidebar":"studySidebar"},"study/back/WSL":{"id":"study/back/WSL","title":"WSL","description":"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5WSL","sidebar":"studySidebar"},"study/back/Zookeeper":{"id":"study/back/Zookeeper","title":"Zookeeper","description":"Zookeeper\u6982\u8ff0","sidebar":"studySidebar"},"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5":{"id":"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","title":"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","description":"sonar","sidebar":"studySidebar"},"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2":{"id":"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2","title":"Oauth2","description":"Oauth2 \u662f\u76ee\u524d\u6700\u6d41\u884c\u7684\u6388\u6743\u673a\u5236\uff0c\u7528\u6765\u6388\u6743\u7b2c\u4e09\u65b9\u5e94\u7528\uff0c\u83b7\u53d6\u7528\u6237\u6570\u636e\u3002","sidebar":"studySidebar"},"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1":{"id":"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1","title":"\u8ba4\u8bc1","description":"\u53c2\u8003 Spring Security \u8ba4\u8bc1","sidebar":"studySidebar"},"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb":{"id":"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","title":"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","description":"\u53c2\u8003 Spring Security \u9632\u8303\u6f0f\u6d1e\u653b\u51fb","sidebar":"studySidebar"},"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60":{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","title":"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","description":"Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60","sidebar":"studySidebar"},"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis":{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis","title":"JPA-MyBatis","description":"JPA","sidebar":"studySidebar"},"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc":{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc","title":"log4jdbc","description":"log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging system.","sidebar":"studySidebar"},"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis":{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis","title":"MyBatis","description":"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863","sidebar":"studySidebar"},"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526":{"id":"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526","title":"\u9519\u8bef\u6392\u9664\u96c6\u9526","description":"\u5185\u5b58\u4e0d\u8db3\uff0c\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25","sidebar":"studySidebar"},"study/back/\u9ad8\u5e76\u53d1API":{"id":"study/back/\u9ad8\u5e76\u53d1API","title":"\u9ad8\u5e76\u53d1API","description":"\u603b\u7ed3","sidebar":"studySidebar"},"study/competitive/CMP-DMP-AEP-BAP":{"id":"study/competitive/CMP-DMP-AEP-BAP","title":"CMP-DMP-AEP-BAP","description":"\u7b80\u8ff0","sidebar":"studySidebar"},"study/competitive/index":{"id":"study/competitive/index","title":"\u6982\u8ff0","description":"\u7269\u8054\u7f51\u884c\u4e1a\u7684\u4e00\u4e9b\u4e1a\u52a1\u5206\u6790\u3001\u516c\u53f8\u5206\u6790\u3001\u884c\u4e1a\u5206\u6790\u3002","sidebar":"studySidebar"},"study/competitive/ThingsCloud":{"id":"study/competitive/ThingsCloud","title":"ThingsCloud","description":"\u53c2\u8003\uff0c\u53c2\u8003\uff0c\u7edd\u5bf9\u53ef\u4ee5\u53c2\u8003\u3002","sidebar":"studySidebar"},"study/competitive/TP-LINK":{"id":"study/competitive/TP-LINK","title":"TP-LINK","description":"SD-VPN","sidebar":"studySidebar"},"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76":{"id":"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","title":"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","description":"\u5206\u7c7b\uff1a\u884c\u4e1a+\u573a\u666f+\u6a21\u5f0f","sidebar":"studySidebar"},"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0":{"id":"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","title":"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","description":"\u5728\u5927\u4f17\u719f\u77e5\u7684\u7269\u8054\u7f51\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\u56db\u5927\u5c42\u6b21\u91cc\uff0c\u5e73\u53f0\u5c42\u5c06\u4f5c\u4e3a\u7269\u8054\u7f51\u4ece\u8bbe\u5907\u8fde\u63a5\u5230\u573a\u666f\u5e94\u7528\u7684\u5173\u952e\u201c\u6865\u6881\u201d\u800c\u53d1\u6325\u4f5c\u7528\u3002","sidebar":"studySidebar"},"study/db/index":{"id":"study/db/index","title":"\u6982\u8ff0","description":"\u5b58\u50a8\u6570\u636e\u7684\u670d\u52a1\u7edf\u4e00\u6210\u4e3a\u6570\u636e\u5e93\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a","sidebar":"studySidebar"},"study/db/NewSQL/TiDB":{"id":"study/db/NewSQL/TiDB","title":"TiDB","description":"\u80cc\u666f","sidebar":"studySidebar"},"study/db/NoSQL/Cassandra":{"id":"study/db/NoSQL/Cassandra","title":"Cassandra","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/db/NoSQL/Etcd":{"id":"study/db/NoSQL/Etcd","title":"Etcd","description":"ETCD\u662fCoreOs\u516c\u53f8\u53d1\u5e03\u7684\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u3001\u9ad8\u53ef\u7528\u7684\u3001key-value\u5b58\u50a8\u7684\u6570\u636e\u5e93\u3002\u57fa\u4e8eGo\u8bed\u8a00\u5b9e\u73b0\uff0ck8s\u4e2d\u4e5f\u4f7f\u7528\u4e86ETCD\u4f5c\u4e3a\u6570\u636e\u5e93\u3002\u4e3b\u8981\u7528\u4e8e\u5171\u4eab\u914d\u7f6e\u548c\u670d\u52a1\u53d1\u73b0\u3002\u76f8\u5bf9\u4e8ezookeeper\u91c7\u7528\u7684Paxos\uff0cETCD\u91c7\u7528\u7684\u662fRaft\u7b97\u6cd5\uff0c\u8be5\u7b97\u6cd5\u5177\u5907\u7684\u6027\u80fd\u66f4\u4f73\u3001\u6570\u636e\u4e00\u81f4\u6027\u5f3a\u7b49\u4f18\u70b9\u3002","sidebar":"studySidebar"},"study/db/NoSQL/Hadoop":{"id":"study/db/NoSQL/Hadoop","title":"Hadoop","description":"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f","sidebar":"studySidebar"},"study/db/NoSQL/Hbase":{"id":"study/db/NoSQL/Hbase","title":"Hbase","description":"\u5217\u5f0f\u6570\u636e\u5e93","sidebar":"studySidebar"},"study/db/NoSQL/Ignite":{"id":"study/db/NoSQL/Ignite","title":"Ignite","description":"\u5b9a\u4e49","sidebar":"studySidebar"},"study/db/NoSQL/MongoDB":{"id":"study/db/NoSQL/MongoDB","title":"MongoDB","description":"MongoDB","sidebar":"studySidebar"},"study/db/NoSQL/Redis":{"id":"study/db/NoSQL/Redis","title":"Redis","description":"Redis \u662f\u4ec0\u4e48","sidebar":"studySidebar"},"study/db/OLAP/ClickHouse":{"id":"study/db/OLAP/ClickHouse","title":"ClickHouse","description":"Clickhouse\u662fYandex\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8e\u5b9e\u65f6\u6570\u636e\u5206\u6790\u7684\u6570\u636e\u5e93\uff0c\u4e00\u5f00\u59cb\u5c31\u7528\u5728yandex\u5185\u90e8\u7684\u591a\u4e2a\u6570\u636e\u5206\u6790\u4e1a\u52a1\u4e0a\u3002\u8981\u4ecb\u7ecdclickhouse\uff0c\u8fd8\u662f\u9700\u8981\u5148\u4ecb\u7ecd\u4e00\u4e0byandex\u3002Clickhouse\u4e3a\u4ec0\u4e48\u4f1a\u51fa\u73b0\uff0c\u5176\u5b9e\u548cyandex\u7684\u4e1a\u52a1\u5173\u7cfb\u975e\u5e38\u5927\u3002Yandex\u662f\u4fc4\u7f57\u65af\u6700\u5927\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u4f1a\u6709\u5f88\u591a\u6570\u636e\u5206\u6790\u7684\u4e1a\u52a1\uff0c\u5176\u4e2d\u6570\u636e\u91cf\u6700\u5927\u7684\u4e1a\u52a1\uff0c\u5c31\u662fYandex.Metrica\uff0c\u8fd9\u662f\u4e00\u4e2a\u548c\u767e\u5ea6\u7edf\u8ba1\u7c7b\u4f3c\u7684\u7f51\u7ad9\u6570\u636e\u5206\u6790\u670d\u52a1\uff0c\u6570\u636e\u91cf\u4e5f\u4ec5\u6b21\u4e8egoogle analysis\u3002\u81ea\u4eceClickhouse\u5f00\u6e90\u540e\uff0c\u5728\u56fd\u5185\u5916\u7684\u5f88\u591a\u516c\u53f8\u7684\u7ebf\u4e0a\u4e1a\u52a1\u90fd\u5df2\u7ecf\u5f00\u59cb\u4f7f\u7528\u3002","sidebar":"studySidebar"},"study/db/OLAP/Kylin":{"id":"study/db/OLAP/Kylin","title":"Kylin","description":"Apache Kylin\u2122\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u5206\u5e03\u5f0f\u7684\u5206\u6790\u578b\u6570\u636e\u4ed3\u5e93\uff0c\u63d0\u4f9bHadoop/Spark \u4e4b\u4e0a\u7684 SQL \u67e5\u8be2\u63a5\u53e3\u53ca\u591a\u7ef4\u5206\u6790\uff08OLAP\uff09\u80fd\u529b\u4ee5\u652f\u6301\u8d85\u5927\u89c4\u6a21\u6570\u636e\uff0c\u6700\u521d\u7531 eBay \u5f00\u53d1\u5e76\u8d21\u732e\u81f3\u5f00\u6e90\u793e\u533a\u3002\u5b83\u80fd\u5728\u4e9a\u79d2\u5185\u67e5\u8be2\u5de8\u5927\u7684\u8868\u3002","sidebar":"studySidebar"},"study/db/OLAP/StarRocks":{"id":"study/db/OLAP/StarRocks","title":"StarRocks","description":"\u80cc\u666f\u4fe1\u606f","sidebar":"studySidebar"},"study/db/OLAP/\u7efc\u5408\u6982\u8ff0":{"id":"study/db/OLAP/\u7efc\u5408\u6982\u8ff0","title":"\u7efc\u5408\u6982\u8ff0","description":"1. OLAP\u4e0eOLTP\u7684\u533a\u522b\uff1f","sidebar":"studySidebar"},"study/db/SQL/Kingbase":{"id":"study/db/SQL/Kingbase","title":"Kingbase","description":"\u5b98\u7f51 https://www.kingbase.com.cn/","sidebar":"studySidebar"},"study/db/SQL/MariaDB":{"id":"study/db/SQL/MariaDB","title":"MariaDB","description":"MariaDB\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u662fMySQL\u7684\u4e00\u4e2a\u5206\u652f\uff0c\u4e3b\u8981\u7531\u5f00\u6e90\u793e\u533a\u5728\u7ef4\u62a4\uff0c\u91c7\u7528GPL\u6388\u6743\u8bb8\u53ef\u3002\u5f00\u53d1\u8fd9\u4e2a\u5206\u652f\u7684\u539f\u56e0\u4e4b\u4e00\u662f\uff1a\u7532\u9aa8\u6587\u516c\u53f8\u6536\u8d2d\u4e86MySQL\u540e\uff0c\u6709\u5c06MySQL\u95ed\u6e90\u7684\u6f5c\u5728\u98ce\u9669\uff0c\u56e0\u6b64\u793e\u533a\u91c7\u7528\u5206\u652f\u7684\u65b9\u5f0f\u6765\u907f\u5f00\u8fd9\u4e2a\u98ce\u9669\u3002","sidebar":"studySidebar"},"study/db/SQL/MySQL":{"id":"study/db/SQL/MySQL","title":"MySQL","description":"\u7248\u672c\u9009\u62e9","sidebar":"studySidebar"},"study/db/SQL/MySQL-\u7b14\u8bb0":{"id":"study/db/SQL/MySQL-\u7b14\u8bb0","title":"MySQL \u7b14\u8bb0","description":"WITH \u67e5\u8be2","sidebar":"studySidebar"},"study/db/SQL/OpenGauss":{"id":"study/db/SQL/OpenGauss","title":"OpenGauss","description":"\u5b98\u7f51 https://opengauss.org/zh/","sidebar":"studySidebar"},"study/db/SQL/PostgreSQL":{"id":"study/db/SQL/PostgreSQL","title":"PostgreSQL","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/db/SQL/\u7efc\u5408\u6982\u8ff0":{"id":"study/db/SQL/\u7efc\u5408\u6982\u8ff0","title":"\u7efc\u5408\u6982\u8ff0","description":"\u80cc\u666f","sidebar":"studySidebar"},"study/db/SQL/\u8fbe\u68a6":{"id":"study/db/SQL/\u8fbe\u68a6","title":"\u8fbe\u68a6\u6570\u636e\u5e93","description":"\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u5e93\u7cfb\u7edf\u7684\u5b89\u5168\u6027\uff0cDM \u6570\u636e\u5e93\u91c7\u7528\u201c\u4e09\u6743\u5206\u7acb\u201d\u6216\u201c\u56db\u6743\u5206\u7acb\u201d\u7684\u5b89\u5168\u673a\u5236\uff0c\u201c\u4e09\u6743\u5206\u7acb\u201d\u65f6\u7cfb\u7edf\u5185\u7f6e\u4e09\u79cd\u7cfb\u7edf\u7ba1\u7406\u5458\uff0c\u5305\u62ec\u6570\u636e\u5e93\u7ba1\u7406\u5458\u3001\u6570\u636e\u5e93\u5b89\u5168\u5458\u548c\u6570\u636e\u5e93\u5ba1\u8ba1\u5458\uff0c\u201c\u56db\u6743\u5206\u7acb\u201d\u65f6\u65b0\u589e\u4e86\u4e00\u7c7b\u7528\u6237\uff0c\u79f0\u4e3a\u6570\u636e\u5e93\u5bf9\u8c61\u64cd\u4f5c\u5458\u3002\u5b83\u4eec\u5404\u53f8\u5176\u804c\uff0c\u4e92\u76f8\u5236\u7ea6\uff0c\u6709\u6548\u5730\u907f\u514d\u4e86\u5c06\u6240\u6709\u6743\u9650\u96c6\u4e2d\u4e8e\u4e00\u4eba\u7684\u98ce\u9669\uff0c\u4fdd\u8bc1\u4e86\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u3002","sidebar":"studySidebar"},"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72":{"id":"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","title":"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","description":"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09","sidebar":"studySidebar"},"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72":{"id":"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","title":"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","description":"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09","sidebar":"studySidebar"},"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch":{"id":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch","title":"Elasticsearch","description":"ES\u7248\u672c","sidebar":"studySidebar"},"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0":{"id":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0","title":"\u7efc\u5408\u6982\u8ff0","description":"\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u901a\u8fc7\u7d22\u5f15\u6765\u8fbe\u5230\u5feb\u901f\u67e5\u8be2\u7684\u76ee\u7684\uff0c\u4f46\u662f\u5728\u5168\u6587\u641c\u7d22\u7684\u4e1a\u52a1\u573a\u666f\u4e0b\uff0c\u7d22\u5f15\u4e5f\u65e0\u80fd\u4e3a\u529b\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1a","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB","title":"Apache IoTDB","description":"\u5b98\u65b9\u6587\u6863","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid","title":"Druid","description":"\u57fa\u672c\u4fe1\u606f","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB","title":"InfluxDB","description":"\u5b98\u65b9\u6587\u6863","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB","title":"KairosDB","description":"\u57fa\u672c\u4fe1\u606f","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB","title":"OpenTSDB","description":"\u57fa\u672c\u4fe1\u606f","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine","title":"TDengine","description":"\u5b98\u7f51","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB","title":"TimescaleDB","description":"\u57fa\u672c\u4fe1\u606f","sidebar":"studySidebar"},"study/db/\u7efc\u5408":{"id":"study/db/\u7efc\u5408","title":"\u7efc\u5408","description":"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b","sidebar":"studySidebar"},"study/db/\u9a71\u52a8/ApacheShardingSphere":{"id":"study/db/\u9a71\u52a8/ApacheShardingSphere","title":"Apache ShardingSphere","description":"Apache ShardingSphere \u662f\u4e00\u6b3e\u5206\u5e03\u5f0f SQL \u4e8b\u52a1\u548c\u67e5\u8be2\u5f15\u64ce\uff0c\u53ef\u901a\u8fc7\u6570\u636e\u5206\u7247\u3001\u5f39\u6027\u4f38\u7f29\u3001\u52a0\u5bc6\u7b49\u80fd\u529b\u5bf9\u4efb\u610f\u6570\u636e\u5e93\u8fdb\u884c\u589e\u5f3a\u3002","sidebar":"studySidebar"},"study/devops/ansible":{"id":"study/devops/ansible","title":"ansible","description":"https://www.ansible.com/","sidebar":"studySidebar"},"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790":{"id":"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","title":"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","description":"\u6570\u636e\u6d41\u5411","sidebar":"studySidebar"},"study/devops/centos-gninx-app":{"id":"study/devops/centos-gninx-app","title":"centos-nginx","description":"","sidebar":"studySidebar"},"study/devops/centos-jdk17-app":{"id":"study/devops/centos-jdk17-app","title":"centos-jdk17-app","description":"\u5b89\u88c5 jdk","sidebar":"studySidebar"},"study/devops/index":{"id":"study/devops/index","title":"\u6982\u8ff0","description":"\u8f6f\u4ef6\u5f00\u53d1 + \u7cfb\u7edf\u8fd0\u7ef4","sidebar":"studySidebar"},"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7":{"id":"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7","title":"jar\u8fd0\u7ef4-\u76d1\u63a7","description":"jstat","sidebar":"studySidebar"},"study/devops/Linux\u53d1\u884c\u7248":{"id":"study/devops/Linux\u53d1\u884c\u7248","title":"Linux\u53d1\u884c\u7248","description":"OpenEuler","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-GRUB":{"id":"study/devops/Linux\u8fd0\u7ef4-GRUB","title":"Linux\u8fd0\u7ef4-GRUB","description":"GRUB","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-proc":{"id":"study/devops/Linux\u8fd0\u7ef4-proc","title":"Linux\u8fd0\u7ef4-proc","description":"/proc/","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528":{"id":"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528","title":"Linux\u8fd0\u7ef4-\u5e38\u7528","description":"\u5185\u6838/\u53d1\u884c\u7248","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e":{"id":"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","title":"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","description":"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548cCPU\u4f7f\u7528\u7387","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd":{"id":"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","title":"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","description":"fio","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6":{"id":"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","title":"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","description":"/etc/sysctl.conf","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f":{"id":"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f","title":"Linux\u8fd0\u7ef4-\u81ea\u542f","description":"systemd\u548cinit\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u542f\u52a8\u548c\u7ba1\u7406\u7cfb\u7edf\u7684\u4e24\u4e2a\u4e0d\u540c\u5de5\u5177\u3002","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1":{"id":"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","title":"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","description":"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26","sidebar":"studySidebar"},"study/devops/SHELL":{"id":"study/devops/SHELL","title":"SHELL","description":"SHELL\u811a\u672c\u53c2\u6570","sidebar":"studySidebar"},"study/devops/ssh":{"id":"study/devops/ssh","title":"ssh","description":"ssh\u8fde\u63a5\u4e0d\u4e0a","sidebar":"studySidebar"},"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7":{"id":"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","title":"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","description":"jaeger","sidebar":"studySidebar"},"study/docker/Docker-compose":{"id":"study/docker/Docker-compose","title":"Docker Compose","description":"\u5b9a\u4e49","sidebar":"studySidebar"},"study/docker/docker-kafka":{"id":"study/docker/docker-kafka","title":"docker-kafka","description":"docker kafka","sidebar":"studySidebar"},"study/docker/docker-linux":{"id":"study/docker/docker-linux","title":"docker-linux","description":"alpine","sidebar":"studySidebar"},"study/docker/docker-mysql":{"id":"study/docker/docker-mysql","title":"docker-mysql","description":"","sidebar":"studySidebar"},"study/docker/docker-network":{"id":"study/docker/docker-network","title":"docker-network","description":"Docker\u7f51\u7edc\u6a21\u5f0f","sidebar":"studySidebar"},"study/docker/Docker-swarm":{"id":"study/docker/Docker-swarm","title":"Docker Swarm","description":"Docker Compose \u662f\u4e00\u4e2a\u5728\u5355\u4e2a\u670d\u52a1\u5668\u6216\u4e3b\u673a\u4e0a\u521b\u5efa\u591a\u4e2a\u5bb9\u5668\u7684\u5de5\u5177","sidebar":"studySidebar"},"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3":{"id":"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3","title":"Dockerfile\u4f7f\u7528\u8be6\u89e3","description":"\u5b98\u65b9\u53c2\u8003\u6587\u6863","sidebar":"studySidebar"},"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3":{"id":"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3","title":"Docker\u7684\u4f7f\u7528\u603b\u7ed3","description":"1. Docker \u5b98\u65b9\u4ed3\u5e93 \xa0https://hub.docker.com","sidebar":"studySidebar"},"study/docker/index":{"id":"study/docker/index","title":"\u6982\u8ff0","description":"\u4e00\u79cd\u865a\u62df\u6280\u672f\u3002","sidebar":"studySidebar"},"study/encryption/ASN.1":{"id":"study/encryption/ASN.1","title":"ASN.1","description":"\u62bd\u8c61\u8bed\u6cd5\u6807\u8bb0\u3001","sidebar":"studySidebar"},"study/encryption/ECC-RSA":{"id":"study/encryption/ECC-RSA","title":"ECC \u548c RSA","description":"ECC \u4e3a 1977 \u5e74\u9996\u6b21\u53d1\u5e03\u7684 Rivest-Shamir-Adleman (RSA) \u52a0\u5bc6\u7b97\u6cd5\u63d0\u4f9b\u4e86\u4e00\u79cd\u66ff\u4ee3\u6027\u65b9\u6848\u3002","sidebar":"studySidebar"},"study/encryption/HSM":{"id":"study/encryption/HSM","title":"HSM","description":"HSM \u786c\u4ef6\u52a0\u5bc6\u673a","sidebar":"studySidebar"},"study/encryption/index":{"id":"study/encryption/index","title":"\u52a0\u89e3\u5bc6","description":"\u52a0\u5bc6\u548c\u89e3\u5bc6","sidebar":"studySidebar"},"study/encryption/OpenSSL":{"id":"study/encryption/OpenSSL","title":"OpenSSL","description":"OpenSSL \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5f00\u6e90\u5de5\u5177\u5305\uff0c\u4e3b\u8981\u7528\u4e8e\u52a0\u5bc6\u3001SSL/TLS \u534f\u8bae\u4ee5\u53ca\u4e0e\u5b89\u5168\u901a\u4fe1\u76f8\u5173\u7684\u5404\u79cd\u4efb\u52a1\u3002","sidebar":"studySidebar"},"study/encryption/PKCS":{"id":"study/encryption/PKCS","title":"PKCS","description":"\u57fa\u672c\u6982\u5ff5","sidebar":"studySidebar"},"study/encryption/PKI":{"id":"study/encryption/PKI","title":"PKI","description":"PKI","sidebar":"studySidebar"},"study/encryption/SSL_TLS":{"id":"study/encryption/SSL_TLS","title":"SSL TLS HTTPS","description":"\u4e3a\u4e86\u4fdd\u8bc1\u7f51\u7edc\u901a\u4fe1\u7684\u5b89\u5168\u6027\uff0c\u9700\u8981\u5bf9\u7f51\u7edc\u4e0a\u4f20\u9012\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002\u73b0\u5728\u4e3b\u6d41\u7684\u52a0\u5bc6\u65b9\u6cd5\u5c31\u662f SSL (Secure Socket Layer)\uff0cTLS (Transport Layer Security)\u3002\u540e\u8005\u6bd4\u524d\u8005\u8981\u65b0\u4e00\u4e9b\uff0c\u4e0d\u8fc7\u5728\u5f88\u591a\u573a\u5408\u8fd8\u662f\u7528 SSL \u6307\u4ee3 SSL \u548c TLS\u3002","sidebar":"studySidebar"},"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5":{"id":"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","title":"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1":{"id":"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1","title":"\u52a0\u89e3\u5bc6\u670d\u52a1","description":"\u52a0\u89e3\u5bc6\u670d\u52a1","sidebar":"studySidebar"},"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3":{"id":"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3","title":"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5","description":"\u9488\u5bf9\u5bc6\u7801\u5b58\u50a8\u7684\u52a0\u5bc6\u7b97\u6cd5","sidebar":"studySidebar"},"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f":{"id":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","title":"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","description":"DES\u30013DES \u548c AES \u90fd\u5c5e\u4e8e\u5206\u7ec4\u5bc6\u7801\uff0c\u5b83\u4eec\u53ea\u80fd\u52a0\u5bc6\u56fa\u5b9a\u957f\u5ea6\u7684\u660e\u6587\u3002\u5982\u679c\u9700\u8981\u52a0\u5bc6\u66f4\u957f\u7684\u660e\u6587\uff0c\u5c31\u9700\u8981\u5bf9\u5206\u7ec4\u5bc6\u7801\u8fdb\u884c\u8fed\u4ee3\uff0c\u800c\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u6cd5\u79f0\u4e3a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff08Model\uff09\u3002\u7b80\u800c\u4e00\u53e5\u8bdd\uff1a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff0c\u5c31\u662f\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u5f0f\u3002","sidebar":"studySidebar"},"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3":{"id":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","title":"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","description":"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","sidebar":"studySidebar"},"study/encryption/\u6570\u5b57\u8bc1\u4e66":{"id":"study/encryption/\u6570\u5b57\u8bc1\u4e66","title":"\u6570\u5b57\u8bc1\u4e66","description":"\u6570\u5b57\u8bc1\u4e66\u5c31\u662f\u4e92\u8054\u7f51\u901a\u8baf\u4e2d\u6807\u5fd7\u901a\u8baf\u5404\u65b9\u8eab\u4efd\u4fe1\u606f\u7684\u4e00\u4e32\u6570\u5b57\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u5728Internet\u4e0a\u9a8c\u8bc1\u901a\u4fe1\u5b9e\u4f53\u8eab\u4efd\u7684\u65b9\u5f0f\uff0c\u6570\u5b57\u8bc1\u4e66\u4e0d\u662f\u6570\u5b57\u8eab\u4efd\u8bc1\uff0c\u800c\u662f\u8eab\u4efd\u8ba4\u8bc1\u673a\u6784\u76d6\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7ae0\u6216\u5370\uff08\u6216\u8005\u8bf4\u52a0\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7b7e\u540d\uff09\u3002\u5b83\u662f\u7531\u6743\u5a01\u673a\u6784\u2014\u2014CA\u673a\u6784\uff0c\u53c8\u79f0\u4e3a\u8bc1\u4e66\u6388\u6743\uff08Certificate Authority\uff09\u4e2d\u5fc3\u53d1\u884c\u7684\uff0c\u4eba\u4eec\u53ef\u4ee5\u5728\u7f51\u4e0a\u7528\u5b83\u6765\u8bc6\u522b\u5bf9\u65b9\u7684\u8eab\u4efd\u3002","sidebar":"studySidebar"},"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3":{"id":"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","title":"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","description":"\u6d88\u606f\u6458\u8981\uff08Message Digest\uff09\u53c8\u79f0\u4e3a\u6570\u5b57\u6458\u8981\uff08Digital Digest\uff09\u3002\u5b83\u662f\u4e00\u4e2a\u552f\u4e00\u5bf9\u5e94\u4e00\u4e2a\u6d88\u606f\u6216\u6587\u672c\u7684\u56fa\u5b9a\u957f\u5ea6\u7684\u503c\uff0c\u5b83\u7531\u4e00\u4e2a\u5355\u5411 Hash \u52a0\u5bc6\u51fd\u6570\u5bf9\u6d88\u606f\u8fdb\u884c\u4f5c\u7528\u800c\u4ea7\u751f\u3002\u5982\u679c\u6d88\u606f\u5728\u9014\u4e2d\u6539\u53d8\u4e86\uff0c\u5219\u63a5\u6536\u8005\u901a\u8fc7\u5bf9\u6536\u5230\u6d88\u606f\u7684\u65b0\u4ea7\u751f\u7684\u6458\u8981\u4e0e\u539f\u6458\u8981\u6bd4\u8f83\uff0c\u5c31\u53ef\u77e5\u9053\u6d88\u606f\u662f\u5426\u88ab\u6539\u53d8\u4e86\u3002\u56e0\u6b64\u6d88\u606f\u6458\u8981\u4fdd\u8bc1\u4e86\u6d88\u606f\u7684\u5b8c\u6574\u6027\u3002","sidebar":"studySidebar"},"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4":{"id":"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4","title":"\u7b49\u4fdd\u548c\u5bc6\u8bc4","description":"\u201c\u7b49\u4fdd\u201d\u5373\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\uff0c\u65e8\u5728\u901a\u8fc7\u4e0d\u540c\u5b89\u5168\u7b49\u7ea7\u7684\u7ba1\u7406\u548c\u6280\u672f\u63aa\u65bd\uff0c\u786e\u4fdd\u4fe1\u606f\u7cfb\u7edf\u7684\u5b89\u5168\u7a33\u5b9a\u8fd0\u884c\u3002\u6211\u56fd\u4e8e2017\u5e74\u9881\u5e03\u7684\u300a\u7f51\u7edc\u5b89\u5168\u6cd5\u300b\u4e2d\u7b2c\u4e8c\u5341\u4e00\u6761\u89c4\u5b9a\u201c\u56fd\u5bb6\u5b9e\u884c\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u201d\u3002\u6cd5\u5f8b\u8981\u6c42\u7f51\u7edc\u8fd0\u8425\u8005\u9700\u6309\u7167\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u8981\u6c42\uff0c\u5c65\u884c\u5236\u5b9a\u5b89\u5168\u7ba1\u7406\u5236\u5ea6\u3001\u91c7\u53d6\u9632\u8303\u6280\u672f\u63aa\u65bd\u3001\u76d1\u6d4b\u8bb0\u5f55\u7f51\u7edc\u72b6\u6001\u3001\u4fdd\u62a4\u6570\u636e\u5b89\u5168\u7b49\u591a\u9879\u4e49\u52a1\uff0c\u786e\u4fdd\u7f51\u7edc\u5b89\u5168\u7a33\u5b9a\u3002","sidebar":"studySidebar"},"study/encryption/\u884c\u4e1a\u5206\u6790":{"id":"study/encryption/\u884c\u4e1a\u5206\u6790","title":"\u884c\u4e1a\u5206\u6790","description":"\u516c\u53f8","sidebar":"studySidebar"},"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f":{"id":"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","title":"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","description":"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1","sidebar":"studySidebar"},"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3":{"id":"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","title":"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","description":"\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u51e0\u79cd\u5e38\u89c1\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5305\u62ec\u5b83\u4eec\u7684\u5de5\u4f5c\u539f\u7406\u3001\u4f18\u7f3a\u70b9\u548c\u5e94\u7528\u573a\u666f\u3002","sidebar":"studySidebar"},"study/fe/ARMS\u524d\u7aef\u76d1\u63a7":{"id":"study/fe/ARMS\u524d\u7aef\u76d1\u63a7","title":"ARMS\u524d\u7aef\u76d1\u63a7","description":"ARMS\u524d\u7aef\u76d1\u63a7\u4e13\u6ce8\u4e8e\u5bf9Web\u573a\u666f\u3001Weex\u573a\u666f\u548c\u5c0f\u7a0b\u5e8f\u573a\u666f\u7684\u76d1\u63a7\uff0c\u4ece\u9875\u9762\u6253\u5f00\u901f\u5ea6\uff08\u6d4b\u901f\uff09\u3001\u9875\u9762\u7a33\u5b9a\u6027\uff08JS\u8bca\u65ad\u9519\u8bef\uff09\u548c\u5916\u90e8\u670d\u52a1\u8c03\u7528\u6210\u529f\u7387\uff08API\uff09\u8fd9\u4e09\u4e2a\u65b9\u9762\u76d1\u6d4bWeb\u548c\u5c0f\u7a0b\u5e8f\u9875\u9762\u7684\u5065\u5eb7\u5ea6\u3002","sidebar":"studySidebar"},"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55":{"id":"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","title":"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","description":"\u8bb0\u5f55 Flutter \u5f00\u53d1\u7684\u4e00\u4e9b\u95ee\u9898\u3001\u7ecf\u9a8c","sidebar":"studySidebar"},"study/fe/index":{"id":"study/fe/index","title":"\u6982\u8ff0","description":"\u6240\u6709\u7528\u6237\u770b\u5230\u7684\u754c\u9762\uff0c\u7edf\u4e00\u6210\u4e3a\u524d\u7aef\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a","sidebar":"studySidebar"},"study/fe/mqtt.js":{"id":"study/fe/mqtt.js","title":"mqtt.js","description":"\u4e0d\u8981\u4f7f\u7528 mqtt.js \u6362\u7528 precompiled-mqtt","sidebar":"studySidebar"},"study/fe/TypeScript\u8bed\u6cd5\u56fe":{"id":"study/fe/TypeScript\u8bed\u6cd5\u56fe","title":"TypeScript\u8bed\u6cd5\u56fe","description":"\u8bed\u6cd5\u56fe","sidebar":"studySidebar"},"study/fe/WebGL":{"id":"study/fe/WebGL","title":"WebGL","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/fe/\u4e0b\u8f7d\u56fe\u7247":{"id":"study/fe/\u4e0b\u8f7d\u56fe\u7247","title":"\u4e0b\u8f7d\u56fe\u7247","description":"","sidebar":"studySidebar"},"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0":{"id":"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","title":"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","description":"\u5f00\u6e90\u9879\u76ee","sidebar":"studySidebar"},"study/fe/\u524d\u7aef\u6a21\u5757\u5316":{"id":"study/fe/\u524d\u7aef\u6a21\u5757\u5316","title":"\u524d\u7aef\u6a21\u5757\u5316","description":"\u80cc\u666f","sidebar":"studySidebar"},"study/hard/index":{"id":"study/hard/index","title":"\u6982\u8ff0","description":"","sidebar":"studySidebar"},"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a":{"id":"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","title":"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","description":"\u5d4c\u5165\u5f0f\u548c\u5355\u7247\u673a\u7684\u533a\u522b\u5230\u5e95\u662f\u4ec0\u4e48\u3002","sidebar":"studySidebar"},"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1":{"id":"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","title":"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","description":"1. \u5d4c\u5165\u5f0flinux \u548c \u7528stm32\u8fdb\u884c\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1 \u8fd9\u4e24\u8005\u4e4b\u95f4\u6709\u4ec0\u4e48\u5173\u8054\u6027\u5417\uff1f","sidebar":"studySidebar"},"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b":{"id":"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","title":"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","description":"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u4e0d\u540c\u4e4b\u5904\u6709\u54ea\u4e9b\uff1f","sidebar":"studySidebar"},"study/hard/\u901a\u4fe1\u6a21\u7ec4":{"id":"study/hard/\u901a\u4fe1\u6a21\u7ec4","title":"\u901a\u4fe1\u6a21\u7ec4","description":"images","sidebar":"studySidebar"},"study/index":{"id":"study/index","title":"\u5b66\u65e0\u6b62\u5883","description":"IT\u6280\u672f\u662f\u4e00\u4e2a\u4e0d\u65ad\u53d1\u5c55\u548c\u53d8\u5316\u7684\u9886\u57df\uff0c\u5b66\u65e0\u6b62\u5883\u3002\u968f\u7740\u6280\u672f\u548c\u5e02\u573a\u7684\u4e0d\u65ad\u53d8\u5316\uff0c\u6211\u4eec\u9700\u8981\u59cb\u7ec8\u4fdd\u6301\u654f\u9510\u7684\u89c2\u5bdf\u529b\u548c\u5b66\u4e60\u80fd\u529b\u3002","sidebar":"studySidebar"},"study/net/ip":{"id":"study/net/ip","title":"Linux ip \u547d\u4ee4","description":"ip \u547d\u4ee4\u6765\u81ea iproute \u8f6f\u4ef6\u5305\uff0c\u8f6f\u4ef6\u5305\u63d0\u4f9b\u4e86\u5f88\u591a\u547d\u4ee4\uff08rpm -ql iproute |grep bin\uff09\uff0c\u5982 ss \u547d\u4ee4\u3001bridge\uff0c\u8fd9\u4e9b\u547d\u4ee4\u53ef\u4ee5\u5b8c\u5168\u66ff\u4ee3 ifconfig\u3001netstat\u3001route \u7b49\u547d\u4ee4\u3002","sidebar":"studySidebar"},"study/net/iptables":{"id":"study/net/iptables","title":"Linux iptables \u9632\u706b\u5899","description":"","sidebar":"studySidebar"},"study/net/IPV6":{"id":"study/net/IPV6","title":"IPV6","description":"IPV6 \u8fde\u63a5\u6d4b\u8bd5","sidebar":"studySidebar"},"study/net/Linux\u7f51\u7edc\u914d\u7f6e":{"id":"study/net/Linux\u7f51\u7edc\u914d\u7f6e","title":"Linux\u7f51\u7edc\u914d\u7f6e","description":"\u5982\u4f55\u67e5\u770b\u7f51\u5361","sidebar":"studySidebar"},"study/net/MacOS\u7f16\u8bd1OpenVPN":{"id":"study/net/MacOS\u7f16\u8bd1OpenVPN","title":"MacOS\u7f16\u8bd1OpenVPN","description":"cmake -DUNSUPPORTED_BUILDS=true ./","sidebar":"studySidebar"},"study/net/netns":{"id":"study/net/netns","title":"Linux netns","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/net/OpenVPN":{"id":"study/net/OpenVPN","title":"OpenVPN","description":"\u914d\u7f6e","sidebar":"studySidebar"},"study/net/p2p":{"id":"study/net/p2p","title":"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/net/pfctl\u9632\u706b\u5899":{"id":"study/net/pfctl\u9632\u706b\u5899","title":"unix pfctl \u9632\u706b\u5899","description":"iptables \u662f Linux \u4e0b\u7684\u9632\u706b\u5899\uff0c\u53ef\u4ee5\u8fdb\u884c\u6570\u636e\u5305\u7684\u8fc7\u6ee4\uff0c\u5728\u7f51\u7edc\u5c42\u8fdb\u884c\u6570\u636e\u7684\u8f6c\u53d1\u3001\u62e6\u622a\u6216\u4e22\u5f03\u7b49\uff0c\u4f7f\u7528\u975e\u5e38\u666e\u904d\uff0c\u529f\u80fd\u4e5f\u975e\u5e38\u5f3a\u5927\u3002\u4f46\u662f Mac \u4e0b\u6ca1\u6709 iptables\uff0c\u4e3a\u4e86\u5b9e\u73b0\u6d41\u91cf\u8f6c\u53d1\u548c\u8fc7\u6ee4\uff0c\u8981\u4f7f\u7528\u5230 Mac \u81ea\u5e26\u7684 PFctl\u3002PFctl \u5373 control the packet filter\uff0c\u662f Unix LIKE \u7cfb\u7edf\u4e0a\u8fdb\u884c TCP/IP \u6d41\u91cf\u8fc7\u6ee4\u548c\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u7684\u7cfb\u7edf\uff0c\u4e5f\u80fd\u63d0\u4f9b\u6d41\u91cf\u6574\u5f62\u548c\u63a7\u5236\u7b49","sidebar":"studySidebar"},"study/net/route":{"id":"study/net/route","title":"route","description":"route\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u663e\u793a\u548c\u64cd\u4f5cIP\u8def\u7531\u8868\u7684\u91cd\u8981\u5de5\u5177\uff0c\u4ee5\u4e0b\u662f\u5bf9\u5176\u8be6\u7ec6\u7684\u4ecb\u7ecd\uff1a","sidebar":"studySidebar"},"study/net/SNMP":{"id":"study/net/SNMP","title":"SNMP","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/net/tc":{"id":"study/net/tc","title":"Linux tc","description":"tc \u662f Linux \u7cfb\u7edf\u4e0b\u7684\u6d41\u91cf\u63a7\u5236\u5de5\u5177\uff0c\u5168\u79f0 Traffic Control\uff0c\u7528\u4e8e\u914d\u7f6e\u548c\u63a7\u5236\u7f51\u7edc\u6d41\u91cf\u3002\u5b83\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u914d\u7f6e\u548c\u8c03\u6574\u5404\u79cd\u7f51\u7edc\u63a5\u53e3\u7684\u6d41\u91cf\u63a7\u5236\u53c2\u6570\uff0c\u5982\u5e26\u5bbd\u9650\u5236\u3001\u5ef6\u8fdf\u3001\u4e22\u5305\u7387\u7b49\u3002","sidebar":"studySidebar"},"study/net/TCP":{"id":"study/net/TCP","title":"TCP","description":"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b","sidebar":"studySidebar"},"study/net/tuntap":{"id":"study/net/tuntap","title":"tuntap","description":"Tun/Tap","sidebar":"studySidebar"},"study/net/UDP":{"id":"study/net/UDP","title":"UDP","description":"UDP","sidebar":"studySidebar"},"study/net/VLAN-VXLAN":{"id":"study/net/VLAN-VXLAN","title":"VLAN-VXLAN","description":"VLAN","sidebar":"studySidebar"},"study/net/vpn":{"id":"study/net/vpn","title":"vpn","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/net/\u4ee3\u7406":{"id":"study/net/\u4ee3\u7406","title":"\u4ee3\u7406","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/net/\u5185\u7f51\u7a7f\u900f":{"id":"study/net/\u5185\u7f51\u7a7f\u900f","title":"\u5185\u7f51\u7a7f\u900f","description":"\u5185\u7f51\u7a7f\u900f","sidebar":"studySidebar"},"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4":{"id":"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","title":"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","description":"A \u7c7b\u5730\u5740","sidebar":"studySidebar"},"study/net/\u5f02\u5730\u7ec4\u7f51":{"id":"study/net/\u5f02\u5730\u7ec4\u7f51","title":"\u5f02\u5730\u7ec4\u7f51","description":"\u7f51\u7edc\u7c7b\u578b","sidebar":"studySidebar"},"study/net/\u6293\u5305\u5de5\u5177":{"id":"study/net/\u6293\u5305\u5de5\u5177","title":"\u6293\u5305\u5de5\u5177","description":"tcpdump","sidebar":"studySidebar"},"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177":{"id":"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","title":"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","description":"iperf3","sidebar":"studySidebar"},"study/other/\u5b57\u8282\u5e8f":{"id":"study/other/\u5b57\u8282\u5e8f","title":"\u5b57\u8282\u5e8f Big Endian Little Endian","description":"\u5b57\u8282\u5e8f\uff0c\u4e5f\u5c31\u662f\u5b57\u8282\u7684\u987a\u5e8f\uff0c\u6307\u7684\u662f\u591a\u5b57\u8282\u7684\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u5b58\u653e\u987a\u5e8f\u3002","sidebar":"studySidebar"},"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199":{"id":"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199","title":"\u6807\u51c6\u540d\u79f0\u7f29\u5199","description":"\u56fd\u5185\u6807\u51c6","sidebar":"studySidebar"},"study/program/ABIAPI":{"id":"study/program/ABIAPI","title":"ABIAPI","description":"ABI","sidebar":"studySidebar"},"study/program/C/cmake":{"id":"study/program/C/cmake","title":"cmake","description":"cmake \u4ecb\u7ecd","sidebar":"studySidebar"},"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93":{"id":"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93","title":"C\u8bed\u8a00\u6807\u51c6\u5e93","description":"C \u8bed\u8a00\u6807\u51c6\u5e93","sidebar":"studySidebar"},"study/program/C/C\u8bed\u8a00\u7248\u672c":{"id":"study/program/C/C\u8bed\u8a00\u7248\u672c","title":"C\u8bed\u8a00\u7248\u672c","description":"1. K&R C\uff08\u7ecf\u5178C\uff09","sidebar":"studySidebar"},"study/program/C/extern-c":{"id":"study/program/C/extern-c","title":"extern-c","description":"extern \\"C\\"","sidebar":"studySidebar"},"study/program/C/index":{"id":"study/program/C/index","title":"C C++ \u7f16\u7a0b\u8bed\u8a00","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/program/C/make":{"id":"study/program/C/make","title":"make","description":"make \u662f\u4e00\u6761\u8ba1\u7b97\u673a\u6307\u4ee4\uff0c\u662f\u5728\u5b89\u88c5\u6709 GNU Make \u7684\u8ba1\u7b97\u673a\u4e0a\u7684\u53ef\u6267\u884c\u6307\u4ee4\u3002\u8be5\u6307\u4ee4\u662f\u8bfb\u5165\u4e00\u4e2a\u540d\u4e3a makefile \u7684\u6587\u4ef6\uff0c\u7136\u540e\u6267\u884c\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u6307\u5b9a\u7684\u6307\u4ee4\u3002","sidebar":"studySidebar"},"study/program/C/MFC-WinForm-WPF-DotNet\u7b49":{"id":"study/program/C/MFC-WinForm-WPF-DotNet\u7b49","title":"MFC-WinForm-WPF-DotNet\u7b49","description":"MFC","sidebar":"studySidebar"},"study/program/C/MinGW_CygWin":{"id":"study/program/C/MinGW_CygWin","title":"MinGW_CygWin","description":"Mingw\u548cCygwin\u90fd\u662f\u5728 Windows \u7cfb\u7edf\u4e0a\u63d0\u4f9b\u7c7b Unix \u73af\u5883\u7684\u5de5\u5177\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e9b\u4e0d\u540c\u4e4b\u5904\uff1a","sidebar":"studySidebar"},"study/program/C/pragma":{"id":"study/program/C/pragma","title":"pragma","description":"pragma","sidebar":"studySidebar"},"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t":{"id":"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t","title":"size_t-ptrdiff_t-intptr_t-uintptr_t","description":"- size_t","sidebar":"studySidebar"},"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93":{"id":"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","title":"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","description":"\u65b9\u6cd5\u5e93\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1a","sidebar":"studySidebar"},"study/program/C/\u6784\u5efa\u5de5\u5177":{"id":"study/program/C/\u6784\u5efa\u5de5\u5177","title":"\u6784\u5efa\u5de5\u5177","description":"C \u8bed\u8a00\u6784\u5efa\u5de5\u5177","sidebar":"studySidebar"},"study/program/C/\u865a\u62df\u7f51\u5361":{"id":"study/program/C/\u865a\u62df\u7f51\u5361","title":"\u865a\u62df\u7f51\u5361","description":"TUN/TAP\uff08Linux\uff09","sidebar":"studySidebar"},"study/program/CPP/CGI":{"id":"study/program/CPP/CGI","title":"CGI","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1":{"id":"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1","title":"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1","description":"\u7ba1\u9053","sidebar":"studySidebar"},"study/program/CPP/index":{"id":"study/program/CPP/index","title":"C++","description":"C++\u6807\u51c6","sidebar":"studySidebar"},"study/program/CSharp/index":{"id":"study/program/CSharp/index","title":"CSharp","description":"C#\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u4e00\u79cd\u57fa\u4e8e.NET \u6846\u67b6\u7684\u3001\u9762\u5411\u5bf9\u8c61\u7684\u9ad8\u7ea7\u7f16\u7a0b\u8bed\u8a00\u3002","sidebar":"studySidebar"},"study/program/Dart/Flutter":{"id":"study/program/Dart/Flutter","title":"Flutter","description":"\u5e94\u7528\u56fe\u6807","sidebar":"studySidebar"},"study/program/Dart/\u5b66\u4e60\u8d44\u6599":{"id":"study/program/Dart/\u5b66\u4e60\u8d44\u6599","title":"Dart \u5b66\u4e60\u8d44\u6599","description":"\u7279\u70b9","sidebar":"studySidebar"},"study/program/Erlang/index":{"id":"study/program/Erlang/index","title":"Erlang","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/ETL/dataX":{"id":"study/program/ETL/dataX","title":"dataX","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/program/ETL/flume":{"id":"study/program/ETL/flume","title":"flume","description":"Flume\u7684\u5b9a\u4e49","sidebar":"studySidebar"},"study/program/ETL/kettle":{"id":"study/program/ETL/kettle","title":"kettle","description":"ETL\uff08Extract-Transform-Load\u7684\u7f29\u5199\uff0c\u5373\u6570\u636e\u62bd\u53d6\u3001\u8f6c\u6362\u3001\u88c5\u8f7d\u7684\u8fc7\u7a0b\uff09\uff0c\u5bf9\u4e8e\u4f01\u4e1a\u6216\u884c\u4e1a\u5e94\u7528\u6765\u8bf4\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u9047\u5230\u5404\u79cd\u6570\u636e\u7684\u5904\u7406\uff0c\u8f6c\u6362\uff0c\u8fc1\u79fb\uff0c\u6240\u4ee5\u4e86\u89e3\u5e76\u638c\u63e1\u4e00\u79cdetl\u5de5\u5177\u7684\u4f7f\u7528\uff0c\u5fc5\u4e0d\u53ef\u5c11\u3002kettle\u662f\u7eafjava\u7f16\u5199\uff0c\u652f\u6301\u56fe\u5f62\u5316\u7684GUI\u8bbe\u8ba1\u754c\u9762\uff0c\u7136\u540e\u53ef\u4ee5\u4ee5\u5de5\u4f5c\u6d41\u7684\u5f62\u5f0f\u6d41\u8f6c\uff0c\u5728\u505a\u4e00\u4e9b\u7b80\u5355\u6216\u590d\u6742\u7684\u6570\u636e\u62bd\u53d6\u3001\u8d28\u91cf\u68c0\u6d4b\u3001\u6570\u636e\u6e05\u6d17\u3001\u6570\u636e\u8f6c\u6362\u3001\u6570\u636e\u8fc7\u6ee4\u7b49\u65b9\u9762\u6709\u7740\u6bd4\u8f83\u7a33\u5b9a\u7684\u8868\u73b0\uff0c\u5176\u4e2d\u6700\u4e3b\u8981\u7684\u6211\u4eec\u901a\u8fc7\u719f\u7ec3\u7684\u5e94\u7528\u5b83\uff0c\u51cf\u5c11\u4e86\u975e\u5e38\u591a\u7684\u7814\u53d1\u5de5\u4f5c\u91cf\uff0c\u63d0\u9ad8\u4e86\u6211\u4eec\u7684\u5de5\u4f5c\u6548\u7387\u3002","sidebar":"studySidebar"},"study/program/ETL/sqoop":{"id":"study/program/ETL/sqoop","title":"sqoop","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4":{"id":"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4","title":"GIT-\u5e38\u7528\u547d\u4ee4","description":"clone","sidebar":"studySidebar"},"study/program/GIT/GitHubDesktop":{"id":"study/program/GIT/GitHubDesktop","title":"GitHub Desktop","description":"\u6211\u4e00\u822c\u662f\u4f7f\u7528\u8fd9\u4e2a\u5de5\u5177\uff0c\u4f46\u662f\u6709\u4e00\u6b21\u66f4\u65b0\u4e4b\u540e\uff0c\u62a5\u9519\u5982\u4e0b","sidebar":"studySidebar"},"study/program/GIT/PR\u548cMR":{"id":"study/program/GIT/PR\u548cMR","title":"PR\u548cMR","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/Golang/CGO":{"id":"study/program/Golang/CGO","title":"CGO","description":"\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684cgo\u652f\u6301\u7684\u51fd\u6570\u548c\u7c7b\u578b\u4ee5\u53ca\u67e5\u8be2\u7684\u65b9\u6cd5\uff1a","sidebar":"studySidebar"},"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406":{"id":"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","title":"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","description":"\u811a\u672c","sidebar":"studySidebar"},"study/program/Golang/index":{"id":"study/program/Golang/index","title":"Golang","description":"Go \u8bed\u8a00\u8bbe\u8ba1\u521d\u8877","sidebar":"studySidebar"},"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177":{"id":"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177","title":"\u5e38\u7528\u7684\u5de5\u5177","description":"json-to-go","sidebar":"studySidebar"},"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6":{"id":"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6","title":"\u5e38\u7528\u7684\u6846\u67b6","description":"Gin","sidebar":"studySidebar"},"study/program/index":{"id":"study/program/index","title":"\u6982\u8ff0","description":"\u5199\u4ee3\u7801\u7528\u5230\u7684\u4e00\u5957\u89c4\u8303\u53ca\u5176\u5ef6\u4f38\u5de5\u5177\u3002","sidebar":"studySidebar"},"study/program/JAVA/GC":{"id":"study/program/JAVA/GC","title":"GC","description":"JVM \u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5","sidebar":"studySidebar"},"study/program/JAVA/GraalVM":{"id":"study/program/JAVA/GraalVM","title":"GraalVM","description":"\u5b98\u7f51","sidebar":"studySidebar"},"study/program/JAVA/Guice":{"id":"study/program/JAVA/Guice","title":"Guice","description":"\u80cc\u666f","sidebar":"studySidebar"},"study/program/JAVA/index":{"id":"study/program/JAVA/index","title":"Java","description":"\u4e00\u79cd\u4f7f\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u8de8\u5e73\u53f0\u7f16\u7a0b\u8bed\u8a00\u3002","sidebar":"studySidebar"},"study/program/JAVA/JDK17":{"id":"study/program/JAVA/JDK17","title":"JDK17","description":"\u9650\u5236\u7c7b\u7ee7\u627f sealed \u7c7b","sidebar":"studySidebar"},"study/program/JAVA/JDK17-bin":{"id":"study/program/JAVA/JDK17-bin","title":"JDK17-bin","description":"jar","sidebar":"studySidebar"},"study/program/JAVA/JDK21":{"id":"study/program/JAVA/JDK21","title":"JDK21","description":"\u865a\u62df\u7ebf\u7a0b","sidebar":"studySidebar"},"study/program/JAVA/JDK8":{"id":"study/program/JAVA/JDK8","title":"JDK8","description":"Optional","sidebar":"studySidebar"},"study/program/JAVA/JNI":{"id":"study/program/JAVA/JNI","title":"JNI","description":"Java Native Interface\uff0cJava \u672c\u5730\u63a5\u53e3","sidebar":"studySidebar"},"study/program/JAVA/Maven":{"id":"study/program/JAVA/Maven","title":"Maven","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/JAVA/OepnJ9":{"id":"study/program/JAVA/OepnJ9","title":"OpenJ9","description":"https://eclipse.dev/openj9/","sidebar":"studySidebar"},"study/program/JAVA/RxJava":{"id":"study/program/JAVA/RxJava","title":"RxJava","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/JAVA/Vert.x":{"id":"study/program/JAVA/Vert.x","title":"Vert.x","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/JAVA/\u4ee3\u7801\u751f\u6210":{"id":"study/program/JAVA/\u4ee3\u7801\u751f\u6210","title":"\u4ee3\u7801\u751f\u6210","description":"Mapstruct","sidebar":"studySidebar"},"study/program/JAVA/\u9501":{"id":"study/program/JAVA/\u9501","title":"\u9501\uff08\u591a\u7ebf\u7a0b\uff09","description":"\u591a\u7ebf\u7a0b\u7f16\u7a0b\u5728\u73b0\u4ee3\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u5b83\u4f7f\u6211\u4eec\u80fd\u591f\u6709\u6548\u5730\u5229\u7528\u591a\u6838\u5904\u7406\u5668\u548c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u7136\u800c\uff0c\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e5f\u4f34\u968f\u7740\u4e00\u7cfb\u5217\u6311\u6218\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u4e4b\u4e00\u5c31\u662f\u5904\u7406\u5171\u4eab\u8d44\u6e90\u7684\u7ebf\u7a0b\u5b89\u5168\u6027\u3002\u5728\u8fd9\u4e2a\u9886\u57df\uff0c\u9501\uff08Lock\uff09\u662f\u4e00\u4e2a\u5173\u952e\u7684\u6982\u5ff5\uff0c\u7528\u4e8e\u534f\u8c03\u7ebf\u7a0b\u4e4b\u95f4\u5bf9\u5171\u4eab\u8d44\u6e90\u7684\u8bbf\u95ee\u3002","sidebar":"studySidebar"},"study/program/JS/npm":{"id":"study/program/JS/npm","title":"npm","description":"npmjs","sidebar":"studySidebar"},"study/program/JS/npx":{"id":"study/program/JS/npx","title":"npx","description":"\u6982\u5ff5","sidebar":"studySidebar"},"study/program/JS/nrm":{"id":"study/program/JS/nrm","title":"nrm","description":"nrm \u662f\u4e00\u4e2a npm \u6e90\u7ba1\u7406\u5668\uff0c\u5141\u8bb8\u4f60\u5feb\u901f\u5730\u5728 npm\u6e90\u95f4\u5207\u6362\u3002","sidebar":"studySidebar"},"study/program/Kotlin/index":{"id":"study/program/Kotlin/index","title":"Kotlin","description":"Kotlin\uff08\u79d1\u7279\u6797\uff09\u662f\u4e00\u4e2a\u7528\u4e8e\u73b0\u4ee3\u591a\u5e73\u53f0\u5e94\u7528\u7684\u9759\u6001\u7f16\u7a0b\u8bed\u8a00\uff0c\u7531 JetBrains \u5f00\u53d1\u3002","sidebar":"studySidebar"},"study/program/Lua/index":{"id":"study/program/Lua/index","title":"Lua","description":"\u5b66\u4e60\u8d44\u6599","sidebar":"studySidebar"},"study/program/Rust/index":{"id":"study/program/Rust/index","title":"Rust","description":"\u4e00\u95e8\u8d4b\u4e88\u6bcf\u4e2a\u4eba\u6784\u5efa\u53ef\u9760\u4e14\u9ad8\u6548\u8f6f\u4ef6\u80fd\u529b\u7684\u8bed\u8a00\u3002","sidebar":"studySidebar"},"study/program/\u6280\u672f\u6587\u6863":{"id":"study/program/\u6280\u672f\u6587\u6863","title":"\u6280\u672f\u6587\u6863","description":"\u6280\u672f\u6587\u6863","sidebar":"studySidebar"},"study/program/\u7f16\u8bd1\u5668":{"id":"study/program/\u7f16\u8bd1\u5668","title":"\u7f16\u8bd1\u5668","description":"C/C++/Objective-C \u7b49\u7c7b C \u7f16\u8bd1\u5668","sidebar":"studySidebar"},"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6":{"id":"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","title":"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","description":"Electron","sidebar":"studySidebar"},"study/stock/20240711":{"id":"study/stock/20240711","title":"20240711","description":""},"study/stock/20241008":{"id":"study/stock/20241008","title":"20241008","description":"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c\u4e00\u4e2a\u4ea4\u6613\u65e5"},"study/stock/20241009":{"id":"study/stock/20241009","title":"20241009","description":"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 2 \u4e2a\u4ea4\u6613\u65e5"},"study/stock/20241010":{"id":"study/stock/20241010","title":"20241010","description":"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 3 \u4e2a\u4ea4\u6613\u65e5"},"study/stock/20241011":{"id":"study/stock/20241011","title":"20241011","description":"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 4 \u4e2a\u4ea4\u6613\u65e5\uff0c\u4e5f\u662f\u672c\u5468\u7684\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5"},"study/stock/20241014":{"id":"study/stock/20241014","title":"20241014","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241015":{"id":"study/stock/20241015","title":"20241015","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241016":{"id":"study/stock/20241016","title":"20241016","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/20241017":{"id":"study/stock/20241017","title":"20241017","description":"\u4eca\u5929\u5468\u56db"},"study/stock/20241018":{"id":"study/stock/20241018","title":"20241018","description":"\u4eca\u5929\u5468\u4e94"},"study/stock/20241021":{"id":"study/stock/20241021","title":"20241021","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241022":{"id":"study/stock/20241022","title":"20241022","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241023":{"id":"study/stock/20241023","title":"20241023","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/20241024":{"id":"study/stock/20241024","title":"20241024","description":"\u4eca\u5929\u5468\u56db"},"study/stock/20241029":{"id":"study/stock/20241029","title":"20241029","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241031":{"id":"study/stock/20241031","title":"20241031","description":"\u4eca\u5929\u5468\u56db"},"study/stock/20241101":{"id":"study/stock/20241101","title":"20241101","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241102":{"id":"study/stock/20241102","title":"20241102","description":"\u4eca\u5929\u5468\u516d"},"study/stock/20241104":{"id":"study/stock/20241104","title":"20241104","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241105":{"id":"study/stock/20241105","title":"20241105","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241106":{"id":"study/stock/20241106","title":"20241106","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/20241107":{"id":"study/stock/20241107","title":"20241107","description":"\u4eca\u5929\u5468\u56db"},"study/stock/20241108":{"id":"study/stock/20241108","title":"20241108","description":"\u4eca\u5929\u5468\u4e94"},"study/stock/20241111":{"id":"study/stock/20241111","title":"20241111","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241112":{"id":"study/stock/20241112","title":"20241112","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241113":{"id":"study/stock/20241113","title":"20241113","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/20241114":{"id":"study/stock/20241114","title":"20241114","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/\u672f":{"id":"study/stock/\u672f","title":"\u672f","description":"1"},"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1":{"id":"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1","title":"CPU\u7ebf\u7a0b\u5e76\u53d1","description":"CPU \u7ebf\u7a0b \u8fdb\u7a0b \u5e76\u53d1 \u5e76\u884c","sidebar":"studySidebar"},"study/system/index":{"id":"study/system/index","title":"\u672a\u6574\u7406","description":"\u5b66\u4e60\u8d44\u6599","sidebar":"studySidebar"},"study/system/IO":{"id":"study/system/IO","title":"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6","description":"I/O\uff08Input/Output\uff09\u6a21\u578b\u662f\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u4e00\u4e2a\u5173\u952e\u6982\u5ff5\uff0c\u5b83\u6d89\u53ca\u5230\u5982\u4f55\u8fdb\u884c\u8f93\u5165\u548c\u8f93\u51fa\u64cd\u4f5c\uff0c\u800c\u8fd9\u5728\u8ba1\u7b97\u673a\u5e94\u7528\u4e2d\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e0b\uff0c\u9009\u62e9\u6b63\u786e\u7684 I/O \u6a21\u578b\u662f\u81f3\u5173\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u5b83\u4f1a\u5f71\u54cd\u5230\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u54cd\u5e94\u6027\u3002","sidebar":"studySidebar"},"study/system/openWRT":{"id":"study/system/openWRT","title":"openWRT","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/system/Open\u6b27\u62c9":{"id":"study/system/Open\u6b27\u62c9","title":"Open\u6b27\u62c9","description":"\u5b57\u7b26\u96c6\u95ee\u9898","sidebar":"studySidebar"},"study/system/shell\u7f16\u7a0b\u667aexpect":{"id":"study/system/shell\u7f16\u7a0b\u667aexpect","title":"shell\u7f16\u7a0b\u667aexpect","description":"expect","sidebar":"studySidebar"},"study/system/yum-dnf":{"id":"study/system/yum-dnf","title":"yum-dnf","description":"yum","sidebar":"studySidebar"},"study/system/\u5185\u5b58\u7ba1\u7406":{"id":"study/system/\u5185\u5b58\u7ba1\u7406","title":"\u5185\u5b58\u7ba1\u7406","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790":{"id":"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790","title":"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790","description":"\u67b6\u6784\uff0c\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790","sidebar":"studySidebar"},"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838":{"id":"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","title":"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","description":"\u4ec0\u4e48\u662f\u5185\u6838","sidebar":"studySidebar"},"study/system/\u7a0b\u5e8f\u8c03\u8bd5":{"id":"study/system/\u7a0b\u5e8f\u8c03\u8bd5","title":"\u7a0b\u5e8f\u8c03\u8bd5","description":"strace","sidebar":"studySidebar"},"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6":{"id":"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","title":"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","description":"CFS","sidebar":"studySidebar"},"study/think/index":{"id":"study/think/index","title":"\u6982\u8ff0","description":"\u8de8\u8d8a\u7f16\u7a0b\u8bed\u8a00\u7684\u4e00\u4e9b\u5957\u8def\u3002","sidebar":"studySidebar"},"study/think/IT_CT_OT":{"id":"study/think/IT_CT_OT","title":"IT_CT_OT","description":"IT","sidebar":"studySidebar"},"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177":{"id":"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","title":"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c":{"id":"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","title":"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","description":"\u6bcf\u59295\u70b9\u4e4b\u540e\u82b110\u5206\u949f\u7684\u65f6\u95f4\u5ba1\u67e5\u4e00\u4e0b\u522b\u4eba\u7684\u4ee3\u7801\uff0c\u5e76\u548c\u4ee3\u7801\u4f5c\u8005\u6c9f\u901a\uff1b","sidebar":"studySidebar"},"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5":{"id":"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","title":"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","description":"Raft","sidebar":"studySidebar"},"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink":{"id":"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","title":"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","description":"\u5b9e\u65f6\u8ba1\u7b97","sidebar":"studySidebar"},"study/think/\u5e76\u53d1\u6a21\u578b":{"id":"study/think/\u5e76\u53d1\u6a21\u578b","title":"\u5e76\u53d1\u6a21\u578b","description":"\u4e1a\u754c\u5c06\u5982\u4f55\u5b9e\u73b0\u5e76\u53d1\u7f16\u7a0b\u603b\u7ed3\u5f52\u7eb3\u4e3a\u5404\u5f0f\u5404\u6837\u7684\u5e76\u53d1\u6a21\u578b\uff0c\u5e38\u89c1\u7684\u5e76\u53d1\u6a21\u578b\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a","sidebar":"studySidebar"},"study/think/\u67b6\u6784/CAP\u7406\u8bba":{"id":"study/think/\u67b6\u6784/CAP\u7406\u8bba","title":"CAP\u7406\u8bba","description":"\u7406\u8bba\u77e5\u8bc6","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784":{"id":"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784","title":"\u5f02\u5730\u591a\u6d3b\u67b6\u6784","description":"\u5e72\u8d27\uff5c\u641e\u61c2\u300c\u5f02\u5730\u591a\u6d3b\u300d\uff0c\u770b\u8fd9\u7bc7\u5c31\u591f\u4e86","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0":{"id":"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0","title":"\u6280\u672f\u4e2d\u53f0","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u67b6\u6784":{"id":"study/think/\u67b6\u6784/\u67b6\u6784","title":"\u67b6\u6784","description":"\u5b9a\u4e49","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b":{"id":"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b","title":"\u67b6\u6784\u56fe\u793a\u4f8b","description":"image.png","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861":{"id":"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861","title":"\u8d1f\u8f7d\u5747\u8861","description":"DNS\u8d1f\u8f7d","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f":{"id":"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","title":"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","description":"\u867d\u7136\u8fd1\u5341\u5e74\u6765\u5404\u79cd\u5b58\u50a8\u6280\u672f\u98de\u901f\u53d1\u5c55\uff0c\u4f46\u5173\u7cfb\u6570\u636e\u5e93\u7531\u4e8e\u5176 ACID \u7684\u7279\u6027\u548c\u529f\u80fd\u5f3a\u5927\u7684 SQL \u67e5\u8be2\uff0c\u76ee\u524d\u8fd8\u662f\u5404\u79cd\u4e1a\u52a1\u7cfb\u7edf\u4e2d\u5173\u952e\u548c\u6838\u5fc3\u7684\u5b58\u50a8\u7cfb\u7edf\uff0c\u5f88\u591a\u573a\u666f\u4e0b\u9ad8\u6027\u80fd\u7684\u8bbe\u8ba1\u6700\u6838\u5fc3\u7684\u90e8\u5206\u5c31\u662f\u5173\u7cfb\u6570\u636e\u5e93\u7684\u8bbe\u8ba1\u3002","sidebar":"studySidebar"},"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model":{"id":"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model","title":"Actor Model","description":"Actor\u6a21\u578b\u662f\u4e00\u4e2a\u6982\u5ff5\u6a21\u578b\uff0c\u7528\u4e8e\u5904\u7406\u5e76\u53d1\u8ba1\u7b97\u3002\u5b83\u5b9a\u4e49\u4e86\u4e00\u7cfb\u5217\u7cfb\u7edf\u7ec4\u4ef6\u5e94\u8be5\u5982\u4f55\u52a8\u4f5c\u548c\u4ea4\u4e92\u7684\u901a\u7528\u89c4\u5219\uff0c\u6700\u8457\u540d\u7684\u4f7f\u7528\u8fd9\u5957\u89c4\u5219\u7684\u7f16\u7a0b\u8bed\u8a00\u662fErlang\u3002","sidebar":"studySidebar"},"study/think/\u6982\u5ff5\u6a21\u578b/Proactor":{"id":"study/think/\u6982\u5ff5\u6a21\u578b/Proactor","title":"Proactor","description":"Reactor \u662f\u975e\u963b\u585e\u540c\u6b65\u7f51\u7edc\u6a21\u578b\uff0c\u56e0\u4e3a\u771f\u6b63\u7684 read \u548c send \u64cd\u4f5c\u90fd\u9700\u8981\u7528\u6237\u8fdb\u7a0b\u540c\u6b65\u64cd\u4f5c\u3002\u8fd9\u91cc\u7684\u201c\u540c\u6b65\u201d\u6307\u7528\u6237\u8fdb\u7a0b\u5728\u6267\u884c read \u548c send \u8fd9\u7c7b I/O \u64cd\u4f5c\u7684\u65f6\u5019\u662f\u540c\u6b65\u7684\uff0c\u5982\u679c\u628a I/O \u64cd\u4f5c\u6539\u4e3a\u5f02\u6b65\u5c31\u80fd\u591f\u8fdb\u4e00\u6b65\u63d0\u5347\u6027\u80fd\uff0c\u8fd9\u5c31\u662f\u5f02\u6b65\u7f51\u7edc\u6a21\u578b Proactor\u3002","sidebar":"studySidebar"},"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f":{"id":"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","title":"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","description":"5\u79cdI/O\u6a21\u578b\u6bd4\u8f83","sidebar":"studySidebar"},"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58":{"id":"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58","title":"\u5206\u5e03\u5f0f\u7f13\u5b58","description":"\u7f13\u5b58\u4f5c\u4e3a\u78c1\u76d8\u4ee5\u5916\u7684\u4e00\u79cd\u5b58\u50a8\u6570\u636e\u7684\u65b9\u5f0f\uff0c\u5b83\u6709\u7740\u6bd4\u78c1\u76d8\u66f4\u5feb\u7684\u5b58\u53d6\u6548\u7387\uff0c\u56e0\u6b64\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002\u5728\u5355\u4f53\u7cfb\u7edf\u4e2d\uff0c\u4e00\u822c\u4f1a\u7528\u5230\u672c\u5730\u7f13\u5b58\u3002\u4f46\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u672c\u5730\u7f13\u5b58\u5c31\u663e\u5f97\u4e0d\u591f\u7528\u4e86\uff0c\u8fd9\u65f6\u5f80\u5f80\u8981\u7528\u5230\u5206\u5e03\u5f0f\u7f13\u5b58\u3002","sidebar":"studySidebar"},"study/think/\u7f13\u5b58/\u7f13\u5b58":{"id":"study/think/\u7f13\u5b58/\u7f13\u5b58","title":"\u7f13\u5b58","description":"| | Ehcache | Redis |","sidebar":"studySidebar"},"study/think/\u8bbe\u8ba1\u6a21\u5f0f":{"id":"study/think/\u8bbe\u8ba1\u6a21\u5f0f","title":"\u8bbe\u8ba1\u6a21\u5f0f","description":"\u516d\u5927\u539f\u5219","sidebar":"studySidebar"},"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97":{"id":"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97","title":"\u8c08\u5de5\u4f5c\u5fc3\u5f97","description":"\u5236\u5b9a\u539f\u5219\uff1a\u624b\u4e2d\u65e0\u5200\uff0c\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200","sidebar":"studySidebar"},"study/think/\u9650\u6d41":{"id":"study/think/\u9650\u6d41","title":"\u9650\u6d41","description":"\u524d\u8a00","sidebar":"studySidebar"},"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD":{"id":"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","title":"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","description":"\u4ec0\u4e48\u662fDDD","sidebar":"studySidebar"},"xuanxing/back/index":{"id":"xuanxing/back/index","title":"\u6982\u8ff0","description":"\u4e3b\u8981\u4f7f\u7528 Java\uff0c\u4e2d\u95f4\u4ef6\u53ef\u96c6\u6210\u6216\u72ec\u7acb\u90e8\u7f72\u3002","sidebar":"xuanxingSidebar"},"xuanxing/devops/index":{"id":"xuanxing/devops/index","title":"\u6982\u8ff0","description":"\u4e00\u822c\u9700\u8981\u5305\u62ec\u5982\u4e0b\u5185\u5bb9\uff1a","sidebar":"xuanxingSidebar"},"xuanxing/fe/index":{"id":"xuanxing/fe/index","title":"\u6982\u8ff0","description":"\u524d\u7aef\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a","sidebar":"xuanxingSidebar"},"xuanxing/fe/\u5b98\u7f51":{"id":"xuanxing/fe/\u5b98\u7f51","title":"\u5b98\u7f51","description":"\u5b98\u7f51\u6bd4\u8f83\u504f\u7eaf\u5c55\u793a\uff0c\u5bf9SEO\u6709\u8981\u6c42\uff0c\u5bf9CMS\u6709\u8981\u6c42\uff0c\u5bf9\u90e8\u5206\u8fd0\u8425\u6709\u9700\u6c42\uff1b","sidebar":"xuanxingSidebar"},"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef":{"id":"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef","title":"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef","description":"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7528\u6237\u7aef\u548c\u7ba1\u7406\u7aef\u90fd\u662f\u504f\u4e2d\u540e\u53f0\u7684\u7ba1\u7406\u7cfb\u7edf\uff0c\u6240\u4ee5\u4ed6\u4eec\u4e24\u4e2a\u524d\u7aef\u7684\u6280\u672f\u9009\u578b\u4e0a\u5e94\u8be5\u662f\u7edf\u4e00\u7684\uff1b","sidebar":"xuanxingSidebar"},"xuanxing/fe/\u79fb\u52a8\u7aef":{"id":"xuanxing/fe/\u79fb\u52a8\u7aef","title":"\u79fb\u52a8\u7aef","description":"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u79fb\u52a8\u7aef\u65b9\u9762\uff0c\u9996\u9009\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\uff0c\u5982\u679c\u6709\u5916\u8d38\u9700\u6c42\uff0c\u53ef\u4ee5\u589e\u52a0 APP \u548c Mobile WEB\u3002","sidebar":"xuanxingSidebar"},"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668":{"id":"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668","title":"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668","description":"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7ec4\u6001\u7f16\u8f91\u5668\u548c\u5927\u5c4f\u7f16\u8f91\u5668\u90fd\u662f\u5c5e\u4e8e\u53ef\u89c6\u5316\u7f16\u8f91\u5668\u7684\u8303\u7574\u3002","sidebar":"xuanxingSidebar"},"xuanxing/index":{"id":"xuanxing/index","title":"\u7efc\u8ff0","description":"\u7efc\u5408\u8003\u8651","sidebar":"xuanxingSidebar"},"xuanxing/thingsboard/index":{"id":"xuanxing/thingsboard/index","title":"\u7efc\u8ff0","description":"thingsboard \u5e94\u8be5\u7b97\u662f\u9876\u7ea7\u7684\u5f00\u6e90\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e86\u3002\u4f46\u662f\uff0c\u7ecf\u6211\u7814\u7a76\uff0c\u4e0d\u662f\u5f88\u9002\u5408\u56fd\u5185\u7528\u6237\u3002\u4f46\u662f\u5374\u6709\u5f88\u591a\u5b66\u4e60\u548c\u501f\u9274\u7684\u5730\u65b9\uff0c\u4f8b\u5982\u89c4\u5219\u5f15\u64ce\u3002","sidebar":"xuanxingSidebar"},"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528":{"id":"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528","title":"\u5982\u4f55\u4f7f\u7528","description":"\u4e0a\u884c\u6d88\u606f","sidebar":"xuanxingSidebar"},"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784":{"id":"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784","title":"\u6e90\u7801\u7ed3\u6784","description":"swagger","sidebar":"xuanxingSidebar"}}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8581],{35610:d=>{d.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"studySidebar":[{"type":"link","label":"\u5b66\u65e0\u6b62\u5883","href":"/docs/study/","docId":"study/index"},{"type":"category","label":"\u524d\u7aef","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/fe/","docId":"study/fe/index"},{"type":"link","label":"\u524d\u7aef\u6a21\u5757\u5316","href":"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316","docId":"study/fe/\u524d\u7aef\u6a21\u5757\u5316"},{"type":"link","label":"ARMS\u524d\u7aef\u76d1\u63a7","href":"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7","docId":"study/fe/ARMS\u524d\u7aef\u76d1\u63a7"},{"type":"link","label":"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","href":"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","docId":"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55"},{"type":"link","label":"TypeScript\u8bed\u6cd5\u56fe","href":"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe","docId":"study/fe/TypeScript\u8bed\u6cd5\u56fe"},{"type":"link","label":"WebGL","href":"/docs/study/fe/WebGL","docId":"study/fe/WebGL"},{"type":"link","label":"mqtt.js","href":"/docs/study/fe/mqtt.js","docId":"study/fe/mqtt.js"},{"type":"link","label":"\u4e0b\u8f7d\u56fe\u7247","href":"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247","docId":"study/fe/\u4e0b\u8f7d\u56fe\u7247"},{"type":"link","label":"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","href":"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","docId":"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u540e\u7aef","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/back/","docId":"study/back/index"},{"type":"link","label":"Zookeeper","href":"/docs/study/back/Zookeeper","docId":"study/back/Zookeeper"},{"type":"link","label":"\u9ad8\u5e76\u53d1API","href":"/docs/study/back/\u9ad8\u5e76\u53d1API","docId":"study/back/\u9ad8\u5e76\u53d1API"},{"type":"category","label":"API \u7f51\u5173","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Apache APISIX","href":"/docs/study/back/API\u7f51\u5173/APISIX","docId":"study/back/API\u7f51\u5173/APISIX"},{"type":"link","label":"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","href":"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","docId":"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316"},{"type":"link","label":"OpenResty","href":"/docs/study/back/API\u7f51\u5173/OpenResty","docId":"study/back/API\u7f51\u5173/OpenResty"}],"href":"/docs/study/back/API\u7f51\u5173/"},{"type":"category","label":"IEDA","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Maven","href":"/docs/study/back/IEDA/Maven","docId":"study/back/IEDA/Maven"},{"type":"link","label":"encoding","href":"/docs/study/back/IEDA/encoding","docId":"study/back/IEDA/encoding"},{"type":"link","label":"File and Code Templates","href":"/docs/study/back/IEDA/fileandcodetemplates","docId":"study/back/IEDA/fileandcodetemplates"},{"type":"link","label":"Save Action","href":"/docs/study/back/IEDA/save-action","docId":"study/back/IEDA/save-action"},{"type":"link","label":"\u4f7f\u7528\u95ee\u9898","href":"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898","docId":"study/back/IEDA/\u4f7f\u7528\u95ee\u9898"}]},{"type":"category","label":"JavaWeb\u670d\u52a1\u5668","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Jetty\u4f18\u5316","href":"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316","docId":"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316"},{"type":"link","label":"Tomcat\u4f18\u5316","href":"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316","docId":"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316"},{"type":"link","label":"Undertow\u4f18\u5316","href":"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316","docId":"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316"}]},{"type":"link","label":"Keepalived","href":"/docs/study/back/Keepalived","docId":"study/back/Keepalived"},{"type":"link","label":"POST\u7f16\u7801\u683c\u5f0f","href":"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f","docId":"study/back/POST\u7f16\u7801\u683c\u5f0f"},{"type":"link","label":"WSL","href":"/docs/study/back/WSL","docId":"study/back/WSL"},{"type":"category","label":"maven","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","href":"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","docId":"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e"},{"type":"link","label":"mvnw","href":"/docs/study/back/maven/mvnw","docId":"study/back/maven/mvnw"},{"type":"link","label":"\u5e38\u7528\u53c2\u6570","href":"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570","docId":"study/back/maven/\u5e38\u7528\u53c2\u6570"},{"type":"link","label":"\u6784\u5efaDocker","href":"/docs/study/back/maven/\u6784\u5efaDocker","docId":"study/back/maven/\u6784\u5efaDocker"}]},{"type":"category","label":"mq","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Kafka","href":"/docs/study/back/mq/Kafka","docId":"study/back/mq/Kafka"},{"type":"link","label":"MQTT broker","href":"/docs/study/back/mq/MQTT broker","docId":"study/back/mq/MQTT broker"},{"type":"link","label":"MQ\u5b9e\u73b0\u5bf9\u6bd4","href":"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4","docId":"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4"},{"type":"link","label":"RocketMQ","href":"/docs/study/back/mq/RocketMQ","docId":"study/back/mq/RocketMQ"}]},{"type":"category","label":"spring","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"@Configuration","href":"/docs/study/back/spring/@Configuration","docId":"study/back/spring/@Configuration"},{"type":"link","label":"@Resource@Autowired","href":"/docs/study/back/spring/@Resource@Autowired","docId":"study/back/spring/@Resource@Autowired"},{"type":"link","label":"Spring AOP","href":"/docs/study/back/spring/SpringAOP","docId":"study/back/spring/SpringAOP"},{"type":"link","label":"Spring Boot","href":"/docs/study/back/spring/SpringBoot","docId":"study/back/spring/SpringBoot"},{"type":"link","label":"Spirng Framework","href":"/docs/study/back/spring/SpringFramework","docId":"study/back/spring/SpringFramework"},{"type":"link","label":"Spring Security","href":"/docs/study/back/spring/SpringSecurity","docId":"study/back/spring/SpringSecurity"},{"type":"link","label":"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","href":"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","docId":"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3"}]},{"type":"category","label":"springcloud","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"SpringCloud\u4e94\u5927\u7ec4\u4ef6","href":"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6","docId":"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6"},{"type":"link","label":"nacos","href":"/docs/study/back/springcloud/nacos","docId":"study/back/springcloud/nacos"},{"type":"link","label":"\u5fae\u670d\u52a1","href":"/docs/study/back/springcloud/\u5fae\u670d\u52a1","docId":"study/back/springcloud/\u5fae\u670d\u52a1"}]},{"type":"link","label":"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","href":"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","docId":"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"},{"type":"category","label":"\u4fe1\u606f\u5b89\u5168","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Oauth2","href":"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2","docId":"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2"},{"type":"link","label":"\u8ba4\u8bc1","href":"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1","docId":"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1"},{"type":"link","label":"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","href":"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","docId":"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb"}]},{"type":"category","label":"\u6570\u636e\u5e93\u76f8\u5173","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"JPA-MyBatis","href":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis","docId":"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis"},{"type":"link","label":"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","href":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","docId":"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60"},{"type":"link","label":"MyBatis","href":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis","docId":"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis"},{"type":"link","label":"log4jdbc","href":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc","docId":"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc"}]},{"type":"link","label":"\u9519\u8bef\u6392\u9664\u96c6\u9526","href":"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526","docId":"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u6570\u636e\u5e93","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/db/","docId":"study/db/index"},{"type":"link","label":"\u7efc\u5408","href":"/docs/study/db/\u7efc\u5408","docId":"study/db/\u7efc\u5408"},{"type":"category","label":"NewSQL","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"TiDB","href":"/docs/study/db/NewSQL/TiDB","docId":"study/db/NewSQL/TiDB"}]},{"type":"category","label":"NoSQL","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Cassandra","href":"/docs/study/db/NoSQL/Cassandra","docId":"study/db/NoSQL/Cassandra"},{"type":"link","label":"Etcd","href":"/docs/study/db/NoSQL/Etcd","docId":"study/db/NoSQL/Etcd"},{"type":"link","label":"Hadoop","href":"/docs/study/db/NoSQL/Hadoop","docId":"study/db/NoSQL/Hadoop"},{"type":"link","label":"Hbase","href":"/docs/study/db/NoSQL/Hbase","docId":"study/db/NoSQL/Hbase"},{"type":"link","label":"Ignite","href":"/docs/study/db/NoSQL/Ignite","docId":"study/db/NoSQL/Ignite"},{"type":"link","label":"MongoDB","href":"/docs/study/db/NoSQL/MongoDB","docId":"study/db/NoSQL/MongoDB"},{"type":"link","label":"Redis","href":"/docs/study/db/NoSQL/Redis","docId":"study/db/NoSQL/Redis"}]},{"type":"category","label":"OLAP","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u7efc\u5408\u6982\u8ff0","href":"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0","docId":"study/db/OLAP/\u7efc\u5408\u6982\u8ff0"},{"type":"link","label":"ClickHouse","href":"/docs/study/db/OLAP/ClickHouse","docId":"study/db/OLAP/ClickHouse"},{"type":"link","label":"Kylin","href":"/docs/study/db/OLAP/Kylin","docId":"study/db/OLAP/Kylin"},{"type":"link","label":"StarRocks","href":"/docs/study/db/OLAP/StarRocks","docId":"study/db/OLAP/StarRocks"}]},{"type":"category","label":"SQL","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u7efc\u5408\u6982\u8ff0","href":"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0","docId":"study/db/SQL/\u7efc\u5408\u6982\u8ff0"},{"type":"link","label":"Kingbase","href":"/docs/study/db/SQL/Kingbase","docId":"study/db/SQL/Kingbase"},{"type":"link","label":"MariaDB","href":"/docs/study/db/SQL/MariaDB","docId":"study/db/SQL/MariaDB"},{"type":"link","label":"MySQL \u7b14\u8bb0","href":"/docs/study/db/SQL/MySQL-\u7b14\u8bb0","docId":"study/db/SQL/MySQL-\u7b14\u8bb0"},{"type":"link","label":"MySQL","href":"/docs/study/db/SQL/MySQL","docId":"study/db/SQL/MySQL"},{"type":"link","label":"OpenGauss","href":"/docs/study/db/SQL/OpenGauss","docId":"study/db/SQL/OpenGauss"},{"type":"link","label":"PostgreSQL","href":"/docs/study/db/SQL/PostgreSQL","docId":"study/db/SQL/PostgreSQL"},{"type":"link","label":"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","href":"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","docId":"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72"},{"type":"link","label":"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","href":"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","docId":"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72"},{"type":"link","label":"\u8fbe\u68a6\u6570\u636e\u5e93","href":"/docs/study/db/SQL/\u8fbe\u68a6","docId":"study/db/SQL/\u8fbe\u68a6"}]},{"type":"category","label":"\u5168\u6587\u641c\u7d22\u5f15\u64ce","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u7efc\u5408\u6982\u8ff0","href":"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0","docId":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0"},{"type":"link","label":"Elasticsearch","href":"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch","docId":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch"}]},{"type":"category","label":"\u65f6\u5e8f\u6570\u636e\u5e93","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"InfluxDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB"},{"type":"link","label":"TDengine","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine"},{"type":"link","label":"Apache IoTDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB"},{"type":"link","label":"Druid","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid"},{"type":"link","label":"KairosDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB"},{"type":"link","label":"OpenTSDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB"},{"type":"link","label":"TimescaleDB","href":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB","docId":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB"}]},{"type":"category","label":"\u9a71\u52a8","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Apache ShardingSphere","href":"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere","docId":"study/db/\u9a71\u52a8/ApacheShardingSphere"}]}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7f16\u7a0b\u8bed\u8a00/\u5de5\u5177","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/program/","docId":"study/program/index"},{"type":"category","label":"Java","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"GC","href":"/docs/study/program/JAVA/GC","docId":"study/program/JAVA/GC"},{"type":"link","label":"GraalVM","href":"/docs/study/program/JAVA/GraalVM","docId":"study/program/JAVA/GraalVM"},{"type":"link","label":"Guice","href":"/docs/study/program/JAVA/Guice","docId":"study/program/JAVA/Guice"},{"type":"link","label":"JDK17-bin","href":"/docs/study/program/JAVA/JDK17-bin","docId":"study/program/JAVA/JDK17-bin"},{"type":"link","label":"JDK17","href":"/docs/study/program/JAVA/JDK17","docId":"study/program/JAVA/JDK17"},{"type":"link","label":"JDK21","href":"/docs/study/program/JAVA/JDK21","docId":"study/program/JAVA/JDK21"},{"type":"link","label":"JDK8","href":"/docs/study/program/JAVA/JDK8","docId":"study/program/JAVA/JDK8"},{"type":"link","label":"JNI","href":"/docs/study/program/JAVA/JNI","docId":"study/program/JAVA/JNI"},{"type":"link","label":"Maven","href":"/docs/study/program/JAVA/Maven","docId":"study/program/JAVA/Maven"},{"type":"link","label":"OpenJ9","href":"/docs/study/program/JAVA/OepnJ9","docId":"study/program/JAVA/OepnJ9"},{"type":"link","label":"RxJava","href":"/docs/study/program/JAVA/RxJava","docId":"study/program/JAVA/RxJava"},{"type":"link","label":"Vert.x","href":"/docs/study/program/JAVA/Vert.x","docId":"study/program/JAVA/Vert.x"},{"type":"link","label":"\u4ee3\u7801\u751f\u6210","href":"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210","docId":"study/program/JAVA/\u4ee3\u7801\u751f\u6210"},{"type":"link","label":"\u9501\uff08\u591a\u7ebf\u7a0b\uff09","href":"/docs/study/program/JAVA/\u9501","docId":"study/program/JAVA/\u9501"}],"href":"/docs/study/program/JAVA/"},{"type":"link","label":"ABIAPI","href":"/docs/study/program/ABIAPI","docId":"study/program/ABIAPI"},{"type":"category","label":"C C++ \u7f16\u7a0b\u8bed\u8a00","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"C\u8bed\u8a00\u6807\u51c6\u5e93","href":"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93","docId":"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93"},{"type":"link","label":"C\u8bed\u8a00\u7248\u672c","href":"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c","docId":"study/program/C/C\u8bed\u8a00\u7248\u672c"},{"type":"link","label":"MFC-WinForm-WPF-DotNet\u7b49","href":"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49","docId":"study/program/C/MFC-WinForm-WPF-DotNet\u7b49"},{"type":"link","label":"MinGW_CygWin","href":"/docs/study/program/C/MinGW_CygWin","docId":"study/program/C/MinGW_CygWin"},{"type":"link","label":"cmake","href":"/docs/study/program/C/cmake","docId":"study/program/C/cmake"},{"type":"link","label":"extern-c","href":"/docs/study/program/C/extern-c","docId":"study/program/C/extern-c"},{"type":"link","label":"make","href":"/docs/study/program/C/make","docId":"study/program/C/make"},{"type":"link","label":"pragma","href":"/docs/study/program/C/pragma","docId":"study/program/C/pragma"},{"type":"link","label":"size_t-ptrdiff_t-intptr_t-uintptr_t","href":"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t","docId":"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t"},{"type":"link","label":"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","href":"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","docId":"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93"},{"type":"link","label":"\u6784\u5efa\u5de5\u5177","href":"/docs/study/program/C/\u6784\u5efa\u5de5\u5177","docId":"study/program/C/\u6784\u5efa\u5de5\u5177"},{"type":"link","label":"\u865a\u62df\u7f51\u5361","href":"/docs/study/program/C/\u865a\u62df\u7f51\u5361","docId":"study/program/C/\u865a\u62df\u7f51\u5361"}],"href":"/docs/study/program/C/"},{"type":"category","label":"C++","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CGI","href":"/docs/study/program/CPP/CGI","docId":"study/program/CPP/CGI"},{"type":"link","label":"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1","href":"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1","docId":"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1"}],"href":"/docs/study/program/CPP/"},{"type":"link","label":"CSharp","href":"/docs/study/program/CSharp/","docId":"study/program/CSharp/index"},{"type":"category","label":"Dart","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Flutter","href":"/docs/study/program/Dart/Flutter","docId":"study/program/Dart/Flutter"},{"type":"link","label":"Dart \u5b66\u4e60\u8d44\u6599","href":"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599","docId":"study/program/Dart/\u5b66\u4e60\u8d44\u6599"}]},{"type":"category","label":"ETL","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"dataX","href":"/docs/study/program/ETL/dataX","docId":"study/program/ETL/dataX"},{"type":"link","label":"flume","href":"/docs/study/program/ETL/flume","docId":"study/program/ETL/flume"},{"type":"link","label":"kettle","href":"/docs/study/program/ETL/kettle","docId":"study/program/ETL/kettle"},{"type":"link","label":"sqoop","href":"/docs/study/program/ETL/sqoop","docId":"study/program/ETL/sqoop"}]},{"type":"link","label":"Erlang","href":"/docs/study/program/Erlang/","docId":"study/program/Erlang/index"},{"type":"category","label":"GIT","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"GIT-\u5e38\u7528\u547d\u4ee4","href":"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4","docId":"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4"},{"type":"link","label":"GitHub Desktop","href":"/docs/study/program/GIT/GitHubDesktop","docId":"study/program/GIT/GitHubDesktop"},{"type":"link","label":"PR\u548cMR","href":"/docs/study/program/GIT/PR\u548cMR","docId":"study/program/GIT/PR\u548cMR"}]},{"type":"category","label":"Golang","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CGO","href":"/docs/study/program/Golang/CGO","docId":"study/program/Golang/CGO"},{"type":"link","label":"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","href":"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","docId":"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406"},{"type":"link","label":"\u5e38\u7528\u7684\u5de5\u5177","href":"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177","docId":"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177"},{"type":"link","label":"\u5e38\u7528\u7684\u6846\u67b6","href":"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6","docId":"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6"}],"href":"/docs/study/program/Golang/"},{"type":"category","label":"JS","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"npm","href":"/docs/study/program/JS/npm","docId":"study/program/JS/npm"},{"type":"link","label":"npx","href":"/docs/study/program/JS/npx","docId":"study/program/JS/npx"},{"type":"link","label":"nrm","href":"/docs/study/program/JS/nrm","docId":"study/program/JS/nrm"}]},{"type":"link","label":"Kotlin","href":"/docs/study/program/Kotlin/","docId":"study/program/Kotlin/index"},{"type":"link","label":"Lua","href":"/docs/study/program/Lua/","docId":"study/program/Lua/index"},{"type":"link","label":"Rust","href":"/docs/study/program/Rust/","docId":"study/program/Rust/index"},{"type":"link","label":"\u6280\u672f\u6587\u6863","href":"/docs/study/program/\u6280\u672f\u6587\u6863","docId":"study/program/\u6280\u672f\u6587\u6863"},{"type":"link","label":"\u7f16\u8bd1\u5668","href":"/docs/study/program/\u7f16\u8bd1\u5668","docId":"study/program/\u7f16\u8bd1\u5668"},{"type":"link","label":"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","href":"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","docId":"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7cfb\u7edf\u8fd0\u7ef4","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/devops/","docId":"study/devops/index"},{"type":"link","label":"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","href":"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","docId":"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790"},{"type":"link","label":"Linux\u53d1\u884c\u7248","href":"/docs/study/devops/Linux\u53d1\u884c\u7248","docId":"study/devops/Linux\u53d1\u884c\u7248"},{"type":"link","label":"Linux\u8fd0\u7ef4-GRUB","href":"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB","docId":"study/devops/Linux\u8fd0\u7ef4-GRUB"},{"type":"link","label":"Linux\u8fd0\u7ef4-proc","href":"/docs/study/devops/Linux\u8fd0\u7ef4-proc","docId":"study/devops/Linux\u8fd0\u7ef4-proc"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u5e38\u7528","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528","docId":"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","docId":"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","docId":"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","docId":"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u81ea\u542f","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f","docId":"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f"},{"type":"link","label":"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","href":"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","docId":"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1"},{"type":"link","label":"SHELL","href":"/docs/study/devops/SHELL","docId":"study/devops/SHELL"},{"type":"link","label":"ansible","href":"/docs/study/devops/ansible","docId":"study/devops/ansible"},{"type":"link","label":"centos-nginx","href":"/docs/study/devops/centos-gninx-app","docId":"study/devops/centos-gninx-app"},{"type":"link","label":"centos-jdk17-app","href":"/docs/study/devops/centos-jdk17-app","docId":"study/devops/centos-jdk17-app"},{"type":"link","label":"jar\u8fd0\u7ef4-\u76d1\u63a7","href":"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7","docId":"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7"},{"type":"link","label":"ssh","href":"/docs/study/devops/ssh","docId":"study/devops/ssh"},{"type":"link","label":"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","href":"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","docId":"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u786c\u4ef6/\u5d4c\u5165\u5f0f","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/hard/","docId":"study/hard/index"},{"type":"link","label":"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","href":"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","docId":"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a"},{"type":"link","label":"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","href":"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","docId":"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1"},{"type":"link","label":"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","href":"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","docId":"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b"},{"type":"link","label":"\u901a\u4fe1\u6a21\u7ec4","href":"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4","docId":"study/hard/\u901a\u4fe1\u6a21\u7ec4"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7f16\u7a0b\u601d\u60f3","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/think/","docId":"study/think/index"},{"type":"link","label":"\u8bbe\u8ba1\u6a21\u5f0f","href":"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f","docId":"study/think/\u8bbe\u8ba1\u6a21\u5f0f"},{"type":"link","label":"IT_CT_OT","href":"/docs/study/think/IT_CT_OT","docId":"study/think/IT_CT_OT"},{"type":"category","label":"\u4ee3\u7801\u8bc4\u5ba1","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","href":"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","docId":"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177"},{"type":"link","label":"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","href":"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","docId":"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c"}]},{"type":"link","label":"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","href":"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","docId":"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5"},{"type":"link","label":"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","href":"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","docId":"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink"},{"type":"link","label":"\u5e76\u53d1\u6a21\u578b","href":"/docs/study/think/\u5e76\u53d1\u6a21\u578b","docId":"study/think/\u5e76\u53d1\u6a21\u578b"},{"type":"category","label":"\u67b6\u6784","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CAP\u7406\u8bba","href":"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba","docId":"study/think/\u67b6\u6784/CAP\u7406\u8bba"},{"type":"link","label":"\u5f02\u5730\u591a\u6d3b\u67b6\u6784","href":"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784","docId":"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784"},{"type":"link","label":"\u6280\u672f\u4e2d\u53f0","href":"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0","docId":"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0"},{"type":"link","label":"\u67b6\u6784\u56fe\u793a\u4f8b","href":"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b","docId":"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b"},{"type":"link","label":"\u8d1f\u8f7d\u5747\u8861","href":"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861","docId":"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861"},{"type":"link","label":"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","href":"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","docId":"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f"}],"href":"/docs/study/think/\u67b6\u6784/"},{"type":"category","label":"\u6982\u5ff5\u6a21\u578b","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Actor Model","href":"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model","docId":"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model"},{"type":"link","label":"Proactor","href":"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor","docId":"study/think/\u6982\u5ff5\u6a21\u578b/Proactor"},{"type":"link","label":"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","href":"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","docId":"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f"}]},{"type":"category","label":"\u7f13\u5b58","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u5206\u5e03\u5f0f\u7f13\u5b58","href":"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58","docId":"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58"}],"href":"/docs/study/think/\u7f13\u5b58/"},{"type":"link","label":"\u8c08\u5de5\u4f5c\u5fc3\u5f97","href":"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97","docId":"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97"},{"type":"link","label":"\u9650\u6d41","href":"/docs/study/think/\u9650\u6d41","docId":"study/think/\u9650\u6d41"},{"type":"link","label":"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","href":"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","docId":"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD"}],"collapsed":true,"collapsible":true},{"type":"category","label":"Docker","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/docker/","docId":"study/docker/index"},{"type":"link","label":"Docker Compose","href":"/docs/study/docker/Docker-compose","docId":"study/docker/Docker-compose"},{"type":"link","label":"Docker Swarm","href":"/docs/study/docker/Docker-swarm","docId":"study/docker/Docker-swarm"},{"type":"link","label":"Dockerfile\u4f7f\u7528\u8be6\u89e3","href":"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3","docId":"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3"},{"type":"link","label":"Docker\u7684\u4f7f\u7528\u603b\u7ed3","href":"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3","docId":"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3"},{"type":"link","label":"docker-kafka","href":"/docs/study/docker/docker-kafka","docId":"study/docker/docker-kafka"},{"type":"link","label":"docker-linux","href":"/docs/study/docker/docker-linux","docId":"study/docker/docker-linux"},{"type":"link","label":"docker-mysql","href":"/docs/study/docker/docker-mysql","docId":"study/docker/docker-mysql"},{"type":"link","label":"docker-network","href":"/docs/study/docker/docker-network","docId":"study/docker/docker-network"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7ade\u54c1\u5206\u6790","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/study/competitive/","docId":"study/competitive/index"},{"type":"link","label":"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","href":"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","docId":"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76"},{"type":"link","label":"CMP-DMP-AEP-BAP","href":"/docs/study/competitive/CMP-DMP-AEP-BAP","docId":"study/competitive/CMP-DMP-AEP-BAP"},{"type":"link","label":"TP-LINK","href":"/docs/study/competitive/TP-LINK","docId":"study/competitive/TP-LINK"},{"type":"link","label":"ThingsCloud","href":"/docs/study/competitive/ThingsCloud","docId":"study/competitive/ThingsCloud"},{"type":"link","label":"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","href":"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","docId":"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u64cd\u4f5c\u7cfb\u7edf","items":[{"type":"link","label":"\u672a\u6574\u7406","href":"/docs/study/system/","docId":"study/system/index"},{"type":"link","label":"CPU\u7ebf\u7a0b\u5e76\u53d1","href":"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1","docId":"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1"},{"type":"link","label":"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6","href":"/docs/study/system/IO","docId":"study/system/IO"},{"type":"link","label":"Open\u6b27\u62c9","href":"/docs/study/system/Open\u6b27\u62c9","docId":"study/system/Open\u6b27\u62c9"},{"type":"link","label":"openWRT","href":"/docs/study/system/openWRT","docId":"study/system/openWRT"},{"type":"link","label":"shell\u7f16\u7a0b\u667aexpect","href":"/docs/study/system/shell\u7f16\u7a0b\u667aexpect","docId":"study/system/shell\u7f16\u7a0b\u667aexpect"},{"type":"link","label":"yum-dnf","href":"/docs/study/system/yum-dnf","docId":"study/system/yum-dnf"},{"type":"link","label":"\u5185\u5b58\u7ba1\u7406","href":"/docs/study/system/\u5185\u5b58\u7ba1\u7406","docId":"study/system/\u5185\u5b58\u7ba1\u7406"},{"type":"link","label":"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790","href":"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790","docId":"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790"},{"type":"link","label":"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","href":"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","docId":"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838"},{"type":"link","label":"\u7a0b\u5e8f\u8c03\u8bd5","href":"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5","docId":"study/system/\u7a0b\u5e8f\u8c03\u8bd5"},{"type":"link","label":"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","href":"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","docId":"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7f51\u7edc","items":[{"type":"link","label":"IPV6","href":"/docs/study/net/IPV6","docId":"study/net/IPV6"},{"type":"link","label":"Linux\u7f51\u7edc\u914d\u7f6e","href":"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e","docId":"study/net/Linux\u7f51\u7edc\u914d\u7f6e"},{"type":"link","label":"MacOS\u7f16\u8bd1OpenVPN","href":"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN","docId":"study/net/MacOS\u7f16\u8bd1OpenVPN"},{"type":"link","label":"OpenVPN","href":"/docs/study/net/OpenVPN","docId":"study/net/OpenVPN"},{"type":"link","label":"SNMP","href":"/docs/study/net/SNMP","docId":"study/net/SNMP"},{"type":"link","label":"TCP","href":"/docs/study/net/TCP","docId":"study/net/TCP"},{"type":"link","label":"UDP","href":"/docs/study/net/UDP","docId":"study/net/UDP"},{"type":"link","label":"VLAN-VXLAN","href":"/docs/study/net/VLAN-VXLAN","docId":"study/net/VLAN-VXLAN"},{"type":"link","label":"Linux ip \u547d\u4ee4","href":"/docs/study/net/ip","docId":"study/net/ip"},{"type":"link","label":"Linux iptables \u9632\u706b\u5899","href":"/docs/study/net/iptables","docId":"study/net/iptables"},{"type":"link","label":"Linux netns","href":"/docs/study/net/netns","docId":"study/net/netns"},{"type":"link","label":"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)","href":"/docs/study/net/p2p","docId":"study/net/p2p"},{"type":"link","label":"unix pfctl \u9632\u706b\u5899","href":"/docs/study/net/pfctl\u9632\u706b\u5899","docId":"study/net/pfctl\u9632\u706b\u5899"},{"type":"link","label":"route","href":"/docs/study/net/route","docId":"study/net/route"},{"type":"link","label":"Linux tc","href":"/docs/study/net/tc","docId":"study/net/tc"},{"type":"link","label":"tuntap","href":"/docs/study/net/tuntap","docId":"study/net/tuntap"},{"type":"link","label":"vpn","href":"/docs/study/net/vpn","docId":"study/net/vpn"},{"type":"link","label":"\u4ee3\u7406","href":"/docs/study/net/\u4ee3\u7406","docId":"study/net/\u4ee3\u7406"},{"type":"link","label":"\u5185\u7f51\u7a7f\u900f","href":"/docs/study/net/\u5185\u7f51\u7a7f\u900f","docId":"study/net/\u5185\u7f51\u7a7f\u900f"},{"type":"link","label":"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","href":"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","docId":"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4"},{"type":"link","label":"\u5f02\u5730\u7ec4\u7f51","href":"/docs/study/net/\u5f02\u5730\u7ec4\u7f51","docId":"study/net/\u5f02\u5730\u7ec4\u7f51"},{"type":"link","label":"\u6293\u5305\u5de5\u5177","href":"/docs/study/net/\u6293\u5305\u5de5\u5177","docId":"study/net/\u6293\u5305\u5de5\u5177"},{"type":"link","label":"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","href":"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","docId":"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u52a0\u89e3\u5bc6","items":[{"type":"link","label":"ASN.1","href":"/docs/study/encryption/ASN.1","docId":"study/encryption/ASN.1"},{"type":"link","label":"ECC \u548c RSA","href":"/docs/study/encryption/ECC-RSA","docId":"study/encryption/ECC-RSA"},{"type":"link","label":"HSM","href":"/docs/study/encryption/HSM","docId":"study/encryption/HSM"},{"type":"link","label":"OpenSSL","href":"/docs/study/encryption/OpenSSL","docId":"study/encryption/OpenSSL"},{"type":"link","label":"PKCS","href":"/docs/study/encryption/PKCS","docId":"study/encryption/PKCS"},{"type":"link","label":"PKI","href":"/docs/study/encryption/PKI","docId":"study/encryption/PKI"},{"type":"link","label":"SSL TLS HTTPS","href":"/docs/study/encryption/SSL_TLS","docId":"study/encryption/SSL_TLS"},{"type":"link","label":"\u52a0\u89e3\u5bc6","href":"/docs/study/encryption/","docId":"study/encryption/index"},{"type":"link","label":"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","href":"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","docId":"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5"},{"type":"link","label":"\u52a0\u89e3\u5bc6\u670d\u52a1","href":"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1","docId":"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1"},{"type":"link","label":"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5","href":"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3","docId":"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3"},{"type":"link","label":"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","href":"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","docId":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f"},{"type":"link","label":"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","href":"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","docId":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"},{"type":"link","label":"\u6570\u5b57\u8bc1\u4e66","href":"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66","docId":"study/encryption/\u6570\u5b57\u8bc1\u4e66"},{"type":"link","label":"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","href":"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","docId":"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3"},{"type":"link","label":"\u7b49\u4fdd\u548c\u5bc6\u8bc4","href":"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4","docId":"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4"},{"type":"link","label":"\u884c\u4e1a\u5206\u6790","href":"/docs/study/encryption/\u884c\u4e1a\u5206\u6790","docId":"study/encryption/\u884c\u4e1a\u5206\u6790"},{"type":"link","label":"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","href":"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","docId":"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f"},{"type":"link","label":"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","href":"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","docId":"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u4eba\u5de5\u667a\u80fd","items":[{"type":"link","label":"\u4eba\u5de5\u667a\u80fd","href":"/docs/study/ai/","docId":"study/ai/index"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u5176\u4ed6","items":[{"type":"link","label":"\u5b57\u8282\u5e8f Big Endian Little Endian","href":"/docs/study/other/\u5b57\u8282\u5e8f","docId":"study/other/\u5b57\u8282\u5e8f"},{"type":"link","label":"\u6807\u51c6\u540d\u79f0\u7f29\u5199","href":"/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199","docId":"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199"}],"collapsed":true,"collapsible":true}],"xuanxingSidebar":[{"type":"link","label":"\u7efc\u8ff0","href":"/docs/xuanxing/","docId":"xuanxing/index"},{"type":"category","label":"\u524d\u7aef","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/xuanxing/fe/","docId":"xuanxing/fe/index"},{"type":"link","label":"\u5b98\u7f51","href":"/docs/xuanxing/fe/\u5b98\u7f51","docId":"xuanxing/fe/\u5b98\u7f51"},{"type":"link","label":"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef","href":"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef","docId":"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef"},{"type":"link","label":"\u79fb\u52a8\u7aef","href":"/docs/xuanxing/fe/\u79fb\u52a8\u7aef","docId":"xuanxing/fe/\u79fb\u52a8\u7aef"},{"type":"link","label":"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668","href":"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668","docId":"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u540e\u7aef","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/xuanxing/back/","docId":"xuanxing/back/index"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u8fd0\u7ef4","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/xuanxing/devops/","docId":"xuanxing/devops/index"}],"collapsed":true,"collapsible":true},{"type":"category","label":"ThingsBoard","items":[{"type":"link","label":"\u7efc\u8ff0","href":"/docs/xuanxing/thingsboard/","docId":"xuanxing/thingsboard/index"},{"type":"link","label":"\u5982\u4f55\u4f7f\u7528","href":"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528","docId":"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528"},{"type":"link","label":"\u6e90\u7801\u7ed3\u6784","href":"/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784","docId":"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784"}],"collapsed":true,"collapsible":true}],"iotCloudSidebar":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/iotcloud/","docId":"iotcloud/index"},{"type":"category","label":"\u8bbe\u5907\u63a5\u5165","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/iotcloud/connect/","docId":"iotcloud/connect/index"},{"type":"link","label":"MQTT \u8bbe\u5907\u63a5\u5165","href":"/docs/iotcloud/connect/mqtt","docId":"iotcloud/connect/mqtt"},{"type":"link","label":"TCP \u8bbe\u5907\u63a5\u5165","href":"/docs/iotcloud/connect/tcp","docId":"iotcloud/connect/tcp"},{"type":"link","label":"HTTP \u8bbe\u5907\u63a5\u5165","href":"/docs/iotcloud/connect/http","docId":"iotcloud/connect/http"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u8bbe\u5907\u7ba1\u7406","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/iotcloud/devicemanager/","docId":"iotcloud/devicemanager/index"},{"type":"link","label":"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406","href":"/docs/iotcloud/devicemanager/device-type","docId":"iotcloud/devicemanager/device-type"},{"type":"link","label":"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406","href":"/docs/iotcloud/devicemanager/device-info","docId":"iotcloud/devicemanager/device-info"},{"type":"link","label":"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406","href":"/docs/iotcloud/devicemanager/device-group","docId":"iotcloud/devicemanager/device-group"}],"collapsed":true,"collapsible":true},{"type":"category","label":"\u7528\u6237\u4e2d\u5fc3","items":[{"type":"link","label":"\u6982\u8ff0","href":"/docs/iotcloud/usercenter/","docId":"iotcloud/usercenter/index"},{"type":"link","label":"\u7528\u6237\u65e5\u5fd7","href":"/docs/iotcloud/usercenter/user-log","docId":"iotcloud/usercenter/user-log"},{"type":"link","label":"\u7528\u6237\u8bbe\u7f6e","href":"/docs/iotcloud/usercenter/user-settings","docId":"iotcloud/usercenter/user-settings"},{"type":"link","label":"RAM \u7528\u6237","href":"/docs/iotcloud/usercenter/system-user","docId":"iotcloud/usercenter/system-user"},{"type":"link","label":"\u5ba2\u6237\u7ba1\u7406","href":"/docs/iotcloud/usercenter/customer","docId":"iotcloud/usercenter/customer"}],"collapsed":true,"collapsible":true}]},"docs":{"iotcloud/alarmlinkage/index":{"id":"iotcloud/alarmlinkage/index","title":"\u6982\u8ff0","description":"\u62a5\u8b66\u8054\u52a8\u4e3b\u8981\u662f\u7ba1\u7406\u62a5\u8b66\u63a8\u9001\u548c\u62a5\u8b66\u8054\u7cfb\u4eba\u3002"},"iotcloud/connect/http":{"id":"iotcloud/connect/http","title":"HTTP \u8bbe\u5907\u63a5\u5165","description":"","sidebar":"iotCloudSidebar"},"iotcloud/connect/index":{"id":"iotcloud/connect/index","title":"\u6982\u8ff0","description":"\u8bbe\u5907\u63a5\u5165\u4e91\u5e73\u53f0\uff0c\u6700\u6838\u5fc3\u7684\u70b9\u662f\u63a5\u5165\u534f\u8bae\uff0c\u672c\u5e73\u53f0\u76ee\u524d\u652f\u6301\u6700\u6d41\u884c\u7684 MQTT\uff0c\u4f20\u7edf\u7684 TCP\uff0c\u4ee5\u53ca\u5904\u7406\u5f02\u6784\u7cfb\u7edf\u6216\u7b80\u5355\u4f7f\u7528\u7684 HTTP \u534f\u8bae\u3002","sidebar":"iotCloudSidebar"},"iotcloud/connect/mqtt":{"id":"iotcloud/connect/mqtt","title":"MQTT \u8bbe\u5907\u63a5\u5165","description":"\u6211\u89c9\u5f97\u5927\u6982\u5206\u4e24\u79cd\u6a21\u5f0f\uff1a","sidebar":"iotCloudSidebar"},"iotcloud/connect/tcp":{"id":"iotcloud/connect/tcp","title":"TCP \u8bbe\u5907\u63a5\u5165","description":"TCP \u63a5\u5165\u5e94\u8be5\u5c5e\u4e8e\u6700\u4e3a\u4f20\u7edf\u7684\u63a5\u5165\u65b9\u5f0f\uff0c\u534f\u8bae\u53ef\u4ee5\u91c7\u7528\u79c1\u6709\u534f\u8bae\u6216\u901a\u7528\u7684 Modbus \u7b49\u3002","sidebar":"iotCloudSidebar"},"iotcloud/devicemanager/device-group":{"id":"iotcloud/devicemanager/device-group","title":"\u8bbe\u5907\u5206\u7ec4\u7ba1\u7406","description":"\u4e3a\u4ec0\u4e48\u9700\u8981\u8bbe\u8ba1\u8bbe\u5907\u5206\u7ec4\u8fd9\u4e2a\u529f\u80fd\uff1f","sidebar":"iotCloudSidebar"},"iotcloud/devicemanager/device-info":{"id":"iotcloud/devicemanager/device-info","title":"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406","description":"","sidebar":"iotCloudSidebar"},"iotcloud/devicemanager/device-type":{"id":"iotcloud/devicemanager/device-type","title":"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406","description":"","sidebar":"iotCloudSidebar"},"iotcloud/devicemanager/index":{"id":"iotcloud/devicemanager/index","title":"\u6982\u8ff0","description":"\u8bbe\u5907\u7ba1\u7406\u7684\u5185\u5bb9\u5305\u62ec\u8bbe\u5907\u7c7b\u578b\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u4fe1\u606f\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3001\u8bbe\u5907\u5206\u7ec4\u53ca\u5176\u9644\u5c5e\u529f\u80fd\u7684\u7ba1\u7406\u3002","sidebar":"iotCloudSidebar"},"iotcloud/index":{"id":"iotcloud/index","title":"\u6982\u8ff0","description":"\u6240\u6709\u7a0b\u5e8f\u7684\u4ee3\u7801\u5168\u90e8\u5f00\u6e90\uff0c\u514d\u8d39\u5546\u7528\uff0c\u4e0d\u53d7\u4efb\u4f55\u9650\u5236\uff0c\u81f4\u529b\u4e8e\u6253\u9020\u514d\u8d39\u3001\u5f00\u6e90\u3001\u6027\u80fd\u4f18\u5f02\u7684\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u751f\u6001\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/customer":{"id":"iotcloud/usercenter/customer","title":"\u5ba2\u6237\u7ba1\u7406","description":"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u5ba2\u6237 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/index":{"id":"iotcloud/usercenter/index","title":"\u6982\u8ff0","description":"\u7528\u6237\u4e2d\u5fc3\u5305\u62ec\uff1a\u5f53\u524d\u767b\u5f55\u7528\u6237\u7684\u7528\u6237\u65e5\u5fd7\uff0c\u6ce8\u518c\u7528\u6237\u53ca\u5176\u76f8\u5173\u529f\u80fd\u7684\u4fe1\u606f\u8bbe\u7f6e\uff0cRAM \u7528\u6237\u7684\u7ba1\u7406\uff0c\u5ba2\u6237\u7684\u7ba1\u7406\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/system-user":{"id":"iotcloud/usercenter/system-user","title":"RAM \u7528\u6237","description":"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd RAM\uff08Resource Access Management\uff09\u7528\u6237\u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/user-log":{"id":"iotcloud/usercenter/user-log","title":"\u7528\u6237\u65e5\u5fd7","description":"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u65e5\u5fd7 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002","sidebar":"iotCloudSidebar"},"iotcloud/usercenter/user-settings":{"id":"iotcloud/usercenter/user-settings","title":"\u7528\u6237\u8bbe\u7f6e","description":"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u8bbe\u7f6e \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002","sidebar":"iotCloudSidebar"},"study/ai/index":{"id":"study/ai/index","title":"\u4eba\u5de5\u667a\u80fd","description":"LLM","sidebar":"studySidebar"},"study/back/API\u7f51\u5173/APISIX":{"id":"study/back/API\u7f51\u5173/APISIX","title":"Apache APISIX","description":"Apache APISIX \u662f\u4e00\u4e2a\u52a8\u6001\u3001\u5b9e\u65f6\u3001\u9ad8\u6027\u80fd\u7684\u4e91\u539f\u751f API \u7f51\u5173\uff0c\u63d0\u4f9b\u4e86\u8d1f\u8f7d\u5747\u8861\u3001\u52a8\u6001\u4e0a\u6e38\u3001\u7070\u5ea6\u53d1\u5e03\u3001\u670d\u52a1\u7194\u65ad\u3001\u8eab\u4efd\u8ba4\u8bc1\u3001\u53ef\u89c2\u6d4b\u6027\u7b49\u4e30\u5bcc\u7684\u6d41\u91cf\u7ba1\u7406\u529f\u80fd\u3002","sidebar":"studySidebar"},"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316":{"id":"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","title":"APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","description":"\u914d\u7f6e\u4e0a\u6e38\u670d\u52a1\u7684keep-alive","sidebar":"studySidebar"},"study/back/API\u7f51\u5173/index":{"id":"study/back/API\u7f51\u5173/index","title":"API \u7f51\u5173","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/back/API\u7f51\u5173/OpenResty":{"id":"study/back/API\u7f51\u5173/OpenResty","title":"OpenResty","description":"OpenResty\xae \u662f\u4e00\u4e2a\u57fa\u4e8e Nginx \u4e0e Lua \u7684\u9ad8\u6027\u80fd Web \u5e73\u53f0\uff0c\u5176\u5185\u90e8\u96c6\u6210\u4e86\u5927\u91cf\u7cbe\u826f\u7684 Lua \u5e93\u3001\u7b2c\u4e09\u65b9\u6a21\u5757\u4ee5\u53ca\u5927\u591a\u6570\u7684\u4f9d\u8d56\u9879\u3002\u7528\u4e8e\u65b9\u4fbf\u5730\u642d\u5efa\u80fd\u591f\u5904\u7406\u8d85\u9ad8\u5e76\u53d1\u3001\u6269\u5c55\u6027\u6781\u9ad8\u7684\u52a8\u6001 Web \u5e94\u7528\u3001Web \u670d\u52a1\u548c\u52a8\u6001\u7f51\u5173\u3002","sidebar":"studySidebar"},"study/back/IEDA/encoding":{"id":"study/back/IEDA/encoding","title":"encoding","description":"\u6ce8\u610f encoding \u7684\u914d\u7f6e","sidebar":"studySidebar"},"study/back/IEDA/fileandcodetemplates":{"id":"study/back/IEDA/fileandcodetemplates","title":"File and Code Templates","description":"File and Code Templates","sidebar":"studySidebar"},"study/back/IEDA/Maven":{"id":"study/back/IEDA/Maven","title":"Maven","description":"Maven \u5728 IDEA \u7684\u6700\u4f73\u914d\u7f6e","sidebar":"studySidebar"},"study/back/IEDA/save-action":{"id":"study/back/IEDA/save-action","title":"Save Action","description":"Save Action","sidebar":"studySidebar"},"study/back/IEDA/\u4f7f\u7528\u95ee\u9898":{"id":"study/back/IEDA/\u4f7f\u7528\u95ee\u9898","title":"\u4f7f\u7528\u95ee\u9898","description":"\u6784\u5efa\u7684\u65f6\u5019\u5361\u4f4f\u4e86","sidebar":"studySidebar"},"study/back/index":{"id":"study/back/index","title":"\u6982\u8ff0","description":"\u540e\u7aef\u662f\u76f8\u5f53\u4e8e\u524d\u7aef\u6765\u8bf4\u7684\uff0c\u7528\u6237\u770b\u4e0d\u5230\u7684\u5185\u5bb9\u7edf\u4e00\u6210\u4e3a\u540e\u7aef\uff0c\u540e\u7aef\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a","sidebar":"studySidebar"},"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316":{"id":"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316","title":"Jetty\u4f18\u5316","description":"Jetty","sidebar":"studySidebar"},"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316":{"id":"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316","title":"Tomcat\u4f18\u5316","description":"Tomcat","sidebar":"studySidebar"},"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316":{"id":"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316","title":"Undertow\u4f18\u5316","description":"Undertow \u662f\u4e00\u4e2a\u7075\u6d3b\u7684\u3001\u9ad8\u6027\u80fd\u7684 Web \u670d\u52a1\u5668\uff0c\u5b83\u53ef\u4ee5\u4f5c\u4e3a\u72ec\u7acb\u7684\u670d\u52a1\u5668\u8fd0\u884c\uff0c\u4e5f\u80fd\u5f88\u597d\u5730\u5d4c\u5165\u5230 Java \u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982 Spring Boot \u5e94\u7528\u3002\u5b83\u662f\u57fa\u4e8e Java NIO\uff08Non - Blocking I/O\uff09\u5b9e\u73b0\u7684\uff0c\u8fd9\u4f7f\u5f97\u5b83\u80fd\u591f\u9ad8\u6548\u5730\u5904\u7406\u5927\u91cf\u5e76\u53d1\u8fde\u63a5\uff0c\u63d0\u4f9b\u4e86\u51fa\u8272\u7684\u6027\u80fd\u3002","sidebar":"studySidebar"},"study/back/Keepalived":{"id":"study/back/Keepalived","title":"Keepalived","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/back/maven/mvnw":{"id":"study/back/maven/mvnw","title":"mvnw","description":"- \u7b80\u4e66-mvnw \u4ecb\u7ecd","sidebar":"studySidebar"},"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e":{"id":"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","title":"pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","description":"\u5206\u7c7b","sidebar":"studySidebar"},"study/back/maven/\u5e38\u7528\u53c2\u6570":{"id":"study/back/maven/\u5e38\u7528\u53c2\u6570","title":"\u5e38\u7528\u53c2\u6570","description":"\u8df3\u8fc7\u6d4b\u8bd5","sidebar":"studySidebar"},"study/back/maven/\u6784\u5efaDocker":{"id":"study/back/maven/\u6784\u5efaDocker","title":"\u6784\u5efaDocker","description":"\u6784\u5efa Java SpringBoot Docker \u955c\u50cf","sidebar":"studySidebar"},"study/back/mq/Kafka":{"id":"study/back/mq/Kafka","title":"Kafka","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/back/mq/MQTT broker":{"id":"study/back/mq/MQTT broker","title":"MQTT broker","description":"EMQ EMQX","sidebar":"studySidebar"},"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4":{"id":"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4","title":"MQ\u5b9e\u73b0\u5bf9\u6bd4","description":"\u56db\u79cd MQ \u5b9e\u73b0\u5bf9\u6bd4","sidebar":"studySidebar"},"study/back/mq/RocketMQ":{"id":"study/back/mq/RocketMQ","title":"RocketMQ","description":"RocketMQ \u548c Kafka \u6709\u4ec0\u4e48\u533a\u522b\uff1f","sidebar":"studySidebar"},"study/back/POST\u7f16\u7801\u683c\u5f0f":{"id":"study/back/POST\u7f16\u7801\u683c\u5f0f","title":"POST\u7f16\u7801\u683c\u5f0f","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/back/spring/@Configuration":{"id":"study/back/spring/@Configuration","title":"@Configuration","description":"\u5728 Spring \u6846\u67b6\u4e2d\uff0c@Configuration \u6ce8\u89e3\u7528\u4e8e\u58f0\u660e\u4e00\u4e2a Java \u7c7b\u4f5c\u4e3a\u914d\u7f6e\u7c7b\uff0c\u5b83\u66ff\u4ee3\u4e86\u4f20\u7edf\u7684 XML \u914d\u7f6e\u65b9\u5f0f\u3002\u901a\u8fc7@Configuration \u6ce8\u89e3\u6807\u8bb0\u7684\u7c7b\u53ef\u4ee5\u5305\u542b@Bean \u6ce8\u89e3\uff0c\u7528\u4e8e\u5b9a\u4e49 Spring \u5bb9\u5668\u4e2d\u7684 Bean \u5bf9\u8c61\u3002","sidebar":"studySidebar"},"study/back/spring/@Resource@Autowired":{"id":"study/back/spring/@Resource@Autowired","title":"@Resource@Autowired","description":"@Autowired \u548c @Resource \u90fd\u662f\u7528\u6765\u5b9e\u73b0\u4f9d\u8d56\u6ce8\u5165\u7684\u6ce8\u89e3\uff08\u5728 Spring/Spring Boot \u9879\u76ee\u4e2d\uff09\uff0c\u4f46\u4e8c\u8005\u5374\u6709\u7740 5 \u70b9\u4e0d\u540c\uff1a","sidebar":"studySidebar"},"study/back/spring/SpringAOP":{"id":"study/back/spring/SpringAOP","title":"Spring AOP","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/back/spring/SpringBoot":{"id":"study/back/spring/SpringBoot","title":"Spring Boot","description":"\u5e38\u770b\u6587\u6863","sidebar":"studySidebar"},"study/back/spring/SpringFramework":{"id":"study/back/spring/SpringFramework","title":"Spirng Framework","description":"\u5b98\u65b9\u53c2\u8003\u6587\u6863","sidebar":"studySidebar"},"study/back/spring/SpringSecurity":{"id":"study/back/spring/SpringSecurity","title":"Spring Security","description":"Spring Security \u662f\u4e00\u5957\u5b89\u5168\u6846\u67b6\uff0c\u53ef\u4ee5\u57fa\u4e8e RBAC\uff08\u57fa\u4e8e\u89d2\u8272\u7684\u6743\u9650\u63a7\u5236\uff09\u5bf9\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u8fdb\u884c\u63a7\u5236\uff0c","sidebar":"studySidebar"},"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3":{"id":"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","title":"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","description":"InitializingBean","sidebar":"studySidebar"},"study/back/springcloud/nacos":{"id":"study/back/springcloud/nacos","title":"nacos","description":"\u4e00\u4e2a\u66f4\u6613\u4e8e\u6784\u5efa\u4e91\u539f\u751f\u5e94\u7528\u7684\u52a8\u6001\u670d\u52a1\u53d1\u73b0\u3001\u914d\u7f6e\u7ba1\u7406\u548c\u670d\u52a1\u7ba1\u7406\u5e73\u53f0","sidebar":"studySidebar"},"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6":{"id":"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6","title":"SpringCloud\u4e94\u5927\u7ec4\u4ef6","description":"image.png","sidebar":"studySidebar"},"study/back/springcloud/\u5fae\u670d\u52a1":{"id":"study/back/springcloud/\u5fae\u670d\u52a1","title":"\u5fae\u670d\u52a1","description":"\u5fae\u670d\u52a1\u662f\u5206\u5e03\u5f0f\u67b6\u6784\u7684\u4e00\u79cd\uff1b","sidebar":"studySidebar"},"study/back/WSL":{"id":"study/back/WSL","title":"WSL","description":"\u7528\u672c\u5730\u7684ssh\u547d\u4ee4\u8fde\u63a5WSL","sidebar":"studySidebar"},"study/back/Zookeeper":{"id":"study/back/Zookeeper","title":"Zookeeper","description":"Zookeeper\u6982\u8ff0","sidebar":"studySidebar"},"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5":{"id":"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","title":"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","description":"sonar","sidebar":"studySidebar"},"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2":{"id":"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2","title":"Oauth2","description":"Oauth2 \u662f\u76ee\u524d\u6700\u6d41\u884c\u7684\u6388\u6743\u673a\u5236\uff0c\u7528\u6765\u6388\u6743\u7b2c\u4e09\u65b9\u5e94\u7528\uff0c\u83b7\u53d6\u7528\u6237\u6570\u636e\u3002","sidebar":"studySidebar"},"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1":{"id":"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1","title":"\u8ba4\u8bc1","description":"\u53c2\u8003 Spring Security \u8ba4\u8bc1","sidebar":"studySidebar"},"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb":{"id":"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","title":"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","description":"\u53c2\u8003 Spring Security \u9632\u8303\u6f0f\u6d1e\u653b\u51fb","sidebar":"studySidebar"},"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60":{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","title":"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","description":"Java \u6570\u636e\u5e93\u8fde\u63a5\u6c60","sidebar":"studySidebar"},"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis":{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis","title":"JPA-MyBatis","description":"JPA","sidebar":"studySidebar"},"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc":{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc","title":"log4jdbc","description":"log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging system.","sidebar":"studySidebar"},"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis":{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis","title":"MyBatis","description":"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863","sidebar":"studySidebar"},"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526":{"id":"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526","title":"\u9519\u8bef\u6392\u9664\u96c6\u9526","description":"\u5185\u5b58\u4e0d\u8db3\uff0c\u5bfc\u81f4\u4e0a\u4f20\u6587\u4ef6\u5931\u8d25","sidebar":"studySidebar"},"study/back/\u9ad8\u5e76\u53d1API":{"id":"study/back/\u9ad8\u5e76\u53d1API","title":"\u9ad8\u5e76\u53d1API","description":"\u603b\u7ed3","sidebar":"studySidebar"},"study/competitive/CMP-DMP-AEP-BAP":{"id":"study/competitive/CMP-DMP-AEP-BAP","title":"CMP-DMP-AEP-BAP","description":"\u7b80\u8ff0","sidebar":"studySidebar"},"study/competitive/index":{"id":"study/competitive/index","title":"\u6982\u8ff0","description":"\u7269\u8054\u7f51\u884c\u4e1a\u7684\u4e00\u4e9b\u4e1a\u52a1\u5206\u6790\u3001\u516c\u53f8\u5206\u6790\u3001\u884c\u4e1a\u5206\u6790\u3002","sidebar":"studySidebar"},"study/competitive/ThingsCloud":{"id":"study/competitive/ThingsCloud","title":"ThingsCloud","description":"\u53c2\u8003\uff0c\u53c2\u8003\uff0c\u7edd\u5bf9\u53ef\u4ee5\u53c2\u8003\u3002","sidebar":"studySidebar"},"study/competitive/TP-LINK":{"id":"study/competitive/TP-LINK","title":"TP-LINK","description":"SD-VPN","sidebar":"studySidebar"},"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76":{"id":"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","title":"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","description":"\u5206\u7c7b\uff1a\u884c\u4e1a+\u573a\u666f+\u6a21\u5f0f","sidebar":"studySidebar"},"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0":{"id":"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","title":"\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","description":"\u5728\u5927\u4f17\u719f\u77e5\u7684\u7269\u8054\u7f51\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\u56db\u5927\u5c42\u6b21\u91cc\uff0c\u5e73\u53f0\u5c42\u5c06\u4f5c\u4e3a\u7269\u8054\u7f51\u4ece\u8bbe\u5907\u8fde\u63a5\u5230\u573a\u666f\u5e94\u7528\u7684\u5173\u952e\u201c\u6865\u6881\u201d\u800c\u53d1\u6325\u4f5c\u7528\u3002","sidebar":"studySidebar"},"study/db/index":{"id":"study/db/index","title":"\u6982\u8ff0","description":"\u5b58\u50a8\u6570\u636e\u7684\u670d\u52a1\u7edf\u4e00\u6210\u4e3a\u6570\u636e\u5e93\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a","sidebar":"studySidebar"},"study/db/NewSQL/TiDB":{"id":"study/db/NewSQL/TiDB","title":"TiDB","description":"\u80cc\u666f","sidebar":"studySidebar"},"study/db/NoSQL/Cassandra":{"id":"study/db/NoSQL/Cassandra","title":"Cassandra","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/db/NoSQL/Etcd":{"id":"study/db/NoSQL/Etcd","title":"Etcd","description":"ETCD\u662fCoreOs\u516c\u53f8\u53d1\u5e03\u7684\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u3001\u9ad8\u53ef\u7528\u7684\u3001key-value\u5b58\u50a8\u7684\u6570\u636e\u5e93\u3002\u57fa\u4e8eGo\u8bed\u8a00\u5b9e\u73b0\uff0ck8s\u4e2d\u4e5f\u4f7f\u7528\u4e86ETCD\u4f5c\u4e3a\u6570\u636e\u5e93\u3002\u4e3b\u8981\u7528\u4e8e\u5171\u4eab\u914d\u7f6e\u548c\u670d\u52a1\u53d1\u73b0\u3002\u76f8\u5bf9\u4e8ezookeeper\u91c7\u7528\u7684Paxos\uff0cETCD\u91c7\u7528\u7684\u662fRaft\u7b97\u6cd5\uff0c\u8be5\u7b97\u6cd5\u5177\u5907\u7684\u6027\u80fd\u66f4\u4f73\u3001\u6570\u636e\u4e00\u81f4\u6027\u5f3a\u7b49\u4f18\u70b9\u3002","sidebar":"studySidebar"},"study/db/NoSQL/Hadoop":{"id":"study/db/NoSQL/Hadoop","title":"Hadoop","description":"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f","sidebar":"studySidebar"},"study/db/NoSQL/Hbase":{"id":"study/db/NoSQL/Hbase","title":"Hbase","description":"\u5217\u5f0f\u6570\u636e\u5e93","sidebar":"studySidebar"},"study/db/NoSQL/Ignite":{"id":"study/db/NoSQL/Ignite","title":"Ignite","description":"\u5b9a\u4e49","sidebar":"studySidebar"},"study/db/NoSQL/MongoDB":{"id":"study/db/NoSQL/MongoDB","title":"MongoDB","description":"MongoDB","sidebar":"studySidebar"},"study/db/NoSQL/Redis":{"id":"study/db/NoSQL/Redis","title":"Redis","description":"Redis \u662f\u4ec0\u4e48","sidebar":"studySidebar"},"study/db/OLAP/ClickHouse":{"id":"study/db/OLAP/ClickHouse","title":"ClickHouse","description":"Clickhouse\u662fYandex\u5f00\u6e90\u7684\u4e00\u4e2a\u7528\u4e8e\u5b9e\u65f6\u6570\u636e\u5206\u6790\u7684\u6570\u636e\u5e93\uff0c\u4e00\u5f00\u59cb\u5c31\u7528\u5728yandex\u5185\u90e8\u7684\u591a\u4e2a\u6570\u636e\u5206\u6790\u4e1a\u52a1\u4e0a\u3002\u8981\u4ecb\u7ecdclickhouse\uff0c\u8fd8\u662f\u9700\u8981\u5148\u4ecb\u7ecd\u4e00\u4e0byandex\u3002Clickhouse\u4e3a\u4ec0\u4e48\u4f1a\u51fa\u73b0\uff0c\u5176\u5b9e\u548cyandex\u7684\u4e1a\u52a1\u5173\u7cfb\u975e\u5e38\u5927\u3002Yandex\u662f\u4fc4\u7f57\u65af\u6700\u5927\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u4f1a\u6709\u5f88\u591a\u6570\u636e\u5206\u6790\u7684\u4e1a\u52a1\uff0c\u5176\u4e2d\u6570\u636e\u91cf\u6700\u5927\u7684\u4e1a\u52a1\uff0c\u5c31\u662fYandex.Metrica\uff0c\u8fd9\u662f\u4e00\u4e2a\u548c\u767e\u5ea6\u7edf\u8ba1\u7c7b\u4f3c\u7684\u7f51\u7ad9\u6570\u636e\u5206\u6790\u670d\u52a1\uff0c\u6570\u636e\u91cf\u4e5f\u4ec5\u6b21\u4e8egoogle analysis\u3002\u81ea\u4eceClickhouse\u5f00\u6e90\u540e\uff0c\u5728\u56fd\u5185\u5916\u7684\u5f88\u591a\u516c\u53f8\u7684\u7ebf\u4e0a\u4e1a\u52a1\u90fd\u5df2\u7ecf\u5f00\u59cb\u4f7f\u7528\u3002","sidebar":"studySidebar"},"study/db/OLAP/Kylin":{"id":"study/db/OLAP/Kylin","title":"Kylin","description":"Apache Kylin\u2122\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u5206\u5e03\u5f0f\u7684\u5206\u6790\u578b\u6570\u636e\u4ed3\u5e93\uff0c\u63d0\u4f9bHadoop/Spark \u4e4b\u4e0a\u7684 SQL \u67e5\u8be2\u63a5\u53e3\u53ca\u591a\u7ef4\u5206\u6790\uff08OLAP\uff09\u80fd\u529b\u4ee5\u652f\u6301\u8d85\u5927\u89c4\u6a21\u6570\u636e\uff0c\u6700\u521d\u7531 eBay \u5f00\u53d1\u5e76\u8d21\u732e\u81f3\u5f00\u6e90\u793e\u533a\u3002\u5b83\u80fd\u5728\u4e9a\u79d2\u5185\u67e5\u8be2\u5de8\u5927\u7684\u8868\u3002","sidebar":"studySidebar"},"study/db/OLAP/StarRocks":{"id":"study/db/OLAP/StarRocks","title":"StarRocks","description":"\u80cc\u666f\u4fe1\u606f","sidebar":"studySidebar"},"study/db/OLAP/\u7efc\u5408\u6982\u8ff0":{"id":"study/db/OLAP/\u7efc\u5408\u6982\u8ff0","title":"\u7efc\u5408\u6982\u8ff0","description":"1. OLAP\u4e0eOLTP\u7684\u533a\u522b\uff1f","sidebar":"studySidebar"},"study/db/SQL/Kingbase":{"id":"study/db/SQL/Kingbase","title":"Kingbase","description":"\u5b98\u7f51 https://www.kingbase.com.cn/","sidebar":"studySidebar"},"study/db/SQL/MariaDB":{"id":"study/db/SQL/MariaDB","title":"MariaDB","description":"MariaDB\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u662fMySQL\u7684\u4e00\u4e2a\u5206\u652f\uff0c\u4e3b\u8981\u7531\u5f00\u6e90\u793e\u533a\u5728\u7ef4\u62a4\uff0c\u91c7\u7528GPL\u6388\u6743\u8bb8\u53ef\u3002\u5f00\u53d1\u8fd9\u4e2a\u5206\u652f\u7684\u539f\u56e0\u4e4b\u4e00\u662f\uff1a\u7532\u9aa8\u6587\u516c\u53f8\u6536\u8d2d\u4e86MySQL\u540e\uff0c\u6709\u5c06MySQL\u95ed\u6e90\u7684\u6f5c\u5728\u98ce\u9669\uff0c\u56e0\u6b64\u793e\u533a\u91c7\u7528\u5206\u652f\u7684\u65b9\u5f0f\u6765\u907f\u5f00\u8fd9\u4e2a\u98ce\u9669\u3002","sidebar":"studySidebar"},"study/db/SQL/MySQL":{"id":"study/db/SQL/MySQL","title":"MySQL","description":"\u7248\u672c\u9009\u62e9","sidebar":"studySidebar"},"study/db/SQL/MySQL-\u7b14\u8bb0":{"id":"study/db/SQL/MySQL-\u7b14\u8bb0","title":"MySQL \u7b14\u8bb0","description":"WITH \u67e5\u8be2","sidebar":"studySidebar"},"study/db/SQL/OpenGauss":{"id":"study/db/SQL/OpenGauss","title":"OpenGauss","description":"\u5b98\u7f51 https://opengauss.org/zh/","sidebar":"studySidebar"},"study/db/SQL/PostgreSQL":{"id":"study/db/SQL/PostgreSQL","title":"PostgreSQL","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/db/SQL/\u7efc\u5408\u6982\u8ff0":{"id":"study/db/SQL/\u7efc\u5408\u6982\u8ff0","title":"\u7efc\u5408\u6982\u8ff0","description":"\u80cc\u666f","sidebar":"studySidebar"},"study/db/SQL/\u8fbe\u68a6":{"id":"study/db/SQL/\u8fbe\u68a6","title":"\u8fbe\u68a6\u6570\u636e\u5e93","description":"\u4e3a\u4e86\u4fdd\u8bc1\u6570\u636e\u5e93\u7cfb\u7edf\u7684\u5b89\u5168\u6027\uff0cDM \u6570\u636e\u5e93\u91c7\u7528\u201c\u4e09\u6743\u5206\u7acb\u201d\u6216\u201c\u56db\u6743\u5206\u7acb\u201d\u7684\u5b89\u5168\u673a\u5236\uff0c\u201c\u4e09\u6743\u5206\u7acb\u201d\u65f6\u7cfb\u7edf\u5185\u7f6e\u4e09\u79cd\u7cfb\u7edf\u7ba1\u7406\u5458\uff0c\u5305\u62ec\u6570\u636e\u5e93\u7ba1\u7406\u5458\u3001\u6570\u636e\u5e93\u5b89\u5168\u5458\u548c\u6570\u636e\u5e93\u5ba1\u8ba1\u5458\uff0c\u201c\u56db\u6743\u5206\u7acb\u201d\u65f6\u65b0\u589e\u4e86\u4e00\u7c7b\u7528\u6237\uff0c\u79f0\u4e3a\u6570\u636e\u5e93\u5bf9\u8c61\u64cd\u4f5c\u5458\u3002\u5b83\u4eec\u5404\u53f8\u5176\u804c\uff0c\u4e92\u76f8\u5236\u7ea6\uff0c\u6709\u6548\u5730\u907f\u514d\u4e86\u5c06\u6240\u6709\u6743\u9650\u96c6\u4e2d\u4e8e\u4e00\u4eba\u7684\u98ce\u9669\uff0c\u4fdd\u8bc1\u4e86\u7cfb\u7edf\u7684\u5b89\u5168\u6027\u3002","sidebar":"studySidebar"},"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72":{"id":"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","title":"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","description":"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09","sidebar":"studySidebar"},"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72":{"id":"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","title":"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","description":"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09","sidebar":"studySidebar"},"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch":{"id":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch","title":"Elasticsearch","description":"ES\u7248\u672c","sidebar":"studySidebar"},"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0":{"id":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0","title":"\u7efc\u5408\u6982\u8ff0","description":"\u4f20\u7edf\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u901a\u8fc7\u7d22\u5f15\u6765\u8fbe\u5230\u5feb\u901f\u67e5\u8be2\u7684\u76ee\u7684\uff0c\u4f46\u662f\u5728\u5168\u6587\u641c\u7d22\u7684\u4e1a\u52a1\u573a\u666f\u4e0b\uff0c\u7d22\u5f15\u4e5f\u65e0\u80fd\u4e3a\u529b\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1a","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB","title":"Apache IoTDB","description":"\u5b98\u65b9\u6587\u6863","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid","title":"Druid","description":"\u57fa\u672c\u4fe1\u606f","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB","title":"InfluxDB","description":"\u5b98\u65b9\u6587\u6863","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB","title":"KairosDB","description":"\u57fa\u672c\u4fe1\u606f","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB","title":"OpenTSDB","description":"\u57fa\u672c\u4fe1\u606f","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine","title":"TDengine","description":"\u5b98\u7f51","sidebar":"studySidebar"},"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB":{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB","title":"TimescaleDB","description":"\u57fa\u672c\u4fe1\u606f","sidebar":"studySidebar"},"study/db/\u7efc\u5408":{"id":"study/db/\u7efc\u5408","title":"\u7efc\u5408","description":"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b","sidebar":"studySidebar"},"study/db/\u9a71\u52a8/ApacheShardingSphere":{"id":"study/db/\u9a71\u52a8/ApacheShardingSphere","title":"Apache ShardingSphere","description":"Apache ShardingSphere \u662f\u4e00\u6b3e\u5206\u5e03\u5f0f SQL \u4e8b\u52a1\u548c\u67e5\u8be2\u5f15\u64ce\uff0c\u53ef\u901a\u8fc7\u6570\u636e\u5206\u7247\u3001\u5f39\u6027\u4f38\u7f29\u3001\u52a0\u5bc6\u7b49\u80fd\u529b\u5bf9\u4efb\u610f\u6570\u636e\u5e93\u8fdb\u884c\u589e\u5f3a\u3002","sidebar":"studySidebar"},"study/devops/ansible":{"id":"study/devops/ansible","title":"ansible","description":"https://www.ansible.com/","sidebar":"studySidebar"},"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790":{"id":"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","title":"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","description":"\u6570\u636e\u6d41\u5411","sidebar":"studySidebar"},"study/devops/centos-gninx-app":{"id":"study/devops/centos-gninx-app","title":"centos-nginx","description":"","sidebar":"studySidebar"},"study/devops/centos-jdk17-app":{"id":"study/devops/centos-jdk17-app","title":"centos-jdk17-app","description":"\u5b89\u88c5 jdk","sidebar":"studySidebar"},"study/devops/index":{"id":"study/devops/index","title":"\u6982\u8ff0","description":"\u8f6f\u4ef6\u5f00\u53d1 + \u7cfb\u7edf\u8fd0\u7ef4","sidebar":"studySidebar"},"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7":{"id":"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7","title":"jar\u8fd0\u7ef4-\u76d1\u63a7","description":"jstat","sidebar":"studySidebar"},"study/devops/Linux\u53d1\u884c\u7248":{"id":"study/devops/Linux\u53d1\u884c\u7248","title":"Linux\u53d1\u884c\u7248","description":"OpenEuler","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-GRUB":{"id":"study/devops/Linux\u8fd0\u7ef4-GRUB","title":"Linux\u8fd0\u7ef4-GRUB","description":"GRUB","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-proc":{"id":"study/devops/Linux\u8fd0\u7ef4-proc","title":"Linux\u8fd0\u7ef4-proc","description":"/proc/","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528":{"id":"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528","title":"Linux\u8fd0\u7ef4-\u5e38\u7528","description":"\u5185\u6838/\u53d1\u884c\u7248","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e":{"id":"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","title":"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","description":"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548cCPU\u4f7f\u7528\u7387","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd":{"id":"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","title":"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","description":"fio","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6":{"id":"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","title":"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","description":"/etc/sysctl.conf","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f":{"id":"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f","title":"Linux\u8fd0\u7ef4-\u81ea\u542f","description":"systemd\u548cinit\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u542f\u52a8\u548c\u7ba1\u7406\u7cfb\u7edf\u7684\u4e24\u4e2a\u4e0d\u540c\u5de5\u5177\u3002","sidebar":"studySidebar"},"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1":{"id":"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","title":"Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","description":"\u6700\u5927\u6587\u4ef6\u63cf\u8ff0\u7b26","sidebar":"studySidebar"},"study/devops/SHELL":{"id":"study/devops/SHELL","title":"SHELL","description":"SHELL\u811a\u672c\u53c2\u6570","sidebar":"studySidebar"},"study/devops/ssh":{"id":"study/devops/ssh","title":"ssh","description":"ssh\u8fde\u63a5\u4e0d\u4e0a","sidebar":"studySidebar"},"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7":{"id":"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","title":"\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","description":"jaeger","sidebar":"studySidebar"},"study/docker/Docker-compose":{"id":"study/docker/Docker-compose","title":"Docker Compose","description":"\u5b9a\u4e49","sidebar":"studySidebar"},"study/docker/docker-kafka":{"id":"study/docker/docker-kafka","title":"docker-kafka","description":"docker kafka","sidebar":"studySidebar"},"study/docker/docker-linux":{"id":"study/docker/docker-linux","title":"docker-linux","description":"alpine","sidebar":"studySidebar"},"study/docker/docker-mysql":{"id":"study/docker/docker-mysql","title":"docker-mysql","description":"","sidebar":"studySidebar"},"study/docker/docker-network":{"id":"study/docker/docker-network","title":"docker-network","description":"Docker\u7f51\u7edc\u6a21\u5f0f","sidebar":"studySidebar"},"study/docker/Docker-swarm":{"id":"study/docker/Docker-swarm","title":"Docker Swarm","description":"Docker Compose \u662f\u4e00\u4e2a\u5728\u5355\u4e2a\u670d\u52a1\u5668\u6216\u4e3b\u673a\u4e0a\u521b\u5efa\u591a\u4e2a\u5bb9\u5668\u7684\u5de5\u5177","sidebar":"studySidebar"},"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3":{"id":"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3","title":"Dockerfile\u4f7f\u7528\u8be6\u89e3","description":"\u5b98\u65b9\u53c2\u8003\u6587\u6863","sidebar":"studySidebar"},"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3":{"id":"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3","title":"Docker\u7684\u4f7f\u7528\u603b\u7ed3","description":"1. Docker \u5b98\u65b9\u4ed3\u5e93 \xa0https://hub.docker.com","sidebar":"studySidebar"},"study/docker/index":{"id":"study/docker/index","title":"\u6982\u8ff0","description":"\u4e00\u79cd\u865a\u62df\u6280\u672f\u3002","sidebar":"studySidebar"},"study/encryption/ASN.1":{"id":"study/encryption/ASN.1","title":"ASN.1","description":"\u62bd\u8c61\u8bed\u6cd5\u6807\u8bb0\u3001","sidebar":"studySidebar"},"study/encryption/ECC-RSA":{"id":"study/encryption/ECC-RSA","title":"ECC \u548c RSA","description":"ECC \u4e3a 1977 \u5e74\u9996\u6b21\u53d1\u5e03\u7684 Rivest-Shamir-Adleman (RSA) \u52a0\u5bc6\u7b97\u6cd5\u63d0\u4f9b\u4e86\u4e00\u79cd\u66ff\u4ee3\u6027\u65b9\u6848\u3002","sidebar":"studySidebar"},"study/encryption/HSM":{"id":"study/encryption/HSM","title":"HSM","description":"HSM \u786c\u4ef6\u52a0\u5bc6\u673a","sidebar":"studySidebar"},"study/encryption/index":{"id":"study/encryption/index","title":"\u52a0\u89e3\u5bc6","description":"\u52a0\u5bc6\u548c\u89e3\u5bc6","sidebar":"studySidebar"},"study/encryption/OpenSSL":{"id":"study/encryption/OpenSSL","title":"OpenSSL","description":"OpenSSL \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5f00\u6e90\u5de5\u5177\u5305\uff0c\u4e3b\u8981\u7528\u4e8e\u52a0\u5bc6\u3001SSL/TLS \u534f\u8bae\u4ee5\u53ca\u4e0e\u5b89\u5168\u901a\u4fe1\u76f8\u5173\u7684\u5404\u79cd\u4efb\u52a1\u3002","sidebar":"studySidebar"},"study/encryption/PKCS":{"id":"study/encryption/PKCS","title":"PKCS","description":"\u57fa\u672c\u6982\u5ff5","sidebar":"studySidebar"},"study/encryption/PKI":{"id":"study/encryption/PKI","title":"PKI","description":"PKI","sidebar":"studySidebar"},"study/encryption/SSL_TLS":{"id":"study/encryption/SSL_TLS","title":"SSL TLS HTTPS","description":"\u4e3a\u4e86\u4fdd\u8bc1\u7f51\u7edc\u901a\u4fe1\u7684\u5b89\u5168\u6027\uff0c\u9700\u8981\u5bf9\u7f51\u7edc\u4e0a\u4f20\u9012\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002\u73b0\u5728\u4e3b\u6d41\u7684\u52a0\u5bc6\u65b9\u6cd5\u5c31\u662f SSL (Secure Socket Layer)\uff0cTLS (Transport Layer Security)\u3002\u540e\u8005\u6bd4\u524d\u8005\u8981\u65b0\u4e00\u4e9b\uff0c\u4e0d\u8fc7\u5728\u5f88\u591a\u573a\u5408\u8fd8\u662f\u7528 SSL \u6307\u4ee3 SSL \u548c TLS\u3002","sidebar":"studySidebar"},"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5":{"id":"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","title":"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1":{"id":"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1","title":"\u52a0\u89e3\u5bc6\u670d\u52a1","description":"\u52a0\u89e3\u5bc6\u670d\u52a1","sidebar":"studySidebar"},"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3":{"id":"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3","title":"\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5","description":"\u9488\u5bf9\u5bc6\u7801\u5b58\u50a8\u7684\u52a0\u5bc6\u7b97\u6cd5","sidebar":"studySidebar"},"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f":{"id":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","title":"\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","description":"DES\u30013DES \u548c AES \u90fd\u5c5e\u4e8e\u5206\u7ec4\u5bc6\u7801\uff0c\u5b83\u4eec\u53ea\u80fd\u52a0\u5bc6\u56fa\u5b9a\u957f\u5ea6\u7684\u660e\u6587\u3002\u5982\u679c\u9700\u8981\u52a0\u5bc6\u66f4\u957f\u7684\u660e\u6587\uff0c\u5c31\u9700\u8981\u5bf9\u5206\u7ec4\u5bc6\u7801\u8fdb\u884c\u8fed\u4ee3\uff0c\u800c\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u6cd5\u79f0\u4e3a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff08Model\uff09\u3002\u7b80\u800c\u4e00\u53e5\u8bdd\uff1a\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f\uff0c\u5c31\u662f\u5206\u7ec4\u5bc6\u7801\u7684\u8fed\u4ee3\u65b9\u5f0f\u3002","sidebar":"studySidebar"},"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3":{"id":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","title":"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","description":"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","sidebar":"studySidebar"},"study/encryption/\u6570\u5b57\u8bc1\u4e66":{"id":"study/encryption/\u6570\u5b57\u8bc1\u4e66","title":"\u6570\u5b57\u8bc1\u4e66","description":"\u6570\u5b57\u8bc1\u4e66\u5c31\u662f\u4e92\u8054\u7f51\u901a\u8baf\u4e2d\u6807\u5fd7\u901a\u8baf\u5404\u65b9\u8eab\u4efd\u4fe1\u606f\u7684\u4e00\u4e32\u6570\u5b57\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u5728Internet\u4e0a\u9a8c\u8bc1\u901a\u4fe1\u5b9e\u4f53\u8eab\u4efd\u7684\u65b9\u5f0f\uff0c\u6570\u5b57\u8bc1\u4e66\u4e0d\u662f\u6570\u5b57\u8eab\u4efd\u8bc1\uff0c\u800c\u662f\u8eab\u4efd\u8ba4\u8bc1\u673a\u6784\u76d6\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7ae0\u6216\u5370\uff08\u6216\u8005\u8bf4\u52a0\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7b7e\u540d\uff09\u3002\u5b83\u662f\u7531\u6743\u5a01\u673a\u6784\u2014\u2014CA\u673a\u6784\uff0c\u53c8\u79f0\u4e3a\u8bc1\u4e66\u6388\u6743\uff08Certificate Authority\uff09\u4e2d\u5fc3\u53d1\u884c\u7684\uff0c\u4eba\u4eec\u53ef\u4ee5\u5728\u7f51\u4e0a\u7528\u5b83\u6765\u8bc6\u522b\u5bf9\u65b9\u7684\u8eab\u4efd\u3002","sidebar":"studySidebar"},"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3":{"id":"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","title":"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","description":"\u6d88\u606f\u6458\u8981\uff08Message Digest\uff09\u53c8\u79f0\u4e3a\u6570\u5b57\u6458\u8981\uff08Digital Digest\uff09\u3002\u5b83\u662f\u4e00\u4e2a\u552f\u4e00\u5bf9\u5e94\u4e00\u4e2a\u6d88\u606f\u6216\u6587\u672c\u7684\u56fa\u5b9a\u957f\u5ea6\u7684\u503c\uff0c\u5b83\u7531\u4e00\u4e2a\u5355\u5411 Hash \u52a0\u5bc6\u51fd\u6570\u5bf9\u6d88\u606f\u8fdb\u884c\u4f5c\u7528\u800c\u4ea7\u751f\u3002\u5982\u679c\u6d88\u606f\u5728\u9014\u4e2d\u6539\u53d8\u4e86\uff0c\u5219\u63a5\u6536\u8005\u901a\u8fc7\u5bf9\u6536\u5230\u6d88\u606f\u7684\u65b0\u4ea7\u751f\u7684\u6458\u8981\u4e0e\u539f\u6458\u8981\u6bd4\u8f83\uff0c\u5c31\u53ef\u77e5\u9053\u6d88\u606f\u662f\u5426\u88ab\u6539\u53d8\u4e86\u3002\u56e0\u6b64\u6d88\u606f\u6458\u8981\u4fdd\u8bc1\u4e86\u6d88\u606f\u7684\u5b8c\u6574\u6027\u3002","sidebar":"studySidebar"},"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4":{"id":"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4","title":"\u7b49\u4fdd\u548c\u5bc6\u8bc4","description":"\u201c\u7b49\u4fdd\u201d\u5373\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\uff0c\u65e8\u5728\u901a\u8fc7\u4e0d\u540c\u5b89\u5168\u7b49\u7ea7\u7684\u7ba1\u7406\u548c\u6280\u672f\u63aa\u65bd\uff0c\u786e\u4fdd\u4fe1\u606f\u7cfb\u7edf\u7684\u5b89\u5168\u7a33\u5b9a\u8fd0\u884c\u3002\u6211\u56fd\u4e8e2017\u5e74\u9881\u5e03\u7684\u300a\u7f51\u7edc\u5b89\u5168\u6cd5\u300b\u4e2d\u7b2c\u4e8c\u5341\u4e00\u6761\u89c4\u5b9a\u201c\u56fd\u5bb6\u5b9e\u884c\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u201d\u3002\u6cd5\u5f8b\u8981\u6c42\u7f51\u7edc\u8fd0\u8425\u8005\u9700\u6309\u7167\u7f51\u7edc\u5b89\u5168\u7b49\u7ea7\u4fdd\u62a4\u5236\u5ea6\u8981\u6c42\uff0c\u5c65\u884c\u5236\u5b9a\u5b89\u5168\u7ba1\u7406\u5236\u5ea6\u3001\u91c7\u53d6\u9632\u8303\u6280\u672f\u63aa\u65bd\u3001\u76d1\u6d4b\u8bb0\u5f55\u7f51\u7edc\u72b6\u6001\u3001\u4fdd\u62a4\u6570\u636e\u5b89\u5168\u7b49\u591a\u9879\u4e49\u52a1\uff0c\u786e\u4fdd\u7f51\u7edc\u5b89\u5168\u7a33\u5b9a\u3002","sidebar":"studySidebar"},"study/encryption/\u884c\u4e1a\u5206\u6790":{"id":"study/encryption/\u884c\u4e1a\u5206\u6790","title":"\u884c\u4e1a\u5206\u6790","description":"\u516c\u53f8","sidebar":"studySidebar"},"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f":{"id":"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","title":"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","description":"\u5bc6\u7801\u5b66\u5bb6\u7684\u5de5\u5177\u7bb1","sidebar":"studySidebar"},"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3":{"id":"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","title":"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","description":"\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u51e0\u79cd\u5e38\u89c1\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5305\u62ec\u5b83\u4eec\u7684\u5de5\u4f5c\u539f\u7406\u3001\u4f18\u7f3a\u70b9\u548c\u5e94\u7528\u573a\u666f\u3002","sidebar":"studySidebar"},"study/fe/ARMS\u524d\u7aef\u76d1\u63a7":{"id":"study/fe/ARMS\u524d\u7aef\u76d1\u63a7","title":"ARMS\u524d\u7aef\u76d1\u63a7","description":"ARMS\u524d\u7aef\u76d1\u63a7\u4e13\u6ce8\u4e8e\u5bf9Web\u573a\u666f\u3001Weex\u573a\u666f\u548c\u5c0f\u7a0b\u5e8f\u573a\u666f\u7684\u76d1\u63a7\uff0c\u4ece\u9875\u9762\u6253\u5f00\u901f\u5ea6\uff08\u6d4b\u901f\uff09\u3001\u9875\u9762\u7a33\u5b9a\u6027\uff08JS\u8bca\u65ad\u9519\u8bef\uff09\u548c\u5916\u90e8\u670d\u52a1\u8c03\u7528\u6210\u529f\u7387\uff08API\uff09\u8fd9\u4e09\u4e2a\u65b9\u9762\u76d1\u6d4bWeb\u548c\u5c0f\u7a0b\u5e8f\u9875\u9762\u7684\u5065\u5eb7\u5ea6\u3002","sidebar":"studySidebar"},"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55":{"id":"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","title":"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","description":"\u8bb0\u5f55 Flutter \u5f00\u53d1\u7684\u4e00\u4e9b\u95ee\u9898\u3001\u7ecf\u9a8c","sidebar":"studySidebar"},"study/fe/index":{"id":"study/fe/index","title":"\u6982\u8ff0","description":"\u6240\u6709\u7528\u6237\u770b\u5230\u7684\u754c\u9762\uff0c\u7edf\u4e00\u6210\u4e3a\u524d\u7aef\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a","sidebar":"studySidebar"},"study/fe/mqtt.js":{"id":"study/fe/mqtt.js","title":"mqtt.js","description":"\u4e0d\u8981\u4f7f\u7528 mqtt.js \u6362\u7528 precompiled-mqtt","sidebar":"studySidebar"},"study/fe/TypeScript\u8bed\u6cd5\u56fe":{"id":"study/fe/TypeScript\u8bed\u6cd5\u56fe","title":"TypeScript\u8bed\u6cd5\u56fe","description":"\u8bed\u6cd5\u56fe","sidebar":"studySidebar"},"study/fe/WebGL":{"id":"study/fe/WebGL","title":"WebGL","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/fe/\u4e0b\u8f7d\u56fe\u7247":{"id":"study/fe/\u4e0b\u8f7d\u56fe\u7247","title":"\u4e0b\u8f7d\u56fe\u7247","description":"","sidebar":"studySidebar"},"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0":{"id":"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","title":"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","description":"\u5f00\u6e90\u9879\u76ee","sidebar":"studySidebar"},"study/fe/\u524d\u7aef\u6a21\u5757\u5316":{"id":"study/fe/\u524d\u7aef\u6a21\u5757\u5316","title":"\u524d\u7aef\u6a21\u5757\u5316","description":"\u80cc\u666f","sidebar":"studySidebar"},"study/hard/index":{"id":"study/hard/index","title":"\u6982\u8ff0","description":"","sidebar":"studySidebar"},"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a":{"id":"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","title":"\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","description":"\u5d4c\u5165\u5f0f\u548c\u5355\u7247\u673a\u7684\u533a\u522b\u5230\u5e95\u662f\u4ec0\u4e48\u3002","sidebar":"studySidebar"},"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1":{"id":"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","title":"\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","description":"1. \u5d4c\u5165\u5f0flinux \u548c \u7528stm32\u8fdb\u884c\u7684\u5d4c\u5165\u5f0f\u5f00\u53d1 \u8fd9\u4e24\u8005\u4e4b\u95f4\u6709\u4ec0\u4e48\u5173\u8054\u6027\u5417\uff1f","sidebar":"studySidebar"},"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b":{"id":"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","title":"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","description":"\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u4e0d\u540c\u4e4b\u5904\u6709\u54ea\u4e9b\uff1f","sidebar":"studySidebar"},"study/hard/\u901a\u4fe1\u6a21\u7ec4":{"id":"study/hard/\u901a\u4fe1\u6a21\u7ec4","title":"\u901a\u4fe1\u6a21\u7ec4","description":"images","sidebar":"studySidebar"},"study/index":{"id":"study/index","title":"\u5b66\u65e0\u6b62\u5883","description":"IT\u6280\u672f\u662f\u4e00\u4e2a\u4e0d\u65ad\u53d1\u5c55\u548c\u53d8\u5316\u7684\u9886\u57df\uff0c\u5b66\u65e0\u6b62\u5883\u3002\u968f\u7740\u6280\u672f\u548c\u5e02\u573a\u7684\u4e0d\u65ad\u53d8\u5316\uff0c\u6211\u4eec\u9700\u8981\u59cb\u7ec8\u4fdd\u6301\u654f\u9510\u7684\u89c2\u5bdf\u529b\u548c\u5b66\u4e60\u80fd\u529b\u3002","sidebar":"studySidebar"},"study/net/ip":{"id":"study/net/ip","title":"Linux ip \u547d\u4ee4","description":"ip \u547d\u4ee4\u6765\u81ea iproute \u8f6f\u4ef6\u5305\uff0c\u8f6f\u4ef6\u5305\u63d0\u4f9b\u4e86\u5f88\u591a\u547d\u4ee4\uff08rpm -ql iproute |grep bin\uff09\uff0c\u5982 ss \u547d\u4ee4\u3001bridge\uff0c\u8fd9\u4e9b\u547d\u4ee4\u53ef\u4ee5\u5b8c\u5168\u66ff\u4ee3 ifconfig\u3001netstat\u3001route \u7b49\u547d\u4ee4\u3002","sidebar":"studySidebar"},"study/net/iptables":{"id":"study/net/iptables","title":"Linux iptables \u9632\u706b\u5899","description":"","sidebar":"studySidebar"},"study/net/IPV6":{"id":"study/net/IPV6","title":"IPV6","description":"IPV6 \u8fde\u63a5\u6d4b\u8bd5","sidebar":"studySidebar"},"study/net/Linux\u7f51\u7edc\u914d\u7f6e":{"id":"study/net/Linux\u7f51\u7edc\u914d\u7f6e","title":"Linux\u7f51\u7edc\u914d\u7f6e","description":"\u5982\u4f55\u67e5\u770b\u7f51\u5361","sidebar":"studySidebar"},"study/net/MacOS\u7f16\u8bd1OpenVPN":{"id":"study/net/MacOS\u7f16\u8bd1OpenVPN","title":"MacOS\u7f16\u8bd1OpenVPN","description":"cmake -DUNSUPPORTED_BUILDS=true ./","sidebar":"studySidebar"},"study/net/netns":{"id":"study/net/netns","title":"Linux netns","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/net/OpenVPN":{"id":"study/net/OpenVPN","title":"OpenVPN","description":"\u914d\u7f6e","sidebar":"studySidebar"},"study/net/p2p":{"id":"study/net/p2p","title":"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/net/pfctl\u9632\u706b\u5899":{"id":"study/net/pfctl\u9632\u706b\u5899","title":"unix pfctl \u9632\u706b\u5899","description":"iptables \u662f Linux \u4e0b\u7684\u9632\u706b\u5899\uff0c\u53ef\u4ee5\u8fdb\u884c\u6570\u636e\u5305\u7684\u8fc7\u6ee4\uff0c\u5728\u7f51\u7edc\u5c42\u8fdb\u884c\u6570\u636e\u7684\u8f6c\u53d1\u3001\u62e6\u622a\u6216\u4e22\u5f03\u7b49\uff0c\u4f7f\u7528\u975e\u5e38\u666e\u904d\uff0c\u529f\u80fd\u4e5f\u975e\u5e38\u5f3a\u5927\u3002\u4f46\u662f Mac \u4e0b\u6ca1\u6709 iptables\uff0c\u4e3a\u4e86\u5b9e\u73b0\u6d41\u91cf\u8f6c\u53d1\u548c\u8fc7\u6ee4\uff0c\u8981\u4f7f\u7528\u5230 Mac \u81ea\u5e26\u7684 PFctl\u3002PFctl \u5373 control the packet filter\uff0c\u662f Unix LIKE \u7cfb\u7edf\u4e0a\u8fdb\u884c TCP/IP \u6d41\u91cf\u8fc7\u6ee4\u548c\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u7684\u7cfb\u7edf\uff0c\u4e5f\u80fd\u63d0\u4f9b\u6d41\u91cf\u6574\u5f62\u548c\u63a7\u5236\u7b49","sidebar":"studySidebar"},"study/net/route":{"id":"study/net/route","title":"route","description":"route\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u663e\u793a\u548c\u64cd\u4f5cIP\u8def\u7531\u8868\u7684\u91cd\u8981\u5de5\u5177\uff0c\u4ee5\u4e0b\u662f\u5bf9\u5176\u8be6\u7ec6\u7684\u4ecb\u7ecd\uff1a","sidebar":"studySidebar"},"study/net/SNMP":{"id":"study/net/SNMP","title":"SNMP","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/net/tc":{"id":"study/net/tc","title":"Linux tc","description":"tc \u662f Linux \u7cfb\u7edf\u4e0b\u7684\u6d41\u91cf\u63a7\u5236\u5de5\u5177\uff0c\u5168\u79f0 Traffic Control\uff0c\u7528\u4e8e\u914d\u7f6e\u548c\u63a7\u5236\u7f51\u7edc\u6d41\u91cf\u3002\u5b83\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u914d\u7f6e\u548c\u8c03\u6574\u5404\u79cd\u7f51\u7edc\u63a5\u53e3\u7684\u6d41\u91cf\u63a7\u5236\u53c2\u6570\uff0c\u5982\u5e26\u5bbd\u9650\u5236\u3001\u5ef6\u8fdf\u3001\u4e22\u5305\u7387\u7b49\u3002","sidebar":"studySidebar"},"study/net/TCP":{"id":"study/net/TCP","title":"TCP","description":"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b","sidebar":"studySidebar"},"study/net/tuntap":{"id":"study/net/tuntap","title":"tuntap","description":"Tun/Tap","sidebar":"studySidebar"},"study/net/UDP":{"id":"study/net/UDP","title":"UDP","description":"UDP","sidebar":"studySidebar"},"study/net/VLAN-VXLAN":{"id":"study/net/VLAN-VXLAN","title":"VLAN-VXLAN","description":"VLAN","sidebar":"studySidebar"},"study/net/vpn":{"id":"study/net/vpn","title":"vpn","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/net/\u4ee3\u7406":{"id":"study/net/\u4ee3\u7406","title":"\u4ee3\u7406","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/net/\u5185\u7f51\u7a7f\u900f":{"id":"study/net/\u5185\u7f51\u7a7f\u900f","title":"\u5185\u7f51\u7a7f\u900f","description":"\u5185\u7f51\u7a7f\u900f","sidebar":"studySidebar"},"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4":{"id":"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","title":"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","description":"A \u7c7b\u5730\u5740","sidebar":"studySidebar"},"study/net/\u5f02\u5730\u7ec4\u7f51":{"id":"study/net/\u5f02\u5730\u7ec4\u7f51","title":"\u5f02\u5730\u7ec4\u7f51","description":"\u7f51\u7edc\u7c7b\u578b","sidebar":"studySidebar"},"study/net/\u6293\u5305\u5de5\u5177":{"id":"study/net/\u6293\u5305\u5de5\u5177","title":"\u6293\u5305\u5de5\u5177","description":"tcpdump","sidebar":"studySidebar"},"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177":{"id":"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","title":"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","description":"iperf3","sidebar":"studySidebar"},"study/other/\u5b57\u8282\u5e8f":{"id":"study/other/\u5b57\u8282\u5e8f","title":"\u5b57\u8282\u5e8f Big Endian Little Endian","description":"\u5b57\u8282\u5e8f\uff0c\u4e5f\u5c31\u662f\u5b57\u8282\u7684\u987a\u5e8f\uff0c\u6307\u7684\u662f\u591a\u5b57\u8282\u7684\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u5b58\u653e\u987a\u5e8f\u3002","sidebar":"studySidebar"},"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199":{"id":"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199","title":"\u6807\u51c6\u540d\u79f0\u7f29\u5199","description":"\u56fd\u5185\u6807\u51c6","sidebar":"studySidebar"},"study/program/ABIAPI":{"id":"study/program/ABIAPI","title":"ABIAPI","description":"ABI","sidebar":"studySidebar"},"study/program/C/cmake":{"id":"study/program/C/cmake","title":"cmake","description":"cmake \u4ecb\u7ecd","sidebar":"studySidebar"},"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93":{"id":"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93","title":"C\u8bed\u8a00\u6807\u51c6\u5e93","description":"C \u8bed\u8a00\u6807\u51c6\u5e93","sidebar":"studySidebar"},"study/program/C/C\u8bed\u8a00\u7248\u672c":{"id":"study/program/C/C\u8bed\u8a00\u7248\u672c","title":"C\u8bed\u8a00\u7248\u672c","description":"1. K&R C\uff08\u7ecf\u5178C\uff09","sidebar":"studySidebar"},"study/program/C/extern-c":{"id":"study/program/C/extern-c","title":"extern-c","description":"extern \\"C\\"","sidebar":"studySidebar"},"study/program/C/index":{"id":"study/program/C/index","title":"C C++ \u7f16\u7a0b\u8bed\u8a00","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/program/C/make":{"id":"study/program/C/make","title":"make","description":"make \u662f\u4e00\u6761\u8ba1\u7b97\u673a\u6307\u4ee4\uff0c\u662f\u5728\u5b89\u88c5\u6709 GNU Make \u7684\u8ba1\u7b97\u673a\u4e0a\u7684\u53ef\u6267\u884c\u6307\u4ee4\u3002\u8be5\u6307\u4ee4\u662f\u8bfb\u5165\u4e00\u4e2a\u540d\u4e3a makefile \u7684\u6587\u4ef6\uff0c\u7136\u540e\u6267\u884c\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u6307\u5b9a\u7684\u6307\u4ee4\u3002","sidebar":"studySidebar"},"study/program/C/MFC-WinForm-WPF-DotNet\u7b49":{"id":"study/program/C/MFC-WinForm-WPF-DotNet\u7b49","title":"MFC-WinForm-WPF-DotNet\u7b49","description":"MFC","sidebar":"studySidebar"},"study/program/C/MinGW_CygWin":{"id":"study/program/C/MinGW_CygWin","title":"MinGW_CygWin","description":"Mingw\u548cCygwin\u90fd\u662f\u5728 Windows \u7cfb\u7edf\u4e0a\u63d0\u4f9b\u7c7b Unix \u73af\u5883\u7684\u5de5\u5177\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e9b\u4e0d\u540c\u4e4b\u5904\uff1a","sidebar":"studySidebar"},"study/program/C/pragma":{"id":"study/program/C/pragma","title":"pragma","description":"pragma","sidebar":"studySidebar"},"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t":{"id":"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t","title":"size_t-ptrdiff_t-intptr_t-uintptr_t","description":"- size_t","sidebar":"studySidebar"},"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93":{"id":"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","title":"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","description":"\u65b9\u6cd5\u5e93\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1a","sidebar":"studySidebar"},"study/program/C/\u6784\u5efa\u5de5\u5177":{"id":"study/program/C/\u6784\u5efa\u5de5\u5177","title":"\u6784\u5efa\u5de5\u5177","description":"C \u8bed\u8a00\u6784\u5efa\u5de5\u5177","sidebar":"studySidebar"},"study/program/C/\u865a\u62df\u7f51\u5361":{"id":"study/program/C/\u865a\u62df\u7f51\u5361","title":"\u865a\u62df\u7f51\u5361","description":"TUN/TAP\uff08Linux\uff09","sidebar":"studySidebar"},"study/program/CPP/CGI":{"id":"study/program/CPP/CGI","title":"CGI","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1":{"id":"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1","title":"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1","description":"\u7ba1\u9053","sidebar":"studySidebar"},"study/program/CPP/index":{"id":"study/program/CPP/index","title":"C++","description":"C++\u6807\u51c6","sidebar":"studySidebar"},"study/program/CSharp/index":{"id":"study/program/CSharp/index","title":"CSharp","description":"C#\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u4e00\u79cd\u57fa\u4e8e.NET \u6846\u67b6\u7684\u3001\u9762\u5411\u5bf9\u8c61\u7684\u9ad8\u7ea7\u7f16\u7a0b\u8bed\u8a00\u3002","sidebar":"studySidebar"},"study/program/Dart/Flutter":{"id":"study/program/Dart/Flutter","title":"Flutter","description":"\u5e94\u7528\u56fe\u6807","sidebar":"studySidebar"},"study/program/Dart/\u5b66\u4e60\u8d44\u6599":{"id":"study/program/Dart/\u5b66\u4e60\u8d44\u6599","title":"Dart \u5b66\u4e60\u8d44\u6599","description":"\u7279\u70b9","sidebar":"studySidebar"},"study/program/Erlang/index":{"id":"study/program/Erlang/index","title":"Erlang","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/ETL/dataX":{"id":"study/program/ETL/dataX","title":"dataX","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/program/ETL/flume":{"id":"study/program/ETL/flume","title":"flume","description":"Flume\u7684\u5b9a\u4e49","sidebar":"studySidebar"},"study/program/ETL/kettle":{"id":"study/program/ETL/kettle","title":"kettle","description":"ETL\uff08Extract-Transform-Load\u7684\u7f29\u5199\uff0c\u5373\u6570\u636e\u62bd\u53d6\u3001\u8f6c\u6362\u3001\u88c5\u8f7d\u7684\u8fc7\u7a0b\uff09\uff0c\u5bf9\u4e8e\u4f01\u4e1a\u6216\u884c\u4e1a\u5e94\u7528\u6765\u8bf4\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u9047\u5230\u5404\u79cd\u6570\u636e\u7684\u5904\u7406\uff0c\u8f6c\u6362\uff0c\u8fc1\u79fb\uff0c\u6240\u4ee5\u4e86\u89e3\u5e76\u638c\u63e1\u4e00\u79cdetl\u5de5\u5177\u7684\u4f7f\u7528\uff0c\u5fc5\u4e0d\u53ef\u5c11\u3002kettle\u662f\u7eafjava\u7f16\u5199\uff0c\u652f\u6301\u56fe\u5f62\u5316\u7684GUI\u8bbe\u8ba1\u754c\u9762\uff0c\u7136\u540e\u53ef\u4ee5\u4ee5\u5de5\u4f5c\u6d41\u7684\u5f62\u5f0f\u6d41\u8f6c\uff0c\u5728\u505a\u4e00\u4e9b\u7b80\u5355\u6216\u590d\u6742\u7684\u6570\u636e\u62bd\u53d6\u3001\u8d28\u91cf\u68c0\u6d4b\u3001\u6570\u636e\u6e05\u6d17\u3001\u6570\u636e\u8f6c\u6362\u3001\u6570\u636e\u8fc7\u6ee4\u7b49\u65b9\u9762\u6709\u7740\u6bd4\u8f83\u7a33\u5b9a\u7684\u8868\u73b0\uff0c\u5176\u4e2d\u6700\u4e3b\u8981\u7684\u6211\u4eec\u901a\u8fc7\u719f\u7ec3\u7684\u5e94\u7528\u5b83\uff0c\u51cf\u5c11\u4e86\u975e\u5e38\u591a\u7684\u7814\u53d1\u5de5\u4f5c\u91cf\uff0c\u63d0\u9ad8\u4e86\u6211\u4eec\u7684\u5de5\u4f5c\u6548\u7387\u3002","sidebar":"studySidebar"},"study/program/ETL/sqoop":{"id":"study/program/ETL/sqoop","title":"sqoop","description":"\u6982\u8ff0","sidebar":"studySidebar"},"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4":{"id":"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4","title":"GIT-\u5e38\u7528\u547d\u4ee4","description":"clone","sidebar":"studySidebar"},"study/program/GIT/GitHubDesktop":{"id":"study/program/GIT/GitHubDesktop","title":"GitHub Desktop","description":"\u6211\u4e00\u822c\u662f\u4f7f\u7528\u8fd9\u4e2a\u5de5\u5177\uff0c\u4f46\u662f\u6709\u4e00\u6b21\u66f4\u65b0\u4e4b\u540e\uff0c\u62a5\u9519\u5982\u4e0b","sidebar":"studySidebar"},"study/program/GIT/PR\u548cMR":{"id":"study/program/GIT/PR\u548cMR","title":"PR\u548cMR","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/Golang/CGO":{"id":"study/program/Golang/CGO","title":"CGO","description":"\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684cgo\u652f\u6301\u7684\u51fd\u6570\u548c\u7c7b\u578b\u4ee5\u53ca\u67e5\u8be2\u7684\u65b9\u6cd5\uff1a","sidebar":"studySidebar"},"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406":{"id":"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","title":"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","description":"\u811a\u672c","sidebar":"studySidebar"},"study/program/Golang/index":{"id":"study/program/Golang/index","title":"Golang","description":"Go \u8bed\u8a00\u8bbe\u8ba1\u521d\u8877","sidebar":"studySidebar"},"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177":{"id":"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177","title":"\u5e38\u7528\u7684\u5de5\u5177","description":"json-to-go","sidebar":"studySidebar"},"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6":{"id":"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6","title":"\u5e38\u7528\u7684\u6846\u67b6","description":"Gin","sidebar":"studySidebar"},"study/program/index":{"id":"study/program/index","title":"\u6982\u8ff0","description":"\u5199\u4ee3\u7801\u7528\u5230\u7684\u4e00\u5957\u89c4\u8303\u53ca\u5176\u5ef6\u4f38\u5de5\u5177\u3002","sidebar":"studySidebar"},"study/program/JAVA/GC":{"id":"study/program/JAVA/GC","title":"GC","description":"JVM \u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5","sidebar":"studySidebar"},"study/program/JAVA/GraalVM":{"id":"study/program/JAVA/GraalVM","title":"GraalVM","description":"\u5b98\u7f51","sidebar":"studySidebar"},"study/program/JAVA/Guice":{"id":"study/program/JAVA/Guice","title":"Guice","description":"\u80cc\u666f","sidebar":"studySidebar"},"study/program/JAVA/index":{"id":"study/program/JAVA/index","title":"Java","description":"\u4e00\u79cd\u4f7f\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u8de8\u5e73\u53f0\u7f16\u7a0b\u8bed\u8a00\u3002","sidebar":"studySidebar"},"study/program/JAVA/JDK17":{"id":"study/program/JAVA/JDK17","title":"JDK17","description":"\u9650\u5236\u7c7b\u7ee7\u627f sealed \u7c7b","sidebar":"studySidebar"},"study/program/JAVA/JDK17-bin":{"id":"study/program/JAVA/JDK17-bin","title":"JDK17-bin","description":"jar","sidebar":"studySidebar"},"study/program/JAVA/JDK21":{"id":"study/program/JAVA/JDK21","title":"JDK21","description":"\u865a\u62df\u7ebf\u7a0b","sidebar":"studySidebar"},"study/program/JAVA/JDK8":{"id":"study/program/JAVA/JDK8","title":"JDK8","description":"Optional","sidebar":"studySidebar"},"study/program/JAVA/JNI":{"id":"study/program/JAVA/JNI","title":"JNI","description":"Java Native Interface\uff0cJava \u672c\u5730\u63a5\u53e3","sidebar":"studySidebar"},"study/program/JAVA/Maven":{"id":"study/program/JAVA/Maven","title":"Maven","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/JAVA/OepnJ9":{"id":"study/program/JAVA/OepnJ9","title":"OpenJ9","description":"https://eclipse.dev/openj9/","sidebar":"studySidebar"},"study/program/JAVA/RxJava":{"id":"study/program/JAVA/RxJava","title":"RxJava","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/JAVA/Vert.x":{"id":"study/program/JAVA/Vert.x","title":"Vert.x","description":"\u7b80\u4ecb","sidebar":"studySidebar"},"study/program/JAVA/\u4ee3\u7801\u751f\u6210":{"id":"study/program/JAVA/\u4ee3\u7801\u751f\u6210","title":"\u4ee3\u7801\u751f\u6210","description":"Mapstruct","sidebar":"studySidebar"},"study/program/JAVA/\u9501":{"id":"study/program/JAVA/\u9501","title":"\u9501\uff08\u591a\u7ebf\u7a0b\uff09","description":"\u591a\u7ebf\u7a0b\u7f16\u7a0b\u5728\u73b0\u4ee3\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u5b83\u4f7f\u6211\u4eec\u80fd\u591f\u6709\u6548\u5730\u5229\u7528\u591a\u6838\u5904\u7406\u5668\u548c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u7136\u800c\uff0c\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e5f\u4f34\u968f\u7740\u4e00\u7cfb\u5217\u6311\u6218\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u4e4b\u4e00\u5c31\u662f\u5904\u7406\u5171\u4eab\u8d44\u6e90\u7684\u7ebf\u7a0b\u5b89\u5168\u6027\u3002\u5728\u8fd9\u4e2a\u9886\u57df\uff0c\u9501\uff08Lock\uff09\u662f\u4e00\u4e2a\u5173\u952e\u7684\u6982\u5ff5\uff0c\u7528\u4e8e\u534f\u8c03\u7ebf\u7a0b\u4e4b\u95f4\u5bf9\u5171\u4eab\u8d44\u6e90\u7684\u8bbf\u95ee\u3002","sidebar":"studySidebar"},"study/program/JS/npm":{"id":"study/program/JS/npm","title":"npm","description":"npmjs","sidebar":"studySidebar"},"study/program/JS/npx":{"id":"study/program/JS/npx","title":"npx","description":"\u6982\u5ff5","sidebar":"studySidebar"},"study/program/JS/nrm":{"id":"study/program/JS/nrm","title":"nrm","description":"nrm \u662f\u4e00\u4e2a npm \u6e90\u7ba1\u7406\u5668\uff0c\u5141\u8bb8\u4f60\u5feb\u901f\u5730\u5728 npm\u6e90\u95f4\u5207\u6362\u3002","sidebar":"studySidebar"},"study/program/Kotlin/index":{"id":"study/program/Kotlin/index","title":"Kotlin","description":"Kotlin\uff08\u79d1\u7279\u6797\uff09\u662f\u4e00\u4e2a\u7528\u4e8e\u73b0\u4ee3\u591a\u5e73\u53f0\u5e94\u7528\u7684\u9759\u6001\u7f16\u7a0b\u8bed\u8a00\uff0c\u7531 JetBrains \u5f00\u53d1\u3002","sidebar":"studySidebar"},"study/program/Lua/index":{"id":"study/program/Lua/index","title":"Lua","description":"\u5b66\u4e60\u8d44\u6599","sidebar":"studySidebar"},"study/program/Rust/index":{"id":"study/program/Rust/index","title":"Rust","description":"\u4e00\u95e8\u8d4b\u4e88\u6bcf\u4e2a\u4eba\u6784\u5efa\u53ef\u9760\u4e14\u9ad8\u6548\u8f6f\u4ef6\u80fd\u529b\u7684\u8bed\u8a00\u3002","sidebar":"studySidebar"},"study/program/\u6280\u672f\u6587\u6863":{"id":"study/program/\u6280\u672f\u6587\u6863","title":"\u6280\u672f\u6587\u6863","description":"\u6280\u672f\u6587\u6863","sidebar":"studySidebar"},"study/program/\u7f16\u8bd1\u5668":{"id":"study/program/\u7f16\u8bd1\u5668","title":"\u7f16\u8bd1\u5668","description":"C/C++/Objective-C \u7b49\u7c7b C \u7f16\u8bd1\u5668","sidebar":"studySidebar"},"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6":{"id":"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","title":"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","description":"Electron","sidebar":"studySidebar"},"study/stock/20240711":{"id":"study/stock/20240711","title":"20240711","description":""},"study/stock/20241008":{"id":"study/stock/20241008","title":"20241008","description":"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c\u4e00\u4e2a\u4ea4\u6613\u65e5"},"study/stock/20241009":{"id":"study/stock/20241009","title":"20241009","description":"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 2 \u4e2a\u4ea4\u6613\u65e5"},"study/stock/20241010":{"id":"study/stock/20241010","title":"20241010","description":"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 3 \u4e2a\u4ea4\u6613\u65e5"},"study/stock/20241011":{"id":"study/stock/20241011","title":"20241011","description":"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c 4 \u4e2a\u4ea4\u6613\u65e5\uff0c\u4e5f\u662f\u672c\u5468\u7684\u6700\u540e\u4e00\u4e2a\u4ea4\u6613\u65e5"},"study/stock/20241014":{"id":"study/stock/20241014","title":"20241014","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241015":{"id":"study/stock/20241015","title":"20241015","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241016":{"id":"study/stock/20241016","title":"20241016","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/20241017":{"id":"study/stock/20241017","title":"20241017","description":"\u4eca\u5929\u5468\u56db"},"study/stock/20241018":{"id":"study/stock/20241018","title":"20241018","description":"\u4eca\u5929\u5468\u4e94"},"study/stock/20241021":{"id":"study/stock/20241021","title":"20241021","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241022":{"id":"study/stock/20241022","title":"20241022","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241023":{"id":"study/stock/20241023","title":"20241023","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/20241024":{"id":"study/stock/20241024","title":"20241024","description":"\u4eca\u5929\u5468\u56db"},"study/stock/20241029":{"id":"study/stock/20241029","title":"20241029","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241031":{"id":"study/stock/20241031","title":"20241031","description":"\u4eca\u5929\u5468\u56db"},"study/stock/20241101":{"id":"study/stock/20241101","title":"20241101","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241102":{"id":"study/stock/20241102","title":"20241102","description":"\u4eca\u5929\u5468\u516d"},"study/stock/20241104":{"id":"study/stock/20241104","title":"20241104","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241105":{"id":"study/stock/20241105","title":"20241105","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241106":{"id":"study/stock/20241106","title":"20241106","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/20241107":{"id":"study/stock/20241107","title":"20241107","description":"\u4eca\u5929\u5468\u56db"},"study/stock/20241108":{"id":"study/stock/20241108","title":"20241108","description":"\u4eca\u5929\u5468\u4e94"},"study/stock/20241111":{"id":"study/stock/20241111","title":"20241111","description":"\u4eca\u5929\u5468\u4e00"},"study/stock/20241112":{"id":"study/stock/20241112","title":"20241112","description":"\u4eca\u5929\u5468\u4e8c"},"study/stock/20241113":{"id":"study/stock/20241113","title":"20241113","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/20241114":{"id":"study/stock/20241114","title":"20241114","description":"\u4eca\u5929\u5468\u4e09"},"study/stock/\u672f":{"id":"study/stock/\u672f","title":"\u672f","description":"1"},"study/stock/\u9053":{"id":"study/stock/\u9053","title":"\u9053","description":"\u77e5\u884c\u5408\u4e00"},"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1":{"id":"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1","title":"CPU\u7ebf\u7a0b\u5e76\u53d1","description":"CPU \u7ebf\u7a0b \u8fdb\u7a0b \u5e76\u53d1 \u5e76\u884c","sidebar":"studySidebar"},"study/system/index":{"id":"study/system/index","title":"\u672a\u6574\u7406","description":"\u5b66\u4e60\u8d44\u6599","sidebar":"studySidebar"},"study/system/IO":{"id":"study/system/IO","title":"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6","description":"I/O\uff08Input/Output\uff09\u6a21\u578b\u662f\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u4e00\u4e2a\u5173\u952e\u6982\u5ff5\uff0c\u5b83\u6d89\u53ca\u5230\u5982\u4f55\u8fdb\u884c\u8f93\u5165\u548c\u8f93\u51fa\u64cd\u4f5c\uff0c\u800c\u8fd9\u5728\u8ba1\u7b97\u673a\u5e94\u7528\u4e2d\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e0b\uff0c\u9009\u62e9\u6b63\u786e\u7684 I/O \u6a21\u578b\u662f\u81f3\u5173\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u5b83\u4f1a\u5f71\u54cd\u5230\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u54cd\u5e94\u6027\u3002","sidebar":"studySidebar"},"study/system/openWRT":{"id":"study/system/openWRT","title":"openWRT","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/system/Open\u6b27\u62c9":{"id":"study/system/Open\u6b27\u62c9","title":"Open\u6b27\u62c9","description":"\u5b57\u7b26\u96c6\u95ee\u9898","sidebar":"studySidebar"},"study/system/shell\u7f16\u7a0b\u667aexpect":{"id":"study/system/shell\u7f16\u7a0b\u667aexpect","title":"shell\u7f16\u7a0b\u667aexpect","description":"expect","sidebar":"studySidebar"},"study/system/yum-dnf":{"id":"study/system/yum-dnf","title":"yum-dnf","description":"yum","sidebar":"studySidebar"},"study/system/\u5185\u5b58\u7ba1\u7406":{"id":"study/system/\u5185\u5b58\u7ba1\u7406","title":"\u5185\u5b58\u7ba1\u7406","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790":{"id":"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790","title":"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790","description":"\u67b6\u6784\uff0c\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790","sidebar":"studySidebar"},"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838":{"id":"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","title":"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","description":"\u4ec0\u4e48\u662f\u5185\u6838","sidebar":"studySidebar"},"study/system/\u7a0b\u5e8f\u8c03\u8bd5":{"id":"study/system/\u7a0b\u5e8f\u8c03\u8bd5","title":"\u7a0b\u5e8f\u8c03\u8bd5","description":"strace","sidebar":"studySidebar"},"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6":{"id":"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","title":"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","description":"CFS","sidebar":"studySidebar"},"study/think/index":{"id":"study/think/index","title":"\u6982\u8ff0","description":"\u8de8\u8d8a\u7f16\u7a0b\u8bed\u8a00\u7684\u4e00\u4e9b\u5957\u8def\u3002","sidebar":"studySidebar"},"study/think/IT_CT_OT":{"id":"study/think/IT_CT_OT","title":"IT_CT_OT","description":"IT","sidebar":"studySidebar"},"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177":{"id":"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","title":"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c":{"id":"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","title":"\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","description":"\u6bcf\u59295\u70b9\u4e4b\u540e\u82b110\u5206\u949f\u7684\u65f6\u95f4\u5ba1\u67e5\u4e00\u4e0b\u522b\u4eba\u7684\u4ee3\u7801\uff0c\u5e76\u548c\u4ee3\u7801\u4f5c\u8005\u6c9f\u901a\uff1b","sidebar":"studySidebar"},"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5":{"id":"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","title":"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","description":"Raft","sidebar":"studySidebar"},"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink":{"id":"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","title":"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","description":"\u5b9e\u65f6\u8ba1\u7b97","sidebar":"studySidebar"},"study/think/\u5e76\u53d1\u6a21\u578b":{"id":"study/think/\u5e76\u53d1\u6a21\u578b","title":"\u5e76\u53d1\u6a21\u578b","description":"\u4e1a\u754c\u5c06\u5982\u4f55\u5b9e\u73b0\u5e76\u53d1\u7f16\u7a0b\u603b\u7ed3\u5f52\u7eb3\u4e3a\u5404\u5f0f\u5404\u6837\u7684\u5e76\u53d1\u6a21\u578b\uff0c\u5e38\u89c1\u7684\u5e76\u53d1\u6a21\u578b\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a","sidebar":"studySidebar"},"study/think/\u67b6\u6784/CAP\u7406\u8bba":{"id":"study/think/\u67b6\u6784/CAP\u7406\u8bba","title":"CAP\u7406\u8bba","description":"\u7406\u8bba\u77e5\u8bc6","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784":{"id":"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784","title":"\u5f02\u5730\u591a\u6d3b\u67b6\u6784","description":"\u5e72\u8d27\uff5c\u641e\u61c2\u300c\u5f02\u5730\u591a\u6d3b\u300d\uff0c\u770b\u8fd9\u7bc7\u5c31\u591f\u4e86","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0":{"id":"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0","title":"\u6280\u672f\u4e2d\u53f0","description":"\u53c2\u8003","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u67b6\u6784":{"id":"study/think/\u67b6\u6784/\u67b6\u6784","title":"\u67b6\u6784","description":"\u5b9a\u4e49","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b":{"id":"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b","title":"\u67b6\u6784\u56fe\u793a\u4f8b","description":"image.png","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861":{"id":"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861","title":"\u8d1f\u8f7d\u5747\u8861","description":"DNS\u8d1f\u8f7d","sidebar":"studySidebar"},"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f":{"id":"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","title":"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","description":"\u867d\u7136\u8fd1\u5341\u5e74\u6765\u5404\u79cd\u5b58\u50a8\u6280\u672f\u98de\u901f\u53d1\u5c55\uff0c\u4f46\u5173\u7cfb\u6570\u636e\u5e93\u7531\u4e8e\u5176 ACID \u7684\u7279\u6027\u548c\u529f\u80fd\u5f3a\u5927\u7684 SQL \u67e5\u8be2\uff0c\u76ee\u524d\u8fd8\u662f\u5404\u79cd\u4e1a\u52a1\u7cfb\u7edf\u4e2d\u5173\u952e\u548c\u6838\u5fc3\u7684\u5b58\u50a8\u7cfb\u7edf\uff0c\u5f88\u591a\u573a\u666f\u4e0b\u9ad8\u6027\u80fd\u7684\u8bbe\u8ba1\u6700\u6838\u5fc3\u7684\u90e8\u5206\u5c31\u662f\u5173\u7cfb\u6570\u636e\u5e93\u7684\u8bbe\u8ba1\u3002","sidebar":"studySidebar"},"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model":{"id":"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model","title":"Actor Model","description":"Actor\u6a21\u578b\u662f\u4e00\u4e2a\u6982\u5ff5\u6a21\u578b\uff0c\u7528\u4e8e\u5904\u7406\u5e76\u53d1\u8ba1\u7b97\u3002\u5b83\u5b9a\u4e49\u4e86\u4e00\u7cfb\u5217\u7cfb\u7edf\u7ec4\u4ef6\u5e94\u8be5\u5982\u4f55\u52a8\u4f5c\u548c\u4ea4\u4e92\u7684\u901a\u7528\u89c4\u5219\uff0c\u6700\u8457\u540d\u7684\u4f7f\u7528\u8fd9\u5957\u89c4\u5219\u7684\u7f16\u7a0b\u8bed\u8a00\u662fErlang\u3002","sidebar":"studySidebar"},"study/think/\u6982\u5ff5\u6a21\u578b/Proactor":{"id":"study/think/\u6982\u5ff5\u6a21\u578b/Proactor","title":"Proactor","description":"Reactor \u662f\u975e\u963b\u585e\u540c\u6b65\u7f51\u7edc\u6a21\u578b\uff0c\u56e0\u4e3a\u771f\u6b63\u7684 read \u548c send \u64cd\u4f5c\u90fd\u9700\u8981\u7528\u6237\u8fdb\u7a0b\u540c\u6b65\u64cd\u4f5c\u3002\u8fd9\u91cc\u7684\u201c\u540c\u6b65\u201d\u6307\u7528\u6237\u8fdb\u7a0b\u5728\u6267\u884c read \u548c send \u8fd9\u7c7b I/O \u64cd\u4f5c\u7684\u65f6\u5019\u662f\u540c\u6b65\u7684\uff0c\u5982\u679c\u628a I/O \u64cd\u4f5c\u6539\u4e3a\u5f02\u6b65\u5c31\u80fd\u591f\u8fdb\u4e00\u6b65\u63d0\u5347\u6027\u80fd\uff0c\u8fd9\u5c31\u662f\u5f02\u6b65\u7f51\u7edc\u6a21\u578b Proactor\u3002","sidebar":"studySidebar"},"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f":{"id":"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","title":"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","description":"5\u79cdI/O\u6a21\u578b\u6bd4\u8f83","sidebar":"studySidebar"},"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58":{"id":"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58","title":"\u5206\u5e03\u5f0f\u7f13\u5b58","description":"\u7f13\u5b58\u4f5c\u4e3a\u78c1\u76d8\u4ee5\u5916\u7684\u4e00\u79cd\u5b58\u50a8\u6570\u636e\u7684\u65b9\u5f0f\uff0c\u5b83\u6709\u7740\u6bd4\u78c1\u76d8\u66f4\u5feb\u7684\u5b58\u53d6\u6548\u7387\uff0c\u56e0\u6b64\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002\u5728\u5355\u4f53\u7cfb\u7edf\u4e2d\uff0c\u4e00\u822c\u4f1a\u7528\u5230\u672c\u5730\u7f13\u5b58\u3002\u4f46\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u672c\u5730\u7f13\u5b58\u5c31\u663e\u5f97\u4e0d\u591f\u7528\u4e86\uff0c\u8fd9\u65f6\u5f80\u5f80\u8981\u7528\u5230\u5206\u5e03\u5f0f\u7f13\u5b58\u3002","sidebar":"studySidebar"},"study/think/\u7f13\u5b58/\u7f13\u5b58":{"id":"study/think/\u7f13\u5b58/\u7f13\u5b58","title":"\u7f13\u5b58","description":"| | Ehcache | Redis |","sidebar":"studySidebar"},"study/think/\u8bbe\u8ba1\u6a21\u5f0f":{"id":"study/think/\u8bbe\u8ba1\u6a21\u5f0f","title":"\u8bbe\u8ba1\u6a21\u5f0f","description":"\u516d\u5927\u539f\u5219","sidebar":"studySidebar"},"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97":{"id":"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97","title":"\u8c08\u5de5\u4f5c\u5fc3\u5f97","description":"\u5236\u5b9a\u539f\u5219\uff1a\u624b\u4e2d\u65e0\u5200\uff0c\u4f46\u4f60\u7684\u5fc3\u4e2d\u8981\u6709\u5200","sidebar":"studySidebar"},"study/think/\u9650\u6d41":{"id":"study/think/\u9650\u6d41","title":"\u9650\u6d41","description":"\u524d\u8a00","sidebar":"studySidebar"},"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD":{"id":"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","title":"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","description":"\u4ec0\u4e48\u662fDDD","sidebar":"studySidebar"},"xuanxing/back/index":{"id":"xuanxing/back/index","title":"\u6982\u8ff0","description":"\u4e3b\u8981\u4f7f\u7528 Java\uff0c\u4e2d\u95f4\u4ef6\u53ef\u96c6\u6210\u6216\u72ec\u7acb\u90e8\u7f72\u3002","sidebar":"xuanxingSidebar"},"xuanxing/devops/index":{"id":"xuanxing/devops/index","title":"\u6982\u8ff0","description":"\u4e00\u822c\u9700\u8981\u5305\u62ec\u5982\u4e0b\u5185\u5bb9\uff1a","sidebar":"xuanxingSidebar"},"xuanxing/fe/index":{"id":"xuanxing/fe/index","title":"\u6982\u8ff0","description":"\u524d\u7aef\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a","sidebar":"xuanxingSidebar"},"xuanxing/fe/\u5b98\u7f51":{"id":"xuanxing/fe/\u5b98\u7f51","title":"\u5b98\u7f51","description":"\u5b98\u7f51\u6bd4\u8f83\u504f\u7eaf\u5c55\u793a\uff0c\u5bf9SEO\u6709\u8981\u6c42\uff0c\u5bf9CMS\u6709\u8981\u6c42\uff0c\u5bf9\u90e8\u5206\u8fd0\u8425\u6709\u9700\u6c42\uff1b","sidebar":"xuanxingSidebar"},"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef":{"id":"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef","title":"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef","description":"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7528\u6237\u7aef\u548c\u7ba1\u7406\u7aef\u90fd\u662f\u504f\u4e2d\u540e\u53f0\u7684\u7ba1\u7406\u7cfb\u7edf\uff0c\u6240\u4ee5\u4ed6\u4eec\u4e24\u4e2a\u524d\u7aef\u7684\u6280\u672f\u9009\u578b\u4e0a\u5e94\u8be5\u662f\u7edf\u4e00\u7684\uff1b","sidebar":"xuanxingSidebar"},"xuanxing/fe/\u79fb\u52a8\u7aef":{"id":"xuanxing/fe/\u79fb\u52a8\u7aef","title":"\u79fb\u52a8\u7aef","description":"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u79fb\u52a8\u7aef\u65b9\u9762\uff0c\u9996\u9009\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\uff0c\u5982\u679c\u6709\u5916\u8d38\u9700\u6c42\uff0c\u53ef\u4ee5\u589e\u52a0 APP \u548c Mobile WEB\u3002","sidebar":"xuanxingSidebar"},"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668":{"id":"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668","title":"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668","description":"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7ec4\u6001\u7f16\u8f91\u5668\u548c\u5927\u5c4f\u7f16\u8f91\u5668\u90fd\u662f\u5c5e\u4e8e\u53ef\u89c6\u5316\u7f16\u8f91\u5668\u7684\u8303\u7574\u3002","sidebar":"xuanxingSidebar"},"xuanxing/index":{"id":"xuanxing/index","title":"\u7efc\u8ff0","description":"\u7efc\u5408\u8003\u8651","sidebar":"xuanxingSidebar"},"xuanxing/thingsboard/index":{"id":"xuanxing/thingsboard/index","title":"\u7efc\u8ff0","description":"thingsboard \u5e94\u8be5\u7b97\u662f\u9876\u7ea7\u7684\u5f00\u6e90\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e86\u3002\u4f46\u662f\uff0c\u7ecf\u6211\u7814\u7a76\uff0c\u4e0d\u662f\u5f88\u9002\u5408\u56fd\u5185\u7528\u6237\u3002\u4f46\u662f\u5374\u6709\u5f88\u591a\u5b66\u4e60\u548c\u501f\u9274\u7684\u5730\u65b9\uff0c\u4f8b\u5982\u89c4\u5219\u5f15\u64ce\u3002","sidebar":"xuanxingSidebar"},"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528":{"id":"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528","title":"\u5982\u4f55\u4f7f\u7528","description":"\u4e0a\u884c\u6d88\u606f","sidebar":"xuanxingSidebar"},"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784":{"id":"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784","title":"\u6e90\u7801\u7ed3\u6784","description":"swagger","sidebar":"xuanxingSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/94529d15.3942e1f5.js b/assets/js/94529d15.c44b9045.js similarity index 98% rename from assets/js/94529d15.3942e1f5.js rename to assets/js/94529d15.c44b9045.js index c24b3b061..037ff375f 100644 --- a/assets/js/94529d15.3942e1f5.js +++ b/assets/js/94529d15.c44b9045.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2996],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var p=n.createContext({}),l=function(e){var r=n.useContext(p),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(p.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(t),y=o,f=s["".concat(p,".").concat(y)]||s[y]||d[y]||a;return t?n.createElement(f,c(c({ref:r},u),{},{components:t})):n.createElement(f,c({ref:r},u))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,c=new Array(a);c[0]=y;var i={};for(var p in r)hasOwnProperty.call(r,p)&&(i[p]=r[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=t(58168),o=(t(96540),t(15680));const a={},c="C C++ \u7f16\u7a0b\u8bed\u8a00",i={unversionedId:"study/program/C/index",id:"study/program/C/index",title:"C C++ \u7f16\u7a0b\u8bed\u8a00",description:"\u53c2\u8003",source:"@site/docs/study/program/C/index.md",sourceDirName:"study/program/C",slug:"/study/program/C/",permalink:"/docs/study/program/C/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ABIAPI",permalink:"/docs/study/program/ABIAPI"},next:{title:"C\u8bed\u8a00\u6807\u51c6\u5e93",permalink:"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function d(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"c-c-\u7f16\u7a0b\u8bed\u8a00"},"C C++ \u7f16\u7a0b\u8bed\u8a00"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://learn.microsoft.com/zh-cn/cpp/c-language/"},"Microsoft-C \u8bed\u8a00\u6587\u6863"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2996],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var p=n.createContext({}),l=function(e){var r=n.useContext(p),t=r;return e&&(t="function"==typeof e?e(r):c(c({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(p.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(t),y=o,f=s["".concat(p,".").concat(y)]||s[y]||d[y]||a;return t?n.createElement(f,c(c({ref:r},u),{},{components:t})):n.createElement(f,c({ref:r},u))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,c=new Array(a);c[0]=y;var i={};for(var p in r)hasOwnProperty.call(r,p)&&(i[p]=r[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=t(58168),o=(t(96540),t(15680));const a={},c="C C++ \u7f16\u7a0b\u8bed\u8a00",i={unversionedId:"study/program/C/index",id:"study/program/C/index",title:"C C++ \u7f16\u7a0b\u8bed\u8a00",description:"\u53c2\u8003",source:"@site/docs/study/program/C/index.md",sourceDirName:"study/program/C",slug:"/study/program/C/",permalink:"/docs/study/program/C/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ABIAPI",permalink:"/docs/study/program/ABIAPI"},next:{title:"C\u8bed\u8a00\u6807\u51c6\u5e93",permalink:"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function d(e){let{components:r,...t}=e;return(0,o.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"c-c-\u7f16\u7a0b\u8bed\u8a00"},"C C++ \u7f16\u7a0b\u8bed\u8a00"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://learn.microsoft.com/zh-cn/cpp/c-language/"},"Microsoft-C \u8bed\u8a00\u6587\u6863"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/947d4688.c314eb52.js b/assets/js/947d4688.95df160e.js similarity index 98% rename from assets/js/947d4688.c314eb52.js rename to assets/js/947d4688.95df160e.js index 2578f8ebc..1b448c4b9 100644 --- a/assets/js/947d4688.c314eb52.js +++ b/assets/js/947d4688.95df160e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9203],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),l=p(r),d=o,m=l["".concat(s,".").concat(d)]||l[d]||f[d]||a;return r?n.createElement(m,c(c({ref:t},u),{},{components:r})):n.createElement(m,c({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[l]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>f,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/fe/mqtt.js",id:"study/fe/mqtt.js",title:"mqtt.js",description:"\u4e0d\u8981\u4f7f\u7528 mqtt.js \u6362\u7528 precompiled-mqtt",source:"@site/docs/study/fe/mqtt.js.md",sourceDirName:"study/fe",slug:"/study/fe/mqtt.js",permalink:"/docs/study/fe/mqtt.js",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"WebGL",permalink:"/docs/study/fe/WebGL"},next:{title:"\u4e0b\u8f7d\u56fe\u7247",permalink:"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247"}},s={},p=[],u={toc:p},l="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:""}),(0,o.yg)("p",null,"\u4e0d\u8981\u4f7f\u7528 mqtt.js \u6362\u7528 precompiled-mqtt"))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9203],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),l=p(r),d=o,m=l["".concat(s,".").concat(d)]||l[d]||f[d]||a;return r?n.createElement(m,c(c({ref:t},u),{},{components:r})):n.createElement(m,c({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[l]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>f,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/fe/mqtt.js",id:"study/fe/mqtt.js",title:"mqtt.js",description:"\u4e0d\u8981\u4f7f\u7528 mqtt.js \u6362\u7528 precompiled-mqtt",source:"@site/docs/study/fe/mqtt.js.md",sourceDirName:"study/fe",slug:"/study/fe/mqtt.js",permalink:"/docs/study/fe/mqtt.js",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"WebGL",permalink:"/docs/study/fe/WebGL"},next:{title:"\u4e0b\u8f7d\u56fe\u7247",permalink:"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247"}},s={},p=[],u={toc:p},l="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:""}),(0,o.yg)("p",null,"\u4e0d\u8981\u4f7f\u7528 mqtt.js \u6362\u7528 precompiled-mqtt"))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/955edfb7.6b01ce4d.js b/assets/js/955edfb7.51cb2e25.js similarity index 99% rename from assets/js/955edfb7.6b01ce4d.js rename to assets/js/955edfb7.51cb2e25.js index 9791030e3..05a24a9d6 100644 --- a/assets/js/955edfb7.6b01ce4d.js +++ b/assets/js/955edfb7.51cb2e25.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1056],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>d});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var o=r.createContext({}),c=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},u=function(e){var t=c(e.components);return r.createElement(o.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,i=e.originalType,o=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),s=c(n),g=l,d=s["".concat(o,".").concat(g)]||s[g]||y[g]||i;return n?r.createElement(d,a(a({ref:t},u),{},{components:n})):r.createElement(d,a({ref:t},u))}));function d(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var i=n.length,a=new Array(i);a[0]=g;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p[s]="string"==typeof e?e:l,a[1]=p;for(var c=2;c{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>y,frontMatter:()=>i,metadata:()=>p,toc:()=>c});var r=n(58168),l=(n(96540),n(15680));const i={sidebar_position:2},a=void 0,p={unversionedId:"study/think/\u8bbe\u8ba1\u6a21\u5f0f",id:"study/think/\u8bbe\u8ba1\u6a21\u5f0f",title:"\u8bbe\u8ba1\u6a21\u5f0f",description:"\u516d\u5927\u539f\u5219",source:"@site/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f.md",sourceDirName:"study/think",slug:"/study/think/\u8bbe\u8ba1\u6a21\u5f0f",permalink:"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/think/"},next:{title:"IT_CT_OT",permalink:"/docs/study/think/IT_CT_OT"}},o={},c=[{value:"\u516d\u5927\u539f\u5219",id:"\u516d\u5927\u539f\u5219",level:3},{value:"\u603b\u539f\u5219-\u5f00\u95ed\u539f\u5219",id:"\u603b\u539f\u5219-\u5f00\u95ed\u539f\u5219",level:4},{value:"\u5355\u4e00\u804c\u8d23\u539f\u5219",id:"\u5355\u4e00\u804c\u8d23\u539f\u5219",level:4},{value:"\u91cc\u6c0f\u66ff\u6362\u539f\u5219\uff08Liskov Substitution Principle\uff09",id:"\u91cc\u6c0f\u66ff\u6362\u539f\u5219liskov-substitution-principle",level:4},{value:"\u4f9d\u8d56\u5012\u8f6c\u539f\u5219\uff08Dependence Inversion Principle\uff09",id:"\u4f9d\u8d56\u5012\u8f6c\u539f\u5219dependence-inversion-principle",level:4},{value:"\u63a5\u53e3\u9694\u79bb\u539f\u5219\uff08Interface Segregation Principle\uff09",id:"\u63a5\u53e3\u9694\u79bb\u539f\u5219interface-segregation-principle",level:4},{value:"\u8fea\u7c73\u7279\u6cd5\u5219\uff08\u6700\u5c11\u77e5\u9053\u539f\u5219\uff09\uff08Demeter Principle\uff09",id:"\u8fea\u7c73\u7279\u6cd5\u5219\u6700\u5c11\u77e5\u9053\u539f\u5219demeter-principle",level:4},{value:"\u7ec4\u5408(\u5408\u6210)\u590d\u7528\u539f\u5219\uff08Composite Reuse Principle\uff09",id:"\u7ec4\u5408\u5408\u6210\u590d\u7528\u539f\u5219composite-reuse-principle",level:4},{value:"\u5177\u4f53\u5206\u7c7b\uff1a",id:"\u5177\u4f53\u5206\u7c7b",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:c},s="wrapper";function y(e){let{components:t,...n}=e;return(0,l.yg)(s,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u516d\u5927\u539f\u5219"},"\u516d\u5927\u539f\u5219"),(0,l.yg)("h4",{id:"\u603b\u539f\u5219-\u5f00\u95ed\u539f\u5219"},"\u603b\u539f\u5219-\u5f00\u95ed\u539f\u5219"),(0,l.yg)("p",null,"\u5bf9\u6269\u5c55\u5f00\u653e\uff0c\u5bf9\u4fee\u6539\u5c01\u95ed\u3002\u5728\u7a0b\u5e8f\u9700\u8981\u8fdb\u884c\u62d3\u5c55\u7684\u65f6\u5019\uff0c\u4e0d\u80fd\u53bb\u4fee\u6539\u539f\u6709\u7684\u4ee3\u7801\uff0c\u800c\u662f\u8981\u6269\u5c55\u539f\u6709\u4ee3\u7801\uff0c\u5b9e\u73b0\u4e00\u4e2a\u70ed\u63d2\u62d4\u7684\u6548\u679c\u3002\u6240\u4ee5\u4e00\u53e5\u8bdd\u6982\u62ec\u5c31\u662f\uff1a\u4e3a\u4e86\u4f7f\u7a0b\u5e8f\u7684\u6269\u5c55\u6027\u597d\uff0c\u6613\u4e8e\u7ef4\u62a4\u548c\u5347\u7ea7\u3002"),(0,l.yg)("p",null,"\u60f3\u8981\u8fbe\u5230\u8fd9\u6837\u7684\u6548\u679c\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u63a5\u53e3\u548c\u62bd\u8c61\u7c7b\u7b49\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u62ff\u5230\u4e00\u4e2a\u529f\u80fd\u9700\u6c42\uff0c\u4e0d\u8981\u4e0a\u6765\u5c31\u53bb\u5b9e\u73b0\uff0c\u5e94\u8be5\u8003\u8651\u600e\u4e48\u62bd\u53d6\u63a5\u53e3\u6216\u62bd\u8c61\u7c7b\uff1b\u4f8b\u5982 API \u4e2d\u7684 ES \u64cd\u4f5c\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u4e0d\u8981\u968f\u610f\u4fee\u6539\u539f\u6709\u7cfb\u7edf\u7684\u4ee3\u7801\uff0c\u800c\u662f\u5c1d\u8bd5\u53bb\u62d3\u5c55\u6765\u907f\u514d\u98ce\u9669\uff1b\u4f8b\u5982 API \u4e2d\u7684\u65b0\u7248 MVC \u62e6\u622a\u5668\u5904\u7406\uff1b")),(0,l.yg)("h4",{id:"\u5355\u4e00\u804c\u8d23\u539f\u5219"},"\u5355\u4e00\u804c\u8d23\u539f\u5219"),(0,l.yg)("p",null,"\u4e0d\u8981\u5b58\u5728\u591a\u4e8e\u4e00\u4e2a\u5bfc\u81f4\u7c7b\u53d8\u66f4\u7684\u539f\u56e0\uff0c\u4e5f\u5c31\u662f\u8bf4\u6bcf\u4e2a\u7c7b\u5e94\u8be5\u5b9e\u73b0\u5355\u4e00\u7684\u804c\u8d23\uff0c\u5426\u5219\u5c31\u5e94\u8be5\u628a\u7c7b\u62c6\u5206\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5904\u7406\u62a5\u8b66\u7684 Service/Controller/Mapper \u7b49\u5939\u6742\u4e00\u4e9b\u4e0d\u76f8\u5e72\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u5b9a\u65f6\u4efb\u52a1\u3001\u7528\u6237\u53cd\u9988\u7b49\uff1b"),(0,l.yg)("li",{parentName:"ol"},"Controller \u5939\u6742\u4e00\u4e9b\u79c1\u6709\u65b9\u6cd5\uff1b\u9700\u4e0d\u9700\u8981\u653e\u5230 Service\u3001Utils \u91cc\u9762\uff1b")),(0,l.yg)("h4",{id:""}),(0,l.yg)("h4",{id:"\u91cc\u6c0f\u66ff\u6362\u539f\u5219liskov-substitution-principle"},"\u91cc\u6c0f\u66ff\u6362\u539f\u5219\uff08Liskov Substitution Principle\uff09"),(0,l.yg)("p",null,"\u4efb\u4f55\u57fa\u7c7b\u53ef\u4ee5\u51fa\u73b0\u7684\u5730\u65b9\uff0c\u5b50\u7c7b\u4e00\u5b9a\u53ef\u4ee5\u51fa\u73b0\u3002\u91cc\u6c0f\u66ff\u6362\u539f\u5219\u662f\u7ee7\u627f\u590d\u7528\u7684\u57fa\u77f3\uff0c\u53ea\u6709\u5f53\u884d\u751f\u7c7b\u53ef\u4ee5\u66ff\u6362\u57fa\u7c7b\uff0c\u8f6f\u4ef6\u5355\u4f4d\u7684\u529f\u80fd\u4e0d\u53d7\u5230\u5f71\u54cd\u65f6\uff0c\u57fa\u7c7b\u624d\u80fd\u771f\u6b63\u88ab\u590d\u7528\uff0c\u800c\u884d\u751f\u7c7b\u4e5f\u80fd\u591f\u5728\u57fa\u7c7b\u7684\u57fa\u7840\u4e0a\u589e\u52a0\u65b0\u7684\u884c\u4e3a\u3002"),(0,l.yg)("p",null,"\u91cc\u6c0f\u4ee3\u6362\u539f\u5219\u662f\u5bf9\u201c\u5f00-\u95ed\u201d\u539f\u5219\u7684\u8865\u5145\u3002\u5b9e\u73b0\u201c\u5f00\u95ed\u201d\u539f\u5219\u7684\u5173\u952e\u6b65\u9aa4\u5c31\u662f\u62bd\u8c61\u5316\u3002\u800c\u57fa\u7c7b\u4e0e\u5b50\u7c7b\u7684\u7ee7\u627f\u5173\u7cfb\u5c31\u662f\u62bd\u8c61\u5316\u7684\u5177\u4f53\u5b9e\u73b0\uff0c\u6240\u4ee5\u91cc\u6c0f\u4ee3\u6362\u539f\u5219\u662f\u5bf9\u5b9e\u73b0\u62bd\u8c61\u5316\u7684\u5177\u4f53\u6b65\u9aa4\u7684\u89c4\u8303\u3002\u91cc\u6c0f\u66ff\u6362\u539f\u5219\u4e2d\uff0c\u5b50\u7c7b\u5bf9\u7236\u7c7b\u7684\u65b9\u6cd5\u5c3d\u91cf\u4e0d\u8981\u91cd\u5199\u548c\u91cd\u8f7d\u3002\u56e0\u4e3a\u7236\u7c7b\u4ee3\u8868\u4e86\u5b9a\u4e49\u597d\u7684\u7ed3\u6784\uff0c\u901a\u8fc7\u8fd9\u4e2a\u89c4\u8303\u7684\u63a5\u53e3\u4e0e\u5916\u754c\u4ea4\u4e92\uff0c\u5b50\u7c7b\u4e0d\u5e94\u8be5\u968f\u4fbf\u7834\u574f\u5b83\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5b9a\u4e49\u7528\u57fa\u7c7b\uff0c\u5b9e\u73b0\u7528\u5b50\u7c7b\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u7528\u63a5\u53e3\u53bb\u5b9a\u4e49\u6d41\u7a0b\u548c\u89c4\u8303\uff0c\u8fd9\u662f\u8bbe\u8ba1\u7684\u5e95\u5c42\u601d\u60f3\uff0c\u4e0d\u5e94\u8be5\u53bb\u7834\u574f\uff1b\u6ca1\u6709\u63a5\u53e3\u7684\u8bbe\u8ba1\uff0c\u662f\u6ca1\u6709\u7075\u9b42\u7684\u7f16\u7801\uff1b")),(0,l.yg)("h4",{id:"\u4f9d\u8d56\u5012\u8f6c\u539f\u5219dependence-inversion-principle"},"\u4f9d\u8d56\u5012\u8f6c\u539f\u5219\uff08Dependence Inversion Principle\uff09"),(0,l.yg)("p",null,"\u9762\u5411\u63a5\u53e3\u7f16\u7a0b\uff0c\u4f9d\u8d56\u4e8e\u62bd\u8c61\u800c\u4e0d\u4f9d\u8d56\u4e8e\u5177\u4f53\u3002\u5199\u4ee3\u7801\u65f6\u7528\u5230\u5177\u4f53\u7c7b\u65f6\uff0c\u4e0d\u4e0e\u5177\u4f53\u7c7b\u4ea4\u4e92\uff0c\u800c\u4e0e\u5177\u4f53\u7c7b\u7684\u4e0a\u5c42\u63a5\u53e3\u4ea4\u4e92\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u8fd8\u662f\u9762\u5411\u63a5\u53e3\u7f16\u7a0b\uff1b")),(0,l.yg)("h4",{id:"\u63a5\u53e3\u9694\u79bb\u539f\u5219interface-segregation-principle"},"\u63a5\u53e3\u9694\u79bb\u539f\u5219\uff08Interface Segregation Principle\uff09"),(0,l.yg)("p",null,"\u6bcf\u4e2a\u63a5\u53e3\u4e2d\u4e0d\u5b58\u5728\u5b50\u7c7b\u7528\u4e0d\u5230\u5374\u5fc5\u987b\u5b9e\u73b0\u7684\u65b9\u6cd5\uff0c\u5982\u679c\u4e0d\u7136\uff0c\u5c31\u8981\u5c06\u63a5\u53e3\u62c6\u5206\u3002\u4f7f\u7528\u591a\u4e2a\u9694\u79bb\u7684\u63a5\u53e3\uff0c\u6bd4\u4f7f\u7528\u5355\u4e2a\u63a5\u53e3\uff08\u591a\u4e2a\u63a5\u53e3\u65b9\u6cd5\u96c6\u5408\u5230\u4e00\u4e2a\u7684\u63a5\u53e3\uff09\u8981\u597d\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u63a5\u53e3\u62c6\u5206\uff0c\u548c\u5355\u4e00\u804c\u8d23\u539f\u5219\u4e92\u76f8\u6620\u5c04\uff1b")),(0,l.yg)("h4",{id:"\u8fea\u7c73\u7279\u6cd5\u5219\u6700\u5c11\u77e5\u9053\u539f\u5219demeter-principle"},"\u8fea\u7c73\u7279\u6cd5\u5219\uff08\u6700\u5c11\u77e5\u9053\u539f\u5219\uff09\uff08Demeter Principle\uff09"),(0,l.yg)("p",null,"\u4e00\u4e2a\u7c7b\u5bf9\u81ea\u5df1\u4f9d\u8d56\u7684\u7c7b\u77e5\u9053\u7684\u8d8a\u5c11\u8d8a\u597d\u3002\u65e0\u8bba\u88ab\u4f9d\u8d56\u7684\u7c7b\u591a\u4e48\u590d\u6742\uff0c\u90fd\u5e94\u8be5\u5c06\u903b\u8f91\u5c01\u88c5\u5728\u65b9\u6cd5\u7684\u5185\u90e8\uff0c\u901a\u8fc7 public \u65b9\u6cd5\u63d0\u4f9b\u7ed9\u5916\u90e8\u3002\u8fd9\u6837\u5f53\u88ab\u4f9d\u8d56\u7684\u7c7b\u53d8\u5316\u65f6\uff0c\u624d\u80fd\u6700\u5c0f\u7684\u5f71\u54cd\u8be5\u7c7b\u3002"),(0,l.yg)("p",null,"\u6700\u5c11\u77e5\u9053\u539f\u5219\u7684\u53e6\u4e00\u4e2a\u8868\u8fbe\u65b9\u5f0f\u662f\uff1a\u53ea\u4e0e\u76f4\u63a5\u7684\u670b\u53cb\u901a\u4fe1\u3002\u7c7b\u4e4b\u95f4\u53ea\u8981\u6709\u8026\u5408\u5173\u7cfb\uff0c\u5c31\u53eb\u670b\u53cb\u5173\u7cfb\u3002\u8026\u5408\u5206\u4e3a\u4f9d\u8d56\u3001\u5173\u8054\u3001\u805a\u5408\u3001\u7ec4\u5408\u7b49\u3002\u6211\u4eec\u79f0\u51fa\u73b0\u4e3a\u6210\u5458\u53d8\u91cf\u3001\u65b9\u6cd5\u53c2\u6570\u3001\u65b9\u6cd5\u8fd4\u56de\u503c\u4e2d\u7684\u7c7b\u4e3a\u76f4\u63a5\u670b\u53cb\u3002\u5c40\u90e8\u53d8\u91cf\u3001\u4e34\u65f6\u53d8\u91cf\u5219\u4e0d\u662f\u76f4\u63a5\u7684\u670b\u53cb\u3002\u6211\u4eec\u8981\u6c42\u964c\u751f\u7684\u7c7b\u4e0d\u8981\u4f5c\u4e3a\u5c40\u90e8\u53d8\u91cf\u51fa\u73b0\u5728\u7c7b\u4e2d\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u89e3\u8026\u548c\u6a21\u5757\u5316\uff1b")),(0,l.yg)("h4",{id:"\u7ec4\u5408\u5408\u6210\u590d\u7528\u539f\u5219composite-reuse-principle"},"\u7ec4\u5408(\u5408\u6210)\u590d\u7528\u539f\u5219\uff08Composite Reuse Principle\uff09"),(0,l.yg)("p",null,"\u5c3d\u91cf\u9996\u5148\u4f7f\u7528\u7ec4\u5408/\u805a\u5408\u7684\u65b9\u5f0f\uff0c\u800c\u4e0d\u662f\u4f7f\u7528\u7ee7\u627f\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u4ec0\u4e48\u662f\u5173\u8054\u3001\u805a\u5408\u3001\u7ec4\u5408\uff1b",(0,l.yg)("a",{parentName:"li",href:"https://www.php.cn/java-article-413814.html"},"\u5173\u8054\u3001\u7ec4\u5408\u3001\u805a\u5408")),(0,l.yg)("li",{parentName:"ol"},"\u5982\u679c\u8981\u62d3\u5c55\uff0c\u9996\u5148\u60f3\u5230\u662f\u805a\u5408\u6216\u7ec4\u5408\uff0c\u800c\u4e0d\u5e94\u8be5\u662f\u7ee7\u627f\uff0c\u7ee7\u627f\u592a\u91cd\u4e86\u3002")),(0,l.yg)("h3",{id:"\u5177\u4f53\u5206\u7c7b"},"\u5177\u4f53\u5206\u7c7b\uff1a"),(0,l.yg)("p",null,"\u521b\u5efa\u578b\u6a21\u5f0f\uff0c\u5171\u4e94\u79cd\uff1a\u5de5\u5382\u65b9\u6cd5\u6a21\u5f0f\u3001\u62bd\u8c61\u5de5\u5382\u6a21\u5f0f\u3001\u5355\u4f8b\u6a21\u5f0f\u3001\u5efa\u9020\u8005\u6a21\u5f0f\u3001\u539f\u578b\u6a21\u5f0f"),(0,l.yg)("p",null,"\u7ed3\u6784\u578b\u6a21\u5f0f\uff0c\u5171\u4e03\u79cd\uff1a\u9002\u914d\u5668\u6a21\u5f0f\u3001\u88c5\u9970\u8005\u6a21\u5f0f\u3001\u4ee3\u7406\u6a21\u5f0f\u3001\u5916\u89c2\u6a21\u5f0f\u3001\u6865\u63a5\u6a21\u5f0f\u3001\u7ec4\u5408\u6a21\u5f0f\u3001\u4eab\u5143\u6a21\u5f0f\u3002"),(0,l.yg)("p",null,"\u884c\u4e3a\u578b\u6a21\u5f0f\uff0c\u5171\u5341\u4e00\u79cd\uff1a\u7b56\u7565\u6a21\u5f0f\u3001\u6a21\u677f\u65b9\u6cd5\u6a21\u5f0f\u3001\u89c2\u5bdf\u8005\u6a21\u5f0f\u3001\u8fed\u4ee3\u5b50\u6a21\u5f0f\u3001\u8d23\u4efb\u94fe\u6a21\u5f0f\u3001\u547d\u4ee4\u6a21\u5f0f\u3001\u5907\u5fd8\u5f55\u6a21\u5f0f\u3001\u72b6\u6001\u6a21\u5f0f\u3001\u8bbf\u95ee\u8005\u6a21\u5f0f\u3001\u4e2d\u4ecb\u8005\u6a21\u5f0f\u3001\u89e3\u91ca\u5668\u6a21\u5f0f\u3002"),(0,l.yg)("p",null,"\u5176\u5b9e\u8fd8\u6709\u4e24\u7c7b\uff1a\u5e76\u53d1\u578b\u6a21\u5f0f\u548c\u7ebf\u7a0b\u6c60\u6a21\u5f0f\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/1974a5837040"},"\u804a\u4e00\u804a\u9762\u5411\u5bf9\u8c61\u7684\u4e09\u5927\u7279\u6027")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://blog.csdn.net/jason0539/article/details/44956775"},"23 \u79cd\u8bbe\u8ba1\u6a21\u5f0f\u6c47\u603b\u6574\u7406")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s?__biz=Mzg5MDczNDI0Nw==&mid=2247492497&idx=1&sn=31882a4693f0e09a419073b58ddf431e&chksm=cfdab059f8ad394f8fcafed1d96825a7393e491f4d287a0e0ab81e42e974ea87f3f54d973864&scene=21#wechat_redirect"},"\u4e24\u4e07\u5b57\u76d8\u70b9\u90a3\u4e9b\u88ab\u73a9\u70c2\u4e86\u7684\u8bbe\u8ba1\u6a21\u5f0f")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://refactoringguru.cn/design-patterns"},"\u56fe\u8bf4-\u8bbe\u8ba1\u6a21\u5f0f")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://design-patterns.readthedocs.io/zh_CN/latest/index.html"},"\u8bbe\u8ba1\u6a21\u5f0f\u4e4b\u7f8e"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1056],{15680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>d});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var o=r.createContext({}),c=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},u=function(e){var t=c(e.components);return r.createElement(o.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,i=e.originalType,o=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),s=c(n),g=l,d=s["".concat(o,".").concat(g)]||s[g]||y[g]||i;return n?r.createElement(d,a(a({ref:t},u),{},{components:n})):r.createElement(d,a({ref:t},u))}));function d(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var i=n.length,a=new Array(i);a[0]=g;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p[s]="string"==typeof e?e:l,a[1]=p;for(var c=2;c{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>y,frontMatter:()=>i,metadata:()=>p,toc:()=>c});var r=n(58168),l=(n(96540),n(15680));const i={sidebar_position:2},a=void 0,p={unversionedId:"study/think/\u8bbe\u8ba1\u6a21\u5f0f",id:"study/think/\u8bbe\u8ba1\u6a21\u5f0f",title:"\u8bbe\u8ba1\u6a21\u5f0f",description:"\u516d\u5927\u539f\u5219",source:"@site/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f.md",sourceDirName:"study/think",slug:"/study/think/\u8bbe\u8ba1\u6a21\u5f0f",permalink:"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/think/"},next:{title:"IT_CT_OT",permalink:"/docs/study/think/IT_CT_OT"}},o={},c=[{value:"\u516d\u5927\u539f\u5219",id:"\u516d\u5927\u539f\u5219",level:3},{value:"\u603b\u539f\u5219-\u5f00\u95ed\u539f\u5219",id:"\u603b\u539f\u5219-\u5f00\u95ed\u539f\u5219",level:4},{value:"\u5355\u4e00\u804c\u8d23\u539f\u5219",id:"\u5355\u4e00\u804c\u8d23\u539f\u5219",level:4},{value:"\u91cc\u6c0f\u66ff\u6362\u539f\u5219\uff08Liskov Substitution Principle\uff09",id:"\u91cc\u6c0f\u66ff\u6362\u539f\u5219liskov-substitution-principle",level:4},{value:"\u4f9d\u8d56\u5012\u8f6c\u539f\u5219\uff08Dependence Inversion Principle\uff09",id:"\u4f9d\u8d56\u5012\u8f6c\u539f\u5219dependence-inversion-principle",level:4},{value:"\u63a5\u53e3\u9694\u79bb\u539f\u5219\uff08Interface Segregation Principle\uff09",id:"\u63a5\u53e3\u9694\u79bb\u539f\u5219interface-segregation-principle",level:4},{value:"\u8fea\u7c73\u7279\u6cd5\u5219\uff08\u6700\u5c11\u77e5\u9053\u539f\u5219\uff09\uff08Demeter Principle\uff09",id:"\u8fea\u7c73\u7279\u6cd5\u5219\u6700\u5c11\u77e5\u9053\u539f\u5219demeter-principle",level:4},{value:"\u7ec4\u5408(\u5408\u6210)\u590d\u7528\u539f\u5219\uff08Composite Reuse Principle\uff09",id:"\u7ec4\u5408\u5408\u6210\u590d\u7528\u539f\u5219composite-reuse-principle",level:4},{value:"\u5177\u4f53\u5206\u7c7b\uff1a",id:"\u5177\u4f53\u5206\u7c7b",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:c},s="wrapper";function y(e){let{components:t,...n}=e;return(0,l.yg)(s,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u516d\u5927\u539f\u5219"},"\u516d\u5927\u539f\u5219"),(0,l.yg)("h4",{id:"\u603b\u539f\u5219-\u5f00\u95ed\u539f\u5219"},"\u603b\u539f\u5219-\u5f00\u95ed\u539f\u5219"),(0,l.yg)("p",null,"\u5bf9\u6269\u5c55\u5f00\u653e\uff0c\u5bf9\u4fee\u6539\u5c01\u95ed\u3002\u5728\u7a0b\u5e8f\u9700\u8981\u8fdb\u884c\u62d3\u5c55\u7684\u65f6\u5019\uff0c\u4e0d\u80fd\u53bb\u4fee\u6539\u539f\u6709\u7684\u4ee3\u7801\uff0c\u800c\u662f\u8981\u6269\u5c55\u539f\u6709\u4ee3\u7801\uff0c\u5b9e\u73b0\u4e00\u4e2a\u70ed\u63d2\u62d4\u7684\u6548\u679c\u3002\u6240\u4ee5\u4e00\u53e5\u8bdd\u6982\u62ec\u5c31\u662f\uff1a\u4e3a\u4e86\u4f7f\u7a0b\u5e8f\u7684\u6269\u5c55\u6027\u597d\uff0c\u6613\u4e8e\u7ef4\u62a4\u548c\u5347\u7ea7\u3002"),(0,l.yg)("p",null,"\u60f3\u8981\u8fbe\u5230\u8fd9\u6837\u7684\u6548\u679c\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u63a5\u53e3\u548c\u62bd\u8c61\u7c7b\u7b49\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u62ff\u5230\u4e00\u4e2a\u529f\u80fd\u9700\u6c42\uff0c\u4e0d\u8981\u4e0a\u6765\u5c31\u53bb\u5b9e\u73b0\uff0c\u5e94\u8be5\u8003\u8651\u600e\u4e48\u62bd\u53d6\u63a5\u53e3\u6216\u62bd\u8c61\u7c7b\uff1b\u4f8b\u5982 API \u4e2d\u7684 ES \u64cd\u4f5c\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u4e0d\u8981\u968f\u610f\u4fee\u6539\u539f\u6709\u7cfb\u7edf\u7684\u4ee3\u7801\uff0c\u800c\u662f\u5c1d\u8bd5\u53bb\u62d3\u5c55\u6765\u907f\u514d\u98ce\u9669\uff1b\u4f8b\u5982 API \u4e2d\u7684\u65b0\u7248 MVC \u62e6\u622a\u5668\u5904\u7406\uff1b")),(0,l.yg)("h4",{id:"\u5355\u4e00\u804c\u8d23\u539f\u5219"},"\u5355\u4e00\u804c\u8d23\u539f\u5219"),(0,l.yg)("p",null,"\u4e0d\u8981\u5b58\u5728\u591a\u4e8e\u4e00\u4e2a\u5bfc\u81f4\u7c7b\u53d8\u66f4\u7684\u539f\u56e0\uff0c\u4e5f\u5c31\u662f\u8bf4\u6bcf\u4e2a\u7c7b\u5e94\u8be5\u5b9e\u73b0\u5355\u4e00\u7684\u804c\u8d23\uff0c\u5426\u5219\u5c31\u5e94\u8be5\u628a\u7c7b\u62c6\u5206\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5904\u7406\u62a5\u8b66\u7684 Service/Controller/Mapper \u7b49\u5939\u6742\u4e00\u4e9b\u4e0d\u76f8\u5e72\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u5b9a\u65f6\u4efb\u52a1\u3001\u7528\u6237\u53cd\u9988\u7b49\uff1b"),(0,l.yg)("li",{parentName:"ol"},"Controller \u5939\u6742\u4e00\u4e9b\u79c1\u6709\u65b9\u6cd5\uff1b\u9700\u4e0d\u9700\u8981\u653e\u5230 Service\u3001Utils \u91cc\u9762\uff1b")),(0,l.yg)("h4",{id:""}),(0,l.yg)("h4",{id:"\u91cc\u6c0f\u66ff\u6362\u539f\u5219liskov-substitution-principle"},"\u91cc\u6c0f\u66ff\u6362\u539f\u5219\uff08Liskov Substitution Principle\uff09"),(0,l.yg)("p",null,"\u4efb\u4f55\u57fa\u7c7b\u53ef\u4ee5\u51fa\u73b0\u7684\u5730\u65b9\uff0c\u5b50\u7c7b\u4e00\u5b9a\u53ef\u4ee5\u51fa\u73b0\u3002\u91cc\u6c0f\u66ff\u6362\u539f\u5219\u662f\u7ee7\u627f\u590d\u7528\u7684\u57fa\u77f3\uff0c\u53ea\u6709\u5f53\u884d\u751f\u7c7b\u53ef\u4ee5\u66ff\u6362\u57fa\u7c7b\uff0c\u8f6f\u4ef6\u5355\u4f4d\u7684\u529f\u80fd\u4e0d\u53d7\u5230\u5f71\u54cd\u65f6\uff0c\u57fa\u7c7b\u624d\u80fd\u771f\u6b63\u88ab\u590d\u7528\uff0c\u800c\u884d\u751f\u7c7b\u4e5f\u80fd\u591f\u5728\u57fa\u7c7b\u7684\u57fa\u7840\u4e0a\u589e\u52a0\u65b0\u7684\u884c\u4e3a\u3002"),(0,l.yg)("p",null,"\u91cc\u6c0f\u4ee3\u6362\u539f\u5219\u662f\u5bf9\u201c\u5f00-\u95ed\u201d\u539f\u5219\u7684\u8865\u5145\u3002\u5b9e\u73b0\u201c\u5f00\u95ed\u201d\u539f\u5219\u7684\u5173\u952e\u6b65\u9aa4\u5c31\u662f\u62bd\u8c61\u5316\u3002\u800c\u57fa\u7c7b\u4e0e\u5b50\u7c7b\u7684\u7ee7\u627f\u5173\u7cfb\u5c31\u662f\u62bd\u8c61\u5316\u7684\u5177\u4f53\u5b9e\u73b0\uff0c\u6240\u4ee5\u91cc\u6c0f\u4ee3\u6362\u539f\u5219\u662f\u5bf9\u5b9e\u73b0\u62bd\u8c61\u5316\u7684\u5177\u4f53\u6b65\u9aa4\u7684\u89c4\u8303\u3002\u91cc\u6c0f\u66ff\u6362\u539f\u5219\u4e2d\uff0c\u5b50\u7c7b\u5bf9\u7236\u7c7b\u7684\u65b9\u6cd5\u5c3d\u91cf\u4e0d\u8981\u91cd\u5199\u548c\u91cd\u8f7d\u3002\u56e0\u4e3a\u7236\u7c7b\u4ee3\u8868\u4e86\u5b9a\u4e49\u597d\u7684\u7ed3\u6784\uff0c\u901a\u8fc7\u8fd9\u4e2a\u89c4\u8303\u7684\u63a5\u53e3\u4e0e\u5916\u754c\u4ea4\u4e92\uff0c\u5b50\u7c7b\u4e0d\u5e94\u8be5\u968f\u4fbf\u7834\u574f\u5b83\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5b9a\u4e49\u7528\u57fa\u7c7b\uff0c\u5b9e\u73b0\u7528\u5b50\u7c7b\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u7528\u63a5\u53e3\u53bb\u5b9a\u4e49\u6d41\u7a0b\u548c\u89c4\u8303\uff0c\u8fd9\u662f\u8bbe\u8ba1\u7684\u5e95\u5c42\u601d\u60f3\uff0c\u4e0d\u5e94\u8be5\u53bb\u7834\u574f\uff1b\u6ca1\u6709\u63a5\u53e3\u7684\u8bbe\u8ba1\uff0c\u662f\u6ca1\u6709\u7075\u9b42\u7684\u7f16\u7801\uff1b")),(0,l.yg)("h4",{id:"\u4f9d\u8d56\u5012\u8f6c\u539f\u5219dependence-inversion-principle"},"\u4f9d\u8d56\u5012\u8f6c\u539f\u5219\uff08Dependence Inversion Principle\uff09"),(0,l.yg)("p",null,"\u9762\u5411\u63a5\u53e3\u7f16\u7a0b\uff0c\u4f9d\u8d56\u4e8e\u62bd\u8c61\u800c\u4e0d\u4f9d\u8d56\u4e8e\u5177\u4f53\u3002\u5199\u4ee3\u7801\u65f6\u7528\u5230\u5177\u4f53\u7c7b\u65f6\uff0c\u4e0d\u4e0e\u5177\u4f53\u7c7b\u4ea4\u4e92\uff0c\u800c\u4e0e\u5177\u4f53\u7c7b\u7684\u4e0a\u5c42\u63a5\u53e3\u4ea4\u4e92\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u8fd8\u662f\u9762\u5411\u63a5\u53e3\u7f16\u7a0b\uff1b")),(0,l.yg)("h4",{id:"\u63a5\u53e3\u9694\u79bb\u539f\u5219interface-segregation-principle"},"\u63a5\u53e3\u9694\u79bb\u539f\u5219\uff08Interface Segregation Principle\uff09"),(0,l.yg)("p",null,"\u6bcf\u4e2a\u63a5\u53e3\u4e2d\u4e0d\u5b58\u5728\u5b50\u7c7b\u7528\u4e0d\u5230\u5374\u5fc5\u987b\u5b9e\u73b0\u7684\u65b9\u6cd5\uff0c\u5982\u679c\u4e0d\u7136\uff0c\u5c31\u8981\u5c06\u63a5\u53e3\u62c6\u5206\u3002\u4f7f\u7528\u591a\u4e2a\u9694\u79bb\u7684\u63a5\u53e3\uff0c\u6bd4\u4f7f\u7528\u5355\u4e2a\u63a5\u53e3\uff08\u591a\u4e2a\u63a5\u53e3\u65b9\u6cd5\u96c6\u5408\u5230\u4e00\u4e2a\u7684\u63a5\u53e3\uff09\u8981\u597d\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u63a5\u53e3\u62c6\u5206\uff0c\u548c\u5355\u4e00\u804c\u8d23\u539f\u5219\u4e92\u76f8\u6620\u5c04\uff1b")),(0,l.yg)("h4",{id:"\u8fea\u7c73\u7279\u6cd5\u5219\u6700\u5c11\u77e5\u9053\u539f\u5219demeter-principle"},"\u8fea\u7c73\u7279\u6cd5\u5219\uff08\u6700\u5c11\u77e5\u9053\u539f\u5219\uff09\uff08Demeter Principle\uff09"),(0,l.yg)("p",null,"\u4e00\u4e2a\u7c7b\u5bf9\u81ea\u5df1\u4f9d\u8d56\u7684\u7c7b\u77e5\u9053\u7684\u8d8a\u5c11\u8d8a\u597d\u3002\u65e0\u8bba\u88ab\u4f9d\u8d56\u7684\u7c7b\u591a\u4e48\u590d\u6742\uff0c\u90fd\u5e94\u8be5\u5c06\u903b\u8f91\u5c01\u88c5\u5728\u65b9\u6cd5\u7684\u5185\u90e8\uff0c\u901a\u8fc7 public \u65b9\u6cd5\u63d0\u4f9b\u7ed9\u5916\u90e8\u3002\u8fd9\u6837\u5f53\u88ab\u4f9d\u8d56\u7684\u7c7b\u53d8\u5316\u65f6\uff0c\u624d\u80fd\u6700\u5c0f\u7684\u5f71\u54cd\u8be5\u7c7b\u3002"),(0,l.yg)("p",null,"\u6700\u5c11\u77e5\u9053\u539f\u5219\u7684\u53e6\u4e00\u4e2a\u8868\u8fbe\u65b9\u5f0f\u662f\uff1a\u53ea\u4e0e\u76f4\u63a5\u7684\u670b\u53cb\u901a\u4fe1\u3002\u7c7b\u4e4b\u95f4\u53ea\u8981\u6709\u8026\u5408\u5173\u7cfb\uff0c\u5c31\u53eb\u670b\u53cb\u5173\u7cfb\u3002\u8026\u5408\u5206\u4e3a\u4f9d\u8d56\u3001\u5173\u8054\u3001\u805a\u5408\u3001\u7ec4\u5408\u7b49\u3002\u6211\u4eec\u79f0\u51fa\u73b0\u4e3a\u6210\u5458\u53d8\u91cf\u3001\u65b9\u6cd5\u53c2\u6570\u3001\u65b9\u6cd5\u8fd4\u56de\u503c\u4e2d\u7684\u7c7b\u4e3a\u76f4\u63a5\u670b\u53cb\u3002\u5c40\u90e8\u53d8\u91cf\u3001\u4e34\u65f6\u53d8\u91cf\u5219\u4e0d\u662f\u76f4\u63a5\u7684\u670b\u53cb\u3002\u6211\u4eec\u8981\u6c42\u964c\u751f\u7684\u7c7b\u4e0d\u8981\u4f5c\u4e3a\u5c40\u90e8\u53d8\u91cf\u51fa\u73b0\u5728\u7c7b\u4e2d\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u89e3\u8026\u548c\u6a21\u5757\u5316\uff1b")),(0,l.yg)("h4",{id:"\u7ec4\u5408\u5408\u6210\u590d\u7528\u539f\u5219composite-reuse-principle"},"\u7ec4\u5408(\u5408\u6210)\u590d\u7528\u539f\u5219\uff08Composite Reuse Principle\uff09"),(0,l.yg)("p",null,"\u5c3d\u91cf\u9996\u5148\u4f7f\u7528\u7ec4\u5408/\u805a\u5408\u7684\u65b9\u5f0f\uff0c\u800c\u4e0d\u662f\u4f7f\u7528\u7ee7\u627f\u3002"),(0,l.yg)("p",null,(0,l.yg)("strong",{parentName:"p"},"\u601d\u8003\uff1a")),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u4ec0\u4e48\u662f\u5173\u8054\u3001\u805a\u5408\u3001\u7ec4\u5408\uff1b",(0,l.yg)("a",{parentName:"li",href:"https://www.php.cn/java-article-413814.html"},"\u5173\u8054\u3001\u7ec4\u5408\u3001\u805a\u5408")),(0,l.yg)("li",{parentName:"ol"},"\u5982\u679c\u8981\u62d3\u5c55\uff0c\u9996\u5148\u60f3\u5230\u662f\u805a\u5408\u6216\u7ec4\u5408\uff0c\u800c\u4e0d\u5e94\u8be5\u662f\u7ee7\u627f\uff0c\u7ee7\u627f\u592a\u91cd\u4e86\u3002")),(0,l.yg)("h3",{id:"\u5177\u4f53\u5206\u7c7b"},"\u5177\u4f53\u5206\u7c7b\uff1a"),(0,l.yg)("p",null,"\u521b\u5efa\u578b\u6a21\u5f0f\uff0c\u5171\u4e94\u79cd\uff1a\u5de5\u5382\u65b9\u6cd5\u6a21\u5f0f\u3001\u62bd\u8c61\u5de5\u5382\u6a21\u5f0f\u3001\u5355\u4f8b\u6a21\u5f0f\u3001\u5efa\u9020\u8005\u6a21\u5f0f\u3001\u539f\u578b\u6a21\u5f0f"),(0,l.yg)("p",null,"\u7ed3\u6784\u578b\u6a21\u5f0f\uff0c\u5171\u4e03\u79cd\uff1a\u9002\u914d\u5668\u6a21\u5f0f\u3001\u88c5\u9970\u8005\u6a21\u5f0f\u3001\u4ee3\u7406\u6a21\u5f0f\u3001\u5916\u89c2\u6a21\u5f0f\u3001\u6865\u63a5\u6a21\u5f0f\u3001\u7ec4\u5408\u6a21\u5f0f\u3001\u4eab\u5143\u6a21\u5f0f\u3002"),(0,l.yg)("p",null,"\u884c\u4e3a\u578b\u6a21\u5f0f\uff0c\u5171\u5341\u4e00\u79cd\uff1a\u7b56\u7565\u6a21\u5f0f\u3001\u6a21\u677f\u65b9\u6cd5\u6a21\u5f0f\u3001\u89c2\u5bdf\u8005\u6a21\u5f0f\u3001\u8fed\u4ee3\u5b50\u6a21\u5f0f\u3001\u8d23\u4efb\u94fe\u6a21\u5f0f\u3001\u547d\u4ee4\u6a21\u5f0f\u3001\u5907\u5fd8\u5f55\u6a21\u5f0f\u3001\u72b6\u6001\u6a21\u5f0f\u3001\u8bbf\u95ee\u8005\u6a21\u5f0f\u3001\u4e2d\u4ecb\u8005\u6a21\u5f0f\u3001\u89e3\u91ca\u5668\u6a21\u5f0f\u3002"),(0,l.yg)("p",null,"\u5176\u5b9e\u8fd8\u6709\u4e24\u7c7b\uff1a\u5e76\u53d1\u578b\u6a21\u5f0f\u548c\u7ebf\u7a0b\u6c60\u6a21\u5f0f\u3002"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/1974a5837040"},"\u804a\u4e00\u804a\u9762\u5411\u5bf9\u8c61\u7684\u4e09\u5927\u7279\u6027")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://blog.csdn.net/jason0539/article/details/44956775"},"23 \u79cd\u8bbe\u8ba1\u6a21\u5f0f\u6c47\u603b\u6574\u7406")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s?__biz=Mzg5MDczNDI0Nw==&mid=2247492497&idx=1&sn=31882a4693f0e09a419073b58ddf431e&chksm=cfdab059f8ad394f8fcafed1d96825a7393e491f4d287a0e0ab81e42e974ea87f3f54d973864&scene=21#wechat_redirect"},"\u4e24\u4e07\u5b57\u76d8\u70b9\u90a3\u4e9b\u88ab\u73a9\u70c2\u4e86\u7684\u8bbe\u8ba1\u6a21\u5f0f")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://refactoringguru.cn/design-patterns"},"\u56fe\u8bf4-\u8bbe\u8ba1\u6a21\u5f0f")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://design-patterns.readthedocs.io/zh_CN/latest/index.html"},"\u8bbe\u8ba1\u6a21\u5f0f\u4e4b\u7f8e"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/96162fed.3109821f.js b/assets/js/96162fed.8039dcc4.js similarity index 98% rename from assets/js/96162fed.3109821f.js rename to assets/js/96162fed.8039dcc4.js index 3047da6f4..46c5d2b8d 100644 --- a/assets/js/96162fed.3109821f.js +++ b/assets/js/96162fed.8039dcc4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3428],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=l(r),g=o,y=u["".concat(p,".").concat(g)]||u[g]||d[g]||a;return r?n.createElement(y,i(i({ref:t},s),{},{components:r})):n.createElement(y,i({ref:t},s))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=g;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i=void 0,c={unversionedId:"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6",id:"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6",title:"SpringCloud\u4e94\u5927\u7ec4\u4ef6",description:"image.png",source:"@site/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6.md",sourceDirName:"study/back/springcloud",slug:"/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6",permalink:"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",permalink:"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3"},next:{title:"nacos",permalink:"/docs/study/back/springcloud/nacos"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:4}],s={toc:l},u="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(u,(0,n.A)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(38997).A,width:"889",height:"503"})),(0,o.yg)("h4",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/mark5/p/16179178.html"},"\u6d45\u8c08SpringCloud\u4e94\u5927\u7ec4\u4ef6"))))}d.isMDXComponent=!0},38997:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/5components-cb44cfca12b5d98ff58cba209b617c07.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3428],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=l(r),g=o,y=u["".concat(p,".").concat(g)]||u[g]||d[g]||a;return r?n.createElement(y,i(i({ref:t},s),{},{components:r})):n.createElement(y,i({ref:t},s))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=g;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i=void 0,c={unversionedId:"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6",id:"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6",title:"SpringCloud\u4e94\u5927\u7ec4\u4ef6",description:"image.png",source:"@site/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6.md",sourceDirName:"study/back/springcloud",slug:"/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6",permalink:"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",permalink:"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3"},next:{title:"nacos",permalink:"/docs/study/back/springcloud/nacos"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:4}],s={toc:l},u="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(u,(0,n.A)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(38997).A,width:"889",height:"503"})),(0,o.yg)("h4",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/mark5/p/16179178.html"},"\u6d45\u8c08SpringCloud\u4e94\u5927\u7ec4\u4ef6"))))}d.isMDXComponent=!0},38997:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/5components-cb44cfca12b5d98ff58cba209b617c07.png"}}]); \ No newline at end of file diff --git a/assets/js/9703c56f.26863426.js b/assets/js/9703c56f.94722405.js similarity index 99% rename from assets/js/9703c56f.26863426.js rename to assets/js/9703c56f.94722405.js index 72f00321b..315932519 100644 --- a/assets/js/9703c56f.26863426.js +++ b/assets/js/9703c56f.94722405.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4680],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(r),b=a,d=u["".concat(i,".").concat(b)]||u[b]||y[b]||o;return r?n.createElement(d,l(l({ref:t},s),{},{components:r})):n.createElement(d,l({ref:t},s))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=b;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[u]="string"==typeof e?e:a,l[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,c={unversionedId:"study/fe/WebGL",id:"study/fe/WebGL",title:"WebGL",description:"\u6982\u8ff0",source:"@site/docs/study/fe/WebGL.md",sourceDirName:"study/fe",slug:"/study/fe/WebGL",permalink:"/docs/study/fe/WebGL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TypeScript\u8bed\u6cd5\u56fe",permalink:"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe"},next:{title:"mqtt.js",permalink:"/docs/study/fe/mqtt.js"}},i={},p=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3},{value:"webgl \u548c threejs \u533a\u522b",id:"webgl-\u548c-threejs-\u533a\u522b",level:3},{value:"\u5b66\u4e60\u3001\u4e2a\u4eba\u53d1\u5c55",id:"\u5b66\u4e60\u4e2a\u4eba\u53d1\u5c55",level:3}],s={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"WebGL\uff08\u5168\u5199 Web Graphics Library\uff09\u662f\u4e00\u79cd 3D \u7ed8\u56fe\u534f\u8bae\uff0c\u8fd9\u79cd\u7ed8\u56fe\u6280\u672f\u6807\u51c6\u5141\u8bb8\u628a JavaScript \u548c OpenGL ES 2.0 \u7ed3\u5408\u5728\u4e00\u8d77\uff0c\u901a\u8fc7\u589e\u52a0 OpenGL ES 2.0 \u7684\u4e00\u4e2a JavaScript \u7ed1\u5b9a\uff0cWebGL \u53ef\u4ee5\u4e3a HTML5 Canvas \u63d0\u4f9b\u786c\u4ef6 3D \u52a0\u901f\u6e32\u67d3\uff0c\u8fd9\u6837 Web \u5f00\u53d1\u4eba\u5458\u5c31\u53ef\u4ee5\u501f\u52a9\u7cfb\u7edf\u663e\u5361\u6765\u5728\u6d4f\u89c8\u5668\u91cc\u66f4\u6d41\u7545\u5730\u5c55\u793a 3D \u573a\u666f\u548c\u6a21\u578b\u4e86\uff0c\u8fd8\u80fd\u521b\u5efa\u590d\u6742\u7684\u5bfc\u822a\u548c\u6570\u636e\u89c6\u89c9\u5316\u3002\u663e\u7136\uff0cWebGL \u6280\u672f\u6807\u51c6\u514d\u53bb\u4e86\u5f00\u53d1\u7f51\u9875\u4e13\u7528\u6e32\u67d3\u63d2\u4ef6\u7684\u9ebb\u70e6\uff0c\u53ef\u88ab\u7528\u4e8e\u521b\u5efa\u5177\u6709\u590d\u6742 3D \u7ed3\u6784\u7684\u7f51\u7ad9\u9875\u9762\uff0c\u751a\u81f3\u53ef\u4ee5\u7528\u6765\u8bbe\u8ba1 3D \u7f51\u9875\u6e38\u620f\u7b49\u7b49\u3002"),(0,a.yg)("p",null,"WebGL1.0 \u57fa\u4e8e OpenGL ES 2.0\uff0c\u5e76\u63d0\u4f9b\u4e86 3D \u56fe\u5f62\u7684 API\u3002\u5b83\u4f7f\u7528 HTML5Canvas \u5e76\u5141\u8bb8\u5229\u7528\u6587\u6863\u5bf9\u8c61\u6a21\u578b\u63a5\u53e3\u3002WebGL 2.0 \u57fa\u4e8e OpenGL ES 3.0\uff0c\u786e\u4fdd\u4e86\u63d0\u4f9b\u8bb8\u591a\u9009\u62e9\u6027\u7684 WebGL 1.0 \u6269\u5c55\uff0c\u5e76\u5f15\u5165\u65b0\u7684 API\u3002\u53ef\u5229\u7528\u90e8\u5206 Javascript \u5b9e\u73b0\u81ea\u52a8\u5b58\u50a8\u5668\u7ba1\u7406\u3002"),(0,a.yg)("h3",{id:"webgl-\u548c-threejs-\u533a\u522b"},"webgl \u548c threejs \u533a\u522b"),(0,a.yg)("p",null,"WebGL \u548c Three.js \u90fd\u662f\u7528\u4e8e\u5728\u6d4f\u89c8\u5668\u4e2d\u8fdb\u884c 3D \u56fe\u5f62\u6e32\u67d3\u7684\u6280\u672f\uff0c\u4f46\u5b83\u4eec\u7684\u7528\u9014\u548c\u5b9e\u73b0\u65b9\u5f0f\u6709\u6240\u4e0d\u540c\u3002"),(0,a.yg)("p",null,"WebGL \u662f\u4e00\u4e2a JavaScript API\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5728\u4e0d\u4f9d\u8d56\u5916\u90e8\u63d2\u4ef6\u7684\u60c5\u51b5\u4e0b\uff0c\u5229\u7528\u6d4f\u89c8\u5668\u7684 GPU \u80fd\u529b\uff0c\u5b9e\u73b0\u5728\u7ebf\u4ea4\u4e92\u5f0f 2D \u548c 3D \u7f51\u9875\u6548\u679c\u3002WebGL \u7684\u5de5\u4f5c\u539f\u7406\u662f\u5728 GPU \u4e0a\u6267\u884c\u7740\u8272\u5668\u8bed\u8a00\uff08GLSL\uff09\uff0c\u8fd9\u662f\u4e00\u79cd\u5f3a\u7c7b\u578b\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u4e0e C/C++\u7c7b\u4f3c\u3002WebGL \u7684\u6838\u5fc3\u529f\u80fd\u5305\u62ec\u9876\u70b9\u548c\u7247\u5143\u7684\u7740\u8272\u5668\uff0c\u5206\u522b\u8d1f\u8d23\u8ba1\u7b97\u9876\u70b9\u548c\u50cf\u7d20\u7684\u989c\u8272\u503c\u3002\u5b83\u7684\u5de5\u4f5c\u6d41\u7a0b\u4e3b\u8981\u5305\u62ec\u5c06\u9876\u70b9\u4ece\u6a21\u578b\u7a7a\u95f4\u8f6c\u6362\u5230\u88c1\u526a\u7a7a\u95f4\uff0c\u7136\u540e\u57fa\u4e8e\u8fd9\u4e9b\u4fe1\u606f\u7ed8\u5236\u50cf\u7d20\u70b9\u3002"),(0,a.yg)("p",null,"Three.js \u5219\u662f\u4e00\u4e2a\u5f00\u6e90\u7684 JavaScript \u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u8bb8\u591a\u9884\u5236\u7684\u5bf9\u8c61\u548c\u51fd\u6570\uff0c\u4ee5\u7b80\u5316 3D \u5f00\u53d1\u7684\u590d\u6742\u6027\u3002Three.js \u5c01\u88c5\u4e86 WebGL \u7684\u529f\u80fd\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u65b9\u4fbf\u7684\u5de5\u5177\u548c\u65b9\u6cd5\uff0c\u5982\u6444\u50cf\u673a\u3001\u706f\u5149\u3001\u51e0\u4f55\u5f62\u72b6\u7b49\u3002\u5b83\u53ef\u4ee5\u5355\u72ec\u4f7f\u7528\u4e5f\u53ef\u4ee5\u4e0e\u5176\u4ed6\u5e93\u7ed3\u5408\u4f7f\u7528\u3002Three.js \u7684\u8bbe\u8ba1\u76ee\u7684\u662f\u8ba9\u5f00\u53d1\u8005\u80fd\u591f\u5feb\u901f\u5730\u6784\u5efa\u4e09\u7ef4\u573a\u666f\u548c\u5e94\u7528\uff0c\u800c\u65e0\u9700\u624b\u52a8\u7f16\u5199\u5927\u91cf\u7684 WebGL \u4ee3\u7801\u3002"),(0,a.yg)("p",null,"\u603b\u7ed3\u6765\u8bf4\uff0cWebGL \u662f\u6d4f\u89c8\u5668\u5185\u7f6e\u7684\u6807\u51c6 API\uff0c\u4e3b\u8981\u7528\u4e8e\u5b9e\u73b0 3D \u56fe\u5f62\u7684\u57fa\u672c\u64cd\u4f5c\uff1b\u800c Three.js \u662f\u4e00\u4e2a\u66f4\u9ad8\u7ea7\u522b\u7684\u5e93\uff0c\u5b83\u5305\u542b\u4e86 WebGL \u7684\u529f\u80fd\u548c\u4e00\u4e9b\u989d\u5916\u7684\u5de5\u5177\u548c\u7b97\u6cd5\uff0c\u65e8\u5728\u7b80\u5316 3D \u5f00\u53d1\u7684\u4efb\u52a1\u3002"),(0,a.yg)("h3",{id:"\u5b66\u4e60\u4e2a\u4eba\u53d1\u5c55"},"\u5b66\u4e60\u3001\u4e2a\u4eba\u53d1\u5c55"),(0,a.yg)("p",null,"\u5b66\u4e60\u4ed6\u9700\u8981\u8ba1\u7b97\u673a\u56fe\u5f62\u5b66\u77e5\u8bc6\u3001\u624e\u5b9e\u7684\u6570\u5b66\u529f\u5e95\u3001\u4e30\u5bcc\u7684\u7a7a\u95f4\u60f3\u8c61\u529b\u3002\u4f60\u9700\u8981\u9762\u5bf9\u5f88\u591a\u95ee\u9898\uff0c\u6bd4\u5982\u4e2d\u6587\u6587\u6863\u4e0d\u4e30\u5bcc\u3001\u4f4e\u5c01\u88c5\u5ea6\u7684\u5f15\u64ce\u548c\u6846\u67b6\u3001\u5168\u65b0\u7684\u4e0a\u4e0b\u6e38\u5de5\u5177\u94fe\u3001\u96be\u4ee5\u7406\u89e3\u7684\u6570\u5b66\u3001\u53e4\u602a\u548c\u96be\u4ee5\u8c03\u8bd5\u7684 gl \u8bed\u8a00\u3001\u5947\u5947\u602a\u602a\u4e13\u4e1a\u6587\u4ef6\u683c\u5f0f\u3001\u5404\u79cd\u5404\u6837\u7684\u4e13\u4e1a\u9886\u57df\u77e5\u8bc6\uff0c\u7b49\u7b49\u7b49\u7b49\u2026\u2026"),(0,a.yg)("p",null,"\u9664\u4e86\u53ef\u4ee5\u4f7f\u7528 js \u7f16\u7a0b\u4ee5\u5916\uff0c\u8ddf\u4f20\u7edf\u7684 web \u524d\u7aef\u5f00\u53d1\u51e0\u4e4e\u6beb\u65e0\u5173\u7cfb\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4680],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(r),b=a,d=u["".concat(i,".").concat(b)]||u[b]||y[b]||o;return r?n.createElement(d,l(l({ref:t},s),{},{components:r})):n.createElement(d,l({ref:t},s))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=b;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[u]="string"==typeof e?e:a,l[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,c={unversionedId:"study/fe/WebGL",id:"study/fe/WebGL",title:"WebGL",description:"\u6982\u8ff0",source:"@site/docs/study/fe/WebGL.md",sourceDirName:"study/fe",slug:"/study/fe/WebGL",permalink:"/docs/study/fe/WebGL",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TypeScript\u8bed\u6cd5\u56fe",permalink:"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe"},next:{title:"mqtt.js",permalink:"/docs/study/fe/mqtt.js"}},i={},p=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3},{value:"webgl \u548c threejs \u533a\u522b",id:"webgl-\u548c-threejs-\u533a\u522b",level:3},{value:"\u5b66\u4e60\u3001\u4e2a\u4eba\u53d1\u5c55",id:"\u5b66\u4e60\u4e2a\u4eba\u53d1\u5c55",level:3}],s={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"WebGL\uff08\u5168\u5199 Web Graphics Library\uff09\u662f\u4e00\u79cd 3D \u7ed8\u56fe\u534f\u8bae\uff0c\u8fd9\u79cd\u7ed8\u56fe\u6280\u672f\u6807\u51c6\u5141\u8bb8\u628a JavaScript \u548c OpenGL ES 2.0 \u7ed3\u5408\u5728\u4e00\u8d77\uff0c\u901a\u8fc7\u589e\u52a0 OpenGL ES 2.0 \u7684\u4e00\u4e2a JavaScript \u7ed1\u5b9a\uff0cWebGL \u53ef\u4ee5\u4e3a HTML5 Canvas \u63d0\u4f9b\u786c\u4ef6 3D \u52a0\u901f\u6e32\u67d3\uff0c\u8fd9\u6837 Web \u5f00\u53d1\u4eba\u5458\u5c31\u53ef\u4ee5\u501f\u52a9\u7cfb\u7edf\u663e\u5361\u6765\u5728\u6d4f\u89c8\u5668\u91cc\u66f4\u6d41\u7545\u5730\u5c55\u793a 3D \u573a\u666f\u548c\u6a21\u578b\u4e86\uff0c\u8fd8\u80fd\u521b\u5efa\u590d\u6742\u7684\u5bfc\u822a\u548c\u6570\u636e\u89c6\u89c9\u5316\u3002\u663e\u7136\uff0cWebGL \u6280\u672f\u6807\u51c6\u514d\u53bb\u4e86\u5f00\u53d1\u7f51\u9875\u4e13\u7528\u6e32\u67d3\u63d2\u4ef6\u7684\u9ebb\u70e6\uff0c\u53ef\u88ab\u7528\u4e8e\u521b\u5efa\u5177\u6709\u590d\u6742 3D \u7ed3\u6784\u7684\u7f51\u7ad9\u9875\u9762\uff0c\u751a\u81f3\u53ef\u4ee5\u7528\u6765\u8bbe\u8ba1 3D \u7f51\u9875\u6e38\u620f\u7b49\u7b49\u3002"),(0,a.yg)("p",null,"WebGL1.0 \u57fa\u4e8e OpenGL ES 2.0\uff0c\u5e76\u63d0\u4f9b\u4e86 3D \u56fe\u5f62\u7684 API\u3002\u5b83\u4f7f\u7528 HTML5Canvas \u5e76\u5141\u8bb8\u5229\u7528\u6587\u6863\u5bf9\u8c61\u6a21\u578b\u63a5\u53e3\u3002WebGL 2.0 \u57fa\u4e8e OpenGL ES 3.0\uff0c\u786e\u4fdd\u4e86\u63d0\u4f9b\u8bb8\u591a\u9009\u62e9\u6027\u7684 WebGL 1.0 \u6269\u5c55\uff0c\u5e76\u5f15\u5165\u65b0\u7684 API\u3002\u53ef\u5229\u7528\u90e8\u5206 Javascript \u5b9e\u73b0\u81ea\u52a8\u5b58\u50a8\u5668\u7ba1\u7406\u3002"),(0,a.yg)("h3",{id:"webgl-\u548c-threejs-\u533a\u522b"},"webgl \u548c threejs \u533a\u522b"),(0,a.yg)("p",null,"WebGL \u548c Three.js \u90fd\u662f\u7528\u4e8e\u5728\u6d4f\u89c8\u5668\u4e2d\u8fdb\u884c 3D \u56fe\u5f62\u6e32\u67d3\u7684\u6280\u672f\uff0c\u4f46\u5b83\u4eec\u7684\u7528\u9014\u548c\u5b9e\u73b0\u65b9\u5f0f\u6709\u6240\u4e0d\u540c\u3002"),(0,a.yg)("p",null,"WebGL \u662f\u4e00\u4e2a JavaScript API\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5728\u4e0d\u4f9d\u8d56\u5916\u90e8\u63d2\u4ef6\u7684\u60c5\u51b5\u4e0b\uff0c\u5229\u7528\u6d4f\u89c8\u5668\u7684 GPU \u80fd\u529b\uff0c\u5b9e\u73b0\u5728\u7ebf\u4ea4\u4e92\u5f0f 2D \u548c 3D \u7f51\u9875\u6548\u679c\u3002WebGL \u7684\u5de5\u4f5c\u539f\u7406\u662f\u5728 GPU \u4e0a\u6267\u884c\u7740\u8272\u5668\u8bed\u8a00\uff08GLSL\uff09\uff0c\u8fd9\u662f\u4e00\u79cd\u5f3a\u7c7b\u578b\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u4e0e C/C++\u7c7b\u4f3c\u3002WebGL \u7684\u6838\u5fc3\u529f\u80fd\u5305\u62ec\u9876\u70b9\u548c\u7247\u5143\u7684\u7740\u8272\u5668\uff0c\u5206\u522b\u8d1f\u8d23\u8ba1\u7b97\u9876\u70b9\u548c\u50cf\u7d20\u7684\u989c\u8272\u503c\u3002\u5b83\u7684\u5de5\u4f5c\u6d41\u7a0b\u4e3b\u8981\u5305\u62ec\u5c06\u9876\u70b9\u4ece\u6a21\u578b\u7a7a\u95f4\u8f6c\u6362\u5230\u88c1\u526a\u7a7a\u95f4\uff0c\u7136\u540e\u57fa\u4e8e\u8fd9\u4e9b\u4fe1\u606f\u7ed8\u5236\u50cf\u7d20\u70b9\u3002"),(0,a.yg)("p",null,"Three.js \u5219\u662f\u4e00\u4e2a\u5f00\u6e90\u7684 JavaScript \u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u8bb8\u591a\u9884\u5236\u7684\u5bf9\u8c61\u548c\u51fd\u6570\uff0c\u4ee5\u7b80\u5316 3D \u5f00\u53d1\u7684\u590d\u6742\u6027\u3002Three.js \u5c01\u88c5\u4e86 WebGL \u7684\u529f\u80fd\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u65b9\u4fbf\u7684\u5de5\u5177\u548c\u65b9\u6cd5\uff0c\u5982\u6444\u50cf\u673a\u3001\u706f\u5149\u3001\u51e0\u4f55\u5f62\u72b6\u7b49\u3002\u5b83\u53ef\u4ee5\u5355\u72ec\u4f7f\u7528\u4e5f\u53ef\u4ee5\u4e0e\u5176\u4ed6\u5e93\u7ed3\u5408\u4f7f\u7528\u3002Three.js \u7684\u8bbe\u8ba1\u76ee\u7684\u662f\u8ba9\u5f00\u53d1\u8005\u80fd\u591f\u5feb\u901f\u5730\u6784\u5efa\u4e09\u7ef4\u573a\u666f\u548c\u5e94\u7528\uff0c\u800c\u65e0\u9700\u624b\u52a8\u7f16\u5199\u5927\u91cf\u7684 WebGL \u4ee3\u7801\u3002"),(0,a.yg)("p",null,"\u603b\u7ed3\u6765\u8bf4\uff0cWebGL \u662f\u6d4f\u89c8\u5668\u5185\u7f6e\u7684\u6807\u51c6 API\uff0c\u4e3b\u8981\u7528\u4e8e\u5b9e\u73b0 3D \u56fe\u5f62\u7684\u57fa\u672c\u64cd\u4f5c\uff1b\u800c Three.js \u662f\u4e00\u4e2a\u66f4\u9ad8\u7ea7\u522b\u7684\u5e93\uff0c\u5b83\u5305\u542b\u4e86 WebGL \u7684\u529f\u80fd\u548c\u4e00\u4e9b\u989d\u5916\u7684\u5de5\u5177\u548c\u7b97\u6cd5\uff0c\u65e8\u5728\u7b80\u5316 3D \u5f00\u53d1\u7684\u4efb\u52a1\u3002"),(0,a.yg)("h3",{id:"\u5b66\u4e60\u4e2a\u4eba\u53d1\u5c55"},"\u5b66\u4e60\u3001\u4e2a\u4eba\u53d1\u5c55"),(0,a.yg)("p",null,"\u5b66\u4e60\u4ed6\u9700\u8981\u8ba1\u7b97\u673a\u56fe\u5f62\u5b66\u77e5\u8bc6\u3001\u624e\u5b9e\u7684\u6570\u5b66\u529f\u5e95\u3001\u4e30\u5bcc\u7684\u7a7a\u95f4\u60f3\u8c61\u529b\u3002\u4f60\u9700\u8981\u9762\u5bf9\u5f88\u591a\u95ee\u9898\uff0c\u6bd4\u5982\u4e2d\u6587\u6587\u6863\u4e0d\u4e30\u5bcc\u3001\u4f4e\u5c01\u88c5\u5ea6\u7684\u5f15\u64ce\u548c\u6846\u67b6\u3001\u5168\u65b0\u7684\u4e0a\u4e0b\u6e38\u5de5\u5177\u94fe\u3001\u96be\u4ee5\u7406\u89e3\u7684\u6570\u5b66\u3001\u53e4\u602a\u548c\u96be\u4ee5\u8c03\u8bd5\u7684 gl \u8bed\u8a00\u3001\u5947\u5947\u602a\u602a\u4e13\u4e1a\u6587\u4ef6\u683c\u5f0f\u3001\u5404\u79cd\u5404\u6837\u7684\u4e13\u4e1a\u9886\u57df\u77e5\u8bc6\uff0c\u7b49\u7b49\u7b49\u7b49\u2026\u2026"),(0,a.yg)("p",null,"\u9664\u4e86\u53ef\u4ee5\u4f7f\u7528 js \u7f16\u7a0b\u4ee5\u5916\uff0c\u8ddf\u4f20\u7edf\u7684 web \u524d\u7aef\u5f00\u53d1\u51e0\u4e4e\u6beb\u65e0\u5173\u7cfb\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/970d441f.511026a6.js b/assets/js/970d441f.7d22a867.js similarity index 98% rename from assets/js/970d441f.511026a6.js rename to assets/js/970d441f.7d22a867.js index beffea3c6..e87bf2fec 100644 --- a/assets/js/970d441f.511026a6.js +++ b/assets/js/970d441f.7d22a867.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1858],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=p(r),y=a,f=d["".concat(l,".").concat(y)]||d[y]||s[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[d]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/Keepalived",id:"study/back/Keepalived",title:"Keepalived",description:"\u6982\u8ff0",source:"@site/docs/study/back/Keepalived.md",sourceDirName:"study/back",slug:"/study/back/Keepalived",permalink:"/docs/study/back/Keepalived",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Undertow\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316"},next:{title:"POST\u7f16\u7801\u683c\u5f0f",permalink:"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f"}},l={},p=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3}],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u5b9a\u4e49\u4e0e\u529f\u80fd\uff1aKeepalived \u662f\u4e00\u4e2a\u57fa\u4e8e VRRP\uff08Virtual Router Redundancy Protocol\uff0c\u865a\u62df\u8def\u7531\u5668\u5197\u4f59\u534f\u8bae\uff09\u5b9e\u73b0\u7684\u9ad8\u53ef\u7528\u89e3\u51b3\u65b9\u6848\u3002\u5b83\u7684\u4e3b\u8981\u529f\u80fd\u662f\u901a\u8fc7\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e4b\u95f4\u5171\u4eab\u4e00\u4e2a\u865a\u62df IP \u5730\u5740\uff0c\u6765\u63d0\u4f9b\u670d\u52a1\u5668\u7684\u6545\u969c\u8f6c\u79fb\u548c\u9ad8\u53ef\u7528\u6027\u3002\u5f53\u4e3b\u670d\u52a1\u5668\u51fa\u73b0\u6545\u969c\u65f6\uff0c\u5907\u4efd\u670d\u52a1\u5668\u53ef\u4ee5\u5feb\u901f\u63a5\u7ba1\u865a\u62df IP \u5730\u5740\u4ee5\u53ca\u5bf9\u5e94\u7684\u670d\u52a1\uff0c\u5bf9\u7528\u6237\u6765\u8bf4\uff0c\u51e0\u4e4e\u611f\u89c9\u4e0d\u5230\u670d\u52a1\u7684\u4e2d\u65ad\u3002\u4f8b\u5982\uff0c\u5728\u4e00\u4e2a Web \u670d\u52a1\u5668\u96c6\u7fa4\u4e2d\uff0c\u4f7f\u7528 Keepalived \u53ef\u4ee5\u786e\u4fdd\u7528\u6237\u59cb\u7ec8\u80fd\u591f\u8bbf\u95ee\u7f51\u7ad9\uff0c\u5373\u4f7f\u5176\u4e2d\u4e00\u53f0\u670d\u52a1\u5668\u51fa\u73b0\u6545\u969c\u3002"),(0,a.yg)("p",null,"\u5e94\u7528\u573a\u666f\uff1a\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u9700\u8981\u9ad8\u53ef\u7528\u6027\u7684\u7f51\u7edc\u670d\u52a1\u573a\u666f\uff0c\u5982 Web \u670d\u52a1\u5668\uff08\u5982 Apache\u3001Nginx\uff09\u3001\u6570\u636e\u5e93\u670d\u52a1\u5668\uff08\u5982 MySQL\uff09\u7b49\u3002\u5728\u8d1f\u8f7d\u5747\u8861\u96c6\u7fa4\uff08\u5982 LVS\uff09\u4e2d\uff0cKeepalived \u4e5f\u5e38\u88ab\u7528\u4e8e\u63d0\u4f9b\u8d1f\u8f7d\u5747\u8861\u5668\u7684\u9ad8\u53ef\u7528\u6027\u3002\u6bd4\u5982\uff0c\u5728\u4e00\u4e2a\u7535\u5546\u7f51\u7ad9\u7684\u67b6\u6784\u4e2d\uff0c\u4e3a\u4e86\u4fdd\u8bc1\u7528\u6237\u80fd\u591f\u6301\u7eed\u5730\u8bbf\u95ee\u5546\u54c1\u4fe1\u606f\u548c\u8fdb\u884c\u4ea4\u6613\uff0c\u524d\u7aef\u7684 Web \u670d\u52a1\u5668\u548c\u8d1f\u8f7d\u5747\u8861\u5668\u901a\u5e38\u4f1a\u4f7f\u7528 Keepalived \u6765\u9632\u6b62\u5355\u70b9\u6545\u969c\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1858],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=p(r),y=a,f=d["".concat(l,".").concat(y)]||d[y]||s[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[d]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/Keepalived",id:"study/back/Keepalived",title:"Keepalived",description:"\u6982\u8ff0",source:"@site/docs/study/back/Keepalived.md",sourceDirName:"study/back",slug:"/study/back/Keepalived",permalink:"/docs/study/back/Keepalived",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Undertow\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316"},next:{title:"POST\u7f16\u7801\u683c\u5f0f",permalink:"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f"}},l={},p=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3}],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u5b9a\u4e49\u4e0e\u529f\u80fd\uff1aKeepalived \u662f\u4e00\u4e2a\u57fa\u4e8e VRRP\uff08Virtual Router Redundancy Protocol\uff0c\u865a\u62df\u8def\u7531\u5668\u5197\u4f59\u534f\u8bae\uff09\u5b9e\u73b0\u7684\u9ad8\u53ef\u7528\u89e3\u51b3\u65b9\u6848\u3002\u5b83\u7684\u4e3b\u8981\u529f\u80fd\u662f\u901a\u8fc7\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e4b\u95f4\u5171\u4eab\u4e00\u4e2a\u865a\u62df IP \u5730\u5740\uff0c\u6765\u63d0\u4f9b\u670d\u52a1\u5668\u7684\u6545\u969c\u8f6c\u79fb\u548c\u9ad8\u53ef\u7528\u6027\u3002\u5f53\u4e3b\u670d\u52a1\u5668\u51fa\u73b0\u6545\u969c\u65f6\uff0c\u5907\u4efd\u670d\u52a1\u5668\u53ef\u4ee5\u5feb\u901f\u63a5\u7ba1\u865a\u62df IP \u5730\u5740\u4ee5\u53ca\u5bf9\u5e94\u7684\u670d\u52a1\uff0c\u5bf9\u7528\u6237\u6765\u8bf4\uff0c\u51e0\u4e4e\u611f\u89c9\u4e0d\u5230\u670d\u52a1\u7684\u4e2d\u65ad\u3002\u4f8b\u5982\uff0c\u5728\u4e00\u4e2a Web \u670d\u52a1\u5668\u96c6\u7fa4\u4e2d\uff0c\u4f7f\u7528 Keepalived \u53ef\u4ee5\u786e\u4fdd\u7528\u6237\u59cb\u7ec8\u80fd\u591f\u8bbf\u95ee\u7f51\u7ad9\uff0c\u5373\u4f7f\u5176\u4e2d\u4e00\u53f0\u670d\u52a1\u5668\u51fa\u73b0\u6545\u969c\u3002"),(0,a.yg)("p",null,"\u5e94\u7528\u573a\u666f\uff1a\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u9700\u8981\u9ad8\u53ef\u7528\u6027\u7684\u7f51\u7edc\u670d\u52a1\u573a\u666f\uff0c\u5982 Web \u670d\u52a1\u5668\uff08\u5982 Apache\u3001Nginx\uff09\u3001\u6570\u636e\u5e93\u670d\u52a1\u5668\uff08\u5982 MySQL\uff09\u7b49\u3002\u5728\u8d1f\u8f7d\u5747\u8861\u96c6\u7fa4\uff08\u5982 LVS\uff09\u4e2d\uff0cKeepalived \u4e5f\u5e38\u88ab\u7528\u4e8e\u63d0\u4f9b\u8d1f\u8f7d\u5747\u8861\u5668\u7684\u9ad8\u53ef\u7528\u6027\u3002\u6bd4\u5982\uff0c\u5728\u4e00\u4e2a\u7535\u5546\u7f51\u7ad9\u7684\u67b6\u6784\u4e2d\uff0c\u4e3a\u4e86\u4fdd\u8bc1\u7528\u6237\u80fd\u591f\u6301\u7eed\u5730\u8bbf\u95ee\u5546\u54c1\u4fe1\u606f\u548c\u8fdb\u884c\u4ea4\u6613\uff0c\u524d\u7aef\u7684 Web \u670d\u52a1\u5668\u548c\u8d1f\u8f7d\u5747\u8861\u5668\u901a\u5e38\u4f1a\u4f7f\u7528 Keepalived \u6765\u9632\u6b62\u5355\u70b9\u6545\u969c\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/97b42080.d5a2e9a8.js b/assets/js/97b42080.89b804a9.js similarity index 99% rename from assets/js/97b42080.d5a2e9a8.js rename to assets/js/97b42080.89b804a9.js index 3a86f910d..369e8deee 100644 --- a/assets/js/97b42080.d5a2e9a8.js +++ b/assets/js/97b42080.89b804a9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8351],{15680:(t,e,n)=>{n.d(e,{xA:()=>s,yg:()=>y});var r=n(96540);function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e=0||(p[n]=t[n]);return p}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(p[n]=t[n])}return p}var o=r.createContext({}),i=function(t){var e=r.useContext(o),n=e;return t&&(n="function"==typeof t?t(e):c(c({},e),t)),n},s=function(t){var e=i(t.components);return r.createElement(o.Provider,{value:e},t.children)},l="mdxType",d={inlineCode:"code",wrapper:function(t){var e=t.children;return r.createElement(r.Fragment,{},e)}},m=r.forwardRef((function(t,e){var n=t.components,p=t.mdxType,a=t.originalType,o=t.parentName,s=u(t,["components","mdxType","originalType","parentName"]),l=i(n),m=p,y=l["".concat(o,".").concat(m)]||l[m]||d[m]||a;return n?r.createElement(y,c(c({ref:e},s),{},{components:n})):r.createElement(y,c({ref:e},s))}));function y(t,e){var n=arguments,p=e&&e.mdxType;if("string"==typeof t||p){var a=n.length,c=new Array(a);c[0]=m;var u={};for(var o in e)hasOwnProperty.call(e,o)&&(u[o]=e[o]);u.originalType=t,u[l]="string"==typeof t?t:p,c[1]=u;for(var i=2;i{n.r(e),n.d(e,{assets:()=>o,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>u,toc:()=>i});var r=n(58168),p=(n(96540),n(15680));const a={},c=void 0,u={unversionedId:"study/net/\u6293\u5305\u5de5\u5177",id:"study/net/\u6293\u5305\u5de5\u5177",title:"\u6293\u5305\u5de5\u5177",description:"tcpdump",source:"@site/docs/study/net/\u6293\u5305\u5de5\u5177.md",sourceDirName:"study/net",slug:"/study/net/\u6293\u5305\u5de5\u5177",permalink:"/docs/study/net/\u6293\u5305\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5f02\u5730\u7ec4\u7f51",permalink:"/docs/study/net/\u5f02\u5730\u7ec4\u7f51"},next:{title:"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",permalink:"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177"}},o={},i=[{value:"tcpdump",id:"tcpdump",level:3},{value:"netstat",id:"netstat",level:3}],s={toc:i},l="wrapper";function d(t){let{components:e,...n}=t;return(0,p.yg)(l,(0,r.A)({},s,n,{components:e,mdxType:"MDXLayout"}),(0,p.yg)("h3",{id:"tcpdump"},"tcpdump"),(0,p.yg)("p",null,"tcpdump \u662f\u4e00\u4e2a\u5f88\u5e38\u7528\u7684\u7f51\u7edc\u5305\u5206\u6790\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u663e\u793a\u901a\u8fc7\u7f51\u7edc\u4f20\u8f93\u5230\u672c\u7cfb\u7edf\u7684 TCP/IP \u4ee5\u53ca\u5176\u4ed6\u7f51\u7edc\u7684\u6570\u636e\u5305\u3002tcpdump \u4f7f\u7528 libpcap \u5e93\u6765\u6293\u53d6\u7f51\u7edc\u62a5\uff0c\u8fd9\u4e2a\u5e93\u5728\u51e0\u4e4e\u5728\u6240\u6709\u7684 Linux/Unix \u4e2d\u90fd\u6709\u3002"),(0,p.yg)("pre",null,(0,p.yg)("code",{parentName:"pre",className:"language-shell"},"tcpdump -i eth0 #\u6355\u83b7\u6307\u5b9a\u63a5\u53e3(\u7f51\u5361)\u7684\u6570\u636e\u5305 \u53ef\u901a\u8fc7 netstat -i\u67e5\u770b\u7f51\u5361\u8bbe\u5907\ntcpdump -i eth0 -c 3 #\u6355\u83b7\u6307\u5b9a\u4e2a\u6570\u7684\u6570\u636e\u5305\uff083\u4e2a\u6570\u636e\u5305\uff09\ntcpdump -A -i eth0 #\u7528ASCII\u7801\u683c\u5f0f\u8f93\u51fa\u6355\u83b7\u7684\u6570\u636e\u5305\ntcpdump -D #\u663e\u793a\u53ef\u7528\u7684\u7cfb\u7edf\u63a5\u53e3\ntcpdump -XX -i eth0 #\u7528\u5341\u516d\u8fdb\u5236\u548cASCII\u7801\u683c\u5f0f\u663e\u793a\u6355\u83b7\u7684\u6570\u636e\u5305\ntcpdump -w tempDump.pcap -i eth0 #\u628a\u6355\u83b7\u7684\u6570\u636e\u5305\u5199\u5165\u5230\u4e00\u4e2a.pcap\u540e\u7f00\u7684\u6587\u4ef6\u4e2d\ntcpdump -r tempDump.pcap #\u8bfb\u53d6\u6355\u83b7\u6570\u636e\u5305\u6587\u4ef6\u7684\u5185\u5bb9\ntcpdump -n -i eth0 # \u5355\u4e2a n \u8868\u793a\u4e0d\u89e3\u6790\u57df\u540d\uff0c\u76f4\u63a5\u663e\u793a IP\ntcpdump -i eth0 tcp #\u6355\u83b7TCP\u7c7b\u578b\u7684\u6570\u636e\u5305\ntcpdump -i eth0 port 22 #\u6355\u83b7\u6307\u5b9a\u7aef\u53e3\uff08\u8fd9\u91cc\u662f22\uff09\u7684\u6570\u636e\u5305\ntcpdump -i eth0 src \u6e90ip\u5730\u5740 #\u6355\u83b7\u8bf7\u6c42\u6e90\u662f 192.169.12.101 \u7684\u6570\u636e\u5305\ntcpdump -i eth0 dst \u76ee\u6807ip\u5730\u5740 #\u6355\u83b7\u6307\u5b9a\u76ee\u7684IP\u7684\u6570\u636e\u5305\ntcpdump -i eth6 dst host \u76ee\u6807ip\u5730\u5740 and port 8800 -w data.pcap #\u6293\u53d6\u6307\u5b9a\u7f51\u5361\uff0c\u6307\u5b9aIP\u548c\u7aef\u53e3\u7684\u6570\u636e\u5305 \u5e76\u5199\u5165\u5230data.pcap\u6587\u4ef6\u4e2d\ntcpdump host 192.168.12.101 and 192.168.1.201 -w out & #\u540e\u53f0\u6293\u53d6\u4e24\u4e3b\u673a\u4e4b\u95f4\u7684\u6570\u636e\ntcpdump -nn #\u5355\u4e2a n \u8868\u793a\u4e0d\u89e3\u6790\u57df\u540d\uff0c\u76f4\u63a5\u663e\u793a IP\uff1b\u4e24\u4e2a n \u8868\u793a\u4e0d\u89e3\u6790\u57df\u540d\u548c\u7aef\u53e3\u3002\u8fd9\u6837\u4e0d\u4ec5\u65b9\u4fbf\u67e5\u770b IP \u548c\u7aef\u53e3\u53f7\uff0c\u800c\u4e14\u5728\u6293\u53d6\u5927\u91cf\u6570\u636e\u65f6\u975e\u5e38\u9ad8\u6548\uff0c\u56e0\u4e3a\u57df\u540d\u89e3\u6790\u4f1a\u964d\u4f4e\u6293\u53d6\u901f\u5ea6\n")),(0,p.yg)("ul",null,(0,p.yg)("li",{parentName:"ul"},(0,p.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/611443192"},"\u77e5\u4e4e\uff1atcpdump \u8be6\u89e3&\u5b9e\u6218"))),(0,p.yg)("h3",{id:"netstat"},"netstat"),(0,p.yg)("p",null,"netstat \u662f\u4e00\u4e2a\u76d1\u63a7 TCP/IP \u7f51\u7edc\u7684\u975e\u5e38\u6709\u7528\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u663e\u793a\u8def\u7531\u8868\u3001\u7f51\u7edc\u8fde\u63a5\u4ee5\u53ca\u6bcf\u4e00\u4e2a\u7f51\u7edc\u63a5\u53e3\u8bbe\u5907\u7684\u72b6\u6001\u4fe1\u606f\u3002netstat \u7528\u4e8e\u663e\u793a\u4e0e IP\u3001TCP\u3001UDP \u548c ICMP \u534f\u8bae\u76f8\u5173\u7684\u7edf\u8ba1\u6570\u636e\uff0c\u4e00\u822c\u7528\u4e8e\u68c0\u9a8c\u672c\u673a\u5404\u7aef\u53e3\u7684\u7f51\u7edc\u8fde\u63a5\u60c5\u51b5\u3002"),(0,p.yg)("pre",null,(0,p.yg)("code",{parentName:"pre",className:"language-shell"},"netstat -at #\u67e5\u770b\u5f53\u524d\u5df2\u7ecf\u5efa\u7acb\u7684tcp\u8fde\u63a5\nnetstat -au #\u5217\u51fa\u6240\u6709 udp \u7aef\u53e3\nnetstat -lt #\u53ea\u5217\u51fa\u6240\u6709\u76d1\u542c\u4e2d\u7684 tcp\u7c7b\u578b\u7684 \u7aef\u53e3\nnetstat -lu #\u53ea\u5217\u51fa\u6240\u6709\u76d1\u542c\u4e2d\u7684 udp\u7c7b\u578b\u7684\u7aef\u53e3\nnetstat -antp #\u67e5\u770b\u6240\u6709\u5df2\u7ecf\u5efa\u7acb\u7684tcp\u8fde\u63a5\uff0c\u5e76\u4e14\u57df\u540d\u4ee5\u6570\u5b57\u5f62\u5f0f\u663e\u793a\nnetstat -tupl #\u67e5\u770b\u6240\u6709\u76d1\u542c\u7684tcp\u548cudp\u53ca\u8fdb\u7a0b\u540d\u4fe1\u606f\uff08udp\u4e0d\u80fd\u76d1\u542c\uff0c\u4f46\u53ef\u4ee5\u67e5\u770b\u662f\u5426\u5728\u5360\u7528\uff09\nnetstat -s #\u663e\u793a\u6240\u6709\u7aef\u53e3\u7684\u7edf\u8ba1\u4fe1\u606f\nnetstat -st \u6216 -su #\u663e\u793a TCP \u6216 UDP \u7aef\u53e3\u7684\u7edf\u8ba1\u4fe1\u606f\nnetstat -i #\u67e5\u770b\u7f51\u5361\u63a5\u53e3\u4fe1\u606f\nnetstat -tulnp |grep nginx #\u67e5\u770bnginx\u670d\u52a1\u7684\u7f51\u7edc\u4fe1\u606f\n")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8351],{15680:(t,e,n)=>{n.d(e,{xA:()=>s,yg:()=>y});var r=n(96540);function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e=0||(p[n]=t[n]);return p}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(p[n]=t[n])}return p}var o=r.createContext({}),i=function(t){var e=r.useContext(o),n=e;return t&&(n="function"==typeof t?t(e):c(c({},e),t)),n},s=function(t){var e=i(t.components);return r.createElement(o.Provider,{value:e},t.children)},l="mdxType",d={inlineCode:"code",wrapper:function(t){var e=t.children;return r.createElement(r.Fragment,{},e)}},m=r.forwardRef((function(t,e){var n=t.components,p=t.mdxType,a=t.originalType,o=t.parentName,s=u(t,["components","mdxType","originalType","parentName"]),l=i(n),m=p,y=l["".concat(o,".").concat(m)]||l[m]||d[m]||a;return n?r.createElement(y,c(c({ref:e},s),{},{components:n})):r.createElement(y,c({ref:e},s))}));function y(t,e){var n=arguments,p=e&&e.mdxType;if("string"==typeof t||p){var a=n.length,c=new Array(a);c[0]=m;var u={};for(var o in e)hasOwnProperty.call(e,o)&&(u[o]=e[o]);u.originalType=t,u[l]="string"==typeof t?t:p,c[1]=u;for(var i=2;i{n.r(e),n.d(e,{assets:()=>o,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>u,toc:()=>i});var r=n(58168),p=(n(96540),n(15680));const a={},c=void 0,u={unversionedId:"study/net/\u6293\u5305\u5de5\u5177",id:"study/net/\u6293\u5305\u5de5\u5177",title:"\u6293\u5305\u5de5\u5177",description:"tcpdump",source:"@site/docs/study/net/\u6293\u5305\u5de5\u5177.md",sourceDirName:"study/net",slug:"/study/net/\u6293\u5305\u5de5\u5177",permalink:"/docs/study/net/\u6293\u5305\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5f02\u5730\u7ec4\u7f51",permalink:"/docs/study/net/\u5f02\u5730\u7ec4\u7f51"},next:{title:"\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177",permalink:"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177"}},o={},i=[{value:"tcpdump",id:"tcpdump",level:3},{value:"netstat",id:"netstat",level:3}],s={toc:i},l="wrapper";function d(t){let{components:e,...n}=t;return(0,p.yg)(l,(0,r.A)({},s,n,{components:e,mdxType:"MDXLayout"}),(0,p.yg)("h3",{id:"tcpdump"},"tcpdump"),(0,p.yg)("p",null,"tcpdump \u662f\u4e00\u4e2a\u5f88\u5e38\u7528\u7684\u7f51\u7edc\u5305\u5206\u6790\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u663e\u793a\u901a\u8fc7\u7f51\u7edc\u4f20\u8f93\u5230\u672c\u7cfb\u7edf\u7684 TCP/IP \u4ee5\u53ca\u5176\u4ed6\u7f51\u7edc\u7684\u6570\u636e\u5305\u3002tcpdump \u4f7f\u7528 libpcap \u5e93\u6765\u6293\u53d6\u7f51\u7edc\u62a5\uff0c\u8fd9\u4e2a\u5e93\u5728\u51e0\u4e4e\u5728\u6240\u6709\u7684 Linux/Unix \u4e2d\u90fd\u6709\u3002"),(0,p.yg)("pre",null,(0,p.yg)("code",{parentName:"pre",className:"language-shell"},"tcpdump -i eth0 #\u6355\u83b7\u6307\u5b9a\u63a5\u53e3(\u7f51\u5361)\u7684\u6570\u636e\u5305 \u53ef\u901a\u8fc7 netstat -i\u67e5\u770b\u7f51\u5361\u8bbe\u5907\ntcpdump -i eth0 -c 3 #\u6355\u83b7\u6307\u5b9a\u4e2a\u6570\u7684\u6570\u636e\u5305\uff083\u4e2a\u6570\u636e\u5305\uff09\ntcpdump -A -i eth0 #\u7528ASCII\u7801\u683c\u5f0f\u8f93\u51fa\u6355\u83b7\u7684\u6570\u636e\u5305\ntcpdump -D #\u663e\u793a\u53ef\u7528\u7684\u7cfb\u7edf\u63a5\u53e3\ntcpdump -XX -i eth0 #\u7528\u5341\u516d\u8fdb\u5236\u548cASCII\u7801\u683c\u5f0f\u663e\u793a\u6355\u83b7\u7684\u6570\u636e\u5305\ntcpdump -w tempDump.pcap -i eth0 #\u628a\u6355\u83b7\u7684\u6570\u636e\u5305\u5199\u5165\u5230\u4e00\u4e2a.pcap\u540e\u7f00\u7684\u6587\u4ef6\u4e2d\ntcpdump -r tempDump.pcap #\u8bfb\u53d6\u6355\u83b7\u6570\u636e\u5305\u6587\u4ef6\u7684\u5185\u5bb9\ntcpdump -n -i eth0 # \u5355\u4e2a n \u8868\u793a\u4e0d\u89e3\u6790\u57df\u540d\uff0c\u76f4\u63a5\u663e\u793a IP\ntcpdump -i eth0 tcp #\u6355\u83b7TCP\u7c7b\u578b\u7684\u6570\u636e\u5305\ntcpdump -i eth0 port 22 #\u6355\u83b7\u6307\u5b9a\u7aef\u53e3\uff08\u8fd9\u91cc\u662f22\uff09\u7684\u6570\u636e\u5305\ntcpdump -i eth0 src \u6e90ip\u5730\u5740 #\u6355\u83b7\u8bf7\u6c42\u6e90\u662f 192.169.12.101 \u7684\u6570\u636e\u5305\ntcpdump -i eth0 dst \u76ee\u6807ip\u5730\u5740 #\u6355\u83b7\u6307\u5b9a\u76ee\u7684IP\u7684\u6570\u636e\u5305\ntcpdump -i eth6 dst host \u76ee\u6807ip\u5730\u5740 and port 8800 -w data.pcap #\u6293\u53d6\u6307\u5b9a\u7f51\u5361\uff0c\u6307\u5b9aIP\u548c\u7aef\u53e3\u7684\u6570\u636e\u5305 \u5e76\u5199\u5165\u5230data.pcap\u6587\u4ef6\u4e2d\ntcpdump host 192.168.12.101 and 192.168.1.201 -w out & #\u540e\u53f0\u6293\u53d6\u4e24\u4e3b\u673a\u4e4b\u95f4\u7684\u6570\u636e\ntcpdump -nn #\u5355\u4e2a n \u8868\u793a\u4e0d\u89e3\u6790\u57df\u540d\uff0c\u76f4\u63a5\u663e\u793a IP\uff1b\u4e24\u4e2a n \u8868\u793a\u4e0d\u89e3\u6790\u57df\u540d\u548c\u7aef\u53e3\u3002\u8fd9\u6837\u4e0d\u4ec5\u65b9\u4fbf\u67e5\u770b IP \u548c\u7aef\u53e3\u53f7\uff0c\u800c\u4e14\u5728\u6293\u53d6\u5927\u91cf\u6570\u636e\u65f6\u975e\u5e38\u9ad8\u6548\uff0c\u56e0\u4e3a\u57df\u540d\u89e3\u6790\u4f1a\u964d\u4f4e\u6293\u53d6\u901f\u5ea6\n")),(0,p.yg)("ul",null,(0,p.yg)("li",{parentName:"ul"},(0,p.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/611443192"},"\u77e5\u4e4e\uff1atcpdump \u8be6\u89e3&\u5b9e\u6218"))),(0,p.yg)("h3",{id:"netstat"},"netstat"),(0,p.yg)("p",null,"netstat \u662f\u4e00\u4e2a\u76d1\u63a7 TCP/IP \u7f51\u7edc\u7684\u975e\u5e38\u6709\u7528\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u663e\u793a\u8def\u7531\u8868\u3001\u7f51\u7edc\u8fde\u63a5\u4ee5\u53ca\u6bcf\u4e00\u4e2a\u7f51\u7edc\u63a5\u53e3\u8bbe\u5907\u7684\u72b6\u6001\u4fe1\u606f\u3002netstat \u7528\u4e8e\u663e\u793a\u4e0e IP\u3001TCP\u3001UDP \u548c ICMP \u534f\u8bae\u76f8\u5173\u7684\u7edf\u8ba1\u6570\u636e\uff0c\u4e00\u822c\u7528\u4e8e\u68c0\u9a8c\u672c\u673a\u5404\u7aef\u53e3\u7684\u7f51\u7edc\u8fde\u63a5\u60c5\u51b5\u3002"),(0,p.yg)("pre",null,(0,p.yg)("code",{parentName:"pre",className:"language-shell"},"netstat -at #\u67e5\u770b\u5f53\u524d\u5df2\u7ecf\u5efa\u7acb\u7684tcp\u8fde\u63a5\nnetstat -au #\u5217\u51fa\u6240\u6709 udp \u7aef\u53e3\nnetstat -lt #\u53ea\u5217\u51fa\u6240\u6709\u76d1\u542c\u4e2d\u7684 tcp\u7c7b\u578b\u7684 \u7aef\u53e3\nnetstat -lu #\u53ea\u5217\u51fa\u6240\u6709\u76d1\u542c\u4e2d\u7684 udp\u7c7b\u578b\u7684\u7aef\u53e3\nnetstat -antp #\u67e5\u770b\u6240\u6709\u5df2\u7ecf\u5efa\u7acb\u7684tcp\u8fde\u63a5\uff0c\u5e76\u4e14\u57df\u540d\u4ee5\u6570\u5b57\u5f62\u5f0f\u663e\u793a\nnetstat -tupl #\u67e5\u770b\u6240\u6709\u76d1\u542c\u7684tcp\u548cudp\u53ca\u8fdb\u7a0b\u540d\u4fe1\u606f\uff08udp\u4e0d\u80fd\u76d1\u542c\uff0c\u4f46\u53ef\u4ee5\u67e5\u770b\u662f\u5426\u5728\u5360\u7528\uff09\nnetstat -s #\u663e\u793a\u6240\u6709\u7aef\u53e3\u7684\u7edf\u8ba1\u4fe1\u606f\nnetstat -st \u6216 -su #\u663e\u793a TCP \u6216 UDP \u7aef\u53e3\u7684\u7edf\u8ba1\u4fe1\u606f\nnetstat -i #\u67e5\u770b\u7f51\u5361\u63a5\u53e3\u4fe1\u606f\nnetstat -tulnp |grep nginx #\u67e5\u770bnginx\u670d\u52a1\u7684\u7f51\u7edc\u4fe1\u606f\n")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9801fcb7.4ab9d701.js b/assets/js/9801fcb7.7e2bceda.js similarity index 99% rename from assets/js/9801fcb7.4ab9d701.js rename to assets/js/9801fcb7.7e2bceda.js index ccc9c3791..f688ba43e 100644 --- a/assets/js/9801fcb7.4ab9d701.js +++ b/assets/js/9801fcb7.7e2bceda.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7401],{15680:(e,n,l)=>{l.d(n,{xA:()=>y,yg:()=>d});var t=l(96540);function r(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function i(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,t)}return l}function a(e){for(var n=1;n=0||(r[l]=e[l]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}var o=t.createContext({}),p=function(e){var n=t.useContext(o),l=n;return e&&(l="function"==typeof e?e(n):a(a({},n),e)),l},y=function(e){var n=p(e.components);return t.createElement(o.Provider,{value:n},e.children)},c="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},P=t.forwardRef((function(e,n){var l=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,y=u(e,["components","mdxType","originalType","parentName"]),c=p(l),P=r,d=c["".concat(o,".").concat(P)]||c[P]||s[P]||i;return l?t.createElement(d,a(a({ref:n},y),{},{components:l})):t.createElement(d,a({ref:n},y))}));function d(e,n){var l=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var i=l.length,a=new Array(i);a[0]=P;var u={};for(var o in n)hasOwnProperty.call(n,o)&&(u[o]=n[o]);u.originalType=e,u[c]="string"==typeof e?e:r,a[1]=u;for(var p=2;p{l.r(n),l.d(n,{assets:()=>o,contentTitle:()=>a,default:()=>s,frontMatter:()=>i,metadata:()=>u,toc:()=>p});var t=l(58168),r=(l(96540),l(15680));const i={},a="\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790",u={unversionedId:"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790",id:"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790",title:"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790",description:"\u67b6\u6784\uff0c\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790",source:"@site/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790.md",sourceDirName:"study/system",slug:"/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790",permalink:"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5185\u5b58\u7ba1\u7406",permalink:"/docs/study/system/\u5185\u5b58\u7ba1\u7406"},next:{title:"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",permalink:"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838"}},o={},p=[{value:"\u67b6\u6784\uff0c\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790",id:"\u67b6\u6784\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790",level:3},{value:"\u88f8\u673a",id:"\u88f8\u673a",level:3},{value:"x86 \u6307\u4ee4\u96c6\u53d1\u5c55",id:"x86-\u6307\u4ee4\u96c6\u53d1\u5c55",level:4},{value:"ARM \u67b6\u6784",id:"arm-\u67b6\u6784",level:4},{value:"MPIS \u67b6\u6784",id:"mpis-\u67b6\u6784",level:4},{value:"PowerPC \u7cfb\u5217",id:"powerpc-\u7cfb\u5217",level:4},{value:"SPARC \u67b6\u6784",id:"sparc-\u67b6\u6784",level:4},{value:"Alpha \u67b6\u6784",id:"alpha-\u67b6\u6784",level:4},{value:"CPU \u67b6\u6784\u4e4b\u95f4\u7684\u7ade\u4e89",id:"cpu-\u67b6\u6784\u4e4b\u95f4\u7684\u7ade\u4e89",level:3},{value:"PC \u548c\u670d\u52a1\u5668\u7ade\u4e89",id:"pc-\u548c\u670d\u52a1\u5668\u7ade\u4e89",level:4},{value:"\u79fb\u52a8\u7aef\u7ade\u4e89",id:"\u79fb\u52a8\u7aef\u7ade\u4e89",level:4},{value:"\u64cd\u4f5c\u7cfb\u7edf",id:"\u64cd\u4f5c\u7cfb\u7edf",level:3},{value:"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf",id:"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf",level:4},{value:"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf",id:"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf",level:4},{value:"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf",id:"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf",level:4},{value:"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u7684\u539f\u7406\u5206\u6790",id:"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u7684\u539f\u7406\u5206\u6790",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],y={toc:p},c="wrapper";function s(e){let{components:n,...l}=e;return(0,r.yg)(c,(0,t.A)({},y,l,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790"},"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790"),(0,r.yg)("h3",{id:"\u67b6\u6784\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790"},"\u67b6\u6784\uff0c\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u88f8\u673a\uff08\u7eaf\u786c\u4ef6\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u64cd\u4f5c\u7cfb\u7edf\uff08Windows/Linux\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u53ef\u6267\u884c\u7a0b\u5e8f")),(0,r.yg)("h3",{id:"\u88f8\u673a"},"\u88f8\u673a"),(0,r.yg)("p",null,"\u5176\u5b9e\u4e3b\u8981\u5c31\u662f CPU \u67b6\u6784\u7684\u4e0d\u540c\uff0cCPU \u67b6\u6784\u662f CPU \u5546\u7ed9 CPU \u4ea7\u54c1\u5b9a\u7684\u4e00\u4e2a\u89c4\u8303\uff0c\u4e3b\u8981\u76ee\u7684\u662f\u4e3a\u4e86\u533a\u5206\u4e0d\u540c\u7c7b\u578b\u7684 CPU\u3002\u76ee\u524d\u5e02\u573a\u4e0a\u7684 CPU \u5206\u7c7b\u4e3b\u8981\u5206\u6709\u4e24\u5927\u9635\u8425\uff0c\u4e00\u4e2a\u662f Intel\u3001AMD \u4e3a\u9996\u7684\u590d\u6742\u6307\u4ee4\u96c6 CPU\uff0c\u53e6\u4e00\u4e2a\u662f\u4ee5 IBM\u3001ARM \u4e3a\u9996\u7684\u7cbe\u7b80\u6307\u4ee4\u96c6 CPU\u3002\u4e0d\u540c\u54c1\u724c\u7684 CPU\uff0c\u5176\u4ea7\u54c1\u7684\u67b6\u6784\u4e5f\u4e0d\u76f8\u540c\uff0cIntel\u3001AMD \u7684 CPU \u662f X86 \u67b6\u6784\uff0cIBM \u516c\u53f8\u7684 CPU \u662f PowerPC \u67b6\u6784\uff0cARM \u516c\u53f8\u7684 CPU \u662f ARM \u67b6\u6784\uff0c\u56fd\u5185\u7684\u98de\u817e CPU \u4e5f\u662f ARM \u67b6\u6784\u3002\u6b64\u5916\u8fd8\u6709 MPIS \u67b6\u6784\u3001SPARC \u67b6\u6784\u3001Alpha \u67b6\u6784\u3002"),(0,r.yg)("h4",{id:"x86-\u6307\u4ee4\u96c6\u53d1\u5c55"},"x86 \u6307\u4ee4\u96c6\u53d1\u5c55"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"IA\uff1aIntel\uff08\u82f1\u7279\u5c14\uff09\u5904\u7406\u5668\u7684\u670d\u52a1\u5668\u79f0\u4e4b\u4e3a IA\uff08Intel Architecture\uff09\u67b6\u6784\u670d\u52a1\u5668"),(0,r.yg)("li",{parentName:"ul"},"IA-32\uff1a\u82f1\u7279\u5c14 32 \u4f4d\u4f53\u7cfb\u67b6\u6784\uff0cX86 \u4ece 16 \u4f4d\u5230 32 \u4f4d\u662f\u5728\u539f\u6709\u7684\u67b6\u6784\u57fa\u7840\u4e0a\u8fdb\u884c\u4fee\u6539\uff08Intel \u79f0\u4e4b\u4e3a IA-32\uff09"),(0,r.yg)("li",{parentName:"ul"},"x86-32\uff1a\u73b0\u5982\u4eca Intel \u628a x86-32 \u79f0\u4e3a IA-32"),(0,r.yg)("li",{parentName:"ul"},"x86-64 \u5206\u4e3a intel \u548c AMD"),(0,r.yg)("li",{parentName:"ul"},"AMD64\uff1ax86 \u67b6\u6784\u7684 64 \u4f4d\u62d3\u5c55\uff0c\u5411\u540e\u517c\u5bb9\u4e8e 16 \u4f4d\u53ca 32 \u4f4d\u7684 x86 \u67b6\u6784\u3002x64 \u4e8e 1999 \u5e74\u7531 AMD \u8bbe\u8ba1\uff0cAMD \u9996\u6b21\u516c\u5f00 64 \u4f4d\u96c6\u4ee5\u6269\u5c55\u7ed9 x86\uff0c\u79f0\u4e3a\u201cAMD64\u201d\uff0cAMD64 \u548c Intel64 \u57fa\u672c\u4e0a\u4e00\u81f4"),(0,r.yg)("li",{parentName:"ul"},"Intel64\uff1aEM64T\uff08Extended Memory 64 Technology\uff09\u6269\u5c55 64bit \u5185\u5b58\u6280\u672f\uff0c\u672c\u8d28\u4e0a\u548c AMD64 \u4e00\u6837\u90fd\u662f IA-32 \u7684\u589e\u5f3a\u7248\u672c\u3002"),(0,r.yg)("li",{parentName:"ul"},"IA-64\uff1a64 \u4f4d\u7684\u82f1\u7279\u5c14\u67b6\u6784\uff0c\u82f1\u7279\u5c14\u5b89\u817e\u67b6\u6784\uff08Intel Itanium architecture\uff09\uff0c\u4f7f\u7528\u5728 Itanium \u5904\u7406\u5668\u5bb6\u65cf\u4e0a\u7684 64 \u4f4d\u6307\u4ee4\u96c6\u67b6\u6784\uff0c\u7531\u82f1\u7279\u5c14\u516c\u53f8\u4e0e\u60e0\u666e\u516c\u53f8\u5171\u540c\u5f00\u53d1\u3002IA \u662f Intel Architecture\uff08\u82f1\u7279\u5c14\u67b6\u6784\uff09\u7684\u7f29\u5199\uff0c64 \u6307 64 \u4f4d\u7cfb\u7edf\u3002\u4f7f\u7528\u8fd9\u79cd\u67b6\u6784\u7684 CPU\uff0c\u5305\u62ec Itanium \u548c Itanium 2\u3002\u6b64\u67b6\u6784\u4e0e x86 \u53ca x86-64 \u5e76\u4e0d\u76f8\u5bb9\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4e0e\u8f6f\u4ef6\u9700\u4f7f\u7528 IA-64 \u4e13\u7528\u7248\u672c\u3002")),(0,r.yg)("h4",{id:"arm-\u67b6\u6784"},"ARM \u67b6\u6784"),(0,r.yg)("p",null,"ARM \u67b6\u6784\uff0c\u4e5f\u79f0\u4f5c\u8fdb\u9636\u7cbe\u7b80\u6307\u4ee4\u96c6\u673a\u5668\uff08Advanced RISC Machine\uff0c\u66f4\u65e9\u79f0\u4f5c\uff1aAcorn RISC Machine\uff09\uff0c\u662f\u4e00\u4e2a 32 \u4f4d\u7cbe\u7b80\u6307\u4ee4\u96c6\uff08RISC\uff09\u5904\u7406\u5668\u67b6\u6784\uff0c\u5176\u5e7f\u6cdb\u5730\u4f7f\u7528\u5728\u8bb8\u591a\u5d4c\u5165\u5f0f\u7cfb\u7edf\u8bbe\u8ba1\u3002\u7531\u4e8e\u8282\u80fd\u7684\u7279\u70b9\uff0cARM \u5904\u7406\u5668\u975e\u5e38\u9002\u7528\u4e8e\u884c\u52a8\u901a\u8baf\u9886\u57df\uff0c\u7b26\u5408\u5176\u4e3b\u8981\u8bbe\u8ba1\u76ee\u6807\u4e3a\u4f4e\u8017\u7535\u7684\u7279\u6027\u3002"),(0,r.yg)("p",null,"ARM \u6388\u6743\u65b9\u5f0f\uff1aARM \u516c\u53f8\u672c\u8eab\u5e76\u4e0d\u9760\u81ea\u6709\u7684\u8bbe\u8ba1\u6765\u5236\u9020\u6216\u51fa\u552e CPU \uff0c\u800c\u662f\u5c06\u5904\u7406\u5668\u67b6\u6784\u6388\u6743\u7ed9\u6709\u5174\u8da3\u7684\u5382\u5bb6\u3002"),(0,r.yg)("p",null,"\u56fd\u5916\u751f\u4ea7\u5382\u5546\uff1aTI \uff08\u5fb7\u5dde\u4eea\u5668\uff09\u3001Samsung\uff08\u4e09\u661f\uff09\u3001Freescale\uff08\u98de\u601d\u5361\u5c14\uff09\u3001Marvell\uff08\u9a6c\u7ef4\u5c14\uff09\u3001Nvidia\uff08\u82f1\u4f1f\u8fbe\uff09\u3001Qualcomm(\u9ad8\u901a\uff09\u3001STMicroelectronics(\u610f\u6cd5\u534a\u5bfc\u4f53\uff09\u3002"),(0,r.yg)("p",null,"\u56fd\u5185\u751f\u4ea7\u5382\u5546\uff1a\u534e\u4e3a\uff08\u6d77\u601d\u82af\u7247\uff09\u3001\u98de\u817e\uff08FT-1500\u3001FT2000-4 \u7b49 CPU \u82af\u7247\uff09\u3001\u5146\u6613\u521b\u65b0\uff08GD32 \u7cfb\u5217 MCU\uff0c\u53c2\u8003 STM32 \u7cfb\u5217\uff09\u3001\u745e\u82af\u5fae\uff08RK \u7cfb\u5217\u82af\u7247\uff09\u3001\u8054\u53d1\u79d1\uff08\u53f0\u6e7e\uff0c\u5929\u7391\u7cfb\u5217\uff09\u3002"),(0,r.yg)("h4",{id:"mpis-\u67b6\u6784"},"MPIS \u67b6\u6784"),(0,r.yg)("p",null,"MIPS \u662f\u4e16\u754c\u4e0a\u5f88\u6d41\u884c\u7684\u4e00\u79cd RISC \u5904\u7406\u5668\u3002MIPS \u6280\u672f\u516c\u53f8\u662f\u7f8e\u56fd\u8457\u540d\u7684\u82af\u7247\u8bbe\u8ba1\u516c\u53f8\uff0c\u5b83\u91c7\u7528\u7cbe\u7b80\u6307\u4ee4\u7cfb\u7edf\u8ba1\u7b97\u7ed3\u6784(RISC)\u6765\u8bbe\u8ba1\u82af\u7247\u3002"),(0,r.yg)("p",null,"MPIS \u67b6\u6784\u6388\u6743\u548c ARM \u67b6\u6784\u6388\u6743\u4e0d\u4e00\u6837\uff0cARM \u67b6\u6784\u6388\u6743\u7528\u6237\u57fa\u672c\u4e0d\u80fd\u81ea\u884c\u4fee\u6539\uff0c\u800c MPIS \u67b6\u6784\u6388\u6743\u540e\uff0c\u53ef\u4ee5\u81ea\u5df1\u4fee\u6539\u3002\u76ee\u524d MPIS \u53d1\u626c\u5149\u5927\u5bc4\u5e0c\u671b\u4e2d\u79d1\u9f99\u82af\u516c\u53f8\uff0c\u9f99\u82af\u5904\u7406\u5668\u4ece\u9f99\u82af 1 \u53f7\uff0c\u5230\u73b0\u5728\u7684\u9f99\u82af 3 \u53f7\u7cfb\u5217\u7684 3A4000\uff0cCPU \u7684\u6027\u80fd\u5df2\u7ecf\u5927\u5e45\u5ea6\u63d0\u9ad8\uff0c\u5728\u5b8c\u5168\u53ef\u4ee5\u80dc\u4efb\u65e5\u5e38\u529e\u516c\u6216\u8005\u4f5c\u4e3a\u7279\u6b8a\u7528\u9014\u7684\u670d\u52a1\u5668\u3002\u9f99\u82af CPU \u548c\u56fd\u4ea7\u7684\u98de\u817e\uff08FT\uff09\u5904\u7406\u5668\u5e76\u9a7e\u9f50\u9a71\uff0c\u53d1\u5c55\u6211\u56fd\u81ea\u4e3b\u53ef\u63a7 CPU\u3002"),(0,r.yg)("h4",{id:"powerpc-\u7cfb\u5217"},"PowerPC \u7cfb\u5217"),(0,r.yg)("p",null,"PowerPC \u662f\u4e00\u79cd\u7cbe\u7b80\u6307\u4ee4\u96c6\uff08RISC\uff09\u67b6\u6784\u7684\u4e2d\u592e\u5904\u7406\u5668\uff08CPU\uff09\uff0c\u5176\u57fa\u672c\u7684\u8bbe\u8ba1\u6e90\u81ea IBM\uff08\u56fd\u9645\u5546\u7528\u673a\u5668\u516c\u53f8\uff09\u7684 IBMPowerPC 601 \u5fae\u5904\u7406\u5668 POWER\uff08PerformanceOptimized With Enhanced RISC\uff1b\u300aIBM Connect \u7535\u5b50\u62a5\u300b2007 \u5e74 8 \u6708\u53f7\u8bd1\u4e3a\u201c\u589e\u5f3a RISC \u6027\u80fd\u4f18\u5316\u201d\uff09\u67b6\u6784\u3002\u4e8c\u5341\u4e16\u7eaa\u4e5d\u5341\u5e74\u4ee3\uff0cIBM(\u56fd\u9645\u5546\u7528\u673a\u5668\u516c\u53f8)\u3001Apple\uff08\u82f9\u679c\u516c\u53f8\uff09\u548c Motorola\uff08\u6469\u6258\u7f57\u62c9\uff09\u516c\u53f8\u5f00\u53d1 PowerPC \u82af\u7247\u6210\u529f\uff0c\u5e76\u5236\u9020\u51fa\u57fa\u4e8e PowerPC \u7684\u591a\u5904\u7406\u5668\u8ba1\u7b97\u673a\u3002PowerPC \u67b6\u6784\u7684\u7279\u70b9\u662f\u53ef\u4f38\u7f29\u6027\u597d\u3001\u65b9\u4fbf\u7075\u6d3b\u3002"),(0,r.yg)("p",null,"PowerPC \u5904\u7406\u5668\u6709\u5e7f\u6cdb\u7684\u5b9e\u73b0\u8303\u56f4\uff0c\u5305\u62ec\u4ece\u8bf8\u5982 Power4 \u90a3\u6837\u7684\u9ad8\u7aef\u670d\u52a1\u5668 CPU \u5230\u5d4c\u5165\u5f0f CPU \u5e02\u573a\uff08\u4efb\u5929\u5802 Gamecube \u4f7f\u7528\u4e86 PowerPC\uff09\u3002PowerPC \u5904\u7406\u5668\u6709\u975e\u5e38\u5f3a\u7684\u5d4c\u5165\u5f0f\u8868\u73b0\uff0c\u56e0\u4e3a\u5b83\u5177\u6709\u4f18\u5f02\u7684\u6027\u80fd\u3001\u8f83\u4f4e\u7684\u80fd\u91cf\u635f\u8017\u4ee5\u53ca\u8f83\u4f4e\u7684\u6563\u70ed\u91cf\u3002\u9664\u4e86\u8c61\u4e32\u884c\u548c\u4ee5\u592a\u7f51\u63a7\u5236\u5668\u90a3\u6837\u7684\u96c6\u6210 I/O\uff0c\u8be5\u5d4c\u5165\u5f0f\u5904\u7406\u5668\u4e0e\u201c\u53f0\u5f0f\u673a\u201dCPU \u5b58\u5728\u975e\u5e38\u663e\u8457\u7684\u533a\u522b\u3002"),(0,r.yg)("h4",{id:"sparc-\u67b6\u6784"},"SPARC \u67b6\u6784"),(0,r.yg)("p",null,"SPARC \u67b6\u6784\uff08Scalable Processor ARChitecture\uff0c\u53ef\u6269\u5c55\u5904\u7406\u5668\u67b6\u6784\uff09\u662f\u56fd\u9645\u4e0a\u6d41\u884c\u7684 RISC \u5904\u7406\u5668\u4f53\u7cfb\u67b6\u6784\u4e4b\u4e00\uff0cSPRAC \u5982\u4eca\u5df2\u53d1\u5c55\u6210\u4e3a\u4e00\u4e2a\u5f00\u653e\u7684\u6807\u51c6\uff0c\u4efb\u4f55\u673a\u6784\u6216\u4e2a\u4eba\u5747\u53ef\u7814\u7a76\u6216\u5f00\u53d1\u57fa\u4e8e SPRAC \u67b6\u6784\u7684\u4ea7\u54c1\uff0c\u800c\u65e0\u9700\u4ea4\u7eb3\u7248\u6743\u8d39\u3002SPARC \u5904\u7406\u5668\u67b6\u6784\u5177\u5907\u7cbe\u7b80\u6307\u4ee4\u96c6\uff08RISC\uff09\u3001\u652f\u6301 32 \u4f4d/64 \u4f4d\u6307\u4ee4\u7cbe\u5ea6\uff0c\u67b6\u6784\u8fd0\u884c\u7a33\u5b9a\u3001\u53ef\u6269\u5c55\u6027\u4f18\u826f\u3001\u4f53\u7cfb\u6807\u51c6\u5f00\u653e\u7b49\u7279\u70b9\u3002SPARC \u56e0\u6b64\u5f97\u4ee5\u8fc5\u901f\u53d1\u5c55\u58ee\u5927\uff0c\u5728\u73b0\u5728\u5df2\u7ecf\u6709\u5927\u7ea6 3 \u4e07\u591a\u4e2a\u6210\u529f\u7684\u5e94\u7528\u6848\u4f8b\u3002"),(0,r.yg)("p",null,"SPARCV7/V8 \u662f\u76ee\u524d\u5d4c\u5165\u5f0f\u63a7\u5236\u7cfb\u7edf\u5e38\u7528\u7684\u5904\u7406\u5668\u6807\u51c6\u7248\u672c\uff0c\u5e76\u5728\u822a\u5929\u8bbe\u5907\u7684\u7535\u5b50\u7cfb\u7edf\u4e2d\u5f97\u5230\u5e7f\u6cdb\u5e94\u7528\u3002\u7136\u800c\uff0cSPARC \u53ea\u662f\u4e00\u4e2a\u5904\u7406\u5668\u7684\u67b6\u6784\u6807\u51c6\uff0c\u5e76\u4e0d\u63d0\u4f9b\u73b0\u6210\u7684\u6e90\u7801\u6216 IP \u6838\uff0c\u5177\u4f53\u7684\u82af\u7247\u5b9e\u73b0\u8981\u7531\u5f00\u53d1\u8005\u53bb\u5b8c\u6210\u3002"),(0,r.yg)("h4",{id:"alpha-\u67b6\u6784"},"Alpha \u67b6\u6784"),(0,r.yg)("p",null,"\u76ee\u524d\u56fd\u5185\u91c7\u7528\u6b64\u67b6\u6784\u7684\u662f\u7533\u5fae\u8d85\u7b97\u5904\u7406\u5668\uff0c\u5f97\u76ca\u4e8e\u56fd\u5bb6\u7684\u652f\u6301\uff0c\u7533\u5a01\u5904\u7406\u5668\u5728\u519b\u961f\u5e94\u7528\u5e7f\u6cdb\u3002"),(0,r.yg)("h3",{id:"cpu-\u67b6\u6784\u4e4b\u95f4\u7684\u7ade\u4e89"},"CPU \u67b6\u6784\u4e4b\u95f4\u7684\u7ade\u4e89"),(0,r.yg)("h4",{id:"pc-\u548c\u670d\u52a1\u5668\u7ade\u4e89"},"PC \u548c\u670d\u52a1\u5668\u7ade\u4e89"),(0,r.yg)("p",null,"PC \u7aef\u548c\u670d\u52a1\u5668\u7aef\u662f X86 \u67b6\u6784\u7684\u5929\u4e0b\uff0c\u800c X86 \u67b6\u6784\u57fa\u672c\u662f\u4ee5 Intel \u4e3a\u9996\uff0cAMD \u4e3a\u8f85\u4e8c\u5206\u5929\u4e0b\u4e4b\u52bf\u3002\u56fd\u4ea7 CPU \u57fa\u672c\u53ea\u80fd\u7528\u5728\u519b\u5de5\u884c\u4e1a\u6216\u8005\u4e8b\u4e1a\u5355\u4f4d\u7b49\u3002\u5176\u5b9e\u8bf4\u6027\u80fd\uff0cpowerpc\uff0c\u53ef\u8c13\u662f\u9ad8\u51fa\u4e0d\u80dc\u5bd2\u3002\u786c\u4ef6\u65b9\u9762\uff0cPower \u7cfb\u7edf\u5728\u53ef\u9760\u6027\u3001\u53ef\u7528\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u7684\u65b9\u9762\u7684\u51fa\u8272\u8868\u73b0\u4f7f\u5f97 IBM \u4ece\u82af\u7247\u5230\u7cfb\u7edf\u6240\u8bbe\u8ba1\u7684\u6574\u673a\u65b9\u6848\u6709\u7740\u72ec\u6709\u7684\u4f18\u52bf\u3002Power \u67b6\u6784\u7684\u5904\u7406\u5668\u5728\u8d85\u7b97\u3001\u5927\u578b\u4f01\u4e1a\u7684 UNIX \u670d\u52a1\u5668\u7b49\u591a\u4e2a\u65b9\u9762\u5e94\u7528\u4e5f\u5341\u5206\u6210\u529f\u3002\u5728\u8f6f\u4ef6\u65b9\u9762\uff0c\u5176\u4e13\u7528\u7684 AIX \u7cfb\u7edf\u5728\u7a33\u5b9a\u6027\u3001\u8f6f\u4ef6\u65b9\u6848\u96c6\u6210\u5ea6\u548c\u5382\u5546\u6280\u672f\u652f\u6301\u80fd\u529b\u65b9\u9762\u90fd\u8981\u66f4\u5f3a\u3002\u7531\u4e8e\u7528\u6237\u9009\u4e00\u5e73\u53f0\u4e3b\u8981\u770b\u8f6f\u4ef6\u9700\u6c42\uff0c\u4e00\u822c\u5bf9\u6570\u636e\u4fdd\u62a4\u548c 7","*","24 \u5c0f\u65f6\u4e0d\u5b95\u673a\u7b49\u6709\u6240\u8981\u6c42\uff0cpower \u67b6\u6784\u7684\u7a33\u5b9a\u6027\u548c\u8fd0\u7ef4\u7b49\u65b9\u9762\u76f8\u5bf9\u66f4\u4f18\u3002\u4f46\u662f\uff0c\u7531\u4e8e IBM \u7684\u6280\u672f\u628a\u63a7\uff0c\u4f7f\u5f97\u5176\u4ef7\u683c\u592a\u4e0d\u53cb\u597d\uff0c\u540c\u65f6\u6280\u672f\u4e5f\u8d76\u4e0d\u4e0a\u73af\u5883\u7684\u53d8\u5316\uff0c\u5728\u4e91\u8ba1\u7b97\u5174\u8d77\u540e\uff0c\u968f\u7740\u5206\u5e03\u5f0f\u7cfb\u7edf\u9010\u6e10\u6210\u719f\uff0c\u7cfb\u7edf\u5bf9\u5c0f\u578b\u673a\u7684\u4f9d\u8d56\u5f00\u59cb\u964d\u4f4e\uff0c\u6539\u4e3a\u4f9d\u9760\u96c6\u7fa4\u63d0\u4f9b\uff0c\u6027\u80fd\u4e5f\u53ef\u5b9e\u73b0\u5206\u5e03\u5f0f\u5904\u7406\u3002\u800c\u66f4\u4e3a\u5173\u952e\u7684\u662f\uff0cIBM \u7684\u5168\u5957\u670d\u52a1\u5c3d\u7ba1\u7a33\u5b9a\u6027\u4f18\u79c0\uff0c\u4f46\u5374\u5f71\u54cd\u4e86 Power \u67b6\u6784\u5bf9\u5176\u4ed6\u5546\u5bb6\u7684\u5438\u5f15\u529b\u3002"),(0,r.yg)("p",null,"\u800c Sparc \u67b6\u6784\u548c Power \u67b6\u6784\u57fa\u672c\u72af\u4e86\u540c\u6837\u7684\u9519\u8bef\uff1a\u4ef7\u683c\u4e0d\u53cb\u597d\u3002SPARC \u67b6\u6784\u6d4b\u6210\u529f\u548c Sun \u65d7\u4e0b\u7684 Solaris \u7cfb\u7edf\u6709\u7740\u5bc6\u4e0d\u53ef\u5206\u7684\u5173\u7cfb\u3002\u5f53\u8ba1\u7b97\u673a\u7cfb\u7edf\u5e9e\u5927\u3001\u7528\u6237\u6570\u91cf\u5de8\u5927\u589e\u52a0\u65f6\uff0c\u57fa\u4e8e Unix \u64cd\u4f5c\u7cfb\u7edf\u6253\u9020\u7684 Solaris \u80fd\u66f4\u597d\u5730\u5229\u7528\u8ba1\u7b97\u673a\u8d44\u6e90\uff0c\u662f\u6240\u6709\u5546\u4e1a\u7248\u4e2d\u6700\u53ef\u9760\u6700\u5b8c\u5584\u7684\u7248\u672c\u3002\u800c\u4f9d\u8d56 SPARC \u67b6\u6784\u548c Solaris \u7cfb\u7edf\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\uff0c\u5176\u5360\u9886\u4e86\u670d\u52a1\u5668\u9ad8\u7aef\u5e02\u573a\u3002Sun \u7684\u53e6\u4e00\u4e2a\u66f4\u4e3a\u77e5\u540d\u7684\u4ea7\u54c1\u662f Java\uff0c\u867d\u7136\u5728\u4e0a\u4e16\u7eaa 90 \u5e74\u4ee3\u4e3a\u667a\u80fd\u5bb6\u7535\u5f00\u53d1\u7684 Java \u5e76\u6ca1\u6709\u4e3a\u5176\u5e26\u6765\u76f8\u5e94\u7684\u56de\u62a5\uff0c\u4f46\u5df2\u6210\u4e3a\u4eca\u5929\u79fb\u52a8\u65f6\u4ee3\u6700\u91cd\u8981\u7684\u5f00\u53d1\u8bed\u8a00\u3002\u5982\u6b64\u5f3a\u5927\u7684\u5b9e\u529b\u672c\u5e94\u7edf\u9886\u670d\u52a1\u5668\u5e02\u573a\uff0c\u4f46\u9057\u61be\u7684\u662f\uff0c\u5728 windows \u548c\u82f1\u7279\u5c14\u7ec4\u6210 Wintel \u8054\u76df\u4e4b\u540e\uff0c\u4e24\u8005\u51ed\u501f\u81ea\u8eab\u5728\u5404\u81ea\u5e02\u573a\u7684\u89c4\u6a21\u6548\u5e94\uff0c\u4f7f\u5f97\u91c7\u7528 Wintel \u4ea7\u54c1\u7684\u670d\u52a1\u5668\u5382\u5546\u53ef\u4ee5\u901a\u8fc7\u4f4e\u5ec9\u7684\u4ef7\u683c\u5927\u8086\u62a2\u5360\u4e2d\u4f4e\u7aef\u5e02\u573a\u3002\u800c\u5f53 Sun \u9192\u609f\u8fc7\u6765\uff0c\u901a\u8fc7\u5f00\u6e90\u7b49\u65b9\u5f0f\u60f3\u8981\u633d\u56de\u8d25\u5c40\u65f6\u4e3a\u65f6\u5df2\u665a\u3002"),(0,r.yg)("p",null,"X86 \u67b6\u6784\u4e0e Power \u548c SPARC \u5728\u9ad8\u6027\u80fd\u9886\u57df\u7684\u98ce\u751f\u6c34\u8d77\u4e0d\u540c\uff0cx86 \u67b6\u6784\u662f\u5929\u751f\u7684\u5c0f\u5c4c\u4e1d\u30021978 \u5e74\u4ed6\u51fa\u751f\u7684\u90a3\u5e74\uff0c\u82f1\u7279\u5c14\u8fd8\u53ea\u662f\u4e00\u4e2a\u666e\u901a\u7684\u79d1\u6280\u516c\u53f8\u3002\u53ef\u662f x86 \u67b6\u6784\u968f\u540c\u5176 cisc \u6307\u4ee4\u96c6\u5374\u5f00\u542f\u4e86\u4e00\u4e2a\u65b0\u7684\u65f6\u4ee3\u3002x86 \u4e4b\u6240\u4ee5\u53ef\u4ee5\u8d62\u5f97\u5e02\u573a\u4e3b\u8981\u539f\u56e0\u5728\u4e8e\u5176\u662f\u4e00\u4e2a\u5341\u5206\u5f00\u653e\u7684\u67b6\u6784\u3002IBM \u548c SUN \u5f53\u5e74\u90fd\u662f\u4ece\u82af\u7247\u5230\u670d\u52a1\u5668\u5230\u7cfb\u7edf\u4e00\u624b\u5305\u529e\u7684\u516c\u53f8\u3002\u800c\u82f1\u7279\u5c14\u5219\u662f\u4e00\u4e2a\u5341\u5206\u7eaf\u7cb9\u7684\u82af\u7247\u5382\u5546\uff0c\u5176\u4e1a\u52a1\u4ec5\u4e0e AMD \u7b49\u5c11\u6570\u82af\u7247\u751f\u4ea7\u8005\u5b58\u5728\u7ade\u4e89\uff0c\u8fd9\u5c31\u4f7f\u5f97\u670d\u52a1\u5668\u5382\u5546\u4e0d\u7528\u5fcc\u60ee\u4e0e\u4e4b\u53d1\u751f\u7ade\u4e89\u5173\u7cfb\u3002"),(0,r.yg)("p",null,'\u5355\u4ece\u6027\u80fd\u6765\u770b\uff0c\u65e0\u8bba Power \u8fd8\u662f SPARC \u67b6\u6784\u90fd\u53ef\u4ee5\u51fb\u6e83 x86\uff0c\u53ef\u662f\u6700\u7ec8\u80fd\u591f\u8d62\u4e0b\u6765\u7684\u5374\u504f\u504f\u662f"\u6700\u5f31"\u7684 x86 \u67b6\u6784\u3002\u8fd9\u5e76\u975e\u52a3\u5e01\u6dd8\u6c70\u826f\u5e01\uff0c\u800c\u662f\u5e02\u573a\u7ade\u4e89\u7684\u9009\u62e9\uff0c\u6839\u6e90\u4e0a\u8bb2\uff0cx86 \u7684\u6210\u529f\u5728\u4e8e\u82f1\u7279\u5c14\u6839\u672c\u4e0d\u78b0\u670d\u52a1\u5668\u3002\u56e0\u6b64\u4e0d\u8bba\u8bbe\u5907\u751f\u4ea7\u5546\u3001\u8f6f\u4ef6\u5f00\u53d1\u8005\u6216\u8005\u7cfb\u7edf\u5f00\u53d1\u8005\u90fd\u53ef\u4ee5\u4e0e\u4e0d\u5b58\u5728\u5229\u76ca\u7ade\u4e89\u5173\u7cfb\u7684\u82f1\u7279\u5c14\u5408\u4f5c\u3002\u53d7\u76ca\u4e8e\u6b64\uff0cx86 \u67b6\u6784\u7684\u517c\u5bb9\u6027\u4e5f\u8d8a\u53d1\u5f3a\u5927\uff0c\u751f\u6001\u4f53\u7cfb\u8d8a\u53d1\u5b8c\u5584\uff0c\u8fd9\u624d\u6210\u5c31\u4e86\u73b0\u5982\u4eca\u5e02\u573a\u5360\u6709\u7387\u8d85\u8fc7 90%\u7684\u4e00\u5bb6\u72ec\u5927\u5c40\u9762\uff0c\u82f1\u7279\u5c14\u4e5f\u501f\u52a9 x86 \u67b6\u6784\u4e00\u8dc3\u6210\u4e3a\u5168\u7403\u9876\u7ea7\u7684\u82af\u7247\u63d0\u4f9b\u5546\u3002'),(0,r.yg)("h4",{id:"\u79fb\u52a8\u7aef\u7ade\u4e89"},"\u79fb\u52a8\u7aef\u7ade\u4e89"),(0,r.yg)("p",null,"\u6b63\u5982 PC \u548c\u670d\u52a1\u5668\u7aef\u662f X86 \u7684\u5929\u4e0b\u4e00\u6837\uff0c\u79fb\u52a8\u7aef\u662f ARM \u7684\u5929\u4e0b\u3002Intel \u5728 CPU \u754c\u7684\u5927\u540d\uff0c\u53ef\u8c13\u5bb6\u55bb\u6237\u6653\uff0c\u4f46\u662f\u5728\u624b\u673a\u767b\u79fb\u52a8\u7aef\u5374\u96be\u4ee5\u770b\u5230\u82f1\u56fd ARM \u516c\u53f8\u80cc\u5f71\u3002\u5728 2006 \u5e74\uff0c\u81ea\u4ece AMD \u7684 64 \u4f4d\u5904\u7406\u5668\u53d1\u5e03\u4ee5\u6765\uff0cAMD \u6210\u529f\u9006\u88ad\u4e86 Intel\uff0c\u5e02\u573a\u5360\u6709\u7387\u5927\u5e45\u4e0a\u5347\uff0c\u800c Intel \u8001\u8fc8\u7684 P4 \u5904\u7406\u5668\u5219\u662f\u8179\u80cc\u53d7\u654c\uff0c\u5c3d\u5931\u6614\u65e5\u9738\u6c14\uff0c\u5e02\u573a\u8868\u73b0\u4e00\u8def\u8d70\u4f4e\u3002\u4e3a\u4e86\u7a33\u4f4f\u6295\u8d44\u4eba\u7684\u4fe1\u5fc3\uff0c\u6700\u597d\u7684\u505a\u6cd5\u81ea\u7136\u662f\u8ba9\u516c\u53f8\u6301\u7eed\u76c8\u5229\uff0c\u4e3a\u6b64 Intel \u8fdb\u884c\u5927\u89c4\u6a21\u7684\u91cd\u6574\uff0c\u5305\u62ec\u4e0a\u4efb\u65b0 CEO \u6b27\u5fb7\u5b81\u3001\u5927\u89c4\u6a21\u88c1\u5458\u3001\u4ee5\u53ca\u51fa\u552e XScale \u624b\u673a\u5904\u7406\u5668\u4e1a\u52a1\u3002\u6b63\u56e0\u4e3a\u8fd9\u4e2a\u4e3e\u63aa\uff0c\u4f7f\u5f97 Intel \u5230\u8fbe\u4e86\u4eba\u751f\u5dc5\u5cf0\uff0c\u4ece PC \u5e02\u573a\u6709\u8d5a\u7684\u94b5\u6ee1\u76c6\u6ee1\uff0c\u7136\u800c\u4e5f\u662f\u56e0\u4e3a\u6b64\uff0cIntel \u5ffd\u89c6\u4e86\u79fb\u52a8\u9886\u57df\u7684\u8fc5\u731b\u53d1\u5c55\u3002\uff08\u5f53\u5e74\uff0cIntel \u62d2\u7edd\u4e86\u4e54\u5e2e\u4e3b\u8fd8\u662f PPT \u7684 Iphone \u624b\u673a\uff0c\u4e0d\u7136\u662f\u5426\u5c31\u4f1a\u4e0d\u4e00\u6837\uff1f\u4f46\u662f\u60f3\u4e00\u4e0b Iphone X \u4f7f\u7528 Intel \u57fa\u5e26\uff0c\u4fe1\u53f7\u5dee\u7684\u8bdf\u75c5\uff0cIntel \u505a\u624b\u673a\u82af\u662f\u5426\u4f1a\u81ed\u540d\u662d\u8457\u4e5f\u672a\u53ef\u77e5\uff09"),(0,r.yg)("p",null,"\u548c Intel \u516c\u53f8\u4e0d\u540c\uff0c ARM \u516c\u53f8\u4e0d\u5236\u9020\uff0c\u4e0d\u9500\u552e\u82af\u7247\uff0c\u800c\u662f\u53ea\u81ea\u5df1\u8bbe\u8ba1 IP \u6838\uff0c\u5305\u62ec\u6307\u4ee4\u96c6\u67b6\u6784\u3001\u5fae\u5904\u7406\u5668\u3001GPU\u3001\u4e92\u8fde\u67b6\u6784\u7b49\uff0c\u7136\u540e\u8c01\u60f3\u7528\u5c31\u6388\u6743\u5356\u7ed9\u8c01\uff0c\u518d\u4ece\u6bcf\u9897\u5b9e\u9645\u9020\u51fa\u6765\u7684\u4ea7\u54c1\u4e2d\u6536\u53d6\u7248\u7a0e\u3002ARM \u6709\u4e09\u79cd\u6388\u6743\u6a21\u5f0f\uff0c\u5206\u522b\u662f\u67b6\u6784\u6388\u6743\u3001\u5185\u6838\u6388\u6743\u3001\u4f7f\u7528\u6388\u6743\uff0c\u5206\u522b\u5bf9\u5e94\u5927\u4e2d\u5c0f\u516c\u53f8\uff0c\u975e\u5e38\u8ba8\u559c\uff0c\u8d34\u4e2a\u724c\u5b50\u5c31\u80fd\u8bf4\u662f\u81ea\u5df1\u7684 CPU\uff0c\u4e3a ARM \u5904\u7406\u5668\u7684\u5e7f\u6cdb\u4f7f\u7528\u6253\u4e0b\u575a\u5b9e\u57fa\u7840\u3002"),(0,r.yg)("p",null,"ARM \u7684\u6210\u529f\u9664\u4e86\u5546\u4e1a\u6a21\u5f0f\u7684\u72ec\u7279\u4e4b\u5916\u8fd8\u5c11\u4e0d\u5f97\u81ea\u8eab\u7d20\u8d28\u7684\u4f18\u79c0\uff0cIntel \u6280\u672f\u6beb\u65e0\u7591\u95ee\u662f\u9876\u5c16\u7684\uff0c\u4f46\u5e94\u7528\u573a\u666f\u5728\u4f20\u7edf PC \u4e0a\uff0c\u6362\u6210\u79fb\u52a8\u8bbe\u5907\u5c31\u884c\u4e0d\u901a\u4e86\uff0c\u79fb\u52a8\u8bbe\u5907\u6bd4\u8d77\u6027\u80fd\u9996\u5148\u8981\u8003\u8651\u529f\u8017\u548c\u7eed\u822a\uff0cIntel \u5c31\u5403\u4e86\u8fd9\u4e2a\u5927\u4e8f\uff0cX86 \u67b6\u6784\u72ec\u6b65\u5929\u4e0b\u80af\u5b9a\u662f\u4e0d\u80fd\u968f\u610f\u53d8\u6539\u7684\uff0c\u79fb\u52a8\u8bbe\u5907\u5f53\u7136\u7ee7\u7eed\u6cbf\u7528 X86 \u67b6\u6784\uff0c\u7136\u800c\u6362\u6765\u5374\u662f\u9ad8\u529f\u8017\u548c\u5feb\u901f\u6389\u7535\uff0c\u6362\u8c01\u90fd\u770b\u4e0d\u4e0a\u3002\u53cd\u4e4b\u529f\u8017\u63a7\u5236\u5219\u662f ARM \u7684\u5f3a\u9879\uff0c\u4f7f\u7528\u7cbe\u7b80\u6307\u4ee4\u96c6\uff08RISC\uff09\u548c\u521b\u65b0\u7684 big.LITTLE \u67b6\u6784\uff0c\u4f7f ARM \u5904\u7406\u5668\u80fd\u8017\u6bd4\u4e00\u76f4\u9886\u5148\u4e8e Intel\u3002"),(0,r.yg)("p",null,"Intel \u6b63\u5728\u79ef\u6781\u5e03\u5c40\uff0c\u63a8\u51fa\u5e94\u7528\u4e8e IoT \u7269\u8054\u7f51\u7684 Atom E3900 \u53ca\u8f66\u8f7d\u7535\u5b50\u7684 Atom A3900 \u7cfb\u5217\uff0c\u53f7\u79f0 CPU \u6027\u80fd\u63d0\u5347 70%\uff0cGPU \u6027\u80fd\u63d0\u5347 190%\uff0c\u5176\u4e2d Atom A3900 \u7279\u522b\u9488\u5bf9\u9ad8\u6e29\u73af\u5883\u8bbe\u8ba1\uff0c\u53ef\u5728 110\xb0C \u9ad8\u6e29\u4e0b\u4f7f\u7528 15 \u5e74\u3002Intel \u662f\u4e00\u5bb6\u4f1f\u5927\u7684\u4f01\u4e1a\uff0c\u4f46\u4e5f\u662f\u4f1a\u72af\u9519\u8bef\u7684\uff0c\u65e2\u7136\u5df2\u7ecf\u9519\u5931\u79fb\u52a8\u5e02\u573a\uff0c\u4e0d\u59a8\u6682\u65f6\u8131\u79bb\uff0c\u63d0\u524d\u505a\u597d\u4e0b\u4e00\u9636\u6bb5\u7684\u6280\u672f\u7814\u53d1\uff085G\uff09\uff0c\u4e5f\u6709\u53ef\u80fd\u5b9e\u73b0\u5f2f\u9053\u8d85\u8f66\u3002"),(0,r.yg)("h3",{id:"\u64cd\u4f5c\u7cfb\u7edf"},"\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\uff08Operating System\uff0cOS\uff09\u662f\u4e00\u7ec4\u4e3b\u7ba1\u5e76\u63a7\u5236\u8ba1\u7b97\u673a\u64cd\u4f5c\u3001\u8fd0\u7528\u548c\u8fd0\u884c\u786c\u4ef6\u3001\u8f6f\u4ef6\u8d44\u6e90\u548c\u63d0\u4f9b\u516c\u5171\u670d\u52a1\u6765\u7ec4\u7ec7\u7528\u6237\u4ea4\u4e92\u7684\u76f8\u4e92\u5173\u8054\u7684\u7cfb\u7edf\u8f6f\u4ef6\u7a0b\u5e8f\u3002\u6839\u636e\u8fd0\u884c\u7684\u73af\u5883\uff0c\u64cd\u4f5c\u7cfb\u7edf\u53ef\u4ee5\u5206\u4e3a\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf\uff0c\u624b\u673a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf\u7b49\u3002"),(0,r.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u80fd\u7ba1\u7406\u8ba1\u7b97\u673a\u7cfb\u7edf\u7684\u786c\u4ef6\u3001\u8f6f\u4ef6\u53ca\u6570\u636e\u8d44\u6e90\uff0c\u63a7\u5236\u7a0b\u5e8f\u8fd0\u884c\uff0c\u6539\u5584\u4eba\u673a\u754c\u9762\uff0c\u4e3a\u5176\u5b83\u5e94\u7528\u8f6f\u4ef6\u63d0\u4f9b\u652f\u6301\uff0c\u5e76\u4f7f\u8ba1\u7b97\u673a\u7cfb\u7edf\u6240\u6709\u8d44\u6e90\u6700\u5927\u9650\u5ea6\u5730\u53d1\u6325\u4f5c\u7528\u3002\u64cd\u4f5c\u7cfb\u7edf\u4e3b\u8981\u529f\u80fd\u5305\u62ec\uff1a\u8fdb\u7a0b\u7ba1\u7406\u3001\u5b58\u50a8\u7ba1\u7406\u3001\u8bbe\u5907\u7ba1\u7406\u3001\u6587\u4ef6\u7ba1\u7406\u3001\u4f5c\u4e1a\u7ba1\u7406\u7b49\u3002"),(0,r.yg)("h4",{id:"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf"},"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("p",null,"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf\u4e3b\u8981\u7528\u4e8e\u4e2a\u4eba\u8ba1\u7b97\u673a\u4e0a\u3002\u4e2a\u4eba\u8ba1\u7b97\u673a\u5e02\u573a\u4ece\u786c\u4ef6\u67b6\u6784\u4e0a\u6765\u8bf4\u4e3b\u8981\u5206\u4e3a\u4e24\u5927\u9635\u8425\uff0cPC \u673a\u4e0e Mac \u673a\uff0c\u4ece\u8f6f\u4ef6\u4e0a\u53ef\u4e3b\u8981\u5206\u4e3a\u4e24\u5927\u7c7b\uff0c\u5206\u522b\u4e3a\u7c7b Unix \u64cd\u4f5c\u7cfb\u7edf\u548c Windows \u64cd\u4f5c\u7cfb\u7edf\uff1a"),(0,r.yg)("p",null,"1\u3001Unix \u548c\u7c7b Unix \u64cd\u4f5c\u7cfb\u7edf\uff1aMac OS X\uff0cLinux \u53d1\u884c\u7248\uff08\u5982 Debian\uff0cUbuntu\uff0cLinux Mint\uff0copenSUSE\uff0cFedora \u7b49\uff09\uff1b"),(0,r.yg)("p",null,"2\u3001\u5fae\u8f6f\u516c\u53f8 Windows \u64cd\u4f5c\u7cfb\u7edf \uff1aWindows XP\uff0cWindows Vista\uff0cWindows 7\uff0cWindows 8\uff0cWindows 8.1\uff0cWindows 10\uff0cWindows 11 \u7b49\u3002"),(0,r.yg)("h4",{id:"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf"},"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("p",null,"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u4e00\u822c\u6307\u7684\u662f\u5b89\u88c5\u5728\u5927\u578b\u8ba1\u7b97\u673a\u4e0a\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6bd4\u5982 Web \u670d\u52a1\u5668\u3001\u5e94\u7528\u670d\u52a1\u5668\u548c\u6570\u636e\u5e93\u670d\u52a1\u5668\u7b49\u3002\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u4e3b\u8981\u96c6\u4e2d\u5728\u4e09\u5927\u7c7b\uff1a"),(0,r.yg)("p",null,"1\u3001Unix \u7cfb\u5217\uff1aSUNSolaris\uff0cIBM-AIX\uff0cHP-UX\uff0cFreeBSD \u7b49\uff1b"),(0,r.yg)("p",null,"2\u3001Linux \u7cfb\u5217\uff1aRed Hat Linux\uff0cCentOS\uff0cDebian\uff0cUbuntu \u7b49\uff1b"),(0,r.yg)("p",null,"3\u3001Windows \u7cfb\u5217\uff1aWindows Server 2003\uff0cWindows Server 2008\uff0cWindows Server 2008 R2 \u7b49\u3002"),(0,r.yg)("h4",{id:"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf"},"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("p",null,"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf\u662f\u5e94\u7528\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5e7f\u6cdb\u5e94\u7528\u5728\u751f\u6d3b\u7684\u5404\u4e2a\u65b9\u9762\uff0c\u6db5\u76d6\u8303\u56f4\u4ece\u4fbf\u643a\u8bbe\u5907\u5230\u5927\u578b\u56fa\u5b9a\u8bbe\u65bd\uff0c\u5982\u6570\u7801\u76f8\u673a\u3001\u624b\u673a\u3001\u5e73\u677f\u7535\u8111\u3001\u5bb6\u7528\u7535\u5668\u3001\u533b\u7597\u8bbe\u5907\u3001\u4ea4\u901a\u706f\u3001\u822a\u7a7a\u7535\u5b50\u8bbe\u5907\u548c\u5de5\u5382\u63a7\u5236\u8bbe\u5907\u7b49\uff0c\u8d8a\u6765\u8d8a\u591a\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5b89\u88c5\u6709\u5b9e\u65f6\u64cd\u4f5c\u7cfb\u7edf\u3002"),(0,r.yg)("p",null,"\u5728\u5d4c\u5165\u5f0f\u9886\u57df\u5e38\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u6709\u5d4c\u5165\u5f0f Linux\u3001Windows Embedded\u3001VxWorks \u7b49\uff0c\u4ee5\u53ca\u5e7f\u6cdb\u4f7f\u7528\u5728\u667a\u80fd\u624b\u673a\u6216\u5e73\u677f\u7535\u8111\u7b49\u6d88\u8d39\u7535\u5b50\u4ea7\u54c1\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5982 Android\u3001iOS\u3001Symbian\u3001Windows Phone \u548c BlackBerry OS \u7b49\u3002"),(0,r.yg)("h3",{id:"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u7684\u539f\u7406\u5206\u6790"},"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u7684\u539f\u7406\u5206\u6790"),(0,r.yg)("p",null,"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u5185\u5bb9\u53ef\u4ee5\u5206\u4e24\u7c7b\uff0c\u4e00\u662f CPU \u7684\u6307\u4ee4\uff0c\u4e8c\u662f\u64cd\u4f5c\u7cfb\u7edf\u7684\u7cfb\u7edf\u8c03\u7528\uff0c\u51e0\u4e4e\u6240\u6709\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u90fd\u662f\u8fd0\u884c\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u4e0a\u7684\uff0c\u7531\u64cd\u4f5c\u7cfb\u7edf\u6765\u7edf\u4e00\u8c03\u5ea6\u53ef\u6267\u884c\u7a0b\u5e8f\u7684\u6267\u884c\u5185\u5bb9\u3002"),(0,r.yg)("p",null,"\u8bf4\u5230\u53ef\u6267\u884c\u7a0b\u5e8f\uff0c\u5fc5\u987b\u5f97\u8bf4\u4e00\u4e0b\uff0c\u5e94\u7528\u7a0b\u5e8f\u4e8c\u8fdb\u5236\u63a5\u53e3 ABI\uff0c\uff08Application Binary Interface\uff09\uff0cABI \u662f\u7f16\u8bd1\u5668\u548c\u94fe\u63a5\u5668\u9075\u5b88\u7684\u4e00\u7ec4\u89c4\u5219\uff0c\u4ee5\u8ba9\u7f16\u8bd1\u540e\u7684\u7a0b\u5e8f\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002"),(0,r.yg)("p",null,"\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u5bf9 ABI \u7684\u8981\u6c42\u4e0d\u4e00\u6837\uff0c\u4f8b\u5982 Linux \u8981\u6c42 ELF \u683c\u5f0f\uff0cWindows \u8981\u6c42 PE \u683c\u5f0f\u3002"),(0,r.yg)("p",null,"\u7b80\u5355\u6765\u8bf4\uff0cABI \u5c31\u662f\u63cf\u8ff0\u51fd\u6570\u540d\u5982\u4f55\u5b58\u50a8\uff0c\u51fd\u6570\u53c2\u6570\u7c7b\u578b\u5982\u4f55\u5b58\u50a8\u7684\u63a5\u53e3\u3002"),(0,r.yg)("p",null,"\u4e00\u4e2a\u7a0b\u5e8f\u8981\u60f3\u8c03\u7528\u5176\u5b83\u7a0b\u5e8f\u7f16\u8bd1\u51fa\u6765\u7684\u51fd\u6570\uff0c\u90a3\u4e48\u5c31\u5fc5\u987b\u77e5\u9053\u5176 ABI \u63a5\u53e3\u3002"),(0,r.yg)("p",null,"C \u8bed\u8a00\u5177\u6709\u4f18\u79c0\u7684 ABI \u517c\u5bb9\uff0c\u56e0\u4e3a\u4e3b\u6d41 C \u7f16\u8bd1\u5668\u7f16\u8bd1\u51fa\u6765\u7684\u51fd\u6570\uff0cABI \u63a5\u53e3\u5927\u90fd\u76f8\u540c\uff0c\u6240\u4ee5\u7528 C \u8bed\u8a00\u5199\u7684\u5e93\u80fd\u65b9\u4fbf\u7684\u88ab\u5176\u5b83\u7a0b\u5e8f\u8c03\u7528\u3002"),(0,r.yg)("p",null,"C++\u4e00\u822c\u4e0d\u5177\u6709\u5f88\u597d\u7684 ABI \u517c\u5bb9\uff0c\u56e0\u4e3a\u6bcf\u4e2a C++\u7f16\u8bd1\u5668\u7f16\u8bd1\u51fa\u6765\u7684\u63a5\u53e3\u53ef\u80fd\u4e0d\u540c\uff0c\u5bfc\u81f4\u4e86\u4f60\u65e0\u6cd5\u8c03\u7528\u5176\u5b83\u4eba\u7528 C++\u63a5\u53e3\u63d0\u4f9b\u7684\u5e93\u51fd\u6570\u3002\u6240\u4ee5 C++\u51fd\u6570\u5f80\u5f80\u5f3a\u5236\u4f7f\u7528 C \u7684 ABI \u7528\u4e8e\u7ed9\u5176\u5b83\u7a0b\u5e8f\u8c03\u7528\u3002"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u628a\u7b26\u53f7\u6807\u51c6\u3001\u53d8\u91cf\u5185\u5b58\u5e03\u5c40\u3001\u51fd\u6570\u8c03\u7528\u65b9\u5f0f\u7b49\u8ddf\u53ef\u6267\u884c\u4ee3\u7801\u4e8c\u8fdb\u5236\u517c\u5bb9\u6027\u76f8\u5173\u7684\u5185\u5bb9\u79f0\u4e3a ABI Application Binary Interface"),(0,r.yg)("li",{parentName:"ul"},"\u5e94\u7528\u7a0b\u5e8f\u4e8c\u8fdb\u5236\u63a5\u53e3\uff0c\u63cf\u8ff0\u4e86\u5e94\u7528\u7a0b\u5e8f\u548c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\uff0c\u4e00\u4e2a\u5e94\u7528\u548c\u5b83\u7684\u5e93\u4e4b\u95f4\uff0c\u6216\u8005\u5e94\u7528\u7684\u7ec4\u6210\u90e8\u5206\u4e4b\u95f4\u7684\u4f4e\u63a5\u53e3\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u7f16\u7a0b\u8bed\u8a00\u5b9e\u73b0\u7684 ABI \u662f\u4e00\u79cd\u53ef\u4ee5\u4f7f\u5355\u72ec\u7f16\u8bd1\u7684\u6a21\u5757\u534f\u540c\u5de5\u4f5c\u7684\u4f4e\u7ea7\u7ec6\u8282\u7684\u89c4\u8303\u3002\u5982\u679c\u6ca1\u6709\u4e00\u4e2a\u7a33\u5b9a\u7684 ABI\uff0c\u5c31\u5fc5\u987b\u4f7f\u7528\u540c\u4e00\u7f16\u8bd1\u5668\u7684\u540c\u4e00\u7248\u672c\u7f16\u8bd1\u7a0b\u5e8f\u7684\u6240\u6709\u90e8\u5206\u3002"),(0,r.yg)("li",{parentName:"ul"},"API \u662f\u6e90\u4ee3\u7801\u7ea7\u522b\u7684\u63a5\u53e3\uff0cABI \u662f\u4e8c\u8fdb\u5236\u5c42\u9762\u7684\u63a5\u53e3\uff0cABI \u7684\u517c\u5bb9\u7a0b\u5ea6\u6bd4 API \u66f4\u52a0\u4e25\u683c")),(0,r.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u90fd\u89c4\u5b9a\u4e86\u652f\u6301\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff08\u7a0b\u5e8f\uff09\u7684\u683c\u5f0f\u3002Windows \u4e0b\u6709 PE \u6587\u4ef6\u683c\u5f0f\uff0cLinux \u4e0b\u6709 ELF \u683c\u5f0f,Mac OS \u4e0b\u6709 Mach-O \u683c\u5f0f\u3002"),(0,r.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"ttps://www.zhihu.com/question/320884011/answer/2763905623"},"\u77e5\u4e4e-\u4e3a\u4ec0\u4e48 Linux \u539f\u751f\u4e0d\u80fd\u8fd0\u884c exe \u683c\u5f0f\u7684\u6587\u4ef6\uff1f"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7401],{15680:(e,n,l)=>{l.d(n,{xA:()=>y,yg:()=>d});var t=l(96540);function r(e,n,l){return n in e?Object.defineProperty(e,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[n]=l,e}function i(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,t)}return l}function a(e){for(var n=1;n=0||(r[l]=e[l]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}var o=t.createContext({}),p=function(e){var n=t.useContext(o),l=n;return e&&(l="function"==typeof e?e(n):a(a({},n),e)),l},y=function(e){var n=p(e.components);return t.createElement(o.Provider,{value:n},e.children)},c="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},P=t.forwardRef((function(e,n){var l=e.components,r=e.mdxType,i=e.originalType,o=e.parentName,y=u(e,["components","mdxType","originalType","parentName"]),c=p(l),P=r,d=c["".concat(o,".").concat(P)]||c[P]||s[P]||i;return l?t.createElement(d,a(a({ref:n},y),{},{components:l})):t.createElement(d,a({ref:n},y))}));function d(e,n){var l=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var i=l.length,a=new Array(i);a[0]=P;var u={};for(var o in n)hasOwnProperty.call(n,o)&&(u[o]=n[o]);u.originalType=e,u[c]="string"==typeof e?e:r,a[1]=u;for(var p=2;p{l.r(n),l.d(n,{assets:()=>o,contentTitle:()=>a,default:()=>s,frontMatter:()=>i,metadata:()=>u,toc:()=>p});var t=l(58168),r=(l(96540),l(15680));const i={},a="\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790",u={unversionedId:"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790",id:"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790",title:"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790",description:"\u67b6\u6784\uff0c\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790",source:"@site/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790.md",sourceDirName:"study/system",slug:"/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790",permalink:"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5185\u5b58\u7ba1\u7406",permalink:"/docs/study/system/\u5185\u5b58\u7ba1\u7406"},next:{title:"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",permalink:"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838"}},o={},p=[{value:"\u67b6\u6784\uff0c\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790",id:"\u67b6\u6784\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790",level:3},{value:"\u88f8\u673a",id:"\u88f8\u673a",level:3},{value:"x86 \u6307\u4ee4\u96c6\u53d1\u5c55",id:"x86-\u6307\u4ee4\u96c6\u53d1\u5c55",level:4},{value:"ARM \u67b6\u6784",id:"arm-\u67b6\u6784",level:4},{value:"MPIS \u67b6\u6784",id:"mpis-\u67b6\u6784",level:4},{value:"PowerPC \u7cfb\u5217",id:"powerpc-\u7cfb\u5217",level:4},{value:"SPARC \u67b6\u6784",id:"sparc-\u67b6\u6784",level:4},{value:"Alpha \u67b6\u6784",id:"alpha-\u67b6\u6784",level:4},{value:"CPU \u67b6\u6784\u4e4b\u95f4\u7684\u7ade\u4e89",id:"cpu-\u67b6\u6784\u4e4b\u95f4\u7684\u7ade\u4e89",level:3},{value:"PC \u548c\u670d\u52a1\u5668\u7ade\u4e89",id:"pc-\u548c\u670d\u52a1\u5668\u7ade\u4e89",level:4},{value:"\u79fb\u52a8\u7aef\u7ade\u4e89",id:"\u79fb\u52a8\u7aef\u7ade\u4e89",level:4},{value:"\u64cd\u4f5c\u7cfb\u7edf",id:"\u64cd\u4f5c\u7cfb\u7edf",level:3},{value:"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf",id:"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf",level:4},{value:"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf",id:"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf",level:4},{value:"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf",id:"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf",level:4},{value:"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u7684\u539f\u7406\u5206\u6790",id:"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u7684\u539f\u7406\u5206\u6790",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],y={toc:p},c="wrapper";function s(e){let{components:n,...l}=e;return(0,r.yg)(c,(0,t.A)({},y,l,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790"},"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790"),(0,r.yg)("h3",{id:"\u67b6\u6784\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790"},"\u67b6\u6784\uff0c\u4ece\u4e0b\u5f80\u4e0a\u5206\u6790"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u88f8\u673a\uff08\u7eaf\u786c\u4ef6\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u64cd\u4f5c\u7cfb\u7edf\uff08Windows/Linux\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u53ef\u6267\u884c\u7a0b\u5e8f")),(0,r.yg)("h3",{id:"\u88f8\u673a"},"\u88f8\u673a"),(0,r.yg)("p",null,"\u5176\u5b9e\u4e3b\u8981\u5c31\u662f CPU \u67b6\u6784\u7684\u4e0d\u540c\uff0cCPU \u67b6\u6784\u662f CPU \u5546\u7ed9 CPU \u4ea7\u54c1\u5b9a\u7684\u4e00\u4e2a\u89c4\u8303\uff0c\u4e3b\u8981\u76ee\u7684\u662f\u4e3a\u4e86\u533a\u5206\u4e0d\u540c\u7c7b\u578b\u7684 CPU\u3002\u76ee\u524d\u5e02\u573a\u4e0a\u7684 CPU \u5206\u7c7b\u4e3b\u8981\u5206\u6709\u4e24\u5927\u9635\u8425\uff0c\u4e00\u4e2a\u662f Intel\u3001AMD \u4e3a\u9996\u7684\u590d\u6742\u6307\u4ee4\u96c6 CPU\uff0c\u53e6\u4e00\u4e2a\u662f\u4ee5 IBM\u3001ARM \u4e3a\u9996\u7684\u7cbe\u7b80\u6307\u4ee4\u96c6 CPU\u3002\u4e0d\u540c\u54c1\u724c\u7684 CPU\uff0c\u5176\u4ea7\u54c1\u7684\u67b6\u6784\u4e5f\u4e0d\u76f8\u540c\uff0cIntel\u3001AMD \u7684 CPU \u662f X86 \u67b6\u6784\uff0cIBM \u516c\u53f8\u7684 CPU \u662f PowerPC \u67b6\u6784\uff0cARM \u516c\u53f8\u7684 CPU \u662f ARM \u67b6\u6784\uff0c\u56fd\u5185\u7684\u98de\u817e CPU \u4e5f\u662f ARM \u67b6\u6784\u3002\u6b64\u5916\u8fd8\u6709 MPIS \u67b6\u6784\u3001SPARC \u67b6\u6784\u3001Alpha \u67b6\u6784\u3002"),(0,r.yg)("h4",{id:"x86-\u6307\u4ee4\u96c6\u53d1\u5c55"},"x86 \u6307\u4ee4\u96c6\u53d1\u5c55"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"IA\uff1aIntel\uff08\u82f1\u7279\u5c14\uff09\u5904\u7406\u5668\u7684\u670d\u52a1\u5668\u79f0\u4e4b\u4e3a IA\uff08Intel Architecture\uff09\u67b6\u6784\u670d\u52a1\u5668"),(0,r.yg)("li",{parentName:"ul"},"IA-32\uff1a\u82f1\u7279\u5c14 32 \u4f4d\u4f53\u7cfb\u67b6\u6784\uff0cX86 \u4ece 16 \u4f4d\u5230 32 \u4f4d\u662f\u5728\u539f\u6709\u7684\u67b6\u6784\u57fa\u7840\u4e0a\u8fdb\u884c\u4fee\u6539\uff08Intel \u79f0\u4e4b\u4e3a IA-32\uff09"),(0,r.yg)("li",{parentName:"ul"},"x86-32\uff1a\u73b0\u5982\u4eca Intel \u628a x86-32 \u79f0\u4e3a IA-32"),(0,r.yg)("li",{parentName:"ul"},"x86-64 \u5206\u4e3a intel \u548c AMD"),(0,r.yg)("li",{parentName:"ul"},"AMD64\uff1ax86 \u67b6\u6784\u7684 64 \u4f4d\u62d3\u5c55\uff0c\u5411\u540e\u517c\u5bb9\u4e8e 16 \u4f4d\u53ca 32 \u4f4d\u7684 x86 \u67b6\u6784\u3002x64 \u4e8e 1999 \u5e74\u7531 AMD \u8bbe\u8ba1\uff0cAMD \u9996\u6b21\u516c\u5f00 64 \u4f4d\u96c6\u4ee5\u6269\u5c55\u7ed9 x86\uff0c\u79f0\u4e3a\u201cAMD64\u201d\uff0cAMD64 \u548c Intel64 \u57fa\u672c\u4e0a\u4e00\u81f4"),(0,r.yg)("li",{parentName:"ul"},"Intel64\uff1aEM64T\uff08Extended Memory 64 Technology\uff09\u6269\u5c55 64bit \u5185\u5b58\u6280\u672f\uff0c\u672c\u8d28\u4e0a\u548c AMD64 \u4e00\u6837\u90fd\u662f IA-32 \u7684\u589e\u5f3a\u7248\u672c\u3002"),(0,r.yg)("li",{parentName:"ul"},"IA-64\uff1a64 \u4f4d\u7684\u82f1\u7279\u5c14\u67b6\u6784\uff0c\u82f1\u7279\u5c14\u5b89\u817e\u67b6\u6784\uff08Intel Itanium architecture\uff09\uff0c\u4f7f\u7528\u5728 Itanium \u5904\u7406\u5668\u5bb6\u65cf\u4e0a\u7684 64 \u4f4d\u6307\u4ee4\u96c6\u67b6\u6784\uff0c\u7531\u82f1\u7279\u5c14\u516c\u53f8\u4e0e\u60e0\u666e\u516c\u53f8\u5171\u540c\u5f00\u53d1\u3002IA \u662f Intel Architecture\uff08\u82f1\u7279\u5c14\u67b6\u6784\uff09\u7684\u7f29\u5199\uff0c64 \u6307 64 \u4f4d\u7cfb\u7edf\u3002\u4f7f\u7528\u8fd9\u79cd\u67b6\u6784\u7684 CPU\uff0c\u5305\u62ec Itanium \u548c Itanium 2\u3002\u6b64\u67b6\u6784\u4e0e x86 \u53ca x86-64 \u5e76\u4e0d\u76f8\u5bb9\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4e0e\u8f6f\u4ef6\u9700\u4f7f\u7528 IA-64 \u4e13\u7528\u7248\u672c\u3002")),(0,r.yg)("h4",{id:"arm-\u67b6\u6784"},"ARM \u67b6\u6784"),(0,r.yg)("p",null,"ARM \u67b6\u6784\uff0c\u4e5f\u79f0\u4f5c\u8fdb\u9636\u7cbe\u7b80\u6307\u4ee4\u96c6\u673a\u5668\uff08Advanced RISC Machine\uff0c\u66f4\u65e9\u79f0\u4f5c\uff1aAcorn RISC Machine\uff09\uff0c\u662f\u4e00\u4e2a 32 \u4f4d\u7cbe\u7b80\u6307\u4ee4\u96c6\uff08RISC\uff09\u5904\u7406\u5668\u67b6\u6784\uff0c\u5176\u5e7f\u6cdb\u5730\u4f7f\u7528\u5728\u8bb8\u591a\u5d4c\u5165\u5f0f\u7cfb\u7edf\u8bbe\u8ba1\u3002\u7531\u4e8e\u8282\u80fd\u7684\u7279\u70b9\uff0cARM \u5904\u7406\u5668\u975e\u5e38\u9002\u7528\u4e8e\u884c\u52a8\u901a\u8baf\u9886\u57df\uff0c\u7b26\u5408\u5176\u4e3b\u8981\u8bbe\u8ba1\u76ee\u6807\u4e3a\u4f4e\u8017\u7535\u7684\u7279\u6027\u3002"),(0,r.yg)("p",null,"ARM \u6388\u6743\u65b9\u5f0f\uff1aARM \u516c\u53f8\u672c\u8eab\u5e76\u4e0d\u9760\u81ea\u6709\u7684\u8bbe\u8ba1\u6765\u5236\u9020\u6216\u51fa\u552e CPU \uff0c\u800c\u662f\u5c06\u5904\u7406\u5668\u67b6\u6784\u6388\u6743\u7ed9\u6709\u5174\u8da3\u7684\u5382\u5bb6\u3002"),(0,r.yg)("p",null,"\u56fd\u5916\u751f\u4ea7\u5382\u5546\uff1aTI \uff08\u5fb7\u5dde\u4eea\u5668\uff09\u3001Samsung\uff08\u4e09\u661f\uff09\u3001Freescale\uff08\u98de\u601d\u5361\u5c14\uff09\u3001Marvell\uff08\u9a6c\u7ef4\u5c14\uff09\u3001Nvidia\uff08\u82f1\u4f1f\u8fbe\uff09\u3001Qualcomm(\u9ad8\u901a\uff09\u3001STMicroelectronics(\u610f\u6cd5\u534a\u5bfc\u4f53\uff09\u3002"),(0,r.yg)("p",null,"\u56fd\u5185\u751f\u4ea7\u5382\u5546\uff1a\u534e\u4e3a\uff08\u6d77\u601d\u82af\u7247\uff09\u3001\u98de\u817e\uff08FT-1500\u3001FT2000-4 \u7b49 CPU \u82af\u7247\uff09\u3001\u5146\u6613\u521b\u65b0\uff08GD32 \u7cfb\u5217 MCU\uff0c\u53c2\u8003 STM32 \u7cfb\u5217\uff09\u3001\u745e\u82af\u5fae\uff08RK \u7cfb\u5217\u82af\u7247\uff09\u3001\u8054\u53d1\u79d1\uff08\u53f0\u6e7e\uff0c\u5929\u7391\u7cfb\u5217\uff09\u3002"),(0,r.yg)("h4",{id:"mpis-\u67b6\u6784"},"MPIS \u67b6\u6784"),(0,r.yg)("p",null,"MIPS \u662f\u4e16\u754c\u4e0a\u5f88\u6d41\u884c\u7684\u4e00\u79cd RISC \u5904\u7406\u5668\u3002MIPS \u6280\u672f\u516c\u53f8\u662f\u7f8e\u56fd\u8457\u540d\u7684\u82af\u7247\u8bbe\u8ba1\u516c\u53f8\uff0c\u5b83\u91c7\u7528\u7cbe\u7b80\u6307\u4ee4\u7cfb\u7edf\u8ba1\u7b97\u7ed3\u6784(RISC)\u6765\u8bbe\u8ba1\u82af\u7247\u3002"),(0,r.yg)("p",null,"MPIS \u67b6\u6784\u6388\u6743\u548c ARM \u67b6\u6784\u6388\u6743\u4e0d\u4e00\u6837\uff0cARM \u67b6\u6784\u6388\u6743\u7528\u6237\u57fa\u672c\u4e0d\u80fd\u81ea\u884c\u4fee\u6539\uff0c\u800c MPIS \u67b6\u6784\u6388\u6743\u540e\uff0c\u53ef\u4ee5\u81ea\u5df1\u4fee\u6539\u3002\u76ee\u524d MPIS \u53d1\u626c\u5149\u5927\u5bc4\u5e0c\u671b\u4e2d\u79d1\u9f99\u82af\u516c\u53f8\uff0c\u9f99\u82af\u5904\u7406\u5668\u4ece\u9f99\u82af 1 \u53f7\uff0c\u5230\u73b0\u5728\u7684\u9f99\u82af 3 \u53f7\u7cfb\u5217\u7684 3A4000\uff0cCPU \u7684\u6027\u80fd\u5df2\u7ecf\u5927\u5e45\u5ea6\u63d0\u9ad8\uff0c\u5728\u5b8c\u5168\u53ef\u4ee5\u80dc\u4efb\u65e5\u5e38\u529e\u516c\u6216\u8005\u4f5c\u4e3a\u7279\u6b8a\u7528\u9014\u7684\u670d\u52a1\u5668\u3002\u9f99\u82af CPU \u548c\u56fd\u4ea7\u7684\u98de\u817e\uff08FT\uff09\u5904\u7406\u5668\u5e76\u9a7e\u9f50\u9a71\uff0c\u53d1\u5c55\u6211\u56fd\u81ea\u4e3b\u53ef\u63a7 CPU\u3002"),(0,r.yg)("h4",{id:"powerpc-\u7cfb\u5217"},"PowerPC \u7cfb\u5217"),(0,r.yg)("p",null,"PowerPC \u662f\u4e00\u79cd\u7cbe\u7b80\u6307\u4ee4\u96c6\uff08RISC\uff09\u67b6\u6784\u7684\u4e2d\u592e\u5904\u7406\u5668\uff08CPU\uff09\uff0c\u5176\u57fa\u672c\u7684\u8bbe\u8ba1\u6e90\u81ea IBM\uff08\u56fd\u9645\u5546\u7528\u673a\u5668\u516c\u53f8\uff09\u7684 IBMPowerPC 601 \u5fae\u5904\u7406\u5668 POWER\uff08PerformanceOptimized With Enhanced RISC\uff1b\u300aIBM Connect \u7535\u5b50\u62a5\u300b2007 \u5e74 8 \u6708\u53f7\u8bd1\u4e3a\u201c\u589e\u5f3a RISC \u6027\u80fd\u4f18\u5316\u201d\uff09\u67b6\u6784\u3002\u4e8c\u5341\u4e16\u7eaa\u4e5d\u5341\u5e74\u4ee3\uff0cIBM(\u56fd\u9645\u5546\u7528\u673a\u5668\u516c\u53f8)\u3001Apple\uff08\u82f9\u679c\u516c\u53f8\uff09\u548c Motorola\uff08\u6469\u6258\u7f57\u62c9\uff09\u516c\u53f8\u5f00\u53d1 PowerPC \u82af\u7247\u6210\u529f\uff0c\u5e76\u5236\u9020\u51fa\u57fa\u4e8e PowerPC \u7684\u591a\u5904\u7406\u5668\u8ba1\u7b97\u673a\u3002PowerPC \u67b6\u6784\u7684\u7279\u70b9\u662f\u53ef\u4f38\u7f29\u6027\u597d\u3001\u65b9\u4fbf\u7075\u6d3b\u3002"),(0,r.yg)("p",null,"PowerPC \u5904\u7406\u5668\u6709\u5e7f\u6cdb\u7684\u5b9e\u73b0\u8303\u56f4\uff0c\u5305\u62ec\u4ece\u8bf8\u5982 Power4 \u90a3\u6837\u7684\u9ad8\u7aef\u670d\u52a1\u5668 CPU \u5230\u5d4c\u5165\u5f0f CPU \u5e02\u573a\uff08\u4efb\u5929\u5802 Gamecube \u4f7f\u7528\u4e86 PowerPC\uff09\u3002PowerPC \u5904\u7406\u5668\u6709\u975e\u5e38\u5f3a\u7684\u5d4c\u5165\u5f0f\u8868\u73b0\uff0c\u56e0\u4e3a\u5b83\u5177\u6709\u4f18\u5f02\u7684\u6027\u80fd\u3001\u8f83\u4f4e\u7684\u80fd\u91cf\u635f\u8017\u4ee5\u53ca\u8f83\u4f4e\u7684\u6563\u70ed\u91cf\u3002\u9664\u4e86\u8c61\u4e32\u884c\u548c\u4ee5\u592a\u7f51\u63a7\u5236\u5668\u90a3\u6837\u7684\u96c6\u6210 I/O\uff0c\u8be5\u5d4c\u5165\u5f0f\u5904\u7406\u5668\u4e0e\u201c\u53f0\u5f0f\u673a\u201dCPU \u5b58\u5728\u975e\u5e38\u663e\u8457\u7684\u533a\u522b\u3002"),(0,r.yg)("h4",{id:"sparc-\u67b6\u6784"},"SPARC \u67b6\u6784"),(0,r.yg)("p",null,"SPARC \u67b6\u6784\uff08Scalable Processor ARChitecture\uff0c\u53ef\u6269\u5c55\u5904\u7406\u5668\u67b6\u6784\uff09\u662f\u56fd\u9645\u4e0a\u6d41\u884c\u7684 RISC \u5904\u7406\u5668\u4f53\u7cfb\u67b6\u6784\u4e4b\u4e00\uff0cSPRAC \u5982\u4eca\u5df2\u53d1\u5c55\u6210\u4e3a\u4e00\u4e2a\u5f00\u653e\u7684\u6807\u51c6\uff0c\u4efb\u4f55\u673a\u6784\u6216\u4e2a\u4eba\u5747\u53ef\u7814\u7a76\u6216\u5f00\u53d1\u57fa\u4e8e SPRAC \u67b6\u6784\u7684\u4ea7\u54c1\uff0c\u800c\u65e0\u9700\u4ea4\u7eb3\u7248\u6743\u8d39\u3002SPARC \u5904\u7406\u5668\u67b6\u6784\u5177\u5907\u7cbe\u7b80\u6307\u4ee4\u96c6\uff08RISC\uff09\u3001\u652f\u6301 32 \u4f4d/64 \u4f4d\u6307\u4ee4\u7cbe\u5ea6\uff0c\u67b6\u6784\u8fd0\u884c\u7a33\u5b9a\u3001\u53ef\u6269\u5c55\u6027\u4f18\u826f\u3001\u4f53\u7cfb\u6807\u51c6\u5f00\u653e\u7b49\u7279\u70b9\u3002SPARC \u56e0\u6b64\u5f97\u4ee5\u8fc5\u901f\u53d1\u5c55\u58ee\u5927\uff0c\u5728\u73b0\u5728\u5df2\u7ecf\u6709\u5927\u7ea6 3 \u4e07\u591a\u4e2a\u6210\u529f\u7684\u5e94\u7528\u6848\u4f8b\u3002"),(0,r.yg)("p",null,"SPARCV7/V8 \u662f\u76ee\u524d\u5d4c\u5165\u5f0f\u63a7\u5236\u7cfb\u7edf\u5e38\u7528\u7684\u5904\u7406\u5668\u6807\u51c6\u7248\u672c\uff0c\u5e76\u5728\u822a\u5929\u8bbe\u5907\u7684\u7535\u5b50\u7cfb\u7edf\u4e2d\u5f97\u5230\u5e7f\u6cdb\u5e94\u7528\u3002\u7136\u800c\uff0cSPARC \u53ea\u662f\u4e00\u4e2a\u5904\u7406\u5668\u7684\u67b6\u6784\u6807\u51c6\uff0c\u5e76\u4e0d\u63d0\u4f9b\u73b0\u6210\u7684\u6e90\u7801\u6216 IP \u6838\uff0c\u5177\u4f53\u7684\u82af\u7247\u5b9e\u73b0\u8981\u7531\u5f00\u53d1\u8005\u53bb\u5b8c\u6210\u3002"),(0,r.yg)("h4",{id:"alpha-\u67b6\u6784"},"Alpha \u67b6\u6784"),(0,r.yg)("p",null,"\u76ee\u524d\u56fd\u5185\u91c7\u7528\u6b64\u67b6\u6784\u7684\u662f\u7533\u5fae\u8d85\u7b97\u5904\u7406\u5668\uff0c\u5f97\u76ca\u4e8e\u56fd\u5bb6\u7684\u652f\u6301\uff0c\u7533\u5a01\u5904\u7406\u5668\u5728\u519b\u961f\u5e94\u7528\u5e7f\u6cdb\u3002"),(0,r.yg)("h3",{id:"cpu-\u67b6\u6784\u4e4b\u95f4\u7684\u7ade\u4e89"},"CPU \u67b6\u6784\u4e4b\u95f4\u7684\u7ade\u4e89"),(0,r.yg)("h4",{id:"pc-\u548c\u670d\u52a1\u5668\u7ade\u4e89"},"PC \u548c\u670d\u52a1\u5668\u7ade\u4e89"),(0,r.yg)("p",null,"PC \u7aef\u548c\u670d\u52a1\u5668\u7aef\u662f X86 \u67b6\u6784\u7684\u5929\u4e0b\uff0c\u800c X86 \u67b6\u6784\u57fa\u672c\u662f\u4ee5 Intel \u4e3a\u9996\uff0cAMD \u4e3a\u8f85\u4e8c\u5206\u5929\u4e0b\u4e4b\u52bf\u3002\u56fd\u4ea7 CPU \u57fa\u672c\u53ea\u80fd\u7528\u5728\u519b\u5de5\u884c\u4e1a\u6216\u8005\u4e8b\u4e1a\u5355\u4f4d\u7b49\u3002\u5176\u5b9e\u8bf4\u6027\u80fd\uff0cpowerpc\uff0c\u53ef\u8c13\u662f\u9ad8\u51fa\u4e0d\u80dc\u5bd2\u3002\u786c\u4ef6\u65b9\u9762\uff0cPower \u7cfb\u7edf\u5728\u53ef\u9760\u6027\u3001\u53ef\u7528\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u7684\u65b9\u9762\u7684\u51fa\u8272\u8868\u73b0\u4f7f\u5f97 IBM \u4ece\u82af\u7247\u5230\u7cfb\u7edf\u6240\u8bbe\u8ba1\u7684\u6574\u673a\u65b9\u6848\u6709\u7740\u72ec\u6709\u7684\u4f18\u52bf\u3002Power \u67b6\u6784\u7684\u5904\u7406\u5668\u5728\u8d85\u7b97\u3001\u5927\u578b\u4f01\u4e1a\u7684 UNIX \u670d\u52a1\u5668\u7b49\u591a\u4e2a\u65b9\u9762\u5e94\u7528\u4e5f\u5341\u5206\u6210\u529f\u3002\u5728\u8f6f\u4ef6\u65b9\u9762\uff0c\u5176\u4e13\u7528\u7684 AIX \u7cfb\u7edf\u5728\u7a33\u5b9a\u6027\u3001\u8f6f\u4ef6\u65b9\u6848\u96c6\u6210\u5ea6\u548c\u5382\u5546\u6280\u672f\u652f\u6301\u80fd\u529b\u65b9\u9762\u90fd\u8981\u66f4\u5f3a\u3002\u7531\u4e8e\u7528\u6237\u9009\u4e00\u5e73\u53f0\u4e3b\u8981\u770b\u8f6f\u4ef6\u9700\u6c42\uff0c\u4e00\u822c\u5bf9\u6570\u636e\u4fdd\u62a4\u548c 7","*","24 \u5c0f\u65f6\u4e0d\u5b95\u673a\u7b49\u6709\u6240\u8981\u6c42\uff0cpower \u67b6\u6784\u7684\u7a33\u5b9a\u6027\u548c\u8fd0\u7ef4\u7b49\u65b9\u9762\u76f8\u5bf9\u66f4\u4f18\u3002\u4f46\u662f\uff0c\u7531\u4e8e IBM \u7684\u6280\u672f\u628a\u63a7\uff0c\u4f7f\u5f97\u5176\u4ef7\u683c\u592a\u4e0d\u53cb\u597d\uff0c\u540c\u65f6\u6280\u672f\u4e5f\u8d76\u4e0d\u4e0a\u73af\u5883\u7684\u53d8\u5316\uff0c\u5728\u4e91\u8ba1\u7b97\u5174\u8d77\u540e\uff0c\u968f\u7740\u5206\u5e03\u5f0f\u7cfb\u7edf\u9010\u6e10\u6210\u719f\uff0c\u7cfb\u7edf\u5bf9\u5c0f\u578b\u673a\u7684\u4f9d\u8d56\u5f00\u59cb\u964d\u4f4e\uff0c\u6539\u4e3a\u4f9d\u9760\u96c6\u7fa4\u63d0\u4f9b\uff0c\u6027\u80fd\u4e5f\u53ef\u5b9e\u73b0\u5206\u5e03\u5f0f\u5904\u7406\u3002\u800c\u66f4\u4e3a\u5173\u952e\u7684\u662f\uff0cIBM \u7684\u5168\u5957\u670d\u52a1\u5c3d\u7ba1\u7a33\u5b9a\u6027\u4f18\u79c0\uff0c\u4f46\u5374\u5f71\u54cd\u4e86 Power \u67b6\u6784\u5bf9\u5176\u4ed6\u5546\u5bb6\u7684\u5438\u5f15\u529b\u3002"),(0,r.yg)("p",null,"\u800c Sparc \u67b6\u6784\u548c Power \u67b6\u6784\u57fa\u672c\u72af\u4e86\u540c\u6837\u7684\u9519\u8bef\uff1a\u4ef7\u683c\u4e0d\u53cb\u597d\u3002SPARC \u67b6\u6784\u6d4b\u6210\u529f\u548c Sun \u65d7\u4e0b\u7684 Solaris \u7cfb\u7edf\u6709\u7740\u5bc6\u4e0d\u53ef\u5206\u7684\u5173\u7cfb\u3002\u5f53\u8ba1\u7b97\u673a\u7cfb\u7edf\u5e9e\u5927\u3001\u7528\u6237\u6570\u91cf\u5de8\u5927\u589e\u52a0\u65f6\uff0c\u57fa\u4e8e Unix \u64cd\u4f5c\u7cfb\u7edf\u6253\u9020\u7684 Solaris \u80fd\u66f4\u597d\u5730\u5229\u7528\u8ba1\u7b97\u673a\u8d44\u6e90\uff0c\u662f\u6240\u6709\u5546\u4e1a\u7248\u4e2d\u6700\u53ef\u9760\u6700\u5b8c\u5584\u7684\u7248\u672c\u3002\u800c\u4f9d\u8d56 SPARC \u67b6\u6784\u548c Solaris \u7cfb\u7edf\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\uff0c\u5176\u5360\u9886\u4e86\u670d\u52a1\u5668\u9ad8\u7aef\u5e02\u573a\u3002Sun \u7684\u53e6\u4e00\u4e2a\u66f4\u4e3a\u77e5\u540d\u7684\u4ea7\u54c1\u662f Java\uff0c\u867d\u7136\u5728\u4e0a\u4e16\u7eaa 90 \u5e74\u4ee3\u4e3a\u667a\u80fd\u5bb6\u7535\u5f00\u53d1\u7684 Java \u5e76\u6ca1\u6709\u4e3a\u5176\u5e26\u6765\u76f8\u5e94\u7684\u56de\u62a5\uff0c\u4f46\u5df2\u6210\u4e3a\u4eca\u5929\u79fb\u52a8\u65f6\u4ee3\u6700\u91cd\u8981\u7684\u5f00\u53d1\u8bed\u8a00\u3002\u5982\u6b64\u5f3a\u5927\u7684\u5b9e\u529b\u672c\u5e94\u7edf\u9886\u670d\u52a1\u5668\u5e02\u573a\uff0c\u4f46\u9057\u61be\u7684\u662f\uff0c\u5728 windows \u548c\u82f1\u7279\u5c14\u7ec4\u6210 Wintel \u8054\u76df\u4e4b\u540e\uff0c\u4e24\u8005\u51ed\u501f\u81ea\u8eab\u5728\u5404\u81ea\u5e02\u573a\u7684\u89c4\u6a21\u6548\u5e94\uff0c\u4f7f\u5f97\u91c7\u7528 Wintel \u4ea7\u54c1\u7684\u670d\u52a1\u5668\u5382\u5546\u53ef\u4ee5\u901a\u8fc7\u4f4e\u5ec9\u7684\u4ef7\u683c\u5927\u8086\u62a2\u5360\u4e2d\u4f4e\u7aef\u5e02\u573a\u3002\u800c\u5f53 Sun \u9192\u609f\u8fc7\u6765\uff0c\u901a\u8fc7\u5f00\u6e90\u7b49\u65b9\u5f0f\u60f3\u8981\u633d\u56de\u8d25\u5c40\u65f6\u4e3a\u65f6\u5df2\u665a\u3002"),(0,r.yg)("p",null,"X86 \u67b6\u6784\u4e0e Power \u548c SPARC \u5728\u9ad8\u6027\u80fd\u9886\u57df\u7684\u98ce\u751f\u6c34\u8d77\u4e0d\u540c\uff0cx86 \u67b6\u6784\u662f\u5929\u751f\u7684\u5c0f\u5c4c\u4e1d\u30021978 \u5e74\u4ed6\u51fa\u751f\u7684\u90a3\u5e74\uff0c\u82f1\u7279\u5c14\u8fd8\u53ea\u662f\u4e00\u4e2a\u666e\u901a\u7684\u79d1\u6280\u516c\u53f8\u3002\u53ef\u662f x86 \u67b6\u6784\u968f\u540c\u5176 cisc \u6307\u4ee4\u96c6\u5374\u5f00\u542f\u4e86\u4e00\u4e2a\u65b0\u7684\u65f6\u4ee3\u3002x86 \u4e4b\u6240\u4ee5\u53ef\u4ee5\u8d62\u5f97\u5e02\u573a\u4e3b\u8981\u539f\u56e0\u5728\u4e8e\u5176\u662f\u4e00\u4e2a\u5341\u5206\u5f00\u653e\u7684\u67b6\u6784\u3002IBM \u548c SUN \u5f53\u5e74\u90fd\u662f\u4ece\u82af\u7247\u5230\u670d\u52a1\u5668\u5230\u7cfb\u7edf\u4e00\u624b\u5305\u529e\u7684\u516c\u53f8\u3002\u800c\u82f1\u7279\u5c14\u5219\u662f\u4e00\u4e2a\u5341\u5206\u7eaf\u7cb9\u7684\u82af\u7247\u5382\u5546\uff0c\u5176\u4e1a\u52a1\u4ec5\u4e0e AMD \u7b49\u5c11\u6570\u82af\u7247\u751f\u4ea7\u8005\u5b58\u5728\u7ade\u4e89\uff0c\u8fd9\u5c31\u4f7f\u5f97\u670d\u52a1\u5668\u5382\u5546\u4e0d\u7528\u5fcc\u60ee\u4e0e\u4e4b\u53d1\u751f\u7ade\u4e89\u5173\u7cfb\u3002"),(0,r.yg)("p",null,'\u5355\u4ece\u6027\u80fd\u6765\u770b\uff0c\u65e0\u8bba Power \u8fd8\u662f SPARC \u67b6\u6784\u90fd\u53ef\u4ee5\u51fb\u6e83 x86\uff0c\u53ef\u662f\u6700\u7ec8\u80fd\u591f\u8d62\u4e0b\u6765\u7684\u5374\u504f\u504f\u662f"\u6700\u5f31"\u7684 x86 \u67b6\u6784\u3002\u8fd9\u5e76\u975e\u52a3\u5e01\u6dd8\u6c70\u826f\u5e01\uff0c\u800c\u662f\u5e02\u573a\u7ade\u4e89\u7684\u9009\u62e9\uff0c\u6839\u6e90\u4e0a\u8bb2\uff0cx86 \u7684\u6210\u529f\u5728\u4e8e\u82f1\u7279\u5c14\u6839\u672c\u4e0d\u78b0\u670d\u52a1\u5668\u3002\u56e0\u6b64\u4e0d\u8bba\u8bbe\u5907\u751f\u4ea7\u5546\u3001\u8f6f\u4ef6\u5f00\u53d1\u8005\u6216\u8005\u7cfb\u7edf\u5f00\u53d1\u8005\u90fd\u53ef\u4ee5\u4e0e\u4e0d\u5b58\u5728\u5229\u76ca\u7ade\u4e89\u5173\u7cfb\u7684\u82f1\u7279\u5c14\u5408\u4f5c\u3002\u53d7\u76ca\u4e8e\u6b64\uff0cx86 \u67b6\u6784\u7684\u517c\u5bb9\u6027\u4e5f\u8d8a\u53d1\u5f3a\u5927\uff0c\u751f\u6001\u4f53\u7cfb\u8d8a\u53d1\u5b8c\u5584\uff0c\u8fd9\u624d\u6210\u5c31\u4e86\u73b0\u5982\u4eca\u5e02\u573a\u5360\u6709\u7387\u8d85\u8fc7 90%\u7684\u4e00\u5bb6\u72ec\u5927\u5c40\u9762\uff0c\u82f1\u7279\u5c14\u4e5f\u501f\u52a9 x86 \u67b6\u6784\u4e00\u8dc3\u6210\u4e3a\u5168\u7403\u9876\u7ea7\u7684\u82af\u7247\u63d0\u4f9b\u5546\u3002'),(0,r.yg)("h4",{id:"\u79fb\u52a8\u7aef\u7ade\u4e89"},"\u79fb\u52a8\u7aef\u7ade\u4e89"),(0,r.yg)("p",null,"\u6b63\u5982 PC \u548c\u670d\u52a1\u5668\u7aef\u662f X86 \u7684\u5929\u4e0b\u4e00\u6837\uff0c\u79fb\u52a8\u7aef\u662f ARM \u7684\u5929\u4e0b\u3002Intel \u5728 CPU \u754c\u7684\u5927\u540d\uff0c\u53ef\u8c13\u5bb6\u55bb\u6237\u6653\uff0c\u4f46\u662f\u5728\u624b\u673a\u767b\u79fb\u52a8\u7aef\u5374\u96be\u4ee5\u770b\u5230\u82f1\u56fd ARM \u516c\u53f8\u80cc\u5f71\u3002\u5728 2006 \u5e74\uff0c\u81ea\u4ece AMD \u7684 64 \u4f4d\u5904\u7406\u5668\u53d1\u5e03\u4ee5\u6765\uff0cAMD \u6210\u529f\u9006\u88ad\u4e86 Intel\uff0c\u5e02\u573a\u5360\u6709\u7387\u5927\u5e45\u4e0a\u5347\uff0c\u800c Intel \u8001\u8fc8\u7684 P4 \u5904\u7406\u5668\u5219\u662f\u8179\u80cc\u53d7\u654c\uff0c\u5c3d\u5931\u6614\u65e5\u9738\u6c14\uff0c\u5e02\u573a\u8868\u73b0\u4e00\u8def\u8d70\u4f4e\u3002\u4e3a\u4e86\u7a33\u4f4f\u6295\u8d44\u4eba\u7684\u4fe1\u5fc3\uff0c\u6700\u597d\u7684\u505a\u6cd5\u81ea\u7136\u662f\u8ba9\u516c\u53f8\u6301\u7eed\u76c8\u5229\uff0c\u4e3a\u6b64 Intel \u8fdb\u884c\u5927\u89c4\u6a21\u7684\u91cd\u6574\uff0c\u5305\u62ec\u4e0a\u4efb\u65b0 CEO \u6b27\u5fb7\u5b81\u3001\u5927\u89c4\u6a21\u88c1\u5458\u3001\u4ee5\u53ca\u51fa\u552e XScale \u624b\u673a\u5904\u7406\u5668\u4e1a\u52a1\u3002\u6b63\u56e0\u4e3a\u8fd9\u4e2a\u4e3e\u63aa\uff0c\u4f7f\u5f97 Intel \u5230\u8fbe\u4e86\u4eba\u751f\u5dc5\u5cf0\uff0c\u4ece PC \u5e02\u573a\u6709\u8d5a\u7684\u94b5\u6ee1\u76c6\u6ee1\uff0c\u7136\u800c\u4e5f\u662f\u56e0\u4e3a\u6b64\uff0cIntel \u5ffd\u89c6\u4e86\u79fb\u52a8\u9886\u57df\u7684\u8fc5\u731b\u53d1\u5c55\u3002\uff08\u5f53\u5e74\uff0cIntel \u62d2\u7edd\u4e86\u4e54\u5e2e\u4e3b\u8fd8\u662f PPT \u7684 Iphone \u624b\u673a\uff0c\u4e0d\u7136\u662f\u5426\u5c31\u4f1a\u4e0d\u4e00\u6837\uff1f\u4f46\u662f\u60f3\u4e00\u4e0b Iphone X \u4f7f\u7528 Intel \u57fa\u5e26\uff0c\u4fe1\u53f7\u5dee\u7684\u8bdf\u75c5\uff0cIntel \u505a\u624b\u673a\u82af\u662f\u5426\u4f1a\u81ed\u540d\u662d\u8457\u4e5f\u672a\u53ef\u77e5\uff09"),(0,r.yg)("p",null,"\u548c Intel \u516c\u53f8\u4e0d\u540c\uff0c ARM \u516c\u53f8\u4e0d\u5236\u9020\uff0c\u4e0d\u9500\u552e\u82af\u7247\uff0c\u800c\u662f\u53ea\u81ea\u5df1\u8bbe\u8ba1 IP \u6838\uff0c\u5305\u62ec\u6307\u4ee4\u96c6\u67b6\u6784\u3001\u5fae\u5904\u7406\u5668\u3001GPU\u3001\u4e92\u8fde\u67b6\u6784\u7b49\uff0c\u7136\u540e\u8c01\u60f3\u7528\u5c31\u6388\u6743\u5356\u7ed9\u8c01\uff0c\u518d\u4ece\u6bcf\u9897\u5b9e\u9645\u9020\u51fa\u6765\u7684\u4ea7\u54c1\u4e2d\u6536\u53d6\u7248\u7a0e\u3002ARM \u6709\u4e09\u79cd\u6388\u6743\u6a21\u5f0f\uff0c\u5206\u522b\u662f\u67b6\u6784\u6388\u6743\u3001\u5185\u6838\u6388\u6743\u3001\u4f7f\u7528\u6388\u6743\uff0c\u5206\u522b\u5bf9\u5e94\u5927\u4e2d\u5c0f\u516c\u53f8\uff0c\u975e\u5e38\u8ba8\u559c\uff0c\u8d34\u4e2a\u724c\u5b50\u5c31\u80fd\u8bf4\u662f\u81ea\u5df1\u7684 CPU\uff0c\u4e3a ARM \u5904\u7406\u5668\u7684\u5e7f\u6cdb\u4f7f\u7528\u6253\u4e0b\u575a\u5b9e\u57fa\u7840\u3002"),(0,r.yg)("p",null,"ARM \u7684\u6210\u529f\u9664\u4e86\u5546\u4e1a\u6a21\u5f0f\u7684\u72ec\u7279\u4e4b\u5916\u8fd8\u5c11\u4e0d\u5f97\u81ea\u8eab\u7d20\u8d28\u7684\u4f18\u79c0\uff0cIntel \u6280\u672f\u6beb\u65e0\u7591\u95ee\u662f\u9876\u5c16\u7684\uff0c\u4f46\u5e94\u7528\u573a\u666f\u5728\u4f20\u7edf PC \u4e0a\uff0c\u6362\u6210\u79fb\u52a8\u8bbe\u5907\u5c31\u884c\u4e0d\u901a\u4e86\uff0c\u79fb\u52a8\u8bbe\u5907\u6bd4\u8d77\u6027\u80fd\u9996\u5148\u8981\u8003\u8651\u529f\u8017\u548c\u7eed\u822a\uff0cIntel \u5c31\u5403\u4e86\u8fd9\u4e2a\u5927\u4e8f\uff0cX86 \u67b6\u6784\u72ec\u6b65\u5929\u4e0b\u80af\u5b9a\u662f\u4e0d\u80fd\u968f\u610f\u53d8\u6539\u7684\uff0c\u79fb\u52a8\u8bbe\u5907\u5f53\u7136\u7ee7\u7eed\u6cbf\u7528 X86 \u67b6\u6784\uff0c\u7136\u800c\u6362\u6765\u5374\u662f\u9ad8\u529f\u8017\u548c\u5feb\u901f\u6389\u7535\uff0c\u6362\u8c01\u90fd\u770b\u4e0d\u4e0a\u3002\u53cd\u4e4b\u529f\u8017\u63a7\u5236\u5219\u662f ARM \u7684\u5f3a\u9879\uff0c\u4f7f\u7528\u7cbe\u7b80\u6307\u4ee4\u96c6\uff08RISC\uff09\u548c\u521b\u65b0\u7684 big.LITTLE \u67b6\u6784\uff0c\u4f7f ARM \u5904\u7406\u5668\u80fd\u8017\u6bd4\u4e00\u76f4\u9886\u5148\u4e8e Intel\u3002"),(0,r.yg)("p",null,"Intel \u6b63\u5728\u79ef\u6781\u5e03\u5c40\uff0c\u63a8\u51fa\u5e94\u7528\u4e8e IoT \u7269\u8054\u7f51\u7684 Atom E3900 \u53ca\u8f66\u8f7d\u7535\u5b50\u7684 Atom A3900 \u7cfb\u5217\uff0c\u53f7\u79f0 CPU \u6027\u80fd\u63d0\u5347 70%\uff0cGPU \u6027\u80fd\u63d0\u5347 190%\uff0c\u5176\u4e2d Atom A3900 \u7279\u522b\u9488\u5bf9\u9ad8\u6e29\u73af\u5883\u8bbe\u8ba1\uff0c\u53ef\u5728 110\xb0C \u9ad8\u6e29\u4e0b\u4f7f\u7528 15 \u5e74\u3002Intel \u662f\u4e00\u5bb6\u4f1f\u5927\u7684\u4f01\u4e1a\uff0c\u4f46\u4e5f\u662f\u4f1a\u72af\u9519\u8bef\u7684\uff0c\u65e2\u7136\u5df2\u7ecf\u9519\u5931\u79fb\u52a8\u5e02\u573a\uff0c\u4e0d\u59a8\u6682\u65f6\u8131\u79bb\uff0c\u63d0\u524d\u505a\u597d\u4e0b\u4e00\u9636\u6bb5\u7684\u6280\u672f\u7814\u53d1\uff085G\uff09\uff0c\u4e5f\u6709\u53ef\u80fd\u5b9e\u73b0\u5f2f\u9053\u8d85\u8f66\u3002"),(0,r.yg)("h3",{id:"\u64cd\u4f5c\u7cfb\u7edf"},"\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\uff08Operating System\uff0cOS\uff09\u662f\u4e00\u7ec4\u4e3b\u7ba1\u5e76\u63a7\u5236\u8ba1\u7b97\u673a\u64cd\u4f5c\u3001\u8fd0\u7528\u548c\u8fd0\u884c\u786c\u4ef6\u3001\u8f6f\u4ef6\u8d44\u6e90\u548c\u63d0\u4f9b\u516c\u5171\u670d\u52a1\u6765\u7ec4\u7ec7\u7528\u6237\u4ea4\u4e92\u7684\u76f8\u4e92\u5173\u8054\u7684\u7cfb\u7edf\u8f6f\u4ef6\u7a0b\u5e8f\u3002\u6839\u636e\u8fd0\u884c\u7684\u73af\u5883\uff0c\u64cd\u4f5c\u7cfb\u7edf\u53ef\u4ee5\u5206\u4e3a\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf\uff0c\u624b\u673a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf\u7b49\u3002"),(0,r.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u80fd\u7ba1\u7406\u8ba1\u7b97\u673a\u7cfb\u7edf\u7684\u786c\u4ef6\u3001\u8f6f\u4ef6\u53ca\u6570\u636e\u8d44\u6e90\uff0c\u63a7\u5236\u7a0b\u5e8f\u8fd0\u884c\uff0c\u6539\u5584\u4eba\u673a\u754c\u9762\uff0c\u4e3a\u5176\u5b83\u5e94\u7528\u8f6f\u4ef6\u63d0\u4f9b\u652f\u6301\uff0c\u5e76\u4f7f\u8ba1\u7b97\u673a\u7cfb\u7edf\u6240\u6709\u8d44\u6e90\u6700\u5927\u9650\u5ea6\u5730\u53d1\u6325\u4f5c\u7528\u3002\u64cd\u4f5c\u7cfb\u7edf\u4e3b\u8981\u529f\u80fd\u5305\u62ec\uff1a\u8fdb\u7a0b\u7ba1\u7406\u3001\u5b58\u50a8\u7ba1\u7406\u3001\u8bbe\u5907\u7ba1\u7406\u3001\u6587\u4ef6\u7ba1\u7406\u3001\u4f5c\u4e1a\u7ba1\u7406\u7b49\u3002"),(0,r.yg)("h4",{id:"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf"},"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("p",null,"\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf\u4e3b\u8981\u7528\u4e8e\u4e2a\u4eba\u8ba1\u7b97\u673a\u4e0a\u3002\u4e2a\u4eba\u8ba1\u7b97\u673a\u5e02\u573a\u4ece\u786c\u4ef6\u67b6\u6784\u4e0a\u6765\u8bf4\u4e3b\u8981\u5206\u4e3a\u4e24\u5927\u9635\u8425\uff0cPC \u673a\u4e0e Mac \u673a\uff0c\u4ece\u8f6f\u4ef6\u4e0a\u53ef\u4e3b\u8981\u5206\u4e3a\u4e24\u5927\u7c7b\uff0c\u5206\u522b\u4e3a\u7c7b Unix \u64cd\u4f5c\u7cfb\u7edf\u548c Windows \u64cd\u4f5c\u7cfb\u7edf\uff1a"),(0,r.yg)("p",null,"1\u3001Unix \u548c\u7c7b Unix \u64cd\u4f5c\u7cfb\u7edf\uff1aMac OS X\uff0cLinux \u53d1\u884c\u7248\uff08\u5982 Debian\uff0cUbuntu\uff0cLinux Mint\uff0copenSUSE\uff0cFedora \u7b49\uff09\uff1b"),(0,r.yg)("p",null,"2\u3001\u5fae\u8f6f\u516c\u53f8 Windows \u64cd\u4f5c\u7cfb\u7edf \uff1aWindows XP\uff0cWindows Vista\uff0cWindows 7\uff0cWindows 8\uff0cWindows 8.1\uff0cWindows 10\uff0cWindows 11 \u7b49\u3002"),(0,r.yg)("h4",{id:"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf"},"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("p",null,"\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u4e00\u822c\u6307\u7684\u662f\u5b89\u88c5\u5728\u5927\u578b\u8ba1\u7b97\u673a\u4e0a\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6bd4\u5982 Web \u670d\u52a1\u5668\u3001\u5e94\u7528\u670d\u52a1\u5668\u548c\u6570\u636e\u5e93\u670d\u52a1\u5668\u7b49\u3002\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u4e3b\u8981\u96c6\u4e2d\u5728\u4e09\u5927\u7c7b\uff1a"),(0,r.yg)("p",null,"1\u3001Unix \u7cfb\u5217\uff1aSUNSolaris\uff0cIBM-AIX\uff0cHP-UX\uff0cFreeBSD \u7b49\uff1b"),(0,r.yg)("p",null,"2\u3001Linux \u7cfb\u5217\uff1aRed Hat Linux\uff0cCentOS\uff0cDebian\uff0cUbuntu \u7b49\uff1b"),(0,r.yg)("p",null,"3\u3001Windows \u7cfb\u5217\uff1aWindows Server 2003\uff0cWindows Server 2008\uff0cWindows Server 2008 R2 \u7b49\u3002"),(0,r.yg)("h4",{id:"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf"},"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("p",null,"\u5d4c\u5165\u5f0f\u64cd\u4f5c\u7cfb\u7edf\u662f\u5e94\u7528\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5e7f\u6cdb\u5e94\u7528\u5728\u751f\u6d3b\u7684\u5404\u4e2a\u65b9\u9762\uff0c\u6db5\u76d6\u8303\u56f4\u4ece\u4fbf\u643a\u8bbe\u5907\u5230\u5927\u578b\u56fa\u5b9a\u8bbe\u65bd\uff0c\u5982\u6570\u7801\u76f8\u673a\u3001\u624b\u673a\u3001\u5e73\u677f\u7535\u8111\u3001\u5bb6\u7528\u7535\u5668\u3001\u533b\u7597\u8bbe\u5907\u3001\u4ea4\u901a\u706f\u3001\u822a\u7a7a\u7535\u5b50\u8bbe\u5907\u548c\u5de5\u5382\u63a7\u5236\u8bbe\u5907\u7b49\uff0c\u8d8a\u6765\u8d8a\u591a\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5b89\u88c5\u6709\u5b9e\u65f6\u64cd\u4f5c\u7cfb\u7edf\u3002"),(0,r.yg)("p",null,"\u5728\u5d4c\u5165\u5f0f\u9886\u57df\u5e38\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u6709\u5d4c\u5165\u5f0f Linux\u3001Windows Embedded\u3001VxWorks \u7b49\uff0c\u4ee5\u53ca\u5e7f\u6cdb\u4f7f\u7528\u5728\u667a\u80fd\u624b\u673a\u6216\u5e73\u677f\u7535\u8111\u7b49\u6d88\u8d39\u7535\u5b50\u4ea7\u54c1\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5982 Android\u3001iOS\u3001Symbian\u3001Windows Phone \u548c BlackBerry OS \u7b49\u3002"),(0,r.yg)("h3",{id:"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u7684\u539f\u7406\u5206\u6790"},"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u7684\u539f\u7406\u5206\u6790"),(0,r.yg)("p",null,"\u53ef\u6267\u884c\u7a0b\u5e8f\u6267\u884c\u5185\u5bb9\u53ef\u4ee5\u5206\u4e24\u7c7b\uff0c\u4e00\u662f CPU \u7684\u6307\u4ee4\uff0c\u4e8c\u662f\u64cd\u4f5c\u7cfb\u7edf\u7684\u7cfb\u7edf\u8c03\u7528\uff0c\u51e0\u4e4e\u6240\u6709\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u90fd\u662f\u8fd0\u884c\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u4e0a\u7684\uff0c\u7531\u64cd\u4f5c\u7cfb\u7edf\u6765\u7edf\u4e00\u8c03\u5ea6\u53ef\u6267\u884c\u7a0b\u5e8f\u7684\u6267\u884c\u5185\u5bb9\u3002"),(0,r.yg)("p",null,"\u8bf4\u5230\u53ef\u6267\u884c\u7a0b\u5e8f\uff0c\u5fc5\u987b\u5f97\u8bf4\u4e00\u4e0b\uff0c\u5e94\u7528\u7a0b\u5e8f\u4e8c\u8fdb\u5236\u63a5\u53e3 ABI\uff0c\uff08Application Binary Interface\uff09\uff0cABI \u662f\u7f16\u8bd1\u5668\u548c\u94fe\u63a5\u5668\u9075\u5b88\u7684\u4e00\u7ec4\u89c4\u5219\uff0c\u4ee5\u8ba9\u7f16\u8bd1\u540e\u7684\u7a0b\u5e8f\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002"),(0,r.yg)("p",null,"\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u5bf9 ABI \u7684\u8981\u6c42\u4e0d\u4e00\u6837\uff0c\u4f8b\u5982 Linux \u8981\u6c42 ELF \u683c\u5f0f\uff0cWindows \u8981\u6c42 PE \u683c\u5f0f\u3002"),(0,r.yg)("p",null,"\u7b80\u5355\u6765\u8bf4\uff0cABI \u5c31\u662f\u63cf\u8ff0\u51fd\u6570\u540d\u5982\u4f55\u5b58\u50a8\uff0c\u51fd\u6570\u53c2\u6570\u7c7b\u578b\u5982\u4f55\u5b58\u50a8\u7684\u63a5\u53e3\u3002"),(0,r.yg)("p",null,"\u4e00\u4e2a\u7a0b\u5e8f\u8981\u60f3\u8c03\u7528\u5176\u5b83\u7a0b\u5e8f\u7f16\u8bd1\u51fa\u6765\u7684\u51fd\u6570\uff0c\u90a3\u4e48\u5c31\u5fc5\u987b\u77e5\u9053\u5176 ABI \u63a5\u53e3\u3002"),(0,r.yg)("p",null,"C \u8bed\u8a00\u5177\u6709\u4f18\u79c0\u7684 ABI \u517c\u5bb9\uff0c\u56e0\u4e3a\u4e3b\u6d41 C \u7f16\u8bd1\u5668\u7f16\u8bd1\u51fa\u6765\u7684\u51fd\u6570\uff0cABI \u63a5\u53e3\u5927\u90fd\u76f8\u540c\uff0c\u6240\u4ee5\u7528 C \u8bed\u8a00\u5199\u7684\u5e93\u80fd\u65b9\u4fbf\u7684\u88ab\u5176\u5b83\u7a0b\u5e8f\u8c03\u7528\u3002"),(0,r.yg)("p",null,"C++\u4e00\u822c\u4e0d\u5177\u6709\u5f88\u597d\u7684 ABI \u517c\u5bb9\uff0c\u56e0\u4e3a\u6bcf\u4e2a C++\u7f16\u8bd1\u5668\u7f16\u8bd1\u51fa\u6765\u7684\u63a5\u53e3\u53ef\u80fd\u4e0d\u540c\uff0c\u5bfc\u81f4\u4e86\u4f60\u65e0\u6cd5\u8c03\u7528\u5176\u5b83\u4eba\u7528 C++\u63a5\u53e3\u63d0\u4f9b\u7684\u5e93\u51fd\u6570\u3002\u6240\u4ee5 C++\u51fd\u6570\u5f80\u5f80\u5f3a\u5236\u4f7f\u7528 C \u7684 ABI \u7528\u4e8e\u7ed9\u5176\u5b83\u7a0b\u5e8f\u8c03\u7528\u3002"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u628a\u7b26\u53f7\u6807\u51c6\u3001\u53d8\u91cf\u5185\u5b58\u5e03\u5c40\u3001\u51fd\u6570\u8c03\u7528\u65b9\u5f0f\u7b49\u8ddf\u53ef\u6267\u884c\u4ee3\u7801\u4e8c\u8fdb\u5236\u517c\u5bb9\u6027\u76f8\u5173\u7684\u5185\u5bb9\u79f0\u4e3a ABI Application Binary Interface"),(0,r.yg)("li",{parentName:"ul"},"\u5e94\u7528\u7a0b\u5e8f\u4e8c\u8fdb\u5236\u63a5\u53e3\uff0c\u63cf\u8ff0\u4e86\u5e94\u7528\u7a0b\u5e8f\u548c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\uff0c\u4e00\u4e2a\u5e94\u7528\u548c\u5b83\u7684\u5e93\u4e4b\u95f4\uff0c\u6216\u8005\u5e94\u7528\u7684\u7ec4\u6210\u90e8\u5206\u4e4b\u95f4\u7684\u4f4e\u63a5\u53e3\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u7f16\u7a0b\u8bed\u8a00\u5b9e\u73b0\u7684 ABI \u662f\u4e00\u79cd\u53ef\u4ee5\u4f7f\u5355\u72ec\u7f16\u8bd1\u7684\u6a21\u5757\u534f\u540c\u5de5\u4f5c\u7684\u4f4e\u7ea7\u7ec6\u8282\u7684\u89c4\u8303\u3002\u5982\u679c\u6ca1\u6709\u4e00\u4e2a\u7a33\u5b9a\u7684 ABI\uff0c\u5c31\u5fc5\u987b\u4f7f\u7528\u540c\u4e00\u7f16\u8bd1\u5668\u7684\u540c\u4e00\u7248\u672c\u7f16\u8bd1\u7a0b\u5e8f\u7684\u6240\u6709\u90e8\u5206\u3002"),(0,r.yg)("li",{parentName:"ul"},"API \u662f\u6e90\u4ee3\u7801\u7ea7\u522b\u7684\u63a5\u53e3\uff0cABI \u662f\u4e8c\u8fdb\u5236\u5c42\u9762\u7684\u63a5\u53e3\uff0cABI \u7684\u517c\u5bb9\u7a0b\u5ea6\u6bd4 API \u66f4\u52a0\u4e25\u683c")),(0,r.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u90fd\u89c4\u5b9a\u4e86\u652f\u6301\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff08\u7a0b\u5e8f\uff09\u7684\u683c\u5f0f\u3002Windows \u4e0b\u6709 PE \u6587\u4ef6\u683c\u5f0f\uff0cLinux \u4e0b\u6709 ELF \u683c\u5f0f,Mac OS \u4e0b\u6709 Mach-O \u683c\u5f0f\u3002"),(0,r.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"ttps://www.zhihu.com/question/320884011/answer/2763905623"},"\u77e5\u4e4e-\u4e3a\u4ec0\u4e48 Linux \u539f\u751f\u4e0d\u80fd\u8fd0\u884c exe \u683c\u5f0f\u7684\u6587\u4ef6\uff1f"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9a914db6.6c3be0aa.js b/assets/js/9a914db6.8cacecd6.js similarity index 98% rename from assets/js/9a914db6.6c3be0aa.js rename to assets/js/9a914db6.8cacecd6.js index cb9ff5f8c..9b9d6490b 100644 --- a/assets/js/9a914db6.6c3be0aa.js +++ b/assets/js/9a914db6.8cacecd6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5631],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),d=o,f=s["".concat(c,".").concat(d)]||s[d]||y[d]||i;return r?n.createElement(f,a(a({ref:t},p),{},{components:r})):n.createElement(f,a({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=d;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>y,frontMatter:()=>i,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const i={},a="\u5e76\u53d1\u6a21\u578b",l={unversionedId:"study/think/\u5e76\u53d1\u6a21\u578b",id:"study/think/\u5e76\u53d1\u6a21\u578b",title:"\u5e76\u53d1\u6a21\u578b",description:"\u4e1a\u754c\u5c06\u5982\u4f55\u5b9e\u73b0\u5e76\u53d1\u7f16\u7a0b\u603b\u7ed3\u5f52\u7eb3\u4e3a\u5404\u5f0f\u5404\u6837\u7684\u5e76\u53d1\u6a21\u578b\uff0c\u5e38\u89c1\u7684\u5e76\u53d1\u6a21\u578b\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a",source:"@site/docs/study/think/\u5e76\u53d1\u6a21\u578b.md",sourceDirName:"study/think",slug:"/study/think/\u5e76\u53d1\u6a21\u578b",permalink:"/docs/study/think/\u5e76\u53d1\u6a21\u578b",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",permalink:"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink"},next:{title:"\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/"}},c={},u=[{value:"\u7ebf\u7a0b & \u9501\u6a21\u578b",id:"\u7ebf\u7a0b--\u9501\u6a21\u578b",level:3},{value:"Actor \u6a21\u578b",id:"actor-\u6a21\u578b",level:3},{value:"CSP \u6a21\u578b",id:"csp-\u6a21\u578b",level:3},{value:"Fork&Join \u6a21\u578b",id:"forkjoin-\u6a21\u578b",level:3}],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5e76\u53d1\u6a21\u578b"},"\u5e76\u53d1\u6a21\u578b"),(0,o.yg)("p",null,"\u4e1a\u754c\u5c06\u5982\u4f55\u5b9e\u73b0\u5e76\u53d1\u7f16\u7a0b\u603b\u7ed3\u5f52\u7eb3\u4e3a\u5404\u5f0f\u5404\u6837\u7684\u5e76\u53d1\u6a21\u578b\uff0c\u5e38\u89c1\u7684\u5e76\u53d1\u6a21\u578b\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u7ebf\u7a0b & \u9501\u6a21\u578b"),(0,o.yg)("li",{parentName:"ul"},"Actor \u6a21\u578b"),(0,o.yg)("li",{parentName:"ul"},"CSP \u6a21\u578b"),(0,o.yg)("li",{parentName:"ul"},"Fork&Join \u6a21\u578b")),(0,o.yg)("h3",{id:"\u7ebf\u7a0b--\u9501\u6a21\u578b"},"\u7ebf\u7a0b & \u9501\u6a21\u578b"),(0,o.yg)("h3",{id:"actor-\u6a21\u578b"},"Actor \u6a21\u578b"),(0,o.yg)("h3",{id:"csp-\u6a21\u578b"},"CSP \u6a21\u578b"),(0,o.yg)("p",null,"CSP\uff08communicating sequential processes\uff09"),(0,o.yg)("p",null,"Go \u8bed\u8a00\u4e2d\u7684\u5e76\u53d1\u7a0b\u5e8f\u4e3b\u8981\u662f\u901a\u8fc7\u57fa\u4e8e CSP\uff08communicating sequential processes\uff09\u7684 goroutine \u548c channel \u6765\u5b9e\u73b0\uff0c\u5f53\u7136\u4e5f\u652f\u6301\u4f7f\u7528\u4f20\u7edf\u7684\u591a\u7ebf\u7a0b\u5171\u4eab\u5185\u5b58\u7684\u5e76\u53d1\u65b9\u5f0f\u3002"),(0,o.yg)("h3",{id:"forkjoin-\u6a21\u578b"},"Fork&Join \u6a21\u578b"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5631],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),d=o,f=s["".concat(c,".").concat(d)]||s[d]||y[d]||i;return r?n.createElement(f,a(a({ref:t},p),{},{components:r})):n.createElement(f,a({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=d;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>y,frontMatter:()=>i,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const i={},a="\u5e76\u53d1\u6a21\u578b",l={unversionedId:"study/think/\u5e76\u53d1\u6a21\u578b",id:"study/think/\u5e76\u53d1\u6a21\u578b",title:"\u5e76\u53d1\u6a21\u578b",description:"\u4e1a\u754c\u5c06\u5982\u4f55\u5b9e\u73b0\u5e76\u53d1\u7f16\u7a0b\u603b\u7ed3\u5f52\u7eb3\u4e3a\u5404\u5f0f\u5404\u6837\u7684\u5e76\u53d1\u6a21\u578b\uff0c\u5e38\u89c1\u7684\u5e76\u53d1\u6a21\u578b\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a",source:"@site/docs/study/think/\u5e76\u53d1\u6a21\u578b.md",sourceDirName:"study/think",slug:"/study/think/\u5e76\u53d1\u6a21\u578b",permalink:"/docs/study/think/\u5e76\u53d1\u6a21\u578b",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",permalink:"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink"},next:{title:"\u67b6\u6784",permalink:"/docs/study/think/\u67b6\u6784/"}},c={},u=[{value:"\u7ebf\u7a0b & \u9501\u6a21\u578b",id:"\u7ebf\u7a0b--\u9501\u6a21\u578b",level:3},{value:"Actor \u6a21\u578b",id:"actor-\u6a21\u578b",level:3},{value:"CSP \u6a21\u578b",id:"csp-\u6a21\u578b",level:3},{value:"Fork&Join \u6a21\u578b",id:"forkjoin-\u6a21\u578b",level:3}],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5e76\u53d1\u6a21\u578b"},"\u5e76\u53d1\u6a21\u578b"),(0,o.yg)("p",null,"\u4e1a\u754c\u5c06\u5982\u4f55\u5b9e\u73b0\u5e76\u53d1\u7f16\u7a0b\u603b\u7ed3\u5f52\u7eb3\u4e3a\u5404\u5f0f\u5404\u6837\u7684\u5e76\u53d1\u6a21\u578b\uff0c\u5e38\u89c1\u7684\u5e76\u53d1\u6a21\u578b\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u7ebf\u7a0b & \u9501\u6a21\u578b"),(0,o.yg)("li",{parentName:"ul"},"Actor \u6a21\u578b"),(0,o.yg)("li",{parentName:"ul"},"CSP \u6a21\u578b"),(0,o.yg)("li",{parentName:"ul"},"Fork&Join \u6a21\u578b")),(0,o.yg)("h3",{id:"\u7ebf\u7a0b--\u9501\u6a21\u578b"},"\u7ebf\u7a0b & \u9501\u6a21\u578b"),(0,o.yg)("h3",{id:"actor-\u6a21\u578b"},"Actor \u6a21\u578b"),(0,o.yg)("h3",{id:"csp-\u6a21\u578b"},"CSP \u6a21\u578b"),(0,o.yg)("p",null,"CSP\uff08communicating sequential processes\uff09"),(0,o.yg)("p",null,"Go \u8bed\u8a00\u4e2d\u7684\u5e76\u53d1\u7a0b\u5e8f\u4e3b\u8981\u662f\u901a\u8fc7\u57fa\u4e8e CSP\uff08communicating sequential processes\uff09\u7684 goroutine \u548c channel \u6765\u5b9e\u73b0\uff0c\u5f53\u7136\u4e5f\u652f\u6301\u4f7f\u7528\u4f20\u7edf\u7684\u591a\u7ebf\u7a0b\u5171\u4eab\u5185\u5b58\u7684\u5e76\u53d1\u65b9\u5f0f\u3002"),(0,o.yg)("h3",{id:"forkjoin-\u6a21\u578b"},"Fork&Join \u6a21\u578b"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9ad28e53.da7d0240.js b/assets/js/9ad28e53.10134d49.js similarity index 98% rename from assets/js/9ad28e53.da7d0240.js rename to assets/js/9ad28e53.10134d49.js index 545e7e185..29ffc1604 100644 --- a/assets/js/9ad28e53.da7d0240.js +++ b/assets/js/9ad28e53.10134d49.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4630],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),l=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(i.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=l(t),y=a,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||o;return t?n.createElement(f,p(p({ref:r},u),{},{components:t})):n.createElement(f,p({ref:r},u))}));function f(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,p=new Array(o);p[0]=y;var c={};for(var i in r)hasOwnProperty.call(r,i)&&(c[i]=r[i]);c.originalType=e,c[s]="string"==typeof e?e:a,p[1]=c;for(var l=2;l{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>p,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var n=t(58168),a=(t(96540),t(15680));const o={},p="CSharp",c={unversionedId:"study/program/CSharp/index",id:"study/program/CSharp/index",title:"CSharp",description:"C#\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u4e00\u79cd\u57fa\u4e8e.NET \u6846\u67b6\u7684\u3001\u9762\u5411\u5bf9\u8c61\u7684\u9ad8\u7ea7\u7f16\u7a0b\u8bed\u8a00\u3002",source:"@site/docs/study/program/CSharp/index.md",sourceDirName:"study/program/CSharp",slug:"/study/program/CSharp/",permalink:"/docs/study/program/CSharp/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1",permalink:"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1"},next:{title:"Flutter",permalink:"/docs/study/program/Dart/Flutter"}},i={},l=[{value:".Net \u6846\u67b6\uff08.Net Framework\uff09",id:"net-\u6846\u67b6net-framework",level:3}],u={toc:l},s="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"csharp"},"CSharp"),(0,a.yg)("p",null,"C#\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u4e00\u79cd\u57fa\u4e8e.NET \u6846\u67b6\u7684\u3001\u9762\u5411\u5bf9\u8c61\u7684\u9ad8\u7ea7\u7f16\u7a0b\u8bed\u8a00\u3002"),(0,a.yg)("p",null,"\u867d\u7136 C# \u7684\u6784\u60f3\u5341\u5206\u63a5\u8fd1\u4e8e\u4f20\u7edf\u9ad8\u7ea7\u8bed\u8a00 C \u548c C++\uff0c\u662f\u4e00\u95e8\u9762\u5411\u5bf9\u8c61\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u4f46\u662f\u5b83\u4e0e Java \u975e\u5e38\u76f8\u4f3c\uff0c\u6709\u8bb8\u591a\u5f3a\u5927\u7684\u7f16\u7a0b\u529f\u80fd\uff0c\u56e0\u6b64\u5f97\u5230\u5e7f\u5927\u7a0b\u5e8f\u5458\u7684\u4eb2\u7750\u3002"),(0,a.yg)("h3",{id:"net-\u6846\u67b6net-framework"},".Net \u6846\u67b6\uff08.Net Framework\uff09"),(0,a.yg)("p",null,".Net \u6846\u67b6\u5e94\u7528\u7a0b\u5e8f\u662f\u591a\u5e73\u53f0\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u6846\u67b6\u7684\u8bbe\u8ba1\u65b9\u5f0f\u4f7f\u5b83\u9002\u7528\u4e8e\u4e0b\u5217\u5404\u79cd\u8bed\u8a00\uff1aC#\u3001C++\u3001Visual Basic\u3001Jscript\u3001COBOL \u7b49\u7b49\u3002\u6240\u6709\u8fd9\u4e9b\u8bed\u8a00\u53ef\u4ee5\u8bbf\u95ee\u6846\u67b6\uff0c\u5f7c\u6b64\u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4e92\u76f8\u4ea4\u4e92\u3002"),(0,a.yg)("p",null,"\u867d\u7136 .NET \u6846\u67b6\u662f\u8fd0\u884c\u5728 Windows \u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u4f46\u662f\u4e5f\u6709\u4e00\u4e9b\u8fd0\u884c\u4e8e\u5176\u5b83\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u7248\u672c\u53ef\u4f9b\u9009\u62e9\u3002Mono \u662f .NET \u6846\u67b6\u7684\u4e00\u4e2a\u5f00\u6e90\u7248\u672c\uff0c\u5b83\u5305\u542b\u4e86\u4e00\u4e2a C# \u7f16\u8bd1\u5668\uff0c\u4e14\u53ef\u8fd0\u884c\u4e8e\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u6bd4\u5982\u5404\u79cd\u7248\u672c\u7684 Linux \u548c Mac OS\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4630],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),l=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(i.Provider,{value:r},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=l(t),y=a,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||o;return t?n.createElement(f,p(p({ref:r},u),{},{components:t})):n.createElement(f,p({ref:r},u))}));function f(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,p=new Array(o);p[0]=y;var c={};for(var i in r)hasOwnProperty.call(r,i)&&(c[i]=r[i]);c.originalType=e,c[s]="string"==typeof e?e:a,p[1]=c;for(var l=2;l{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>p,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var n=t(58168),a=(t(96540),t(15680));const o={},p="CSharp",c={unversionedId:"study/program/CSharp/index",id:"study/program/CSharp/index",title:"CSharp",description:"C#\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u4e00\u79cd\u57fa\u4e8e.NET \u6846\u67b6\u7684\u3001\u9762\u5411\u5bf9\u8c61\u7684\u9ad8\u7ea7\u7f16\u7a0b\u8bed\u8a00\u3002",source:"@site/docs/study/program/CSharp/index.md",sourceDirName:"study/program/CSharp",slug:"/study/program/CSharp/",permalink:"/docs/study/program/CSharp/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1",permalink:"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1"},next:{title:"Flutter",permalink:"/docs/study/program/Dart/Flutter"}},i={},l=[{value:".Net \u6846\u67b6\uff08.Net Framework\uff09",id:"net-\u6846\u67b6net-framework",level:3}],u={toc:l},s="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"csharp"},"CSharp"),(0,a.yg)("p",null,"C#\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u4e00\u79cd\u57fa\u4e8e.NET \u6846\u67b6\u7684\u3001\u9762\u5411\u5bf9\u8c61\u7684\u9ad8\u7ea7\u7f16\u7a0b\u8bed\u8a00\u3002"),(0,a.yg)("p",null,"\u867d\u7136 C# \u7684\u6784\u60f3\u5341\u5206\u63a5\u8fd1\u4e8e\u4f20\u7edf\u9ad8\u7ea7\u8bed\u8a00 C \u548c C++\uff0c\u662f\u4e00\u95e8\u9762\u5411\u5bf9\u8c61\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u4f46\u662f\u5b83\u4e0e Java \u975e\u5e38\u76f8\u4f3c\uff0c\u6709\u8bb8\u591a\u5f3a\u5927\u7684\u7f16\u7a0b\u529f\u80fd\uff0c\u56e0\u6b64\u5f97\u5230\u5e7f\u5927\u7a0b\u5e8f\u5458\u7684\u4eb2\u7750\u3002"),(0,a.yg)("h3",{id:"net-\u6846\u67b6net-framework"},".Net \u6846\u67b6\uff08.Net Framework\uff09"),(0,a.yg)("p",null,".Net \u6846\u67b6\u5e94\u7528\u7a0b\u5e8f\u662f\u591a\u5e73\u53f0\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u6846\u67b6\u7684\u8bbe\u8ba1\u65b9\u5f0f\u4f7f\u5b83\u9002\u7528\u4e8e\u4e0b\u5217\u5404\u79cd\u8bed\u8a00\uff1aC#\u3001C++\u3001Visual Basic\u3001Jscript\u3001COBOL \u7b49\u7b49\u3002\u6240\u6709\u8fd9\u4e9b\u8bed\u8a00\u53ef\u4ee5\u8bbf\u95ee\u6846\u67b6\uff0c\u5f7c\u6b64\u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4e92\u76f8\u4ea4\u4e92\u3002"),(0,a.yg)("p",null,"\u867d\u7136 .NET \u6846\u67b6\u662f\u8fd0\u884c\u5728 Windows \u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u4f46\u662f\u4e5f\u6709\u4e00\u4e9b\u8fd0\u884c\u4e8e\u5176\u5b83\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u7248\u672c\u53ef\u4f9b\u9009\u62e9\u3002Mono \u662f .NET \u6846\u67b6\u7684\u4e00\u4e2a\u5f00\u6e90\u7248\u672c\uff0c\u5b83\u5305\u542b\u4e86\u4e00\u4e2a C# \u7f16\u8bd1\u5668\uff0c\u4e14\u53ef\u8fd0\u884c\u4e8e\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u6bd4\u5982\u5404\u79cd\u7248\u672c\u7684 Linux \u548c Mac OS\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9b213dcf.0b90f2e1.js b/assets/js/9b213dcf.fa79c5ca.js similarity index 98% rename from assets/js/9b213dcf.0b90f2e1.js rename to assets/js/9b213dcf.fa79c5ca.js index 025e00cf8..4bdd90f0d 100644 --- a/assets/js/9b213dcf.0b90f2e1.js +++ b/assets/js/9b213dcf.fa79c5ca.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3299],{15680:(e,r,t)=>{t.d(r,{xA:()=>d,yg:()=>y});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),s=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},d=function(e){var r=s(e.components);return n.createElement(i.Provider,{value:r},e.children)},l="mdxType",u={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},h=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),l=s(t),h=a,y=l["".concat(i,".").concat(h)]||l[h]||u[h]||o;return t?n.createElement(y,p(p({ref:r},d),{},{components:t})):n.createElement(y,p({ref:r},d))}));function y(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,p=new Array(o);p[0]=h;var c={};for(var i in r)hasOwnProperty.call(r,i)&&(c[i]=r[i]);c.originalType=e,c[l]="string"==typeof e?e:a,p[1]=c;for(var s=2;s{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>p,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>s});var n=t(58168),a=(t(96540),t(15680));const o={},p="Apache ShardingSphere",c={unversionedId:"study/db/\u9a71\u52a8/ApacheShardingSphere",id:"study/db/\u9a71\u52a8/ApacheShardingSphere",title:"Apache ShardingSphere",description:"Apache ShardingSphere \u662f\u4e00\u6b3e\u5206\u5e03\u5f0f SQL \u4e8b\u52a1\u548c\u67e5\u8be2\u5f15\u64ce\uff0c\u53ef\u901a\u8fc7\u6570\u636e\u5206\u7247\u3001\u5f39\u6027\u4f38\u7f29\u3001\u52a0\u5bc6\u7b49\u80fd\u529b\u5bf9\u4efb\u610f\u6570\u636e\u5e93\u8fdb\u884c\u589e\u5f3a\u3002",source:"@site/docs/study/db/\u9a71\u52a8/ApacheShardingSphere.md",sourceDirName:"study/db/\u9a71\u52a8",slug:"/study/db/\u9a71\u52a8/ApacheShardingSphere",permalink:"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TimescaleDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/program/"}},i={},s=[],d={toc:s},l="wrapper";function u(e){let{components:r,...t}=e;return(0,a.yg)(l,(0,n.A)({},d,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"apache-shardingsphere"},"Apache ShardingSphere"),(0,a.yg)("p",null,"Apache ShardingSphere \u662f\u4e00\u6b3e\u5206\u5e03\u5f0f SQL \u4e8b\u52a1\u548c\u67e5\u8be2\u5f15\u64ce\uff0c\u53ef\u901a\u8fc7\u6570\u636e\u5206\u7247\u3001\u5f39\u6027\u4f38\u7f29\u3001\u52a0\u5bc6\u7b49\u80fd\u529b\u5bf9\u4efb\u610f\u6570\u636e\u5e93\u8fdb\u884c\u589e\u5f3a\u3002"),(0,a.yg)("p",null,"\u53c2\u8003\u5b98\u7f51 ",(0,a.yg)("a",{parentName:"p",href:"https://shardingsphere.apache.org/index_zh.html"},"https://shardingsphere.apache.org/index_zh.html")))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3299],{15680:(e,r,t)=>{t.d(r,{xA:()=>d,yg:()=>y});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),s=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},d=function(e){var r=s(e.components);return n.createElement(i.Provider,{value:r},e.children)},l="mdxType",u={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},h=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),l=s(t),h=a,y=l["".concat(i,".").concat(h)]||l[h]||u[h]||o;return t?n.createElement(y,p(p({ref:r},d),{},{components:t})):n.createElement(y,p({ref:r},d))}));function y(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,p=new Array(o);p[0]=h;var c={};for(var i in r)hasOwnProperty.call(r,i)&&(c[i]=r[i]);c.originalType=e,c[l]="string"==typeof e?e:a,p[1]=c;for(var s=2;s{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>p,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>s});var n=t(58168),a=(t(96540),t(15680));const o={},p="Apache ShardingSphere",c={unversionedId:"study/db/\u9a71\u52a8/ApacheShardingSphere",id:"study/db/\u9a71\u52a8/ApacheShardingSphere",title:"Apache ShardingSphere",description:"Apache ShardingSphere \u662f\u4e00\u6b3e\u5206\u5e03\u5f0f SQL \u4e8b\u52a1\u548c\u67e5\u8be2\u5f15\u64ce\uff0c\u53ef\u901a\u8fc7\u6570\u636e\u5206\u7247\u3001\u5f39\u6027\u4f38\u7f29\u3001\u52a0\u5bc6\u7b49\u80fd\u529b\u5bf9\u4efb\u610f\u6570\u636e\u5e93\u8fdb\u884c\u589e\u5f3a\u3002",source:"@site/docs/study/db/\u9a71\u52a8/ApacheShardingSphere.md",sourceDirName:"study/db/\u9a71\u52a8",slug:"/study/db/\u9a71\u52a8/ApacheShardingSphere",permalink:"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"TimescaleDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/program/"}},i={},s=[],d={toc:s},l="wrapper";function u(e){let{components:r,...t}=e;return(0,a.yg)(l,(0,n.A)({},d,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"apache-shardingsphere"},"Apache ShardingSphere"),(0,a.yg)("p",null,"Apache ShardingSphere \u662f\u4e00\u6b3e\u5206\u5e03\u5f0f SQL \u4e8b\u52a1\u548c\u67e5\u8be2\u5f15\u64ce\uff0c\u53ef\u901a\u8fc7\u6570\u636e\u5206\u7247\u3001\u5f39\u6027\u4f38\u7f29\u3001\u52a0\u5bc6\u7b49\u80fd\u529b\u5bf9\u4efb\u610f\u6570\u636e\u5e93\u8fdb\u884c\u589e\u5f3a\u3002"),(0,a.yg)("p",null,"\u53c2\u8003\u5b98\u7f51 ",(0,a.yg)("a",{parentName:"p",href:"https://shardingsphere.apache.org/index_zh.html"},"https://shardingsphere.apache.org/index_zh.html")))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9c88f308.5901b6ed.js b/assets/js/9c88f308.6ba9f5b0.js similarity index 98% rename from assets/js/9c88f308.5901b6ed.js rename to assets/js/9c88f308.6ba9f5b0.js index 2c0bb78b3..2d344bbde 100644 --- a/assets/js/9c88f308.5901b6ed.js +++ b/assets/js/9c88f308.6ba9f5b0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5034],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>g});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=c(r),m=a,g=u["".concat(p,".").concat(m)]||u[m]||y[m]||o;return r?n.createElement(g,i(i({ref:t},s),{},{components:r})):n.createElement(g,i({ref:t},s))}));function g(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=m;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[u]="string"==typeof e?e:a,i[1]=l;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>y,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const o={},i="JNI",l={unversionedId:"study/program/JAVA/JNI",id:"study/program/JAVA/JNI",title:"JNI",description:"Java Native Interface\uff0cJava \u672c\u5730\u63a5\u53e3",source:"@site/docs/study/program/JAVA/JNI.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JNI",permalink:"/docs/study/program/JAVA/JNI",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JDK8",permalink:"/docs/study/program/JAVA/JDK8"},next:{title:"Maven",permalink:"/docs/study/program/JAVA/Maven"}},p={},c=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:c},u="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"jni"},"JNI"),(0,a.yg)("p",null,"Java Native Interface\uff0cJava \u672c\u5730\u63a5\u53e3"),(0,a.yg)("p",null,"Java \u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u6709\u65f6\u5019\u4f1a\u9700\u8981\u548c C\uff0cC++\u7b49\u4ea4\u4e92\uff0c\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u60f3\u8d77\u4e86\u7ecf\u5178\u6280\u672f JNI\uff0c\u4f46\u662f JNI \u7684\u4f7f\u7528\u8fc7\u7a0b\u5341\u5206\u7e41\u7410\uff0c\u800c\u4e14\u5bb9\u6613\u51fa\u73b0\u5404\u79cd\u95ee\u9898\uff0c\u8fd8\u5f97",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"\u5c01\u88c5")),"\u800c\u4e14\u95ee\u9898\u4e0d\u597d\u5b9a\u4f4d\u3002\u5047\u5982\u6211\u4eec\u6709\u4e00\u4e2a.so \u6587\u4ef6\uff0c\u5982\u679c\u4f7f\u7528 JNI \u53bb\u8c03\u7528\uff0c\u6211\u4eec\u9700\u8981\u53e6\u5916\u7528 C \u8bed\u97f3\u5199\u4e00\u4e2a.so \u7684\u5171\u4eab\u6587\u4ef6\uff0c\u5e76\u4e14\u5f97\u4f7f\u7528 SUN \u89c4\u5b9a\u7684\u6570\u636e\u7ed3\u6784\u53bb\u66ff\u4ee3 C \u8bed\u8a00\u7684\u6570\u636e\u7ed3\u6784\uff0c\u81f3\u6b64\u624d\u80fd\u8c03\u7528 so \u6587\u4ef6\u91cc\u9762\u516c\u5e03\u7684\u51fd\u6570\u3002\u4f5c\u4e3a JAVA \u7684\u7a0b\u5e8f\u5458\u8fd9\u4e2a\u8fc7\u7a0b\u662f\u4ee4\u4eba\u5934\u75bc\u7684\u3002"),(0,a.yg)("p",null,"\u76f8\u6bd4\u4e4b\u4e0b\uff0c\u4f7f\u7528 ",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"JNA"))," \u5c31\u7b80\u5355\u591a\u4e86\uff0c\u53ea\u9700\u8981\u4f9d\u8d56\u4e00\u4e2a jar \u5305\uff0c\u5c31\u50cf\u8c03\u7528\u4e00\u4e2a java \u65b9\u6cd5\u4e00\u6837\u7b80\u5355\u3002JNA \u5168\u79f0 Java Native Access\uff0c\u662f\u4e00\u4e2a\u5efa\u7acb\u5728 JNI \u6280\u672f\u4e4b\u4e0a\u7684 Java \u5f00\u6e90\u6846\u67b6\u3002JNA \u63d0\u4f9b\u4e00\u7ec4 Java \u5de5\u5177\u7c7b\u7528\u4e8e\u5728\u8fd0\u884c\u671f\u52a8\u6001\u8bbf\u95ee\u7cfb\u7edf\u672c\u5730\u5e93\uff08native library\uff1a\u5982 Window \u7684 dll\uff0cLinux \u7684 so\uff09\u800c\u4e0d\u9700\u8981\u7f16\u5199\u4efb\u4f55 Native/JNI \u4ee3\u7801\u3002\u5f00\u53d1\u4eba\u5458\u53ea\u8981\u5728\u4e00\u4e2a java \u63a5\u53e3\u4e2d\u63cf\u8ff0\u76ee\u6807 native library \u7684\u51fd\u6570\u4e0e\u7ed3\u6784\uff0cJNA \u5c06\u81ea\u52a8\u5b9e\u73b0 Java \u63a5\u53e3\u5230 native function \u7684\u6620\u5c04\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://github.com/java-native-access/jna"},"GitHub-jna")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/650000825"},"\u77e5\u4e4e-JNI \u8be6\u89e3")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/cold___play/article/details/135026322"},"CSDN-JNA")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qingzhuyuxian/article/details/122997670"},"CSDN-\u5f00\u6e90\u6846\u67b6 JNA \u7684\u4f7f\u7528")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.51cto.com/u_16213641/7413134"},"51cto-jna"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5034],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>g});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=c(r),m=a,g=u["".concat(p,".").concat(m)]||u[m]||y[m]||o;return r?n.createElement(g,i(i({ref:t},s),{},{components:r})):n.createElement(g,i({ref:t},s))}));function g(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=m;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[u]="string"==typeof e?e:a,i[1]=l;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>y,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const o={},i="JNI",l={unversionedId:"study/program/JAVA/JNI",id:"study/program/JAVA/JNI",title:"JNI",description:"Java Native Interface\uff0cJava \u672c\u5730\u63a5\u53e3",source:"@site/docs/study/program/JAVA/JNI.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JNI",permalink:"/docs/study/program/JAVA/JNI",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JDK8",permalink:"/docs/study/program/JAVA/JDK8"},next:{title:"Maven",permalink:"/docs/study/program/JAVA/Maven"}},p={},c=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:c},u="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"jni"},"JNI"),(0,a.yg)("p",null,"Java Native Interface\uff0cJava \u672c\u5730\u63a5\u53e3"),(0,a.yg)("p",null,"Java \u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u6709\u65f6\u5019\u4f1a\u9700\u8981\u548c C\uff0cC++\u7b49\u4ea4\u4e92\uff0c\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u60f3\u8d77\u4e86\u7ecf\u5178\u6280\u672f JNI\uff0c\u4f46\u662f JNI \u7684\u4f7f\u7528\u8fc7\u7a0b\u5341\u5206\u7e41\u7410\uff0c\u800c\u4e14\u5bb9\u6613\u51fa\u73b0\u5404\u79cd\u95ee\u9898\uff0c\u8fd8\u5f97",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"\u5c01\u88c5")),"\u800c\u4e14\u95ee\u9898\u4e0d\u597d\u5b9a\u4f4d\u3002\u5047\u5982\u6211\u4eec\u6709\u4e00\u4e2a.so \u6587\u4ef6\uff0c\u5982\u679c\u4f7f\u7528 JNI \u53bb\u8c03\u7528\uff0c\u6211\u4eec\u9700\u8981\u53e6\u5916\u7528 C \u8bed\u97f3\u5199\u4e00\u4e2a.so \u7684\u5171\u4eab\u6587\u4ef6\uff0c\u5e76\u4e14\u5f97\u4f7f\u7528 SUN \u89c4\u5b9a\u7684\u6570\u636e\u7ed3\u6784\u53bb\u66ff\u4ee3 C \u8bed\u8a00\u7684\u6570\u636e\u7ed3\u6784\uff0c\u81f3\u6b64\u624d\u80fd\u8c03\u7528 so \u6587\u4ef6\u91cc\u9762\u516c\u5e03\u7684\u51fd\u6570\u3002\u4f5c\u4e3a JAVA \u7684\u7a0b\u5e8f\u5458\u8fd9\u4e2a\u8fc7\u7a0b\u662f\u4ee4\u4eba\u5934\u75bc\u7684\u3002"),(0,a.yg)("p",null,"\u76f8\u6bd4\u4e4b\u4e0b\uff0c\u4f7f\u7528 ",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"JNA"))," \u5c31\u7b80\u5355\u591a\u4e86\uff0c\u53ea\u9700\u8981\u4f9d\u8d56\u4e00\u4e2a jar \u5305\uff0c\u5c31\u50cf\u8c03\u7528\u4e00\u4e2a java \u65b9\u6cd5\u4e00\u6837\u7b80\u5355\u3002JNA \u5168\u79f0 Java Native Access\uff0c\u662f\u4e00\u4e2a\u5efa\u7acb\u5728 JNI \u6280\u672f\u4e4b\u4e0a\u7684 Java \u5f00\u6e90\u6846\u67b6\u3002JNA \u63d0\u4f9b\u4e00\u7ec4 Java \u5de5\u5177\u7c7b\u7528\u4e8e\u5728\u8fd0\u884c\u671f\u52a8\u6001\u8bbf\u95ee\u7cfb\u7edf\u672c\u5730\u5e93\uff08native library\uff1a\u5982 Window \u7684 dll\uff0cLinux \u7684 so\uff09\u800c\u4e0d\u9700\u8981\u7f16\u5199\u4efb\u4f55 Native/JNI \u4ee3\u7801\u3002\u5f00\u53d1\u4eba\u5458\u53ea\u8981\u5728\u4e00\u4e2a java \u63a5\u53e3\u4e2d\u63cf\u8ff0\u76ee\u6807 native library \u7684\u51fd\u6570\u4e0e\u7ed3\u6784\uff0cJNA \u5c06\u81ea\u52a8\u5b9e\u73b0 Java \u63a5\u53e3\u5230 native function \u7684\u6620\u5c04\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://github.com/java-native-access/jna"},"GitHub-jna")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/650000825"},"\u77e5\u4e4e-JNI \u8be6\u89e3")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/cold___play/article/details/135026322"},"CSDN-JNA")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qingzhuyuxian/article/details/122997670"},"CSDN-\u5f00\u6e90\u6846\u67b6 JNA \u7684\u4f7f\u7528")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.51cto.com/u_16213641/7413134"},"51cto-jna"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9d0163be.568ae704.js b/assets/js/9d0163be.c1688be2.js similarity index 98% rename from assets/js/9d0163be.568ae704.js rename to assets/js/9d0163be.c1688be2.js index 2db1e586e..4803031ee 100644 --- a/assets/js/9d0163be.568ae704.js +++ b/assets/js/9d0163be.c1688be2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[927],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=l(r),y=o,f=s["".concat(u,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid",title:"Druid",description:"\u57fa\u672c\u4fe1\u606f",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Apache IoTDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB"},next:{title:"KairosDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB"}},u={},l=[],p={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u57fa\u672c\u4fe1\u606f")),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aJava"),(0,o.yg)("li",{parentName:"ol"},"\u5f00\u6e90\uff1a\u662f"),(0,o.yg)("li",{parentName:"ol"},"\u5907\u6ce8\uff1aDruid\u4e25\u683c\u4e0a\u4e0d\u80fd\u7b97\u65f6\u5e8f\u6570\u636e\u5e93\uff0c\u5e94\u8be5\u7b97\u4e00\u4e2aOLAP\u6570\u636e\u5e93\uff0c\u5b9a\u4f4d\u8fd8\u662f\u4e0d\u592a\u4e00\u6837\u7684"),(0,o.yg)("li",{parentName:"ol"},"Prometheus \u548c Druid \u4e5f\u56e0\u4e3a\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7ba1\u7406\u800c\u95fb\u540d\uff0c\u4f46\u662f Prometheus \u805a\u7126\u5728\u6570\u636e\u91c7\u96c6\u3001\u53ef\u89c6\u5316\u548c\u62a5\u8b66\uff0cDruid \u805a\u7126\u5728 OLAP \u8d1f\u8f7d\u7684\u6570\u636e\u5206\u6790\uff0c\u56e0\u6b64\u672c\u6587\u7701\u7565\u4e86 Prometheus \u548c Druid\u3002")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[927],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=l(r),y=o,f=s["".concat(u,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid",title:"Druid",description:"\u57fa\u672c\u4fe1\u606f",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Apache IoTDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB"},next:{title:"KairosDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB"}},u={},l=[],p={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u57fa\u672c\u4fe1\u606f")),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aJava"),(0,o.yg)("li",{parentName:"ol"},"\u5f00\u6e90\uff1a\u662f"),(0,o.yg)("li",{parentName:"ol"},"\u5907\u6ce8\uff1aDruid\u4e25\u683c\u4e0a\u4e0d\u80fd\u7b97\u65f6\u5e8f\u6570\u636e\u5e93\uff0c\u5e94\u8be5\u7b97\u4e00\u4e2aOLAP\u6570\u636e\u5e93\uff0c\u5b9a\u4f4d\u8fd8\u662f\u4e0d\u592a\u4e00\u6837\u7684"),(0,o.yg)("li",{parentName:"ol"},"Prometheus \u548c Druid \u4e5f\u56e0\u4e3a\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7ba1\u7406\u800c\u95fb\u540d\uff0c\u4f46\u662f Prometheus \u805a\u7126\u5728\u6570\u636e\u91c7\u96c6\u3001\u53ef\u89c6\u5316\u548c\u62a5\u8b66\uff0cDruid \u805a\u7126\u5728 OLAP \u8d1f\u8f7d\u7684\u6570\u636e\u5206\u6790\uff0c\u56e0\u6b64\u672c\u6587\u7701\u7565\u4e86 Prometheus \u548c Druid\u3002")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9f5c6157.75055866.js b/assets/js/9f5c6157.0b75499a.js similarity index 98% rename from assets/js/9f5c6157.75055866.js rename to assets/js/9f5c6157.0b75499a.js index 038efd097..83c3e04b2 100644 --- a/assets/js/9f5c6157.75055866.js +++ b/assets/js/9f5c6157.0b75499a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3125],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),y=p(r),s=a,m=y["".concat(i,".").concat(s)]||y[s]||d[s]||o;return r?n.createElement(m,l(l({ref:t},u),{},{components:r})):n.createElement(m,l({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=s;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[y]="string"==typeof e?e:a,l[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,c={unversionedId:"study/think/\u7f13\u5b58/\u7f13\u5b58",id:"study/think/\u7f13\u5b58/\u7f13\u5b58",title:"\u7f13\u5b58",description:"| | Ehcache | Redis |",source:"@site/docs/study/think/\u7f13\u5b58/\u7f13\u5b58.md",sourceDirName:"study/think/\u7f13\u5b58",slug:"/study/think/\u7f13\u5b58/",permalink:"/docs/study/think/\u7f13\u5b58/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f"},next:{title:"\u5206\u5e03\u5f0f\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58"}},i={},p=[],u={toc:p},y="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("table",null,(0,a.yg)("thead",{parentName:"table"},(0,a.yg)("tr",{parentName:"thead"},(0,a.yg)("th",{parentName:"tr",align:null}),(0,a.yg)("th",{parentName:"tr",align:null},"Ehcache"),(0,a.yg)("th",{parentName:"tr",align:null},"Redis"))),(0,a.yg)("tbody",{parentName:"table"},(0,a.yg)("tr",{parentName:"tbody"},(0,a.yg)("td",{parentName:"tr",align:null},"\u5b58\u53d6\u901f\u5ea6"),(0,a.yg)("td",{parentName:"tr",align:null},"Ehcache\u76f4\u63a5\u5728jvm\u865a\u62df\u673a\u4e2d\u7f13\u5b58\uff0c\u901f\u5ea6\u5feb\uff0c\u6548\u7387\u9ad8"),(0,a.yg)("td",{parentName:"tr",align:null},"Redis\u662f\u901a\u8fc7socket\u8bbf\u95ee\u5230\u7f13\u5b58\u670d\u52a1\uff0c\u6548\u7387\u6bd4ecache\u4f4e")),(0,a.yg)("tr",{parentName:"tbody"},(0,a.yg)("td",{parentName:"tr",align:null},"\u96c6\u7fa4"),(0,a.yg)("td",{parentName:"tr",align:null},"Ehcache\u6709\u7f13\u5b58\u5171\u4eab\u65b9\u6848\uff0c\u4e0d\u8fc7\u662f\u901a\u8fc7RMI\u6216\u8005Jgroup\u591a\u64ad\u65b9\u5f0f\u8fdb\u884c\u5e7f\u64ad\u7f13\u5b58\u901a\u77e5\u66f4\u65b0\uff0c\u7f13\u5b58\u5171\u4eab\u590d\u6742\uff0c\u7ef4\u62a4\u4e0d\u65b9\u4fbf\uff1b\u7b80\u5355\u7684\u5171\u4eab\u53ef\u4ee5\uff0c\u4f46\u662f\u6d89\u53ca\u5230\u7f13\u5b58\u6062\u590d\uff0c\u5927\u6570\u636e\u7f13\u5b58\uff0c\u5219\u4e0d\u5408\u9002\u3002"),(0,a.yg)("td",{parentName:"tr",align:null},"Redis\u6709\u6210\u719f\u7684\u5206\u5e03\u5f0f\u89e3\u51b3\u65b9\u6848\u3002\u9002\u5408\u5927\u89c4\u6a21\u5206\u5e03\u5f0f\u96c6\u7fa4\u90e8\u7f72\u3002")),(0,a.yg)("tr",{parentName:"tbody"},(0,a.yg)("td",{parentName:"tr",align:null},"\u64cd\u4f5c\u590d\u6742\u5ea6"),(0,a.yg)("td",{parentName:"tr",align:null},"Ehcache\u63d0\u4f9b\u7684\u63a5\u53e3\u975e\u5e38\u7b80\u5355\u660e\u4e86\uff0c\u4eceEhcache\u7684\u642d\u5efa\u5230\u8fd0\u7528\u8fd0\u884c\u4ec5\u4ec5\u9700\u8981\u7684\u662f\u4f60\u5b9d\u8d35\u7684\u51e0\u5206\u949f\u3002\u5176\u5b9e\u5f88\u591a\u5f00\u53d1\u8005\u90fd\u4e0d\u77e5\u9053\u81ea\u5df1\u7528\u5728\u7528Ehcache\uff0cEhcache\u88ab\u5e7f\u6cdb\u7684\u8fd0\u7528\u4e8e\u5176\u4ed6\u7684\u5f00\u6e90\u9879\u76ee\u3002\u6bd4\u5982\uff1aHibernate"),(0,a.yg)("td",{parentName:"tr",align:null},"\u81f3\u5c11\u9700\u8981\u5b89\u88c5\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u624d\u80fd\u4f7f\u7528\u3002\u64cd\u4f5c\u7565\u6bd4Ehcache\u590d\u6742\u4e00\u4e9b\u3002")))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3125],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),y=p(r),s=a,m=y["".concat(i,".").concat(s)]||y[s]||d[s]||o;return r?n.createElement(m,l(l({ref:t},u),{},{components:r})):n.createElement(m,l({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=s;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[y]="string"==typeof e?e:a,l[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,c={unversionedId:"study/think/\u7f13\u5b58/\u7f13\u5b58",id:"study/think/\u7f13\u5b58/\u7f13\u5b58",title:"\u7f13\u5b58",description:"| | Ehcache | Redis |",source:"@site/docs/study/think/\u7f13\u5b58/\u7f13\u5b58.md",sourceDirName:"study/think/\u7f13\u5b58",slug:"/study/think/\u7f13\u5b58/",permalink:"/docs/study/think/\u7f13\u5b58/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f"},next:{title:"\u5206\u5e03\u5f0f\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58"}},i={},p=[],u={toc:p},y="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("table",null,(0,a.yg)("thead",{parentName:"table"},(0,a.yg)("tr",{parentName:"thead"},(0,a.yg)("th",{parentName:"tr",align:null}),(0,a.yg)("th",{parentName:"tr",align:null},"Ehcache"),(0,a.yg)("th",{parentName:"tr",align:null},"Redis"))),(0,a.yg)("tbody",{parentName:"table"},(0,a.yg)("tr",{parentName:"tbody"},(0,a.yg)("td",{parentName:"tr",align:null},"\u5b58\u53d6\u901f\u5ea6"),(0,a.yg)("td",{parentName:"tr",align:null},"Ehcache\u76f4\u63a5\u5728jvm\u865a\u62df\u673a\u4e2d\u7f13\u5b58\uff0c\u901f\u5ea6\u5feb\uff0c\u6548\u7387\u9ad8"),(0,a.yg)("td",{parentName:"tr",align:null},"Redis\u662f\u901a\u8fc7socket\u8bbf\u95ee\u5230\u7f13\u5b58\u670d\u52a1\uff0c\u6548\u7387\u6bd4ecache\u4f4e")),(0,a.yg)("tr",{parentName:"tbody"},(0,a.yg)("td",{parentName:"tr",align:null},"\u96c6\u7fa4"),(0,a.yg)("td",{parentName:"tr",align:null},"Ehcache\u6709\u7f13\u5b58\u5171\u4eab\u65b9\u6848\uff0c\u4e0d\u8fc7\u662f\u901a\u8fc7RMI\u6216\u8005Jgroup\u591a\u64ad\u65b9\u5f0f\u8fdb\u884c\u5e7f\u64ad\u7f13\u5b58\u901a\u77e5\u66f4\u65b0\uff0c\u7f13\u5b58\u5171\u4eab\u590d\u6742\uff0c\u7ef4\u62a4\u4e0d\u65b9\u4fbf\uff1b\u7b80\u5355\u7684\u5171\u4eab\u53ef\u4ee5\uff0c\u4f46\u662f\u6d89\u53ca\u5230\u7f13\u5b58\u6062\u590d\uff0c\u5927\u6570\u636e\u7f13\u5b58\uff0c\u5219\u4e0d\u5408\u9002\u3002"),(0,a.yg)("td",{parentName:"tr",align:null},"Redis\u6709\u6210\u719f\u7684\u5206\u5e03\u5f0f\u89e3\u51b3\u65b9\u6848\u3002\u9002\u5408\u5927\u89c4\u6a21\u5206\u5e03\u5f0f\u96c6\u7fa4\u90e8\u7f72\u3002")),(0,a.yg)("tr",{parentName:"tbody"},(0,a.yg)("td",{parentName:"tr",align:null},"\u64cd\u4f5c\u590d\u6742\u5ea6"),(0,a.yg)("td",{parentName:"tr",align:null},"Ehcache\u63d0\u4f9b\u7684\u63a5\u53e3\u975e\u5e38\u7b80\u5355\u660e\u4e86\uff0c\u4eceEhcache\u7684\u642d\u5efa\u5230\u8fd0\u7528\u8fd0\u884c\u4ec5\u4ec5\u9700\u8981\u7684\u662f\u4f60\u5b9d\u8d35\u7684\u51e0\u5206\u949f\u3002\u5176\u5b9e\u5f88\u591a\u5f00\u53d1\u8005\u90fd\u4e0d\u77e5\u9053\u81ea\u5df1\u7528\u5728\u7528Ehcache\uff0cEhcache\u88ab\u5e7f\u6cdb\u7684\u8fd0\u7528\u4e8e\u5176\u4ed6\u7684\u5f00\u6e90\u9879\u76ee\u3002\u6bd4\u5982\uff1aHibernate"),(0,a.yg)("td",{parentName:"tr",align:null},"\u81f3\u5c11\u9700\u8981\u5b89\u88c5\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u624d\u80fd\u4f7f\u7528\u3002\u64cd\u4f5c\u7565\u6bd4Ehcache\u590d\u6742\u4e00\u4e9b\u3002")))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a3633e48.729158e7.js b/assets/js/a3633e48.df3cf6cc.js similarity index 98% rename from assets/js/a3633e48.729158e7.js rename to assets/js/a3633e48.df3cf6cc.js index 5df2c4b6b..f23b5bc06 100644 --- a/assets/js/a3633e48.729158e7.js +++ b/assets/js/a3633e48.df3cf6cc.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9878],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),f=o,y=s["".concat(l,".").concat(f)]||s[f]||d[f]||a;return r?n.createElement(y,i(i({ref:t},p),{},{components:r})):n.createElement(y,i({ref:t},p))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"study/fe/index",id:"study/fe/index",title:"\u6982\u8ff0",description:"\u6240\u6709\u7528\u6237\u770b\u5230\u7684\u754c\u9762\uff0c\u7edf\u4e00\u6210\u4e3a\u524d\u7aef\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a",source:"@site/docs/study/fe/index.md",sourceDirName:"study/fe",slug:"/study/fe/",permalink:"/docs/study/fe/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u5b66\u65e0\u6b62\u5883",permalink:"/docs/study/"},next:{title:"\u524d\u7aef\u6a21\u5757\u5316",permalink:"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316"}},l={},u=[],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u6240\u6709\u7528\u6237\u770b\u5230\u7684\u754c\u9762\uff0c\u7edf\u4e00\u6210\u4e3a\u524d\u7aef\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"PC WEB"),(0,o.yg)("li",{parentName:"ul"},"\u79fb\u52a8\u7aef WEB"),(0,o.yg)("li",{parentName:"ul"},"\u5c0f\u7a0b\u5e8f"),(0,o.yg)("li",{parentName:"ul"},"\u684c\u9762\u7a0b\u5e8f")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9878],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),f=o,y=s["".concat(l,".").concat(f)]||s[f]||d[f]||a;return r?n.createElement(y,i(i({ref:t},p),{},{components:r})):n.createElement(y,i({ref:t},p))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"study/fe/index",id:"study/fe/index",title:"\u6982\u8ff0",description:"\u6240\u6709\u7528\u6237\u770b\u5230\u7684\u754c\u9762\uff0c\u7edf\u4e00\u6210\u4e3a\u524d\u7aef\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a",source:"@site/docs/study/fe/index.md",sourceDirName:"study/fe",slug:"/study/fe/",permalink:"/docs/study/fe/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u5b66\u65e0\u6b62\u5883",permalink:"/docs/study/"},next:{title:"\u524d\u7aef\u6a21\u5757\u5316",permalink:"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316"}},l={},u=[],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u6240\u6709\u7528\u6237\u770b\u5230\u7684\u754c\u9762\uff0c\u7edf\u4e00\u6210\u4e3a\u524d\u7aef\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"PC WEB"),(0,o.yg)("li",{parentName:"ul"},"\u79fb\u52a8\u7aef WEB"),(0,o.yg)("li",{parentName:"ul"},"\u5c0f\u7a0b\u5e8f"),(0,o.yg)("li",{parentName:"ul"},"\u684c\u9762\u7a0b\u5e8f")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a47a01cb.8d985997.js b/assets/js/a47a01cb.019d1c55.js similarity index 97% rename from assets/js/a47a01cb.8d985997.js rename to assets/js/a47a01cb.019d1c55.js index 798784bdb..3ab6230bb 100644 --- a/assets/js/a47a01cb.8d985997.js +++ b/assets/js/a47a01cb.019d1c55.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2190],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),p=u(r),f=o,y=p["".concat(c,".").concat(f)]||p[f]||s[f]||a;return r?n.createElement(y,i(i({ref:t},d),{},{components:r})):n.createElement(y,i({ref:t},d))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[p]="string"==typeof e?e:o,i[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,l={unversionedId:"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",id:"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",title:"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",description:"\u8bb0\u5f55 Flutter \u5f00\u53d1\u7684\u4e00\u4e9b\u95ee\u9898\u3001\u7ecf\u9a8c",source:"@site/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55.md",sourceDirName:"study/fe",slug:"/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",permalink:"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ARMS\u524d\u7aef\u76d1\u63a7",permalink:"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7"},next:{title:"TypeScript\u8bed\u6cd5\u56fe",permalink:"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe"}},c={},u=[{value:"Mac \u5982\u4f55\u5b89\u88c5\u8001\u7248\u672c\u7684 Android \u6a21\u62df\u5668",id:"mac-\u5982\u4f55\u5b89\u88c5\u8001\u7248\u672c\u7684-android-\u6a21\u62df\u5668",level:3},{value:"flutter windows",id:"flutter-windows",level:3},{value:"ffi\u63d2\u4ef6",id:"ffi\u63d2\u4ef6",level:3}],d={toc:u},p="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u8bb0\u5f55 Flutter \u5f00\u53d1\u7684\u4e00\u4e9b\u95ee\u9898\u3001\u7ecf\u9a8c"),(0,o.yg)("h3",{id:"mac-\u5982\u4f55\u5b89\u88c5\u8001\u7248\u672c\u7684-android-\u6a21\u62df\u5668"},"Mac \u5982\u4f55\u5b89\u88c5\u8001\u7248\u672c\u7684 Android \u6a21\u62df\u5668"),(0,o.yg)("p",null,"\u56e0\u4e3a\u7279\u6b8a\u539f\u56e0\uff0c\u6211\u7684\u8001 Mac \u7535\u8111\u65e0\u6cd5\u5347\u7ea7\uff0c\u6700\u65b0\u7684\u5b89\u5353\u6a21\u62df\u5668\u542f\u52a8\u4e0d\u8d77\u6765\uff0c\u53ef\u4ee5\u5230\u8fd9\u91cc\u4e0b\u8f7d\u8001\u7684\u6a21\u62df\u5668\uff0c\u5e76\u624b\u52a8\u5b89\u88c5",(0,o.yg)("a",{parentName:"p",href:"https://developer.android.com/studio/emulator_archive?hl=zh-cn"},"\u6a21\u62df\u5668\u4e0b\u8f7d\u5f52\u6863")),(0,o.yg)("h3",{id:"flutter-windows"},"flutter windows"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://xie.infoq.cn/article/a0b086b20aabd229e57a9811f"},"\u57fa\u4e8e Flutter \u5b9e\u73b0 Windows \u5e73\u53f0\u79bb\u7ebf\u5927\u6a21\u578b\u5bf9\u8bdd\u5e94\u7528\u5b9e\u6218")),(0,o.yg)("h3",{id:"ffi\u63d2\u4ef6"},"ffi\u63d2\u4ef6"),(0,o.yg)("p",null,"flutter create -t plugin_ffi --platforms macos,windows,android,ios p2psdk"),(0,o.yg)("p",null,"android\u4f7f\u7528gradle\u6784\u5efa\nios\u548cmacos\u4f7f\u7528xcode\u901a\u8fc7CocoaPods\u6784\u5efa\nlinux\u548cwindows\u901a\u8fc7cmake\u6784\u5efa"),(0,o.yg)("p",null,"\u7ed1\u5b9a\u672c\u5730\u539f\u751f\u4ee3\u7801"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2190],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},p="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),p=u(r),f=o,y=p["".concat(c,".").concat(f)]||p[f]||s[f]||a;return r?n.createElement(y,i(i({ref:t},d),{},{components:r})):n.createElement(y,i({ref:t},d))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[p]="string"==typeof e?e:o,i[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,l={unversionedId:"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",id:"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",title:"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",description:"\u8bb0\u5f55 Flutter \u5f00\u53d1\u7684\u4e00\u4e9b\u95ee\u9898\u3001\u7ecf\u9a8c",source:"@site/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55.md",sourceDirName:"study/fe",slug:"/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",permalink:"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ARMS\u524d\u7aef\u76d1\u63a7",permalink:"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7"},next:{title:"TypeScript\u8bed\u6cd5\u56fe",permalink:"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe"}},c={},u=[{value:"Mac \u5982\u4f55\u5b89\u88c5\u8001\u7248\u672c\u7684 Android \u6a21\u62df\u5668",id:"mac-\u5982\u4f55\u5b89\u88c5\u8001\u7248\u672c\u7684-android-\u6a21\u62df\u5668",level:3},{value:"flutter windows",id:"flutter-windows",level:3},{value:"ffi\u63d2\u4ef6",id:"ffi\u63d2\u4ef6",level:3}],d={toc:u},p="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u8bb0\u5f55 Flutter \u5f00\u53d1\u7684\u4e00\u4e9b\u95ee\u9898\u3001\u7ecf\u9a8c"),(0,o.yg)("h3",{id:"mac-\u5982\u4f55\u5b89\u88c5\u8001\u7248\u672c\u7684-android-\u6a21\u62df\u5668"},"Mac \u5982\u4f55\u5b89\u88c5\u8001\u7248\u672c\u7684 Android \u6a21\u62df\u5668"),(0,o.yg)("p",null,"\u56e0\u4e3a\u7279\u6b8a\u539f\u56e0\uff0c\u6211\u7684\u8001 Mac \u7535\u8111\u65e0\u6cd5\u5347\u7ea7\uff0c\u6700\u65b0\u7684\u5b89\u5353\u6a21\u62df\u5668\u542f\u52a8\u4e0d\u8d77\u6765\uff0c\u53ef\u4ee5\u5230\u8fd9\u91cc\u4e0b\u8f7d\u8001\u7684\u6a21\u62df\u5668\uff0c\u5e76\u624b\u52a8\u5b89\u88c5",(0,o.yg)("a",{parentName:"p",href:"https://developer.android.com/studio/emulator_archive?hl=zh-cn"},"\u6a21\u62df\u5668\u4e0b\u8f7d\u5f52\u6863")),(0,o.yg)("h3",{id:"flutter-windows"},"flutter windows"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://xie.infoq.cn/article/a0b086b20aabd229e57a9811f"},"\u57fa\u4e8e Flutter \u5b9e\u73b0 Windows \u5e73\u53f0\u79bb\u7ebf\u5927\u6a21\u578b\u5bf9\u8bdd\u5e94\u7528\u5b9e\u6218")),(0,o.yg)("h3",{id:"ffi\u63d2\u4ef6"},"ffi\u63d2\u4ef6"),(0,o.yg)("p",null,"flutter create -t plugin_ffi --platforms macos,windows,android,ios p2psdk"),(0,o.yg)("p",null,"android\u4f7f\u7528gradle\u6784\u5efa\nios\u548cmacos\u4f7f\u7528xcode\u901a\u8fc7CocoaPods\u6784\u5efa\nlinux\u548cwindows\u901a\u8fc7cmake\u6784\u5efa"),(0,o.yg)("p",null,"\u7ed1\u5b9a\u672c\u5730\u539f\u751f\u4ee3\u7801"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a4c44b85.2134ae37.js b/assets/js/a4c44b85.f2496a41.js similarity index 99% rename from assets/js/a4c44b85.2134ae37.js rename to assets/js/a4c44b85.f2496a41.js index 95608dc67..5ea1f39dc 100644 --- a/assets/js/a4c44b85.2134ae37.js +++ b/assets/js/a4c44b85.f2496a41.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5878],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>g});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},y=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,o=e.originalType,p=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),u=c(n),d=l,g=u["".concat(p,".").concat(d)]||u[d]||s[d]||o;return n?r.createElement(g,a(a({ref:t},y),{},{components:n})):r.createElement(g,a({ref:t},y))}));function g(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=n.length,a=new Array(o);a[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[u]="string"==typeof e?e:l,a[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var r=n(58168),l=(n(96540),n(15680));const o={},a=void 0,i={unversionedId:"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",id:"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",title:"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",description:"\u867d\u7136\u8fd1\u5341\u5e74\u6765\u5404\u79cd\u5b58\u50a8\u6280\u672f\u98de\u901f\u53d1\u5c55\uff0c\u4f46\u5173\u7cfb\u6570\u636e\u5e93\u7531\u4e8e\u5176 ACID \u7684\u7279\u6027\u548c\u529f\u80fd\u5f3a\u5927\u7684 SQL \u67e5\u8be2\uff0c\u76ee\u524d\u8fd8\u662f\u5404\u79cd\u4e1a\u52a1\u7cfb\u7edf\u4e2d\u5173\u952e\u548c\u6838\u5fc3\u7684\u5b58\u50a8\u7cfb\u7edf\uff0c\u5f88\u591a\u573a\u666f\u4e0b\u9ad8\u6027\u80fd\u7684\u8bbe\u8ba1\u6700\u6838\u5fc3\u7684\u90e8\u5206\u5c31\u662f\u5173\u7cfb\u6570\u636e\u5e93\u7684\u8bbe\u8ba1\u3002",source:"@site/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",permalink:"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8d1f\u8f7d\u5747\u8861",permalink:"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861"},next:{title:"Actor Model",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model"}},p={},c=[{value:"\u8bfb\u5199\u5206\u79bb\u539f\u7406",id:"\u8bfb\u5199\u5206\u79bb\u539f\u7406",level:3},{value:"\u5206\u5e93\u5206\u8868",id:"\u5206\u5e93\u5206\u8868",level:3}],y={toc:c},u="wrapper";function s(e){let{components:t,...o}=e;return(0,l.yg)(u,(0,r.A)({},y,o,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"\u867d\u7136\u8fd1\u5341\u5e74\u6765\u5404\u79cd\u5b58\u50a8\u6280\u672f\u98de\u901f\u53d1\u5c55\uff0c\u4f46\u5173\u7cfb\u6570\u636e\u5e93\u7531\u4e8e\u5176 ACID \u7684\u7279\u6027\u548c\u529f\u80fd\u5f3a\u5927\u7684 SQL \u67e5\u8be2\uff0c\u76ee\u524d\u8fd8\u662f\u5404\u79cd\u4e1a\u52a1\u7cfb\u7edf\u4e2d\u5173\u952e\u548c\u6838\u5fc3\u7684\u5b58\u50a8\u7cfb\u7edf\uff0c\u5f88\u591a\u573a\u666f\u4e0b\u9ad8\u6027\u80fd\u7684\u8bbe\u8ba1\u6700\u6838\u5fc3\u7684\u90e8\u5206\u5c31\u662f\u5173\u7cfb\u6570\u636e\u5e93\u7684\u8bbe\u8ba1\u3002"),(0,l.yg)("p",null,"\u4e0d\u7ba1\u662f\u4e3a\u4e86\u6ee1\u8db3\u4e1a\u52a1\u53d1\u5c55\u7684\u9700\u8981\uff0c\u8fd8\u662f\u4e3a\u4e86\u63d0\u5347\u81ea\u5df1\u7684\u7ade\u4e89\u529b\uff0c\u5173\u7cfb\u6570\u636e\u5e93\u5382\u5546\uff08Oracle\u3001DB2\u3001MySQL \u7b49\uff09\u5728\u4f18\u5316\u548c\u63d0\u5347\u5355\u4e2a\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u6027\u80fd\u65b9\u9762\u4e5f\u505a\u4e86\u975e\u5e38\u591a\u7684\u6280\u672f\u4f18\u5316\u548c\u6539\u8fdb\u3002\u4f46\u4e1a\u52a1\u53d1\u5c55\u901f\u5ea6\u548c\u6570\u636e\u589e\u957f\u901f\u5ea6\uff0c\u8fdc\u8fdc\u8d85\u51fa\u6570\u636e\u5e93\u5382\u5546\u7684\u4f18\u5316\u901f\u5ea6\uff0c\u5c24\u5176\u662f\u4e92\u8054\u7f51\u4e1a\u52a1\u5174\u8d77\u4e4b\u540e\uff0c\u6d77\u91cf\u7528\u6237\u52a0\u4e0a\u6d77\u91cf\u6570\u636e\u7684\u7279\u70b9\uff0c\u5355\u4e2a\u6570\u636e\u5e93\u670d\u52a1\u5668\u5df2\u7ecf\u96be\u4ee5\u6ee1\u8db3\u4e1a\u52a1\u9700\u8981\uff0c\u5fc5\u987b\u8003\u8651\u6570\u636e\u5e93\u96c6\u7fa4\u7684\u65b9\u5f0f\u6765\u63d0\u5347\u6027\u80fd\u3002"),(0,l.yg)("p",null,"\u9ad8\u6027\u80fd\u6570\u636e\u5e93\u96c6\u7fa4\u7684\u7b2c\u4e00\u79cd\u65b9\u5f0f\u662f\u201c\u8bfb\u5199\u5206\u79bb\u201d\uff0c\u5176\u672c\u8d28\u662f\u5c06\u8bbf\u95ee\u538b\u529b\u5206\u6563\u5230\u96c6\u7fa4\u4e2d\u7684\u591a\u4e2a\u8282\u70b9\uff0c\u4f46\u662f\u6ca1\u6709\u5206\u6563\u5b58\u50a8\u538b\u529b\uff1b\u7b2c\u4e8c\u79cd\u65b9\u5f0f\u662f\u201c\u5206\u5e93\u5206\u8868\u201d\uff0c\u65e2\u53ef\u4ee5\u5206\u6563\u8bbf\u95ee\u538b\u529b\uff0c\u53c8\u53ef\u4ee5\u5206\u6563\u5b58\u50a8\u538b\u529b\u3002"),(0,l.yg)("h3",{id:"\u8bfb\u5199\u5206\u79bb\u539f\u7406"},"\u8bfb\u5199\u5206\u79bb\u539f\u7406"),(0,l.yg)("p",null,"\u8bfb\u5199\u5206\u79bb\u7684\u57fa\u672c\u539f\u7406\u662f\u5c06\u6570\u636e\u5e93\u8bfb\u5199\u64cd\u4f5c\u5206\u6563\u5230\u4e0d\u540c\u7684\u8282\u70b9\u4e0a\uff0c\u4e0b\u9762\u662f\u5176\u57fa\u672c\u67b6\u6784\u56fe\u3002"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(66215).A,width:"914",height:"647"})),(0,l.yg)("p",null,"\u8bfb\u5199\u5206\u79bb\u7684\u5b9e\u73b0\u903b\u8f91\u5e76\u4e0d\u590d\u6742\uff0c\u4f46\u6709\u4e24\u4e2a\u7ec6\u8282\u70b9\u5c06\u5f15\u5165\u8bbe\u8ba1\u590d\u6742\u5ea6\uff1a\u4e3b\u4ece\u590d\u5236\u5ef6\u8fdf\u548c\u5206\u914d\u673a\u5236\u3002"),(0,l.yg)("p",null,"\u89e3\u51b3\u4e3b\u4ece\u590d\u5236\u5ef6\u8fdf\u6709\u51e0\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5199\u64cd\u4f5c\u540e\u7684\u8bfb\u64cd\u4f5c\u6307\u5b9a\u53d1\u7ed9\u6570\u636e\u5e93\u4e3b\u670d\u52a1\u5668"),(0,l.yg)("li",{parentName:"ol"},"\u8bfb\u4ece\u673a\u5931\u8d25\u540e\u518d\u8bfb\u4e00\u6b21\u4e3b\u673a"),(0,l.yg)("li",{parentName:"ol"},"\u5173\u952e\u4e1a\u52a1\u8bfb\u5199\u64cd\u4f5c\u5168\u90e8\u6307\u5411\u4e3b\u673a\uff0c\u975e\u5173\u952e\u4e1a\u52a1\u91c7\u7528\u8bfb\u5199\u5206\u79bb")),(0,l.yg)("p",null,"\u5c06\u8bfb\u5199\u64cd\u4f5c\u533a\u5206\u5f00\u6765\uff0c\u7136\u540e\u8bbf\u95ee\u4e0d\u540c\u7684\u6570\u636e\u5e93\u670d\u52a1\u5668\uff0c\u4e00\u822c\u6709\u4e24\u79cd\u65b9\u5f0f\uff1a\u7a0b\u5e8f\u4ee3\u7801\u5c01\u88c5\u548c\u4e2d\u95f4\u4ef6\u5c01\u88c5\u3002"),(0,l.yg)("p",null,"\u7a0b\u5e8f\u4ee3\u7801\u5c01\u88c5\u7684\u65b9\u5f0f\uff0c\u5728\u76ee\u524d\u5f00\u6e90\u7684\u5b9e\u73b0\u65b9\u6848\u4e2d\uff0c\u6dd8\u5b9d\u7684 TDDL\uff08Taobao Distributed Data Layer\uff0c\u5916\u53f7: \u5934\u90fd\u5927\u4e86\uff09\u662f\u6bd4\u8f83\u6709\u540d\u7684\u3002\u5b83\u662f\u4e00\u4e2a\u901a\u7528\u6570\u636e\u8bbf\u95ee\u5c42\uff0c\u6240\u6709\u529f\u80fd\u5c01\u88c5\u5728 jar \u5305\u4e2d\u63d0\u4f9b\u7ed9\u4e1a\u52a1\u4ee3\u7801\u8c03\u7528\u3002"),(0,l.yg)("p",null,"\u4e2d\u95f4\u4ef6\u5c01\u88c5\u6307\u7684\u662f\u72ec\u7acb\u4e00\u5957\u7cfb\u7edf\u51fa\u6765\uff0c\u5b9e\u73b0\u8bfb\u5199\u64cd\u4f5c\u5206\u79bb\u548c\u6570\u636e\u5e93\u670d\u52a1\u5668\u8fde\u63a5\u7684\u7ba1\u7406\u3002\u4e2d\u95f4\u4ef6\u5bf9\u4e1a\u52a1\u670d\u52a1\u5668\u63d0\u4f9b SQL \u517c\u5bb9\u7684\u534f\u8bae\uff0c\u4e1a\u52a1\u670d\u52a1\u5668\u65e0\u987b\u81ea\u5df1\u8fdb\u884c\u8bfb\u5199\u5206\u79bb\u3002\u5bf9\u4e8e\u4e1a\u52a1\u670d\u52a1\u5668\u6765\u8bf4\uff0c\u8bbf\u95ee\u4e2d\u95f4\u4ef6\u548c\u8bbf\u95ee\u6570\u636e\u5e93\u6ca1\u6709\u533a\u522b\uff0c\u4e8b\u5b9e\u4e0a\u5728\u4e1a\u52a1\u670d\u52a1\u5668\u770b\u6765\uff0c\u4e2d\u95f4\u4ef6\u5c31\u662f\u4e00\u4e2a\u6570\u636e\u5e93\u670d\u52a1\u5668\u3002"),(0,l.yg)("p",null,"\u76ee\u524d\u7684\u5f00\u6e90\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\u65b9\u6848\u4e2d\uff0cMySQL \u5b98\u65b9\u5148\u662f\u63d0\u4f9b\u4e86 MySQL Proxy\uff0c\u4f46 MySQL Proxy \u4e00\u76f4\u6ca1\u6709\u6b63\u5f0f GA\uff0c\u73b0\u5728 MySQL \u5b98\u65b9\u63a8\u8350 MySQL Router\u3002\u5947\u864e 360 \u516c\u53f8\u4e5f\u5f00\u6e90\u4e86\u81ea\u5df1\u7684\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6 Atlas\uff0cAtlas \u662f\u57fa\u4e8e MySQL Proxy \u5b9e\u73b0\u7684\u3002"),(0,l.yg)("h3",{id:"\u5206\u5e93\u5206\u8868"},"\u5206\u5e93\u5206\u8868"),(0,l.yg)("p",null,"\u4e1a\u52a1\u5206\u5e93\u6307\u7684\u662f\u6309\u7167\u4e1a\u52a1\u6a21\u5757\u5c06\u6570\u636e\u5206\u6563\u5230\u4e0d\u540c\u7684\u6570\u636e\u5e93\u670d\u52a1\u5668\u3002\u867d\u7136\u4e1a\u52a1\u5206\u5e93\u80fd\u591f\u5206\u6563\u5b58\u50a8\u548c\u8bbf\u95ee\u538b\u529b\uff0c\u4f46\u540c\u65f6\u4e5f\u5e26\u6765\u4e86\u65b0\u7684\u95ee\u9898\uff0c\u63a5\u4e0b\u6765\u6211\u8fdb\u884c\u8be6\u7ec6\u5206\u6790\u3002"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"join \u64cd\u4f5c\u95ee\u9898\uff0c\u4e1a\u52a1\u5206\u5e93\u540e\uff0c\u539f\u672c\u5728\u540c\u4e00\u4e2a\u6570\u636e\u5e93\u4e2d\u7684\u8868\u5206\u6563\u5230\u4e0d\u540c\u6570\u636e\u5e93\u4e2d\uff0c\u5bfc\u81f4\u65e0\u6cd5\u4f7f\u7528 SQL \u7684 join \u67e5\u8be2\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4e8b\u52a1\u95ee\u9898\uff0c\u539f\u672c\u5728\u540c\u4e00\u4e2a\u6570\u636e\u5e93\u4e2d\u4e0d\u540c\u7684\u8868\u53ef\u4ee5\u5728\u540c\u4e00\u4e2a\u4e8b\u52a1\u4e2d\u4fee\u6539\uff0c\u4e1a\u52a1\u5206\u5e93\u540e\uff0c\u8868\u5206\u6563\u5230\u4e0d\u540c\u7684\u6570\u636e\u5e93\u4e2d\uff0c\u65e0\u6cd5\u901a\u8fc7\u4e8b\u52a1\u7edf\u4e00\u4fee\u6539\u3002\u867d\u7136\u6570\u636e\u5e93\u5382\u5546\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5206\u5e03\u5f0f\u4e8b\u52a1\u7684\u89e3\u51b3\u65b9\u6848\uff08\u4f8b\u5982\uff0cMySQL \u7684 XA\uff09\uff0c\u4f46\u6027\u80fd\u5b9e\u5728\u592a\u4f4e\uff0c\u4e0e\u9ad8\u6027\u80fd\u5b58\u50a8\u7684\u76ee\u6807\u662f\u76f8\u8fdd\u80cc\u7684\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u6210\u672c\u95ee\u9898")),(0,l.yg)("p",null,"\u5c06\u4e0d\u540c\u4e1a\u52a1\u6570\u636e\u5206\u6563\u5b58\u50a8\u5230\u4e0d\u540c\u7684\u6570\u636e\u5e93\u670d\u52a1\u5668\uff0c\u80fd\u591f\u652f\u6491\u767e\u4e07\u751a\u81f3\u5343\u4e07\u7528\u6237\u89c4\u6a21\u7684\u4e1a\u52a1\uff0c\u4f46\u5982\u679c\u4e1a\u52a1\u7ee7\u7eed\u53d1\u5c55\uff0c\u540c\u4e00\u4e1a\u52a1\u7684\u5355\u8868\u6570\u636e\u4e5f\u4f1a\u8fbe\u5230\u5355\u53f0\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u5904\u7406\u74f6\u9888\u3002\u4f8b\u5982\uff0c\u6dd8\u5b9d\u7684\u51e0\u4ebf\u7528\u6237\u6570\u636e\uff0c\u5982\u679c\u5168\u90e8\u5b58\u653e\u5728\u4e00\u53f0\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4e00\u5f20\u8868\u4e2d\uff0c\u80af\u5b9a\u662f\u65e0\u6cd5\u6ee1\u8db3\u6027\u80fd\u8981\u6c42\u7684\uff0c\u6b64\u65f6\u5c31\u9700\u8981\u5bf9\u5355\u8868\u6570\u636e\u8fdb\u884c\u62c6\u5206\u3002"),(0,l.yg)("p",null,"\u5355\u8868\u6570\u636e\u62c6\u5206\u6709\u4e24\u79cd\u65b9\u5f0f\uff1a\u5782\u76f4\u5206\u8868\u548c\u6c34\u5e73\u5206\u8868\u3002\u793a\u610f\u56fe\u5982\u4e0b\uff1a\n",(0,l.yg)("img",{alt:"image.png",src:n(90430).A,width:"1534",height:"804"})))}s.isMDXComponent=!0},66215:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/2-4e7ea6ea9e8204899e24d4788b873bce.png"},90430:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/3-20a57e605dc69d5091de2bbfb0461e46.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5878],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>g});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},y=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,o=e.originalType,p=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),u=c(n),d=l,g=u["".concat(p,".").concat(d)]||u[d]||s[d]||o;return n?r.createElement(g,a(a({ref:t},y),{},{components:n})):r.createElement(g,a({ref:t},y))}));function g(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=n.length,a=new Array(o);a[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[u]="string"==typeof e?e:l,a[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var r=n(58168),l=(n(96540),n(15680));const o={},a=void 0,i={unversionedId:"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",id:"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",title:"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",description:"\u867d\u7136\u8fd1\u5341\u5e74\u6765\u5404\u79cd\u5b58\u50a8\u6280\u672f\u98de\u901f\u53d1\u5c55\uff0c\u4f46\u5173\u7cfb\u6570\u636e\u5e93\u7531\u4e8e\u5176 ACID \u7684\u7279\u6027\u548c\u529f\u80fd\u5f3a\u5927\u7684 SQL \u67e5\u8be2\uff0c\u76ee\u524d\u8fd8\u662f\u5404\u79cd\u4e1a\u52a1\u7cfb\u7edf\u4e2d\u5173\u952e\u548c\u6838\u5fc3\u7684\u5b58\u50a8\u7cfb\u7edf\uff0c\u5f88\u591a\u573a\u666f\u4e0b\u9ad8\u6027\u80fd\u7684\u8bbe\u8ba1\u6700\u6838\u5fc3\u7684\u90e8\u5206\u5c31\u662f\u5173\u7cfb\u6570\u636e\u5e93\u7684\u8bbe\u8ba1\u3002",source:"@site/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",permalink:"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8d1f\u8f7d\u5747\u8861",permalink:"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861"},next:{title:"Actor Model",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model"}},p={},c=[{value:"\u8bfb\u5199\u5206\u79bb\u539f\u7406",id:"\u8bfb\u5199\u5206\u79bb\u539f\u7406",level:3},{value:"\u5206\u5e93\u5206\u8868",id:"\u5206\u5e93\u5206\u8868",level:3}],y={toc:c},u="wrapper";function s(e){let{components:t,...o}=e;return(0,l.yg)(u,(0,r.A)({},y,o,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"\u867d\u7136\u8fd1\u5341\u5e74\u6765\u5404\u79cd\u5b58\u50a8\u6280\u672f\u98de\u901f\u53d1\u5c55\uff0c\u4f46\u5173\u7cfb\u6570\u636e\u5e93\u7531\u4e8e\u5176 ACID \u7684\u7279\u6027\u548c\u529f\u80fd\u5f3a\u5927\u7684 SQL \u67e5\u8be2\uff0c\u76ee\u524d\u8fd8\u662f\u5404\u79cd\u4e1a\u52a1\u7cfb\u7edf\u4e2d\u5173\u952e\u548c\u6838\u5fc3\u7684\u5b58\u50a8\u7cfb\u7edf\uff0c\u5f88\u591a\u573a\u666f\u4e0b\u9ad8\u6027\u80fd\u7684\u8bbe\u8ba1\u6700\u6838\u5fc3\u7684\u90e8\u5206\u5c31\u662f\u5173\u7cfb\u6570\u636e\u5e93\u7684\u8bbe\u8ba1\u3002"),(0,l.yg)("p",null,"\u4e0d\u7ba1\u662f\u4e3a\u4e86\u6ee1\u8db3\u4e1a\u52a1\u53d1\u5c55\u7684\u9700\u8981\uff0c\u8fd8\u662f\u4e3a\u4e86\u63d0\u5347\u81ea\u5df1\u7684\u7ade\u4e89\u529b\uff0c\u5173\u7cfb\u6570\u636e\u5e93\u5382\u5546\uff08Oracle\u3001DB2\u3001MySQL \u7b49\uff09\u5728\u4f18\u5316\u548c\u63d0\u5347\u5355\u4e2a\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u6027\u80fd\u65b9\u9762\u4e5f\u505a\u4e86\u975e\u5e38\u591a\u7684\u6280\u672f\u4f18\u5316\u548c\u6539\u8fdb\u3002\u4f46\u4e1a\u52a1\u53d1\u5c55\u901f\u5ea6\u548c\u6570\u636e\u589e\u957f\u901f\u5ea6\uff0c\u8fdc\u8fdc\u8d85\u51fa\u6570\u636e\u5e93\u5382\u5546\u7684\u4f18\u5316\u901f\u5ea6\uff0c\u5c24\u5176\u662f\u4e92\u8054\u7f51\u4e1a\u52a1\u5174\u8d77\u4e4b\u540e\uff0c\u6d77\u91cf\u7528\u6237\u52a0\u4e0a\u6d77\u91cf\u6570\u636e\u7684\u7279\u70b9\uff0c\u5355\u4e2a\u6570\u636e\u5e93\u670d\u52a1\u5668\u5df2\u7ecf\u96be\u4ee5\u6ee1\u8db3\u4e1a\u52a1\u9700\u8981\uff0c\u5fc5\u987b\u8003\u8651\u6570\u636e\u5e93\u96c6\u7fa4\u7684\u65b9\u5f0f\u6765\u63d0\u5347\u6027\u80fd\u3002"),(0,l.yg)("p",null,"\u9ad8\u6027\u80fd\u6570\u636e\u5e93\u96c6\u7fa4\u7684\u7b2c\u4e00\u79cd\u65b9\u5f0f\u662f\u201c\u8bfb\u5199\u5206\u79bb\u201d\uff0c\u5176\u672c\u8d28\u662f\u5c06\u8bbf\u95ee\u538b\u529b\u5206\u6563\u5230\u96c6\u7fa4\u4e2d\u7684\u591a\u4e2a\u8282\u70b9\uff0c\u4f46\u662f\u6ca1\u6709\u5206\u6563\u5b58\u50a8\u538b\u529b\uff1b\u7b2c\u4e8c\u79cd\u65b9\u5f0f\u662f\u201c\u5206\u5e93\u5206\u8868\u201d\uff0c\u65e2\u53ef\u4ee5\u5206\u6563\u8bbf\u95ee\u538b\u529b\uff0c\u53c8\u53ef\u4ee5\u5206\u6563\u5b58\u50a8\u538b\u529b\u3002"),(0,l.yg)("h3",{id:"\u8bfb\u5199\u5206\u79bb\u539f\u7406"},"\u8bfb\u5199\u5206\u79bb\u539f\u7406"),(0,l.yg)("p",null,"\u8bfb\u5199\u5206\u79bb\u7684\u57fa\u672c\u539f\u7406\u662f\u5c06\u6570\u636e\u5e93\u8bfb\u5199\u64cd\u4f5c\u5206\u6563\u5230\u4e0d\u540c\u7684\u8282\u70b9\u4e0a\uff0c\u4e0b\u9762\u662f\u5176\u57fa\u672c\u67b6\u6784\u56fe\u3002"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"image.png",src:n(66215).A,width:"914",height:"647"})),(0,l.yg)("p",null,"\u8bfb\u5199\u5206\u79bb\u7684\u5b9e\u73b0\u903b\u8f91\u5e76\u4e0d\u590d\u6742\uff0c\u4f46\u6709\u4e24\u4e2a\u7ec6\u8282\u70b9\u5c06\u5f15\u5165\u8bbe\u8ba1\u590d\u6742\u5ea6\uff1a\u4e3b\u4ece\u590d\u5236\u5ef6\u8fdf\u548c\u5206\u914d\u673a\u5236\u3002"),(0,l.yg)("p",null,"\u89e3\u51b3\u4e3b\u4ece\u590d\u5236\u5ef6\u8fdf\u6709\u51e0\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u5199\u64cd\u4f5c\u540e\u7684\u8bfb\u64cd\u4f5c\u6307\u5b9a\u53d1\u7ed9\u6570\u636e\u5e93\u4e3b\u670d\u52a1\u5668"),(0,l.yg)("li",{parentName:"ol"},"\u8bfb\u4ece\u673a\u5931\u8d25\u540e\u518d\u8bfb\u4e00\u6b21\u4e3b\u673a"),(0,l.yg)("li",{parentName:"ol"},"\u5173\u952e\u4e1a\u52a1\u8bfb\u5199\u64cd\u4f5c\u5168\u90e8\u6307\u5411\u4e3b\u673a\uff0c\u975e\u5173\u952e\u4e1a\u52a1\u91c7\u7528\u8bfb\u5199\u5206\u79bb")),(0,l.yg)("p",null,"\u5c06\u8bfb\u5199\u64cd\u4f5c\u533a\u5206\u5f00\u6765\uff0c\u7136\u540e\u8bbf\u95ee\u4e0d\u540c\u7684\u6570\u636e\u5e93\u670d\u52a1\u5668\uff0c\u4e00\u822c\u6709\u4e24\u79cd\u65b9\u5f0f\uff1a\u7a0b\u5e8f\u4ee3\u7801\u5c01\u88c5\u548c\u4e2d\u95f4\u4ef6\u5c01\u88c5\u3002"),(0,l.yg)("p",null,"\u7a0b\u5e8f\u4ee3\u7801\u5c01\u88c5\u7684\u65b9\u5f0f\uff0c\u5728\u76ee\u524d\u5f00\u6e90\u7684\u5b9e\u73b0\u65b9\u6848\u4e2d\uff0c\u6dd8\u5b9d\u7684 TDDL\uff08Taobao Distributed Data Layer\uff0c\u5916\u53f7: \u5934\u90fd\u5927\u4e86\uff09\u662f\u6bd4\u8f83\u6709\u540d\u7684\u3002\u5b83\u662f\u4e00\u4e2a\u901a\u7528\u6570\u636e\u8bbf\u95ee\u5c42\uff0c\u6240\u6709\u529f\u80fd\u5c01\u88c5\u5728 jar \u5305\u4e2d\u63d0\u4f9b\u7ed9\u4e1a\u52a1\u4ee3\u7801\u8c03\u7528\u3002"),(0,l.yg)("p",null,"\u4e2d\u95f4\u4ef6\u5c01\u88c5\u6307\u7684\u662f\u72ec\u7acb\u4e00\u5957\u7cfb\u7edf\u51fa\u6765\uff0c\u5b9e\u73b0\u8bfb\u5199\u64cd\u4f5c\u5206\u79bb\u548c\u6570\u636e\u5e93\u670d\u52a1\u5668\u8fde\u63a5\u7684\u7ba1\u7406\u3002\u4e2d\u95f4\u4ef6\u5bf9\u4e1a\u52a1\u670d\u52a1\u5668\u63d0\u4f9b SQL \u517c\u5bb9\u7684\u534f\u8bae\uff0c\u4e1a\u52a1\u670d\u52a1\u5668\u65e0\u987b\u81ea\u5df1\u8fdb\u884c\u8bfb\u5199\u5206\u79bb\u3002\u5bf9\u4e8e\u4e1a\u52a1\u670d\u52a1\u5668\u6765\u8bf4\uff0c\u8bbf\u95ee\u4e2d\u95f4\u4ef6\u548c\u8bbf\u95ee\u6570\u636e\u5e93\u6ca1\u6709\u533a\u522b\uff0c\u4e8b\u5b9e\u4e0a\u5728\u4e1a\u52a1\u670d\u52a1\u5668\u770b\u6765\uff0c\u4e2d\u95f4\u4ef6\u5c31\u662f\u4e00\u4e2a\u6570\u636e\u5e93\u670d\u52a1\u5668\u3002"),(0,l.yg)("p",null,"\u76ee\u524d\u7684\u5f00\u6e90\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\u65b9\u6848\u4e2d\uff0cMySQL \u5b98\u65b9\u5148\u662f\u63d0\u4f9b\u4e86 MySQL Proxy\uff0c\u4f46 MySQL Proxy \u4e00\u76f4\u6ca1\u6709\u6b63\u5f0f GA\uff0c\u73b0\u5728 MySQL \u5b98\u65b9\u63a8\u8350 MySQL Router\u3002\u5947\u864e 360 \u516c\u53f8\u4e5f\u5f00\u6e90\u4e86\u81ea\u5df1\u7684\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6 Atlas\uff0cAtlas \u662f\u57fa\u4e8e MySQL Proxy \u5b9e\u73b0\u7684\u3002"),(0,l.yg)("h3",{id:"\u5206\u5e93\u5206\u8868"},"\u5206\u5e93\u5206\u8868"),(0,l.yg)("p",null,"\u4e1a\u52a1\u5206\u5e93\u6307\u7684\u662f\u6309\u7167\u4e1a\u52a1\u6a21\u5757\u5c06\u6570\u636e\u5206\u6563\u5230\u4e0d\u540c\u7684\u6570\u636e\u5e93\u670d\u52a1\u5668\u3002\u867d\u7136\u4e1a\u52a1\u5206\u5e93\u80fd\u591f\u5206\u6563\u5b58\u50a8\u548c\u8bbf\u95ee\u538b\u529b\uff0c\u4f46\u540c\u65f6\u4e5f\u5e26\u6765\u4e86\u65b0\u7684\u95ee\u9898\uff0c\u63a5\u4e0b\u6765\u6211\u8fdb\u884c\u8be6\u7ec6\u5206\u6790\u3002"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"join \u64cd\u4f5c\u95ee\u9898\uff0c\u4e1a\u52a1\u5206\u5e93\u540e\uff0c\u539f\u672c\u5728\u540c\u4e00\u4e2a\u6570\u636e\u5e93\u4e2d\u7684\u8868\u5206\u6563\u5230\u4e0d\u540c\u6570\u636e\u5e93\u4e2d\uff0c\u5bfc\u81f4\u65e0\u6cd5\u4f7f\u7528 SQL \u7684 join \u67e5\u8be2\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4e8b\u52a1\u95ee\u9898\uff0c\u539f\u672c\u5728\u540c\u4e00\u4e2a\u6570\u636e\u5e93\u4e2d\u4e0d\u540c\u7684\u8868\u53ef\u4ee5\u5728\u540c\u4e00\u4e2a\u4e8b\u52a1\u4e2d\u4fee\u6539\uff0c\u4e1a\u52a1\u5206\u5e93\u540e\uff0c\u8868\u5206\u6563\u5230\u4e0d\u540c\u7684\u6570\u636e\u5e93\u4e2d\uff0c\u65e0\u6cd5\u901a\u8fc7\u4e8b\u52a1\u7edf\u4e00\u4fee\u6539\u3002\u867d\u7136\u6570\u636e\u5e93\u5382\u5546\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5206\u5e03\u5f0f\u4e8b\u52a1\u7684\u89e3\u51b3\u65b9\u6848\uff08\u4f8b\u5982\uff0cMySQL \u7684 XA\uff09\uff0c\u4f46\u6027\u80fd\u5b9e\u5728\u592a\u4f4e\uff0c\u4e0e\u9ad8\u6027\u80fd\u5b58\u50a8\u7684\u76ee\u6807\u662f\u76f8\u8fdd\u80cc\u7684\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u6210\u672c\u95ee\u9898")),(0,l.yg)("p",null,"\u5c06\u4e0d\u540c\u4e1a\u52a1\u6570\u636e\u5206\u6563\u5b58\u50a8\u5230\u4e0d\u540c\u7684\u6570\u636e\u5e93\u670d\u52a1\u5668\uff0c\u80fd\u591f\u652f\u6491\u767e\u4e07\u751a\u81f3\u5343\u4e07\u7528\u6237\u89c4\u6a21\u7684\u4e1a\u52a1\uff0c\u4f46\u5982\u679c\u4e1a\u52a1\u7ee7\u7eed\u53d1\u5c55\uff0c\u540c\u4e00\u4e1a\u52a1\u7684\u5355\u8868\u6570\u636e\u4e5f\u4f1a\u8fbe\u5230\u5355\u53f0\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u5904\u7406\u74f6\u9888\u3002\u4f8b\u5982\uff0c\u6dd8\u5b9d\u7684\u51e0\u4ebf\u7528\u6237\u6570\u636e\uff0c\u5982\u679c\u5168\u90e8\u5b58\u653e\u5728\u4e00\u53f0\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u4e00\u5f20\u8868\u4e2d\uff0c\u80af\u5b9a\u662f\u65e0\u6cd5\u6ee1\u8db3\u6027\u80fd\u8981\u6c42\u7684\uff0c\u6b64\u65f6\u5c31\u9700\u8981\u5bf9\u5355\u8868\u6570\u636e\u8fdb\u884c\u62c6\u5206\u3002"),(0,l.yg)("p",null,"\u5355\u8868\u6570\u636e\u62c6\u5206\u6709\u4e24\u79cd\u65b9\u5f0f\uff1a\u5782\u76f4\u5206\u8868\u548c\u6c34\u5e73\u5206\u8868\u3002\u793a\u610f\u56fe\u5982\u4e0b\uff1a\n",(0,l.yg)("img",{alt:"image.png",src:n(90430).A,width:"1534",height:"804"})))}s.isMDXComponent=!0},66215:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/2-4e7ea6ea9e8204899e24d4788b873bce.png"},90430:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/3-20a57e605dc69d5091de2bbfb0461e46.png"}}]); \ No newline at end of file diff --git a/assets/js/a53f992a.d7e146df.js b/assets/js/a53f992a.8246d3df.js similarity index 98% rename from assets/js/a53f992a.d7e146df.js rename to assets/js/a53f992a.8246d3df.js index 65edd3325..e29fb1cec 100644 --- a/assets/js/a53f992a.d7e146df.js +++ b/assets/js/a53f992a.8246d3df.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9583],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),i=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=i(e.components);return n.createElement(p.Provider,{value:t},e.children)},l="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,s=d(e,["components","mdxType","originalType","parentName"]),l=i(r),f=o,y=l["".concat(p,".").concat(f)]||l[f]||u[f]||a;return r?n.createElement(y,c(c({ref:t},s),{},{components:r})):n.createElement(y,c({ref:t},s))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d[l]="string"==typeof e?e:o,c[1]=d;for(var i=2;i{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>d,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,d={unversionedId:"study/db/NoSQL/Hadoop",id:"study/db/NoSQL/Hadoop",title:"Hadoop",description:"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f",source:"@site/docs/study/db/NoSQL/Hadoop.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Hadoop",permalink:"/docs/study/db/NoSQL/Hadoop",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Etcd",permalink:"/docs/study/db/NoSQL/Etcd"},next:{title:"Hbase",permalink:"/docs/study/db/NoSQL/Hbase"}},p={},i=[{value:"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f",id:"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f",level:3}],s={toc:i},l="wrapper";function u(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f"},"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"cd /opt/ccsp/hadoop-3.3.6/bin\n./hadoop dfsadmin -safemode leave\n")))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9583],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),i=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=i(e.components);return n.createElement(p.Provider,{value:t},e.children)},l="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,s=d(e,["components","mdxType","originalType","parentName"]),l=i(r),f=o,y=l["".concat(p,".").concat(f)]||l[f]||u[f]||a;return r?n.createElement(y,c(c({ref:t},s),{},{components:r})):n.createElement(y,c({ref:t},s))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var d={};for(var p in t)hasOwnProperty.call(t,p)&&(d[p]=t[p]);d.originalType=e,d[l]="string"==typeof e?e:o,c[1]=d;for(var i=2;i{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>d,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,d={unversionedId:"study/db/NoSQL/Hadoop",id:"study/db/NoSQL/Hadoop",title:"Hadoop",description:"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f",source:"@site/docs/study/db/NoSQL/Hadoop.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Hadoop",permalink:"/docs/study/db/NoSQL/Hadoop",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Etcd",permalink:"/docs/study/db/NoSQL/Etcd"},next:{title:"Hbase",permalink:"/docs/study/db/NoSQL/Hbase"}},p={},i=[{value:"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f",id:"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f",level:3}],s={toc:i},l="wrapper";function u(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f"},"\u9000\u51fa\u5b89\u5168\u6a21\u5f0f"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"cd /opt/ccsp/hadoop-3.3.6/bin\n./hadoop dfsadmin -safemode leave\n")))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a5cbff69.5b841c6e.js b/assets/js/a5cbff69.5c3d91ac.js similarity index 98% rename from assets/js/a5cbff69.5b841c6e.js rename to assets/js/a5cbff69.5c3d91ac.js index de41fcd17..91734aeff 100644 --- a/assets/js/a5cbff69.5b841c6e.js +++ b/assets/js/a5cbff69.5c3d91ac.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[821],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),c=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=c(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),u=c(r),d=o,y=u["".concat(s,".").concat(d)]||u[d]||g[d]||a;return r?n.createElement(y,l(l({ref:t},i),{},{components:r})):n.createElement(y,l({ref:t},i))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var p={};for(var s in t)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p[u]="string"==typeof e?e:o,l[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>g,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,p={unversionedId:"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177",id:"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177",title:"\u5e38\u7528\u7684\u5de5\u5177",description:"json-to-go",source:"@site/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",permalink:"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406"},next:{title:"\u5e38\u7528\u7684\u6846\u67b6",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6"}},s={},c=[{value:"json-to-go",id:"json-to-go",level:3},{value:"\u7528go\u5b9e\u73b0\u5404\u79cd\u6392\u5e8f\u7b97\u6cd5",id:"\u7528go\u5b9e\u73b0\u5404\u79cd\u6392\u5e8f\u7b97\u6cd5",level:3}],i={toc:c},u="wrapper";function g(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"json-to-go"},"json-to-go"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://mholt.github.io/json-to-go/"},"https://mholt.github.io/json-to-go/")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zxy_666/article/details/80173288"},"Go\u7684json\u89e3\u6790\uff1aMarshal\u4e0eUnmarshal")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/K346K346/article/details/90482815"},"Golang json \u89e3\u6790\u4e0e\u751f\u6210"))),(0,o.yg)("h3",{id:"\u7528go\u5b9e\u73b0\u5404\u79cd\u6392\u5e8f\u7b97\u6cd5"},"\u7528go\u5b9e\u73b0\u5404\u79cd\u6392\u5e8f\u7b97\u6cd5"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.topgoer.cn/docs/gosuanfa/gosuanfa-1c906k4cpjfnp"},"https://www.topgoer.cn/docs/gosuanfa/gosuanfa-1c906k4cpjfnp"))))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[821],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),c=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=c(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),u=c(r),d=o,y=u["".concat(s,".").concat(d)]||u[d]||g[d]||a;return r?n.createElement(y,l(l({ref:t},i),{},{components:r})):n.createElement(y,l({ref:t},i))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var p={};for(var s in t)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p[u]="string"==typeof e?e:o,l[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>g,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,p={unversionedId:"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177",id:"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177",title:"\u5e38\u7528\u7684\u5de5\u5177",description:"json-to-go",source:"@site/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",permalink:"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406"},next:{title:"\u5e38\u7528\u7684\u6846\u67b6",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6"}},s={},c=[{value:"json-to-go",id:"json-to-go",level:3},{value:"\u7528go\u5b9e\u73b0\u5404\u79cd\u6392\u5e8f\u7b97\u6cd5",id:"\u7528go\u5b9e\u73b0\u5404\u79cd\u6392\u5e8f\u7b97\u6cd5",level:3}],i={toc:c},u="wrapper";function g(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"json-to-go"},"json-to-go"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://mholt.github.io/json-to-go/"},"https://mholt.github.io/json-to-go/")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zxy_666/article/details/80173288"},"Go\u7684json\u89e3\u6790\uff1aMarshal\u4e0eUnmarshal")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/K346K346/article/details/90482815"},"Golang json \u89e3\u6790\u4e0e\u751f\u6210"))),(0,o.yg)("h3",{id:"\u7528go\u5b9e\u73b0\u5404\u79cd\u6392\u5e8f\u7b97\u6cd5"},"\u7528go\u5b9e\u73b0\u5404\u79cd\u6392\u5e8f\u7b97\u6cd5"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.topgoer.cn/docs/gosuanfa/gosuanfa-1c906k4cpjfnp"},"https://www.topgoer.cn/docs/gosuanfa/gosuanfa-1c906k4cpjfnp"))))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a633caa1.4a478370.js b/assets/js/a633caa1.8a4c71f5.js similarity index 98% rename from assets/js/a633caa1.4a478370.js rename to assets/js/a633caa1.8a4c71f5.js index cb3daf4d5..53fa0c17e 100644 --- a/assets/js/a633caa1.4a478370.js +++ b/assets/js/a633caa1.8a4c71f5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1902],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>m});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),p=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},u=function(e){var r=p(e.components);return n.createElement(c.Provider,{value:r},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(t),d=a,m=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return t?n.createElement(m,l(l({ref:r},u),{},{components:t})):n.createElement(m,l({ref:r},u))}));function m(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=d;var i={};for(var c in r)hasOwnProperty.call(r,c)&&(i[c]=r[c]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=t(58168),a=(t(96540),t(15680));const o={},l=void 0,i={unversionedId:"study/program/JAVA/JDK21",id:"study/program/JAVA/JDK21",title:"JDK21",description:"\u865a\u62df\u7ebf\u7a0b",source:"@site/docs/study/program/JAVA/JDK21.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JDK21",permalink:"/docs/study/program/JAVA/JDK21",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JDK17",permalink:"/docs/study/program/JAVA/JDK17"},next:{title:"JDK8",permalink:"/docs/study/program/JAVA/JDK8"}},c={},p=[{value:"\u865a\u62df\u7ebf\u7a0b",id:"\u865a\u62df\u7ebf\u7a0b",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:4}],u={toc:p},s="wrapper";function y(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h4",{id:"\u865a\u62df\u7ebf\u7a0b"},"\u865a\u62df\u7ebf\u7a0b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u865a\u62df\u7ebf\u7a0b\u662f\u8f7b\u91cf\u7ea7\u7684\uff0c\u5b83\u4eec\u4e0e\u5185\u6838\u7ebf\u7a0b\u65e0\u5173\uff0c\u56e0\u6b64\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u5177\u6709\u6bd4\u5177\u6709\u591a\u7ebf\u7a0b\u7684\u7ebf\u7a0b\u66f4\u5c11\u7684\u6838\u5fc3\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u865a\u62df\u7ebf\u7a0b\u5728 JDK 19 \u4e2d\u5f15\u5165\uff0cJDK21 \u6b63\u5f0f\u53d1\u5e03\uff0c\u65e8\u5728\u63d0\u9ad8\u53ef\u4f38\u7f29\u6027\u548c\u6548\u7387\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u865a\u62df\u7ebf\u7a0b\u4e0d\u662f\u7528\u6765\u63d0\u901f\u7684\uff0c\u800c\u662f\u7528\u6765\u63d0\u9ad8\u541e\u5410\u91cf\u7684\u3002")),(0,a.yg)("h4",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/659965075"},"\u300c\u540e\u7aef\u300d\u770b\u5b8c\u4fbf\u77e5 JDK21 \u4e2d\u865a\u62df\u7ebf\u7a0b\u5230\u5e95\u662f\u4ec0\u4e48\uff01"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1902],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>m});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),p=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},u=function(e){var r=p(e.components);return n.createElement(c.Provider,{value:r},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=p(t),d=a,m=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return t?n.createElement(m,l(l({ref:r},u),{},{components:t})):n.createElement(m,l({ref:r},u))}));function m(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=d;var i={};for(var c in r)hasOwnProperty.call(r,c)&&(i[c]=r[c]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=t(58168),a=(t(96540),t(15680));const o={},l=void 0,i={unversionedId:"study/program/JAVA/JDK21",id:"study/program/JAVA/JDK21",title:"JDK21",description:"\u865a\u62df\u7ebf\u7a0b",source:"@site/docs/study/program/JAVA/JDK21.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JDK21",permalink:"/docs/study/program/JAVA/JDK21",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JDK17",permalink:"/docs/study/program/JAVA/JDK17"},next:{title:"JDK8",permalink:"/docs/study/program/JAVA/JDK8"}},c={},p=[{value:"\u865a\u62df\u7ebf\u7a0b",id:"\u865a\u62df\u7ebf\u7a0b",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:4}],u={toc:p},s="wrapper";function y(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h4",{id:"\u865a\u62df\u7ebf\u7a0b"},"\u865a\u62df\u7ebf\u7a0b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u865a\u62df\u7ebf\u7a0b\u662f\u8f7b\u91cf\u7ea7\u7684\uff0c\u5b83\u4eec\u4e0e\u5185\u6838\u7ebf\u7a0b\u65e0\u5173\uff0c\u56e0\u6b64\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u5177\u6709\u6bd4\u5177\u6709\u591a\u7ebf\u7a0b\u7684\u7ebf\u7a0b\u66f4\u5c11\u7684\u6838\u5fc3\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u865a\u62df\u7ebf\u7a0b\u5728 JDK 19 \u4e2d\u5f15\u5165\uff0cJDK21 \u6b63\u5f0f\u53d1\u5e03\uff0c\u65e8\u5728\u63d0\u9ad8\u53ef\u4f38\u7f29\u6027\u548c\u6548\u7387\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u865a\u62df\u7ebf\u7a0b\u4e0d\u662f\u7528\u6765\u63d0\u901f\u7684\uff0c\u800c\u662f\u7528\u6765\u63d0\u9ad8\u541e\u5410\u91cf\u7684\u3002")),(0,a.yg)("h4",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/659965075"},"\u300c\u540e\u7aef\u300d\u770b\u5b8c\u4fbf\u77e5 JDK21 \u4e2d\u865a\u62df\u7ebf\u7a0b\u5230\u5e95\u662f\u4ec0\u4e48\uff01"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a6c94d4c.8d6d4280.js b/assets/js/a6c94d4c.58f3cc28.js similarity index 98% rename from assets/js/a6c94d4c.8d6d4280.js rename to assets/js/a6c94d4c.58f3cc28.js index 10cf93766..4fb030750 100644 --- a/assets/js/a6c94d4c.8d6d4280.js +++ b/assets/js/a6c94d4c.58f3cc28.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7649],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=o,f=s["".concat(c,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,l(l({ref:t},p),{},{components:r})):n.createElement(f,l({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:o,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},l="\u6982\u8ff0",i={unversionedId:"iotcloud/index",id:"iotcloud/index",title:"\u6982\u8ff0",description:"\u6240\u6709\u7a0b\u5e8f\u7684\u4ee3\u7801\u5168\u90e8\u5f00\u6e90\uff0c\u514d\u8d39\u5546\u7528\uff0c\u4e0d\u53d7\u4efb\u4f55\u9650\u5236\uff0c\u81f4\u529b\u4e8e\u6253\u9020\u514d\u8d39\u3001\u5f00\u6e90\u3001\u6027\u80fd\u4f18\u5f02\u7684\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u751f\u6001\u3002",source:"@site/docs/iotcloud/index.md",sourceDirName:"iotcloud",slug:"/iotcloud/",permalink:"/docs/iotcloud/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"iotCloudSidebar",next:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/connect/"}},c={},u=[],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u6240\u6709\u7a0b\u5e8f\u7684\u4ee3\u7801\u5168\u90e8\u5f00\u6e90\uff0c\u514d\u8d39\u5546\u7528\uff0c\u4e0d\u53d7\u4efb\u4f55\u9650\u5236\uff0c\u81f4\u529b\u4e8e\u6253\u9020\u514d\u8d39\u3001\u5f00\u6e90\u3001\u6027\u80fd\u4f18\u5f02\u7684\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u751f\u6001\u3002"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u4e91\u5e73\u53f0-\u540e\u7aef\u6e90\u7801"),(0,o.yg)("li",{parentName:"ul"},"\u4e91\u5e73\u53f0-\u524d\u7aef\u6e90\u7801"),(0,o.yg)("li",{parentName:"ul"},"\u4e91\u5e73\u53f0-\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6e90\u7801"),(0,o.yg)("li",{parentName:"ul"},"\u4e91\u5e73\u53f0-\u79fb\u52a8\u7aef APP \u6e90\u7801")),(0,o.yg)("p",null,"\u867d\u7136\u672c\u5e73\u53f0\u7684\u5168\u90e8\u6e90\u7801\u516c\u5f00\u4e14\u514d\u8d39\u5546\u7528\uff0c\u4f46\u662f\u6211\u4e2a\u4eba\u8fd8\u662f\u9700\u8981\u751f\u5b58\uff0c\u53ef\u63d0\u4f9b\u5982\u4e0b\u4ed8\u8d39\u670d\u52a1\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u6280\u672f\u652f\u6301\uff0c\u53ef\u8fdb VIP \u5fae\u4fe1\u7fa4\uff0c\u63d0\u4f9b\u6280\u672f\u65b9\u6848\u6307\u5bfc\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u6570\u636e\u5e93\u8bf4\u660e\u6587\u6863\uff0c\u4e3b\u8981\u662f\u8868\u540d\u3001\u5b57\u6bb5\u540d\u542b\u4e49\u89e3\u91ca\uff0c\u5bf9\u4e8e\u8981\u4e8c\u5f00\u975e\u5e38\u6709\u5e2e\u52a9\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u540e\u7aef\u6e90\u7801\u8bf4\u660e\u6587\u6863\uff0c\u4e3b\u8981\u662f\u548c\u7528\u6237\u7684\u534f\u8bae\u6587\u6863\u3001\u548c\u8bbe\u5907\u7684\u534f\u8bae\u6587\u6863\u3001\u540e\u7aef\u6570\u636e\u5185\u90e8\u6570\u636e\u6d41\u8f6c\u3001\u540e\u7aef\u67b6\u6784\u56fe\u3001\u63d0\u4f9b\u7ed9\u524d\u7aef\u7684\u63a5\u53e3\u6587\u6863\u7b49\uff0c\u5bf9\u4e8e\u4e8c\u5f00\u975e\u5e38\u6709\u5e2e\u52a9\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u524d\u7aef\u6e90\u7801\u8bf4\u660e\u6587\u6863\uff0c\u4e3b\u8981\u662f\u67b6\u6784\u56fe\u3001\u524d\u7aef\u7f16\u7801\u89c4\u8303\u3001\u524d\u7aef\u624b\u673a\u7ec4\u6001\u7f16\u8f91\u5668\u4e8c\u5f00\u6587\u6863\u7b49\uff0c\u5bf9\u4e8e\u4e8c\u5f00\u975e\u5e38\u6709\u5e2e\u52a9\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6e90\u7801\u8bf4\u660e\u6587\u6863\uff0c\u4e3b\u8981\u662f\u67b6\u6784\u56fe\u3001\u7f16\u7801\u89c4\u8303\u3001\u624b\u673a\u7ec4\u6001\u6e32\u67d3\u903b\u8f91\u7b49\uff0c\u5bf9\u4e8e\u4e8c\u5f00\u975e\u5e38\u6709\u5e2e\u52a9\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u79fb\u52a8\u7aef APP \u6e90\u7801\u8bf4\u660e\u6587\u6863\uff0c\u5305\u62ec\u67b6\u6784\u56fe\u3001\u7f16\u7801\u89c4\u8303\u3001\u4e0a\u7ebf APP \u5546\u5e97\u6d41\u7a0b\u8bf4\u660e\u7b49\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u79c1\u6709\u90e8\u7f72\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u529f\u80fd\u5b9a\u5236\uff1b")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7649],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=o,f=s["".concat(c,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,l(l({ref:t},p),{},{components:r})):n.createElement(f,l({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:o,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},l="\u6982\u8ff0",i={unversionedId:"iotcloud/index",id:"iotcloud/index",title:"\u6982\u8ff0",description:"\u6240\u6709\u7a0b\u5e8f\u7684\u4ee3\u7801\u5168\u90e8\u5f00\u6e90\uff0c\u514d\u8d39\u5546\u7528\uff0c\u4e0d\u53d7\u4efb\u4f55\u9650\u5236\uff0c\u81f4\u529b\u4e8e\u6253\u9020\u514d\u8d39\u3001\u5f00\u6e90\u3001\u6027\u80fd\u4f18\u5f02\u7684\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u751f\u6001\u3002",source:"@site/docs/iotcloud/index.md",sourceDirName:"iotcloud",slug:"/iotcloud/",permalink:"/docs/iotcloud/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"iotCloudSidebar",next:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/connect/"}},c={},u=[],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u6240\u6709\u7a0b\u5e8f\u7684\u4ee3\u7801\u5168\u90e8\u5f00\u6e90\uff0c\u514d\u8d39\u5546\u7528\uff0c\u4e0d\u53d7\u4efb\u4f55\u9650\u5236\uff0c\u81f4\u529b\u4e8e\u6253\u9020\u514d\u8d39\u3001\u5f00\u6e90\u3001\u6027\u80fd\u4f18\u5f02\u7684\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u751f\u6001\u3002"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u4e91\u5e73\u53f0-\u540e\u7aef\u6e90\u7801"),(0,o.yg)("li",{parentName:"ul"},"\u4e91\u5e73\u53f0-\u524d\u7aef\u6e90\u7801"),(0,o.yg)("li",{parentName:"ul"},"\u4e91\u5e73\u53f0-\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6e90\u7801"),(0,o.yg)("li",{parentName:"ul"},"\u4e91\u5e73\u53f0-\u79fb\u52a8\u7aef APP \u6e90\u7801")),(0,o.yg)("p",null,"\u867d\u7136\u672c\u5e73\u53f0\u7684\u5168\u90e8\u6e90\u7801\u516c\u5f00\u4e14\u514d\u8d39\u5546\u7528\uff0c\u4f46\u662f\u6211\u4e2a\u4eba\u8fd8\u662f\u9700\u8981\u751f\u5b58\uff0c\u53ef\u63d0\u4f9b\u5982\u4e0b\u4ed8\u8d39\u670d\u52a1\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u6280\u672f\u652f\u6301\uff0c\u53ef\u8fdb VIP \u5fae\u4fe1\u7fa4\uff0c\u63d0\u4f9b\u6280\u672f\u65b9\u6848\u6307\u5bfc\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u6570\u636e\u5e93\u8bf4\u660e\u6587\u6863\uff0c\u4e3b\u8981\u662f\u8868\u540d\u3001\u5b57\u6bb5\u540d\u542b\u4e49\u89e3\u91ca\uff0c\u5bf9\u4e8e\u8981\u4e8c\u5f00\u975e\u5e38\u6709\u5e2e\u52a9\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u540e\u7aef\u6e90\u7801\u8bf4\u660e\u6587\u6863\uff0c\u4e3b\u8981\u662f\u548c\u7528\u6237\u7684\u534f\u8bae\u6587\u6863\u3001\u548c\u8bbe\u5907\u7684\u534f\u8bae\u6587\u6863\u3001\u540e\u7aef\u6570\u636e\u5185\u90e8\u6570\u636e\u6d41\u8f6c\u3001\u540e\u7aef\u67b6\u6784\u56fe\u3001\u63d0\u4f9b\u7ed9\u524d\u7aef\u7684\u63a5\u53e3\u6587\u6863\u7b49\uff0c\u5bf9\u4e8e\u4e8c\u5f00\u975e\u5e38\u6709\u5e2e\u52a9\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u524d\u7aef\u6e90\u7801\u8bf4\u660e\u6587\u6863\uff0c\u4e3b\u8981\u662f\u67b6\u6784\u56fe\u3001\u524d\u7aef\u7f16\u7801\u89c4\u8303\u3001\u524d\u7aef\u624b\u673a\u7ec4\u6001\u7f16\u8f91\u5668\u4e8c\u5f00\u6587\u6863\u7b49\uff0c\u5bf9\u4e8e\u4e8c\u5f00\u975e\u5e38\u6709\u5e2e\u52a9\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6e90\u7801\u8bf4\u660e\u6587\u6863\uff0c\u4e3b\u8981\u662f\u67b6\u6784\u56fe\u3001\u7f16\u7801\u89c4\u8303\u3001\u624b\u673a\u7ec4\u6001\u6e32\u67d3\u903b\u8f91\u7b49\uff0c\u5bf9\u4e8e\u4e8c\u5f00\u975e\u5e38\u6709\u5e2e\u52a9\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u79fb\u52a8\u7aef APP \u6e90\u7801\u8bf4\u660e\u6587\u6863\uff0c\u5305\u62ec\u67b6\u6784\u56fe\u3001\u7f16\u7801\u89c4\u8303\u3001\u4e0a\u7ebf APP \u5546\u5e97\u6d41\u7a0b\u8bf4\u660e\u7b49\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u79c1\u6709\u90e8\u7f72\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u529f\u80fd\u5b9a\u5236\uff1b")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a7f1c1ae.4f74c9e2.js b/assets/js/a7f1c1ae.6976c4e6.js similarity index 99% rename from assets/js/a7f1c1ae.4f74c9e2.js rename to assets/js/a7f1c1ae.6976c4e6.js index 739680d67..cc0306093 100644 --- a/assets/js/a7f1c1ae.4f74c9e2.js +++ b/assets/js/a7f1c1ae.6976c4e6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8922],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,l(l({ref:t},p),{},{components:r})):n.createElement(f,l({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:o,l[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,c={unversionedId:"study/db/NoSQL/Hbase",id:"study/db/NoSQL/Hbase",title:"Hbase",description:"\u5217\u5f0f\u6570\u636e\u5e93",source:"@site/docs/study/db/NoSQL/Hbase.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Hbase",permalink:"/docs/study/db/NoSQL/Hbase",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Hadoop",permalink:"/docs/study/db/NoSQL/Hadoop"},next:{title:"Ignite",permalink:"/docs/study/db/NoSQL/Ignite"}},i={},u=[{value:"\u5217\u5f0f\u6570\u636e\u5e93",id:"\u5217\u5f0f\u6570\u636e\u5e93",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5217\u5f0f\u6570\u636e\u5e93"},"\u5217\u5f0f\u6570\u636e\u5e93"),(0,o.yg)("p",null,"\u987e\u540d\u601d\u4e49\uff0c\u5217\u5f0f\u6570\u636e\u5e93\u5c31\u662f\u6309\u7167\u5217\u6765\u5b58\u50a8\u6570\u636e\u7684\u6570\u636e\u5e93\uff0c\u4e0e\u4e4b\u5bf9\u5e94\u7684\u4f20\u7edf\u5173\u7cfb\u6570\u636e\u5e93\u88ab\u79f0\u4e3a\u201c\u884c\u5f0f\u6570\u636e\u5e93\u201d\uff0c\u56e0\u4e3a\u5173\u7cfb\u6570\u636e\u5e93\u662f\u6309\u7167\u884c\u6765\u5b58\u50a8\u6570\u636e\u7684\u3002"),(0,o.yg)("p",null,"\u5173\u7cfb\u6570\u636e\u5e93\u6309\u7167\u884c\u5f0f\u6765\u5b58\u50a8\u6570\u636e\uff0c\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u4e2a\u4f18\u52bf\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u4e1a\u52a1\u540c\u65f6\u8bfb\u53d6\u591a\u4e2a\u5217\u65f6\u6548\u7387\u9ad8\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u5217\u90fd\u662f\u6309\u884c\u5b58\u50a8\u5728\u4e00\u8d77\u7684\uff0c\u4e00\u6b21\u78c1\u76d8\u64cd\u4f5c\u5c31\u80fd\u591f\u628a\u4e00\u884c\u6570\u636e\u4e2d\u7684\u5404\u4e2a\u5217\u90fd\u8bfb\u53d6\u5230\u5185\u5b58\u4e2d\u3002"),(0,o.yg)("li",{parentName:"ul"},"\u80fd\u591f\u4e00\u6b21\u6027\u5b8c\u6210\u5bf9\u4e00\u884c\u4e2d\u7684\u591a\u4e2a\u5217\u7684\u5199\u64cd\u4f5c\uff0c\u4fdd\u8bc1\u4e86\u9488\u5bf9\u884c\u6570\u636e\u5199\u64cd\u4f5c\u7684\u539f\u5b50\u6027\u548c\u4e00\u81f4\u6027\uff1b\u5426\u5219\u5982\u679c\u91c7\u7528\u5217\u5b58\u50a8\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u67d0\u6b21\u5199\u64cd\u4f5c\uff0c\u6709\u7684\u5217\u6210\u529f\u4e86\uff0c\u6709\u7684\u5217\u5931\u8d25\u4e86\uff0c\u5bfc\u81f4\u6570\u636e\u4e0d\u4e00\u81f4\u3002")),(0,o.yg)("p",null,"\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0c\u884c\u5f0f\u5b58\u50a8\u7684\u4f18\u52bf\u662f\u5728\u7279\u5b9a\u7684\u4e1a\u52a1\u573a\u666f\u4e0b\u624d\u80fd\u4f53\u73b0\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u8fd9\u6837\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u90a3\u4e48\u884c\u5f0f\u5b58\u50a8\u7684\u4f18\u52bf\u4e5f\u5c06\u4e0d\u590d\u5b58\u5728\uff0c\u751a\u81f3\u6210\u4e3a\u52a3\u52bf\uff0c\u5178\u578b\u7684\u573a\u666f\u5c31\u662f\u6d77\u91cf\u6570\u636e\u8fdb\u884c\u7edf\u8ba1\u3002\u4f8b\u5982\uff0c\u8ba1\u7b97\u67d0\u4e2a\u57ce\u5e02\u4f53\u91cd\u8d85\u91cd\u7684\u4eba\u5458\u6570\u636e\uff0c\u5b9e\u9645\u4e0a\u53ea\u9700\u8981\u8bfb\u53d6\u6bcf\u4e2a\u4eba\u7684\u4f53\u91cd\u8fd9\u4e00\u5217\u5e76\u8fdb\u884c\u7edf\u8ba1\u5373\u53ef\uff0c\u800c\u884c\u5f0f\u5b58\u50a8\u5373\u4f7f\u6700\u7ec8\u53ea\u4f7f\u7528\u4e00\u5217\uff0c\u4e5f\u4f1a\u5c06\u6240\u6709\u884c\u6570\u636e\u90fd\u8bfb\u53d6\u51fa\u6765\u3002\u5982\u679c\u5355\u884c\u7528\u6237\u4fe1\u606f\u6709 1KB\uff0c\u5176\u4e2d\u4f53\u91cd\u53ea\u6709 4 \u4e2a\u5b57\u8282\uff0c\u884c\u5f0f\u5b58\u50a8\u8fd8\u662f\u4f1a\u5c06\u6574\u884c 1KB \u6570\u636e\u5168\u90e8\u8bfb\u53d6\u5230\u5185\u5b58\u4e2d\uff0c\u8fd9\u662f\u660e\u663e\u7684\u6d6a\u8d39\u3002\u800c\u5982\u679c\u91c7\u7528\u5217\u5f0f\u5b58\u50a8\uff0c\u6bcf\u4e2a\u7528\u6237\u53ea\u9700\u8981\u8bfb\u53d6 4 \u5b57\u8282\u7684\u4f53\u91cd\u6570\u636e\u5373\u53ef\uff0cI/O \u5c06\u5927\u5927\u51cf\u5c11\u3002"),(0,o.yg)("p",null,"\u9664\u4e86\u8282\u7701 I/O\uff0c\u5217\u5f0f\u5b58\u50a8\u8fd8\u5177\u5907\u66f4\u9ad8\u7684\u5b58\u50a8\u538b\u7f29\u6bd4\uff0c\u80fd\u591f\u8282\u7701\u66f4\u591a\u7684\u5b58\u50a8\u7a7a\u95f4\u3002\u666e\u901a\u7684\u884c\u5f0f\u6570\u636e\u5e93\u4e00\u822c\u538b\u7f29\u7387\u5728 3:1 \u5230 5:1 \u5de6\u53f3\uff0c\u800c\u5217\u5f0f\u6570\u636e\u5e93\u7684\u538b\u7f29\u7387\u4e00\u822c\u5728 8:1 \u5230 30:1 \u5de6\u53f3\uff0c\u56e0\u4e3a\u5355\u4e2a\u5217\u7684\u6570\u636e\u76f8\u4f3c\u5ea6\u76f8\u6bd4\u884c\u6765\u8bf4\u66f4\u9ad8\uff0c\u80fd\u591f\u8fbe\u5230\u66f4\u9ad8\u7684\u538b\u7f29\u7387\u3002"),(0,o.yg)("p",null,"\u540c\u6837\uff0c\u5982\u679c\u573a\u666f\u53d1\u751f\u53d8\u5316\uff0c\u5217\u5f0f\u5b58\u50a8\u7684\u4f18\u52bf\u53c8\u4f1a\u53d8\u6210\u52a3\u52bf\u3002\u5178\u578b\u7684\u573a\u666f\u662f\u9700\u8981\u9891\u7e41\u5730\u66f4\u65b0\u591a\u4e2a\u5217\u3002\u56e0\u4e3a\u5217\u5f0f\u5b58\u50a8\u5c06\u4e0d\u540c\u5217\u5b58\u50a8\u5728\u78c1\u76d8\u4e0a\u4e0d\u8fde\u7eed\u7684\u7a7a\u95f4\uff0c\u5bfc\u81f4\u66f4\u65b0\u591a\u4e2a\u5217\u65f6\u78c1\u76d8\u662f\u968f\u673a\u5199\u64cd\u4f5c\uff1b\u800c\u884c\u5f0f\u5b58\u50a8\u65f6\u540c\u4e00\u884c\u591a\u4e2a\u5217\u90fd\u5b58\u50a8\u5728\u8fde\u7eed\u7684\u7a7a\u95f4\uff0c\u4e00\u6b21\u78c1\u76d8\u5199\u64cd\u4f5c\u5c31\u53ef\u4ee5\u5b8c\u6210\uff0c\u5217\u5f0f\u5b58\u50a8\u7684\u968f\u673a\u5199\u6548\u7387\u8981\u8fdc\u8fdc\u4f4e\u4e8e\u884c\u5f0f\u5b58\u50a8\u7684\u5199\u6548\u7387\u3002\u6b64\u5916\uff0c\u5217\u5f0f\u5b58\u50a8\u9ad8\u538b\u7f29\u7387\u5728\u66f4\u65b0\u573a\u666f\u4e0b\u4e5f\u4f1a\u6210\u4e3a\u52a3\u52bf\uff0c\u56e0\u4e3a\u66f4\u65b0\u65f6\u9700\u8981\u5c06\u5b58\u50a8\u6570\u636e\u89e3\u538b\u540e\u66f4\u65b0\uff0c\u7136\u540e\u518d\u538b\u7f29\uff0c\u6700\u540e\u5199\u5165\u78c1\u76d8\u3002"),(0,o.yg)("p",null,"\u57fa\u4e8e\u4e0a\u8ff0\u5217\u5f0f\u5b58\u50a8\u7684\u4f18\u7f3a\u70b9\uff0c\u4e00\u822c\u5c06\u5217\u5f0f\u5b58\u50a8\u5e94\u7528\u5728\u79bb\u7ebf\u7684\u5927\u6570\u636e\u5206\u6790\u548c\u7edf\u8ba1\u573a\u666f\u4e2d\uff0c\u56e0\u4e3a\u8fd9\u79cd\u573a\u666f\u4e3b\u8981\u662f\u9488\u5bf9\u90e8\u5206\u5217\u5355\u5217\u8fdb\u884c\u64cd\u4f5c\uff0c\u4e14\u6570\u636e\u5199\u5165\u540e\u5c31\u65e0\u987b\u518d\u66f4\u65b0\u5220\u9664\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8922],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,l(l({ref:t},p),{},{components:r})):n.createElement(f,l({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:o,l[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,c={unversionedId:"study/db/NoSQL/Hbase",id:"study/db/NoSQL/Hbase",title:"Hbase",description:"\u5217\u5f0f\u6570\u636e\u5e93",source:"@site/docs/study/db/NoSQL/Hbase.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Hbase",permalink:"/docs/study/db/NoSQL/Hbase",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Hadoop",permalink:"/docs/study/db/NoSQL/Hadoop"},next:{title:"Ignite",permalink:"/docs/study/db/NoSQL/Ignite"}},i={},u=[{value:"\u5217\u5f0f\u6570\u636e\u5e93",id:"\u5217\u5f0f\u6570\u636e\u5e93",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5217\u5f0f\u6570\u636e\u5e93"},"\u5217\u5f0f\u6570\u636e\u5e93"),(0,o.yg)("p",null,"\u987e\u540d\u601d\u4e49\uff0c\u5217\u5f0f\u6570\u636e\u5e93\u5c31\u662f\u6309\u7167\u5217\u6765\u5b58\u50a8\u6570\u636e\u7684\u6570\u636e\u5e93\uff0c\u4e0e\u4e4b\u5bf9\u5e94\u7684\u4f20\u7edf\u5173\u7cfb\u6570\u636e\u5e93\u88ab\u79f0\u4e3a\u201c\u884c\u5f0f\u6570\u636e\u5e93\u201d\uff0c\u56e0\u4e3a\u5173\u7cfb\u6570\u636e\u5e93\u662f\u6309\u7167\u884c\u6765\u5b58\u50a8\u6570\u636e\u7684\u3002"),(0,o.yg)("p",null,"\u5173\u7cfb\u6570\u636e\u5e93\u6309\u7167\u884c\u5f0f\u6765\u5b58\u50a8\u6570\u636e\uff0c\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u4e2a\u4f18\u52bf\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u4e1a\u52a1\u540c\u65f6\u8bfb\u53d6\u591a\u4e2a\u5217\u65f6\u6548\u7387\u9ad8\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u5217\u90fd\u662f\u6309\u884c\u5b58\u50a8\u5728\u4e00\u8d77\u7684\uff0c\u4e00\u6b21\u78c1\u76d8\u64cd\u4f5c\u5c31\u80fd\u591f\u628a\u4e00\u884c\u6570\u636e\u4e2d\u7684\u5404\u4e2a\u5217\u90fd\u8bfb\u53d6\u5230\u5185\u5b58\u4e2d\u3002"),(0,o.yg)("li",{parentName:"ul"},"\u80fd\u591f\u4e00\u6b21\u6027\u5b8c\u6210\u5bf9\u4e00\u884c\u4e2d\u7684\u591a\u4e2a\u5217\u7684\u5199\u64cd\u4f5c\uff0c\u4fdd\u8bc1\u4e86\u9488\u5bf9\u884c\u6570\u636e\u5199\u64cd\u4f5c\u7684\u539f\u5b50\u6027\u548c\u4e00\u81f4\u6027\uff1b\u5426\u5219\u5982\u679c\u91c7\u7528\u5217\u5b58\u50a8\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u67d0\u6b21\u5199\u64cd\u4f5c\uff0c\u6709\u7684\u5217\u6210\u529f\u4e86\uff0c\u6709\u7684\u5217\u5931\u8d25\u4e86\uff0c\u5bfc\u81f4\u6570\u636e\u4e0d\u4e00\u81f4\u3002")),(0,o.yg)("p",null,"\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0c\u884c\u5f0f\u5b58\u50a8\u7684\u4f18\u52bf\u662f\u5728\u7279\u5b9a\u7684\u4e1a\u52a1\u573a\u666f\u4e0b\u624d\u80fd\u4f53\u73b0\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u8fd9\u6837\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u90a3\u4e48\u884c\u5f0f\u5b58\u50a8\u7684\u4f18\u52bf\u4e5f\u5c06\u4e0d\u590d\u5b58\u5728\uff0c\u751a\u81f3\u6210\u4e3a\u52a3\u52bf\uff0c\u5178\u578b\u7684\u573a\u666f\u5c31\u662f\u6d77\u91cf\u6570\u636e\u8fdb\u884c\u7edf\u8ba1\u3002\u4f8b\u5982\uff0c\u8ba1\u7b97\u67d0\u4e2a\u57ce\u5e02\u4f53\u91cd\u8d85\u91cd\u7684\u4eba\u5458\u6570\u636e\uff0c\u5b9e\u9645\u4e0a\u53ea\u9700\u8981\u8bfb\u53d6\u6bcf\u4e2a\u4eba\u7684\u4f53\u91cd\u8fd9\u4e00\u5217\u5e76\u8fdb\u884c\u7edf\u8ba1\u5373\u53ef\uff0c\u800c\u884c\u5f0f\u5b58\u50a8\u5373\u4f7f\u6700\u7ec8\u53ea\u4f7f\u7528\u4e00\u5217\uff0c\u4e5f\u4f1a\u5c06\u6240\u6709\u884c\u6570\u636e\u90fd\u8bfb\u53d6\u51fa\u6765\u3002\u5982\u679c\u5355\u884c\u7528\u6237\u4fe1\u606f\u6709 1KB\uff0c\u5176\u4e2d\u4f53\u91cd\u53ea\u6709 4 \u4e2a\u5b57\u8282\uff0c\u884c\u5f0f\u5b58\u50a8\u8fd8\u662f\u4f1a\u5c06\u6574\u884c 1KB \u6570\u636e\u5168\u90e8\u8bfb\u53d6\u5230\u5185\u5b58\u4e2d\uff0c\u8fd9\u662f\u660e\u663e\u7684\u6d6a\u8d39\u3002\u800c\u5982\u679c\u91c7\u7528\u5217\u5f0f\u5b58\u50a8\uff0c\u6bcf\u4e2a\u7528\u6237\u53ea\u9700\u8981\u8bfb\u53d6 4 \u5b57\u8282\u7684\u4f53\u91cd\u6570\u636e\u5373\u53ef\uff0cI/O \u5c06\u5927\u5927\u51cf\u5c11\u3002"),(0,o.yg)("p",null,"\u9664\u4e86\u8282\u7701 I/O\uff0c\u5217\u5f0f\u5b58\u50a8\u8fd8\u5177\u5907\u66f4\u9ad8\u7684\u5b58\u50a8\u538b\u7f29\u6bd4\uff0c\u80fd\u591f\u8282\u7701\u66f4\u591a\u7684\u5b58\u50a8\u7a7a\u95f4\u3002\u666e\u901a\u7684\u884c\u5f0f\u6570\u636e\u5e93\u4e00\u822c\u538b\u7f29\u7387\u5728 3:1 \u5230 5:1 \u5de6\u53f3\uff0c\u800c\u5217\u5f0f\u6570\u636e\u5e93\u7684\u538b\u7f29\u7387\u4e00\u822c\u5728 8:1 \u5230 30:1 \u5de6\u53f3\uff0c\u56e0\u4e3a\u5355\u4e2a\u5217\u7684\u6570\u636e\u76f8\u4f3c\u5ea6\u76f8\u6bd4\u884c\u6765\u8bf4\u66f4\u9ad8\uff0c\u80fd\u591f\u8fbe\u5230\u66f4\u9ad8\u7684\u538b\u7f29\u7387\u3002"),(0,o.yg)("p",null,"\u540c\u6837\uff0c\u5982\u679c\u573a\u666f\u53d1\u751f\u53d8\u5316\uff0c\u5217\u5f0f\u5b58\u50a8\u7684\u4f18\u52bf\u53c8\u4f1a\u53d8\u6210\u52a3\u52bf\u3002\u5178\u578b\u7684\u573a\u666f\u662f\u9700\u8981\u9891\u7e41\u5730\u66f4\u65b0\u591a\u4e2a\u5217\u3002\u56e0\u4e3a\u5217\u5f0f\u5b58\u50a8\u5c06\u4e0d\u540c\u5217\u5b58\u50a8\u5728\u78c1\u76d8\u4e0a\u4e0d\u8fde\u7eed\u7684\u7a7a\u95f4\uff0c\u5bfc\u81f4\u66f4\u65b0\u591a\u4e2a\u5217\u65f6\u78c1\u76d8\u662f\u968f\u673a\u5199\u64cd\u4f5c\uff1b\u800c\u884c\u5f0f\u5b58\u50a8\u65f6\u540c\u4e00\u884c\u591a\u4e2a\u5217\u90fd\u5b58\u50a8\u5728\u8fde\u7eed\u7684\u7a7a\u95f4\uff0c\u4e00\u6b21\u78c1\u76d8\u5199\u64cd\u4f5c\u5c31\u53ef\u4ee5\u5b8c\u6210\uff0c\u5217\u5f0f\u5b58\u50a8\u7684\u968f\u673a\u5199\u6548\u7387\u8981\u8fdc\u8fdc\u4f4e\u4e8e\u884c\u5f0f\u5b58\u50a8\u7684\u5199\u6548\u7387\u3002\u6b64\u5916\uff0c\u5217\u5f0f\u5b58\u50a8\u9ad8\u538b\u7f29\u7387\u5728\u66f4\u65b0\u573a\u666f\u4e0b\u4e5f\u4f1a\u6210\u4e3a\u52a3\u52bf\uff0c\u56e0\u4e3a\u66f4\u65b0\u65f6\u9700\u8981\u5c06\u5b58\u50a8\u6570\u636e\u89e3\u538b\u540e\u66f4\u65b0\uff0c\u7136\u540e\u518d\u538b\u7f29\uff0c\u6700\u540e\u5199\u5165\u78c1\u76d8\u3002"),(0,o.yg)("p",null,"\u57fa\u4e8e\u4e0a\u8ff0\u5217\u5f0f\u5b58\u50a8\u7684\u4f18\u7f3a\u70b9\uff0c\u4e00\u822c\u5c06\u5217\u5f0f\u5b58\u50a8\u5e94\u7528\u5728\u79bb\u7ebf\u7684\u5927\u6570\u636e\u5206\u6790\u548c\u7edf\u8ba1\u573a\u666f\u4e2d\uff0c\u56e0\u4e3a\u8fd9\u79cd\u573a\u666f\u4e3b\u8981\u662f\u9488\u5bf9\u90e8\u5206\u5217\u5355\u5217\u8fdb\u884c\u64cd\u4f5c\uff0c\u4e14\u6570\u636e\u5199\u5165\u540e\u5c31\u65e0\u987b\u518d\u66f4\u65b0\u5220\u9664\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/aae926f6.51381a42.js b/assets/js/aae926f6.6deb2a82.js similarity index 99% rename from assets/js/aae926f6.51381a42.js rename to assets/js/aae926f6.6deb2a82.js index 82a597025..1222f3eff 100644 --- a/assets/js/aae926f6.51381a42.js +++ b/assets/js/aae926f6.6deb2a82.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1995],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>T});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),i=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):S(S({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),u=i(r),s=o,T=u["".concat(l,".").concat(s)]||u[s]||y[s]||a;return r?n.createElement(T,S(S({ref:t},p),{},{components:r})):n.createElement(T,S({ref:t},p))}));function T(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,S=new Array(a);S[0]=s;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,S[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>S,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},S="SSL TLS HTTPS",c={unversionedId:"study/encryption/SSL_TLS",id:"study/encryption/SSL_TLS",title:"SSL TLS HTTPS",description:"\u4e3a\u4e86\u4fdd\u8bc1\u7f51\u7edc\u901a\u4fe1\u7684\u5b89\u5168\u6027\uff0c\u9700\u8981\u5bf9\u7f51\u7edc\u4e0a\u4f20\u9012\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002\u73b0\u5728\u4e3b\u6d41\u7684\u52a0\u5bc6\u65b9\u6cd5\u5c31\u662f SSL (Secure Socket Layer)\uff0cTLS (Transport Layer Security)\u3002\u540e\u8005\u6bd4\u524d\u8005\u8981\u65b0\u4e00\u4e9b\uff0c\u4e0d\u8fc7\u5728\u5f88\u591a\u573a\u5408\u8fd8\u662f\u7528 SSL \u6307\u4ee3 SSL \u548c TLS\u3002",source:"@site/docs/study/encryption/SSL_TLS.md",sourceDirName:"study/encryption",slug:"/study/encryption/SSL_TLS",permalink:"/docs/study/encryption/SSL_TLS",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"PKI",permalink:"/docs/study/encryption/PKI"},next:{title:"\u52a0\u89e3\u5bc6",permalink:"/docs/study/encryption/"}},l={},i=[{value:"SSL/TLS",id:"ssltls",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:i},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"ssl-tls-https"},"SSL TLS HTTPS"),(0,o.yg)("p",null,"\u4e3a\u4e86\u4fdd\u8bc1\u7f51\u7edc\u901a\u4fe1\u7684\u5b89\u5168\u6027\uff0c\u9700\u8981\u5bf9\u7f51\u7edc\u4e0a\u4f20\u9012\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002\u73b0\u5728\u4e3b\u6d41\u7684\u52a0\u5bc6\u65b9\u6cd5\u5c31\u662f SSL (Secure Socket Layer)\uff0cTLS (Transport Layer Security)\u3002\u540e\u8005\u6bd4\u524d\u8005\u8981\u65b0\u4e00\u4e9b\uff0c\u4e0d\u8fc7\u5728\u5f88\u591a\u573a\u5408\u8fd8\u662f\u7528 SSL \u6307\u4ee3 SSL \u548c TLS\u3002"),(0,o.yg)("h3",{id:"ssltls"},"SSL/TLS"),(0,o.yg)("p",null,"SSL\uff08Secure Socket Layer\uff09\u662f\u6307\u5b89\u5168\u5957\u63a5\u5b57\u5c42\uff0c\u7b80\u800c\u8a00\u4e4b\uff0c\u5b83\u662f\u4e00\u9879\u6807\u51c6\u6280\u672f\uff0c\u53ef\u786e\u4fdd\u4e92\u8054\u7f51\u8fde\u63a5\u5b89\u5168\uff0c\u4fdd\u62a4\u4e24\u4e2a\u7cfb\u7edf\u4e4b\u95f4\u53d1\u9001\u7684\u4efb\u4f55\u654f\u611f\u6570\u636e\uff0c\u9632\u6b62\u7f51\u7edc\u72af\u7f6a\u5206\u5b50\u8bfb\u53d6\u548c\u4fee\u6539\u4efb\u4f55\u4f20\u8f93\u4fe1\u606f\uff0c\u5305\u62ec\u4e2a\u4eba\u8d44\u6599\u3002TLS\uff08Transport Layer Security\uff0c\u4f20\u8f93\u5c42\u5b89\u5168\uff09\u662f\u66f4\u4e3a\u5b89\u5168\u7684\u5347\u7ea7\u7248 SSL\u3002"),(0,o.yg)("p",null,"TLS 1.0 \u7248\u5b9e\u9645\u4e0a\u6700\u521d\u4f5c\u4e3a SSL 3.1 \u7248\u5f00\u53d1\uff0cHTTPS \u662f\u5728 HTTP \u534f\u8bae\u57fa\u7840\u4e0a\u5b9e\u65bd TLS \u52a0\u5bc6\uff0c\u6240\u6709\u7f51\u7ad9\u4ee5\u53ca\u5176\u4ed6\u90e8\u5206 web \u670d\u52a1\u90fd\u4f7f\u7528\u8be5\u534f\u8bae\u3002\u56e0\u6b64\uff0c\u4efb\u4f55\u4f7f\u7528 HTTPS \u7684\u7f51\u7ad9\u90fd\u4f7f\u7528 TLS \u52a0\u5bc6\u3002\u4e0d\u540c\u7248\u672c\u7684 TLS \u534f\u8bae\u5185\u5bb9\u7ea6\u5b9a\u4e0d\u4e00\u6837\uff0c\u8fd9\u4e5f\u4f1a\u7ed9 HTTPS \u5efa\u7acb\u8fde\u63a5\u65f6\u9700\u8981\u63e1\u624b\u534f\u5546\u7684\u4fe1\u606f\u9020\u6210\u5dee\u5f02\u3002"),(0,o.yg)("p",null,"TLS \u5df2\u7ecf\u5b8c\u5168\u7684\u4ee3\u66ff\u6389 SSL \u4e86\uff0c\u6240\u4ee5\u53ea\u63a8\u8350 TLS\uff1b\u76ee\u524d\u7684 SSL \u8bc1\u4e66\u8bb8\u53ef\uff0c\u4e0b\u53d1\u7684\u5176\u5b9e\u90fd\u662f SSL/TLS \u8bc1\u4e66\u3002"),(0,o.yg)("p",null,"HTTP \u662f\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\uff0c\u4fe1\u606f\u662f\u660e\u6587\u4f20\u8f93\uff1bHTTPS\uff0c\u4e5f\u79f0\u4f5c HTTP over TLS\uff0c\u5219\u662f\u5177\u6709\u5b89\u5168\u6027\u7684 SSL \u52a0\u5bc6\u4f20\u8f93\u534f\u8bae\u3002"),(0,o.yg)("p",null,"HTTPS \u534f\u8bae\u9700\u8981\u5230\u8bc1\u4e66\u9881\u53d1\u673a\u6784 (Certificate Authority\uff0c\u7b80\u79f0 CA)\u7533\u8bf7\u8bc1\u4e66\uff0c\u901a\u8fc7\u6570\u5b57\u8bc1\u4e66\u7ba1\u7406\u670d\u52a1\u5b8c\u6210\u8bc1\u4e66\u8d2d\u4e70\u3001\u7533\u8bf7\uff0c\u5e76\u5c06\u8bc1\u4e66\u90e8\u7f72\u5230\u60a8\u7684 Web \u670d\u52a1\u5668\u540e\uff0cWeb \u670d\u52a1\u5c06\u4f1a\u901a\u8fc7 HTTPS \u52a0\u5bc6\u534f\u8bae\u6765\u4f20\u8f93\u6570\u636e\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/36981565"},"\u6d45\u8c08 SSL/TLS \u5de5\u4f5c\u539f\u7406")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/416587205"},"SSL/TLS \u4e0e IPSec \u5bf9\u6bd4"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1995],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>T});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),i=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):S(S({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),u=i(r),s=o,T=u["".concat(l,".").concat(s)]||u[s]||y[s]||a;return r?n.createElement(T,S(S({ref:t},p),{},{components:r})):n.createElement(T,S({ref:t},p))}));function T(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,S=new Array(a);S[0]=s;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,S[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>S,default:()=>y,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},S="SSL TLS HTTPS",c={unversionedId:"study/encryption/SSL_TLS",id:"study/encryption/SSL_TLS",title:"SSL TLS HTTPS",description:"\u4e3a\u4e86\u4fdd\u8bc1\u7f51\u7edc\u901a\u4fe1\u7684\u5b89\u5168\u6027\uff0c\u9700\u8981\u5bf9\u7f51\u7edc\u4e0a\u4f20\u9012\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002\u73b0\u5728\u4e3b\u6d41\u7684\u52a0\u5bc6\u65b9\u6cd5\u5c31\u662f SSL (Secure Socket Layer)\uff0cTLS (Transport Layer Security)\u3002\u540e\u8005\u6bd4\u524d\u8005\u8981\u65b0\u4e00\u4e9b\uff0c\u4e0d\u8fc7\u5728\u5f88\u591a\u573a\u5408\u8fd8\u662f\u7528 SSL \u6307\u4ee3 SSL \u548c TLS\u3002",source:"@site/docs/study/encryption/SSL_TLS.md",sourceDirName:"study/encryption",slug:"/study/encryption/SSL_TLS",permalink:"/docs/study/encryption/SSL_TLS",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"PKI",permalink:"/docs/study/encryption/PKI"},next:{title:"\u52a0\u89e3\u5bc6",permalink:"/docs/study/encryption/"}},l={},i=[{value:"SSL/TLS",id:"ssltls",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:i},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"ssl-tls-https"},"SSL TLS HTTPS"),(0,o.yg)("p",null,"\u4e3a\u4e86\u4fdd\u8bc1\u7f51\u7edc\u901a\u4fe1\u7684\u5b89\u5168\u6027\uff0c\u9700\u8981\u5bf9\u7f51\u7edc\u4e0a\u4f20\u9012\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002\u73b0\u5728\u4e3b\u6d41\u7684\u52a0\u5bc6\u65b9\u6cd5\u5c31\u662f SSL (Secure Socket Layer)\uff0cTLS (Transport Layer Security)\u3002\u540e\u8005\u6bd4\u524d\u8005\u8981\u65b0\u4e00\u4e9b\uff0c\u4e0d\u8fc7\u5728\u5f88\u591a\u573a\u5408\u8fd8\u662f\u7528 SSL \u6307\u4ee3 SSL \u548c TLS\u3002"),(0,o.yg)("h3",{id:"ssltls"},"SSL/TLS"),(0,o.yg)("p",null,"SSL\uff08Secure Socket Layer\uff09\u662f\u6307\u5b89\u5168\u5957\u63a5\u5b57\u5c42\uff0c\u7b80\u800c\u8a00\u4e4b\uff0c\u5b83\u662f\u4e00\u9879\u6807\u51c6\u6280\u672f\uff0c\u53ef\u786e\u4fdd\u4e92\u8054\u7f51\u8fde\u63a5\u5b89\u5168\uff0c\u4fdd\u62a4\u4e24\u4e2a\u7cfb\u7edf\u4e4b\u95f4\u53d1\u9001\u7684\u4efb\u4f55\u654f\u611f\u6570\u636e\uff0c\u9632\u6b62\u7f51\u7edc\u72af\u7f6a\u5206\u5b50\u8bfb\u53d6\u548c\u4fee\u6539\u4efb\u4f55\u4f20\u8f93\u4fe1\u606f\uff0c\u5305\u62ec\u4e2a\u4eba\u8d44\u6599\u3002TLS\uff08Transport Layer Security\uff0c\u4f20\u8f93\u5c42\u5b89\u5168\uff09\u662f\u66f4\u4e3a\u5b89\u5168\u7684\u5347\u7ea7\u7248 SSL\u3002"),(0,o.yg)("p",null,"TLS 1.0 \u7248\u5b9e\u9645\u4e0a\u6700\u521d\u4f5c\u4e3a SSL 3.1 \u7248\u5f00\u53d1\uff0cHTTPS \u662f\u5728 HTTP \u534f\u8bae\u57fa\u7840\u4e0a\u5b9e\u65bd TLS \u52a0\u5bc6\uff0c\u6240\u6709\u7f51\u7ad9\u4ee5\u53ca\u5176\u4ed6\u90e8\u5206 web \u670d\u52a1\u90fd\u4f7f\u7528\u8be5\u534f\u8bae\u3002\u56e0\u6b64\uff0c\u4efb\u4f55\u4f7f\u7528 HTTPS \u7684\u7f51\u7ad9\u90fd\u4f7f\u7528 TLS \u52a0\u5bc6\u3002\u4e0d\u540c\u7248\u672c\u7684 TLS \u534f\u8bae\u5185\u5bb9\u7ea6\u5b9a\u4e0d\u4e00\u6837\uff0c\u8fd9\u4e5f\u4f1a\u7ed9 HTTPS \u5efa\u7acb\u8fde\u63a5\u65f6\u9700\u8981\u63e1\u624b\u534f\u5546\u7684\u4fe1\u606f\u9020\u6210\u5dee\u5f02\u3002"),(0,o.yg)("p",null,"TLS \u5df2\u7ecf\u5b8c\u5168\u7684\u4ee3\u66ff\u6389 SSL \u4e86\uff0c\u6240\u4ee5\u53ea\u63a8\u8350 TLS\uff1b\u76ee\u524d\u7684 SSL \u8bc1\u4e66\u8bb8\u53ef\uff0c\u4e0b\u53d1\u7684\u5176\u5b9e\u90fd\u662f SSL/TLS \u8bc1\u4e66\u3002"),(0,o.yg)("p",null,"HTTP \u662f\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\uff0c\u4fe1\u606f\u662f\u660e\u6587\u4f20\u8f93\uff1bHTTPS\uff0c\u4e5f\u79f0\u4f5c HTTP over TLS\uff0c\u5219\u662f\u5177\u6709\u5b89\u5168\u6027\u7684 SSL \u52a0\u5bc6\u4f20\u8f93\u534f\u8bae\u3002"),(0,o.yg)("p",null,"HTTPS \u534f\u8bae\u9700\u8981\u5230\u8bc1\u4e66\u9881\u53d1\u673a\u6784 (Certificate Authority\uff0c\u7b80\u79f0 CA)\u7533\u8bf7\u8bc1\u4e66\uff0c\u901a\u8fc7\u6570\u5b57\u8bc1\u4e66\u7ba1\u7406\u670d\u52a1\u5b8c\u6210\u8bc1\u4e66\u8d2d\u4e70\u3001\u7533\u8bf7\uff0c\u5e76\u5c06\u8bc1\u4e66\u90e8\u7f72\u5230\u60a8\u7684 Web \u670d\u52a1\u5668\u540e\uff0cWeb \u670d\u52a1\u5c06\u4f1a\u901a\u8fc7 HTTPS \u52a0\u5bc6\u534f\u8bae\u6765\u4f20\u8f93\u6570\u636e\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/36981565"},"\u6d45\u8c08 SSL/TLS \u5de5\u4f5c\u539f\u7406")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/416587205"},"SSL/TLS \u4e0e IPSec \u5bf9\u6bd4"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ac6e53b7.bf020a9f.js b/assets/js/ac6e53b7.86c30d4d.js similarity index 98% rename from assets/js/ac6e53b7.bf020a9f.js rename to assets/js/ac6e53b7.86c30d4d.js index 841f0aafb..85921d030 100644 --- a/assets/js/ac6e53b7.bf020a9f.js +++ b/assets/js/ac6e53b7.86c30d4d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2961],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=a,m=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,l(l({ref:t},p),{},{components:r})):n.createElement(m,l({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/program/\u7f16\u8bd1\u5668",id:"study/program/\u7f16\u8bd1\u5668",title:"\u7f16\u8bd1\u5668",description:"C/C++/Objective-C \u7b49\u7c7b C \u7f16\u8bd1\u5668",source:"@site/docs/study/program/\u7f16\u8bd1\u5668.md",sourceDirName:"study/program",slug:"/study/program/\u7f16\u8bd1\u5668",permalink:"/docs/study/program/\u7f16\u8bd1\u5668",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6280\u672f\u6587\u6863",permalink:"/docs/study/program/\u6280\u672f\u6587\u6863"},next:{title:"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",permalink:"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6"}},c={},u=[{value:"C/C++/Objective-C \u7b49\u7c7b C \u7f16\u8bd1\u5668",id:"ccobjective-c-\u7b49\u7c7b-c-\u7f16\u8bd1\u5668",level:3},{value:"\u7f16\u8bd1\u8fc7\u7a0b",id:"\u7f16\u8bd1\u8fc7\u7a0b",level:3}],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"ccobjective-c-\u7b49\u7c7b-c-\u7f16\u8bd1\u5668"},"C/C++/Objective-C \u7b49\u7c7b C \u7f16\u8bd1\u5668"),(0,a.yg)("p",null,"\u4e3b\u8981\u5206\u4e09\u79cd\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"GCC/GNU/Linux"),(0,a.yg)("li",{parentName:"ul"},"LLVM/CLang"),(0,a.yg)("li",{parentName:"ul"},"Microsoft Visual C++\uff0c\u7b80\u79f0 Visual C++/VC++/MSVC/VS/VC\uff0c\u5f00\u53d1\u73af\u5883 Visual Studio")),(0,a.yg)("p",null,"GCC \u662f\u8001\u724c\u7684 C/C++\u7f16\u8bd1\u5668\uff0c\u4e3b\u8981\u7531 GNU \u7ef4\u62a4\uff0cLinux \u7cfb\u7edf\u9ed8\u8ba4\u7684\u7f16\u8bd1\u5668\u3002"),(0,a.yg)("p",null,"LLVM \u662f\u6bd4\u8f83\u65b0\u7684\u7f16\u8bd1\u5668\u67b6\u6784\u7cfb\u7edf\uff0cCLang \u662f\u57fa\u4e8e LLVM \u7684 C/C++/CLang \u7f16\u8bd1\u5668\uff0c\u4ea7\u751f CLang \u7684\u539f\u56e0\u662f Apple \u516c\u53f8\u60f3\u5f00\u53d1\u65b0\u7684\u8bed\u8a00 CLang\uff0c\u4ee5\u53ca\u5bf9 GCC \u6709\u5176\u4ed6\u7279\u6b8a\u9700\u6c42\uff0c\u4f46\u662f GCC \u914d\u5408\u7684\u5e76\u4e0d\u662f\u5f88\u597d\uff0c\u6240\u4ee5\u624d\u9020\u4e86\u4e2a\u65b0\u8f6e\u5b50\u3002"),(0,a.yg)("p",null,"Microsoft Visual C++\u662f Windows \u7cfb\u7edf\u7684\u7f16\u8bd1\u5668\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/88255667"},"C/C++\u7f16\u8bd1\u94fe\u63a5"))),(0,a.yg)("h3",{id:"\u7f16\u8bd1\u8fc7\u7a0b"},"\u7f16\u8bd1\u8fc7\u7a0b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6e90\u6587\u4ef6\uff08.c .cpp .h\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u9884\u5904\u7406\uff08.i .ii\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u7f16\u8bd1\uff08\u5355\u4e2a\u6587\u4ef6\uff09\uff08.s\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u6c47\u7f16\uff08.o .obj\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u94fe\u63a5\uff08.exe ELF\uff09")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2961],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=a,m=s["".concat(c,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,l(l({ref:t},p),{},{components:r})):n.createElement(m,l({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[s]="string"==typeof e?e:a,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/program/\u7f16\u8bd1\u5668",id:"study/program/\u7f16\u8bd1\u5668",title:"\u7f16\u8bd1\u5668",description:"C/C++/Objective-C \u7b49\u7c7b C \u7f16\u8bd1\u5668",source:"@site/docs/study/program/\u7f16\u8bd1\u5668.md",sourceDirName:"study/program",slug:"/study/program/\u7f16\u8bd1\u5668",permalink:"/docs/study/program/\u7f16\u8bd1\u5668",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6280\u672f\u6587\u6863",permalink:"/docs/study/program/\u6280\u672f\u6587\u6863"},next:{title:"\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6",permalink:"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6"}},c={},u=[{value:"C/C++/Objective-C \u7b49\u7c7b C \u7f16\u8bd1\u5668",id:"ccobjective-c-\u7b49\u7c7b-c-\u7f16\u8bd1\u5668",level:3},{value:"\u7f16\u8bd1\u8fc7\u7a0b",id:"\u7f16\u8bd1\u8fc7\u7a0b",level:3}],p={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"ccobjective-c-\u7b49\u7c7b-c-\u7f16\u8bd1\u5668"},"C/C++/Objective-C \u7b49\u7c7b C \u7f16\u8bd1\u5668"),(0,a.yg)("p",null,"\u4e3b\u8981\u5206\u4e09\u79cd\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"GCC/GNU/Linux"),(0,a.yg)("li",{parentName:"ul"},"LLVM/CLang"),(0,a.yg)("li",{parentName:"ul"},"Microsoft Visual C++\uff0c\u7b80\u79f0 Visual C++/VC++/MSVC/VS/VC\uff0c\u5f00\u53d1\u73af\u5883 Visual Studio")),(0,a.yg)("p",null,"GCC \u662f\u8001\u724c\u7684 C/C++\u7f16\u8bd1\u5668\uff0c\u4e3b\u8981\u7531 GNU \u7ef4\u62a4\uff0cLinux \u7cfb\u7edf\u9ed8\u8ba4\u7684\u7f16\u8bd1\u5668\u3002"),(0,a.yg)("p",null,"LLVM \u662f\u6bd4\u8f83\u65b0\u7684\u7f16\u8bd1\u5668\u67b6\u6784\u7cfb\u7edf\uff0cCLang \u662f\u57fa\u4e8e LLVM \u7684 C/C++/CLang \u7f16\u8bd1\u5668\uff0c\u4ea7\u751f CLang \u7684\u539f\u56e0\u662f Apple \u516c\u53f8\u60f3\u5f00\u53d1\u65b0\u7684\u8bed\u8a00 CLang\uff0c\u4ee5\u53ca\u5bf9 GCC \u6709\u5176\u4ed6\u7279\u6b8a\u9700\u6c42\uff0c\u4f46\u662f GCC \u914d\u5408\u7684\u5e76\u4e0d\u662f\u5f88\u597d\uff0c\u6240\u4ee5\u624d\u9020\u4e86\u4e2a\u65b0\u8f6e\u5b50\u3002"),(0,a.yg)("p",null,"Microsoft Visual C++\u662f Windows \u7cfb\u7edf\u7684\u7f16\u8bd1\u5668\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/88255667"},"C/C++\u7f16\u8bd1\u94fe\u63a5"))),(0,a.yg)("h3",{id:"\u7f16\u8bd1\u8fc7\u7a0b"},"\u7f16\u8bd1\u8fc7\u7a0b"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6e90\u6587\u4ef6\uff08.c .cpp .h\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u9884\u5904\u7406\uff08.i .ii\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u7f16\u8bd1\uff08\u5355\u4e2a\u6587\u4ef6\uff09\uff08.s\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u6c47\u7f16\uff08.o .obj\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u94fe\u63a5\uff08.exe ELF\uff09")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/adffe501.fefb8e6e.js b/assets/js/adffe501.a869e01f.js similarity index 98% rename from assets/js/adffe501.fefb8e6e.js rename to assets/js/adffe501.a869e01f.js index 4032d782a..db7702959 100644 --- a/assets/js/adffe501.fefb8e6e.js +++ b/assets/js/adffe501.a869e01f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2540],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,l=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||l;return r?n.createElement(d,c(c({ref:t},i),{},{components:r})):n.createElement(d,c({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=r.length,c=new Array(l);c[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,c[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>y,frontMatter:()=>l,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const l={},c=void 0,a={unversionedId:"study/stock/20241107",id:"study/stock/20241107",title:"20241107",description:"\u4eca\u5929\u5468\u56db",source:"@site/docs/study/stock/20241107.md",sourceDirName:"study/stock",slug:"/study/stock/20241107",permalink:"/docs/study/stock/20241107",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u56db"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u660e\u5929\u9884\u8ba1 17.89 \u662f\u5e95\u7ebf\u5440\uff0c\u575a\u51b3\u4e0d\u80fd\u518d\u8865\u4ed3\u4e86\uff0c\u8d8a\u8865\u4ed3\u8d8a\u4e8f\u635f\u5440 \u6302 18.65 \u5356\u51fa\u4e00\u534a---\u4eca\u5929\u4e0b\u5348\u8865\u4ed3\u505a\u4e86\u4e2a T\uff0c\u4e0b\u5348\u62c9\u5347\u5f88\u5927"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a -- \u6700\u9ad8\u6da8\u5e45 3.73%"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a -- \u6700\u9ad8\u6da8\u5e45 4.08"),(0,o.yg)("p",null,"\u6211\u89c9\u5f97\u660e\u5929\u5927\u76d8\u4e0a\u653b\u7684\u6982\u7387\u662f\u5f88\u5927\u7684\uff0c\u6bd5\u7adf\u4eca\u5929\u653e\u91cf\u4e86\uff0c\u800c\u4e14\u9ad8\u70b9\u4e0a\u53bb\u4e86\uff0c\u6211\u89c9\u5f97\u660e\u5929\u8fd8\u662f\u503c\u5f97\u671f\u5f85\u7684 -- \u57fa\u672c\u4e0a\u9884\u5224 ok\uff0c\u4e0b\u5348\u62c9\u5347\u7684"),(0,o.yg)("hr",null),(0,o.yg)("p",null,"\u4eca\u5929\u6574\u4f53\u4e0a\u662f\u4e0a\u6da8\uff0c\u7b26\u5408\u9884\u671f\uff0c\u5927\u76d8\u6700\u9ad8 3470 \u4e86"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u7ee7\u7eed\u6301\u6709\uff0c\u660e\u5929\u6302 -1% \u4e70\u5165\u4e00\u534a"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u9884\u671f\u660e\u5929\u5927\u76d8\u4f1a\u7ee7\u7eed\u4e0a\u653b\uff0c\u4e0b\u5468\u4e00\u5e94\u8be5\u662f\u77ed\u671f\u9ad8\u70b9"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2540],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,l=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||l;return r?n.createElement(d,c(c({ref:t},i),{},{components:r})):n.createElement(d,c({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=r.length,c=new Array(l);c[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,c[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>y,frontMatter:()=>l,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const l={},c=void 0,a={unversionedId:"study/stock/20241107",id:"study/stock/20241107",title:"20241107",description:"\u4eca\u5929\u5468\u56db",source:"@site/docs/study/stock/20241107.md",sourceDirName:"study/stock",slug:"/study/stock/20241107",permalink:"/docs/study/stock/20241107",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u56db"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u660e\u5929\u9884\u8ba1 17.89 \u662f\u5e95\u7ebf\u5440\uff0c\u575a\u51b3\u4e0d\u80fd\u518d\u8865\u4ed3\u4e86\uff0c\u8d8a\u8865\u4ed3\u8d8a\u4e8f\u635f\u5440 \u6302 18.65 \u5356\u51fa\u4e00\u534a---\u4eca\u5929\u4e0b\u5348\u8865\u4ed3\u505a\u4e86\u4e2a T\uff0c\u4e0b\u5348\u62c9\u5347\u5f88\u5927"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a -- \u6700\u9ad8\u6da8\u5e45 3.73%"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a -- \u6700\u9ad8\u6da8\u5e45 4.08"),(0,o.yg)("p",null,"\u6211\u89c9\u5f97\u660e\u5929\u5927\u76d8\u4e0a\u653b\u7684\u6982\u7387\u662f\u5f88\u5927\u7684\uff0c\u6bd5\u7adf\u4eca\u5929\u653e\u91cf\u4e86\uff0c\u800c\u4e14\u9ad8\u70b9\u4e0a\u53bb\u4e86\uff0c\u6211\u89c9\u5f97\u660e\u5929\u8fd8\u662f\u503c\u5f97\u671f\u5f85\u7684 -- \u57fa\u672c\u4e0a\u9884\u5224 ok\uff0c\u4e0b\u5348\u62c9\u5347\u7684"),(0,o.yg)("hr",null),(0,o.yg)("p",null,"\u4eca\u5929\u6574\u4f53\u4e0a\u662f\u4e0a\u6da8\uff0c\u7b26\u5408\u9884\u671f\uff0c\u5927\u76d8\u6700\u9ad8 3470 \u4e86"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u7ee7\u7eed\u6301\u6709\uff0c\u660e\u5929\u6302 -1% \u4e70\u5165\u4e00\u534a"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u9884\u671f\u660e\u5929\u5927\u76d8\u4f1a\u7ee7\u7eed\u4e0a\u653b\uff0c\u4e0b\u5468\u4e00\u5e94\u8be5\u662f\u77ed\u671f\u9ad8\u70b9"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/aef8cf14.45182341.js b/assets/js/aef8cf14.0f3939d0.js similarity index 98% rename from assets/js/aef8cf14.45182341.js rename to assets/js/aef8cf14.0f3939d0.js index af70d4a20..82aace996 100644 --- a/assets/js/aef8cf14.45182341.js +++ b/assets/js/aef8cf14.0f3939d0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3971],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,p=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),s=l(r),f=o,y=s["".concat(p,".").concat(f)]||s[f]||d[f]||c;return r?n.createElement(y,i(i({ref:t},u),{},{components:r})):n.createElement(y,i({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,i=new Array(c);i[0]=f;var a={};for(var p in t)hasOwnProperty.call(t,p)&&(a[p]=t[p]);a.originalType=e,a[s]="string"==typeof e?e:o,i[1]=a;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>c,metadata:()=>a,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const c={sidebar_position:5},i="HTTP \u8bbe\u5907\u63a5\u5165",a={unversionedId:"iotcloud/connect/http",id:"iotcloud/connect/http",title:"HTTP \u8bbe\u5907\u63a5\u5165",description:"",source:"@site/docs/iotcloud/connect/http.md",sourceDirName:"iotcloud/connect",slug:"/iotcloud/connect/http",permalink:"/docs/iotcloud/connect/http",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"iotCloudSidebar",previous:{title:"TCP \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/tcp"},next:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/devicemanager/"}},p={},l=[],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"http-\u8bbe\u5907\u63a5\u5165"},"HTTP \u8bbe\u5907\u63a5\u5165"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3971],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,p=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),s=l(r),f=o,y=s["".concat(p,".").concat(f)]||s[f]||d[f]||c;return r?n.createElement(y,i(i({ref:t},u),{},{components:r})):n.createElement(y,i({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,i=new Array(c);i[0]=f;var a={};for(var p in t)hasOwnProperty.call(t,p)&&(a[p]=t[p]);a.originalType=e,a[s]="string"==typeof e?e:o,i[1]=a;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>c,metadata:()=>a,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const c={sidebar_position:5},i="HTTP \u8bbe\u5907\u63a5\u5165",a={unversionedId:"iotcloud/connect/http",id:"iotcloud/connect/http",title:"HTTP \u8bbe\u5907\u63a5\u5165",description:"",source:"@site/docs/iotcloud/connect/http.md",sourceDirName:"iotcloud/connect",slug:"/iotcloud/connect/http",permalink:"/docs/iotcloud/connect/http",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"iotCloudSidebar",previous:{title:"TCP \u8bbe\u5907\u63a5\u5165",permalink:"/docs/iotcloud/connect/tcp"},next:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/devicemanager/"}},p={},l=[],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"http-\u8bbe\u5907\u63a5\u5165"},"HTTP \u8bbe\u5907\u63a5\u5165"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/afde6f8f.5c3c993d.js b/assets/js/afde6f8f.738c2a93.js similarity index 99% rename from assets/js/afde6f8f.5c3c993d.js rename to assets/js/afde6f8f.738c2a93.js index 482df5a56..ed47e1624 100644 --- a/assets/js/afde6f8f.5c3c993d.js +++ b/assets/js/afde6f8f.738c2a93.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7133],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var a=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=a.createContext({}),p=function(e){var t=a.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return a.createElement(i.Provider,{value:t},e.children)},y="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},g=a.forwardRef((function(e,t){var r=e.components,o=e.mdxType,n=e.originalType,i=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),y=p(r),g=o,d=y["".concat(i,".").concat(g)]||y[g]||u[g]||n;return r?a.createElement(d,c(c({ref:t},s),{},{components:r})):a.createElement(d,c({ref:t},s))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var n=r.length,c=new Array(n);c[0]=g;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[y]="string"==typeof e?e:o,c[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>u,frontMatter:()=>n,metadata:()=>l,toc:()=>p});var a=r(58168),o=(r(96540),r(15680));const n={},c=void 0,l={unversionedId:"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",id:"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",title:"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",description:"5\u79cdI/O\u6a21\u578b\u6bd4\u8f83",source:"@site/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f.md",sourceDirName:"study/think/\u6982\u5ff5\u6a21\u578b",slug:"/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Proactor",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor"},next:{title:"\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/"}},i={},p=[{value:"5\u79cdI/O\u6a21\u578b\u6bd4\u8f83",id:"5\u79cdio\u6a21\u578b\u6bd4\u8f83",level:3},{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"Reactor\u6a21\u5f0f\u7ed3\u6784",id:"reactor\u6a21\u5f0f\u7ed3\u6784",level:3},{value:"Reactor \u5904\u7406\u6b65\u9aa4",id:"reactor-\u5904\u7406\u6b65\u9aa4",level:3},{value:"\u4f18\u70b9",id:"\u4f18\u70b9",level:3}],s={toc:p},y="wrapper";function u(e){let{components:t,...n}=e;return(0,o.yg)(y,(0,a.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"5\u79cdio\u6a21\u578b\u6bd4\u8f83"},"5\u79cdI/O\u6a21\u578b\u6bd4\u8f83"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(50312).A,width:"750",height:"394"})),(0,o.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,o.yg)("p",null,"Reactor(\u53cd\u5e94\u5806\u6a21\u5f0f)\u662flibevent\u7684\u4e2d\u5fc3\u601d\u60f3\uff0c\u5e38\u89c4\u7684I/O\u591a\u8def\u590d\u7528\u4e2d\u91c7\u7528select\u548cpoll\u3001epoll\u7b49\u6765\u5b9e\u73b0\u3002\u800cReactor\u662f\u5c06\u4e0a\u8ff0\u673a\u5236\u8fdb\u4e00\u6b65\u5c01\u88c5\uff0c\u901a\u4fd7\u7684\u6765\u8bb2\uff0c\u5c31\u662f\u901a\u8fc7\u56de\u8c03\u673a\u5236\u5b9e\u73b0\u3002\u6211\u4eec\u53ea\u9700\u5c06\u4e8b\u4ef6\u7684\u63a5\u53e3\u6ce8\u518c\u5230Reactor\u4e0a\uff0c\u5f53\u4e8b\u4ef6\u53d1\u751f\u4e4b\u540e\uff0c\u4f1a\u56de\u8c03\u6ce8\u518c\u7684\u63a5\u53e3\u3002"),(0,o.yg)("p",null,"Reactor\u662f\u4e00\u79cd\u4e8b\u4ef6\u9a71\u52a8\u673a\u5236\u3002\u548c\u666e\u901a\u51fd\u6570\u8c03\u7528\u7684\u4e0d\u540c\u4e4b\u5904\u5728\u4e8e\uff1a\u5e94\u7528\u7a0b\u5e8f\u4e0d\u662f\u4e3b\u52a8\u7684\u8c03\u7528\u67d0\u4e2aAPI\u5b8c\u6210\u5904\u7406\uff0c\u800c\u662f\u6070\u6070\u76f8\u53cd\uff0cReactor\u9006\u7f6e\u4e86\u4e8b\u4ef6\u5904\u7406\u6d41\u7a0b\uff0c\u5e94\u7528\u7a0b\u5e8f\u9700\u8981\u63d0\u4f9b\u76f8\u5e94\u7684\u63a5\u53e3\u5e76\u6ce8\u518c\u5230Reactor\u4e0a\uff0c\u5982\u679c\u76f8\u5e94\u7684\u4e8b\u4ef6\u53d1\u751f\uff0cReactor\u5c06\u4e3b\u52a8\u8c03\u7528\u5e94\u7528\u7a0b\u5e8f\u6ce8\u518c\u7684\u63a5\u53e3\uff0c\u8fd9\u4e9b\u63a5\u53e3\u53c8\u79f0\u4e3a\u201c\u56de\u8c03\u51fd\u6570\u201d\u3002"),(0,o.yg)("p",null,"Reactor \u6a21\u5f0f\u4e5f\u53eb Dispatcher \u6a21\u5f0f\uff08\u5728\u5f88\u591a\u5f00\u6e90\u7684\u7cfb\u7edf\u91cc\u9762\u4f1a\u770b\u5230\u8fd9\u4e2a\u540d\u79f0\u7684\u7c7b\uff0c\u5176\u5b9e\u5c31\u662f\u5b9e\u73b0 Reactor \u6a21\u5f0f\u7684\uff09\uff0c\u66f4\u52a0\u8d34\u8fd1\u6a21\u5f0f\u672c\u8eab\u7684\u542b\u4e49\uff0c\u5373 I/O \u591a\u8def\u590d\u7528\u7edf\u4e00\u76d1\u542c\u4e8b\u4ef6\uff0c\u6536\u5230\u4e8b\u4ef6\u540e\u5206\u914d\uff08Dispatch\uff09\u7ed9\u67d0\u4e2a\u8fdb\u7a0b\u3002"),(0,o.yg)("p",null,"Reactor \u6a21\u5f0f\u7684\u6838\u5fc3\u7ec4\u6210\u90e8\u5206\u5305\u62ec Reactor \u548c\u5904\u7406\u8d44\u6e90\u6c60\uff08\u8fdb\u7a0b\u6c60\u6216\u7ebf\u7a0b\u6c60\uff09\uff0c\u5176\u4e2d Reactor \u8d1f\u8d23\u76d1\u542c\u548c\u5206\u914d\u4e8b\u4ef6\uff0c\u5904\u7406\u8d44\u6e90\u6c60\u8d1f\u8d23\u5904\u7406\u4e8b\u4ef6\u3002\u521d\u770b Reactor \u7684\u5b9e\u73b0\u662f\u6bd4\u8f83\u7b80\u5355\u7684\uff0c\u4f46\u5b9e\u9645\u4e0a\u7ed3\u5408\u4e0d\u540c\u7684\u4e1a\u52a1\u573a\u666f\uff0cReactor \u6a21\u5f0f\u7684\u5177\u4f53\u5b9e\u73b0\u65b9\u6848\u7075\u6d3b\u591a\u53d8\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1aReactor \u7684\u6570\u91cf\u53ef\u4ee5\u53d8\u5316\uff1a\u53ef\u4ee5\u662f\u4e00\u4e2a Reactor\uff0c\u4e5f\u53ef\u4ee5\u662f\u591a\u4e2a Reactor\u3002\u8d44\u6e90\u6c60\u7684\u6570\u91cf\u53ef\u4ee5\u53d8\u5316\uff1a\u4ee5\u8fdb\u7a0b\u4e3a\u4f8b\uff0c\u53ef\u4ee5\u662f\u5355\u4e2a\u8fdb\u7a0b\uff0c\u4e5f\u53ef\u4ee5\u662f\u591a\u4e2a\u8fdb\u7a0b\uff08\u7ebf\u7a0b\u7c7b\u4f3c\uff09\u3002\u5c06\u4e0a\u9762\u4e24\u4e2a\u56e0\u7d20\u6392\u5217\u7ec4\u5408\u4e00\u4e0b\uff0c\u7406\u8bba\u4e0a\u53ef\u4ee5\u6709 4 \u79cd\u9009\u62e9\uff0c\u4f46\u7531\u4e8e\u201c\u591a Reactor \u5355\u8fdb\u7a0b\u201d\u5b9e\u73b0\u65b9\u6848\u76f8\u6bd4\u201c\u5355 Reactor \u5355\u8fdb\u7a0b\u201d\u65b9\u6848\uff0c\u65e2\u590d\u6742\u53c8\u6ca1\u6709\u6027\u80fd\u4f18\u52bf\uff0c\u56e0\u6b64\u201c\u591a Reactor \u5355\u8fdb\u7a0b\u201d\u65b9\u6848\u4ec5\u4ec5\u662f\u4e00\u4e2a\u7406\u8bba\u4e0a\u7684\u65b9\u6848\uff0c\u5b9e\u9645\u6ca1\u6709\u5e94\u7528\u3002\u6700\u7ec8 Reactor \u6a21\u5f0f\u6709\u8fd9\u4e09\u79cd\u5178\u578b\u7684\u5b9e\u73b0\u65b9\u6848\uff1a\u5355 Reactor \u5355\u8fdb\u7a0b / \u7ebf\u7a0b\u3002\u5355 Reactor \u591a\u7ebf\u7a0b\u3002\u591a Reactor \u591a\u8fdb\u7a0b / \u7ebf\u7a0b\u3002\u4ee5\u4e0a\u65b9\u6848\u5177\u4f53\u9009\u62e9\u8fdb\u7a0b\u8fd8\u662f\u7ebf\u7a0b\uff0c\u66f4\u591a\u5730\u662f\u548c\u7f16\u7a0b\u8bed\u8a00\u53ca\u5e73\u53f0\u76f8\u5173\u3002\u4f8b\u5982\uff0cJava \u8bed\u8a00\u4e00\u822c\u4f7f\u7528\u7ebf\u7a0b\uff08\u4f8b\u5982\uff0cNetty\uff09\uff0cC \u8bed\u8a00\u4f7f\u7528\u8fdb\u7a0b\u548c\u7ebf\u7a0b\u90fd\u53ef\u4ee5\u3002\u4f8b\u5982\uff0cNginx \u4f7f\u7528\u8fdb\u7a0b\uff0cMemcache \u4f7f\u7528\u7ebf\u7a0b\u3002"),(0,o.yg)("p",null,"\u5355 Reactor \u5355\u8fdb\u7a0b\u7684\u65b9\u6848\u5728\u5b9e\u8df5\u4e2d\u5e94\u7528\u573a\u666f\u4e0d\u591a\uff0c\u53ea\u9002\u7528\u4e8e\u4e1a\u52a1\u5904\u7406\u975e\u5e38\u5feb\u901f\u7684\u573a\u666f\uff0c\u76ee\u524d\u6bd4\u8f83\u8457\u540d\u7684\u5f00\u6e90\u8f6f\u4ef6\u4e2d\u4f7f\u7528\u5355 Reactor \u5355\u8fdb\u7a0b\u7684\u662f Redis\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cC \u8bed\u8a00\u7f16\u5199\u7cfb\u7edf\u7684\u4e00\u822c\u4f7f\u7528\u5355 Reactor \u5355\u8fdb\u7a0b\uff0c\u56e0\u4e3a\u6ca1\u6709\u5fc5\u8981\u5728\u8fdb\u7a0b\u4e2d\u518d\u521b\u5efa\u7ebf\u7a0b\uff1b\u800c Java \u8bed\u8a00\u7f16\u5199\u7684\u4e00\u822c\u4f7f\u7528\u5355 Reactor \u5355\u7ebf\u7a0b\uff0c\u56e0\u4e3a Java \u865a\u62df\u673a\u662f\u4e00\u4e2a\u8fdb\u7a0b\uff0c\u865a\u62df\u673a\u4e2d\u6709\u5f88\u591a\u7ebf\u7a0b\uff0c\u4e1a\u52a1\u7ebf\u7a0b\u53ea\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u7ebf\u7a0b\u800c\u5df2\u3002"),(0,o.yg)("p",null,"\u76ee\u524d\u8457\u540d\u7684\u5f00\u6e90\u7cfb\u7edf Nginx \u91c7\u7528\u7684\u662f\u591a Reactor \u591a\u8fdb\u7a0b\uff0c\u91c7\u7528\u591a Reactor \u591a\u7ebf\u7a0b\u7684\u5b9e\u73b0\u6709 Memcache \u548c Netty\u3002"),(0,o.yg)("h3",{id:"reactor\u6a21\u5f0f\u7ed3\u6784"},"Reactor\u6a21\u5f0f\u7ed3\u6784"),(0,o.yg)("p",null,"\u5728Reactor\u6a21\u5f0f\u4e2d\uff0c\u6709\u4ee5\u4e0b\u51e0\u4e2a\u5173\u952e\u7684\u53c2\u4e0e\u8005\u3002"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u63cf\u8ff0\u7b26\uff08handle\uff09\u7531\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\uff0c\u7528\u4e8e\u8bc6\u522b\u6bcf\u4e00\u4e2a\u4e8b\u4ef6\uff0c\u5982Socket\u63cf\u8ff0\u7b26\u3001\u6587\u4ef6\u63cf\u8ff0\u7b26\u7b49\u3002\u5728Linux\u4e2d\uff0c\u5b83\u7528\u4e00\u4e2a\u6574\u6570\u6765\u8868\u793a\u3002\u4e8b\u4ef6\u53ef\u4ee5\u6765\u81ea\u5916\u90e8\uff0c\u5982\u6765\u81ea\u5ba2\u6237\u7aef\u7684\u8fde\u63a5\u8bf7\u6c42\u3001\u6570\u636e\u7b49\u3002\u4e8b\u4ef6\u4e5f\u53ef\u4ee5\u6765\u81ea\u5185\u90e8\uff0c\u5982\u5b9a\u65f6\u5668\u4e8b\u4ef6\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u540c\u6b65\u4e8b\u4ef6\u5206\u79bb\u5668\uff08demultiplexer\uff09\u662f\u4e00\u4e2a\u51fd\u6570\uff0c\u7528\u6765\u7b49\u5f85\u4e00\u4e2a\u6216\u591a\u4e2a\u4e8b\u4ef6\u7684\u53d1\u751f\u3002\u8c03\u7528\u8005\u4f1a\u88ab\u963b\u585e\uff0c\u76f4\u5230\u5206\u79bb\u5668\u5206\u79bb\u7684\u63cf\u8ff0\u7b26\u96c6\u4e0a\u6709\u4e8b\u4ef6\u53d1\u751f\u3002Linux\u7684select\u51fd\u6570\u662f\u4e00\u4e2a\u7ecf\u5e38\u88ab\u4f7f\u7528\u7684\u5206\u79bb\u5668\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u4e8b\u4ef6\u5904\u7406\u5668\u63a5\u53e3\uff08event handler\uff09\u662f\u7531\u4e00\u4e2a\u6216\u591a\u4e2a\u6a21\u677f\u51fd\u6570\u7ec4\u6210\u7684\u63a5\u53e3\u3002\u8fd9\u4e9b\u6a21\u677f\u51fd\u6570\u63cf\u8ff0\u4e86\u548c\u5e94\u7528\u7a0b\u5e8f\u76f8\u5173\u7684\u5bf9\u67d0\u4e2a\u4e8b\u4ef6\u7684\u64cd\u4f5c\u3002 \u5177\u4f53\u7684\u4e8b\u4ef6\u5904\u7406\u5668\uff1a\u662f\u4e8b\u4ef6\u5904\u7406\u5668\u63a5\u53e3\u7684\u5b9e\u73b0\u3002\u5b83\u5b9e\u73b0\u4e86\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u7684\u67d0\u4e2a\u670d\u52a1\u3002\u6bcf\u4e2a\u5177\u4f53\u7684\u4e8b\u4ef6\u5904\u7406\u5668\u603b\u548c\u4e00\u4e2a\u63cf\u8ff0\u7b26\u76f8\u5173\u3002\u5b83\u4f7f\u7528\u63cf\u8ff0\u7b26\u6765\u8bc6\u522b\u4e8b\u4ef6\u3001\u8bc6\u522b\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u7684\u670d\u52a1\u3002"),(0,o.yg)("li",{parentName:"ol"},"Reactor \u7ba1\u7406\u5668\uff08reactor\uff09\uff1a\u5b9a\u4e49\u4e86\u4e00\u4e9b\u63a5\u53e3\uff0c\u7528\u4e8e\u5e94\u7528\u7a0b\u5e8f\u63a7\u5236\u4e8b\u4ef6\u8c03\u5ea6\uff0c\u4ee5\u53ca\u5e94\u7528\u7a0b\u5e8f\u6ce8\u518c\u3001\u5220\u9664\u4e8b\u4ef6\u5904\u7406\u5668\u548c\u76f8\u5173\u7684\u63cf\u8ff0\u7b26\u3002\u5b83\u662f\u4e8b\u4ef6\u5904\u7406\u5668\u7684\u8c03\u5ea6\u6838\u5fc3\u3002 Reactor\u7ba1\u7406\u5668\u4f7f\u7528\u540c\u6b65\u4e8b\u4ef6\u5206\u79bb\u5668\u6765\u7b49\u5f85\u4e8b\u4ef6\u7684\u53d1\u751f\u3002\u4e00\u65e6\u4e8b\u4ef6\u53d1\u751f\uff0cReactor\u7ba1\u7406\u5668\u5148\u662f\u5206\u79bb\u6bcf\u4e2a\u4e8b\u4ef6\uff0c\u7136\u540e\u8c03\u5ea6\u4e8b\u4ef6\u5904\u7406\u5668\uff0c\u6700\u540e\u8c03\u7528\u76f8\u5173\u7684\u6a21 \u677f\u51fd\u6570\u6765\u5904\u7406\u8fd9\u4e2a\u4e8b\u4ef6\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u901a\u8fc7\u4e0a\u8ff0\u5206\u6790\uff0c\u6211\u4eec\u6ce8\u610f\u5230\uff0c\u662fReactor\u7ba1\u7406\u5668\u800c\u4e0d\u662f\u5e94\u7528\u7a0b\u5e8f\u8d1f\u8d23\u7b49\u5f85\u4e8b\u4ef6\u3001\u5206\u79bb\u4e8b\u4ef6\u548c\u8c03\u5ea6\u4e8b\u4ef6\u3002\u5b9e\u9645\u4e0a\uff0cReactor\u7ba1\u7406\u5668\u5e76\u6ca1\u6709\u88ab\u5177\u4f53\u7684 \u4e8b\u4ef6\u5904\u7406\u5668\u8c03\u7528\uff0c\u800c\u662f\u7ba1\u7406\u5668\u8c03\u5ea6\u5177\u4f53\u7684\u4e8b\u4ef6\u5904\u7406\u5668\uff0c\u7531\u4e8b\u4ef6\u5904\u7406\u5668\u5bf9\u53d1\u751f\u7684\u4e8b\u4ef6\u505a\u51fa\u5904\u7406\u3002\u8fd9\u5c31\u662f\u7c7b\u4f3cHollywood\u539f\u5219\u7684\u201c\u53cd\u5411\u63a7\u5236\u201d\u3002\u5e94\u7528\u7a0b\u5e8f\u8981\u505a\u7684 \u4ec5\u4ec5\u662f\u5b9e\u73b0\u4e00\u4e2a\u5177\u4f53\u7684\u4e8b\u4ef6\u5904\u7406\u5668\uff0c\u7136\u540e\u628a\u5b83\u6ce8\u518c\u5230Reactor\u7ba1\u7406\u5668\u4e2d\u3002\u63a5\u4e0b\u6765\u7684\u5de5\u4f5c\u7531\u7ba1\u7406\u5668\u6765\u5b8c\u6210\u3002\u8fd9\u4e9b\u53c2\u4e0e\u8005\u7684\u76f8\u4e92\u5173\u7cfb\u5982\u4e0b\u56fe\u6240\u793a\u3002")),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(87171).A,width:"750",height:"282"})),(0,o.yg)("h3",{id:"reactor-\u5904\u7406\u6b65\u9aa4"},"Reactor \u5904\u7406\u6b65\u9aa4"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u521d\u59cb\u5316\u4e00\u4e2aReactor\u7ba1\u7406\u5668"),(0,o.yg)("li",{parentName:"ol"},"\u521d\u59cb\u5316\u4e8b\u4ef6\u5904\u7406\u5668,\u8bbe\u7f6e\u4e8b\u4ef6\u6e90\u53ca\u56de\u8c03\u51fd\u6570"),(0,o.yg)("li",{parentName:"ol"},"\u5c06\u4e8b\u4ef6\u5904\u7406\u5668\u6ce8\u518c\u5230Reactor\u7ba1\u7406\u5668\u4e0a"),(0,o.yg)("li",{parentName:"ol"},"\u6ce8\u518c\u8be5\u4e8b\u4ef6"),(0,o.yg)("li",{parentName:"ol"},"\u8fdb\u5165\u5faa\u73af\u7b49\u5f85\u4e8b\u4ef6\u53d1\u751f\u5e76\u5904\u7406")),(0,o.yg)("h3",{id:"\u4f18\u70b9"},"\u4f18\u70b9"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u54cd\u5e94\u5feb\uff0c\u4e0d\u5fc5\u4e3a\u5355\u4e2a\u540c\u6b65\u65f6\u95f4\u6240\u963b\u585e\uff0c\u867d\u7136Reactor\u672c\u8eab\u4f9d\u7136\u662f\u540c\u6b65\u7684\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u76f8\u5bf9\u7b80\u5355\uff0c\u53ef\u4ee5\u6700\u5927\u7a0b\u5ea6\u7684\u907f\u514d\u590d\u6742\u7684\u591a\u7ebf\u7a0b\u53ca\u540c\u6b65\u95ee\u9898\uff0c\u5e76\u4e14\u907f\u514d\u4e86\u591a\u7ebf\u7a0b/\u8fdb\u7a0b\u7684\u5207\u6362\u5f00\u9500\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u53ef\u6269\u5c55\u6027\uff0c\u53ef\u4ee5\u65b9\u4fbf\u7684\u901a\u8fc7\u589e\u52a0Reactor\u5b9e\u4f8b\u4e2a\u6570\u6765\u5145\u5206\u5229\u7528CPU\u8d44\u6e90\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u53ef\u590d\u7528\u6027\uff0creactor\u6846\u67b6\u672c\u8eab\u4e0e\u5177\u4f53\u4e8b\u4ef6\u5904\u7406\u903b\u8f91\u65e0\u5173\uff0c\u5177\u6709\u5f88\u9ad8\u7684\u590d\u7528\u6027\uff1b")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_35551407/article/details/107141036"}),"\n",(0,o.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_35551407/article/details/107141036"})))}u.isMDXComponent=!0},50312:(e,t,r)=>{r.d(t,{A:()=>a});const a=r.p+"assets/images/image1-edea0978619ca45e5aaa9c2240cde67f.png"},87171:(e,t,r)=>{r.d(t,{A:()=>a});const a=r.p+"assets/images/image2-d4b1ab3e24170354fa291fe102361811.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7133],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var a=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=a.createContext({}),p=function(e){var t=a.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return a.createElement(i.Provider,{value:t},e.children)},y="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},g=a.forwardRef((function(e,t){var r=e.components,o=e.mdxType,n=e.originalType,i=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),y=p(r),g=o,d=y["".concat(i,".").concat(g)]||y[g]||u[g]||n;return r?a.createElement(d,c(c({ref:t},s),{},{components:r})):a.createElement(d,c({ref:t},s))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var n=r.length,c=new Array(n);c[0]=g;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[y]="string"==typeof e?e:o,c[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>u,frontMatter:()=>n,metadata:()=>l,toc:()=>p});var a=r(58168),o=(r(96540),r(15680));const n={},c=void 0,l={unversionedId:"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",id:"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",title:"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",description:"5\u79cdI/O\u6a21\u578b\u6bd4\u8f83",source:"@site/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f.md",sourceDirName:"study/think/\u6982\u5ff5\u6a21\u578b",slug:"/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Proactor",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor"},next:{title:"\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/"}},i={},p=[{value:"5\u79cdI/O\u6a21\u578b\u6bd4\u8f83",id:"5\u79cdio\u6a21\u578b\u6bd4\u8f83",level:3},{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"Reactor\u6a21\u5f0f\u7ed3\u6784",id:"reactor\u6a21\u5f0f\u7ed3\u6784",level:3},{value:"Reactor \u5904\u7406\u6b65\u9aa4",id:"reactor-\u5904\u7406\u6b65\u9aa4",level:3},{value:"\u4f18\u70b9",id:"\u4f18\u70b9",level:3}],s={toc:p},y="wrapper";function u(e){let{components:t,...n}=e;return(0,o.yg)(y,(0,a.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"5\u79cdio\u6a21\u578b\u6bd4\u8f83"},"5\u79cdI/O\u6a21\u578b\u6bd4\u8f83"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(50312).A,width:"750",height:"394"})),(0,o.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,o.yg)("p",null,"Reactor(\u53cd\u5e94\u5806\u6a21\u5f0f)\u662flibevent\u7684\u4e2d\u5fc3\u601d\u60f3\uff0c\u5e38\u89c4\u7684I/O\u591a\u8def\u590d\u7528\u4e2d\u91c7\u7528select\u548cpoll\u3001epoll\u7b49\u6765\u5b9e\u73b0\u3002\u800cReactor\u662f\u5c06\u4e0a\u8ff0\u673a\u5236\u8fdb\u4e00\u6b65\u5c01\u88c5\uff0c\u901a\u4fd7\u7684\u6765\u8bb2\uff0c\u5c31\u662f\u901a\u8fc7\u56de\u8c03\u673a\u5236\u5b9e\u73b0\u3002\u6211\u4eec\u53ea\u9700\u5c06\u4e8b\u4ef6\u7684\u63a5\u53e3\u6ce8\u518c\u5230Reactor\u4e0a\uff0c\u5f53\u4e8b\u4ef6\u53d1\u751f\u4e4b\u540e\uff0c\u4f1a\u56de\u8c03\u6ce8\u518c\u7684\u63a5\u53e3\u3002"),(0,o.yg)("p",null,"Reactor\u662f\u4e00\u79cd\u4e8b\u4ef6\u9a71\u52a8\u673a\u5236\u3002\u548c\u666e\u901a\u51fd\u6570\u8c03\u7528\u7684\u4e0d\u540c\u4e4b\u5904\u5728\u4e8e\uff1a\u5e94\u7528\u7a0b\u5e8f\u4e0d\u662f\u4e3b\u52a8\u7684\u8c03\u7528\u67d0\u4e2aAPI\u5b8c\u6210\u5904\u7406\uff0c\u800c\u662f\u6070\u6070\u76f8\u53cd\uff0cReactor\u9006\u7f6e\u4e86\u4e8b\u4ef6\u5904\u7406\u6d41\u7a0b\uff0c\u5e94\u7528\u7a0b\u5e8f\u9700\u8981\u63d0\u4f9b\u76f8\u5e94\u7684\u63a5\u53e3\u5e76\u6ce8\u518c\u5230Reactor\u4e0a\uff0c\u5982\u679c\u76f8\u5e94\u7684\u4e8b\u4ef6\u53d1\u751f\uff0cReactor\u5c06\u4e3b\u52a8\u8c03\u7528\u5e94\u7528\u7a0b\u5e8f\u6ce8\u518c\u7684\u63a5\u53e3\uff0c\u8fd9\u4e9b\u63a5\u53e3\u53c8\u79f0\u4e3a\u201c\u56de\u8c03\u51fd\u6570\u201d\u3002"),(0,o.yg)("p",null,"Reactor \u6a21\u5f0f\u4e5f\u53eb Dispatcher \u6a21\u5f0f\uff08\u5728\u5f88\u591a\u5f00\u6e90\u7684\u7cfb\u7edf\u91cc\u9762\u4f1a\u770b\u5230\u8fd9\u4e2a\u540d\u79f0\u7684\u7c7b\uff0c\u5176\u5b9e\u5c31\u662f\u5b9e\u73b0 Reactor \u6a21\u5f0f\u7684\uff09\uff0c\u66f4\u52a0\u8d34\u8fd1\u6a21\u5f0f\u672c\u8eab\u7684\u542b\u4e49\uff0c\u5373 I/O \u591a\u8def\u590d\u7528\u7edf\u4e00\u76d1\u542c\u4e8b\u4ef6\uff0c\u6536\u5230\u4e8b\u4ef6\u540e\u5206\u914d\uff08Dispatch\uff09\u7ed9\u67d0\u4e2a\u8fdb\u7a0b\u3002"),(0,o.yg)("p",null,"Reactor \u6a21\u5f0f\u7684\u6838\u5fc3\u7ec4\u6210\u90e8\u5206\u5305\u62ec Reactor \u548c\u5904\u7406\u8d44\u6e90\u6c60\uff08\u8fdb\u7a0b\u6c60\u6216\u7ebf\u7a0b\u6c60\uff09\uff0c\u5176\u4e2d Reactor \u8d1f\u8d23\u76d1\u542c\u548c\u5206\u914d\u4e8b\u4ef6\uff0c\u5904\u7406\u8d44\u6e90\u6c60\u8d1f\u8d23\u5904\u7406\u4e8b\u4ef6\u3002\u521d\u770b Reactor \u7684\u5b9e\u73b0\u662f\u6bd4\u8f83\u7b80\u5355\u7684\uff0c\u4f46\u5b9e\u9645\u4e0a\u7ed3\u5408\u4e0d\u540c\u7684\u4e1a\u52a1\u573a\u666f\uff0cReactor \u6a21\u5f0f\u7684\u5177\u4f53\u5b9e\u73b0\u65b9\u6848\u7075\u6d3b\u591a\u53d8\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\uff1aReactor \u7684\u6570\u91cf\u53ef\u4ee5\u53d8\u5316\uff1a\u53ef\u4ee5\u662f\u4e00\u4e2a Reactor\uff0c\u4e5f\u53ef\u4ee5\u662f\u591a\u4e2a Reactor\u3002\u8d44\u6e90\u6c60\u7684\u6570\u91cf\u53ef\u4ee5\u53d8\u5316\uff1a\u4ee5\u8fdb\u7a0b\u4e3a\u4f8b\uff0c\u53ef\u4ee5\u662f\u5355\u4e2a\u8fdb\u7a0b\uff0c\u4e5f\u53ef\u4ee5\u662f\u591a\u4e2a\u8fdb\u7a0b\uff08\u7ebf\u7a0b\u7c7b\u4f3c\uff09\u3002\u5c06\u4e0a\u9762\u4e24\u4e2a\u56e0\u7d20\u6392\u5217\u7ec4\u5408\u4e00\u4e0b\uff0c\u7406\u8bba\u4e0a\u53ef\u4ee5\u6709 4 \u79cd\u9009\u62e9\uff0c\u4f46\u7531\u4e8e\u201c\u591a Reactor \u5355\u8fdb\u7a0b\u201d\u5b9e\u73b0\u65b9\u6848\u76f8\u6bd4\u201c\u5355 Reactor \u5355\u8fdb\u7a0b\u201d\u65b9\u6848\uff0c\u65e2\u590d\u6742\u53c8\u6ca1\u6709\u6027\u80fd\u4f18\u52bf\uff0c\u56e0\u6b64\u201c\u591a Reactor \u5355\u8fdb\u7a0b\u201d\u65b9\u6848\u4ec5\u4ec5\u662f\u4e00\u4e2a\u7406\u8bba\u4e0a\u7684\u65b9\u6848\uff0c\u5b9e\u9645\u6ca1\u6709\u5e94\u7528\u3002\u6700\u7ec8 Reactor \u6a21\u5f0f\u6709\u8fd9\u4e09\u79cd\u5178\u578b\u7684\u5b9e\u73b0\u65b9\u6848\uff1a\u5355 Reactor \u5355\u8fdb\u7a0b / \u7ebf\u7a0b\u3002\u5355 Reactor \u591a\u7ebf\u7a0b\u3002\u591a Reactor \u591a\u8fdb\u7a0b / \u7ebf\u7a0b\u3002\u4ee5\u4e0a\u65b9\u6848\u5177\u4f53\u9009\u62e9\u8fdb\u7a0b\u8fd8\u662f\u7ebf\u7a0b\uff0c\u66f4\u591a\u5730\u662f\u548c\u7f16\u7a0b\u8bed\u8a00\u53ca\u5e73\u53f0\u76f8\u5173\u3002\u4f8b\u5982\uff0cJava \u8bed\u8a00\u4e00\u822c\u4f7f\u7528\u7ebf\u7a0b\uff08\u4f8b\u5982\uff0cNetty\uff09\uff0cC \u8bed\u8a00\u4f7f\u7528\u8fdb\u7a0b\u548c\u7ebf\u7a0b\u90fd\u53ef\u4ee5\u3002\u4f8b\u5982\uff0cNginx \u4f7f\u7528\u8fdb\u7a0b\uff0cMemcache \u4f7f\u7528\u7ebf\u7a0b\u3002"),(0,o.yg)("p",null,"\u5355 Reactor \u5355\u8fdb\u7a0b\u7684\u65b9\u6848\u5728\u5b9e\u8df5\u4e2d\u5e94\u7528\u573a\u666f\u4e0d\u591a\uff0c\u53ea\u9002\u7528\u4e8e\u4e1a\u52a1\u5904\u7406\u975e\u5e38\u5feb\u901f\u7684\u573a\u666f\uff0c\u76ee\u524d\u6bd4\u8f83\u8457\u540d\u7684\u5f00\u6e90\u8f6f\u4ef6\u4e2d\u4f7f\u7528\u5355 Reactor \u5355\u8fdb\u7a0b\u7684\u662f Redis\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cC \u8bed\u8a00\u7f16\u5199\u7cfb\u7edf\u7684\u4e00\u822c\u4f7f\u7528\u5355 Reactor \u5355\u8fdb\u7a0b\uff0c\u56e0\u4e3a\u6ca1\u6709\u5fc5\u8981\u5728\u8fdb\u7a0b\u4e2d\u518d\u521b\u5efa\u7ebf\u7a0b\uff1b\u800c Java \u8bed\u8a00\u7f16\u5199\u7684\u4e00\u822c\u4f7f\u7528\u5355 Reactor \u5355\u7ebf\u7a0b\uff0c\u56e0\u4e3a Java \u865a\u62df\u673a\u662f\u4e00\u4e2a\u8fdb\u7a0b\uff0c\u865a\u62df\u673a\u4e2d\u6709\u5f88\u591a\u7ebf\u7a0b\uff0c\u4e1a\u52a1\u7ebf\u7a0b\u53ea\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u7ebf\u7a0b\u800c\u5df2\u3002"),(0,o.yg)("p",null,"\u76ee\u524d\u8457\u540d\u7684\u5f00\u6e90\u7cfb\u7edf Nginx \u91c7\u7528\u7684\u662f\u591a Reactor \u591a\u8fdb\u7a0b\uff0c\u91c7\u7528\u591a Reactor \u591a\u7ebf\u7a0b\u7684\u5b9e\u73b0\u6709 Memcache \u548c Netty\u3002"),(0,o.yg)("h3",{id:"reactor\u6a21\u5f0f\u7ed3\u6784"},"Reactor\u6a21\u5f0f\u7ed3\u6784"),(0,o.yg)("p",null,"\u5728Reactor\u6a21\u5f0f\u4e2d\uff0c\u6709\u4ee5\u4e0b\u51e0\u4e2a\u5173\u952e\u7684\u53c2\u4e0e\u8005\u3002"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u63cf\u8ff0\u7b26\uff08handle\uff09\u7531\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\uff0c\u7528\u4e8e\u8bc6\u522b\u6bcf\u4e00\u4e2a\u4e8b\u4ef6\uff0c\u5982Socket\u63cf\u8ff0\u7b26\u3001\u6587\u4ef6\u63cf\u8ff0\u7b26\u7b49\u3002\u5728Linux\u4e2d\uff0c\u5b83\u7528\u4e00\u4e2a\u6574\u6570\u6765\u8868\u793a\u3002\u4e8b\u4ef6\u53ef\u4ee5\u6765\u81ea\u5916\u90e8\uff0c\u5982\u6765\u81ea\u5ba2\u6237\u7aef\u7684\u8fde\u63a5\u8bf7\u6c42\u3001\u6570\u636e\u7b49\u3002\u4e8b\u4ef6\u4e5f\u53ef\u4ee5\u6765\u81ea\u5185\u90e8\uff0c\u5982\u5b9a\u65f6\u5668\u4e8b\u4ef6\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u540c\u6b65\u4e8b\u4ef6\u5206\u79bb\u5668\uff08demultiplexer\uff09\u662f\u4e00\u4e2a\u51fd\u6570\uff0c\u7528\u6765\u7b49\u5f85\u4e00\u4e2a\u6216\u591a\u4e2a\u4e8b\u4ef6\u7684\u53d1\u751f\u3002\u8c03\u7528\u8005\u4f1a\u88ab\u963b\u585e\uff0c\u76f4\u5230\u5206\u79bb\u5668\u5206\u79bb\u7684\u63cf\u8ff0\u7b26\u96c6\u4e0a\u6709\u4e8b\u4ef6\u53d1\u751f\u3002Linux\u7684select\u51fd\u6570\u662f\u4e00\u4e2a\u7ecf\u5e38\u88ab\u4f7f\u7528\u7684\u5206\u79bb\u5668\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u4e8b\u4ef6\u5904\u7406\u5668\u63a5\u53e3\uff08event handler\uff09\u662f\u7531\u4e00\u4e2a\u6216\u591a\u4e2a\u6a21\u677f\u51fd\u6570\u7ec4\u6210\u7684\u63a5\u53e3\u3002\u8fd9\u4e9b\u6a21\u677f\u51fd\u6570\u63cf\u8ff0\u4e86\u548c\u5e94\u7528\u7a0b\u5e8f\u76f8\u5173\u7684\u5bf9\u67d0\u4e2a\u4e8b\u4ef6\u7684\u64cd\u4f5c\u3002 \u5177\u4f53\u7684\u4e8b\u4ef6\u5904\u7406\u5668\uff1a\u662f\u4e8b\u4ef6\u5904\u7406\u5668\u63a5\u53e3\u7684\u5b9e\u73b0\u3002\u5b83\u5b9e\u73b0\u4e86\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u7684\u67d0\u4e2a\u670d\u52a1\u3002\u6bcf\u4e2a\u5177\u4f53\u7684\u4e8b\u4ef6\u5904\u7406\u5668\u603b\u548c\u4e00\u4e2a\u63cf\u8ff0\u7b26\u76f8\u5173\u3002\u5b83\u4f7f\u7528\u63cf\u8ff0\u7b26\u6765\u8bc6\u522b\u4e8b\u4ef6\u3001\u8bc6\u522b\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u7684\u670d\u52a1\u3002"),(0,o.yg)("li",{parentName:"ol"},"Reactor \u7ba1\u7406\u5668\uff08reactor\uff09\uff1a\u5b9a\u4e49\u4e86\u4e00\u4e9b\u63a5\u53e3\uff0c\u7528\u4e8e\u5e94\u7528\u7a0b\u5e8f\u63a7\u5236\u4e8b\u4ef6\u8c03\u5ea6\uff0c\u4ee5\u53ca\u5e94\u7528\u7a0b\u5e8f\u6ce8\u518c\u3001\u5220\u9664\u4e8b\u4ef6\u5904\u7406\u5668\u548c\u76f8\u5173\u7684\u63cf\u8ff0\u7b26\u3002\u5b83\u662f\u4e8b\u4ef6\u5904\u7406\u5668\u7684\u8c03\u5ea6\u6838\u5fc3\u3002 Reactor\u7ba1\u7406\u5668\u4f7f\u7528\u540c\u6b65\u4e8b\u4ef6\u5206\u79bb\u5668\u6765\u7b49\u5f85\u4e8b\u4ef6\u7684\u53d1\u751f\u3002\u4e00\u65e6\u4e8b\u4ef6\u53d1\u751f\uff0cReactor\u7ba1\u7406\u5668\u5148\u662f\u5206\u79bb\u6bcf\u4e2a\u4e8b\u4ef6\uff0c\u7136\u540e\u8c03\u5ea6\u4e8b\u4ef6\u5904\u7406\u5668\uff0c\u6700\u540e\u8c03\u7528\u76f8\u5173\u7684\u6a21 \u677f\u51fd\u6570\u6765\u5904\u7406\u8fd9\u4e2a\u4e8b\u4ef6\u3002"),(0,o.yg)("li",{parentName:"ol"},"\u901a\u8fc7\u4e0a\u8ff0\u5206\u6790\uff0c\u6211\u4eec\u6ce8\u610f\u5230\uff0c\u662fReactor\u7ba1\u7406\u5668\u800c\u4e0d\u662f\u5e94\u7528\u7a0b\u5e8f\u8d1f\u8d23\u7b49\u5f85\u4e8b\u4ef6\u3001\u5206\u79bb\u4e8b\u4ef6\u548c\u8c03\u5ea6\u4e8b\u4ef6\u3002\u5b9e\u9645\u4e0a\uff0cReactor\u7ba1\u7406\u5668\u5e76\u6ca1\u6709\u88ab\u5177\u4f53\u7684 \u4e8b\u4ef6\u5904\u7406\u5668\u8c03\u7528\uff0c\u800c\u662f\u7ba1\u7406\u5668\u8c03\u5ea6\u5177\u4f53\u7684\u4e8b\u4ef6\u5904\u7406\u5668\uff0c\u7531\u4e8b\u4ef6\u5904\u7406\u5668\u5bf9\u53d1\u751f\u7684\u4e8b\u4ef6\u505a\u51fa\u5904\u7406\u3002\u8fd9\u5c31\u662f\u7c7b\u4f3cHollywood\u539f\u5219\u7684\u201c\u53cd\u5411\u63a7\u5236\u201d\u3002\u5e94\u7528\u7a0b\u5e8f\u8981\u505a\u7684 \u4ec5\u4ec5\u662f\u5b9e\u73b0\u4e00\u4e2a\u5177\u4f53\u7684\u4e8b\u4ef6\u5904\u7406\u5668\uff0c\u7136\u540e\u628a\u5b83\u6ce8\u518c\u5230Reactor\u7ba1\u7406\u5668\u4e2d\u3002\u63a5\u4e0b\u6765\u7684\u5de5\u4f5c\u7531\u7ba1\u7406\u5668\u6765\u5b8c\u6210\u3002\u8fd9\u4e9b\u53c2\u4e0e\u8005\u7684\u76f8\u4e92\u5173\u7cfb\u5982\u4e0b\u56fe\u6240\u793a\u3002")),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(87171).A,width:"750",height:"282"})),(0,o.yg)("h3",{id:"reactor-\u5904\u7406\u6b65\u9aa4"},"Reactor \u5904\u7406\u6b65\u9aa4"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u521d\u59cb\u5316\u4e00\u4e2aReactor\u7ba1\u7406\u5668"),(0,o.yg)("li",{parentName:"ol"},"\u521d\u59cb\u5316\u4e8b\u4ef6\u5904\u7406\u5668,\u8bbe\u7f6e\u4e8b\u4ef6\u6e90\u53ca\u56de\u8c03\u51fd\u6570"),(0,o.yg)("li",{parentName:"ol"},"\u5c06\u4e8b\u4ef6\u5904\u7406\u5668\u6ce8\u518c\u5230Reactor\u7ba1\u7406\u5668\u4e0a"),(0,o.yg)("li",{parentName:"ol"},"\u6ce8\u518c\u8be5\u4e8b\u4ef6"),(0,o.yg)("li",{parentName:"ol"},"\u8fdb\u5165\u5faa\u73af\u7b49\u5f85\u4e8b\u4ef6\u53d1\u751f\u5e76\u5904\u7406")),(0,o.yg)("h3",{id:"\u4f18\u70b9"},"\u4f18\u70b9"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"\u54cd\u5e94\u5feb\uff0c\u4e0d\u5fc5\u4e3a\u5355\u4e2a\u540c\u6b65\u65f6\u95f4\u6240\u963b\u585e\uff0c\u867d\u7136Reactor\u672c\u8eab\u4f9d\u7136\u662f\u540c\u6b65\u7684\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u76f8\u5bf9\u7b80\u5355\uff0c\u53ef\u4ee5\u6700\u5927\u7a0b\u5ea6\u7684\u907f\u514d\u590d\u6742\u7684\u591a\u7ebf\u7a0b\u53ca\u540c\u6b65\u95ee\u9898\uff0c\u5e76\u4e14\u907f\u514d\u4e86\u591a\u7ebf\u7a0b/\u8fdb\u7a0b\u7684\u5207\u6362\u5f00\u9500\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u53ef\u6269\u5c55\u6027\uff0c\u53ef\u4ee5\u65b9\u4fbf\u7684\u901a\u8fc7\u589e\u52a0Reactor\u5b9e\u4f8b\u4e2a\u6570\u6765\u5145\u5206\u5229\u7528CPU\u8d44\u6e90\uff1b"),(0,o.yg)("li",{parentName:"ol"},"\u53ef\u590d\u7528\u6027\uff0creactor\u6846\u67b6\u672c\u8eab\u4e0e\u5177\u4f53\u4e8b\u4ef6\u5904\u7406\u903b\u8f91\u65e0\u5173\uff0c\u5177\u6709\u5f88\u9ad8\u7684\u590d\u7528\u6027\uff1b")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_35551407/article/details/107141036"}),"\n",(0,o.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_35551407/article/details/107141036"})))}u.isMDXComponent=!0},50312:(e,t,r)=>{r.d(t,{A:()=>a});const a=r.p+"assets/images/image1-edea0978619ca45e5aaa9c2240cde67f.png"},87171:(e,t,r)=>{r.d(t,{A:()=>a});const a=r.p+"assets/images/image2-d4b1ab3e24170354fa291fe102361811.png"}}]); \ No newline at end of file diff --git a/assets/js/b00d0a4a.c97003bf.js b/assets/js/b00d0a4a.7e7dca96.js similarity index 98% rename from assets/js/b00d0a4a.c97003bf.js rename to assets/js/b00d0a4a.7e7dca96.js index 125b5368e..abd254525 100644 --- a/assets/js/b00d0a4a.c97003bf.js +++ b/assets/js/b00d0a4a.7e7dca96.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8914],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241102",id:"study/stock/20241102",title:"20241102",description:"\u4eca\u5929\u5468\u516d",source:"@site/docs/study/stock/20241102.md",sourceDirName:"study/stock",slug:"/study/stock/20241102",permalink:"/docs/study/stock/20241102",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u516d"),(0,o.yg)("p",null,"\u8fd9\u4e24\u5929\u5728\u8bfb\u8d44\u6cbb\u901a\u9274\uff0c\u6284\u5f55\u51e0\u53e5\u6bd4\u8f83\u6709\u8fd9\u91cc\u7684\u8bdd"),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},"\u8340\u5b50\u8bb2\u7684\u5c06\u9053\uff0c\u6838\u5fc3\u5728\u4e8e\u4e00\u4e2a\u656c\u5b57\uff0c\u4fdd\u6301\u656c\u754f\u5fc3\uff0c\u5c0f\u5fc3\u8c28\u614e\uff0c\u8c0b\u5212\u5468\u5168\uff0c\u5728\u57fa\u672c\u9762\u4e0a\u4fdd\u6301\u4e0d\u8d25\u3002\n\u5175\u6cd5\u7684\u5173\u952e\u4e0d\u5728\u4e8e\u80dc\uff0c\u800c\u5728\u4e8e\u4e0d\u8d25\u3002\n\u8d25\u7684\u4e00\u65b9\uff0c\u603b\u662f\u56e0\u4e3a\u81ea\u5df1\u5148\u72af\u9519\uff0c\u88ab\u5bf9\u65b9\u6349\u4f4f\u4e86\u4ed6\u7684\u9519\u8bef\uff0c\u4ed6\u5c31\u8d25\u4e86\u3002\n\u519b\u4e8b\u4e0a\u4e0d\u80fd\u8bd5\u9519\uff0c\u56e0\u4e3a\u8bd5\u9519\u6210\u672c\u592a\u9ad8\uff0c\u8bd5\u4e0d\u8d77\u3002\n\u6240\u4ee5\uff0c\u8ba1\u80dc\u6b32\u5219\u4ece\uff0c\u6b32\u80dc\u8ba1\u5219\u51f6\uff0c\u7edd\u5bf9\u4e0d\u53ef\u4fa5\u5e78\u3002\n\u4fa5\u5e78\u662f\u4eba\u6027\u7684\u5927\u5f31\u70b9\uff0c\u4eba\u4eec\u613f\u610f\u76f8\u4fe1\u4e00\u4e9b\u4e8b\u60c5\uff0c\u5176\u5b9e\u4e0d\u8fc7\u662f\u56e0\u4e3a\u81ea\u5df1\u5e0c\u671b\u90a3\u662f\u771f\u7684\u3002\n\u8981\u675c\u7edd\u4fa5\u5e78\u5fc3\u7406\uff0c\u76f8\u4fe1\u6210\u529f\u662f\u5076\u7136\u7684\uff0c\u5931\u8d25\u662f\u5fc5\u7136\u7684\uff0c\u8fd9\u6837\u624d\u80fd\u5e26\u5175\u6253\u4ed7\u3002")),(0,o.yg)("p",null,"\u4e0a\u9762\u7684\u8fd9\u4e9b\u8bdd\u8bf4\u5f97\u771f\u7684\u662f\u5f88\u6709\u9053\u7406\uff0c\u5c24\u5176\u4e5f\u5f88\u9002\u5408\u7092\u80a1\u3002"),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},"\u4e0d\u80fd\u7b49\uff0c\u662f\u4e00\u79cd\u7126\u8651\uff0c\u4e00\u7126\u8651\uff0c\u5c31\u4e71\u52a8\u4f5c\u3002\u5403\u4e86\u4e8f\uff0c\u624d\u60f3\u8d77\u4e0d\u5982\u4e0d\u52a8\u3002")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8914],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241102",id:"study/stock/20241102",title:"20241102",description:"\u4eca\u5929\u5468\u516d",source:"@site/docs/study/stock/20241102.md",sourceDirName:"study/stock",slug:"/study/stock/20241102",permalink:"/docs/study/stock/20241102",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u516d"),(0,o.yg)("p",null,"\u8fd9\u4e24\u5929\u5728\u8bfb\u8d44\u6cbb\u901a\u9274\uff0c\u6284\u5f55\u51e0\u53e5\u6bd4\u8f83\u6709\u8fd9\u91cc\u7684\u8bdd"),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},"\u8340\u5b50\u8bb2\u7684\u5c06\u9053\uff0c\u6838\u5fc3\u5728\u4e8e\u4e00\u4e2a\u656c\u5b57\uff0c\u4fdd\u6301\u656c\u754f\u5fc3\uff0c\u5c0f\u5fc3\u8c28\u614e\uff0c\u8c0b\u5212\u5468\u5168\uff0c\u5728\u57fa\u672c\u9762\u4e0a\u4fdd\u6301\u4e0d\u8d25\u3002\n\u5175\u6cd5\u7684\u5173\u952e\u4e0d\u5728\u4e8e\u80dc\uff0c\u800c\u5728\u4e8e\u4e0d\u8d25\u3002\n\u8d25\u7684\u4e00\u65b9\uff0c\u603b\u662f\u56e0\u4e3a\u81ea\u5df1\u5148\u72af\u9519\uff0c\u88ab\u5bf9\u65b9\u6349\u4f4f\u4e86\u4ed6\u7684\u9519\u8bef\uff0c\u4ed6\u5c31\u8d25\u4e86\u3002\n\u519b\u4e8b\u4e0a\u4e0d\u80fd\u8bd5\u9519\uff0c\u56e0\u4e3a\u8bd5\u9519\u6210\u672c\u592a\u9ad8\uff0c\u8bd5\u4e0d\u8d77\u3002\n\u6240\u4ee5\uff0c\u8ba1\u80dc\u6b32\u5219\u4ece\uff0c\u6b32\u80dc\u8ba1\u5219\u51f6\uff0c\u7edd\u5bf9\u4e0d\u53ef\u4fa5\u5e78\u3002\n\u4fa5\u5e78\u662f\u4eba\u6027\u7684\u5927\u5f31\u70b9\uff0c\u4eba\u4eec\u613f\u610f\u76f8\u4fe1\u4e00\u4e9b\u4e8b\u60c5\uff0c\u5176\u5b9e\u4e0d\u8fc7\u662f\u56e0\u4e3a\u81ea\u5df1\u5e0c\u671b\u90a3\u662f\u771f\u7684\u3002\n\u8981\u675c\u7edd\u4fa5\u5e78\u5fc3\u7406\uff0c\u76f8\u4fe1\u6210\u529f\u662f\u5076\u7136\u7684\uff0c\u5931\u8d25\u662f\u5fc5\u7136\u7684\uff0c\u8fd9\u6837\u624d\u80fd\u5e26\u5175\u6253\u4ed7\u3002")),(0,o.yg)("p",null,"\u4e0a\u9762\u7684\u8fd9\u4e9b\u8bdd\u8bf4\u5f97\u771f\u7684\u662f\u5f88\u6709\u9053\u7406\uff0c\u5c24\u5176\u4e5f\u5f88\u9002\u5408\u7092\u80a1\u3002"),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},"\u4e0d\u80fd\u7b49\uff0c\u662f\u4e00\u79cd\u7126\u8651\uff0c\u4e00\u7126\u8651\uff0c\u5c31\u4e71\u52a8\u4f5c\u3002\u5403\u4e86\u4e8f\uff0c\u624d\u60f3\u8d77\u4e0d\u5982\u4e0d\u52a8\u3002")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b14b689b.80a0fb27.js b/assets/js/b14b689b.0e558888.js similarity index 99% rename from assets/js/b14b689b.80a0fb27.js rename to assets/js/b14b689b.0e558888.js index 1e010d191..7dd2f784f 100644 --- a/assets/js/b14b689b.80a0fb27.js +++ b/assets/js/b14b689b.0e558888.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[225],{15680:(n,e,t)=>{t.d(e,{xA:()=>c,yg:()=>d});var s=t(96540);function r(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function a(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,s)}return t}function l(n){for(var e=1;e=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}return r}var i=s.createContext({}),p=function(n){var e=s.useContext(i),t=e;return n&&(t="function"==typeof n?n(e):l(l({},e),n)),t},c=function(n){var e=p(n.components);return s.createElement(i.Provider,{value:e},n.children)},u="mdxType",y={inlineCode:"code",wrapper:function(n){var e=n.children;return s.createElement(s.Fragment,{},e)}},g=s.forwardRef((function(n,e){var t=n.components,r=n.mdxType,a=n.originalType,i=n.parentName,c=o(n,["components","mdxType","originalType","parentName"]),u=p(t),g=r,d=u["".concat(i,".").concat(g)]||u[g]||y[g]||a;return t?s.createElement(d,l(l({ref:e},c),{},{components:t})):s.createElement(d,l({ref:e},c))}));function d(n,e){var t=arguments,r=e&&e.mdxType;if("string"==typeof n||r){var a=t.length,l=new Array(a);l[0]=g;var o={};for(var i in e)hasOwnProperty.call(e,i)&&(o[i]=e[i]);o.originalType=n,o[u]="string"==typeof n?n:r,l[1]=o;for(var p=2;p{t.r(e),t.d(e,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>o,toc:()=>p});var s=t(58168),r=(t(96540),t(15680));const a={sidebar_position:2},l=void 0,o={unversionedId:"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",id:"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",title:"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",description:"\u6570\u636e\u6d41\u5411",source:"@site/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790.md",sourceDirName:"study/devops",slug:"/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",permalink:"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/devops/"},next:{title:"Linux\u53d1\u884c\u7248",permalink:"/docs/study/devops/Linux\u53d1\u884c\u7248"}},i={},p=[{value:"\u6570\u636e\u6d41\u5411",id:"\u6570\u636e\u6d41\u5411",level:3},{value:"\u5206\u6790\u70b9",id:"\u5206\u6790\u70b9",level:3},{value:"\u63a5\u53e3\u8bbf\u95ee\u91cf",id:"\u63a5\u53e3\u8bbf\u95ee\u91cf",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684\u63a5\u53e3\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684\u63a5\u53e3\u6392\u540d",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684IP\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684ip\u6392\u540d",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684URL\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684url\u6392\u540d",level:4},{value:"ip\u548curl\u67e5\u8be2\u5217\u8868",id:"ip\u548curl\u67e5\u8be2\u5217\u8868",level:4},{value:"\u8bbf\u95ee\u6d4f\u89c8\u5668\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf",id:"\u8bbf\u95ee\u6d4f\u89c8\u5668\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf",level:4},{value:"\u8bbf\u95ee\u6d4f\u89c8\u5668Chrome\u7248\u672c\u53ca\u6570\u91cf",id:"\u8bbf\u95ee\u6d4f\u89c8\u5668chrome\u7248\u672c\u53ca\u6570\u91cf",level:4},{value:"\u8bbf\u95ee\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf",id:"\u8bbf\u95ee\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684\u56fd\u5bb6\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684\u56fd\u5bb6\u6392\u540d",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684\u7701\u4efd\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684\u7701\u4efd\u6392\u540d",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684\u57ce\u5e02\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684\u57ce\u5e02\u6392\u540d",level:4},{value:"HTTP\u54cd\u5e94\u7801\u975e200\u6570\u91cf\u53ca\u5217\u8868",id:"http\u54cd\u5e94\u7801\u975e200\u6570\u91cf\u53ca\u5217\u8868",level:4},{value:"HTTP method\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",id:"http-method\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",level:4},{value:"site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",id:"site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",level:4},{value:"httpv\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",id:"httpv\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",level:4},{value:"URL\u8bbf\u95eeIP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",id:"url\u8bbf\u95eeip\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",level:4},{value:"\u6700\u6d3b\u8dc3\u7684\u67d0\u7c7bsite",id:"\u6700\u6d3b\u8dc3\u7684\u67d0\u7c7bsite",level:4}],c={toc:p},u="wrapper";function y(n){let{components:e,...t}=n;return(0,r.yg)(u,(0,s.A)({},c,t,{components:e,mdxType:"MDXLayout"}),(0,r.yg)("h3",{id:"\u6570\u636e\u6d41\u5411"},"\u6570\u636e\u6d41\u5411"),(0,r.yg)("p",null,"\u6d4f\u89c8\u5668 \u300bNginx \u300bAPI \u300b\u4ea7\u751fNginx log\u65e5\u5fd7 \u300bFilebeat \u300bLogstash \u300bElasticSearch"),(0,r.yg)("h3",{id:"\u5206\u6790\u70b9"},"\u5206\u6790\u70b9"),(0,r.yg)("h4",{id:"\u63a5\u53e3\u8bbf\u95ee\u91cf"},"\u63a5\u53e3\u8bbf\u95ee\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u8bbf\u95ee\u603b\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \'{"size" : 0 }\'\n\n#\u6628\u65e5\u8bbf\u95ee\u603b\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"24/May/2020:00:00:00 +0800",\n "lte":"25/May/2020:00:00:00 +0800"\n }}}}}\n}\'\n\n#\u6628\u65e5\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u5c0f\u65f6\u805a\u5408--\u6309\u7167\u65f6\u95f4\u6392\u5e8f\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"16/Jun/2020:00:00:00 +0800",\n "lte":"17/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1h",\n "format":"yyyy-MM-dd:HH",\n "time_zone":"+08:00",\n "min_doc_count": 0\n }\n }\n }\n}\'\n\n#\u6628\u65e5\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u5c0f\u65f6\u805a\u5408--\u6309\u7167\u8bbf\u95ee\u91cf\u6392\u5e8f\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"25/May/2020:00:00:00 +0800",\n "lte":"26/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1h",\n "format":"yyyy-MM-dd:HH",\n "time_zone":"+08:00",\n "min_doc_count": 0,\n "order" : {\n "_count" : "desc"\n }\n }\n }\n }\n}\'\n#100s\u5185\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u79d2\u805a\u5408--\u6309\u7167\u8bbf\u95ee\u91cf\u6392\u5e8f==QPS###################\n#########\u6240\u6709\u8bbf\u95ee\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"now-100s"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1s",\n "format":"yyyy-MM-dd:HH:mm:ss",\n "time_zone":"+08:00",\n "min_doc_count": 20,\n "order" : {\n "_count" : "desc"\n }\n }\n }\n }\n}\'\n#########\u67d0\u4e2aIP\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"101.132.122.94"}},\n {"range":{"ts":{\n "gte":"now-600s"\n }}}\n ]\n }\n }\n }},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1s",\n "format":"yyyy-MM-dd:HH:mm:ss",\n "time_zone":"+08:00",\n "min_doc_count": 1,\n "order" : {\n "_count" : "desc"\n }\n }\n }\n }\n}\'\n\n#\u4eca\u65e5\u8bbf\u95ee\u603b\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"23/May/2020:00:00:00 +0800"\n }}}}}\n}\'\n\n#\u5f53\u524d\u5c0f\u65f6\u8bbf\u95ee\u603b\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "asc"}}], \n "size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{"gte":"now/h"}}}}}\n}\'\n\n#\u8fd1\u4e00\u4e2a\u6708\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u5929\u805a\u5408--\u6309\u7167\u65f6\u95f4\u6392\u5e8f --\u975e\u4e8c\u5f00\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"now-1M"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1d",\n "format":"yyyy-MM-dd",\n "time_zone":"+08:00",\n "min_doc_count": 0\n }\n }\n }\n}\'\n#\u8fd1\u4e00\u4e2a\u6708\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u5929\u805a\u5408--\u6309\u7167\u65f6\u95f4\u6392\u5e8f --\u4e8c\u5f00\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"now-1M"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1d",\n "format":"yyyy-MM-dd",\n "time_zone":"+08:00",\n "min_doc_count": 0\n }\n }\n }\n}\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684\u63a5\u53e3\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684\u63a5\u53e3\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u63a5\u53e3\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_urls": {"terms": { "field": "url" }}}\n}\'\n\n# \u6628\u65e5\u63a5\u53e3\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 10,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"17/Dec/2020:00:00:00 +0800",\n "lte":"18/Dec/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_urls": {"terms": { "field": "url" }}}\n}\'\n# \u4eca\u65e5\u63a5\u53e3\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"23/May/2020:00:00:00 +0800",\n "lte":"24/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_urls": {"terms": { "field": "url" }}}\n }\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684ip\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684IP\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709IP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"23/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "ip" , "size":10 }}}\n}\'\n \n# \u6628\u65e5IP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"25/May/2020:00:00:00 +0800",\n "lte":"26/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "ip" , "size":10 }}}\n}\'\n \n# \u4eca\u65e5IP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"7/Sep/2020:00:00:00 +0800",\n "lte":"8/Sep/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "ip" , "size":10 }}}\n}\'\n\n')),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"doc_count_error_upper_bound\u8868\u793a\u7684\u662f\u6bcf\u4e2a\u5206\u7247\u8fd4\u56de\u7684\u6700\u5c0f\u7684\u6570\u91cf\u603b\u548c\uff0c\u6bd4\u5982\u8fd9\u91cc\u76846\u5c31\u662f\u7b2c\u4e00\u4e2a\u5206\u7247\u4e2d\u7684d\u4e2d\u76844\u52a0\u4e0a\u7b2c\u4e8c\u5206\u7247\u4e2d\u7684b\u4e2d\u76842\u3002\u4e5f\u5c31\u662f\u8bf4ES\u8ba4\u4e3a\u90a3\u4e9b\u672c\u5e94\u8be5\u8fd4\u56de\u56de\u6765\u7684\u6587\u6863\u5047\u8bbe\u5b83\u5728\u6bcf\u4e2a\u5206\u7247\u4e0a\u7684\u6700\u5927\u503c\u5c31\u662f\u8fd4\u56de\u7684\u6700\u5c0f\u503c\u3002"),(0,r.yg)("li",{parentName:"ol"},"sum_other_doc_count\u5c31\u662f\u603b\u6587\u6863\u6570\u91cf\u51cf\u53bb\u8fd4\u56de\u7684\u6587\u6863\u603b\u6570\u91cf\u3002")),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684url\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684URL\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"23/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n \n# \u6628\u65e5URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"25/May/2020:00:00:00 +0800",\n "lte":"26/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n \n# \u4eca\u65e5URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"8/Jun/2020:00:00:00 +0800",\n "lte":"9/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n#########################################################\n# \u67d0\u4e2aIP\u6240\u6709URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"101.132.122.94"}},\n {"range":{"ts":{\n "gte":"23/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n# \u67d0\u4e2aIP\u4eca\u65e5URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"114.115.190.201"}},\n {"range":{"ts":{\n "gte":"7/Sep/2020:00:00:00 +0800",\n "lte":"8/Sep/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n\n\n')),(0,r.yg)("h4",{id:"ip\u548curl\u67e5\u8be2\u5217\u8868"},"ip\u548curl\u67e5\u8be2\u5217\u8868"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 10,"sort": [{"ts": {"order": "desc"}}], \n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"113.110.165.243"}},\n {"term":{"url":"/xxx/xxx"}},\n {"range":{"ts":{\n "gte":"11/Jun/2020:00:00:00 +0800",\n "lte":"12/Jun/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }}\n}\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6d4f\u89c8\u5668\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf"},"\u8bbf\u95ee\u6d4f\u89c8\u5668\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u6d4f\u89c8\u5668\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/rc_nginx_api/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "uaj.name" , "size":100 }}}\n }\'\n# \u6628\u65e5\u6d4f\u89c8\u5668\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "uaj.name" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6d4f\u89c8\u5668chrome\u7248\u672c\u53ca\u6570\u91cf"},"\u8bbf\u95ee\u6d4f\u89c8\u5668Chrome\u7248\u672c\u53ca\u6570\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u6d4f\u89c8\u5668\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/rc_nginx_api/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "uaj.major" , "size":10 }}}\n }\'\n# \u6628\u65e5\u6d4f\u89c8\u5668\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "uaj.major" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf"},"\u8bbf\u95ee\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u64cd\u4f5c\u7cfb\u7edf\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "uaj.os" , "size":100 }}}\n }\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684\u56fd\u5bb6\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684\u56fd\u5bb6\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u8bbf\u95ee\u56fd\u5bb6\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.country_name" , "size":10 }}}\n}\'\n# \u6628\u65e5\u8bbf\u95ee\u56fd\u5bb6\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"1/Jun/2020:00:00:00 +0800",\n "lte":"2/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.country_name" , "size":10 }}}\n}\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684\u7701\u4efd\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684\u7701\u4efd\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u8bbf\u95ee\u7701\u4efd\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 10,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.region_name" , "size":10 }}}\n}\'\n# \u6628\u65e5\u8bbf\u95ee\u7701\u4efd\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"31/May/2020:00:00:00 +0800",\n "lte":"2/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.region_name" , "size":10 }}}\n}\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684\u57ce\u5e02\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684\u57ce\u5e02\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u8bbf\u95ee\u57ce\u5e02\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.city_name" , "size":10 }}}\n}\'\n# \u6628\u65e5\u8bbf\u95ee\u57ce\u5e02\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"1/Jun/2020:00:00:00 +0800",\n "lte":"2/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.city_name" , "size":10 }}}\n}\'\n')),(0,r.yg)("h4",{id:"http\u54cd\u5e94\u7801\u975e200\u6570\u91cf\u53ca\u5217\u8868"},"HTTP\u54cd\u5e94\u7801\u975e200\u6570\u91cf\u53ca\u5217\u8868"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709HTTP\u54cd\u5e94\u7801\u975e200\u5217\u8868\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 100,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must_not":[\n {"term":{"code":"200"}}\n ],\n "must":[\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }}\n }\'\n \n \n# \u6628\u65e5HTTP\u54cd\u5e94\u7801\u975e200\u5217\u8868\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 10,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must_not":[\n {"term":{"code":"200"}}\n ],\n "must":[\n {"range":{"ts":{\n "gte":"25/May/2020:00:00:00 +0800",\n "lte":"26/May/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }}\n }\'\n \n\n# \u6240\u6709HTTP\u54cd\u5e94\u7801\u975e200\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must_not":[\n {"term":{"code":"200"}}\n ],\n "must":[\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "code" , "size":100 }}}\n }\'\n\n\n# \u6628\u65e5HTTP\u54cd\u5e94\u7801\u975e200\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must_not":[\n {"term":{"code":"200"}}\n ],\n "must":[\n {"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "code" , "size":100 }}}\n }\'\n\n\n# \u6240\u6709HTTP\u54cd\u5e94\u7801\u975e200(499)url\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"code":"499"}},\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "url" , "size":10 }}}\n }\'\n \n# \u6628\u65e5HTTP\u54cd\u5e94\u7801\u975e200(499)url\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"code":"499"}},\n {"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "url" , "size":10 }}}\n }\'\n\n\n# \u6240\u6709HTTP\u54cd\u5e94\u7801\u975e200(404)url\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"code":"404"}},\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "url" , "size":10 }}}\n }\'\n\n# \u6628\u65e5HTTP\u54cd\u5e94\u7801\u975e200(404)url\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"code":"404"}},\n {"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "url" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"http-method\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"},"HTTP method\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709HTTP method\u5206\u7c7b\u53ca\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "method" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"},"site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709site\u5206\u7c7b\u53ca\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "site" , "size":100 }}}\n}\'\n# \u67d0\u4e2aIP\u4eca\u65e5site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,"sort": [{"ts": {"order": "desc"}}], \n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"114.115.190.196"}},\n {"range":{"ts":{\n "gte":"8/Jun/2020:00:00:00 +0800",\n "lte":"9/Jun/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_ips": {"terms": { "field": "site" , "size":10 }}}\n}\' \n')),(0,r.yg)("h4",{id:"httpv\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"},"httpv\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709HTTP method\u5206\u7c7b\u53ca\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "httpv" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"url\u8bbf\u95eeip\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"},"URL\u8bbf\u95eeIP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# URL\u8bbf\u95eeIP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570--\u67e5\u8be2\u5386\u53f2\u8bb0\u5f55\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"url":"/xxx/xx/xx"}},\n {"range":{"ts":{\n "gte":"8/Jun/2020:00:00:00 +0800",\n "lte":"9/Jun/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_urls": {"terms": { "field": "ip" }}}\n}\'\n\n# URL\u8bbf\u95eeIP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570--\u767b\u5f55\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"url":"/xx/xx/xx"}},\n {"range":{"ts":{\n "gte":"8/Jun/2020:00:00:00 +0800",\n "lte":"9/Jun/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_urls": {"terms": { "field": "ip" }}}\n}\'\n')),(0,r.yg)("h4",{id:"\u6700\u6d3b\u8dc3\u7684\u67d0\u7c7bsite"},"\u6700\u6d3b\u8dc3\u7684\u67d0\u7c7bsite"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#10\u5927\u6700\u6d3b\u8dc3\u7684\u5206\u4eab\u7ec4\u6001\ncurl -XPOST \'http://127.0.0.1:9200/{\u5177\u4f53\u7684e\'s}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{\n "wildcard": {\n "site": "*show.html*share*"\n }\n },\n "aggs": {"all_ips": {"terms": { "field": "site" , "size":100 }}}\n}\'\n')))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[225],{15680:(n,e,t)=>{t.d(e,{xA:()=>c,yg:()=>d});var s=t(96540);function r(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function a(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,s)}return t}function l(n){for(var e=1;e=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}return r}var i=s.createContext({}),p=function(n){var e=s.useContext(i),t=e;return n&&(t="function"==typeof n?n(e):l(l({},e),n)),t},c=function(n){var e=p(n.components);return s.createElement(i.Provider,{value:e},n.children)},u="mdxType",y={inlineCode:"code",wrapper:function(n){var e=n.children;return s.createElement(s.Fragment,{},e)}},g=s.forwardRef((function(n,e){var t=n.components,r=n.mdxType,a=n.originalType,i=n.parentName,c=o(n,["components","mdxType","originalType","parentName"]),u=p(t),g=r,d=u["".concat(i,".").concat(g)]||u[g]||y[g]||a;return t?s.createElement(d,l(l({ref:e},c),{},{components:t})):s.createElement(d,l({ref:e},c))}));function d(n,e){var t=arguments,r=e&&e.mdxType;if("string"==typeof n||r){var a=t.length,l=new Array(a);l[0]=g;var o={};for(var i in e)hasOwnProperty.call(e,i)&&(o[i]=e[i]);o.originalType=n,o[u]="string"==typeof n?n:r,l[1]=o;for(var p=2;p{t.r(e),t.d(e,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>o,toc:()=>p});var s=t(58168),r=(t(96540),t(15680));const a={sidebar_position:2},l=void 0,o={unversionedId:"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",id:"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",title:"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",description:"\u6570\u636e\u6d41\u5411",source:"@site/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790.md",sourceDirName:"study/devops",slug:"/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",permalink:"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/devops/"},next:{title:"Linux\u53d1\u884c\u7248",permalink:"/docs/study/devops/Linux\u53d1\u884c\u7248"}},i={},p=[{value:"\u6570\u636e\u6d41\u5411",id:"\u6570\u636e\u6d41\u5411",level:3},{value:"\u5206\u6790\u70b9",id:"\u5206\u6790\u70b9",level:3},{value:"\u63a5\u53e3\u8bbf\u95ee\u91cf",id:"\u63a5\u53e3\u8bbf\u95ee\u91cf",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684\u63a5\u53e3\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684\u63a5\u53e3\u6392\u540d",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684IP\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684ip\u6392\u540d",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684URL\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684url\u6392\u540d",level:4},{value:"ip\u548curl\u67e5\u8be2\u5217\u8868",id:"ip\u548curl\u67e5\u8be2\u5217\u8868",level:4},{value:"\u8bbf\u95ee\u6d4f\u89c8\u5668\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf",id:"\u8bbf\u95ee\u6d4f\u89c8\u5668\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf",level:4},{value:"\u8bbf\u95ee\u6d4f\u89c8\u5668Chrome\u7248\u672c\u53ca\u6570\u91cf",id:"\u8bbf\u95ee\u6d4f\u89c8\u5668chrome\u7248\u672c\u53ca\u6570\u91cf",level:4},{value:"\u8bbf\u95ee\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf",id:"\u8bbf\u95ee\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684\u56fd\u5bb6\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684\u56fd\u5bb6\u6392\u540d",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684\u7701\u4efd\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684\u7701\u4efd\u6392\u540d",level:4},{value:"\u8bbf\u95ee\u6700\u591a\u7684\u57ce\u5e02\u6392\u540d",id:"\u8bbf\u95ee\u6700\u591a\u7684\u57ce\u5e02\u6392\u540d",level:4},{value:"HTTP\u54cd\u5e94\u7801\u975e200\u6570\u91cf\u53ca\u5217\u8868",id:"http\u54cd\u5e94\u7801\u975e200\u6570\u91cf\u53ca\u5217\u8868",level:4},{value:"HTTP method\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",id:"http-method\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",level:4},{value:"site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",id:"site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",level:4},{value:"httpv\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",id:"httpv\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",level:4},{value:"URL\u8bbf\u95eeIP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",id:"url\u8bbf\u95eeip\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570",level:4},{value:"\u6700\u6d3b\u8dc3\u7684\u67d0\u7c7bsite",id:"\u6700\u6d3b\u8dc3\u7684\u67d0\u7c7bsite",level:4}],c={toc:p},u="wrapper";function y(n){let{components:e,...t}=n;return(0,r.yg)(u,(0,s.A)({},c,t,{components:e,mdxType:"MDXLayout"}),(0,r.yg)("h3",{id:"\u6570\u636e\u6d41\u5411"},"\u6570\u636e\u6d41\u5411"),(0,r.yg)("p",null,"\u6d4f\u89c8\u5668 \u300bNginx \u300bAPI \u300b\u4ea7\u751fNginx log\u65e5\u5fd7 \u300bFilebeat \u300bLogstash \u300bElasticSearch"),(0,r.yg)("h3",{id:"\u5206\u6790\u70b9"},"\u5206\u6790\u70b9"),(0,r.yg)("h4",{id:"\u63a5\u53e3\u8bbf\u95ee\u91cf"},"\u63a5\u53e3\u8bbf\u95ee\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#\u8bbf\u95ee\u603b\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \'{"size" : 0 }\'\n\n#\u6628\u65e5\u8bbf\u95ee\u603b\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"24/May/2020:00:00:00 +0800",\n "lte":"25/May/2020:00:00:00 +0800"\n }}}}}\n}\'\n\n#\u6628\u65e5\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u5c0f\u65f6\u805a\u5408--\u6309\u7167\u65f6\u95f4\u6392\u5e8f\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"16/Jun/2020:00:00:00 +0800",\n "lte":"17/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1h",\n "format":"yyyy-MM-dd:HH",\n "time_zone":"+08:00",\n "min_doc_count": 0\n }\n }\n }\n}\'\n\n#\u6628\u65e5\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u5c0f\u65f6\u805a\u5408--\u6309\u7167\u8bbf\u95ee\u91cf\u6392\u5e8f\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"25/May/2020:00:00:00 +0800",\n "lte":"26/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1h",\n "format":"yyyy-MM-dd:HH",\n "time_zone":"+08:00",\n "min_doc_count": 0,\n "order" : {\n "_count" : "desc"\n }\n }\n }\n }\n}\'\n#100s\u5185\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u79d2\u805a\u5408--\u6309\u7167\u8bbf\u95ee\u91cf\u6392\u5e8f==QPS###################\n#########\u6240\u6709\u8bbf\u95ee\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"now-100s"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1s",\n "format":"yyyy-MM-dd:HH:mm:ss",\n "time_zone":"+08:00",\n "min_doc_count": 20,\n "order" : {\n "_count" : "desc"\n }\n }\n }\n }\n}\'\n#########\u67d0\u4e2aIP\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"101.132.122.94"}},\n {"range":{"ts":{\n "gte":"now-600s"\n }}}\n ]\n }\n }\n }},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1s",\n "format":"yyyy-MM-dd:HH:mm:ss",\n "time_zone":"+08:00",\n "min_doc_count": 1,\n "order" : {\n "_count" : "desc"\n }\n }\n }\n }\n}\'\n\n#\u4eca\u65e5\u8bbf\u95ee\u603b\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"23/May/2020:00:00:00 +0800"\n }}}}}\n}\'\n\n#\u5f53\u524d\u5c0f\u65f6\u8bbf\u95ee\u603b\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "asc"}}], \n "size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{"gte":"now/h"}}}}}\n}\'\n\n#\u8fd1\u4e00\u4e2a\u6708\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u5929\u805a\u5408--\u6309\u7167\u65f6\u95f4\u6392\u5e8f --\u975e\u4e8c\u5f00\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"now-1M"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1d",\n "format":"yyyy-MM-dd",\n "time_zone":"+08:00",\n "min_doc_count": 0\n }\n }\n }\n}\'\n#\u8fd1\u4e00\u4e2a\u6708\u8bbf\u95ee\u603b\u91cf--\u6309\u7167\u5929\u805a\u5408--\u6309\u7167\u65f6\u95f4\u6392\u5e8f --\u4e8c\u5f00\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"sort": [{"ts": {"order": "desc"}}], \n "size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"now-1M"\n }}}}},\n "aggs": {\n "groupby_hour_reqs":{\n "date_histogram":{\n "field":"ts",\n "interval":"1d",\n "format":"yyyy-MM-dd",\n "time_zone":"+08:00",\n "min_doc_count": 0\n }\n }\n }\n}\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684\u63a5\u53e3\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684\u63a5\u53e3\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u63a5\u53e3\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_urls": {"terms": { "field": "url" }}}\n}\'\n\n# \u6628\u65e5\u63a5\u53e3\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 10,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"17/Dec/2020:00:00:00 +0800",\n "lte":"18/Dec/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_urls": {"terms": { "field": "url" }}}\n}\'\n# \u4eca\u65e5\u63a5\u53e3\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"23/May/2020:00:00:00 +0800",\n "lte":"24/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_urls": {"terms": { "field": "url" }}}\n }\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684ip\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684IP\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709IP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"23/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "ip" , "size":10 }}}\n}\'\n \n# \u6628\u65e5IP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"25/May/2020:00:00:00 +0800",\n "lte":"26/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "ip" , "size":10 }}}\n}\'\n \n# \u4eca\u65e5IP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"7/Sep/2020:00:00:00 +0800",\n "lte":"8/Sep/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "ip" , "size":10 }}}\n}\'\n\n')),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"doc_count_error_upper_bound\u8868\u793a\u7684\u662f\u6bcf\u4e2a\u5206\u7247\u8fd4\u56de\u7684\u6700\u5c0f\u7684\u6570\u91cf\u603b\u548c\uff0c\u6bd4\u5982\u8fd9\u91cc\u76846\u5c31\u662f\u7b2c\u4e00\u4e2a\u5206\u7247\u4e2d\u7684d\u4e2d\u76844\u52a0\u4e0a\u7b2c\u4e8c\u5206\u7247\u4e2d\u7684b\u4e2d\u76842\u3002\u4e5f\u5c31\u662f\u8bf4ES\u8ba4\u4e3a\u90a3\u4e9b\u672c\u5e94\u8be5\u8fd4\u56de\u56de\u6765\u7684\u6587\u6863\u5047\u8bbe\u5b83\u5728\u6bcf\u4e2a\u5206\u7247\u4e0a\u7684\u6700\u5927\u503c\u5c31\u662f\u8fd4\u56de\u7684\u6700\u5c0f\u503c\u3002"),(0,r.yg)("li",{parentName:"ol"},"sum_other_doc_count\u5c31\u662f\u603b\u6587\u6863\u6570\u91cf\u51cf\u53bb\u8fd4\u56de\u7684\u6587\u6863\u603b\u6570\u91cf\u3002")),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684url\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684URL\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"23/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n \n# \u6628\u65e5URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"25/May/2020:00:00:00 +0800",\n "lte":"26/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n \n# \u4eca\u65e5URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"8/Jun/2020:00:00:00 +0800",\n "lte":"9/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n#########################################################\n# \u67d0\u4e2aIP\u6240\u6709URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"101.132.122.94"}},\n {"range":{"ts":{\n "gte":"23/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n# \u67d0\u4e2aIP\u4eca\u65e5URL\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"114.115.190.201"}},\n {"range":{"ts":{\n "gte":"7/Sep/2020:00:00:00 +0800",\n "lte":"8/Sep/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_ips": {"terms": { "field": "url" , "size":10 }}}\n}\'\n\n\n')),(0,r.yg)("h4",{id:"ip\u548curl\u67e5\u8be2\u5217\u8868"},"ip\u548curl\u67e5\u8be2\u5217\u8868"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 10,"sort": [{"ts": {"order": "desc"}}], \n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"113.110.165.243"}},\n {"term":{"url":"/xxx/xxx"}},\n {"range":{"ts":{\n "gte":"11/Jun/2020:00:00:00 +0800",\n "lte":"12/Jun/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }}\n}\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6d4f\u89c8\u5668\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf"},"\u8bbf\u95ee\u6d4f\u89c8\u5668\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u6d4f\u89c8\u5668\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/rc_nginx_api/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "uaj.name" , "size":100 }}}\n }\'\n# \u6628\u65e5\u6d4f\u89c8\u5668\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "uaj.name" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6d4f\u89c8\u5668chrome\u7248\u672c\u53ca\u6570\u91cf"},"\u8bbf\u95ee\u6d4f\u89c8\u5668Chrome\u7248\u672c\u53ca\u6570\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u6d4f\u89c8\u5668\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/rc_nginx_api/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "uaj.major" , "size":10 }}}\n }\'\n# \u6628\u65e5\u6d4f\u89c8\u5668\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "uaj.major" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf"},"\u8bbf\u95ee\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u5206\u7c7b\u53ca\u6570\u91cf"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u64cd\u4f5c\u7cfb\u7edf\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "uaj.os" , "size":100 }}}\n }\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684\u56fd\u5bb6\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684\u56fd\u5bb6\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u8bbf\u95ee\u56fd\u5bb6\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.country_name" , "size":10 }}}\n}\'\n# \u6628\u65e5\u8bbf\u95ee\u56fd\u5bb6\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"1/Jun/2020:00:00:00 +0800",\n "lte":"2/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.country_name" , "size":10 }}}\n}\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684\u7701\u4efd\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684\u7701\u4efd\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u8bbf\u95ee\u7701\u4efd\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 10,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.region_name" , "size":10 }}}\n}\'\n# \u6628\u65e5\u8bbf\u95ee\u7701\u4efd\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"31/May/2020:00:00:00 +0800",\n "lte":"2/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.region_name" , "size":10 }}}\n}\'\n')),(0,r.yg)("h4",{id:"\u8bbf\u95ee\u6700\u591a\u7684\u57ce\u5e02\u6392\u540d"},"\u8bbf\u95ee\u6700\u591a\u7684\u57ce\u5e02\u6392\u540d"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709\u8bbf\u95ee\u57ce\u5e02\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.city_name" , "size":10 }}}\n}\'\n# \u6628\u65e5\u8bbf\u95ee\u57ce\u5e02\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"1/Jun/2020:00:00:00 +0800",\n "lte":"2/Jun/2020:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajoss": {"terms": { "field": "ipj.city_name" , "size":10 }}}\n}\'\n')),(0,r.yg)("h4",{id:"http\u54cd\u5e94\u7801\u975e200\u6570\u91cf\u53ca\u5217\u8868"},"HTTP\u54cd\u5e94\u7801\u975e200\u6570\u91cf\u53ca\u5217\u8868"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709HTTP\u54cd\u5e94\u7801\u975e200\u5217\u8868\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 100,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must_not":[\n {"term":{"code":"200"}}\n ],\n "must":[\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }}\n }\'\n \n \n# \u6628\u65e5HTTP\u54cd\u5e94\u7801\u975e200\u5217\u8868\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 10,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must_not":[\n {"term":{"code":"200"}}\n ],\n "must":[\n {"range":{"ts":{\n "gte":"25/May/2020:00:00:00 +0800",\n "lte":"26/May/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }}\n }\'\n \n\n# \u6240\u6709HTTP\u54cd\u5e94\u7801\u975e200\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must_not":[\n {"term":{"code":"200"}}\n ],\n "must":[\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "code" , "size":100 }}}\n }\'\n\n\n# \u6628\u65e5HTTP\u54cd\u5e94\u7801\u975e200\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must_not":[\n {"term":{"code":"200"}}\n ],\n "must":[\n {"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "code" , "size":100 }}}\n }\'\n\n\n# \u6240\u6709HTTP\u54cd\u5e94\u7801\u975e200(499)url\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"code":"499"}},\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "url" , "size":10 }}}\n }\'\n \n# \u6628\u65e5HTTP\u54cd\u5e94\u7801\u975e200(499)url\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"code":"499"}},\n {"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "url" , "size":10 }}}\n }\'\n\n\n# \u6240\u6709HTTP\u54cd\u5e94\u7801\u975e200(404)url\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"code":"404"}},\n {"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "url" , "size":10 }}}\n }\'\n\n# \u6628\u65e5HTTP\u54cd\u5e94\u7801\u975e200(404)url\u5206\u7c7b\u53ca\u8c03\u7528\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{\n "constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"code":"404"}},\n {"range":{"ts":{\n "gte":"22/May/2020:00:00:00 +0800",\n "lte":"23/May/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_uajoss": {"terms": { "field": "url" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"http-method\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"},"HTTP method\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709HTTP method\u5206\u7c7b\u53ca\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "method" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"},"site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709site\u5206\u7c7b\u53ca\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "site" , "size":100 }}}\n}\'\n# \u67d0\u4e2aIP\u4eca\u65e5site\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,"sort": [{"ts": {"order": "desc"}}], \n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"ip":"114.115.190.196"}},\n {"range":{"ts":{\n "gte":"8/Jun/2020:00:00:00 +0800",\n "lte":"9/Jun/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_ips": {"terms": { "field": "site" , "size":10 }}}\n}\' \n')),(0,r.yg)("h4",{id:"httpv\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"},"httpv\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# \u6240\u6709HTTP method\u5206\u7c7b\u53ca\u6570\u91cf\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 1,\n "query":{"constant_score":{"filter":{"range":{"ts":{\n "gte":"22/May/2018:00:00:00 +0800"\n }}}}},\n "aggs": {"all_uajnames": {"terms": { "field": "httpv" , "size":10 }}}\n }\'\n')),(0,r.yg)("h4",{id:"url\u8bbf\u95eeip\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"},"URL\u8bbf\u95eeIP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'# URL\u8bbf\u95eeIP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570--\u67e5\u8be2\u5386\u53f2\u8bb0\u5f55\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"url":"/xxx/xx/xx"}},\n {"range":{"ts":{\n "gte":"8/Jun/2020:00:00:00 +0800",\n "lte":"9/Jun/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_urls": {"terms": { "field": "ip" }}}\n}\'\n\n# URL\u8bbf\u95eeIP\u5206\u7c7b\u53ca\u8c03\u7528\u6b21\u6570--\u767b\u5f55\ncurl -XGET \'http://127.0.0.1:9200/{\u5177\u4f53\u7684es\u5e93}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{"constant_score":{\n "filter":{\n "bool":{\n "must":[{"term":{"url":"/xx/xx/xx"}},\n {"range":{"ts":{\n "gte":"8/Jun/2020:00:00:00 +0800",\n "lte":"9/Jun/2020:00:00:00 +0800"\n }}}\n ]\n }\n }\n }},\n "aggs": {"all_urls": {"terms": { "field": "ip" }}}\n}\'\n')),(0,r.yg)("h4",{id:"\u6700\u6d3b\u8dc3\u7684\u67d0\u7c7bsite"},"\u6700\u6d3b\u8dc3\u7684\u67d0\u7c7bsite"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},'#10\u5927\u6700\u6d3b\u8dc3\u7684\u5206\u4eab\u7ec4\u6001\ncurl -XPOST \'http://127.0.0.1:9200/{\u5177\u4f53\u7684e\'s}/_search?pretty\' \\\n-H "Content-Type: application/json" \\\n-d \\\n\'{"size" : 0,\n "query":{\n "wildcard": {\n "site": "*show.html*share*"\n }\n },\n "aggs": {"all_ips": {"terms": { "field": "site" , "size":100 }}}\n}\'\n')))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b153ec3c.0b503995.js b/assets/js/b153ec3c.26b454ed.js similarity index 99% rename from assets/js/b153ec3c.0b503995.js rename to assets/js/b153ec3c.26b454ed.js index 0a9af317c..ae8898f32 100644 --- a/assets/js/b153ec3c.0b503995.js +++ b/assets/js/b153ec3c.26b454ed.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9390],{15680:(e,t,n)=>{n.d(t,{xA:()=>s,yg:()=>m});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var o=r.createContext({}),p=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},s=function(e){var t=p(e.components);return r.createElement(o.Provider,{value:t},e.children)},y="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,o=e.parentName,s=u(e,["components","mdxType","originalType","parentName"]),y=p(n),g=l,m=y["".concat(o,".").concat(g)]||y[g]||c[g]||a;return n?r.createElement(m,i(i({ref:t},s),{},{components:n})):r.createElement(m,i({ref:t},s))}));function m(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=g;var u={};for(var o in t)hasOwnProperty.call(t,o)&&(u[o]=t[o]);u.originalType=e,u[y]="string"==typeof e?e:l,i[1]=u;for(var p=2;p{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>c,frontMatter:()=>a,metadata:()=>u,toc:()=>p});var r=n(58168),l=(n(96540),n(15680));const a={},i=void 0,u={unversionedId:"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",id:"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",title:"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",description:"\u4ec0\u4e48\u662f\u5185\u6838",source:"@site/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838.md",sourceDirName:"study/system",slug:"/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",permalink:"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790",permalink:"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790"},next:{title:"\u7a0b\u5e8f\u8c03\u8bd5",permalink:"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5"}},o={},p=[{value:"\u4ec0\u4e48\u662f\u5185\u6838",id:"\u4ec0\u4e48\u662f\u5185\u6838",level:3},{value:"\u76ee\u524d\u5e38\u89c1\u7684\u5185\u6838\u7248\u672c\u53ca\u5176\u4e3b\u8981\u7279\u60272024\u5e74",id:"\u76ee\u524d\u5e38\u89c1\u7684\u5185\u6838\u7248\u672c\u53ca\u5176\u4e3b\u8981\u7279\u60272024\u5e74",level:3},{value:"Linux 6.11",id:"linux-611",level:4},{value:"Linux 5.15",id:"linux-515",level:4},{value:"Linux 4.19",id:"linux-419",level:4},{value:"Linux 3.10",id:"linux-310",level:4},{value:"\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c",id:"\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c",level:3},{value:"Linux\u5185\u6838",id:"linux\u5185\u6838",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},y="wrapper";function c(e){let{components:t,...a}=e;return(0,l.yg)(y,(0,r.A)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u4ec0\u4e48\u662f\u5185\u6838"},"\u4ec0\u4e48\u662f\u5185\u6838"),(0,l.yg)("p",null,"\u8bf4\u5230\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5c31\u5fc5\u987b\u8bf4\u5185\u6838\u3002\u5185\u6838\u662f\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u5e94\u7528\u8fde\u63a5\u786c\u4ef6\u8bbe\u5907\u7684\u6865\u6881\u3002"),(0,l.yg)("p",null,"\u5185\u6838\u4ec5\u4ec5\u662f\u64cd\u4f5c\u7cfb\u7edf\u7684\u4e00\u90e8\u5206\uff0c\u662f\u771f\u6b63\u4e0e\u786c\u4ef6\u4ea4\u4e92\u7684\u90a3\u90e8\u5206\u8f6f\u4ef6\uff0c\u4e0e\u786c\u4ef6\u4ea4\u4e92\u5305\u62ec\u8bfb\u5199\u786c\u76d8\u3001\u8bfb\u5199\u7f51\u76d8\u3001\u8bfb\u5199\u5185\u5b58\u4ee5\u53ca\u4efb\u4f55\u8fde\u63a5\u5230\u7cfb\u7edf\u4e2d\u7684\u786c\u4ef6\u3002"),(0,l.yg)("p",null,"\u9664\u4e86\u4e0e\u786c\u4ef6\u4ea4\u4e92\u5916\uff0c\u5185\u6838\u8fd8\u8d1f\u8d23\u5206\u914d\u8d44\u6e90\uff0c\u5206\u914d\u4ec0\u4e48\u8d44\u6e90\u5462\uff1f\u6240\u8c13\u8d44\u6e90\u5c31\u662f\u786c\u4ef6\uff0c\u6bd4\u5982 CPU \u65f6\u95f4\u3001\u5185\u5b58\u3001IO \u7b49\u7b49\uff0c\u8fd9\u4e9b\u90fd\u662f\u8d44\u6e90\u3002"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"\u64cd\u4f5c\u7cfb\u7edf\u5206\u5c42",src:n(54597).A,width:"720",height:"441"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/608739855"},"\u77e5\u4e4e-\u8ba1\u7b97\u673a\u7cfb\u7edf\uff1a\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838"))),(0,l.yg)("h3",{id:"\u76ee\u524d\u5e38\u89c1\u7684\u5185\u6838\u7248\u672c\u53ca\u5176\u4e3b\u8981\u7279\u60272024\u5e74"},"\u76ee\u524d\u5e38\u89c1\u7684\u5185\u6838\u7248\u672c\u53ca\u5176\u4e3b\u8981\u7279\u6027","[2024\u5e74]"),(0,l.yg)("h4",{id:"linux-611"},"Linux 6.11"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u53d1\u5e03\u65f6\u95f4\uff1a2024.9"),(0,l.yg)("li",{parentName:"ul"},"RISC-V \u5185\u5b58\u70ed\u63d2\u62d4\u529f\u80fd\u3001\u652f\u6301\u66f4\u591a CPU \u67b6\u6784\u7684 getrandom () \u51fd\u6570")),(0,l.yg)("h4",{id:"linux-515"},"Linux 5.15"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u53d1\u5e03\u65f6\u95f4\uff1a2021"),(0,l.yg)("li",{parentName:"ul"},"\u65b0\u7684 NTFS \u6587\u4ef6\u7cfb\u7edf\u9a71\u52a8\u7a0b\u5e8f\uff08ntfs3\uff09\u3001\u5185\u6838 SMB \u6587\u4ef6\u670d\u52a1\u5668\uff08ksmbd\uff09\u3001\u786c\u4ef6\u652f\u6301\u65b9\u9762\u7684\u66f4\u65b0")),(0,l.yg)("h4",{id:"linux-419"},"Linux 4.19"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u53d1\u5e03\u65f6\u95f4\uff1a\u5df2\u53d1\u5e03\u6709\u4e00\u6bb5\u65f6\u95f4\uff0c\u4f46\u66fe\u7ecf\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u957f\u671f\u652f\u6301\u7248\u672c\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u7f51\u7edc\u6027\u80fd\u63d0\u5347\u3001\u5757\u8bbe\u5907 IO \u5ef6\u8fdf\u63a7\u5236\u3001\u652f\u6301 Wi-Fi 6 (802.11ax)\u3001OverlayFS \u5185\u5b58\u4f7f\u7528\u63d0\u5347"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},(0,l.yg)("em",{parentName:"strong"},"\u76ee\u524d\u4f7f\u7528\u6700\u591a\u7684\u4e00\u4e2a\u7248\u672c")))),(0,l.yg)("h4",{id:"linux-310"},"Linux 3.10"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u53d1\u5e03\u65f6\u95f4\uff1a\u76f8\u5bf9\u8f83\u65e9\uff0c\u4f46\u5728 Linux \u5185\u6838\u53d1\u5c55\u5386\u7a0b\u4e2d\u5177\u6709\u91cd\u8981\u610f\u4e49\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5185\u6838\u6027\u80fd\u4f18\u5316\u3001\u652f\u6301\u865a\u62df\u5316\u6280\u672f\uff08namespace\u3001cgroup\uff09\u3001\u5b89\u5168\u6027\u6539\u8fdb"),(0,l.yg)("li",{parentName:"ul"},"Docker\u5bf9\u5185\u6838\u7248\u672c\u7684\u6700\u4f4e\u8981\u6c42")),(0,l.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c"},"\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\nuname -r\nuname -a\n#\nhostnamectl\n#\ncat /proc/version\n# \u90e8\u5206\u53d1\u884c\u7248\u9002\u7528\nlsb_release -a\ncat /etc/os-release\n")),(0,l.yg)("h3",{id:"linux\u5185\u6838"},"Linux\u5185\u6838"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://www.kernel.org/"},"https://www.kernel.org/")),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://docs.kernel.org/"},"https://docs.kernel.org/")," \u5185\u6838\u6587\u6863\uff0c\u8fd9\u4e2a\u8981\u662f\u80fd\u8bfb\u4e00\u904d\u5c31\u5f88\u5389\u5bb3\u4e86"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/311.html"},"lxlinux-Linux \u5185\u6838\u8c03\u4f18")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/307.html"},"lxlinux-Linux \u5e38\u7528\u5185\u6838\u7f51\u7edc\u53c2\u6570\u53ca\u4fee\u6539\u65b9\u6cd5")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/305.html"},"lxlinux-\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b\u7684 Linux \u7cfb\u7edf\u8c03\u4f18"))))}c.isMDXComponent=!0},54597:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/1-55ae3f50467f5d22c9fed1f9cba2bc1e.webp"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9390],{15680:(e,t,n)=>{n.d(t,{xA:()=>s,yg:()=>m});var r=n(96540);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var o=r.createContext({}),p=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},s=function(e){var t=p(e.components);return r.createElement(o.Provider,{value:t},e.children)},y="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,o=e.parentName,s=u(e,["components","mdxType","originalType","parentName"]),y=p(n),g=l,m=y["".concat(o,".").concat(g)]||y[g]||c[g]||a;return n?r.createElement(m,i(i({ref:t},s),{},{components:n})):r.createElement(m,i({ref:t},s))}));function m(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=g;var u={};for(var o in t)hasOwnProperty.call(t,o)&&(u[o]=t[o]);u.originalType=e,u[y]="string"==typeof e?e:l,i[1]=u;for(var p=2;p{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>c,frontMatter:()=>a,metadata:()=>u,toc:()=>p});var r=n(58168),l=(n(96540),n(15680));const a={},i=void 0,u={unversionedId:"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",id:"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",title:"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",description:"\u4ec0\u4e48\u662f\u5185\u6838",source:"@site/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838.md",sourceDirName:"study/system",slug:"/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",permalink:"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u7684\u8fd0\u884c\u539f\u7406\u5206\u6790",permalink:"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790"},next:{title:"\u7a0b\u5e8f\u8c03\u8bd5",permalink:"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5"}},o={},p=[{value:"\u4ec0\u4e48\u662f\u5185\u6838",id:"\u4ec0\u4e48\u662f\u5185\u6838",level:3},{value:"\u76ee\u524d\u5e38\u89c1\u7684\u5185\u6838\u7248\u672c\u53ca\u5176\u4e3b\u8981\u7279\u60272024\u5e74",id:"\u76ee\u524d\u5e38\u89c1\u7684\u5185\u6838\u7248\u672c\u53ca\u5176\u4e3b\u8981\u7279\u60272024\u5e74",level:3},{value:"Linux 6.11",id:"linux-611",level:4},{value:"Linux 5.15",id:"linux-515",level:4},{value:"Linux 4.19",id:"linux-419",level:4},{value:"Linux 3.10",id:"linux-310",level:4},{value:"\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c",id:"\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c",level:3},{value:"Linux\u5185\u6838",id:"linux\u5185\u6838",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},y="wrapper";function c(e){let{components:t,...a}=e;return(0,l.yg)(y,(0,r.A)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u4ec0\u4e48\u662f\u5185\u6838"},"\u4ec0\u4e48\u662f\u5185\u6838"),(0,l.yg)("p",null,"\u8bf4\u5230\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5c31\u5fc5\u987b\u8bf4\u5185\u6838\u3002\u5185\u6838\u662f\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u5e94\u7528\u8fde\u63a5\u786c\u4ef6\u8bbe\u5907\u7684\u6865\u6881\u3002"),(0,l.yg)("p",null,"\u5185\u6838\u4ec5\u4ec5\u662f\u64cd\u4f5c\u7cfb\u7edf\u7684\u4e00\u90e8\u5206\uff0c\u662f\u771f\u6b63\u4e0e\u786c\u4ef6\u4ea4\u4e92\u7684\u90a3\u90e8\u5206\u8f6f\u4ef6\uff0c\u4e0e\u786c\u4ef6\u4ea4\u4e92\u5305\u62ec\u8bfb\u5199\u786c\u76d8\u3001\u8bfb\u5199\u7f51\u76d8\u3001\u8bfb\u5199\u5185\u5b58\u4ee5\u53ca\u4efb\u4f55\u8fde\u63a5\u5230\u7cfb\u7edf\u4e2d\u7684\u786c\u4ef6\u3002"),(0,l.yg)("p",null,"\u9664\u4e86\u4e0e\u786c\u4ef6\u4ea4\u4e92\u5916\uff0c\u5185\u6838\u8fd8\u8d1f\u8d23\u5206\u914d\u8d44\u6e90\uff0c\u5206\u914d\u4ec0\u4e48\u8d44\u6e90\u5462\uff1f\u6240\u8c13\u8d44\u6e90\u5c31\u662f\u786c\u4ef6\uff0c\u6bd4\u5982 CPU \u65f6\u95f4\u3001\u5185\u5b58\u3001IO \u7b49\u7b49\uff0c\u8fd9\u4e9b\u90fd\u662f\u8d44\u6e90\u3002"),(0,l.yg)("p",null,(0,l.yg)("img",{alt:"\u64cd\u4f5c\u7cfb\u7edf\u5206\u5c42",src:n(54597).A,width:"720",height:"441"})),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/608739855"},"\u77e5\u4e4e-\u8ba1\u7b97\u673a\u7cfb\u7edf\uff1a\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838"))),(0,l.yg)("h3",{id:"\u76ee\u524d\u5e38\u89c1\u7684\u5185\u6838\u7248\u672c\u53ca\u5176\u4e3b\u8981\u7279\u60272024\u5e74"},"\u76ee\u524d\u5e38\u89c1\u7684\u5185\u6838\u7248\u672c\u53ca\u5176\u4e3b\u8981\u7279\u6027","[2024\u5e74]"),(0,l.yg)("h4",{id:"linux-611"},"Linux 6.11"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u53d1\u5e03\u65f6\u95f4\uff1a2024.9"),(0,l.yg)("li",{parentName:"ul"},"RISC-V \u5185\u5b58\u70ed\u63d2\u62d4\u529f\u80fd\u3001\u652f\u6301\u66f4\u591a CPU \u67b6\u6784\u7684 getrandom () \u51fd\u6570")),(0,l.yg)("h4",{id:"linux-515"},"Linux 5.15"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u53d1\u5e03\u65f6\u95f4\uff1a2021"),(0,l.yg)("li",{parentName:"ul"},"\u65b0\u7684 NTFS \u6587\u4ef6\u7cfb\u7edf\u9a71\u52a8\u7a0b\u5e8f\uff08ntfs3\uff09\u3001\u5185\u6838 SMB \u6587\u4ef6\u670d\u52a1\u5668\uff08ksmbd\uff09\u3001\u786c\u4ef6\u652f\u6301\u65b9\u9762\u7684\u66f4\u65b0")),(0,l.yg)("h4",{id:"linux-419"},"Linux 4.19"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u53d1\u5e03\u65f6\u95f4\uff1a\u5df2\u53d1\u5e03\u6709\u4e00\u6bb5\u65f6\u95f4\uff0c\u4f46\u66fe\u7ecf\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u957f\u671f\u652f\u6301\u7248\u672c\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u7f51\u7edc\u6027\u80fd\u63d0\u5347\u3001\u5757\u8bbe\u5907 IO \u5ef6\u8fdf\u63a7\u5236\u3001\u652f\u6301 Wi-Fi 6 (802.11ax)\u3001OverlayFS \u5185\u5b58\u4f7f\u7528\u63d0\u5347"),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("strong",{parentName:"li"},(0,l.yg)("em",{parentName:"strong"},"\u76ee\u524d\u4f7f\u7528\u6700\u591a\u7684\u4e00\u4e2a\u7248\u672c")))),(0,l.yg)("h4",{id:"linux-310"},"Linux 3.10"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u53d1\u5e03\u65f6\u95f4\uff1a\u76f8\u5bf9\u8f83\u65e9\uff0c\u4f46\u5728 Linux \u5185\u6838\u53d1\u5c55\u5386\u7a0b\u4e2d\u5177\u6709\u91cd\u8981\u610f\u4e49\u3002"),(0,l.yg)("li",{parentName:"ul"},"\u5185\u6838\u6027\u80fd\u4f18\u5316\u3001\u652f\u6301\u865a\u62df\u5316\u6280\u672f\uff08namespace\u3001cgroup\uff09\u3001\u5b89\u5168\u6027\u6539\u8fdb"),(0,l.yg)("li",{parentName:"ul"},"Docker\u5bf9\u5185\u6838\u7248\u672c\u7684\u6700\u4f4e\u8981\u6c42")),(0,l.yg)("h3",{id:"\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c"},"\u5982\u4f55\u67e5\u770b\u5185\u6838\u7248\u672c"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"#\nuname -r\nuname -a\n#\nhostnamectl\n#\ncat /proc/version\n# \u90e8\u5206\u53d1\u884c\u7248\u9002\u7528\nlsb_release -a\ncat /etc/os-release\n")),(0,l.yg)("h3",{id:"linux\u5185\u6838"},"Linux\u5185\u6838"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://www.kernel.org/"},"https://www.kernel.org/")),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://docs.kernel.org/"},"https://docs.kernel.org/")," \u5185\u6838\u6587\u6863\uff0c\u8fd9\u4e2a\u8981\u662f\u80fd\u8bfb\u4e00\u904d\u5c31\u5f88\u5389\u5bb3\u4e86"),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/311.html"},"lxlinux-Linux \u5185\u6838\u8c03\u4f18")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/307.html"},"lxlinux-Linux \u5e38\u7528\u5185\u6838\u7f51\u7edc\u53c2\u6570\u53ca\u4fee\u6539\u65b9\u6cd5")),(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/305.html"},"lxlinux-\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b\u7684 Linux \u7cfb\u7edf\u8c03\u4f18"))))}c.isMDXComponent=!0},54597:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/1-55ae3f50467f5d22c9fed1f9cba2bc1e.webp"}}]); \ No newline at end of file diff --git a/assets/js/b2645d4e.eeb288ca.js b/assets/js/b2645d4e.e8bad6ec.js similarity index 98% rename from assets/js/b2645d4e.eeb288ca.js rename to assets/js/b2645d4e.e8bad6ec.js index d2d1f78fa..e9048e96c 100644 --- a/assets/js/b2645d4e.eeb288ca.js +++ b/assets/js/b2645d4e.e8bad6ec.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[379],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/db/NoSQL/Ignite",id:"study/db/NoSQL/Ignite",title:"Ignite",description:"\u5b9a\u4e49",source:"@site/docs/study/db/NoSQL/Ignite.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Ignite",permalink:"/docs/study/db/NoSQL/Ignite",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Hbase",permalink:"/docs/study/db/NoSQL/Hbase"},next:{title:"MongoDB",permalink:"/docs/study/db/NoSQL/MongoDB"}},l={},u=[{value:"\u5b9a\u4e49",id:"\u5b9a\u4e49",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5b9a\u4e49"},"\u5b9a\u4e49"),(0,o.yg)("p",null,"\u4e00\u4e2a\u4ee5\u5185\u5b58\u4e3a\u4e2d\u5fc3\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u3001\u7f13\u5b58\u548c\u5904\u7406\u5e73\u53f0\uff0c\u53ef\u4ee5\u5728PB\u7ea7\u6570\u636e\u4e2d\uff0c\u4ee5\u5185\u5b58\u7ea7\u7684\u901f\u5ea6\u8fdb\u884c\u4e8b\u52a1\u6027\u3001\u5206\u6790\u6027\u4ee5\u53ca\u6d41\u5f0f\u8d1f\u8f7d\u7684\u5904\u7406\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://liyuj.gitee.io/doc/java/#_1-ignite%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F"},"Apache Ignite\u4e2d\u6587\u7f51"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[379],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/db/NoSQL/Ignite",id:"study/db/NoSQL/Ignite",title:"Ignite",description:"\u5b9a\u4e49",source:"@site/docs/study/db/NoSQL/Ignite.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Ignite",permalink:"/docs/study/db/NoSQL/Ignite",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Hbase",permalink:"/docs/study/db/NoSQL/Hbase"},next:{title:"MongoDB",permalink:"/docs/study/db/NoSQL/MongoDB"}},l={},u=[{value:"\u5b9a\u4e49",id:"\u5b9a\u4e49",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u5b9a\u4e49"},"\u5b9a\u4e49"),(0,o.yg)("p",null,"\u4e00\u4e2a\u4ee5\u5185\u5b58\u4e3a\u4e2d\u5fc3\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u3001\u7f13\u5b58\u548c\u5904\u7406\u5e73\u53f0\uff0c\u53ef\u4ee5\u5728PB\u7ea7\u6570\u636e\u4e2d\uff0c\u4ee5\u5185\u5b58\u7ea7\u7684\u901f\u5ea6\u8fdb\u884c\u4e8b\u52a1\u6027\u3001\u5206\u6790\u6027\u4ee5\u53ca\u6d41\u5f0f\u8d1f\u8f7d\u7684\u5904\u7406\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://liyuj.gitee.io/doc/java/#_1-ignite%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F"},"Apache Ignite\u4e2d\u6587\u7f51"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b34206f0.ba53ff42.js b/assets/js/b34206f0.a26319b7.js similarity index 98% rename from assets/js/b34206f0.ba53ff42.js rename to assets/js/b34206f0.a26319b7.js index 9793c2850..b6573e0ac 100644 --- a/assets/js/b34206f0.ba53ff42.js +++ b/assets/js/b34206f0.a26319b7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3228],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,m=s["".concat(u,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(m,i(i({ref:t},c),{},{components:r})):n.createElement(m,i({ref:t},c))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:a,i[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>l,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},i=void 0,l={unversionedId:"study/program/C/\u865a\u62df\u7f51\u5361",id:"study/program/C/\u865a\u62df\u7f51\u5361",title:"\u865a\u62df\u7f51\u5361",description:"TUN/TAP\uff08Linux\uff09",source:"@site/docs/study/program/C/\u865a\u62df\u7f51\u5361.md",sourceDirName:"study/program/C",slug:"/study/program/C/\u865a\u62df\u7f51\u5361",permalink:"/docs/study/program/C/\u865a\u62df\u7f51\u5361",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6784\u5efa\u5de5\u5177",permalink:"/docs/study/program/C/\u6784\u5efa\u5de5\u5177"},next:{title:"C++",permalink:"/docs/study/program/CPP/"}},u={},p=[{value:"TUN/TAP\uff08Linux\uff09",id:"tuntaplinux",level:3},{value:"WinTun",id:"wintun",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"tuntaplinux"},"TUN/TAP\uff08Linux\uff09"),(0,a.yg)("p",null,"\u5728\u8ba1\u7b97\u673a\u7f51\u7edc\u4e2d\uff0cTUN \u4e0e TAP \u662f\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u4e2d\u7684\u865a\u62df\u7f51\u7edc\u8bbe\u5907\u3002\u4e0d\u540c\u4e8e\u666e\u901a\u9760\u786c\u4ef6\u7f51\u8def\u677f\u5361\u5b9e\u73b0\u7684\u8bbe\u5907\uff0c\u8fd9\u4e9b\u865a\u62df\u7684\u7f51\u7edc\u8bbe\u5907\u5168\u90e8\u7528\u8f6f\u4ef6\u5b9e\u73b0\uff0c\u5e76\u5411\u8fd0\u884c\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u8f6f\u4ef6\u63d0\u4f9b\u4e0e\u786c\u4ef6\u7684\u7f51\u7edc\u8bbe\u5907\u5b8c\u5168\u76f8\u540c\u7684\u529f\u80fd\u3002"),(0,a.yg)("p",null,"TAP \u7b49\u540c\u4e8e\u4e00\u4e2a\u4ee5\u592a\u7f51\u8bbe\u5907\uff0c\u5b83\u64cd\u4f5c\u7b2c\u4e8c\u5c42\u6570\u636e\u5305\u5982\u4ee5\u592a\u7f51\u6570\u636e\u5e27\u3002TUN \u6a21\u62df\u4e86\u7f51\u7edc\u5c42\u8bbe\u5907\uff0c\u64cd\u4f5c\u7b2c\u4e09\u5c42\u6570\u636e\u5305\u6bd4\u5982 IP \u6570\u636e\u5c01\u5305\u3002"),(0,a.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u901a\u8fc7 TUN/TAP \u8bbe\u5907\u5411\u7ed1\u5b9a\u8be5\u8bbe\u5907\u7684\u7528\u6237\u7a7a\u95f4\u7684\u7a0b\u5e8f\u53d1\u9001\u6570\u636e\uff0c\u53cd\u4e4b\uff0c\u7528\u6237\u7a7a\u95f4\u7684\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u50cf\u64cd\u4f5c\u786c\u4ef6\u7f51\u7edc\u8bbe\u5907\u90a3\u6837\uff0c\u901a\u8fc7 TUN/TAP \u8bbe\u5907\u53d1\u9001\u6570\u636e\u3002\u5728\u540e\u79cd\u60c5\u51b5\u4e0b\uff0cTUN/TAP \u8bbe\u5907\u5411\u64cd\u4f5c\u7cfb\u7edf\u7684\u7f51\u7edc\u6808\u6295\u9012\uff08\u6216\u201c\u6ce8\u5165\u201d\uff09\u6570\u636e\u5305\uff0c\u4ece\u800c\u6a21\u62df\u4ece\u5916\u90e8\u63a5\u53d7\u6570\u636e\u7684\u8fc7\u7a0b\u3002"),(0,a.yg)("p",null,"\u670d\u52a1\u5668\u5982\u679c\u62e5\u6709 TUN/TAP \u6a21\u5757\uff0c\u5c31\u53ef\u4ee5\u5f00\u542f VPN \u4ee3\u7406\u529f\u80fd\u3002"),(0,a.yg)("h3",{id:"wintun"},"WinTun"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.wintun.net/"},"https://www.wintun.net/")),(0,a.yg)("p",null,"WinTun \u662f Windows \u5185\u6838\u7684\u4e00\u4e2a\u975e\u5e38\u7b80\u5355\u548c\u6700\u5c0f\u7684 TUN \u9a71\u52a8\u7a0b\u5e8f\uff0c\u5b83\u4e3a\u7528\u6237\u7a7a\u95f4\u7a0b\u5e8f\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u7f51\u7edc\u9002\u914d\u5668\uff0c\u7528\u4e8e\u8bfb\u53d6\u548c\u5199\u5165\u6570\u636e\u5305\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/q1009020096/article/details/123842293"},"CSDN-Golang Window TUN \u865a\u62df\u7f51\u5361")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.wireguard.com/"},"\u5b98\u7f51-WireGrard"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"WireGuard \u662f\u4e00\u6b3e\u6781\u5176\u7b80\u5355\u4f46\u5feb\u901f\u7684\u73b0\u4ee3 VPN\uff0c\u91c7\u7528\u6700\u5148\u8fdb\u7684\u52a0\u5bc6\u6280\u672f\u3002"))),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://huaweicloud.csdn.net/63566923d3efff3090b5e317.html"},"\u534e\u4e3a\u4e91-Wintun\uff1a\u4e00\u6b3e\u60ca\u8273\u7684 WireGuard \u865a\u62df\u7f51\u5361\u63a5\u53e3\u9a71\u52a8"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3228],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,m=s["".concat(u,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(m,i(i({ref:t},c),{},{components:r})):n.createElement(m,i({ref:t},c))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:a,i[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>l,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},i=void 0,l={unversionedId:"study/program/C/\u865a\u62df\u7f51\u5361",id:"study/program/C/\u865a\u62df\u7f51\u5361",title:"\u865a\u62df\u7f51\u5361",description:"TUN/TAP\uff08Linux\uff09",source:"@site/docs/study/program/C/\u865a\u62df\u7f51\u5361.md",sourceDirName:"study/program/C",slug:"/study/program/C/\u865a\u62df\u7f51\u5361",permalink:"/docs/study/program/C/\u865a\u62df\u7f51\u5361",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6784\u5efa\u5de5\u5177",permalink:"/docs/study/program/C/\u6784\u5efa\u5de5\u5177"},next:{title:"C++",permalink:"/docs/study/program/CPP/"}},u={},p=[{value:"TUN/TAP\uff08Linux\uff09",id:"tuntaplinux",level:3},{value:"WinTun",id:"wintun",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:p},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"tuntaplinux"},"TUN/TAP\uff08Linux\uff09"),(0,a.yg)("p",null,"\u5728\u8ba1\u7b97\u673a\u7f51\u7edc\u4e2d\uff0cTUN \u4e0e TAP \u662f\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u4e2d\u7684\u865a\u62df\u7f51\u7edc\u8bbe\u5907\u3002\u4e0d\u540c\u4e8e\u666e\u901a\u9760\u786c\u4ef6\u7f51\u8def\u677f\u5361\u5b9e\u73b0\u7684\u8bbe\u5907\uff0c\u8fd9\u4e9b\u865a\u62df\u7684\u7f51\u7edc\u8bbe\u5907\u5168\u90e8\u7528\u8f6f\u4ef6\u5b9e\u73b0\uff0c\u5e76\u5411\u8fd0\u884c\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u8f6f\u4ef6\u63d0\u4f9b\u4e0e\u786c\u4ef6\u7684\u7f51\u7edc\u8bbe\u5907\u5b8c\u5168\u76f8\u540c\u7684\u529f\u80fd\u3002"),(0,a.yg)("p",null,"TAP \u7b49\u540c\u4e8e\u4e00\u4e2a\u4ee5\u592a\u7f51\u8bbe\u5907\uff0c\u5b83\u64cd\u4f5c\u7b2c\u4e8c\u5c42\u6570\u636e\u5305\u5982\u4ee5\u592a\u7f51\u6570\u636e\u5e27\u3002TUN \u6a21\u62df\u4e86\u7f51\u7edc\u5c42\u8bbe\u5907\uff0c\u64cd\u4f5c\u7b2c\u4e09\u5c42\u6570\u636e\u5305\u6bd4\u5982 IP \u6570\u636e\u5c01\u5305\u3002"),(0,a.yg)("p",null,"\u64cd\u4f5c\u7cfb\u7edf\u901a\u8fc7 TUN/TAP \u8bbe\u5907\u5411\u7ed1\u5b9a\u8be5\u8bbe\u5907\u7684\u7528\u6237\u7a7a\u95f4\u7684\u7a0b\u5e8f\u53d1\u9001\u6570\u636e\uff0c\u53cd\u4e4b\uff0c\u7528\u6237\u7a7a\u95f4\u7684\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u50cf\u64cd\u4f5c\u786c\u4ef6\u7f51\u7edc\u8bbe\u5907\u90a3\u6837\uff0c\u901a\u8fc7 TUN/TAP \u8bbe\u5907\u53d1\u9001\u6570\u636e\u3002\u5728\u540e\u79cd\u60c5\u51b5\u4e0b\uff0cTUN/TAP \u8bbe\u5907\u5411\u64cd\u4f5c\u7cfb\u7edf\u7684\u7f51\u7edc\u6808\u6295\u9012\uff08\u6216\u201c\u6ce8\u5165\u201d\uff09\u6570\u636e\u5305\uff0c\u4ece\u800c\u6a21\u62df\u4ece\u5916\u90e8\u63a5\u53d7\u6570\u636e\u7684\u8fc7\u7a0b\u3002"),(0,a.yg)("p",null,"\u670d\u52a1\u5668\u5982\u679c\u62e5\u6709 TUN/TAP \u6a21\u5757\uff0c\u5c31\u53ef\u4ee5\u5f00\u542f VPN \u4ee3\u7406\u529f\u80fd\u3002"),(0,a.yg)("h3",{id:"wintun"},"WinTun"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://www.wintun.net/"},"https://www.wintun.net/")),(0,a.yg)("p",null,"WinTun \u662f Windows \u5185\u6838\u7684\u4e00\u4e2a\u975e\u5e38\u7b80\u5355\u548c\u6700\u5c0f\u7684 TUN \u9a71\u52a8\u7a0b\u5e8f\uff0c\u5b83\u4e3a\u7528\u6237\u7a7a\u95f4\u7a0b\u5e8f\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u7f51\u7edc\u9002\u914d\u5668\uff0c\u7528\u4e8e\u8bfb\u53d6\u548c\u5199\u5165\u6570\u636e\u5305\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/q1009020096/article/details/123842293"},"CSDN-Golang Window TUN \u865a\u62df\u7f51\u5361")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.wireguard.com/"},"\u5b98\u7f51-WireGrard"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"WireGuard \u662f\u4e00\u6b3e\u6781\u5176\u7b80\u5355\u4f46\u5feb\u901f\u7684\u73b0\u4ee3 VPN\uff0c\u91c7\u7528\u6700\u5148\u8fdb\u7684\u52a0\u5bc6\u6280\u672f\u3002"))),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://huaweicloud.csdn.net/63566923d3efff3090b5e317.html"},"\u534e\u4e3a\u4e91-Wintun\uff1a\u4e00\u6b3e\u60ca\u8273\u7684 WireGuard \u865a\u62df\u7f51\u5361\u63a5\u53e3\u9a71\u52a8"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b38419a7.176819e4.js b/assets/js/b38419a7.31c312c9.js similarity index 99% rename from assets/js/b38419a7.176819e4.js rename to assets/js/b38419a7.31c312c9.js index 88d8eda2d..d5deaa53d 100644 --- a/assets/js/b38419a7.176819e4.js +++ b/assets/js/b38419a7.31c312c9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2320],{15680:(e,r,n)=>{n.d(r,{xA:()=>c,yg:()=>y});var t=n(96540);function o(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function a(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function l(e){for(var r=1;r=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=t.createContext({}),p=function(e){var r=t.useContext(s),n=r;return e&&(n="function"==typeof e?e(r):l(l({},r),e)),n},c=function(e){var r=p(e.components);return t.createElement(s.Provider,{value:r},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},g=t.forwardRef((function(e,r){var n=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),u=p(n),g=o,y=u["".concat(s,".").concat(g)]||u[g]||d[g]||a;return n?t.createElement(y,l(l({ref:r},c),{},{components:n})):t.createElement(y,l({ref:r},c))}));function y(e,r){var n=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=n.length,l=new Array(a);l[0]=g;var i={};for(var s in r)hasOwnProperty.call(r,s)&&(i[s]=r[s]);i.originalType=e,i[u]="string"==typeof e?e:o,l[1]=i;for(var p=2;p{n.r(r),n.d(r,{assets:()=>s,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var t=n(58168),o=(n(96540),n(15680));const a={sidebar_position:1},l=void 0,i={unversionedId:"study/db/SQL/\u7efc\u5408\u6982\u8ff0",id:"study/db/SQL/\u7efc\u5408\u6982\u8ff0",title:"\u7efc\u5408\u6982\u8ff0",description:"\u80cc\u666f",source:"@site/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"StarRocks",permalink:"/docs/study/db/OLAP/StarRocks"},next:{title:"Kingbase",permalink:"/docs/study/db/SQL/Kingbase"}},s={},p=[{value:"\u80cc\u666f",id:"\u80cc\u666f",level:3},{value:"\u5206\u5e03\u5f0f\u6570\u636e\u5e93",id:"\u5206\u5e03\u5f0f\u6570\u636e\u5e93",level:3},{value:"NoSQL\u7684\u8fdb\u51fb",id:"nosql\u7684\u8fdb\u51fb",level:4},{value:"RDMS \u7684\u6551\u8d4e",id:"rdms-\u7684\u6551\u8d4e",level:4},{value:"\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6",id:"\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6",level:3},{value:"NewSQL\u7684\u53d1\u5c55",id:"newsql\u7684\u53d1\u5c55",level:3}],c={toc:p},u="wrapper";function d(e){let{components:r,...n}=e;return(0,o.yg)(u,(0,t.A)({},c,n,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u80cc\u666f"},"\u80cc\u666f"),(0,o.yg)("p",null,"\u968f\u7740\u4e92\u8054\u7f51\u7684\u4e0d\u65ad\u666e\u53ca\u7279\u522b\u662f\u79fb\u52a8\u4e92\u8054\u7f51\u7684\u5174\u8d77\uff0c\u6570\u636e\u89c4\u6a21\u7206\u70b8\u5f0f\u589e\u957f\uff0c\u800c\u786c\u4ef6\u8fd9\u4e9b\u5e74\u7684\u8fdb\u6b65\u901f\u5ea6\u5374\u5728\u9010\u6e10\u51cf\u6162\uff0c\u4eba\u4eec\u4e5f\u5728\u62c5\u5fc3\u6469\u5c14\u5b9a\u5f8b\u4f1a\u5931\u6548\u3002\u5728\u6b64\u6d88\u5f7c\u957f\u7684\u60c5\u51b5\u4e0b\uff0c\u5355\u673a\u6570\u636e\u5e93\u8d8a\u6765\u8d8a\u96be\u4ee5\u6ee1\u8db3\u7528\u6237\u9700\u6c42\uff0c\u5373\u4f7f\u662f\u5c06\u6570\u636e\u4fdd\u5b58\u4e0b\u6765\u8fd9\u4e2a\u6700\u57fa\u672c\u7684\u9700\u6c42\u3002"),(0,o.yg)("h3",{id:"\u5206\u5e03\u5f0f\u6570\u636e\u5e93"},"\u5206\u5e03\u5f0f\u6570\u636e\u5e93"),(0,o.yg)("p",null,"\u6240\u4ee5 2005 \u5e74\u5de6\u53f3\uff0c\u4eba\u4eec\u5f00\u59cb\u63a2\u7d22\u5206\u5e03\u5f0f\u6570\u636e\u5e93\uff0c\u5e26\u8d77\u4e86 NoSQL \u8fd9\u6ce2\u6d6a\u6f6e\u3002\u8fd9\u4e9b\u6570\u636e\u5e93\u89e3\u51b3\u7684\u9996\u8981\u95ee\u9898\u662f\u5355\u673a\u4e0a\u65e0\u6cd5\u4fdd\u5b58\u5168\u90e8\u6570\u636e\uff0c\u5176\u4e2d\u4ee5 HBase/Cassadra/MongoDB \u4e3a\u4ee3\u8868\u3002\u4e3a\u4e86\u5b9e\u73b0\u5bb9\u91cf\u7684\u6c34\u5e73\u6269\u5c55\uff0c\u8fd9\u4e9b\u6570\u636e\u5e93\u5f80\u5f80\u8981\u653e\u5f03\u4e8b\u52a1\uff0c\u6216\u8005\u662f\u53ea\u63d0\u4f9b\u7b80\u5355\u7684 KV \u63a5\u53e3\u3002\u5b58\u50a8\u6a21\u578b\u7684\u7b80\u5316\u4e3a\u5b58\u50a8\u7cfb\u7edf\u7684\u5f00\u53d1\u5e26\u6765\u4e86\u4fbf\u5229\uff0c\u4f46\u662f\u964d\u4f4e\u4e86\u5bf9\u4e1a\u52a1\u7684\u652f\u6491\u3002"),(0,o.yg)("h4",{id:"nosql\u7684\u8fdb\u51fb"},"NoSQL\u7684\u8fdb\u51fb"),(0,o.yg)("p",null,"HBase \u662f\u5176\u4e2d\u7684\u5178\u578b\u4ee3\u8868\u3002 HBase \u662f Hadoop \u751f\u6001\u4e2d\u7684\u91cd\u8981\u4ea7\u54c1\uff0cGoogle BigTable \u7684\u5f00\u6e90\u5b9e\u73b0\uff0c\u6240\u4ee5\u8fd9\u91cc\u5148\u8bf4\u4e00\u4e0b BigTable \u3002"),(0,o.yg)("p",null,"BigTable \u662f Google \u5185\u90e8\u4f7f\u7528\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93\uff0c\u6784\u5efa\u5728 GFS \u7684\u57fa\u7840\u4e0a\uff0c\u5f25\u8865\u4e86\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\u5bf9\u4e8e\u5c0f\u5bf9\u8c61\u7684\u63d2\u5165\u3001\u66f4\u65b0\u3001\u968f\u673a\u8bfb\u8bf7\u6c42\u7684\u7f3a\u9677\u3002HBase \u4e5f\u6309\u7167\u8fd9\u4e2a\u67b6\u6784\u5b9e\u73b0\uff0c\u5e95\u5c42\u57fa\u4e8eHDFS \u3002 HBase \u672c\u8eab\u5e76\u4e0d\u5b9e\u9645\u5b58\u50a8\u6570\u636e\uff0c\u6301\u4e45\u5316\u7684\u65e5\u5fd7\u548c SST file \u5b58\u50a8\u5728 HDFS \u4e0a\uff0cRegion Server \u901a\u8fc7 MemTable \u63d0\u4f9b\u5feb\u901f\u7684\u67e5\u8be2\uff0c\u5199\u5165\u90fd\u662f\u5148\u5199\u65e5\u5fd7\uff0c\u540e\u53f0\u8fdb\u884cCompact \uff0c\u5c06\u968f\u673a\u5199\u8f6c\u6362\u4e3a\u987a\u5e8f\u5199\u3002\u6570\u636e\u901a\u8fc7 Region \u5728\u903b\u8f91\u4e0a\u8fdb\u884c\u5206\u5272\uff0c\u8d1f\u8f7d\u5747\u8861\u901a\u8fc7\u8c03\u8282\u5404\u4e2a Region Server \u8d1f\u8d23\u7684Region\u533a\u95f4\u5b9e\u73b0\uff0cRegion\u5728 \u6301\u7eed\u5199\u5165\u540e\uff0c\u4f1a\u8fdb\u884c\u5206\u88c2\uff0c\u7136\u540e\u88ab\u8d1f\u8f7d\u5747\u8861\u7b56\u7565\u8c03\u5ea6\u5230\u591a\u4e2a Region Server \u4e0a\u3002"),(0,o.yg)("p",null,"\u524d\u9762\u63d0\u5230\u4e86\uff0c HBase \u672c\u8eab\u5e76\u4e0d\u5b58\u50a8\u6570\u636e\uff0c\u8fd9\u91cc\u7684 Region \u4ec5\u662f\u903b\u8f91\u4e0a\u7684\u6982\u5ff5\uff0c\u6570\u636e\u8fd8\u662f\u4ee5\u6587\u4ef6\u7684\u5f62\u5f0f\u5b58\u50a8\u5728 HDFS \u4e0a\uff0cHBase \u5e76\u4e0d\u5173\u5fc3\u526f\u672c\u4e2a\u6570\u3001\u4f4d\u7f6e\u4ee5\u53ca\u6c34\u5e73\u6269\u5c55\u95ee\u9898\uff0c\u8fd9\u4e9b\u90fd\u4f9d\u8d56\u4e8e HDFS \u5b9e\u73b0\u3002\u548c BigTable \u4e00\u6837\uff0c HBase \u63d0\u4f9b\u884c\u7ea7\u7684\u4e00\u81f4\u6027\uff0c\u4ece CAP \u7406\u8bba\u7684\u89d2\u5ea6\u6765\u770b\uff0c\u5b83\u662f\u4e00\u4e2a CP \u7684\u7cfb\u7edf\uff0c\u5e76\u4e14\u6ca1\u6709\u66f4\u8fdb\u4e00\u6b65\u63d0\u4f9b ACID \u7684\u8de8\u884c\u4e8b\u52a1\uff0c\u4e5f\u662f\u5f88\u9057\u61be\u3002"),(0,o.yg)("p",null,"HBase \u7684\u4f18\u52bf\u5728\u4e8e\u901a\u8fc7\u6269\u5c55 Region Server \u53ef\u4ee5\u51e0\u4e4e\u7ebf\u6027\u63d0\u5347\u7cfb\u7edf\u7684\u541e\u5410\uff0c\u53ca HDFS \u672c\u8eab\u5c31\u5177\u6709\u7684\u6c34\u5e73\u6269\u5c55\u80fd\u529b\uff0c\u4e14\u6574\u4e2a\u7cfb\u7edf\u6210\u719f\u7a33\u5b9a\u3002\u4f46 HBase \u4f9d\u7136\u6709\u4e00\u4e9b\u4e0d\u8db3\u3002\u9996\u5148\uff0c Hadoop \u4f7f\u7528 Java \u5f00\u53d1\uff0c GC \u5ef6\u8fdf\u662f\u4e00\u4e2a\u65e0\u6cd5\u907f\u514d\u95ee\u9898\uff0c\u8fd9\u5bf9\u7cfb\u7edf\u7684\u5ef6\u8fdf\u9020\u6210\u4e00\u4e9b\u5f71\u54cd\u3002\u53e6\u5916\uff0c\u7531\u4e8eHBase \u672c\u8eab\u5e76\u4e0d\u5b58\u50a8\u6570\u636e\uff0c\u548c HDFS \u4e4b\u95f4\u7684\u4ea4\u4e92\u4f1a\u591a\u4e00\u5c42\u6027\u80fd\u635f\u8017\u3002\u7b2c\u4e09\uff0c HBase \u548cBigTable \u4e00\u6837\uff0c\u5e76\u4e0d\u652f\u6301\u8de8\u884c\u4e8b\u52a1\uff0c\u6240\u4ee5\u5728 Google \u5185\u90e8\u6709\u56e2\u961f\u5f00\u53d1\u4e86 MegaStore \u3001 Percolator \u8fd9\u4e9b\u57fa\u4e8e BigTable \u7684\u4e8b\u52a1\u5c42\u3002 Jeff Dean \u627f\u8ba4\u5f88\u540e\u6094\u6ca1\u6709\u5728 BigTable \u4e2d\u52a0\u5165\u8de8\u884c\u4e8b\u52a1\uff0c\u8fd9\u4e5f\u662f Spanner \u51fa\u73b0\u7684\u4e00\u4e2a\u539f\u56e0\u3002"),(0,o.yg)("h4",{id:"rdms-\u7684\u6551\u8d4e"},"RDMS \u7684\u6551\u8d4e"),(0,o.yg)("p",null,"\u9664\u4e86 NoSQL \u4e4b\u5916\uff0c RDMS \u7cfb\u7edf\u4e5f\u505a\u4e86\u4e0d\u5c11\u52aa\u529b\u6765\u9002\u5e94\u4e1a\u52a1\u7684\u53d8\u5316\uff0c\u4e5f\u5c31\u662f\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u4e2d\u95f4\u4ef6\u548c\u5206\u5e93\u5206\u8868\u65b9\u6848\u3002\u505a\u4e00\u6b3e\u4e2d\u95f4\u4ef6\u9700\u8981\u8003\u8651\u5f88\u591a\uff0c\u6bd4\u5982\u89e3\u6790 SQL \uff0c\u89e3\u6790\u51fa ShardKey \uff0c\u7136\u540e\u6839\u636e ShardKey \u5206\u53d1\u8bf7\u6c42\uff0c\u518d\u5408\u5e76\u7ed3\u679c\u3002\u53e6\u5916\u5728\u4e2d\u95f4\u4ef6\u8fd9\u5c42\u8fd8\u9700\u8981\u7ef4\u62a4 Session \u53ca\u4e8b\u52a1\u72b6\u6001\uff0c\u800c\u4e14\u5927\u591a\u6570\u65b9\u6848\u5e76\u4e0d\u652f\u6301\u8de8 shard \u7684\u4e8b\u52a1\uff0c\u8fd9\u5c31\u4e0d\u53ef\u907f\u514d\u5730\u5bfc\u81f4\u4e86\u4e1a\u52a1\u4f7f\u7528\u8d77\u6765\u4f1a\u6bd4\u8f83\u9ebb\u70e6\uff0c\u9700\u8981\u81ea\u5df1\u7ef4\u62a4\u4e8b\u52a1\u72b6\u6001\u3002\u6b64\u5916\uff0c\u8fd8\u6709\u52a8\u6001\u7684\u6269\u5bb9\u7f29\u5bb9\u548c\u81ea\u52a8\u7684\u6545\u969c\u6062\u590d\uff0c\u5728\u96c6\u7fa4\u89c4\u6a21\u8d8a\u6765\u8d8a\u5927\u7684\u60c5\u51b5\u4e0b\uff0c\u8fd0\u7ef4\u548c DDL \u7684\u590d\u6742\u5ea6\u662f\u6307\u6570\u7ea7\u4e0a\u5347\u3002"),(0,o.yg)("p",null,"\u56fd\u5185\u5f00\u53d1\u8005\u5728\u8fd9\u4e2a\u9886\u57df\u6709\u8fc7\u5f88\u591a\u7684\u8457\u540d\u7684\u9879\u76ee\uff0c\u6bd4\u5982\u963f\u91cc\u7684 Cobar \u3001 TDDL \uff0c\u540e\u6765\u793e\u533a\u57fa\u4e8eCobar \u6539\u8fdb\u7684 MyCAT \uff0c 360 \u5f00\u6e90\u7684 Atlas \u7b49\uff0c\u90fd\u5c5e\u4e8e\u8fd9\u4e00\u7c7b\u4e2d\u95f4\u4ef6\u4ea7\u54c1\u3002\u5728\u4e2d\u95f4\u4ef6\u8fd9\u4e2a\u65b9\u6848\u4e0a\u6709\u4e00\u4e2a\u77e5\u540d\u7684\u5f00\u6e90\u9879\u76ee\u662f Youtube \u7684 Vitess \uff0c\u8fd9\u662f\u4e00\u4e2a\u96c6\u5927\u6210\u7684\u4e2d\u95f4\u4ef6\u4ea7\u54c1\uff0c\u5185\u7f6e\u4e86\u70ed\u6570\u636e\u7f13\u5b58\u3001\u6c34\u5e73\u52a8\u6001\u5206\u7247\u3001\u8bfb\u5199\u5206\u79bb\u7b49\uff0c\u4f46\u8fd9\u4e5f\u9020\u6210\u4e86\u6574\u4e2a\u9879\u76ee\u975e\u5e38\u590d\u6742\u3002"),(0,o.yg)("p",null,"\u53e6\u5916\u4e00\u4e2a\u503c\u5f97\u4e00\u63d0\u7684\u662f PostgreSQL XC \u8fd9\u4e2a\u9879\u76ee\uff0c\u5176\u6574\u4f53\u7684\u67b6\u6784\u6709\u70b9\u50cf\u65e9\u671f\u7248\u672c\u7684OceanBase \uff0c\u7531\u4e00\u4e2a\u4e2d\u592e\u8282\u70b9\u6765\u5904\u7406\u534f\u8c03\u5206\u5e03\u5f0f\u4e8b\u52a1\uff0c\u6570\u636e\u5206\u6563\u5728\u5404\u4e2a\u5b58\u50a8\u8282\u70b9\u4e0a\uff0c\u5e94\u8be5\u662f\u76ee\u524d PG \u793e\u533a\u6700\u597d\u7684\u5206\u5e03\u5f0f\u6269\u5c55\u65b9\u6848\uff0c\u4e0d\u5c11\u4eba\u5728\u57fa\u4e8e\u8fd9\u4e2a\u9879\u76ee\u505a\u81ea\u5df1\u7684\u7cfb\u7edf\u3002"),(0,o.yg)("h3",{id:"\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6"},"\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6"),(0,o.yg)("p",null,"RDMS\u7684\u6551\u8d4e\u5c31\u662f\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\u4ea7\u751f\u7684\u539f\u56e0\u3002"),(0,o.yg)("h3",{id:"newsql\u7684\u53d1\u5c55"},"NewSQL\u7684\u53d1\u5c55"),(0,o.yg)("p",null,"2012 ~ 2013 \u5e74 Google \u76f8\u7ee7\u53d1\u8868\u4e86 Spanner \u548c F1 \u4e24\u5957\u7cfb\u7edf\u7684\u8bba\u6587\uff0c\u8ba9\u4e1a\u754c\u7b2c\u4e00\u6b21\u770b\u5230\u4e86\u5173\u7cfb\u6a21\u578b\u548c NoSQL \u7684\u6269\u5c55\u6027\u5728\u4e00\u4e2a\u5927\u89c4\u6a21\u751f\u4ea7\u7cfb\u7edf\u4e0a\u878d\u5408\u7684\u53ef\u80fd\u6027\u3002 Spanner \u901a\u8fc7\u4f7f\u7528\u786c\u4ef6\u8bbe\u5907\uff08 GPS \u65f6\u949f+\u539f\u5b50\u949f\uff09\u5de7\u5999\u5730\u89e3\u51b3\u65f6\u949f\u540c\u6b65\u7684\u95ee\u9898\uff0c\u800c\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u91cc\uff0c\u65f6\u949f\u6b63\u662f\u6700\u8ba9\u4eba\u5934\u75db\u7684\u95ee\u9898\u3002Spanner \u7684\u5f3a\u5927\u4e4b\u5904\u5728\u4e8e\u5373\u4f7f\u4e24\u4e2a\u6570\u636e\u4e2d\u5fc3\u9694\u5f97\u975e\u5e38\u8fdc\uff0c\u4e5f\u80fd\u4fdd\u8bc1\u901a\u8fc7TrueTime API \u83b7\u53d6\u7684\u65f6\u95f4\u8bef\u5dee\u5728\u4e00\u4e2a\u5f88\u5c0f\u7684\u8303\u56f4\u5185\uff08 10ms \uff09\uff0c\u5e76\u4e14\u4e0d\u9700\u8981\u901a\u8baf\u3002 Spanner \u7684\u5e95\u5c42\u4ecd\u7136\u57fa\u4e8e\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e0d\u8fc7\u8bba\u6587\u91cc\u4e5f\u8bf4\u662f\u53ef\u4ee5\u672a\u6765\u4f18\u5316\u7684\u70b9\u3002"),(0,o.yg)("p",null,"Google \u7684\u5185\u90e8\u7684\u6570\u636e\u5e93\u5b58\u50a8\u4e1a\u52a1\uff0c\u5927\u591a\u662f 3 ~ 5 \u526f\u672c\uff0c\u91cd\u8981\u7684\u6570\u636e\u9700\u8981 7 \u526f\u672c\uff0c\u4e14\u8fd9\u4e9b\u526f\u672c\u904d\u5e03\u5168\u7403\u5404\u5927\u6d32\u7684\u6570\u636e\u4e2d\u5fc3\uff0c\u7531\u4e8e\u666e\u904d\u4f7f\u7528\u4e86Paxos \uff0c\u5ef6\u8fdf\u662f\u53ef\u4ee5\u7f29\u77ed\u5230\u4e00\u4e2a\u53ef\u4ee5\u63a5\u53d7\u7684\u8303\u56f4(\u5199\u5165\u5ef6\u8fdf 100 ms\u4ee5\u4e0a)\uff0c\u53e6\u5916\u7531 Paxos \u5e26\u6765\u7684 Auto-Failover \u80fd\u529b\uff0c\u66f4\u662f\u8ba9\u6574\u4e2a\u96c6\u7fa4\u5373\u4f7f\u6570\u636e\u4e2d\u5fc3\u762b\u75ea\uff0c\u4e1a\u52a1\u5c42\u90fd\u662f\u900f\u660e\u65e0\u611f\u77e5\u7684\u3002 F1 \u662f\u6784\u5efa\u5728 Spanner \u4e4b\u4e0a\uff0c\u5bf9\u5916\u63d0\u4f9b\u4e86 SQL \u63a5\u53e3\uff0c F1 \u662f\u4e00\u4e2a\u5206\u5e03\u5f0f MPP SQL \u5c42\uff0c\u5176\u672c\u8eab\u5e76\u4e0d\u5b58\u50a8\u6570\u636e\uff0c\u800c\u662f\u5c06\u5ba2\u6237\u7aef\u7684 SQL \u7ffb\u8bd1\u6210\u5bf9KV \u7684\u64cd\u4f5c\uff0c\u8c03\u7528 Spanner \u6765\u5b8c\u6210\u8bf7\u6c42\u3002"),(0,o.yg)("p",null,"Spanner \u548c F1 \u7684\u51fa\u73b0\u6807\u5fd7\u7740\u7b2c\u4e00\u4e2a NewSQL \u5728\u751f\u4ea7\u73af\u5883\u4e2d\u63d0\u4f9b\u670d\u52a1\uff0c\u5c06\u4e0b\u9762\u51e0\u4e2a\u529f\u80fd\u5728\u4e00\u5957\u7cfb\u7edf\u4e2d\u63d0\u4f9b\uff1a"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"SQL \u652f\u6301"),(0,o.yg)("li",{parentName:"ol"},"ACID \u4e8b\u52a1"),(0,o.yg)("li",{parentName:"ol"},"\u6c34\u5e73\u6269\u5c55"),(0,o.yg)("li",{parentName:"ol"},"Auto Failover"),(0,o.yg)("li",{parentName:"ol"},"\u591a\u673a\u623f\u5f02\u5730\u5bb9\u707e")),(0,o.yg)("p",null,"\u6b63\u56e0\u4e3a\u5177\u5907\u5982\u6b64\u591a\u7684\u8bf1\u4eba\u7279\u6027\uff0c\u5728 Google \u5185\u90e8\uff0c\u5927\u91cf\u7684\u4e1a\u52a1\u5df2\u7ecf\u4ece\u539f\u6765\u7684 BigTable \u5207\u6362\u5230Spanner \u4e4b\u4e0a\u3002\u76f8\u4fe1\u8fd9\u5bf9\u4e1a\u754c\u7684\u601d\u8def\u4f1a\u6709\u5de8\u5927\u7684\u5f71\u54cd\uff0c\u5c31\u50cf\u5f53\u5e74\u7684 Hadoop \u4e00\u6837\uff0c Google \u7684\u57fa\u7840\u8f6f\u4ef6\u7684\u6280\u672f\u8d8b\u52bf\u662f\u8d70\u5728\u793e\u533a\u524d\u9762\u7684\u3002\nSpanner/F1 \u8bba\u6587\u5f15\u8d77\u4e86\u793e\u533a\u7684\u5e7f\u6cdb\u7684\u5173\u6ce8\uff0c\u5f88\u5feb\u5f00\u59cb\u51fa\u73b0\u4e86\u8ffd\u968f\u8005\u3002\u7b2c\u4e00\u4e2a\u56e2\u961f\u662fCockroachLabs \u505a\u7684 CockroachDB \u3002 CockroachDB \u7684\u8bbe\u8ba1\u548c Spanner \u5f88\u50cf\uff0c\u4f46\u662f\u6ca1\u6709\u9009\u62e9 TrueTime API \uff0c\u800c\u662f\u4f7f\u7528 HLC\uff08 Hybrid logical clock \uff09\uff0c\u4e5f\u5c31\u662f NTP +\u903b\u8f91\u65f6\u949f\u6765\u4ee3\u66ff TrueTime \u65f6\u95f4\u6233\uff0c\u53e6\u5916 CockroachDB \u9009\u7528 Raft \u505a\u6570\u636e\u590d\u5236\u534f\u8bae\uff0c\u5e95\u5c42\u5b58\u50a8\u843d\u5730\u5728RocksDB \u4e2d\uff0c\u5bf9\u5916\u7684\u63a5\u53e3\u9009\u62e9\u4e86 PG \u534f\u8bae\u3002"),(0,o.yg)("p",null,"CockroachDB \u7684\u6280\u672f\u9009\u578b\u6bd4\u8f83\u6fc0\u8fdb\uff0c\u6bd4\u5982\u4f9d\u8d56\u4e86 HLC \u6765\u505a\u4e8b\u52a1\uff0c\u65f6\u95f4\u6233\u7684\u7cbe\u786e\u5ea6\u5e76\u6ca1\u6709\u529e\u6cd5\u505a\u5230 10 ms\u5185\u7684\u5ef6\u8fdf\uff0c\u6240\u4ee5 Commit Wait \u9700\u8981\u7528\u6237\u81ea\u5df1\u6307\u5b9a\uff0c\u5176\u9009\u62e9\u53d6\u51b3\u4e8e\u7528\u6237\u7684 NTP \u670d\u52a1\u65f6\u949f\u8bef\u5dee\uff0c\u8fd9\u70b9\u5bf9\u4e8e\u7528\u6237\u6765\u8bf4\u975e\u5e38\u4e0d\u53cb\u597d\u3002\u5f53\u7136 CockroachDB \u7684\u8fd9\u4e9b\u6280\u672f\u9009\u62e9\u4e5f\u5e26\u6765\u4e86\u5f88\u597d\u7684\u6613\u7528\u6027\uff0c\u6240\u6709\u903b\u8f91\u90fd\u5728\u4e00\u4e2a\u7ec4\u4ef6\u4e2d\uff0c\u90e8\u7f72\u975e\u5e38\u7b80\u5355\uff0c\u8fd9\u4e2a\u662f\u975e\u5e38\u5927\u7684\u4f18\u70b9\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2320],{15680:(e,r,n)=>{n.d(r,{xA:()=>c,yg:()=>y});var t=n(96540);function o(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function a(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function l(e){for(var r=1;r=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=t.createContext({}),p=function(e){var r=t.useContext(s),n=r;return e&&(n="function"==typeof e?e(r):l(l({},r),e)),n},c=function(e){var r=p(e.components);return t.createElement(s.Provider,{value:r},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},g=t.forwardRef((function(e,r){var n=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),u=p(n),g=o,y=u["".concat(s,".").concat(g)]||u[g]||d[g]||a;return n?t.createElement(y,l(l({ref:r},c),{},{components:n})):t.createElement(y,l({ref:r},c))}));function y(e,r){var n=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=n.length,l=new Array(a);l[0]=g;var i={};for(var s in r)hasOwnProperty.call(r,s)&&(i[s]=r[s]);i.originalType=e,i[u]="string"==typeof e?e:o,l[1]=i;for(var p=2;p{n.r(r),n.d(r,{assets:()=>s,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var t=n(58168),o=(n(96540),n(15680));const a={sidebar_position:1},l=void 0,i={unversionedId:"study/db/SQL/\u7efc\u5408\u6982\u8ff0",id:"study/db/SQL/\u7efc\u5408\u6982\u8ff0",title:"\u7efc\u5408\u6982\u8ff0",description:"\u80cc\u666f",source:"@site/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"StarRocks",permalink:"/docs/study/db/OLAP/StarRocks"},next:{title:"Kingbase",permalink:"/docs/study/db/SQL/Kingbase"}},s={},p=[{value:"\u80cc\u666f",id:"\u80cc\u666f",level:3},{value:"\u5206\u5e03\u5f0f\u6570\u636e\u5e93",id:"\u5206\u5e03\u5f0f\u6570\u636e\u5e93",level:3},{value:"NoSQL\u7684\u8fdb\u51fb",id:"nosql\u7684\u8fdb\u51fb",level:4},{value:"RDMS \u7684\u6551\u8d4e",id:"rdms-\u7684\u6551\u8d4e",level:4},{value:"\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6",id:"\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6",level:3},{value:"NewSQL\u7684\u53d1\u5c55",id:"newsql\u7684\u53d1\u5c55",level:3}],c={toc:p},u="wrapper";function d(e){let{components:r,...n}=e;return(0,o.yg)(u,(0,t.A)({},c,n,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u80cc\u666f"},"\u80cc\u666f"),(0,o.yg)("p",null,"\u968f\u7740\u4e92\u8054\u7f51\u7684\u4e0d\u65ad\u666e\u53ca\u7279\u522b\u662f\u79fb\u52a8\u4e92\u8054\u7f51\u7684\u5174\u8d77\uff0c\u6570\u636e\u89c4\u6a21\u7206\u70b8\u5f0f\u589e\u957f\uff0c\u800c\u786c\u4ef6\u8fd9\u4e9b\u5e74\u7684\u8fdb\u6b65\u901f\u5ea6\u5374\u5728\u9010\u6e10\u51cf\u6162\uff0c\u4eba\u4eec\u4e5f\u5728\u62c5\u5fc3\u6469\u5c14\u5b9a\u5f8b\u4f1a\u5931\u6548\u3002\u5728\u6b64\u6d88\u5f7c\u957f\u7684\u60c5\u51b5\u4e0b\uff0c\u5355\u673a\u6570\u636e\u5e93\u8d8a\u6765\u8d8a\u96be\u4ee5\u6ee1\u8db3\u7528\u6237\u9700\u6c42\uff0c\u5373\u4f7f\u662f\u5c06\u6570\u636e\u4fdd\u5b58\u4e0b\u6765\u8fd9\u4e2a\u6700\u57fa\u672c\u7684\u9700\u6c42\u3002"),(0,o.yg)("h3",{id:"\u5206\u5e03\u5f0f\u6570\u636e\u5e93"},"\u5206\u5e03\u5f0f\u6570\u636e\u5e93"),(0,o.yg)("p",null,"\u6240\u4ee5 2005 \u5e74\u5de6\u53f3\uff0c\u4eba\u4eec\u5f00\u59cb\u63a2\u7d22\u5206\u5e03\u5f0f\u6570\u636e\u5e93\uff0c\u5e26\u8d77\u4e86 NoSQL \u8fd9\u6ce2\u6d6a\u6f6e\u3002\u8fd9\u4e9b\u6570\u636e\u5e93\u89e3\u51b3\u7684\u9996\u8981\u95ee\u9898\u662f\u5355\u673a\u4e0a\u65e0\u6cd5\u4fdd\u5b58\u5168\u90e8\u6570\u636e\uff0c\u5176\u4e2d\u4ee5 HBase/Cassadra/MongoDB \u4e3a\u4ee3\u8868\u3002\u4e3a\u4e86\u5b9e\u73b0\u5bb9\u91cf\u7684\u6c34\u5e73\u6269\u5c55\uff0c\u8fd9\u4e9b\u6570\u636e\u5e93\u5f80\u5f80\u8981\u653e\u5f03\u4e8b\u52a1\uff0c\u6216\u8005\u662f\u53ea\u63d0\u4f9b\u7b80\u5355\u7684 KV \u63a5\u53e3\u3002\u5b58\u50a8\u6a21\u578b\u7684\u7b80\u5316\u4e3a\u5b58\u50a8\u7cfb\u7edf\u7684\u5f00\u53d1\u5e26\u6765\u4e86\u4fbf\u5229\uff0c\u4f46\u662f\u964d\u4f4e\u4e86\u5bf9\u4e1a\u52a1\u7684\u652f\u6491\u3002"),(0,o.yg)("h4",{id:"nosql\u7684\u8fdb\u51fb"},"NoSQL\u7684\u8fdb\u51fb"),(0,o.yg)("p",null,"HBase \u662f\u5176\u4e2d\u7684\u5178\u578b\u4ee3\u8868\u3002 HBase \u662f Hadoop \u751f\u6001\u4e2d\u7684\u91cd\u8981\u4ea7\u54c1\uff0cGoogle BigTable \u7684\u5f00\u6e90\u5b9e\u73b0\uff0c\u6240\u4ee5\u8fd9\u91cc\u5148\u8bf4\u4e00\u4e0b BigTable \u3002"),(0,o.yg)("p",null,"BigTable \u662f Google \u5185\u90e8\u4f7f\u7528\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93\uff0c\u6784\u5efa\u5728 GFS \u7684\u57fa\u7840\u4e0a\uff0c\u5f25\u8865\u4e86\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\u5bf9\u4e8e\u5c0f\u5bf9\u8c61\u7684\u63d2\u5165\u3001\u66f4\u65b0\u3001\u968f\u673a\u8bfb\u8bf7\u6c42\u7684\u7f3a\u9677\u3002HBase \u4e5f\u6309\u7167\u8fd9\u4e2a\u67b6\u6784\u5b9e\u73b0\uff0c\u5e95\u5c42\u57fa\u4e8eHDFS \u3002 HBase \u672c\u8eab\u5e76\u4e0d\u5b9e\u9645\u5b58\u50a8\u6570\u636e\uff0c\u6301\u4e45\u5316\u7684\u65e5\u5fd7\u548c SST file \u5b58\u50a8\u5728 HDFS \u4e0a\uff0cRegion Server \u901a\u8fc7 MemTable \u63d0\u4f9b\u5feb\u901f\u7684\u67e5\u8be2\uff0c\u5199\u5165\u90fd\u662f\u5148\u5199\u65e5\u5fd7\uff0c\u540e\u53f0\u8fdb\u884cCompact \uff0c\u5c06\u968f\u673a\u5199\u8f6c\u6362\u4e3a\u987a\u5e8f\u5199\u3002\u6570\u636e\u901a\u8fc7 Region \u5728\u903b\u8f91\u4e0a\u8fdb\u884c\u5206\u5272\uff0c\u8d1f\u8f7d\u5747\u8861\u901a\u8fc7\u8c03\u8282\u5404\u4e2a Region Server \u8d1f\u8d23\u7684Region\u533a\u95f4\u5b9e\u73b0\uff0cRegion\u5728 \u6301\u7eed\u5199\u5165\u540e\uff0c\u4f1a\u8fdb\u884c\u5206\u88c2\uff0c\u7136\u540e\u88ab\u8d1f\u8f7d\u5747\u8861\u7b56\u7565\u8c03\u5ea6\u5230\u591a\u4e2a Region Server \u4e0a\u3002"),(0,o.yg)("p",null,"\u524d\u9762\u63d0\u5230\u4e86\uff0c HBase \u672c\u8eab\u5e76\u4e0d\u5b58\u50a8\u6570\u636e\uff0c\u8fd9\u91cc\u7684 Region \u4ec5\u662f\u903b\u8f91\u4e0a\u7684\u6982\u5ff5\uff0c\u6570\u636e\u8fd8\u662f\u4ee5\u6587\u4ef6\u7684\u5f62\u5f0f\u5b58\u50a8\u5728 HDFS \u4e0a\uff0cHBase \u5e76\u4e0d\u5173\u5fc3\u526f\u672c\u4e2a\u6570\u3001\u4f4d\u7f6e\u4ee5\u53ca\u6c34\u5e73\u6269\u5c55\u95ee\u9898\uff0c\u8fd9\u4e9b\u90fd\u4f9d\u8d56\u4e8e HDFS \u5b9e\u73b0\u3002\u548c BigTable \u4e00\u6837\uff0c HBase \u63d0\u4f9b\u884c\u7ea7\u7684\u4e00\u81f4\u6027\uff0c\u4ece CAP \u7406\u8bba\u7684\u89d2\u5ea6\u6765\u770b\uff0c\u5b83\u662f\u4e00\u4e2a CP \u7684\u7cfb\u7edf\uff0c\u5e76\u4e14\u6ca1\u6709\u66f4\u8fdb\u4e00\u6b65\u63d0\u4f9b ACID \u7684\u8de8\u884c\u4e8b\u52a1\uff0c\u4e5f\u662f\u5f88\u9057\u61be\u3002"),(0,o.yg)("p",null,"HBase \u7684\u4f18\u52bf\u5728\u4e8e\u901a\u8fc7\u6269\u5c55 Region Server \u53ef\u4ee5\u51e0\u4e4e\u7ebf\u6027\u63d0\u5347\u7cfb\u7edf\u7684\u541e\u5410\uff0c\u53ca HDFS \u672c\u8eab\u5c31\u5177\u6709\u7684\u6c34\u5e73\u6269\u5c55\u80fd\u529b\uff0c\u4e14\u6574\u4e2a\u7cfb\u7edf\u6210\u719f\u7a33\u5b9a\u3002\u4f46 HBase \u4f9d\u7136\u6709\u4e00\u4e9b\u4e0d\u8db3\u3002\u9996\u5148\uff0c Hadoop \u4f7f\u7528 Java \u5f00\u53d1\uff0c GC \u5ef6\u8fdf\u662f\u4e00\u4e2a\u65e0\u6cd5\u907f\u514d\u95ee\u9898\uff0c\u8fd9\u5bf9\u7cfb\u7edf\u7684\u5ef6\u8fdf\u9020\u6210\u4e00\u4e9b\u5f71\u54cd\u3002\u53e6\u5916\uff0c\u7531\u4e8eHBase \u672c\u8eab\u5e76\u4e0d\u5b58\u50a8\u6570\u636e\uff0c\u548c HDFS \u4e4b\u95f4\u7684\u4ea4\u4e92\u4f1a\u591a\u4e00\u5c42\u6027\u80fd\u635f\u8017\u3002\u7b2c\u4e09\uff0c HBase \u548cBigTable \u4e00\u6837\uff0c\u5e76\u4e0d\u652f\u6301\u8de8\u884c\u4e8b\u52a1\uff0c\u6240\u4ee5\u5728 Google \u5185\u90e8\u6709\u56e2\u961f\u5f00\u53d1\u4e86 MegaStore \u3001 Percolator \u8fd9\u4e9b\u57fa\u4e8e BigTable \u7684\u4e8b\u52a1\u5c42\u3002 Jeff Dean \u627f\u8ba4\u5f88\u540e\u6094\u6ca1\u6709\u5728 BigTable \u4e2d\u52a0\u5165\u8de8\u884c\u4e8b\u52a1\uff0c\u8fd9\u4e5f\u662f Spanner \u51fa\u73b0\u7684\u4e00\u4e2a\u539f\u56e0\u3002"),(0,o.yg)("h4",{id:"rdms-\u7684\u6551\u8d4e"},"RDMS \u7684\u6551\u8d4e"),(0,o.yg)("p",null,"\u9664\u4e86 NoSQL \u4e4b\u5916\uff0c RDMS \u7cfb\u7edf\u4e5f\u505a\u4e86\u4e0d\u5c11\u52aa\u529b\u6765\u9002\u5e94\u4e1a\u52a1\u7684\u53d8\u5316\uff0c\u4e5f\u5c31\u662f\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u4e2d\u95f4\u4ef6\u548c\u5206\u5e93\u5206\u8868\u65b9\u6848\u3002\u505a\u4e00\u6b3e\u4e2d\u95f4\u4ef6\u9700\u8981\u8003\u8651\u5f88\u591a\uff0c\u6bd4\u5982\u89e3\u6790 SQL \uff0c\u89e3\u6790\u51fa ShardKey \uff0c\u7136\u540e\u6839\u636e ShardKey \u5206\u53d1\u8bf7\u6c42\uff0c\u518d\u5408\u5e76\u7ed3\u679c\u3002\u53e6\u5916\u5728\u4e2d\u95f4\u4ef6\u8fd9\u5c42\u8fd8\u9700\u8981\u7ef4\u62a4 Session \u53ca\u4e8b\u52a1\u72b6\u6001\uff0c\u800c\u4e14\u5927\u591a\u6570\u65b9\u6848\u5e76\u4e0d\u652f\u6301\u8de8 shard \u7684\u4e8b\u52a1\uff0c\u8fd9\u5c31\u4e0d\u53ef\u907f\u514d\u5730\u5bfc\u81f4\u4e86\u4e1a\u52a1\u4f7f\u7528\u8d77\u6765\u4f1a\u6bd4\u8f83\u9ebb\u70e6\uff0c\u9700\u8981\u81ea\u5df1\u7ef4\u62a4\u4e8b\u52a1\u72b6\u6001\u3002\u6b64\u5916\uff0c\u8fd8\u6709\u52a8\u6001\u7684\u6269\u5bb9\u7f29\u5bb9\u548c\u81ea\u52a8\u7684\u6545\u969c\u6062\u590d\uff0c\u5728\u96c6\u7fa4\u89c4\u6a21\u8d8a\u6765\u8d8a\u5927\u7684\u60c5\u51b5\u4e0b\uff0c\u8fd0\u7ef4\u548c DDL \u7684\u590d\u6742\u5ea6\u662f\u6307\u6570\u7ea7\u4e0a\u5347\u3002"),(0,o.yg)("p",null,"\u56fd\u5185\u5f00\u53d1\u8005\u5728\u8fd9\u4e2a\u9886\u57df\u6709\u8fc7\u5f88\u591a\u7684\u8457\u540d\u7684\u9879\u76ee\uff0c\u6bd4\u5982\u963f\u91cc\u7684 Cobar \u3001 TDDL \uff0c\u540e\u6765\u793e\u533a\u57fa\u4e8eCobar \u6539\u8fdb\u7684 MyCAT \uff0c 360 \u5f00\u6e90\u7684 Atlas \u7b49\uff0c\u90fd\u5c5e\u4e8e\u8fd9\u4e00\u7c7b\u4e2d\u95f4\u4ef6\u4ea7\u54c1\u3002\u5728\u4e2d\u95f4\u4ef6\u8fd9\u4e2a\u65b9\u6848\u4e0a\u6709\u4e00\u4e2a\u77e5\u540d\u7684\u5f00\u6e90\u9879\u76ee\u662f Youtube \u7684 Vitess \uff0c\u8fd9\u662f\u4e00\u4e2a\u96c6\u5927\u6210\u7684\u4e2d\u95f4\u4ef6\u4ea7\u54c1\uff0c\u5185\u7f6e\u4e86\u70ed\u6570\u636e\u7f13\u5b58\u3001\u6c34\u5e73\u52a8\u6001\u5206\u7247\u3001\u8bfb\u5199\u5206\u79bb\u7b49\uff0c\u4f46\u8fd9\u4e5f\u9020\u6210\u4e86\u6574\u4e2a\u9879\u76ee\u975e\u5e38\u590d\u6742\u3002"),(0,o.yg)("p",null,"\u53e6\u5916\u4e00\u4e2a\u503c\u5f97\u4e00\u63d0\u7684\u662f PostgreSQL XC \u8fd9\u4e2a\u9879\u76ee\uff0c\u5176\u6574\u4f53\u7684\u67b6\u6784\u6709\u70b9\u50cf\u65e9\u671f\u7248\u672c\u7684OceanBase \uff0c\u7531\u4e00\u4e2a\u4e2d\u592e\u8282\u70b9\u6765\u5904\u7406\u534f\u8c03\u5206\u5e03\u5f0f\u4e8b\u52a1\uff0c\u6570\u636e\u5206\u6563\u5728\u5404\u4e2a\u5b58\u50a8\u8282\u70b9\u4e0a\uff0c\u5e94\u8be5\u662f\u76ee\u524d PG \u793e\u533a\u6700\u597d\u7684\u5206\u5e03\u5f0f\u6269\u5c55\u65b9\u6848\uff0c\u4e0d\u5c11\u4eba\u5728\u57fa\u4e8e\u8fd9\u4e2a\u9879\u76ee\u505a\u81ea\u5df1\u7684\u7cfb\u7edf\u3002"),(0,o.yg)("h3",{id:"\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6"},"\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6"),(0,o.yg)("p",null,"RDMS\u7684\u6551\u8d4e\u5c31\u662f\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\u4ea7\u751f\u7684\u539f\u56e0\u3002"),(0,o.yg)("h3",{id:"newsql\u7684\u53d1\u5c55"},"NewSQL\u7684\u53d1\u5c55"),(0,o.yg)("p",null,"2012 ~ 2013 \u5e74 Google \u76f8\u7ee7\u53d1\u8868\u4e86 Spanner \u548c F1 \u4e24\u5957\u7cfb\u7edf\u7684\u8bba\u6587\uff0c\u8ba9\u4e1a\u754c\u7b2c\u4e00\u6b21\u770b\u5230\u4e86\u5173\u7cfb\u6a21\u578b\u548c NoSQL \u7684\u6269\u5c55\u6027\u5728\u4e00\u4e2a\u5927\u89c4\u6a21\u751f\u4ea7\u7cfb\u7edf\u4e0a\u878d\u5408\u7684\u53ef\u80fd\u6027\u3002 Spanner \u901a\u8fc7\u4f7f\u7528\u786c\u4ef6\u8bbe\u5907\uff08 GPS \u65f6\u949f+\u539f\u5b50\u949f\uff09\u5de7\u5999\u5730\u89e3\u51b3\u65f6\u949f\u540c\u6b65\u7684\u95ee\u9898\uff0c\u800c\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u91cc\uff0c\u65f6\u949f\u6b63\u662f\u6700\u8ba9\u4eba\u5934\u75db\u7684\u95ee\u9898\u3002Spanner \u7684\u5f3a\u5927\u4e4b\u5904\u5728\u4e8e\u5373\u4f7f\u4e24\u4e2a\u6570\u636e\u4e2d\u5fc3\u9694\u5f97\u975e\u5e38\u8fdc\uff0c\u4e5f\u80fd\u4fdd\u8bc1\u901a\u8fc7TrueTime API \u83b7\u53d6\u7684\u65f6\u95f4\u8bef\u5dee\u5728\u4e00\u4e2a\u5f88\u5c0f\u7684\u8303\u56f4\u5185\uff08 10ms \uff09\uff0c\u5e76\u4e14\u4e0d\u9700\u8981\u901a\u8baf\u3002 Spanner \u7684\u5e95\u5c42\u4ecd\u7136\u57fa\u4e8e\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e0d\u8fc7\u8bba\u6587\u91cc\u4e5f\u8bf4\u662f\u53ef\u4ee5\u672a\u6765\u4f18\u5316\u7684\u70b9\u3002"),(0,o.yg)("p",null,"Google \u7684\u5185\u90e8\u7684\u6570\u636e\u5e93\u5b58\u50a8\u4e1a\u52a1\uff0c\u5927\u591a\u662f 3 ~ 5 \u526f\u672c\uff0c\u91cd\u8981\u7684\u6570\u636e\u9700\u8981 7 \u526f\u672c\uff0c\u4e14\u8fd9\u4e9b\u526f\u672c\u904d\u5e03\u5168\u7403\u5404\u5927\u6d32\u7684\u6570\u636e\u4e2d\u5fc3\uff0c\u7531\u4e8e\u666e\u904d\u4f7f\u7528\u4e86Paxos \uff0c\u5ef6\u8fdf\u662f\u53ef\u4ee5\u7f29\u77ed\u5230\u4e00\u4e2a\u53ef\u4ee5\u63a5\u53d7\u7684\u8303\u56f4(\u5199\u5165\u5ef6\u8fdf 100 ms\u4ee5\u4e0a)\uff0c\u53e6\u5916\u7531 Paxos \u5e26\u6765\u7684 Auto-Failover \u80fd\u529b\uff0c\u66f4\u662f\u8ba9\u6574\u4e2a\u96c6\u7fa4\u5373\u4f7f\u6570\u636e\u4e2d\u5fc3\u762b\u75ea\uff0c\u4e1a\u52a1\u5c42\u90fd\u662f\u900f\u660e\u65e0\u611f\u77e5\u7684\u3002 F1 \u662f\u6784\u5efa\u5728 Spanner \u4e4b\u4e0a\uff0c\u5bf9\u5916\u63d0\u4f9b\u4e86 SQL \u63a5\u53e3\uff0c F1 \u662f\u4e00\u4e2a\u5206\u5e03\u5f0f MPP SQL \u5c42\uff0c\u5176\u672c\u8eab\u5e76\u4e0d\u5b58\u50a8\u6570\u636e\uff0c\u800c\u662f\u5c06\u5ba2\u6237\u7aef\u7684 SQL \u7ffb\u8bd1\u6210\u5bf9KV \u7684\u64cd\u4f5c\uff0c\u8c03\u7528 Spanner \u6765\u5b8c\u6210\u8bf7\u6c42\u3002"),(0,o.yg)("p",null,"Spanner \u548c F1 \u7684\u51fa\u73b0\u6807\u5fd7\u7740\u7b2c\u4e00\u4e2a NewSQL \u5728\u751f\u4ea7\u73af\u5883\u4e2d\u63d0\u4f9b\u670d\u52a1\uff0c\u5c06\u4e0b\u9762\u51e0\u4e2a\u529f\u80fd\u5728\u4e00\u5957\u7cfb\u7edf\u4e2d\u63d0\u4f9b\uff1a"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"SQL \u652f\u6301"),(0,o.yg)("li",{parentName:"ol"},"ACID \u4e8b\u52a1"),(0,o.yg)("li",{parentName:"ol"},"\u6c34\u5e73\u6269\u5c55"),(0,o.yg)("li",{parentName:"ol"},"Auto Failover"),(0,o.yg)("li",{parentName:"ol"},"\u591a\u673a\u623f\u5f02\u5730\u5bb9\u707e")),(0,o.yg)("p",null,"\u6b63\u56e0\u4e3a\u5177\u5907\u5982\u6b64\u591a\u7684\u8bf1\u4eba\u7279\u6027\uff0c\u5728 Google \u5185\u90e8\uff0c\u5927\u91cf\u7684\u4e1a\u52a1\u5df2\u7ecf\u4ece\u539f\u6765\u7684 BigTable \u5207\u6362\u5230Spanner \u4e4b\u4e0a\u3002\u76f8\u4fe1\u8fd9\u5bf9\u4e1a\u754c\u7684\u601d\u8def\u4f1a\u6709\u5de8\u5927\u7684\u5f71\u54cd\uff0c\u5c31\u50cf\u5f53\u5e74\u7684 Hadoop \u4e00\u6837\uff0c Google \u7684\u57fa\u7840\u8f6f\u4ef6\u7684\u6280\u672f\u8d8b\u52bf\u662f\u8d70\u5728\u793e\u533a\u524d\u9762\u7684\u3002\nSpanner/F1 \u8bba\u6587\u5f15\u8d77\u4e86\u793e\u533a\u7684\u5e7f\u6cdb\u7684\u5173\u6ce8\uff0c\u5f88\u5feb\u5f00\u59cb\u51fa\u73b0\u4e86\u8ffd\u968f\u8005\u3002\u7b2c\u4e00\u4e2a\u56e2\u961f\u662fCockroachLabs \u505a\u7684 CockroachDB \u3002 CockroachDB \u7684\u8bbe\u8ba1\u548c Spanner \u5f88\u50cf\uff0c\u4f46\u662f\u6ca1\u6709\u9009\u62e9 TrueTime API \uff0c\u800c\u662f\u4f7f\u7528 HLC\uff08 Hybrid logical clock \uff09\uff0c\u4e5f\u5c31\u662f NTP +\u903b\u8f91\u65f6\u949f\u6765\u4ee3\u66ff TrueTime \u65f6\u95f4\u6233\uff0c\u53e6\u5916 CockroachDB \u9009\u7528 Raft \u505a\u6570\u636e\u590d\u5236\u534f\u8bae\uff0c\u5e95\u5c42\u5b58\u50a8\u843d\u5730\u5728RocksDB \u4e2d\uff0c\u5bf9\u5916\u7684\u63a5\u53e3\u9009\u62e9\u4e86 PG \u534f\u8bae\u3002"),(0,o.yg)("p",null,"CockroachDB \u7684\u6280\u672f\u9009\u578b\u6bd4\u8f83\u6fc0\u8fdb\uff0c\u6bd4\u5982\u4f9d\u8d56\u4e86 HLC \u6765\u505a\u4e8b\u52a1\uff0c\u65f6\u95f4\u6233\u7684\u7cbe\u786e\u5ea6\u5e76\u6ca1\u6709\u529e\u6cd5\u505a\u5230 10 ms\u5185\u7684\u5ef6\u8fdf\uff0c\u6240\u4ee5 Commit Wait \u9700\u8981\u7528\u6237\u81ea\u5df1\u6307\u5b9a\uff0c\u5176\u9009\u62e9\u53d6\u51b3\u4e8e\u7528\u6237\u7684 NTP \u670d\u52a1\u65f6\u949f\u8bef\u5dee\uff0c\u8fd9\u70b9\u5bf9\u4e8e\u7528\u6237\u6765\u8bf4\u975e\u5e38\u4e0d\u53cb\u597d\u3002\u5f53\u7136 CockroachDB \u7684\u8fd9\u4e9b\u6280\u672f\u9009\u62e9\u4e5f\u5e26\u6765\u4e86\u5f88\u597d\u7684\u6613\u7528\u6027\uff0c\u6240\u6709\u903b\u8f91\u90fd\u5728\u4e00\u4e2a\u7ec4\u4ef6\u4e2d\uff0c\u90e8\u7f72\u975e\u5e38\u7b80\u5355\uff0c\u8fd9\u4e2a\u662f\u975e\u5e38\u5927\u7684\u4f18\u70b9\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b39354b4.ed63e897.js b/assets/js/b39354b4.366ce861.js similarity index 98% rename from assets/js/b39354b4.ed63e897.js rename to assets/js/b39354b4.366ce861.js index 137487916..7b0cc53c8 100644 --- a/assets/js/b39354b4.ed63e897.js +++ b/assets/js/b39354b4.366ce861.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3011],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>g});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),i=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=i(r),y=o,g=s["".concat(u,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(g,c(c({ref:t},p),{},{components:r})):n.createElement(g,c({ref:t},p))}));function g(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,c[1]=l;for(var i=2;i{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},c="\u5fae\u670d\u52a1",l={unversionedId:"study/back/springcloud/\u5fae\u670d\u52a1",id:"study/back/springcloud/\u5fae\u670d\u52a1",title:"\u5fae\u670d\u52a1",description:"\u5fae\u670d\u52a1\u662f\u5206\u5e03\u5f0f\u67b6\u6784\u7684\u4e00\u79cd\uff1b",source:"@site/docs/study/back/springcloud/\u5fae\u670d\u52a1.md",sourceDirName:"study/back/springcloud",slug:"/study/back/springcloud/\u5fae\u670d\u52a1",permalink:"/docs/study/back/springcloud/\u5fae\u670d\u52a1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"nacos",permalink:"/docs/study/back/springcloud/nacos"},next:{title:"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",permalink:"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"}},u={},i=[],p={toc:i},s="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(s,(0,n.A)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5fae\u670d\u52a1"},"\u5fae\u670d\u52a1"),(0,o.yg)("p",null,"\u5fae\u670d\u52a1\u662f\u5206\u5e03\u5f0f\u67b6\u6784\u7684\u4e00\u79cd\uff1b"),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u662f\u76f8\u5bf9\u5355\u4f53\u67b6\u6784\u6765\u8bf4\u7684\u3002"),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u76f8\u5bf9\u4e8e\u5355\u4f53\u67b6\u6784\u662f\u590d\u6742\u7684\uff0c\u5355\u4f53\u67b6\u6784\u8026\u5408\u591a\u5f88\u9ad8\uff0c\u9002\u7528\u4e8e\u7cfb\u7edf\u76f8\u5bf9\u7b80\u5355\uff0c\u4e1a\u52a1\u76f8\u5bf9\u5355\u4e00\u7684\u573a\u666f\u3002"),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u76f8\u5bf9\u4e8e\u5206\u5e03\u5f0f\u67b6\u6784\u6765\u8bf4\uff0c\u8026\u5408\u6027\u4f4e\uff0c\u76f8\u5bf9\u72ec\u7acb\uff0c\u9002\u7528\u4e8e\u7cfb\u7edf\u76f8\u5bf9\u590d\u6742\uff0c\u4e1a\u52a1\u76f8\u5bf9\u591a\u5143\u7684\u573a\u666f\u3002"),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u9700\u8981\u8003\u8651\u7684\u95ee\u9898\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u62c6\u5206\u7684\u7c92\u5ea6\u5982\u4f55\uff1f\u4e0d\u80fd\u592a\u5c0f\uff0c\u4e5f\u4e0d\u80fd\u592a\u5927\uff0c\u603b\u4f53\u6765\u8bf4\uff0c\u5148\u5927\u540e\u5c0f\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u96c6\u7fa4\u7684\u5730\u5740\u5982\u4f55\u7ef4\u62a4\uff1f\u5c31\u662f\u4e0a\u6ce8\u518c\u4e2d\u5fc3\u4e86\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u4e4b\u95f4\u5982\u4f55\u901a\u4fe1\uff1fHTTP\u3001RPC\u3001\u6d88\u606f\u961f\u5217\u7b49\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u4e4b\u95f4\u5982\u4f55\u5bb9\u9519\uff1f\u670d\u52a1\u964d\u7ea7\u3001\u670d\u52a1\u7194\u65ad\u3001\u670d\u52a1\u9650\u6d41\u7b49\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u5065\u5eb7\u72b6\u6001\u5982\u4f55\u611f\u77e5\uff1f")),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u6709\u5f88\u591a\uff0c\u5176\u4e2d\u5305\u62ec WebService\u3001ESB\u3001Hession\u3001Dubbo\u3001SpringCloud\u3001gRPC \u7b49\uff1b"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"dubbo-springcloud",src:r(2553).A,width:"1658",height:"760"})))}d.isMDXComponent=!0},2553:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/dubbo-springcloud-cf680105829f6856647fe66b35a848f6.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3011],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>g});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),i=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=i(r),y=o,g=s["".concat(u,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(g,c(c({ref:t},p),{},{components:r})):n.createElement(g,c({ref:t},p))}));function g(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,c[1]=l;for(var i=2;i{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const a={},c="\u5fae\u670d\u52a1",l={unversionedId:"study/back/springcloud/\u5fae\u670d\u52a1",id:"study/back/springcloud/\u5fae\u670d\u52a1",title:"\u5fae\u670d\u52a1",description:"\u5fae\u670d\u52a1\u662f\u5206\u5e03\u5f0f\u67b6\u6784\u7684\u4e00\u79cd\uff1b",source:"@site/docs/study/back/springcloud/\u5fae\u670d\u52a1.md",sourceDirName:"study/back/springcloud",slug:"/study/back/springcloud/\u5fae\u670d\u52a1",permalink:"/docs/study/back/springcloud/\u5fae\u670d\u52a1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"nacos",permalink:"/docs/study/back/springcloud/nacos"},next:{title:"\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5",permalink:"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5"}},u={},i=[],p={toc:i},s="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(s,(0,n.A)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u5fae\u670d\u52a1"},"\u5fae\u670d\u52a1"),(0,o.yg)("p",null,"\u5fae\u670d\u52a1\u662f\u5206\u5e03\u5f0f\u67b6\u6784\u7684\u4e00\u79cd\uff1b"),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u662f\u76f8\u5bf9\u5355\u4f53\u67b6\u6784\u6765\u8bf4\u7684\u3002"),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u76f8\u5bf9\u4e8e\u5355\u4f53\u67b6\u6784\u662f\u590d\u6742\u7684\uff0c\u5355\u4f53\u67b6\u6784\u8026\u5408\u591a\u5f88\u9ad8\uff0c\u9002\u7528\u4e8e\u7cfb\u7edf\u76f8\u5bf9\u7b80\u5355\uff0c\u4e1a\u52a1\u76f8\u5bf9\u5355\u4e00\u7684\u573a\u666f\u3002"),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u76f8\u5bf9\u4e8e\u5206\u5e03\u5f0f\u67b6\u6784\u6765\u8bf4\uff0c\u8026\u5408\u6027\u4f4e\uff0c\u76f8\u5bf9\u72ec\u7acb\uff0c\u9002\u7528\u4e8e\u7cfb\u7edf\u76f8\u5bf9\u590d\u6742\uff0c\u4e1a\u52a1\u76f8\u5bf9\u591a\u5143\u7684\u573a\u666f\u3002"),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u9700\u8981\u8003\u8651\u7684\u95ee\u9898\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u62c6\u5206\u7684\u7c92\u5ea6\u5982\u4f55\uff1f\u4e0d\u80fd\u592a\u5c0f\uff0c\u4e5f\u4e0d\u80fd\u592a\u5927\uff0c\u603b\u4f53\u6765\u8bf4\uff0c\u5148\u5927\u540e\u5c0f\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u96c6\u7fa4\u7684\u5730\u5740\u5982\u4f55\u7ef4\u62a4\uff1f\u5c31\u662f\u4e0a\u6ce8\u518c\u4e2d\u5fc3\u4e86\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u4e4b\u95f4\u5982\u4f55\u901a\u4fe1\uff1fHTTP\u3001RPC\u3001\u6d88\u606f\u961f\u5217\u7b49\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u4e4b\u95f4\u5982\u4f55\u5bb9\u9519\uff1f\u670d\u52a1\u964d\u7ea7\u3001\u670d\u52a1\u7194\u65ad\u3001\u670d\u52a1\u9650\u6d41\u7b49\uff1b"),(0,o.yg)("li",{parentName:"ul"},"\u670d\u52a1\u5065\u5eb7\u72b6\u6001\u5982\u4f55\u611f\u77e5\uff1f")),(0,o.yg)("p",null,"\u5206\u5e03\u5f0f\u67b6\u6784\u6709\u5f88\u591a\uff0c\u5176\u4e2d\u5305\u62ec WebService\u3001ESB\u3001Hession\u3001Dubbo\u3001SpringCloud\u3001gRPC \u7b49\uff1b"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"dubbo-springcloud",src:r(2553).A,width:"1658",height:"760"})))}d.isMDXComponent=!0},2553:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/dubbo-springcloud-cf680105829f6856647fe66b35a848f6.png"}}]); \ No newline at end of file diff --git a/assets/js/b4a7dd16.586d3138.js b/assets/js/b4a7dd16.1cf84523.js similarity index 98% rename from assets/js/b4a7dd16.586d3138.js rename to assets/js/b4a7dd16.1cf84523.js index e8109f08b..5c6bc961b 100644 --- a/assets/js/b4a7dd16.586d3138.js +++ b/assets/js/b4a7dd16.1cf84523.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[720],{15680:(e,r,t)=>{t.d(r,{xA:()=>s,yg:()=>g});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),c=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},s=function(e){var r=c(e.components);return n.createElement(i.Provider,{value:r},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=c(t),y=a,g=u["".concat(i,".").concat(y)]||u[y]||d[y]||o;return t?n.createElement(g,l(l({ref:r},s),{},{components:t})):n.createElement(g,l({ref:r},s))}));function g(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var p={};for(var i in r)hasOwnProperty.call(r,i)&&(p[i]=r[i]);p.originalType=e,p[u]="string"==typeof e?e:a,l[1]=p;for(var c=2;c{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>c});var n=t(58168),a=(t(96540),t(15680));const o={},l="Erlang",p={unversionedId:"study/program/Erlang/index",id:"study/program/Erlang/index",title:"Erlang",description:"\u7b80\u4ecb",source:"@site/docs/study/program/Erlang/index.md",sourceDirName:"study/program/Erlang",slug:"/study/program/Erlang/",permalink:"/docs/study/program/Erlang/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"sqoop",permalink:"/docs/study/program/ETL/sqoop"},next:{title:"GIT-\u5e38\u7528\u547d\u4ee4",permalink:"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4"}},i={},c=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:c},u="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(u,(0,n.A)({},s,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"erlang"},"Erlang"),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"Erlang \u7684\u8bbe\u8ba1\u76ee\u6807\u975e\u5e38\u660e\u786e\uff0c\u5c31\u662f\u4e13\u95e8\u4e3a\u5927\u578b\u7684\u7535\u4fe1\u7cfb\u7edf\u8bbe\u8ba1\u3002\n\u6240\u4ee5\u5b83\u7684\u5e94\u7528\u573a\u666f\u548c\u8bbe\u8ba1\u9700\u6c42\u5c31\u662f\u7535\u4fe1\u9886\u57df\u91cc\u9700\u8981\u89e3\u51b3\u7684\u95ee\u9898\u3002\n\u4e3b\u8981\u662f\u4e09\u4e2a\uff1a ",(0,a.yg)("strong",{parentName:"p"},"\u9ad8\u5e76\u53d1"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u9ad8\u5bb9\u9519"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u8f6f\u5b9e\u65f6"),"\u3002\u7535\u4fe1\u7cfb\u7edf\u8d1f\u8f7d\u975e\u5e38\u5927\uff0c\u9700\u8981\u540c\u65f6\u670d\u52a1\u5927\u91cf\u7528\u6237\u7684\u80fd\u529b\uff1b\u540c\u65f6\u4e0d\u5141\u8bb8\u51fa\u9519\uff0c\u7535\u8bdd\u9891\u7e41\u6389\u7ebf\u4f1a\u5f88\u5feb\u628a\u5ba2\u6237\u8d76\u5230\u7ade\u4e89\u5bf9\u624b\u90a3\u8fb9\uff1b\u518d\u8005\uff0c\u5373\u4fbf\u67d0\u4e2a\u901a\u8bdd\u518d\u7e41\u5fd9\u4e5f\u4e0d\u80fd\u5f71\u54cd\u5176\u4ed6\u901a\u8bdd\u7684\u6b63\u5e38\u8fdb\u884c\uff0c\u5230\u6280\u672f\u5c42\u9762\u5c31\u662f\uff0c\u4e0d\u80fd\u56e0\u4e3a\u67d0\u4e2a\u4efb\u52a1\u5f88\u91cd\uff0c\u5c31\u628a\u5176\u4ed6\u7684\u4efb\u52a1\u7684\u8d44\u6e90\u90fd\u5360\u7528\u4e86\uff0cwhile loop \u5360\u7528 100% CPU \u662f\u7edd\u5bf9\u4e0d\u5141\u8bb8\u7684\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/b45eb9314d1e"},"30 \u5206\u949f\u5b66 Erlang (\u4e00)"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[720],{15680:(e,r,t)=>{t.d(r,{xA:()=>s,yg:()=>g});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=n.createContext({}),c=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},s=function(e){var r=c(e.components);return n.createElement(i.Provider,{value:r},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=c(t),y=a,g=u["".concat(i,".").concat(y)]||u[y]||d[y]||o;return t?n.createElement(g,l(l({ref:r},s),{},{components:t})):n.createElement(g,l({ref:r},s))}));function g(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var p={};for(var i in r)hasOwnProperty.call(r,i)&&(p[i]=r[i]);p.originalType=e,p[u]="string"==typeof e?e:a,l[1]=p;for(var c=2;c{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>c});var n=t(58168),a=(t(96540),t(15680));const o={},l="Erlang",p={unversionedId:"study/program/Erlang/index",id:"study/program/Erlang/index",title:"Erlang",description:"\u7b80\u4ecb",source:"@site/docs/study/program/Erlang/index.md",sourceDirName:"study/program/Erlang",slug:"/study/program/Erlang/",permalink:"/docs/study/program/Erlang/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"sqoop",permalink:"/docs/study/program/ETL/sqoop"},next:{title:"GIT-\u5e38\u7528\u547d\u4ee4",permalink:"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4"}},i={},c=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:c},u="wrapper";function d(e){let{components:r,...t}=e;return(0,a.yg)(u,(0,n.A)({},s,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"erlang"},"Erlang"),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"Erlang \u7684\u8bbe\u8ba1\u76ee\u6807\u975e\u5e38\u660e\u786e\uff0c\u5c31\u662f\u4e13\u95e8\u4e3a\u5927\u578b\u7684\u7535\u4fe1\u7cfb\u7edf\u8bbe\u8ba1\u3002\n\u6240\u4ee5\u5b83\u7684\u5e94\u7528\u573a\u666f\u548c\u8bbe\u8ba1\u9700\u6c42\u5c31\u662f\u7535\u4fe1\u9886\u57df\u91cc\u9700\u8981\u89e3\u51b3\u7684\u95ee\u9898\u3002\n\u4e3b\u8981\u662f\u4e09\u4e2a\uff1a ",(0,a.yg)("strong",{parentName:"p"},"\u9ad8\u5e76\u53d1"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u9ad8\u5bb9\u9519"),"\u3001",(0,a.yg)("strong",{parentName:"p"},"\u8f6f\u5b9e\u65f6"),"\u3002\u7535\u4fe1\u7cfb\u7edf\u8d1f\u8f7d\u975e\u5e38\u5927\uff0c\u9700\u8981\u540c\u65f6\u670d\u52a1\u5927\u91cf\u7528\u6237\u7684\u80fd\u529b\uff1b\u540c\u65f6\u4e0d\u5141\u8bb8\u51fa\u9519\uff0c\u7535\u8bdd\u9891\u7e41\u6389\u7ebf\u4f1a\u5f88\u5feb\u628a\u5ba2\u6237\u8d76\u5230\u7ade\u4e89\u5bf9\u624b\u90a3\u8fb9\uff1b\u518d\u8005\uff0c\u5373\u4fbf\u67d0\u4e2a\u901a\u8bdd\u518d\u7e41\u5fd9\u4e5f\u4e0d\u80fd\u5f71\u54cd\u5176\u4ed6\u901a\u8bdd\u7684\u6b63\u5e38\u8fdb\u884c\uff0c\u5230\u6280\u672f\u5c42\u9762\u5c31\u662f\uff0c\u4e0d\u80fd\u56e0\u4e3a\u67d0\u4e2a\u4efb\u52a1\u5f88\u91cd\uff0c\u5c31\u628a\u5176\u4ed6\u7684\u4efb\u52a1\u7684\u8d44\u6e90\u90fd\u5360\u7528\u4e86\uff0cwhile loop \u5360\u7528 100% CPU \u662f\u7edd\u5bf9\u4e0d\u5141\u8bb8\u7684\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/b45eb9314d1e"},"30 \u5206\u949f\u5b66 Erlang (\u4e00)"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b6694e92.24f9c48d.js b/assets/js/b6694e92.f848ccdd.js similarity index 98% rename from assets/js/b6694e92.24f9c48d.js rename to assets/js/b6694e92.f848ccdd.js index 78798ce12..e1df4128a 100644 --- a/assets/js/b6694e92.24f9c48d.js +++ b/assets/js/b6694e92.f848ccdd.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9624],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,d=s["".concat(l,".").concat(y)]||s[y]||f[y]||o;return r?n.createElement(d,i(i({ref:t},u),{},{components:r})):n.createElement(d,i({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:a,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>f,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},i=void 0,c={unversionedId:"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",id:"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",title:"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",description:"\u5f00\u6e90\u9879\u76ee",source:"@site/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0.md",sourceDirName:"study/fe",slug:"/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",permalink:"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4e0b\u8f7d\u56fe\u7247",permalink:"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/back/"}},l={},p=[{value:"\u5f00\u6e90\u9879\u76ee",id:"\u5f00\u6e90\u9879\u76ee",level:3}],u={toc:p},s="wrapper";function f(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5f00\u6e90\u9879\u76ee"},"\u5f00\u6e90\u9879\u76ee"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://gitee.com/xiaopujun/light-chaser"},"light-chaser")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://gitee.com/anji-plus/report"},"AJ-Report")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://gitee.com/dromara/go-view"},"go-view"))))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9624],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,d=s["".concat(l,".").concat(y)]||s[y]||f[y]||o;return r?n.createElement(d,i(i({ref:t},u),{},{components:r})):n.createElement(d,i({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:a,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>f,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},i=void 0,c={unversionedId:"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",id:"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",title:"\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",description:"\u5f00\u6e90\u9879\u76ee",source:"@site/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0.md",sourceDirName:"study/fe",slug:"/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",permalink:"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4e0b\u8f7d\u56fe\u7247",permalink:"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/back/"}},l={},p=[{value:"\u5f00\u6e90\u9879\u76ee",id:"\u5f00\u6e90\u9879\u76ee",level:3}],u={toc:p},s="wrapper";function f(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5f00\u6e90\u9879\u76ee"},"\u5f00\u6e90\u9879\u76ee"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://gitee.com/xiaopujun/light-chaser"},"light-chaser")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://gitee.com/anji-plus/report"},"AJ-Report")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://gitee.com/dromara/go-view"},"go-view"))))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b748eaf7.d5647985.js b/assets/js/b748eaf7.3e6b3f92.js similarity index 98% rename from assets/js/b748eaf7.d5647985.js rename to assets/js/b748eaf7.3e6b3f92.js index 95d70ca42..473de5b62 100644 --- a/assets/js/b748eaf7.d5647985.js +++ b/assets/js/b748eaf7.3e6b3f92.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8073],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241101",id:"study/stock/20241101",title:"20241101",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241101.md",sourceDirName:"study/stock",slug:"/study/stock/20241101",permalink:"/docs/study/stock/20241101",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u672c\u6708\u7b2c\u4e00\u5929"),(0,o.yg)("p",null,"\u7b2c\u4e00\u5929\u5c31\u5e9f\u4e86\uff0c\u6ca1\u6709\u6309\u7167\u8ba1\u5212\u7684\u6765\uff0c\u4eca\u5929\u5927\u8dcc\u5440\uff0c\u5feb\u8dcc\u5012\u627f\u53d7\u4e0d\u4f4f\u7684\u8303\u56f4\u4e86"),(0,o.yg)("p",null,"\u4e0b\u5468\u4e00"),(0,o.yg)("p",null,"\u4e0b\u5348\u65e0\u8bba\u5982\u4f55\uff0c\u5168\u90e8\u6e05\u4ed3\uff0c\u5148\u4f11\u606f\u4f11\u606f"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8073],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241101",id:"study/stock/20241101",title:"20241101",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241101.md",sourceDirName:"study/stock",slug:"/study/stock/20241101",permalink:"/docs/study/stock/20241101",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u672c\u6708\u7b2c\u4e00\u5929"),(0,o.yg)("p",null,"\u7b2c\u4e00\u5929\u5c31\u5e9f\u4e86\uff0c\u6ca1\u6709\u6309\u7167\u8ba1\u5212\u7684\u6765\uff0c\u4eca\u5929\u5927\u8dcc\u5440\uff0c\u5feb\u8dcc\u5012\u627f\u53d7\u4e0d\u4f4f\u7684\u8303\u56f4\u4e86"),(0,o.yg)("p",null,"\u4e0b\u5468\u4e00"),(0,o.yg)("p",null,"\u4e0b\u5348\u65e0\u8bba\u5982\u4f55\uff0c\u5168\u90e8\u6e05\u4ed3\uff0c\u5148\u4f11\u606f\u4f11\u606f"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b8323c1b.ea57bf6c.js b/assets/js/b8323c1b.7b29588e.js similarity index 99% rename from assets/js/b8323c1b.ea57bf6c.js rename to assets/js/b8323c1b.7b29588e.js index 3b2da6a6a..df001ad19 100644 --- a/assets/js/b8323c1b.ea57bf6c.js +++ b/assets/js/b8323c1b.7b29588e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1073],{15680:(e,n,t)=>{t.d(n,{xA:()=>m,yg:()=>c});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=r.createContext({}),g=function(e){var n=r.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},m=function(e){var n=g(e.components);return r.createElement(p.Provider,{value:n},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},C=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,i=e.originalType,p=e.parentName,m=o(e,["components","mdxType","originalType","parentName"]),y=g(t),C=a,c=y["".concat(p,".").concat(C)]||y[C]||s[C]||i;return t?r.createElement(c,l(l({ref:n},m),{},{components:t})):r.createElement(c,l({ref:n},m))}));function c(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var i=t.length,l=new Array(i);l[0]=C;var o={};for(var p in n)hasOwnProperty.call(n,p)&&(o[p]=n[p]);o.originalType=e,o[y]="string"==typeof e?e:a,l[1]=o;for(var g=2;g{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>o,toc:()=>g});var r=t(58168),a=(t(96540),t(15680));const i={},l=void 0,o={unversionedId:"study/program/C/C\u8bed\u8a00\u7248\u672c",id:"study/program/C/C\u8bed\u8a00\u7248\u672c",title:"C\u8bed\u8a00\u7248\u672c",description:"1. K&R C\uff08\u7ecf\u5178C\uff09",source:"@site/docs/study/program/C/C\u8bed\u8a00\u7248\u672c.md",sourceDirName:"study/program/C",slug:"/study/program/C/C\u8bed\u8a00\u7248\u672c",permalink:"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C\u8bed\u8a00\u6807\u51c6\u5e93",permalink:"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93"},next:{title:"MFC-WinForm-WPF-DotNet\u7b49",permalink:"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49"}},p={},g=[],m={toc:g},y="wrapper";function s(e){let{components:n,...t}=e;return(0,a.yg)(y,(0,r.A)({},m,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"K&R C\uff08\u7ecf\u5178C\uff09"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a\u8fd9\u662fC\u8bed\u8a00\u6700\u521d\u7684\u7248\u672c\u5f62\u5f0f\uff0c\u56e0\u300aC\u7a0b\u5e8f\u8bbe\u8ba1\u8bed\u8a00\u300b\uff08The C Programming Language\uff09\u8fd9\u672c\u4e66\u800c\u5f97\u540d\uff0c\u4f5c\u8005\u662fBrian Kernighan\u548cDennis Ritchie\uff08C\u8bed\u8a00\u7684\u521b\u9020\u8005\uff09\u3002\u8fd9\u672c\u4e66\u7b2c\u4e00\u7248\u57281978\u5e74\u51fa\u7248\uff0c\u5176\u4e2d\u63cf\u8ff0\u7684C\u8bed\u8a00\u7248\u672c\u5c31\u662fK&R C\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u51fd\u6570\u53c2\u6570\u7684\u58f0\u660e\u65b9\u5f0f\u6bd4\u8f83\u7b80\u5355\uff0c\u4f8b\u5982\u53ef\u4ee5\u5199\u6210",(0,a.yg)("inlineCode",{parentName:"li"},"int func(a, b)"),"\uff0c\u7f16\u8bd1\u5668\u4f1a\u9ed8\u8ba4",(0,a.yg)("inlineCode",{parentName:"li"},"a"),"\u548c",(0,a.yg)("inlineCode",{parentName:"li"},"b"),"\u4e3a",(0,a.yg)("inlineCode",{parentName:"li"},"int"),"\u7c7b\u578b\u3002\u8fd9\u79cd\u58f0\u660e\u65b9\u5f0f\u5728\u73b0\u4ee3C\u6807\u51c6\u4e2d\u5df2\u7ecf\u4e0d\u63d0\u5021\u3002\u5b83\u6ca1\u6709",(0,a.yg)("inlineCode",{parentName:"li"},"const"),"\u5173\u952e\u5b57\u7528\u4e8e\u5b9a\u4e49\u5e38\u91cf\uff0c\u4e5f\u7f3a\u4e4f\u4e00\u4e9b\u73b0\u4ee3\u7684\u7c7b\u578b\u68c0\u67e5\u673a\u5236\u3002\u4f46\u5728\u5f53\u65f6\uff0c\u4e3aC\u8bed\u8a00\u7684\u5e7f\u6cdb\u5e94\u7528\u5960\u5b9a\u4e86\u57fa\u7840\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C89\uff08ANSI C\uff09"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a1983\u5e74\uff0c\u7f8e\u56fd\u56fd\u5bb6\u6807\u51c6\u534f\u4f1a\uff08ANSI\uff09\u6210\u7acb\u4e86\u4e00\u4e2a\u59d4\u5458\u4f1a\u6765\u5236\u5b9aC\u8bed\u8a00\u7684\u6807\u51c6\uff0c1989\u5e74\uff0cC\u8bed\u8a00\u7684\u7b2c\u4e00\u4e2aANSI\u6807\u51c6\uff08ANSI X3.159 - 1989\uff09\u53d1\u5e03\uff0c\u8fd9\u4e2a\u6807\u51c6\u4e5f\u88ab\u56fd\u9645\u6807\u51c6\u5316\u7ec4\u7ec7\uff08ISO\uff09\u91c7\u7eb3\uff0c\u79f0\u4e3aISO C89\u3002\u8fd9\u662fC\u8bed\u8a00\u53d1\u5c55\u5386\u7a0b\u4e2d\u7684\u4e00\u4e2a\u91cd\u8981\u91cc\u7a0b\u7891\uff0c\u4f7f\u5f97C\u8bed\u8a00\u5728\u4e0d\u540c\u7684\u7f16\u8bd1\u5668\u548c\u5e73\u53f0\u4e0a\u6709\u4e86\u7edf\u4e00\u7684\u89c4\u8303\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u5f15\u5165\u4e86\u51fd\u6570\u539f\u578b\u58f0\u660e\uff0c\u8981\u6c42\u5728\u51fd\u6570\u58f0\u660e\u65f6\u660e\u786e\u6307\u5b9a\u53c2\u6570\u7684\u7c7b\u578b\uff0c\u5982",(0,a.yg)("inlineCode",{parentName:"li"},"int func(int a, int b)"),"\u3002\u589e\u52a0\u4e86",(0,a.yg)("inlineCode",{parentName:"li"},"const"),"\u548c",(0,a.yg)("inlineCode",{parentName:"li"},"volatile"),"\u5173\u952e\u5b57\uff0c",(0,a.yg)("inlineCode",{parentName:"li"},"const"),"\u7528\u4e8e\u5b9a\u4e49\u5e38\u91cf\uff0c",(0,a.yg)("inlineCode",{parentName:"li"},"volatile"),"\u7528\u4e8e\u544a\u8bc9\u7f16\u8bd1\u5668\u53d8\u91cf\u7684\u503c\u53ef\u80fd\u4f1a\u5728\u7a0b\u5e8f\u6267\u884c\u8fc7\u7a0b\u4e2d\u88ab\u5916\u90e8\u56e0\u7d20\uff08\u5982\u786c\u4ef6\u8bbe\u5907\uff09\u6539\u53d8\uff0c\u4ece\u800c\u907f\u514d\u7f16\u8bd1\u5668\u8fc7\u5ea6\u4f18\u5316\u3002\u540c\u65f6\uff0c\u5b9a\u4e49\u4e86\u6807\u51c6\u5e93\uff0c\u5305\u62ec\u5e38\u89c1\u7684\u8f93\u5165\u8f93\u51fa\u51fd\u6570\uff08\u5982",(0,a.yg)("inlineCode",{parentName:"li"},"stdio.h"),"\u4e2d\u7684",(0,a.yg)("inlineCode",{parentName:"li"},"printf"),"\u548c",(0,a.yg)("inlineCode",{parentName:"li"},"scanf"),"\uff09\u3001\u5b57\u7b26\u4e32\u5904\u7406\u51fd\u6570\uff08\u5982",(0,a.yg)("inlineCode",{parentName:"li"},"string.h"),"\u4e2d\u7684",(0,a.yg)("inlineCode",{parentName:"li"},"strcpy"),"\u548c",(0,a.yg)("inlineCode",{parentName:"li"},"strcat"),"\uff09\u7b49\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C99"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a1999\u5e74\uff0cISO\u53d1\u5e03\u4e86C99\u6807\u51c6\u3002\u8fd9\u4e2a\u6807\u51c6\u662f\u5728C89\u7684\u57fa\u7840\u4e0a\u8fdb\u884c\u4e86\u6269\u5145\u548c\u6539\u8fdb\uff0c\u4ee5\u9002\u5e94\u5f53\u65f6\u8f6f\u4ef6\u5f00\u53d1\u7684\u65b0\u9700\u6c42\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u65b0\u589e\u4e86\u4e00\u4e9b\u6570\u636e\u7c7b\u578b\uff0c\u5982",(0,a.yg)("inlineCode",{parentName:"li"},"long long int"),"\u7528\u4e8e\u8868\u793a\u66f4\u5927\u8303\u56f4\u7684\u6574\u6570\u3002\u652f\u6301\u53ef\u53d8\u957f\u6570\u7ec4\uff08VLA\uff0cVariable - Length Array\uff09\uff0c\u4f8b\u5982",(0,a.yg)("inlineCode",{parentName:"li"},'int n; scanf("%d", &n); int arr[n];'),"\uff0c\u6570\u7ec4",(0,a.yg)("inlineCode",{parentName:"li"},"arr"),"\u7684\u5927\u5c0f\u53ef\u4ee5\u6839\u636e\u53d8\u91cf",(0,a.yg)("inlineCode",{parentName:"li"},"n"),"\u7684\u503c\u52a8\u6001\u786e\u5b9a\u3002\u540c\u65f6\uff0c\u589e\u5f3a\u4e86\u6570\u5b66\u5e93\u51fd\u6570\uff0c\u589e\u52a0\u4e86\u5bf9\u590d\u6570\u7684\u652f\u6301\uff0c\u5728\u5934\u6587\u4ef6",(0,a.yg)("inlineCode",{parentName:"li"},""),"\u4e2d\u5b9a\u4e49\u4e86\u590d\u6570\u7c7b\u578b\u548c\u76f8\u5173\u7684\u8fd0\u7b97\u51fd\u6570\u3002\u8fd8\u6539\u8fdb\u4e86\u9884\u5904\u7406\u6307\u4ee4\uff0c\u5982\u652f\u6301",(0,a.yg)("inlineCode",{parentName:"li"},"//"),"\u4f5c\u4e3a\u5355\u884c\u6ce8\u91ca\uff0c\u5c31\u50cfC++\u8bed\u8a00\u4e00\u6837\uff0c\u8fd9\u4f7f\u5f97\u4ee3\u7801\u6ce8\u91ca\u66f4\u52a0\u65b9\u4fbf\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C11"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a2011\u5e74\uff0cISO\u53d1\u5e03\u4e86C11\u6807\u51c6\u3002\u8fd9\u4e00\u7248\u6807\u51c6\u8fdb\u4e00\u6b65\u5b8c\u5584\u4e86C\u8bed\u8a00\uff0c\u4ee5\u9002\u5e94\u73b0\u4ee3\u8ba1\u7b97\u673a\u7cfb\u7edf\u548c\u8f6f\u4ef6\u5f00\u53d1\u7684\u53d8\u5316\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u589e\u52a0\u4e86\u591a\u7ebf\u7a0b\u652f\u6301\uff0c\u901a\u8fc7",(0,a.yg)("inlineCode",{parentName:"li"},""),"\u5934\u6587\u4ef6\u63d0\u4f9b\u4e86\u7ebf\u7a0b\u521b\u5efa\u3001\u540c\u6b65\u7b49\u76f8\u5173\u7684\u51fd\u6570\u548c\u7c7b\u578b\u5b9a\u4e49\u3002\u5f15\u5165\u4e86\u539f\u5b50\u64cd\u4f5c\u7c7b\u578b\u548c\u51fd\u6570\uff0c\u7528\u4e8e\u5728\u591a\u7ebf\u7a0b\u73af\u5883\u4e0b\u5b89\u5168\u5730\u8bbf\u95ee\u548c\u4fee\u6539\u5171\u4eab\u53d8\u91cf\uff0c\u8fd9\u4e9b\u5185\u5bb9\u5728",(0,a.yg)("inlineCode",{parentName:"li"},""),"\u4e2d\u6709\u8be6\u7ec6\u89c4\u5b9a\u3002\u540c\u65f6\uff0c\u6539\u8fdb\u4e86\u5185\u5b58\u5bf9\u9f50\u76f8\u5173\u7684\u5185\u5bb9\uff0c\u5e76\u4e14\u5bf9\u4e00\u4e9b\u8fb9\u754c\u60c5\u51b5\u548c\u9519\u8bef\u5904\u7406\u8fdb\u884c\u4e86\u66f4\u7ec6\u81f4\u7684\u89c4\u8303\uff0c\u4f7f\u5f97C\u8bed\u8a00\u5728\u5b89\u5168\u6027\u548c\u53ef\u9760\u6027\u65b9\u9762\u6709\u4e86\u8fdb\u4e00\u6b65\u63d0\u5347\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C17\uff08C18\uff09"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1aC17\uff08\u6709\u65f6\u4e5f\u79f0\u4e3aC18\uff0c\u56e0\u4e3aISO/IEC 9899:2018\u4e3b\u8981\u662fC17\u7684\u52d8\u8bef\u4fee\u6b63\uff09\u662fC\u8bed\u8a00\u6807\u51c6\u7684\u8f83\u65b0\u7248\u672c\u3002\u5b83\u4e3b\u8981\u662f\u5bf9C11\u6807\u51c6\u8fdb\u884c\u4e86\u4e00\u4e9b\u5c0f\u7684\u4fee\u6b63\u548c\u6f84\u6e05\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u4fee\u6b63\u4e86C11\u6807\u51c6\u4e2d\u7684\u4e00\u4e9b\u6587\u6863\u9519\u8bef\u548c\u6a21\u7cca\u4e4b\u5904\uff0c\u4f7f\u5f97\u6807\u51c6\u66f4\u52a0\u7cbe\u786e\u548c\u6613\u4e8e\u7406\u89e3\u3002\u6ca1\u6709\u50cfC99\u76f8\u5bf9\u4e8eC89\u6216\u8005C11\u76f8\u5bf9\u4e8eC99\u90a3\u6837\u5f15\u5165\u5927\u91cf\u7684\u65b0\u7279\u6027\uff0c\u4f46\u4ecd\u7136\u5bf9\u8bed\u8a00\u7684\u7a33\u5b9a\u6027\u548c\u51c6\u786e\u6027\u8d77\u5230\u4e86\u91cd\u8981\u4f5c\u7528\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C23\uff08\u6b63\u5728\u53d1\u5c55\uff09"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a\u76ee\u524dC\u8bed\u8a00\u6807\u51c6\u59d4\u5458\u4f1a\u6b63\u5728\u81f4\u529b\u4e8eC23\u6807\u51c6\u7684\u5236\u5b9a\u3002\u8fd9\u4e2a\u7248\u672c\u6709\u671b\u5f15\u5165\u65b0\u7684\u7279\u6027\u6765\u8fdb\u4e00\u6b65\u5b8c\u5584C\u8bed\u8a00\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u5df2\u77e5\u7684\u4e00\u4e9b\u53ef\u80fd\u7684\u6539\u8fdb\u65b9\u5411\uff08\u5c1a\u672a\u5b8c\u5168\u786e\u5b9a\uff09"),"\uff1a\u53ef\u80fd\u4f1a\u5bf9\u8bed\u8a00\u7684\u5b89\u5168\u6027\u3001\u6a21\u5757\u6027\u7b49\u65b9\u9762\u8fdb\u884c\u6539\u8fdb\u3002\u4f8b\u5982\uff0c\u53ef\u80fd\u4f1a\u52a0\u5f3a\u5bf9\u6570\u7ec4\u8fb9\u754c\u68c0\u67e5\u7684\u652f\u6301\uff0c\u4ee5\u51cf\u5c11\u7f13\u51b2\u533a\u6ea2\u51fa\u7b49\u5e38\u89c1\u7684\u5b89\u5168\u9690\u60a3\u3002\u4e5f\u53ef\u80fd\u4f1a\u5f15\u5165\u66f4\u597d\u7684\u6a21\u5757\u7cfb\u7edf\uff0c\u65b9\u4fbf\u5927\u578b\u9879\u76ee\u7684\u4ee3\u7801\u7ec4\u7ec7\u548c\u7ba1\u7406\u3002")))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1073],{15680:(e,n,t)=>{t.d(n,{xA:()=>m,yg:()=>c});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=r.createContext({}),g=function(e){var n=r.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},m=function(e){var n=g(e.components);return r.createElement(p.Provider,{value:n},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},C=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,i=e.originalType,p=e.parentName,m=o(e,["components","mdxType","originalType","parentName"]),y=g(t),C=a,c=y["".concat(p,".").concat(C)]||y[C]||s[C]||i;return t?r.createElement(c,l(l({ref:n},m),{},{components:t})):r.createElement(c,l({ref:n},m))}));function c(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var i=t.length,l=new Array(i);l[0]=C;var o={};for(var p in n)hasOwnProperty.call(n,p)&&(o[p]=n[p]);o.originalType=e,o[y]="string"==typeof e?e:a,l[1]=o;for(var g=2;g{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>i,metadata:()=>o,toc:()=>g});var r=t(58168),a=(t(96540),t(15680));const i={},l=void 0,o={unversionedId:"study/program/C/C\u8bed\u8a00\u7248\u672c",id:"study/program/C/C\u8bed\u8a00\u7248\u672c",title:"C\u8bed\u8a00\u7248\u672c",description:"1. K&R C\uff08\u7ecf\u5178C\uff09",source:"@site/docs/study/program/C/C\u8bed\u8a00\u7248\u672c.md",sourceDirName:"study/program/C",slug:"/study/program/C/C\u8bed\u8a00\u7248\u672c",permalink:"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C\u8bed\u8a00\u6807\u51c6\u5e93",permalink:"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93"},next:{title:"MFC-WinForm-WPF-DotNet\u7b49",permalink:"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49"}},p={},g=[],m={toc:g},y="wrapper";function s(e){let{components:n,...t}=e;return(0,a.yg)(y,(0,r.A)({},m,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"K&R C\uff08\u7ecf\u5178C\uff09"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a\u8fd9\u662fC\u8bed\u8a00\u6700\u521d\u7684\u7248\u672c\u5f62\u5f0f\uff0c\u56e0\u300aC\u7a0b\u5e8f\u8bbe\u8ba1\u8bed\u8a00\u300b\uff08The C Programming Language\uff09\u8fd9\u672c\u4e66\u800c\u5f97\u540d\uff0c\u4f5c\u8005\u662fBrian Kernighan\u548cDennis Ritchie\uff08C\u8bed\u8a00\u7684\u521b\u9020\u8005\uff09\u3002\u8fd9\u672c\u4e66\u7b2c\u4e00\u7248\u57281978\u5e74\u51fa\u7248\uff0c\u5176\u4e2d\u63cf\u8ff0\u7684C\u8bed\u8a00\u7248\u672c\u5c31\u662fK&R C\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u51fd\u6570\u53c2\u6570\u7684\u58f0\u660e\u65b9\u5f0f\u6bd4\u8f83\u7b80\u5355\uff0c\u4f8b\u5982\u53ef\u4ee5\u5199\u6210",(0,a.yg)("inlineCode",{parentName:"li"},"int func(a, b)"),"\uff0c\u7f16\u8bd1\u5668\u4f1a\u9ed8\u8ba4",(0,a.yg)("inlineCode",{parentName:"li"},"a"),"\u548c",(0,a.yg)("inlineCode",{parentName:"li"},"b"),"\u4e3a",(0,a.yg)("inlineCode",{parentName:"li"},"int"),"\u7c7b\u578b\u3002\u8fd9\u79cd\u58f0\u660e\u65b9\u5f0f\u5728\u73b0\u4ee3C\u6807\u51c6\u4e2d\u5df2\u7ecf\u4e0d\u63d0\u5021\u3002\u5b83\u6ca1\u6709",(0,a.yg)("inlineCode",{parentName:"li"},"const"),"\u5173\u952e\u5b57\u7528\u4e8e\u5b9a\u4e49\u5e38\u91cf\uff0c\u4e5f\u7f3a\u4e4f\u4e00\u4e9b\u73b0\u4ee3\u7684\u7c7b\u578b\u68c0\u67e5\u673a\u5236\u3002\u4f46\u5728\u5f53\u65f6\uff0c\u4e3aC\u8bed\u8a00\u7684\u5e7f\u6cdb\u5e94\u7528\u5960\u5b9a\u4e86\u57fa\u7840\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C89\uff08ANSI C\uff09"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a1983\u5e74\uff0c\u7f8e\u56fd\u56fd\u5bb6\u6807\u51c6\u534f\u4f1a\uff08ANSI\uff09\u6210\u7acb\u4e86\u4e00\u4e2a\u59d4\u5458\u4f1a\u6765\u5236\u5b9aC\u8bed\u8a00\u7684\u6807\u51c6\uff0c1989\u5e74\uff0cC\u8bed\u8a00\u7684\u7b2c\u4e00\u4e2aANSI\u6807\u51c6\uff08ANSI X3.159 - 1989\uff09\u53d1\u5e03\uff0c\u8fd9\u4e2a\u6807\u51c6\u4e5f\u88ab\u56fd\u9645\u6807\u51c6\u5316\u7ec4\u7ec7\uff08ISO\uff09\u91c7\u7eb3\uff0c\u79f0\u4e3aISO C89\u3002\u8fd9\u662fC\u8bed\u8a00\u53d1\u5c55\u5386\u7a0b\u4e2d\u7684\u4e00\u4e2a\u91cd\u8981\u91cc\u7a0b\u7891\uff0c\u4f7f\u5f97C\u8bed\u8a00\u5728\u4e0d\u540c\u7684\u7f16\u8bd1\u5668\u548c\u5e73\u53f0\u4e0a\u6709\u4e86\u7edf\u4e00\u7684\u89c4\u8303\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u5f15\u5165\u4e86\u51fd\u6570\u539f\u578b\u58f0\u660e\uff0c\u8981\u6c42\u5728\u51fd\u6570\u58f0\u660e\u65f6\u660e\u786e\u6307\u5b9a\u53c2\u6570\u7684\u7c7b\u578b\uff0c\u5982",(0,a.yg)("inlineCode",{parentName:"li"},"int func(int a, int b)"),"\u3002\u589e\u52a0\u4e86",(0,a.yg)("inlineCode",{parentName:"li"},"const"),"\u548c",(0,a.yg)("inlineCode",{parentName:"li"},"volatile"),"\u5173\u952e\u5b57\uff0c",(0,a.yg)("inlineCode",{parentName:"li"},"const"),"\u7528\u4e8e\u5b9a\u4e49\u5e38\u91cf\uff0c",(0,a.yg)("inlineCode",{parentName:"li"},"volatile"),"\u7528\u4e8e\u544a\u8bc9\u7f16\u8bd1\u5668\u53d8\u91cf\u7684\u503c\u53ef\u80fd\u4f1a\u5728\u7a0b\u5e8f\u6267\u884c\u8fc7\u7a0b\u4e2d\u88ab\u5916\u90e8\u56e0\u7d20\uff08\u5982\u786c\u4ef6\u8bbe\u5907\uff09\u6539\u53d8\uff0c\u4ece\u800c\u907f\u514d\u7f16\u8bd1\u5668\u8fc7\u5ea6\u4f18\u5316\u3002\u540c\u65f6\uff0c\u5b9a\u4e49\u4e86\u6807\u51c6\u5e93\uff0c\u5305\u62ec\u5e38\u89c1\u7684\u8f93\u5165\u8f93\u51fa\u51fd\u6570\uff08\u5982",(0,a.yg)("inlineCode",{parentName:"li"},"stdio.h"),"\u4e2d\u7684",(0,a.yg)("inlineCode",{parentName:"li"},"printf"),"\u548c",(0,a.yg)("inlineCode",{parentName:"li"},"scanf"),"\uff09\u3001\u5b57\u7b26\u4e32\u5904\u7406\u51fd\u6570\uff08\u5982",(0,a.yg)("inlineCode",{parentName:"li"},"string.h"),"\u4e2d\u7684",(0,a.yg)("inlineCode",{parentName:"li"},"strcpy"),"\u548c",(0,a.yg)("inlineCode",{parentName:"li"},"strcat"),"\uff09\u7b49\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C99"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a1999\u5e74\uff0cISO\u53d1\u5e03\u4e86C99\u6807\u51c6\u3002\u8fd9\u4e2a\u6807\u51c6\u662f\u5728C89\u7684\u57fa\u7840\u4e0a\u8fdb\u884c\u4e86\u6269\u5145\u548c\u6539\u8fdb\uff0c\u4ee5\u9002\u5e94\u5f53\u65f6\u8f6f\u4ef6\u5f00\u53d1\u7684\u65b0\u9700\u6c42\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u65b0\u589e\u4e86\u4e00\u4e9b\u6570\u636e\u7c7b\u578b\uff0c\u5982",(0,a.yg)("inlineCode",{parentName:"li"},"long long int"),"\u7528\u4e8e\u8868\u793a\u66f4\u5927\u8303\u56f4\u7684\u6574\u6570\u3002\u652f\u6301\u53ef\u53d8\u957f\u6570\u7ec4\uff08VLA\uff0cVariable - Length Array\uff09\uff0c\u4f8b\u5982",(0,a.yg)("inlineCode",{parentName:"li"},'int n; scanf("%d", &n); int arr[n];'),"\uff0c\u6570\u7ec4",(0,a.yg)("inlineCode",{parentName:"li"},"arr"),"\u7684\u5927\u5c0f\u53ef\u4ee5\u6839\u636e\u53d8\u91cf",(0,a.yg)("inlineCode",{parentName:"li"},"n"),"\u7684\u503c\u52a8\u6001\u786e\u5b9a\u3002\u540c\u65f6\uff0c\u589e\u5f3a\u4e86\u6570\u5b66\u5e93\u51fd\u6570\uff0c\u589e\u52a0\u4e86\u5bf9\u590d\u6570\u7684\u652f\u6301\uff0c\u5728\u5934\u6587\u4ef6",(0,a.yg)("inlineCode",{parentName:"li"},""),"\u4e2d\u5b9a\u4e49\u4e86\u590d\u6570\u7c7b\u578b\u548c\u76f8\u5173\u7684\u8fd0\u7b97\u51fd\u6570\u3002\u8fd8\u6539\u8fdb\u4e86\u9884\u5904\u7406\u6307\u4ee4\uff0c\u5982\u652f\u6301",(0,a.yg)("inlineCode",{parentName:"li"},"//"),"\u4f5c\u4e3a\u5355\u884c\u6ce8\u91ca\uff0c\u5c31\u50cfC++\u8bed\u8a00\u4e00\u6837\uff0c\u8fd9\u4f7f\u5f97\u4ee3\u7801\u6ce8\u91ca\u66f4\u52a0\u65b9\u4fbf\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C11"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a2011\u5e74\uff0cISO\u53d1\u5e03\u4e86C11\u6807\u51c6\u3002\u8fd9\u4e00\u7248\u6807\u51c6\u8fdb\u4e00\u6b65\u5b8c\u5584\u4e86C\u8bed\u8a00\uff0c\u4ee5\u9002\u5e94\u73b0\u4ee3\u8ba1\u7b97\u673a\u7cfb\u7edf\u548c\u8f6f\u4ef6\u5f00\u53d1\u7684\u53d8\u5316\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u589e\u52a0\u4e86\u591a\u7ebf\u7a0b\u652f\u6301\uff0c\u901a\u8fc7",(0,a.yg)("inlineCode",{parentName:"li"},""),"\u5934\u6587\u4ef6\u63d0\u4f9b\u4e86\u7ebf\u7a0b\u521b\u5efa\u3001\u540c\u6b65\u7b49\u76f8\u5173\u7684\u51fd\u6570\u548c\u7c7b\u578b\u5b9a\u4e49\u3002\u5f15\u5165\u4e86\u539f\u5b50\u64cd\u4f5c\u7c7b\u578b\u548c\u51fd\u6570\uff0c\u7528\u4e8e\u5728\u591a\u7ebf\u7a0b\u73af\u5883\u4e0b\u5b89\u5168\u5730\u8bbf\u95ee\u548c\u4fee\u6539\u5171\u4eab\u53d8\u91cf\uff0c\u8fd9\u4e9b\u5185\u5bb9\u5728",(0,a.yg)("inlineCode",{parentName:"li"},""),"\u4e2d\u6709\u8be6\u7ec6\u89c4\u5b9a\u3002\u540c\u65f6\uff0c\u6539\u8fdb\u4e86\u5185\u5b58\u5bf9\u9f50\u76f8\u5173\u7684\u5185\u5bb9\uff0c\u5e76\u4e14\u5bf9\u4e00\u4e9b\u8fb9\u754c\u60c5\u51b5\u548c\u9519\u8bef\u5904\u7406\u8fdb\u884c\u4e86\u66f4\u7ec6\u81f4\u7684\u89c4\u8303\uff0c\u4f7f\u5f97C\u8bed\u8a00\u5728\u5b89\u5168\u6027\u548c\u53ef\u9760\u6027\u65b9\u9762\u6709\u4e86\u8fdb\u4e00\u6b65\u63d0\u5347\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C17\uff08C18\uff09"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1aC17\uff08\u6709\u65f6\u4e5f\u79f0\u4e3aC18\uff0c\u56e0\u4e3aISO/IEC 9899:2018\u4e3b\u8981\u662fC17\u7684\u52d8\u8bef\u4fee\u6b63\uff09\u662fC\u8bed\u8a00\u6807\u51c6\u7684\u8f83\u65b0\u7248\u672c\u3002\u5b83\u4e3b\u8981\u662f\u5bf9C11\u6807\u51c6\u8fdb\u884c\u4e86\u4e00\u4e9b\u5c0f\u7684\u4fee\u6b63\u548c\u6f84\u6e05\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u7279\u70b9"),"\uff1a\u4fee\u6b63\u4e86C11\u6807\u51c6\u4e2d\u7684\u4e00\u4e9b\u6587\u6863\u9519\u8bef\u548c\u6a21\u7cca\u4e4b\u5904\uff0c\u4f7f\u5f97\u6807\u51c6\u66f4\u52a0\u7cbe\u786e\u548c\u6613\u4e8e\u7406\u89e3\u3002\u6ca1\u6709\u50cfC99\u76f8\u5bf9\u4e8eC89\u6216\u8005C11\u76f8\u5bf9\u4e8eC99\u90a3\u6837\u5f15\u5165\u5927\u91cf\u7684\u65b0\u7279\u6027\uff0c\u4f46\u4ecd\u7136\u5bf9\u8bed\u8a00\u7684\u7a33\u5b9a\u6027\u548c\u51c6\u786e\u6027\u8d77\u5230\u4e86\u91cd\u8981\u4f5c\u7528\u3002"))),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"C23\uff08\u6b63\u5728\u53d1\u5c55\uff09"),(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u80cc\u666f\u4e0e\u5386\u53f2"),"\uff1a\u76ee\u524dC\u8bed\u8a00\u6807\u51c6\u59d4\u5458\u4f1a\u6b63\u5728\u81f4\u529b\u4e8eC23\u6807\u51c6\u7684\u5236\u5b9a\u3002\u8fd9\u4e2a\u7248\u672c\u6709\u671b\u5f15\u5165\u65b0\u7684\u7279\u6027\u6765\u8fdb\u4e00\u6b65\u5b8c\u5584C\u8bed\u8a00\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u5df2\u77e5\u7684\u4e00\u4e9b\u53ef\u80fd\u7684\u6539\u8fdb\u65b9\u5411\uff08\u5c1a\u672a\u5b8c\u5168\u786e\u5b9a\uff09"),"\uff1a\u53ef\u80fd\u4f1a\u5bf9\u8bed\u8a00\u7684\u5b89\u5168\u6027\u3001\u6a21\u5757\u6027\u7b49\u65b9\u9762\u8fdb\u884c\u6539\u8fdb\u3002\u4f8b\u5982\uff0c\u53ef\u80fd\u4f1a\u52a0\u5f3a\u5bf9\u6570\u7ec4\u8fb9\u754c\u68c0\u67e5\u7684\u652f\u6301\uff0c\u4ee5\u51cf\u5c11\u7f13\u51b2\u533a\u6ea2\u51fa\u7b49\u5e38\u89c1\u7684\u5b89\u5168\u9690\u60a3\u3002\u4e5f\u53ef\u80fd\u4f1a\u5f15\u5165\u66f4\u597d\u7684\u6a21\u5757\u7cfb\u7edf\uff0c\u65b9\u4fbf\u5927\u578b\u9879\u76ee\u7684\u4ee3\u7801\u7ec4\u7ec7\u548c\u7ba1\u7406\u3002")))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b8eb6aba.66e294b5.js b/assets/js/b8eb6aba.a29efbf9.js similarity index 98% rename from assets/js/b8eb6aba.66e294b5.js rename to assets/js/b8eb6aba.a29efbf9.js index 7adb520d8..87b329830 100644 --- a/assets/js/b8eb6aba.66e294b5.js +++ b/assets/js/b8eb6aba.a29efbf9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7452],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),m=o,y=s["".concat(p,".").concat(m)]||s[m]||g[m]||a;return r?n.createElement(y,c(c({ref:t},u),{},{components:r})):n.createElement(y,c({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=m;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>g,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6",id:"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6",title:"\u5e38\u7528\u7684\u6846\u67b6",description:"Gin",source:"@site/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5e38\u7528\u7684\u5de5\u5177",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177"},next:{title:"npm",permalink:"/docs/study/program/JS/npm"}},p={},l=[{value:"Gin",id:"gin",level:3},{value:"echo",id:"echo",level:3},{value:"go-restful",id:"go-restful",level:3}],u={toc:l},s="wrapper";function g(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"gin"},"Gin"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://gin-gonic.com/"},"\u5b98\u65b9\u7f51\u7ad9")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://github.com/gin-gonic/gin"},"https://github.com/gin-gonic/gin")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://gin-gonic.com/zh-cn/docs/"},"\u4e2d\u6587\u6587\u6863")),(0,o.yg)("h3",{id:"echo"},"echo"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://echo.labstack.com/"},"\u5b98\u65b9\u7f51\u7ad9"),"\n",(0,o.yg)("a",{parentName:"p",href:"https://github.com/labstack/echo"},"https://github.com/labstack/echo")),(0,o.yg)("h3",{id:"go-restful"},"go-restful"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://github.com/emicklei/go-restful"},"https://github.com/emicklei/go-restful")))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7452],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),m=o,y=s["".concat(p,".").concat(m)]||s[m]||g[m]||a;return r?n.createElement(y,c(c({ref:t},u),{},{components:r})):n.createElement(y,c({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=m;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>g,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6",id:"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6",title:"\u5e38\u7528\u7684\u6846\u67b6",description:"Gin",source:"@site/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5e38\u7528\u7684\u5de5\u5177",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177"},next:{title:"npm",permalink:"/docs/study/program/JS/npm"}},p={},l=[{value:"Gin",id:"gin",level:3},{value:"echo",id:"echo",level:3},{value:"go-restful",id:"go-restful",level:3}],u={toc:l},s="wrapper";function g(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"gin"},"Gin"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://gin-gonic.com/"},"\u5b98\u65b9\u7f51\u7ad9")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://github.com/gin-gonic/gin"},"https://github.com/gin-gonic/gin")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://gin-gonic.com/zh-cn/docs/"},"\u4e2d\u6587\u6587\u6863")),(0,o.yg)("h3",{id:"echo"},"echo"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://echo.labstack.com/"},"\u5b98\u65b9\u7f51\u7ad9"),"\n",(0,o.yg)("a",{parentName:"p",href:"https://github.com/labstack/echo"},"https://github.com/labstack/echo")),(0,o.yg)("h3",{id:"go-restful"},"go-restful"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://github.com/emicklei/go-restful"},"https://github.com/emicklei/go-restful")))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b9b03f91.c2d00964.js b/assets/js/b9b03f91.2134a0e1.js similarity index 98% rename from assets/js/b9b03f91.c2d00964.js rename to assets/js/b9b03f91.2134a0e1.js index 765ebcf34..311b43f88 100644 --- a/assets/js/b9b03f91.c2d00964.js +++ b/assets/js/b9b03f91.2134a0e1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6447],{15680:(e,t,r)=>{r.d(t,{xA:()=>y,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),p=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},y=function(e){var t=p(e.components);return n.createElement(a.Provider,{value:t},e.children)},i="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,l=e.originalType,a=e.parentName,y=u(e,["components","mdxType","originalType","parentName"]),i=p(r),f=o,d=i["".concat(a,".").concat(f)]||i[f]||s[f]||l;return r?n.createElement(d,c(c({ref:t},y),{},{components:r})):n.createElement(d,c({ref:t},y))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=r.length,c=new Array(l);c[0]=f;var u={};for(var a in t)hasOwnProperty.call(t,a)&&(u[a]=t[a]);u.originalType=e,u[i]="string"==typeof e?e:o,c[1]=u;for(var p=2;p{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>s,frontMatter:()=>l,metadata:()=>u,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const l={},c=void 0,u={unversionedId:"study/stock/20241106",id:"study/stock/20241106",title:"20241106",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241106.md",sourceDirName:"study/stock",slug:"/study/stock/20241106",permalink:"/docs/study/stock/20241106",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},a={},p=[],y={toc:p},i="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(i,(0,n.A)({},y,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u8fd8\u662f\u56de\u5230\u4ee5\u524d\u7684\u6a21\u5f0f\u5427\uff0c\u5c0f\u8d44\u91d1\u6162\u6162\u73a9"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"\u4f17\u6cf0\u6c7d\u8f66 \u6302 5%\u5356\u6389 \u5356\u6389\u7406\u7531\uff1a\u4e8b\u4e0d\u8fc7\u4e09 \u4e0d\u559c\u6b22\u4e09\u8054\u677f -- \u6267\u884c\u4e86"),(0,o.yg)("p",null,"\u4e2d\u4fe1\u8bc1\u5238 \u6302 -2%\u4e70\u5165 \u4e70\u5165\u7406\u7531\uff1a\u4e0a\u6da8\u901a\u9053\uff0c\u7b2c\u4e00\u6b21\u56de\u8c03\u7ed3\u675f\uff0c2 \u6839 K \u7ebf\u653e\u91cf\u4e0a\u6da8\uff0c\u9884\u6d4b\u8fd8\u6709\u7b2c\u4e09\u6839 -- \u51b2\u9ad8\u56de\u843d \u6700\u4f4e 0.39%\uff0c\u6700\u9ad8 8.30%\uff0c\u6700\u540e 2%"),(0,o.yg)("p",null,"\u957f\u5b89\u6c7d\u8f66 \u6302-2%\u4e70\u5165 \u4e70\u5165\u7406\u7531\uff1a\u4e0a\u6da8\u901a\u9053\uff0c\u7b2c\u4e00\u6b21\u56de\u8c03\u7ed3\u675f\uff0c3 \u6839 K \u7ebf\u653e\u91cf\u4e0a\u6da8\uff0c\u4e00\u6839 K \u56de\u8c03\uff08\u7834\u524d K \u9ad8\uff09\uff0c\u9884\u6d4b\u540e\u9762\u4f1a\u6709\u4e09\u6839 K \u4e0a\u6da8--\u51b2\u9ad8\u56de\u843d \u6700\u4f4e-0.21%"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u6302 3%\u5356\u6389 \u5356\u6389\u7406\u7531\uff1a\u6ca1\u7406\u7531\u5440 \u4e0d\u5356 \u4e0b\u5348\u770b\u770b\u5427 -- \u8dcc\u4e86\uff0c\u6700\u4f4e-6.79% \u8865\u4ed3\u4e86 \u96be\u53d7\u5440\uff0c\u4f46\u662f\u6ca1\u7834 MA13"),(0,o.yg)("p",null,"\u53a6\u95e8\u94a8\u4e1a \u6302-5%\u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634\uff0c\u4f46\u662f\u6ca1\u653e\u91cf\u5440 --\u4eca\u5929\u81ea\u9009\u8d70\u52bf\u6700\u597d\u7684\u4e86\uff0c\u6700\u9ad8 4%"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u4e0b\u5348\u4e70\u5165 \u5dee\u8bc4\u5440\uff0c\u4e0b\u5348\u4e70\u70b9\u4e0d\u597d\u5440"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u4e5f\u662f\u5440"),(0,o.yg)("p",null,"\u4e24\u4e2a ETF \u7684\u4e70\u5165\u7406\u7531\u90fd\u662f\u535a\u5f08\u660e\u5929\u7684\u5927\u6da8\u5440\uff0c\u5e0c\u671b\u5427"),(0,o.yg)("hr",null),(0,o.yg)("p",null,"\u9884\u671f\u4eca\u5929\u5927\u76d8\u662f\u8c03\u6574\u7684\uff0c\u6574\u4f53\u6765\u770b\uff0c\u786e\u5b9e\u662f\u5728\u8c03\u6574\uff0c\u5168\u5929\u662f\u51b2\u9ad8\u56de\u843d"),(0,o.yg)("p",null,"\u4eca\u5929\u65e9\u4e0a\u5927\u5bb6\u7684\u9884\u671f\u8fd8\u662f\u6bd4\u8f83\u9ad8\u7684\uff0c\u6302\u7684-2%\u90fd\u6ca1\u6210\u4ea4"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u660e\u5929\u9884\u8ba1 17.89 \u662f\u5e95\u7ebf\u5440\uff0c\u575a\u51b3\u4e0d\u80fd\u518d\u8865\u4ed3\u4e86\uff0c\u8d8a\u8865\u4ed3\u8d8a\u4e8f\u635f\u5440 \u6302 18.65 \u5356\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u6211\u89c9\u5f97\u660e\u5929\u5927\u76d8\u4e0a\u653b\u7684\u6982\u7387\u662f\u5f88\u5927\u7684\uff0c\u6bd5\u7adf\u4eca\u5929\u653e\u91cf\u4e86\uff0c\u800c\u4e14\u9ad8\u70b9\u4e0a\u53bb\u4e86\uff0c\u6211\u89c9\u5f97\u660e\u5929\u8fd8\u662f\u503c\u5f97\u671f\u5f85\u7684"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6447],{15680:(e,t,r)=>{r.d(t,{xA:()=>y,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),p=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},y=function(e){var t=p(e.components);return n.createElement(a.Provider,{value:t},e.children)},i="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,l=e.originalType,a=e.parentName,y=u(e,["components","mdxType","originalType","parentName"]),i=p(r),f=o,d=i["".concat(a,".").concat(f)]||i[f]||s[f]||l;return r?n.createElement(d,c(c({ref:t},y),{},{components:r})):n.createElement(d,c({ref:t},y))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=r.length,c=new Array(l);c[0]=f;var u={};for(var a in t)hasOwnProperty.call(t,a)&&(u[a]=t[a]);u.originalType=e,u[i]="string"==typeof e?e:o,c[1]=u;for(var p=2;p{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>s,frontMatter:()=>l,metadata:()=>u,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const l={},c=void 0,u={unversionedId:"study/stock/20241106",id:"study/stock/20241106",title:"20241106",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241106.md",sourceDirName:"study/stock",slug:"/study/stock/20241106",permalink:"/docs/study/stock/20241106",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},a={},p=[],y={toc:p},i="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(i,(0,n.A)({},y,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u8fd8\u662f\u56de\u5230\u4ee5\u524d\u7684\u6a21\u5f0f\u5427\uff0c\u5c0f\u8d44\u91d1\u6162\u6162\u73a9"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"\u4f17\u6cf0\u6c7d\u8f66 \u6302 5%\u5356\u6389 \u5356\u6389\u7406\u7531\uff1a\u4e8b\u4e0d\u8fc7\u4e09 \u4e0d\u559c\u6b22\u4e09\u8054\u677f -- \u6267\u884c\u4e86"),(0,o.yg)("p",null,"\u4e2d\u4fe1\u8bc1\u5238 \u6302 -2%\u4e70\u5165 \u4e70\u5165\u7406\u7531\uff1a\u4e0a\u6da8\u901a\u9053\uff0c\u7b2c\u4e00\u6b21\u56de\u8c03\u7ed3\u675f\uff0c2 \u6839 K \u7ebf\u653e\u91cf\u4e0a\u6da8\uff0c\u9884\u6d4b\u8fd8\u6709\u7b2c\u4e09\u6839 -- \u51b2\u9ad8\u56de\u843d \u6700\u4f4e 0.39%\uff0c\u6700\u9ad8 8.30%\uff0c\u6700\u540e 2%"),(0,o.yg)("p",null,"\u957f\u5b89\u6c7d\u8f66 \u6302-2%\u4e70\u5165 \u4e70\u5165\u7406\u7531\uff1a\u4e0a\u6da8\u901a\u9053\uff0c\u7b2c\u4e00\u6b21\u56de\u8c03\u7ed3\u675f\uff0c3 \u6839 K \u7ebf\u653e\u91cf\u4e0a\u6da8\uff0c\u4e00\u6839 K \u56de\u8c03\uff08\u7834\u524d K \u9ad8\uff09\uff0c\u9884\u6d4b\u540e\u9762\u4f1a\u6709\u4e09\u6839 K \u4e0a\u6da8--\u51b2\u9ad8\u56de\u843d \u6700\u4f4e-0.21%"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u6302 3%\u5356\u6389 \u5356\u6389\u7406\u7531\uff1a\u6ca1\u7406\u7531\u5440 \u4e0d\u5356 \u4e0b\u5348\u770b\u770b\u5427 -- \u8dcc\u4e86\uff0c\u6700\u4f4e-6.79% \u8865\u4ed3\u4e86 \u96be\u53d7\u5440\uff0c\u4f46\u662f\u6ca1\u7834 MA13"),(0,o.yg)("p",null,"\u53a6\u95e8\u94a8\u4e1a \u6302-5%\u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634\uff0c\u4f46\u662f\u6ca1\u653e\u91cf\u5440 --\u4eca\u5929\u81ea\u9009\u8d70\u52bf\u6700\u597d\u7684\u4e86\uff0c\u6700\u9ad8 4%"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u4e0b\u5348\u4e70\u5165 \u5dee\u8bc4\u5440\uff0c\u4e0b\u5348\u4e70\u70b9\u4e0d\u597d\u5440"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u4e5f\u662f\u5440"),(0,o.yg)("p",null,"\u4e24\u4e2a ETF \u7684\u4e70\u5165\u7406\u7531\u90fd\u662f\u535a\u5f08\u660e\u5929\u7684\u5927\u6da8\u5440\uff0c\u5e0c\u671b\u5427"),(0,o.yg)("hr",null),(0,o.yg)("p",null,"\u9884\u671f\u4eca\u5929\u5927\u76d8\u662f\u8c03\u6574\u7684\uff0c\u6574\u4f53\u6765\u770b\uff0c\u786e\u5b9e\u662f\u5728\u8c03\u6574\uff0c\u5168\u5929\u662f\u51b2\u9ad8\u56de\u843d"),(0,o.yg)("p",null,"\u4eca\u5929\u65e9\u4e0a\u5927\u5bb6\u7684\u9884\u671f\u8fd8\u662f\u6bd4\u8f83\u9ad8\u7684\uff0c\u6302\u7684-2%\u90fd\u6ca1\u6210\u4ea4"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a\u660e\u5929\u9884\u8ba1 17.89 \u662f\u5e95\u7ebf\u5440\uff0c\u575a\u51b3\u4e0d\u80fd\u518d\u8865\u4ed3\u4e86\uff0c\u8d8a\u8865\u4ed3\u8d8a\u4e8f\u635f\u5440 \u6302 18.65 \u5356\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a\u7b49\uff0c\u6302 5%\u51fa\u4e00\u534a\uff0c\u6302 10%\u51fa\u4e00\u534a"),(0,o.yg)("p",null,"\u6211\u89c9\u5f97\u660e\u5929\u5927\u76d8\u4e0a\u653b\u7684\u6982\u7387\u662f\u5f88\u5927\u7684\uff0c\u6bd5\u7adf\u4eca\u5929\u653e\u91cf\u4e86\uff0c\u800c\u4e14\u9ad8\u70b9\u4e0a\u53bb\u4e86\uff0c\u6211\u89c9\u5f97\u660e\u5929\u8fd8\u662f\u503c\u5f97\u671f\u5f85\u7684"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/bb29b3f8.df558bda.js b/assets/js/bb29b3f8.ec42a231.js similarity index 98% rename from assets/js/bb29b3f8.df558bda.js rename to assets/js/bb29b3f8.ec42a231.js index 4718bdcb5..f4e32681a 100644 --- a/assets/js/bb29b3f8.df558bda.js +++ b/assets/js/bb29b3f8.ec42a231.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9967],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),i=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},u=function(e){var t=i(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,p=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=i(r),d=o,f=s["".concat(c,".").concat(d)]||s[d]||y[d]||p;return r?n.createElement(f,a(a({ref:t},u),{},{components:r})):n.createElement(f,a({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var p=r.length,a=new Array(p);a[0]=d;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var i=2;i{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>y,frontMatter:()=>p,metadata:()=>l,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const p={},a="OpenJ9",l={unversionedId:"study/program/JAVA/OepnJ9",id:"study/program/JAVA/OepnJ9",title:"OpenJ9",description:"https://eclipse.dev/openj9/",source:"@site/docs/study/program/JAVA/OepnJ9.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/OepnJ9",permalink:"/docs/study/program/JAVA/OepnJ9",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Maven",permalink:"/docs/study/program/JAVA/Maven"},next:{title:"RxJava",permalink:"/docs/study/program/JAVA/RxJava"}},c={},i=[],u={toc:i},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"openj9"},"OpenJ9"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://eclipse.dev/openj9/"},"https://eclipse.dev/openj9/")),(0,o.yg)("p",null,"OpenJ9 \u662f\u539f\u6765\u7684 IBM J9 Java \u865a\u62df\u673a (JVM)\uff0c\u5df2\u8d21\u732e\u7ed9 Eclipse \u57fa\u91d1\u4f1a\u5f00\u6e90\u3002"),(0,o.yg)("p",null,"OpenJ9 \u662f\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684\u4f01\u4e1a\u7ea7 Java \u865a\u62df\u673a\uff0c\u65e8\u5728\u4fc3\u8fdb JVM \u5f00\u53d1\u8005\u7684\u5f00\u653e\u751f\u6001\u7cfb\u7edf\uff0c\u4ece\u800c\u53ef\u4ee5\u4e0e\u786c\u4ef6\u5e73\u53f0\u3001\u64cd\u4f5c\u7cfb\u7edf\u3001\u5de5\u5177\u548c\u6846\u67b6\u8bbe\u8ba1\u5e08\u548c\u5f00\u53d1\u8005\u8fdb\u884c\u534f\u4f5c\u548c\u521b\u65b0\u3002"),(0,o.yg)("p",null,"Java \u793e\u533a\u4ece JVM \u89c4\u8303\u7684\u591a\u4e2a\u5b9e\u73b0\u4e2d\u53d7\u76ca\u532a\u6d45\uff0c\u4e3a\u5176\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6700\u4f73\u8fd0\u884c\u65f6\u3002\u65e0\u8bba\u662f\u6dfb\u52a0\u538b\u7f29\u5f15\u7528\u3001\u65b0\u7684\u4e91\u529f\u80fd\u3001AOT\uff08\u63d0\u524d\u7f16\u8bd1\uff09\uff0c\u8fd8\u662f\u76f4\u63a5\u63d0\u5347\u6027\u80fd\u548c\u964d\u4f4e\u5185\u5b58\u4f7f\u7528\uff0c\u751f\u6001\u7cfb\u7edf\u901a\u8fc7\u7ade\u4e89\u5f97\u5230\u6539\u5584\u3002 Eclipse OpenJ9 \u65e8\u5728\u7ee7\u7eed\u63a8\u52a8\u8fd0\u884c\u65f6\u7684\u521b\u65b0\u3002"),(0,o.yg)("p",null,"\u6839\u636e\u5b98\u7f51\u6587\u6863\u8bf4\u660e\uff0c\u4ee5 OpenJDK8 \u548c OpenJ9 \u6bd4\u8f83\u8bf4\u660e\u5176\u5e94\u7528\u5c42\u9762\u7684\u7279\u70b9\u3001\u4f18\u52bf\uff1a"),(0,o.yg)("p",null,"42% faster startup time\uff0c\u542f\u52a8\u65f6\u95f4\u5feb 42% 66% smaller footprint after startup\uff0c\u542f\u52a8\u540e\u5360\u7528\u5185\u5b58\u51cf\u5c11 66%"),(0,o.yg)("p",null,"Faster ramp-up time in the cloud\uff0c\u4e91\u7aef\u73af\u5883\u5feb\u901f\u63d0\u5347\u541e\u5410\u91cf "),(0,o.yg)("p",null,"63% smaller footprint during load\uff0c\u9ad8\u8d1f\u8f7d\u65f6\u51cf\u5c11 63%\u7684\u5360\u7528\u7a7a\u95f4"),(0,o.yg)("p",null,"\u6839\u636e cheng jin\uff08OpenJ9 VM Software Developer\uff09\u4ecb\u7ecd\uff0cDDR \u548c SCC \u662f\u5176\u4e0d\u540c\u4e8e HotSpot \u7684 2 \u4e2a\u7279\u70b9\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9967],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),i=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},u=function(e){var t=i(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,p=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=i(r),d=o,f=s["".concat(c,".").concat(d)]||s[d]||y[d]||p;return r?n.createElement(f,a(a({ref:t},u),{},{components:r})):n.createElement(f,a({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var p=r.length,a=new Array(p);a[0]=d;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var i=2;i{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>y,frontMatter:()=>p,metadata:()=>l,toc:()=>i});var n=r(58168),o=(r(96540),r(15680));const p={},a="OpenJ9",l={unversionedId:"study/program/JAVA/OepnJ9",id:"study/program/JAVA/OepnJ9",title:"OpenJ9",description:"https://eclipse.dev/openj9/",source:"@site/docs/study/program/JAVA/OepnJ9.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/OepnJ9",permalink:"/docs/study/program/JAVA/OepnJ9",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Maven",permalink:"/docs/study/program/JAVA/Maven"},next:{title:"RxJava",permalink:"/docs/study/program/JAVA/RxJava"}},c={},i=[],u={toc:i},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"openj9"},"OpenJ9"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://eclipse.dev/openj9/"},"https://eclipse.dev/openj9/")),(0,o.yg)("p",null,"OpenJ9 \u662f\u539f\u6765\u7684 IBM J9 Java \u865a\u62df\u673a (JVM)\uff0c\u5df2\u8d21\u732e\u7ed9 Eclipse \u57fa\u91d1\u4f1a\u5f00\u6e90\u3002"),(0,o.yg)("p",null,"OpenJ9 \u662f\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684\u4f01\u4e1a\u7ea7 Java \u865a\u62df\u673a\uff0c\u65e8\u5728\u4fc3\u8fdb JVM \u5f00\u53d1\u8005\u7684\u5f00\u653e\u751f\u6001\u7cfb\u7edf\uff0c\u4ece\u800c\u53ef\u4ee5\u4e0e\u786c\u4ef6\u5e73\u53f0\u3001\u64cd\u4f5c\u7cfb\u7edf\u3001\u5de5\u5177\u548c\u6846\u67b6\u8bbe\u8ba1\u5e08\u548c\u5f00\u53d1\u8005\u8fdb\u884c\u534f\u4f5c\u548c\u521b\u65b0\u3002"),(0,o.yg)("p",null,"Java \u793e\u533a\u4ece JVM \u89c4\u8303\u7684\u591a\u4e2a\u5b9e\u73b0\u4e2d\u53d7\u76ca\u532a\u6d45\uff0c\u4e3a\u5176\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u6700\u4f73\u8fd0\u884c\u65f6\u3002\u65e0\u8bba\u662f\u6dfb\u52a0\u538b\u7f29\u5f15\u7528\u3001\u65b0\u7684\u4e91\u529f\u80fd\u3001AOT\uff08\u63d0\u524d\u7f16\u8bd1\uff09\uff0c\u8fd8\u662f\u76f4\u63a5\u63d0\u5347\u6027\u80fd\u548c\u964d\u4f4e\u5185\u5b58\u4f7f\u7528\uff0c\u751f\u6001\u7cfb\u7edf\u901a\u8fc7\u7ade\u4e89\u5f97\u5230\u6539\u5584\u3002 Eclipse OpenJ9 \u65e8\u5728\u7ee7\u7eed\u63a8\u52a8\u8fd0\u884c\u65f6\u7684\u521b\u65b0\u3002"),(0,o.yg)("p",null,"\u6839\u636e\u5b98\u7f51\u6587\u6863\u8bf4\u660e\uff0c\u4ee5 OpenJDK8 \u548c OpenJ9 \u6bd4\u8f83\u8bf4\u660e\u5176\u5e94\u7528\u5c42\u9762\u7684\u7279\u70b9\u3001\u4f18\u52bf\uff1a"),(0,o.yg)("p",null,"42% faster startup time\uff0c\u542f\u52a8\u65f6\u95f4\u5feb 42% 66% smaller footprint after startup\uff0c\u542f\u52a8\u540e\u5360\u7528\u5185\u5b58\u51cf\u5c11 66%"),(0,o.yg)("p",null,"Faster ramp-up time in the cloud\uff0c\u4e91\u7aef\u73af\u5883\u5feb\u901f\u63d0\u5347\u541e\u5410\u91cf "),(0,o.yg)("p",null,"63% smaller footprint during load\uff0c\u9ad8\u8d1f\u8f7d\u65f6\u51cf\u5c11 63%\u7684\u5360\u7528\u7a7a\u95f4"),(0,o.yg)("p",null,"\u6839\u636e cheng jin\uff08OpenJ9 VM Software Developer\uff09\u4ecb\u7ecd\uff0cDDR \u548c SCC \u662f\u5176\u4e0d\u540c\u4e8e HotSpot \u7684 2 \u4e2a\u7279\u70b9\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/bc4e745a.686aa6f9.js b/assets/js/bc4e745a.c2d83f4a.js similarity index 98% rename from assets/js/bc4e745a.686aa6f9.js rename to assets/js/bc4e745a.c2d83f4a.js index 359e5d4b0..5c8cf1647 100644 --- a/assets/js/bc4e745a.686aa6f9.js +++ b/assets/js/bc4e745a.c2d83f4a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1256],{15680:(e,r,t)=>{t.d(r,{xA:()=>p,yg:()=>y});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=n.createContext({}),i=function(e){var r=n.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},p=function(e){var r=i(e.components);return n.createElement(s.Provider,{value:r},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},m=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,c=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=i(t),m=o,y=u["".concat(s,".").concat(m)]||u[m]||d[m]||c;return t?n.createElement(y,a(a({ref:r},p),{},{components:t})):n.createElement(y,a({ref:r},p))}));function y(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var c=t.length,a=new Array(c);a[0]=m;var l={};for(var s in r)hasOwnProperty.call(r,s)&&(l[s]=r[s]);l.originalType=e,l[u]="string"==typeof e?e:o,a[1]=l;for(var i=2;i{t.r(r),t.d(r,{assets:()=>s,contentTitle:()=>a,default:()=>d,frontMatter:()=>c,metadata:()=>l,toc:()=>i});var n=t(58168),o=(t(96540),t(15680));const c={},a="Docker Swarm",l={unversionedId:"study/docker/Docker-swarm",id:"study/docker/Docker-swarm",title:"Docker Swarm",description:"Docker Compose \u662f\u4e00\u4e2a\u5728\u5355\u4e2a\u670d\u52a1\u5668\u6216\u4e3b\u673a\u4e0a\u521b\u5efa\u591a\u4e2a\u5bb9\u5668\u7684\u5de5\u5177",source:"@site/docs/study/docker/Docker-swarm.md",sourceDirName:"study/docker",slug:"/study/docker/Docker-swarm",permalink:"/docs/study/docker/Docker-swarm",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Docker Compose",permalink:"/docs/study/docker/Docker-compose"},next:{title:"Dockerfile\u4f7f\u7528\u8be6\u89e3",permalink:"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3"}},s={},i=[{value:"\u57fa\u672c\u67b6\u6784\u56fe",id:"\u57fa\u672c\u67b6\u6784\u56fe",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:i},u="wrapper";function d(e){let{components:r,...c}=e;return(0,o.yg)(u,(0,n.A)({},p,c,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"docker-swarm"},"Docker Swarm"),(0,o.yg)("p",null,"Docker Compose \u662f\u4e00\u4e2a\u5728\u5355\u4e2a\u670d\u52a1\u5668\u6216\u4e3b\u673a\u4e0a\u521b\u5efa\u591a\u4e2a\u5bb9\u5668\u7684\u5de5\u5177"),(0,o.yg)("p",null,"Docker Swarm \u5219\u53ef\u4ee5\u5728\u591a\u4e2a\u670d\u52a1\u5668\u6216\u4e3b\u673a\u4e0a\u521b\u5efa\u5bb9\u5668\u96c6\u7fa4\u670d\u52a1\uff0c\u5bf9\u4e8e\u5fae\u670d\u52a1\u7684\u90e8\u7f72\uff0c\u663e\u7136 Docker Swarm \u4f1a\u66f4\u52a0\u9002\u5408\u3002"),(0,o.yg)("h3",{id:"\u57fa\u672c\u67b6\u6784\u56fe"},"\u57fa\u672c\u67b6\u6784\u56fe"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"\u57fa\u672c\u67b6\u6784\u56fe",src:t(44898).A,width:"510",height:"452"})),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/al6nlee/article/details/130912842"},"csdn-\u3010Docker\u3011Swarm\u5b66\u4e60"))))}d.isMDXComponent=!0},44898:(e,r,t)=>{t.d(r,{A:()=>n});const n=t.p+"assets/images/swarm-09239f76f39cf6355b9289915240eccc.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1256],{15680:(e,r,t)=>{t.d(r,{xA:()=>p,yg:()=>y});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=n.createContext({}),i=function(e){var r=n.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},p=function(e){var r=i(e.components);return n.createElement(s.Provider,{value:r},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},m=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,c=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=i(t),m=o,y=u["".concat(s,".").concat(m)]||u[m]||d[m]||c;return t?n.createElement(y,a(a({ref:r},p),{},{components:t})):n.createElement(y,a({ref:r},p))}));function y(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var c=t.length,a=new Array(c);a[0]=m;var l={};for(var s in r)hasOwnProperty.call(r,s)&&(l[s]=r[s]);l.originalType=e,l[u]="string"==typeof e?e:o,a[1]=l;for(var i=2;i{t.r(r),t.d(r,{assets:()=>s,contentTitle:()=>a,default:()=>d,frontMatter:()=>c,metadata:()=>l,toc:()=>i});var n=t(58168),o=(t(96540),t(15680));const c={},a="Docker Swarm",l={unversionedId:"study/docker/Docker-swarm",id:"study/docker/Docker-swarm",title:"Docker Swarm",description:"Docker Compose \u662f\u4e00\u4e2a\u5728\u5355\u4e2a\u670d\u52a1\u5668\u6216\u4e3b\u673a\u4e0a\u521b\u5efa\u591a\u4e2a\u5bb9\u5668\u7684\u5de5\u5177",source:"@site/docs/study/docker/Docker-swarm.md",sourceDirName:"study/docker",slug:"/study/docker/Docker-swarm",permalink:"/docs/study/docker/Docker-swarm",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Docker Compose",permalink:"/docs/study/docker/Docker-compose"},next:{title:"Dockerfile\u4f7f\u7528\u8be6\u89e3",permalink:"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3"}},s={},i=[{value:"\u57fa\u672c\u67b6\u6784\u56fe",id:"\u57fa\u672c\u67b6\u6784\u56fe",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:i},u="wrapper";function d(e){let{components:r,...c}=e;return(0,o.yg)(u,(0,n.A)({},p,c,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"docker-swarm"},"Docker Swarm"),(0,o.yg)("p",null,"Docker Compose \u662f\u4e00\u4e2a\u5728\u5355\u4e2a\u670d\u52a1\u5668\u6216\u4e3b\u673a\u4e0a\u521b\u5efa\u591a\u4e2a\u5bb9\u5668\u7684\u5de5\u5177"),(0,o.yg)("p",null,"Docker Swarm \u5219\u53ef\u4ee5\u5728\u591a\u4e2a\u670d\u52a1\u5668\u6216\u4e3b\u673a\u4e0a\u521b\u5efa\u5bb9\u5668\u96c6\u7fa4\u670d\u52a1\uff0c\u5bf9\u4e8e\u5fae\u670d\u52a1\u7684\u90e8\u7f72\uff0c\u663e\u7136 Docker Swarm \u4f1a\u66f4\u52a0\u9002\u5408\u3002"),(0,o.yg)("h3",{id:"\u57fa\u672c\u67b6\u6784\u56fe"},"\u57fa\u672c\u67b6\u6784\u56fe"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"\u57fa\u672c\u67b6\u6784\u56fe",src:t(44898).A,width:"510",height:"452"})),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/al6nlee/article/details/130912842"},"csdn-\u3010Docker\u3011Swarm\u5b66\u4e60"))))}d.isMDXComponent=!0},44898:(e,r,t)=>{t.d(r,{A:()=>n});const n=t.p+"assets/images/swarm-09239f76f39cf6355b9289915240eccc.png"}}]); \ No newline at end of file diff --git a/assets/js/bc4fa409.a3625667.js b/assets/js/bc4fa409.c6c0e877.js similarity index 99% rename from assets/js/bc4fa409.a3625667.js rename to assets/js/bc4fa409.c6c0e877.js index 6e2ab5a83..46b0b52ba 100644 --- a/assets/js/bc4fa409.a3625667.js +++ b/assets/js/bc4fa409.c6c0e877.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[850],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=c(r),d=o,f=p["".concat(i,".").concat(d)]||p[d]||y[d]||a;return r?n.createElement(f,l(l({ref:t},u),{},{components:r})):n.createElement(f,l({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[p]="string"==typeof e?e:o,l[1]=s;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>s,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,s={unversionedId:"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",id:"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",title:"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",description:"CFS",source:"@site/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6.md",sourceDirName:"study/system",slug:"/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",permalink:"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7a0b\u5e8f\u8c03\u8bd5",permalink:"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5"},next:{title:"IPV6",permalink:"/docs/study/net/IPV6"}},i={},c=[{value:"CFS",id:"cfs",level:3},{value:"RT \u5b9e\u65f6\u8c03\u5ea6",id:"rt-\u5b9e\u65f6\u8c03\u5ea6",level:3},{value:"BFS",id:"bfs",level:3}],u={toc:c},p="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"cfs"},"CFS"),(0,o.yg)("p",null,"\u5b9a\u4e49\u4e0e\u4f5c\u7528\uff1aCFS \u662f Linux \u5185\u6838\u4e2d\u7528\u4e8e\u8fdb\u7a0b\u8c03\u5ea6\u7684\u4e00\u79cd\u8c03\u5ea6\u5668\uff0c\u5b83\u7684\u4e3b\u8981\u76ee\u6807\u662f\u516c\u5e73\u5730\u5206\u914d CPU \u65f6\u95f4\u7ed9\u5404\u4e2a\u8fdb\u7a0b\u3002\u8fd9\u610f\u5473\u7740\u5728\u591a\u4efb\u52a1\u73af\u5883\u4e0b\uff0c\u6bcf\u4e2a\u8fdb\u7a0b\u90fd\u80fd\u6839\u636e\u5176\u4f18\u5148\u7ea7\u548c\u5bf9 CPU \u7684\u9700\u6c42\uff0c\u5408\u7406\u5730\u83b7\u5f97 CPU \u8d44\u6e90\uff0c\u4ece\u800c\u907f\u514d\u67d0\u4e2a\u8fdb\u7a0b\u957f\u65f6\u95f4\u5360\u7528 CPU \u800c\u5bfc\u81f4\u5176\u4ed6\u8fdb\u7a0b \u201c\u9965\u997f\u201d \u7684\u60c5\u51b5\u3002"),(0,o.yg)("p",null,"\u8bbe\u8ba1\u7406\u5ff5\uff1aCFS \u57fa\u4e8e\u516c\u5e73\u6027\u539f\u5219\uff0c\u5b83\u4e0d\u50cf\u4e00\u4e9b\u65e9\u671f\u7684\u8c03\u5ea6\u5668\u90a3\u6837\u6309\u7167\u56fa\u5b9a\u7684\u65f6\u95f4\u7247\u6765\u5206\u914d CPU\uff0c\u800c\u662f\u91c7\u7528\u4e86\u4e00\u79cd\u865a\u62df\u8fd0\u884c\u65f6\u95f4\uff08virtual runtime\uff09\u7684\u6982\u5ff5\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u6bcf\u4e2a\u8fdb\u7a0b\u90fd\u6709\u4e00\u4e2a\u865a\u62df\u8fd0\u884c\u65f6\u95f4\uff0cCFS \u4f1a\u6839\u636e\u8fd9\u4e2a\u865a\u62df\u8fd0\u884c\u65f6\u95f4\u6765\u51b3\u5b9a\u4e0b\u4e00\u4e2a\u5e94\u8be5\u8fd0\u884c\u7684\u8fdb\u7a0b\uff0c\u4f7f\u5f97\u6240\u6709\u8fdb\u7a0b\u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u83b7\u5f97\u7684 CPU \u65f6\u95f4\u5927\u81f4\u76f8\u540c\u3002"),(0,o.yg)("h3",{id:"rt-\u5b9e\u65f6\u8c03\u5ea6"},"RT \u5b9e\u65f6\u8c03\u5ea6"),(0,o.yg)("p",null,"\u5206\u7c7b\u4e0e\u5e94\u7528\u573a\u666f\uff1a"),(0,o.yg)("p",null,"SCHED_FIFO\uff08\u5148\u8fdb\u5148\u51fa\u5b9e\u65f6\u8c03\u5ea6\uff09\uff1a\u8fd9\u662f\u4e00\u79cd\u7b80\u5355\u7684\u5b9e\u65f6\u8c03\u5ea6\u7b56\u7565\u3002\u6309\u7167\u8fdb\u7a0b\u8fdb\u5165\u5c31\u7eea\u961f\u5217\u7684\u987a\u5e8f\u6765\u5206\u914d CPU\uff0c\u4e00\u65e6\u4e00\u4e2a\u9ad8\u4f18\u5148\u7ea7\u7684\u5b9e\u65f6\u8fdb\u7a0b\u5f00\u59cb\u8fd0\u884c\uff0c\u5b83\u5c06\u4e00\u76f4\u8fd0\u884c\u76f4\u5230\u7ed3\u675f\u3001\u963b\u585e\u6216\u8005\u88ab\u66f4\u9ad8\u4f18\u5148\u7ea7\u7684\u5b9e\u65f6\u8fdb\u7a0b\u62a2\u5360\u3002\u4e3b\u8981\u7528\u4e8e\u5bf9\u5ef6\u8fdf\u8981\u6c42\u6781\u9ad8\u7684\u786c\u5b9e\u65f6\u4efb\u52a1\uff0c\u5982\u5de5\u4e1a\u63a7\u5236\u4e2d\u7684\u67d0\u4e9b\u7d27\u6025\u63a7\u5236\u4efb\u52a1\u3001\u822a\u7a7a\u822a\u5929\u4e2d\u7684\u5173\u952e\u98de\u884c\u63a7\u5236\u7cfb\u7edf\u7b49\u3002"),(0,o.yg)("p",null,"SCHED_RR\uff08\u65f6\u95f4\u7247\u8f6e\u8f6c\u5b9e\u65f6\u8c03\u5ea6\uff09\uff1a\u7c7b\u4f3c\u4e8e SCHED_FIFO\uff0c\u4f46\u589e\u52a0\u4e86\u65f6\u95f4\u7247\u7684\u6982\u5ff5\u3002\u6bcf\u4e2a\u5b9e\u65f6\u8fdb\u7a0b\u5728\u83b7\u5f97 CPU \u540e\u4f1a\u8fd0\u884c\u4e00\u4e2a\u56fa\u5b9a\u7684\u65f6\u95f4\u7247\uff0c\u65f6\u95f4\u7247\u7528\u5b8c\u540e\uff0c\u5c06 CPU \u8ba9\u7ed9\u540c\u4f18\u5148\u7ea7\u7684\u4e0b\u4e00\u4e2a\u5b9e\u65f6\u8fdb\u7a0b\u3002\u8fd9\u79cd\u8c03\u5ea6\u7b56\u7565\u9002\u7528\u4e8e\u5bf9\u5b9e\u65f6\u6027\u8981\u6c42\u8f83\u9ad8\u4e14\u9700\u8981\u516c\u5e73\u5171\u4eab CPU \u7684\u8f6f\u5b9e\u65f6\u4efb\u52a1\uff0c\u5982\u591a\u5a92\u4f53\u64ad\u653e\u7cfb\u7edf\u4e2d\u7684\u97f3\u9891\u548c\u89c6\u9891\u5904\u7406\u4efb\u52a1\uff0c\u9700\u8981\u5728\u4e00\u5b9a\u65f6\u95f4\u5185\u5b8c\u6210\u5904\u7406\uff0c\u540c\u65f6\u4e5f\u9700\u8981\u76f8\u5bf9\u516c\u5e73\u7684\u8d44\u6e90\u5206\u914d\u3002"),(0,o.yg)("h3",{id:"bfs"},"BFS"),(0,o.yg)("p",null,"\u8bbe\u8ba1\u7406\u5ff5\u4e0e\u76ee\u6807\uff1aBFS \u662f\u4e3a\u4e86\u89e3\u51b3 Linux \u5728\u9ad8\u8d1f\u8f7d\u548c\u591a\u6838\u5fc3\u73af\u5883\u4e0b\u7684\u8c03\u5ea6\u6027\u80fd\u95ee\u9898\u800c\u8bbe\u8ba1\u7684\u3002\u5b83\u7684\u76ee\u6807\u662f\u51cf\u5c11\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u63d0\u9ad8\u7cfb\u7edf\u7684\u54cd\u5e94\u901f\u5ea6\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u5927\u91cf\u7ebf\u7a0b\u7684\u590d\u6742\u573a\u666f\u4e0b\u3002"),(0,o.yg)("p",null,"\u5de5\u4f5c\u65b9\u5f0f\u7684\u521b\u65b0\u70b9\uff1aBFS \u91c7\u7528\u4e86\u4e00\u79cd\u4e0d\u540c\u7684\u8c03\u5ea6\u5c42\u6b21\u7ed3\u6784\u548c\u961f\u5217\u7ba1\u7406\u65b9\u5f0f\u3002\u5b83\u5c06\u6240\u6709\u7684\u7ebf\u7a0b\u7ec4\u7ec7\u5728\u4e00\u4e2a\u5355\u4e00\u7684\u8fd0\u884c\u961f\u5217\u4e2d\uff0c\u901a\u8fc7\u4e00\u79cd\u5feb\u901f\u7684\u8c03\u5ea6\u7b97\u6cd5\u6765\u9009\u62e9\u4e0b\u4e00\u4e2a\u8981\u8fd0\u884c\u7684\u7ebf\u7a0b\u3002\u8fd9\u79cd\u65b9\u5f0f\u4e0e\u4f20\u7edf\u7684\u8c03\u5ea6\u5668\uff08\u5982 CFS\uff09\u5c06\u7ebf\u7a0b\u5206\u6563\u5728\u591a\u4e2a\u961f\u5217\u4e2d\u7684\u65b9\u5f0f\u4e0d\u540c\uff0c\u80fd\u591f\u66f4\u6709\u6548\u5730\u5229\u7528\u591a\u6838\u8d44\u6e90\uff0c\u51cf\u5c11\u7ebf\u7a0b\u5728\u961f\u5217\u4e4b\u95f4\u7684\u8fc1\u79fb\u548c\u7b49\u5f85\u65f6\u95f4\u3002\u4e0d\u8fc7\uff0cBFS \u76ee\u524d\u6ca1\u6709\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u4e3b\u6d41 Linux \u53d1\u884c\u7248\uff0c\u4ecd\u5904\u4e8e\u7814\u7a76\u548c\u5b9e\u9a8c\u9636\u6bb5\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[850],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=c(r),d=o,f=p["".concat(i,".").concat(d)]||p[d]||y[d]||a;return r?n.createElement(f,l(l({ref:t},u),{},{components:r})):n.createElement(f,l({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=d;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[p]="string"==typeof e?e:o,l[1]=s;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>s,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},l=void 0,s={unversionedId:"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",id:"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",title:"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",description:"CFS",source:"@site/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6.md",sourceDirName:"study/system",slug:"/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",permalink:"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7a0b\u5e8f\u8c03\u8bd5",permalink:"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5"},next:{title:"IPV6",permalink:"/docs/study/net/IPV6"}},i={},c=[{value:"CFS",id:"cfs",level:3},{value:"RT \u5b9e\u65f6\u8c03\u5ea6",id:"rt-\u5b9e\u65f6\u8c03\u5ea6",level:3},{value:"BFS",id:"bfs",level:3}],u={toc:c},p="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"cfs"},"CFS"),(0,o.yg)("p",null,"\u5b9a\u4e49\u4e0e\u4f5c\u7528\uff1aCFS \u662f Linux \u5185\u6838\u4e2d\u7528\u4e8e\u8fdb\u7a0b\u8c03\u5ea6\u7684\u4e00\u79cd\u8c03\u5ea6\u5668\uff0c\u5b83\u7684\u4e3b\u8981\u76ee\u6807\u662f\u516c\u5e73\u5730\u5206\u914d CPU \u65f6\u95f4\u7ed9\u5404\u4e2a\u8fdb\u7a0b\u3002\u8fd9\u610f\u5473\u7740\u5728\u591a\u4efb\u52a1\u73af\u5883\u4e0b\uff0c\u6bcf\u4e2a\u8fdb\u7a0b\u90fd\u80fd\u6839\u636e\u5176\u4f18\u5148\u7ea7\u548c\u5bf9 CPU \u7684\u9700\u6c42\uff0c\u5408\u7406\u5730\u83b7\u5f97 CPU \u8d44\u6e90\uff0c\u4ece\u800c\u907f\u514d\u67d0\u4e2a\u8fdb\u7a0b\u957f\u65f6\u95f4\u5360\u7528 CPU \u800c\u5bfc\u81f4\u5176\u4ed6\u8fdb\u7a0b \u201c\u9965\u997f\u201d \u7684\u60c5\u51b5\u3002"),(0,o.yg)("p",null,"\u8bbe\u8ba1\u7406\u5ff5\uff1aCFS \u57fa\u4e8e\u516c\u5e73\u6027\u539f\u5219\uff0c\u5b83\u4e0d\u50cf\u4e00\u4e9b\u65e9\u671f\u7684\u8c03\u5ea6\u5668\u90a3\u6837\u6309\u7167\u56fa\u5b9a\u7684\u65f6\u95f4\u7247\u6765\u5206\u914d CPU\uff0c\u800c\u662f\u91c7\u7528\u4e86\u4e00\u79cd\u865a\u62df\u8fd0\u884c\u65f6\u95f4\uff08virtual runtime\uff09\u7684\u6982\u5ff5\u3002\u7b80\u5355\u6765\u8bf4\uff0c\u6bcf\u4e2a\u8fdb\u7a0b\u90fd\u6709\u4e00\u4e2a\u865a\u62df\u8fd0\u884c\u65f6\u95f4\uff0cCFS \u4f1a\u6839\u636e\u8fd9\u4e2a\u865a\u62df\u8fd0\u884c\u65f6\u95f4\u6765\u51b3\u5b9a\u4e0b\u4e00\u4e2a\u5e94\u8be5\u8fd0\u884c\u7684\u8fdb\u7a0b\uff0c\u4f7f\u5f97\u6240\u6709\u8fdb\u7a0b\u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u83b7\u5f97\u7684 CPU \u65f6\u95f4\u5927\u81f4\u76f8\u540c\u3002"),(0,o.yg)("h3",{id:"rt-\u5b9e\u65f6\u8c03\u5ea6"},"RT \u5b9e\u65f6\u8c03\u5ea6"),(0,o.yg)("p",null,"\u5206\u7c7b\u4e0e\u5e94\u7528\u573a\u666f\uff1a"),(0,o.yg)("p",null,"SCHED_FIFO\uff08\u5148\u8fdb\u5148\u51fa\u5b9e\u65f6\u8c03\u5ea6\uff09\uff1a\u8fd9\u662f\u4e00\u79cd\u7b80\u5355\u7684\u5b9e\u65f6\u8c03\u5ea6\u7b56\u7565\u3002\u6309\u7167\u8fdb\u7a0b\u8fdb\u5165\u5c31\u7eea\u961f\u5217\u7684\u987a\u5e8f\u6765\u5206\u914d CPU\uff0c\u4e00\u65e6\u4e00\u4e2a\u9ad8\u4f18\u5148\u7ea7\u7684\u5b9e\u65f6\u8fdb\u7a0b\u5f00\u59cb\u8fd0\u884c\uff0c\u5b83\u5c06\u4e00\u76f4\u8fd0\u884c\u76f4\u5230\u7ed3\u675f\u3001\u963b\u585e\u6216\u8005\u88ab\u66f4\u9ad8\u4f18\u5148\u7ea7\u7684\u5b9e\u65f6\u8fdb\u7a0b\u62a2\u5360\u3002\u4e3b\u8981\u7528\u4e8e\u5bf9\u5ef6\u8fdf\u8981\u6c42\u6781\u9ad8\u7684\u786c\u5b9e\u65f6\u4efb\u52a1\uff0c\u5982\u5de5\u4e1a\u63a7\u5236\u4e2d\u7684\u67d0\u4e9b\u7d27\u6025\u63a7\u5236\u4efb\u52a1\u3001\u822a\u7a7a\u822a\u5929\u4e2d\u7684\u5173\u952e\u98de\u884c\u63a7\u5236\u7cfb\u7edf\u7b49\u3002"),(0,o.yg)("p",null,"SCHED_RR\uff08\u65f6\u95f4\u7247\u8f6e\u8f6c\u5b9e\u65f6\u8c03\u5ea6\uff09\uff1a\u7c7b\u4f3c\u4e8e SCHED_FIFO\uff0c\u4f46\u589e\u52a0\u4e86\u65f6\u95f4\u7247\u7684\u6982\u5ff5\u3002\u6bcf\u4e2a\u5b9e\u65f6\u8fdb\u7a0b\u5728\u83b7\u5f97 CPU \u540e\u4f1a\u8fd0\u884c\u4e00\u4e2a\u56fa\u5b9a\u7684\u65f6\u95f4\u7247\uff0c\u65f6\u95f4\u7247\u7528\u5b8c\u540e\uff0c\u5c06 CPU \u8ba9\u7ed9\u540c\u4f18\u5148\u7ea7\u7684\u4e0b\u4e00\u4e2a\u5b9e\u65f6\u8fdb\u7a0b\u3002\u8fd9\u79cd\u8c03\u5ea6\u7b56\u7565\u9002\u7528\u4e8e\u5bf9\u5b9e\u65f6\u6027\u8981\u6c42\u8f83\u9ad8\u4e14\u9700\u8981\u516c\u5e73\u5171\u4eab CPU \u7684\u8f6f\u5b9e\u65f6\u4efb\u52a1\uff0c\u5982\u591a\u5a92\u4f53\u64ad\u653e\u7cfb\u7edf\u4e2d\u7684\u97f3\u9891\u548c\u89c6\u9891\u5904\u7406\u4efb\u52a1\uff0c\u9700\u8981\u5728\u4e00\u5b9a\u65f6\u95f4\u5185\u5b8c\u6210\u5904\u7406\uff0c\u540c\u65f6\u4e5f\u9700\u8981\u76f8\u5bf9\u516c\u5e73\u7684\u8d44\u6e90\u5206\u914d\u3002"),(0,o.yg)("h3",{id:"bfs"},"BFS"),(0,o.yg)("p",null,"\u8bbe\u8ba1\u7406\u5ff5\u4e0e\u76ee\u6807\uff1aBFS \u662f\u4e3a\u4e86\u89e3\u51b3 Linux \u5728\u9ad8\u8d1f\u8f7d\u548c\u591a\u6838\u5fc3\u73af\u5883\u4e0b\u7684\u8c03\u5ea6\u6027\u80fd\u95ee\u9898\u800c\u8bbe\u8ba1\u7684\u3002\u5b83\u7684\u76ee\u6807\u662f\u51cf\u5c11\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u63d0\u9ad8\u7cfb\u7edf\u7684\u54cd\u5e94\u901f\u5ea6\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u5927\u91cf\u7ebf\u7a0b\u7684\u590d\u6742\u573a\u666f\u4e0b\u3002"),(0,o.yg)("p",null,"\u5de5\u4f5c\u65b9\u5f0f\u7684\u521b\u65b0\u70b9\uff1aBFS \u91c7\u7528\u4e86\u4e00\u79cd\u4e0d\u540c\u7684\u8c03\u5ea6\u5c42\u6b21\u7ed3\u6784\u548c\u961f\u5217\u7ba1\u7406\u65b9\u5f0f\u3002\u5b83\u5c06\u6240\u6709\u7684\u7ebf\u7a0b\u7ec4\u7ec7\u5728\u4e00\u4e2a\u5355\u4e00\u7684\u8fd0\u884c\u961f\u5217\u4e2d\uff0c\u901a\u8fc7\u4e00\u79cd\u5feb\u901f\u7684\u8c03\u5ea6\u7b97\u6cd5\u6765\u9009\u62e9\u4e0b\u4e00\u4e2a\u8981\u8fd0\u884c\u7684\u7ebf\u7a0b\u3002\u8fd9\u79cd\u65b9\u5f0f\u4e0e\u4f20\u7edf\u7684\u8c03\u5ea6\u5668\uff08\u5982 CFS\uff09\u5c06\u7ebf\u7a0b\u5206\u6563\u5728\u591a\u4e2a\u961f\u5217\u4e2d\u7684\u65b9\u5f0f\u4e0d\u540c\uff0c\u80fd\u591f\u66f4\u6709\u6548\u5730\u5229\u7528\u591a\u6838\u8d44\u6e90\uff0c\u51cf\u5c11\u7ebf\u7a0b\u5728\u961f\u5217\u4e4b\u95f4\u7684\u8fc1\u79fb\u548c\u7b49\u5f85\u65f6\u95f4\u3002\u4e0d\u8fc7\uff0cBFS \u76ee\u524d\u6ca1\u6709\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u4e3b\u6d41 Linux \u53d1\u884c\u7248\uff0c\u4ecd\u5904\u4e8e\u7814\u7a76\u548c\u5b9e\u9a8c\u9636\u6bb5\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/be2a55e4.58f243ef.js b/assets/js/be2a55e4.266bb654.js similarity index 98% rename from assets/js/be2a55e4.58f243ef.js rename to assets/js/be2a55e4.266bb654.js index 222b10bb0..2db986340 100644 --- a/assets/js/be2a55e4.58f243ef.js +++ b/assets/js/be2a55e4.266bb654.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9450],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,i=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=c(r),g=a,d=s["".concat(i,".").concat(g)]||s[g]||y[g]||l;return r?n.createElement(d,o(o({ref:t},p),{},{components:r})):n.createElement(d,o({ref:t},p))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,o=new Array(l);o[0]=g;var u={};for(var i in t)hasOwnProperty.call(t,i)&&(u[i]=t[i]);u.originalType=e,u[s]="string"==typeof e?e:a,o[1]=u;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>y,frontMatter:()=>l,metadata:()=>u,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const l={},o="Flutter",u={unversionedId:"study/program/Dart/Flutter",id:"study/program/Dart/Flutter",title:"Flutter",description:"\u5e94\u7528\u56fe\u6807",source:"@site/docs/study/program/Dart/Flutter.md",sourceDirName:"study/program/Dart",slug:"/study/program/Dart/Flutter",permalink:"/docs/study/program/Dart/Flutter",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CSharp",permalink:"/docs/study/program/CSharp/"},next:{title:"Dart \u5b66\u4e60\u8d44\u6599",permalink:"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599"}},i={},c=[{value:"\u5e94\u7528\u56fe\u6807",id:"\u5e94\u7528\u56fe\u6807",level:3},{value:"\u95ea\u5c4f \u542f\u52a8\u9875",id:"\u95ea\u5c4f-\u542f\u52a8\u9875",level:3},{value:"icons",id:"icons",level:3},{value:"getx",id:"getx",level:3},{value:"chart",id:"chart",level:3},{value:"\u4f9d\u8d56\u5e93\u67e5\u8be2",id:"\u4f9d\u8d56\u5e93\u67e5\u8be2",level:3}],p={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"flutter"},"Flutter"),(0,a.yg)("h3",{id:"\u5e94\u7528\u56fe\u6807"},"\u5e94\u7528\u56fe\u6807"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://pub-web.flutter-io.cn/packages/flutter_launcher_icons"},"Flutter Launcher Icons"))),(0,a.yg)("h3",{id:"\u95ea\u5c4f-\u542f\u52a8\u9875"},"\u95ea\u5c4f \u542f\u52a8\u9875"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://pub-web.flutter-io.cn/packages/flutter_native_splash"},"flutter_native_splash"))),(0,a.yg)("h3",{id:"icons"},"icons"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://fonts.google.com/icons"},"Google Fonts"))),(0,a.yg)("h3",{id:"getx"},"getx"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/jonataslaw/getx/blob/master/documentation/zh_CN/state_management.md"},"getx"))),(0,a.yg)("h3",{id:"chart"},"chart"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://flchart.dev/"},"flchart"))),(0,a.yg)("h3",{id:"\u4f9d\u8d56\u5e93\u67e5\u8be2"},"\u4f9d\u8d56\u5e93\u67e5\u8be2"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://pub-web.flutter-io.cn/"},"pub get"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9450],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,i=e.parentName,p=u(e,["components","mdxType","originalType","parentName"]),s=c(r),g=a,d=s["".concat(i,".").concat(g)]||s[g]||y[g]||l;return r?n.createElement(d,o(o({ref:t},p),{},{components:r})):n.createElement(d,o({ref:t},p))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,o=new Array(l);o[0]=g;var u={};for(var i in t)hasOwnProperty.call(t,i)&&(u[i]=t[i]);u.originalType=e,u[s]="string"==typeof e?e:a,o[1]=u;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>y,frontMatter:()=>l,metadata:()=>u,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const l={},o="Flutter",u={unversionedId:"study/program/Dart/Flutter",id:"study/program/Dart/Flutter",title:"Flutter",description:"\u5e94\u7528\u56fe\u6807",source:"@site/docs/study/program/Dart/Flutter.md",sourceDirName:"study/program/Dart",slug:"/study/program/Dart/Flutter",permalink:"/docs/study/program/Dart/Flutter",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CSharp",permalink:"/docs/study/program/CSharp/"},next:{title:"Dart \u5b66\u4e60\u8d44\u6599",permalink:"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599"}},i={},c=[{value:"\u5e94\u7528\u56fe\u6807",id:"\u5e94\u7528\u56fe\u6807",level:3},{value:"\u95ea\u5c4f \u542f\u52a8\u9875",id:"\u95ea\u5c4f-\u542f\u52a8\u9875",level:3},{value:"icons",id:"icons",level:3},{value:"getx",id:"getx",level:3},{value:"chart",id:"chart",level:3},{value:"\u4f9d\u8d56\u5e93\u67e5\u8be2",id:"\u4f9d\u8d56\u5e93\u67e5\u8be2",level:3}],p={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"flutter"},"Flutter"),(0,a.yg)("h3",{id:"\u5e94\u7528\u56fe\u6807"},"\u5e94\u7528\u56fe\u6807"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://pub-web.flutter-io.cn/packages/flutter_launcher_icons"},"Flutter Launcher Icons"))),(0,a.yg)("h3",{id:"\u95ea\u5c4f-\u542f\u52a8\u9875"},"\u95ea\u5c4f \u542f\u52a8\u9875"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://pub-web.flutter-io.cn/packages/flutter_native_splash"},"flutter_native_splash"))),(0,a.yg)("h3",{id:"icons"},"icons"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://fonts.google.com/icons"},"Google Fonts"))),(0,a.yg)("h3",{id:"getx"},"getx"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/jonataslaw/getx/blob/master/documentation/zh_CN/state_management.md"},"getx"))),(0,a.yg)("h3",{id:"chart"},"chart"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://flchart.dev/"},"flchart"))),(0,a.yg)("h3",{id:"\u4f9d\u8d56\u5e93\u67e5\u8be2"},"\u4f9d\u8d56\u5e93\u67e5\u8be2"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://pub-web.flutter-io.cn/"},"pub get"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/beb59f52.99c14cc2.js b/assets/js/beb59f52.8552014e.js similarity index 98% rename from assets/js/beb59f52.99c14cc2.js rename to assets/js/beb59f52.8552014e.js index e6980eb6c..917fc05b8 100644 --- a/assets/js/beb59f52.99c14cc2.js +++ b/assets/js/beb59f52.8552014e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7215],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241014",id:"study/stock/20241014",title:"20241014",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241014.md",sourceDirName:"study/stock",slug:"/study/stock/20241014",permalink:"/docs/study/stock/20241014",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u4e0a\u5468\u5927\u76d8\u4e00\u76f4\u5728\u6df1\u5ea6\u8c03\u6574\uff0c\u4eca\u5929\u770b\u7740\u662f\u8c03\u6574\u7ed3\u675f\u4e86\uff0c\u5728 5 \u65e5\u7ebf\u548c 13 \u65e5\u7ebf\u4e4b\u95f4\u6536\u9633"),(0,o.yg)("p",null,"\u4eca\u5929\u6ca1\u6709\u505a T\uff0c\u4e00\u4e2a\u662f\u6ca1\u65f6\u95f4\uff0c\u7b2c\u4e8c\u4e2a\u8fd8\u662f\u4e0d\u6562\u4e71\u52a8"),(0,o.yg)("p",null,"\u4e0a\u5468\u516d\u8d22\u653f\u90e8\u7684\u8bb0\u8005\u62db\u5f85\u4f1a\u8fd8\u662f\u5f88\u7ba1\u7528\u7684\uff0c\u63d0\u5230\u6700\u591a\u7684\u5c31\u662f\u5316\u503a"),(0,o.yg)("p",null,"\u671d\u9c9c\u534a\u5c9b\u5c40\u52bf\u7d27\u5f20"),(0,o.yg)("p",null,"\u53f0\u6d77\u5c40\u52bf\u4e5f\u5f88\u7d27\u5f20"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7215],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241014",id:"study/stock/20241014",title:"20241014",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241014.md",sourceDirName:"study/stock",slug:"/study/stock/20241014",permalink:"/docs/study/stock/20241014",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u4e0a\u5468\u5927\u76d8\u4e00\u76f4\u5728\u6df1\u5ea6\u8c03\u6574\uff0c\u4eca\u5929\u770b\u7740\u662f\u8c03\u6574\u7ed3\u675f\u4e86\uff0c\u5728 5 \u65e5\u7ebf\u548c 13 \u65e5\u7ebf\u4e4b\u95f4\u6536\u9633"),(0,o.yg)("p",null,"\u4eca\u5929\u6ca1\u6709\u505a T\uff0c\u4e00\u4e2a\u662f\u6ca1\u65f6\u95f4\uff0c\u7b2c\u4e8c\u4e2a\u8fd8\u662f\u4e0d\u6562\u4e71\u52a8"),(0,o.yg)("p",null,"\u4e0a\u5468\u516d\u8d22\u653f\u90e8\u7684\u8bb0\u8005\u62db\u5f85\u4f1a\u8fd8\u662f\u5f88\u7ba1\u7528\u7684\uff0c\u63d0\u5230\u6700\u591a\u7684\u5c31\u662f\u5316\u503a"),(0,o.yg)("p",null,"\u671d\u9c9c\u534a\u5c9b\u5c40\u52bf\u7d27\u5f20"),(0,o.yg)("p",null,"\u53f0\u6d77\u5c40\u52bf\u4e5f\u5f88\u7d27\u5f20"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c06ef779.a8503117.js b/assets/js/c06ef779.5becbc51.js similarity index 99% rename from assets/js/c06ef779.a8503117.js rename to assets/js/c06ef779.5becbc51.js index a9bfd80b2..1dde69309 100644 --- a/assets/js/c06ef779.a8503117.js +++ b/assets/js/c06ef779.5becbc51.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2368],{15680:(e,t,n)=>{n.d(t,{xA:()=>d,yg:()=>f});var a=n(96540);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var u=a.createContext({}),s=function(e){var t=a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=s(e.components);return a.createElement(u.Provider,{value:t},e.children)},p="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,l=e.originalType,u=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),p=s(n),m=r,f=p["".concat(u,".").concat(m)]||p[m]||c[m]||l;return n?a.createElement(f,i(i({ref:t},d),{},{components:n})):a.createElement(f,i({ref:t},d))}));function f(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var l=n.length,i=new Array(l);i[0]=m;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o[p]="string"==typeof e?e:r,i[1]=o;for(var s=2;s{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>c,frontMatter:()=>l,metadata:()=>o,toc:()=>s});var a=n(58168),r=(n(96540),n(15680));const l={sidebar_position:1},i=void 0,o={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB",title:"InfluxDB",description:"\u5b98\u65b9\u6587\u6863",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"Elasticsearch",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch"},next:{title:"TDengine",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine"}},u={},s=[{value:"\u5b98\u65b9\u6587\u6863",id:"\u5b98\u65b9\u6587\u6863",level:3},{value:"\u57fa\u7840\u4fe1\u606f",id:"\u57fa\u7840\u4fe1\u606f",level:3},{value:"\u8bc4\u4ef7",id:"\u8bc4\u4ef7",level:3},{value:"\u5e38\u7528\u6982\u5ff5",id:"\u5e38\u7528\u6982\u5ff5",level:3},{value:"\u5feb\u901f\u5165\u95e8",id:"\u5feb\u901f\u5165\u95e8",level:3},{value:"\u5176\u4ed6",id:"\u5176\u4ed6",level:3}],d={toc:s},p="wrapper";function c(e){let{components:t,...n}=e;return(0,r.yg)(p,(0,a.A)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.yg)("h3",{id:"\u5b98\u65b9\u6587\u6863"},"\u5b98\u65b9\u6587\u6863"),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://www.influxdata.com/"},"\u5b98\u7f51"),"\n",(0,r.yg)("a",{parentName:"p",href:"https://blog.csdn.net/vtnews/article/details/80197045"},"\u5b66\u4e60\u7b14\u8bb0")),(0,r.yg)("h3",{id:"\u57fa\u7840\u4fe1\u606f"},"\u57fa\u7840\u4fe1\u606f"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aRust"),(0,r.yg)("li",{parentName:"ol"},"\u96c6\u7fa4\u65b9\u6848\uff1a\u975e\u96c6\u7fa4\u5f00\u6e90\uff0c\u96c6\u7fa4\u6536\u8d39"),(0,r.yg)("li",{parentName:"ol"},"\u5f71\u54cd\u529b\uff1a\u5f71\u54cd\u529b\u5f88\u5927\uff0c\u793e\u533a\u4e5f\u6bd4\u8f83\u6d3b\u8dc3\uff0c\u5982\u679c\u6570\u636e\u91cf\u6ca1\u8fd9\u4e48\u5927\uff0c\u5176\u5b9e\u8fd8\u53ef\u4ee5\u7684\uff0c\u6700\u597d\u4e0d\u8981\u505a\u516c\u6709\u4e91\u7528\u8fd9\u4e2a\u6570\u636e\u5e93\uff0c\u56e0\u4e3a\u6570\u636e\u91cf\u5927\u4e86\u4e4b\u540e\uff0c\u5f88\u96be\u53d7\uff0c\u5fc5\u987b\u7684\u4e0a\u96c6\u7fa4\uff0c\u4f46\u662f\u96c6\u7fa4\u662f\u6536\u8d39\u7684\u3002\u9700\u8981\u82b1\u5927\u7cbe\u529b\u53bb\u5904\u7406\u96c6\u7fa4\u95ee\u9898\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u8fd0\u7ef4\u96be\u5ea6\uff1a\u975e\u96c6\u7fa4\u5f00\u6e90\u7248\u672c\u8fd0\u7ef4\u96be\u5ea6\u8fd8\u662f\u7b80\u5355\u7684\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u63a5\u53e3\uff1aInfluxQL and HTTP API"),(0,r.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u534f\u8bae\uff1aMIT")),(0,r.yg)("h3",{id:"\u8bc4\u4ef7"},"\u8bc4\u4ef7"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"InfluxDB \u5355\u673a\u7248\u672c\u5b89\u88c5\u7b80\u5355\uff0c\u7ef4\u62a4\u4e5f\u65b9\u4fbf\uff1b\u8fd0\u7ef4\u4eba\u5458\u5c11\uff081-3 \u4e2a\uff09\u6570\u91cf\u5c11\uff081T \u4ee5\u4e0b\uff09\u7684\u60c5\u51b5\u4e0b\u662f\u6700\u5408\u9002\u7684\u9009\u62e9\uff1b"),(0,r.yg)("li",{parentName:"ol"},"InfluxDB \u5355\u673a\u7248\u672c\u6027\u80fd\u5e76\u4e0d\u591f\u5353\u8d8a\uff0c\u6570\u636e\u91cf\u8d85\u8fc7 1T \u5b58\u5728\u6027\u80fd\u74f6\u9888\uff0cQPS \u8d85\u8fc7 1K \u540e\u8d1f\u8f7d\u6781\u9ad8\uff1b"),(0,r.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u7248\u672c\u4e0d\u652f\u6301\u96c6\u7fa4\uff0c\u62d3\u5c55\u6027\u4e0d\u884c\uff1b")),(0,r.yg)("h3",{id:"\u5e38\u7528\u6982\u5ff5"},"\u5e38\u7528\u6982\u5ff5"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"database\uff0c\u6570\u636e\u5e93"),(0,r.yg)("li",{parentName:"ol"},"measurement\uff0c\u8868"),(0,r.yg)("li",{parentName:"ol"},"field\uff0c\u5b57\u6bb5\uff0cfield set\uff0ca=1\uff0cfield \u6ca1\u6709\u7d22\u5f15"),(0,r.yg)("li",{parentName:"ol"},"tag\uff0c\u6807\u7b7e\uff0ctag set\uff0cb=1\uff0ctag \u6709\u7d22\u5f15"),(0,r.yg)("li",{parentName:"ol"},"rp\uff0cretention policy\uff0c\u6570\u636e\u4fdd\u7559\u7b56\u7565\uff0c\u6eda\u52a8\u5f0f\uff0c\u65e7\u6570\u636e\u4f1a\u5220\u9664\uff0c\u9ed8\u8ba4 autogen\uff0c\u6c38\u4e0d\u5220\u9664"),(0,r.yg)("li",{parentName:"ol"},"cq\uff0ccontinuous query\uff0c\u8fde\u7eed\u67e5\u8be2\uff0c\u7c7b\u4f3c\u5b58\u50a8\u8fc7\u7a0b\uff0c\u81ea\u52a8\u91c7\u6837"),(0,r.yg)("li",{parentName:"ol"},"series\uff1aseries \u662f\u5171\u540c retention policy\uff0cmeasurement \u548c tag set \u7684\u96c6\u5408\u3002"),(0,r.yg)("li",{parentName:"ol"},"point\uff1apoint \u662f\u5177\u6709\u76f8\u540c timestamp\u3001\u76f8\u540c series\uff08measurement\uff0crp\uff0ctag set \u76f8\u540c\uff09\u7684 field\u3002\u8fd9\u4e2a\u70b9\u5728\u6b64\u65f6\u523b\u662f\u552f\u4e00\u5b58\u5728\u7684\u3002"),(0,r.yg)("li",{parentName:"ol"},"wal(Write Ahead Log) \uff0c\u6700\u8fd1\u5199\u7684\u70b9\u6570\u7684\u4e34\u65f6\u7f13\u5b58\u3002\u4e3a\u4e86\u51cf\u5c11\u8bbf\u95ee\u6c38\u4e45\u5b58\u50a8\u6587\u4ef6\u7684\u9891\u7387\uff0cInfluxDB \u5c06\u6700\u65b0\u7684\u6570\u636e\u70b9\u7f13\u51b2\u8fdb WAL \u4e2d\uff0c\u76f4\u5230\u5176\u603b\u5927\u5c0f\u6216\u65f6\u95f4\u89e6\u53d1\u7136\u540e flush \u5230\u957f\u4e45\u7684\u5b58\u50a8\u7a7a\u95f4\u3002\u8fd9\u6837\u53ef\u4ee5\u6709\u6548\u5730\u5c06\u5199\u5165 batch \u5904\u7406\u5230 TSM \u4e2d\u3002")),(0,r.yg)("h3",{id:"\u5feb\u901f\u5165\u95e8"},"\u5feb\u901f\u5165\u95e8"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# v2\nwget https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.5-1.x86_64.rpm\nsudo yum localinstall influxdb2-2.7.5-1.x86_64.rpm\nsudo service influxdb start\nsudo service influxdb status\n# influx\nwget https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.7.3-linux-arm64.tar.gz\ntar xvzf ./influxdb2-client-2.7.3-linux-arm64.tar.gz\nsudo cp ./influx /usr/local/bin/\n\n\n> create database mydb\n> use mydb\n> show measurements\n> insert mymeasurement,tag1=value1 field1=value2\n> select * from mymeasurement where tag1='value1'\n> select * from mymeasurement\n> select * from mymeasurement where tag1='value1' and field1 > 10 order by time desc limit 1\n")),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://docs.influxdata.com/influxdb/v1/tools/api/"},"HTTP V1 API")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://docs.influxdata.com/influxdb/v2/api/"},"HTTP V2 API")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://github.com/influxdata/influxdb-java?tab=readme-ov-file"},"V1 client java")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://github.com/influxdata/influxdb-client-java"},"V2 client java"))),(0,r.yg)("h3",{id:"\u5176\u4ed6"},"\u5176\u4ed6"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://old.reddit.com/r/rust/comments/16v13l5/influxdb_officially_made_the_switch_from_go_rust/"},"InfluxDB CTO \u5173\u4e8e\u7f16\u7a0b\u8bed\u8a00 Go \u5207\u6362\u5230 RUST \u7684\u89e3\u91ca"))))}c.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2368],{15680:(e,t,n)=>{n.d(t,{xA:()=>d,yg:()=>f});var a=n(96540);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var u=a.createContext({}),s=function(e){var t=a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=s(e.components);return a.createElement(u.Provider,{value:t},e.children)},p="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,l=e.originalType,u=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),p=s(n),m=r,f=p["".concat(u,".").concat(m)]||p[m]||c[m]||l;return n?a.createElement(f,i(i({ref:t},d),{},{components:n})):a.createElement(f,i({ref:t},d))}));function f(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var l=n.length,i=new Array(l);i[0]=m;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o[p]="string"==typeof e?e:r,i[1]=o;for(var s=2;s{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>i,default:()=>c,frontMatter:()=>l,metadata:()=>o,toc:()=>s});var a=n(58168),r=(n(96540),n(15680));const l={sidebar_position:1},i=void 0,o={unversionedId:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB",id:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB",title:"InfluxDB",description:"\u5b98\u65b9\u6587\u6863",source:"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB.md",sourceDirName:"study/db/\u65f6\u5e8f\u6570\u636e\u5e93",slug:"/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"Elasticsearch",permalink:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch"},next:{title:"TDengine",permalink:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine"}},u={},s=[{value:"\u5b98\u65b9\u6587\u6863",id:"\u5b98\u65b9\u6587\u6863",level:3},{value:"\u57fa\u7840\u4fe1\u606f",id:"\u57fa\u7840\u4fe1\u606f",level:3},{value:"\u8bc4\u4ef7",id:"\u8bc4\u4ef7",level:3},{value:"\u5e38\u7528\u6982\u5ff5",id:"\u5e38\u7528\u6982\u5ff5",level:3},{value:"\u5feb\u901f\u5165\u95e8",id:"\u5feb\u901f\u5165\u95e8",level:3},{value:"\u5176\u4ed6",id:"\u5176\u4ed6",level:3}],d={toc:s},p="wrapper";function c(e){let{components:t,...n}=e;return(0,r.yg)(p,(0,a.A)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.yg)("h3",{id:"\u5b98\u65b9\u6587\u6863"},"\u5b98\u65b9\u6587\u6863"),(0,r.yg)("p",null,(0,r.yg)("a",{parentName:"p",href:"https://www.influxdata.com/"},"\u5b98\u7f51"),"\n",(0,r.yg)("a",{parentName:"p",href:"https://blog.csdn.net/vtnews/article/details/80197045"},"\u5b66\u4e60\u7b14\u8bb0")),(0,r.yg)("h3",{id:"\u57fa\u7840\u4fe1\u606f"},"\u57fa\u7840\u4fe1\u606f"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"\u7f16\u7a0b\u8bed\u8a00\uff1aRust"),(0,r.yg)("li",{parentName:"ol"},"\u96c6\u7fa4\u65b9\u6848\uff1a\u975e\u96c6\u7fa4\u5f00\u6e90\uff0c\u96c6\u7fa4\u6536\u8d39"),(0,r.yg)("li",{parentName:"ol"},"\u5f71\u54cd\u529b\uff1a\u5f71\u54cd\u529b\u5f88\u5927\uff0c\u793e\u533a\u4e5f\u6bd4\u8f83\u6d3b\u8dc3\uff0c\u5982\u679c\u6570\u636e\u91cf\u6ca1\u8fd9\u4e48\u5927\uff0c\u5176\u5b9e\u8fd8\u53ef\u4ee5\u7684\uff0c\u6700\u597d\u4e0d\u8981\u505a\u516c\u6709\u4e91\u7528\u8fd9\u4e2a\u6570\u636e\u5e93\uff0c\u56e0\u4e3a\u6570\u636e\u91cf\u5927\u4e86\u4e4b\u540e\uff0c\u5f88\u96be\u53d7\uff0c\u5fc5\u987b\u7684\u4e0a\u96c6\u7fa4\uff0c\u4f46\u662f\u96c6\u7fa4\u662f\u6536\u8d39\u7684\u3002\u9700\u8981\u82b1\u5927\u7cbe\u529b\u53bb\u5904\u7406\u96c6\u7fa4\u95ee\u9898\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u8fd0\u7ef4\u96be\u5ea6\uff1a\u975e\u96c6\u7fa4\u5f00\u6e90\u7248\u672c\u8fd0\u7ef4\u96be\u5ea6\u8fd8\u662f\u7b80\u5355\u7684\u3002"),(0,r.yg)("li",{parentName:"ol"},"\u63a5\u53e3\uff1aInfluxQL and HTTP API"),(0,r.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u534f\u8bae\uff1aMIT")),(0,r.yg)("h3",{id:"\u8bc4\u4ef7"},"\u8bc4\u4ef7"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"InfluxDB \u5355\u673a\u7248\u672c\u5b89\u88c5\u7b80\u5355\uff0c\u7ef4\u62a4\u4e5f\u65b9\u4fbf\uff1b\u8fd0\u7ef4\u4eba\u5458\u5c11\uff081-3 \u4e2a\uff09\u6570\u91cf\u5c11\uff081T \u4ee5\u4e0b\uff09\u7684\u60c5\u51b5\u4e0b\u662f\u6700\u5408\u9002\u7684\u9009\u62e9\uff1b"),(0,r.yg)("li",{parentName:"ol"},"InfluxDB \u5355\u673a\u7248\u672c\u6027\u80fd\u5e76\u4e0d\u591f\u5353\u8d8a\uff0c\u6570\u636e\u91cf\u8d85\u8fc7 1T \u5b58\u5728\u6027\u80fd\u74f6\u9888\uff0cQPS \u8d85\u8fc7 1K \u540e\u8d1f\u8f7d\u6781\u9ad8\uff1b"),(0,r.yg)("li",{parentName:"ol"},"\u5f00\u6e90\u7248\u672c\u4e0d\u652f\u6301\u96c6\u7fa4\uff0c\u62d3\u5c55\u6027\u4e0d\u884c\uff1b")),(0,r.yg)("h3",{id:"\u5e38\u7528\u6982\u5ff5"},"\u5e38\u7528\u6982\u5ff5"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},"database\uff0c\u6570\u636e\u5e93"),(0,r.yg)("li",{parentName:"ol"},"measurement\uff0c\u8868"),(0,r.yg)("li",{parentName:"ol"},"field\uff0c\u5b57\u6bb5\uff0cfield set\uff0ca=1\uff0cfield \u6ca1\u6709\u7d22\u5f15"),(0,r.yg)("li",{parentName:"ol"},"tag\uff0c\u6807\u7b7e\uff0ctag set\uff0cb=1\uff0ctag \u6709\u7d22\u5f15"),(0,r.yg)("li",{parentName:"ol"},"rp\uff0cretention policy\uff0c\u6570\u636e\u4fdd\u7559\u7b56\u7565\uff0c\u6eda\u52a8\u5f0f\uff0c\u65e7\u6570\u636e\u4f1a\u5220\u9664\uff0c\u9ed8\u8ba4 autogen\uff0c\u6c38\u4e0d\u5220\u9664"),(0,r.yg)("li",{parentName:"ol"},"cq\uff0ccontinuous query\uff0c\u8fde\u7eed\u67e5\u8be2\uff0c\u7c7b\u4f3c\u5b58\u50a8\u8fc7\u7a0b\uff0c\u81ea\u52a8\u91c7\u6837"),(0,r.yg)("li",{parentName:"ol"},"series\uff1aseries \u662f\u5171\u540c retention policy\uff0cmeasurement \u548c tag set \u7684\u96c6\u5408\u3002"),(0,r.yg)("li",{parentName:"ol"},"point\uff1apoint \u662f\u5177\u6709\u76f8\u540c timestamp\u3001\u76f8\u540c series\uff08measurement\uff0crp\uff0ctag set \u76f8\u540c\uff09\u7684 field\u3002\u8fd9\u4e2a\u70b9\u5728\u6b64\u65f6\u523b\u662f\u552f\u4e00\u5b58\u5728\u7684\u3002"),(0,r.yg)("li",{parentName:"ol"},"wal(Write Ahead Log) \uff0c\u6700\u8fd1\u5199\u7684\u70b9\u6570\u7684\u4e34\u65f6\u7f13\u5b58\u3002\u4e3a\u4e86\u51cf\u5c11\u8bbf\u95ee\u6c38\u4e45\u5b58\u50a8\u6587\u4ef6\u7684\u9891\u7387\uff0cInfluxDB \u5c06\u6700\u65b0\u7684\u6570\u636e\u70b9\u7f13\u51b2\u8fdb WAL \u4e2d\uff0c\u76f4\u5230\u5176\u603b\u5927\u5c0f\u6216\u65f6\u95f4\u89e6\u53d1\u7136\u540e flush \u5230\u957f\u4e45\u7684\u5b58\u50a8\u7a7a\u95f4\u3002\u8fd9\u6837\u53ef\u4ee5\u6709\u6548\u5730\u5c06\u5199\u5165 batch \u5904\u7406\u5230 TSM \u4e2d\u3002")),(0,r.yg)("h3",{id:"\u5feb\u901f\u5165\u95e8"},"\u5feb\u901f\u5165\u95e8"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"# v2\nwget https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.5-1.x86_64.rpm\nsudo yum localinstall influxdb2-2.7.5-1.x86_64.rpm\nsudo service influxdb start\nsudo service influxdb status\n# influx\nwget https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.7.3-linux-arm64.tar.gz\ntar xvzf ./influxdb2-client-2.7.3-linux-arm64.tar.gz\nsudo cp ./influx /usr/local/bin/\n\n\n> create database mydb\n> use mydb\n> show measurements\n> insert mymeasurement,tag1=value1 field1=value2\n> select * from mymeasurement where tag1='value1'\n> select * from mymeasurement\n> select * from mymeasurement where tag1='value1' and field1 > 10 order by time desc limit 1\n")),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://docs.influxdata.com/influxdb/v1/tools/api/"},"HTTP V1 API")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://docs.influxdata.com/influxdb/v2/api/"},"HTTP V2 API")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://github.com/influxdata/influxdb-java?tab=readme-ov-file"},"V1 client java")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://github.com/influxdata/influxdb-client-java"},"V2 client java"))),(0,r.yg)("h3",{id:"\u5176\u4ed6"},"\u5176\u4ed6"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://old.reddit.com/r/rust/comments/16v13l5/influxdb_officially_made_the_switch_from_go_rust/"},"InfluxDB CTO \u5173\u4e8e\u7f16\u7a0b\u8bed\u8a00 Go \u5207\u6362\u5230 RUST \u7684\u89e3\u91ca"))))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c2f053b8.a893e0bb.js b/assets/js/c2f053b8.d67c9808.js similarity index 98% rename from assets/js/c2f053b8.a893e0bb.js rename to assets/js/c2f053b8.d67c9808.js index da9099e98..3ebf74bd7 100644 --- a/assets/js/c2f053b8.a893e0bb.js +++ b/assets/js/c2f053b8.d67c9808.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6316],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241031",id:"study/stock/20241031",title:"20241031",description:"\u4eca\u5929\u5468\u56db",source:"@site/docs/study/stock/20241031.md",sourceDirName:"study/stock",slug:"/study/stock/20241031",permalink:"/docs/study/stock/20241031",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u56db"),(0,o.yg)("p",null,"\u672c\u6708\u6700\u540e\u4e00\u5929"),(0,o.yg)("p",null,"\u8fd9\u4e2a\u6708\u505a\u7684\u592a\u5dee\u4e86\uff0c\u6211\u90fd\u65e0\u6cd5\u539f\u8c05\u6211\u81ea\u5df1"),(0,o.yg)("p",null,"\u4fe1\u5ff5\u5f00\u59cb\u52a8\u6447\u4e86"),(0,o.yg)("p",null,"\u8fd9\u6279\u8d44\u91d1\uff0c\u8fd8\u80fd\u505a\u4e24\u4e2a\u6708\uff0c\u5982\u679c\u65e0\u6cd5\u76c8\u5229\uff0c\u8fd9\u771f\u7684\u662f\u6700\u540e\u4e00\u6b21\u4e86"),(0,o.yg)("p",null,"\u4e0d\u8981\u505a ETF\uff0c\u6211\u62ff\u4e0d\u4f4f"),(0,o.yg)("p",null,"\u73b0\u5728\u5c31\u662f\u725b\u5e02\uff0c\u677f\u5757\u8f6e\u52a8\u5f88\u5feb\uff0cETF \u4f1a\u4e00\u76f4\u5728\u9707\u8361\uff0c\u6211\u53c8\u62ff\u4e0d\u4f4f\u5440\uff0c\u5149\u60f3\u7740\u6362"),(0,o.yg)("p",null,"\u8fd8\u662f\u56de\u5230\u4ee5\u524d\u7684\u624b\u6cd5\u5427\uff0c\u5c0f\u8d44\u91d1\u76c8\u5229\uff0c\u5148\u62ff\u56de\u70b9\u4fe1\u5fc3"),(0,o.yg)("p",null,"11 \u6708\u4efd\u52a0\u6cb9"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6316],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241031",id:"study/stock/20241031",title:"20241031",description:"\u4eca\u5929\u5468\u56db",source:"@site/docs/study/stock/20241031.md",sourceDirName:"study/stock",slug:"/study/stock/20241031",permalink:"/docs/study/stock/20241031",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u56db"),(0,o.yg)("p",null,"\u672c\u6708\u6700\u540e\u4e00\u5929"),(0,o.yg)("p",null,"\u8fd9\u4e2a\u6708\u505a\u7684\u592a\u5dee\u4e86\uff0c\u6211\u90fd\u65e0\u6cd5\u539f\u8c05\u6211\u81ea\u5df1"),(0,o.yg)("p",null,"\u4fe1\u5ff5\u5f00\u59cb\u52a8\u6447\u4e86"),(0,o.yg)("p",null,"\u8fd9\u6279\u8d44\u91d1\uff0c\u8fd8\u80fd\u505a\u4e24\u4e2a\u6708\uff0c\u5982\u679c\u65e0\u6cd5\u76c8\u5229\uff0c\u8fd9\u771f\u7684\u662f\u6700\u540e\u4e00\u6b21\u4e86"),(0,o.yg)("p",null,"\u4e0d\u8981\u505a ETF\uff0c\u6211\u62ff\u4e0d\u4f4f"),(0,o.yg)("p",null,"\u73b0\u5728\u5c31\u662f\u725b\u5e02\uff0c\u677f\u5757\u8f6e\u52a8\u5f88\u5feb\uff0cETF \u4f1a\u4e00\u76f4\u5728\u9707\u8361\uff0c\u6211\u53c8\u62ff\u4e0d\u4f4f\u5440\uff0c\u5149\u60f3\u7740\u6362"),(0,o.yg)("p",null,"\u8fd8\u662f\u56de\u5230\u4ee5\u524d\u7684\u624b\u6cd5\u5427\uff0c\u5c0f\u8d44\u91d1\u76c8\u5229\uff0c\u5148\u62ff\u56de\u70b9\u4fe1\u5fc3"),(0,o.yg)("p",null,"11 \u6708\u4efd\u52a0\u6cb9"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c348e262.73b02f42.js b/assets/js/c348e262.c45e003d.js similarity index 98% rename from assets/js/c348e262.73b02f42.js rename to assets/js/c348e262.c45e003d.js index 40edcde1f..ea84d16ac 100644 --- a/assets/js/c348e262.73b02f42.js +++ b/assets/js/c348e262.c45e003d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3935],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),l=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),p=l(r),d=a,f=p["".concat(i,".").concat(d)]||p[d]||y[d]||o;return r?n.createElement(f,s(s({ref:t},u),{},{components:r})):n.createElement(f,s({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,s=new Array(o);s[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[p]="string"==typeof e?e:a,s[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>s,default:()=>y,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},s=void 0,c={unversionedId:"study/system/\u7a0b\u5e8f\u8c03\u8bd5",id:"study/system/\u7a0b\u5e8f\u8c03\u8bd5",title:"\u7a0b\u5e8f\u8c03\u8bd5",description:"strace",source:"@site/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5.md",sourceDirName:"study/system",slug:"/study/system/\u7a0b\u5e8f\u8c03\u8bd5",permalink:"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",permalink:"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838"},next:{title:"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",permalink:"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6"}},i={},l=[{value:"strace",id:"strace",level:3}],u={toc:l},p="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"strace"},"strace"),(0,a.yg)("p",null,"strace \u662f\u4e2a\u529f\u80fd\u5f3a\u5927\u7684 Linux \u8c03\u8bd5\u5206\u6790\u8bca\u65ad\u5de5\u5177\uff0c\u53ef\u7528\u4e8e\u8ddf\u8e2a\u7a0b\u5e8f\u6267\u884c\u65f6\u8fdb\u7a0b\u7cfb\u7edf\u8c03\u7528(system call)\u548c\u6240\u63a5\u6536\u7684\u4fe1\u53f7\uff0c\u5c24\u5176\u662f\u9488\u5bf9\u6e90\u7801\u4e0d\u53ef\u8bfb\u6216\u6e90\u7801\u65e0\u6cd5\u518d\u7f16\u8bd1\u7684\u7a0b\u5e8f\u3002\u5728 Linux \u7cfb\u7edf\u4e2d\uff0c\u7528\u6237\u8fdb\u7a0b\u4e0d\u80fd\u76f4\u63a5\u8bbf\u95ee\u8ba1\u7b97\u673a\u786c\u4ef6\u8bbe\u5907\u3002\u5f53\u8fdb\u7a0b\u9700\u8981\u8bbf\u95ee\u786c\u4ef6\u8bbe\u5907(\u5982\u8bfb\u53d6\u78c1\u76d8\u6587\u4ef6\u6216\u63a5\u6536\u7f51\u7edc\u6570\u636e\u7b49)\u65f6\uff0c\u5fc5\u987b\u7531\u7528\u6237\u6001\u6a21\u5f0f\u5207\u6362\u81f3\u5185\u6838\u6001\u6a21\u5f0f\uff0c\u901a\u8fc7\u7cfb\u7edf\u8c03\u7528\u8bbf\u95ee\u786c\u4ef6\u8bbe\u5907\u3002strace \u53ef\u8ddf\u8e2a\u8fdb\u7a0b\u4ea7\u751f\u7684\u7cfb\u7edf\u8c03\u7528\uff0c\u5305\u62ec\u53c2\u6570\u3001\u8fd4\u56de\u503c\u548c\u6267\u884c\u6240\u6d88\u8017\u7684\u65f6\u95f4\u3002\u82e5 strace \u6ca1\u6709\u4efb\u4f55\u8f93\u51fa\uff0c\u5e76\u4e0d\u4ee3\u8868\u6b64\u65f6\u8fdb\u7a0b\u53d1\u751f\u963b\u585e\uff1b\u4e5f\u53ef\u80fd\u7a0b\u5e8f\u8fdb\u7a0b\u6b63\u5728\u6267\u884c\u67d0\u4e9b\u4e0d\u9700\u8981\u4e0e\u7cfb\u7edf\u5176\u5b83\u90e8\u5206\u53d1\u751f\u901a\u4fe1\u7684\u4e8b\u60c5\u3002strace \u4ece\u5185\u6838\u63a5\u6536\u4fe1\u606f\uff0c\u4e14\u65e0\u9700\u4ee5\u4efb\u4f55\u7279\u6b8a\u65b9\u5f0f\u6765\u6784\u5efa\u5185\u6838\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/8079.html"},"\u4f7f\u7528 strace \u5bf9\u7a0b\u5e8f\u8fdb\u884c\u8c03\u8bd5\u5206\u6790"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3935],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),l=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(i.Provider,{value:t},e.children)},p="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),p=l(r),d=a,f=p["".concat(i,".").concat(d)]||p[d]||y[d]||o;return r?n.createElement(f,s(s({ref:t},u),{},{components:r})):n.createElement(f,s({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,s=new Array(o);s[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[p]="string"==typeof e?e:a,s[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>s,default:()=>y,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},s=void 0,c={unversionedId:"study/system/\u7a0b\u5e8f\u8c03\u8bd5",id:"study/system/\u7a0b\u5e8f\u8c03\u8bd5",title:"\u7a0b\u5e8f\u8c03\u8bd5",description:"strace",source:"@site/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5.md",sourceDirName:"study/system",slug:"/study/system/\u7a0b\u5e8f\u8c03\u8bd5",permalink:"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838",permalink:"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838"},next:{title:"\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6",permalink:"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6"}},i={},l=[{value:"strace",id:"strace",level:3}],u={toc:l},p="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"strace"},"strace"),(0,a.yg)("p",null,"strace \u662f\u4e2a\u529f\u80fd\u5f3a\u5927\u7684 Linux \u8c03\u8bd5\u5206\u6790\u8bca\u65ad\u5de5\u5177\uff0c\u53ef\u7528\u4e8e\u8ddf\u8e2a\u7a0b\u5e8f\u6267\u884c\u65f6\u8fdb\u7a0b\u7cfb\u7edf\u8c03\u7528(system call)\u548c\u6240\u63a5\u6536\u7684\u4fe1\u53f7\uff0c\u5c24\u5176\u662f\u9488\u5bf9\u6e90\u7801\u4e0d\u53ef\u8bfb\u6216\u6e90\u7801\u65e0\u6cd5\u518d\u7f16\u8bd1\u7684\u7a0b\u5e8f\u3002\u5728 Linux \u7cfb\u7edf\u4e2d\uff0c\u7528\u6237\u8fdb\u7a0b\u4e0d\u80fd\u76f4\u63a5\u8bbf\u95ee\u8ba1\u7b97\u673a\u786c\u4ef6\u8bbe\u5907\u3002\u5f53\u8fdb\u7a0b\u9700\u8981\u8bbf\u95ee\u786c\u4ef6\u8bbe\u5907(\u5982\u8bfb\u53d6\u78c1\u76d8\u6587\u4ef6\u6216\u63a5\u6536\u7f51\u7edc\u6570\u636e\u7b49)\u65f6\uff0c\u5fc5\u987b\u7531\u7528\u6237\u6001\u6a21\u5f0f\u5207\u6362\u81f3\u5185\u6838\u6001\u6a21\u5f0f\uff0c\u901a\u8fc7\u7cfb\u7edf\u8c03\u7528\u8bbf\u95ee\u786c\u4ef6\u8bbe\u5907\u3002strace \u53ef\u8ddf\u8e2a\u8fdb\u7a0b\u4ea7\u751f\u7684\u7cfb\u7edf\u8c03\u7528\uff0c\u5305\u62ec\u53c2\u6570\u3001\u8fd4\u56de\u503c\u548c\u6267\u884c\u6240\u6d88\u8017\u7684\u65f6\u95f4\u3002\u82e5 strace \u6ca1\u6709\u4efb\u4f55\u8f93\u51fa\uff0c\u5e76\u4e0d\u4ee3\u8868\u6b64\u65f6\u8fdb\u7a0b\u53d1\u751f\u963b\u585e\uff1b\u4e5f\u53ef\u80fd\u7a0b\u5e8f\u8fdb\u7a0b\u6b63\u5728\u6267\u884c\u67d0\u4e9b\u4e0d\u9700\u8981\u4e0e\u7cfb\u7edf\u5176\u5b83\u90e8\u5206\u53d1\u751f\u901a\u4fe1\u7684\u4e8b\u60c5\u3002strace \u4ece\u5185\u6838\u63a5\u6536\u4fe1\u606f\uff0c\u4e14\u65e0\u9700\u4ee5\u4efb\u4f55\u7279\u6b8a\u65b9\u5f0f\u6765\u6784\u5efa\u5185\u6838\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.lxlinux.net/8079.html"},"\u4f7f\u7528 strace \u5bf9\u7a0b\u5e8f\u8fdb\u884c\u8c03\u8bd5\u5206\u6790"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c3633f34.fa729555.js b/assets/js/c3633f34.183b0669.js similarity index 99% rename from assets/js/c3633f34.fa729555.js rename to assets/js/c3633f34.183b0669.js index 2da0f7f24..b55e7e735 100644 --- a/assets/js/c3633f34.fa729555.js +++ b/assets/js/c3633f34.183b0669.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5290],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>d});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var T=r.createContext({}),l=function(e){var t=r.useContext(T),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=l(e.components);return r.createElement(T.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,T=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),u=l(n),y=o,d=u["".concat(T,".").concat(y)]||u[y]||s[y]||a;return n?r.createElement(d,i(i({ref:t},p),{},{components:n})):r.createElement(d,i({ref:t},p))}));function d(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=y;var c={};for(var T in t)hasOwnProperty.call(t,T)&&(c[T]=t[T]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{n.r(t),n.d(t,{assets:()=>T,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var r=n(58168),o=(n(96540),n(15680));const a={},i=void 0,c={unversionedId:"study/think/IT_CT_OT",id:"study/think/IT_CT_OT",title:"IT_CT_OT",description:"IT",source:"@site/docs/study/think/IT_CT_OT.md",sourceDirName:"study/think",slug:"/study/think/IT_CT_OT",permalink:"/docs/study/think/IT_CT_OT",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8bbe\u8ba1\u6a21\u5f0f",permalink:"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f"},next:{title:"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177"}},T={},l=[{value:"IT",id:"it",level:3},{value:"CT",id:"ct",level:3},{value:"ICT",id:"ict",level:3},{value:"OT",id:"ot",level:3}],p={toc:l},u="wrapper";function s(e){let{components:t,...n}=e;return(0,o.yg)(u,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"it"},"IT"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Internet Technology\uff0c"),"\u5728IT\u3001CT\u5927\u878d\u5408\u4e4b\u524d\uff0cIT\u5e76\u4e0d\u662fInformation Technology(\u4fe1\u606f\u6280\u672f),IT\u6700\u521d\u662f\u6307\u4e92\u8054\u7f51\u6280\u672f\uff0c\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48BAT\u8fd9\u4e9b\u5de8\u5934\u88ab\u79f0\u4e3a\u4e92\u8054\u7f51\u4e09\u5de8\u5934\u7684\u539f\u56e0\u3002\u5728\u5f00\u59cb\u7684\u65f6\u5019\uff0cIT\u548cCT\u8fd8\u662f\u6cfe\u6e2d\u5206\u660e\u7684\u4e24\u79cd\u6280\u672f\uff0cIT\u4e1a\u4e5f\u4e5f\u53ef\u4ee5\u8bf4\u662f\u4ee3\u8868\u4e86\u8ba1\u7b97\u673a\u4e1a\uff0c\u4e00\u4e9b\u6d89\u53ca\u5230\u8ba1\u7b97\u673a\u7684\u8f6f\u786c\u4ef6\u4f01\u4e1a\u4e5f\u88ab\u79f0\u4e3a\u662fIT\u4e1a\u4f01\u4e1a\u3002"),(0,o.yg)("h3",{id:"ct"},"CT"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Communication Technology\uff0c"),"\u6700\u65e9\u7684CT\u4e1a\u88ab\u4e5f\u6210\u4e3a\u7535\u4fe1\u4e1a\uff0cTelecommunication\uff0c\u90a3\u662f\u56e0\u4e3a\u6700\u65e9\u671f\u7684\u901a\u4fe1\u90fd\u662f\u7535\u62a5\u3001\u7535\u8bdd\u4e4b\u7c7b\u7684\u6280\u672f\uff0c\u6240\u4ee5\u4e5f\u88ab\u79f0\u4e3a\u7535\u4fe1\u6280\u672f\u3002\u901a\u4fe1\u4e1a\u7684\u4f01\u4e1a\u53c8\u5206\u4e3a\u8fd0\u8425\u5546\u3001\u901a\u4fe1\u5236\u9020\u4e1a\u3001\u901a\u4fe1\u670d\u52a1\u652f\u6301\uff0c\u4e00\u4e9b\u901a\u4fe1\u4e1a\u7684\u65bd\u5de5\u5355\u4f4d\u7b49\uff0c\u901a\u4fe1\u4e1a\u7684\u8fd0\u8425\u5546\u5728\u56fd\u5185\u6211\u4eec\u6bd4\u8f83\u719f\u6089\u7684\u662f\u4e2d\u56fd\u79fb\u52a8\u3001\u4e2d\u56fd\u8054\u901a\u3001\u4e2d\u56fd\u7535\u4fe1\uff0c\u73b0\u5728\u53c8\u591a\u4e86\u4e00\u4e2a\u4e2d\u56fd\u5e7f\u7535\uff0c\u901a\u4fe1\u5236\u9020\u4e1a\u4e2d\u56fd\u6bd4\u8f83\u6709\u540d\u6c14\u7684\u662f\u4e09\u4e2a\uff1a\u534e\u4e3a\u3001\u4e2d\u5174\u3001\u4fe1\u79d1\u3002\n\u5168\u7403\u8303\u56f4\u5185\uff0c\u901a\u4fe1\u4e1a\u5236\u9020\u4e1a\u8fd8\u5269\u7684\u6bd4\u8f83\u5f3a\u5927\u7684\u4e5f\u5c31\u662f\u8bfa\u57fa\u4e9a\u3001\u7231\u7acb\u4fe1\u3001\u534e\u4e3a\u3001\u4e2d\u5174\u8fd9\u56db\u5bb6\u4e86\u3002"),(0,o.yg)("h3",{id:"ict"},"ICT"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u76ee\u524dIT\u4e1a\u548cCT\u4e1a\u7ecf\u8fc7\u4e92\u76f8\u878d\u5408\uff0c\u76ee\u524d\u4e5f\u88ab\u5408\u5e76\u79f0\u4e3aICT\u4e1a\u3002"),"IT\u4e1a\u548cCT\u4e1a\u7684\u878d\u5408\uff0c\u5f00\u59cb\u662fIT\u4e1a\u5411CT\u4e1a\u7684\u5165\u4fb5\uff0cIP\u6280\u672f\u5c31\u662fIT\u4e1a\u7684\u6280\u672f\uff0cIP\u6253\u8d25\u4e86ATM\u6280\u672f\u4e4b\u540e\uff0cICT\u4e1a\u5c31\u5f00\u59cb\u4e86\u5927\u878d\u5408\u3002IT\u4e1a\u7684\u8f6f\u786c\u4ef6\u516c\u53f8\u5f00\u59cb\u5927\u89c4\u6a21\u7684\u5411CT\u4e1a\u8fdb\u519b\uff0c\u540c\u65f6CT\u4e1a\u7684\u516c\u53f8\u4e5f\u5f00\u59cb\u7814\u53d1IT\u6280\u672f\uff0c\u53cc\u5411\u878d\u5408\u5f00\u59cb\u4e4b\u540e\uff0cIT\u4e1a\u548cCT\u4e1a\u7684\u58c1\u5792\u8d8a\u6765\u8d8a\u4e0d\u660e\u663e\uff0c\u73b0\u5728\u5df2\u7ecf\u5f62\u6210\u4e86\u4e00\u4e2a\u65b0\u7684\u884c\u4e1a--ICT\u4e1a\uff0cInformation Communication Technology(\u4fe1\u606f\u3001\u901a\u4fe1\u6280\u672f)\u3002"),(0,o.yg)("h3",{id:"ot"},"OT"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Operational Technology,\u8fd0\u8425\u6280\u672f\u3002"),"\u53ef\u80fdOT\u8fd8\u6709\u522b\u7684\u7f29\u5199\u7684\u610f\u601d\uff0c\u4f46\u662f\u5982\u679cOT IT CT\u8fd9\u4e09\u4e2a\u540d\u8bcd\u4e00\u8d77\u51fa\u73b0\u7684\u8bdd\uff0c\u4ed6\u6307\u7684\u5c31\u662f\u8fd0\u8425\u6280\u672f\u3002\nOT\u66f4\u57fa\u672c\u7684\u4e5f\u53ef\u4ee5\u8ba4\u4e3a\u662f\u64cd\u4f5c\u6280\u672f\uff0c\u6bd4\u5982\u5de5\u4eba\u64cd\u4f5c\u4e00\u53f0\u673a\u5e8a\u3002\u4f46\u662f\u5982\u679c\u653e\u5927\u4e00\u4e9b\uff0c\u4e00\u6761\u751f\u4ea7\u7ebf\u4e5f\u662fOT,\u4e00\u4e2a\u5de5\u5382\u7684\u6574\u4f53\u8fd0\u8425\u4e5f\u662fOT\u3002\n\u4e0d\u7ba1\u5982\u4f55\u7406\u89e3\uff0cOT\u672c\u8eab\u90fd\u662f\u548c\u4e00\u4e9b\u8f6f\u786c\u4ef6\u662f\u65e0\u6cd5\u5206\u5f00\u7684\u3002\nOT\u5f00\u59cb\u62e5\u62b1IT\uff0c\u662f\u6280\u672f\u66f4\u65b0\u7684\u7ed3\u679c\uff0c\u968f\u7740\u5de5\u4e1a\u5316\u7684\u4e0d\u65ad\u63a8\u8fdb\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u5de5\u4eba\u88ab\u673a\u5668\u66ff\u4ee3\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4eba\u5de5\u64cd\u4f5c\u88ab\u8f6f\u4ef6\u81ea\u52a8\u5316\u6240\u53d6\u4ee3\uff0c\u4f34\u968f\u7740OT\u6280\u672f\u7684\u4e0d\u65ad\u7684\u53d1\u5c55\uff0cIT\u6280\u672f\u88ab\u8d8a\u6765\u8d8a\u591a\u7684\u878d\u5408\u5230\u4e86OT\u6280\u672f\u4e4b\u4e2d\u3002\n\u800c\u968f\u7740\u5de5\u4e1a4.0\u7684\u6765\u4e34\uff0c\u8d8a\u6765\u8d8a\u591a\u7684ICT\u6280\u672f\u5219\u9700\u8981\u88ab\u5f15\u5165\u5230OT\u6280\u672f\u4e4b\u4e2d\uff0cIT\u3001OT\u3001CT\u5c06\u5728\u672a\u6765\u7d27\u5bc6\u7684\u878d\u5408\u5728\u4e00\u8d77\uff0c\u6210\u4e3a\u4e00\u4e2a\u6574\u4f53\u3002\n\u672a\u6765\u57285G\u4e4b\u4e2d\uff0c\u4e09\u5927\u5e94\u7528\u573a\u666f\u4e4b\u4e2d\u7684URLLC(\u8d85\u9ad8\u53ef\u9760\u4f4e\u65f6\u5ef6)\u5c31\u662f\u4e3b\u8981\u652f\u6301\u5de5\u4e1a4.0\u7684\u573a\u666f\u3002\n\u5de5\u4e1a\u81ea\u52a8\u5316\u4e5f\u88ab\u8ba4\u4e3a\u662f5G\u6700\u91cd\u8981\u7684\u4e00\u79cd\u5782\u76f4\u884c\u4e1a\u5e94\u7528\u4e86\uff0c\u91cd\u8981\u6027\u751a\u81f3\u8981\u8d85\u8fc7\u66f4\u79d1\u5e7b\u4e00\u4e9b\u7684\u81ea\u52a8\u9a7e\u9a76\u5e94\u7528\u3002\n\u603b\u800c\u8a00\u4e4b\uff0c\u5982\u679c\u5355\u5355\u62ff\u51fa\u6765\uff0cIT CT OT\u90fd\u53ef\u80fd\u662f\u522b\u7684\u7f29\u5199\uff0c\u4f46\u662f\u4e09\u4e2a\u5728\u4e00\u8d77\u51fa\u73b0\u7684\u8bdd\uff0c\u4f60\u770b\u5230\u7684\u6587\u6863\uff0c\u901a\u5e38\u90fd\u662f\u63cf\u7ed8\u5de5\u4e1a4.0\u7684\u8d44\u6599\u4e86\uff0c\u73b0\u5728\u4e5f\u6709\u5f88\u591a\u8fd9\u6837\u7684\u8d44\u6599\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5290],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>d});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var T=r.createContext({}),l=function(e){var t=r.useContext(T),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=l(e.components);return r.createElement(T.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,T=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),u=l(n),y=o,d=u["".concat(T,".").concat(y)]||u[y]||s[y]||a;return n?r.createElement(d,i(i({ref:t},p),{},{components:n})):r.createElement(d,i({ref:t},p))}));function d(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=y;var c={};for(var T in t)hasOwnProperty.call(t,T)&&(c[T]=t[T]);c.originalType=e,c[u]="string"==typeof e?e:o,i[1]=c;for(var l=2;l{n.r(t),n.d(t,{assets:()=>T,contentTitle:()=>i,default:()=>s,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var r=n(58168),o=(n(96540),n(15680));const a={},i=void 0,c={unversionedId:"study/think/IT_CT_OT",id:"study/think/IT_CT_OT",title:"IT_CT_OT",description:"IT",source:"@site/docs/study/think/IT_CT_OT.md",sourceDirName:"study/think",slug:"/study/think/IT_CT_OT",permalink:"/docs/study/think/IT_CT_OT",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8bbe\u8ba1\u6a21\u5f0f",permalink:"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f"},next:{title:"Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177",permalink:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177"}},T={},l=[{value:"IT",id:"it",level:3},{value:"CT",id:"ct",level:3},{value:"ICT",id:"ict",level:3},{value:"OT",id:"ot",level:3}],p={toc:l},u="wrapper";function s(e){let{components:t,...n}=e;return(0,o.yg)(u,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"it"},"IT"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Internet Technology\uff0c"),"\u5728IT\u3001CT\u5927\u878d\u5408\u4e4b\u524d\uff0cIT\u5e76\u4e0d\u662fInformation Technology(\u4fe1\u606f\u6280\u672f),IT\u6700\u521d\u662f\u6307\u4e92\u8054\u7f51\u6280\u672f\uff0c\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48BAT\u8fd9\u4e9b\u5de8\u5934\u88ab\u79f0\u4e3a\u4e92\u8054\u7f51\u4e09\u5de8\u5934\u7684\u539f\u56e0\u3002\u5728\u5f00\u59cb\u7684\u65f6\u5019\uff0cIT\u548cCT\u8fd8\u662f\u6cfe\u6e2d\u5206\u660e\u7684\u4e24\u79cd\u6280\u672f\uff0cIT\u4e1a\u4e5f\u4e5f\u53ef\u4ee5\u8bf4\u662f\u4ee3\u8868\u4e86\u8ba1\u7b97\u673a\u4e1a\uff0c\u4e00\u4e9b\u6d89\u53ca\u5230\u8ba1\u7b97\u673a\u7684\u8f6f\u786c\u4ef6\u4f01\u4e1a\u4e5f\u88ab\u79f0\u4e3a\u662fIT\u4e1a\u4f01\u4e1a\u3002"),(0,o.yg)("h3",{id:"ct"},"CT"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Communication Technology\uff0c"),"\u6700\u65e9\u7684CT\u4e1a\u88ab\u4e5f\u6210\u4e3a\u7535\u4fe1\u4e1a\uff0cTelecommunication\uff0c\u90a3\u662f\u56e0\u4e3a\u6700\u65e9\u671f\u7684\u901a\u4fe1\u90fd\u662f\u7535\u62a5\u3001\u7535\u8bdd\u4e4b\u7c7b\u7684\u6280\u672f\uff0c\u6240\u4ee5\u4e5f\u88ab\u79f0\u4e3a\u7535\u4fe1\u6280\u672f\u3002\u901a\u4fe1\u4e1a\u7684\u4f01\u4e1a\u53c8\u5206\u4e3a\u8fd0\u8425\u5546\u3001\u901a\u4fe1\u5236\u9020\u4e1a\u3001\u901a\u4fe1\u670d\u52a1\u652f\u6301\uff0c\u4e00\u4e9b\u901a\u4fe1\u4e1a\u7684\u65bd\u5de5\u5355\u4f4d\u7b49\uff0c\u901a\u4fe1\u4e1a\u7684\u8fd0\u8425\u5546\u5728\u56fd\u5185\u6211\u4eec\u6bd4\u8f83\u719f\u6089\u7684\u662f\u4e2d\u56fd\u79fb\u52a8\u3001\u4e2d\u56fd\u8054\u901a\u3001\u4e2d\u56fd\u7535\u4fe1\uff0c\u73b0\u5728\u53c8\u591a\u4e86\u4e00\u4e2a\u4e2d\u56fd\u5e7f\u7535\uff0c\u901a\u4fe1\u5236\u9020\u4e1a\u4e2d\u56fd\u6bd4\u8f83\u6709\u540d\u6c14\u7684\u662f\u4e09\u4e2a\uff1a\u534e\u4e3a\u3001\u4e2d\u5174\u3001\u4fe1\u79d1\u3002\n\u5168\u7403\u8303\u56f4\u5185\uff0c\u901a\u4fe1\u4e1a\u5236\u9020\u4e1a\u8fd8\u5269\u7684\u6bd4\u8f83\u5f3a\u5927\u7684\u4e5f\u5c31\u662f\u8bfa\u57fa\u4e9a\u3001\u7231\u7acb\u4fe1\u3001\u534e\u4e3a\u3001\u4e2d\u5174\u8fd9\u56db\u5bb6\u4e86\u3002"),(0,o.yg)("h3",{id:"ict"},"ICT"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u76ee\u524dIT\u4e1a\u548cCT\u4e1a\u7ecf\u8fc7\u4e92\u76f8\u878d\u5408\uff0c\u76ee\u524d\u4e5f\u88ab\u5408\u5e76\u79f0\u4e3aICT\u4e1a\u3002"),"IT\u4e1a\u548cCT\u4e1a\u7684\u878d\u5408\uff0c\u5f00\u59cb\u662fIT\u4e1a\u5411CT\u4e1a\u7684\u5165\u4fb5\uff0cIP\u6280\u672f\u5c31\u662fIT\u4e1a\u7684\u6280\u672f\uff0cIP\u6253\u8d25\u4e86ATM\u6280\u672f\u4e4b\u540e\uff0cICT\u4e1a\u5c31\u5f00\u59cb\u4e86\u5927\u878d\u5408\u3002IT\u4e1a\u7684\u8f6f\u786c\u4ef6\u516c\u53f8\u5f00\u59cb\u5927\u89c4\u6a21\u7684\u5411CT\u4e1a\u8fdb\u519b\uff0c\u540c\u65f6CT\u4e1a\u7684\u516c\u53f8\u4e5f\u5f00\u59cb\u7814\u53d1IT\u6280\u672f\uff0c\u53cc\u5411\u878d\u5408\u5f00\u59cb\u4e4b\u540e\uff0cIT\u4e1a\u548cCT\u4e1a\u7684\u58c1\u5792\u8d8a\u6765\u8d8a\u4e0d\u660e\u663e\uff0c\u73b0\u5728\u5df2\u7ecf\u5f62\u6210\u4e86\u4e00\u4e2a\u65b0\u7684\u884c\u4e1a--ICT\u4e1a\uff0cInformation Communication Technology(\u4fe1\u606f\u3001\u901a\u4fe1\u6280\u672f)\u3002"),(0,o.yg)("h3",{id:"ot"},"OT"),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"Operational Technology,\u8fd0\u8425\u6280\u672f\u3002"),"\u53ef\u80fdOT\u8fd8\u6709\u522b\u7684\u7f29\u5199\u7684\u610f\u601d\uff0c\u4f46\u662f\u5982\u679cOT IT CT\u8fd9\u4e09\u4e2a\u540d\u8bcd\u4e00\u8d77\u51fa\u73b0\u7684\u8bdd\uff0c\u4ed6\u6307\u7684\u5c31\u662f\u8fd0\u8425\u6280\u672f\u3002\nOT\u66f4\u57fa\u672c\u7684\u4e5f\u53ef\u4ee5\u8ba4\u4e3a\u662f\u64cd\u4f5c\u6280\u672f\uff0c\u6bd4\u5982\u5de5\u4eba\u64cd\u4f5c\u4e00\u53f0\u673a\u5e8a\u3002\u4f46\u662f\u5982\u679c\u653e\u5927\u4e00\u4e9b\uff0c\u4e00\u6761\u751f\u4ea7\u7ebf\u4e5f\u662fOT,\u4e00\u4e2a\u5de5\u5382\u7684\u6574\u4f53\u8fd0\u8425\u4e5f\u662fOT\u3002\n\u4e0d\u7ba1\u5982\u4f55\u7406\u89e3\uff0cOT\u672c\u8eab\u90fd\u662f\u548c\u4e00\u4e9b\u8f6f\u786c\u4ef6\u662f\u65e0\u6cd5\u5206\u5f00\u7684\u3002\nOT\u5f00\u59cb\u62e5\u62b1IT\uff0c\u662f\u6280\u672f\u66f4\u65b0\u7684\u7ed3\u679c\uff0c\u968f\u7740\u5de5\u4e1a\u5316\u7684\u4e0d\u65ad\u63a8\u8fdb\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u5de5\u4eba\u88ab\u673a\u5668\u66ff\u4ee3\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4eba\u5de5\u64cd\u4f5c\u88ab\u8f6f\u4ef6\u81ea\u52a8\u5316\u6240\u53d6\u4ee3\uff0c\u4f34\u968f\u7740OT\u6280\u672f\u7684\u4e0d\u65ad\u7684\u53d1\u5c55\uff0cIT\u6280\u672f\u88ab\u8d8a\u6765\u8d8a\u591a\u7684\u878d\u5408\u5230\u4e86OT\u6280\u672f\u4e4b\u4e2d\u3002\n\u800c\u968f\u7740\u5de5\u4e1a4.0\u7684\u6765\u4e34\uff0c\u8d8a\u6765\u8d8a\u591a\u7684ICT\u6280\u672f\u5219\u9700\u8981\u88ab\u5f15\u5165\u5230OT\u6280\u672f\u4e4b\u4e2d\uff0cIT\u3001OT\u3001CT\u5c06\u5728\u672a\u6765\u7d27\u5bc6\u7684\u878d\u5408\u5728\u4e00\u8d77\uff0c\u6210\u4e3a\u4e00\u4e2a\u6574\u4f53\u3002\n\u672a\u6765\u57285G\u4e4b\u4e2d\uff0c\u4e09\u5927\u5e94\u7528\u573a\u666f\u4e4b\u4e2d\u7684URLLC(\u8d85\u9ad8\u53ef\u9760\u4f4e\u65f6\u5ef6)\u5c31\u662f\u4e3b\u8981\u652f\u6301\u5de5\u4e1a4.0\u7684\u573a\u666f\u3002\n\u5de5\u4e1a\u81ea\u52a8\u5316\u4e5f\u88ab\u8ba4\u4e3a\u662f5G\u6700\u91cd\u8981\u7684\u4e00\u79cd\u5782\u76f4\u884c\u4e1a\u5e94\u7528\u4e86\uff0c\u91cd\u8981\u6027\u751a\u81f3\u8981\u8d85\u8fc7\u66f4\u79d1\u5e7b\u4e00\u4e9b\u7684\u81ea\u52a8\u9a7e\u9a76\u5e94\u7528\u3002\n\u603b\u800c\u8a00\u4e4b\uff0c\u5982\u679c\u5355\u5355\u62ff\u51fa\u6765\uff0cIT CT OT\u90fd\u53ef\u80fd\u662f\u522b\u7684\u7f29\u5199\uff0c\u4f46\u662f\u4e09\u4e2a\u5728\u4e00\u8d77\u51fa\u73b0\u7684\u8bdd\uff0c\u4f60\u770b\u5230\u7684\u6587\u6863\uff0c\u901a\u5e38\u90fd\u662f\u63cf\u7ed8\u5de5\u4e1a4.0\u7684\u8d44\u6599\u4e86\uff0c\u73b0\u5728\u4e5f\u6709\u5f88\u591a\u8fd9\u6837\u7684\u8d44\u6599\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c38cd4f0.f5ba9f67.js b/assets/js/c38cd4f0.12786949.js similarity index 99% rename from assets/js/c38cd4f0.f5ba9f67.js rename to assets/js/c38cd4f0.12786949.js index 12631b908..9eef814b9 100644 --- a/assets/js/c38cd4f0.f5ba9f67.js +++ b/assets/js/c38cd4f0.12786949.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8816],{15680:(e,t,n)=>{n.d(t,{xA:()=>P,yg:()=>d});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},P=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,P=i(e,["components","mdxType","originalType","parentName"]),u=c(n),y=a,d=u["".concat(p,".").concat(y)]||u[y]||s[y]||l;return n?r.createElement(d,o(o({ref:t},P),{},{components:n})):r.createElement(d,o({ref:t},P))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,o=new Array(l);o[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[u]="string"==typeof e?e:a,o[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>s,frontMatter:()=>l,metadata:()=>i,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const l={},o=void 0,i={unversionedId:"study/competitive/CMP-DMP-AEP-BAP",id:"study/competitive/CMP-DMP-AEP-BAP",title:"CMP-DMP-AEP-BAP",description:"\u7b80\u8ff0",source:"@site/docs/study/competitive/CMP-DMP-AEP-BAP.md",sourceDirName:"study/competitive",slug:"/study/competitive/CMP-DMP-AEP-BAP",permalink:"/docs/study/competitive/CMP-DMP-AEP-BAP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",permalink:"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76"},next:{title:"TP-LINK",permalink:"/docs/study/competitive/TP-LINK"}},p={},c=[{value:"\u7b80\u8ff0",id:"\u7b80\u8ff0",level:4},{value:"\u4e00\u3001\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0CMP",id:"\u4e00\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0cmp",level:4},{value:"\u4e8c\u3001\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0DMP",id:"\u4e8c\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0dmp",level:4},{value:"\u4e09\u3001\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0AEP",id:"\u4e09\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0aep",level:4},{value:"\u56db\u3001\u4e1a\u52a1\u5206\u6790\u5e73\u53f0BAP",id:"\u56db\u4e1a\u52a1\u5206\u6790\u5e73\u53f0bap",level:4}],P={toc:c},u="wrapper";function s(e){let{components:t,...l}=e;return(0,a.yg)(u,(0,r.A)({},P,l,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h4",{id:"\u7b80\u8ff0"},"\u7b80\u8ff0"),(0,a.yg)("p",null,"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u5904\u4e8e\u7269\u8054\u7f51\u56db\u4e2a\u903b\u8f91\u5c42\uff08\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\uff09\u4e2d\u5904\u4e8e\u5e73\u53f0\u5c42\u8fd9\u4e00\u73af\uff0c\u5e73\u53f0\u5c42\u4e8e\u7269\u8054\u7f51\u7684\u4f5c\u7528\u5728\u4e8e\u6536\u96c6\u3001\u5904\u7406\u6570\u636e\u7b49\u3002\u6211\u4eec\u53ef\u6839\u636e\u4e91\u5e73\u53f0\u7684\u529f\u80fd\u5c06\u5176\u5206\u4e3aCMP\u3001DMP\u3001AEP\u548cBAP\u7b49\u56db\u4e2a\u5e73\u53f0\u3002\u5230\u76ee\u524d\u4e3a\u6b62\u8fd8\u6ca1\u6709\u4e00\u5bb6\u516c\u53f8\u53ef\u5728\u4e1a\u52a1\u4e0a\u6db5\u76d6\u56db\u4e2a\u5b50\u5e73\u53f0\uff0c\u6bcf\u4e2a\u516c\u53f8\u6709\u5404\u81ea\u64c5\u957f\u9886\u57df \u548c\u72ec\u7279\u4f18\u52bf\u3002"),(0,a.yg)("p",null,"\u6839\u636e\u5404\u7c7b\u53c2\u4e0e\u8005\u6240\u63d0\u4f9b\u7684\u670d\u52a1\u7c7b\u578b\uff0c\u6309\u7167Machina Research\u7684\u5206\u7c7b\u65b9\u6cd5\uff0c\u7269\u8054\u7f51\u5e73\u53f0\u53ef\u5206\u4e3a\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0CMP\uff08Connectivity Management Platform\uff09\u3001\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0DMP\uff08Device Management Platform\uff09\u3001\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0AEP\uff08Application Enablement Platform\uff09\u548c\u4e1a\u52a1\u5206\u6790\u5e73\u53f0BAP\uff08Business Analytics Platform\uff09\u3002"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(40934).A,width:"746",height:"452"})),(0,a.yg)("h4",{id:"\u4e00\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0cmp"},"\u4e00\u3001\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0CMP"),(0,a.yg)("p",null,"CMP\uff08Connectivity Management Platform\uff09\u4e3a\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\u3002\u4e00\u822c\u8fd0\u7528\u4e8e\u8fd0\u8425\u5546\u7f51\u7edc\u4e0a\uff0c\u5177\u4f53\u6765\u8bf4\u8fde\u63a5\u7684\u7269\u8054\u7f51SIM\u5361\u3002\u8be5\u5e73\u53f0\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u7269\u8054\u7f51\u8fde\u63a5\u914d\u7f6e\u548c\u6545\u969c\u7ba1\u7406\u3001\u4fdd\u8bc1\u7ec8\u7aef\u8054\u7f51\u901a\u9053\u7a33\u5b9a\u3001\u7f51\u7edc\u8d44\u6e90\u7528\u91cf\u7ba1\u7406\u3001\u8fde\u63a5\u8d44\u8d39\u7ba1\u7406\u3001\u8d26\u5355\u7ba1\u7406\u3001\u5957\u9910\u53d8\u66f4\u7b49\u3002"),(0,a.yg)("p",null,"\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\u901a\u5e38\u6307\u57fa\u4e8e\u7535\u4fe1\u8fd0\u8425\u5546\u7f51\u7edc\uff08\u8702\u7a9d\uff0cLTE\u7b49\uff09\u63d0\u4f9b\u53ef\u8fde\u63a5\u6027\u7ba1\u7406\u3001\u4f18\u5316\u4ee5\u53ca\u7ec8\u7aef\u7ba1\u7406\uff0c\u7ef4\u62a4\u7b49\u65b9\u9762\u7684\u529f\u80fd\u7684\u5e73\u53f0\u3002\u5176\u529f\u80fd\u901a\u5e38\u5305\u62ec\u53f7\u7801/IP\u5730\u5740/Mac\u8d44\u6e90\u7ba1\u7406\u3001SIM\u5361\u7ba1\u63a7\u3001\u8fde\u63a5\u8d44\u8d39\u7ba1\u7406\u3001\u5957\u9910\u7ba1\u7406\u3001\u7f51\u7edc\u8d44\u6e90\u7528\u91cf\u7ba1\u7406\u3001\u8d26\u5355\u7ba1\u7406\u3001\u6545\u969c\u7ba1\u7406\u7b49\u3002\u7269\u8054\u7f51\u8fde\u63a5\u5177\u5907M2M\u8fde\u63a5\u6570\u5927\u3001\u5355\u4e2a\u7269\u54c1\u8fde\u63a5ARPU\u503c\u4f4e\uff08\u4eba\u7c7b\u8fde\u63a5\u5ba2\u6237ARPU\u503c\u76843%-5%\uff09\u7684\u7279\u70b9\uff0c\u76f4\u63a5\u7ed3\u679c\u5c31\u662f\u591a\u6570\u8fd0\u8425\u5546\u5c06\u653e\u5f03\u81ea\u5efaCMP\u5e73\u53f0\uff0c\u8f6c\u4e0e\u4e13\u95e8\u5316\u7684CMP\u5e73\u53f0\u4f9b\u5e94\u5546\u5408\u4f5c\u3002\u6839\u636e\u7269\u8054\u7f51\u667a\u5e93\u7684\u5206\u6790\uff0c\u5bf9\u4e8e\u62e5\u6709\u8d85\u8fc71000\u4e2a\u8fde\u63a5\u7684\u4f01\u4e1a\uff0c\u957f\u671f\u6765\u770b\uff0c\u4f7f\u7528\u4e91\u5e73\u53f0\u6bd4\u81ea\u5efaIT\u8bbe\u65bd\u5c06\u8282\u770190%\u7684\u6210\u672c\u3002\u53e6\u5916\uff0c\u5f88\u591a\u7269\u8054\u7f51\u5ba2\u6237\u90fd\u662f\u8de8\u56fd\u4f01\u4e1a\uff0c\u9009\u62e9\u8fd0\u8425\u5546\u65f6\u66f4\u9752\u7750\u4e00\u70b9\u63a5\u5165\u5168\u7403\u901a\u7528\uff0c\u56e0\u6b64\u5168\u7403\u5316\u7684\u9f99\u5934CMP\u4f01\u4e1a\u4f18\u52bf\u663e\u8457\u3002"),(0,a.yg)("p",null,"\u5178\u578b\u7684\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\u5305\u62ec\u601d\u79d1\u7684Jasper\u5e73\u53f0\u3001\u7231\u7acb\u4fe1\u7684DCP\u3001\u6c83\u8fbe\u4e30\u7684GDSP\uff0cTelit\u7684M2M\u5e73\u53f0\u3001PTC\u7684Thingworx\u548cAxeda\u3002\u76ee\u524d\u5168\u7403\u5316\u7684CMP\u4e3b\u8981\u6709\u4e09\u5bb6\uff1aJasper\u5e73\u53f0\u3001\u7231\u7acb\u4fe1DCP\u5e73\u53f0\u548c\u6c83\u8fbe\u4e30GDSP\u5e73\u53f0\uff0c\u5176\u4e2dJasper\u6700\u5927\uff0c\u4e0e\u5168\u7403\u8d85\u8fc7100\u5bb6\u8fd0\u8425\u5546\u30013500\u5bb6\u4f01\u4e1a\u5ba2\u6237\u5c55\u5f00\u5408\u4f5c\uff0c\u56fd\u5185\u7684\u4e2d\u56fd\u8054\u901a\u4e5f\u901a\u8fc7\u5b9c\u901a\u4e16\u7eaa\u4e0eJasper\u5e73\u53f0\u8fdb\u884c\u5408\u4f5c\u3002"),(0,a.yg)("p",null,"\u5728\u56fd\u5185\u4e09\u5927\u8fd0\u8425\u5546\u4e2d\uff0c\u4e2d\u56fd\u79fb\u52a8\u9009\u62e9\u81ea\u7814One NET\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\uff0c\u4e2d\u56fd\u8054\u901a\u4e0eJasper\u6218\u7565\u5408\u4f5c\uff0c\u9009\u62e9\u5176Control\u5e73\u53f0\u63d0\u4f9b\u7269\u8054\u7f51\u8fde\u63a5\u670d\u52a1\uff1b\u4e2d\u56fd\u7535\u4fe1\u4e5f\u5148\u540e\u81ea\u7814\u53ca\u4e0e\u7231\u7acb\u4fe1\u5408\u4f5c\u5efa\u7acb\u4e24\u5957\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\u3002"),(0,a.yg)("h4",{id:"\u4e8c\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0dmp"},"\u4e8c\u3001\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0DMP"),(0,a.yg)("p",null,"DMP\uff08Device Management Platform\uff09\u662f\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0\u3002\u4e3b\u8981\u5bf9\u7269\u8054\u7f51\u7ec8\u7aef\u8fdb\u884c\u8fdc\u7a0b\u76d1\u63a7\u3001\u8bbe\u7f6e\u8c03\u6574 \u3001\u8f6f\u4ef6\u5347\u7ea7\u3001\u6545\u969c\u6392\u67e5\u7b49\u4e00\u7cfb\u5217\u7b49\u529f\u80fd\u3002\u5e76\u901a\u8fc7\u63d0\u4f9b\u5f00\u653e\u7684API\u8c03\u7528\u63a5\u53e3\u5e2e\u52a9\u5ba2\u6237\u8fdb\u884c\u7cfb\u7edf\u7684\u96c6\u6210\u5728\u6574\u5957\u7aef\u5230\u7aefM2M\u8bbe\u5907\u7ba1\u7406\u89e3\u51b3\u65b9\u6848\u4e2d\uff0c\u6574\u4f53\u62a5\u4ef7\u6536\u8d39\u3002\u53ef\u4ee5\u8ba4\u4e3aDMP\u4e3b\u8981\u9762\u5411\u8bbe\u5907\u7684\u5f00\u3001\u5173\u3001\u505c\u7b49\u57fa\u672c\u72b6\u6001\u7684\u63a7\u5236\uff0c\u6216\u5b9e\u65f6\u7684\u7269\u8054\u7f51\u8bbe\u5907\u8b66\u544a\u7b49\u4e0d\u6d89\u53ca\u7269\u8054\u7f51\u4e0a\u5c42\u5e94\u7528\u573a\u666f\u7684\u8bbe\u5907\u7ba1\u7406\u3002 "),(0,a.yg)("p",null,"\u7269\u8054\u7f51\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0DMP\u5f80\u5f80\u96c6\u6210\u5728\u7aef\u5230\u7aef\u7684\u5168\u5957\u8bbe\u5907\u7ba1\u7406\u89e3\u51b3\u65b9\u6848\u4e2d\uff0c\u8fdb\u884c\u6574\u4f53\u62a5\u4ef7\u6536\u8d39\u3002DMP\u529f\u80fd\u5305\u62ec\u7528\u6237\u7ba1\u7406\u4ee5\u53ca\u7269\u8054\u7f51\u8bbe\u5907\u7ba1\u7406\uff0c\u4f8b\u5982\u914d\u7f6e\u3001\u91cd\u542f\u3001\u5173\u95ed\u3001\u6062\u590d\u51fa\u5382\u3001\u5347\u7ea7/\u56de\u9000\u7b49\uff0c\u8bbe\u5907\u73b0\u573a\u4ea7\u751f\u7684\u6570\u636e\u7684\u67e5\u8be2\uff0c\u4ee5\u53ca\u57fa\u4e8e\u73b0\u573a\u6570\u636e\u7684\u62a5\u8b66\u529f\u80fd\uff0c\u8bbe\u5907\u751f\u547d\u5468\u671f\u7ba1\u7406\u7b49\u3002\u636eIDC\u6570\u636e\u663e\u793a\uff0c2020\u5e74\u5168\u7403\u5c06\u8d85\u8fc7250\u4ebf\u53f0\u8bbe\u5907\u8054\u7f51\u3002"),(0,a.yg)("p",null,"\u8bbe\u5907\u7ba1\u7406\u7684\u6838\u5fc3\u4e0d\u5728\u57fa\u7840\u7684\u8fde\u63a5\u548c\u7684\u7ba1\u7406\u804c\u80fd\uff0c\u800c\u5728\u589e\u503c\u6027\u7684\u7ecf\u8425\u548c\u7ef4\u62a4\u4e1a\u52a1\u4e0a\u3002\u901a\u8fc7\u5927\u91cf\u8bbe\u5907\u7684\u63a5\u5165\u6570\u636e\uff0c\u8bc6\u522b\u51fa\u4e1a\u52a1\u6d41\u7a0b\u7684\u4f18\u5316\u751a\u81f3\u65b0\u7684\u5546\u4e1a\u6a21\u5f0f\uff0c\u5bf9\u8bbe\u5907\u8fdb\u884c\u751f\u547d\u5468\u671f\u7ba1\u7406\u548c\u8fd0\u7ef4\uff0c\u80fd\u591f\u5bf9\u5ba2\u6237\u8d77\u5230\u964d\u672c\u589e\u6548\u7684\u4f5c\u7528\u3002"),(0,a.yg)("p",null,"\u5178\u578b\u7684DMP\u5e73\u53f0\u5305\u62ecBOSCHIoTSuite\u3001IBMWatson\u3001DiGi\u3001\u767e\u5ea6\u4e91\u7269\u63a5\u5165IoTHub\u3001\u4e09\u4e00\u91cd\u5de5\u6839\u4e91\u3001GEPredix\u7b49\u3002\u4ee5\u767e\u5ea6\u4e91\u4e3a\u4f8b\uff0c\u767e\u5ea6\u4e91\u7269\u63a5\u5165IoTHub\u662f\u5efa\u7acb\u5728IaaS\u4e0a\u7684PaaS\u5e73\u53f0\uff0c\u63d0\u4f9b\u5168\u6258\u7ba1\u7684\u4e91\u670d\u52a1\uff0c\u5e2e\u52a9\u5efa\u7acb\u8bbe\u5907\u4e0e\u4e91\u7aef\u4e4b\u95f4\u7684\u53cc\u5411\u8fde\u63a5\uff0c\u652f\u6491\u6d77\u91cf\u8bbe\u5907\u7684\u6570\u636e\u6536\u96c6\u3001\u76d1\u63a7\u3001\u6545\u969c\u9884\u6d4b\u7b49\u5404\u79cd\u7269\u8054\u7f51\u573a\u666f\u3002\u4e00\u4e9b\u5782\u76f4\u9886\u57df\u5de8\u5934\u672c\u8eab\u5c31\u662f\u8bbe\u5907\u63d0\u4f9b\u5546\uff0c\u4e1a\u52a1\u5916\u5ef6\u81f3\u5e73\u53f0\u5c42\u9762\uff0c\u901a\u5e38\u80fd\u591f\u63d0\u4f9b\u6574\u4f53\u89e3\u51b3\u65b9\u6848\uff0c\u90e8\u5206\u80fd\u591f\u96c6\u6210CRM\u3001ERP\u3001MES\u7b49\u4fe1\u606f\u7cfb\u7edf\u3002"),(0,a.yg)("h4",{id:"\u4e09\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0aep"},"\u4e09\u3001\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0AEP"),(0,a.yg)("p",null,"AEP\uff08Application Enablement Platform\uff09\u662f\u4e0a\u5c42\u7684\u4e1a\u52a1\u4f7f\u80fd\u5e73\u53f0\uff0c\u8be5\u903b\u8f91\u5c42\u662f\u7ed3\u5408\u4e86\u4e0a\u5c42\u7684\u5e94\u7528\u573a\u666f\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u6210\u5957\u5e94\u7528\u5f00\u53d1\u5de5\u5177\uff08SDK\uff09\u3001\u4e2d\u95f4\u4ef6\u3001\u6570\u636e\u5b58\u50a8\u3001\u4e1a\u52a1\u903b\u8f91\u5f15\u64ce\u3001\u7b2c\u4e09\u65b9API\u63a5\u53e3\u7b49\u529f\u80fd\u3002\u6211\u4eec\u53ef\u5c06\u5176\u7406\u89e3\u4e3a\u7ed3\u5408\u5e94\u7528\u573a\u666f\u7684\u7cfb\u7edf\u5f00\u53d1\u5e73\u53f0\u3002\u968f\u7740\u4f01\u4e1a\u5728\u884c\u4e1a\u4e2d\u5bf9\u4e1a\u52a1\u7ecf\u9a8c\u3001\u6240\u6d89\u53ca\u6280\u672f\u7684\u6301\u7eed\u79ef\u7d2f\uff0c\u5e73\u53f0\u7684\u7ade\u4e89\u529b\u5c06\u9010\u6e10\u4ece\u8fde\u63a5\u80fd\u529b\u8f6c\u79fb\u5230\u5e73\u53f0\u7684\u591a\u573a\u666f\u5316\u7684\u4e1a\u52a1\u80fd\u529b\u3002 "),(0,a.yg)("p",null,"\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0AEP\u662f\u63d0\u4f9b\u5feb\u901f\u5f00\u53d1\u90e8\u7f72\u7269\u8054\u7f51\u5e94\u7528\u670d\u52a1\u7684PaaS\u5e73\u53f0\u3002AEP\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u6210\u5957\u5e94\u7528\u5f00\u53d1\u5de5\u5177\u3001\u4e2d\u95f4\u4ef6\u3001\u4e1a\u52a1\u903b\u8f91\u5f15\u64ce\u3001API\u63a5\u53e3\u3001\u5e94\u7528\u670d\u52a1\u5668\u7b49\u5de5\u5177\uff0c\u4ee5\u8282\u7701\u5927\u91cf\u5f00\u53d1\u65f6\u95f4\u548c\u9884\u7b97\u3002"),(0,a.yg)("p",null,"\u7269\u8054\u7f51\u5e02\u573a\u5929\u7136\u788e\u7247\u5316\uff0cAEP\u5e73\u53f0\u5546\u901a\u8fc7\u63d0\u4f9b\u5b8c\u5584\u7684\u5f00\u53d1\u8d44\u6599\u5e93\u3001\u591a\u6837\u5316\u7684\u90e8\u7f72\u65b9\u5f0f\u3001\u4f01\u4e1a\u7ea7SDK\u53ca\u53ef\u62d3\u5c55\u7684\u901a\u7528\u4e2d\u95f4\u4ef6\uff0c\u5927\u5927\u964d\u4f4e\u5f00\u53d1\u95e8\u69db\u3002\u5e94\u7528AEP\u5e73\u53f0\u80fd\u591f\u4f7f\u5e94\u7528\u7684\u5f00\u53d1\u6210\u672c\u5927\u5e45\u964d\u4f4e\uff0c\u5e76\u53ca\u65f6\u63a8\u5411\u5e02\u573a\u62a2\u5360\u5148\u673a\u3002"),(0,a.yg)("p",null,"\u5178\u578b\u7684AEP\u5e73\u53f0\u63d0\u4f9b\u5546\u5305\u62ecPTCThing worx\uff0c\u827e\u62c9\u7269\u8054\uff0c\u673a\u667a\u4e91\uff0cComulo city\uff0cAWS\nIoT\uff0cWatson IoT Platform\u7b49\u3002"),(0,a.yg)("p",null,"\u4ee5\u673a\u667a\u4e91\u4e3a\u4f8b\uff0c\u4e2d\u56fd\u7535\u4fe1\u7684\u767d\u8272\u5bb6\u7535\u884c\u4e1a\u4f7f\u80fd\u5957\u4ef6\u662f\u4e0e\u65e5\u6d77\u7269\u8054\u53ca\u673a\u667a\u4e91\u5408\u4f5c\u5b8c\u6210\u7684\uff0c\u4e3b\u8981\u670d\u52a1\u4e8e\u667a\u80fd\u5bb6\u7535\u884c\u4e1a\uff0c\u5e2e\u52a9\u5ba2\u6237\u8fdb\u884c\u4ea7\u54c1\u5f00\u53d1\u3002\u5957\u4ef6\u63d0\u4f9b\u6570\u636e\u7684\u7ba1\u7406\u3001\u5206\u6790\u3001\u8c03\u53d6\u7684\u6807\u51c6\u5316\u63a5\u53e3\uff0c\u5e94\u7528\u5f00\u53d1\u8005\u53ea\u9700\u8981\u8c03\u7528\u63a5\u53e3\uff0c\u5c31\u80fd\u591f\u5feb\u901f\u8fdb\u884c\u624b\u673aAPP\u6216\u8005\u5e94\u7528\u8f6f\u4ef6\u5e73\u53f0\u7684\u642d\u5efa\u3002\u6700\u7ec8\u7528\u6237\u901a\u8fc7\u624b\u673a\u6216\u8005\u7535\u8111\uff0c\u5c31\u53ef\u4ee5\u8f7b\u677e\u63a7\u5236\u63a7\u5236\u667a\u80fd\u5bb6\u7535\u3002"),(0,a.yg)("h4",{id:"\u56db\u4e1a\u52a1\u5206\u6790\u5e73\u53f0bap"},"\u56db\u3001\u4e1a\u52a1\u5206\u6790\u5e73\u53f0BAP"),(0,a.yg)("p",null,"BAP\uff08Business Analytics Platform\uff09\u53ef\u88ab\u79f0\u4e3a\u4e1a\u52a1\u5206\u6790\u5e73\u53f0\uff0c\u8be5\u903b\u8f91\u5c42\u5305\u542b\u5927\u6570\u636e\u670d\u52a1\u548c\u673a\u5668\u5b66\u4e60\u4e24\u4e2a\u4e3b\u8981\u529f\u80fd\u3002\u5c06\u6c47\u96c6\u5728\u4e91\u5e73\u53f0\u7684\u6570\u636e\u8fdb\u884c\u5206\u6790\u3001\u5904\u7406\uff0c\u5e76\u5c06\u5176\u53ef\u89c6\u5316\u3002\u800c\u673a\u5668\u5b66\u4e60\u662f\u5c06\u6c89\u6dc0\u5728\u5e73\u53f0\u4e0a\u7ed3\u6784\u5316\u548c\u975e\u7ed3\u6784\u5316\u6570\u636e\u8fdb\u884c\u8bad\u7ec3\uff0c\u5f62\u6210\u5177\u6709\u9884\u6d4b\u6027\u7684\u3001\u8ba4\u77e5\u7684\u3001\u6216\u590d\u6742\u7684\u4e1a\u52a1\u5206\u6790\u903b\u8f91\u3002\u800c\u672a\u6765\uff0c\u673a\u5668\u5b66\u4e60\u5fc5\u7136\u5c06\u5411\u4eba\u5de5\u667a\u80fd\u8fc7\u5ea6\u3002\u4ece\u6570\u636e\u7d2f\u8ba1\u91cf\u3001\u4eba\u5de5\u667a\u80fd\u6280\u672f\u7684\u53d1\u5c55\u7a0b\u5ea6\u7b49\u89d2\u5ea6\u8003\u8651\uff0c\u76ee\u524d\u8fd8\u6ca1\u6709\u4f01\u4e1a\u7684\u4e1a\u52a1\u53ef\u4ee5\u8fbe\u5230\u8fd9\u4e00\u5c42\u7ea7\u3002 "),(0,a.yg)("p",null,"\u4e1a\u52a1\u5206\u6790\u5e73\u53f0BAP\u4e3b\u8981\u901a\u8fc7\u5927\u6570\u636e\u5206\u6790\u548c\u673a\u5668\u5b66\u4e60\u7b49\u65b9\u6cd5\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u6df1\u5ea6\u89e3\u6790\uff0c\u4ee5\u56fe\u8868\u3001\u6570\u636e\u62a5\u544a\u7b49\u65b9\u5f0f\u8fdb\u884c\u53ef\u89c6\u5316\u5c55\u793a\uff0c\u5e76\u5e94\u7528\u4e8e\u5782\u76f4\u884c\u4e1a\u3002\u7269\u8054\u7f51\u5e94\u7528\u53ef\u4ee5\u901a\u8fc7\u5bf9BAP\u6a21\u5757\u7684\u8c03\u7528\u6765\u5efa\u7acb\u6a21\u578b\uff0c\u8fdb\u884c\u4e1a\u52a1\u53d1\u5c55\u9884\u6d4b\u5206\u6790\u53ca\u8bbe\u5907\u7684\u9884\u9632\u6027\u7ef4\u62a4\u7b49\u3002\u7531\u4e8e\u4eba\u5de5\u667a\u80fd\u6280\u672f\u53ca\u6570\u636e\u611f\u77e5\u5c42\u642d\u5efa\u7684\u8fdb\u5ea6\u9650\u5236\uff0c\u76ee\u524dBAP\u5e73\u53f0\u53d1\u5c55\u4ecd\u672a\u6210\u719f\u3002"))}s.isMDXComponent=!0},40934:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/1-4f28922b895ce23e1002dcd20b1e670f.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8816],{15680:(e,t,n)=>{n.d(t,{xA:()=>P,yg:()=>d});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},P=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,P=i(e,["components","mdxType","originalType","parentName"]),u=c(n),y=a,d=u["".concat(p,".").concat(y)]||u[y]||s[y]||l;return n?r.createElement(d,o(o({ref:t},P),{},{components:n})):r.createElement(d,o({ref:t},P))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,o=new Array(l);o[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[u]="string"==typeof e?e:a,o[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>s,frontMatter:()=>l,metadata:()=>i,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const l={},o=void 0,i={unversionedId:"study/competitive/CMP-DMP-AEP-BAP",id:"study/competitive/CMP-DMP-AEP-BAP",title:"CMP-DMP-AEP-BAP",description:"\u7b80\u8ff0",source:"@site/docs/study/competitive/CMP-DMP-AEP-BAP.md",sourceDirName:"study/competitive",slug:"/study/competitive/CMP-DMP-AEP-BAP",permalink:"/docs/study/competitive/CMP-DMP-AEP-BAP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",permalink:"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76"},next:{title:"TP-LINK",permalink:"/docs/study/competitive/TP-LINK"}},p={},c=[{value:"\u7b80\u8ff0",id:"\u7b80\u8ff0",level:4},{value:"\u4e00\u3001\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0CMP",id:"\u4e00\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0cmp",level:4},{value:"\u4e8c\u3001\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0DMP",id:"\u4e8c\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0dmp",level:4},{value:"\u4e09\u3001\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0AEP",id:"\u4e09\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0aep",level:4},{value:"\u56db\u3001\u4e1a\u52a1\u5206\u6790\u5e73\u53f0BAP",id:"\u56db\u4e1a\u52a1\u5206\u6790\u5e73\u53f0bap",level:4}],P={toc:c},u="wrapper";function s(e){let{components:t,...l}=e;return(0,a.yg)(u,(0,r.A)({},P,l,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h4",{id:"\u7b80\u8ff0"},"\u7b80\u8ff0"),(0,a.yg)("p",null,"\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u5904\u4e8e\u7269\u8054\u7f51\u56db\u4e2a\u903b\u8f91\u5c42\uff08\u611f\u77e5\u5c42\u3001\u7f51\u7edc\u5c42\u3001\u5e73\u53f0\u5c42\u3001\u5e94\u7528\u5c42\uff09\u4e2d\u5904\u4e8e\u5e73\u53f0\u5c42\u8fd9\u4e00\u73af\uff0c\u5e73\u53f0\u5c42\u4e8e\u7269\u8054\u7f51\u7684\u4f5c\u7528\u5728\u4e8e\u6536\u96c6\u3001\u5904\u7406\u6570\u636e\u7b49\u3002\u6211\u4eec\u53ef\u6839\u636e\u4e91\u5e73\u53f0\u7684\u529f\u80fd\u5c06\u5176\u5206\u4e3aCMP\u3001DMP\u3001AEP\u548cBAP\u7b49\u56db\u4e2a\u5e73\u53f0\u3002\u5230\u76ee\u524d\u4e3a\u6b62\u8fd8\u6ca1\u6709\u4e00\u5bb6\u516c\u53f8\u53ef\u5728\u4e1a\u52a1\u4e0a\u6db5\u76d6\u56db\u4e2a\u5b50\u5e73\u53f0\uff0c\u6bcf\u4e2a\u516c\u53f8\u6709\u5404\u81ea\u64c5\u957f\u9886\u57df \u548c\u72ec\u7279\u4f18\u52bf\u3002"),(0,a.yg)("p",null,"\u6839\u636e\u5404\u7c7b\u53c2\u4e0e\u8005\u6240\u63d0\u4f9b\u7684\u670d\u52a1\u7c7b\u578b\uff0c\u6309\u7167Machina Research\u7684\u5206\u7c7b\u65b9\u6cd5\uff0c\u7269\u8054\u7f51\u5e73\u53f0\u53ef\u5206\u4e3a\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0CMP\uff08Connectivity Management Platform\uff09\u3001\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0DMP\uff08Device Management Platform\uff09\u3001\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0AEP\uff08Application Enablement Platform\uff09\u548c\u4e1a\u52a1\u5206\u6790\u5e73\u53f0BAP\uff08Business Analytics Platform\uff09\u3002"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"image.png",src:n(40934).A,width:"746",height:"452"})),(0,a.yg)("h4",{id:"\u4e00\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0cmp"},"\u4e00\u3001\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0CMP"),(0,a.yg)("p",null,"CMP\uff08Connectivity Management Platform\uff09\u4e3a\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\u3002\u4e00\u822c\u8fd0\u7528\u4e8e\u8fd0\u8425\u5546\u7f51\u7edc\u4e0a\uff0c\u5177\u4f53\u6765\u8bf4\u8fde\u63a5\u7684\u7269\u8054\u7f51SIM\u5361\u3002\u8be5\u5e73\u53f0\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u7269\u8054\u7f51\u8fde\u63a5\u914d\u7f6e\u548c\u6545\u969c\u7ba1\u7406\u3001\u4fdd\u8bc1\u7ec8\u7aef\u8054\u7f51\u901a\u9053\u7a33\u5b9a\u3001\u7f51\u7edc\u8d44\u6e90\u7528\u91cf\u7ba1\u7406\u3001\u8fde\u63a5\u8d44\u8d39\u7ba1\u7406\u3001\u8d26\u5355\u7ba1\u7406\u3001\u5957\u9910\u53d8\u66f4\u7b49\u3002"),(0,a.yg)("p",null,"\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\u901a\u5e38\u6307\u57fa\u4e8e\u7535\u4fe1\u8fd0\u8425\u5546\u7f51\u7edc\uff08\u8702\u7a9d\uff0cLTE\u7b49\uff09\u63d0\u4f9b\u53ef\u8fde\u63a5\u6027\u7ba1\u7406\u3001\u4f18\u5316\u4ee5\u53ca\u7ec8\u7aef\u7ba1\u7406\uff0c\u7ef4\u62a4\u7b49\u65b9\u9762\u7684\u529f\u80fd\u7684\u5e73\u53f0\u3002\u5176\u529f\u80fd\u901a\u5e38\u5305\u62ec\u53f7\u7801/IP\u5730\u5740/Mac\u8d44\u6e90\u7ba1\u7406\u3001SIM\u5361\u7ba1\u63a7\u3001\u8fde\u63a5\u8d44\u8d39\u7ba1\u7406\u3001\u5957\u9910\u7ba1\u7406\u3001\u7f51\u7edc\u8d44\u6e90\u7528\u91cf\u7ba1\u7406\u3001\u8d26\u5355\u7ba1\u7406\u3001\u6545\u969c\u7ba1\u7406\u7b49\u3002\u7269\u8054\u7f51\u8fde\u63a5\u5177\u5907M2M\u8fde\u63a5\u6570\u5927\u3001\u5355\u4e2a\u7269\u54c1\u8fde\u63a5ARPU\u503c\u4f4e\uff08\u4eba\u7c7b\u8fde\u63a5\u5ba2\u6237ARPU\u503c\u76843%-5%\uff09\u7684\u7279\u70b9\uff0c\u76f4\u63a5\u7ed3\u679c\u5c31\u662f\u591a\u6570\u8fd0\u8425\u5546\u5c06\u653e\u5f03\u81ea\u5efaCMP\u5e73\u53f0\uff0c\u8f6c\u4e0e\u4e13\u95e8\u5316\u7684CMP\u5e73\u53f0\u4f9b\u5e94\u5546\u5408\u4f5c\u3002\u6839\u636e\u7269\u8054\u7f51\u667a\u5e93\u7684\u5206\u6790\uff0c\u5bf9\u4e8e\u62e5\u6709\u8d85\u8fc71000\u4e2a\u8fde\u63a5\u7684\u4f01\u4e1a\uff0c\u957f\u671f\u6765\u770b\uff0c\u4f7f\u7528\u4e91\u5e73\u53f0\u6bd4\u81ea\u5efaIT\u8bbe\u65bd\u5c06\u8282\u770190%\u7684\u6210\u672c\u3002\u53e6\u5916\uff0c\u5f88\u591a\u7269\u8054\u7f51\u5ba2\u6237\u90fd\u662f\u8de8\u56fd\u4f01\u4e1a\uff0c\u9009\u62e9\u8fd0\u8425\u5546\u65f6\u66f4\u9752\u7750\u4e00\u70b9\u63a5\u5165\u5168\u7403\u901a\u7528\uff0c\u56e0\u6b64\u5168\u7403\u5316\u7684\u9f99\u5934CMP\u4f01\u4e1a\u4f18\u52bf\u663e\u8457\u3002"),(0,a.yg)("p",null,"\u5178\u578b\u7684\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\u5305\u62ec\u601d\u79d1\u7684Jasper\u5e73\u53f0\u3001\u7231\u7acb\u4fe1\u7684DCP\u3001\u6c83\u8fbe\u4e30\u7684GDSP\uff0cTelit\u7684M2M\u5e73\u53f0\u3001PTC\u7684Thingworx\u548cAxeda\u3002\u76ee\u524d\u5168\u7403\u5316\u7684CMP\u4e3b\u8981\u6709\u4e09\u5bb6\uff1aJasper\u5e73\u53f0\u3001\u7231\u7acb\u4fe1DCP\u5e73\u53f0\u548c\u6c83\u8fbe\u4e30GDSP\u5e73\u53f0\uff0c\u5176\u4e2dJasper\u6700\u5927\uff0c\u4e0e\u5168\u7403\u8d85\u8fc7100\u5bb6\u8fd0\u8425\u5546\u30013500\u5bb6\u4f01\u4e1a\u5ba2\u6237\u5c55\u5f00\u5408\u4f5c\uff0c\u56fd\u5185\u7684\u4e2d\u56fd\u8054\u901a\u4e5f\u901a\u8fc7\u5b9c\u901a\u4e16\u7eaa\u4e0eJasper\u5e73\u53f0\u8fdb\u884c\u5408\u4f5c\u3002"),(0,a.yg)("p",null,"\u5728\u56fd\u5185\u4e09\u5927\u8fd0\u8425\u5546\u4e2d\uff0c\u4e2d\u56fd\u79fb\u52a8\u9009\u62e9\u81ea\u7814One NET\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\uff0c\u4e2d\u56fd\u8054\u901a\u4e0eJasper\u6218\u7565\u5408\u4f5c\uff0c\u9009\u62e9\u5176Control\u5e73\u53f0\u63d0\u4f9b\u7269\u8054\u7f51\u8fde\u63a5\u670d\u52a1\uff1b\u4e2d\u56fd\u7535\u4fe1\u4e5f\u5148\u540e\u81ea\u7814\u53ca\u4e0e\u7231\u7acb\u4fe1\u5408\u4f5c\u5efa\u7acb\u4e24\u5957\u8fde\u63a5\u7ba1\u7406\u5e73\u53f0\u3002"),(0,a.yg)("h4",{id:"\u4e8c\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0dmp"},"\u4e8c\u3001\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0DMP"),(0,a.yg)("p",null,"DMP\uff08Device Management Platform\uff09\u662f\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0\u3002\u4e3b\u8981\u5bf9\u7269\u8054\u7f51\u7ec8\u7aef\u8fdb\u884c\u8fdc\u7a0b\u76d1\u63a7\u3001\u8bbe\u7f6e\u8c03\u6574 \u3001\u8f6f\u4ef6\u5347\u7ea7\u3001\u6545\u969c\u6392\u67e5\u7b49\u4e00\u7cfb\u5217\u7b49\u529f\u80fd\u3002\u5e76\u901a\u8fc7\u63d0\u4f9b\u5f00\u653e\u7684API\u8c03\u7528\u63a5\u53e3\u5e2e\u52a9\u5ba2\u6237\u8fdb\u884c\u7cfb\u7edf\u7684\u96c6\u6210\u5728\u6574\u5957\u7aef\u5230\u7aefM2M\u8bbe\u5907\u7ba1\u7406\u89e3\u51b3\u65b9\u6848\u4e2d\uff0c\u6574\u4f53\u62a5\u4ef7\u6536\u8d39\u3002\u53ef\u4ee5\u8ba4\u4e3aDMP\u4e3b\u8981\u9762\u5411\u8bbe\u5907\u7684\u5f00\u3001\u5173\u3001\u505c\u7b49\u57fa\u672c\u72b6\u6001\u7684\u63a7\u5236\uff0c\u6216\u5b9e\u65f6\u7684\u7269\u8054\u7f51\u8bbe\u5907\u8b66\u544a\u7b49\u4e0d\u6d89\u53ca\u7269\u8054\u7f51\u4e0a\u5c42\u5e94\u7528\u573a\u666f\u7684\u8bbe\u5907\u7ba1\u7406\u3002 "),(0,a.yg)("p",null,"\u7269\u8054\u7f51\u8bbe\u5907\u7ba1\u7406\u5e73\u53f0DMP\u5f80\u5f80\u96c6\u6210\u5728\u7aef\u5230\u7aef\u7684\u5168\u5957\u8bbe\u5907\u7ba1\u7406\u89e3\u51b3\u65b9\u6848\u4e2d\uff0c\u8fdb\u884c\u6574\u4f53\u62a5\u4ef7\u6536\u8d39\u3002DMP\u529f\u80fd\u5305\u62ec\u7528\u6237\u7ba1\u7406\u4ee5\u53ca\u7269\u8054\u7f51\u8bbe\u5907\u7ba1\u7406\uff0c\u4f8b\u5982\u914d\u7f6e\u3001\u91cd\u542f\u3001\u5173\u95ed\u3001\u6062\u590d\u51fa\u5382\u3001\u5347\u7ea7/\u56de\u9000\u7b49\uff0c\u8bbe\u5907\u73b0\u573a\u4ea7\u751f\u7684\u6570\u636e\u7684\u67e5\u8be2\uff0c\u4ee5\u53ca\u57fa\u4e8e\u73b0\u573a\u6570\u636e\u7684\u62a5\u8b66\u529f\u80fd\uff0c\u8bbe\u5907\u751f\u547d\u5468\u671f\u7ba1\u7406\u7b49\u3002\u636eIDC\u6570\u636e\u663e\u793a\uff0c2020\u5e74\u5168\u7403\u5c06\u8d85\u8fc7250\u4ebf\u53f0\u8bbe\u5907\u8054\u7f51\u3002"),(0,a.yg)("p",null,"\u8bbe\u5907\u7ba1\u7406\u7684\u6838\u5fc3\u4e0d\u5728\u57fa\u7840\u7684\u8fde\u63a5\u548c\u7684\u7ba1\u7406\u804c\u80fd\uff0c\u800c\u5728\u589e\u503c\u6027\u7684\u7ecf\u8425\u548c\u7ef4\u62a4\u4e1a\u52a1\u4e0a\u3002\u901a\u8fc7\u5927\u91cf\u8bbe\u5907\u7684\u63a5\u5165\u6570\u636e\uff0c\u8bc6\u522b\u51fa\u4e1a\u52a1\u6d41\u7a0b\u7684\u4f18\u5316\u751a\u81f3\u65b0\u7684\u5546\u4e1a\u6a21\u5f0f\uff0c\u5bf9\u8bbe\u5907\u8fdb\u884c\u751f\u547d\u5468\u671f\u7ba1\u7406\u548c\u8fd0\u7ef4\uff0c\u80fd\u591f\u5bf9\u5ba2\u6237\u8d77\u5230\u964d\u672c\u589e\u6548\u7684\u4f5c\u7528\u3002"),(0,a.yg)("p",null,"\u5178\u578b\u7684DMP\u5e73\u53f0\u5305\u62ecBOSCHIoTSuite\u3001IBMWatson\u3001DiGi\u3001\u767e\u5ea6\u4e91\u7269\u63a5\u5165IoTHub\u3001\u4e09\u4e00\u91cd\u5de5\u6839\u4e91\u3001GEPredix\u7b49\u3002\u4ee5\u767e\u5ea6\u4e91\u4e3a\u4f8b\uff0c\u767e\u5ea6\u4e91\u7269\u63a5\u5165IoTHub\u662f\u5efa\u7acb\u5728IaaS\u4e0a\u7684PaaS\u5e73\u53f0\uff0c\u63d0\u4f9b\u5168\u6258\u7ba1\u7684\u4e91\u670d\u52a1\uff0c\u5e2e\u52a9\u5efa\u7acb\u8bbe\u5907\u4e0e\u4e91\u7aef\u4e4b\u95f4\u7684\u53cc\u5411\u8fde\u63a5\uff0c\u652f\u6491\u6d77\u91cf\u8bbe\u5907\u7684\u6570\u636e\u6536\u96c6\u3001\u76d1\u63a7\u3001\u6545\u969c\u9884\u6d4b\u7b49\u5404\u79cd\u7269\u8054\u7f51\u573a\u666f\u3002\u4e00\u4e9b\u5782\u76f4\u9886\u57df\u5de8\u5934\u672c\u8eab\u5c31\u662f\u8bbe\u5907\u63d0\u4f9b\u5546\uff0c\u4e1a\u52a1\u5916\u5ef6\u81f3\u5e73\u53f0\u5c42\u9762\uff0c\u901a\u5e38\u80fd\u591f\u63d0\u4f9b\u6574\u4f53\u89e3\u51b3\u65b9\u6848\uff0c\u90e8\u5206\u80fd\u591f\u96c6\u6210CRM\u3001ERP\u3001MES\u7b49\u4fe1\u606f\u7cfb\u7edf\u3002"),(0,a.yg)("h4",{id:"\u4e09\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0aep"},"\u4e09\u3001\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0AEP"),(0,a.yg)("p",null,"AEP\uff08Application Enablement Platform\uff09\u662f\u4e0a\u5c42\u7684\u4e1a\u52a1\u4f7f\u80fd\u5e73\u53f0\uff0c\u8be5\u903b\u8f91\u5c42\u662f\u7ed3\u5408\u4e86\u4e0a\u5c42\u7684\u5e94\u7528\u573a\u666f\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u6210\u5957\u5e94\u7528\u5f00\u53d1\u5de5\u5177\uff08SDK\uff09\u3001\u4e2d\u95f4\u4ef6\u3001\u6570\u636e\u5b58\u50a8\u3001\u4e1a\u52a1\u903b\u8f91\u5f15\u64ce\u3001\u7b2c\u4e09\u65b9API\u63a5\u53e3\u7b49\u529f\u80fd\u3002\u6211\u4eec\u53ef\u5c06\u5176\u7406\u89e3\u4e3a\u7ed3\u5408\u5e94\u7528\u573a\u666f\u7684\u7cfb\u7edf\u5f00\u53d1\u5e73\u53f0\u3002\u968f\u7740\u4f01\u4e1a\u5728\u884c\u4e1a\u4e2d\u5bf9\u4e1a\u52a1\u7ecf\u9a8c\u3001\u6240\u6d89\u53ca\u6280\u672f\u7684\u6301\u7eed\u79ef\u7d2f\uff0c\u5e73\u53f0\u7684\u7ade\u4e89\u529b\u5c06\u9010\u6e10\u4ece\u8fde\u63a5\u80fd\u529b\u8f6c\u79fb\u5230\u5e73\u53f0\u7684\u591a\u573a\u666f\u5316\u7684\u4e1a\u52a1\u80fd\u529b\u3002 "),(0,a.yg)("p",null,"\u5e94\u7528\u4f7f\u80fd\u5e73\u53f0AEP\u662f\u63d0\u4f9b\u5feb\u901f\u5f00\u53d1\u90e8\u7f72\u7269\u8054\u7f51\u5e94\u7528\u670d\u52a1\u7684PaaS\u5e73\u53f0\u3002AEP\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u6210\u5957\u5e94\u7528\u5f00\u53d1\u5de5\u5177\u3001\u4e2d\u95f4\u4ef6\u3001\u4e1a\u52a1\u903b\u8f91\u5f15\u64ce\u3001API\u63a5\u53e3\u3001\u5e94\u7528\u670d\u52a1\u5668\u7b49\u5de5\u5177\uff0c\u4ee5\u8282\u7701\u5927\u91cf\u5f00\u53d1\u65f6\u95f4\u548c\u9884\u7b97\u3002"),(0,a.yg)("p",null,"\u7269\u8054\u7f51\u5e02\u573a\u5929\u7136\u788e\u7247\u5316\uff0cAEP\u5e73\u53f0\u5546\u901a\u8fc7\u63d0\u4f9b\u5b8c\u5584\u7684\u5f00\u53d1\u8d44\u6599\u5e93\u3001\u591a\u6837\u5316\u7684\u90e8\u7f72\u65b9\u5f0f\u3001\u4f01\u4e1a\u7ea7SDK\u53ca\u53ef\u62d3\u5c55\u7684\u901a\u7528\u4e2d\u95f4\u4ef6\uff0c\u5927\u5927\u964d\u4f4e\u5f00\u53d1\u95e8\u69db\u3002\u5e94\u7528AEP\u5e73\u53f0\u80fd\u591f\u4f7f\u5e94\u7528\u7684\u5f00\u53d1\u6210\u672c\u5927\u5e45\u964d\u4f4e\uff0c\u5e76\u53ca\u65f6\u63a8\u5411\u5e02\u573a\u62a2\u5360\u5148\u673a\u3002"),(0,a.yg)("p",null,"\u5178\u578b\u7684AEP\u5e73\u53f0\u63d0\u4f9b\u5546\u5305\u62ecPTCThing worx\uff0c\u827e\u62c9\u7269\u8054\uff0c\u673a\u667a\u4e91\uff0cComulo city\uff0cAWS\nIoT\uff0cWatson IoT Platform\u7b49\u3002"),(0,a.yg)("p",null,"\u4ee5\u673a\u667a\u4e91\u4e3a\u4f8b\uff0c\u4e2d\u56fd\u7535\u4fe1\u7684\u767d\u8272\u5bb6\u7535\u884c\u4e1a\u4f7f\u80fd\u5957\u4ef6\u662f\u4e0e\u65e5\u6d77\u7269\u8054\u53ca\u673a\u667a\u4e91\u5408\u4f5c\u5b8c\u6210\u7684\uff0c\u4e3b\u8981\u670d\u52a1\u4e8e\u667a\u80fd\u5bb6\u7535\u884c\u4e1a\uff0c\u5e2e\u52a9\u5ba2\u6237\u8fdb\u884c\u4ea7\u54c1\u5f00\u53d1\u3002\u5957\u4ef6\u63d0\u4f9b\u6570\u636e\u7684\u7ba1\u7406\u3001\u5206\u6790\u3001\u8c03\u53d6\u7684\u6807\u51c6\u5316\u63a5\u53e3\uff0c\u5e94\u7528\u5f00\u53d1\u8005\u53ea\u9700\u8981\u8c03\u7528\u63a5\u53e3\uff0c\u5c31\u80fd\u591f\u5feb\u901f\u8fdb\u884c\u624b\u673aAPP\u6216\u8005\u5e94\u7528\u8f6f\u4ef6\u5e73\u53f0\u7684\u642d\u5efa\u3002\u6700\u7ec8\u7528\u6237\u901a\u8fc7\u624b\u673a\u6216\u8005\u7535\u8111\uff0c\u5c31\u53ef\u4ee5\u8f7b\u677e\u63a7\u5236\u63a7\u5236\u667a\u80fd\u5bb6\u7535\u3002"),(0,a.yg)("h4",{id:"\u56db\u4e1a\u52a1\u5206\u6790\u5e73\u53f0bap"},"\u56db\u3001\u4e1a\u52a1\u5206\u6790\u5e73\u53f0BAP"),(0,a.yg)("p",null,"BAP\uff08Business Analytics Platform\uff09\u53ef\u88ab\u79f0\u4e3a\u4e1a\u52a1\u5206\u6790\u5e73\u53f0\uff0c\u8be5\u903b\u8f91\u5c42\u5305\u542b\u5927\u6570\u636e\u670d\u52a1\u548c\u673a\u5668\u5b66\u4e60\u4e24\u4e2a\u4e3b\u8981\u529f\u80fd\u3002\u5c06\u6c47\u96c6\u5728\u4e91\u5e73\u53f0\u7684\u6570\u636e\u8fdb\u884c\u5206\u6790\u3001\u5904\u7406\uff0c\u5e76\u5c06\u5176\u53ef\u89c6\u5316\u3002\u800c\u673a\u5668\u5b66\u4e60\u662f\u5c06\u6c89\u6dc0\u5728\u5e73\u53f0\u4e0a\u7ed3\u6784\u5316\u548c\u975e\u7ed3\u6784\u5316\u6570\u636e\u8fdb\u884c\u8bad\u7ec3\uff0c\u5f62\u6210\u5177\u6709\u9884\u6d4b\u6027\u7684\u3001\u8ba4\u77e5\u7684\u3001\u6216\u590d\u6742\u7684\u4e1a\u52a1\u5206\u6790\u903b\u8f91\u3002\u800c\u672a\u6765\uff0c\u673a\u5668\u5b66\u4e60\u5fc5\u7136\u5c06\u5411\u4eba\u5de5\u667a\u80fd\u8fc7\u5ea6\u3002\u4ece\u6570\u636e\u7d2f\u8ba1\u91cf\u3001\u4eba\u5de5\u667a\u80fd\u6280\u672f\u7684\u53d1\u5c55\u7a0b\u5ea6\u7b49\u89d2\u5ea6\u8003\u8651\uff0c\u76ee\u524d\u8fd8\u6ca1\u6709\u4f01\u4e1a\u7684\u4e1a\u52a1\u53ef\u4ee5\u8fbe\u5230\u8fd9\u4e00\u5c42\u7ea7\u3002 "),(0,a.yg)("p",null,"\u4e1a\u52a1\u5206\u6790\u5e73\u53f0BAP\u4e3b\u8981\u901a\u8fc7\u5927\u6570\u636e\u5206\u6790\u548c\u673a\u5668\u5b66\u4e60\u7b49\u65b9\u6cd5\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u6df1\u5ea6\u89e3\u6790\uff0c\u4ee5\u56fe\u8868\u3001\u6570\u636e\u62a5\u544a\u7b49\u65b9\u5f0f\u8fdb\u884c\u53ef\u89c6\u5316\u5c55\u793a\uff0c\u5e76\u5e94\u7528\u4e8e\u5782\u76f4\u884c\u4e1a\u3002\u7269\u8054\u7f51\u5e94\u7528\u53ef\u4ee5\u901a\u8fc7\u5bf9BAP\u6a21\u5757\u7684\u8c03\u7528\u6765\u5efa\u7acb\u6a21\u578b\uff0c\u8fdb\u884c\u4e1a\u52a1\u53d1\u5c55\u9884\u6d4b\u5206\u6790\u53ca\u8bbe\u5907\u7684\u9884\u9632\u6027\u7ef4\u62a4\u7b49\u3002\u7531\u4e8e\u4eba\u5de5\u667a\u80fd\u6280\u672f\u53ca\u6570\u636e\u611f\u77e5\u5c42\u642d\u5efa\u7684\u8fdb\u5ea6\u9650\u5236\uff0c\u76ee\u524dBAP\u5e73\u53f0\u53d1\u5c55\u4ecd\u672a\u6210\u719f\u3002"))}s.isMDXComponent=!0},40934:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/1-4f28922b895ce23e1002dcd20b1e670f.png"}}]); \ No newline at end of file diff --git a/assets/js/c453cefa.6cafd382.js b/assets/js/c453cefa.4e02230e.js similarity index 99% rename from assets/js/c453cefa.6cafd382.js rename to assets/js/c453cefa.4e02230e.js index 019e35bc1..8b9f2eaa7 100644 --- a/assets/js/c453cefa.6cafd382.js +++ b/assets/js/c453cefa.4e02230e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7317],{15680:(e,n,i)=>{i.d(n,{xA:()=>y,yg:()=>c});var t=i(96540);function r(e,n,i){return n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}function a(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,t)}return i}function o(e){for(var n=1;n=0||(r[i]=e[i]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var g=t.createContext({}),p=function(e){var n=t.useContext(g),i=n;return e&&(i="function"==typeof e?e(n):o(o({},n),e)),i},y=function(e){var n=p(e.components);return t.createElement(g.Provider,{value:n},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},m=t.forwardRef((function(e,n){var i=e.components,r=e.mdxType,a=e.originalType,g=e.parentName,y=l(e,["components","mdxType","originalType","parentName"]),d=p(i),m=r,c=d["".concat(g,".").concat(m)]||d[m]||s[m]||a;return i?t.createElement(c,o(o({ref:n},y),{},{components:i})):t.createElement(c,o({ref:n},y))}));function c(e,n){var i=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var a=i.length,o=new Array(a);o[0]=m;var l={};for(var g in n)hasOwnProperty.call(n,g)&&(l[g]=n[g]);l.originalType=e,l[d]="string"==typeof e?e:r,o[1]=l;for(var p=2;p{i.r(n),i.d(n,{assets:()=>g,contentTitle:()=>o,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var t=i(58168),r=(i(96540),i(15680));const a={},o=void 0,l={unversionedId:"study/program/C/MinGW_CygWin",id:"study/program/C/MinGW_CygWin",title:"MinGW_CygWin",description:"Mingw\u548cCygwin\u90fd\u662f\u5728 Windows \u7cfb\u7edf\u4e0a\u63d0\u4f9b\u7c7b Unix \u73af\u5883\u7684\u5de5\u5177\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e9b\u4e0d\u540c\u4e4b\u5904\uff1a",source:"@site/docs/study/program/C/MinGW_CygWin.md",sourceDirName:"study/program/C",slug:"/study/program/C/MinGW_CygWin",permalink:"/docs/study/program/C/MinGW_CygWin",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MFC-WinForm-WPF-DotNet\u7b49",permalink:"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49"},next:{title:"cmake",permalink:"/docs/study/program/C/cmake"}},g={},p=[],y={toc:p},d="wrapper";function s(e){let{components:n,...i}=e;return(0,r.yg)(d,(0,t.A)({},y,i,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("p",null,(0,r.yg)("inlineCode",{parentName:"p"},"Mingw"),"\u548c",(0,r.yg)("inlineCode",{parentName:"p"},"Cygwin"),"\u90fd\u662f\u5728 Windows \u7cfb\u7edf\u4e0a\u63d0\u4f9b\u7c7b Unix \u73af\u5883\u7684\u5de5\u5177\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e9b\u4e0d\u540c\u4e4b\u5904\uff1a"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("strong",{parentName:"li"},"\u8bbe\u8ba1\u76ee\u6807\u4e0e\u5b9e\u73b0\u65b9\u5f0f"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Mingw"),'\uff1a"Minimalist GNU for Windows"\u7684\u7f29\u5199\uff0c\u76ee\u6807\u662f\u5728 Windows \u4e0a\u63d0\u4f9b\u4e00\u4e2a\u7b80\u5355\u3001\u8f7b\u91cf\u7ea7\u7684 GNU \u5de5\u5177\u96c6\u73af\u5883\uff0c\u4ee5\u4fbf\u5f00\u53d1\u8005\u80fd\u591f\u4f7f\u7528 GNU \u5de5\u5177\u94fe\uff08\u5982 GCC \u7f16\u8bd1\u5668\u7b49\uff09\u5728 Windows \u4e0b\u8fdb\u884c\u7a0b\u5e8f\u5f00\u53d1\u3002\u5b83\u4e3b\u8981\u662f\u5c06 GNU \u5de5\u5177\u96c6\u79fb\u690d\u5230 Windows \u5e73\u53f0\uff0c\u76f4\u63a5\u8c03\u7528 Windows \u7684\u7cfb\u7edf API\uff0c\u751f\u6210\u539f\u751f\u7684 Windows \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4e0d\u4f9d\u8d56\u989d\u5916\u7684\u6a21\u62df\u5c42\u6216\u517c\u5bb9\u5e93\u3002'),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Cygwin"),"\uff1a\u65e8\u5728\u63d0\u4f9b\u4e00\u4e2a\u5b8c\u6574\u7684 POSIX \u5c42\uff0c\u5305\u62ec\u51e0\u4e4e\u6240\u6709\u4e3b\u8981\u7684 Unix \u7cfb\u7edf\u8c03\u7528\u548c\u5e93\u7684\u5b9e\u73b0\u3002\u5b83\u901a\u8fc7\u4e00\u4e2a\u540d\u4e3a",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u7684\u52a8\u6001\u94fe\u63a5\u5e93\uff0c\u5728 Windows \u7cfb\u7edf\u4e0a\u6a21\u62df Unix \u73af\u5883\uff0c\u4f7f\u5f00\u53d1\u8005\u53ef\u4ee5\u5728 Windows \u4e0a\u8fd0\u884c\u539f\u672c\u4e3a Unix \u7cfb\u7edf\u7f16\u5199\u7684\u7a0b\u5e8f\u3002\u8fd9\u610f\u5473\u7740\u7a0b\u5e8f\u5728\u8fd0\u884c\u65f6\u9700\u8981\u4f9d\u8d56",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u5e93\u3002"))),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("strong",{parentName:"li"},"\u7a0b\u5e8f\u8fd0\u884c\u6548\u7387\u4e0e\u517c\u5bb9\u6027"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u8fd0\u884c\u6548\u7387"),"\uff1a\u4e00\u822c\u6765\u8bf4\uff0c",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u751f\u6210\u7684\u7a0b\u5e8f\u76f4\u63a5\u5728 Windows \u4e0a\u8fd0\u884c\uff0c\u6ca1\u6709\u989d\u5916\u7684\u6a21\u62df\u5c42\uff0c\u56e0\u6b64\u5728\u8fd0\u884c\u6548\u7387\u4e0a\u76f8\u5bf9\u8f83\u9ad8\u3002\u800c",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u7531\u4e8e\u9700\u8981\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u8fdb\u884c\u7cfb\u7edf\u8c03\u7528\u7684\u8f6c\u6362\uff0c\u53ef\u80fd\u4f1a\u6709\u4e00\u4e9b\u6027\u80fd\u5f00\u9500\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u517c\u5bb9\u6027"),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u5bf9 POSIX \u6807\u51c6\u7684\u517c\u5bb9\u6027\u66f4\u597d\uff0c\u51e0\u4e4e\u53ef\u4ee5\u8fd0\u884c\u6240\u6709\u7684 Unix/Linux \u7a0b\u5e8f\uff0c\u4f46\u9700\u8981\u91cd\u65b0\u7f16\u8bd1\u3002\u800c",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u5bf9 POSIX \u7684\u652f\u6301\u662f\u6709\u9650\u7684\uff0c\u5b83\u66f4\u4fa7\u91cd\u4e8e\u63d0\u4f9b\u5bf9 Windows API \u7684\u76f4\u63a5\u8bbf\u95ee\uff0c\u5bf9\u4e8e\u4e00\u4e9b\u4f9d\u8d56\u7279\u5b9a POSIX \u7279\u6027\u7684\u7a0b\u5e8f\uff0c\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u989d\u5916\u7684\u9002\u914d\u3002"))),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("strong",{parentName:"li"},"\u5f00\u53d1\u73af\u5883\u4e0e\u4f7f\u7528\u573a\u666f"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5f00\u53d1\u73af\u5883"),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u63d0\u4f9b\u7684\u662f\u4e00\u4e2a\u76f8\u5bf9\u7b80\u6d01\u7684\u5f00\u53d1\u73af\u5883\uff0c\u4e3b\u8981\u5305\u542b\u7f16\u8bd1\u5668\u3001\u94fe\u63a5\u5668\u7b49\u57fa\u672c\u7684\u5f00\u53d1\u5de5\u5177\uff0c\u9002\u5408\u5f00\u53d1\u539f\u751f\u7684 Windows \u5e94\u7528\u7a0b\u5e8f\uff0c\u5c24\u5176\u662f\u90a3\u4e9b\u5bf9\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\u6216\u8005\u9700\u8981\u76f4\u63a5\u8bbf\u95ee Windows \u7cfb\u7edf\u5e95\u5c42\u7684\u7a0b\u5e8f\u3002",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u5219\u63d0\u4f9b\u4e86\u4e00\u4e2a\u66f4\u63a5\u8fd1 Unix/Linux \u7684\u5f00\u53d1\u73af\u5883\uff0c\u5305\u542b\u4e86\u5927\u91cf\u7684 Unix \u5de5\u5177\u548c\u547d\u4ee4\uff0c\u9002\u5408\u8fdb\u884c\u8de8\u5e73\u53f0\u5f00\u53d1\u3001\u5b66\u4e60 Unix/Linux \u7cfb\u7edf\u7f16\u7a0b\u6216\u8005\u5c06 Unix/Linux \u4e0b\u7684\u7a0b\u5e8f\u79fb\u690d\u5230 Windows \u4e0a\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u4f7f\u7528\u573a\u666f\u4e3e\u4f8b"),"\uff1a\u5982\u679c\u4f60\u662f\u4e00\u4e2a Windows \u5e73\u53f0\u4e0a\u7684 C \u6216 C++\u5f00\u53d1\u8005\uff0c\u60f3\u8981\u4f7f\u7528 GNU \u5de5\u5177\u94fe\u8fdb\u884c\u5f00\u53d1\uff0c\u5e76\u4e14\u5e0c\u671b\u751f\u6210\u7684\u7a0b\u5e8f\u80fd\u591f\u5728 Windows \u4e0a\u9ad8\u6548\u8fd0\u884c\uff0c\u90a3\u4e48",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff1b\u5982\u679c\u4f60\u662f\u4e00\u4e2a Unix/Linux \u5f00\u53d1\u8005\uff0c\u9700\u8981\u5728 Windows \u4e0a\u7ee7\u7eed\u4f7f\u7528\u719f\u6089\u7684 Unix \u5de5\u5177\u548c\u73af\u5883\u8fdb\u884c\u5f00\u53d1\uff0c\u6216\u8005\u9700\u8981\u5c06\u4e00\u4e2a Unix/Linux \u4e0b\u7684\u9879\u76ee\u79fb\u690d\u5230 Windows \u4e0a\uff0c\u90a3\u4e48",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u53ef\u80fd\u66f4\u9002\u5408\u4f60\u3002"))),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("strong",{parentName:"li"},"\u53ef\u79fb\u690d\u6027\u4e0e\u90e8\u7f72"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u53ef\u79fb\u690d\u6027"),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u751f\u6210\u7684\u7a0b\u5e8f\u662f\u539f\u751f\u7684 Windows \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5728 Windows \u7cfb\u7edf\u4e0a\u5177\u6709\u8f83\u597d\u7684\u53ef\u79fb\u690d\u6027\uff0c\u53ef\u4ee5\u5728\u4e0d\u540c\u7248\u672c\u7684 Windows \u7cfb\u7edf\u4e0a\u8fd0\u884c\uff08\u524d\u63d0\u662f\u6ee1\u8db3\u7a0b\u5e8f\u7684\u4f9d\u8d56\u8981\u6c42\uff09\u3002",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u751f\u6210\u7684\u7a0b\u5e8f\u9700\u8981\u4f9d\u8d56",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u5e93\uff0c\u5982\u679c\u8981\u5728\u5176\u4ed6\u6ca1\u6709\u5b89\u88c5",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u7684 Windows \u7cfb\u7edf\u4e0a\u8fd0\u884c\uff0c\u9700\u8981\u5c06\u8be5\u5e93\u4e00\u8d77\u6253\u5305\u5206\u53d1\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u90e8\u7f72\u96be\u5ea6"),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u7684\u90e8\u7f72\u76f8\u5bf9\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5c06\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u548c\u76f8\u5173\u7684\u4f9d\u8d56\u5e93\uff08\u5982\u679c\u6709\uff09\u590d\u5236\u5230\u76ee\u6807\u7cfb\u7edf\u5373\u53ef\u3002",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u7684\u90e8\u7f72\u5219\u9700\u8981\u786e\u4fdd\u76ee\u6807\u7cfb\u7edf\u4e0a\u5b89\u88c5\u4e86",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u4ee5\u53ca\u7a0b\u5e8f\u6240\u4f9d\u8d56\u7684\u5176\u4ed6 Cygwin \u7ec4\u4ef6\uff0c\u90e8\u7f72\u8fc7\u7a0b\u76f8\u5bf9\u590d\u6742\u4e00\u4e9b\u3002")))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7317],{15680:(e,n,i)=>{i.d(n,{xA:()=>y,yg:()=>c});var t=i(96540);function r(e,n,i){return n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}function a(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.push.apply(i,t)}return i}function o(e){for(var n=1;n=0||(r[i]=e[i]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}var g=t.createContext({}),p=function(e){var n=t.useContext(g),i=n;return e&&(i="function"==typeof e?e(n):o(o({},n),e)),i},y=function(e){var n=p(e.components);return t.createElement(g.Provider,{value:n},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},m=t.forwardRef((function(e,n){var i=e.components,r=e.mdxType,a=e.originalType,g=e.parentName,y=l(e,["components","mdxType","originalType","parentName"]),d=p(i),m=r,c=d["".concat(g,".").concat(m)]||d[m]||s[m]||a;return i?t.createElement(c,o(o({ref:n},y),{},{components:i})):t.createElement(c,o({ref:n},y))}));function c(e,n){var i=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var a=i.length,o=new Array(a);o[0]=m;var l={};for(var g in n)hasOwnProperty.call(n,g)&&(l[g]=n[g]);l.originalType=e,l[d]="string"==typeof e?e:r,o[1]=l;for(var p=2;p{i.r(n),i.d(n,{assets:()=>g,contentTitle:()=>o,default:()=>s,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var t=i(58168),r=(i(96540),i(15680));const a={},o=void 0,l={unversionedId:"study/program/C/MinGW_CygWin",id:"study/program/C/MinGW_CygWin",title:"MinGW_CygWin",description:"Mingw\u548cCygwin\u90fd\u662f\u5728 Windows \u7cfb\u7edf\u4e0a\u63d0\u4f9b\u7c7b Unix \u73af\u5883\u7684\u5de5\u5177\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e9b\u4e0d\u540c\u4e4b\u5904\uff1a",source:"@site/docs/study/program/C/MinGW_CygWin.md",sourceDirName:"study/program/C",slug:"/study/program/C/MinGW_CygWin",permalink:"/docs/study/program/C/MinGW_CygWin",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MFC-WinForm-WPF-DotNet\u7b49",permalink:"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49"},next:{title:"cmake",permalink:"/docs/study/program/C/cmake"}},g={},p=[],y={toc:p},d="wrapper";function s(e){let{components:n,...i}=e;return(0,r.yg)(d,(0,t.A)({},y,i,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("p",null,(0,r.yg)("inlineCode",{parentName:"p"},"Mingw"),"\u548c",(0,r.yg)("inlineCode",{parentName:"p"},"Cygwin"),"\u90fd\u662f\u5728 Windows \u7cfb\u7edf\u4e0a\u63d0\u4f9b\u7c7b Unix \u73af\u5883\u7684\u5de5\u5177\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e9b\u4e0d\u540c\u4e4b\u5904\uff1a"),(0,r.yg)("ol",null,(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("strong",{parentName:"li"},"\u8bbe\u8ba1\u76ee\u6807\u4e0e\u5b9e\u73b0\u65b9\u5f0f"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Mingw"),'\uff1a"Minimalist GNU for Windows"\u7684\u7f29\u5199\uff0c\u76ee\u6807\u662f\u5728 Windows \u4e0a\u63d0\u4f9b\u4e00\u4e2a\u7b80\u5355\u3001\u8f7b\u91cf\u7ea7\u7684 GNU \u5de5\u5177\u96c6\u73af\u5883\uff0c\u4ee5\u4fbf\u5f00\u53d1\u8005\u80fd\u591f\u4f7f\u7528 GNU \u5de5\u5177\u94fe\uff08\u5982 GCC \u7f16\u8bd1\u5668\u7b49\uff09\u5728 Windows \u4e0b\u8fdb\u884c\u7a0b\u5e8f\u5f00\u53d1\u3002\u5b83\u4e3b\u8981\u662f\u5c06 GNU \u5de5\u5177\u96c6\u79fb\u690d\u5230 Windows \u5e73\u53f0\uff0c\u76f4\u63a5\u8c03\u7528 Windows \u7684\u7cfb\u7edf API\uff0c\u751f\u6210\u539f\u751f\u7684 Windows \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4e0d\u4f9d\u8d56\u989d\u5916\u7684\u6a21\u62df\u5c42\u6216\u517c\u5bb9\u5e93\u3002'),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Cygwin"),"\uff1a\u65e8\u5728\u63d0\u4f9b\u4e00\u4e2a\u5b8c\u6574\u7684 POSIX \u5c42\uff0c\u5305\u62ec\u51e0\u4e4e\u6240\u6709\u4e3b\u8981\u7684 Unix \u7cfb\u7edf\u8c03\u7528\u548c\u5e93\u7684\u5b9e\u73b0\u3002\u5b83\u901a\u8fc7\u4e00\u4e2a\u540d\u4e3a",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u7684\u52a8\u6001\u94fe\u63a5\u5e93\uff0c\u5728 Windows \u7cfb\u7edf\u4e0a\u6a21\u62df Unix \u73af\u5883\uff0c\u4f7f\u5f00\u53d1\u8005\u53ef\u4ee5\u5728 Windows \u4e0a\u8fd0\u884c\u539f\u672c\u4e3a Unix \u7cfb\u7edf\u7f16\u5199\u7684\u7a0b\u5e8f\u3002\u8fd9\u610f\u5473\u7740\u7a0b\u5e8f\u5728\u8fd0\u884c\u65f6\u9700\u8981\u4f9d\u8d56",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u5e93\u3002"))),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("strong",{parentName:"li"},"\u7a0b\u5e8f\u8fd0\u884c\u6548\u7387\u4e0e\u517c\u5bb9\u6027"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u8fd0\u884c\u6548\u7387"),"\uff1a\u4e00\u822c\u6765\u8bf4\uff0c",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u751f\u6210\u7684\u7a0b\u5e8f\u76f4\u63a5\u5728 Windows \u4e0a\u8fd0\u884c\uff0c\u6ca1\u6709\u989d\u5916\u7684\u6a21\u62df\u5c42\uff0c\u56e0\u6b64\u5728\u8fd0\u884c\u6548\u7387\u4e0a\u76f8\u5bf9\u8f83\u9ad8\u3002\u800c",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u7531\u4e8e\u9700\u8981\u901a\u8fc7",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u8fdb\u884c\u7cfb\u7edf\u8c03\u7528\u7684\u8f6c\u6362\uff0c\u53ef\u80fd\u4f1a\u6709\u4e00\u4e9b\u6027\u80fd\u5f00\u9500\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u517c\u5bb9\u6027"),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u5bf9 POSIX \u6807\u51c6\u7684\u517c\u5bb9\u6027\u66f4\u597d\uff0c\u51e0\u4e4e\u53ef\u4ee5\u8fd0\u884c\u6240\u6709\u7684 Unix/Linux \u7a0b\u5e8f\uff0c\u4f46\u9700\u8981\u91cd\u65b0\u7f16\u8bd1\u3002\u800c",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u5bf9 POSIX \u7684\u652f\u6301\u662f\u6709\u9650\u7684\uff0c\u5b83\u66f4\u4fa7\u91cd\u4e8e\u63d0\u4f9b\u5bf9 Windows API \u7684\u76f4\u63a5\u8bbf\u95ee\uff0c\u5bf9\u4e8e\u4e00\u4e9b\u4f9d\u8d56\u7279\u5b9a POSIX \u7279\u6027\u7684\u7a0b\u5e8f\uff0c\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u989d\u5916\u7684\u9002\u914d\u3002"))),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("strong",{parentName:"li"},"\u5f00\u53d1\u73af\u5883\u4e0e\u4f7f\u7528\u573a\u666f"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5f00\u53d1\u73af\u5883"),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u63d0\u4f9b\u7684\u662f\u4e00\u4e2a\u76f8\u5bf9\u7b80\u6d01\u7684\u5f00\u53d1\u73af\u5883\uff0c\u4e3b\u8981\u5305\u542b\u7f16\u8bd1\u5668\u3001\u94fe\u63a5\u5668\u7b49\u57fa\u672c\u7684\u5f00\u53d1\u5de5\u5177\uff0c\u9002\u5408\u5f00\u53d1\u539f\u751f\u7684 Windows \u5e94\u7528\u7a0b\u5e8f\uff0c\u5c24\u5176\u662f\u90a3\u4e9b\u5bf9\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\u6216\u8005\u9700\u8981\u76f4\u63a5\u8bbf\u95ee Windows \u7cfb\u7edf\u5e95\u5c42\u7684\u7a0b\u5e8f\u3002",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u5219\u63d0\u4f9b\u4e86\u4e00\u4e2a\u66f4\u63a5\u8fd1 Unix/Linux \u7684\u5f00\u53d1\u73af\u5883\uff0c\u5305\u542b\u4e86\u5927\u91cf\u7684 Unix \u5de5\u5177\u548c\u547d\u4ee4\uff0c\u9002\u5408\u8fdb\u884c\u8de8\u5e73\u53f0\u5f00\u53d1\u3001\u5b66\u4e60 Unix/Linux \u7cfb\u7edf\u7f16\u7a0b\u6216\u8005\u5c06 Unix/Linux \u4e0b\u7684\u7a0b\u5e8f\u79fb\u690d\u5230 Windows \u4e0a\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u4f7f\u7528\u573a\u666f\u4e3e\u4f8b"),"\uff1a\u5982\u679c\u4f60\u662f\u4e00\u4e2a Windows \u5e73\u53f0\u4e0a\u7684 C \u6216 C++\u5f00\u53d1\u8005\uff0c\u60f3\u8981\u4f7f\u7528 GNU \u5de5\u5177\u94fe\u8fdb\u884c\u5f00\u53d1\uff0c\u5e76\u4e14\u5e0c\u671b\u751f\u6210\u7684\u7a0b\u5e8f\u80fd\u591f\u5728 Windows \u4e0a\u9ad8\u6548\u8fd0\u884c\uff0c\u90a3\u4e48",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff1b\u5982\u679c\u4f60\u662f\u4e00\u4e2a Unix/Linux \u5f00\u53d1\u8005\uff0c\u9700\u8981\u5728 Windows \u4e0a\u7ee7\u7eed\u4f7f\u7528\u719f\u6089\u7684 Unix \u5de5\u5177\u548c\u73af\u5883\u8fdb\u884c\u5f00\u53d1\uff0c\u6216\u8005\u9700\u8981\u5c06\u4e00\u4e2a Unix/Linux \u4e0b\u7684\u9879\u76ee\u79fb\u690d\u5230 Windows \u4e0a\uff0c\u90a3\u4e48",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u53ef\u80fd\u66f4\u9002\u5408\u4f60\u3002"))),(0,r.yg)("li",{parentName:"ol"},(0,r.yg)("strong",{parentName:"li"},"\u53ef\u79fb\u690d\u6027\u4e0e\u90e8\u7f72"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u53ef\u79fb\u690d\u6027"),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u751f\u6210\u7684\u7a0b\u5e8f\u662f\u539f\u751f\u7684 Windows \u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5728 Windows \u7cfb\u7edf\u4e0a\u5177\u6709\u8f83\u597d\u7684\u53ef\u79fb\u690d\u6027\uff0c\u53ef\u4ee5\u5728\u4e0d\u540c\u7248\u672c\u7684 Windows \u7cfb\u7edf\u4e0a\u8fd0\u884c\uff08\u524d\u63d0\u662f\u6ee1\u8db3\u7a0b\u5e8f\u7684\u4f9d\u8d56\u8981\u6c42\uff09\u3002",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u751f\u6210\u7684\u7a0b\u5e8f\u9700\u8981\u4f9d\u8d56",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u5e93\uff0c\u5982\u679c\u8981\u5728\u5176\u4ed6\u6ca1\u6709\u5b89\u88c5",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u7684 Windows \u7cfb\u7edf\u4e0a\u8fd0\u884c\uff0c\u9700\u8981\u5c06\u8be5\u5e93\u4e00\u8d77\u6253\u5305\u5206\u53d1\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u90e8\u7f72\u96be\u5ea6"),"\uff1a",(0,r.yg)("inlineCode",{parentName:"li"},"Mingw"),"\u7684\u90e8\u7f72\u76f8\u5bf9\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5c06\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u548c\u76f8\u5173\u7684\u4f9d\u8d56\u5e93\uff08\u5982\u679c\u6709\uff09\u590d\u5236\u5230\u76ee\u6807\u7cfb\u7edf\u5373\u53ef\u3002",(0,r.yg)("inlineCode",{parentName:"li"},"Cygwin"),"\u7684\u90e8\u7f72\u5219\u9700\u8981\u786e\u4fdd\u76ee\u6807\u7cfb\u7edf\u4e0a\u5b89\u88c5\u4e86",(0,r.yg)("inlineCode",{parentName:"li"},"cygwin1.dll"),"\u4ee5\u53ca\u7a0b\u5e8f\u6240\u4f9d\u8d56\u7684\u5176\u4ed6 Cygwin \u7ec4\u4ef6\uff0c\u90e8\u7f72\u8fc7\u7a0b\u76f8\u5bf9\u590d\u6742\u4e00\u4e9b\u3002")))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c50996a1.c00ab53b.js b/assets/js/c50996a1.3047e0e1.js similarity index 98% rename from assets/js/c50996a1.c00ab53b.js rename to assets/js/c50996a1.3047e0e1.js index 9c8e1c0c9..798894831 100644 --- a/assets/js/c50996a1.c00ab53b.js +++ b/assets/js/c50996a1.3047e0e1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9826],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,i=u(e,["components","mdxType","originalType","parentName"]),d=p(r),f=o,y=d["".concat(l,".").concat(f)]||d[f]||s[f]||a;return r?n.createElement(y,c(c({ref:t},i),{},{components:r})):n.createElement(y,c({ref:t},i))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var u={};for(var l in t)hasOwnProperty.call(t,l)&&(u[l]=t[l]);u.originalType=e,u[d]="string"==typeof e?e:o,c[1]=u;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>s,frontMatter:()=>a,metadata:()=>u,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,u={unversionedId:"study/net/MacOS\u7f16\u8bd1OpenVPN",id:"study/net/MacOS\u7f16\u8bd1OpenVPN",title:"MacOS\u7f16\u8bd1OpenVPN",description:"cmake -DUNSUPPORTED_BUILDS=true ./",source:"@site/docs/study/net/MacOS\u7f16\u8bd1OpenVPN.md",sourceDirName:"study/net",slug:"/study/net/MacOS\u7f16\u8bd1OpenVPN",permalink:"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u7f51\u7edc\u914d\u7f6e",permalink:"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e"},next:{title:"OpenVPN",permalink:"/docs/study/net/OpenVPN"}},l={},p=[{value:"cmake -DUNSUPPORTED_BUILDS=true ./",id:"cmake--dunsupported_buildstrue-",level:3},{value:"\u62a5\u9519\uff1aNone of the required 'cmocka' found",id:"\u62a5\u9519none-of-the-required-cmocka-found",level:3},{value:"\u62a5\u9519\uff1aNone of the required 'libpkcs11-helper-1' found",id:"\u62a5\u9519none-of-the-required-libpkcs11-helper-1-found",level:3}],i={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"cmake--dunsupported_buildstrue-"},"cmake -DUNSUPPORTED_BUILDS=true ./"),(0,o.yg)("p",null,"\u6267\u884c cmake"),(0,o.yg)("h3",{id:"\u62a5\u9519none-of-the-required-cmocka-found"},"\u62a5\u9519\uff1aNone of the required 'cmocka' found"),(0,o.yg)("p",null,"\u89e3\u51b3\uff1a"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://cmocka.org/"},"https://cmocka.org/")),(0,o.yg)("p",null,"brew install cmocka"),(0,o.yg)("h3",{id:"\u62a5\u9519none-of-the-required-libpkcs11-helper-1-found"},"\u62a5\u9519\uff1aNone of the required 'libpkcs11-helper-1' found"),(0,o.yg)("p",null,"\u89e3\u51b3\uff1a"),(0,o.yg)("p",null,"brew install pkcs11-helper"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9826],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,i=u(e,["components","mdxType","originalType","parentName"]),d=p(r),f=o,y=d["".concat(l,".").concat(f)]||d[f]||s[f]||a;return r?n.createElement(y,c(c({ref:t},i),{},{components:r})):n.createElement(y,c({ref:t},i))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var u={};for(var l in t)hasOwnProperty.call(t,l)&&(u[l]=t[l]);u.originalType=e,u[d]="string"==typeof e?e:o,c[1]=u;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>s,frontMatter:()=>a,metadata:()=>u,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,u={unversionedId:"study/net/MacOS\u7f16\u8bd1OpenVPN",id:"study/net/MacOS\u7f16\u8bd1OpenVPN",title:"MacOS\u7f16\u8bd1OpenVPN",description:"cmake -DUNSUPPORTED_BUILDS=true ./",source:"@site/docs/study/net/MacOS\u7f16\u8bd1OpenVPN.md",sourceDirName:"study/net",slug:"/study/net/MacOS\u7f16\u8bd1OpenVPN",permalink:"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u7f51\u7edc\u914d\u7f6e",permalink:"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e"},next:{title:"OpenVPN",permalink:"/docs/study/net/OpenVPN"}},l={},p=[{value:"cmake -DUNSUPPORTED_BUILDS=true ./",id:"cmake--dunsupported_buildstrue-",level:3},{value:"\u62a5\u9519\uff1aNone of the required 'cmocka' found",id:"\u62a5\u9519none-of-the-required-cmocka-found",level:3},{value:"\u62a5\u9519\uff1aNone of the required 'libpkcs11-helper-1' found",id:"\u62a5\u9519none-of-the-required-libpkcs11-helper-1-found",level:3}],i={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(d,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"cmake--dunsupported_buildstrue-"},"cmake -DUNSUPPORTED_BUILDS=true ./"),(0,o.yg)("p",null,"\u6267\u884c cmake"),(0,o.yg)("h3",{id:"\u62a5\u9519none-of-the-required-cmocka-found"},"\u62a5\u9519\uff1aNone of the required 'cmocka' found"),(0,o.yg)("p",null,"\u89e3\u51b3\uff1a"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://cmocka.org/"},"https://cmocka.org/")),(0,o.yg)("p",null,"brew install cmocka"),(0,o.yg)("h3",{id:"\u62a5\u9519none-of-the-required-libpkcs11-helper-1-found"},"\u62a5\u9519\uff1aNone of the required 'libpkcs11-helper-1' found"),(0,o.yg)("p",null,"\u89e3\u51b3\uff1a"),(0,o.yg)("p",null,"brew install pkcs11-helper"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c624ce3c.1b8749cd.js b/assets/js/c624ce3c.111b576f.js similarity index 98% rename from assets/js/c624ce3c.1b8749cd.js rename to assets/js/c624ce3c.111b576f.js index 478b815ae..2a87f90e8 100644 --- a/assets/js/c624ce3c.1b8749cd.js +++ b/assets/js/c624ce3c.111b576f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2424],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),s=u(r),d=a,m=s["".concat(i,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,p(p({ref:t},l),{},{components:r})):n.createElement(m,p({ref:t},l))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:a,p[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>y,frontMatter:()=>o,metadata:()=>c,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},p="\u4ee3\u7801\u751f\u6210",c={unversionedId:"study/program/JAVA/\u4ee3\u7801\u751f\u6210",id:"study/program/JAVA/\u4ee3\u7801\u751f\u6210",title:"\u4ee3\u7801\u751f\u6210",description:"Mapstruct",source:"@site/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/\u4ee3\u7801\u751f\u6210",permalink:"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Vert.x",permalink:"/docs/study/program/JAVA/Vert.x"},next:{title:"\u9501\uff08\u591a\u7ebf\u7a0b\uff09",permalink:"/docs/study/program/JAVA/\u9501"}},i={},u=[{value:"Mapstruct",id:"mapstruct",level:3}],l={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u4ee3\u7801\u751f\u6210"},"\u4ee3\u7801\u751f\u6210"),(0,a.yg)("h3",{id:"mapstruct"},"Mapstruct"),(0,a.yg)("p",null,"MapSturct \u662f\u4e00\u4e2a\u751f\u6210\u7c7b\u578b\u5b89\u5168\uff0c\u9ad8\u6027\u80fd\u4e14\u65e0\u4f9d\u8d56\u7684 JavaBean \u6620\u5c04\u4ee3\u7801\u7684\u6ce8\u89e3\u5904\u7406\u5668\uff08annotation processor\uff09\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6ce8\u89e3\u5904\u7406\u5668"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u751f\u6210 JavaBean \u4e4b\u95f4\u90a3\u7684\u6620\u5c04\u4ee3\u7801"),(0,a.yg)("li",{parentName:"ul"},"\u7c7b\u578b\u5b89\u5168\uff0c\u9ad8\u6027\u80fd\uff0c\u65e0\u4f9d\u8d56\u6027")),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://blog.csdn.net/Mango_Bin/article/details/125168370"},"CSDN-Mapstruct\u7684\u5177\u4f53\u4ecb\u7ecd\u4e0e\u4f7f\u7528")),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://baijiahao.baidu.com/s?id=1710072420980854506&wfr=spider&for=pc"},"\u767e\u5ea6-\u6027\u80fd\u9ad8\u3001\u4e0a\u624b\u5feb\uff0c\u5b9e\u4f53\u7c7b\u8f6c\u6362\u5de5\u5177 MapStruct \u5230\u5e95\u6709\u591a\u5f3a\u5927")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2424],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),s=u(r),d=a,m=s["".concat(i,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,p(p({ref:t},l),{},{components:r})):n.createElement(m,p({ref:t},l))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:a,p[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>y,frontMatter:()=>o,metadata:()=>c,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},p="\u4ee3\u7801\u751f\u6210",c={unversionedId:"study/program/JAVA/\u4ee3\u7801\u751f\u6210",id:"study/program/JAVA/\u4ee3\u7801\u751f\u6210",title:"\u4ee3\u7801\u751f\u6210",description:"Mapstruct",source:"@site/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/\u4ee3\u7801\u751f\u6210",permalink:"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Vert.x",permalink:"/docs/study/program/JAVA/Vert.x"},next:{title:"\u9501\uff08\u591a\u7ebf\u7a0b\uff09",permalink:"/docs/study/program/JAVA/\u9501"}},i={},u=[{value:"Mapstruct",id:"mapstruct",level:3}],l={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u4ee3\u7801\u751f\u6210"},"\u4ee3\u7801\u751f\u6210"),(0,a.yg)("h3",{id:"mapstruct"},"Mapstruct"),(0,a.yg)("p",null,"MapSturct \u662f\u4e00\u4e2a\u751f\u6210\u7c7b\u578b\u5b89\u5168\uff0c\u9ad8\u6027\u80fd\u4e14\u65e0\u4f9d\u8d56\u7684 JavaBean \u6620\u5c04\u4ee3\u7801\u7684\u6ce8\u89e3\u5904\u7406\u5668\uff08annotation processor\uff09\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6ce8\u89e3\u5904\u7406\u5668"),(0,a.yg)("li",{parentName:"ul"},"\u53ef\u4ee5\u751f\u6210 JavaBean \u4e4b\u95f4\u90a3\u7684\u6620\u5c04\u4ee3\u7801"),(0,a.yg)("li",{parentName:"ul"},"\u7c7b\u578b\u5b89\u5168\uff0c\u9ad8\u6027\u80fd\uff0c\u65e0\u4f9d\u8d56\u6027")),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://blog.csdn.net/Mango_Bin/article/details/125168370"},"CSDN-Mapstruct\u7684\u5177\u4f53\u4ecb\u7ecd\u4e0e\u4f7f\u7528")),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://baijiahao.baidu.com/s?id=1710072420980854506&wfr=spider&for=pc"},"\u767e\u5ea6-\u6027\u80fd\u9ad8\u3001\u4e0a\u624b\u5feb\uff0c\u5b9e\u4f53\u7c7b\u8f6c\u6362\u5de5\u5177 MapStruct \u5230\u5e95\u6709\u591a\u5f3a\u5927")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c7df6888.0e507d18.js b/assets/js/c7df6888.80acf4ef.js similarity index 98% rename from assets/js/c7df6888.0e507d18.js rename to assets/js/c7df6888.80acf4ef.js index 7b5336996..14ab4ddae 100644 --- a/assets/js/c7df6888.0e507d18.js +++ b/assets/js/c7df6888.80acf4ef.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9089],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=c(r),m=a,d=s["".concat(l,".").concat(m)]||s[m]||y[m]||o;return r?n.createElement(d,p(p({ref:t},u),{},{components:r})):n.createElement(d,p({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=m;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:a,p[1]=i;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>p,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const o={},p=void 0,i={unversionedId:"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",id:"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",title:"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",description:"\u65b9\u6cd5\u5e93\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1a",source:"@site/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93.md",sourceDirName:"study/program/C",slug:"/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",permalink:"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"size_t-ptrdiff_t-intptr_t-uintptr_t",permalink:"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t"},next:{title:"\u6784\u5efa\u5de5\u5177",permalink:"/docs/study/program/C/\u6784\u5efa\u5de5\u5177"}},l={},c=[],u={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"\u65b9\u6cd5\u5e93\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u9759\u6001\u5e93")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u52a8\u6001\u5e93\uff08\u4e5f\u53ef\u4ee5\u79f0\u4e3a\u5171\u4eab\u5e93\uff09")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"windows \u4e0b\u9759\u6001\u5e93\u4ee5.lib \u4e3a\u540e\u7f00\uff0c\u52a8\u6001\u5e93\u4ee5.dll \u4e3a\u540e\u7f00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"linux \u4e0b\u9759\u6001\u5e93\u4ee5.a \u4e3a\u540e\u7f00\uff0c\u52a8\u6001\u5e93\u4ee5.so \u4e3a\u540e\u7f00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"mac \u4e0b\u9759\u6001\u5e93\u4ee5.a \u4e3a\u540e\u7f00\uff0c\u52a8\u6001\u5e93\u4ee5.dylib \u4e3a\u540e\u7f00;\u540c\u65f6.framework \u4e3a\u540e\u7f00\u7684\u6587\u4ef6\uff0c\u6709\u53ef\u80fd\u662f\u9759\u6001\u5e93\uff0c\u4e5f\u6709\u53ef\u80fd\u662f\u52a8\u6001\u5e93"))),(0,a.yg)("p",null,"\u56e0\u4e3a\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u8fd0\u884c\u7684\u662f\u53ef\u6267\u884c\u7a0b\u5e8f\uff0c\u9759\u6001\u5e93\u4f1a copy \u5230\u53ef\u6267\u884c\u7a0b\u5e8f\u4e2d\uff0c\u800c\u52a8\u6001\u5e93\u53ea\u662f\u88ab\u53ef\u6267\u884c\u7a0b\u5e8f\u5f15\u7528\uff1b"),(0,a.yg)("p",null,"\u4e00\u4e2a\u5728\u91cc\u9762\uff0c\u4e00\u4e2a\u5728\u5916\u9762\uff0c\u4e24\u8005\u662f\u6709\u533a\u522b\u7684\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9089],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=c(r),m=a,d=s["".concat(l,".").concat(m)]||s[m]||y[m]||o;return r?n.createElement(d,p(p({ref:t},u),{},{components:r})):n.createElement(d,p({ref:t},u))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=m;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:a,p[1]=i;for(var c=2;c{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>p,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const o={},p=void 0,i={unversionedId:"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",id:"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",title:"\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",description:"\u65b9\u6cd5\u5e93\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1a",source:"@site/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93.md",sourceDirName:"study/program/C",slug:"/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",permalink:"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"size_t-ptrdiff_t-intptr_t-uintptr_t",permalink:"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t"},next:{title:"\u6784\u5efa\u5de5\u5177",permalink:"/docs/study/program/C/\u6784\u5efa\u5de5\u5177"}},l={},c=[],u={toc:c},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"\u65b9\u6cd5\u5e93\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u9759\u6001\u5e93")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u52a8\u6001\u5e93\uff08\u4e5f\u53ef\u4ee5\u79f0\u4e3a\u5171\u4eab\u5e93\uff09")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"windows \u4e0b\u9759\u6001\u5e93\u4ee5.lib \u4e3a\u540e\u7f00\uff0c\u52a8\u6001\u5e93\u4ee5.dll \u4e3a\u540e\u7f00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"linux \u4e0b\u9759\u6001\u5e93\u4ee5.a \u4e3a\u540e\u7f00\uff0c\u52a8\u6001\u5e93\u4ee5.so \u4e3a\u540e\u7f00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"mac \u4e0b\u9759\u6001\u5e93\u4ee5.a \u4e3a\u540e\u7f00\uff0c\u52a8\u6001\u5e93\u4ee5.dylib \u4e3a\u540e\u7f00;\u540c\u65f6.framework \u4e3a\u540e\u7f00\u7684\u6587\u4ef6\uff0c\u6709\u53ef\u80fd\u662f\u9759\u6001\u5e93\uff0c\u4e5f\u6709\u53ef\u80fd\u662f\u52a8\u6001\u5e93"))),(0,a.yg)("p",null,"\u56e0\u4e3a\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u8fd0\u884c\u7684\u662f\u53ef\u6267\u884c\u7a0b\u5e8f\uff0c\u9759\u6001\u5e93\u4f1a copy \u5230\u53ef\u6267\u884c\u7a0b\u5e8f\u4e2d\uff0c\u800c\u52a8\u6001\u5e93\u53ea\u662f\u88ab\u53ef\u6267\u884c\u7a0b\u5e8f\u5f15\u7528\uff1b"),(0,a.yg)("p",null,"\u4e00\u4e2a\u5728\u91cc\u9762\uff0c\u4e00\u4e2a\u5728\u5916\u9762\uff0c\u4e24\u8005\u662f\u6709\u533a\u522b\u7684\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c7fe4f6d.154f489b.js b/assets/js/c7fe4f6d.0dc4924e.js similarity index 98% rename from assets/js/c7fe4f6d.154f489b.js rename to assets/js/c7fe4f6d.0dc4924e.js index ad0814832..4ede97d1f 100644 --- a/assets/js/c7fe4f6d.154f489b.js +++ b/assets/js/c7fe4f6d.0dc4924e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1522],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[s]="string"==typeof e?e:o,c[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,l={unversionedId:"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",id:"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",title:"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",description:"A \u7c7b\u5730\u5740",source:"@site/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4.md",sourceDirName:"study/net",slug:"/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",permalink:"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5185\u7f51\u7a7f\u900f",permalink:"/docs/study/net/\u5185\u7f51\u7a7f\u900f"},next:{title:"\u5f02\u5730\u7ec4\u7f51",permalink:"/docs/study/net/\u5f02\u5730\u7ec4\u7f51"}},i={},u=[{value:"A \u7c7b\u5730\u5740",id:"a-\u7c7b\u5730\u5740",level:3},{value:"B \u7c7b\u5730\u5740",id:"b-\u7c7b\u5730\u5740",level:3},{value:"C \u7c7b\u5730\u5740",id:"c-\u7c7b\u5730\u5740",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"a-\u7c7b\u5730\u5740"},"A \u7c7b\u5730\u5740"),(0,o.yg)("p",null,"10\uff0e0\uff0e0\uff0e0\uff0f8"),(0,o.yg)("p",null,"-- 10\uff0e0\uff0e0\uff0e0 \uff5e 10\uff0e255\uff0e255\uff0e255"),(0,o.yg)("h3",{id:"b-\u7c7b\u5730\u5740"},"B \u7c7b\u5730\u5740"),(0,o.yg)("p",null,"172\uff0e16\uff0e0\uff0e0\uff0f12"),(0,o.yg)("p",null,"-- 172\uff0e16\uff0e0\uff0e0 \uff5e 172\uff0e31\uff0e255\uff0e255"),(0,o.yg)("h3",{id:"c-\u7c7b\u5730\u5740"},"C \u7c7b\u5730\u5740"),(0,o.yg)("p",null,"192\uff0e168\uff0e0\uff0e0\uff0f16\n-- 192\uff0e168\uff0e0\uff0e0 \uff5e 192\uff0e168\uff0e255\uff0e255"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1522],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[s]="string"==typeof e?e:o,c[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,l={unversionedId:"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",id:"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",title:"\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",description:"A \u7c7b\u5730\u5740",source:"@site/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4.md",sourceDirName:"study/net",slug:"/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",permalink:"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5185\u7f51\u7a7f\u900f",permalink:"/docs/study/net/\u5185\u7f51\u7a7f\u900f"},next:{title:"\u5f02\u5730\u7ec4\u7f51",permalink:"/docs/study/net/\u5f02\u5730\u7ec4\u7f51"}},i={},u=[{value:"A \u7c7b\u5730\u5740",id:"a-\u7c7b\u5730\u5740",level:3},{value:"B \u7c7b\u5730\u5740",id:"b-\u7c7b\u5730\u5740",level:3},{value:"C \u7c7b\u5730\u5740",id:"c-\u7c7b\u5730\u5740",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"a-\u7c7b\u5730\u5740"},"A \u7c7b\u5730\u5740"),(0,o.yg)("p",null,"10\uff0e0\uff0e0\uff0e0\uff0f8"),(0,o.yg)("p",null,"-- 10\uff0e0\uff0e0\uff0e0 \uff5e 10\uff0e255\uff0e255\uff0e255"),(0,o.yg)("h3",{id:"b-\u7c7b\u5730\u5740"},"B \u7c7b\u5730\u5740"),(0,o.yg)("p",null,"172\uff0e16\uff0e0\uff0e0\uff0f12"),(0,o.yg)("p",null,"-- 172\uff0e16\uff0e0\uff0e0 \uff5e 172\uff0e31\uff0e255\uff0e255"),(0,o.yg)("h3",{id:"c-\u7c7b\u5730\u5740"},"C \u7c7b\u5730\u5740"),(0,o.yg)("p",null,"192\uff0e168\uff0e0\uff0e0\uff0f16\n-- 192\uff0e168\uff0e0\uff0e0 \uff5e 192\uff0e168\uff0e255\uff0e255"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c86c7bbe.2236513d.js b/assets/js/c86c7bbe.0e6730da.js similarity index 99% rename from assets/js/c86c7bbe.2236513d.js rename to assets/js/c86c7bbe.0e6730da.js index 86e972bfe..7793b506f 100644 --- a/assets/js/c86c7bbe.2236513d.js +++ b/assets/js/c86c7bbe.0e6730da.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2923],{15680:(e,t,r)=>{r.d(t,{xA:()=>y,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},y=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},c="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),c=p(r),d=a,m=c["".concat(u,".").concat(d)]||c[d]||s[d]||l;return r?n.createElement(m,o(o({ref:t},y),{},{components:r})):n.createElement(m,o({ref:t},y))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,o=new Array(l);o[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[c]="string"==typeof e?e:a,o[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>s,frontMatter:()=>l,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const l={sidebar_position:2},o=void 0,i={unversionedId:"study/db/\u7efc\u5408",id:"study/db/\u7efc\u5408",title:"\u7efc\u5408",description:"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b",source:"@site/docs/study/db/\u7efc\u5408.md",sourceDirName:"study/db",slug:"/study/db/\u7efc\u5408",permalink:"/docs/study/db/\u7efc\u5408",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/db/"},next:{title:"TiDB",permalink:"/docs/study/db/NewSQL/TiDB"}},u={},p=[{value:"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b",id:"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b",level:3},{value:"NOSQL\u51fa\u73b0\u7684\u5386\u53f2\u539f\u56e0",id:"nosql\u51fa\u73b0\u7684\u5386\u53f2\u539f\u56e0",level:3}],y={toc:p},c="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(c,(0,n.A)({},y,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b"},"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b"),(0,a.yg)("p",null,"\u5173\u4e8eNoSQL\uff0c\u770b\u8fc7\u4e00\u5f20\u56fe\uff0c\u633a\u5f62\u8c61\uff1a\u201c1970\uff0cWe have no SQL\u201d->\u201c1980\uff0cKnow SQL\u201d->\u201c2000\uff0cNoSQL\u201d->\u201c2005\uff0cNot only SQL\u201d->\u201c2015\uff0cNo\uff0cSQL\u201d\u3002\u76ee\u524d\uff0c\u4e00\u4e9b\u65b0\u578b\u6570\u636e\u5e93\uff0c\u540c\u65f6\u5177\u5907\u4e86NoSQL\u7684\u6269\u5c55\u6027\u548c\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u5f88\u591a\u7279\u6027\u3002 "),(0,a.yg)("p",null,"\u5173\u7cfb\u578b\u548cNoSQL\u6570\u636e\u5e93\u7684\u9009\u578b\u3002\u8003\u8651\u51e0\u4e2a\u6307\u6807\uff0c\u6570\u636e\u91cf\u3001\u5e76\u53d1\u91cf\u3001\u5b9e\u65f6\u6027\u3001\u4e00\u81f4\u6027\u8981\u6c42\u3001\u8bfb\u5199\u5206\u5e03\u548c\u7c7b\u578b\u3001\u5b89\u5168\u6027\u3001\u8fd0\u7ef4\u6027\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u6307\u6807\uff0c\u8f6f\u4ef6\u7cfb\u7edf\u53ef\u5206\u6210\u51e0\u7c7b\u3002 "),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u7ba1\u7406\u578b\u7cfb\u7edf\uff0c\u5982\u8fd0\u8425\u7c7b\u7cfb\u7edf\uff0c\u9996\u9009\u5173\u7cfb\u578b\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u5927\u6d41\u91cf\u7cfb\u7edf\uff0c\u5982\u7535\u5546\u5355\u54c1\u9875\u7684\u67d0\u4e2a\u670d\u52a1\uff0c\u540e\u53f0\u9009\u5173\u7cfb\u578b\uff0c\u524d\u53f0\u9009\u5185\u5b58\u578b\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u65e5\u5fd7\u578b\u7cfb\u7edf\uff0c\u539f\u59cb\u6570\u636e\u9009\u5217\u5f0f\uff0c\u65e5\u5fd7\u641c\u7d22\u9009\u5012\u6392\u7d22\u5f15\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u641c\u7d22\u578b\u7cfb\u7edf\uff0c\u6307\u7ad9\u5185\u641c\u7d22\uff0c\u975e\u901a\u7528\u641c\u7d22\uff0c\u5982\u5546\u54c1\u641c\u7d22\uff0c\u540e\u53f0\u9009\u5173\u7cfb\u578b\uff0c\u524d\u53f0\u9009\u5012\u6392\u7d22\u5f15\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u4e8b\u52a1\u578b\u7cfb\u7edf\uff0c\u5982\u5e93\u5b58\u3001\u4ea4\u6613\u3001\u8bb0\u8d26\uff0c\u9009\u5173\u7cfb\u578b+\u7f13\u5b58+\u4e00\u81f4\u6027\u534f\u8bae\uff0c\u6216\u65b0\u578b\u5173\u7cfb\u6570\u636e\u5e93\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u79bb\u7ebf\u8ba1\u7b97\uff0c\u5982\u5927\u91cf\u6570\u636e\u5206\u6790\uff0c\u9996\u9009\u5217\u5f0f\uff0c\u5173\u7cfb\u578b\u4e5f\u53ef\u4ee5\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u5b9e\u65f6\u8ba1\u7b97\uff0c\u5982\u5b9e\u65f6\u76d1\u63a7\uff0c\u53ef\u4ee5\u9009\u65f6\u5e8f\u6570\u636e\u5e93\uff0c\u6216\u5217\u5f0f\u6570\u636e\u5e93\u3002")),(0,a.yg)("h3",{id:"nosql\u51fa\u73b0\u7684\u5386\u53f2\u539f\u56e0"},"NOSQL\u51fa\u73b0\u7684\u5386\u53f2\u539f\u56e0"),(0,a.yg)("p",null,"\u5173\u7cfb\u6570\u636e\u5e93\u7ecf\u8fc7\u51e0\u5341\u5e74\u7684\u53d1\u5c55\u540e\u5df2\u7ecf\u975e\u5e38\u6210\u719f\uff0c\u5f3a\u5927\u7684 SQL \u529f\u80fd\u548c ACID \u7684\u5c5e\u6027\uff0c\u4f7f\u5f97\u5173\u7cfb\u6570\u636e\u5e93\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u5f0f\u5404\u6837\u7684\u7cfb\u7edf\u4e2d\uff0c\u4f46\u8fd9\u5e76\u4e0d\u610f\u5473\u7740\u5173\u7cfb\u6570\u636e\u5e93\u662f\u5b8c\u7f8e\u7684\uff0c\u5173\u7cfb\u6570\u636e\u5e93\u5b58\u5728\u5982\u4e0b\u7f3a\u70b9\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u5b58\u50a8\u7684\u662f\u884c\u8bb0\u5f55\uff0c\u65e0\u6cd5\u5b58\u50a8\u6570\u636e\u7ed3\u6784",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u4ee5\u5fae\u535a\u7684\u5173\u6ce8\u5173\u7cfb\u4e3a\u4f8b\uff0c\u201c\u6211\u5173\u6ce8\u7684\u4eba\u201d\u662f\u4e00\u4e2a\u7528\u6237 ID \u5217\u8868\uff0c\u4f7f\u7528\u5173\u7cfb\u6570\u636e\u5e93\u5b58\u50a8\u53ea\u80fd\u5c06\u5217\u8868\u62c6\u6210\u591a\u884c\uff0c\u7136\u540e\u518d\u67e5\u8be2\u51fa\u6765\u7ec4\u88c5\uff0c\u65e0\u6cd5\u76f4\u63a5\u5b58\u50a8\u4e00\u4e2a\u5217\u8868\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u7684 schema \u6269\u5c55\u5f88\u4e0d\u65b9\u4fbf",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u7684\u8868\u7ed3\u6784 schema \u662f\u5f3a\u7ea6\u675f\uff0c\u64cd\u4f5c\u4e0d\u5b58\u5728\u7684\u5217\u4f1a\u62a5\u9519\uff0c\u4e1a\u52a1\u53d8\u5316\u65f6\u6269\u5145\u5217\u4e5f\u6bd4\u8f83\u9ebb\u70e6\uff0c\u9700\u8981\u6267\u884c DDL\uff08data definition language\uff0c\u5982 CREATE\u3001ALTER\u3001DROP \u7b49\uff09\u8bed\u53e5\u4fee\u6539\uff0c\u800c\u4e14\u4fee\u6539\u65f6\u53ef\u80fd\u4f1a\u957f\u65f6\u95f4\u9501\u8868\uff08\u4f8b\u5982\uff0cMySQL \u53ef\u80fd\u5c06\u8868\u9501\u4f4f 1 \u4e2a\u5c0f\u65f6\uff09\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u5728\u5927\u6570\u636e\u573a\u666f\u4e0b I/O \u8f83\u9ad8",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5982\u679c\u5bf9\u4e00\u4e9b\u5927\u91cf\u6570\u636e\u7684\u8868\u8fdb\u884c\u7edf\u8ba1\u4e4b\u7c7b\u7684\u8fd0\u7b97\uff0c\u5173\u7cfb\u6570\u636e\u5e93\u7684 I/O \u4f1a\u5f88\u9ad8\uff0c\u56e0\u4e3a\u5373\u4f7f\u53ea\u9488\u5bf9\u5176\u4e2d\u67d0\u4e00\u5217\u8fdb\u884c\u8fd0\u7b97\uff0c\u5173\u7cfb\u6570\u636e\u5e93\u4e5f\u4f1a\u5c06\u6574\u884c\u6570\u636e\u4ece\u5b58\u50a8\u8bbe\u5907\u8bfb\u5165\u5185\u5b58\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u7684\u5168\u6587\u641c\u7d22\u529f\u80fd\u6bd4\u8f83\u5f31",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u7684\u5168\u6587\u641c\u7d22\u53ea\u80fd\u4f7f\u7528 like \u8fdb\u884c\u6574\u8868\u626b\u63cf\u5339\u914d\uff0c\u6027\u80fd\u975e\u5e38\u4f4e\uff0c\u5728\u4e92\u8054\u7f51\u8fd9\u79cd\u641c\u7d22\u590d\u6742\u7684\u573a\u666f\u4e0b\u65e0\u6cd5\u6ee1\u8db3\u4e1a\u52a1\u8981\u6c42\u3002")))),(0,a.yg)("p",null,"\u9488\u5bf9\u4e0a\u8ff0\u95ee\u9898\uff0c\u5206\u522b\u8bde\u751f\u4e86\u4e0d\u540c\u7684 NoSQL \u89e3\u51b3\u65b9\u6848\uff0c\u8fd9\u4e9b\u65b9\u6848\u4e0e\u5173\u7cfb\u6570\u636e\u5e93\u76f8\u6bd4\uff0c\u5728\u67d0\u4e9b\u5e94\u7528\u573a\u666f\u4e0b\u8868\u73b0\u66f4\u597d\u3002\u4f46\u4e16\u4e0a\u6ca1\u6709\u514d\u8d39\u7684\u5348\u9910\uff0cNoSQL \u65b9\u6848\u5e26\u6765\u7684\u4f18\u52bf\uff0c\u672c\u8d28\u4e0a\u662f\u727a\u7272 ACID \u4e2d\u7684\u67d0\u4e2a\u6216\u8005\u67d0\u51e0\u4e2a\u7279\u6027\uff0c\u56e0\u6b64\u6211\u4eec\u4e0d\u80fd\u76f2\u76ee\u5730\u8ff7\u4fe1 NoSQL \u662f\u94f6\u5f39\uff0c\u800c\u5e94\u8be5\u5c06 NoSQL \u4f5c\u4e3a SQL \u7684\u4e00\u4e2a\u6709\u529b\u8865\u5145\uff0cNoSQL != No SQL\uff0c\u800c\u662f NoSQL = Not Only SQL\u3002"),(0,a.yg)("p",null,"\u5e38\u89c1\u7684 NoSQL \u65b9\u6848\u5206\u4e3a 4 \u7c7b\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"K-V \u5b58\u50a8\uff1a\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93\u65e0\u6cd5\u5b58\u50a8\u6570\u636e\u7ed3\u6784\u7684\u95ee\u9898\uff0c\u4ee5 Redis \u4e3a\u4ee3\u8868\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6587\u6863\u6570\u636e\u5e93\uff1a\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93\u5f3a schema \u7ea6\u675f\u7684\u95ee\u9898\uff0c\u4ee5 MongoDB \u4e3a\u4ee3\u8868\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5217\u5f0f\u6570\u636e\u5e93\uff1a\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93\u5927\u6570\u636e\u573a\u666f\u4e0b\u7684 I/O \u95ee\u9898\uff0c\u4ee5 HBase \u4e3a\u4ee3\u8868\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5168\u6587\u641c\u7d22\u5f15\u64ce\uff1a\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93\u7684\u5168\u6587\u641c\u7d22\u6027\u80fd\u95ee\u9898\uff0c\u4ee5 Elasticsearch \u4e3a\u4ee3\u8868\u3002")))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2923],{15680:(e,t,r)=>{r.d(t,{xA:()=>y,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},y=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},c="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,y=i(e,["components","mdxType","originalType","parentName"]),c=p(r),d=a,m=c["".concat(u,".").concat(d)]||c[d]||s[d]||l;return r?n.createElement(m,o(o({ref:t},y),{},{components:r})):n.createElement(m,o({ref:t},y))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,o=new Array(l);o[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[c]="string"==typeof e?e:a,o[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>s,frontMatter:()=>l,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const l={sidebar_position:2},o=void 0,i={unversionedId:"study/db/\u7efc\u5408",id:"study/db/\u7efc\u5408",title:"\u7efc\u5408",description:"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b",source:"@site/docs/study/db/\u7efc\u5408.md",sourceDirName:"study/db",slug:"/study/db/\u7efc\u5408",permalink:"/docs/study/db/\u7efc\u5408",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/db/"},next:{title:"TiDB",permalink:"/docs/study/db/NewSQL/TiDB"}},u={},p=[{value:"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b",id:"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b",level:3},{value:"NOSQL\u51fa\u73b0\u7684\u5386\u53f2\u539f\u56e0",id:"nosql\u51fa\u73b0\u7684\u5386\u53f2\u539f\u56e0",level:3}],y={toc:p},c="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(c,(0,n.A)({},y,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b"},"\u8f6f\u4ef6\u7cfb\u7edf\u6839\u636e\u5b58\u50a8\u7ed3\u6784\u7684\u5206\u7c7b"),(0,a.yg)("p",null,"\u5173\u4e8eNoSQL\uff0c\u770b\u8fc7\u4e00\u5f20\u56fe\uff0c\u633a\u5f62\u8c61\uff1a\u201c1970\uff0cWe have no SQL\u201d->\u201c1980\uff0cKnow SQL\u201d->\u201c2000\uff0cNoSQL\u201d->\u201c2005\uff0cNot only SQL\u201d->\u201c2015\uff0cNo\uff0cSQL\u201d\u3002\u76ee\u524d\uff0c\u4e00\u4e9b\u65b0\u578b\u6570\u636e\u5e93\uff0c\u540c\u65f6\u5177\u5907\u4e86NoSQL\u7684\u6269\u5c55\u6027\u548c\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u5f88\u591a\u7279\u6027\u3002 "),(0,a.yg)("p",null,"\u5173\u7cfb\u578b\u548cNoSQL\u6570\u636e\u5e93\u7684\u9009\u578b\u3002\u8003\u8651\u51e0\u4e2a\u6307\u6807\uff0c\u6570\u636e\u91cf\u3001\u5e76\u53d1\u91cf\u3001\u5b9e\u65f6\u6027\u3001\u4e00\u81f4\u6027\u8981\u6c42\u3001\u8bfb\u5199\u5206\u5e03\u548c\u7c7b\u578b\u3001\u5b89\u5168\u6027\u3001\u8fd0\u7ef4\u6027\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u6307\u6807\uff0c\u8f6f\u4ef6\u7cfb\u7edf\u53ef\u5206\u6210\u51e0\u7c7b\u3002 "),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"\u7ba1\u7406\u578b\u7cfb\u7edf\uff0c\u5982\u8fd0\u8425\u7c7b\u7cfb\u7edf\uff0c\u9996\u9009\u5173\u7cfb\u578b\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u5927\u6d41\u91cf\u7cfb\u7edf\uff0c\u5982\u7535\u5546\u5355\u54c1\u9875\u7684\u67d0\u4e2a\u670d\u52a1\uff0c\u540e\u53f0\u9009\u5173\u7cfb\u578b\uff0c\u524d\u53f0\u9009\u5185\u5b58\u578b\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u65e5\u5fd7\u578b\u7cfb\u7edf\uff0c\u539f\u59cb\u6570\u636e\u9009\u5217\u5f0f\uff0c\u65e5\u5fd7\u641c\u7d22\u9009\u5012\u6392\u7d22\u5f15\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u641c\u7d22\u578b\u7cfb\u7edf\uff0c\u6307\u7ad9\u5185\u641c\u7d22\uff0c\u975e\u901a\u7528\u641c\u7d22\uff0c\u5982\u5546\u54c1\u641c\u7d22\uff0c\u540e\u53f0\u9009\u5173\u7cfb\u578b\uff0c\u524d\u53f0\u9009\u5012\u6392\u7d22\u5f15\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u4e8b\u52a1\u578b\u7cfb\u7edf\uff0c\u5982\u5e93\u5b58\u3001\u4ea4\u6613\u3001\u8bb0\u8d26\uff0c\u9009\u5173\u7cfb\u578b+\u7f13\u5b58+\u4e00\u81f4\u6027\u534f\u8bae\uff0c\u6216\u65b0\u578b\u5173\u7cfb\u6570\u636e\u5e93\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u79bb\u7ebf\u8ba1\u7b97\uff0c\u5982\u5927\u91cf\u6570\u636e\u5206\u6790\uff0c\u9996\u9009\u5217\u5f0f\uff0c\u5173\u7cfb\u578b\u4e5f\u53ef\u4ee5\u3002 "),(0,a.yg)("li",{parentName:"ol"},"\u5b9e\u65f6\u8ba1\u7b97\uff0c\u5982\u5b9e\u65f6\u76d1\u63a7\uff0c\u53ef\u4ee5\u9009\u65f6\u5e8f\u6570\u636e\u5e93\uff0c\u6216\u5217\u5f0f\u6570\u636e\u5e93\u3002")),(0,a.yg)("h3",{id:"nosql\u51fa\u73b0\u7684\u5386\u53f2\u539f\u56e0"},"NOSQL\u51fa\u73b0\u7684\u5386\u53f2\u539f\u56e0"),(0,a.yg)("p",null,"\u5173\u7cfb\u6570\u636e\u5e93\u7ecf\u8fc7\u51e0\u5341\u5e74\u7684\u53d1\u5c55\u540e\u5df2\u7ecf\u975e\u5e38\u6210\u719f\uff0c\u5f3a\u5927\u7684 SQL \u529f\u80fd\u548c ACID \u7684\u5c5e\u6027\uff0c\u4f7f\u5f97\u5173\u7cfb\u6570\u636e\u5e93\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u5f0f\u5404\u6837\u7684\u7cfb\u7edf\u4e2d\uff0c\u4f46\u8fd9\u5e76\u4e0d\u610f\u5473\u7740\u5173\u7cfb\u6570\u636e\u5e93\u662f\u5b8c\u7f8e\u7684\uff0c\u5173\u7cfb\u6570\u636e\u5e93\u5b58\u5728\u5982\u4e0b\u7f3a\u70b9\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u5b58\u50a8\u7684\u662f\u884c\u8bb0\u5f55\uff0c\u65e0\u6cd5\u5b58\u50a8\u6570\u636e\u7ed3\u6784",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u4ee5\u5fae\u535a\u7684\u5173\u6ce8\u5173\u7cfb\u4e3a\u4f8b\uff0c\u201c\u6211\u5173\u6ce8\u7684\u4eba\u201d\u662f\u4e00\u4e2a\u7528\u6237 ID \u5217\u8868\uff0c\u4f7f\u7528\u5173\u7cfb\u6570\u636e\u5e93\u5b58\u50a8\u53ea\u80fd\u5c06\u5217\u8868\u62c6\u6210\u591a\u884c\uff0c\u7136\u540e\u518d\u67e5\u8be2\u51fa\u6765\u7ec4\u88c5\uff0c\u65e0\u6cd5\u76f4\u63a5\u5b58\u50a8\u4e00\u4e2a\u5217\u8868\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u7684 schema \u6269\u5c55\u5f88\u4e0d\u65b9\u4fbf",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u7684\u8868\u7ed3\u6784 schema \u662f\u5f3a\u7ea6\u675f\uff0c\u64cd\u4f5c\u4e0d\u5b58\u5728\u7684\u5217\u4f1a\u62a5\u9519\uff0c\u4e1a\u52a1\u53d8\u5316\u65f6\u6269\u5145\u5217\u4e5f\u6bd4\u8f83\u9ebb\u70e6\uff0c\u9700\u8981\u6267\u884c DDL\uff08data definition language\uff0c\u5982 CREATE\u3001ALTER\u3001DROP \u7b49\uff09\u8bed\u53e5\u4fee\u6539\uff0c\u800c\u4e14\u4fee\u6539\u65f6\u53ef\u80fd\u4f1a\u957f\u65f6\u95f4\u9501\u8868\uff08\u4f8b\u5982\uff0cMySQL \u53ef\u80fd\u5c06\u8868\u9501\u4f4f 1 \u4e2a\u5c0f\u65f6\uff09\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u5728\u5927\u6570\u636e\u573a\u666f\u4e0b I/O \u8f83\u9ad8",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5982\u679c\u5bf9\u4e00\u4e9b\u5927\u91cf\u6570\u636e\u7684\u8868\u8fdb\u884c\u7edf\u8ba1\u4e4b\u7c7b\u7684\u8fd0\u7b97\uff0c\u5173\u7cfb\u6570\u636e\u5e93\u7684 I/O \u4f1a\u5f88\u9ad8\uff0c\u56e0\u4e3a\u5373\u4f7f\u53ea\u9488\u5bf9\u5176\u4e2d\u67d0\u4e00\u5217\u8fdb\u884c\u8fd0\u7b97\uff0c\u5173\u7cfb\u6570\u636e\u5e93\u4e5f\u4f1a\u5c06\u6574\u884c\u6570\u636e\u4ece\u5b58\u50a8\u8bbe\u5907\u8bfb\u5165\u5185\u5b58\u3002"))),(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u7684\u5168\u6587\u641c\u7d22\u529f\u80fd\u6bd4\u8f83\u5f31",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93\u7684\u5168\u6587\u641c\u7d22\u53ea\u80fd\u4f7f\u7528 like \u8fdb\u884c\u6574\u8868\u626b\u63cf\u5339\u914d\uff0c\u6027\u80fd\u975e\u5e38\u4f4e\uff0c\u5728\u4e92\u8054\u7f51\u8fd9\u79cd\u641c\u7d22\u590d\u6742\u7684\u573a\u666f\u4e0b\u65e0\u6cd5\u6ee1\u8db3\u4e1a\u52a1\u8981\u6c42\u3002")))),(0,a.yg)("p",null,"\u9488\u5bf9\u4e0a\u8ff0\u95ee\u9898\uff0c\u5206\u522b\u8bde\u751f\u4e86\u4e0d\u540c\u7684 NoSQL \u89e3\u51b3\u65b9\u6848\uff0c\u8fd9\u4e9b\u65b9\u6848\u4e0e\u5173\u7cfb\u6570\u636e\u5e93\u76f8\u6bd4\uff0c\u5728\u67d0\u4e9b\u5e94\u7528\u573a\u666f\u4e0b\u8868\u73b0\u66f4\u597d\u3002\u4f46\u4e16\u4e0a\u6ca1\u6709\u514d\u8d39\u7684\u5348\u9910\uff0cNoSQL \u65b9\u6848\u5e26\u6765\u7684\u4f18\u52bf\uff0c\u672c\u8d28\u4e0a\u662f\u727a\u7272 ACID \u4e2d\u7684\u67d0\u4e2a\u6216\u8005\u67d0\u51e0\u4e2a\u7279\u6027\uff0c\u56e0\u6b64\u6211\u4eec\u4e0d\u80fd\u76f2\u76ee\u5730\u8ff7\u4fe1 NoSQL \u662f\u94f6\u5f39\uff0c\u800c\u5e94\u8be5\u5c06 NoSQL \u4f5c\u4e3a SQL \u7684\u4e00\u4e2a\u6709\u529b\u8865\u5145\uff0cNoSQL != No SQL\uff0c\u800c\u662f NoSQL = Not Only SQL\u3002"),(0,a.yg)("p",null,"\u5e38\u89c1\u7684 NoSQL \u65b9\u6848\u5206\u4e3a 4 \u7c7b\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"K-V \u5b58\u50a8\uff1a\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93\u65e0\u6cd5\u5b58\u50a8\u6570\u636e\u7ed3\u6784\u7684\u95ee\u9898\uff0c\u4ee5 Redis \u4e3a\u4ee3\u8868\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6587\u6863\u6570\u636e\u5e93\uff1a\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93\u5f3a schema \u7ea6\u675f\u7684\u95ee\u9898\uff0c\u4ee5 MongoDB \u4e3a\u4ee3\u8868\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5217\u5f0f\u6570\u636e\u5e93\uff1a\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93\u5927\u6570\u636e\u573a\u666f\u4e0b\u7684 I/O \u95ee\u9898\uff0c\u4ee5 HBase \u4e3a\u4ee3\u8868\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5168\u6587\u641c\u7d22\u5f15\u64ce\uff1a\u89e3\u51b3\u5173\u7cfb\u6570\u636e\u5e93\u7684\u5168\u6587\u641c\u7d22\u6027\u80fd\u95ee\u9898\uff0c\u4ee5 Elasticsearch \u4e3a\u4ee3\u8868\u3002")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c9298fde.806140ba.js b/assets/js/c9298fde.100735c8.js similarity index 98% rename from assets/js/c9298fde.806140ba.js rename to assets/js/c9298fde.100735c8.js index c87bf029f..06ebe5888 100644 --- a/assets/js/c9298fde.806140ba.js +++ b/assets/js/c9298fde.100735c8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4423],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=p(r),f=a,y=d["".concat(c,".").concat(f)]||d[f]||s[f]||o;return r?n.createElement(y,l(l({ref:t},u),{},{components:r})):n.createElement(y,l({ref:t},u))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=f;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[d]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/back/POST\u7f16\u7801\u683c\u5f0f",id:"study/back/POST\u7f16\u7801\u683c\u5f0f",title:"POST\u7f16\u7801\u683c\u5f0f",description:"\u6982\u8ff0",source:"@site/docs/study/back/POST\u7f16\u7801\u683c\u5f0f.md",sourceDirName:"study/back",slug:"/study/back/POST\u7f16\u7801\u683c\u5f0f",permalink:"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Keepalived",permalink:"/docs/study/back/Keepalived"},next:{title:"WSL",permalink:"/docs/study/back/WSL"}},c={},p=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3},{value:"application/x-www-form-urlencoded",id:"applicationx-www-form-urlencoded",level:3},{value:"multipart/form-data",id:"multipartform-data",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u8868\u5355\u6709\u4e00\u4e2a\u53eb enctype \u7684\u5c5e\u6027, \u5b83\u6709\u4e24\u4e2a\u503c, application/x-www-form-urlencoded \u548c multipart/form-data."),(0,a.yg)("p",null,"\u8fd9\u4e00\u5c5e\u6027\u5b9e\u9645\u53ea\u5bf9 post \u65b9\u5f0f\u8d77\u4f5c\u7528, \u56e0\u4e3a get \u65b9\u5f0f\u5b9e\u9645\u53ea\u652f\u6301\u524d\u4e00\u79cd\u7c7b\u578b, \u4e5f\u5c31\u662f application/x-www-form-urlencoded, \u8fd9\u662f\u7f3a\u7701\u7684\u7c7b\u578b."),(0,a.yg)("p",null,"\u5728\u4f7f\u7528 post \u65b9\u5f0f\u63d0\u4ea4\u65f6, \u7f3a\u7701\u7684\u7f16\u7801\u7c7b\u578b\u4e5f\u4f9d\u7136\u662f\u8fd9\u4e2a application/x-www-form-urlencoded."),(0,a.yg)("h3",{id:"applicationx-www-form-urlencoded"},"application/x-www-form-urlencoded"),(0,a.yg)("p",null,"\u6d4f\u89c8\u5668\u9ed8\u8ba4\u7684\u7f16\u7801\u683c\u5f0f\uff0c\u7528\u4e8e\u952e\u503c\u5bf9\u53c2\u6570\uff0c\u53c2\u6570\u4e4b\u95f4\u7528&\u95f4\u9694\uff1b"),(0,a.yg)("h3",{id:"multipartform-data"},"multipart/form-data"),(0,a.yg)("p",null,"\u5e38\u7528\u4e8e\u6587\u4ef6\u7b49\u4e8c\u8fdb\u5236\uff0c\u4e5f\u53ef\u7528\u4e8e\u952e\u503c\u5bf9\u53c2\u6570\uff0c\u6700\u540e\u8fde\u63a5\u6210\u4e00\u4e32\u5b57\u7b26\u4f20\u8f93"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_45796667/article/details/125239247"},"Content-Type\u5e38\u89c1\u7684\u4e24\u79cd\u683c\u5f0f\uff1aapplication/x-www-form-urlencoded\u548cmultipart/form-data\u8be6\u89e3"))))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4423],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=p(r),f=a,y=d["".concat(c,".").concat(f)]||d[f]||s[f]||o;return r?n.createElement(y,l(l({ref:t},u),{},{components:r})):n.createElement(y,l({ref:t},u))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=f;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[d]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>l,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/back/POST\u7f16\u7801\u683c\u5f0f",id:"study/back/POST\u7f16\u7801\u683c\u5f0f",title:"POST\u7f16\u7801\u683c\u5f0f",description:"\u6982\u8ff0",source:"@site/docs/study/back/POST\u7f16\u7801\u683c\u5f0f.md",sourceDirName:"study/back",slug:"/study/back/POST\u7f16\u7801\u683c\u5f0f",permalink:"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Keepalived",permalink:"/docs/study/back/Keepalived"},next:{title:"WSL",permalink:"/docs/study/back/WSL"}},c={},p=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3},{value:"application/x-www-form-urlencoded",id:"applicationx-www-form-urlencoded",level:3},{value:"multipart/form-data",id:"multipartform-data",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},d="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u8868\u5355\u6709\u4e00\u4e2a\u53eb enctype \u7684\u5c5e\u6027, \u5b83\u6709\u4e24\u4e2a\u503c, application/x-www-form-urlencoded \u548c multipart/form-data."),(0,a.yg)("p",null,"\u8fd9\u4e00\u5c5e\u6027\u5b9e\u9645\u53ea\u5bf9 post \u65b9\u5f0f\u8d77\u4f5c\u7528, \u56e0\u4e3a get \u65b9\u5f0f\u5b9e\u9645\u53ea\u652f\u6301\u524d\u4e00\u79cd\u7c7b\u578b, \u4e5f\u5c31\u662f application/x-www-form-urlencoded, \u8fd9\u662f\u7f3a\u7701\u7684\u7c7b\u578b."),(0,a.yg)("p",null,"\u5728\u4f7f\u7528 post \u65b9\u5f0f\u63d0\u4ea4\u65f6, \u7f3a\u7701\u7684\u7f16\u7801\u7c7b\u578b\u4e5f\u4f9d\u7136\u662f\u8fd9\u4e2a application/x-www-form-urlencoded."),(0,a.yg)("h3",{id:"applicationx-www-form-urlencoded"},"application/x-www-form-urlencoded"),(0,a.yg)("p",null,"\u6d4f\u89c8\u5668\u9ed8\u8ba4\u7684\u7f16\u7801\u683c\u5f0f\uff0c\u7528\u4e8e\u952e\u503c\u5bf9\u53c2\u6570\uff0c\u53c2\u6570\u4e4b\u95f4\u7528&\u95f4\u9694\uff1b"),(0,a.yg)("h3",{id:"multipartform-data"},"multipart/form-data"),(0,a.yg)("p",null,"\u5e38\u7528\u4e8e\u6587\u4ef6\u7b49\u4e8c\u8fdb\u5236\uff0c\u4e5f\u53ef\u7528\u4e8e\u952e\u503c\u5bf9\u53c2\u6570\uff0c\u6700\u540e\u8fde\u63a5\u6210\u4e00\u4e32\u5b57\u7b26\u4f20\u8f93"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_45796667/article/details/125239247"},"Content-Type\u5e38\u89c1\u7684\u4e24\u79cd\u683c\u5f0f\uff1aapplication/x-www-form-urlencoded\u548cmultipart/form-data\u8be6\u89e3"))))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c99ad496.e373e9ba.js b/assets/js/c99ad496.de4ddeea.js similarity index 99% rename from assets/js/c99ad496.e373e9ba.js rename to assets/js/c99ad496.de4ddeea.js index 879c5306b..99ff80695 100644 --- a/assets/js/c99ad496.e373e9ba.js +++ b/assets/js/c99ad496.de4ddeea.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3088],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),c=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(s.Provider,{value:t},e.children)},g="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),g=c(n),d=a,y=g["".concat(s,".").concat(d)]||g[d]||u[d]||o;return n?r.createElement(y,l(l({ref:t},p),{},{components:n})):r.createElement(y,l({ref:t},p))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=d;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[g]="string"==typeof e?e:a,l[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const o={},l="JDK17",i={unversionedId:"study/program/JAVA/JDK17",id:"study/program/JAVA/JDK17",title:"JDK17",description:"\u9650\u5236\u7c7b\u7ee7\u627f sealed \u7c7b",source:"@site/docs/study/program/JAVA/JDK17.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JDK17",permalink:"/docs/study/program/JAVA/JDK17",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JDK17-bin",permalink:"/docs/study/program/JAVA/JDK17-bin"},next:{title:"JDK21",permalink:"/docs/study/program/JAVA/JDK21"}},s={},c=[{value:"\u9650\u5236\u7c7b\u7ee7\u627f sealed \u7c7b",id:"\u9650\u5236\u7c7b\u7ee7\u627f-sealed-\u7c7b",level:3},{value:"Pattern Matching for Switch \u8bed\u6cd5",id:"pattern-matching-for-switch-\u8bed\u6cd5",level:3},{value:"Record \u7c7b",id:"record-\u7c7b",level:3},{value:"\u589e\u5f3a\u7684 Java \u96c6\u5408\u5e93",id:"\u589e\u5f3a\u7684-java-\u96c6\u5408\u5e93",level:3},{value:"of() \u65b9\u6cd5\uff1a\u521b\u5efa\u4e00\u4e2a\u4e0d\u53ef\u53d8\u7684\u96c6\u5408",id:"of-\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u4e0d\u53ef\u53d8\u7684\u96c6\u5408",level:4},{value:"forEach() \u65b9\u6cd5\uff1a\u904d\u5386\u96c6\u5408",id:"foreach-\u65b9\u6cd5\u904d\u5386\u96c6\u5408",level:4},{value:"Collectors \u7c7b\uff1a\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u5f52\u7ea6\u64cd\u4f5c",id:"collectors-\u7c7b\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u5f52\u7ea6\u64cd\u4f5c",level:4},{value:"takeWhile() \u65b9\u6cd5\u548c dropWhile() \u65b9\u6cd5\uff1a\u6839\u636e\u6761\u4ef6\u622a\u53d6\u96c6\u5408",id:"takewhile-\u65b9\u6cd5\u548c-dropwhile-\u65b9\u6cd5\u6839\u636e\u6761\u4ef6\u622a\u53d6\u96c6\u5408",level:4},{value:"toArray(IntFunction<T[]>) \u65b9\u6cd5\uff1a\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u6240\u6709\u5143\u7d20\u5230\u4e00\u4e2a\u65b0\u6570\u7ec4\u4e2d",id:"toarrayintfunctiont-\u65b9\u6cd5\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u6240\u6709\u5143\u7d20\u5230\u4e00\u4e2a\u65b0\u6570\u7ec4\u4e2d",level:4}],p={toc:c},g="wrapper";function u(e){let{components:t,...n}=e;return(0,a.yg)(g,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"jdk17"},"JDK17"),(0,a.yg)("h3",{id:"\u9650\u5236\u7c7b\u7ee7\u627f-sealed-\u7c7b"},"\u9650\u5236\u7c7b\u7ee7\u627f sealed \u7c7b"),(0,a.yg)("p",null,"Sealed \u7c7b\u662f\u4e00\u79cd\u65b0\u7684\u7c7b\u4fee\u9970\u7b26\uff0c\u7528\u4e8e\u9650\u5236\u7c7b\u7684\u7ee7\u627f\u3002Sealed \u7c7b\u53ef\u4ee5\u63a7\u5236\u54ea\u4e9b\u7c7b\u53ef\u4ee5\u7ee7\u627f\u81ea\u5b83\uff0c\u8fd9\u6837\u53ef\u4ee5\u4f7f\u5f97\u4ee3\u7801\u66f4\u52a0\u5b89\u5168\u3001\u53ef\u7ef4\u62a4\u3002Sealed \u7c7b\u7684\u4f7f\u7528\u53ef\u4ee5\u5728\u7f16\u8bd1\u65f6\u5f3a\u5236\u6267\u884c\u4e00\u4e9b\u89c4\u5219\uff0c\u4ece\u800c\u907f\u514d\u8fd0\u884c\u65f6\u9519\u8bef\u3002"),(0,a.yg)("h3",{id:"pattern-matching-for-switch-\u8bed\u6cd5"},"Pattern Matching for Switch \u8bed\u6cd5"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'public static void main(String[] args) {\n Object obj = "hello";\n\n switch (obj) {\n case String s && s.length() > 5 -> System.out.println("\u957f\u5b57\u7b26\u4e32");\n case String s -> System.out.println("\u77ed\u5b57\u7b26\u4e32");\n case Integer i -> System.out.println("\u6574\u578b\u6570");\n default -> System.out.println("\u4e0d\u652f\u6301\u7684\u7c7b\u578b");\n }\n}\n')),(0,a.yg)("h3",{id:"record-\u7c7b"},"Record \u7c7b"),(0,a.yg)("p",null,"Record \u7c7b\u662f\u4e00\u79cd\u65b0\u7684\u6570\u636e\u7c7b\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b9a\u4e49\u53ea\u6709\u5c5e\u6027\u548c\u8bbf\u95ee\u5668\u7684\u7b80\u5355\u6570\u636e\u5bf9\u8c61\u3002Record \u7c7b\u53ef\u4ee5\u7b80\u5316\u4ee3\u7801\uff0c\u4f7f\u5f97\u4ee3\u7801\u66f4\u52a0\u6613\u8bfb\u3001\u6613\u7ef4\u62a4\u3002Record \u7c7b\u7684\u4f7f\u7528\u53ef\u4ee5\u51cf\u5c11\u4ee3\u7801\u91cf\uff0c\u907f\u514d\u51fa\u73b0\u5927\u91cf\u7684 getter \u548c setter \u65b9\u6cd5\u3002"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'public record Person(String name, int age) {}\n\npublic class RecordExample {\n public static void main(String[] args) {\n Person person = new Person("John", 30);\n\n System.out.println("Name: " + person.name());\n System.out.println("Age: " + person.age());\n }\n}\n')),(0,a.yg)("p",null,"\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a Person \u7684 Record \u7c7b\uff0c\u5b83\u6709\u4e24\u4e2a\u5b57\u6bb5\uff1aname \u548c age\u3002Record \u7c7b\u4f1a\u81ea\u52a8\u751f\u6210\u4e00\u4e2a\u5e26\u6709\u8fd9\u4e9b\u5b57\u6bb5\u7684\u6784\u9020\u51fd\u6570\u3001getter \u65b9\u6cd5\u548c equals\u3001hashCode \u548c toString \u65b9\u6cd5\u3002"),(0,a.yg)("h3",{id:"\u589e\u5f3a\u7684-java-\u96c6\u5408\u5e93"},"\u589e\u5f3a\u7684 Java \u96c6\u5408\u5e93"),(0,a.yg)("h4",{id:"of-\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u4e0d\u53ef\u53d8\u7684\u96c6\u5408"},"of() \u65b9\u6cd5\uff1a\u521b\u5efa\u4e00\u4e2a\u4e0d\u53ef\u53d8\u7684\u96c6\u5408"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'List list = List.of("apple", "banana", "orange");\nSet set = Set.of(1, 2, 3, 4);\nMap map = Map.of("apple", 1, "banana", 2, "orange", 3);\n')),(0,a.yg)("h4",{id:"foreach-\u65b9\u6cd5\u904d\u5386\u96c6\u5408"},"forEach() \u65b9\u6cd5\uff1a\u904d\u5386\u96c6\u5408"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'List list = List.of("apple", "banana", "orange");\nlist.forEach(name -> System.out.println(name));\nSet set = Set.of(1, 2, 3, 4);\nset.forEach(number -> System.out.println(number));\n')),(0,a.yg)("h4",{id:"collectors-\u7c7b\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u5f52\u7ea6\u64cd\u4f5c"},"Collectors \u7c7b\uff1a\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u5f52\u7ea6\u64cd\u4f5c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'List list = List.of("apple", "banana", "orange");\nString joinedString = list.stream().collect(Collectors.joining("-", "[", "]"));\nSystem.out.println(joinedString);\n\nMap map = Map.of("apple", 1, "banana", 2, "orange", 3);\nMap reversedMap = map.entrySet().stream().collect(Collectors.toMap(Map.Entry::getValue, Map.Entry::getKey));\nSystem.out.println(reversedMap);\n')),(0,a.yg)("h4",{id:"takewhile-\u65b9\u6cd5\u548c-dropwhile-\u65b9\u6cd5\u6839\u636e\u6761\u4ef6\u622a\u53d6\u96c6\u5408"},"takeWhile() \u65b9\u6cd5\u548c dropWhile() \u65b9\u6cd5\uff1a\u6839\u636e\u6761\u4ef6\u622a\u53d6\u96c6\u5408"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"List list = List.of(1, 2, 3, 4, 5, 6, 7);\nList takenList = list.stream().takeWhile(number -> number < 5).collect(Collectors.toList());\nSystem.out.println(takenList);\n\nList dropedList = list.stream().dropWhile(number -> number < 5).collect(Collectors.toList());\nSystem.out.println(dropedList);\n")),(0,a.yg)("h4",{id:"toarrayintfunctiont-\u65b9\u6cd5\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u6240\u6709\u5143\u7d20\u5230\u4e00\u4e2a\u65b0\u6570\u7ec4\u4e2d"},"toArray(IntFunction) \u65b9\u6cd5\uff1a\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u6240\u6709\u5143\u7d20\u5230\u4e00\u4e2a\u65b0\u6570\u7ec4\u4e2d"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'List list = List.of("apple", "banana", "orange");\nString[] array = list.toArray(String[]::new);\nSystem.out.println(Arrays.toString(array));\n')))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3088],{15680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>y});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),c=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=c(e.components);return r.createElement(s.Provider,{value:t},e.children)},g="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),g=c(n),d=a,y=g["".concat(s,".").concat(d)]||g[d]||u[d]||o;return n?r.createElement(y,l(l({ref:t},p),{},{components:n})):r.createElement(y,l({ref:t},p))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=d;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[g]="string"==typeof e?e:a,l[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const o={},l="JDK17",i={unversionedId:"study/program/JAVA/JDK17",id:"study/program/JAVA/JDK17",title:"JDK17",description:"\u9650\u5236\u7c7b\u7ee7\u627f sealed \u7c7b",source:"@site/docs/study/program/JAVA/JDK17.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JDK17",permalink:"/docs/study/program/JAVA/JDK17",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JDK17-bin",permalink:"/docs/study/program/JAVA/JDK17-bin"},next:{title:"JDK21",permalink:"/docs/study/program/JAVA/JDK21"}},s={},c=[{value:"\u9650\u5236\u7c7b\u7ee7\u627f sealed \u7c7b",id:"\u9650\u5236\u7c7b\u7ee7\u627f-sealed-\u7c7b",level:3},{value:"Pattern Matching for Switch \u8bed\u6cd5",id:"pattern-matching-for-switch-\u8bed\u6cd5",level:3},{value:"Record \u7c7b",id:"record-\u7c7b",level:3},{value:"\u589e\u5f3a\u7684 Java \u96c6\u5408\u5e93",id:"\u589e\u5f3a\u7684-java-\u96c6\u5408\u5e93",level:3},{value:"of() \u65b9\u6cd5\uff1a\u521b\u5efa\u4e00\u4e2a\u4e0d\u53ef\u53d8\u7684\u96c6\u5408",id:"of-\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u4e0d\u53ef\u53d8\u7684\u96c6\u5408",level:4},{value:"forEach() \u65b9\u6cd5\uff1a\u904d\u5386\u96c6\u5408",id:"foreach-\u65b9\u6cd5\u904d\u5386\u96c6\u5408",level:4},{value:"Collectors \u7c7b\uff1a\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u5f52\u7ea6\u64cd\u4f5c",id:"collectors-\u7c7b\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u5f52\u7ea6\u64cd\u4f5c",level:4},{value:"takeWhile() \u65b9\u6cd5\u548c dropWhile() \u65b9\u6cd5\uff1a\u6839\u636e\u6761\u4ef6\u622a\u53d6\u96c6\u5408",id:"takewhile-\u65b9\u6cd5\u548c-dropwhile-\u65b9\u6cd5\u6839\u636e\u6761\u4ef6\u622a\u53d6\u96c6\u5408",level:4},{value:"toArray(IntFunction<T[]>) \u65b9\u6cd5\uff1a\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u6240\u6709\u5143\u7d20\u5230\u4e00\u4e2a\u65b0\u6570\u7ec4\u4e2d",id:"toarrayintfunctiont-\u65b9\u6cd5\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u6240\u6709\u5143\u7d20\u5230\u4e00\u4e2a\u65b0\u6570\u7ec4\u4e2d",level:4}],p={toc:c},g="wrapper";function u(e){let{components:t,...n}=e;return(0,a.yg)(g,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"jdk17"},"JDK17"),(0,a.yg)("h3",{id:"\u9650\u5236\u7c7b\u7ee7\u627f-sealed-\u7c7b"},"\u9650\u5236\u7c7b\u7ee7\u627f sealed \u7c7b"),(0,a.yg)("p",null,"Sealed \u7c7b\u662f\u4e00\u79cd\u65b0\u7684\u7c7b\u4fee\u9970\u7b26\uff0c\u7528\u4e8e\u9650\u5236\u7c7b\u7684\u7ee7\u627f\u3002Sealed \u7c7b\u53ef\u4ee5\u63a7\u5236\u54ea\u4e9b\u7c7b\u53ef\u4ee5\u7ee7\u627f\u81ea\u5b83\uff0c\u8fd9\u6837\u53ef\u4ee5\u4f7f\u5f97\u4ee3\u7801\u66f4\u52a0\u5b89\u5168\u3001\u53ef\u7ef4\u62a4\u3002Sealed \u7c7b\u7684\u4f7f\u7528\u53ef\u4ee5\u5728\u7f16\u8bd1\u65f6\u5f3a\u5236\u6267\u884c\u4e00\u4e9b\u89c4\u5219\uff0c\u4ece\u800c\u907f\u514d\u8fd0\u884c\u65f6\u9519\u8bef\u3002"),(0,a.yg)("h3",{id:"pattern-matching-for-switch-\u8bed\u6cd5"},"Pattern Matching for Switch \u8bed\u6cd5"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'public static void main(String[] args) {\n Object obj = "hello";\n\n switch (obj) {\n case String s && s.length() > 5 -> System.out.println("\u957f\u5b57\u7b26\u4e32");\n case String s -> System.out.println("\u77ed\u5b57\u7b26\u4e32");\n case Integer i -> System.out.println("\u6574\u578b\u6570");\n default -> System.out.println("\u4e0d\u652f\u6301\u7684\u7c7b\u578b");\n }\n}\n')),(0,a.yg)("h3",{id:"record-\u7c7b"},"Record \u7c7b"),(0,a.yg)("p",null,"Record \u7c7b\u662f\u4e00\u79cd\u65b0\u7684\u6570\u636e\u7c7b\uff0c\u53ef\u4ee5\u7528\u4e8e\u5b9a\u4e49\u53ea\u6709\u5c5e\u6027\u548c\u8bbf\u95ee\u5668\u7684\u7b80\u5355\u6570\u636e\u5bf9\u8c61\u3002Record \u7c7b\u53ef\u4ee5\u7b80\u5316\u4ee3\u7801\uff0c\u4f7f\u5f97\u4ee3\u7801\u66f4\u52a0\u6613\u8bfb\u3001\u6613\u7ef4\u62a4\u3002Record \u7c7b\u7684\u4f7f\u7528\u53ef\u4ee5\u51cf\u5c11\u4ee3\u7801\u91cf\uff0c\u907f\u514d\u51fa\u73b0\u5927\u91cf\u7684 getter \u548c setter \u65b9\u6cd5\u3002"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'public record Person(String name, int age) {}\n\npublic class RecordExample {\n public static void main(String[] args) {\n Person person = new Person("John", 30);\n\n System.out.println("Name: " + person.name());\n System.out.println("Age: " + person.age());\n }\n}\n')),(0,a.yg)("p",null,"\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a Person \u7684 Record \u7c7b\uff0c\u5b83\u6709\u4e24\u4e2a\u5b57\u6bb5\uff1aname \u548c age\u3002Record \u7c7b\u4f1a\u81ea\u52a8\u751f\u6210\u4e00\u4e2a\u5e26\u6709\u8fd9\u4e9b\u5b57\u6bb5\u7684\u6784\u9020\u51fd\u6570\u3001getter \u65b9\u6cd5\u548c equals\u3001hashCode \u548c toString \u65b9\u6cd5\u3002"),(0,a.yg)("h3",{id:"\u589e\u5f3a\u7684-java-\u96c6\u5408\u5e93"},"\u589e\u5f3a\u7684 Java \u96c6\u5408\u5e93"),(0,a.yg)("h4",{id:"of-\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u4e0d\u53ef\u53d8\u7684\u96c6\u5408"},"of() \u65b9\u6cd5\uff1a\u521b\u5efa\u4e00\u4e2a\u4e0d\u53ef\u53d8\u7684\u96c6\u5408"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'List list = List.of("apple", "banana", "orange");\nSet set = Set.of(1, 2, 3, 4);\nMap map = Map.of("apple", 1, "banana", 2, "orange", 3);\n')),(0,a.yg)("h4",{id:"foreach-\u65b9\u6cd5\u904d\u5386\u96c6\u5408"},"forEach() \u65b9\u6cd5\uff1a\u904d\u5386\u96c6\u5408"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'List list = List.of("apple", "banana", "orange");\nlist.forEach(name -> System.out.println(name));\nSet set = Set.of(1, 2, 3, 4);\nset.forEach(number -> System.out.println(number));\n')),(0,a.yg)("h4",{id:"collectors-\u7c7b\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u5f52\u7ea6\u64cd\u4f5c"},"Collectors \u7c7b\uff1a\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u5f52\u7ea6\u64cd\u4f5c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'List list = List.of("apple", "banana", "orange");\nString joinedString = list.stream().collect(Collectors.joining("-", "[", "]"));\nSystem.out.println(joinedString);\n\nMap map = Map.of("apple", 1, "banana", 2, "orange", 3);\nMap reversedMap = map.entrySet().stream().collect(Collectors.toMap(Map.Entry::getValue, Map.Entry::getKey));\nSystem.out.println(reversedMap);\n')),(0,a.yg)("h4",{id:"takewhile-\u65b9\u6cd5\u548c-dropwhile-\u65b9\u6cd5\u6839\u636e\u6761\u4ef6\u622a\u53d6\u96c6\u5408"},"takeWhile() \u65b9\u6cd5\u548c dropWhile() \u65b9\u6cd5\uff1a\u6839\u636e\u6761\u4ef6\u622a\u53d6\u96c6\u5408"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"List list = List.of(1, 2, 3, 4, 5, 6, 7);\nList takenList = list.stream().takeWhile(number -> number < 5).collect(Collectors.toList());\nSystem.out.println(takenList);\n\nList dropedList = list.stream().dropWhile(number -> number < 5).collect(Collectors.toList());\nSystem.out.println(dropedList);\n")),(0,a.yg)("h4",{id:"toarrayintfunctiont-\u65b9\u6cd5\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u6240\u6709\u5143\u7d20\u5230\u4e00\u4e2a\u65b0\u6570\u7ec4\u4e2d"},"toArray(IntFunction) \u65b9\u6cd5\uff1a\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u6240\u6709\u5143\u7d20\u5230\u4e00\u4e2a\u65b0\u6570\u7ec4\u4e2d"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},'List list = List.of("apple", "banana", "orange");\nString[] array = list.toArray(String[]::new);\nSystem.out.println(Arrays.toString(array));\n')))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/c9e57e8c.f86958bd.js b/assets/js/c9e57e8c.f8dadf15.js similarity index 99% rename from assets/js/c9e57e8c.f86958bd.js rename to assets/js/c9e57e8c.f8dadf15.js index 9d648bcfb..de450529d 100644 --- a/assets/js/c9e57e8c.f86958bd.js +++ b/assets/js/c9e57e8c.f8dadf15.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8194],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>g});var r=n(96540);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},y=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,y=o(e,["components","mdxType","originalType","parentName"]),u=c(n),d=i,g=u["".concat(p,".").concat(d)]||u[d]||s[d]||a;return n?r.createElement(g,l(l({ref:t},y),{},{components:n})):r.createElement(g,l({ref:t},y))}));function g(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,l=new Array(a);l[0]=d;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[u]="string"==typeof e?e:i,l[1]=o;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var r=n(58168),i=(n(96540),n(15680));const a={},l=void 0,o={unversionedId:"study/db/NewSQL/TiDB",id:"study/db/NewSQL/TiDB",title:"TiDB",description:"\u80cc\u666f",source:"@site/docs/study/db/NewSQL/TiDB.md",sourceDirName:"study/db/NewSQL",slug:"/study/db/NewSQL/TiDB",permalink:"/docs/study/db/NewSQL/TiDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7efc\u5408",permalink:"/docs/study/db/\u7efc\u5408"},next:{title:"Cassandra",permalink:"/docs/study/db/NoSQL/Cassandra"}},p={},c=[{value:"\u80cc\u666f",id:"\u80cc\u666f",level:3},{value:"\u66ff\u6362 MySQL Sharding(\u5206\u7247) \u4f5c\u4e3a\u4e3b\u751f\u4ea7\u6570\u636e\u5e93",id:"\u66ff\u6362-mysql-sharding\u5206\u7247-\u4f5c\u4e3a\u4e3b\u751f\u4ea7\u6570\u636e\u5e93",level:4},{value:"\u66ff\u6362 HBase/C*/ES \u7b49 NoSQL \u6570\u636e\u5e93",id:"\u66ff\u6362-hbaseces-\u7b49-nosql-\u6570\u636e\u5e93",level:4},{value:"\u4f7f\u7528 TiDB \u4f5c\u4e3a HTAP \u6570\u636e\u5e93\uff08\u5b9e\u65f6\u4e8b\u52a1+\u5b9e\u65f6\u5206\u6790\uff09",id:"\u4f7f\u7528-tidb-\u4f5c\u4e3a-htap-\u6570\u636e\u5e93\u5b9e\u65f6\u4e8b\u52a1\u5b9e\u65f6\u5206\u6790",level:4},{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u76ee\u524d\u72b6\u51b5(V3.0)",id:"\u76ee\u524d\u72b6\u51b5v30",level:3}],y={toc:c},u="wrapper";function s(e){let{components:t,...n}=e;return(0,i.yg)(u,(0,r.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("h3",{id:"\u80cc\u666f"},"\u80cc\u666f"),(0,i.yg)("h4",{id:"\u66ff\u6362-mysql-sharding\u5206\u7247-\u4f5c\u4e3a\u4e3b\u751f\u4ea7\u6570\u636e\u5e93"},"\u66ff\u6362 MySQL Sharding(\u5206\u7247) \u4f5c\u4e3a\u4e3b\u751f\u4ea7\u6570\u636e\u5e93"),(0,i.yg)("p",null,"\u8fd9\u4e2a\u573a\u666f\u5176\u5b9e\u662f TiDB \u8bbe\u8ba1\u7684\u521d\u8877\uff0c\u5728\u5355\u673a MySQL \u6570\u636e\u91cf\u592a\u5927\u540e\uff0c\u8fc7\u53bb\u80fd\u9009\u7684\u57fa\u672c\u5c31\u662f\u5206\u5e93\u5206\u8868\uff0c\u518d\u5206\u4e0d\u5f00\u7684\u8bdd\u5c31\u53ea\u80fd Sharding\uff0c\u4f46\u662f\u5206\u5e93\u5206\u8868\u3001Sharding\uff0c\u5176\u5b9e\u4e0d\u7ba1\u662f\u7ef4\u62a4\u6210\u672c\u548c\u5f00\u53d1\u6539\u9020\u6210\u672c\u90fd\u5f88\u9ad8\uff0c\u6240\u4ee5 TiDB \u7ed9\u8fd9\u4e9b\u7528\u6237\u63d0\u4f9b\u4e86\u4e00\u4e2a\u53ef\u4ee5\u5f39\u6027\u6269\u5c55\u7684\uff0c\u7528\u8d77\u6765\u5c31\u50cf\u5355\u673a MySQL \u4e00\u6837\u7684\uff0c\u652f\u6301\u4e8b\u52a1\u548c\u590d\u6742\u67e5\u8be2\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93\uff0c\u540c\u65f6\u8fd8\u652f\u6301\u591a\u526f\u672c\u81ea\u52a8\u7684\u9ad8\u53ef\u7528\uff0c\u5f53\u7136\u5f88\u723d\u3002"),(0,i.yg)("p",null,"\u8fd9\u90e8\u5206\u7528\u6237\u4e00\u822c\u4e00\u5f00\u59cb\u4e0a\u7ebf\u524d\u90fd\u4f1a\u7528 TiDB \u7684 ",(0,i.yg)("a",{parentName:"p",href:"https://link.zhihu.com/?target=https%3A//github.com/pingcap/docs-cn/blob/master/tools/syncer.md"},"Syncer"),"\uff0c \u5c06 TiDB \u96c6\u7fa4\u4f5c\u4e3a\u7ebf\u4e0a MySQL \u7684\u4ece\u5e93\uff0c\u5b9e\u65f6\u540c\u6b65\u7ebf\u4e0a\u7684 MySQL \u4e3b\u5e93\uff0c\u89c2\u5bdf\u4e00\u6bb5\u65f6\u95f4\u7a33\u5b9a\u6027\u517c\u5bb9\u6027\u3001\u8fdb\u884c\u538b\u529b\u6d4b\u8bd5\u540e\uff0c\u76f4\u63a5\u5c06\u7ebf\u4e0a\u5e93\u6307\u5411 TiDB\uff0c\u4e0d\u7528\u4fee\u6539\u4e00\u884c\u4ee3\u7801\u3002"),(0,i.yg)("h4",{id:"\u66ff\u6362-hbaseces-\u7b49-nosql-\u6570\u636e\u5e93"},"\u66ff\u6362 HBase/C*/ES \u7b49 NoSQL \u6570\u636e\u5e93"),(0,i.yg)("p",null,"\u8fd9\u7c7b\u7528\u6237\u4e3b\u8981\u662f\u8fc7\u53bb\u7528\u7740 NoSQL\uff0c\u5e0c\u671b\u5728\u62e5\u6709\u5f39\u6027\u4f38\u7f29\u80fd\u529b\uff0c\u53ef\u4ee5\u7ebf\u6027\u6269\u5c55\u7684\u5b9e\u65f6\u5e76\u53d1\u5199\u5165\u80fd\u529b\uff0c\u518d\u80fd\u62e5\u6709\u66f4\u5f3a\u5927\u7684\u67e5\u8be2\u80fd\u529b\uff0c\u6bd4\u5982\u4e8c\u7ea7\u7d22\u5f15\u70b9\u67e5\uff0c\u6bd4\u5982\u590d\u6742\u7684 Join \u652f\u6301\u3002\u5178\u578b\u7684\u5e94\u7528\u573a\u666f\u662f\u5ba2\u670d\u67e5\u8be2\uff0cUser profile \u7cfb\u7edf\u7b49\u7b49\u3002\n\u901a\u5e38\u8fd9\u7c7b\u7528\u6237\u7684\u6570\u636e\u91cf\u5de8\u5927\uff0c\u53ef\u80fd\u5355\u5e93\u90fd\u6709\u4e0a\u767e T\uff0cTiDB \u80fd\u5f88\u597d\u7684\u6ee1\u8db3\uff1a"),(0,i.yg)("ol",null,(0,i.yg)("li",{parentName:"ol"},"\u5927\u6d77\u635e\u9488\u5f0f\u7684\u7cbe\u51c6\u67e5\u8be2"),(0,i.yg)("li",{parentName:"ol"},"Ad-hoc \u5206\u6790")),(0,i.yg)("p",null,"\u8fd9\u4e00\u5207\u90fd\u662f\u5728\u4e0d\u727a\u7272\u5b9e\u65f6\u5199\u5165\u80fd\u529b\u7684\u540c\u65f6\u62e5\u6709\u7684\u3002"),(0,i.yg)("h4",{id:"\u4f7f\u7528-tidb-\u4f5c\u4e3a-htap-\u6570\u636e\u5e93\u5b9e\u65f6\u4e8b\u52a1\u5b9e\u65f6\u5206\u6790"},"\u4f7f\u7528 TiDB \u4f5c\u4e3a HTAP \u6570\u636e\u5e93\uff08\u5b9e\u65f6\u4e8b\u52a1+\u5b9e\u65f6\u5206\u6790\uff09"),(0,i.yg)("p",null,"\u8fd9\u7c7b\u7528\u6237\u662f\u5728\u521a\u5f00\u59cb\u505a TiDB \u7684\u65f6\u5019\u5b8c\u5168\u6ca1\u60f3\u5230\u7684\uff0c\u968f\u7740 TiDB \u7684 SQL \u80fd\u529b\u8d8a\u6765\u8d8a\u5f3a\uff0c\u5e76\u4e14\u968f\u7740 TiDB \u7684\u5b50\u9879\u76ee TiSpark \u7684\u53d1\u5e03\uff0c\u8ba9\u7528\u6237\u5728\u62e5\u6709\u5173\u7cfb\u6570\u636e\u5e93\u7684\u4e8b\u52a1\u5199\u5165\u80fd\u529b\u540c\u65f6\u53ef\u4ee5\u5728\u540c\u4e00\u4efd\u6570\u636e\u4e0a\u8fdb\u884c\u590d\u6742\u7684\u5206\u6790\uff1b\u8fd9\u7c7b\u7528\u6237\u4e00\u822c\u7528 Syncer \u5c06\u6240\u6709\u7ebf\u4e0a\u751f\u4ea7\u6570\u636e\u5e93\u540c\u6b65\u5230\u4e00\u4e2a\u5927\u7684 TiDB \u96c6\u7fa4\u4e0a\uff08Syncer \u652f\u6301\u591a\u6e90\u540c\u6b65\uff0c\u5408\u5e76\u5206\u5e93\u5206\u8868\u7b49\u529f\u80fd\uff09\uff0c\u7136\u540e\u76f4\u63a5\u5728\u8fd9\u4e2a TiDB Cluster \u4e0a\u901a\u8fc7 TiDB \u6216\u8005 TiSpark \u8fdb\u884c\u5206\u6790\u3002"),(0,i.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,i.yg)("p",null,"TiDB \u662f PingCAP \u516c\u53f8\u8bbe\u8ba1\u7684\u5f00\u6e90\u5206\u5e03\u5f0f HTAP (Hybrid Transactional and Analytical Processing) \u6570\u636e\u5e93\uff0c\u7ed3\u5408\u4e86\u4f20\u7edf\u7684 RDBMS \u548c NoSQL \u7684\u6700\u4f73\u7279\u6027\u3002TiDB \u517c\u5bb9 MySQL\uff0c\u652f\u6301\u65e0\u9650\u7684\u6c34\u5e73\u6269\u5c55\uff0c\u5177\u5907\u5f3a\u4e00\u81f4\u6027\u548c\u9ad8\u53ef\u7528\u6027\u3002TiDB \u7684\u76ee\u6807\u662f\u4e3a OLTP (Online Transactional Processing) \u548c OLAP (Online Analytical Processing) \u573a\u666f\u63d0\u4f9b\u4e00\u7ad9\u5f0f\u7684\u89e3\u51b3\u65b9\u6848\u3002"),(0,i.yg)("p",null,"TiDB \u5177\u5907\u5982\u4e0b\u7279\u6027\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"\u9ad8\u5ea6\u517c\u5bb9 MySQL\n\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u65e0\u9700\u4fee\u6539\u4ee3\u7801\u5373\u53ef\u4ece MySQL \u8f7b\u677e\u8fc1\u79fb\u81f3 TiDB\uff0c\u5206\u5e93\u5206\u8868\u540e\u7684 MySQL \u96c6\u7fa4\u4ea6\u53ef\u901a\u8fc7 TiDB \u5de5\u5177\u8fdb\u884c\u5b9e\u65f6\u8fc1\u79fb\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u6c34\u5e73\u5f39\u6027\u6269\u5c55\n\u901a\u8fc7\u7b80\u5355\u5730\u589e\u52a0\u65b0\u8282\u70b9\u5373\u53ef\u5b9e\u73b0 TiDB \u7684\u6c34\u5e73\u6269\u5c55\uff0c\u6309\u9700\u6269\u5c55\u541e\u5410\u6216\u5b58\u50a8\uff0c\u8f7b\u677e\u5e94\u5bf9\u9ad8\u5e76\u53d1\u3001\u6d77\u91cf\u6570\u636e\u573a\u666f\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u5206\u5e03\u5f0f\u4e8b\u52a1\nTiDB 100% \u652f\u6301\u6807\u51c6\u7684 ACID \u4e8b\u52a1\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u771f\u6b63\u91d1\u878d\u7ea7\u9ad8\u53ef\u7528\n\u76f8\u6bd4\u4e8e\u4f20\u7edf\u4e3b\u4ece (M-S) \u590d\u5236\u65b9\u6848\uff0c\u57fa\u4e8e Raft \u7684\u591a\u6570\u6d3e\u9009\u4e3e\u534f\u8bae\u53ef\u4ee5\u63d0\u4f9b\u91d1\u878d\u7ea7\u7684 100% \u6570\u636e\u5f3a\u4e00\u81f4\u6027\u4fdd\u8bc1\uff0c\u4e14\u5728\u4e0d\u4e22\u5931\u5927\u591a\u6570\u526f\u672c\u7684\u524d\u63d0\u4e0b\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6545\u969c\u7684\u81ea\u52a8\u6062\u590d (auto-failover)\uff0c\u65e0\u9700\u4eba\u5de5\u4ecb\u5165\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u4e00\u7ad9\u5f0f HTAP \u89e3\u51b3\u65b9\u6848\nTiDB \u4f5c\u4e3a\u5178\u578b\u7684 OLTP \u884c\u5b58\u6570\u636e\u5e93\uff0c\u540c\u65f6\u517c\u5177\u5f3a\u5927\u7684 OLAP \u6027\u80fd\uff0c\u914d\u5408 TiSpark\uff0c\u53ef\u63d0\u4f9b\u4e00\u7ad9\u5f0f HTAP \u89e3\u51b3\u65b9\u6848\uff0c\u4e00\u4efd\u5b58\u50a8\u540c\u65f6\u5904\u7406 OLTP & OLAP\uff0c\u65e0\u9700\u4f20\u7edf\u7e41\u7410\u7684 ETL \u8fc7\u7a0b\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u4e91\u539f\u751f SQL \u6570\u636e\u5e93\nTiDB \u662f\u4e3a\u4e91\u800c\u8bbe\u8ba1\u7684\u6570\u636e\u5e93\uff0c\u652f\u6301\u516c\u6709\u4e91\u3001\u79c1\u6709\u4e91\u548c\u6df7\u5408\u4e91\uff0c\u4f7f\u90e8\u7f72\u3001\u914d\u7f6e\u548c\u7ef4\u62a4\u53d8\u5f97\u5341\u5206\u7b80\u5355\u3002")),(0,i.yg)("p",null,"TiDB \u7684\u8bbe\u8ba1\u76ee\u6807\u662f 100% \u7684 OLTP \u573a\u666f\u548c 80% \u7684 OLAP \u573a\u666f\uff0c\u66f4\u590d\u6742\u7684 OLAP \u5206\u6790\u53ef\u4ee5\u901a\u8fc7 TiSpark \u9879\u76ee\u6765\u5b8c\u6210\u3002"),(0,i.yg)("p",null,"TiDB \u5bf9\u4e1a\u52a1\u6ca1\u6709\u4efb\u4f55\u4fb5\u5165\u6027\uff0c\u80fd\u4f18\u96c5\u7684\u66ff\u6362\u4f20\u7edf\u7684\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\u3001\u6570\u636e\u5e93\u5206\u5e93\u5206\u8868\u7b49 Sharding \u65b9\u6848\u3002\u540c\u65f6\u5b83\u4e5f\u8ba9\u5f00\u53d1\u8fd0\u7ef4\u4eba\u5458\u4e0d\u7528\u5173\u6ce8\u6570\u636e\u5e93 Scale \u7684\u7ec6\u8282\u95ee\u9898\uff0c\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u5f00\u53d1\uff0c\u6781\u5927\u7684\u63d0\u5347\u7814\u53d1\u7684\u751f\u4ea7\u529b\u3002"),(0,i.yg)("p",null,"\u4e09\u7bc7\u6587\u7ae0\u4e86\u89e3 TiDB \u6280\u672f\u5185\u5e55\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://pingcap.com/blog-cn/tidb-internal-1/"},"\u8bf4\u5b58\u50a8")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://pingcap.com/blog-cn/tidb-internal-2/"},"\u8bf4\u8ba1\u7b97")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://pingcap.com/blog-cn/tidb-internal-3/"},"\u8c08\u8c03\u5ea6"))),(0,i.yg)("h3",{id:"\u76ee\u524d\u72b6\u51b5v30"},"\u76ee\u524d\u72b6\u51b5(V3.0)"),(0,i.yg)("p",null,"TiDB \u76ee\u524d\u8fd8\u4e0d\u652f\u6301\u89e6\u53d1\u5668\u3001\u5b58\u50a8\u8fc7\u7a0b\u3001\u81ea\u5b9a\u4e49\u51fd\u6570\u3001\u5916\u952e\uff0c\u9664\u6b64\u4e4b\u5916\uff0cTiDB \u652f\u6301\u7edd\u5927\u90e8\u5206 MySQL 5.7 \u7684\u8bed\u6cd5\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8194],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>g});var r=n(96540);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},y=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,y=o(e,["components","mdxType","originalType","parentName"]),u=c(n),d=i,g=u["".concat(p,".").concat(d)]||u[d]||s[d]||a;return n?r.createElement(g,l(l({ref:t},y),{},{components:n})):r.createElement(g,l({ref:t},y))}));function g(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,l=new Array(a);l[0]=d;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[u]="string"==typeof e?e:i,l[1]=o;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>l,default:()=>s,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var r=n(58168),i=(n(96540),n(15680));const a={},l=void 0,o={unversionedId:"study/db/NewSQL/TiDB",id:"study/db/NewSQL/TiDB",title:"TiDB",description:"\u80cc\u666f",source:"@site/docs/study/db/NewSQL/TiDB.md",sourceDirName:"study/db/NewSQL",slug:"/study/db/NewSQL/TiDB",permalink:"/docs/study/db/NewSQL/TiDB",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7efc\u5408",permalink:"/docs/study/db/\u7efc\u5408"},next:{title:"Cassandra",permalink:"/docs/study/db/NoSQL/Cassandra"}},p={},c=[{value:"\u80cc\u666f",id:"\u80cc\u666f",level:3},{value:"\u66ff\u6362 MySQL Sharding(\u5206\u7247) \u4f5c\u4e3a\u4e3b\u751f\u4ea7\u6570\u636e\u5e93",id:"\u66ff\u6362-mysql-sharding\u5206\u7247-\u4f5c\u4e3a\u4e3b\u751f\u4ea7\u6570\u636e\u5e93",level:4},{value:"\u66ff\u6362 HBase/C*/ES \u7b49 NoSQL \u6570\u636e\u5e93",id:"\u66ff\u6362-hbaseces-\u7b49-nosql-\u6570\u636e\u5e93",level:4},{value:"\u4f7f\u7528 TiDB \u4f5c\u4e3a HTAP \u6570\u636e\u5e93\uff08\u5b9e\u65f6\u4e8b\u52a1+\u5b9e\u65f6\u5206\u6790\uff09",id:"\u4f7f\u7528-tidb-\u4f5c\u4e3a-htap-\u6570\u636e\u5e93\u5b9e\u65f6\u4e8b\u52a1\u5b9e\u65f6\u5206\u6790",level:4},{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"\u76ee\u524d\u72b6\u51b5(V3.0)",id:"\u76ee\u524d\u72b6\u51b5v30",level:3}],y={toc:c},u="wrapper";function s(e){let{components:t,...n}=e;return(0,i.yg)(u,(0,r.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("h3",{id:"\u80cc\u666f"},"\u80cc\u666f"),(0,i.yg)("h4",{id:"\u66ff\u6362-mysql-sharding\u5206\u7247-\u4f5c\u4e3a\u4e3b\u751f\u4ea7\u6570\u636e\u5e93"},"\u66ff\u6362 MySQL Sharding(\u5206\u7247) \u4f5c\u4e3a\u4e3b\u751f\u4ea7\u6570\u636e\u5e93"),(0,i.yg)("p",null,"\u8fd9\u4e2a\u573a\u666f\u5176\u5b9e\u662f TiDB \u8bbe\u8ba1\u7684\u521d\u8877\uff0c\u5728\u5355\u673a MySQL \u6570\u636e\u91cf\u592a\u5927\u540e\uff0c\u8fc7\u53bb\u80fd\u9009\u7684\u57fa\u672c\u5c31\u662f\u5206\u5e93\u5206\u8868\uff0c\u518d\u5206\u4e0d\u5f00\u7684\u8bdd\u5c31\u53ea\u80fd Sharding\uff0c\u4f46\u662f\u5206\u5e93\u5206\u8868\u3001Sharding\uff0c\u5176\u5b9e\u4e0d\u7ba1\u662f\u7ef4\u62a4\u6210\u672c\u548c\u5f00\u53d1\u6539\u9020\u6210\u672c\u90fd\u5f88\u9ad8\uff0c\u6240\u4ee5 TiDB \u7ed9\u8fd9\u4e9b\u7528\u6237\u63d0\u4f9b\u4e86\u4e00\u4e2a\u53ef\u4ee5\u5f39\u6027\u6269\u5c55\u7684\uff0c\u7528\u8d77\u6765\u5c31\u50cf\u5355\u673a MySQL \u4e00\u6837\u7684\uff0c\u652f\u6301\u4e8b\u52a1\u548c\u590d\u6742\u67e5\u8be2\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93\uff0c\u540c\u65f6\u8fd8\u652f\u6301\u591a\u526f\u672c\u81ea\u52a8\u7684\u9ad8\u53ef\u7528\uff0c\u5f53\u7136\u5f88\u723d\u3002"),(0,i.yg)("p",null,"\u8fd9\u90e8\u5206\u7528\u6237\u4e00\u822c\u4e00\u5f00\u59cb\u4e0a\u7ebf\u524d\u90fd\u4f1a\u7528 TiDB \u7684 ",(0,i.yg)("a",{parentName:"p",href:"https://link.zhihu.com/?target=https%3A//github.com/pingcap/docs-cn/blob/master/tools/syncer.md"},"Syncer"),"\uff0c \u5c06 TiDB \u96c6\u7fa4\u4f5c\u4e3a\u7ebf\u4e0a MySQL \u7684\u4ece\u5e93\uff0c\u5b9e\u65f6\u540c\u6b65\u7ebf\u4e0a\u7684 MySQL \u4e3b\u5e93\uff0c\u89c2\u5bdf\u4e00\u6bb5\u65f6\u95f4\u7a33\u5b9a\u6027\u517c\u5bb9\u6027\u3001\u8fdb\u884c\u538b\u529b\u6d4b\u8bd5\u540e\uff0c\u76f4\u63a5\u5c06\u7ebf\u4e0a\u5e93\u6307\u5411 TiDB\uff0c\u4e0d\u7528\u4fee\u6539\u4e00\u884c\u4ee3\u7801\u3002"),(0,i.yg)("h4",{id:"\u66ff\u6362-hbaseces-\u7b49-nosql-\u6570\u636e\u5e93"},"\u66ff\u6362 HBase/C*/ES \u7b49 NoSQL \u6570\u636e\u5e93"),(0,i.yg)("p",null,"\u8fd9\u7c7b\u7528\u6237\u4e3b\u8981\u662f\u8fc7\u53bb\u7528\u7740 NoSQL\uff0c\u5e0c\u671b\u5728\u62e5\u6709\u5f39\u6027\u4f38\u7f29\u80fd\u529b\uff0c\u53ef\u4ee5\u7ebf\u6027\u6269\u5c55\u7684\u5b9e\u65f6\u5e76\u53d1\u5199\u5165\u80fd\u529b\uff0c\u518d\u80fd\u62e5\u6709\u66f4\u5f3a\u5927\u7684\u67e5\u8be2\u80fd\u529b\uff0c\u6bd4\u5982\u4e8c\u7ea7\u7d22\u5f15\u70b9\u67e5\uff0c\u6bd4\u5982\u590d\u6742\u7684 Join \u652f\u6301\u3002\u5178\u578b\u7684\u5e94\u7528\u573a\u666f\u662f\u5ba2\u670d\u67e5\u8be2\uff0cUser profile \u7cfb\u7edf\u7b49\u7b49\u3002\n\u901a\u5e38\u8fd9\u7c7b\u7528\u6237\u7684\u6570\u636e\u91cf\u5de8\u5927\uff0c\u53ef\u80fd\u5355\u5e93\u90fd\u6709\u4e0a\u767e T\uff0cTiDB \u80fd\u5f88\u597d\u7684\u6ee1\u8db3\uff1a"),(0,i.yg)("ol",null,(0,i.yg)("li",{parentName:"ol"},"\u5927\u6d77\u635e\u9488\u5f0f\u7684\u7cbe\u51c6\u67e5\u8be2"),(0,i.yg)("li",{parentName:"ol"},"Ad-hoc \u5206\u6790")),(0,i.yg)("p",null,"\u8fd9\u4e00\u5207\u90fd\u662f\u5728\u4e0d\u727a\u7272\u5b9e\u65f6\u5199\u5165\u80fd\u529b\u7684\u540c\u65f6\u62e5\u6709\u7684\u3002"),(0,i.yg)("h4",{id:"\u4f7f\u7528-tidb-\u4f5c\u4e3a-htap-\u6570\u636e\u5e93\u5b9e\u65f6\u4e8b\u52a1\u5b9e\u65f6\u5206\u6790"},"\u4f7f\u7528 TiDB \u4f5c\u4e3a HTAP \u6570\u636e\u5e93\uff08\u5b9e\u65f6\u4e8b\u52a1+\u5b9e\u65f6\u5206\u6790\uff09"),(0,i.yg)("p",null,"\u8fd9\u7c7b\u7528\u6237\u662f\u5728\u521a\u5f00\u59cb\u505a TiDB \u7684\u65f6\u5019\u5b8c\u5168\u6ca1\u60f3\u5230\u7684\uff0c\u968f\u7740 TiDB \u7684 SQL \u80fd\u529b\u8d8a\u6765\u8d8a\u5f3a\uff0c\u5e76\u4e14\u968f\u7740 TiDB \u7684\u5b50\u9879\u76ee TiSpark \u7684\u53d1\u5e03\uff0c\u8ba9\u7528\u6237\u5728\u62e5\u6709\u5173\u7cfb\u6570\u636e\u5e93\u7684\u4e8b\u52a1\u5199\u5165\u80fd\u529b\u540c\u65f6\u53ef\u4ee5\u5728\u540c\u4e00\u4efd\u6570\u636e\u4e0a\u8fdb\u884c\u590d\u6742\u7684\u5206\u6790\uff1b\u8fd9\u7c7b\u7528\u6237\u4e00\u822c\u7528 Syncer \u5c06\u6240\u6709\u7ebf\u4e0a\u751f\u4ea7\u6570\u636e\u5e93\u540c\u6b65\u5230\u4e00\u4e2a\u5927\u7684 TiDB \u96c6\u7fa4\u4e0a\uff08Syncer \u652f\u6301\u591a\u6e90\u540c\u6b65\uff0c\u5408\u5e76\u5206\u5e93\u5206\u8868\u7b49\u529f\u80fd\uff09\uff0c\u7136\u540e\u76f4\u63a5\u5728\u8fd9\u4e2a TiDB Cluster \u4e0a\u901a\u8fc7 TiDB \u6216\u8005 TiSpark \u8fdb\u884c\u5206\u6790\u3002"),(0,i.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,i.yg)("p",null,"TiDB \u662f PingCAP \u516c\u53f8\u8bbe\u8ba1\u7684\u5f00\u6e90\u5206\u5e03\u5f0f HTAP (Hybrid Transactional and Analytical Processing) \u6570\u636e\u5e93\uff0c\u7ed3\u5408\u4e86\u4f20\u7edf\u7684 RDBMS \u548c NoSQL \u7684\u6700\u4f73\u7279\u6027\u3002TiDB \u517c\u5bb9 MySQL\uff0c\u652f\u6301\u65e0\u9650\u7684\u6c34\u5e73\u6269\u5c55\uff0c\u5177\u5907\u5f3a\u4e00\u81f4\u6027\u548c\u9ad8\u53ef\u7528\u6027\u3002TiDB \u7684\u76ee\u6807\u662f\u4e3a OLTP (Online Transactional Processing) \u548c OLAP (Online Analytical Processing) \u573a\u666f\u63d0\u4f9b\u4e00\u7ad9\u5f0f\u7684\u89e3\u51b3\u65b9\u6848\u3002"),(0,i.yg)("p",null,"TiDB \u5177\u5907\u5982\u4e0b\u7279\u6027\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},"\u9ad8\u5ea6\u517c\u5bb9 MySQL\n\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u65e0\u9700\u4fee\u6539\u4ee3\u7801\u5373\u53ef\u4ece MySQL \u8f7b\u677e\u8fc1\u79fb\u81f3 TiDB\uff0c\u5206\u5e93\u5206\u8868\u540e\u7684 MySQL \u96c6\u7fa4\u4ea6\u53ef\u901a\u8fc7 TiDB \u5de5\u5177\u8fdb\u884c\u5b9e\u65f6\u8fc1\u79fb\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u6c34\u5e73\u5f39\u6027\u6269\u5c55\n\u901a\u8fc7\u7b80\u5355\u5730\u589e\u52a0\u65b0\u8282\u70b9\u5373\u53ef\u5b9e\u73b0 TiDB \u7684\u6c34\u5e73\u6269\u5c55\uff0c\u6309\u9700\u6269\u5c55\u541e\u5410\u6216\u5b58\u50a8\uff0c\u8f7b\u677e\u5e94\u5bf9\u9ad8\u5e76\u53d1\u3001\u6d77\u91cf\u6570\u636e\u573a\u666f\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u5206\u5e03\u5f0f\u4e8b\u52a1\nTiDB 100% \u652f\u6301\u6807\u51c6\u7684 ACID \u4e8b\u52a1\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u771f\u6b63\u91d1\u878d\u7ea7\u9ad8\u53ef\u7528\n\u76f8\u6bd4\u4e8e\u4f20\u7edf\u4e3b\u4ece (M-S) \u590d\u5236\u65b9\u6848\uff0c\u57fa\u4e8e Raft \u7684\u591a\u6570\u6d3e\u9009\u4e3e\u534f\u8bae\u53ef\u4ee5\u63d0\u4f9b\u91d1\u878d\u7ea7\u7684 100% \u6570\u636e\u5f3a\u4e00\u81f4\u6027\u4fdd\u8bc1\uff0c\u4e14\u5728\u4e0d\u4e22\u5931\u5927\u591a\u6570\u526f\u672c\u7684\u524d\u63d0\u4e0b\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6545\u969c\u7684\u81ea\u52a8\u6062\u590d (auto-failover)\uff0c\u65e0\u9700\u4eba\u5de5\u4ecb\u5165\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u4e00\u7ad9\u5f0f HTAP \u89e3\u51b3\u65b9\u6848\nTiDB \u4f5c\u4e3a\u5178\u578b\u7684 OLTP \u884c\u5b58\u6570\u636e\u5e93\uff0c\u540c\u65f6\u517c\u5177\u5f3a\u5927\u7684 OLAP \u6027\u80fd\uff0c\u914d\u5408 TiSpark\uff0c\u53ef\u63d0\u4f9b\u4e00\u7ad9\u5f0f HTAP \u89e3\u51b3\u65b9\u6848\uff0c\u4e00\u4efd\u5b58\u50a8\u540c\u65f6\u5904\u7406 OLTP & OLAP\uff0c\u65e0\u9700\u4f20\u7edf\u7e41\u7410\u7684 ETL \u8fc7\u7a0b\u3002"),(0,i.yg)("li",{parentName:"ul"},"\u4e91\u539f\u751f SQL \u6570\u636e\u5e93\nTiDB \u662f\u4e3a\u4e91\u800c\u8bbe\u8ba1\u7684\u6570\u636e\u5e93\uff0c\u652f\u6301\u516c\u6709\u4e91\u3001\u79c1\u6709\u4e91\u548c\u6df7\u5408\u4e91\uff0c\u4f7f\u90e8\u7f72\u3001\u914d\u7f6e\u548c\u7ef4\u62a4\u53d8\u5f97\u5341\u5206\u7b80\u5355\u3002")),(0,i.yg)("p",null,"TiDB \u7684\u8bbe\u8ba1\u76ee\u6807\u662f 100% \u7684 OLTP \u573a\u666f\u548c 80% \u7684 OLAP \u573a\u666f\uff0c\u66f4\u590d\u6742\u7684 OLAP \u5206\u6790\u53ef\u4ee5\u901a\u8fc7 TiSpark \u9879\u76ee\u6765\u5b8c\u6210\u3002"),(0,i.yg)("p",null,"TiDB \u5bf9\u4e1a\u52a1\u6ca1\u6709\u4efb\u4f55\u4fb5\u5165\u6027\uff0c\u80fd\u4f18\u96c5\u7684\u66ff\u6362\u4f20\u7edf\u7684\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\u3001\u6570\u636e\u5e93\u5206\u5e93\u5206\u8868\u7b49 Sharding \u65b9\u6848\u3002\u540c\u65f6\u5b83\u4e5f\u8ba9\u5f00\u53d1\u8fd0\u7ef4\u4eba\u5458\u4e0d\u7528\u5173\u6ce8\u6570\u636e\u5e93 Scale \u7684\u7ec6\u8282\u95ee\u9898\uff0c\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u5f00\u53d1\uff0c\u6781\u5927\u7684\u63d0\u5347\u7814\u53d1\u7684\u751f\u4ea7\u529b\u3002"),(0,i.yg)("p",null,"\u4e09\u7bc7\u6587\u7ae0\u4e86\u89e3 TiDB \u6280\u672f\u5185\u5e55\uff1a"),(0,i.yg)("ul",null,(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://pingcap.com/blog-cn/tidb-internal-1/"},"\u8bf4\u5b58\u50a8")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://pingcap.com/blog-cn/tidb-internal-2/"},"\u8bf4\u8ba1\u7b97")),(0,i.yg)("li",{parentName:"ul"},(0,i.yg)("a",{parentName:"li",href:"https://pingcap.com/blog-cn/tidb-internal-3/"},"\u8c08\u8c03\u5ea6"))),(0,i.yg)("h3",{id:"\u76ee\u524d\u72b6\u51b5v30"},"\u76ee\u524d\u72b6\u51b5(V3.0)"),(0,i.yg)("p",null,"TiDB \u76ee\u524d\u8fd8\u4e0d\u652f\u6301\u89e6\u53d1\u5668\u3001\u5b58\u50a8\u8fc7\u7a0b\u3001\u81ea\u5b9a\u4e49\u51fd\u6570\u3001\u5916\u952e\uff0c\u9664\u6b64\u4e4b\u5916\uff0cTiDB \u652f\u6301\u7edd\u5927\u90e8\u5206 MySQL 5.7 \u7684\u8bed\u6cd5\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/cadc4043.8121fa7b.js b/assets/js/cadc4043.56ac28c9.js similarity index 99% rename from assets/js/cadc4043.8121fa7b.js rename to assets/js/cadc4043.56ac28c9.js index 3b595cdae..b1dc26aa2 100644 --- a/assets/js/cadc4043.8121fa7b.js +++ b/assets/js/cadc4043.56ac28c9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8399],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>g});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),s=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):u(u({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(i.Provider,{value:t},e.children)},c="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,i=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),c=s(r),d=a,g=c["".concat(i,".").concat(d)]||c[d]||y[d]||l;return r?n.createElement(g,u(u({ref:t},p),{},{components:r})):n.createElement(g,u({ref:t},p))}));function g(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,u=new Array(l);u[0]=d;var o={};for(var i in t)hasOwnProperty.call(t,i)&&(o[i]=t[i]);o.originalType=e,o[c]="string"==typeof e?e:a,u[1]=o;for(var s=2;s{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>u,default:()=>y,frontMatter:()=>l,metadata:()=>o,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const l={},u="Rust",o={unversionedId:"study/program/Rust/index",id:"study/program/Rust/index",title:"Rust",description:"\u4e00\u95e8\u8d4b\u4e88\u6bcf\u4e2a\u4eba\u6784\u5efa\u53ef\u9760\u4e14\u9ad8\u6548\u8f6f\u4ef6\u80fd\u529b\u7684\u8bed\u8a00\u3002",source:"@site/docs/study/program/Rust/index.md",sourceDirName:"study/program/Rust",slug:"/study/program/Rust/",permalink:"/docs/study/program/Rust/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Lua",permalink:"/docs/study/program/Lua/"},next:{title:"\u6280\u672f\u6587\u6863",permalink:"/docs/study/program/\u6280\u672f\u6587\u6863"}},i={},s=[{value:"\u4e3a\u4ec0\u4e48\u9009\u62e9 Rust",id:"\u4e3a\u4ec0\u4e48\u9009\u62e9-rust",level:3},{value:"\u9ad8\u6027\u80fd",id:"\u9ad8\u6027\u80fd",level:4},{value:"\u53ef\u9760\u6027",id:"\u53ef\u9760\u6027",level:4},{value:"\u751f\u4ea7\u529b",id:"\u751f\u4ea7\u529b",level:4},{value:"\u5185\u5b58\u7ba1\u7406",id:"\u5185\u5b58\u7ba1\u7406",level:3},{value:"\u6807\u51c6\u5e93",id:"\u6807\u51c6\u5e93",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:s},c="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(c,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"rust"},"Rust"),(0,a.yg)("p",null,"\u4e00\u95e8\u8d4b\u4e88\u6bcf\u4e2a\u4eba\u6784\u5efa\u53ef\u9760\u4e14\u9ad8\u6548\u8f6f\u4ef6\u80fd\u529b\u7684\u8bed\u8a00\u3002"),(0,a.yg)("p",null,"\u521b\u5efa\u8fd9\u4e2a\u65b0\u8bed\u8a00\u7684\u76ee\u7684\u662f\u4e3a\u4e86\u89e3\u51b3\u4e00\u4e2a\u987d\u75be\uff1a\u8f6f\u4ef6\u7684\u6f14\u8fdb\u901f\u5ea6\u5927\u5927\u4f4e\u4e8e\u786c\u4ef6\u7684\u6f14\u8fdb\uff0c\u8f6f\u4ef6\u5728\u8bed\u8a00\u7ea7\u522b\u4e0a\u65e0\u6cd5\u771f\u6b63\u5229\u7528\u591a\u6838\u8ba1\u7b97\u5e26\u6765\u7684\u6027\u80fd\u63d0\u5347\u3002Rust \u662f\u9488\u5bf9\u591a\u6838\u4f53\u7cfb\u63d0\u51fa\u7684\u8bed\u8a00\uff0c\u5e76\u4e14\u5438\u6536\u4e00\u4e9b\u5176\u4ed6\u52a8\u6001\u8bed\u8a00\u7684\u91cd\u8981\u7279\u6027\uff0c\u6bd4\u5982\u4e0d\u9700\u8981\u7ba1\u7406\u5185\u5b58\uff0c\u6bd4\u5982\u4e0d\u4f1a\u51fa\u73b0 Null \u6307\u9488\u7b49\u7b49\u3002"),(0,a.yg)("p",null,"Rust \u81f4\u529b\u4e8e\u6210\u4e3a\u4f18\u96c5\u89e3\u51b3\u9ad8\u5e76\u53d1\u548c\u9ad8\u5b89\u5168\u6027\u7cfb\u7edf\u95ee\u9898\u7684\u7f16\u7a0b\u8bed\u8a00 \uff0c\u9002\u7528\u4e8e\u5927\u578b\u573a\u666f\uff0c\u5373\u521b\u9020\u7ef4\u62a4\u80fd\u591f\u4fdd\u6301\u5927\u578b\u7cfb\u7edf\u5b8c\u6574\u7684\u8fb9\u754c\u3002\u8fd9\u5c31\u5bfc\u81f4\u4e86\u5b83\u5f3a\u8c03\u5b89\u5168\uff0c\u5185\u5b58\u5e03\u5c40\u63a7\u5236\u548c\u5e76\u53d1\u7684\u7279\u70b9\u3002\u6807\u51c6 Rust \u6027\u80fd\u4e0e\u6807\u51c6 C++\u6027\u80fd\u4e0d\u76f8\u4e0a\u4e0b\u3002"),(0,a.yg)("p",null,"\u636e\u8bf4\uff0c\u6b64\u7f16\u7a0b\u8bed\u8a00\uff0c\u5165\u95e8\u8f83\u96be\uff0c\u6666\u6da9\u96be\u61c2\u3002"),(0,a.yg)("h3",{id:"\u4e3a\u4ec0\u4e48\u9009\u62e9-rust"},"\u4e3a\u4ec0\u4e48\u9009\u62e9 Rust"),(0,a.yg)("h4",{id:"\u9ad8\u6027\u80fd"},"\u9ad8\u6027\u80fd"),(0,a.yg)("p",null,"Rust \u901f\u5ea6\u60ca\u4eba\u4e14\u5185\u5b58\u5229\u7528\u7387\u6781\u9ad8\u3002\u7531\u4e8e\u6ca1\u6709\u8fd0\u884c\u65f6\u548c\u5783\u573e\u56de\u6536\uff0c\u5b83\u80fd\u591f\u80dc\u4efb\u5bf9\u6027\u80fd\u8981\u6c42\u7279\u522b\u9ad8\u7684\u670d\u52a1\uff0c\u53ef\u4ee5\u5728\u5d4c\u5165\u5f0f\u8bbe\u5907\u4e0a\u8fd0\u884c\uff0c\u8fd8\u80fd\u8f7b\u677e\u548c\u5176\u4ed6\u8bed\u8a00\u96c6\u6210\u3002"),(0,a.yg)("h4",{id:"\u53ef\u9760\u6027"},"\u53ef\u9760\u6027"),(0,a.yg)("p",null,"Rust \u4e30\u5bcc\u7684\u7c7b\u578b\u7cfb\u7edf\u548c\u6240\u6709\u6743\u6a21\u578b\u4fdd\u8bc1\u4e86\u5185\u5b58\u5b89\u5168\u548c\u7ebf\u7a0b\u5b89\u5168\uff0c\u8ba9\u60a8\u5728\u7f16\u8bd1\u671f\u5c31\u80fd\u591f\u6d88\u9664\u5404\u79cd\u5404\u6837\u7684\u9519\u8bef\u3002"),(0,a.yg)("h4",{id:"\u751f\u4ea7\u529b"},"\u751f\u4ea7\u529b"),(0,a.yg)("p",null,"Rust \u62e5\u6709\u51fa\u8272\u7684\u6587\u6863\u3001\u53cb\u597d\u7684\u7f16\u8bd1\u5668\u548c\u6e05\u6670\u7684\u9519\u8bef\u63d0\u793a\u4fe1\u606f\uff0c \u8fd8\u96c6\u6210\u4e86\u4e00\u6d41\u7684\u5de5\u5177\u2014\u2014\u5305\u7ba1\u7406\u5668\u548c\u6784\u5efa\u5de5\u5177\uff0c \u667a\u80fd\u5730\u81ea\u52a8\u8865\u5168\u548c\u7c7b\u578b\u68c0\u9a8c\u7684\u591a\u7f16\u8f91\u5668\u652f\u6301\uff0c \u4ee5\u53ca\u81ea\u52a8\u683c\u5f0f\u5316\u4ee3\u7801\u7b49\u7b49\u3002"),(0,a.yg)("h3",{id:"\u5185\u5b58\u7ba1\u7406"},"\u5185\u5b58\u7ba1\u7406"),(0,a.yg)("p",null,"Rust \u4e0d\u50cf Go,Java \u4ee5\u53ca.NET Framework \u90a3\u6837\u4f7f\u7528\u81ea\u52a8\u5783\u573e\u56de\u6536\u7cfb\u7edf\u3002\u4e0d\u540c\u7684\u662f Rust \u901a\u8fc7 RAII \u6765\u7ba1\u7406\u5185\u5b58\u548c\u8d44\u6e90\uff0c\u8fd8\u53ef\u9009\u5f15\u7528\u8ba1\u6570\u3002Rust \u4ee5\u4f4e\u5f00\u9500\u63d0\u4f9b\u8d44\u6e90\u786e\u5b9a\u6027\u7ba1\u7406\u3002Rust \u4e5f\u652f\u6301\u503c\u7684\u6808\u5206\u914d\u5e76\u4e0d\u8868\u73b0\u6697\u7bb1\u3002"),(0,a.yg)("h3",{id:"\u6807\u51c6\u5e93"},"\u6807\u51c6\u5e93"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://doc.rust-lang.org/std/index.html"},"https://doc.rust-lang.org/std/index.html")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.rust-lang.org/zh-CN"},"\u5b98\u65b9\u7f51\u7ad9")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/Rust%E8%AF%AD%E8%A8%80/9502634"},"\u767e\u5ea6\u767e\u79d1-Rust \u8bed\u8a00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://kaisery.github.io/trpl-zh-cn/title-page.html"},"Rust \u7a0b\u5e8f\u8bbe\u8ba1\u9884\u7814 \u7b80\u4f53\u4e2d\u6587\u7248 \u975e\u5b98\u65b9")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://rust-book.junmajinlong.com/"},"\u9a8f\u9a6c\u91d1\u9f99-Rust \u7684\u5165\u95e8\u4e66\u7c4d"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8399],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>g});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),s=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):u(u({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(i.Provider,{value:t},e.children)},c="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,i=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),c=s(r),d=a,g=c["".concat(i,".").concat(d)]||c[d]||y[d]||l;return r?n.createElement(g,u(u({ref:t},p),{},{components:r})):n.createElement(g,u({ref:t},p))}));function g(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,u=new Array(l);u[0]=d;var o={};for(var i in t)hasOwnProperty.call(t,i)&&(o[i]=t[i]);o.originalType=e,o[c]="string"==typeof e?e:a,u[1]=o;for(var s=2;s{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>u,default:()=>y,frontMatter:()=>l,metadata:()=>o,toc:()=>s});var n=r(58168),a=(r(96540),r(15680));const l={},u="Rust",o={unversionedId:"study/program/Rust/index",id:"study/program/Rust/index",title:"Rust",description:"\u4e00\u95e8\u8d4b\u4e88\u6bcf\u4e2a\u4eba\u6784\u5efa\u53ef\u9760\u4e14\u9ad8\u6548\u8f6f\u4ef6\u80fd\u529b\u7684\u8bed\u8a00\u3002",source:"@site/docs/study/program/Rust/index.md",sourceDirName:"study/program/Rust",slug:"/study/program/Rust/",permalink:"/docs/study/program/Rust/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Lua",permalink:"/docs/study/program/Lua/"},next:{title:"\u6280\u672f\u6587\u6863",permalink:"/docs/study/program/\u6280\u672f\u6587\u6863"}},i={},s=[{value:"\u4e3a\u4ec0\u4e48\u9009\u62e9 Rust",id:"\u4e3a\u4ec0\u4e48\u9009\u62e9-rust",level:3},{value:"\u9ad8\u6027\u80fd",id:"\u9ad8\u6027\u80fd",level:4},{value:"\u53ef\u9760\u6027",id:"\u53ef\u9760\u6027",level:4},{value:"\u751f\u4ea7\u529b",id:"\u751f\u4ea7\u529b",level:4},{value:"\u5185\u5b58\u7ba1\u7406",id:"\u5185\u5b58\u7ba1\u7406",level:3},{value:"\u6807\u51c6\u5e93",id:"\u6807\u51c6\u5e93",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:s},c="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(c,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"rust"},"Rust"),(0,a.yg)("p",null,"\u4e00\u95e8\u8d4b\u4e88\u6bcf\u4e2a\u4eba\u6784\u5efa\u53ef\u9760\u4e14\u9ad8\u6548\u8f6f\u4ef6\u80fd\u529b\u7684\u8bed\u8a00\u3002"),(0,a.yg)("p",null,"\u521b\u5efa\u8fd9\u4e2a\u65b0\u8bed\u8a00\u7684\u76ee\u7684\u662f\u4e3a\u4e86\u89e3\u51b3\u4e00\u4e2a\u987d\u75be\uff1a\u8f6f\u4ef6\u7684\u6f14\u8fdb\u901f\u5ea6\u5927\u5927\u4f4e\u4e8e\u786c\u4ef6\u7684\u6f14\u8fdb\uff0c\u8f6f\u4ef6\u5728\u8bed\u8a00\u7ea7\u522b\u4e0a\u65e0\u6cd5\u771f\u6b63\u5229\u7528\u591a\u6838\u8ba1\u7b97\u5e26\u6765\u7684\u6027\u80fd\u63d0\u5347\u3002Rust \u662f\u9488\u5bf9\u591a\u6838\u4f53\u7cfb\u63d0\u51fa\u7684\u8bed\u8a00\uff0c\u5e76\u4e14\u5438\u6536\u4e00\u4e9b\u5176\u4ed6\u52a8\u6001\u8bed\u8a00\u7684\u91cd\u8981\u7279\u6027\uff0c\u6bd4\u5982\u4e0d\u9700\u8981\u7ba1\u7406\u5185\u5b58\uff0c\u6bd4\u5982\u4e0d\u4f1a\u51fa\u73b0 Null \u6307\u9488\u7b49\u7b49\u3002"),(0,a.yg)("p",null,"Rust \u81f4\u529b\u4e8e\u6210\u4e3a\u4f18\u96c5\u89e3\u51b3\u9ad8\u5e76\u53d1\u548c\u9ad8\u5b89\u5168\u6027\u7cfb\u7edf\u95ee\u9898\u7684\u7f16\u7a0b\u8bed\u8a00 \uff0c\u9002\u7528\u4e8e\u5927\u578b\u573a\u666f\uff0c\u5373\u521b\u9020\u7ef4\u62a4\u80fd\u591f\u4fdd\u6301\u5927\u578b\u7cfb\u7edf\u5b8c\u6574\u7684\u8fb9\u754c\u3002\u8fd9\u5c31\u5bfc\u81f4\u4e86\u5b83\u5f3a\u8c03\u5b89\u5168\uff0c\u5185\u5b58\u5e03\u5c40\u63a7\u5236\u548c\u5e76\u53d1\u7684\u7279\u70b9\u3002\u6807\u51c6 Rust \u6027\u80fd\u4e0e\u6807\u51c6 C++\u6027\u80fd\u4e0d\u76f8\u4e0a\u4e0b\u3002"),(0,a.yg)("p",null,"\u636e\u8bf4\uff0c\u6b64\u7f16\u7a0b\u8bed\u8a00\uff0c\u5165\u95e8\u8f83\u96be\uff0c\u6666\u6da9\u96be\u61c2\u3002"),(0,a.yg)("h3",{id:"\u4e3a\u4ec0\u4e48\u9009\u62e9-rust"},"\u4e3a\u4ec0\u4e48\u9009\u62e9 Rust"),(0,a.yg)("h4",{id:"\u9ad8\u6027\u80fd"},"\u9ad8\u6027\u80fd"),(0,a.yg)("p",null,"Rust \u901f\u5ea6\u60ca\u4eba\u4e14\u5185\u5b58\u5229\u7528\u7387\u6781\u9ad8\u3002\u7531\u4e8e\u6ca1\u6709\u8fd0\u884c\u65f6\u548c\u5783\u573e\u56de\u6536\uff0c\u5b83\u80fd\u591f\u80dc\u4efb\u5bf9\u6027\u80fd\u8981\u6c42\u7279\u522b\u9ad8\u7684\u670d\u52a1\uff0c\u53ef\u4ee5\u5728\u5d4c\u5165\u5f0f\u8bbe\u5907\u4e0a\u8fd0\u884c\uff0c\u8fd8\u80fd\u8f7b\u677e\u548c\u5176\u4ed6\u8bed\u8a00\u96c6\u6210\u3002"),(0,a.yg)("h4",{id:"\u53ef\u9760\u6027"},"\u53ef\u9760\u6027"),(0,a.yg)("p",null,"Rust \u4e30\u5bcc\u7684\u7c7b\u578b\u7cfb\u7edf\u548c\u6240\u6709\u6743\u6a21\u578b\u4fdd\u8bc1\u4e86\u5185\u5b58\u5b89\u5168\u548c\u7ebf\u7a0b\u5b89\u5168\uff0c\u8ba9\u60a8\u5728\u7f16\u8bd1\u671f\u5c31\u80fd\u591f\u6d88\u9664\u5404\u79cd\u5404\u6837\u7684\u9519\u8bef\u3002"),(0,a.yg)("h4",{id:"\u751f\u4ea7\u529b"},"\u751f\u4ea7\u529b"),(0,a.yg)("p",null,"Rust \u62e5\u6709\u51fa\u8272\u7684\u6587\u6863\u3001\u53cb\u597d\u7684\u7f16\u8bd1\u5668\u548c\u6e05\u6670\u7684\u9519\u8bef\u63d0\u793a\u4fe1\u606f\uff0c \u8fd8\u96c6\u6210\u4e86\u4e00\u6d41\u7684\u5de5\u5177\u2014\u2014\u5305\u7ba1\u7406\u5668\u548c\u6784\u5efa\u5de5\u5177\uff0c \u667a\u80fd\u5730\u81ea\u52a8\u8865\u5168\u548c\u7c7b\u578b\u68c0\u9a8c\u7684\u591a\u7f16\u8f91\u5668\u652f\u6301\uff0c \u4ee5\u53ca\u81ea\u52a8\u683c\u5f0f\u5316\u4ee3\u7801\u7b49\u7b49\u3002"),(0,a.yg)("h3",{id:"\u5185\u5b58\u7ba1\u7406"},"\u5185\u5b58\u7ba1\u7406"),(0,a.yg)("p",null,"Rust \u4e0d\u50cf Go,Java \u4ee5\u53ca.NET Framework \u90a3\u6837\u4f7f\u7528\u81ea\u52a8\u5783\u573e\u56de\u6536\u7cfb\u7edf\u3002\u4e0d\u540c\u7684\u662f Rust \u901a\u8fc7 RAII \u6765\u7ba1\u7406\u5185\u5b58\u548c\u8d44\u6e90\uff0c\u8fd8\u53ef\u9009\u5f15\u7528\u8ba1\u6570\u3002Rust \u4ee5\u4f4e\u5f00\u9500\u63d0\u4f9b\u8d44\u6e90\u786e\u5b9a\u6027\u7ba1\u7406\u3002Rust \u4e5f\u652f\u6301\u503c\u7684\u6808\u5206\u914d\u5e76\u4e0d\u8868\u73b0\u6697\u7bb1\u3002"),(0,a.yg)("h3",{id:"\u6807\u51c6\u5e93"},"\u6807\u51c6\u5e93"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://doc.rust-lang.org/std/index.html"},"https://doc.rust-lang.org/std/index.html")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.rust-lang.org/zh-CN"},"\u5b98\u65b9\u7f51\u7ad9")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://baike.baidu.com/item/Rust%E8%AF%AD%E8%A8%80/9502634"},"\u767e\u5ea6\u767e\u79d1-Rust \u8bed\u8a00")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://kaisery.github.io/trpl-zh-cn/title-page.html"},"Rust \u7a0b\u5e8f\u8bbe\u8ba1\u9884\u7814 \u7b80\u4f53\u4e2d\u6587\u7248 \u975e\u5b98\u65b9")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://rust-book.junmajinlong.com/"},"\u9a8f\u9a6c\u91d1\u9f99-Rust \u7684\u5165\u95e8\u4e66\u7c4d"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/cd56b708.fbc9dc9f.js b/assets/js/cd56b708.2e3b511e.js similarity index 98% rename from assets/js/cd56b708.fbc9dc9f.js rename to assets/js/cd56b708.2e3b511e.js index 6683e5743..45300eccb 100644 --- a/assets/js/cd56b708.fbc9dc9f.js +++ b/assets/js/cd56b708.2e3b511e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[590],{15680:(e,r,t)=>{t.d(r,{xA:()=>s,yg:()=>m});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var i=n.createContext({}),c=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},s=function(e){var r=c(e.components);return n.createElement(i.Provider,{value:r},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=c(t),y=o,m=u["".concat(i,".").concat(y)]||u[y]||g[y]||a;return t?n.createElement(m,l(l({ref:r},s),{},{components:t})):n.createElement(m,l({ref:r},s))}));function m(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,l=new Array(a);l[0]=y;var p={};for(var i in r)hasOwnProperty.call(r,i)&&(p[i]=r[i]);p.originalType=e,p[u]="string"==typeof e?e:o,l[1]=p;for(var c=2;c{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>l,default:()=>g,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=t(58168),o=(t(96540),t(15680));const a={},l=void 0,p={unversionedId:"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",id:"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",title:"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",description:"\u811a\u672c",source:"@site/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",permalink:"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CGO",permalink:"/docs/study/program/Golang/CGO"},next:{title:"\u5e38\u7528\u7684\u5de5\u5177",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177"}},i={},c=[{value:"\u811a\u672c",id:"\u811a\u672c",level:3},{value:"\u5e38\u7528\u4ee3\u7406\u5730\u5740",id:"\u5e38\u7528\u4ee3\u7406\u5730\u5740",level:3}],s={toc:c},u="wrapper";function g(e){let{components:r,...t}=e;return(0,o.yg)(u,(0,n.A)({},s,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u811a\u672c"},"\u811a\u672c"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"go env -w GOPROXY=https://goproxy.cn\n")),(0,o.yg)("h3",{id:"\u5e38\u7528\u4ee3\u7406\u5730\u5740"},"\u5e38\u7528\u4ee3\u7406\u5730\u5740"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://goproxy.cn"},"https://goproxy.cn"),"\uff1a\u7531 Go \u793e\u533a\u63d0\u4f9b\u7684\u4e2d\u56fd\u5883\u5185\u7684\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u652f\u6301 Go 1.13 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://mirrors.aliyun.com/goproxy/"},"https://mirrors.aliyun.com/goproxy/"),"\uff1a\u963f\u91cc\u4e91\u63d0\u4f9b\u7684\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u901f\u5ea6\u8f83\u5feb\uff0c\u652f\u6301 Go 1.13 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://goproxy.io"},"https://goproxy.io"),"\uff1a\u7531 GOPROXY.IO \u63d0\u4f9b\u7684\u5168\u7403\u52a0\u901f\u7684\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u652f\u6301 Go 1.13 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://proxy.golang.org"},"https://proxy.golang.org"),"\uff1a\u7531 Google \u63d0\u4f9b\u7684\u5b98\u65b9\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u652f\u6301 Go 1.11 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002")))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[590],{15680:(e,r,t)=>{t.d(r,{xA:()=>s,yg:()=>m});var n=t(96540);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function l(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var i=n.createContext({}),c=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):l(l({},r),e)),t},s=function(e){var r=c(e.components);return n.createElement(i.Provider,{value:r},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),u=c(t),y=o,m=u["".concat(i,".").concat(y)]||u[y]||g[y]||a;return t?n.createElement(m,l(l({ref:r},s),{},{components:t})):n.createElement(m,l({ref:r},s))}));function m(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,l=new Array(a);l[0]=y;var p={};for(var i in r)hasOwnProperty.call(r,i)&&(p[i]=r[i]);p.originalType=e,p[u]="string"==typeof e?e:o,l[1]=p;for(var c=2;c{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>l,default:()=>g,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var n=t(58168),o=(t(96540),t(15680));const a={},l=void 0,p={unversionedId:"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",id:"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",title:"Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",description:"\u811a\u672c",source:"@site/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",permalink:"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"CGO",permalink:"/docs/study/program/Golang/CGO"},next:{title:"\u5e38\u7528\u7684\u5de5\u5177",permalink:"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177"}},i={},c=[{value:"\u811a\u672c",id:"\u811a\u672c",level:3},{value:"\u5e38\u7528\u4ee3\u7406\u5730\u5740",id:"\u5e38\u7528\u4ee3\u7406\u5730\u5740",level:3}],s={toc:c},u="wrapper";function g(e){let{components:r,...t}=e;return(0,o.yg)(u,(0,n.A)({},s,t,{components:r,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u811a\u672c"},"\u811a\u672c"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"go env -w GOPROXY=https://goproxy.cn\n")),(0,o.yg)("h3",{id:"\u5e38\u7528\u4ee3\u7406\u5730\u5740"},"\u5e38\u7528\u4ee3\u7406\u5730\u5740"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://goproxy.cn"},"https://goproxy.cn"),"\uff1a\u7531 Go \u793e\u533a\u63d0\u4f9b\u7684\u4e2d\u56fd\u5883\u5185\u7684\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u652f\u6301 Go 1.13 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://mirrors.aliyun.com/goproxy/"},"https://mirrors.aliyun.com/goproxy/"),"\uff1a\u963f\u91cc\u4e91\u63d0\u4f9b\u7684\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u901f\u5ea6\u8f83\u5feb\uff0c\u652f\u6301 Go 1.13 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://goproxy.io"},"https://goproxy.io"),"\uff1a\u7531 GOPROXY.IO \u63d0\u4f9b\u7684\u5168\u7403\u52a0\u901f\u7684\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u652f\u6301 Go 1.13 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://proxy.golang.org"},"https://proxy.golang.org"),"\uff1a\u7531 Google \u63d0\u4f9b\u7684\u5b98\u65b9\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u652f\u6301 Go 1.11 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002")))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ce0c2574.8b980de5.js b/assets/js/ce0c2574.e641ea8e.js similarity index 98% rename from assets/js/ce0c2574.8b980de5.js rename to assets/js/ce0c2574.e641ea8e.js index c6f33444f..d0e577127 100644 --- a/assets/js/ce0c2574.8b980de5.js +++ b/assets/js/ce0c2574.e641ea8e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2693],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),y=o,f=s["".concat(p,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/CPP/CGI",id:"study/program/CPP/CGI",title:"CGI",description:"\u53c2\u8003",source:"@site/docs/study/program/CPP/CGI.md",sourceDirName:"study/program/CPP",slug:"/study/program/CPP/CGI",permalink:"/docs/study/program/CPP/CGI",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C++",permalink:"/docs/study/program/CPP/"},next:{title:"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1",permalink:"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zhizhengguan/article/details/118519124"},"CSDN-C/C++\u7f16\u7a0b\uff1aCGI \u4e0e fastCGI"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2693],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),y=o,f=s["".concat(p,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/program/CPP/CGI",id:"study/program/CPP/CGI",title:"CGI",description:"\u53c2\u8003",source:"@site/docs/study/program/CPP/CGI.md",sourceDirName:"study/program/CPP",slug:"/study/program/CPP/CGI",permalink:"/docs/study/program/CPP/CGI",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"C++",permalink:"/docs/study/program/CPP/"},next:{title:"C++\u8fdb\u7a0b\u95f4\u901a\u4fe1",permalink:"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zhizhengguan/article/details/118519124"},"CSDN-C/C++\u7f16\u7a0b\uff1aCGI \u4e0e fastCGI"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d1731c9c.90118392.js b/assets/js/d1731c9c.5d487374.js similarity index 98% rename from assets/js/d1731c9c.90118392.js rename to assets/js/d1731c9c.5d487374.js index 9c496a647..62ba84535 100644 --- a/assets/js/d1731c9c.90118392.js +++ b/assets/js/d1731c9c.5d487374.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2840],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},l=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=u(e,["components","mdxType","originalType","parentName"]),s=c(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,p(p({ref:t},l),{},{components:r})):n.createElement(f,p({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,p=new Array(a);p[0]=y;var u={};for(var i in t)hasOwnProperty.call(t,i)&&(u[i]=t[i]);u.originalType=e,u[s]="string"==typeof e?e:o,p[1]=u;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>d,frontMatter:()=>a,metadata:()=>u,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},p=void 0,u={unversionedId:"study/devops/Linux\u53d1\u884c\u7248",id:"study/devops/Linux\u53d1\u884c\u7248",title:"Linux\u53d1\u884c\u7248",description:"OpenEuler",source:"@site/docs/study/devops/Linux\u53d1\u884c\u7248.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u53d1\u884c\u7248",permalink:"/docs/study/devops/Linux\u53d1\u884c\u7248",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",permalink:"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790"},next:{title:"Linux\u8fd0\u7ef4-GRUB",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB"}},i={},c=[{value:"OpenEuler",id:"openeuler",level:3}],l={toc:c},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"openeuler"},"OpenEuler"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://www.openeuler.org/zh/"},"OpenEuler\u5b98\u7f51")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2840],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},l=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=u(e,["components","mdxType","originalType","parentName"]),s=c(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,p(p({ref:t},l),{},{components:r})):n.createElement(f,p({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,p=new Array(a);p[0]=y;var u={};for(var i in t)hasOwnProperty.call(t,i)&&(u[i]=t[i]);u.originalType=e,u[s]="string"==typeof e?e:o,p[1]=u;for(var c=2;c{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>d,frontMatter:()=>a,metadata:()=>u,toc:()=>c});var n=r(58168),o=(r(96540),r(15680));const a={},p=void 0,u={unversionedId:"study/devops/Linux\u53d1\u884c\u7248",id:"study/devops/Linux\u53d1\u884c\u7248",title:"Linux\u53d1\u884c\u7248",description:"OpenEuler",source:"@site/docs/study/devops/Linux\u53d1\u884c\u7248.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u53d1\u884c\u7248",permalink:"/docs/study/devops/Linux\u53d1\u884c\u7248",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"API\u7684\u8bf7\u6c42\u91cf\u5206\u6790",permalink:"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790"},next:{title:"Linux\u8fd0\u7ef4-GRUB",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB"}},i={},c=[{value:"OpenEuler",id:"openeuler",level:3}],l={toc:c},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"openeuler"},"OpenEuler"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://www.openeuler.org/zh/"},"OpenEuler\u5b98\u7f51")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d188aee2.67af3857.js b/assets/js/d188aee2.5bb292b0.js similarity index 99% rename from assets/js/d188aee2.67af3857.js rename to assets/js/d188aee2.5bb292b0.js index e2be5fb1e..30ea97121 100644 --- a/assets/js/d188aee2.67af3857.js +++ b/assets/js/d188aee2.5bb292b0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2709],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),p=l(r),y=o,f=p["".concat(s,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/think/\u6982\u5ff5\u6a21\u578b/Proactor",id:"study/think/\u6982\u5ff5\u6a21\u578b/Proactor",title:"Proactor",description:"Reactor \u662f\u975e\u963b\u585e\u540c\u6b65\u7f51\u7edc\u6a21\u578b\uff0c\u56e0\u4e3a\u771f\u6b63\u7684 read \u548c send \u64cd\u4f5c\u90fd\u9700\u8981\u7528\u6237\u8fdb\u7a0b\u540c\u6b65\u64cd\u4f5c\u3002\u8fd9\u91cc\u7684\u201c\u540c\u6b65\u201d\u6307\u7528\u6237\u8fdb\u7a0b\u5728\u6267\u884c read \u548c send \u8fd9\u7c7b I/O \u64cd\u4f5c\u7684\u65f6\u5019\u662f\u540c\u6b65\u7684\uff0c\u5982\u679c\u628a I/O \u64cd\u4f5c\u6539\u4e3a\u5f02\u6b65\u5c31\u80fd\u591f\u8fdb\u4e00\u6b65\u63d0\u5347\u6027\u80fd\uff0c\u8fd9\u5c31\u662f\u5f02\u6b65\u7f51\u7edc\u6a21\u578b Proactor\u3002",source:"@site/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor.md",sourceDirName:"study/think/\u6982\u5ff5\u6a21\u578b",slug:"/study/think/\u6982\u5ff5\u6a21\u578b/Proactor",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Actor Model",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model"},next:{title:"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f"}},s={},l=[],u={toc:l},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"Reactor \u662f\u975e\u963b\u585e\u540c\u6b65\u7f51\u7edc\u6a21\u578b\uff0c\u56e0\u4e3a\u771f\u6b63\u7684 read \u548c send \u64cd\u4f5c\u90fd\u9700\u8981\u7528\u6237\u8fdb\u7a0b\u540c\u6b65\u64cd\u4f5c\u3002\u8fd9\u91cc\u7684\u201c\u540c\u6b65\u201d\u6307\u7528\u6237\u8fdb\u7a0b\u5728\u6267\u884c read \u548c send \u8fd9\u7c7b I/O \u64cd\u4f5c\u7684\u65f6\u5019\u662f\u540c\u6b65\u7684\uff0c\u5982\u679c\u628a I/O \u64cd\u4f5c\u6539\u4e3a\u5f02\u6b65\u5c31\u80fd\u591f\u8fdb\u4e00\u6b65\u63d0\u5347\u6027\u80fd\uff0c\u8fd9\u5c31\u662f\u5f02\u6b65\u7f51\u7edc\u6a21\u578b Proactor\u3002"),(0,o.yg)("p",null,"Proactor \u4e2d\u6587\u7ffb\u8bd1\u4e3a\u201c\u524d\u6444\u5668\u201d\u6bd4\u8f83\u96be\u7406\u89e3\uff0c\u4e0e\u5176\u7c7b\u4f3c\u7684\u5355\u8bcd\u662f proactive\uff0c\u542b\u4e49\u4e3a\u201c\u4e3b\u52a8\u7684\u201d\uff0c\u56e0\u6b64\u6211\u4eec\u7167\u732b\u753b\u864e\u7ffb\u8bd1\u4e3a\u201c\u4e3b\u52a8\u5668\u201d\u53cd\u800c\u66f4\u597d\u7406\u89e3\u3002Reactor \u53ef\u4ee5\u7406\u89e3\u4e3a\u201c\u6765\u4e86\u4e8b\u4ef6\u6211\u901a\u77e5\u4f60\uff0c\u4f60\u6765\u5904\u7406\u201d\uff0c\u800c Proactor \u53ef\u4ee5\u7406\u89e3\u4e3a\u201c\u6765\u4e86\u4e8b\u4ef6\u6211\u6765\u5904\u7406\uff0c\u5904\u7406\u5b8c\u4e86\u6211\u901a\u77e5\u4f60\u201d\u3002\u8fd9\u91cc\u7684\u201c\u6211\u201d\u5c31\u662f\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\uff0c\u201c\u4e8b\u4ef6\u201d\u5c31\u662f\u6709\u65b0\u8fde\u63a5\u3001\u6709\u6570\u636e\u53ef\u8bfb\u3001\u6709\u6570\u636e\u53ef\u5199\u7684\u8fd9\u4e9b I/O \u4e8b\u4ef6\uff0c\u201c\u4f60\u201d\u5c31\u662f\u6211\u4eec\u7684\u7a0b\u5e8f\u4ee3\u7801\u3002"),(0,o.yg)("p",null,"\u7406\u8bba\u4e0a Proactor \u6bd4 Reactor \u6548\u7387\u8981\u9ad8\u4e00\u4e9b\uff0c\u5f02\u6b65 I/O \u80fd\u591f\u5145\u5206\u5229\u7528 DMA \u7279\u6027\uff0c\u8ba9 I/O \u64cd\u4f5c\u4e0e\u8ba1\u7b97\u91cd\u53e0\uff0c\u4f46\u8981\u5b9e\u73b0\u771f\u6b63\u7684\u5f02\u6b65 I/O\uff0c\u64cd\u4f5c\u7cfb\u7edf\u9700\u8981\u505a\u5927\u91cf\u7684\u5de5\u4f5c\u3002\u76ee\u524d Windows \u4e0b\u901a\u8fc7 IOCP \u5b9e\u73b0\u4e86\u771f\u6b63\u7684\u5f02\u6b65 I/O\uff0c\u800c\u5728 Linux \u7cfb\u7edf\u4e0b\u7684 AIO \u5e76\u4e0d\u5b8c\u5584\uff0c\u56e0\u6b64\u5728 Linux \u4e0b\u5b9e\u73b0\u9ad8\u5e76\u53d1\u7f51\u7edc\u7f16\u7a0b\u65f6\u90fd\u662f\u4ee5 Reactor \u6a21\u5f0f\u4e3a\u4e3b\u3002\u6240\u4ee5\u5373\u4f7f Boost.Asio \u53f7\u79f0\u5b9e\u73b0\u4e86 Proactor \u6a21\u578b\uff0c\u5176\u5b9e\u5b83\u5728 Windows \u4e0b\u91c7\u7528 IOCP\uff0c\u800c\u5728 Linux \u4e0b\u662f\u7528 Reactor \u6a21\u5f0f\uff08\u91c7\u7528 epoll\uff09\u6a21\u62df\u51fa\u6765\u7684\u5f02\u6b65\u6a21\u578b\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2709],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),p=l(r),y=o,f=p["".concat(s,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/think/\u6982\u5ff5\u6a21\u578b/Proactor",id:"study/think/\u6982\u5ff5\u6a21\u578b/Proactor",title:"Proactor",description:"Reactor \u662f\u975e\u963b\u585e\u540c\u6b65\u7f51\u7edc\u6a21\u578b\uff0c\u56e0\u4e3a\u771f\u6b63\u7684 read \u548c send \u64cd\u4f5c\u90fd\u9700\u8981\u7528\u6237\u8fdb\u7a0b\u540c\u6b65\u64cd\u4f5c\u3002\u8fd9\u91cc\u7684\u201c\u540c\u6b65\u201d\u6307\u7528\u6237\u8fdb\u7a0b\u5728\u6267\u884c read \u548c send \u8fd9\u7c7b I/O \u64cd\u4f5c\u7684\u65f6\u5019\u662f\u540c\u6b65\u7684\uff0c\u5982\u679c\u628a I/O \u64cd\u4f5c\u6539\u4e3a\u5f02\u6b65\u5c31\u80fd\u591f\u8fdb\u4e00\u6b65\u63d0\u5347\u6027\u80fd\uff0c\u8fd9\u5c31\u662f\u5f02\u6b65\u7f51\u7edc\u6a21\u578b Proactor\u3002",source:"@site/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor.md",sourceDirName:"study/think/\u6982\u5ff5\u6a21\u578b",slug:"/study/think/\u6982\u5ff5\u6a21\u578b/Proactor",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Actor Model",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model"},next:{title:"Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f"}},s={},l=[],u={toc:l},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"Reactor \u662f\u975e\u963b\u585e\u540c\u6b65\u7f51\u7edc\u6a21\u578b\uff0c\u56e0\u4e3a\u771f\u6b63\u7684 read \u548c send \u64cd\u4f5c\u90fd\u9700\u8981\u7528\u6237\u8fdb\u7a0b\u540c\u6b65\u64cd\u4f5c\u3002\u8fd9\u91cc\u7684\u201c\u540c\u6b65\u201d\u6307\u7528\u6237\u8fdb\u7a0b\u5728\u6267\u884c read \u548c send \u8fd9\u7c7b I/O \u64cd\u4f5c\u7684\u65f6\u5019\u662f\u540c\u6b65\u7684\uff0c\u5982\u679c\u628a I/O \u64cd\u4f5c\u6539\u4e3a\u5f02\u6b65\u5c31\u80fd\u591f\u8fdb\u4e00\u6b65\u63d0\u5347\u6027\u80fd\uff0c\u8fd9\u5c31\u662f\u5f02\u6b65\u7f51\u7edc\u6a21\u578b Proactor\u3002"),(0,o.yg)("p",null,"Proactor \u4e2d\u6587\u7ffb\u8bd1\u4e3a\u201c\u524d\u6444\u5668\u201d\u6bd4\u8f83\u96be\u7406\u89e3\uff0c\u4e0e\u5176\u7c7b\u4f3c\u7684\u5355\u8bcd\u662f proactive\uff0c\u542b\u4e49\u4e3a\u201c\u4e3b\u52a8\u7684\u201d\uff0c\u56e0\u6b64\u6211\u4eec\u7167\u732b\u753b\u864e\u7ffb\u8bd1\u4e3a\u201c\u4e3b\u52a8\u5668\u201d\u53cd\u800c\u66f4\u597d\u7406\u89e3\u3002Reactor \u53ef\u4ee5\u7406\u89e3\u4e3a\u201c\u6765\u4e86\u4e8b\u4ef6\u6211\u901a\u77e5\u4f60\uff0c\u4f60\u6765\u5904\u7406\u201d\uff0c\u800c Proactor \u53ef\u4ee5\u7406\u89e3\u4e3a\u201c\u6765\u4e86\u4e8b\u4ef6\u6211\u6765\u5904\u7406\uff0c\u5904\u7406\u5b8c\u4e86\u6211\u901a\u77e5\u4f60\u201d\u3002\u8fd9\u91cc\u7684\u201c\u6211\u201d\u5c31\u662f\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\uff0c\u201c\u4e8b\u4ef6\u201d\u5c31\u662f\u6709\u65b0\u8fde\u63a5\u3001\u6709\u6570\u636e\u53ef\u8bfb\u3001\u6709\u6570\u636e\u53ef\u5199\u7684\u8fd9\u4e9b I/O \u4e8b\u4ef6\uff0c\u201c\u4f60\u201d\u5c31\u662f\u6211\u4eec\u7684\u7a0b\u5e8f\u4ee3\u7801\u3002"),(0,o.yg)("p",null,"\u7406\u8bba\u4e0a Proactor \u6bd4 Reactor \u6548\u7387\u8981\u9ad8\u4e00\u4e9b\uff0c\u5f02\u6b65 I/O \u80fd\u591f\u5145\u5206\u5229\u7528 DMA \u7279\u6027\uff0c\u8ba9 I/O \u64cd\u4f5c\u4e0e\u8ba1\u7b97\u91cd\u53e0\uff0c\u4f46\u8981\u5b9e\u73b0\u771f\u6b63\u7684\u5f02\u6b65 I/O\uff0c\u64cd\u4f5c\u7cfb\u7edf\u9700\u8981\u505a\u5927\u91cf\u7684\u5de5\u4f5c\u3002\u76ee\u524d Windows \u4e0b\u901a\u8fc7 IOCP \u5b9e\u73b0\u4e86\u771f\u6b63\u7684\u5f02\u6b65 I/O\uff0c\u800c\u5728 Linux \u7cfb\u7edf\u4e0b\u7684 AIO \u5e76\u4e0d\u5b8c\u5584\uff0c\u56e0\u6b64\u5728 Linux \u4e0b\u5b9e\u73b0\u9ad8\u5e76\u53d1\u7f51\u7edc\u7f16\u7a0b\u65f6\u90fd\u662f\u4ee5 Reactor \u6a21\u5f0f\u4e3a\u4e3b\u3002\u6240\u4ee5\u5373\u4f7f Boost.Asio \u53f7\u79f0\u5b9e\u73b0\u4e86 Proactor \u6a21\u578b\uff0c\u5176\u5b9e\u5b83\u5728 Windows \u4e0b\u91c7\u7528 IOCP\uff0c\u800c\u5728 Linux \u4e0b\u662f\u7528 Reactor \u6a21\u5f0f\uff08\u91c7\u7528 epoll\uff09\u6a21\u62df\u51fa\u6765\u7684\u5f02\u6b65\u6a21\u578b\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d29ac9c5.56910cca.js b/assets/js/d29ac9c5.97fc2d52.js similarity index 98% rename from assets/js/d29ac9c5.56910cca.js rename to assets/js/d29ac9c5.97fc2d52.js index e3615d0ac..248e956ea 100644 --- a/assets/js/d29ac9c5.56910cca.js +++ b/assets/js/d29ac9c5.97fc2d52.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1648],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(r),m=a,f=s["".concat(i,".").concat(m)]||s[m]||y[m]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=m;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[s]="string"==typeof e?e:a,c[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>l,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,l={unversionedId:"study/back/mq/RocketMQ",id:"study/back/mq/RocketMQ",title:"RocketMQ",description:"RocketMQ \u548c Kafka \u6709\u4ec0\u4e48\u533a\u522b\uff1f",source:"@site/docs/study/back/mq/RocketMQ.md",sourceDirName:"study/back/mq",slug:"/study/back/mq/RocketMQ",permalink:"/docs/study/back/mq/RocketMQ",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MQ\u5b9e\u73b0\u5bf9\u6bd4",permalink:"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4"},next:{title:"@Configuration",permalink:"/docs/study/back/spring/@Configuration"}},i={},p=[{value:"RocketMQ \u548c Kafka \u6709\u4ec0\u4e48\u533a\u522b\uff1f",id:"rocketmq-\u548c-kafka-\u6709\u4ec0\u4e48\u533a\u522b",level:3},{value:"\u4e3a\u4ec0\u4e48\u963f\u91cc\u4f1a\u81ea\u7814RocketMQ\uff1f",id:"\u4e3a\u4ec0\u4e48\u963f\u91cc\u4f1a\u81ea\u7814rocketmq",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"rocketmq-\u548c-kafka-\u6709\u4ec0\u4e48\u533a\u522b"},"RocketMQ \u548c Kafka \u6709\u4ec0\u4e48\u533a\u522b\uff1f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u9002\u7528\u573a\u666f"),"\uff1aKafka\u9002\u5408\u65e5\u5fd7\u5904\u7406\uff1bRocketMQ\u9002\u5408\u4e1a\u52a1\u5904\u7406\u3002 "),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u6027\u80fd"),"\uff1aKafka\u5355\u673a\u5199\u5165TPS\u53f7\u79f0\u5728\u767e\u4e07\u6761/\u79d2\uff1bRocketMQ\u5927\u7ea6\u572810\u4e07\u6761/\u79d2\u3002Kafka\u5355\u673a\u6027\u80fd\u66f4\u9ad8\u3002 "),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u53ef\u9760\u6027"),"\uff1aRocketMQ\u652f\u6301\u5f02\u6b65/\u540c\u6b65\u5237\u76d8;\u5f02\u6b65/\u540c\u6b65Replication\uff1bKafka\u4f7f\u7528\u5f02\u6b65\u5237\u76d8\u65b9\u5f0f\uff0c\u5f02\u6b65Replication\u3002RocketMQ\u6240\u652f\u6301\u7684\u540c\u6b65\u65b9\u5f0f\u63d0\u5347\u4e86\u6570\u636e\u7684\u53ef\u9760\u6027\u3002 "),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u5b9e\u65f6\u6027"),"\uff1a\u5747\u652f\u6301pull\u957f\u8f6e\u8be2\uff0cRocketMQ\u6d88\u606f\u5b9e\u65f6\u6027\u66f4\u597d "),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u652f\u6301\u7684\u961f\u5217\u6570"),"\uff1aKafka\u5355\u673a\u8d85\u8fc764\u4e2a\u961f\u5217/\u5206\u533a\uff0c\u6d88\u606f\u53d1\u9001\u6027\u80fd\u964d\u4f4e\u4e25\u91cd\uff1bRocketMQ\u5355\u673a\u652f\u6301\u6700\u9ad85\u4e07\u4e2a\u961f\u5217\uff0c\u6027\u80fd\u7a33\u5b9a\uff08\u8fd9\u4e5f\u662f\u9002\u5408\u4e1a\u52a1\u5904\u7406\u7684\u539f\u56e0\u4e4b\u4e00\uff09")),(0,a.yg)("h3",{id:"\u4e3a\u4ec0\u4e48\u963f\u91cc\u4f1a\u81ea\u7814rocketmq"},"\u4e3a\u4ec0\u4e48\u963f\u91cc\u4f1a\u81ea\u7814RocketMQ\uff1f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"Kafka\u7684\u4e1a\u52a1\u5e94\u7528\u573a\u666f\u4e3b\u8981\u5b9a\u4f4d\u4e8e\u65e5\u5fd7\u4f20\u8f93\uff1b\u5bf9\u4e8e\u590d\u6742\u4e1a\u52a1\u652f\u6301\u4e0d\u591f "),(0,a.yg)("li",{parentName:"ol"},"\u963f\u91cc\u5f88\u591a\u4e1a\u52a1\u573a\u666f\u5bf9\u6570\u636e\u53ef\u9760\u6027\u3001\u6570\u636e\u5b9e\u65f6\u6027\u3001\u6d88\u606f\u961f\u5217\u7684\u4e2a\u6570\u7b49\u65b9\u9762\u7684\u8981\u6c42\u5f88\u9ad8 "),(0,a.yg)("li",{parentName:"ol"},"\u5f53\u4e1a\u52a1\u6210\u957f\u5230\u4e00\u5b9a\u89c4\u6a21\uff0c\u91c7\u7528\u5f00\u6e90\u65b9\u6848\u7684\u6280\u672f\u6210\u672c\u4f1a\u53d8\u9ad8\uff08\u5f00\u6e90\u65b9\u6848\u65e0\u6cd5\u6ee1\u8db3\u4e1a\u52a1\u7684\u9700\u8981\uff1b\u65e7\u7248\u672c\u3001\u81ea\u5f00\u53d1\u4ee3\u7801\u4e0e\u65b0\u7248\u672c\u7684\u517c\u5bb9\u7b49\uff09 "),(0,a.yg)("li",{parentName:"ol"},"\u963f\u91cc\u5728\u56e2\u961f\u3001\u6210\u672c\u3001\u8d44\u6e90\u6295\u5165\u7b49\u65b9\u9762\u7ea6\u675f\u6027\u6761\u4ef6\u51e0\u4e4e\u6ca1\u6709")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1648],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),s=p(r),m=a,f=s["".concat(i,".").concat(m)]||s[m]||y[m]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=m;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[s]="string"==typeof e?e:a,c[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>l,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,l={unversionedId:"study/back/mq/RocketMQ",id:"study/back/mq/RocketMQ",title:"RocketMQ",description:"RocketMQ \u548c Kafka \u6709\u4ec0\u4e48\u533a\u522b\uff1f",source:"@site/docs/study/back/mq/RocketMQ.md",sourceDirName:"study/back/mq",slug:"/study/back/mq/RocketMQ",permalink:"/docs/study/back/mq/RocketMQ",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"MQ\u5b9e\u73b0\u5bf9\u6bd4",permalink:"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4"},next:{title:"@Configuration",permalink:"/docs/study/back/spring/@Configuration"}},i={},p=[{value:"RocketMQ \u548c Kafka \u6709\u4ec0\u4e48\u533a\u522b\uff1f",id:"rocketmq-\u548c-kafka-\u6709\u4ec0\u4e48\u533a\u522b",level:3},{value:"\u4e3a\u4ec0\u4e48\u963f\u91cc\u4f1a\u81ea\u7814RocketMQ\uff1f",id:"\u4e3a\u4ec0\u4e48\u963f\u91cc\u4f1a\u81ea\u7814rocketmq",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"rocketmq-\u548c-kafka-\u6709\u4ec0\u4e48\u533a\u522b"},"RocketMQ \u548c Kafka \u6709\u4ec0\u4e48\u533a\u522b\uff1f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u9002\u7528\u573a\u666f"),"\uff1aKafka\u9002\u5408\u65e5\u5fd7\u5904\u7406\uff1bRocketMQ\u9002\u5408\u4e1a\u52a1\u5904\u7406\u3002 "),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u6027\u80fd"),"\uff1aKafka\u5355\u673a\u5199\u5165TPS\u53f7\u79f0\u5728\u767e\u4e07\u6761/\u79d2\uff1bRocketMQ\u5927\u7ea6\u572810\u4e07\u6761/\u79d2\u3002Kafka\u5355\u673a\u6027\u80fd\u66f4\u9ad8\u3002 "),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u53ef\u9760\u6027"),"\uff1aRocketMQ\u652f\u6301\u5f02\u6b65/\u540c\u6b65\u5237\u76d8;\u5f02\u6b65/\u540c\u6b65Replication\uff1bKafka\u4f7f\u7528\u5f02\u6b65\u5237\u76d8\u65b9\u5f0f\uff0c\u5f02\u6b65Replication\u3002RocketMQ\u6240\u652f\u6301\u7684\u540c\u6b65\u65b9\u5f0f\u63d0\u5347\u4e86\u6570\u636e\u7684\u53ef\u9760\u6027\u3002 "),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u5b9e\u65f6\u6027"),"\uff1a\u5747\u652f\u6301pull\u957f\u8f6e\u8be2\uff0cRocketMQ\u6d88\u606f\u5b9e\u65f6\u6027\u66f4\u597d "),(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("strong",{parentName:"li"},"\u652f\u6301\u7684\u961f\u5217\u6570"),"\uff1aKafka\u5355\u673a\u8d85\u8fc764\u4e2a\u961f\u5217/\u5206\u533a\uff0c\u6d88\u606f\u53d1\u9001\u6027\u80fd\u964d\u4f4e\u4e25\u91cd\uff1bRocketMQ\u5355\u673a\u652f\u6301\u6700\u9ad85\u4e07\u4e2a\u961f\u5217\uff0c\u6027\u80fd\u7a33\u5b9a\uff08\u8fd9\u4e5f\u662f\u9002\u5408\u4e1a\u52a1\u5904\u7406\u7684\u539f\u56e0\u4e4b\u4e00\uff09")),(0,a.yg)("h3",{id:"\u4e3a\u4ec0\u4e48\u963f\u91cc\u4f1a\u81ea\u7814rocketmq"},"\u4e3a\u4ec0\u4e48\u963f\u91cc\u4f1a\u81ea\u7814RocketMQ\uff1f"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},"Kafka\u7684\u4e1a\u52a1\u5e94\u7528\u573a\u666f\u4e3b\u8981\u5b9a\u4f4d\u4e8e\u65e5\u5fd7\u4f20\u8f93\uff1b\u5bf9\u4e8e\u590d\u6742\u4e1a\u52a1\u652f\u6301\u4e0d\u591f "),(0,a.yg)("li",{parentName:"ol"},"\u963f\u91cc\u5f88\u591a\u4e1a\u52a1\u573a\u666f\u5bf9\u6570\u636e\u53ef\u9760\u6027\u3001\u6570\u636e\u5b9e\u65f6\u6027\u3001\u6d88\u606f\u961f\u5217\u7684\u4e2a\u6570\u7b49\u65b9\u9762\u7684\u8981\u6c42\u5f88\u9ad8 "),(0,a.yg)("li",{parentName:"ol"},"\u5f53\u4e1a\u52a1\u6210\u957f\u5230\u4e00\u5b9a\u89c4\u6a21\uff0c\u91c7\u7528\u5f00\u6e90\u65b9\u6848\u7684\u6280\u672f\u6210\u672c\u4f1a\u53d8\u9ad8\uff08\u5f00\u6e90\u65b9\u6848\u65e0\u6cd5\u6ee1\u8db3\u4e1a\u52a1\u7684\u9700\u8981\uff1b\u65e7\u7248\u672c\u3001\u81ea\u5f00\u53d1\u4ee3\u7801\u4e0e\u65b0\u7248\u672c\u7684\u517c\u5bb9\u7b49\uff09 "),(0,a.yg)("li",{parentName:"ol"},"\u963f\u91cc\u5728\u56e2\u961f\u3001\u6210\u672c\u3001\u8d44\u6e90\u6295\u5165\u7b49\u65b9\u9762\u7ea6\u675f\u6027\u6761\u4ef6\u51e0\u4e4e\u6ca1\u6709")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d3208707.b2eaf48e.js b/assets/js/d3208707.bb0c2b0e.js similarity index 99% rename from assets/js/d3208707.b2eaf48e.js rename to assets/js/d3208707.bb0c2b0e.js index 6d34821c7..022a366e4 100644 --- a/assets/js/d3208707.b2eaf48e.js +++ b/assets/js/d3208707.bb0c2b0e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9942],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),c=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(s.Provider,{value:t},e.children)},y="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,s=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),y=c(r),d=a,m=y["".concat(s,".").concat(d)]||y[d]||p[d]||i;return r?n.createElement(m,l(l({ref:t},u),{},{components:r})):n.createElement(m,l({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,l=new Array(i);l[0]=d;var o={};for(var s in t)hasOwnProperty.call(t,s)&&(o[s]=t[s]);o.originalType=e,o[y]="string"==typeof e?e:a,l[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>p,frontMatter:()=>i,metadata:()=>o,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const i={},l=void 0,o={unversionedId:"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis",id:"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis",title:"MyBatis",description:"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863",source:"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis.md",sourceDirName:"study/back/\u6570\u636e\u5e93\u76f8\u5173",slug:"/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60"},next:{title:"log4jdbc",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc"}},s={},c=[{value:"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863",id:"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863",level:3},{value:"MyBatis \u7f13\u5b58",id:"mybatis-\u7f13\u5b58",level:3},{value:"\u4f5c\u7528\u8303\u56f4",id:"\u4f5c\u7528\u8303\u56f4",level:4},{value:"\u7f13\u5b58\u4f4d\u7f6e",id:"\u7f13\u5b58\u4f4d\u7f6e",level:4},{value:"\u7f13\u5b58\u8fc7\u671f",id:"\u7f13\u5b58\u8fc7\u671f",level:4}],u={toc:c},y="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863"},"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://mybatis.org/mybatis-3/zh_CN/index.html"},"MyBatis \u5b98\u65b9\u53c2\u8003\u6587\u6863")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/mybatis"},"GitHub-MyBatis")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/mybatis/spring-boot-starter"},"MyBatis integration with Spring Boot"))),(0,a.yg)("h3",{id:"mybatis-\u7f13\u5b58"},"MyBatis \u7f13\u5b58"),(0,a.yg)("p",null,"myabtis \u7684\u7f13\u5b58\u5206\u4e3a\u4e00\u7ea7\u7f13\u5b58\u548c\u4e8c\u7ea7\u7f13\u5b58\uff0c\u9ed8\u8ba4\u5f00\u542f\u4e00\u7ea7\u7f13\u5b58\uff0c\u5173\u95ed\u4e8c\u7ea7\u7f13\u5b58\uff0c\u4e00\u7ea7\u7f13\u5b58\u65f6 sqlSession \u7ea7\u522b\uff0c\u4e8c\u7ea7\u7f13\u5b58\u662f namespace \u7ea7\u522b\u3002"),(0,a.yg)("h4",{id:"\u4f5c\u7528\u8303\u56f4"},"\u4f5c\u7528\u8303\u56f4"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u4e00\u7ea7\u7f13\u5b58\u662f\u4f1a\u8bdd\u7ea7\u522b\u7684\u7f13\u5b58\uff0c\u5373 sqlSession \u7ea7\u522b\uff0c\u4f1a\u8bdd\u7ed3\u675f\uff0c\u6e05\u9664\u4f1a\u8bdd\u4e2d\u7684\u7f13\u5b58\u6570\u636e\uff0c\u5b9e\u9645\u4ee3\u7801\u4e2d\u901a\u8fc7\u901a\u8fc7\u5f00\u542f\u4e8b\u52a1\u8ba9\u591a\u4e2a\u6570\u636e\u5e93\u64cd\u4f5c\u5171\u4eab\u4e00\u4e2a sqlSession\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u4e8c\u7ea7\u7f13\u5b58: \u5168\u5c40\u7ea7\u522b\uff0c\u4e5f\u53eb namespace \u7ea7\u522b\uff0c\u4f1a\u8bdd\u7ed3\u675f\uff0c\u7f13\u5b58\u4f9d\u7136\u5b58\u5728\uff0c\u591a\u4e2a\u8bf7\u6c42\u53ef\u4ee5\u5171\u4eab\u7f13\u5b58\u6570\u636e\u3002")),(0,a.yg)("h4",{id:"\u7f13\u5b58\u4f4d\u7f6e"},"\u7f13\u5b58\u4f4d\u7f6e"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u4e00\u7ea7\u7f13\u5b58\u7531\u4e8e\u662f sqlSession \u7ea7\u522b\uff0c\u672c\u8d28\u4e0a\u662f\u5728 JVM \u4e2d\u521b\u5efa\u4e00\u4e2a Map \u96c6\u5408\u5bf9\u8c61\u4fdd\u5b58\u7f13\u5b58\u6570\u636e\uff0c\u6240\u4ee5\u7f13\u5b58\u6570\u636e\u4fdd\u7559\u7684\u5730\u65b9\u662f\u672c\u5730 JVM \u5185\u5b58\u4e2d\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u4e8c\u7ea7\u7f13\u5b58\u9ed8\u8ba4\u4e5f\u662f\u4fdd\u5b58\u5728 JVM \u4e2d\uff0c\u4f46\u662f\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u5c06\u7f13\u5b58\u6570\u636e\u4fdd\u5b58\u5230\u7b2c\u4e09\u65b9\u7f13\u5b58\u4e2d\uff0c\u6bd4\u5982 ehcache\u3001redis\u3002\u4fdd\u5b58\u5728 redis \u8fd9\u4e9b\u7684\u5206\u5e03\u5f0f\u7f13\u5b58\u4e2d\uff0c\u80fd\u63d0\u4f9b\u66f4\u597d\u7684\u5206\u5e03\u5f0f\u573a\u666f\u7684\u652f\u6301\u3002")),(0,a.yg)("h4",{id:"\u7f13\u5b58\u8fc7\u671f"},"\u7f13\u5b58\u8fc7\u671f"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u4e00\u7ea7\u7f13\u5b58\u65e0\u8fc7\u671f\u65f6\u95f4\uff0c\u53ea\u6709\u751f\u547d\u5468\u671f\uff0c\u7f13\u5b58\u4f1a\u5148\u653e\u5728\u4e00\u7ea7\u7f13\u5b58\u4e2d\uff0c\u5f53 sqlSession \u4f1a\u8bdd\u63d0\u4ea4\u6216\u8005\u5173\u95ed\u65f6\u624d\u4f1a\u5c06\u4e00\u7ea7\u7f13\u5b58\u5237\u65b0\u5230\u4e8c\u7ea7\u7f13\u5b58\u4e2d\uff1b\u5f00\u542f\u4e8c\u7ea7\u7f13\u5b58\u540e\uff0c\u7528\u6237\u67e5\u8be2\u65f6\uff0c\u4f1a\u5148\u53bb\u4e8c\u7ea7\u7f13\u5b58\u4e2d\u627e\uff0c\u627e\u4e0d\u5230\u5728\u53bb\u4e00\u7ea7\u7f13\u5b58\u4e2d\u627e\uff0c\u7136\u540e\u624d\u53bb\u6570\u636e\u5e93\u67e5\u8be2\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u4e8c\u7ea7\u7f13\u5b58\u7684\u8fc7\u671f\u65f6\u95f4\u9ed8\u8ba4\u662f 1 \u5c0f\u65f6\uff0c\u5982\u679c\u8fd9\u4e2a cache \u5b58\u6d3b\u4e86\u4e00\u4e2a\u5c0f\u65f6\uff0c\u90a3\u4e48\u5c06\u6574\u4e2a\u6e05\u7a7a\u4e00\u4e0b\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5e76\u4e0d\u662f key-value \u7684\u8fc7\u671f\u65f6\u95f4\uff0c\u800c\u662f\u8fd9\u4e2a cache \u7684\u8fc7\u671f\u65f6\u95f4\uff0c\u662f flushInterval\uff0c\u610f\u5473\u7740\u6574\u4e2a\u6e05\u7a7a\u7f13\u5b58 cache\uff0c\u6240\u4ee5\u4e0d\u9700\u8981\u540e\u53f0\u7ebf\u7a0b\u53bb\u5b9a\u65f6\u68c0\u6d4b\uff0c\u6bcf\u5f53\u5b58\u53d6\u6570\u636e\u7684\u65f6\u5019\uff0c\u90fd\u6709\u68c0\u6d4b\u4e00\u4e0b cache \u7684\u751f\u547d\u65f6\u95f4\u3002")))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9942],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),c=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(s.Provider,{value:t},e.children)},y="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,s=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),y=c(r),d=a,m=y["".concat(s,".").concat(d)]||y[d]||p[d]||i;return r?n.createElement(m,l(l({ref:t},u),{},{components:r})):n.createElement(m,l({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,l=new Array(i);l[0]=d;var o={};for(var s in t)hasOwnProperty.call(t,s)&&(o[s]=t[s]);o.originalType=e,o[y]="string"==typeof e?e:a,l[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>p,frontMatter:()=>i,metadata:()=>o,toc:()=>c});var n=r(58168),a=(r(96540),r(15680));const i={},l=void 0,o={unversionedId:"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis",id:"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis",title:"MyBatis",description:"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863",source:"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis.md",sourceDirName:"study/back/\u6570\u636e\u5e93\u76f8\u5173",slug:"/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60"},next:{title:"log4jdbc",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc"}},s={},c=[{value:"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863",id:"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863",level:3},{value:"MyBatis \u7f13\u5b58",id:"mybatis-\u7f13\u5b58",level:3},{value:"\u4f5c\u7528\u8303\u56f4",id:"\u4f5c\u7528\u8303\u56f4",level:4},{value:"\u7f13\u5b58\u4f4d\u7f6e",id:"\u7f13\u5b58\u4f4d\u7f6e",level:4},{value:"\u7f13\u5b58\u8fc7\u671f",id:"\u7f13\u5b58\u8fc7\u671f",level:4}],u={toc:c},y="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863"},"\u4e00\u4e9b\u7ecf\u5e38\u8bfb\u7684\u5b98\u65b9\u6587\u6863"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://mybatis.org/mybatis-3/zh_CN/index.html"},"MyBatis \u5b98\u65b9\u53c2\u8003\u6587\u6863")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/mybatis"},"GitHub-MyBatis")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://github.com/mybatis/spring-boot-starter"},"MyBatis integration with Spring Boot"))),(0,a.yg)("h3",{id:"mybatis-\u7f13\u5b58"},"MyBatis \u7f13\u5b58"),(0,a.yg)("p",null,"myabtis \u7684\u7f13\u5b58\u5206\u4e3a\u4e00\u7ea7\u7f13\u5b58\u548c\u4e8c\u7ea7\u7f13\u5b58\uff0c\u9ed8\u8ba4\u5f00\u542f\u4e00\u7ea7\u7f13\u5b58\uff0c\u5173\u95ed\u4e8c\u7ea7\u7f13\u5b58\uff0c\u4e00\u7ea7\u7f13\u5b58\u65f6 sqlSession \u7ea7\u522b\uff0c\u4e8c\u7ea7\u7f13\u5b58\u662f namespace \u7ea7\u522b\u3002"),(0,a.yg)("h4",{id:"\u4f5c\u7528\u8303\u56f4"},"\u4f5c\u7528\u8303\u56f4"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u4e00\u7ea7\u7f13\u5b58\u662f\u4f1a\u8bdd\u7ea7\u522b\u7684\u7f13\u5b58\uff0c\u5373 sqlSession \u7ea7\u522b\uff0c\u4f1a\u8bdd\u7ed3\u675f\uff0c\u6e05\u9664\u4f1a\u8bdd\u4e2d\u7684\u7f13\u5b58\u6570\u636e\uff0c\u5b9e\u9645\u4ee3\u7801\u4e2d\u901a\u8fc7\u901a\u8fc7\u5f00\u542f\u4e8b\u52a1\u8ba9\u591a\u4e2a\u6570\u636e\u5e93\u64cd\u4f5c\u5171\u4eab\u4e00\u4e2a sqlSession\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u4e8c\u7ea7\u7f13\u5b58: \u5168\u5c40\u7ea7\u522b\uff0c\u4e5f\u53eb namespace \u7ea7\u522b\uff0c\u4f1a\u8bdd\u7ed3\u675f\uff0c\u7f13\u5b58\u4f9d\u7136\u5b58\u5728\uff0c\u591a\u4e2a\u8bf7\u6c42\u53ef\u4ee5\u5171\u4eab\u7f13\u5b58\u6570\u636e\u3002")),(0,a.yg)("h4",{id:"\u7f13\u5b58\u4f4d\u7f6e"},"\u7f13\u5b58\u4f4d\u7f6e"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u4e00\u7ea7\u7f13\u5b58\u7531\u4e8e\u662f sqlSession \u7ea7\u522b\uff0c\u672c\u8d28\u4e0a\u662f\u5728 JVM \u4e2d\u521b\u5efa\u4e00\u4e2a Map \u96c6\u5408\u5bf9\u8c61\u4fdd\u5b58\u7f13\u5b58\u6570\u636e\uff0c\u6240\u4ee5\u7f13\u5b58\u6570\u636e\u4fdd\u7559\u7684\u5730\u65b9\u662f\u672c\u5730 JVM \u5185\u5b58\u4e2d\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u4e8c\u7ea7\u7f13\u5b58\u9ed8\u8ba4\u4e5f\u662f\u4fdd\u5b58\u5728 JVM \u4e2d\uff0c\u4f46\u662f\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u5c06\u7f13\u5b58\u6570\u636e\u4fdd\u5b58\u5230\u7b2c\u4e09\u65b9\u7f13\u5b58\u4e2d\uff0c\u6bd4\u5982 ehcache\u3001redis\u3002\u4fdd\u5b58\u5728 redis \u8fd9\u4e9b\u7684\u5206\u5e03\u5f0f\u7f13\u5b58\u4e2d\uff0c\u80fd\u63d0\u4f9b\u66f4\u597d\u7684\u5206\u5e03\u5f0f\u573a\u666f\u7684\u652f\u6301\u3002")),(0,a.yg)("h4",{id:"\u7f13\u5b58\u8fc7\u671f"},"\u7f13\u5b58\u8fc7\u671f"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u4e00\u7ea7\u7f13\u5b58\u65e0\u8fc7\u671f\u65f6\u95f4\uff0c\u53ea\u6709\u751f\u547d\u5468\u671f\uff0c\u7f13\u5b58\u4f1a\u5148\u653e\u5728\u4e00\u7ea7\u7f13\u5b58\u4e2d\uff0c\u5f53 sqlSession \u4f1a\u8bdd\u63d0\u4ea4\u6216\u8005\u5173\u95ed\u65f6\u624d\u4f1a\u5c06\u4e00\u7ea7\u7f13\u5b58\u5237\u65b0\u5230\u4e8c\u7ea7\u7f13\u5b58\u4e2d\uff1b\u5f00\u542f\u4e8c\u7ea7\u7f13\u5b58\u540e\uff0c\u7528\u6237\u67e5\u8be2\u65f6\uff0c\u4f1a\u5148\u53bb\u4e8c\u7ea7\u7f13\u5b58\u4e2d\u627e\uff0c\u627e\u4e0d\u5230\u5728\u53bb\u4e00\u7ea7\u7f13\u5b58\u4e2d\u627e\uff0c\u7136\u540e\u624d\u53bb\u6570\u636e\u5e93\u67e5\u8be2\uff1b"),(0,a.yg)("li",{parentName:"ul"},"\u4e8c\u7ea7\u7f13\u5b58\u7684\u8fc7\u671f\u65f6\u95f4\u9ed8\u8ba4\u662f 1 \u5c0f\u65f6\uff0c\u5982\u679c\u8fd9\u4e2a cache \u5b58\u6d3b\u4e86\u4e00\u4e2a\u5c0f\u65f6\uff0c\u90a3\u4e48\u5c06\u6574\u4e2a\u6e05\u7a7a\u4e00\u4e0b\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5e76\u4e0d\u662f key-value \u7684\u8fc7\u671f\u65f6\u95f4\uff0c\u800c\u662f\u8fd9\u4e2a cache \u7684\u8fc7\u671f\u65f6\u95f4\uff0c\u662f flushInterval\uff0c\u610f\u5473\u7740\u6574\u4e2a\u6e05\u7a7a\u7f13\u5b58 cache\uff0c\u6240\u4ee5\u4e0d\u9700\u8981\u540e\u53f0\u7ebf\u7a0b\u53bb\u5b9a\u65f6\u68c0\u6d4b\uff0c\u6bcf\u5f53\u5b58\u53d6\u6570\u636e\u7684\u65f6\u5019\uff0c\u90fd\u6709\u68c0\u6d4b\u4e00\u4e0b cache \u7684\u751f\u547d\u65f6\u95f4\u3002")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d4bb2cb0.efa30871.js b/assets/js/d4bb2cb0.68352486.js similarity index 99% rename from assets/js/d4bb2cb0.efa30871.js rename to assets/js/d4bb2cb0.68352486.js index 8a8651532..aac847067 100644 --- a/assets/js/d4bb2cb0.efa30871.js +++ b/assets/js/d4bb2cb0.68352486.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5552],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>m});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=r.createContext({}),u=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},y=function(e){var t=u(e.components);return r.createElement(o.Provider,{value:t},e.children)},s="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,o=e.parentName,y=p(e,["components","mdxType","originalType","parentName"]),s=u(n),g=a,m=s["".concat(o,".").concat(g)]||s[g]||c[g]||l;return n?r.createElement(m,i(i({ref:t},y),{},{components:n})):r.createElement(m,i({ref:t},y))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,i=new Array(l);i[0]=g;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p[s]="string"==typeof e?e:a,i[1]=p;for(var u=2;u{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>c,frontMatter:()=>l,metadata:()=>p,toc:()=>u});var r=n(58168),a=(n(96540),n(15680));const l={},i=void 0,p={unversionedId:"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",id:"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",title:"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",description:"\u7b80\u4ecb",source:"@site/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",permalink:"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u52a0\u89e3\u5bc6",permalink:"/docs/study/encryption/"},next:{title:"\u52a0\u89e3\u5bc6\u670d\u52a1",permalink:"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1"}},o={},u=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"SM1 \u5546\u5bc6 1 \u53f7",id:"sm1-\u5546\u5bc6-1-\u53f7",level:3},{value:"SM2",id:"sm2",level:3},{value:"SM3",id:"sm3",level:3},{value:"SMS4",id:"sms4",level:3},{value:"SM7",id:"sm7",level:3},{value:"SM9",id:"sm9",level:3},{value:"\u7956\u51b2&ZUC \u7b97\u6cd5",id:"\u7956\u51b2zuc-\u7b97\u6cd5",level:3}],y={toc:u},s="wrapper";function c(e){let{components:t,...n}=e;return(0,a.yg)(s,(0,r.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"\u5546\u7528\u5bc6\u7801\u6280\u672f\uff0c\u662f\u6307\u80fd\u591f\u5b9e\u73b0\u5546\u7528\u5bc6\u7801\u7b97\u6cd5\u7684\u52a0\u5bc6\u3001\u89e3\u5bc6\u548c\u8ba4\u8bc1\u7b49\u529f\u80fd\u7684\u6280\u672f\u3002\uff08\u5305\u62ec\u5bc6\u7801\u7b97\u6cd5\u7f16\u7a0b\u6280\u672f\u548c\u5bc6\u7801\u7b97\u6cd5\u82af\u7247\u3001\u52a0\u5bc6\u5361\u7b49\u7684\u5b9e\u73b0\u6280\u672f\uff09\u3002\u5546\u7528\u5bc6\u7801\u6280\u672f\u662f\u5546\u7528\u5bc6\u7801\u7684\u6838\u5fc3\uff0c\u56fd\u5bb6\u5c06\u5546\u7528\u5bc6\u7801\u6280\u672f\u5217\u5165\u56fd\u5bb6\u79d8\u5bc6\uff0c\u4efb\u4f55\u5355\u4f4d\u548c\u4e2a\u4eba\u90fd\u6709\u8d23\u4efb\u548c\u4e49\u52a1\u4fdd\u62a4\u5546\u7528\u5bc6\u7801\u6280\u672f\u7684\u79d8\u5bc6\u3002"),(0,a.yg)("p",null,"\u5546\u7528\u5bc6\u7801\u7684\u5e94\u7528\u9886\u57df\u5341\u5206\u5e7f\u6cdb,\u4e3b\u8981\u7528\u4e8e\u5bf9\u4e0d\u6d89\u53ca\u56fd\u5bb6\u79d8\u5bc6\u5185\u5bb9\u4f46\u53c8\u5177\u6709\u654f\u611f\u6027\u7684\u5185\u90e8\u4fe1\u606f\u3001\u884c\u653f\u4e8b\u52a1\u4fe1\u606f\u3001\u7ecf\u6d4e\u4fe1\u606f\u7b49\u8fdb\u884c\u52a0\u5bc6\u4fdd\u62a4\u3002\u6bd4\u5982:\u5546\u7528\u5bc6\u7801\u53ef\u7528\u4e8e\u4f01\u4e1a\u5185\u90e8\u7684\u5404\u7c7b\u654f\u611f\u4fe1\u606f\u7684\u4f20\u8f93\u52a0\u5bc6\u3001\u5b58\u50a8\u52a0\u5bc6,\u9632\u6b62\u975e\u6cd5\u7b2c\u4e09\u65b9\u83b7\u53d6\u4fe1\u606f\u5185\u5bb9;\u4e5f\u53ef\u7528\u4e8e\u5404\u79cd\u5b89\u5168\u8ba4\u8bc1\u3001\u7f51\u4e0a\u94f6\u884c\u3001\u6570\u5b57\u7b7e\u540d\u7b49\u3002"),(0,a.yg)("p",null,"\u5bf9\u79f0\u5bc6\u7801\u53c8\u53ef\u5206\u4e3a\u5206\u7ec4\u5bc6\u7801\u548c\u5e8f\u5217\uff08\u6d41\uff09\u5bc6\u7801"),(0,a.yg)("p",null,"SM4 \u7b97\u6cd5\u662f SM \u7cfb\u5217\u7b97\u6cd5\u4e2d\u4f7f\u7528\u6700\u4e3a\u5e7f\u6cdb\u7684\u5bc6\u7801\u7b97\u6cd5\u3002"),(0,a.yg)("h3",{id:"sm1-\u5546\u5bc6-1-\u53f7"},"SM1 \u5546\u5bc6 1 \u53f7"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5bf9\u79f0\u52a0\u5bc6\uff0c\u5206\u7ec4\u52a0\u5bc6"),(0,a.yg)("li",{parentName:"ul"},"\u4ea6\u79f0 SCB2 \u7b97\u6cd5"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u4e0d\u516c\u5f00")),"\uff0c\u4ec5\u4ee5 IP \u6838\u7684\u5f62\u5f0f\u5b58\u5728\u4e8e\u82af\u7247\u4e2d"),(0,a.yg)("li",{parentName:"ul"},"\u91c7\u7528\u8be5\u7b97\u6cd5\u5df2\u7ecf\u7814\u5236\u4e86\u7cfb\u5217\u82af\u7247\u3001\u667a\u80fd IC \u5361\u3001\u667a\u80fd\u5bc6\u7801\u94a5\u5319\u3001\u52a0\u5bc6\u5361\u3001\u52a0\u5bc6\u673a\u7b49\u5b89\u5168\u4ea7\u54c1\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7535\u5b50\u653f\u52a1\u3001\u7535\u5b50\u5546\u52a1\u53ca\u56fd\u6c11\u7ecf\u6d4e\u7684\u5404\u4e2a\u5e94\u7528\u9886\u57df\uff08\u5305\u62ec\u56fd\u5bb6\u653f\u52a1\u901a\u3001\u8b66\u52a1\u901a\u7b49\u91cd\u8981\u9886\u57df\uff09\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u66ff\u6362 AES\uff0c\u5206\u7ec4\u957f\u5ea6\u548c\u5bc6\u94a5\u957f\u5ea6\u90fd\u4e3a 128 \u6bd4\u7279")),(0,a.yg)("h3",{id:"sm2"},"SM2"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u516c\u94a5\u52a0\u5bc6\uff0c\u57fa\u4e8e\u692d\u5706\u66f2\u7ebf"),(0,a.yg)("li",{parentName:"ul"},"\u66ff\u6362 RSA"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u516c\u5f00"))," ",(0,a.yg)("a",{parentName:"li",href:"https://sca.gov.cn/sca/xwdt/2010-12/17/content_1002386.shtml"},"\u56fd\u5bb6\u5bc6\u7801\u7ba1\u7406\u5c40-\u8be5\u7b97\u6cd5\u6587\u6863")),(0,a.yg)("li",{parentName:"ul"},"\u76ee\u524d\u652f\u6301 SM2 \u7b97\u6cd5\u7684\u4ea7\u54c1\u5df2\u8fbe 1000 \u4f59\u6b3e\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7535\u5b50\u653f\u52a1\u3001\u79fb\u52a8\u529e\u516c\u3001\u7535\u5b50\u5546\u52a1\u3001\u79fb\u52a8\u652f\u4ed8\u3001\u7535\u5b50\u8bc1\u4e66\u7b49\u57fa\u7840\u8bbe\u65bd\u3001\u4e91\u670d\u52a1\u7b49\u9886\u57df\u3002"),(0,a.yg)("li",{parentName:"ul"},"SM2\u9ed8\u8ba4\u66f2\u7ebf\u7b97\u6cd5 sm2p256v1")),(0,a.yg)("h3",{id:"sm3"},"SM3"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u54c8\u5e0c\u7b97\u6cd5"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u516c\u5f00")),"\uff0c",(0,a.yg)("a",{parentName:"li",href:"https://sca.gov.cn/sca/xwdt/2010-12/17/content_1002389.shtml"},"\u56fd\u5bb6\u5bc6\u7801\u7ba1\u7406\u5c40-\u8be5\u7b97\u6cd5\u6587\u6863")),(0,a.yg)("li",{parentName:"ul"},"\u8be5\u7b97\u6cd5\u5df2\u6210\u4e3a\u6211\u56fd\u7535\u5b50\u7b7e\u540d\u7c7b\u5bc6\u7801\u7cfb\u7edf\u3001\u8ba1\u7b97\u673a\u5b89\u5168\u767b\u5f55\u7cfb\u7edf\u3001\u8ba1\u7b97\u673a\u5b89\u5168\u901a\u4fe1\u7cfb\u7edf\u3001\u6570\u5b57\u8bc1\u4e66\u3001 \u7f51\u7edc\u5b89\u5168\u57fa\u7840\u8bbe\u65bd\u3001\u5b89\u5168\u4e91\u8ba1\u7b97\u5e73\u53f0\u4e0e\u5927\u6570\u636e\u7b49\u9886\u57df\u4fe1\u606f\u5b89\u5168\u7684\u57fa\u7840\u6280\u672f\u3002")),(0,a.yg)("h3",{id:"sms4"},"SMS4"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5bf9\u79f0\u52a0\u5bc6"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u516c\u5f00"))," ",(0,a.yg)("a",{parentName:"li",href:"http://www.sca.gov.cn/sca/c100061/201611/1002423/files/330480f731f64e1ea75138211ea0dc27.pdf"},"\u56fd\u5bb6\u5bc6\u7801\u7ba1\u7406\u5c40-\u8be5\u7b97\u6cd5\u6587\u6863"))),(0,a.yg)("p",null,"SMS4 \u7b97\u6cd5\uff0c\u662f\u4e00\u4e2a\u5206\u7ec4\u7b97\u6cd5\uff0c\u5206\u7ec4\u957f\u5ea6\u548c\u5bc6\u94a5\u957f\u5ea6\u5747\u4e3a 128 \u6bd4\u7279\uff0c\u52a0\u5bc6\u7b97\u6cd5\u4e0e\u5bc6\u94a5\u6269\u5c55\u7b97\u6cd5\u90fd\u91c7\u7528 32 \u8f6e\u975e\u7ebf\u6027\u8fed\u4ee3\u7ed3\u6784\uff0c\u6700\u521d\u4f5c\u4e3a\u65e0\u7ebf\u5c40\u57df\u7f51\u4e13\u7528\u5bc6\u7801\u7b97\u6cd5\u53d1\u5e03\uff0c\u540e\u6210\u4e3a\u5206\u7ec4\u5bc6\u7801\u7b97\u6cd5\u884c\u4e1a\u6807\u51c6\u3002\u76ee\u524d\u652f\u6301 SMS4 \u7b97\u6cd5\u7684\u4ea7\u54c1\u5df2\u8fbe 700 \u4f59\u6b3e\uff0c\u8986\u76d6\u4e86\u5404\u79cd\u6709\u5bf9\u79f0\u52a0\u5bc6\u9700\u6c42\u7684\u5e94\u7528\u3002\u7531\u4e8e SMS4 \u7b97\u6cd5\u6700\u521d\u7528\u4e8e\u65e0\u7ebf\u5c40\u57df\u7f51\u82af\u7247 WAPI \u534f\u8bae\u4e2d\uff0c\u652f\u6301 SMS4 \u7b97\u6cd5\u7684 WAPI \u65e0\u7ebf\u5c40\u57df\u7f51\u82af\u7247\u5df2\u8d85\u8fc7 350 \u591a\u4e2a\u578b\u53f7\uff0c\u5168\u7403\u7d2f\u8ba1\u51fa \u8d27\u91cf\u8d85\u8fc7 70 \u4ebf\u9897\u3002\u5728\u91d1\u878d\u9886\u57df\uff0c\u4ec5\u7edf\u8ba1\u652f\u6301 SMS4 \u7b97\u6cd5\u7684\u667a\u80fd\u5bc6\u7801\u94a5\u5319\u51fa\u8d27\u91cf\u5df2\u8d85\u8fc7 1.5 \u4ebf\u652f\u3002\u6b64\u5916\uff0cSMS4 \u7b97\u6cd5\u5df2\u88ab\u7eb3\u4eba\u53ef\u4fe1\u8ba1\u7b97\u7ec4\u7ec7(TCG)\u53d1\u5e03\u7684\u53ef\u4fe1\u5e73\u53f0\u6a21\u5757\u5e93\u89c4\u8303(TPIM2.0)\u4e2d\u3002"),(0,a.yg)("h3",{id:"sm7"},"SM7"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5bf9\u79f0\u52a0\u5bc6"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u4e0d\u516c\u5f00")))),(0,a.yg)("p",null,"SM7 \u9002\u7528\u4e8e\u975e\u63a5\u89e6\u5f0f IC \u5361\uff0c\u5e94\u7528\u5305\u62ec\u8eab\u4efd\u8bc6\u522b\u7c7b\u5e94\u7528(\u95e8\u7981\u5361\u3001\u5de5\u4f5c\u8bc1\u3001\u53c2\u8d5b\u8bc1)\uff0c\u7968\u52a1\u7c7b\u5e94\u7528(\u5927\u578b\u8d5b\u4e8b\u95e8\u7968\u3001\u5c55\u4f1a\u95e8\u7968)\uff0c\u652f\u4ed8\u4e0e\u901a\u5361\u7c7b\u5e94\u7528\uff08\u79ef\u5206\u6d88\u8d39\u5361\u3001\u6821\u56ed\u4e00\u5361\u901a\u3001\u4f01\u4e1a\u4e00\u5361\u901a\u7b49\uff09\u3002"),(0,a.yg)("h3",{id:"sm9"},"SM9"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6807\u8bc6\u5bc6\u7801\u7b97\u6cd5"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u516c\u5f00"))),(0,a.yg)("li",{parentName:"ul"},"SM9 \u662f\u4e00\u79cd\u57fa\u4e8e\u8eab\u4efd\u6807\u8bc6\u7684\u516c\u94a5\u5bc6\u7801\u7b97\u6cd5\uff0c\u4e5f\u88ab\u79f0\u4e3a\u6807\u8bc6\u5bc6\u7801\uff0c\u91c7\u7528 256 \u6bd4\u7279\u7684\u692d\u5706\u66f2\u7ebf\u3002")),(0,a.yg)("p",null,"SM9 \u7b97\u6cd5\u4e0d\u9700\u8981\u7533\u8bf7\u6570\u5b57\u8bc1\u4e66\uff0c\u9002\u7528\u4e8e\u4e92\u8054\u7f51\u5e94\u7528\u7684\u5404\u79cd\u65b0\u5174\u5e94\u7528\u7684\u5b89\u5168\u4fdd\u5bc6\u4fdd\u969c\uff0c\u5982\u57fa\u4e8e\u4e91\u6280\u672f\u7684\u5bc6\u7801\u670d\u52a1\u3001\u7535\u5b50\u90ae\u4ef6\u5b89\u5168\u3001\u667a\u80fd\u7ec8\u7aef\u4fdd\u62a4\u3001\u7269\u8054\u7f51\u5b89\u5168\u3001\u4e91\u5b58\u50a8\u5b89\u5168\u7b49\u7b49\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_37340229/article/details/127937730"},"CSDN-\u57fa\u4e8eSM9\u7684\u5bc6\u94a5\u4ea4\u6362\u65b9\u6848\u7684\u5b9e\u73b0\u4e0e\u5e94\u7528")),(0,a.yg)("h3",{id:"\u7956\u51b2zuc-\u7b97\u6cd5"},"\u7956\u51b2&ZUC \u7b97\u6cd5"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6d41\u5bc6\u7801"),(0,a.yg)("li",{parentName:"ul"},"\u4e3b\u8981\u7528\u4e8e\u901a\u4fe1\u9886\u57df"),(0,a.yg)("li",{parentName:"ul"},"\u8be5\u7b97\u6cd5\u901f\u5ea6\u5feb\uff0c\u5e38\u7528\u4e8e\u79fb\u52a8\u901a\u4fe1 4G \u7f51\u7edc\u3002")))}c.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5552],{15680:(e,t,n)=>{n.d(t,{xA:()=>y,yg:()=>m});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=r.createContext({}),u=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},y=function(e){var t=u(e.components);return r.createElement(o.Provider,{value:t},e.children)},s="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,o=e.parentName,y=p(e,["components","mdxType","originalType","parentName"]),s=u(n),g=a,m=s["".concat(o,".").concat(g)]||s[g]||c[g]||l;return n?r.createElement(m,i(i({ref:t},y),{},{components:n})):r.createElement(m,i({ref:t},y))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,i=new Array(l);i[0]=g;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p[s]="string"==typeof e?e:a,i[1]=p;for(var u=2;u{n.r(t),n.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>c,frontMatter:()=>l,metadata:()=>p,toc:()=>u});var r=n(58168),a=(n(96540),n(15680));const l={},i=void 0,p={unversionedId:"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",id:"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",title:"\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",description:"\u7b80\u4ecb",source:"@site/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",permalink:"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u52a0\u89e3\u5bc6",permalink:"/docs/study/encryption/"},next:{title:"\u52a0\u89e3\u5bc6\u670d\u52a1",permalink:"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1"}},o={},u=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"SM1 \u5546\u5bc6 1 \u53f7",id:"sm1-\u5546\u5bc6-1-\u53f7",level:3},{value:"SM2",id:"sm2",level:3},{value:"SM3",id:"sm3",level:3},{value:"SMS4",id:"sms4",level:3},{value:"SM7",id:"sm7",level:3},{value:"SM9",id:"sm9",level:3},{value:"\u7956\u51b2&ZUC \u7b97\u6cd5",id:"\u7956\u51b2zuc-\u7b97\u6cd5",level:3}],y={toc:u},s="wrapper";function c(e){let{components:t,...n}=e;return(0,a.yg)(s,(0,r.A)({},y,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"\u5546\u7528\u5bc6\u7801\u6280\u672f\uff0c\u662f\u6307\u80fd\u591f\u5b9e\u73b0\u5546\u7528\u5bc6\u7801\u7b97\u6cd5\u7684\u52a0\u5bc6\u3001\u89e3\u5bc6\u548c\u8ba4\u8bc1\u7b49\u529f\u80fd\u7684\u6280\u672f\u3002\uff08\u5305\u62ec\u5bc6\u7801\u7b97\u6cd5\u7f16\u7a0b\u6280\u672f\u548c\u5bc6\u7801\u7b97\u6cd5\u82af\u7247\u3001\u52a0\u5bc6\u5361\u7b49\u7684\u5b9e\u73b0\u6280\u672f\uff09\u3002\u5546\u7528\u5bc6\u7801\u6280\u672f\u662f\u5546\u7528\u5bc6\u7801\u7684\u6838\u5fc3\uff0c\u56fd\u5bb6\u5c06\u5546\u7528\u5bc6\u7801\u6280\u672f\u5217\u5165\u56fd\u5bb6\u79d8\u5bc6\uff0c\u4efb\u4f55\u5355\u4f4d\u548c\u4e2a\u4eba\u90fd\u6709\u8d23\u4efb\u548c\u4e49\u52a1\u4fdd\u62a4\u5546\u7528\u5bc6\u7801\u6280\u672f\u7684\u79d8\u5bc6\u3002"),(0,a.yg)("p",null,"\u5546\u7528\u5bc6\u7801\u7684\u5e94\u7528\u9886\u57df\u5341\u5206\u5e7f\u6cdb,\u4e3b\u8981\u7528\u4e8e\u5bf9\u4e0d\u6d89\u53ca\u56fd\u5bb6\u79d8\u5bc6\u5185\u5bb9\u4f46\u53c8\u5177\u6709\u654f\u611f\u6027\u7684\u5185\u90e8\u4fe1\u606f\u3001\u884c\u653f\u4e8b\u52a1\u4fe1\u606f\u3001\u7ecf\u6d4e\u4fe1\u606f\u7b49\u8fdb\u884c\u52a0\u5bc6\u4fdd\u62a4\u3002\u6bd4\u5982:\u5546\u7528\u5bc6\u7801\u53ef\u7528\u4e8e\u4f01\u4e1a\u5185\u90e8\u7684\u5404\u7c7b\u654f\u611f\u4fe1\u606f\u7684\u4f20\u8f93\u52a0\u5bc6\u3001\u5b58\u50a8\u52a0\u5bc6,\u9632\u6b62\u975e\u6cd5\u7b2c\u4e09\u65b9\u83b7\u53d6\u4fe1\u606f\u5185\u5bb9;\u4e5f\u53ef\u7528\u4e8e\u5404\u79cd\u5b89\u5168\u8ba4\u8bc1\u3001\u7f51\u4e0a\u94f6\u884c\u3001\u6570\u5b57\u7b7e\u540d\u7b49\u3002"),(0,a.yg)("p",null,"\u5bf9\u79f0\u5bc6\u7801\u53c8\u53ef\u5206\u4e3a\u5206\u7ec4\u5bc6\u7801\u548c\u5e8f\u5217\uff08\u6d41\uff09\u5bc6\u7801"),(0,a.yg)("p",null,"SM4 \u7b97\u6cd5\u662f SM \u7cfb\u5217\u7b97\u6cd5\u4e2d\u4f7f\u7528\u6700\u4e3a\u5e7f\u6cdb\u7684\u5bc6\u7801\u7b97\u6cd5\u3002"),(0,a.yg)("h3",{id:"sm1-\u5546\u5bc6-1-\u53f7"},"SM1 \u5546\u5bc6 1 \u53f7"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5bf9\u79f0\u52a0\u5bc6\uff0c\u5206\u7ec4\u52a0\u5bc6"),(0,a.yg)("li",{parentName:"ul"},"\u4ea6\u79f0 SCB2 \u7b97\u6cd5"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u4e0d\u516c\u5f00")),"\uff0c\u4ec5\u4ee5 IP \u6838\u7684\u5f62\u5f0f\u5b58\u5728\u4e8e\u82af\u7247\u4e2d"),(0,a.yg)("li",{parentName:"ul"},"\u91c7\u7528\u8be5\u7b97\u6cd5\u5df2\u7ecf\u7814\u5236\u4e86\u7cfb\u5217\u82af\u7247\u3001\u667a\u80fd IC \u5361\u3001\u667a\u80fd\u5bc6\u7801\u94a5\u5319\u3001\u52a0\u5bc6\u5361\u3001\u52a0\u5bc6\u673a\u7b49\u5b89\u5168\u4ea7\u54c1\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7535\u5b50\u653f\u52a1\u3001\u7535\u5b50\u5546\u52a1\u53ca\u56fd\u6c11\u7ecf\u6d4e\u7684\u5404\u4e2a\u5e94\u7528\u9886\u57df\uff08\u5305\u62ec\u56fd\u5bb6\u653f\u52a1\u901a\u3001\u8b66\u52a1\u901a\u7b49\u91cd\u8981\u9886\u57df\uff09\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u66ff\u6362 AES\uff0c\u5206\u7ec4\u957f\u5ea6\u548c\u5bc6\u94a5\u957f\u5ea6\u90fd\u4e3a 128 \u6bd4\u7279")),(0,a.yg)("h3",{id:"sm2"},"SM2"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u516c\u94a5\u52a0\u5bc6\uff0c\u57fa\u4e8e\u692d\u5706\u66f2\u7ebf"),(0,a.yg)("li",{parentName:"ul"},"\u66ff\u6362 RSA"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u516c\u5f00"))," ",(0,a.yg)("a",{parentName:"li",href:"https://sca.gov.cn/sca/xwdt/2010-12/17/content_1002386.shtml"},"\u56fd\u5bb6\u5bc6\u7801\u7ba1\u7406\u5c40-\u8be5\u7b97\u6cd5\u6587\u6863")),(0,a.yg)("li",{parentName:"ul"},"\u76ee\u524d\u652f\u6301 SM2 \u7b97\u6cd5\u7684\u4ea7\u54c1\u5df2\u8fbe 1000 \u4f59\u6b3e\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7535\u5b50\u653f\u52a1\u3001\u79fb\u52a8\u529e\u516c\u3001\u7535\u5b50\u5546\u52a1\u3001\u79fb\u52a8\u652f\u4ed8\u3001\u7535\u5b50\u8bc1\u4e66\u7b49\u57fa\u7840\u8bbe\u65bd\u3001\u4e91\u670d\u52a1\u7b49\u9886\u57df\u3002"),(0,a.yg)("li",{parentName:"ul"},"SM2\u9ed8\u8ba4\u66f2\u7ebf\u7b97\u6cd5 sm2p256v1")),(0,a.yg)("h3",{id:"sm3"},"SM3"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u54c8\u5e0c\u7b97\u6cd5"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u516c\u5f00")),"\uff0c",(0,a.yg)("a",{parentName:"li",href:"https://sca.gov.cn/sca/xwdt/2010-12/17/content_1002389.shtml"},"\u56fd\u5bb6\u5bc6\u7801\u7ba1\u7406\u5c40-\u8be5\u7b97\u6cd5\u6587\u6863")),(0,a.yg)("li",{parentName:"ul"},"\u8be5\u7b97\u6cd5\u5df2\u6210\u4e3a\u6211\u56fd\u7535\u5b50\u7b7e\u540d\u7c7b\u5bc6\u7801\u7cfb\u7edf\u3001\u8ba1\u7b97\u673a\u5b89\u5168\u767b\u5f55\u7cfb\u7edf\u3001\u8ba1\u7b97\u673a\u5b89\u5168\u901a\u4fe1\u7cfb\u7edf\u3001\u6570\u5b57\u8bc1\u4e66\u3001 \u7f51\u7edc\u5b89\u5168\u57fa\u7840\u8bbe\u65bd\u3001\u5b89\u5168\u4e91\u8ba1\u7b97\u5e73\u53f0\u4e0e\u5927\u6570\u636e\u7b49\u9886\u57df\u4fe1\u606f\u5b89\u5168\u7684\u57fa\u7840\u6280\u672f\u3002")),(0,a.yg)("h3",{id:"sms4"},"SMS4"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5bf9\u79f0\u52a0\u5bc6"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u516c\u5f00"))," ",(0,a.yg)("a",{parentName:"li",href:"http://www.sca.gov.cn/sca/c100061/201611/1002423/files/330480f731f64e1ea75138211ea0dc27.pdf"},"\u56fd\u5bb6\u5bc6\u7801\u7ba1\u7406\u5c40-\u8be5\u7b97\u6cd5\u6587\u6863"))),(0,a.yg)("p",null,"SMS4 \u7b97\u6cd5\uff0c\u662f\u4e00\u4e2a\u5206\u7ec4\u7b97\u6cd5\uff0c\u5206\u7ec4\u957f\u5ea6\u548c\u5bc6\u94a5\u957f\u5ea6\u5747\u4e3a 128 \u6bd4\u7279\uff0c\u52a0\u5bc6\u7b97\u6cd5\u4e0e\u5bc6\u94a5\u6269\u5c55\u7b97\u6cd5\u90fd\u91c7\u7528 32 \u8f6e\u975e\u7ebf\u6027\u8fed\u4ee3\u7ed3\u6784\uff0c\u6700\u521d\u4f5c\u4e3a\u65e0\u7ebf\u5c40\u57df\u7f51\u4e13\u7528\u5bc6\u7801\u7b97\u6cd5\u53d1\u5e03\uff0c\u540e\u6210\u4e3a\u5206\u7ec4\u5bc6\u7801\u7b97\u6cd5\u884c\u4e1a\u6807\u51c6\u3002\u76ee\u524d\u652f\u6301 SMS4 \u7b97\u6cd5\u7684\u4ea7\u54c1\u5df2\u8fbe 700 \u4f59\u6b3e\uff0c\u8986\u76d6\u4e86\u5404\u79cd\u6709\u5bf9\u79f0\u52a0\u5bc6\u9700\u6c42\u7684\u5e94\u7528\u3002\u7531\u4e8e SMS4 \u7b97\u6cd5\u6700\u521d\u7528\u4e8e\u65e0\u7ebf\u5c40\u57df\u7f51\u82af\u7247 WAPI \u534f\u8bae\u4e2d\uff0c\u652f\u6301 SMS4 \u7b97\u6cd5\u7684 WAPI \u65e0\u7ebf\u5c40\u57df\u7f51\u82af\u7247\u5df2\u8d85\u8fc7 350 \u591a\u4e2a\u578b\u53f7\uff0c\u5168\u7403\u7d2f\u8ba1\u51fa \u8d27\u91cf\u8d85\u8fc7 70 \u4ebf\u9897\u3002\u5728\u91d1\u878d\u9886\u57df\uff0c\u4ec5\u7edf\u8ba1\u652f\u6301 SMS4 \u7b97\u6cd5\u7684\u667a\u80fd\u5bc6\u7801\u94a5\u5319\u51fa\u8d27\u91cf\u5df2\u8d85\u8fc7 1.5 \u4ebf\u652f\u3002\u6b64\u5916\uff0cSMS4 \u7b97\u6cd5\u5df2\u88ab\u7eb3\u4eba\u53ef\u4fe1\u8ba1\u7b97\u7ec4\u7ec7(TCG)\u53d1\u5e03\u7684\u53ef\u4fe1\u5e73\u53f0\u6a21\u5757\u5e93\u89c4\u8303(TPIM2.0)\u4e2d\u3002"),(0,a.yg)("h3",{id:"sm7"},"SM7"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5bf9\u79f0\u52a0\u5bc6"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u4e0d\u516c\u5f00")))),(0,a.yg)("p",null,"SM7 \u9002\u7528\u4e8e\u975e\u63a5\u89e6\u5f0f IC \u5361\uff0c\u5e94\u7528\u5305\u62ec\u8eab\u4efd\u8bc6\u522b\u7c7b\u5e94\u7528(\u95e8\u7981\u5361\u3001\u5de5\u4f5c\u8bc1\u3001\u53c2\u8d5b\u8bc1)\uff0c\u7968\u52a1\u7c7b\u5e94\u7528(\u5927\u578b\u8d5b\u4e8b\u95e8\u7968\u3001\u5c55\u4f1a\u95e8\u7968)\uff0c\u652f\u4ed8\u4e0e\u901a\u5361\u7c7b\u5e94\u7528\uff08\u79ef\u5206\u6d88\u8d39\u5361\u3001\u6821\u56ed\u4e00\u5361\u901a\u3001\u4f01\u4e1a\u4e00\u5361\u901a\u7b49\uff09\u3002"),(0,a.yg)("h3",{id:"sm9"},"SM9"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6807\u8bc6\u5bc6\u7801\u7b97\u6cd5"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},(0,a.yg)("em",{parentName:"strong"},"\u516c\u5f00"))),(0,a.yg)("li",{parentName:"ul"},"SM9 \u662f\u4e00\u79cd\u57fa\u4e8e\u8eab\u4efd\u6807\u8bc6\u7684\u516c\u94a5\u5bc6\u7801\u7b97\u6cd5\uff0c\u4e5f\u88ab\u79f0\u4e3a\u6807\u8bc6\u5bc6\u7801\uff0c\u91c7\u7528 256 \u6bd4\u7279\u7684\u692d\u5706\u66f2\u7ebf\u3002")),(0,a.yg)("p",null,"SM9 \u7b97\u6cd5\u4e0d\u9700\u8981\u7533\u8bf7\u6570\u5b57\u8bc1\u4e66\uff0c\u9002\u7528\u4e8e\u4e92\u8054\u7f51\u5e94\u7528\u7684\u5404\u79cd\u65b0\u5174\u5e94\u7528\u7684\u5b89\u5168\u4fdd\u5bc6\u4fdd\u969c\uff0c\u5982\u57fa\u4e8e\u4e91\u6280\u672f\u7684\u5bc6\u7801\u670d\u52a1\u3001\u7535\u5b50\u90ae\u4ef6\u5b89\u5168\u3001\u667a\u80fd\u7ec8\u7aef\u4fdd\u62a4\u3001\u7269\u8054\u7f51\u5b89\u5168\u3001\u4e91\u5b58\u50a8\u5b89\u5168\u7b49\u7b49\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_37340229/article/details/127937730"},"CSDN-\u57fa\u4e8eSM9\u7684\u5bc6\u94a5\u4ea4\u6362\u65b9\u6848\u7684\u5b9e\u73b0\u4e0e\u5e94\u7528")),(0,a.yg)("h3",{id:"\u7956\u51b2zuc-\u7b97\u6cd5"},"\u7956\u51b2&ZUC \u7b97\u6cd5"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6d41\u5bc6\u7801"),(0,a.yg)("li",{parentName:"ul"},"\u4e3b\u8981\u7528\u4e8e\u901a\u4fe1\u9886\u57df"),(0,a.yg)("li",{parentName:"ul"},"\u8be5\u7b97\u6cd5\u901f\u5ea6\u5feb\uff0c\u5e38\u7528\u4e8e\u79fb\u52a8\u901a\u4fe1 4G \u7f51\u7edc\u3002")))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d5ca52d0.8c675e32.js b/assets/js/d5ca52d0.aa63ec5c.js similarity index 98% rename from assets/js/d5ca52d0.8c675e32.js rename to assets/js/d5ca52d0.aa63ec5c.js index d469feddd..87aff112f 100644 --- a/assets/js/d5ca52d0.8c675e32.js +++ b/assets/js/d5ca52d0.aa63ec5c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8439],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241104",id:"study/stock/20241104",title:"20241104",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241104.md",sourceDirName:"study/stock",slug:"/study/stock/20241104",permalink:"/docs/study/stock/20241104",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u8fd8\u662f\u56de\u5230\u4ee5\u524d\u7684\u6a21\u5f0f\u5427\uff0c\u5c0f\u8d44\u91d1\u6162\u6162\u73a9"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u987a\u5a01\u80a1\u4efd \u6302 1% \u5356\u6389"),(0,o.yg)("p",null,"\u4f17\u6cf0\u6c7d\u8f66 \u6302 5% \u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634 \u4e24\u4e2a\u9633\u7ebf\u662f\u6da8\u505c\uff0c\u5f88\u5f3a\u52bf"),(0,o.yg)("p",null,"\u5efa\u5143\u4fe1\u6258 \u6302 -3% \u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634 \u540e\u9633\u6da8\u505c\u4e14\u653e\u91cf"),(0,o.yg)("p",null,"\u534e\u4e1c\u6570\u63a7 \u770b\u4e00\u4e0b \u5730\u5929\u677f\u7684\u8d70\u52bf"),(0,o.yg)("p",null,"\u4e2d\u4fe1\u8bc1\u5238\u7834\u4e86\u524d\u9ad8\u4e4b\u540e\uff0c\u4f46\u662f\u6ca1\u653e\u91cf\u5440"),(0,o.yg)("p",null,"\u957f\u5b89\u6c7d\u8f66 \u4e0b\u5348 \u770b\u4e00\u4e0b \u8d70\u52bf \u662f\u5426\u51cf\u4ed3\u56de\u8c03"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u662f\u51cf\u4ed3 K \u4e48"),(0,o.yg)("p",null,"\u53a6\u95e8\u94a8\u4e1a \u8981\u505a\u4e24\u9633\u5305\u4e00\u9634\u4e48"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8439],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=a(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,l(l({ref:t},i),{},{components:r})):n.createElement(d,l({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,l=new Array(c);l[0]=f;var a={};for(var u in t)hasOwnProperty.call(t,u)&&(a[u]=t[u]);a.originalType=e,a[s]="string"==typeof e?e:o,l[1]=a;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>c,metadata:()=>a,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},l=void 0,a={unversionedId:"study/stock/20241104",id:"study/stock/20241104",title:"20241104",description:"\u4eca\u5929\u5468\u4e00",source:"@site/docs/study/stock/20241104.md",sourceDirName:"study/stock",slug:"/study/stock/20241104",permalink:"/docs/study/stock/20241104",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e00"),(0,o.yg)("p",null,"\u8fd8\u662f\u56de\u5230\u4ee5\u524d\u7684\u6a21\u5f0f\u5427\uff0c\u5c0f\u8d44\u91d1\u6162\u6162\u73a9"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u987a\u5a01\u80a1\u4efd \u6302 1% \u5356\u6389"),(0,o.yg)("p",null,"\u4f17\u6cf0\u6c7d\u8f66 \u6302 5% \u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634 \u4e24\u4e2a\u9633\u7ebf\u662f\u6da8\u505c\uff0c\u5f88\u5f3a\u52bf"),(0,o.yg)("p",null,"\u5efa\u5143\u4fe1\u6258 \u6302 -3% \u4e70\u5165 \u4e24\u9633\u5305\u4e00\u9634 \u540e\u9633\u6da8\u505c\u4e14\u653e\u91cf"),(0,o.yg)("p",null,"\u534e\u4e1c\u6570\u63a7 \u770b\u4e00\u4e0b \u5730\u5929\u677f\u7684\u8d70\u52bf"),(0,o.yg)("p",null,"\u4e2d\u4fe1\u8bc1\u5238\u7834\u4e86\u524d\u9ad8\u4e4b\u540e\uff0c\u4f46\u662f\u6ca1\u653e\u91cf\u5440"),(0,o.yg)("p",null,"\u957f\u5b89\u6c7d\u8f66 \u4e0b\u5348 \u770b\u4e00\u4e0b \u8d70\u52bf \u662f\u5426\u51cf\u4ed3\u56de\u8c03"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u662f\u51cf\u4ed3 K \u4e48"),(0,o.yg)("p",null,"\u53a6\u95e8\u94a8\u4e1a \u8981\u505a\u4e24\u9633\u5305\u4e00\u9634\u4e48"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d864a059.687ddfb6.js b/assets/js/d864a059.008ae49f.js similarity index 98% rename from assets/js/d864a059.687ddfb6.js rename to assets/js/d864a059.008ae49f.js index 8b68ac62a..0a898815f 100644 --- a/assets/js/d864a059.687ddfb6.js +++ b/assets/js/d864a059.008ae49f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6172],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),i=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},s=function(e){var t=i(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=i(r),y=a,f=u["".concat(l,".").concat(y)]||u[y]||d[y]||o;return r?n.createElement(f,p(p({ref:t},s),{},{components:r})):n.createElement(f,p({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:a,p[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>p,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>i});var n=r(58168),a=(r(96540),r(15680));const o={},p="P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)",c={unversionedId:"study/net/p2p",id:"study/net/p2p",title:"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)",description:"\u53c2\u8003",source:"@site/docs/study/net/p2p.md",sourceDirName:"study/net",slug:"/study/net/p2p",permalink:"/docs/study/net/p2p",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux netns",permalink:"/docs/study/net/netns"},next:{title:"unix pfctl \u9632\u706b\u5899",permalink:"/docs/study/net/pfctl\u9632\u706b\u5899"}},l={},i=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:i},u="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"p2p-\u7f51\u7edc-nat-\u7a7f\u900f\u539f\u7406\u6253\u6d1e\u65b9\u6848"},"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/yangowen/article/details/125787199"},"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/u013051748/article/details/115413454"},"P2P \u6253\u6d1e\u6280\u672f\u8be6\u89e3")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://post.smzdm.com/p/allr4ngp/"},"\u5185\u7f51\u7a7f\u900f-nConnect \u4e0e zerotier \u5982\u4f55\u642d\u5efa\u6211\u7684\u8fdc\u7a0b\u79c1\u4eba\u670d\u52a1\u5668"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6172],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var l=n.createContext({}),i=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},s=function(e){var t=i(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=i(r),y=a,f=u["".concat(l,".").concat(y)]||u[y]||d[y]||o;return r?n.createElement(f,p(p({ref:t},s),{},{components:r})):n.createElement(f,p({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:a,p[1]=c;for(var i=2;i{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>p,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>i});var n=r(58168),a=(r(96540),r(15680));const o={},p="P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)",c={unversionedId:"study/net/p2p",id:"study/net/p2p",title:"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)",description:"\u53c2\u8003",source:"@site/docs/study/net/p2p.md",sourceDirName:"study/net",slug:"/study/net/p2p",permalink:"/docs/study/net/p2p",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux netns",permalink:"/docs/study/net/netns"},next:{title:"unix pfctl \u9632\u706b\u5899",permalink:"/docs/study/net/pfctl\u9632\u706b\u5899"}},l={},i=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:i},u="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"p2p-\u7f51\u7edc-nat-\u7a7f\u900f\u539f\u7406\u6253\u6d1e\u65b9\u6848"},"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/yangowen/article/details/125787199"},"P2P \u7f51\u7edc NAT \u7a7f\u900f\u539f\u7406(\u6253\u6d1e\u65b9\u6848)")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/u013051748/article/details/115413454"},"P2P \u6253\u6d1e\u6280\u672f\u8be6\u89e3")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://post.smzdm.com/p/allr4ngp/"},"\u5185\u7f51\u7a7f\u900f-nConnect \u4e0e zerotier \u5982\u4f55\u642d\u5efa\u6211\u7684\u8fdc\u7a0b\u79c1\u4eba\u670d\u52a1\u5668"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d8990390.7b774a3d.js b/assets/js/d8990390.8dfc852b.js similarity index 99% rename from assets/js/d8990390.7b774a3d.js rename to assets/js/d8990390.8dfc852b.js index 10d7d631c..58985a881 100644 --- a/assets/js/d8990390.7b774a3d.js +++ b/assets/js/d8990390.8dfc852b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4429],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>y});var r=n(96540);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=r.createContext({}),s=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=s(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=s(n),g=i,y=u["".concat(p,".").concat(g)]||u[g]||d[g]||a;return n?r.createElement(y,o(o({ref:t},c),{},{components:n})):r.createElement(y,o({ref:t},c))}));function y(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=g;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[u]="string"==typeof e?e:i,o[1]=l;for(var s=2;s{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var r=n(58168),i=(n(96540),n(15680));const a={},o=void 0,l={unversionedId:"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",id:"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",title:"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",description:"InitializingBean",source:"@site/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",permalink:"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Spring Security",permalink:"/docs/study/back/spring/SpringSecurity"},next:{title:"SpringCloud\u4e94\u5927\u7ec4\u4ef6",permalink:"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6"}},p={},s=[{value:"InitializingBean",id:"initializingbean",level:3},{value:"DisposableBean",id:"disposablebean",level:3},{value:"ApplicationContextInitializer",id:"applicationcontextinitializer",level:3},{value:"ApplicationListener",id:"applicationlistener",level:3},{value:"EnvironmentPostProcessor",id:"environmentpostprocessor",level:3}],c={toc:s},u="wrapper";function d(e){let{components:t,...n}=e;return(0,i.yg)(u,(0,r.A)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("h3",{id:"initializingbean"},"InitializingBean"),(0,i.yg)("p",null,"\u9700\u8981\u5b9e\u73b0 afterPropertiesSet\u63a5\u53e3\u65b9\u6cd5"),(0,i.yg)("p",null,"\u53c2\u8003 ",(0,i.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_37705525/article/details/124808168"},"https://blog.csdn.net/qq_37705525/article/details/124808168")),(0,i.yg)("h3",{id:"disposablebean"},"DisposableBean"),(0,i.yg)("p",null,"\u9700\u8981\u5b9e\u73b0 destroy\u63a5\u53e3\u65b9\u6cd5"),(0,i.yg)("p",null,"\u53c2\u8003 ",(0,i.yg)("a",{parentName:"p",href:"https://blog.csdn.net/zhangduilei/article/details/78606636"},"https://blog.csdn.net/zhangduilei/article/details/78606636")),(0,i.yg)("h3",{id:"applicationcontextinitializer"},"ApplicationContextInitializer"),(0,i.yg)("p",null,"ApplicationContextInitializer \u63a5\u53e3\u7528\u4e8e\u5728 Spring \u5bb9\u5668\u5237\u65b0\u4e4b\u524d\u6267\u884c\u7684\u4e00\u4e2a\u56de\u8c03\u51fd\u6570\uff0c\u901a\u5e38\u7528\u4e8e\u5411 SpringBoot \u5bb9\u5668\u4e2d\u6ce8\u5165\u5c5e\u6027\u3002"),(0,i.yg)("p",null,"\u53c2\u8003 ",(0,i.yg)("a",{parentName:"p",href:"https://zhuanlan.zhihu.com/p/509824476"},"https://zhuanlan.zhihu.com/p/509824476")),(0,i.yg)("h3",{id:"applicationlistener"},"ApplicationListener"),(0,i.yg)("p",null,"\u76d1\u542c\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5305\u542b\u90e8\u5206\u751f\u547d\u5468\u671f\u7c7b\u578b\u7684\u4e8b\u4ef6\uff0c\u4f8b\u5982ApplicationEnvironmentPreparedEvent"),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_21484747/article/details/124855050"},"https://blog.csdn.net/qq_21484747/article/details/124855050")),(0,i.yg)("h3",{id:"environmentpostprocessor"},"EnvironmentPostProcessor"),(0,i.yg)("p",null,"\u4e00\u822c\u7528\u4e8e\u8bfb\u53d6\u73af\u5883\u53d8\u91cf\u8fbe\u5230\u591a\u4e2a\u5fae\u670d\u52a1\u5171\u540c\u914d\u7f6e\u7684\u4fee\u6539\u4e0e\u7ef4\u62a4\u3002\u5f53\u6211\u4eec\u6709\u591a\u5957\u73af\u5883(\u5f00\u53d1\u3001\u6d4b\u8bd5\u3001\u751f\u4ea7\u7b49\u7b49)\u65f6\uff0c\u6bcf\u5957\u73af\u5883\u90fd\u6709\u4e13\u5c5e\u7684\u914d\u7f6e\u6587\u4ef6\u5b58\u653e\u4e8e\u914d\u7f6e\u4e2d\u5fc3(\u4ee5nacos\u4e3a\u4f8b)\uff0c\u53ef\u80fd\u5b58\u653e\u4e8e\u4e0d\u540c\u7684\u914d\u7f6e\u4e2d\u5fc3(\u6bcf\u4e2a\u73af\u5883\u6709\u4e13\u5c5e\u7684\u914d\u7f6e\u4e2d\u5fc3\uff0c\u670d\u52a1\u5730\u5740\u4e0d\u540c)\uff0c\u4e5f\u53ef\u80fd\u5b58\u653e\u4e8e\u540c\u4e00nacos\u7684\u4e0d\u540c\u547d\u540d\u7a7a\u95f4\uff0c\u4e5f\u6216\u8005\u540c\u4e00\u547d\u540d\u7a7a\u95f4\u7684\u4e0d\u540c\u5206\u7ec4\u7b49\u7b49\u3002\u540c\u4e00\u5957\u4ee3\u7801\u5728\u4e0d\u540c\u73af\u5883\u8fd0\u884c\u9700\u8981\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u8fd9\u65f6\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5728\u9879\u76ee\u542f\u52a8\u65f6\uff0c\u5b9e\u73b0EnvironmentPostProcessor\u63a5\u53e3\uff0c\u5728postProcessEnvironment\u65b9\u6cd5\u4e2d\u8bfb\u53d6\u73af\u5883\u53d8\u91cf\u6216\u8005\u542f\u52a8\u547d\u4ee4\u53c2\u6570\uff0c\u4ece\u800c\u83b7\u53d6\u672c\u73af\u5883\u4e0bnacos\u7684\u670d\u52a1\u5730\u5740\uff0c\u6216\u547d\u540d\u7a7a\u95f4\u540d\u79f0\u3001\u5206\u7ec4\u540d\u79f0\u7b49\u7b49\uff0c\u7136\u540e\u5c31\u53ef\u4ee5\u6839\u636e\u83b7\u53d6\u7684\u914d\u7f6e\u53c2\u6570\u6216\u73af\u5883\u53d8\u91cf\u6765\u8bfb\u53d6\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u4ece\u800c\u5b9e\u73b0\u4e0d\u540c\u73af\u5883\u4f7f\u7528\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u4e0d\u7528\u4fee\u6539\u4ee3\u7801\u6216\u8005\u672c\u5730\u914d\u7f6e\u6587\u4ef6\u3002"),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_40756113/article/details/123074848"},"https://blog.csdn.net/qq_40756113/article/details/123074848")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4429],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>y});var r=n(96540);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var p=r.createContext({}),s=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=s(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),u=s(n),g=i,y=u["".concat(p,".").concat(g)]||u[g]||d[g]||a;return n?r.createElement(y,o(o({ref:t},c),{},{components:n})):r.createElement(y,o({ref:t},c))}));function y(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=g;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l[u]="string"==typeof e?e:i,o[1]=l;for(var s=2;s{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var r=n(58168),i=(n(96540),n(15680));const a={},o=void 0,l={unversionedId:"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",id:"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",title:"Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",description:"InitializingBean",source:"@site/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",permalink:"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Spring Security",permalink:"/docs/study/back/spring/SpringSecurity"},next:{title:"SpringCloud\u4e94\u5927\u7ec4\u4ef6",permalink:"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6"}},p={},s=[{value:"InitializingBean",id:"initializingbean",level:3},{value:"DisposableBean",id:"disposablebean",level:3},{value:"ApplicationContextInitializer",id:"applicationcontextinitializer",level:3},{value:"ApplicationListener",id:"applicationlistener",level:3},{value:"EnvironmentPostProcessor",id:"environmentpostprocessor",level:3}],c={toc:s},u="wrapper";function d(e){let{components:t,...n}=e;return(0,i.yg)(u,(0,r.A)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("h3",{id:"initializingbean"},"InitializingBean"),(0,i.yg)("p",null,"\u9700\u8981\u5b9e\u73b0 afterPropertiesSet\u63a5\u53e3\u65b9\u6cd5"),(0,i.yg)("p",null,"\u53c2\u8003 ",(0,i.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_37705525/article/details/124808168"},"https://blog.csdn.net/qq_37705525/article/details/124808168")),(0,i.yg)("h3",{id:"disposablebean"},"DisposableBean"),(0,i.yg)("p",null,"\u9700\u8981\u5b9e\u73b0 destroy\u63a5\u53e3\u65b9\u6cd5"),(0,i.yg)("p",null,"\u53c2\u8003 ",(0,i.yg)("a",{parentName:"p",href:"https://blog.csdn.net/zhangduilei/article/details/78606636"},"https://blog.csdn.net/zhangduilei/article/details/78606636")),(0,i.yg)("h3",{id:"applicationcontextinitializer"},"ApplicationContextInitializer"),(0,i.yg)("p",null,"ApplicationContextInitializer \u63a5\u53e3\u7528\u4e8e\u5728 Spring \u5bb9\u5668\u5237\u65b0\u4e4b\u524d\u6267\u884c\u7684\u4e00\u4e2a\u56de\u8c03\u51fd\u6570\uff0c\u901a\u5e38\u7528\u4e8e\u5411 SpringBoot \u5bb9\u5668\u4e2d\u6ce8\u5165\u5c5e\u6027\u3002"),(0,i.yg)("p",null,"\u53c2\u8003 ",(0,i.yg)("a",{parentName:"p",href:"https://zhuanlan.zhihu.com/p/509824476"},"https://zhuanlan.zhihu.com/p/509824476")),(0,i.yg)("h3",{id:"applicationlistener"},"ApplicationListener"),(0,i.yg)("p",null,"\u76d1\u542c\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5305\u542b\u90e8\u5206\u751f\u547d\u5468\u671f\u7c7b\u578b\u7684\u4e8b\u4ef6\uff0c\u4f8b\u5982ApplicationEnvironmentPreparedEvent"),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_21484747/article/details/124855050"},"https://blog.csdn.net/qq_21484747/article/details/124855050")),(0,i.yg)("h3",{id:"environmentpostprocessor"},"EnvironmentPostProcessor"),(0,i.yg)("p",null,"\u4e00\u822c\u7528\u4e8e\u8bfb\u53d6\u73af\u5883\u53d8\u91cf\u8fbe\u5230\u591a\u4e2a\u5fae\u670d\u52a1\u5171\u540c\u914d\u7f6e\u7684\u4fee\u6539\u4e0e\u7ef4\u62a4\u3002\u5f53\u6211\u4eec\u6709\u591a\u5957\u73af\u5883(\u5f00\u53d1\u3001\u6d4b\u8bd5\u3001\u751f\u4ea7\u7b49\u7b49)\u65f6\uff0c\u6bcf\u5957\u73af\u5883\u90fd\u6709\u4e13\u5c5e\u7684\u914d\u7f6e\u6587\u4ef6\u5b58\u653e\u4e8e\u914d\u7f6e\u4e2d\u5fc3(\u4ee5nacos\u4e3a\u4f8b)\uff0c\u53ef\u80fd\u5b58\u653e\u4e8e\u4e0d\u540c\u7684\u914d\u7f6e\u4e2d\u5fc3(\u6bcf\u4e2a\u73af\u5883\u6709\u4e13\u5c5e\u7684\u914d\u7f6e\u4e2d\u5fc3\uff0c\u670d\u52a1\u5730\u5740\u4e0d\u540c)\uff0c\u4e5f\u53ef\u80fd\u5b58\u653e\u4e8e\u540c\u4e00nacos\u7684\u4e0d\u540c\u547d\u540d\u7a7a\u95f4\uff0c\u4e5f\u6216\u8005\u540c\u4e00\u547d\u540d\u7a7a\u95f4\u7684\u4e0d\u540c\u5206\u7ec4\u7b49\u7b49\u3002\u540c\u4e00\u5957\u4ee3\u7801\u5728\u4e0d\u540c\u73af\u5883\u8fd0\u884c\u9700\u8981\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u8fd9\u65f6\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5728\u9879\u76ee\u542f\u52a8\u65f6\uff0c\u5b9e\u73b0EnvironmentPostProcessor\u63a5\u53e3\uff0c\u5728postProcessEnvironment\u65b9\u6cd5\u4e2d\u8bfb\u53d6\u73af\u5883\u53d8\u91cf\u6216\u8005\u542f\u52a8\u547d\u4ee4\u53c2\u6570\uff0c\u4ece\u800c\u83b7\u53d6\u672c\u73af\u5883\u4e0bnacos\u7684\u670d\u52a1\u5730\u5740\uff0c\u6216\u547d\u540d\u7a7a\u95f4\u540d\u79f0\u3001\u5206\u7ec4\u540d\u79f0\u7b49\u7b49\uff0c\u7136\u540e\u5c31\u53ef\u4ee5\u6839\u636e\u83b7\u53d6\u7684\u914d\u7f6e\u53c2\u6570\u6216\u73af\u5883\u53d8\u91cf\u6765\u8bfb\u53d6\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u4ece\u800c\u5b9e\u73b0\u4e0d\u540c\u73af\u5883\u4f7f\u7528\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u4e0d\u7528\u4fee\u6539\u4ee3\u7801\u6216\u8005\u672c\u5730\u914d\u7f6e\u6587\u4ef6\u3002"),(0,i.yg)("p",null,(0,i.yg)("a",{parentName:"p",href:"https://blog.csdn.net/qq_40756113/article/details/123074848"},"https://blog.csdn.net/qq_40756113/article/details/123074848")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d8a12065.c154ddc3.js b/assets/js/d8a12065.9f48d314.js similarity index 98% rename from assets/js/d8a12065.c154ddc3.js rename to assets/js/d8a12065.9f48d314.js index 11e6f43b7..69ba92b7f 100644 --- a/assets/js/d8a12065.c154ddc3.js +++ b/assets/js/d8a12065.9f48d314.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[664],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),o=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},l=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,c=e.originalType,p=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),y=o(r),u=a,f=y["".concat(p,".").concat(u)]||y[u]||d[u]||c;return r?n.createElement(f,i(i({ref:t},l),{},{components:r})):n.createElement(f,i({ref:t},l))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var c=r.length,i=new Array(c);i[0]=u;var s={};for(var p in t)hasOwnProperty.call(t,p)&&(s[p]=t[p]);s.originalType=e,s[y]="string"==typeof e?e:a,i[1]=s;for(var o=2;o{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>c,metadata:()=>s,toc:()=>o});var n=r(58168),a=(r(96540),r(15680));const c={},i=void 0,s={unversionedId:"study/fe/TypeScript\u8bed\u6cd5\u56fe",id:"study/fe/TypeScript\u8bed\u6cd5\u56fe",title:"TypeScript\u8bed\u6cd5\u56fe",description:"\u8bed\u6cd5\u56fe",source:"@site/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe.md",sourceDirName:"study/fe",slug:"/study/fe/TypeScript\u8bed\u6cd5\u56fe",permalink:"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",permalink:"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55"},next:{title:"WebGL",permalink:"/docs/study/fe/WebGL"}},p={},o=[{value:"\u8bed\u6cd5\u56fe",id:"\u8bed\u6cd5\u56fe",level:3},{value:"class",id:"class",level:4},{value:"\u63a7\u5236\u6d41\u7a0b",id:"\u63a7\u5236\u6d41\u7a0b",level:4},{value:"interface",id:"interface",level:4},{value:"type",id:"type",level:4}],l={toc:o},y="wrapper";function d(e){let{components:t,...c}=e;return(0,a.yg)(y,(0,n.A)({},l,c,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u8bed\u6cd5\u56fe"},"\u8bed\u6cd5\u56fe"),(0,a.yg)("h4",{id:"class"},"class"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"TypeScript Classes",src:r(85243).A,width:"1330",height:"940"})),(0,a.yg)("h4",{id:"\u63a7\u5236\u6d41\u7a0b"},"\u63a7\u5236\u6d41\u7a0b"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"TypeScript Control Flow Analysis",src:r(35090).A,width:"1330",height:"940"})),(0,a.yg)("h4",{id:"interface"},"interface"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"TypeScript Interfaces",src:r(61311).A,width:"1330",height:"940"})),(0,a.yg)("h4",{id:"type"},"type"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"TypeScript Types",src:r(99116).A,width:"5542",height:"3917"})))}d.isMDXComponent=!0},85243:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/TypeScript Classes-83cc6f8e42ba2002d5e2c04221fa78f9.png"},35090:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/TypeScript Control Flow Analysis-8a549253ad8470850b77c4c5c351d457.png"},61311:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/TypeScript Interfaces-34f1ad12132fb463bd1dfe5b85c5b2e6.png"},99116:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/TypeScript Types-ae199d69aeecf7d4a2704a528d0fd3f9.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[664],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),o=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},l=function(e){var t=o(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,c=e.originalType,p=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),y=o(r),u=a,f=y["".concat(p,".").concat(u)]||y[u]||d[u]||c;return r?n.createElement(f,i(i({ref:t},l),{},{components:r})):n.createElement(f,i({ref:t},l))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var c=r.length,i=new Array(c);i[0]=u;var s={};for(var p in t)hasOwnProperty.call(t,p)&&(s[p]=t[p]);s.originalType=e,s[y]="string"==typeof e?e:a,i[1]=s;for(var o=2;o{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>c,metadata:()=>s,toc:()=>o});var n=r(58168),a=(r(96540),r(15680));const c={},i=void 0,s={unversionedId:"study/fe/TypeScript\u8bed\u6cd5\u56fe",id:"study/fe/TypeScript\u8bed\u6cd5\u56fe",title:"TypeScript\u8bed\u6cd5\u56fe",description:"\u8bed\u6cd5\u56fe",source:"@site/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe.md",sourceDirName:"study/fe",slug:"/study/fe/TypeScript\u8bed\u6cd5\u56fe",permalink:"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55",permalink:"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55"},next:{title:"WebGL",permalink:"/docs/study/fe/WebGL"}},p={},o=[{value:"\u8bed\u6cd5\u56fe",id:"\u8bed\u6cd5\u56fe",level:3},{value:"class",id:"class",level:4},{value:"\u63a7\u5236\u6d41\u7a0b",id:"\u63a7\u5236\u6d41\u7a0b",level:4},{value:"interface",id:"interface",level:4},{value:"type",id:"type",level:4}],l={toc:o},y="wrapper";function d(e){let{components:t,...c}=e;return(0,a.yg)(y,(0,n.A)({},l,c,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u8bed\u6cd5\u56fe"},"\u8bed\u6cd5\u56fe"),(0,a.yg)("h4",{id:"class"},"class"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"TypeScript Classes",src:r(85243).A,width:"1330",height:"940"})),(0,a.yg)("h4",{id:"\u63a7\u5236\u6d41\u7a0b"},"\u63a7\u5236\u6d41\u7a0b"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"TypeScript Control Flow Analysis",src:r(35090).A,width:"1330",height:"940"})),(0,a.yg)("h4",{id:"interface"},"interface"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"TypeScript Interfaces",src:r(61311).A,width:"1330",height:"940"})),(0,a.yg)("h4",{id:"type"},"type"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"TypeScript Types",src:r(99116).A,width:"5542",height:"3917"})))}d.isMDXComponent=!0},85243:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/TypeScript Classes-83cc6f8e42ba2002d5e2c04221fa78f9.png"},35090:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/TypeScript Control Flow Analysis-8a549253ad8470850b77c4c5c351d457.png"},61311:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/TypeScript Interfaces-34f1ad12132fb463bd1dfe5b85c5b2e6.png"},99116:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/TypeScript Types-ae199d69aeecf7d4a2704a528d0fd3f9.png"}}]); \ No newline at end of file diff --git a/assets/js/d924bf19.c20542b9.js b/assets/js/d924bf19.5eda5832.js similarity index 98% rename from assets/js/d924bf19.c20542b9.js rename to assets/js/d924bf19.5eda5832.js index 3088f7857..803cb55f5 100644 --- a/assets/js/d924bf19.c20542b9.js +++ b/assets/js/d924bf19.5eda5832.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1226],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>y});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=r.createContext({}),u=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=u(e.components);return r.createElement(s.Provider,{value:t},e.children)},d="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,l=e.originalType,s=e.parentName,c=a(e,["components","mdxType","originalType","parentName"]),d=u(n),m=o,y=d["".concat(s,".").concat(m)]||d[m]||p[m]||l;return n?r.createElement(y,i(i({ref:t},c),{},{components:n})):r.createElement(y,i({ref:t},c))}));function y(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=n.length,i=new Array(l);i[0]=m;var a={};for(var s in t)hasOwnProperty.call(t,s)&&(a[s]=t[s]);a.originalType=e,a[d]="string"==typeof e?e:o,i[1]=a;for(var u=2;u{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>p,frontMatter:()=>l,metadata:()=>a,toc:()=>u});var r=n(58168),o=(n(96540),n(15680));const l={sidebar_position:2},i=void 0,a={unversionedId:"study/fe/\u524d\u7aef\u6a21\u5757\u5316",id:"study/fe/\u524d\u7aef\u6a21\u5757\u5316",title:"\u524d\u7aef\u6a21\u5757\u5316",description:"\u80cc\u666f",source:"@site/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316.md",sourceDirName:"study/fe",slug:"/study/fe/\u524d\u7aef\u6a21\u5757\u5316",permalink:"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/fe/"},next:{title:"ARMS\u524d\u7aef\u76d1\u63a7",permalink:"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7"}},s={},u=[{value:"\u80cc\u666f",id:"\u80cc\u666f",level:3},{value:"IIFE",id:"iife",level:3},{value:"CommonJSCJS",id:"commonjscjs",level:3},{value:"AMD",id:"amd",level:3},{value:"CMD",id:"cmd",level:3},{value:"UMD",id:"umd",level:3},{value:"ES6 Modules\u3010ESM\u3011\u3010ES6M\u3011",id:"es6-modulesesmes6m",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:u},d="wrapper";function p(e){let{components:t,...l}=e;return(0,o.yg)(d,(0,r.A)({},c,l,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u80cc\u666f"},"\u80cc\u666f"),(0,o.yg)("p",null,"\u4e3a\u4ec0\u4e48\u524d\u7aef\u4f1a\u6709\u8fd9\u4e48\u591a\u6a21\u5757\u5316\u65b9\u6848\uff1f\u4e3b\u8981\u539f\u56e0\u5c31\u662fES5\u53ca\u4e4b\u524d\u662f\u4e0d\u652f\u6301\u6a21\u5757\u5316\u7684\u3002"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"\u6a21\u5757\u5316\u65b9\u6848",src:n(33206).A,width:"750",height:"541"})),(0,o.yg)("h3",{id:"iife"},"IIFE"),(0,o.yg)("p",null,"IIFE\uff0c\u5168\u79f0\u662f Immediately Invoked Function Expression\uff0c\u201c\u7acb\u5373\u6267\u884c\u51fd\u6570\u201d\u7684\u610f\u601d\u3002\u5982\u679c\u8981\u5b9e\u73b0\u6a21\u5757\u5316\uff0c\u5c31\u9700\u8981\u5728 IIFE \u4e2d\uff0c\u628a\u4ee3\u7801\u6302\u8f7d\u5728\u5168\u5c40\u53d8\u91cf\u4e0a\u3002"),(0,o.yg)("p",null,"\u8fd9\u4e5f\u662f\u65e9\u671f JavaScript \u7684\u6a21\u5757\u5316\u65b9\u6848\uff0c\u6839\u636e\u4e0d\u540c\u73af\u5883\uff0c\u628a\u6a21\u5757\u5168\u90e8\u6302\u8f7d\u5728\u5bf9\u5e94\u73af\u5883\u7684\u5168\u5c40\u53d8\u91cf\u4e0a\uff0c\u6d4f\u89c8\u5668\u5c31\u6302\u8f7d\u5728\u201cwindow\u201d\u5bf9\u8c61\u4e0a\uff0cNode.js \u5c31\u6302\u8f7d\u5728 global \u5168\u5c40\u53d8\u91cf\u4e0a\u3002"),(0,o.yg)("h3",{id:"commonjscjs"},"CommonJS","[CJS]"),(0,o.yg)("p",null,"CJS\uff0c\u5168\u79f0\u662f CommonJS \u6a21\u5757\u5316\u89c4\u8303\uff0c\u76ee\u524d\u7528\u7684\u6bd4\u8f83\u5e7f\u6cdb\u662f\u5728 Node.js \u73af\u5883\u91cc\uff0c\u56e0\u4e3a Node.js \u521a\u8bde\u751f\u7684\u65f6\u5019\uff0c\u6a21\u5757\u5316\u65b9\u6848\u662f\u57fa\u4e8e CommonJS \u89c4\u8303\u6765\u5b9e\u73b0\u7684\uff0c\u800c\u4e14\uff0cCJS \u89c4\u8303\u4e5f\u662f\u5728 ES6 \u8349\u6848\u786e\u5b9a\u4e4b\u524d\u8bde\u751f\u7684\u3001\u517c\u5bb9 ES5 \u7684\u73af\u5883\u3002"),(0,o.yg)("h3",{id:"amd"},"AMD"),(0,o.yg)("p",null,"AMD\uff0c\u5168\u79f0\u662f Asynchronous Module Definition\uff0c\u201c\u5f02\u6b65\u6a21\u5757\u5b9a\u4e49\u201d\uff0c\u662f\u4e00\u79cd\u9762\u5411\u6d4f\u89c8\u5668\u8fd0\u884c\u7684\u6a21\u5757\u5316\u65b9\u6848\u3002"),(0,o.yg)("p",null,"AMD \u5728 ES6 \u8fd8\u6ca1\u51fa\u73b0\u4e4b\u524d\uff0c\u662f ES5 \u73af\u5883\u4e0b\u5e38\u89c1\u7528\u7684\u6a21\u5757\u5316\u65b9\u6848\u3002\u8fd9\u91cc\u63d0\u5230\u7684\u201c\u5f02\u6b65\u6a21\u5757\u201d\uff0c\u662f\u6307\u6309\u6a21\u5757\u7684\u4f9d\u8d56\u6765\u5f02\u6b65\u52a0\u8f7d AMD \u6a21\u5757\uff0c\u7b49\u5f85\u4f9d\u8d56\u6a21\u5757\u5f02\u6b65\u52a0\u8f7d\u5b8c\uff0c\u5c31\u5f00\u59cb\u6267\u884c\u4e3b\u4f53\u4ee3\u7801\u3002\u5168\u7a0b\u7684\u8fd0\u884c\u65f6\u6267\u884c\u8fc7\u7a0b\uff0c\u90fd\u662f\u57fa\u4e8e ES5 \u7684\u8bed\u6cd5\u80fd\u529b\u6765\u5b9e\u73b0\u7684\u3002\u4f46\u662f\uff0cAMD \u53ea\u662f\u4e00\u79cd\u6280\u672f\u65b9\u6848\uff0c\u4e5f\u5c31\u662f\u89c4\u8303\uff0c\u5177\u4f53\u6280\u672f\u5b9e\u73b0\u9700\u8981\u6839\u636e\u89c4\u8303\uff0c\u5b9e\u73b0\u5176\u8fd0\u884c\u65f6\u3002\u76ee\u524d\u4e3b\u6d41\u7684 AMD \u6280\u672f\u6846\u67b6\u6709 RequireJS\u3002"),(0,o.yg)("h3",{id:"cmd"},"CMD"),(0,o.yg)("h3",{id:"umd"},"UMD"),(0,o.yg)("h3",{id:"es6-modulesesmes6m"},"ES6 Modules\u3010ESM\u3011\u3010ES6M\u3011"),(0,o.yg)("p",null,"export\u9700\u8981\u6ce8\u610fES6 module\u662f\u5411\u5916\u629b\u7684\u503c\u7684\u5f15\u7528\uff0c\u662f\u5f15\u7528\u3002\uff08\u8fd9\u548cCommonJS\u6a21\u5757\u4e0d\u4e00\u6837\uff0cCommonJS\u662f\u5411\u5916\u629b\u7684\u503c\u7684\u62f7\u8d1d\uff09"),(0,o.yg)("p",null,"export\u8bed\u53e5\u8f93\u51fa\u7684\u63a5\u53e3\uff0c\u4e0e\u5176\u5bf9\u5e94\u7684\u503c\u662f\u52a8\u6001\u7ed1\u5b9a\u5173\u7cfb\uff0c\u5373\u901a\u8fc7\u8be5\u63a5\u53e3\uff0c\u53ef\u4ee5\u53d6\u5230\u6a21\u5757\u5185\u90e8\u5b9e\u65f6\u7684\u503c\u3002\u8fd9\u4e00\u70b9\u4e0e CommonJS \u89c4\u8303\u5b8c\u5168\u4e0d\u540c\u3002CommonJS \u6a21\u5757\u8f93\u51fa\u7684\u662f\u503c\u7684\u7f13\u5b58\uff0c\u4e0d\u5b58\u5728\u52a8\u6001\u66f4\u65b0\u3002"),(0,o.yg)("p",null,"export\u547d\u4ee4\u53ef\u4ee5\u51fa\u73b0\u5728\u6a21\u5757\u7684\u4efb\u4f55\u4f4d\u7f6e\uff0c\u53ea\u8981\u5904\u4e8e\u6a21\u5757\u9876\u5c42\u5c31\u53ef\u4ee5\u3002\u5982\u679c\u5904\u4e8e\u5757\u7ea7\u4f5c\u7528\u57df\u5185\uff0c\u5c31\u4f1a\u62a5\u9519\uff0cimport\u547d\u4ee4\u4e5f\u662f\u5982\u6b64\u3002\u8fd9\u662f\u56e0\u4e3a\u5904\u4e8e\u6761\u4ef6\u4ee3\u7801\u5757\u4e4b\u4e2d\uff0c\u5c31\u6ca1\u6cd5\u505a\u9759\u6001\u4f18\u5316\u4e86\uff0c\u8fdd\u80cc\u4e86 ES6 \u6a21\u5757\u7684\u8bbe\u8ba1\u521d\u8877\u3010\u9759\u6001\u7f16\u8bd1\u3011\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/leelxp/article/details/108101442"},"\u524d\u7aef\u5de5\u7a0b\u5316\uff1aCommonJS\u3001AMD\u3001CMD\u3001UMD\u548cES Modules\u7684\u533a\u522b"))))}p.isMDXComponent=!0},33206:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/mo-kuai-hua-cced05ee2f85ff5f8102bec470c479ae.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1226],{15680:(e,t,n)=>{n.d(t,{xA:()=>c,yg:()=>y});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=r.createContext({}),u=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=u(e.components);return r.createElement(s.Provider,{value:t},e.children)},d="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,l=e.originalType,s=e.parentName,c=a(e,["components","mdxType","originalType","parentName"]),d=u(n),m=o,y=d["".concat(s,".").concat(m)]||d[m]||p[m]||l;return n?r.createElement(y,i(i({ref:t},c),{},{components:n})):r.createElement(y,i({ref:t},c))}));function y(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var l=n.length,i=new Array(l);i[0]=m;var a={};for(var s in t)hasOwnProperty.call(t,s)&&(a[s]=t[s]);a.originalType=e,a[d]="string"==typeof e?e:o,i[1]=a;for(var u=2;u{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>p,frontMatter:()=>l,metadata:()=>a,toc:()=>u});var r=n(58168),o=(n(96540),n(15680));const l={sidebar_position:2},i=void 0,a={unversionedId:"study/fe/\u524d\u7aef\u6a21\u5757\u5316",id:"study/fe/\u524d\u7aef\u6a21\u5757\u5316",title:"\u524d\u7aef\u6a21\u5757\u5316",description:"\u80cc\u666f",source:"@site/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316.md",sourceDirName:"study/fe",slug:"/study/fe/\u524d\u7aef\u6a21\u5757\u5316",permalink:"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/fe/"},next:{title:"ARMS\u524d\u7aef\u76d1\u63a7",permalink:"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7"}},s={},u=[{value:"\u80cc\u666f",id:"\u80cc\u666f",level:3},{value:"IIFE",id:"iife",level:3},{value:"CommonJSCJS",id:"commonjscjs",level:3},{value:"AMD",id:"amd",level:3},{value:"CMD",id:"cmd",level:3},{value:"UMD",id:"umd",level:3},{value:"ES6 Modules\u3010ESM\u3011\u3010ES6M\u3011",id:"es6-modulesesmes6m",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:u},d="wrapper";function p(e){let{components:t,...l}=e;return(0,o.yg)(d,(0,r.A)({},c,l,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u80cc\u666f"},"\u80cc\u666f"),(0,o.yg)("p",null,"\u4e3a\u4ec0\u4e48\u524d\u7aef\u4f1a\u6709\u8fd9\u4e48\u591a\u6a21\u5757\u5316\u65b9\u6848\uff1f\u4e3b\u8981\u539f\u56e0\u5c31\u662fES5\u53ca\u4e4b\u524d\u662f\u4e0d\u652f\u6301\u6a21\u5757\u5316\u7684\u3002"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"\u6a21\u5757\u5316\u65b9\u6848",src:n(33206).A,width:"750",height:"541"})),(0,o.yg)("h3",{id:"iife"},"IIFE"),(0,o.yg)("p",null,"IIFE\uff0c\u5168\u79f0\u662f Immediately Invoked Function Expression\uff0c\u201c\u7acb\u5373\u6267\u884c\u51fd\u6570\u201d\u7684\u610f\u601d\u3002\u5982\u679c\u8981\u5b9e\u73b0\u6a21\u5757\u5316\uff0c\u5c31\u9700\u8981\u5728 IIFE \u4e2d\uff0c\u628a\u4ee3\u7801\u6302\u8f7d\u5728\u5168\u5c40\u53d8\u91cf\u4e0a\u3002"),(0,o.yg)("p",null,"\u8fd9\u4e5f\u662f\u65e9\u671f JavaScript \u7684\u6a21\u5757\u5316\u65b9\u6848\uff0c\u6839\u636e\u4e0d\u540c\u73af\u5883\uff0c\u628a\u6a21\u5757\u5168\u90e8\u6302\u8f7d\u5728\u5bf9\u5e94\u73af\u5883\u7684\u5168\u5c40\u53d8\u91cf\u4e0a\uff0c\u6d4f\u89c8\u5668\u5c31\u6302\u8f7d\u5728\u201cwindow\u201d\u5bf9\u8c61\u4e0a\uff0cNode.js \u5c31\u6302\u8f7d\u5728 global \u5168\u5c40\u53d8\u91cf\u4e0a\u3002"),(0,o.yg)("h3",{id:"commonjscjs"},"CommonJS","[CJS]"),(0,o.yg)("p",null,"CJS\uff0c\u5168\u79f0\u662f CommonJS \u6a21\u5757\u5316\u89c4\u8303\uff0c\u76ee\u524d\u7528\u7684\u6bd4\u8f83\u5e7f\u6cdb\u662f\u5728 Node.js \u73af\u5883\u91cc\uff0c\u56e0\u4e3a Node.js \u521a\u8bde\u751f\u7684\u65f6\u5019\uff0c\u6a21\u5757\u5316\u65b9\u6848\u662f\u57fa\u4e8e CommonJS \u89c4\u8303\u6765\u5b9e\u73b0\u7684\uff0c\u800c\u4e14\uff0cCJS \u89c4\u8303\u4e5f\u662f\u5728 ES6 \u8349\u6848\u786e\u5b9a\u4e4b\u524d\u8bde\u751f\u7684\u3001\u517c\u5bb9 ES5 \u7684\u73af\u5883\u3002"),(0,o.yg)("h3",{id:"amd"},"AMD"),(0,o.yg)("p",null,"AMD\uff0c\u5168\u79f0\u662f Asynchronous Module Definition\uff0c\u201c\u5f02\u6b65\u6a21\u5757\u5b9a\u4e49\u201d\uff0c\u662f\u4e00\u79cd\u9762\u5411\u6d4f\u89c8\u5668\u8fd0\u884c\u7684\u6a21\u5757\u5316\u65b9\u6848\u3002"),(0,o.yg)("p",null,"AMD \u5728 ES6 \u8fd8\u6ca1\u51fa\u73b0\u4e4b\u524d\uff0c\u662f ES5 \u73af\u5883\u4e0b\u5e38\u89c1\u7528\u7684\u6a21\u5757\u5316\u65b9\u6848\u3002\u8fd9\u91cc\u63d0\u5230\u7684\u201c\u5f02\u6b65\u6a21\u5757\u201d\uff0c\u662f\u6307\u6309\u6a21\u5757\u7684\u4f9d\u8d56\u6765\u5f02\u6b65\u52a0\u8f7d AMD \u6a21\u5757\uff0c\u7b49\u5f85\u4f9d\u8d56\u6a21\u5757\u5f02\u6b65\u52a0\u8f7d\u5b8c\uff0c\u5c31\u5f00\u59cb\u6267\u884c\u4e3b\u4f53\u4ee3\u7801\u3002\u5168\u7a0b\u7684\u8fd0\u884c\u65f6\u6267\u884c\u8fc7\u7a0b\uff0c\u90fd\u662f\u57fa\u4e8e ES5 \u7684\u8bed\u6cd5\u80fd\u529b\u6765\u5b9e\u73b0\u7684\u3002\u4f46\u662f\uff0cAMD \u53ea\u662f\u4e00\u79cd\u6280\u672f\u65b9\u6848\uff0c\u4e5f\u5c31\u662f\u89c4\u8303\uff0c\u5177\u4f53\u6280\u672f\u5b9e\u73b0\u9700\u8981\u6839\u636e\u89c4\u8303\uff0c\u5b9e\u73b0\u5176\u8fd0\u884c\u65f6\u3002\u76ee\u524d\u4e3b\u6d41\u7684 AMD \u6280\u672f\u6846\u67b6\u6709 RequireJS\u3002"),(0,o.yg)("h3",{id:"cmd"},"CMD"),(0,o.yg)("h3",{id:"umd"},"UMD"),(0,o.yg)("h3",{id:"es6-modulesesmes6m"},"ES6 Modules\u3010ESM\u3011\u3010ES6M\u3011"),(0,o.yg)("p",null,"export\u9700\u8981\u6ce8\u610fES6 module\u662f\u5411\u5916\u629b\u7684\u503c\u7684\u5f15\u7528\uff0c\u662f\u5f15\u7528\u3002\uff08\u8fd9\u548cCommonJS\u6a21\u5757\u4e0d\u4e00\u6837\uff0cCommonJS\u662f\u5411\u5916\u629b\u7684\u503c\u7684\u62f7\u8d1d\uff09"),(0,o.yg)("p",null,"export\u8bed\u53e5\u8f93\u51fa\u7684\u63a5\u53e3\uff0c\u4e0e\u5176\u5bf9\u5e94\u7684\u503c\u662f\u52a8\u6001\u7ed1\u5b9a\u5173\u7cfb\uff0c\u5373\u901a\u8fc7\u8be5\u63a5\u53e3\uff0c\u53ef\u4ee5\u53d6\u5230\u6a21\u5757\u5185\u90e8\u5b9e\u65f6\u7684\u503c\u3002\u8fd9\u4e00\u70b9\u4e0e CommonJS \u89c4\u8303\u5b8c\u5168\u4e0d\u540c\u3002CommonJS \u6a21\u5757\u8f93\u51fa\u7684\u662f\u503c\u7684\u7f13\u5b58\uff0c\u4e0d\u5b58\u5728\u52a8\u6001\u66f4\u65b0\u3002"),(0,o.yg)("p",null,"export\u547d\u4ee4\u53ef\u4ee5\u51fa\u73b0\u5728\u6a21\u5757\u7684\u4efb\u4f55\u4f4d\u7f6e\uff0c\u53ea\u8981\u5904\u4e8e\u6a21\u5757\u9876\u5c42\u5c31\u53ef\u4ee5\u3002\u5982\u679c\u5904\u4e8e\u5757\u7ea7\u4f5c\u7528\u57df\u5185\uff0c\u5c31\u4f1a\u62a5\u9519\uff0cimport\u547d\u4ee4\u4e5f\u662f\u5982\u6b64\u3002\u8fd9\u662f\u56e0\u4e3a\u5904\u4e8e\u6761\u4ef6\u4ee3\u7801\u5757\u4e4b\u4e2d\uff0c\u5c31\u6ca1\u6cd5\u505a\u9759\u6001\u4f18\u5316\u4e86\uff0c\u8fdd\u80cc\u4e86 ES6 \u6a21\u5757\u7684\u8bbe\u8ba1\u521d\u8877\u3010\u9759\u6001\u7f16\u8bd1\u3011\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/leelxp/article/details/108101442"},"\u524d\u7aef\u5de5\u7a0b\u5316\uff1aCommonJS\u3001AMD\u3001CMD\u3001UMD\u548cES Modules\u7684\u533a\u522b"))))}p.isMDXComponent=!0},33206:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/mo-kuai-hua-cced05ee2f85ff5f8102bec470c479ae.png"}}]); \ No newline at end of file diff --git a/assets/js/d92575b7.5930d923.js b/assets/js/d92575b7.4eee5fed.js similarity index 98% rename from assets/js/d92575b7.5930d923.js rename to assets/js/d92575b7.4eee5fed.js index 766c50ffb..35065d9f5 100644 --- a/assets/js/d92575b7.5930d923.js +++ b/assets/js/d92575b7.4eee5fed.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[700],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),p=s(r),y=o,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[p]="string"==typeof e?e:o,i[1]=c;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"study/db/index",id:"study/db/index",title:"\u6982\u8ff0",description:"\u5b58\u50a8\u6570\u636e\u7684\u670d\u52a1\u7edf\u4e00\u6210\u4e3a\u6570\u636e\u5e93\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a",source:"@site/docs/study/db/index.md",sourceDirName:"study/db",slug:"/study/db/",permalink:"/docs/study/db/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u9519\u8bef\u6392\u9664\u96c6\u9526",permalink:"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526"},next:{title:"\u7efc\u5408",permalink:"/docs/study/db/\u7efc\u5408"}},l={},s=[],u={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u5b58\u50a8\u6570\u636e\u7684\u670d\u52a1\u7edf\u4e00\u6210\u4e3a\u6570\u636e\u5e93\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93 msyql\u3001oracle \u7b49"),(0,o.yg)("li",{parentName:"ul"},"\u975e\u5173\u7cfb\u6570\u636e\u5e93 redis\u3001MongoDB \u7b49")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[700],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),p=s(r),y=o,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[p]="string"==typeof e?e:o,i[1]=c;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i="\u6982\u8ff0",c={unversionedId:"study/db/index",id:"study/db/index",title:"\u6982\u8ff0",description:"\u5b58\u50a8\u6570\u636e\u7684\u670d\u52a1\u7edf\u4e00\u6210\u4e3a\u6570\u636e\u5e93\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a",source:"@site/docs/study/db/index.md",sourceDirName:"study/db",slug:"/study/db/",permalink:"/docs/study/db/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"\u9519\u8bef\u6392\u9664\u96c6\u9526",permalink:"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526"},next:{title:"\u7efc\u5408",permalink:"/docs/study/db/\u7efc\u5408"}},l={},s=[],u={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u5b58\u50a8\u6570\u636e\u7684\u670d\u52a1\u7edf\u4e00\u6210\u4e3a\u6570\u636e\u5e93\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"\u5173\u7cfb\u6570\u636e\u5e93 msyql\u3001oracle \u7b49"),(0,o.yg)("li",{parentName:"ul"},"\u975e\u5173\u7cfb\u6570\u636e\u5e93 redis\u3001MongoDB \u7b49")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/da59034b.d2715fb7.js b/assets/js/da59034b.6100056f.js similarity index 98% rename from assets/js/da59034b.d2715fb7.js rename to assets/js/da59034b.6100056f.js index 4b90b5fbb..e56ff5e3e 100644 --- a/assets/js/da59034b.d2715fb7.js +++ b/assets/js/da59034b.6100056f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1053],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),d=a,m=s["".concat(i,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,l(l({ref:t},u),{},{components:r})):n.createElement(m,l({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:a,l[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l="C++",c={unversionedId:"study/program/CPP/index",id:"study/program/CPP/index",title:"C++",description:"C++\u6807\u51c6",source:"@site/docs/study/program/CPP/index.md",sourceDirName:"study/program/CPP",slug:"/study/program/CPP/",permalink:"/docs/study/program/CPP/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u865a\u62df\u7f51\u5361",permalink:"/docs/study/program/C/\u865a\u62df\u7f51\u5361"},next:{title:"CGI",permalink:"/docs/study/program/CPP/CGI"}},i={},p=[{value:"C++\u6807\u51c6",id:"c\u6807\u51c6",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"c"},"C++"),(0,a.yg)("h3",{id:"c\u6807\u51c6"},"C++\u6807\u51c6"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"C++98 1998 \u5e74 \u7b2c\u4e00\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++03 2003 \u5e74 \u7b2c\u4e8c\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++11 2011 \u5e74 \u7b2c\u4e09\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++14 2014 \u5e74 \u7b2c\u56db\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++17 2017 \u5e74 \u7b2c\u4e94\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++20 2020 \u5e74 \u7b2c\u516d\u4e2a\u6807\u51c6")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.w3cschool.cn/cpp/cpp-intro.html"},"W3Cshool-C++"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1053],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),p=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=p(r),d=a,m=s["".concat(i,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(m,l(l({ref:t},u),{},{components:r})):n.createElement(m,l({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=d;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:a,l[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},l="C++",c={unversionedId:"study/program/CPP/index",id:"study/program/CPP/index",title:"C++",description:"C++\u6807\u51c6",source:"@site/docs/study/program/CPP/index.md",sourceDirName:"study/program/CPP",slug:"/study/program/CPP/",permalink:"/docs/study/program/CPP/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u865a\u62df\u7f51\u5361",permalink:"/docs/study/program/C/\u865a\u62df\u7f51\u5361"},next:{title:"CGI",permalink:"/docs/study/program/CPP/CGI"}},i={},p=[{value:"C++\u6807\u51c6",id:"c\u6807\u51c6",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"c"},"C++"),(0,a.yg)("h3",{id:"c\u6807\u51c6"},"C++\u6807\u51c6"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"C++98 1998 \u5e74 \u7b2c\u4e00\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++03 2003 \u5e74 \u7b2c\u4e8c\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++11 2011 \u5e74 \u7b2c\u4e09\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++14 2014 \u5e74 \u7b2c\u56db\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++17 2017 \u5e74 \u7b2c\u4e94\u4e2a\u6807\u51c6"),(0,a.yg)("li",{parentName:"ul"},"C++20 2020 \u5e74 \u7b2c\u516d\u4e2a\u6807\u51c6")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.w3cschool.cn/cpp/cpp-intro.html"},"W3Cshool-C++"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/dae804dd.a0b9b84f.js b/assets/js/dae804dd.16ce4c3a.js similarity index 98% rename from assets/js/dae804dd.a0b9b84f.js rename to assets/js/dae804dd.16ce4c3a.js index 56868737a..d6cb18b52 100644 --- a/assets/js/dae804dd.a0b9b84f.js +++ b/assets/js/dae804dd.16ce4c3a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6501],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),s=l(r),f=o,y=s["".concat(c,".").concat(f)]||s[f]||d[f]||a;return r?n.createElement(y,i(i({ref:t},u),{},{components:r})):n.createElement(y,i({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var p={};for(var c in t)hasOwnProperty.call(t,c)&&(p[c]=t[c]);p.originalType=e,p[s]="string"==typeof e?e:o,i[1]=p;for(var l=2;l{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>p,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,p={unversionedId:"study/program/JAVA/JDK8",id:"study/program/JAVA/JDK8",title:"JDK8",description:"Optional",source:"@site/docs/study/program/JAVA/JDK8.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JDK8",permalink:"/docs/study/program/JAVA/JDK8",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JDK21",permalink:"/docs/study/program/JAVA/JDK21"},next:{title:"JNI",permalink:"/docs/study/program/JAVA/JNI"}},c={},l=[{value:"Optional",id:"optional",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"optional"},"Optional"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://baijiahao.baidu.com/s?id=1780195930536344267&wfr=spider&for=pc"},"JDK8\u65b0\u7279\u6027-Optional\u7c7b")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6501],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),s=l(r),f=o,y=s["".concat(c,".").concat(f)]||s[f]||d[f]||a;return r?n.createElement(y,i(i({ref:t},u),{},{components:r})):n.createElement(y,i({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var p={};for(var c in t)hasOwnProperty.call(t,c)&&(p[c]=t[c]);p.originalType=e,p[s]="string"==typeof e?e:o,i[1]=p;for(var l=2;l{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>p,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,p={unversionedId:"study/program/JAVA/JDK8",id:"study/program/JAVA/JDK8",title:"JDK8",description:"Optional",source:"@site/docs/study/program/JAVA/JDK8.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/JDK8",permalink:"/docs/study/program/JAVA/JDK8",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"JDK21",permalink:"/docs/study/program/JAVA/JDK21"},next:{title:"JNI",permalink:"/docs/study/program/JAVA/JNI"}},c={},l=[{value:"Optional",id:"optional",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"optional"},"Optional"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://baijiahao.baidu.com/s?id=1780195930536344267&wfr=spider&for=pc"},"JDK8\u65b0\u7279\u6027-Optional\u7c7b")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/db9f25d2.e930989f.js b/assets/js/db9f25d2.c606e7c9.js similarity index 98% rename from assets/js/db9f25d2.e930989f.js rename to assets/js/db9f25d2.c606e7c9.js index 77a70c2af..192e8d91e 100644 --- a/assets/js/db9f25d2.e930989f.js +++ b/assets/js/db9f25d2.c606e7c9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4837],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241008",id:"study/stock/20241008",title:"20241008",description:"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c\u4e00\u4e2a\u4ea4\u6613\u65e5",source:"@site/docs/study/stock/20241008.md",sourceDirName:"study/stock",slug:"/study/stock/20241008",permalink:"/docs/study/stock/20241008",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c\u4e00\u4e2a\u4ea4\u6613\u65e5"),(0,o.yg)("p",null,"\u6574\u4e2a\u5047\u671f\uff0c\u5f88\u591a\u4eba\u90fd\u5728\u8ba8\u8bba\u80a1\u7968\u3001\u725b\u5e02"),(0,o.yg)("p",null,"\u5927\u76d8\u4ece 9 \u6708 24 \u53f7\u5f00\u59cb\uff0c\u77ed\u77ed 7 \u5929\u5927\u6da8\u4e86 700 \u4e2a\u70b9"),(0,o.yg)("p",null,"\u7b2c\u4e00\u6b21\u4eb2\u8eab\u7ecf\u5386\u8fd9\u79cd\u66b4\u6da8"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u76f4\u63a5\u6da8\u505c\u5f00\u76d8\uff0c\u5f00\u7684\u76f8\u5f53\u7684\u9ad8\uff0c\u5343\u80a1\u6da8\u505c\uff0c\u8fc7\u4e8e\u4e00\u81f4\u4e86\uff0c\u6240\u4ee5\u9ad8\u5f00\u4f4e\u8d70\uff0c\u5168\u5929\u632f\u5e45 9.06%\uff0c\u6700\u7ec8\u6da8\u5e45 4.59%"),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u53d8\u73b0\u7684\u597d\u673a\u4f1a\uff0c\u6216\u8005\u662f\u65e5\u5185\u77ed\u5dee\u7684\u597d\u673a\u4f1a"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4837],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241008",id:"study/stock/20241008",title:"20241008",description:"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c\u4e00\u4e2a\u4ea4\u6613\u65e5",source:"@site/docs/study/stock/20241008.md",sourceDirName:"study/stock",slug:"/study/stock/20241008",permalink:"/docs/study/stock/20241008",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u5341\u4e00\u5047\u671f\u4e4b\u540e\u7684\u7b2c\u4e00\u4e2a\u4ea4\u6613\u65e5"),(0,o.yg)("p",null,"\u6574\u4e2a\u5047\u671f\uff0c\u5f88\u591a\u4eba\u90fd\u5728\u8ba8\u8bba\u80a1\u7968\u3001\u725b\u5e02"),(0,o.yg)("p",null,"\u5927\u76d8\u4ece 9 \u6708 24 \u53f7\u5f00\u59cb\uff0c\u77ed\u77ed 7 \u5929\u5927\u6da8\u4e86 700 \u4e2a\u70b9"),(0,o.yg)("p",null,"\u7b2c\u4e00\u6b21\u4eb2\u8eab\u7ecf\u5386\u8fd9\u79cd\u66b4\u6da8"),(0,o.yg)("p",null,"\u4eca\u5929\u5927\u76d8\u76f4\u63a5\u6da8\u505c\u5f00\u76d8\uff0c\u5f00\u7684\u76f8\u5f53\u7684\u9ad8\uff0c\u5343\u80a1\u6da8\u505c\uff0c\u8fc7\u4e8e\u4e00\u81f4\u4e86\uff0c\u6240\u4ee5\u9ad8\u5f00\u4f4e\u8d70\uff0c\u5168\u5929\u632f\u5e45 9.06%\uff0c\u6700\u7ec8\u6da8\u5e45 4.59%"),(0,o.yg)("p",null,"\u4eca\u5929\u662f\u53d8\u73b0\u7684\u597d\u673a\u4f1a\uff0c\u6216\u8005\u662f\u65e5\u5185\u77ed\u5dee\u7684\u597d\u673a\u4f1a"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/dd0f37bd.d9f43728.js b/assets/js/dd0f37bd.37631d9c.js similarity index 98% rename from assets/js/dd0f37bd.d9f43728.js rename to assets/js/dd0f37bd.37631d9c.js index 23d96b6d4..d7173b51d 100644 --- a/assets/js/dd0f37bd.d9f43728.js +++ b/assets/js/dd0f37bd.37631d9c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4113],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=o,f=s["".concat(p,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c="\u884c\u4e1a\u5206\u6790",i={unversionedId:"study/encryption/\u884c\u4e1a\u5206\u6790",id:"study/encryption/\u884c\u4e1a\u5206\u6790",title:"\u884c\u4e1a\u5206\u6790",description:"\u516c\u53f8",source:"@site/docs/study/encryption/\u884c\u4e1a\u5206\u6790.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u884c\u4e1a\u5206\u6790",permalink:"/docs/study/encryption/\u884c\u4e1a\u5206\u6790",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7b49\u4fdd\u548c\u5bc6\u8bc4",permalink:"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4"},next:{title:"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",permalink:"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f"}},p={},l=[{value:"\u516c\u53f8",id:"\u516c\u53f8",level:3}],u={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u884c\u4e1a\u5206\u6790"},"\u884c\u4e1a\u5206\u6790"),(0,o.yg)("h3",{id:"\u516c\u53f8"},"\u516c\u53f8"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.andang.cn/"},"\u4e0a\u6d77\u5b89\u5f53")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.sansec.com.cn/"},"\u5317\u4eac\u4e09\u672a\u4fe1\u5b89")," \u7814\u53d1\u5728\u6d4e\u5357"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.osr-tech.com/"},"\u7ebd\u521b\u4fe1\u5b89"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4113],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=o,f=s["".concat(p,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c="\u884c\u4e1a\u5206\u6790",i={unversionedId:"study/encryption/\u884c\u4e1a\u5206\u6790",id:"study/encryption/\u884c\u4e1a\u5206\u6790",title:"\u884c\u4e1a\u5206\u6790",description:"\u516c\u53f8",source:"@site/docs/study/encryption/\u884c\u4e1a\u5206\u6790.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u884c\u4e1a\u5206\u6790",permalink:"/docs/study/encryption/\u884c\u4e1a\u5206\u6790",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7b49\u4fdd\u548c\u5bc6\u8bc4",permalink:"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4"},next:{title:"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",permalink:"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f"}},p={},l=[{value:"\u516c\u53f8",id:"\u516c\u53f8",level:3}],u={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u884c\u4e1a\u5206\u6790"},"\u884c\u4e1a\u5206\u6790"),(0,o.yg)("h3",{id:"\u516c\u53f8"},"\u516c\u53f8"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.andang.cn/"},"\u4e0a\u6d77\u5b89\u5f53")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.sansec.com.cn/"},"\u5317\u4eac\u4e09\u672a\u4fe1\u5b89")," \u7814\u53d1\u5728\u6d4e\u5357"),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.osr-tech.com/"},"\u7ebd\u521b\u4fe1\u5b89"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/de78196c.e036a4cd.js b/assets/js/de78196c.da0ec428.js similarity index 98% rename from assets/js/de78196c.e036a4cd.js rename to assets/js/de78196c.da0ec428.js index 1613ae0b3..adc3cc188 100644 --- a/assets/js/de78196c.e036a4cd.js +++ b/assets/js/de78196c.da0ec428.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7816],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),p=s(r),y=o,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58",id:"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58",title:"\u5206\u5e03\u5f0f\u7f13\u5b58",description:"\u7f13\u5b58\u4f5c\u4e3a\u78c1\u76d8\u4ee5\u5916\u7684\u4e00\u79cd\u5b58\u50a8\u6570\u636e\u7684\u65b9\u5f0f\uff0c\u5b83\u6709\u7740\u6bd4\u78c1\u76d8\u66f4\u5feb\u7684\u5b58\u53d6\u6548\u7387\uff0c\u56e0\u6b64\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002\u5728\u5355\u4f53\u7cfb\u7edf\u4e2d\uff0c\u4e00\u822c\u4f1a\u7528\u5230\u672c\u5730\u7f13\u5b58\u3002\u4f46\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u672c\u5730\u7f13\u5b58\u5c31\u663e\u5f97\u4e0d\u591f\u7528\u4e86\uff0c\u8fd9\u65f6\u5f80\u5f80\u8981\u7528\u5230\u5206\u5e03\u5f0f\u7f13\u5b58\u3002",source:"@site/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58.md",sourceDirName:"study/think/\u7f13\u5b58",slug:"/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/"},next:{title:"\u8c08\u5de5\u4f5c\u5fc3\u5f97",permalink:"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97"}},l={},s=[{value:"Jboss Cache",id:"jboss-cache",level:4},{value:"Memcache",id:"memcache",level:4},{value:"Redis",id:"redis",level:4},{value:"\u53c2\u8003\u8d44\u6599",id:"\u53c2\u8003\u8d44\u6599",level:4}],u={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u7f13\u5b58\u4f5c\u4e3a\u78c1\u76d8\u4ee5\u5916\u7684\u4e00\u79cd\u5b58\u50a8\u6570\u636e\u7684\u65b9\u5f0f\uff0c\u5b83\u6709\u7740\u6bd4\u78c1\u76d8\u66f4\u5feb\u7684\u5b58\u53d6\u6548\u7387\uff0c\u56e0\u6b64\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002\u5728\u5355\u4f53\u7cfb\u7edf\u4e2d\uff0c\u4e00\u822c\u4f1a\u7528\u5230\u672c\u5730\u7f13\u5b58\u3002\u4f46\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u672c\u5730\u7f13\u5b58\u5c31\u663e\u5f97\u4e0d\u591f\u7528\u4e86\uff0c\u8fd9\u65f6\u5f80\u5f80\u8981\u7528\u5230\u5206\u5e03\u5f0f\u7f13\u5b58\u3002"),(0,o.yg)("h4",{id:"jboss-cache"},"Jboss Cache"),(0,o.yg)("h4",{id:"memcache"},"Memcache"),(0,o.yg)("h4",{id:"redis"},"Redis"),(0,o.yg)("h4",{id:"\u53c2\u8003\u8d44\u6599"},"\u53c2\u8003\u8d44\u6599"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/ayic/p/17054981.html"},"\u804a\u804a\u5206\u5e03\u5f0f\u7f13\u5b58"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7816],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),p=s(r),y=o,f=p["".concat(l,".").concat(y)]||p[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:o,c[1]=i;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58",id:"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58",title:"\u5206\u5e03\u5f0f\u7f13\u5b58",description:"\u7f13\u5b58\u4f5c\u4e3a\u78c1\u76d8\u4ee5\u5916\u7684\u4e00\u79cd\u5b58\u50a8\u6570\u636e\u7684\u65b9\u5f0f\uff0c\u5b83\u6709\u7740\u6bd4\u78c1\u76d8\u66f4\u5feb\u7684\u5b58\u53d6\u6548\u7387\uff0c\u56e0\u6b64\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002\u5728\u5355\u4f53\u7cfb\u7edf\u4e2d\uff0c\u4e00\u822c\u4f1a\u7528\u5230\u672c\u5730\u7f13\u5b58\u3002\u4f46\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u672c\u5730\u7f13\u5b58\u5c31\u663e\u5f97\u4e0d\u591f\u7528\u4e86\uff0c\u8fd9\u65f6\u5f80\u5f80\u8981\u7528\u5230\u5206\u5e03\u5f0f\u7f13\u5b58\u3002",source:"@site/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58.md",sourceDirName:"study/think/\u7f13\u5b58",slug:"/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u7f13\u5b58",permalink:"/docs/study/think/\u7f13\u5b58/"},next:{title:"\u8c08\u5de5\u4f5c\u5fc3\u5f97",permalink:"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97"}},l={},s=[{value:"Jboss Cache",id:"jboss-cache",level:4},{value:"Memcache",id:"memcache",level:4},{value:"Redis",id:"redis",level:4},{value:"\u53c2\u8003\u8d44\u6599",id:"\u53c2\u8003\u8d44\u6599",level:4}],u={toc:s},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u7f13\u5b58\u4f5c\u4e3a\u78c1\u76d8\u4ee5\u5916\u7684\u4e00\u79cd\u5b58\u50a8\u6570\u636e\u7684\u65b9\u5f0f\uff0c\u5b83\u6709\u7740\u6bd4\u78c1\u76d8\u66f4\u5feb\u7684\u5b58\u53d6\u6548\u7387\uff0c\u56e0\u6b64\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002\u5728\u5355\u4f53\u7cfb\u7edf\u4e2d\uff0c\u4e00\u822c\u4f1a\u7528\u5230\u672c\u5730\u7f13\u5b58\u3002\u4f46\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u672c\u5730\u7f13\u5b58\u5c31\u663e\u5f97\u4e0d\u591f\u7528\u4e86\uff0c\u8fd9\u65f6\u5f80\u5f80\u8981\u7528\u5230\u5206\u5e03\u5f0f\u7f13\u5b58\u3002"),(0,o.yg)("h4",{id:"jboss-cache"},"Jboss Cache"),(0,o.yg)("h4",{id:"memcache"},"Memcache"),(0,o.yg)("h4",{id:"redis"},"Redis"),(0,o.yg)("h4",{id:"\u53c2\u8003\u8d44\u6599"},"\u53c2\u8003\u8d44\u6599"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/ayic/p/17054981.html"},"\u804a\u804a\u5206\u5e03\u5f0f\u7f13\u5b58"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e0041558.f1fb62bc.js b/assets/js/e0041558.ce56604a.js similarity index 98% rename from assets/js/e0041558.f1fb62bc.js rename to assets/js/e0041558.ce56604a.js index 91def6c14..47520fea7 100644 --- a/assets/js/e0041558.f1fb62bc.js +++ b/assets/js/e0041558.ce56604a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6473],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,p=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=l(r),y=o,m=s["".concat(p,".").concat(y)]||s[y]||d[y]||i;return r?n.createElement(m,a(a({ref:t},u),{},{components:r})):n.createElement(m,a({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=y;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[s]="string"==typeof e?e:o,a[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:1},a="\u6982\u8ff0",c={unversionedId:"study/competitive/index",id:"study/competitive/index",title:"\u6982\u8ff0",description:"\u7269\u8054\u7f51\u884c\u4e1a\u7684\u4e00\u4e9b\u4e1a\u52a1\u5206\u6790\u3001\u516c\u53f8\u5206\u6790\u3001\u884c\u4e1a\u5206\u6790\u3002",source:"@site/docs/study/competitive/index.md",sourceDirName:"study/competitive",slug:"/study/competitive/",permalink:"/docs/study/competitive/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"docker-network",permalink:"/docs/study/docker/docker-network"},next:{title:"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",permalink:"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76"}},p={},l=[{value:"\u963f\u91cc\u4e91\u7269\u8054\u7f51\u5e73\u53f0",id:"\u963f\u91cc\u4e91\u7269\u8054\u7f51\u5e73\u53f0",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u884c\u4e1a\u7684\u4e00\u4e9b\u4e1a\u52a1\u5206\u6790\u3001\u516c\u53f8\u5206\u6790\u3001\u884c\u4e1a\u5206\u6790\u3002"),(0,o.yg)("h3",{id:"\u963f\u91cc\u4e91\u7269\u8054\u7f51\u5e73\u53f0"},"\u963f\u91cc\u4e91\u7269\u8054\u7f51\u5e73\u53f0"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://help.aliyun.com/zh/iot"},"\u6587\u6863\u5730\u5740\u9996\u9875")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://help.aliyun.com/zh/iot/product-overview/terms/"},"\u57fa\u672c\u6982\u5ff5"),(0,o.yg)("ul",{parentName:"li"},(0,o.yg)("li",{parentName:"ul"},"\u7269\u6a21\u578b\uff1a\u5c5e\u6027\u3001\u670d\u52a1\u3001\u4e8b\u4ef6")))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6473],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,p=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=l(r),y=o,m=s["".concat(p,".").concat(y)]||s[y]||d[y]||i;return r?n.createElement(m,a(a({ref:t},u),{},{components:r})):n.createElement(m,a({ref:t},u))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=y;var c={};for(var p in t)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c[s]="string"==typeof e?e:o,a[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>a,default:()=>d,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:1},a="\u6982\u8ff0",c={unversionedId:"study/competitive/index",id:"study/competitive/index",title:"\u6982\u8ff0",description:"\u7269\u8054\u7f51\u884c\u4e1a\u7684\u4e00\u4e9b\u4e1a\u52a1\u5206\u6790\u3001\u516c\u53f8\u5206\u6790\u3001\u884c\u4e1a\u5206\u6790\u3002",source:"@site/docs/study/competitive/index.md",sourceDirName:"study/competitive",slug:"/study/competitive/",permalink:"/docs/study/competitive/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"docker-network",permalink:"/docs/study/docker/docker-network"},next:{title:"\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76",permalink:"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76"}},p={},l=[{value:"\u963f\u91cc\u4e91\u7269\u8054\u7f51\u5e73\u53f0",id:"\u963f\u91cc\u4e91\u7269\u8054\u7f51\u5e73\u53f0",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,o.yg)("p",null,"\u7269\u8054\u7f51\u884c\u4e1a\u7684\u4e00\u4e9b\u4e1a\u52a1\u5206\u6790\u3001\u516c\u53f8\u5206\u6790\u3001\u884c\u4e1a\u5206\u6790\u3002"),(0,o.yg)("h3",{id:"\u963f\u91cc\u4e91\u7269\u8054\u7f51\u5e73\u53f0"},"\u963f\u91cc\u4e91\u7269\u8054\u7f51\u5e73\u53f0"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://help.aliyun.com/zh/iot"},"\u6587\u6863\u5730\u5740\u9996\u9875")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://help.aliyun.com/zh/iot/product-overview/terms/"},"\u57fa\u672c\u6982\u5ff5"),(0,o.yg)("ul",{parentName:"li"},(0,o.yg)("li",{parentName:"ul"},"\u7269\u6a21\u578b\uff1a\u5c5e\u6027\u3001\u670d\u52a1\u3001\u4e8b\u4ef6")))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e17376a0.7fc9a2b8.js b/assets/js/e17376a0.85b66742.js similarity index 98% rename from assets/js/e17376a0.7fc9a2b8.js rename to assets/js/e17376a0.85b66742.js index b922dfa10..04266d0db 100644 --- a/assets/js/e17376a0.7fc9a2b8.js +++ b/assets/js/e17376a0.85b66742.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7171],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/net/TCP",id:"study/net/TCP",title:"TCP",description:"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b",source:"@site/docs/study/net/TCP.md",sourceDirName:"study/net",slug:"/study/net/TCP",permalink:"/docs/study/net/TCP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"SNMP",permalink:"/docs/study/net/SNMP"},next:{title:"UDP",permalink:"/docs/study/net/UDP"}},l={},u=[{value:"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b",id:"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b"},"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/591865232"},"\u77e5\u4e4e-\u8d85\u8d85\u8d85\u8be6\u7ec6\u8bb2\u89e3 TCP \u4e09\u6b21\u63e1\u624b\u4e0e\u56db\u6b21\u6325\u624b\uff08\u5927\u56fe\u89e3\uff09"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7171],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/net/TCP",id:"study/net/TCP",title:"TCP",description:"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b",source:"@site/docs/study/net/TCP.md",sourceDirName:"study/net",slug:"/study/net/TCP",permalink:"/docs/study/net/TCP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"SNMP",permalink:"/docs/study/net/SNMP"},next:{title:"UDP",permalink:"/docs/study/net/UDP"}},l={},u=[{value:"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b",id:"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b"},"\u4e09\u6b21\u63e1\u624b\u56db\u6b21\u6325\u624b"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/591865232"},"\u77e5\u4e4e-\u8d85\u8d85\u8d85\u8be6\u7ec6\u8bb2\u89e3 TCP \u4e09\u6b21\u63e1\u624b\u4e0e\u56db\u6b21\u6325\u624b\uff08\u5927\u56fe\u89e3\uff09"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e2835ef4.fb25cede.js b/assets/js/e2835ef4.74d293a9.js similarity index 99% rename from assets/js/e2835ef4.fb25cede.js rename to assets/js/e2835ef4.74d293a9.js index 3e1f1c34c..85bf2c27e 100644 --- a/assets/js/e2835ef4.fb25cede.js +++ b/assets/js/e2835ef4.74d293a9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8173],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),y=c(r),s=l,d=y["".concat(p,".").concat(s)]||y[s]||m[s]||a;return r?n.createElement(d,o(o({ref:t},u),{},{components:r})):n.createElement(d,o({ref:t},u))}));function d(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=s;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[y]="string"==typeof e?e:l,o[1]=i;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>m,frontMatter:()=>a,metadata:()=>i,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,i={unversionedId:"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",id:"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",title:"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",description:"\u5b9e\u65f6\u8ba1\u7b97",source:"@site/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink.md",sourceDirName:"study/think",slug:"/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",permalink:"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",permalink:"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5"},next:{title:"\u5e76\u53d1\u6a21\u578b",permalink:"/docs/study/think/\u5e76\u53d1\u6a21\u578b"}},p={},c=[{value:"\u5b9e\u65f6\u8ba1\u7b97",id:"\u5b9e\u65f6\u8ba1\u7b97",level:3},{value:"\u4e3b\u8981\u5e94\u7528",id:"\u4e3b\u8981\u5e94\u7528",level:3},{value:"Storm",id:"storm",level:3},{value:"Flink",id:"flink",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:c},y="wrapper";function m(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u5b9e\u65f6\u8ba1\u7b97"},"\u5b9e\u65f6\u8ba1\u7b97"),(0,l.yg)("p",null,"\u4e00\u79cd\u8003\u8651\u4e86\u65e0\u7ebf\u6570\u636e\u96c6\u7684\u6570\u636e\u5904\u7406\u5f15\u64ce\u3002\u53c8\u79f0\u5b9e\u65f6\u6d41\u5f0f\u8ba1\u7b97\u3001\u6d41\u5f0f\u8ba1\u7b97\uff0c\u90fd\u662f\u5dee\u4e0d\u591a\u7684\u6982\u5ff5\uff1b"),(0,l.yg)("p",null,"\u4e09\u4e2a\u7279\u5f81\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u65e0\u9650\u6570\u636e\uff0c\u662f\u6307\u4e00\u79cd\u4e0d\u65ad\u589e\u957f\uff0c\u57fa\u672c\u4e0a\u65e0\u9650\u7684\u6570\u636e\u96c6\uff0c\u4e5f\u53ef\u4ee5\u79f0\u4f5c\u6d41\u6570\u636e\uff0c\u4e0e\u4e4b\u5bf9\u5e94\u7684\u662f\u6709\u9650\u7684\u6570\u636e\u96c6\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u65e0\u754c\u6570\u636e\u5904\u7406\uff0c\u4e00\u79cd\u6301\u7eed\u7684\u6570\u636e\u5904\u7406\u6a21\u5f0f\uff0c\u80fd\u591f\u901a\u8fc7\u5904\u7406\u5f15\u64ce\u91cd\u590d\u7684\u53bb\u5904\u7406\u4e0a\u9762\u7684\u65e0\u9650\u6570\u636e\uff0c\u662f\u80fd\u591f\u7a81\u7834\u6709\u9650\u6570\u636e\u5904\u7406\u5f15\u64ce\u7684\u74f6\u9888\u7684\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4f4e\u5ef6\u8fdf\uff0c\u5ef6\u8fdf\u662f\u591a\u5c11\u5e76\u6ca1\u6709\u660e\u786e\u7684\u5b9a\u4e49\u3002\u4f46\u6211\u4eec\u90fd\u77e5\u9053\u6570\u636e\u7684\u4ef7\u503c\u5c06\u968f\u7740\u65f6\u95f4\u7684\u6d41\u901d\u964d\u4f4e\uff0c\u65f6\u6548\u6027\u5c06\u662f\u9700\u8981\u6301\u7eed\u89e3\u51b3\u7684\u95ee\u9898\u3002")),(0,l.yg)("p",null,"\u5b9e\u65f6\u8ba1\u7b97\u5176\u5b9e\u662f\u4e00\u4e2a\u76f8\u5bf9\u7684\u6982\u5ff5\uff0c\u5bf9\u4e8e\u6279\u5904\u7406\u3001\u8fd1\u5b9e\u65f6\u3001\u5fae\u6279\uff0c\u4e0d\u591a\u662f\u65f6\u95f4\u7684\u95ee\u9898\uff1b\n\u5b9e\u65f6\u6846\u67b6\u6709\u5f88\u591a\uff0c\u4f8b\u5982Storm\u3001Fink\u3001Kafka Streaming\u3001Spark Streaming\uff1b\n\u540c\u65f6\u652f\u6301\u6d41\u5904\u7406\u548c\u6279\u5904\u7406\u7684\u8ba1\u7b97\u5f15\u64ce\uff0c\u6709\u4e24\u79cd\u9009\u62e9\uff1a\u4e00\u4e2a\u662fApache Spark\uff0c\u4e00\u4e2a\u662fApache Flink\u3002\u4ece\u6280\u672f\uff0c\u751f\u6001\u7b49\u5404\u65b9\u9762\u7684\u7efc\u5408\u8003\u8651\uff0c\u9996\u5148\uff0cSpark\u7684\u6280\u672f\u7406\u5ff5\u662f\u57fa\u4e8e\u6279\u6765\u6a21\u62df\u6d41\u7684\u8ba1\u7b97\u3002\u800cFlink\u5219\u5b8c\u5168\u76f8\u53cd\uff0c\u5b83\u91c7\u7528\u7684\u662f\u57fa\u4e8e\u6d41\u8ba1\u7b97\u6765\u6a21\u62df\u6279\u8ba1\u7b97\u3002\u4ece\u6280\u672f\u53d1\u5c55\u65b9\u5411\u770b\uff0c\u7528\u6279\u6765\u6a21\u62df\u6d41\u6709\u4e00\u5b9a\u7684\u6280\u672f\u5c40\u9650\u6027\uff0c\u5e76\u4e14\u8fd9\u4e2a\u5c40\u9650\u6027\u53ef\u80fd\u5f88\u96be\u7a81\u7834\u3002\u800cFlink\u57fa\u4e8e\u6d41\u6765\u6a21\u62df\u6279\uff0c\u5728\u6280\u672f\u4e0a\u6709\u66f4\u597d\u7684\u6269\u5c55\u6027\u3002"),(0,l.yg)("h3",{id:"\u4e3b\u8981\u5e94\u7528"},"\u4e3b\u8981\u5e94\u7528"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u65e5\u5fd7\u5206\u6790\uff0c\u6bd4\u5982\u5bf9\u7f51\u7ad9\u7684\u7528\u6237\u8bbf\u95ee\u65e5\u5fd7\u8fdb\u884c\u5b9e\u65f6\u7684\u5206\u6790\uff0c\u8ba1\u7b97\u8bbf\u95ee\u91cf\uff0c\u7528\u6237\u753b\u50cf\uff0c\u7559\u5b58\u7387\u7b49\u7b49\uff0c\u5b9e\u65f6\u7684\u8fdb\u884c\u6570\u636e\u5206\u6790\uff0c\u5e2e\u52a9\u4f01\u4e1a\u8fdb\u884c\u51b3\u7b56\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u7269\u8054\u7f51\uff0c\u6bd4\u5982\u5bf9\u7535\u529b\u7cfb\u7edf\u8fdb\u884c\u5b9e\u65f6\u7684\u6570\u636e\u68c0\u6d4b\uff0c\u8fdb\u884c\u62a5\u8b66\uff0c\u5b9e\u65f6\u7684\u663e\u793a\uff0c\u6216\u8005\u6839\u636e\u5386\u53f2\u6570\u636e\u8fdb\u884c\u5b9e\u65f6\u7684\u5206\u6790\uff0c\u9884\u6d4b\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u8f66\u8054\u7f51\uff0c\u5982\u4eca\u7684\u8f66\u8054\u7f51\u5df2\u7ecf\u4e0d\u9650\u4e8e\u7269\u8054\u7f51\uff0c\u8fd8\u5305\u62ec\u5bf9\u7528\u6237\uff0c\u4ea4\u901a\u7b49\u7b49\u8fdb\u884c\u5206\u6790\u7684\u4e00\u4e2a\u5e9e\u5927\u7684\u7cfb\u7edf\uff0c\u6539\u5584\u7528\u6237\u51fa\u884c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u91d1\u878d\u5206\u63a7\uff0c\u901a\u8fc7\u5bf9\u4ea4\u6613\u7b49\u91d1\u878d\u884c\u4e3a\u5b9e\u65f6\u5206\u6790\uff0c\u9884\u6d4b\u51fa\u672a\u77e5\u98ce\u9669\u3002")),(0,l.yg)("h3",{id:"storm"},"Storm"),(0,l.yg)("p",null,"Twitter\u5f00\u6e90\u7684Storm\u6846\u67b6\u98ce\u9761\u4e00\u65f6\uff0c\u5728Hadoop\u8bde\u751f\u521d\u671f\uff0cStorm\u5f25\u8865\u4e86Hadoop\u4e0d\u80fd\u505a\u5b9e\u65f6\u6570\u636e\u5904\u7406\u7f3a\u9677\uff0c\u88ab\u5e7f\u6cdb\u4f7f\u7528\uff0c\u73b0\u5728\u7684\u5f88\u591a\u516c\u53f8\u4f9d\u7136\u5728\u4f7f\u7528\uff0cStorm\u5ef6\u8fdf\u662f\u6beb\u79d2\u7ea7\u7684\uff0c\u4f46\u662f\u5b83\u5f88\u96be\u5b9e\u73b0\u9ad8\u541e\u5410\uff0c\u4e0d\u80fd\u4fdd\u8bc1\u6d88\u606f\u6070\u597d\u4e00\u6b21\u7684\u4f20\u9012\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7ack\u673a\u5236\u4fdd\u8bc1\uff0c\u4f46\u5f00\u9500\u6781\u5927\uff0c\u73b0\u5728\u5f88\u591a\u4f7f\u7528Storm\u7684\u516c\u53f8\u90fd\u51fa\u73b0\u4e86\u6d88\u606f\u79ef\u538b\u7684\u95ee\u9898\uff0c\u8fd9\u5176\u5b9e\u662f\u5f88\u96be\u907f\u514d\u7684\u3002"),(0,l.yg)("h3",{id:"flink"},"Flink"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},(0,l.yg)("a",{parentName:"li",href:"http://www.54tianzhisheng.cn/2018/10/13/flink-introduction/"},"Flink \u4ece 0 \u5230 1 \u5b66\u4e60"))),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},(0,l.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s/p7PzA9qfDGKKLzmh5qM_Gg"},"Streaming-\u5927\u6570\u636e\u7684\u672a\u6765")),(0,l.yg)("li",{parentName:"ol"},(0,l.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/6c3210eaed57"},"\u963f\u91cc\u5df4\u5df4\u4e3a\u4ec0\u4e48\u9009\u62e9Apache Flink\uff1f"))))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8173],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>d});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),y=c(r),s=l,d=y["".concat(p,".").concat(s)]||y[s]||m[s]||a;return r?n.createElement(d,o(o({ref:t},u),{},{components:r})):n.createElement(d,o({ref:t},u))}));function d(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=s;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[y]="string"==typeof e?e:l,o[1]=i;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>m,frontMatter:()=>a,metadata:()=>i,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,i={unversionedId:"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",id:"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",title:"\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",description:"\u5b9e\u65f6\u8ba1\u7b97",source:"@site/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink.md",sourceDirName:"study/think",slug:"/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",permalink:"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5",permalink:"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5"},next:{title:"\u5e76\u53d1\u6a21\u578b",permalink:"/docs/study/think/\u5e76\u53d1\u6a21\u578b"}},p={},c=[{value:"\u5b9e\u65f6\u8ba1\u7b97",id:"\u5b9e\u65f6\u8ba1\u7b97",level:3},{value:"\u4e3b\u8981\u5e94\u7528",id:"\u4e3b\u8981\u5e94\u7528",level:3},{value:"Storm",id:"storm",level:3},{value:"Flink",id:"flink",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:c},y="wrapper";function m(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u5b9e\u65f6\u8ba1\u7b97"},"\u5b9e\u65f6\u8ba1\u7b97"),(0,l.yg)("p",null,"\u4e00\u79cd\u8003\u8651\u4e86\u65e0\u7ebf\u6570\u636e\u96c6\u7684\u6570\u636e\u5904\u7406\u5f15\u64ce\u3002\u53c8\u79f0\u5b9e\u65f6\u6d41\u5f0f\u8ba1\u7b97\u3001\u6d41\u5f0f\u8ba1\u7b97\uff0c\u90fd\u662f\u5dee\u4e0d\u591a\u7684\u6982\u5ff5\uff1b"),(0,l.yg)("p",null,"\u4e09\u4e2a\u7279\u5f81\uff1a"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u65e0\u9650\u6570\u636e\uff0c\u662f\u6307\u4e00\u79cd\u4e0d\u65ad\u589e\u957f\uff0c\u57fa\u672c\u4e0a\u65e0\u9650\u7684\u6570\u636e\u96c6\uff0c\u4e5f\u53ef\u4ee5\u79f0\u4f5c\u6d41\u6570\u636e\uff0c\u4e0e\u4e4b\u5bf9\u5e94\u7684\u662f\u6709\u9650\u7684\u6570\u636e\u96c6\uff1b"),(0,l.yg)("li",{parentName:"ol"},"\u65e0\u754c\u6570\u636e\u5904\u7406\uff0c\u4e00\u79cd\u6301\u7eed\u7684\u6570\u636e\u5904\u7406\u6a21\u5f0f\uff0c\u80fd\u591f\u901a\u8fc7\u5904\u7406\u5f15\u64ce\u91cd\u590d\u7684\u53bb\u5904\u7406\u4e0a\u9762\u7684\u65e0\u9650\u6570\u636e\uff0c\u662f\u80fd\u591f\u7a81\u7834\u6709\u9650\u6570\u636e\u5904\u7406\u5f15\u64ce\u7684\u74f6\u9888\u7684\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u4f4e\u5ef6\u8fdf\uff0c\u5ef6\u8fdf\u662f\u591a\u5c11\u5e76\u6ca1\u6709\u660e\u786e\u7684\u5b9a\u4e49\u3002\u4f46\u6211\u4eec\u90fd\u77e5\u9053\u6570\u636e\u7684\u4ef7\u503c\u5c06\u968f\u7740\u65f6\u95f4\u7684\u6d41\u901d\u964d\u4f4e\uff0c\u65f6\u6548\u6027\u5c06\u662f\u9700\u8981\u6301\u7eed\u89e3\u51b3\u7684\u95ee\u9898\u3002")),(0,l.yg)("p",null,"\u5b9e\u65f6\u8ba1\u7b97\u5176\u5b9e\u662f\u4e00\u4e2a\u76f8\u5bf9\u7684\u6982\u5ff5\uff0c\u5bf9\u4e8e\u6279\u5904\u7406\u3001\u8fd1\u5b9e\u65f6\u3001\u5fae\u6279\uff0c\u4e0d\u591a\u662f\u65f6\u95f4\u7684\u95ee\u9898\uff1b\n\u5b9e\u65f6\u6846\u67b6\u6709\u5f88\u591a\uff0c\u4f8b\u5982Storm\u3001Fink\u3001Kafka Streaming\u3001Spark Streaming\uff1b\n\u540c\u65f6\u652f\u6301\u6d41\u5904\u7406\u548c\u6279\u5904\u7406\u7684\u8ba1\u7b97\u5f15\u64ce\uff0c\u6709\u4e24\u79cd\u9009\u62e9\uff1a\u4e00\u4e2a\u662fApache Spark\uff0c\u4e00\u4e2a\u662fApache Flink\u3002\u4ece\u6280\u672f\uff0c\u751f\u6001\u7b49\u5404\u65b9\u9762\u7684\u7efc\u5408\u8003\u8651\uff0c\u9996\u5148\uff0cSpark\u7684\u6280\u672f\u7406\u5ff5\u662f\u57fa\u4e8e\u6279\u6765\u6a21\u62df\u6d41\u7684\u8ba1\u7b97\u3002\u800cFlink\u5219\u5b8c\u5168\u76f8\u53cd\uff0c\u5b83\u91c7\u7528\u7684\u662f\u57fa\u4e8e\u6d41\u8ba1\u7b97\u6765\u6a21\u62df\u6279\u8ba1\u7b97\u3002\u4ece\u6280\u672f\u53d1\u5c55\u65b9\u5411\u770b\uff0c\u7528\u6279\u6765\u6a21\u62df\u6d41\u6709\u4e00\u5b9a\u7684\u6280\u672f\u5c40\u9650\u6027\uff0c\u5e76\u4e14\u8fd9\u4e2a\u5c40\u9650\u6027\u53ef\u80fd\u5f88\u96be\u7a81\u7834\u3002\u800cFlink\u57fa\u4e8e\u6d41\u6765\u6a21\u62df\u6279\uff0c\u5728\u6280\u672f\u4e0a\u6709\u66f4\u597d\u7684\u6269\u5c55\u6027\u3002"),(0,l.yg)("h3",{id:"\u4e3b\u8981\u5e94\u7528"},"\u4e3b\u8981\u5e94\u7528"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},"\u65e5\u5fd7\u5206\u6790\uff0c\u6bd4\u5982\u5bf9\u7f51\u7ad9\u7684\u7528\u6237\u8bbf\u95ee\u65e5\u5fd7\u8fdb\u884c\u5b9e\u65f6\u7684\u5206\u6790\uff0c\u8ba1\u7b97\u8bbf\u95ee\u91cf\uff0c\u7528\u6237\u753b\u50cf\uff0c\u7559\u5b58\u7387\u7b49\u7b49\uff0c\u5b9e\u65f6\u7684\u8fdb\u884c\u6570\u636e\u5206\u6790\uff0c\u5e2e\u52a9\u4f01\u4e1a\u8fdb\u884c\u51b3\u7b56\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u7269\u8054\u7f51\uff0c\u6bd4\u5982\u5bf9\u7535\u529b\u7cfb\u7edf\u8fdb\u884c\u5b9e\u65f6\u7684\u6570\u636e\u68c0\u6d4b\uff0c\u8fdb\u884c\u62a5\u8b66\uff0c\u5b9e\u65f6\u7684\u663e\u793a\uff0c\u6216\u8005\u6839\u636e\u5386\u53f2\u6570\u636e\u8fdb\u884c\u5b9e\u65f6\u7684\u5206\u6790\uff0c\u9884\u6d4b\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u8f66\u8054\u7f51\uff0c\u5982\u4eca\u7684\u8f66\u8054\u7f51\u5df2\u7ecf\u4e0d\u9650\u4e8e\u7269\u8054\u7f51\uff0c\u8fd8\u5305\u62ec\u5bf9\u7528\u6237\uff0c\u4ea4\u901a\u7b49\u7b49\u8fdb\u884c\u5206\u6790\u7684\u4e00\u4e2a\u5e9e\u5927\u7684\u7cfb\u7edf\uff0c\u6539\u5584\u7528\u6237\u51fa\u884c\u3002"),(0,l.yg)("li",{parentName:"ol"},"\u91d1\u878d\u5206\u63a7\uff0c\u901a\u8fc7\u5bf9\u4ea4\u6613\u7b49\u91d1\u878d\u884c\u4e3a\u5b9e\u65f6\u5206\u6790\uff0c\u9884\u6d4b\u51fa\u672a\u77e5\u98ce\u9669\u3002")),(0,l.yg)("h3",{id:"storm"},"Storm"),(0,l.yg)("p",null,"Twitter\u5f00\u6e90\u7684Storm\u6846\u67b6\u98ce\u9761\u4e00\u65f6\uff0c\u5728Hadoop\u8bde\u751f\u521d\u671f\uff0cStorm\u5f25\u8865\u4e86Hadoop\u4e0d\u80fd\u505a\u5b9e\u65f6\u6570\u636e\u5904\u7406\u7f3a\u9677\uff0c\u88ab\u5e7f\u6cdb\u4f7f\u7528\uff0c\u73b0\u5728\u7684\u5f88\u591a\u516c\u53f8\u4f9d\u7136\u5728\u4f7f\u7528\uff0cStorm\u5ef6\u8fdf\u662f\u6beb\u79d2\u7ea7\u7684\uff0c\u4f46\u662f\u5b83\u5f88\u96be\u5b9e\u73b0\u9ad8\u541e\u5410\uff0c\u4e0d\u80fd\u4fdd\u8bc1\u6d88\u606f\u6070\u597d\u4e00\u6b21\u7684\u4f20\u9012\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7ack\u673a\u5236\u4fdd\u8bc1\uff0c\u4f46\u5f00\u9500\u6781\u5927\uff0c\u73b0\u5728\u5f88\u591a\u4f7f\u7528Storm\u7684\u516c\u53f8\u90fd\u51fa\u73b0\u4e86\u6d88\u606f\u79ef\u538b\u7684\u95ee\u9898\uff0c\u8fd9\u5176\u5b9e\u662f\u5f88\u96be\u907f\u514d\u7684\u3002"),(0,l.yg)("h3",{id:"flink"},"Flink"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},(0,l.yg)("a",{parentName:"li",href:"http://www.54tianzhisheng.cn/2018/10/13/flink-introduction/"},"Flink \u4ece 0 \u5230 1 \u5b66\u4e60"))),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ol",null,(0,l.yg)("li",{parentName:"ol"},(0,l.yg)("a",{parentName:"li",href:"https://mp.weixin.qq.com/s/p7PzA9qfDGKKLzmh5qM_Gg"},"Streaming-\u5927\u6570\u636e\u7684\u672a\u6765")),(0,l.yg)("li",{parentName:"ol"},(0,l.yg)("a",{parentName:"li",href:"https://www.jianshu.com/p/6c3210eaed57"},"\u963f\u91cc\u5df4\u5df4\u4e3a\u4ec0\u4e48\u9009\u62e9Apache Flink\uff1f"))))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e2fb9f38.0b6aa34b.js b/assets/js/e2fb9f38.e085fe9f.js similarity index 99% rename from assets/js/e2fb9f38.0b6aa34b.js rename to assets/js/e2fb9f38.e085fe9f.js index 4458f16e3..8ab951921 100644 --- a/assets/js/e2fb9f38.0b6aa34b.js +++ b/assets/js/e2fb9f38.e085fe9f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2926],{15680:(e,n,t)=>{t.d(n,{xA:()=>y,yg:()=>N});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function i(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var p=a.createContext({}),o=function(e){var n=a.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},y=function(e){var n=o(e.components);return a.createElement(p.Provider,{value:n},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},s=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,l=e.originalType,p=e.parentName,y=g(e,["components","mdxType","originalType","parentName"]),u=o(t),s=r,N=u["".concat(p,".").concat(s)]||u[s]||m[s]||l;return t?a.createElement(N,i(i({ref:n},y),{},{components:t})):a.createElement(N,i({ref:n},y))}));function N(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var l=t.length,i=new Array(l);i[0]=s;var g={};for(var p in n)hasOwnProperty.call(n,p)&&(g[p]=n[p]);g.originalType=e,g[u]="string"==typeof e?e:r,i[1]=g;for(var o=2;o{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>i,default:()=>m,frontMatter:()=>l,metadata:()=>g,toc:()=>o});var a=t(58168),r=(t(96540),t(15680));const l={},i=void 0,g={unversionedId:"study/net/route",id:"study/net/route",title:"route",description:"route\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u663e\u793a\u548c\u64cd\u4f5cIP\u8def\u7531\u8868\u7684\u91cd\u8981\u5de5\u5177\uff0c\u4ee5\u4e0b\u662f\u5bf9\u5176\u8be6\u7ec6\u7684\u4ecb\u7ecd\uff1a",source:"@site/docs/study/net/route.md",sourceDirName:"study/net",slug:"/study/net/route",permalink:"/docs/study/net/route",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"unix pfctl \u9632\u706b\u5899",permalink:"/docs/study/net/pfctl\u9632\u706b\u5899"},next:{title:"Linux tc",permalink:"/docs/study/net/tc"}},p={},o=[{value:"\u547d\u4ee4\u683c\u5f0f",id:"\u547d\u4ee4\u683c\u5f0f",level:3},{value:"\u547d\u4ee4\u529f\u80fd",id:"\u547d\u4ee4\u529f\u80fd",level:3},{value:"\u547d\u4ee4\u53c2\u6570",id:"\u547d\u4ee4\u53c2\u6570",level:3},{value:"\u8def\u7531\u8868\u5b57\u6bb5\u8bf4\u660e",id:"\u8def\u7531\u8868\u5b57\u6bb5\u8bf4\u660e",level:3},{value:"\u4f7f\u7528\u793a\u4f8b",id:"\u4f7f\u7528\u793a\u4f8b",level:3},{value:"\u6ce8\u610f\u4e8b\u9879",id:"\u6ce8\u610f\u4e8b\u9879",level:3}],y={toc:o},u="wrapper";function m(e){let{components:n,...t}=e;return(0,r.yg)(u,(0,a.A)({},y,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("p",null,(0,r.yg)("inlineCode",{parentName:"p"},"route"),"\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u663e\u793a\u548c\u64cd\u4f5cIP\u8def\u7531\u8868\u7684\u91cd\u8981\u5de5\u5177\uff0c\u4ee5\u4e0b\u662f\u5bf9\u5176\u8be6\u7ec6\u7684\u4ecb\u7ecd\uff1a"),(0,r.yg)("h3",{id:"\u547d\u4ee4\u683c\u5f0f"},"\u547d\u4ee4\u683c\u5f0f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre"},"route [-f] [-p] [command [destination] [mask netmask] [gateway] [metric metric]] [if interface]]\n")),(0,r.yg)("h3",{id:"\u547d\u4ee4\u529f\u80fd"},"\u547d\u4ee4\u529f\u80fd"),(0,r.yg)("p",null,"\u7528\u4e8e\u64cd\u4f5c\u57fa\u4e8e\u5185\u6838\u7684IP\u8def\u7531\u8868\uff0c\u4e3b\u8981\u4f5c\u7528\u662f\u521b\u5efa\u9759\u6001\u8def\u7531\uff0c\u6307\u5b9a\u4e3b\u673a\u6216\u7f51\u7edc\u901a\u8fc7\u7279\u5b9a\u7f51\u7edc\u63a5\u53e3\u8fdb\u884c\u901a\u4fe1\uff0c\u5982",(0,r.yg)("inlineCode",{parentName:"p"},"eth0"),"\u3002\u4f7f\u7528",(0,r.yg)("inlineCode",{parentName:"p"},"add"),"\u6216",(0,r.yg)("inlineCode",{parentName:"p"},"del"),"\u53c2\u6570\u65f6\uff0c\u8def\u7531\u8868\u4f1a\u88ab\u76f8\u5e94\u4fee\u6539\uff1b\u82e5\u4e0d\u4f7f\u7528\u53c2\u6570\uff0c\u5219\u663e\u793a\u8def\u7531\u8868\u5f53\u524d\u5185\u5bb9."),(0,r.yg)("h3",{id:"\u547d\u4ee4\u53c2\u6570"},"\u547d\u4ee4\u53c2\u6570"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u64cd\u4f5c\u53c2\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"add"),"\uff1a\u6dfb\u52a0\u4e00\u6761\u65b0\u8def\u7531\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"del"),"\uff1a\u5220\u9664\u4e00\u6761\u8def\u7531\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u663e\u793a\u53c2\u6570"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-n"),"\uff1a\u4ee5\u6570\u5b57\u5f62\u5f0f\u663e\u793aIP\u5730\u5740\u548c\u7f51\u7edc\u63a9\u7801\uff0c\u800c\u4e0d\u89e3\u6790\u4e3b\u673a\u540d\uff0c\u53ef\u52a0\u5feb\u663e\u793a\u901f\u5ea6."),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-e"),"\uff1a\u4f7f\u7528\u6269\u5c55\u7684\u663e\u793a\u683c\u5f0f\u6765\u663e\u793a\u8def\u7531\u8868 ."),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-ee"),"\uff1a\u4ea7\u751f\u975e\u5e38\u957f\u7684\u4e00\u884c\u8f93\u51fa\uff0c\u5305\u542b\u8def\u7531\u8868\u4e2d\u7684\u6240\u6709\u53c2\u6570."))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u63a7\u5236\u53c2\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-f"),"\uff1a\u6e05\u9664\u6240\u6709\u7f51\u5173\u5165\u53e3\u7684\u8def\u7531\u8868\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-p"),"\uff1a\u4e0e",(0,r.yg)("inlineCode",{parentName:"li"},"add"),"\u547d\u4ee4\u4e00\u8d77\u4f7f\u7528\u65f6\uff0c\u4f7f\u8def\u7531\u5177\u6709\u6c38\u4e45\u6027\uff0c\u5373\u91cd\u542f\u540e\u8def\u7531\u8bbe\u7f6e\u4ecd\u7136\u6709\u6548\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u7f13\u5b58\u53c2\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-c"),"\uff1a\u663e\u793a\u8def\u7531\u7f13\u5b58\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u8be6\u7ec6\u4fe1\u606f\u53c2\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-v"),"\uff1a\u663e\u793a\u8be6\u7ec6\u7684\u5904\u7406\u4fe1\u606f\u3002")))),(0,r.yg)("h3",{id:"\u8def\u7531\u8868\u5b57\u6bb5\u8bf4\u660e"},"\u8def\u7531\u8868\u5b57\u6bb5\u8bf4\u660e"),(0,r.yg)("p",null,"\u5f53\u4f7f\u7528",(0,r.yg)("inlineCode",{parentName:"p"},"route"),"\u547d\u4ee4\u67e5\u770b\u8def\u7531\u8868\u65f6\uff0c\u4f1a\u663e\u793a\u4ee5\u4e0b\u4e3b\u8981\u5b57\u6bb5 \uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Destination"),"\uff1a\u76ee\u6807\u7f51\u7edc\u6216\u4e3b\u673a\u7684IP\u5730\u5740\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Gateway"),"\uff1a\u5230\u8fbe\u76ee\u6807\u7f51\u7edc\u6216\u4e3b\u673a\u7684\u7f51\u5173\u5730\u5740\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Genmask"),"\uff1a\u76ee\u6807\u7f51\u7edc\u7684\u5b50\u7f51\u63a9\u7801\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Flags"),"\uff1a\u8def\u7531\u6807\u5fd7\uff0c\u5e38\u89c1\u6807\u5fd7\u5982\u4e0b\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"U"),"\uff1a\u8868\u793a\u6b64\u8def\u7531\u5f53\u524d\u4e3a\u542f\u52a8\u72b6\u6001\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"H"),"\uff1a\u8868\u793a\u6b64\u7f51\u5173\u4e3a\u4e00\u4e3b\u673a\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"G"),"\uff1a\u8868\u793a\u6b64\u7f51\u5173\u4e3a\u4e00\u8def\u7531\u5668\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"R"),"\uff1a\u8868\u793a\u4f7f\u7528\u52a8\u6001\u8def\u7531\u91cd\u65b0\u521d\u59cb\u5316\u7684\u8def\u7531\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"D"),"\uff1a\u8868\u793a\u6b64\u8def\u7531\u662f\u52a8\u6001\u6027\u5730\u5199\u5165\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"M"),"\uff1a\u8868\u793a\u6b64\u8def\u7531\u662f\u7531\u8def\u7531\u5b88\u62a4\u7a0b\u5e8f\u6216\u5bfc\u5411\u5668\u52a8\u6001\u4fee\u6539\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"!"),"\uff1a\u8868\u793a\u6b64\u8def\u7531\u5f53\u524d\u4e3a\u5173\u95ed\u72b6\u6001\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Metric"),"\uff1a\u8def\u7531\u8df3\u6570\uff0c\u7528\u4e8e\u5728\u591a\u4e2a\u8def\u7531\u4e2d\u9009\u62e9\u6700\u4f18\u8def\u5f84\u65f6\u53c2\u8003\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Ref"),"\uff1a\u8def\u7531\u9879\u7684\u5f15\u7528\u8ba1\u6570\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Use"),"\uff1a\u8def\u7531\u4f7f\u7528\u6b21\u6570\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Iface"),"\uff1a\u4e0e\u8def\u7531\u9879\u5173\u8054\u7684\u7f51\u7edc\u63a5\u53e3\u3002")),(0,r.yg)("h3",{id:"\u4f7f\u7528\u793a\u4f8b"},"\u4f7f\u7528\u793a\u4f8b"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u663e\u793a\u5f53\u524d\u8def\u7531\u8868")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"\u76f4\u63a5\u8f93\u5165",(0,r.yg)("inlineCode",{parentName:"li"},"route"),"\u6216",(0,r.yg)("inlineCode",{parentName:"li"},"route -n"),"\u53ef\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u7684\u8def\u7531\u8868\u4fe1\u606f\u3002\u4f8b\u5982\uff1a")))),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-bash"},"route -n\nKernel IP routing table\nDestination Gateway Genmask Flags Metric Ref Use Iface\n0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0\n192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0\n")),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u6dfb\u52a0\u8def\u7531")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"\u4f8b\u5982\uff0c\u6dfb\u52a0\u4e00\u6761\u5230\u8fbe",(0,r.yg)("inlineCode",{parentName:"li"},"10.0.0.0/8"),"\u7f51\u7edc\u7684\u8def\u7531\uff0c\u901a\u8fc7\u7f51\u5173",(0,r.yg)("inlineCode",{parentName:"li"},"192.168.1.1"),"\u8f6c\u53d1\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a")))),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-bash"},"route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.1.1\n")),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5220\u9664\u8def\u7531")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"\u4f8b\u5982\uff0c\u5220\u9664\u5230\u8fbe",(0,r.yg)("inlineCode",{parentName:"li"},"10.0.0.0/8"),"\u7f51\u7edc\u7684\u8def\u7531\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a")))),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-bash"},"route del -net 10.0.0.0 netmask 255.0.0.0\n")),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u8bbe\u7f6e\u9ed8\u8ba4\u7f51\u5173")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"\u4f8b\u5982\uff0c\u5c06",(0,r.yg)("inlineCode",{parentName:"li"},"192.168.1.1"),"\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u7f51\u5173\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a")))),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-bash"},"route add default gw 192.168.1.1\n")),(0,r.yg)("h3",{id:"\u6ce8\u610f\u4e8b\u9879"},"\u6ce8\u610f\u4e8b\u9879"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u4e0b\u4f7f\u7528",(0,r.yg)("inlineCode",{parentName:"li"},"route"),"\u547d\u4ee4\u6dfb\u52a0\u7684\u8def\u7531\uff0c\u4e0d\u4f1a\u6c38\u4e45\u4fdd\u5b58\uff0c\u5f53\u7f51\u5361\u91cd\u542f\u6216\u8005\u673a\u5668\u91cd\u542f\u4e4b\u540e\uff0c\u8be5\u8def\u7531\u5c31\u5931\u6548\u4e86\u3002\u82e5\u8981\u4f7f\u8def\u7531\u8bbe\u7f6e\u6c38\u4e45\u6709\u6548\uff0c\u53ef\u4ee5\u5728",(0,r.yg)("inlineCode",{parentName:"li"},"/etc/rc.local"),"\u4e2d\u6dfb\u52a0",(0,r.yg)("inlineCode",{parentName:"li"},"route"),"\u547d\u4ee4."),(0,r.yg)("li",{parentName:"ul"},"\u5728\u73b0\u4ee3Linux\u7cfb\u7edf\u4e2d\uff0c",(0,r.yg)("inlineCode",{parentName:"li"},"route"),"\u547d\u4ee4\u5df2\u9010\u6e10\u88ab",(0,r.yg)("inlineCode",{parentName:"li"},"ip"),"\u547d\u4ee4\u6240\u53d6\u4ee3\uff0c\u5efa\u8bae\u4f7f\u7528",(0,r.yg)("inlineCode",{parentName:"li"},"ip"),"\u547d\u4ee4\u6765\u8fdb\u884c\u66f4\u590d\u6742\u548c\u7075\u6d3b\u7684\u7f51\u7edc\u914d\u7f6e\u548c\u7ba1\u7406.")))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2926],{15680:(e,n,t)=>{t.d(n,{xA:()=>y,yg:()=>N});var a=t(96540);function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function i(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var p=a.createContext({}),o=function(e){var n=a.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},y=function(e){var n=o(e.components);return a.createElement(p.Provider,{value:n},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},s=a.forwardRef((function(e,n){var t=e.components,r=e.mdxType,l=e.originalType,p=e.parentName,y=g(e,["components","mdxType","originalType","parentName"]),u=o(t),s=r,N=u["".concat(p,".").concat(s)]||u[s]||m[s]||l;return t?a.createElement(N,i(i({ref:n},y),{},{components:t})):a.createElement(N,i({ref:n},y))}));function N(e,n){var t=arguments,r=n&&n.mdxType;if("string"==typeof e||r){var l=t.length,i=new Array(l);i[0]=s;var g={};for(var p in n)hasOwnProperty.call(n,p)&&(g[p]=n[p]);g.originalType=e,g[u]="string"==typeof e?e:r,i[1]=g;for(var o=2;o{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>i,default:()=>m,frontMatter:()=>l,metadata:()=>g,toc:()=>o});var a=t(58168),r=(t(96540),t(15680));const l={},i=void 0,g={unversionedId:"study/net/route",id:"study/net/route",title:"route",description:"route\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u663e\u793a\u548c\u64cd\u4f5cIP\u8def\u7531\u8868\u7684\u91cd\u8981\u5de5\u5177\uff0c\u4ee5\u4e0b\u662f\u5bf9\u5176\u8be6\u7ec6\u7684\u4ecb\u7ecd\uff1a",source:"@site/docs/study/net/route.md",sourceDirName:"study/net",slug:"/study/net/route",permalink:"/docs/study/net/route",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"unix pfctl \u9632\u706b\u5899",permalink:"/docs/study/net/pfctl\u9632\u706b\u5899"},next:{title:"Linux tc",permalink:"/docs/study/net/tc"}},p={},o=[{value:"\u547d\u4ee4\u683c\u5f0f",id:"\u547d\u4ee4\u683c\u5f0f",level:3},{value:"\u547d\u4ee4\u529f\u80fd",id:"\u547d\u4ee4\u529f\u80fd",level:3},{value:"\u547d\u4ee4\u53c2\u6570",id:"\u547d\u4ee4\u53c2\u6570",level:3},{value:"\u8def\u7531\u8868\u5b57\u6bb5\u8bf4\u660e",id:"\u8def\u7531\u8868\u5b57\u6bb5\u8bf4\u660e",level:3},{value:"\u4f7f\u7528\u793a\u4f8b",id:"\u4f7f\u7528\u793a\u4f8b",level:3},{value:"\u6ce8\u610f\u4e8b\u9879",id:"\u6ce8\u610f\u4e8b\u9879",level:3}],y={toc:o},u="wrapper";function m(e){let{components:n,...t}=e;return(0,r.yg)(u,(0,a.A)({},y,t,{components:n,mdxType:"MDXLayout"}),(0,r.yg)("p",null,(0,r.yg)("inlineCode",{parentName:"p"},"route"),"\u547d\u4ee4\u662fLinux\u7cfb\u7edf\u4e2d\u7528\u4e8e\u663e\u793a\u548c\u64cd\u4f5cIP\u8def\u7531\u8868\u7684\u91cd\u8981\u5de5\u5177\uff0c\u4ee5\u4e0b\u662f\u5bf9\u5176\u8be6\u7ec6\u7684\u4ecb\u7ecd\uff1a"),(0,r.yg)("h3",{id:"\u547d\u4ee4\u683c\u5f0f"},"\u547d\u4ee4\u683c\u5f0f"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre"},"route [-f] [-p] [command [destination] [mask netmask] [gateway] [metric metric]] [if interface]]\n")),(0,r.yg)("h3",{id:"\u547d\u4ee4\u529f\u80fd"},"\u547d\u4ee4\u529f\u80fd"),(0,r.yg)("p",null,"\u7528\u4e8e\u64cd\u4f5c\u57fa\u4e8e\u5185\u6838\u7684IP\u8def\u7531\u8868\uff0c\u4e3b\u8981\u4f5c\u7528\u662f\u521b\u5efa\u9759\u6001\u8def\u7531\uff0c\u6307\u5b9a\u4e3b\u673a\u6216\u7f51\u7edc\u901a\u8fc7\u7279\u5b9a\u7f51\u7edc\u63a5\u53e3\u8fdb\u884c\u901a\u4fe1\uff0c\u5982",(0,r.yg)("inlineCode",{parentName:"p"},"eth0"),"\u3002\u4f7f\u7528",(0,r.yg)("inlineCode",{parentName:"p"},"add"),"\u6216",(0,r.yg)("inlineCode",{parentName:"p"},"del"),"\u53c2\u6570\u65f6\uff0c\u8def\u7531\u8868\u4f1a\u88ab\u76f8\u5e94\u4fee\u6539\uff1b\u82e5\u4e0d\u4f7f\u7528\u53c2\u6570\uff0c\u5219\u663e\u793a\u8def\u7531\u8868\u5f53\u524d\u5185\u5bb9."),(0,r.yg)("h3",{id:"\u547d\u4ee4\u53c2\u6570"},"\u547d\u4ee4\u53c2\u6570"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u64cd\u4f5c\u53c2\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"add"),"\uff1a\u6dfb\u52a0\u4e00\u6761\u65b0\u8def\u7531\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"del"),"\uff1a\u5220\u9664\u4e00\u6761\u8def\u7531\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u663e\u793a\u53c2\u6570"),"\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-n"),"\uff1a\u4ee5\u6570\u5b57\u5f62\u5f0f\u663e\u793aIP\u5730\u5740\u548c\u7f51\u7edc\u63a9\u7801\uff0c\u800c\u4e0d\u89e3\u6790\u4e3b\u673a\u540d\uff0c\u53ef\u52a0\u5feb\u663e\u793a\u901f\u5ea6."),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-e"),"\uff1a\u4f7f\u7528\u6269\u5c55\u7684\u663e\u793a\u683c\u5f0f\u6765\u663e\u793a\u8def\u7531\u8868 ."),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-ee"),"\uff1a\u4ea7\u751f\u975e\u5e38\u957f\u7684\u4e00\u884c\u8f93\u51fa\uff0c\u5305\u542b\u8def\u7531\u8868\u4e2d\u7684\u6240\u6709\u53c2\u6570."))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u63a7\u5236\u53c2\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-f"),"\uff1a\u6e05\u9664\u6240\u6709\u7f51\u5173\u5165\u53e3\u7684\u8def\u7531\u8868\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-p"),"\uff1a\u4e0e",(0,r.yg)("inlineCode",{parentName:"li"},"add"),"\u547d\u4ee4\u4e00\u8d77\u4f7f\u7528\u65f6\uff0c\u4f7f\u8def\u7531\u5177\u6709\u6c38\u4e45\u6027\uff0c\u5373\u91cd\u542f\u540e\u8def\u7531\u8bbe\u7f6e\u4ecd\u7136\u6709\u6548\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u7f13\u5b58\u53c2\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-c"),"\uff1a\u663e\u793a\u8def\u7531\u7f13\u5b58\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u8be6\u7ec6\u4fe1\u606f\u53c2\u6570")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"-v"),"\uff1a\u663e\u793a\u8be6\u7ec6\u7684\u5904\u7406\u4fe1\u606f\u3002")))),(0,r.yg)("h3",{id:"\u8def\u7531\u8868\u5b57\u6bb5\u8bf4\u660e"},"\u8def\u7531\u8868\u5b57\u6bb5\u8bf4\u660e"),(0,r.yg)("p",null,"\u5f53\u4f7f\u7528",(0,r.yg)("inlineCode",{parentName:"p"},"route"),"\u547d\u4ee4\u67e5\u770b\u8def\u7531\u8868\u65f6\uff0c\u4f1a\u663e\u793a\u4ee5\u4e0b\u4e3b\u8981\u5b57\u6bb5 \uff1a"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Destination"),"\uff1a\u76ee\u6807\u7f51\u7edc\u6216\u4e3b\u673a\u7684IP\u5730\u5740\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Gateway"),"\uff1a\u5230\u8fbe\u76ee\u6807\u7f51\u7edc\u6216\u4e3b\u673a\u7684\u7f51\u5173\u5730\u5740\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Genmask"),"\uff1a\u76ee\u6807\u7f51\u7edc\u7684\u5b50\u7f51\u63a9\u7801\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Flags"),"\uff1a\u8def\u7531\u6807\u5fd7\uff0c\u5e38\u89c1\u6807\u5fd7\u5982\u4e0b\uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"U"),"\uff1a\u8868\u793a\u6b64\u8def\u7531\u5f53\u524d\u4e3a\u542f\u52a8\u72b6\u6001\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"H"),"\uff1a\u8868\u793a\u6b64\u7f51\u5173\u4e3a\u4e00\u4e3b\u673a\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"G"),"\uff1a\u8868\u793a\u6b64\u7f51\u5173\u4e3a\u4e00\u8def\u7531\u5668\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"R"),"\uff1a\u8868\u793a\u4f7f\u7528\u52a8\u6001\u8def\u7531\u91cd\u65b0\u521d\u59cb\u5316\u7684\u8def\u7531\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"D"),"\uff1a\u8868\u793a\u6b64\u8def\u7531\u662f\u52a8\u6001\u6027\u5730\u5199\u5165\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"M"),"\uff1a\u8868\u793a\u6b64\u8def\u7531\u662f\u7531\u8def\u7531\u5b88\u62a4\u7a0b\u5e8f\u6216\u5bfc\u5411\u5668\u52a8\u6001\u4fee\u6539\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"!"),"\uff1a\u8868\u793a\u6b64\u8def\u7531\u5f53\u524d\u4e3a\u5173\u95ed\u72b6\u6001\u3002"))),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Metric"),"\uff1a\u8def\u7531\u8df3\u6570\uff0c\u7528\u4e8e\u5728\u591a\u4e2a\u8def\u7531\u4e2d\u9009\u62e9\u6700\u4f18\u8def\u5f84\u65f6\u53c2\u8003\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Ref"),"\uff1a\u8def\u7531\u9879\u7684\u5f15\u7528\u8ba1\u6570\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Use"),"\uff1a\u8def\u7531\u4f7f\u7528\u6b21\u6570\u3002"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"Iface"),"\uff1a\u4e0e\u8def\u7531\u9879\u5173\u8054\u7684\u7f51\u7edc\u63a5\u53e3\u3002")),(0,r.yg)("h3",{id:"\u4f7f\u7528\u793a\u4f8b"},"\u4f7f\u7528\u793a\u4f8b"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u663e\u793a\u5f53\u524d\u8def\u7531\u8868")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"\u76f4\u63a5\u8f93\u5165",(0,r.yg)("inlineCode",{parentName:"li"},"route"),"\u6216",(0,r.yg)("inlineCode",{parentName:"li"},"route -n"),"\u53ef\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u7684\u8def\u7531\u8868\u4fe1\u606f\u3002\u4f8b\u5982\uff1a")))),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-bash"},"route -n\nKernel IP routing table\nDestination Gateway Genmask Flags Metric Ref Use Iface\n0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0\n192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0\n")),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u6dfb\u52a0\u8def\u7531")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"\u4f8b\u5982\uff0c\u6dfb\u52a0\u4e00\u6761\u5230\u8fbe",(0,r.yg)("inlineCode",{parentName:"li"},"10.0.0.0/8"),"\u7f51\u7edc\u7684\u8def\u7531\uff0c\u901a\u8fc7\u7f51\u5173",(0,r.yg)("inlineCode",{parentName:"li"},"192.168.1.1"),"\u8f6c\u53d1\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a")))),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-bash"},"route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.1.1\n")),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u5220\u9664\u8def\u7531")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"\u4f8b\u5982\uff0c\u5220\u9664\u5230\u8fbe",(0,r.yg)("inlineCode",{parentName:"li"},"10.0.0.0/8"),"\u7f51\u7edc\u7684\u8def\u7531\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a")))),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-bash"},"route del -net 10.0.0.0 netmask 255.0.0.0\n")),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},"\u8bbe\u7f6e\u9ed8\u8ba4\u7f51\u5173")," \uff1a",(0,r.yg)("ul",{parentName:"li"},(0,r.yg)("li",{parentName:"ul"},"\u4f8b\u5982\uff0c\u5c06",(0,r.yg)("inlineCode",{parentName:"li"},"192.168.1.1"),"\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u7f51\u5173\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a")))),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-bash"},"route add default gw 192.168.1.1\n")),(0,r.yg)("h3",{id:"\u6ce8\u610f\u4e8b\u9879"},"\u6ce8\u610f\u4e8b\u9879"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u4e0b\u4f7f\u7528",(0,r.yg)("inlineCode",{parentName:"li"},"route"),"\u547d\u4ee4\u6dfb\u52a0\u7684\u8def\u7531\uff0c\u4e0d\u4f1a\u6c38\u4e45\u4fdd\u5b58\uff0c\u5f53\u7f51\u5361\u91cd\u542f\u6216\u8005\u673a\u5668\u91cd\u542f\u4e4b\u540e\uff0c\u8be5\u8def\u7531\u5c31\u5931\u6548\u4e86\u3002\u82e5\u8981\u4f7f\u8def\u7531\u8bbe\u7f6e\u6c38\u4e45\u6709\u6548\uff0c\u53ef\u4ee5\u5728",(0,r.yg)("inlineCode",{parentName:"li"},"/etc/rc.local"),"\u4e2d\u6dfb\u52a0",(0,r.yg)("inlineCode",{parentName:"li"},"route"),"\u547d\u4ee4."),(0,r.yg)("li",{parentName:"ul"},"\u5728\u73b0\u4ee3Linux\u7cfb\u7edf\u4e2d\uff0c",(0,r.yg)("inlineCode",{parentName:"li"},"route"),"\u547d\u4ee4\u5df2\u9010\u6e10\u88ab",(0,r.yg)("inlineCode",{parentName:"li"},"ip"),"\u547d\u4ee4\u6240\u53d6\u4ee3\uff0c\u5efa\u8bae\u4f7f\u7528",(0,r.yg)("inlineCode",{parentName:"li"},"ip"),"\u547d\u4ee4\u6765\u8fdb\u884c\u66f4\u590d\u6742\u548c\u7075\u6d3b\u7684\u7f51\u7edc\u914d\u7f6e\u548c\u7ba1\u7406.")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e36fd319.ee862600.js b/assets/js/e36fd319.1aeb63ef.js similarity index 98% rename from assets/js/e36fd319.ee862600.js rename to assets/js/e36fd319.1aeb63ef.js index 6592b1a45..c1668bb99 100644 --- a/assets/js/e36fd319.ee862600.js +++ b/assets/js/e36fd319.1aeb63ef.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5382],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),l=p(r),f=o,y=l["".concat(s,".").concat(f)]||l[f]||d[f]||a;return r?n.createElement(y,i(i({ref:t},u),{},{components:r})):n.createElement(y,i({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[l]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b",id:"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b",title:"\u67b6\u6784\u56fe\u793a\u4f8b",description:"image.png",source:"@site/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b",permalink:"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6280\u672f\u4e2d\u53f0",permalink:"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0"},next:{title:"\u8d1f\u8f7d\u5747\u8861",permalink:"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861"}},s={},p=[],u={toc:p},l="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(l,(0,n.A)({},u,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(14934).A,width:"1061",height:"618"})))}d.isMDXComponent=!0},14934:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/j1-795b3e3fa724f515965c72d16df4052b.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5382],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),p=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),l=p(r),f=o,y=l["".concat(s,".").concat(f)]||l[f]||d[f]||a;return r?n.createElement(y,i(i({ref:t},u),{},{components:r})):n.createElement(y,i({ref:t},u))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=f;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[l]="string"==typeof e?e:o,i[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b",id:"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b",title:"\u67b6\u6784\u56fe\u793a\u4f8b",description:"image.png",source:"@site/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b",permalink:"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u6280\u672f\u4e2d\u53f0",permalink:"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0"},next:{title:"\u8d1f\u8f7d\u5747\u8861",permalink:"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861"}},s={},p=[],u={toc:p},l="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(l,(0,n.A)({},u,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(14934).A,width:"1061",height:"618"})))}d.isMDXComponent=!0},14934:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/j1-795b3e3fa724f515965c72d16df4052b.png"}}]); \ No newline at end of file diff --git a/assets/js/e3905ad3.9ad58df5.js b/assets/js/e3905ad3.bc6ed06a.js similarity index 98% rename from assets/js/e3905ad3.9ad58df5.js rename to assets/js/e3905ad3.bc6ed06a.js index 3351ebb7d..22a3c8133 100644 --- a/assets/js/e3905ad3.9ad58df5.js +++ b/assets/js/e3905ad3.bc6ed06a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9841],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},d=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),u=p(r),f=o,m=u["".concat(l,".").concat(f)]||u[f]||s[f]||i;return r?n.createElement(m,a(a({ref:t},d),{},{components:r})):n.createElement(m,a({ref:t},d))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,a[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>s,frontMatter:()=>i,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:3},a="\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406",c={unversionedId:"iotcloud/devicemanager/device-type",id:"iotcloud/devicemanager/device-type",title:"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406",description:"",source:"@site/docs/iotcloud/devicemanager/device-type.md",sourceDirName:"iotcloud/devicemanager",slug:"/iotcloud/devicemanager/device-type",permalink:"/docs/iotcloud/devicemanager/device-type",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"iotCloudSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/devicemanager/"},next:{title:"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-info"}},l={},p=[],d={toc:p},u="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406"},"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9841],{15680:(e,t,r)=>{r.d(t,{xA:()=>d,yg:()=>m});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},d=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,d=c(e,["components","mdxType","originalType","parentName"]),u=p(r),f=o,m=u["".concat(l,".").concat(f)]||u[f]||s[f]||i;return r?n.createElement(m,a(a({ref:t},d),{},{components:r})):n.createElement(m,a({ref:t},d))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=f;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[u]="string"==typeof e?e:o,a[1]=c;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>s,frontMatter:()=>i,metadata:()=>c,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:3},a="\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406",c={unversionedId:"iotcloud/devicemanager/device-type",id:"iotcloud/devicemanager/device-type",title:"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406",description:"",source:"@site/docs/iotcloud/devicemanager/device-type.md",sourceDirName:"iotcloud/devicemanager",slug:"/iotcloud/devicemanager/device-type",permalink:"/docs/iotcloud/devicemanager/device-type",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"iotCloudSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/devicemanager/"},next:{title:"\u8bbe\u5907\u4fe1\u606f\u7ba1\u7406",permalink:"/docs/iotcloud/devicemanager/device-info"}},l={},p=[],d={toc:p},u="wrapper";function s(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406"},"\u8bbe\u5907\u7c7b\u578b\u7ba1\u7406"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e49c089a.cbbcf74c.js b/assets/js/e49c089a.ac7e93ab.js similarity index 98% rename from assets/js/e49c089a.cbbcf74c.js rename to assets/js/e49c089a.ac7e93ab.js index e52476664..73ce5004f 100644 --- a/assets/js/e49c089a.cbbcf74c.js +++ b/assets/js/e49c089a.ac7e93ab.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4766],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>m});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),s=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):o(o({},r),e)),t},l=function(e){var r=s(e.components);return n.createElement(c.Provider,{value:r},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),u=s(t),y=a,m=u["".concat(c,".").concat(y)]||u[y]||g[y]||i;return t?n.createElement(m,o(o({ref:r},l),{},{components:t})):n.createElement(m,o({ref:r},l))}));function m(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var i=t.length,o=new Array(i);o[0]=y;var p={};for(var c in r)hasOwnProperty.call(r,c)&&(p[c]=r[c]);p.originalType=e,p[u]="string"==typeof e?e:a,o[1]=p;for(var s=2;s{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>o,default:()=>g,frontMatter:()=>i,metadata:()=>p,toc:()=>s});var n=t(58168),a=(t(96540),t(15680));const i={},o="Spirng Framework",p={unversionedId:"study/back/spring/SpringFramework",id:"study/back/spring/SpringFramework",title:"Spirng Framework",description:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",source:"@site/docs/study/back/spring/SpringFramework.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/SpringFramework",permalink:"/docs/study/back/spring/SpringFramework",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Spring Boot",permalink:"/docs/study/back/spring/SpringBoot"},next:{title:"Spring Security",permalink:"/docs/study/back/spring/SpringSecurity"}},c={},s=[{value:"\u7279\u6027",id:"\u7279\u6027",level:3}],l={toc:s},u="wrapper";function g(e){let{components:r,...t}=e;return(0,a.yg)(u,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"spirng-framework"},"Spirng Framework"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://docs.spring.io/spring-framework/reference/overview.html"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863")),(0,a.yg)("h3",{id:"\u7279\u6027"},"\u7279\u6027"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Core technologies: dependency injection, events, resources, i18n, validation, data binding, type conversion, SpEL, AOP.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Testing: mock objects, TestContext framework, Spring MVC Test, WebTestClient.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Data Access: transactions, DAO support, JDBC, ORM, Marshalling XML.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Spring MVC and Spring WebFlux web frameworks.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Integration: remoting, JMS, JCA, JMX, email, tasks, scheduling, cache and observability.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Languages: Kotlin, Groovy, dynamic languages."))))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4766],{15680:(e,r,t)=>{t.d(r,{xA:()=>l,yg:()=>m});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),s=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):o(o({},r),e)),t},l=function(e){var r=s(e.components);return n.createElement(c.Provider,{value:r},e.children)},u="mdxType",g={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},y=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),u=s(t),y=a,m=u["".concat(c,".").concat(y)]||u[y]||g[y]||i;return t?n.createElement(m,o(o({ref:r},l),{},{components:t})):n.createElement(m,o({ref:r},l))}));function m(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var i=t.length,o=new Array(i);o[0]=y;var p={};for(var c in r)hasOwnProperty.call(r,c)&&(p[c]=r[c]);p.originalType=e,p[u]="string"==typeof e?e:a,o[1]=p;for(var s=2;s{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>o,default:()=>g,frontMatter:()=>i,metadata:()=>p,toc:()=>s});var n=t(58168),a=(t(96540),t(15680));const i={},o="Spirng Framework",p={unversionedId:"study/back/spring/SpringFramework",id:"study/back/spring/SpringFramework",title:"Spirng Framework",description:"\u5b98\u65b9\u53c2\u8003\u6587\u6863",source:"@site/docs/study/back/spring/SpringFramework.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/SpringFramework",permalink:"/docs/study/back/spring/SpringFramework",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Spring Boot",permalink:"/docs/study/back/spring/SpringBoot"},next:{title:"Spring Security",permalink:"/docs/study/back/spring/SpringSecurity"}},c={},s=[{value:"\u7279\u6027",id:"\u7279\u6027",level:3}],l={toc:s},u="wrapper";function g(e){let{components:r,...t}=e;return(0,a.yg)(u,(0,n.A)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"spirng-framework"},"Spirng Framework"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://docs.spring.io/spring-framework/reference/overview.html"},"\u5b98\u65b9\u53c2\u8003\u6587\u6863")),(0,a.yg)("h3",{id:"\u7279\u6027"},"\u7279\u6027"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Core technologies: dependency injection, events, resources, i18n, validation, data binding, type conversion, SpEL, AOP.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Testing: mock objects, TestContext framework, Spring MVC Test, WebTestClient.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Data Access: transactions, DAO support, JDBC, ORM, Marshalling XML.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Spring MVC and Spring WebFlux web frameworks.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Integration: remoting, JMS, JCA, JMX, email, tasks, scheduling, cache and observability.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"Languages: Kotlin, Groovy, dynamic languages."))))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e4e6cea9.f9711f19.js b/assets/js/e4e6cea9.2864bbea.js similarity index 98% rename from assets/js/e4e6cea9.f9711f19.js rename to assets/js/e4e6cea9.2864bbea.js index 435e7faa3..e36f3c726 100644 --- a/assets/js/e4e6cea9.f9711f19.js +++ b/assets/js/e4e6cea9.2864bbea.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2863],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),u=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(a.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,a=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),p=u(r),f=o,y=p["".concat(a,".").concat(f)]||p[f]||d[f]||i;return r?n.createElement(y,l(l({ref:t},s),{},{components:r})):n.createElement(y,l({ref:t},s))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,l=new Array(i);l[0]=f;var c={};for(var a in t)hasOwnProperty.call(t,a)&&(c[a]=t[a]);c.originalType=e,c[p]="string"==typeof e?e:o,l[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>d,frontMatter:()=>i,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:3},l="\u7528\u6237\u65e5\u5fd7",c={unversionedId:"iotcloud/usercenter/user-log",id:"iotcloud/usercenter/user-log",title:"\u7528\u6237\u65e5\u5fd7",description:"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u65e5\u5fd7 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002",source:"@site/docs/iotcloud/usercenter/user-log.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/user-log",permalink:"/docs/iotcloud/usercenter/user-log",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"iotCloudSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/usercenter/"},next:{title:"\u7528\u6237\u8bbe\u7f6e",permalink:"/docs/iotcloud/usercenter/user-settings"}},a={},u=[{value:"\u4ec0\u4e48\u662f\u7528\u6237\u65e5\u5fd7",id:"\u4ec0\u4e48\u662f\u7528\u6237\u65e5\u5fd7",level:3},{value:"\u4f7f\u7528\u6d41\u7a0b",id:"\u4f7f\u7528\u6d41\u7a0b",level:3},{value:"\u6700\u4f73\u5b9e\u8df5",id:"\u6700\u4f73\u5b9e\u8df5",level:3},{value:"\u4f7f\u7528\u9650\u5236",id:"\u4f7f\u7528\u9650\u5236",level:3}],s={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u7528\u6237\u65e5\u5fd7"},"\u7528\u6237\u65e5\u5fd7"),(0,o.yg)("p",null,"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u65e5\u5fd7 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002"),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662f\u7528\u6237\u65e5\u5fd7"},"\u4ec0\u4e48\u662f\u7528\u6237\u65e5\u5fd7"),(0,o.yg)("p",null,"\u7528\u6237\u65e5\u5fd7\u6307\u7684\u662f\u7528\u6237\u64cd\u4f5c\u7684\u5173\u952e\u4fe1\u606f\u8bb0\u5f55\u3002"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u6d41\u7a0b"},"\u4f7f\u7528\u6d41\u7a0b"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u6700\u4f73\u5b9e\u8df5"},"\u6700\u4f73\u5b9e\u8df5"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u9650\u5236"},"\u4f7f\u7528\u9650\u5236"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2863],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>y});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var a=n.createContext({}),u=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},s=function(e){var t=u(e.components);return n.createElement(a.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,a=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),p=u(r),f=o,y=p["".concat(a,".").concat(f)]||p[f]||d[f]||i;return r?n.createElement(y,l(l({ref:t},s),{},{components:r})):n.createElement(y,l({ref:t},s))}));function y(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,l=new Array(i);l[0]=f;var c={};for(var a in t)hasOwnProperty.call(t,a)&&(c[a]=t[a]);c.originalType=e,c[p]="string"==typeof e?e:o,l[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>d,frontMatter:()=>i,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const i={sidebar_position:3},l="\u7528\u6237\u65e5\u5fd7",c={unversionedId:"iotcloud/usercenter/user-log",id:"iotcloud/usercenter/user-log",title:"\u7528\u6237\u65e5\u5fd7",description:"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u65e5\u5fd7 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002",source:"@site/docs/iotcloud/usercenter/user-log.md",sourceDirName:"iotcloud/usercenter",slug:"/iotcloud/usercenter/user-log",permalink:"/docs/iotcloud/usercenter/user-log",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"iotCloudSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/iotcloud/usercenter/"},next:{title:"\u7528\u6237\u8bbe\u7f6e",permalink:"/docs/iotcloud/usercenter/user-settings"}},a={},u=[{value:"\u4ec0\u4e48\u662f\u7528\u6237\u65e5\u5fd7",id:"\u4ec0\u4e48\u662f\u7528\u6237\u65e5\u5fd7",level:3},{value:"\u4f7f\u7528\u6d41\u7a0b",id:"\u4f7f\u7528\u6d41\u7a0b",level:3},{value:"\u6700\u4f73\u5b9e\u8df5",id:"\u6700\u4f73\u5b9e\u8df5",level:3},{value:"\u4f7f\u7528\u9650\u5236",id:"\u4f7f\u7528\u9650\u5236",level:3}],s={toc:u},p="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(p,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"\u7528\u6237\u65e5\u5fd7"},"\u7528\u6237\u65e5\u5fd7"),(0,o.yg)("p",null,"\u672c\u6587\u4e3a\u60a8\u4ecb\u7ecd \u7528\u6237\u65e5\u5fd7 \u7684\u57fa\u672c\u6982\u5ff5\u3001\u4f7f\u7528\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u4f7f\u7528\u9650\u5236\u3002"),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662f\u7528\u6237\u65e5\u5fd7"},"\u4ec0\u4e48\u662f\u7528\u6237\u65e5\u5fd7"),(0,o.yg)("p",null,"\u7528\u6237\u65e5\u5fd7\u6307\u7684\u662f\u7528\u6237\u64cd\u4f5c\u7684\u5173\u952e\u4fe1\u606f\u8bb0\u5f55\u3002"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u6d41\u7a0b"},"\u4f7f\u7528\u6d41\u7a0b"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u6700\u4f73\u5b9e\u8df5"},"\u6700\u4f73\u5b9e\u8df5"),(0,o.yg)("p",null,"GIF \u56fe"),(0,o.yg)("h3",{id:"\u4f7f\u7528\u9650\u5236"},"\u4f7f\u7528\u9650\u5236"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e7da4cec.66018e64.js b/assets/js/e7da4cec.38ca31c0.js similarity index 98% rename from assets/js/e7da4cec.66018e64.js rename to assets/js/e7da4cec.38ca31c0.js index d1c6cef9f..23e5f8991 100644 --- a/assets/js/e7da4cec.66018e64.js +++ b/assets/js/e7da4cec.38ca31c0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9989],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),l=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(c.Provider,{value:r},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(t),d=a,f=s["".concat(c,".").concat(d)]||s[d]||m[d]||o;return t?n.createElement(f,p(p({ref:r},u),{},{components:t})):n.createElement(f,p({ref:r},u))}));function f(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,p=new Array(o);p[0]=d;var i={};for(var c in r)hasOwnProperty.call(r,c)&&(i[c]=r[c]);i.originalType=e,i[s]="string"==typeof e?e:a,p[1]=i;for(var l=2;l{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>p,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=t(58168),a=(t(96540),t(15680));const o={},p=void 0,i={unversionedId:"study/program/C/pragma",id:"study/program/C/pragma",title:"pragma",description:"pragma",source:"@site/docs/study/program/C/pragma.md",sourceDirName:"study/program/C",slug:"/study/program/C/pragma",permalink:"/docs/study/program/C/pragma",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"make",permalink:"/docs/study/program/C/make"},next:{title:"size_t-ptrdiff_t-intptr_t-uintptr_t",permalink:"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t"}},c={},l=[{value:"#pragma",id:"pragma",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function m(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"pragma"},"#pragma"),(0,a.yg)("p",null,"\u7f16\u8bd1\u5668\u6307\u4ee4"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/primeprime/article/details/105110827"},"#pragma \u7f16\u8bd1\u5668\u6307\u4ee4\u8be6\u89e3"))))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9989],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>f});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=n.createContext({}),l=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},u=function(e){var r=l(e.components);return n.createElement(c.Provider,{value:r},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(t),d=a,f=s["".concat(c,".").concat(d)]||s[d]||m[d]||o;return t?n.createElement(f,p(p({ref:r},u),{},{components:t})):n.createElement(f,p({ref:r},u))}));function f(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var o=t.length,p=new Array(o);p[0]=d;var i={};for(var c in r)hasOwnProperty.call(r,c)&&(i[c]=r[c]);i.originalType=e,i[s]="string"==typeof e?e:a,p[1]=i;for(var l=2;l{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>p,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=t(58168),a=(t(96540),t(15680));const o={},p=void 0,i={unversionedId:"study/program/C/pragma",id:"study/program/C/pragma",title:"pragma",description:"pragma",source:"@site/docs/study/program/C/pragma.md",sourceDirName:"study/program/C",slug:"/study/program/C/pragma",permalink:"/docs/study/program/C/pragma",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"make",permalink:"/docs/study/program/C/make"},next:{title:"size_t-ptrdiff_t-intptr_t-uintptr_t",permalink:"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t"}},c={},l=[{value:"#pragma",id:"pragma",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function m(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"pragma"},"#pragma"),(0,a.yg)("p",null,"\u7f16\u8bd1\u5668\u6307\u4ee4"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/primeprime/article/details/105110827"},"#pragma \u7f16\u8bd1\u5668\u6307\u4ee4\u8be6\u89e3"))))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e907057a.39e59297.js b/assets/js/e907057a.98ba6c97.js similarity index 98% rename from assets/js/e907057a.39e59297.js rename to assets/js/e907057a.98ba6c97.js index efa64efb5..b7a3f0e6b 100644 --- a/assets/js/e907057a.39e59297.js +++ b/assets/js/e907057a.98ba6c97.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2243],{15680:(e,t,n)=>{n.d(t,{xA:()=>s,yg:()=>g});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var i=r.createContext({}),p=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=p(e.components);return r.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(n),y=a,g=u["".concat(i,".").concat(y)]||u[y]||d[y]||o;return n?r.createElement(g,l(l({ref:t},s),{},{components:n})):r.createElement(g,l({ref:t},s))}));function g(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[u]="string"==typeof e?e:a,l[1]=c;for(var p=2;p{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var r=n(58168),a=(n(96540),n(15680));const o={},l=void 0,c={unversionedId:"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7",id:"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7",title:"jar\u8fd0\u7ef4-\u76d1\u63a7",description:"jstat",source:"@site/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7.md",sourceDirName:"study/devops",slug:"/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7",permalink:"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"centos-jdk17-app",permalink:"/docs/study/devops/centos-jdk17-app"},next:{title:"ssh",permalink:"/docs/study/devops/ssh"}},i={},p=[{value:"jstat",id:"jstat",level:3},{value:"about",id:"about",level:4},{value:"options",id:"options",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},u="wrapper";function d(e){let{components:t,...n}=e;return(0,a.yg)(u,(0,r.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"jstat"},"jstat"),(0,a.yg)("h4",{id:"about"},"about"),(0,a.yg)("p",null,"jstat ","[Options]"," pid ","[interval][count]","\npid\uff0c\u5f53\u524d\u8fd0\u884c\u7684 java\u8fdb\u7a0b\u53f7 "),(0,a.yg)("p",null,"interval\uff0c\u95f4\u9694\u65f6\u95f4\uff0c\u5355\u4f4d\u4e3a\u79d2\u6216\u8005\u6beb\u79d2 "),(0,a.yg)("p",null,"count\uff0c\u6253\u5370\u6b21\u6570\uff0c\u5982\u679c\u7f3a\u7701\u5219\u6253\u5370\u65e0\u6570\u6b21"),(0,a.yg)("h4",{id:"options"},"options"),(0,a.yg)("p",null,"l class (\u7c7b\u52a0\u8f7d\u5668)\nl compiler (JIT)\nl gc (GC\u5806\u72b6\u6001)\nl gccapacity (\u5404\u533a\u5927\u5c0f)\nl gccause (\u6700\u8fd1\u4e00\u6b21GC\u7edf\u8ba1\u548c\u539f\u56e0)\nl gcnew (\u65b0\u533a\u7edf\u8ba1)\nl gcnewcapacity (\u65b0\u533a\u5927\u5c0f)\nl gcold (\u8001\u533a\u7edf\u8ba1)\nl gcoldcapacity (\u8001\u533a\u5927\u5c0f)\nl gcpermcapacity (\u6c38\u4e45\u533a\u5927\u5c0f)\nl gcutil (GC\u7edf\u8ba1\u6c47\u603b)\nl printcompilation (HotSpot\u7f16\u8bd1\u7edf\u8ba1)"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\njstat -gcutil 22573 5000\n")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zhaozheng7758/article/details/8623549"},"jstat\u547d\u4ee4\u8be6\u89e3"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2243],{15680:(e,t,n)=>{n.d(t,{xA:()=>s,yg:()=>g});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var i=r.createContext({}),p=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},s=function(e){var t=p(e.components);return r.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(n),y=a,g=u["".concat(i,".").concat(y)]||u[y]||d[y]||o;return n?r.createElement(g,l(l({ref:t},s),{},{components:n})):r.createElement(g,l({ref:t},s))}));function g(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,l=new Array(o);l[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[u]="string"==typeof e?e:a,l[1]=c;for(var p=2;p{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>p});var r=n(58168),a=(n(96540),n(15680));const o={},l=void 0,c={unversionedId:"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7",id:"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7",title:"jar\u8fd0\u7ef4-\u76d1\u63a7",description:"jstat",source:"@site/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7.md",sourceDirName:"study/devops",slug:"/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7",permalink:"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"centos-jdk17-app",permalink:"/docs/study/devops/centos-jdk17-app"},next:{title:"ssh",permalink:"/docs/study/devops/ssh"}},i={},p=[{value:"jstat",id:"jstat",level:3},{value:"about",id:"about",level:4},{value:"options",id:"options",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:p},u="wrapper";function d(e){let{components:t,...n}=e;return(0,a.yg)(u,(0,r.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"jstat"},"jstat"),(0,a.yg)("h4",{id:"about"},"about"),(0,a.yg)("p",null,"jstat ","[Options]"," pid ","[interval][count]","\npid\uff0c\u5f53\u524d\u8fd0\u884c\u7684 java\u8fdb\u7a0b\u53f7 "),(0,a.yg)("p",null,"interval\uff0c\u95f4\u9694\u65f6\u95f4\uff0c\u5355\u4f4d\u4e3a\u79d2\u6216\u8005\u6beb\u79d2 "),(0,a.yg)("p",null,"count\uff0c\u6253\u5370\u6b21\u6570\uff0c\u5982\u679c\u7f3a\u7701\u5219\u6253\u5370\u65e0\u6570\u6b21"),(0,a.yg)("h4",{id:"options"},"options"),(0,a.yg)("p",null,"l class (\u7c7b\u52a0\u8f7d\u5668)\nl compiler (JIT)\nl gc (GC\u5806\u72b6\u6001)\nl gccapacity (\u5404\u533a\u5927\u5c0f)\nl gccause (\u6700\u8fd1\u4e00\u6b21GC\u7edf\u8ba1\u548c\u539f\u56e0)\nl gcnew (\u65b0\u533a\u7edf\u8ba1)\nl gcnewcapacity (\u65b0\u533a\u5927\u5c0f)\nl gcold (\u8001\u533a\u7edf\u8ba1)\nl gcoldcapacity (\u8001\u533a\u5927\u5c0f)\nl gcpermcapacity (\u6c38\u4e45\u533a\u5927\u5c0f)\nl gcutil (GC\u7edf\u8ba1\u6c47\u603b)\nl printcompilation (HotSpot\u7f16\u8bd1\u7edf\u8ba1)"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\njstat -gcutil 22573 5000\n")),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/zhaozheng7758/article/details/8623549"},"jstat\u547d\u4ee4\u8be6\u89e3"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e92b6e83.8fd0658e.js b/assets/js/e92b6e83.2ffc9933.js similarity index 99% rename from assets/js/e92b6e83.8fd0658e.js rename to assets/js/e92b6e83.2ffc9933.js index 7ac03cef0..4416dbaaf 100644 --- a/assets/js/e92b6e83.8fd0658e.js +++ b/assets/js/e92b6e83.2ffc9933.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[817],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var s=n.createContext({}),i=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(s.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,s=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),d=i(r),y=l,f=d["".concat(s,".").concat(y)]||d[y]||u[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,c=new Array(a);c[0]=y;var o={};for(var s in t)hasOwnProperty.call(t,s)&&(o[s]=t[s]);o.originalType=e,o[d]="string"==typeof e?e:l,c[1]=o;for(var i=2;i{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>o,toc:()=>i});var n=r(58168),l=(r(96540),r(15680));const a={},c=void 0,o={unversionedId:"study/db/NoSQL/Etcd",id:"study/db/NoSQL/Etcd",title:"Etcd",description:"ETCD\u662fCoreOs\u516c\u53f8\u53d1\u5e03\u7684\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u3001\u9ad8\u53ef\u7528\u7684\u3001key-value\u5b58\u50a8\u7684\u6570\u636e\u5e93\u3002\u57fa\u4e8eGo\u8bed\u8a00\u5b9e\u73b0\uff0ck8s\u4e2d\u4e5f\u4f7f\u7528\u4e86ETCD\u4f5c\u4e3a\u6570\u636e\u5e93\u3002\u4e3b\u8981\u7528\u4e8e\u5171\u4eab\u914d\u7f6e\u548c\u670d\u52a1\u53d1\u73b0\u3002\u76f8\u5bf9\u4e8ezookeeper\u91c7\u7528\u7684Paxos\uff0cETCD\u91c7\u7528\u7684\u662fRaft\u7b97\u6cd5\uff0c\u8be5\u7b97\u6cd5\u5177\u5907\u7684\u6027\u80fd\u66f4\u4f73\u3001\u6570\u636e\u4e00\u81f4\u6027\u5f3a\u7b49\u4f18\u70b9\u3002",source:"@site/docs/study/db/NoSQL/Etcd.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Etcd",permalink:"/docs/study/db/NoSQL/Etcd",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Cassandra",permalink:"/docs/study/db/NoSQL/Cassandra"},next:{title:"Hadoop",permalink:"/docs/study/db/NoSQL/Hadoop"}},s={},i=[{value:"etcdctl",id:"etcdctl",level:3},{value:"\u6570\u636e\u76f8\u5173\u547d\u4ee4",id:"\u6570\u636e\u76f8\u5173\u547d\u4ee4",level:4},{value:"\u96c6\u7fa4\u7ef4\u62a4\u76f8\u5173\u547d\u4ee4",id:"\u96c6\u7fa4\u7ef4\u62a4\u76f8\u5173\u547d\u4ee4",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:i},d="wrapper";function u(e){let{components:t,...r}=e;return(0,l.yg)(d,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"ETCD\u662fCoreOs\u516c\u53f8\u53d1\u5e03\u7684\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u3001\u9ad8\u53ef\u7528\u7684\u3001key-value\u5b58\u50a8\u7684\u6570\u636e\u5e93\u3002\u57fa\u4e8eGo\u8bed\u8a00\u5b9e\u73b0\uff0ck8s\u4e2d\u4e5f\u4f7f\u7528\u4e86ETCD\u4f5c\u4e3a\u6570\u636e\u5e93\u3002\u4e3b\u8981\u7528\u4e8e\u5171\u4eab\u914d\u7f6e\u548c\u670d\u52a1\u53d1\u73b0\u3002\u76f8\u5bf9\u4e8ezookeeper\u91c7\u7528\u7684Paxos\uff0cETCD\u91c7\u7528\u7684\u662fRaft\u7b97\u6cd5\uff0c\u8be5\u7b97\u6cd5\u5177\u5907\u7684\u6027\u80fd\u66f4\u4f73\u3001\u6570\u636e\u4e00\u81f4\u6027\u5f3a\u7b49\u4f18\u70b9\u3002"),(0,l.yg)("p",null,"ETCD\u5b58\u50a8\u6570\u636e\u91cf\u9ed8\u8ba4\u4e3a2GB\uff0c\u6700\u5927\u53ef\u4ee5\u8bbe\u7f6e\u4e3a8GB\u3002\u9488\u5bf9ETCD\u5b58\u50a8\u6570\u636e\u91cf\u8f83\u5c0f\u7684\u7279\u6027\uff0c\u6545\u5efa\u8baeETCD\u6700\u597d\u4f5c\u4e3a\u70ed\u70b9\u6570\u636e\u5b58\u50a8\u7684\u6570\u636e\u5e93\u4f7f\u7528\uff0c\u800c\u4e0d\u80fd\u4f5c\u4e3a\u5e94\u7528\u6570\u636e\u6301\u4e45\u5316\u7684\u6570\u636e\u5e93\u4f7f\u7528\u3002\u5e38\u89c1\u7684\u4f7f\u7528\u573a\u666f\u5982\u4e0b\uff1a"),(0,l.yg)("p",null,"\u573a\u666f1\uff1a\u670d\u52a1\u53d1\u73b0\uff08Service Discovery\uff09"),(0,l.yg)("p",null,"\u573a\u666f2\uff1a\u6d88\u606f\u53d1\u5e03\u4e0e\u8ba2\u9605"),(0,l.yg)("p",null,"\u573a\u666f3\uff1a\u8d1f\u8f7d\u5747\u8861"),(0,l.yg)("p",null,"\u573a\u666f4\uff1a\u5206\u5e03\u5f0f\u901a\u77e5\u4e0e\u534f\u8c03"),(0,l.yg)("p",null,"\u573a\u666f5\uff1a\u5206\u5e03\u5f0f\u9501\u3001\u5206\u5e03\u5f0f\u961f\u5217"),(0,l.yg)("p",null,"\u573a\u666f6\uff1a\u96c6\u7fa4\u76d1\u63a7\u4e0eLeader\u7ade\u9009\u3002"),(0,l.yg)("p",null,"\u6bd4\u5982\uff1a\u67d0\u4e2a\u7528\u6237\u9700\u8981\u4e00\u4e2a\u5206\u5e03\u5f0f\u5b58\u50a8\u4ed3\u5e93\u6765\u5b58\u50a8\u914d\u7f6e\u4fe1\u606f\uff0c\u5e76\u4e14\u5bf9\u4e8e\u8bfb\u5199\u901f\u5ea6\u3001\u9ad8\u53ef\u7528\u3001\u90e8\u7f72\u4fbf\u6377\u7b49\u65b9\u9762\u90fd\u6709\u8981\u6c42\uff0c\u5219\u8be5\u573a\u666f\u53ef\u4ee5\u4f18\u5148\u8003\u8651ETCD\u6570\u636e\u5e93\u3002\u5f53\u524d\u4f7f\u5e7f\u6cdb\u7684kubernetes\uff0c\u4ea6\u4f7f\u7528ETCD\u6765\u5b58\u50a8docker\u96c6\u7fa4\u7684\u914d\u7f6e\u4fe1\u606f\u3002"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://etcd.io/docs/v3.5/"},"\u5b98\u65b9\u6587\u6863")),(0,l.yg)("p",null,"\u6545\u969c\u6a21\u5f0f ",(0,l.yg)("a",{parentName:"p",href:"https://etcd.io/docs/v3.5/op-guide/failures/"},"https://etcd.io/docs/v3.5/op-guide/failures/")),(0,l.yg)("h3",{id:"etcdctl"},"etcdctl"),(0,l.yg)("p",null,"etcdctl is a command line client for etcd."),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://github.com/etcd-io/etcd/tree/main/etcdctl"},"\u5b98\u65b9\u6587\u6863")),(0,l.yg)("h4",{id:"\u6570\u636e\u76f8\u5173\u547d\u4ee4"},"\u6570\u636e\u76f8\u5173\u547d\u4ee4"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"# help \n./etcdctl --help\n# \u8fd4\u56de\u6240\u6709 \u5305\u62ecvalue\n./etcdctl get --from-key '' -w fields\n# \u8fd4\u56de\u6240\u6709 \u53ea\u6709key\n./etcdctl get --from-key '' --keys-only -w fields\n# \u6839\u636ekey\u7684\u524d\u7f00\u67e5\u8be2\n./etcdctl get --prefix /apisix/upstreams/451739158021407449 -w fields\n# \u5217\u5f62\u5f0f\u8fd4\u56de\n./etcdctl get --prefix /apisix/upstreams -w fields\n# \u53ea\u8fd4\u56dekey\n./etcdctl get --prefix /apisix/routes -w simple --keys-only\n./etcdctl get --insecure-skip-tls-verify=true --insecure-transport=false --prefix /apisix/routes -w simple --keys-only\n# \u8fd4\u56de\u6307\u5b9akey\n./etcdctl get /apisix/routes/488415811682173648\n# \u66f4\u65b0\u6307\u5b9akey\u7684value\n./etcdctl put /mykey \"my new value\" --if-exists\n")),(0,l.yg)("h4",{id:"\u96c6\u7fa4\u7ef4\u62a4\u76f8\u5173\u547d\u4ee4"},"\u96c6\u7fa4\u7ef4\u62a4\u76f8\u5173\u547d\u4ee4"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"# \u96c6\u7fa4\u5185\u6240\u6709\u8282\u70b9 \n./etcdctl member list -w table\n# \u96c6\u7fa4\u5185\u6240\u6709\u8282\u70b9\u72b6\u6001\n./etcdctl endpoint --cluster health\n# \u96c6\u7fa4\u5185\u6240\u6709\u8282\u70b9\u72b6\u6001 \u4f1a\u6709\u54ea\u4e2a\u662f\u9886\u5bfc\u8005\u3001\u5b66\u4e60\u8005\n./etcdctl -w table endpoint --cluster status\n# \u62a5\u8b66\u5217\u8868\n./etcdctl alarm list\n")),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/638288999"},"\u77e5\u4e4e-ETCD\u6982\u8ff0"))))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[817],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var s=n.createContext({}),i=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(s.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,s=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),d=i(r),y=l,f=d["".concat(s,".").concat(y)]||d[y]||u[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,c=new Array(a);c[0]=y;var o={};for(var s in t)hasOwnProperty.call(t,s)&&(o[s]=t[s]);o.originalType=e,o[d]="string"==typeof e?e:l,c[1]=o;for(var i=2;i{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>o,toc:()=>i});var n=r(58168),l=(r(96540),r(15680));const a={},c=void 0,o={unversionedId:"study/db/NoSQL/Etcd",id:"study/db/NoSQL/Etcd",title:"Etcd",description:"ETCD\u662fCoreOs\u516c\u53f8\u53d1\u5e03\u7684\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u3001\u9ad8\u53ef\u7528\u7684\u3001key-value\u5b58\u50a8\u7684\u6570\u636e\u5e93\u3002\u57fa\u4e8eGo\u8bed\u8a00\u5b9e\u73b0\uff0ck8s\u4e2d\u4e5f\u4f7f\u7528\u4e86ETCD\u4f5c\u4e3a\u6570\u636e\u5e93\u3002\u4e3b\u8981\u7528\u4e8e\u5171\u4eab\u914d\u7f6e\u548c\u670d\u52a1\u53d1\u73b0\u3002\u76f8\u5bf9\u4e8ezookeeper\u91c7\u7528\u7684Paxos\uff0cETCD\u91c7\u7528\u7684\u662fRaft\u7b97\u6cd5\uff0c\u8be5\u7b97\u6cd5\u5177\u5907\u7684\u6027\u80fd\u66f4\u4f73\u3001\u6570\u636e\u4e00\u81f4\u6027\u5f3a\u7b49\u4f18\u70b9\u3002",source:"@site/docs/study/db/NoSQL/Etcd.md",sourceDirName:"study/db/NoSQL",slug:"/study/db/NoSQL/Etcd",permalink:"/docs/study/db/NoSQL/Etcd",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Cassandra",permalink:"/docs/study/db/NoSQL/Cassandra"},next:{title:"Hadoop",permalink:"/docs/study/db/NoSQL/Hadoop"}},s={},i=[{value:"etcdctl",id:"etcdctl",level:3},{value:"\u6570\u636e\u76f8\u5173\u547d\u4ee4",id:"\u6570\u636e\u76f8\u5173\u547d\u4ee4",level:4},{value:"\u96c6\u7fa4\u7ef4\u62a4\u76f8\u5173\u547d\u4ee4",id:"\u96c6\u7fa4\u7ef4\u62a4\u76f8\u5173\u547d\u4ee4",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:i},d="wrapper";function u(e){let{components:t,...r}=e;return(0,l.yg)(d,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"ETCD\u662fCoreOs\u516c\u53f8\u53d1\u5e03\u7684\u4e00\u4e2a\u5206\u5e03\u5f0f\u7684\u3001\u9ad8\u53ef\u7528\u7684\u3001key-value\u5b58\u50a8\u7684\u6570\u636e\u5e93\u3002\u57fa\u4e8eGo\u8bed\u8a00\u5b9e\u73b0\uff0ck8s\u4e2d\u4e5f\u4f7f\u7528\u4e86ETCD\u4f5c\u4e3a\u6570\u636e\u5e93\u3002\u4e3b\u8981\u7528\u4e8e\u5171\u4eab\u914d\u7f6e\u548c\u670d\u52a1\u53d1\u73b0\u3002\u76f8\u5bf9\u4e8ezookeeper\u91c7\u7528\u7684Paxos\uff0cETCD\u91c7\u7528\u7684\u662fRaft\u7b97\u6cd5\uff0c\u8be5\u7b97\u6cd5\u5177\u5907\u7684\u6027\u80fd\u66f4\u4f73\u3001\u6570\u636e\u4e00\u81f4\u6027\u5f3a\u7b49\u4f18\u70b9\u3002"),(0,l.yg)("p",null,"ETCD\u5b58\u50a8\u6570\u636e\u91cf\u9ed8\u8ba4\u4e3a2GB\uff0c\u6700\u5927\u53ef\u4ee5\u8bbe\u7f6e\u4e3a8GB\u3002\u9488\u5bf9ETCD\u5b58\u50a8\u6570\u636e\u91cf\u8f83\u5c0f\u7684\u7279\u6027\uff0c\u6545\u5efa\u8baeETCD\u6700\u597d\u4f5c\u4e3a\u70ed\u70b9\u6570\u636e\u5b58\u50a8\u7684\u6570\u636e\u5e93\u4f7f\u7528\uff0c\u800c\u4e0d\u80fd\u4f5c\u4e3a\u5e94\u7528\u6570\u636e\u6301\u4e45\u5316\u7684\u6570\u636e\u5e93\u4f7f\u7528\u3002\u5e38\u89c1\u7684\u4f7f\u7528\u573a\u666f\u5982\u4e0b\uff1a"),(0,l.yg)("p",null,"\u573a\u666f1\uff1a\u670d\u52a1\u53d1\u73b0\uff08Service Discovery\uff09"),(0,l.yg)("p",null,"\u573a\u666f2\uff1a\u6d88\u606f\u53d1\u5e03\u4e0e\u8ba2\u9605"),(0,l.yg)("p",null,"\u573a\u666f3\uff1a\u8d1f\u8f7d\u5747\u8861"),(0,l.yg)("p",null,"\u573a\u666f4\uff1a\u5206\u5e03\u5f0f\u901a\u77e5\u4e0e\u534f\u8c03"),(0,l.yg)("p",null,"\u573a\u666f5\uff1a\u5206\u5e03\u5f0f\u9501\u3001\u5206\u5e03\u5f0f\u961f\u5217"),(0,l.yg)("p",null,"\u573a\u666f6\uff1a\u96c6\u7fa4\u76d1\u63a7\u4e0eLeader\u7ade\u9009\u3002"),(0,l.yg)("p",null,"\u6bd4\u5982\uff1a\u67d0\u4e2a\u7528\u6237\u9700\u8981\u4e00\u4e2a\u5206\u5e03\u5f0f\u5b58\u50a8\u4ed3\u5e93\u6765\u5b58\u50a8\u914d\u7f6e\u4fe1\u606f\uff0c\u5e76\u4e14\u5bf9\u4e8e\u8bfb\u5199\u901f\u5ea6\u3001\u9ad8\u53ef\u7528\u3001\u90e8\u7f72\u4fbf\u6377\u7b49\u65b9\u9762\u90fd\u6709\u8981\u6c42\uff0c\u5219\u8be5\u573a\u666f\u53ef\u4ee5\u4f18\u5148\u8003\u8651ETCD\u6570\u636e\u5e93\u3002\u5f53\u524d\u4f7f\u5e7f\u6cdb\u7684kubernetes\uff0c\u4ea6\u4f7f\u7528ETCD\u6765\u5b58\u50a8docker\u96c6\u7fa4\u7684\u914d\u7f6e\u4fe1\u606f\u3002"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://etcd.io/docs/v3.5/"},"\u5b98\u65b9\u6587\u6863")),(0,l.yg)("p",null,"\u6545\u969c\u6a21\u5f0f ",(0,l.yg)("a",{parentName:"p",href:"https://etcd.io/docs/v3.5/op-guide/failures/"},"https://etcd.io/docs/v3.5/op-guide/failures/")),(0,l.yg)("h3",{id:"etcdctl"},"etcdctl"),(0,l.yg)("p",null,"etcdctl is a command line client for etcd."),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://github.com/etcd-io/etcd/tree/main/etcdctl"},"\u5b98\u65b9\u6587\u6863")),(0,l.yg)("h4",{id:"\u6570\u636e\u76f8\u5173\u547d\u4ee4"},"\u6570\u636e\u76f8\u5173\u547d\u4ee4"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"# help \n./etcdctl --help\n# \u8fd4\u56de\u6240\u6709 \u5305\u62ecvalue\n./etcdctl get --from-key '' -w fields\n# \u8fd4\u56de\u6240\u6709 \u53ea\u6709key\n./etcdctl get --from-key '' --keys-only -w fields\n# \u6839\u636ekey\u7684\u524d\u7f00\u67e5\u8be2\n./etcdctl get --prefix /apisix/upstreams/451739158021407449 -w fields\n# \u5217\u5f62\u5f0f\u8fd4\u56de\n./etcdctl get --prefix /apisix/upstreams -w fields\n# \u53ea\u8fd4\u56dekey\n./etcdctl get --prefix /apisix/routes -w simple --keys-only\n./etcdctl get --insecure-skip-tls-verify=true --insecure-transport=false --prefix /apisix/routes -w simple --keys-only\n# \u8fd4\u56de\u6307\u5b9akey\n./etcdctl get /apisix/routes/488415811682173648\n# \u66f4\u65b0\u6307\u5b9akey\u7684value\n./etcdctl put /mykey \"my new value\" --if-exists\n")),(0,l.yg)("h4",{id:"\u96c6\u7fa4\u7ef4\u62a4\u76f8\u5173\u547d\u4ee4"},"\u96c6\u7fa4\u7ef4\u62a4\u76f8\u5173\u547d\u4ee4"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},"# \u96c6\u7fa4\u5185\u6240\u6709\u8282\u70b9 \n./etcdctl member list -w table\n# \u96c6\u7fa4\u5185\u6240\u6709\u8282\u70b9\u72b6\u6001\n./etcdctl endpoint --cluster health\n# \u96c6\u7fa4\u5185\u6240\u6709\u8282\u70b9\u72b6\u6001 \u4f1a\u6709\u54ea\u4e2a\u662f\u9886\u5bfc\u8005\u3001\u5b66\u4e60\u8005\n./etcdctl -w table endpoint --cluster status\n# \u62a5\u8b66\u5217\u8868\n./etcdctl alarm list\n")),(0,l.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},(0,l.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/638288999"},"\u77e5\u4e4e-ETCD\u6982\u8ff0"))))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e983cebe.d48276b7.js b/assets/js/e983cebe.d5bfae21.js similarity index 99% rename from assets/js/e983cebe.d48276b7.js rename to assets/js/e983cebe.d5bfae21.js index cf5acb746..06b8908c9 100644 --- a/assets/js/e983cebe.d48276b7.js +++ b/assets/js/e983cebe.d5bfae21.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9665],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[s]="string"==typeof e?e:o,c[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,l={unversionedId:"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model",id:"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model",title:"Actor Model",description:"Actor\u6a21\u578b\u662f\u4e00\u4e2a\u6982\u5ff5\u6a21\u578b\uff0c\u7528\u4e8e\u5904\u7406\u5e76\u53d1\u8ba1\u7b97\u3002\u5b83\u5b9a\u4e49\u4e86\u4e00\u7cfb\u5217\u7cfb\u7edf\u7ec4\u4ef6\u5e94\u8be5\u5982\u4f55\u52a8\u4f5c\u548c\u4ea4\u4e92\u7684\u901a\u7528\u89c4\u5219\uff0c\u6700\u8457\u540d\u7684\u4f7f\u7528\u8fd9\u5957\u89c4\u5219\u7684\u7f16\u7a0b\u8bed\u8a00\u662fErlang\u3002",source:"@site/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model.md",sourceDirName:"study/think/\u6982\u5ff5\u6a21\u578b",slug:"/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",permalink:"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f"},next:{title:"Proactor",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor"}},i={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"Actor\u6a21\u578b\u662f\u4e00\u4e2a\u6982\u5ff5\u6a21\u578b\uff0c\u7528\u4e8e\u5904\u7406\u5e76\u53d1\u8ba1\u7b97\u3002\u5b83\u5b9a\u4e49\u4e86\u4e00\u7cfb\u5217\u7cfb\u7edf\u7ec4\u4ef6\u5e94\u8be5\u5982\u4f55\u52a8\u4f5c\u548c\u4ea4\u4e92\u7684\u901a\u7528\u89c4\u5219\uff0c\u6700\u8457\u540d\u7684\u4f7f\u7528\u8fd9\u5957\u89c4\u5219\u7684\u7f16\u7a0b\u8bed\u8a00\u662fErlang\u3002"),(0,o.yg)("p",null,"\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\uff0c\u53c2\u4e0e\u8005\u6a21\u5f0f\uff08\u82f1\u8bed\uff1aActor model\uff09\u662f\u4e00\u79cd\u5e76\u884c\u8fd0\u7b97\u4e0a\u7684\u6a21\u578b\u3002\u201c\u53c2\u4e0e\u8005\u201d\u662f\u4e00\u79cd\u7a0b\u5e8f\u4e0a\u7684\u62bd\u8c61\u6982\u5ff5\uff0c\u88ab\u89c6\u4e3a\u5e76\u884c\u8fd0\u7b97\u7684\u57fa\u672c\u5355\u5143\uff1a\u5f53\u4e00\u4e2a\u53c2\u4e0e\u8005\u63a5\u6536\u5230\u4e00\u5219\u8baf\u606f\uff0c\u5b83\u53ef\u4ee5\u505a\u51fa\u4e00\u4e9b\u51b3\u7b56\u3001\u5efa\u7acb\u66f4\u591a\u7684\u53c2\u4e0e\u8005\u3001\u4f20\u9001\u66f4\u591a\u7684\u8baf\u606f\u3001\u51b3\u5b9a\u8981\u5982\u4f55\u56de\u7b54\u63a5\u4e0b\u6765\u7684\u8baf\u606f\u3002"),(0,o.yg)("p",null,"\u53d1\u9001\u8005\u4e0e\u5df2\u7ecf\u53d1\u9001\u7684\u6d88\u606f\u89e3\u8026\uff0c\u662f\u53c2\u4e0e\u8005\u6a21\u578b\u7684\u6839\u672c\u4f18\u52bf\u3002\u8fd9\u5141\u8bb8\u8fdb\u884c\u5f02\u6b65\u901a\u4fe1\uff0c\u540c\u65f6\u6ee1\u8db3\u6d88\u606f\u4f20\u9012\u7684\u63a7\u5236\u7ed3\u6784\u3002"),(0,o.yg)("p",null,"\u6d88\u606f\u63a5\u6536\u8005\u662f\u901a\u8fc7\u5730\u5740\u533a\u5206\u7684\uff0c\u6709\u65f6\u4e5f\u88ab\u79f0\u4f5c\u201c\u90ae\u4ef6\u5730\u5740\u201d\u3002\u56e0\u6b64\u53c2\u4e0e\u8005\u53ea\u80fd\u548c\u5b83\u62e5\u6709\u5730\u5740\u7684\u53c2\u4e0e\u8005\u901a\u4fe1\u3002\u5b83\u53ef\u4ee5\u901a\u8fc7\u63a5\u53d7\u5230\u7684\u4fe1\u606f\u83b7\u53d6\u5730\u5740\uff0c\u6216\u8005\u83b7\u53d6\u5b83\u521b\u5efa\u7684\u53c2\u4e0e\u8005\u7684\u5730\u5740\u3002"),(0,o.yg)("p",null,"\u53c2\u4e0e\u8005\u6a21\u578b\u7684\u7279\u5f81\u662f\uff0c\u53c2\u4e0e\u8005\u5185\u90e8\u6216\u4e4b\u95f4\u8fdb\u884c\u5e76\u884c\u8ba1\u7b97\uff0c\u53c2\u4e0e\u8005\u53ef\u4ee5\u52a8\u6001\u521b\u5efa\uff0c\u53c2\u4e0e\u8005\u5730\u5740\u5305\u542b\u5728\u6d88\u606f\u4e2d\uff0c\u4ea4\u4e92\u53ea\u6709\u901a\u8fc7\u76f4\u63a5\u7684\u5f02\u6b65\u6d88\u606f\u901a\u4fe1\uff0c\u4e0d\u9650\u5236\u6d88\u606f\u5230\u8fbe\u7684\u987a\u5e8f\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_42644249/article/details/114035587"},"java actor_\u5341\u5206\u949f\u7406\u89e3Actor\u6a21\u5f0f"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9665],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(i,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=y;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[s]="string"==typeof e?e:o,c[1]=l;for(var u=2;u{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,l={unversionedId:"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model",id:"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model",title:"Actor Model",description:"Actor\u6a21\u578b\u662f\u4e00\u4e2a\u6982\u5ff5\u6a21\u578b\uff0c\u7528\u4e8e\u5904\u7406\u5e76\u53d1\u8ba1\u7b97\u3002\u5b83\u5b9a\u4e49\u4e86\u4e00\u7cfb\u5217\u7cfb\u7edf\u7ec4\u4ef6\u5e94\u8be5\u5982\u4f55\u52a8\u4f5c\u548c\u4ea4\u4e92\u7684\u901a\u7528\u89c4\u5219\uff0c\u6700\u8457\u540d\u7684\u4f7f\u7528\u8fd9\u5957\u89c4\u5219\u7684\u7f16\u7a0b\u8bed\u8a00\u662fErlang\u3002",source:"@site/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model.md",sourceDirName:"study/think/\u6982\u5ff5\u6a21\u578b",slug:"/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f",permalink:"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f"},next:{title:"Proactor",permalink:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor"}},i={},u=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"Actor\u6a21\u578b\u662f\u4e00\u4e2a\u6982\u5ff5\u6a21\u578b\uff0c\u7528\u4e8e\u5904\u7406\u5e76\u53d1\u8ba1\u7b97\u3002\u5b83\u5b9a\u4e49\u4e86\u4e00\u7cfb\u5217\u7cfb\u7edf\u7ec4\u4ef6\u5e94\u8be5\u5982\u4f55\u52a8\u4f5c\u548c\u4ea4\u4e92\u7684\u901a\u7528\u89c4\u5219\uff0c\u6700\u8457\u540d\u7684\u4f7f\u7528\u8fd9\u5957\u89c4\u5219\u7684\u7f16\u7a0b\u8bed\u8a00\u662fErlang\u3002"),(0,o.yg)("p",null,"\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\uff0c\u53c2\u4e0e\u8005\u6a21\u5f0f\uff08\u82f1\u8bed\uff1aActor model\uff09\u662f\u4e00\u79cd\u5e76\u884c\u8fd0\u7b97\u4e0a\u7684\u6a21\u578b\u3002\u201c\u53c2\u4e0e\u8005\u201d\u662f\u4e00\u79cd\u7a0b\u5e8f\u4e0a\u7684\u62bd\u8c61\u6982\u5ff5\uff0c\u88ab\u89c6\u4e3a\u5e76\u884c\u8fd0\u7b97\u7684\u57fa\u672c\u5355\u5143\uff1a\u5f53\u4e00\u4e2a\u53c2\u4e0e\u8005\u63a5\u6536\u5230\u4e00\u5219\u8baf\u606f\uff0c\u5b83\u53ef\u4ee5\u505a\u51fa\u4e00\u4e9b\u51b3\u7b56\u3001\u5efa\u7acb\u66f4\u591a\u7684\u53c2\u4e0e\u8005\u3001\u4f20\u9001\u66f4\u591a\u7684\u8baf\u606f\u3001\u51b3\u5b9a\u8981\u5982\u4f55\u56de\u7b54\u63a5\u4e0b\u6765\u7684\u8baf\u606f\u3002"),(0,o.yg)("p",null,"\u53d1\u9001\u8005\u4e0e\u5df2\u7ecf\u53d1\u9001\u7684\u6d88\u606f\u89e3\u8026\uff0c\u662f\u53c2\u4e0e\u8005\u6a21\u578b\u7684\u6839\u672c\u4f18\u52bf\u3002\u8fd9\u5141\u8bb8\u8fdb\u884c\u5f02\u6b65\u901a\u4fe1\uff0c\u540c\u65f6\u6ee1\u8db3\u6d88\u606f\u4f20\u9012\u7684\u63a7\u5236\u7ed3\u6784\u3002"),(0,o.yg)("p",null,"\u6d88\u606f\u63a5\u6536\u8005\u662f\u901a\u8fc7\u5730\u5740\u533a\u5206\u7684\uff0c\u6709\u65f6\u4e5f\u88ab\u79f0\u4f5c\u201c\u90ae\u4ef6\u5730\u5740\u201d\u3002\u56e0\u6b64\u53c2\u4e0e\u8005\u53ea\u80fd\u548c\u5b83\u62e5\u6709\u5730\u5740\u7684\u53c2\u4e0e\u8005\u901a\u4fe1\u3002\u5b83\u53ef\u4ee5\u901a\u8fc7\u63a5\u53d7\u5230\u7684\u4fe1\u606f\u83b7\u53d6\u5730\u5740\uff0c\u6216\u8005\u83b7\u53d6\u5b83\u521b\u5efa\u7684\u53c2\u4e0e\u8005\u7684\u5730\u5740\u3002"),(0,o.yg)("p",null,"\u53c2\u4e0e\u8005\u6a21\u578b\u7684\u7279\u5f81\u662f\uff0c\u53c2\u4e0e\u8005\u5185\u90e8\u6216\u4e4b\u95f4\u8fdb\u884c\u5e76\u884c\u8ba1\u7b97\uff0c\u53c2\u4e0e\u8005\u53ef\u4ee5\u52a8\u6001\u521b\u5efa\uff0c\u53c2\u4e0e\u8005\u5730\u5740\u5305\u542b\u5728\u6d88\u606f\u4e2d\uff0c\u4ea4\u4e92\u53ea\u6709\u901a\u8fc7\u76f4\u63a5\u7684\u5f02\u6b65\u6d88\u606f\u901a\u4fe1\uff0c\u4e0d\u9650\u5236\u6d88\u606f\u5230\u8fbe\u7684\u987a\u5e8f\u3002"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_42644249/article/details/114035587"},"java actor_\u5341\u5206\u949f\u7406\u89e3Actor\u6a21\u5f0f"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ea5c6e5f.dea77823.js b/assets/js/ea5c6e5f.7fd0e923.js similarity index 99% rename from assets/js/ea5c6e5f.dea77823.js rename to assets/js/ea5c6e5f.7fd0e923.js index f780c05cf..012ad4cad 100644 --- a/assets/js/ea5c6e5f.dea77823.js +++ b/assets/js/ea5c6e5f.7fd0e923.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7823],{15680:(n,e,t)=>{t.d(e,{xA:()=>c,yg:()=>p});var d=t(96540);function a(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function r(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(n);e&&(d=d.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,d)}return t}function m(n){for(var e=1;e=0||(a[t]=n[t]);return a}(n,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(a[t]=n[t])}return a}var i=d.createContext({}),s=function(n){var e=d.useContext(i),t=e;return n&&(t="function"==typeof n?n(e):m(m({},e),n)),t},c=function(n){var e=s(n.components);return d.createElement(i.Provider,{value:e},n.children)},l="mdxType",b={inlineCode:"code",wrapper:function(n){var e=n.children;return d.createElement(d.Fragment,{},e)}},u=d.forwardRef((function(n,e){var t=n.components,a=n.mdxType,r=n.originalType,i=n.parentName,c=o(n,["components","mdxType","originalType","parentName"]),l=s(t),u=a,p=l["".concat(i,".").concat(u)]||l[u]||b[u]||r;return t?d.createElement(p,m(m({ref:e},c),{},{components:t})):d.createElement(p,m({ref:e},c))}));function p(n,e){var t=arguments,a=e&&e.mdxType;if("string"==typeof n||a){var r=t.length,m=new Array(r);m[0]=u;var o={};for(var i in e)hasOwnProperty.call(e,i)&&(o[i]=e[i]);o.originalType=n,o[l]="string"==typeof n?n:a,m[1]=o;for(var s=2;s{t.r(e),t.d(e,{assets:()=>i,contentTitle:()=>m,default:()=>b,frontMatter:()=>r,metadata:()=>o,toc:()=>s});var d=t(58168),a=(t(96540),t(15680));const r={},m=void 0,o={unversionedId:"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",id:"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",title:"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",description:"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09",source:"@site/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72"},next:{title:"\u8fbe\u68a6\u6570\u636e\u5e93",permalink:"/docs/study/db/SQL/\u8fbe\u68a6"}},i={},s=[{value:"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09",id:"\u5b89\u88c5\u5e26\u6388\u6743\u4e3b\u5907",level:3}],c={toc:s},l="wrapper";function b(n){let{components:e,...t}=n;return(0,a.yg)(l,(0,d.A)({},c,t,{components:e,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5b89\u88c5\u5e26\u6388\u6743\u4e3b\u5907"},"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#######################################################################################################################################\n######################\u73af\u5883\u51c6\u5907\n# \u770b\u4e0b\u65f6\u95f4\u662f\u5426\u6b63\u786e\ndate\nntpdate time.nist.gov\n# \u4fee\u6539\u4e3b\u673a\u540d\u79f0\nhostnamectl\nhostnamectl set-hostname node3\n# \u7528\u6237\u7ec4 \u7528\u6237\nsu root\ngroupadd dinstall -g 2001\nuseradd -G dinstall -m -d /home/dmdba -s /bin/bash -u 2001 dmdba\npasswd dmdba\n#### \u4fee\u6539\u7cfb\u7edf\u53c2\u6570\nvi /etc/security/limits.conf\n# \u5185\u5bb9\u5982\u4e0b\n# dm\ndmdba soft nice 0\ndmdba hard nice 0\ndmdba soft as unlimited\ndmdba hard as unlimited\ndmdba soft fsize unlimited\ndmdba hard fsize unlimited\ndmdba soft nproc 65536\ndmdba hard nproc 65536\ndmdba soft nofile 65536\ndmdba hard nofile 65536\ndmdba soft core unlimited\ndmdba hard core unlimited\ndmdba soft data unlimited\ndmdba hard data unlimited\n# \u91cd\u542f\nreboot\n# \u68c0\u67e5\u53c2\u6570\u4fee\u6539\u662f\u5426OK\nsu - dmdba\nulimit -a\n# \u5982\u679c\u4e0d\u65b9\u4fbf\u91cd\u542f \u4e34\u65f6\u63aa\u65bd\nsu - dmdba\nulimit -n 65536\nulimit -u 65536\n\n\n############## \u76ee\u5f55\u89c4\u5212\nexit\n##\u5b9e\u4f8b\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/data \n##\u5f52\u6863\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/arch\n##\u5907\u4efd\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/dmbak\n# \u76f8\u5173\u76ee\u5f55\u6743\u9650\nchown -R dmdba:dinstall /dmdata/data\nchown -R dmdba:dinstall /dmdata/arch\nchown -R dmdba:dinstall /dmdata/dmbak\nchmod -R 755 /dmdata/data\nchmod -R 755 /dmdata/arch\nchmod -R 755 /dmdata/dmbak\n#\nll /dmdata/\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n################## \u5f00\u59cb\u5b89\u88c5\n#root\n# \u4e0a\u4f20dm8\u6587\u4ef6\u5939\u5230/root/\u76ee\u5f55\u4e0b\u9762\n# \u6839\u636e\u81ea\u5df1\u7684\u5b89\u88c5\u5305\u8def\u5f84\u6765\ncd /root/dm8/install\nmount -o loop dm8_20240408_x86_rh6_64.iso /mnt\n# \u6ce8\u610fkey\u6587\u4ef6\u7684\u8def\u5f84\u53ca\u6743\u9650 \u6700\u597d\u653e\u5230/home/dmdba/\u4e0b\ncp /root/dm8/key/dm3001108295.key /home/dmdba/dm.key\nsu - dmdba\ncd /mnt\n# \u9700\u8981\u8f93\u5165key\u6587\u4ef6\u65f6\u5019\uff0c\u8f93\u5165/home/dmdba/dm.key\n./DMInstall.bin -i\n# \u5207\u6362\u5230root\u7528\u6237\uff0c\u521b\u5efa DmAPService\uff0c\u5426\u5219\u4f1a\u5f71\u54cd\u6570\u636e\u5e93\u5907\u4efd\nexit\nsh /home/dmdba/dmdbms/script/root/root_installer.sh\n\n\n####### !!!!!!!!!!!!!!\u521d\u59cb\u5316\u5b9e\u4f8b\nsu - dmdba\ncd /home/dmdba/dmdbms/bin\n./dminit help\n# \u521d\u59cb\u5316\u5b9e\u4f8b \u6ce8\u610f\u76ee\u5f55\n./dminit path=/dmdata/data\n\n######## \u6ce8\u518c\u670d\u52a1\nexit\ncd /home/dmdba/dmdbms/script/root/\n./dm_service_installer.sh -t dmserver -dm_ini /dmdata/data/DAMENG/dm.ini -p DAMENG\ncd /home/dmdba/dmdbms/bin\nls | grep DAMENG\n\n### \u542f\u52a8 \u505c\u6b62 \u6570\u636e\u5e93\nsu - dmdba\ncd /home/dmdba/dmdbms/bin\n./DmServiceDAMENG start\n./DmServiceDAMENG stop\n./DmServiceDAMENG restart\n./DmServiceDAMENG status\n## \u6ce8\u610f\u9632\u706b\u5899\u662f\u5426\u6253\u5f00 \u5426\u5219\u8fde\u63a5\u4e0d\u4e865236\nexit\n# \u4e24\u79cd\u65b9\u5f0f \nsystemctl stop iptables\nsystemctl disable iptables\n# \u4e24\u79cd\u65b9\u5f0f \nsystemctl stop firewalld\nsystemctl disable firewalld\n# \u4fee\u6539ENABLE_ENCRYPT=0 \u5426\u5219\u62a5\u9519SSL\nsu - dmdba\nvi /dmdata/data/DAMENG/dm.ini\nENABLE_ENCRYPT = 0\ncd /home/dmdba/dmdbms/bin && ./DmServiceDAMENG restart\n\n# dm\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\n#dmdba\ncd \nvi .bashrc\nexport PATH=/home/dmdba/dmdbms/bin:$PATH\nexport LD_LIBRARY_PATH=/home/dmdba/dmdbms/bin:$LD_LIBRARY_PATH\n#\nsource .bashrc\n# \u5982\u679c\u9700\u8981\u9000\u51fa \u8f93\u5165exit\ndisql SYSDBA/SYSDBA\n#######################################################################################################################################\n\n\n\n#######################################################################################################################################\n# \u53c2\u6570\u4f18\u5316\u8c03\u8bd5\nvi /dmdata/data/DAMENG/dm.ini\n# \u8c03\u6574\u8fd9\u4e2a\u51e0\u4e2a\u53c2\u6570 \u8981\u4e0d\u7136\u62a5\u9519 Out of sort buf space, try to adjust SORT_BUF_GLOBAL_SIZE, SORT_BUF_SIZE, SORT\n# SORT_FLAG\uff1a\u9ed8\u8ba4\u4e3a0\uff0c\u53c2\u6570\u542b\u4e49\uff1a0\uff1a\u539f\u6392\u5e8f\u673a\u5236\uff1b1\uff1a\u65b0\u6392\u5e8f\u673a\u5236\u3002 \u5728\u5185\u5b58\u5927\u4e8e64G\u65f6\u5efa\u8bae\u4f7f\u7528\u65b0\u6392\u5e8f\u673a\u5236\uff0c\u5176\u4ed6\u60c5\u51b5\u4f7f\u7528\u539f\u6392\u5e8f\u673a\u5236\u3002\n# SORT_BUF_SIZE\uff1a\u9ed8\u8ba4\u4e3a2\u3002\u5728\u5185\u5b58\u5c0f\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a10M\uff0c\u5927\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a512M\u3002\n# SORT_BUF_GLOBAL_SIZE\uff0c\u9ed8\u8ba4\u4e3a1000M\u3002\u5f53\u5185\u5b58\u5c0f\u4e8e16G\u65f6\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a500M\uff0c\u5927\u4e8e16G\u5c0f\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a2000\uff0c\u5f53\u5185\u5b58\u5927\u4e8e64G\u65f6\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a5120M\u3002\n# SORT_BLK_SIZE\uff1a\u9ed8\u8ba4\u4e3a 1M\uff0c\u65b0\u6392\u5e8f\u673a\u5236\u4e0b\uff0c\u6bcf\u4e2a\u6392\u5e8f\u5206\u7247\u7a7a\u95f4\u7684\u5927\u5c0f\uff0c\u5fc5\u987b\u5c0f\u4e8e SORT_BUF_GLOBAL_SIZE\u3002\nSORT_BUF_SIZE = 512 #maximum sort buffer size in Megabytes\nSORT_BLK_SIZE = 2 #maximum sort blk size in Megabytes\nSORT_BUF_GLOBAL_SIZE = 5120 #maximum global sort buffer size in Megabytes\n#######################################################################################################################################\n\n\n\n")))}b.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7823],{15680:(n,e,t)=>{t.d(e,{xA:()=>c,yg:()=>p});var d=t(96540);function a(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function r(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(n);e&&(d=d.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,d)}return t}function m(n){for(var e=1;e=0||(a[t]=n[t]);return a}(n,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(a[t]=n[t])}return a}var i=d.createContext({}),s=function(n){var e=d.useContext(i),t=e;return n&&(t="function"==typeof n?n(e):m(m({},e),n)),t},c=function(n){var e=s(n.components);return d.createElement(i.Provider,{value:e},n.children)},l="mdxType",b={inlineCode:"code",wrapper:function(n){var e=n.children;return d.createElement(d.Fragment,{},e)}},u=d.forwardRef((function(n,e){var t=n.components,a=n.mdxType,r=n.originalType,i=n.parentName,c=o(n,["components","mdxType","originalType","parentName"]),l=s(t),u=a,p=l["".concat(i,".").concat(u)]||l[u]||b[u]||r;return t?d.createElement(p,m(m({ref:e},c),{},{components:t})):d.createElement(p,m({ref:e},c))}));function p(n,e){var t=arguments,a=e&&e.mdxType;if("string"==typeof n||a){var r=t.length,m=new Array(r);m[0]=u;var o={};for(var i in e)hasOwnProperty.call(e,i)&&(o[i]=e[i]);o.originalType=n,o[l]="string"==typeof n?n:a,m[1]=o;for(var s=2;s{t.r(e),t.d(e,{assets:()=>i,contentTitle:()=>m,default:()=>b,frontMatter:()=>r,metadata:()=>o,toc:()=>s});var d=t(58168),a=(t(96540),t(15680));const r={},m=void 0,o={unversionedId:"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",id:"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",title:"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",description:"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09",source:"@site/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72"},next:{title:"\u8fbe\u68a6\u6570\u636e\u5e93",permalink:"/docs/study/db/SQL/\u8fbe\u68a6"}},i={},s=[{value:"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09",id:"\u5b89\u88c5\u5e26\u6388\u6743\u4e3b\u5907",level:3}],c={toc:s},l="wrapper";function b(n){let{components:e,...t}=n;return(0,a.yg)(l,(0,d.A)({},c,t,{components:e,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5b89\u88c5\u5e26\u6388\u6743\u4e3b\u5907"},"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#######################################################################################################################################\n######################\u73af\u5883\u51c6\u5907\n# \u770b\u4e0b\u65f6\u95f4\u662f\u5426\u6b63\u786e\ndate\nntpdate time.nist.gov\n# \u4fee\u6539\u4e3b\u673a\u540d\u79f0\nhostnamectl\nhostnamectl set-hostname node3\n# \u7528\u6237\u7ec4 \u7528\u6237\nsu root\ngroupadd dinstall -g 2001\nuseradd -G dinstall -m -d /home/dmdba -s /bin/bash -u 2001 dmdba\npasswd dmdba\n#### \u4fee\u6539\u7cfb\u7edf\u53c2\u6570\nvi /etc/security/limits.conf\n# \u5185\u5bb9\u5982\u4e0b\n# dm\ndmdba soft nice 0\ndmdba hard nice 0\ndmdba soft as unlimited\ndmdba hard as unlimited\ndmdba soft fsize unlimited\ndmdba hard fsize unlimited\ndmdba soft nproc 65536\ndmdba hard nproc 65536\ndmdba soft nofile 65536\ndmdba hard nofile 65536\ndmdba soft core unlimited\ndmdba hard core unlimited\ndmdba soft data unlimited\ndmdba hard data unlimited\n# \u91cd\u542f\nreboot\n# \u68c0\u67e5\u53c2\u6570\u4fee\u6539\u662f\u5426OK\nsu - dmdba\nulimit -a\n# \u5982\u679c\u4e0d\u65b9\u4fbf\u91cd\u542f \u4e34\u65f6\u63aa\u65bd\nsu - dmdba\nulimit -n 65536\nulimit -u 65536\n\n\n############## \u76ee\u5f55\u89c4\u5212\nexit\n##\u5b9e\u4f8b\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/data \n##\u5f52\u6863\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/arch\n##\u5907\u4efd\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/dmbak\n# \u76f8\u5173\u76ee\u5f55\u6743\u9650\nchown -R dmdba:dinstall /dmdata/data\nchown -R dmdba:dinstall /dmdata/arch\nchown -R dmdba:dinstall /dmdata/dmbak\nchmod -R 755 /dmdata/data\nchmod -R 755 /dmdata/arch\nchmod -R 755 /dmdata/dmbak\n#\nll /dmdata/\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n################## \u5f00\u59cb\u5b89\u88c5\n#root\n# \u4e0a\u4f20dm8\u6587\u4ef6\u5939\u5230/root/\u76ee\u5f55\u4e0b\u9762\n# \u6839\u636e\u81ea\u5df1\u7684\u5b89\u88c5\u5305\u8def\u5f84\u6765\ncd /root/dm8/install\nmount -o loop dm8_20240408_x86_rh6_64.iso /mnt\n# \u6ce8\u610fkey\u6587\u4ef6\u7684\u8def\u5f84\u53ca\u6743\u9650 \u6700\u597d\u653e\u5230/home/dmdba/\u4e0b\ncp /root/dm8/key/dm3001108295.key /home/dmdba/dm.key\nsu - dmdba\ncd /mnt\n# \u9700\u8981\u8f93\u5165key\u6587\u4ef6\u65f6\u5019\uff0c\u8f93\u5165/home/dmdba/dm.key\n./DMInstall.bin -i\n# \u5207\u6362\u5230root\u7528\u6237\uff0c\u521b\u5efa DmAPService\uff0c\u5426\u5219\u4f1a\u5f71\u54cd\u6570\u636e\u5e93\u5907\u4efd\nexit\nsh /home/dmdba/dmdbms/script/root/root_installer.sh\n\n\n####### !!!!!!!!!!!!!!\u521d\u59cb\u5316\u5b9e\u4f8b\nsu - dmdba\ncd /home/dmdba/dmdbms/bin\n./dminit help\n# \u521d\u59cb\u5316\u5b9e\u4f8b \u6ce8\u610f\u76ee\u5f55\n./dminit path=/dmdata/data\n\n######## \u6ce8\u518c\u670d\u52a1\nexit\ncd /home/dmdba/dmdbms/script/root/\n./dm_service_installer.sh -t dmserver -dm_ini /dmdata/data/DAMENG/dm.ini -p DAMENG\ncd /home/dmdba/dmdbms/bin\nls | grep DAMENG\n\n### \u542f\u52a8 \u505c\u6b62 \u6570\u636e\u5e93\nsu - dmdba\ncd /home/dmdba/dmdbms/bin\n./DmServiceDAMENG start\n./DmServiceDAMENG stop\n./DmServiceDAMENG restart\n./DmServiceDAMENG status\n## \u6ce8\u610f\u9632\u706b\u5899\u662f\u5426\u6253\u5f00 \u5426\u5219\u8fde\u63a5\u4e0d\u4e865236\nexit\n# \u4e24\u79cd\u65b9\u5f0f \nsystemctl stop iptables\nsystemctl disable iptables\n# \u4e24\u79cd\u65b9\u5f0f \nsystemctl stop firewalld\nsystemctl disable firewalld\n# \u4fee\u6539ENABLE_ENCRYPT=0 \u5426\u5219\u62a5\u9519SSL\nsu - dmdba\nvi /dmdata/data/DAMENG/dm.ini\nENABLE_ENCRYPT = 0\ncd /home/dmdba/dmdbms/bin && ./DmServiceDAMENG restart\n\n# dm\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\n#dmdba\ncd \nvi .bashrc\nexport PATH=/home/dmdba/dmdbms/bin:$PATH\nexport LD_LIBRARY_PATH=/home/dmdba/dmdbms/bin:$LD_LIBRARY_PATH\n#\nsource .bashrc\n# \u5982\u679c\u9700\u8981\u9000\u51fa \u8f93\u5165exit\ndisql SYSDBA/SYSDBA\n#######################################################################################################################################\n\n\n\n#######################################################################################################################################\n# \u53c2\u6570\u4f18\u5316\u8c03\u8bd5\nvi /dmdata/data/DAMENG/dm.ini\n# \u8c03\u6574\u8fd9\u4e2a\u51e0\u4e2a\u53c2\u6570 \u8981\u4e0d\u7136\u62a5\u9519 Out of sort buf space, try to adjust SORT_BUF_GLOBAL_SIZE, SORT_BUF_SIZE, SORT\n# SORT_FLAG\uff1a\u9ed8\u8ba4\u4e3a0\uff0c\u53c2\u6570\u542b\u4e49\uff1a0\uff1a\u539f\u6392\u5e8f\u673a\u5236\uff1b1\uff1a\u65b0\u6392\u5e8f\u673a\u5236\u3002 \u5728\u5185\u5b58\u5927\u4e8e64G\u65f6\u5efa\u8bae\u4f7f\u7528\u65b0\u6392\u5e8f\u673a\u5236\uff0c\u5176\u4ed6\u60c5\u51b5\u4f7f\u7528\u539f\u6392\u5e8f\u673a\u5236\u3002\n# SORT_BUF_SIZE\uff1a\u9ed8\u8ba4\u4e3a2\u3002\u5728\u5185\u5b58\u5c0f\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a10M\uff0c\u5927\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a512M\u3002\n# SORT_BUF_GLOBAL_SIZE\uff0c\u9ed8\u8ba4\u4e3a1000M\u3002\u5f53\u5185\u5b58\u5c0f\u4e8e16G\u65f6\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a500M\uff0c\u5927\u4e8e16G\u5c0f\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a2000\uff0c\u5f53\u5185\u5b58\u5927\u4e8e64G\u65f6\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a5120M\u3002\n# SORT_BLK_SIZE\uff1a\u9ed8\u8ba4\u4e3a 1M\uff0c\u65b0\u6392\u5e8f\u673a\u5236\u4e0b\uff0c\u6bcf\u4e2a\u6392\u5e8f\u5206\u7247\u7a7a\u95f4\u7684\u5927\u5c0f\uff0c\u5fc5\u987b\u5c0f\u4e8e SORT_BUF_GLOBAL_SIZE\u3002\nSORT_BUF_SIZE = 512 #maximum sort buffer size in Megabytes\nSORT_BLK_SIZE = 2 #maximum sort blk size in Megabytes\nSORT_BUF_GLOBAL_SIZE = 5120 #maximum global sort buffer size in Megabytes\n#######################################################################################################################################\n\n\n\n")))}b.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/eb3908da.aebe3ab2.js b/assets/js/eb3908da.a35158f2.js similarity index 99% rename from assets/js/eb3908da.aebe3ab2.js rename to assets/js/eb3908da.a35158f2.js index f5dc1ed1c..6e51e0638 100644 --- a/assets/js/eb3908da.aebe3ab2.js +++ b/assets/js/eb3908da.a35158f2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[403],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=l(r),f=o,d=u["".concat(p,".").concat(f)]||u[f]||y[f]||a;return r?n.createElement(d,c(c({ref:t},s),{},{components:r})):n.createElement(d,c({ref:t},s))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[u]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/encryption/\u6570\u5b57\u8bc1\u4e66",id:"study/encryption/\u6570\u5b57\u8bc1\u4e66",title:"\u6570\u5b57\u8bc1\u4e66",description:"\u6570\u5b57\u8bc1\u4e66\u5c31\u662f\u4e92\u8054\u7f51\u901a\u8baf\u4e2d\u6807\u5fd7\u901a\u8baf\u5404\u65b9\u8eab\u4efd\u4fe1\u606f\u7684\u4e00\u4e32\u6570\u5b57\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u5728Internet\u4e0a\u9a8c\u8bc1\u901a\u4fe1\u5b9e\u4f53\u8eab\u4efd\u7684\u65b9\u5f0f\uff0c\u6570\u5b57\u8bc1\u4e66\u4e0d\u662f\u6570\u5b57\u8eab\u4efd\u8bc1\uff0c\u800c\u662f\u8eab\u4efd\u8ba4\u8bc1\u673a\u6784\u76d6\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7ae0\u6216\u5370\uff08\u6216\u8005\u8bf4\u52a0\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7b7e\u540d\uff09\u3002\u5b83\u662f\u7531\u6743\u5a01\u673a\u6784\u2014\u2014CA\u673a\u6784\uff0c\u53c8\u79f0\u4e3a\u8bc1\u4e66\u6388\u6743\uff08Certificate Authority\uff09\u4e2d\u5fc3\u53d1\u884c\u7684\uff0c\u4eba\u4eec\u53ef\u4ee5\u5728\u7f51\u4e0a\u7528\u5b83\u6765\u8bc6\u522b\u5bf9\u65b9\u7684\u8eab\u4efd\u3002",source:"@site/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u6570\u5b57\u8bc1\u4e66",permalink:"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"},next:{title:"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3"}},p={},l=[{value:"pfx\u8bc1\u4e66\u8f6cpem\u548ckey",id:"pfx\u8bc1\u4e66\u8f6cpem\u548ckey",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:l},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u6570\u5b57\u8bc1\u4e66\u5c31\u662f\u4e92\u8054\u7f51\u901a\u8baf\u4e2d\u6807\u5fd7\u901a\u8baf\u5404\u65b9\u8eab\u4efd\u4fe1\u606f\u7684\u4e00\u4e32\u6570\u5b57\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u5728Internet\u4e0a\u9a8c\u8bc1\u901a\u4fe1\u5b9e\u4f53\u8eab\u4efd\u7684\u65b9\u5f0f\uff0c\u6570\u5b57\u8bc1\u4e66\u4e0d\u662f\u6570\u5b57\u8eab\u4efd\u8bc1\uff0c\u800c\u662f\u8eab\u4efd\u8ba4\u8bc1\u673a\u6784\u76d6\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7ae0\u6216\u5370\uff08\u6216\u8005\u8bf4\u52a0\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7b7e\u540d\uff09\u3002\u5b83\u662f\u7531\u6743\u5a01\u673a\u6784\u2014\u2014CA\u673a\u6784\uff0c\u53c8\u79f0\u4e3a\u8bc1\u4e66\u6388\u6743\uff08Certificate Authority\uff09\u4e2d\u5fc3\u53d1\u884c\u7684\uff0c\u4eba\u4eec\u53ef\u4ee5\u5728\u7f51\u4e0a\u7528\u5b83\u6765\u8bc6\u522b\u5bf9\u65b9\u7684\u8eab\u4efd\u3002"),(0,o.yg)("h3",{id:"pfx\u8bc1\u4e66\u8f6cpem\u548ckey"},"pfx\u8bc1\u4e66\u8f6cpem\u548ckey"),(0,o.yg)("p",null,"\u8981\u5c06PFX\u683c\u5f0f\u7684\u8bc1\u4e66\u8f6c\u6362\u4e3aPEM\u683c\u5f0f\uff0c\u5e76\u4e14\u63d0\u53d6\u51fa\u79c1\u94a5\uff0c\u53ef\u4ee5\u4f7f\u7528OpenSSL\u5de5\u5177\u3002"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5c06PFX\u8bc1\u4e66\u8f6c\u6362\u4e3aPEM\u683c\u5f0f\uff1a\nopenssl pkcs12 -in your_certificate.pfx -nodes -out certificate.pem\n# \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ecePEM\u6587\u4ef6\u4e2d\u63d0\u53d6\u79c1\u94a5\uff1a\nopenssl rsa -in certificate.pem -out private_key.key\n")),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/xq1314/p/7987216.html"},"\u535a\u5ba2\u56ed-\u5e38\u89c1\u6570\u5b57\u8bc1\u4e66\u7c7b\u578b")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/xq1314/p/8080598.html"},"\u535a\u5ba2\u56ed-openssl\u5b9e\u73b0\u516c\u79c1\u94a5\u8bc1\u4e66\u751f\u6210\u53ca\u8f6c\u6362"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[403],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=l(r),f=o,d=u["".concat(p,".").concat(f)]||u[f]||y[f]||a;return r?n.createElement(d,c(c({ref:t},s),{},{components:r})):n.createElement(d,c({ref:t},s))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=f;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[u]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/encryption/\u6570\u5b57\u8bc1\u4e66",id:"study/encryption/\u6570\u5b57\u8bc1\u4e66",title:"\u6570\u5b57\u8bc1\u4e66",description:"\u6570\u5b57\u8bc1\u4e66\u5c31\u662f\u4e92\u8054\u7f51\u901a\u8baf\u4e2d\u6807\u5fd7\u901a\u8baf\u5404\u65b9\u8eab\u4efd\u4fe1\u606f\u7684\u4e00\u4e32\u6570\u5b57\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u5728Internet\u4e0a\u9a8c\u8bc1\u901a\u4fe1\u5b9e\u4f53\u8eab\u4efd\u7684\u65b9\u5f0f\uff0c\u6570\u5b57\u8bc1\u4e66\u4e0d\u662f\u6570\u5b57\u8eab\u4efd\u8bc1\uff0c\u800c\u662f\u8eab\u4efd\u8ba4\u8bc1\u673a\u6784\u76d6\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7ae0\u6216\u5370\uff08\u6216\u8005\u8bf4\u52a0\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7b7e\u540d\uff09\u3002\u5b83\u662f\u7531\u6743\u5a01\u673a\u6784\u2014\u2014CA\u673a\u6784\uff0c\u53c8\u79f0\u4e3a\u8bc1\u4e66\u6388\u6743\uff08Certificate Authority\uff09\u4e2d\u5fc3\u53d1\u884c\u7684\uff0c\u4eba\u4eec\u53ef\u4ee5\u5728\u7f51\u4e0a\u7528\u5b83\u6765\u8bc6\u522b\u5bf9\u65b9\u7684\u8eab\u4efd\u3002",source:"@site/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u6570\u5b57\u8bc1\u4e66",permalink:"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3"},next:{title:"\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3"}},p={},l=[{value:"pfx\u8bc1\u4e66\u8f6cpem\u548ckey",id:"pfx\u8bc1\u4e66\u8f6cpem\u548ckey",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],s={toc:l},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u6570\u5b57\u8bc1\u4e66\u5c31\u662f\u4e92\u8054\u7f51\u901a\u8baf\u4e2d\u6807\u5fd7\u901a\u8baf\u5404\u65b9\u8eab\u4efd\u4fe1\u606f\u7684\u4e00\u4e32\u6570\u5b57\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u5728Internet\u4e0a\u9a8c\u8bc1\u901a\u4fe1\u5b9e\u4f53\u8eab\u4efd\u7684\u65b9\u5f0f\uff0c\u6570\u5b57\u8bc1\u4e66\u4e0d\u662f\u6570\u5b57\u8eab\u4efd\u8bc1\uff0c\u800c\u662f\u8eab\u4efd\u8ba4\u8bc1\u673a\u6784\u76d6\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7ae0\u6216\u5370\uff08\u6216\u8005\u8bf4\u52a0\u5728\u6570\u5b57\u8eab\u4efd\u8bc1\u4e0a\u7684\u4e00\u4e2a\u7b7e\u540d\uff09\u3002\u5b83\u662f\u7531\u6743\u5a01\u673a\u6784\u2014\u2014CA\u673a\u6784\uff0c\u53c8\u79f0\u4e3a\u8bc1\u4e66\u6388\u6743\uff08Certificate Authority\uff09\u4e2d\u5fc3\u53d1\u884c\u7684\uff0c\u4eba\u4eec\u53ef\u4ee5\u5728\u7f51\u4e0a\u7528\u5b83\u6765\u8bc6\u522b\u5bf9\u65b9\u7684\u8eab\u4efd\u3002"),(0,o.yg)("h3",{id:"pfx\u8bc1\u4e66\u8f6cpem\u548ckey"},"pfx\u8bc1\u4e66\u8f6cpem\u548ckey"),(0,o.yg)("p",null,"\u8981\u5c06PFX\u683c\u5f0f\u7684\u8bc1\u4e66\u8f6c\u6362\u4e3aPEM\u683c\u5f0f\uff0c\u5e76\u4e14\u63d0\u53d6\u51fa\u79c1\u94a5\uff0c\u53ef\u4ee5\u4f7f\u7528OpenSSL\u5de5\u5177\u3002"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"# \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5c06PFX\u8bc1\u4e66\u8f6c\u6362\u4e3aPEM\u683c\u5f0f\uff1a\nopenssl pkcs12 -in your_certificate.pfx -nodes -out certificate.pem\n# \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ecePEM\u6587\u4ef6\u4e2d\u63d0\u53d6\u79c1\u94a5\uff1a\nopenssl rsa -in certificate.pem -out private_key.key\n")),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/xq1314/p/7987216.html"},"\u535a\u5ba2\u56ed-\u5e38\u89c1\u6570\u5b57\u8bc1\u4e66\u7c7b\u578b")),(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/xq1314/p/8080598.html"},"\u535a\u5ba2\u56ed-openssl\u5b9e\u73b0\u516c\u79c1\u94a5\u8bc1\u4e66\u751f\u6210\u53ca\u8f6c\u6362"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/eb846286.f110bd9e.js b/assets/js/eb846286.8e8b5ac8.js similarity index 98% rename from assets/js/eb846286.f110bd9e.js rename to assets/js/eb846286.8e8b5ac8.js index ed7fed1dc..55954b50b 100644 --- a/assets/js/eb846286.f110bd9e.js +++ b/assets/js/eb846286.8e8b5ac8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7368],{15680:(e,t,n)=>{n.d(t,{xA:()=>l,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=r.createContext({}),p=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},l=function(e){var t=p(e.components);return r.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=p(n),y=o,f=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return n?r.createElement(f,c(c({ref:t},l),{},{components:n})):r.createElement(f,c({ref:t},l))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,c=new Array(a);c[0]=y;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[u]="string"==typeof e?e:o,c[1]=s;for(var p=2;p{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>p});var r=n(58168),o=(n(96540),n(15680));const a={},c="centos-nginx",s={unversionedId:"study/devops/centos-gninx-app",id:"study/devops/centos-gninx-app",title:"centos-nginx",description:"",source:"@site/docs/study/devops/centos-gninx-app.md",sourceDirName:"study/devops",slug:"/study/devops/centos-gninx-app",permalink:"/docs/study/devops/centos-gninx-app",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ansible",permalink:"/docs/study/devops/ansible"},next:{title:"centos-jdk17-app",permalink:"/docs/study/devops/centos-jdk17-app"}},i={},p=[],l={toc:p},u="wrapper";function d(e){let{components:t,...n}=e;return(0,o.yg)(u,(0,r.A)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"centos-nginx"},"centos-nginx"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"\nmkdir -p /root/iot-cloud-frontend/html\n\nyum install nginx\nsystemctl start nginx\n# \u914d\u7f6e\u6587\u4ef6\u76ee\u5f55 /etc/nginx\n# \u9ed8\u8ba4 root /usr/share/nginx/html;\n# \u4fee\u6539\u6210 root /root/iot-cloud-frontend/html;\nnginx -s reload\n\n# \u5982\u679c\u62a5\u9519403 \u8bf4\u660e\u542f\u52a8nginx\u7684\u7528\u6237\u548c\u6587\u4ef6\u4e0d\u4e00\u81f4 \u9700\u8981\u4fee\u6539\n")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7368],{15680:(e,t,n)=>{n.d(t,{xA:()=>l,yg:()=>f});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=r.createContext({}),p=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},l=function(e){var t=p(e.components);return r.createElement(i.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=p(n),y=o,f=u["".concat(i,".").concat(y)]||u[y]||d[y]||a;return n?r.createElement(f,c(c({ref:t},l),{},{components:n})):r.createElement(f,c({ref:t},l))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,c=new Array(a);c[0]=y;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[u]="string"==typeof e?e:o,c[1]=s;for(var p=2;p{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>d,frontMatter:()=>a,metadata:()=>s,toc:()=>p});var r=n(58168),o=(n(96540),n(15680));const a={},c="centos-nginx",s={unversionedId:"study/devops/centos-gninx-app",id:"study/devops/centos-gninx-app",title:"centos-nginx",description:"",source:"@site/docs/study/devops/centos-gninx-app.md",sourceDirName:"study/devops",slug:"/study/devops/centos-gninx-app",permalink:"/docs/study/devops/centos-gninx-app",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ansible",permalink:"/docs/study/devops/ansible"},next:{title:"centos-jdk17-app",permalink:"/docs/study/devops/centos-jdk17-app"}},i={},p=[],l={toc:p},u="wrapper";function d(e){let{components:t,...n}=e;return(0,o.yg)(u,(0,r.A)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"centos-nginx"},"centos-nginx"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"\nmkdir -p /root/iot-cloud-frontend/html\n\nyum install nginx\nsystemctl start nginx\n# \u914d\u7f6e\u6587\u4ef6\u76ee\u5f55 /etc/nginx\n# \u9ed8\u8ba4 root /usr/share/nginx/html;\n# \u4fee\u6539\u6210 root /root/iot-cloud-frontend/html;\nnginx -s reload\n\n# \u5982\u679c\u62a5\u9519403 \u8bf4\u660e\u542f\u52a8nginx\u7684\u7528\u6237\u548c\u6587\u4ef6\u4e0d\u4e00\u81f4 \u9700\u8981\u4fee\u6539\n")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ec17f0b1.a03407be.js b/assets/js/ec17f0b1.36de967d.js similarity index 98% rename from assets/js/ec17f0b1.a03407be.js rename to assets/js/ec17f0b1.36de967d.js index 64008166c..2bb44550c 100644 --- a/assets/js/ec17f0b1.a03407be.js +++ b/assets/js/ec17f0b1.36de967d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6946],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},l="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),l=p(r),d=a,f=l["".concat(u,".").concat(d)]||l[d]||y[d]||o;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[l]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316",id:"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316",title:"Jetty\u4f18\u5316",description:"Jetty",source:"@site/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316.md",sourceDirName:"study/back/JavaWeb\u670d\u52a1\u5668",slug:"/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4f7f\u7528\u95ee\u9898",permalink:"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898"},next:{title:"Tomcat\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316"}},u={},p=[],s={toc:p},l="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"Jetty"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6946],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},l="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),l=p(r),d=a,f=l["".concat(u,".").concat(d)]||l[d]||y[d]||o;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[l]="string"==typeof e?e:a,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316",id:"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316",title:"Jetty\u4f18\u5316",description:"Jetty",source:"@site/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316.md",sourceDirName:"study/back/JavaWeb\u670d\u52a1\u5668",slug:"/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4f7f\u7528\u95ee\u9898",permalink:"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898"},next:{title:"Tomcat\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316"}},u={},p=[],s={toc:p},l="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"Jetty"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ecff2ea2.45356014.js b/assets/js/ecff2ea2.1280d0b7.js similarity index 98% rename from assets/js/ecff2ea2.45356014.js rename to assets/js/ecff2ea2.1280d0b7.js index ed908493e..e0fcd9e0a 100644 --- a/assets/js/ecff2ea2.45356014.js +++ b/assets/js/ecff2ea2.1280d0b7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2389],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>f});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var u=r.createContext({}),c=function(e){var n=r.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},p=function(e){var n=c(e.components);return r.createElement(u.Provider,{value:n},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),s=c(t),y=a,f=s["".concat(u,".").concat(y)]||s[y]||d[y]||i;return t?r.createElement(f,l(l({ref:n},p),{},{components:t})):r.createElement(f,l({ref:n},p))}));function f(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var i=t.length,l=new Array(i);l[0]=y;var o={};for(var u in n)hasOwnProperty.call(n,u)&&(o[u]=n[u]);o.originalType=e,o[s]="string"==typeof e?e:a,l[1]=o;for(var c=2;c{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>l,default:()=>d,frontMatter:()=>i,metadata:()=>o,toc:()=>c});var r=t(58168),a=(t(96540),t(15680));const i={sidebar_position:1},l="\u6982\u8ff0",o={unversionedId:"xuanxing/fe/index",id:"xuanxing/fe/index",title:"\u6982\u8ff0",description:"\u524d\u7aef\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a",source:"@site/docs/xuanxing/fe/index.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/",permalink:"/docs/xuanxing/fe/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",previous:{title:"\u7efc\u8ff0",permalink:"/docs/xuanxing/"},next:{title:"\u5b98\u7f51",permalink:"/docs/xuanxing/fe/\u5b98\u7f51"}},u={},c=[{value:"\u5b98\u7f51",id:"\u5b98\u7f51",level:3},{value:"\u7528\u6237\u7aef\u3001\u7ba1\u7406\u7aef",id:"\u7528\u6237\u7aef\u7ba1\u7406\u7aef",level:3},{value:"\u79fb\u52a8\u7aef",id:"\u79fb\u52a8\u7aef",level:3},{value:"\u7ec4\u6001\u7f16\u8f91\u5668",id:"\u7ec4\u6001\u7f16\u8f91\u5668",level:3},{value:"\u5927\u5c4f\u7f16\u8f91\u5668",id:"\u5927\u5c4f\u7f16\u8f91\u5668",level:3}],p={toc:c},s="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(s,(0,r.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u524d\u7aef\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5b98\u7f51"),(0,a.yg)("li",{parentName:"ul"},"\u7528\u6237\u7aef\u3010PC WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u7ba1\u7406\u7aef\u3010PC WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u79fb\u52a8\u7aef\u3010\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u3001APP\u3001Mobile WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u7ec4\u6001\u7f16\u8f91\u5668\u3010PC WEB\u7f16\u8f91\u53ca\u8fd0\u884c\u3011\u3010Mobile WEB\u8fd0\u884c\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u5927\u5c4f\u7f16\u8f91\u5668\u3010PC WEB\u7f16\u8f91\u53ca\u8fd0\u884c\u3011")),(0,a.yg)("h3",{id:"\u5b98\u7f51"},"\u5b98\u7f51"),(0,a.yg)("p",null,"\u5b98\u7f51\u6bd4\u8f83\u504f\u7eaf\u5c55\u793a\uff0c\u5bf9SEO\u6709\u8981\u6c42\uff0c\u5bf9CMS\u6709\u8981\u6c42\uff0c\u5bf9\u90e8\u5206\u8fd0\u8425\u6709\u9700\u6c42\uff1b"),(0,a.yg)("h3",{id:"\u7528\u6237\u7aef\u7ba1\u7406\u7aef"},"\u7528\u6237\u7aef\u3001\u7ba1\u7406\u7aef"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7528\u6237\u7aef\u548c\u7ba1\u7406\u7aef\u90fd\u662f\u504f\u4e2d\u540e\u53f0\u7684\u7ba1\u7406\u7cfb\u7edf\uff0c\u6240\u4ee5\u4ed6\u4eec\u4e24\u4e2a\u524d\u7aef\u7684\u6280\u672f\u9009\u578b\u4e0a\u5e94\u8be5\u662f\u7edf\u4e00\u7684\uff1b"),(0,a.yg)("h3",{id:"\u79fb\u52a8\u7aef"},"\u79fb\u52a8\u7aef"),(0,a.yg)("p",null,"\u5c0f\u7a0b\u5e8f\u7684\u8bdd\uff0c\u53ea\u8003\u8651\u5fae\u4fe1\u5e94\u8be5\u5c31\u53ef\u4ee5\u4e86\u3002\u56fd\u5185\u7684\u8bdd\uff0c\u53ef\u4ee5\u53ea\u8003\u8651\u5c0f\u7a0b\u5e8f\uff0cAPP\u548cMobile WEB\u53ef\u4ee5\u4e0d\u7528\u8003\u8651\uff1b"),(0,a.yg)("h3",{id:"\u7ec4\u6001\u7f16\u8f91\u5668"},"\u7ec4\u6001\u7f16\u8f91\u5668"),(0,a.yg)("p",null,"WEB\u7ec4\u6001\u5176\u5b9e\u662f\u5de5\u4e1a\u7ec4\u6001\u8f6f\u4ef6\u642c\u5230\u4e86\u4e91\u5e73\u53f0\u4e0a\uff0c\u6240\u4ee5\u7ec4\u6001\u7f16\u8f91\u5668\u5176\u5b9e\u504f\u5de5\u827a\u6d41\u7a0b\uff0c\u867d\u7136\u4ed6\u548c\u5927\u5c4f\u7f16\u8f91\u5668\u90fd\u662f\u6258\u62c9\u62fd\u7684\u53ef\u89c6\u5316\u8bbe\u8ba1\u65b9\u5f0f\uff0c\u4f46\u662f\u8fd8\u662f\u6709\u5f88\u5927\u7684\u533a\u522b\u7684\u3002"),(0,a.yg)("h3",{id:"\u5927\u5c4f\u7f16\u8f91\u5668"},"\u5927\u5c4f\u7f16\u8f91\u5668"),(0,a.yg)("p",null,"\u5728\u6570\u636e\u5c55\u793a\u65b9\u9762\uff0c\u5927\u5c4f\u7f16\u8f91\u5668\u53ef\u4ee5\u6258\u62c9\u62fd\u7684\u65b9\u5f0f\u6765\u8bbe\u8ba1\uff1b"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2389],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>f});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var u=r.createContext({}),c=function(e){var n=r.useContext(u),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},p=function(e){var n=c(e.components);return r.createElement(u.Provider,{value:n},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),s=c(t),y=a,f=s["".concat(u,".").concat(y)]||s[y]||d[y]||i;return t?r.createElement(f,l(l({ref:n},p),{},{components:t})):r.createElement(f,l({ref:n},p))}));function f(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var i=t.length,l=new Array(i);l[0]=y;var o={};for(var u in n)hasOwnProperty.call(n,u)&&(o[u]=n[u]);o.originalType=e,o[s]="string"==typeof e?e:a,l[1]=o;for(var c=2;c{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>l,default:()=>d,frontMatter:()=>i,metadata:()=>o,toc:()=>c});var r=t(58168),a=(t(96540),t(15680));const i={sidebar_position:1},l="\u6982\u8ff0",o={unversionedId:"xuanxing/fe/index",id:"xuanxing/fe/index",title:"\u6982\u8ff0",description:"\u524d\u7aef\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a",source:"@site/docs/xuanxing/fe/index.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/",permalink:"/docs/xuanxing/fe/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",previous:{title:"\u7efc\u8ff0",permalink:"/docs/xuanxing/"},next:{title:"\u5b98\u7f51",permalink:"/docs/xuanxing/fe/\u5b98\u7f51"}},u={},c=[{value:"\u5b98\u7f51",id:"\u5b98\u7f51",level:3},{value:"\u7528\u6237\u7aef\u3001\u7ba1\u7406\u7aef",id:"\u7528\u6237\u7aef\u7ba1\u7406\u7aef",level:3},{value:"\u79fb\u52a8\u7aef",id:"\u79fb\u52a8\u7aef",level:3},{value:"\u7ec4\u6001\u7f16\u8f91\u5668",id:"\u7ec4\u6001\u7f16\u8f91\u5668",level:3},{value:"\u5927\u5c4f\u7f16\u8f91\u5668",id:"\u5927\u5c4f\u7f16\u8f91\u5668",level:3}],p={toc:c},s="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(s,(0,r.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"\u524d\u7aef\u5927\u6982\u5305\u542b\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u5b98\u7f51"),(0,a.yg)("li",{parentName:"ul"},"\u7528\u6237\u7aef\u3010PC WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u7ba1\u7406\u7aef\u3010PC WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u79fb\u52a8\u7aef\u3010\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u3001APP\u3001Mobile WEB\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u7ec4\u6001\u7f16\u8f91\u5668\u3010PC WEB\u7f16\u8f91\u53ca\u8fd0\u884c\u3011\u3010Mobile WEB\u8fd0\u884c\u3011"),(0,a.yg)("li",{parentName:"ul"},"\u5927\u5c4f\u7f16\u8f91\u5668\u3010PC WEB\u7f16\u8f91\u53ca\u8fd0\u884c\u3011")),(0,a.yg)("h3",{id:"\u5b98\u7f51"},"\u5b98\u7f51"),(0,a.yg)("p",null,"\u5b98\u7f51\u6bd4\u8f83\u504f\u7eaf\u5c55\u793a\uff0c\u5bf9SEO\u6709\u8981\u6c42\uff0c\u5bf9CMS\u6709\u8981\u6c42\uff0c\u5bf9\u90e8\u5206\u8fd0\u8425\u6709\u9700\u6c42\uff1b"),(0,a.yg)("h3",{id:"\u7528\u6237\u7aef\u7ba1\u7406\u7aef"},"\u7528\u6237\u7aef\u3001\u7ba1\u7406\u7aef"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7528\u6237\u7aef\u548c\u7ba1\u7406\u7aef\u90fd\u662f\u504f\u4e2d\u540e\u53f0\u7684\u7ba1\u7406\u7cfb\u7edf\uff0c\u6240\u4ee5\u4ed6\u4eec\u4e24\u4e2a\u524d\u7aef\u7684\u6280\u672f\u9009\u578b\u4e0a\u5e94\u8be5\u662f\u7edf\u4e00\u7684\uff1b"),(0,a.yg)("h3",{id:"\u79fb\u52a8\u7aef"},"\u79fb\u52a8\u7aef"),(0,a.yg)("p",null,"\u5c0f\u7a0b\u5e8f\u7684\u8bdd\uff0c\u53ea\u8003\u8651\u5fae\u4fe1\u5e94\u8be5\u5c31\u53ef\u4ee5\u4e86\u3002\u56fd\u5185\u7684\u8bdd\uff0c\u53ef\u4ee5\u53ea\u8003\u8651\u5c0f\u7a0b\u5e8f\uff0cAPP\u548cMobile WEB\u53ef\u4ee5\u4e0d\u7528\u8003\u8651\uff1b"),(0,a.yg)("h3",{id:"\u7ec4\u6001\u7f16\u8f91\u5668"},"\u7ec4\u6001\u7f16\u8f91\u5668"),(0,a.yg)("p",null,"WEB\u7ec4\u6001\u5176\u5b9e\u662f\u5de5\u4e1a\u7ec4\u6001\u8f6f\u4ef6\u642c\u5230\u4e86\u4e91\u5e73\u53f0\u4e0a\uff0c\u6240\u4ee5\u7ec4\u6001\u7f16\u8f91\u5668\u5176\u5b9e\u504f\u5de5\u827a\u6d41\u7a0b\uff0c\u867d\u7136\u4ed6\u548c\u5927\u5c4f\u7f16\u8f91\u5668\u90fd\u662f\u6258\u62c9\u62fd\u7684\u53ef\u89c6\u5316\u8bbe\u8ba1\u65b9\u5f0f\uff0c\u4f46\u662f\u8fd8\u662f\u6709\u5f88\u5927\u7684\u533a\u522b\u7684\u3002"),(0,a.yg)("h3",{id:"\u5927\u5c4f\u7f16\u8f91\u5668"},"\u5927\u5c4f\u7f16\u8f91\u5668"),(0,a.yg)("p",null,"\u5728\u6570\u636e\u5c55\u793a\u65b9\u9762\uff0c\u5927\u5c4f\u7f16\u8f91\u5668\u53ef\u4ee5\u6258\u62c9\u62fd\u7684\u65b9\u5f0f\u6765\u8bbe\u8ba1\uff1b"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ed011da4.20fec1d9.js b/assets/js/ed011da4.ed71b940.js similarity index 99% rename from assets/js/ed011da4.20fec1d9.js rename to assets/js/ed011da4.ed71b940.js index 09bd01ae6..5c8f570f9 100644 --- a/assets/js/ed011da4.20fec1d9.js +++ b/assets/js/ed011da4.ed71b940.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[493],{15680:(e,a,t)=>{t.d(a,{xA:()=>m,yg:()=>s});var l=t(96540);function r(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function n(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);a&&(l=l.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,l)}return t}function i(e){for(var a=1;a=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var u=l.createContext({}),g=function(e){var a=l.useContext(u),t=a;return e&&(t="function"==typeof e?e(a):i(i({},a),e)),t},m=function(e){var a=g(e.components);return l.createElement(u.Provider,{value:a},e.children)},y="mdxType",o={inlineCode:"code",wrapper:function(e){var a=e.children;return l.createElement(l.Fragment,{},a)}},d=l.forwardRef((function(e,a){var t=e.components,r=e.mdxType,n=e.originalType,u=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),y=g(t),d=r,s=y["".concat(u,".").concat(d)]||y[d]||o[d]||n;return t?l.createElement(s,i(i({ref:a},m),{},{components:t})):l.createElement(s,i({ref:a},m))}));function s(e,a){var t=arguments,r=a&&a.mdxType;if("string"==typeof e||r){var n=t.length,i=new Array(n);i[0]=d;var p={};for(var u in a)hasOwnProperty.call(a,u)&&(p[u]=a[u]);p.originalType=e,p[y]="string"==typeof e?e:r,i[1]=p;for(var g=2;g{t.r(a),t.d(a,{assets:()=>u,contentTitle:()=>i,default:()=>o,frontMatter:()=>n,metadata:()=>p,toc:()=>g});var l=t(58168),r=(t(96540),t(15680));const n={sidebar_position:2},i="Java",p={unversionedId:"study/program/JAVA/index",id:"study/program/JAVA/index",title:"Java",description:"\u4e00\u79cd\u4f7f\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u8de8\u5e73\u53f0\u7f16\u7a0b\u8bed\u8a00\u3002",source:"@site/docs/study/program/JAVA/index.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/",permalink:"/docs/study/program/JAVA/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/program/"},next:{title:"GC",permalink:"/docs/study/program/JAVA/GC"}},u={},g=[{value:"\u4e00\u4e9b\u5b98\u65b9\u7f51\u7ad9",id:"\u4e00\u4e9b\u5b98\u65b9\u7f51\u7ad9",level:3},{value:"\u4ece JDK 8 \u5230 JDK 17 \u7684\u65b0\u7279\u6027",id:"\u4ece-jdk-8-\u5230-jdk-17-\u7684\u65b0\u7279\u6027",level:3},{value:"JDK 8 \u65b0\u7279\u6027\uff082014 \u5e74 3 \u6708\uff09",id:"jdk-8-\u65b0\u7279\u60272014-\u5e74-3-\u6708",level:4},{value:"JDK 9 \u65b0\u7279\u6027\uff082017 \u5e74 9 \u6708\uff09",id:"jdk-9-\u65b0\u7279\u60272017-\u5e74-9-\u6708",level:4},{value:"JDK 10 \u65b0\u7279\u6027\uff082018 \u5e74 3 \u6708\uff09",id:"jdk-10-\u65b0\u7279\u60272018-\u5e74-3-\u6708",level:4},{value:"JDK 11 \u65b0\u7279\u6027\uff082018 \u5e74 9 \u6708\uff09\uff08LTS \u7248\u672c\uff09",id:"jdk-11-\u65b0\u7279\u60272018-\u5e74-9-\u6708lts-\u7248\u672c",level:4},{value:"JDK 12 \u65b0\u7279\u6027\uff082019 \u5e74 3 \u6708\uff09",id:"jdk-12-\u65b0\u7279\u60272019-\u5e74-3-\u6708",level:4},{value:"JDK 13 \u65b0\u7279\u6027\uff082019 \u5e74 9 \u6708\uff09",id:"jdk-13-\u65b0\u7279\u60272019-\u5e74-9-\u6708",level:4},{value:"JDK 14 \u65b0\u7279\u6027\uff082020 \u5e74 3 \u6708\uff09",id:"jdk-14-\u65b0\u7279\u60272020-\u5e74-3-\u6708",level:4},{value:"JDK 16 \u65b0\u7279\u6027\uff082021 \u5e74 3 \u6708\uff09",id:"jdk-16-\u65b0\u7279\u60272021-\u5e74-3-\u6708",level:4},{value:"JDK 17 \u65b0\u7279\u6027\uff082021 \u5e74 9 \u6708\uff09\uff08LTS \u7248\u672c\uff09",id:"jdk-17-\u65b0\u7279\u60272021-\u5e74-9-\u6708lts-\u7248\u672c",level:4},{value:"JDK 21 \u65b0\u7279\u6027\uff082023 \u5e74 9 \u6708\uff09",id:"jdk-21-\u65b0\u7279\u60272023-\u5e74-9-\u6708",level:4}],m={toc:g},y="wrapper";function o(e){let{components:a,...t}=e;return(0,r.yg)(y,(0,l.A)({},m,t,{components:a,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"java"},"Java"),(0,r.yg)("p",null,"\u4e00\u79cd\u4f7f\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u8de8\u5e73\u53f0\u7f16\u7a0b\u8bed\u8a00\u3002"),(0,r.yg)("h3",{id:"\u4e00\u4e9b\u5b98\u65b9\u7f51\u7ad9"},"\u4e00\u4e9b\u5b98\u65b9\u7f51\u7ad9"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://dev.java/"},"dev.java")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://jdk.java.net/"},"jdk.java.net")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://openjdk.org/"},"openjdk.org")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://www.oracle.com/java/technologies/java-se-glance.html"},"www.oracle.com/java"))),(0,r.yg)("h3",{id:"\u4ece-jdk-8-\u5230-jdk-17-\u7684\u65b0\u7279\u6027"},"\u4ece JDK 8 \u5230 JDK 17 \u7684\u65b0\u7279\u6027"),(0,r.yg)("h4",{id:"jdk-8-\u65b0\u7279\u60272014-\u5e74-3-\u6708"},"JDK 8 \u65b0\u7279\u6027\uff082014 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"Lambda \u8868\u8fbe\u5f0f\uff1aLambda \u8868\u8fbe\u5f0f\u662f JDK 8 \u4e2d\u6700\u91cd\u8981\u7684\u65b0\u7279\u6027\u4e4b\u4e00\u3002\u5b83\u5141\u8bb8\u6211\u4eec\u4ee5\u4e00\u79cd\u66f4\u7b80\u6d01\u548c\u51fd\u6570\u5f0f\u7684\u65b9\u5f0f\u7f16\u5199\u4ee3\u7801\u3002\u901a\u8fc7 Lambda \u8868\u8fbe\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u5176\u4ed6\u65b9\u6cd5\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u52a0\u7075\u6d3b\u7684\u7f16\u7a0b\u3002Lambda \u8868\u8fbe\u5f0f\u4f7f\u5f97\u4ee3\u7801\u66f4\u6613\u8bfb\u3001\u6613\u5199\uff0c\u5e76\u4e14\u53ef\u4ee5\u63d0\u5347\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u3002"),(0,r.yg)("li",{parentName:"ul"},"Stream API\uff1aStream API \u662f JDK 8 \u4e2d\u5f15\u5165\u7684\u4e00\u5957\u7528\u4e8e\u5904\u7406\u96c6\u5408\u548c\u6570\u7ec4\u7684\u65b0 API\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u6d41\u5f0f\u5904\u7406\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u5bf9\u6570\u636e\u8fdb\u884c\u64cd\u4f5c\u548c\u5904\u7406\u3002Stream API \u652f\u6301\u5e76\u884c\u5904\u7406\uff0c\u53ef\u4ee5\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6267\u884c\u6548\u7387\u3002\u901a\u8fc7\u4f7f\u7528 Stream API\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u7b80\u5355\u5730\u5b9e\u73b0\u8fc7\u6ee4\u3001\u6620\u5c04\u3001\u5f52\u7ea6\u7b49\u64cd\u4f5c\uff0c\u5e76\u4e14\u53ef\u4ee5\u4ee5\u66f4\u4f18\u96c5\u7684\u65b9\u5f0f\u5904\u7406\u96c6\u5408\u6570\u636e\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u51fd\u6570\u5f0f\u63a5\u53e3\uff1aJDK 8 \u5f15\u5165\u4e86\u51fd\u6570\u5f0f\u63a5\u53e3\u7684\u6982\u5ff5\u3002\u51fd\u6570\u5f0f\u63a5\u53e3\u662f\u53ea\u5305\u542b\u4e00\u4e2a\u62bd\u8c61\u65b9\u6cd5\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u4f5c Lambda \u8868\u8fbe\u5f0f\u7684\u7c7b\u578b\u3002\u51fd\u6570\u5f0f\u63a5\u53e3\u53ef\u4ee5\u901a\u8fc7@FunctionalInterface \u6ce8\u89e3\u6765\u6807\u8bb0\uff0c\u4ee5\u786e\u4fdd\u5b83\u53ea\u5305\u542b\u4e00\u4e2a\u62bd\u8c61\u65b9\u6cd5\u3002\u51fd\u6570\u5f0f\u63a5\u53e3\u7684\u5f15\u5165\u4f7f\u5f97 Java \u652f\u6301\u51fd\u6570\u5f0f\u7f16\u7a0b\uff0c\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u4f7f\u7528 Lambda \u8868\u8fbe\u5f0f\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u9ed8\u8ba4\u65b9\u6cd5\uff1a\u5728 JDK 8 \u4e4b\u524d\uff0c\u63a5\u53e3\u53ea\u80fd\u5305\u542b\u62bd\u8c61\u65b9\u6cd5\u548c\u5e38\u91cf\u3002JDK 8 \u5f15\u5165\u4e86\u9ed8\u8ba4\u65b9\u6cd5\u7684\u6982\u5ff5\uff0c\u53ef\u4ee5\u5728\u63a5\u53e3\u4e2d\u5b9e\u73b0\u65b9\u6cd5\u7684\u9ed8\u8ba4\u5b9e\u73b0\u3002\u9ed8\u8ba4\u65b9\u6cd5\u53ef\u4ee5\u5728\u63a5\u53e3\u4e2d\u63d0\u4f9b\u4e00\u4e2a\u9ed8\u8ba4\u7684\u5b9e\u73b0\uff0c\u4ece\u800c\u907f\u514d\u56e0\u4e3a\u63a5\u53e3\u7684\u6539\u53d8\u800c\u5bfc\u81f4\u5b9e\u73b0\u7c7b\u9700\u8981\u8fdb\u884c\u4fee\u6539\u3002\u9ed8\u8ba4\u65b9\u6cd5\u4f7f\u5f97\u63a5\u53e3\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u6269\u5c55\uff0c\u540c\u65f6\u4fdd\u6301\u5411\u540e\u517c\u5bb9\u6027\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u65b9\u6cd5\u5f15\u7528\uff1a\u65b9\u6cd5\u5f15\u7528\u662f\u4e00\u79cd\u66f4\u7b80\u6d01\u5730\u8868\u793a Lambda \u8868\u8fbe\u5f0f\u7684\u65b9\u5f0f\u3002\u5b83\u5141\u8bb8\u6211\u4eec\u76f4\u63a5\u5f15\u7528\u5df2\u7ecf\u5b58\u5728\u7684\u65b9\u6cd5\uff0c\u800c\u4e0d\u662f\u901a\u8fc7 Lambda \u8868\u8fbe\u5f0f\u6765\u5b9e\u73b0\u3002\u65b9\u6cd5\u5f15\u7528\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\uff0c\u540c\u65f6\u51cf\u5c11\u91cd\u590d\u4ee3\u7801\u7684\u7f16\u5199\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u65b0\u7684\u65e5\u671f\u548c\u65f6\u95f4 API\uff1aJDK 8 \u5f15\u5165\u4e86\u4e00\u5957\u5168\u65b0\u7684\u65e5\u671f\u548c\u65f6\u95f4 API\uff0c\u7528\u4e8e\u66ff\u4ee3\u65e7\u7684 Date \u548c Calendar \u7c7b\u3002\u65b0\u7684\u65e5\u671f\u548c\u65f6\u95f4 API \u66f4\u52a0\u7b80\u5355\u6613\u7528\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u529f\u80fd\u3002\u5b83\u652f\u6301\u65e5\u671f\u3001\u65f6\u95f4\u3001\u65f6\u533a\u3001\u65f6\u95f4\u95f4\u9694\u7b49\u7684\u5904\u7406\uff0c\u540c\u65f6\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u64cd\u4f5c\u65b9\u6cd5\u548c\u683c\u5f0f\u5316\u9009\u9879\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5e76\u53d1\u589e\u5f3a\uff1aJDK 8 \u5bf9\u5e76\u53d1\u7f16\u7a0b\u8fdb\u884c\u4e86\u589e\u5f3a\u3002\u5b83\u5f15\u5165\u4e86\u4e00\u4e9b\u65b0\u7684\u5e76\u53d1\u5de5\u5177\u548c\u7c7b\uff0c\u4f7f\u5f97\u5e76\u53d1\u7f16\u7a0b\u66f4\u52a0\u5bb9\u6613\u548c\u6709\u6548\u3002\u5176\u4e2d\u5305\u62ec CompletableFuture \u7c7b\u3001StampedLock \u7c7b\u3001\u5e76\u884c\u6570\u7ec4\u7b49\u3002\u8fd9\u4e9b\u589e\u5f3a\u4f7f\u5f97\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u66f4\u597d\u5730\u5904\u7406\u5e76\u53d1\u95ee\u9898\uff0c\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5176\u4ed6\u6539\u8fdb\uff1a\u9664\u4e86\u4ee5\u4e0a\u63d0\u5230\u7684\u4e3b\u8981\u65b0\u7279\u6027\u5916\uff0cJDK 8 \u8fd8\u5f15\u5165\u4e86\u8bb8\u591a\u5176\u4ed6\u7684\u6539\u8fdb\uff0c\u5305\u62ec\u6539\u8fdb\u7684\u7c7b\u578b\u63a8\u65ad\u3001\u91cd\u590d\u6ce8\u89e3\u3001\u65b0\u7684\u7f16\u8bd1\u5668 API \u7b49\u3002\u8fd9\u4e9b\u6539\u8fdb\u4f7f\u5f97 Java \u8bed\u8a00\u66f4\u52a0\u73b0\u4ee3\u5316\u548c\u5f3a\u5927\uff0c\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u7f16\u7a0b\u9009\u9879\u548c\u7075\u6d3b\u6027\u3002")),(0,r.yg)("h4",{id:"jdk-9-\u65b0\u7279\u60272017-\u5e74-9-\u6708"},"JDK 9 \u65b0\u7279\u6027\uff082017 \u5e74 9 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u6a21\u5757\u5316"),(0,r.yg)("li",{parentName:"ul"},"\u63d0\u4f9b\u4e86 List.of()\u3001Set.of()\u3001Map.of() \u548c Map.ofEntries() \u7b49\u5de5\u5382\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"\u63a5\u53e3\u652f\u6301\u79c1\u6709\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"Optional \u7c7b\u6539\u8fdb"),(0,r.yg)("li",{parentName:"ul"},"\u591a\u7248\u672c\u517c\u5bb9 Jar \u5305"),(0,r.yg)("li",{parentName:"ul"},"JShell \u5de5\u5177"),(0,r.yg)("li",{parentName:"ul"},"try-with-resources \u7684\u6539\u8fdb"),(0,r.yg)("li",{parentName:"ul"},"Stream API \u7684\u6539\u8fdb"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("em",{parentName:"strong"},"\u8bbe\u7f6e G1 \u4e3a JVM \u9ed8\u8ba4\u5783\u573e\u6536\u96c6\u5668"))),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301 HTTP 2.0 \u548c WebSocket \u7684 API\n",(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("em",{parentName:"strong"},"\u91cd\u8981\u7279\u6027\uff1aAPI \u7684\u4f18\u5316\uff0c\u5982\u652f\u6301 HTTP 2 \u7684 Client API\u3001JVM \u91c7\u7528 G1 \u4e3a\u9ed8\u8ba4\u5783\u573e\u6536\u96c6\u5668\u3002")))),(0,r.yg)("h4",{id:"jdk-10-\u65b0\u7279\u60272018-\u5e74-3-\u6708"},"JDK 10 \u65b0\u7279\u6027\uff082018 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u5c40\u90e8\u53d8\u91cf\u7c7b\u578b\u63a8\u65ad\uff0c\u7c7b\u4f3c JS \u53ef\u4ee5\u901a\u8fc7 var \u6765\u4fee\u9970\u5c40\u90e8\u53d8\u91cf\uff0c\u7f16\u8bd1\u4e4b\u540e\u4f1a\u63a8\u65ad\u51fa\u503c\u7684\u771f\u5b9e\u7c7b\u578b"),(0,r.yg)("li",{parentName:"ul"},"\u4e0d\u53ef\u53d8\u96c6\u5408\u7684\u6539\u8fdb"),(0,r.yg)("li",{parentName:"ul"},"\u5e76\u884c\u5168\u5783\u573e\u56de\u6536\u5668 G1\uff0c\u6765\u4f18\u5316 G1 \u7684\u5ef6\u8fdf"),(0,r.yg)("li",{parentName:"ul"},"\u7ebf\u7a0b\u672c\u5730\u63e1\u624b\uff0c\u5141\u8bb8\u5728\u4e0d\u6267\u884c\u5168\u5c40 VM \u5b89\u5168\u70b9\u7684\u60c5\u51b5\u4e0b\u6267\u884c\u7ebf\u7a0b\u56de\u8c03\uff0c\u53ef\u4ee5\u505c\u6b62\u5355\u4e2a\u7ebf\u7a0b\uff0c\u800c\u4e0d\u9700\u8981\u505c\u6b62\u6240\u6709\u7ebf\u7a0b\u6216\u4e0d\u505c\u6b62\u7ebf\u7a0b"),(0,r.yg)("li",{parentName:"ul"},"Optional \u65b0\u589e orElseThrow() \u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"\u7c7b\u6570\u636e\u5171\u4eab"),(0,r.yg)("li",{parentName:"ul"},"Unicode \u8bed\u8a00\u6807\u7b7e\u6269\u5c55"),(0,r.yg)("li",{parentName:"ul"},"\u6839\u8bc1\u4e66")),(0,r.yg)("p",null,(0,r.yg)("strong",{parentName:"p"},(0,r.yg)("em",{parentName:"strong"},"\u91cd\u8981\u7279\u6027\uff1a\u901a\u8fc7 var \u5173\u952e\u5b57\u5b9e\u73b0\u5c40\u90e8\u53d8\u91cf\u7c7b\u578b\u63a8\u65ad\uff0c\u4f7f Java \u8bed\u8a00\u53d8\u6210\u5f31\u7c7b\u578b\u8bed\u8a00\u3001JVM \u7684 G1 \u5783\u573e\u56de\u6536\u7531\u5355\u7ebf\u7a0b\u6539\u6210\u591a\u7ebf\u7a0b\u5e76\u884c\u5904\u7406\uff0c\u964d\u4f4e G1 \u7684\u505c\u987f\u65f6\u95f4\u3002"))),(0,r.yg)("h4",{id:"jdk-11-\u65b0\u7279\u60272018-\u5e74-9-\u6708lts-\u7248\u672c"},"JDK 11 \u65b0\u7279\u6027\uff082018 \u5e74 9 \u6708\uff09\uff08LTS \u7248\u672c\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u589e\u52a0\u4e00\u4e9b\u5b57\u7b26\u4e32\u5904\u7406\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"\u7528\u4e8e Lambda \u53c2\u6570\u7684\u5c40\u90e8\u53d8\u91cf\u8bed\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"Http Client \u91cd\u5199\uff0c\u652f\u6301 HTTP/1.1 \u548c HTTP/2\uff0c\u4e5f\u652f\u6301 websockets"),(0,r.yg)("li",{parentName:"ul"},"\u53ef\u8fd0\u884c\u5355\u4e00 Java \u6e90\u7801\u6587\u4ef6\uff0c\u5982\uff1ajava Test.java"),(0,r.yg)("li",{parentName:"ul"},"ZGC\uff1a\u53ef\u4f38\u7f29\u4f4e\u5ef6\u8fdf\u5783\u573e\u6536\u96c6\u5668\u3002ZGC \u53ef\u4ee5\u770b\u4f5c\u662f G1 \u4e4b\u4e0a\u66f4\u7ec6\u7c92\u5ea6\u7684\u5185\u5b58\u7ba1\u7406\u7b56\u7565\u3002\u7531\u4e8e\u5185\u5b58\u7684\u4e0d\u65ad\u5206\u914d\u56de\u6536\u4f1a\u4ea7\u751f\u5927\u91cf\u7684\u5185\u5b58\u788e\u7247\u7a7a\u95f4\uff0c\u56e0\u6b64\u9700\u8981\u6574\u7406\u7b56\u7565\u9632\u6b62\u5185\u5b58\u7a7a\u95f4\u788e\u7247\u5316\u3002\u5728\u6574\u7406\u671f\u95f4\u9700\u8981\u5c06\u5bf9\u4e8e\u5185\u5b58\u5f15\u7528\u7684\u7ebf\u7a0b\u903b\u8f91\u6682\u505c\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u88ab\u79f0\u4e3a\u201cStop the world\u201d\u3002\u53ea\u6709\u5f53\u6574\u7406\u5b8c\u6210\u540e\uff0c\u7ebf\u7a0b\u903b\u8f91\u624d\u53ef\u4ee5\u7ee7\u7eed\u8fd0\u884c\u3002\uff08\u5e76\u884c\u56de\u6536\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301 TLS 1.3 \u534f\u8bae"),(0,r.yg)("li",{parentName:"ul"},"Flight Recorder\uff08\u98de\u884c\u8bb0\u5f55\u5668\uff09\uff0c\u57fa\u4e8e OS\u3001JVM \u548c JDK \u7684\u4e8b\u4ef6\u4ea7\u751f\u7684\u6570\u636e\u6536\u96c6\u6846\u67b6"),(0,r.yg)("li",{parentName:"ul"},"\u5bf9 Stream\u3001Optional\u3001\u96c6\u5408 API \u8fdb\u884c\u589e\u5f3a")),(0,r.yg)("p",null,(0,r.yg)("strong",{parentName:"p"},(0,r.yg)("em",{parentName:"strong"},"\u91cd\u8981\u7279\u6027\uff1a\u5bf9\u4e8e JDK 9 \u548c JDK 10 \u7684\u5b8c\u5584\uff0c\u4e3b\u8981\u662f\u5bf9\u4e8e Stream\u3001\u96c6\u5408\u7b49 API \u7684\u589e\u5f3a\u3001\u65b0\u589e ZGC \u5783\u573e\u6536\u96c6\u5668\u3002"))),(0,r.yg)("h4",{id:"jdk-12-\u65b0\u7279\u60272019-\u5e74-3-\u6708"},"JDK 12 \u65b0\u7279\u6027\uff082019 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"Switch \u8868\u8fbe\u5f0f\u6269\u5c55\uff0c\u53ef\u4ee5\u6709\u8fd4\u56de\u503c"),(0,r.yg)("li",{parentName:"ul"},"\u65b0\u589e NumberFormat \u5bf9\u590d\u6742\u6570\u5b57\u7684\u683c\u5f0f\u5316"),(0,r.yg)("li",{parentName:"ul"},"\u5b57\u7b26\u4e32\u652f\u6301 transform\u3001indent \u64cd\u4f5c"),(0,r.yg)("li",{parentName:"ul"},"\u65b0\u589e\u65b9\u6cd5 Files.mismatch(Path, Path)"),(0,r.yg)("li",{parentName:"ul"},"Teeing Collector"),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301 unicode 11"),(0,r.yg)("li",{parentName:"ul"},"Shenandoah GC\uff0c\u65b0\u589e\u7684 GC \u7b97\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"G1 \u6536\u96c6\u5668\u7684\u4f18\u5316\uff0c\u5c06 GC \u7684\u5783\u573e\u5206\u4e3a\u5f3a\u5236\u90e8\u5206\u548c\u53ef\u9009\u90e8\u5206\uff0c\u5f3a\u5236\u90e8\u5206\u4f1a\u88ab\u56de\u6536\uff0c\u53ef\u9009\u90e8\u5206\u53ef\u80fd\u4e0d\u4f1a\u88ab\u56de\u6536\uff0c\u63d0\u9ad8 GC \u7684\u6548\u7387")),(0,r.yg)("p",null,(0,r.yg)("strong",{parentName:"p"},(0,r.yg)("em",{parentName:"strong"},"\u91cd\u8981\u7279\u6027\uff1aswitch \u8868\u8fbe\u5f0f\u8bed\u6cd5\u6269\u5c55\u3001G1 \u6536\u96c6\u5668\u4f18\u5316\u3001\u65b0\u589e Shenandoah GC \u5783\u573e\u56de\u6536\u7b97\u6cd5\u3002"))),(0,r.yg)("h4",{id:"jdk-13-\u65b0\u7279\u60272019-\u5e74-9-\u6708"},"JDK 13 \u65b0\u7279\u6027\uff082019 \u5e74 9 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"Switch \u8868\u8fbe\u5f0f\u6269\u5c55\uff0cSwitch \u8868\u8fbe\u5f0f\u589e\u52a0 yield \u5173\u952e\u5b57\u7528\u4e8e\u8fd4\u56de\u7ed3\u679c\uff0c\u4f5c\u7528\u7c7b\u4f3c\u4e8e return\uff0c\u5982\u679c\u6ca1\u6709\u8fd4\u56de\u7ed3\u679c\u5219\u4f7f\u7528 break"),(0,r.yg)("li",{parentName:"ul"},'\u6587\u672c\u5757\u5347\u7ea7 """ \uff0c\u5f15\u5165\u4e86\u6587\u672c\u5757\uff0c\u53ef\u4ee5\u4f7f\u7528 3 \u4e2a\u53cc\u5f15\u53f7\u8868\u793a\u6587\u672c\u5757\uff0c\u6587\u672c\u5757\u5185\u90e8\u4e0d\u9700\u8981\u4f7f\u7528\u6362\u884c\u7684\u8f6c\u4e49\u5b57\u7b26'),(0,r.yg)("li",{parentName:"ul"},"SocketAPI \u91cd\u6784\uff0cSocket \u7684\u5e95\u5c42\u5b9e\u73b0\u4f18\u5316\uff0c\u5f15\u5165\u4e86 NIO"),(0,r.yg)("li",{parentName:"ul"},"FileSystems.newFileSystem \u65b0\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"ZGC \u4f18\u5316\uff0c\u589e\u5f3a ZGC \u91ca\u653e\u672a\u4f7f\u7528\u5185\u5b58\uff0c\u5c06\u6807\u8bb0\u957f\u65f6\u95f4\u7a7a\u95f2\u7684\u5806\u5185\u5b58\u7a7a\u95f4\u8fd4\u8fd8\u7ed9\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4fdd\u8bc1\u5806\u5927\u5c0f\u4e0d\u4f1a\u5c0f\u4e8e\u914d\u7f6e\u7684\u6700\u5c0f\u5806\u5185\u5b58\u5927\u5c0f\uff0c\u5982\u679c\u5806\u6700\u5927\u548c\u6700\u5c0f\u5185\u5b58\u5927\u5c0f\u8bbe\u7f6e\u4e00\u6837\uff0c\u5219\u4e0d\u4f1a\u91ca\u653e\u5185\u5b58\u8fd8\u7ed9\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("li",{parentName:"ul"},"\u91cd\u8981\u7279\u6027\uff1aZGC \u4f18\u5316\uff0c\u91ca\u653e\u5185\u5b58\u8fd8\u7ed9\u64cd\u4f5c\u7cfb\u7edf\u3001Socket \u5e95\u5c42\u5b9e\u73b0\u5f15\u5165 NIO\u3002")),(0,r.yg)("h4",{id:"jdk-14-\u65b0\u7279\u60272020-\u5e74-3-\u6708"},"JDK 14 \u65b0\u7279\u6027\uff082020 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"instanceof \u6a21\u5f0f\u5339\u914d\uff0cinstanceof \u7c7b\u578b\u5339\u914d\u8bed\u6cd5\u7b80\u5316\uff0c\u53ef\u4ee5\u76f4\u63a5\u7ed9\u5bf9\u8c61\u8d4b\u503c\uff0c\u5982 if(obj instanceof String str)\uff0c\u5982\u679c obj \u662f\u5b57\u7b26\u4e32\u7c7b\u578b\u5219\u76f4\u63a5\u8d4b\u503c\u7ed9\u4e86 str \u53d8\u91cf"),(0,r.yg)("li",{parentName:"ul"},"\u5f15\u5165 Record \u7c7b\u578b\uff0c\u7c7b\u4f3c\u4e8e Lombok \u7684 @Data \u6ce8\u89e3\uff0c\u53ef\u4ee5\u5411 Lombok \u4e00\u6837\u81ea\u52a8\u751f\u6210\u6784\u9020\u5668\u3001equals\u3001getter \u7b49\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"Switch \u8868\u8fbe\u5f0f-\u6807\u51c6\u5316"),(0,r.yg)("li",{parentName:"ul"},"\u6539\u8fdb NullPointerExceptions \u63d0\u793a\u4fe1\u606f\uff0c\u6253\u5370\u5177\u4f53\u54ea\u4e2a\u65b9\u6cd5\u629b\u7684\u7a7a\u6307\u9488\u5f02\u5e38\uff0c\u907f\u514d\u540c\u4e00\u884c\u4ee3\u7801\u591a\u4e2a\u51fd\u6570\u8c03\u7528\u65f6\u65e0\u6cd5\u5224\u65ad\u5177\u4f53\u662f\u54ea\u4e2a\u51fd\u6570\u629b\u5f02\u5e38\u7684\u56f0\u6270\uff0c\u65b9\u4fbf\u5f02\u5e38\u6392\u67e5"),(0,r.yg)("li",{parentName:"ul"},"\u5220\u9664 CMS \u5783\u573e\u56de\u6536\u5668"),(0,r.yg)("li",{parentName:"ul"},"JDK 15 \u65b0\u7279\u6027\uff082020 \u5e74 9 \u6708\uff09"),(0,r.yg)("li",{parentName:"ul"},"EdDSA \u6570\u5b57\u7b7e\u540d\u7b97\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"Sealed Classes\uff08\u5c01\u95ed\u7c7b\uff0c\u9884\u89c8\uff09\uff0c\u901a\u8fc7 sealed \u5173\u952e\u5b57\u4fee\u9970\u62bd\u8c61\u7c7b\u9650\u5b9a\u53ea\u5141\u8bb8\u6307\u5b9a\u7684\u5b50\u7c7b\u624d\u53ef\u4ee5\u5b9e\u73b0\u6216\u7ee7\u627f\u62bd\u8c61\u7c7b\uff0c\u907f\u514d\u62bd\u8c61\u7c7b\u88ab\u6ee5\u7528"),(0,r.yg)("li",{parentName:"ul"},"Hidden Classes\uff08\u9690\u85cf\u7c7b\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u79fb\u9664 Nashorn JavaScript \u5f15\u64ce"),(0,r.yg)("li",{parentName:"ul"},"\u6539\u8fdb java.net.DatagramSocket \u548c java.net.MulticastSocket \u5e95\u5c42\u5b9e\u73b0")),(0,r.yg)("h4",{id:"jdk-16-\u65b0\u7279\u60272021-\u5e74-3-\u6708"},"JDK 16 \u65b0\u7279\u6027\uff082021 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u5141\u8bb8\u5728 JDK C ++\u6e90\u4ee3\u7801\u4e2d\u4f7f\u7528 C ++ 14 \u529f\u80fd"),(0,r.yg)("li",{parentName:"ul"},"ZGC \u6027\u80fd\u4f18\u5316\uff0c\u53bb\u6389 ZGC \u7ebf\u7a0b\u5806\u6808\u5904\u7406\u4ece\u5b89\u5168\u70b9\u5230\u5e76\u53d1\u9636\u6bb5"),(0,r.yg)("li",{parentName:"ul"},"\u589e\u52a0 Unix \u57df\u5957\u63a5\u5b57\u901a\u9053"),(0,r.yg)("li",{parentName:"ul"},"\u5f39\u6027\u5143\u7a7a\u95f4\u80fd\u529b"),(0,r.yg)("li",{parentName:"ul"},"\u63d0\u4f9b\u7528\u4e8e\u6253\u5305\u72ec\u7acb Java \u5e94\u7528\u7a0b\u5e8f\u7684 jpackage \u5de5\u5177")),(0,r.yg)("p",null,"JDK 16 \u76f8\u5f53\u4e8e\u662f\u5c06 JDK 14\u3001JDK 15 \u7684\u4e00\u4e9b\u7279\u6027\u8fdb\u884c\u4e86\u6b63\u5f0f\u5f15\u5165\uff0c\u5982 instanceof \u6a21\u5f0f\u5339\u914d\uff08Pattern matching\uff09\u3001record \u7684\u5f15\u5165\u7b49\u6700\u7ec8\u5230 JDK 16 \u53d8\u6210\u4e86 final \u7248\u672c\u3002"),(0,r.yg)("h4",{id:"jdk-17-\u65b0\u7279\u60272021-\u5e74-9-\u6708lts-\u7248\u672c"},"JDK 17 \u65b0\u7279\u6027\uff082021 \u5e74 9 \u6708\uff09\uff08LTS \u7248\u672c\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"Free Java License"),(0,r.yg)("li",{parentName:"ul"},"JDK 17 \u5c06\u53d6\u4ee3 JDK 11 \u6210\u4e3a\u4e0b\u4e00\u4e2a\u957f\u671f\u652f\u6301\u7248\u672c"),(0,r.yg)("li",{parentName:"ul"},"Spring 6 \u548c Spring Boot 3 \u9700\u8981 JDK17"),(0,r.yg)("li",{parentName:"ul"},"\u79fb\u9664\u5b9e\u9a8c\u6027\u7684 AOT \u548c JIT \u7f16\u8bd1\u5668"),(0,r.yg)("li",{parentName:"ul"},"\u6062\u590d\u59cb\u7ec8\u6267\u884c\u4e25\u683c\u6a21\u5f0f (Always-Strict) \u7684\u6d6e\u70b9\u5b9a\u4e49"),(0,r.yg)("li",{parentName:"ul"},"\u6b63\u5f0f\u5f15\u5165\u5bc6\u5c01\u7c7b sealed class\uff0c\u9650\u5236\u62bd\u8c61\u7c7b\u7684\u5b9e\u73b0"),(0,r.yg)("li",{parentName:"ul"},"\u7edf\u4e00\u65e5\u5fd7\u5f02\u6b65\u5237\u65b0\uff0c\u5148\u5c06\u65e5\u5fd7\u5199\u5165\u7f13\u5b58\uff0c\u7136\u540e\u518d\u5f02\u6b65\u5237\u65b0")),(0,r.yg)("p",null,"\u867d\u7136 JDK 17 \u4e5f\u662f\u4e00\u4e2a LTS \u7248\u672c\uff0c\u4f46\u662f\u5e76\u6ca1\u6709\u50cf JDK 8 \u548c JDK 11 \u4e00\u6837\u5f15\u5165\u6bd4\u8f83\u7a81\u51fa\u7684\u7279\u6027\uff0c\u4e3b\u8981\u662f\u5bf9\u524d\u51e0\u4e2a\u7248\u672c\u7684\u6574\u5408\u548c\u5b8c\u5584\u3002"),(0,r.yg)("h4",{id:"jdk-21-\u65b0\u7279\u60272023-\u5e74-9-\u6708"},"JDK 21 \u65b0\u7279\u6027\uff082023 \u5e74 9 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u5b57\u7b26\u4e32\u6a21\u677f\uff0c\u53ef\u4ee5\u50cf\u5176\u4ed6\u8bed\u8a00\u90a3\u6837\u5b50\u65b9\u4fbf\u7684\u505a\u5b57\u7b26\u4e32\u62fc\u63a5\uff0c\u662f+\u53f7\uff0cStringBuilder\uff0cMessageFormat \u4e4b\u5916\u66f4\u65b9\u4fbf\u7684\u5b57\u7b26\u4e32\u62fc\u63a5\u65b9\u6cd5\u3002\n\u6ce8\u610f\uff1a\u8fd9\u4e2a\u7279\u6027\u867d\u7136\u8fd8\u5728\u9884\u89c8\u9636\u6bb5\uff0c\u8fd8\u4e0d\u5c5e\u4e8e\u6b63\u5f0f\u53d1\u5e03\uff0c\u4f46\u662f\u82e5\u80fd\u6700\u7ec8\u8fdb\u5165\u53d1\u5e03\uff0c\u80fd\u591f\u5927\u5927\u51cf\u8f7b\u4e86 Java \u7f16\u7a0b\u65f6\u590d\u6742\u5b57\u7b26\u4e32\u7684\u7f16\u8f91\u5904\u7406\u5de5\u4f5c\u91cf\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5f15\u5165\u65b0\u7684\u63a5\u53e3\u6765\u8868\u793a\u5177\u6709\u5b9a\u4e49\u76f8\u9047\u987a\u5e8f\u7684\u96c6\u5408\u3002\u6bcf\u4e2a\u8fd9\u6837\u7684\u96c6\u5408\u90fd\u6709\u5b9a\u4e49\u660e\u786e\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20\u3001\u7b2c\u4e8c\u4e2a\u5143\u7d20\uff0c\u4ee5\u6b64\u7c7b\u63a8\uff0c\u76f4\u5230\u6700\u540e\u4e00\u4e2a\u5143\u7d20\u3002\u5b83\u8fd8\u63d0\u4f9b\u4e86\u7edf\u4e00\u7684\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff0c\u7528\u4e8e\u8bbf\u95ee\u5176\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u5143\u7d20\uff0c\u4ee5\u53ca\u4ee5\u76f8\u53cd\u7684\u987a\u5e8f\u5904\u7406\u5176\u5143\u7d20\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u901a\u8fc7\u6269\u5c55 Z \u5783\u573e\u6536\u96c6\u5668\uff08ZGC\uff09\uff0c\u4e3a\u65b0\u65e7\u5bf9\u8c61\u5206\u522b\u4fdd\u7559\u4e0d\u540c\u7684\u4e16\u4ee3\uff0c\u4ece\u800c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u8fd9\u5c06\u5141\u8bb8 ZGC \u66f4\u9891\u7e41\u5730\u6536\u96c6\u5e74\u8f7b\u4ee3\u7684\u5bf9\u8c61\uff08\u5bf9\u8c61\u5f80\u5f80\u9891\u7e41\u5730\u82f1\u5e74\u65e9\u901d\uff09\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u4f7f\u7528\u8bb0\u5f55\u6a21\u5f0f\u6765\u89e3\u6784\u8bb0\u5f55\u503c\uff0c\u4ece\u800c\u589e\u5f3a Java \u7f16\u7a0b\u8bed\u8a00\u7684\u529f\u80fd\u3002\u8bb0\u5f55\u6a21\u5f0f\u548c\u7c7b\u578b\u6a21\u5f0f\u53ef\u4ee5\u5d4c\u5957\uff0c\u4ee5\u5b9e\u73b0\u5f3a\u5927\u3001\u58f0\u660e\u6027\u548c\u53ef\u7ec4\u5408\u7684\u6570\u636e\u5bfc\u822a\u548c\u5904\u7406\u5f62\u5f0f\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u7528\u6a21\u5f0f\u5339\u914d\u6765\u589e\u5f3a Java \u7f16\u7a0b\u8bed\u8a00\u7684\u5f00\u5173\u8868\u8fbe\u5f0f\u548c\u8bed\u53e5\u3002\u5c06\u6a21\u5f0f\u5339\u914d\u6269\u5c55\u5230\u5f00\u5173\u540e\uff0c\u8868\u8fbe\u5f0f\u5c31\u53ef\u4ee5\u6839\u636e\u591a\u4e2a\u6a21\u5f0f\uff08\u6bcf\u4e2a\u6a21\u5f0f\u90fd\u6709\u7279\u5b9a\u7684\u64cd\u4f5c\uff09\u8fdb\u884c\u6d4b\u8bd5\uff0c\u4ece\u800c\u53ef\u4ee5\u7b80\u6d01\u5b89\u5168\u5730\u8868\u8fbe\u9762\u5411\u6570\u636e\u7684\u590d\u6742\u67e5\u8be2\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5f15\u5165\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff08API\uff09\uff0c\u4f7f Java \u7a0b\u5e8f\u80fd\u591f\u4e0e Java \u8fd0\u884c\u65f6\u4e4b\u5916\u7684\u4ee3\u7801\u548c\u6570\u636e\u4e92\u64cd\u4f5c\u3002\u901a\u8fc7\u9ad8\u6548\u5730\u8c03\u7528\u5916\u6765\u51fd\u6570\uff08\u5373 JVM \u4e4b\u5916\u7684\u4ee3\u7801\uff09\u548c\u5b89\u5168\u5730\u8bbf\u95ee\u5916\u6765\u5185\u5b58\uff08\u5373 JVM \u7ba1\u7406\u4e4b\u5916\u7684\u5185\u5b58\uff09\uff0c- API \u4f7f Java \u7a0b\u5e8f\u80fd\u591f\u8c03\u7528\u672c\u5730\u5e93\u548c\u5904\u7406\u672c\u5730\u6570\u636e\uff0c\u800c\u4e0d\u4f1a\u51fa\u73b0 JNI \u7684\u8106\u6027\u548c\u5371\u9669\u3002\u8fd9\u662f\u4e00\u4e2a\u9884\u89c8\u7248 API\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u4f7f\u7528\u672a\u547d\u540d\u6a21\u5f0f\u548c\u672a\u547d\u540d\u53d8\u91cf\u6765\u589e\u5f3a Java \u8bed\u8a00\u7684\u529f\u80fd\u3002\u672a\u547d\u540d\u6a21\u5f0f\u7528\u4e8e\u5339\u914d\u8bb0\u5f55\u7ec4\u4ef6\uff0c\u4f46\u4e0d\u8bf4\u660e\u8be5\u7ec4\u4ef6\u7684\u540d\u79f0\u6216\u7c7b\u578b\uff1b\u672a\u547d\u540d\u53d8\u91cf\u7528\u4e8e\u521d\u59cb\u5316\u4f46\u4e0d\u4f7f\u7528\u3002\u4e24\u8005\u90fd\u7528\u4e0b\u5212\u7ebf\u5b57\u7b26 ","_"," \u8868\u793a\u3002\u8fd9\u662f\u4e00\u9879\u9884\u89c8\u8bed\u8a00\u529f\u80fd\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5c06\u865a\u62df\u7ebf\u7a0b\u5f15\u5165 Java \u5e73\u53f0\u3002\u865a\u62df\u7ebf\u7a0b\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7ebf\u7a0b\uff0c\u53ef\u5927\u5927\u51cf\u5c11\u7f16\u5199\u3001\u7ef4\u62a4\u548c\u89c2\u5bdf\u9ad8\u541e\u5410\u91cf\u5e76\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u5de5\u4f5c\u91cf\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5f15\u5165\u5bc6\u94a5\u5c01\u88c5\u673a\u5236\uff08KEM\uff09\u7684 API \u63a5\u53e3\uff0c\u8fd9\u662f\u4e00\u79cd\u4f7f\u7528\u516c\u94a5\u52a0\u5bc6\u6cd5\u786e\u4fdd\u5bf9\u79f0\u5bc6\u94a5\u5b89\u5168\u7684\u52a0\u5bc6\u6280\u672f\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u901a\u8fc7\u5f15\u5165\u7ed3\u6784\u5316\u5e76\u53d1 API \u6765\u7b80\u5316\u5e76\u53d1\u7f16\u7a0b\u3002\u7ed3\u6784\u5316\u5e76\u53d1\u5c06\u5728\u4e0d\u540c\u7ebf\u7a0b\u4e2d\u8fd0\u884c\u7684\u4e00\u7ec4\u76f8\u5173\u4efb\u52a1\u89c6\u4e3a\u4e00\u4e2a\u5de5\u4f5c\u5355\u5143\uff0c\u4ece\u800c\u7b80\u5316\u4e86\u9519\u8bef\u5904\u7406\u548c\u53d6\u6d88\uff0c\u63d0\u9ad8\u4e86\u53ef\u9760\u6027\u5e76\u589e\u5f3a\u4e86\u53ef\u89c2\u5bdf\u6027\u3002\u8fd9\u662f\u4e00\u4e2a\u9884\u89c8\u7248 API\u3002")))}o.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[493],{15680:(e,a,t)=>{t.d(a,{xA:()=>m,yg:()=>s});var l=t(96540);function r(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function n(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);a&&(l=l.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,l)}return t}function i(e){for(var a=1;a=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var u=l.createContext({}),g=function(e){var a=l.useContext(u),t=a;return e&&(t="function"==typeof e?e(a):i(i({},a),e)),t},m=function(e){var a=g(e.components);return l.createElement(u.Provider,{value:a},e.children)},y="mdxType",o={inlineCode:"code",wrapper:function(e){var a=e.children;return l.createElement(l.Fragment,{},a)}},d=l.forwardRef((function(e,a){var t=e.components,r=e.mdxType,n=e.originalType,u=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),y=g(t),d=r,s=y["".concat(u,".").concat(d)]||y[d]||o[d]||n;return t?l.createElement(s,i(i({ref:a},m),{},{components:t})):l.createElement(s,i({ref:a},m))}));function s(e,a){var t=arguments,r=a&&a.mdxType;if("string"==typeof e||r){var n=t.length,i=new Array(n);i[0]=d;var p={};for(var u in a)hasOwnProperty.call(a,u)&&(p[u]=a[u]);p.originalType=e,p[y]="string"==typeof e?e:r,i[1]=p;for(var g=2;g{t.r(a),t.d(a,{assets:()=>u,contentTitle:()=>i,default:()=>o,frontMatter:()=>n,metadata:()=>p,toc:()=>g});var l=t(58168),r=(t(96540),t(15680));const n={sidebar_position:2},i="Java",p={unversionedId:"study/program/JAVA/index",id:"study/program/JAVA/index",title:"Java",description:"\u4e00\u79cd\u4f7f\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u8de8\u5e73\u53f0\u7f16\u7a0b\u8bed\u8a00\u3002",source:"@site/docs/study/program/JAVA/index.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/",permalink:"/docs/study/program/JAVA/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"studySidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/study/program/"},next:{title:"GC",permalink:"/docs/study/program/JAVA/GC"}},u={},g=[{value:"\u4e00\u4e9b\u5b98\u65b9\u7f51\u7ad9",id:"\u4e00\u4e9b\u5b98\u65b9\u7f51\u7ad9",level:3},{value:"\u4ece JDK 8 \u5230 JDK 17 \u7684\u65b0\u7279\u6027",id:"\u4ece-jdk-8-\u5230-jdk-17-\u7684\u65b0\u7279\u6027",level:3},{value:"JDK 8 \u65b0\u7279\u6027\uff082014 \u5e74 3 \u6708\uff09",id:"jdk-8-\u65b0\u7279\u60272014-\u5e74-3-\u6708",level:4},{value:"JDK 9 \u65b0\u7279\u6027\uff082017 \u5e74 9 \u6708\uff09",id:"jdk-9-\u65b0\u7279\u60272017-\u5e74-9-\u6708",level:4},{value:"JDK 10 \u65b0\u7279\u6027\uff082018 \u5e74 3 \u6708\uff09",id:"jdk-10-\u65b0\u7279\u60272018-\u5e74-3-\u6708",level:4},{value:"JDK 11 \u65b0\u7279\u6027\uff082018 \u5e74 9 \u6708\uff09\uff08LTS \u7248\u672c\uff09",id:"jdk-11-\u65b0\u7279\u60272018-\u5e74-9-\u6708lts-\u7248\u672c",level:4},{value:"JDK 12 \u65b0\u7279\u6027\uff082019 \u5e74 3 \u6708\uff09",id:"jdk-12-\u65b0\u7279\u60272019-\u5e74-3-\u6708",level:4},{value:"JDK 13 \u65b0\u7279\u6027\uff082019 \u5e74 9 \u6708\uff09",id:"jdk-13-\u65b0\u7279\u60272019-\u5e74-9-\u6708",level:4},{value:"JDK 14 \u65b0\u7279\u6027\uff082020 \u5e74 3 \u6708\uff09",id:"jdk-14-\u65b0\u7279\u60272020-\u5e74-3-\u6708",level:4},{value:"JDK 16 \u65b0\u7279\u6027\uff082021 \u5e74 3 \u6708\uff09",id:"jdk-16-\u65b0\u7279\u60272021-\u5e74-3-\u6708",level:4},{value:"JDK 17 \u65b0\u7279\u6027\uff082021 \u5e74 9 \u6708\uff09\uff08LTS \u7248\u672c\uff09",id:"jdk-17-\u65b0\u7279\u60272021-\u5e74-9-\u6708lts-\u7248\u672c",level:4},{value:"JDK 21 \u65b0\u7279\u6027\uff082023 \u5e74 9 \u6708\uff09",id:"jdk-21-\u65b0\u7279\u60272023-\u5e74-9-\u6708",level:4}],m={toc:g},y="wrapper";function o(e){let{components:a,...t}=e;return(0,r.yg)(y,(0,l.A)({},m,t,{components:a,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"java"},"Java"),(0,r.yg)("p",null,"\u4e00\u79cd\u4f7f\u7528\u975e\u5e38\u5e7f\u6cdb\u7684\u8de8\u5e73\u53f0\u7f16\u7a0b\u8bed\u8a00\u3002"),(0,r.yg)("h3",{id:"\u4e00\u4e9b\u5b98\u65b9\u7f51\u7ad9"},"\u4e00\u4e9b\u5b98\u65b9\u7f51\u7ad9"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://dev.java/"},"dev.java")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://jdk.java.net/"},"jdk.java.net")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://openjdk.org/"},"openjdk.org")),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("a",{parentName:"li",href:"https://www.oracle.com/java/technologies/java-se-glance.html"},"www.oracle.com/java"))),(0,r.yg)("h3",{id:"\u4ece-jdk-8-\u5230-jdk-17-\u7684\u65b0\u7279\u6027"},"\u4ece JDK 8 \u5230 JDK 17 \u7684\u65b0\u7279\u6027"),(0,r.yg)("h4",{id:"jdk-8-\u65b0\u7279\u60272014-\u5e74-3-\u6708"},"JDK 8 \u65b0\u7279\u6027\uff082014 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"Lambda \u8868\u8fbe\u5f0f\uff1aLambda \u8868\u8fbe\u5f0f\u662f JDK 8 \u4e2d\u6700\u91cd\u8981\u7684\u65b0\u7279\u6027\u4e4b\u4e00\u3002\u5b83\u5141\u8bb8\u6211\u4eec\u4ee5\u4e00\u79cd\u66f4\u7b80\u6d01\u548c\u51fd\u6570\u5f0f\u7684\u65b9\u5f0f\u7f16\u5199\u4ee3\u7801\u3002\u901a\u8fc7 Lambda \u8868\u8fbe\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9\u5176\u4ed6\u65b9\u6cd5\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u52a0\u7075\u6d3b\u7684\u7f16\u7a0b\u3002Lambda \u8868\u8fbe\u5f0f\u4f7f\u5f97\u4ee3\u7801\u66f4\u6613\u8bfb\u3001\u6613\u5199\uff0c\u5e76\u4e14\u53ef\u4ee5\u63d0\u5347\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u3002"),(0,r.yg)("li",{parentName:"ul"},"Stream API\uff1aStream API \u662f JDK 8 \u4e2d\u5f15\u5165\u7684\u4e00\u5957\u7528\u4e8e\u5904\u7406\u96c6\u5408\u548c\u6570\u7ec4\u7684\u65b0 API\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u6d41\u5f0f\u5904\u7406\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u5bf9\u6570\u636e\u8fdb\u884c\u64cd\u4f5c\u548c\u5904\u7406\u3002Stream API \u652f\u6301\u5e76\u884c\u5904\u7406\uff0c\u53ef\u4ee5\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6267\u884c\u6548\u7387\u3002\u901a\u8fc7\u4f7f\u7528 Stream API\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u7b80\u5355\u5730\u5b9e\u73b0\u8fc7\u6ee4\u3001\u6620\u5c04\u3001\u5f52\u7ea6\u7b49\u64cd\u4f5c\uff0c\u5e76\u4e14\u53ef\u4ee5\u4ee5\u66f4\u4f18\u96c5\u7684\u65b9\u5f0f\u5904\u7406\u96c6\u5408\u6570\u636e\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u51fd\u6570\u5f0f\u63a5\u53e3\uff1aJDK 8 \u5f15\u5165\u4e86\u51fd\u6570\u5f0f\u63a5\u53e3\u7684\u6982\u5ff5\u3002\u51fd\u6570\u5f0f\u63a5\u53e3\u662f\u53ea\u5305\u542b\u4e00\u4e2a\u62bd\u8c61\u65b9\u6cd5\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u4f5c Lambda \u8868\u8fbe\u5f0f\u7684\u7c7b\u578b\u3002\u51fd\u6570\u5f0f\u63a5\u53e3\u53ef\u4ee5\u901a\u8fc7@FunctionalInterface \u6ce8\u89e3\u6765\u6807\u8bb0\uff0c\u4ee5\u786e\u4fdd\u5b83\u53ea\u5305\u542b\u4e00\u4e2a\u62bd\u8c61\u65b9\u6cd5\u3002\u51fd\u6570\u5f0f\u63a5\u53e3\u7684\u5f15\u5165\u4f7f\u5f97 Java \u652f\u6301\u51fd\u6570\u5f0f\u7f16\u7a0b\uff0c\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u4f7f\u7528 Lambda \u8868\u8fbe\u5f0f\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u9ed8\u8ba4\u65b9\u6cd5\uff1a\u5728 JDK 8 \u4e4b\u524d\uff0c\u63a5\u53e3\u53ea\u80fd\u5305\u542b\u62bd\u8c61\u65b9\u6cd5\u548c\u5e38\u91cf\u3002JDK 8 \u5f15\u5165\u4e86\u9ed8\u8ba4\u65b9\u6cd5\u7684\u6982\u5ff5\uff0c\u53ef\u4ee5\u5728\u63a5\u53e3\u4e2d\u5b9e\u73b0\u65b9\u6cd5\u7684\u9ed8\u8ba4\u5b9e\u73b0\u3002\u9ed8\u8ba4\u65b9\u6cd5\u53ef\u4ee5\u5728\u63a5\u53e3\u4e2d\u63d0\u4f9b\u4e00\u4e2a\u9ed8\u8ba4\u7684\u5b9e\u73b0\uff0c\u4ece\u800c\u907f\u514d\u56e0\u4e3a\u63a5\u53e3\u7684\u6539\u53d8\u800c\u5bfc\u81f4\u5b9e\u73b0\u7c7b\u9700\u8981\u8fdb\u884c\u4fee\u6539\u3002\u9ed8\u8ba4\u65b9\u6cd5\u4f7f\u5f97\u63a5\u53e3\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u6269\u5c55\uff0c\u540c\u65f6\u4fdd\u6301\u5411\u540e\u517c\u5bb9\u6027\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u65b9\u6cd5\u5f15\u7528\uff1a\u65b9\u6cd5\u5f15\u7528\u662f\u4e00\u79cd\u66f4\u7b80\u6d01\u5730\u8868\u793a Lambda \u8868\u8fbe\u5f0f\u7684\u65b9\u5f0f\u3002\u5b83\u5141\u8bb8\u6211\u4eec\u76f4\u63a5\u5f15\u7528\u5df2\u7ecf\u5b58\u5728\u7684\u65b9\u6cd5\uff0c\u800c\u4e0d\u662f\u901a\u8fc7 Lambda \u8868\u8fbe\u5f0f\u6765\u5b9e\u73b0\u3002\u65b9\u6cd5\u5f15\u7528\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\uff0c\u540c\u65f6\u51cf\u5c11\u91cd\u590d\u4ee3\u7801\u7684\u7f16\u5199\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u65b0\u7684\u65e5\u671f\u548c\u65f6\u95f4 API\uff1aJDK 8 \u5f15\u5165\u4e86\u4e00\u5957\u5168\u65b0\u7684\u65e5\u671f\u548c\u65f6\u95f4 API\uff0c\u7528\u4e8e\u66ff\u4ee3\u65e7\u7684 Date \u548c Calendar \u7c7b\u3002\u65b0\u7684\u65e5\u671f\u548c\u65f6\u95f4 API \u66f4\u52a0\u7b80\u5355\u6613\u7528\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u529f\u80fd\u3002\u5b83\u652f\u6301\u65e5\u671f\u3001\u65f6\u95f4\u3001\u65f6\u533a\u3001\u65f6\u95f4\u95f4\u9694\u7b49\u7684\u5904\u7406\uff0c\u540c\u65f6\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u64cd\u4f5c\u65b9\u6cd5\u548c\u683c\u5f0f\u5316\u9009\u9879\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5e76\u53d1\u589e\u5f3a\uff1aJDK 8 \u5bf9\u5e76\u53d1\u7f16\u7a0b\u8fdb\u884c\u4e86\u589e\u5f3a\u3002\u5b83\u5f15\u5165\u4e86\u4e00\u4e9b\u65b0\u7684\u5e76\u53d1\u5de5\u5177\u548c\u7c7b\uff0c\u4f7f\u5f97\u5e76\u53d1\u7f16\u7a0b\u66f4\u52a0\u5bb9\u6613\u548c\u6709\u6548\u3002\u5176\u4e2d\u5305\u62ec CompletableFuture \u7c7b\u3001StampedLock \u7c7b\u3001\u5e76\u884c\u6570\u7ec4\u7b49\u3002\u8fd9\u4e9b\u589e\u5f3a\u4f7f\u5f97\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u66f4\u597d\u5730\u5904\u7406\u5e76\u53d1\u95ee\u9898\uff0c\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5176\u4ed6\u6539\u8fdb\uff1a\u9664\u4e86\u4ee5\u4e0a\u63d0\u5230\u7684\u4e3b\u8981\u65b0\u7279\u6027\u5916\uff0cJDK 8 \u8fd8\u5f15\u5165\u4e86\u8bb8\u591a\u5176\u4ed6\u7684\u6539\u8fdb\uff0c\u5305\u62ec\u6539\u8fdb\u7684\u7c7b\u578b\u63a8\u65ad\u3001\u91cd\u590d\u6ce8\u89e3\u3001\u65b0\u7684\u7f16\u8bd1\u5668 API \u7b49\u3002\u8fd9\u4e9b\u6539\u8fdb\u4f7f\u5f97 Java \u8bed\u8a00\u66f4\u52a0\u73b0\u4ee3\u5316\u548c\u5f3a\u5927\uff0c\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u7f16\u7a0b\u9009\u9879\u548c\u7075\u6d3b\u6027\u3002")),(0,r.yg)("h4",{id:"jdk-9-\u65b0\u7279\u60272017-\u5e74-9-\u6708"},"JDK 9 \u65b0\u7279\u6027\uff082017 \u5e74 9 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u6a21\u5757\u5316"),(0,r.yg)("li",{parentName:"ul"},"\u63d0\u4f9b\u4e86 List.of()\u3001Set.of()\u3001Map.of() \u548c Map.ofEntries() \u7b49\u5de5\u5382\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"\u63a5\u53e3\u652f\u6301\u79c1\u6709\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"Optional \u7c7b\u6539\u8fdb"),(0,r.yg)("li",{parentName:"ul"},"\u591a\u7248\u672c\u517c\u5bb9 Jar \u5305"),(0,r.yg)("li",{parentName:"ul"},"JShell \u5de5\u5177"),(0,r.yg)("li",{parentName:"ul"},"try-with-resources \u7684\u6539\u8fdb"),(0,r.yg)("li",{parentName:"ul"},"Stream API \u7684\u6539\u8fdb"),(0,r.yg)("li",{parentName:"ul"},(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("em",{parentName:"strong"},"\u8bbe\u7f6e G1 \u4e3a JVM \u9ed8\u8ba4\u5783\u573e\u6536\u96c6\u5668"))),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301 HTTP 2.0 \u548c WebSocket \u7684 API\n",(0,r.yg)("strong",{parentName:"li"},(0,r.yg)("em",{parentName:"strong"},"\u91cd\u8981\u7279\u6027\uff1aAPI \u7684\u4f18\u5316\uff0c\u5982\u652f\u6301 HTTP 2 \u7684 Client API\u3001JVM \u91c7\u7528 G1 \u4e3a\u9ed8\u8ba4\u5783\u573e\u6536\u96c6\u5668\u3002")))),(0,r.yg)("h4",{id:"jdk-10-\u65b0\u7279\u60272018-\u5e74-3-\u6708"},"JDK 10 \u65b0\u7279\u6027\uff082018 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u5c40\u90e8\u53d8\u91cf\u7c7b\u578b\u63a8\u65ad\uff0c\u7c7b\u4f3c JS \u53ef\u4ee5\u901a\u8fc7 var \u6765\u4fee\u9970\u5c40\u90e8\u53d8\u91cf\uff0c\u7f16\u8bd1\u4e4b\u540e\u4f1a\u63a8\u65ad\u51fa\u503c\u7684\u771f\u5b9e\u7c7b\u578b"),(0,r.yg)("li",{parentName:"ul"},"\u4e0d\u53ef\u53d8\u96c6\u5408\u7684\u6539\u8fdb"),(0,r.yg)("li",{parentName:"ul"},"\u5e76\u884c\u5168\u5783\u573e\u56de\u6536\u5668 G1\uff0c\u6765\u4f18\u5316 G1 \u7684\u5ef6\u8fdf"),(0,r.yg)("li",{parentName:"ul"},"\u7ebf\u7a0b\u672c\u5730\u63e1\u624b\uff0c\u5141\u8bb8\u5728\u4e0d\u6267\u884c\u5168\u5c40 VM \u5b89\u5168\u70b9\u7684\u60c5\u51b5\u4e0b\u6267\u884c\u7ebf\u7a0b\u56de\u8c03\uff0c\u53ef\u4ee5\u505c\u6b62\u5355\u4e2a\u7ebf\u7a0b\uff0c\u800c\u4e0d\u9700\u8981\u505c\u6b62\u6240\u6709\u7ebf\u7a0b\u6216\u4e0d\u505c\u6b62\u7ebf\u7a0b"),(0,r.yg)("li",{parentName:"ul"},"Optional \u65b0\u589e orElseThrow() \u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"\u7c7b\u6570\u636e\u5171\u4eab"),(0,r.yg)("li",{parentName:"ul"},"Unicode \u8bed\u8a00\u6807\u7b7e\u6269\u5c55"),(0,r.yg)("li",{parentName:"ul"},"\u6839\u8bc1\u4e66")),(0,r.yg)("p",null,(0,r.yg)("strong",{parentName:"p"},(0,r.yg)("em",{parentName:"strong"},"\u91cd\u8981\u7279\u6027\uff1a\u901a\u8fc7 var \u5173\u952e\u5b57\u5b9e\u73b0\u5c40\u90e8\u53d8\u91cf\u7c7b\u578b\u63a8\u65ad\uff0c\u4f7f Java \u8bed\u8a00\u53d8\u6210\u5f31\u7c7b\u578b\u8bed\u8a00\u3001JVM \u7684 G1 \u5783\u573e\u56de\u6536\u7531\u5355\u7ebf\u7a0b\u6539\u6210\u591a\u7ebf\u7a0b\u5e76\u884c\u5904\u7406\uff0c\u964d\u4f4e G1 \u7684\u505c\u987f\u65f6\u95f4\u3002"))),(0,r.yg)("h4",{id:"jdk-11-\u65b0\u7279\u60272018-\u5e74-9-\u6708lts-\u7248\u672c"},"JDK 11 \u65b0\u7279\u6027\uff082018 \u5e74 9 \u6708\uff09\uff08LTS \u7248\u672c\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u589e\u52a0\u4e00\u4e9b\u5b57\u7b26\u4e32\u5904\u7406\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"\u7528\u4e8e Lambda \u53c2\u6570\u7684\u5c40\u90e8\u53d8\u91cf\u8bed\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"Http Client \u91cd\u5199\uff0c\u652f\u6301 HTTP/1.1 \u548c HTTP/2\uff0c\u4e5f\u652f\u6301 websockets"),(0,r.yg)("li",{parentName:"ul"},"\u53ef\u8fd0\u884c\u5355\u4e00 Java \u6e90\u7801\u6587\u4ef6\uff0c\u5982\uff1ajava Test.java"),(0,r.yg)("li",{parentName:"ul"},"ZGC\uff1a\u53ef\u4f38\u7f29\u4f4e\u5ef6\u8fdf\u5783\u573e\u6536\u96c6\u5668\u3002ZGC \u53ef\u4ee5\u770b\u4f5c\u662f G1 \u4e4b\u4e0a\u66f4\u7ec6\u7c92\u5ea6\u7684\u5185\u5b58\u7ba1\u7406\u7b56\u7565\u3002\u7531\u4e8e\u5185\u5b58\u7684\u4e0d\u65ad\u5206\u914d\u56de\u6536\u4f1a\u4ea7\u751f\u5927\u91cf\u7684\u5185\u5b58\u788e\u7247\u7a7a\u95f4\uff0c\u56e0\u6b64\u9700\u8981\u6574\u7406\u7b56\u7565\u9632\u6b62\u5185\u5b58\u7a7a\u95f4\u788e\u7247\u5316\u3002\u5728\u6574\u7406\u671f\u95f4\u9700\u8981\u5c06\u5bf9\u4e8e\u5185\u5b58\u5f15\u7528\u7684\u7ebf\u7a0b\u903b\u8f91\u6682\u505c\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u88ab\u79f0\u4e3a\u201cStop the world\u201d\u3002\u53ea\u6709\u5f53\u6574\u7406\u5b8c\u6210\u540e\uff0c\u7ebf\u7a0b\u903b\u8f91\u624d\u53ef\u4ee5\u7ee7\u7eed\u8fd0\u884c\u3002\uff08\u5e76\u884c\u56de\u6536\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301 TLS 1.3 \u534f\u8bae"),(0,r.yg)("li",{parentName:"ul"},"Flight Recorder\uff08\u98de\u884c\u8bb0\u5f55\u5668\uff09\uff0c\u57fa\u4e8e OS\u3001JVM \u548c JDK \u7684\u4e8b\u4ef6\u4ea7\u751f\u7684\u6570\u636e\u6536\u96c6\u6846\u67b6"),(0,r.yg)("li",{parentName:"ul"},"\u5bf9 Stream\u3001Optional\u3001\u96c6\u5408 API \u8fdb\u884c\u589e\u5f3a")),(0,r.yg)("p",null,(0,r.yg)("strong",{parentName:"p"},(0,r.yg)("em",{parentName:"strong"},"\u91cd\u8981\u7279\u6027\uff1a\u5bf9\u4e8e JDK 9 \u548c JDK 10 \u7684\u5b8c\u5584\uff0c\u4e3b\u8981\u662f\u5bf9\u4e8e Stream\u3001\u96c6\u5408\u7b49 API \u7684\u589e\u5f3a\u3001\u65b0\u589e ZGC \u5783\u573e\u6536\u96c6\u5668\u3002"))),(0,r.yg)("h4",{id:"jdk-12-\u65b0\u7279\u60272019-\u5e74-3-\u6708"},"JDK 12 \u65b0\u7279\u6027\uff082019 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"Switch \u8868\u8fbe\u5f0f\u6269\u5c55\uff0c\u53ef\u4ee5\u6709\u8fd4\u56de\u503c"),(0,r.yg)("li",{parentName:"ul"},"\u65b0\u589e NumberFormat \u5bf9\u590d\u6742\u6570\u5b57\u7684\u683c\u5f0f\u5316"),(0,r.yg)("li",{parentName:"ul"},"\u5b57\u7b26\u4e32\u652f\u6301 transform\u3001indent \u64cd\u4f5c"),(0,r.yg)("li",{parentName:"ul"},"\u65b0\u589e\u65b9\u6cd5 Files.mismatch(Path, Path)"),(0,r.yg)("li",{parentName:"ul"},"Teeing Collector"),(0,r.yg)("li",{parentName:"ul"},"\u652f\u6301 unicode 11"),(0,r.yg)("li",{parentName:"ul"},"Shenandoah GC\uff0c\u65b0\u589e\u7684 GC \u7b97\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"G1 \u6536\u96c6\u5668\u7684\u4f18\u5316\uff0c\u5c06 GC \u7684\u5783\u573e\u5206\u4e3a\u5f3a\u5236\u90e8\u5206\u548c\u53ef\u9009\u90e8\u5206\uff0c\u5f3a\u5236\u90e8\u5206\u4f1a\u88ab\u56de\u6536\uff0c\u53ef\u9009\u90e8\u5206\u53ef\u80fd\u4e0d\u4f1a\u88ab\u56de\u6536\uff0c\u63d0\u9ad8 GC \u7684\u6548\u7387")),(0,r.yg)("p",null,(0,r.yg)("strong",{parentName:"p"},(0,r.yg)("em",{parentName:"strong"},"\u91cd\u8981\u7279\u6027\uff1aswitch \u8868\u8fbe\u5f0f\u8bed\u6cd5\u6269\u5c55\u3001G1 \u6536\u96c6\u5668\u4f18\u5316\u3001\u65b0\u589e Shenandoah GC \u5783\u573e\u56de\u6536\u7b97\u6cd5\u3002"))),(0,r.yg)("h4",{id:"jdk-13-\u65b0\u7279\u60272019-\u5e74-9-\u6708"},"JDK 13 \u65b0\u7279\u6027\uff082019 \u5e74 9 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"Switch \u8868\u8fbe\u5f0f\u6269\u5c55\uff0cSwitch \u8868\u8fbe\u5f0f\u589e\u52a0 yield \u5173\u952e\u5b57\u7528\u4e8e\u8fd4\u56de\u7ed3\u679c\uff0c\u4f5c\u7528\u7c7b\u4f3c\u4e8e return\uff0c\u5982\u679c\u6ca1\u6709\u8fd4\u56de\u7ed3\u679c\u5219\u4f7f\u7528 break"),(0,r.yg)("li",{parentName:"ul"},'\u6587\u672c\u5757\u5347\u7ea7 """ \uff0c\u5f15\u5165\u4e86\u6587\u672c\u5757\uff0c\u53ef\u4ee5\u4f7f\u7528 3 \u4e2a\u53cc\u5f15\u53f7\u8868\u793a\u6587\u672c\u5757\uff0c\u6587\u672c\u5757\u5185\u90e8\u4e0d\u9700\u8981\u4f7f\u7528\u6362\u884c\u7684\u8f6c\u4e49\u5b57\u7b26'),(0,r.yg)("li",{parentName:"ul"},"SocketAPI \u91cd\u6784\uff0cSocket \u7684\u5e95\u5c42\u5b9e\u73b0\u4f18\u5316\uff0c\u5f15\u5165\u4e86 NIO"),(0,r.yg)("li",{parentName:"ul"},"FileSystems.newFileSystem \u65b0\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"ZGC \u4f18\u5316\uff0c\u589e\u5f3a ZGC \u91ca\u653e\u672a\u4f7f\u7528\u5185\u5b58\uff0c\u5c06\u6807\u8bb0\u957f\u65f6\u95f4\u7a7a\u95f2\u7684\u5806\u5185\u5b58\u7a7a\u95f4\u8fd4\u8fd8\u7ed9\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4fdd\u8bc1\u5806\u5927\u5c0f\u4e0d\u4f1a\u5c0f\u4e8e\u914d\u7f6e\u7684\u6700\u5c0f\u5806\u5185\u5b58\u5927\u5c0f\uff0c\u5982\u679c\u5806\u6700\u5927\u548c\u6700\u5c0f\u5185\u5b58\u5927\u5c0f\u8bbe\u7f6e\u4e00\u6837\uff0c\u5219\u4e0d\u4f1a\u91ca\u653e\u5185\u5b58\u8fd8\u7ed9\u64cd\u4f5c\u7cfb\u7edf"),(0,r.yg)("li",{parentName:"ul"},"\u91cd\u8981\u7279\u6027\uff1aZGC \u4f18\u5316\uff0c\u91ca\u653e\u5185\u5b58\u8fd8\u7ed9\u64cd\u4f5c\u7cfb\u7edf\u3001Socket \u5e95\u5c42\u5b9e\u73b0\u5f15\u5165 NIO\u3002")),(0,r.yg)("h4",{id:"jdk-14-\u65b0\u7279\u60272020-\u5e74-3-\u6708"},"JDK 14 \u65b0\u7279\u6027\uff082020 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"instanceof \u6a21\u5f0f\u5339\u914d\uff0cinstanceof \u7c7b\u578b\u5339\u914d\u8bed\u6cd5\u7b80\u5316\uff0c\u53ef\u4ee5\u76f4\u63a5\u7ed9\u5bf9\u8c61\u8d4b\u503c\uff0c\u5982 if(obj instanceof String str)\uff0c\u5982\u679c obj \u662f\u5b57\u7b26\u4e32\u7c7b\u578b\u5219\u76f4\u63a5\u8d4b\u503c\u7ed9\u4e86 str \u53d8\u91cf"),(0,r.yg)("li",{parentName:"ul"},"\u5f15\u5165 Record \u7c7b\u578b\uff0c\u7c7b\u4f3c\u4e8e Lombok \u7684 @Data \u6ce8\u89e3\uff0c\u53ef\u4ee5\u5411 Lombok \u4e00\u6837\u81ea\u52a8\u751f\u6210\u6784\u9020\u5668\u3001equals\u3001getter \u7b49\u65b9\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"Switch \u8868\u8fbe\u5f0f-\u6807\u51c6\u5316"),(0,r.yg)("li",{parentName:"ul"},"\u6539\u8fdb NullPointerExceptions \u63d0\u793a\u4fe1\u606f\uff0c\u6253\u5370\u5177\u4f53\u54ea\u4e2a\u65b9\u6cd5\u629b\u7684\u7a7a\u6307\u9488\u5f02\u5e38\uff0c\u907f\u514d\u540c\u4e00\u884c\u4ee3\u7801\u591a\u4e2a\u51fd\u6570\u8c03\u7528\u65f6\u65e0\u6cd5\u5224\u65ad\u5177\u4f53\u662f\u54ea\u4e2a\u51fd\u6570\u629b\u5f02\u5e38\u7684\u56f0\u6270\uff0c\u65b9\u4fbf\u5f02\u5e38\u6392\u67e5"),(0,r.yg)("li",{parentName:"ul"},"\u5220\u9664 CMS \u5783\u573e\u56de\u6536\u5668"),(0,r.yg)("li",{parentName:"ul"},"JDK 15 \u65b0\u7279\u6027\uff082020 \u5e74 9 \u6708\uff09"),(0,r.yg)("li",{parentName:"ul"},"EdDSA \u6570\u5b57\u7b7e\u540d\u7b97\u6cd5"),(0,r.yg)("li",{parentName:"ul"},"Sealed Classes\uff08\u5c01\u95ed\u7c7b\uff0c\u9884\u89c8\uff09\uff0c\u901a\u8fc7 sealed \u5173\u952e\u5b57\u4fee\u9970\u62bd\u8c61\u7c7b\u9650\u5b9a\u53ea\u5141\u8bb8\u6307\u5b9a\u7684\u5b50\u7c7b\u624d\u53ef\u4ee5\u5b9e\u73b0\u6216\u7ee7\u627f\u62bd\u8c61\u7c7b\uff0c\u907f\u514d\u62bd\u8c61\u7c7b\u88ab\u6ee5\u7528"),(0,r.yg)("li",{parentName:"ul"},"Hidden Classes\uff08\u9690\u85cf\u7c7b\uff09"),(0,r.yg)("li",{parentName:"ul"},"\u79fb\u9664 Nashorn JavaScript \u5f15\u64ce"),(0,r.yg)("li",{parentName:"ul"},"\u6539\u8fdb java.net.DatagramSocket \u548c java.net.MulticastSocket \u5e95\u5c42\u5b9e\u73b0")),(0,r.yg)("h4",{id:"jdk-16-\u65b0\u7279\u60272021-\u5e74-3-\u6708"},"JDK 16 \u65b0\u7279\u6027\uff082021 \u5e74 3 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u5141\u8bb8\u5728 JDK C ++\u6e90\u4ee3\u7801\u4e2d\u4f7f\u7528 C ++ 14 \u529f\u80fd"),(0,r.yg)("li",{parentName:"ul"},"ZGC \u6027\u80fd\u4f18\u5316\uff0c\u53bb\u6389 ZGC \u7ebf\u7a0b\u5806\u6808\u5904\u7406\u4ece\u5b89\u5168\u70b9\u5230\u5e76\u53d1\u9636\u6bb5"),(0,r.yg)("li",{parentName:"ul"},"\u589e\u52a0 Unix \u57df\u5957\u63a5\u5b57\u901a\u9053"),(0,r.yg)("li",{parentName:"ul"},"\u5f39\u6027\u5143\u7a7a\u95f4\u80fd\u529b"),(0,r.yg)("li",{parentName:"ul"},"\u63d0\u4f9b\u7528\u4e8e\u6253\u5305\u72ec\u7acb Java \u5e94\u7528\u7a0b\u5e8f\u7684 jpackage \u5de5\u5177")),(0,r.yg)("p",null,"JDK 16 \u76f8\u5f53\u4e8e\u662f\u5c06 JDK 14\u3001JDK 15 \u7684\u4e00\u4e9b\u7279\u6027\u8fdb\u884c\u4e86\u6b63\u5f0f\u5f15\u5165\uff0c\u5982 instanceof \u6a21\u5f0f\u5339\u914d\uff08Pattern matching\uff09\u3001record \u7684\u5f15\u5165\u7b49\u6700\u7ec8\u5230 JDK 16 \u53d8\u6210\u4e86 final \u7248\u672c\u3002"),(0,r.yg)("h4",{id:"jdk-17-\u65b0\u7279\u60272021-\u5e74-9-\u6708lts-\u7248\u672c"},"JDK 17 \u65b0\u7279\u6027\uff082021 \u5e74 9 \u6708\uff09\uff08LTS \u7248\u672c\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"Free Java License"),(0,r.yg)("li",{parentName:"ul"},"JDK 17 \u5c06\u53d6\u4ee3 JDK 11 \u6210\u4e3a\u4e0b\u4e00\u4e2a\u957f\u671f\u652f\u6301\u7248\u672c"),(0,r.yg)("li",{parentName:"ul"},"Spring 6 \u548c Spring Boot 3 \u9700\u8981 JDK17"),(0,r.yg)("li",{parentName:"ul"},"\u79fb\u9664\u5b9e\u9a8c\u6027\u7684 AOT \u548c JIT \u7f16\u8bd1\u5668"),(0,r.yg)("li",{parentName:"ul"},"\u6062\u590d\u59cb\u7ec8\u6267\u884c\u4e25\u683c\u6a21\u5f0f (Always-Strict) \u7684\u6d6e\u70b9\u5b9a\u4e49"),(0,r.yg)("li",{parentName:"ul"},"\u6b63\u5f0f\u5f15\u5165\u5bc6\u5c01\u7c7b sealed class\uff0c\u9650\u5236\u62bd\u8c61\u7c7b\u7684\u5b9e\u73b0"),(0,r.yg)("li",{parentName:"ul"},"\u7edf\u4e00\u65e5\u5fd7\u5f02\u6b65\u5237\u65b0\uff0c\u5148\u5c06\u65e5\u5fd7\u5199\u5165\u7f13\u5b58\uff0c\u7136\u540e\u518d\u5f02\u6b65\u5237\u65b0")),(0,r.yg)("p",null,"\u867d\u7136 JDK 17 \u4e5f\u662f\u4e00\u4e2a LTS \u7248\u672c\uff0c\u4f46\u662f\u5e76\u6ca1\u6709\u50cf JDK 8 \u548c JDK 11 \u4e00\u6837\u5f15\u5165\u6bd4\u8f83\u7a81\u51fa\u7684\u7279\u6027\uff0c\u4e3b\u8981\u662f\u5bf9\u524d\u51e0\u4e2a\u7248\u672c\u7684\u6574\u5408\u548c\u5b8c\u5584\u3002"),(0,r.yg)("h4",{id:"jdk-21-\u65b0\u7279\u60272023-\u5e74-9-\u6708"},"JDK 21 \u65b0\u7279\u6027\uff082023 \u5e74 9 \u6708\uff09"),(0,r.yg)("ul",null,(0,r.yg)("li",{parentName:"ul"},"\u5b57\u7b26\u4e32\u6a21\u677f\uff0c\u53ef\u4ee5\u50cf\u5176\u4ed6\u8bed\u8a00\u90a3\u6837\u5b50\u65b9\u4fbf\u7684\u505a\u5b57\u7b26\u4e32\u62fc\u63a5\uff0c\u662f+\u53f7\uff0cStringBuilder\uff0cMessageFormat \u4e4b\u5916\u66f4\u65b9\u4fbf\u7684\u5b57\u7b26\u4e32\u62fc\u63a5\u65b9\u6cd5\u3002\n\u6ce8\u610f\uff1a\u8fd9\u4e2a\u7279\u6027\u867d\u7136\u8fd8\u5728\u9884\u89c8\u9636\u6bb5\uff0c\u8fd8\u4e0d\u5c5e\u4e8e\u6b63\u5f0f\u53d1\u5e03\uff0c\u4f46\u662f\u82e5\u80fd\u6700\u7ec8\u8fdb\u5165\u53d1\u5e03\uff0c\u80fd\u591f\u5927\u5927\u51cf\u8f7b\u4e86 Java \u7f16\u7a0b\u65f6\u590d\u6742\u5b57\u7b26\u4e32\u7684\u7f16\u8f91\u5904\u7406\u5de5\u4f5c\u91cf\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5f15\u5165\u65b0\u7684\u63a5\u53e3\u6765\u8868\u793a\u5177\u6709\u5b9a\u4e49\u76f8\u9047\u987a\u5e8f\u7684\u96c6\u5408\u3002\u6bcf\u4e2a\u8fd9\u6837\u7684\u96c6\u5408\u90fd\u6709\u5b9a\u4e49\u660e\u786e\u7684\u7b2c\u4e00\u4e2a\u5143\u7d20\u3001\u7b2c\u4e8c\u4e2a\u5143\u7d20\uff0c\u4ee5\u6b64\u7c7b\u63a8\uff0c\u76f4\u5230\u6700\u540e\u4e00\u4e2a\u5143\u7d20\u3002\u5b83\u8fd8\u63d0\u4f9b\u4e86\u7edf\u4e00\u7684\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff0c\u7528\u4e8e\u8bbf\u95ee\u5176\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u5143\u7d20\uff0c\u4ee5\u53ca\u4ee5\u76f8\u53cd\u7684\u987a\u5e8f\u5904\u7406\u5176\u5143\u7d20\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u901a\u8fc7\u6269\u5c55 Z \u5783\u573e\u6536\u96c6\u5668\uff08ZGC\uff09\uff0c\u4e3a\u65b0\u65e7\u5bf9\u8c61\u5206\u522b\u4fdd\u7559\u4e0d\u540c\u7684\u4e16\u4ee3\uff0c\u4ece\u800c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u8fd9\u5c06\u5141\u8bb8 ZGC \u66f4\u9891\u7e41\u5730\u6536\u96c6\u5e74\u8f7b\u4ee3\u7684\u5bf9\u8c61\uff08\u5bf9\u8c61\u5f80\u5f80\u9891\u7e41\u5730\u82f1\u5e74\u65e9\u901d\uff09\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u4f7f\u7528\u8bb0\u5f55\u6a21\u5f0f\u6765\u89e3\u6784\u8bb0\u5f55\u503c\uff0c\u4ece\u800c\u589e\u5f3a Java \u7f16\u7a0b\u8bed\u8a00\u7684\u529f\u80fd\u3002\u8bb0\u5f55\u6a21\u5f0f\u548c\u7c7b\u578b\u6a21\u5f0f\u53ef\u4ee5\u5d4c\u5957\uff0c\u4ee5\u5b9e\u73b0\u5f3a\u5927\u3001\u58f0\u660e\u6027\u548c\u53ef\u7ec4\u5408\u7684\u6570\u636e\u5bfc\u822a\u548c\u5904\u7406\u5f62\u5f0f\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u7528\u6a21\u5f0f\u5339\u914d\u6765\u589e\u5f3a Java \u7f16\u7a0b\u8bed\u8a00\u7684\u5f00\u5173\u8868\u8fbe\u5f0f\u548c\u8bed\u53e5\u3002\u5c06\u6a21\u5f0f\u5339\u914d\u6269\u5c55\u5230\u5f00\u5173\u540e\uff0c\u8868\u8fbe\u5f0f\u5c31\u53ef\u4ee5\u6839\u636e\u591a\u4e2a\u6a21\u5f0f\uff08\u6bcf\u4e2a\u6a21\u5f0f\u90fd\u6709\u7279\u5b9a\u7684\u64cd\u4f5c\uff09\u8fdb\u884c\u6d4b\u8bd5\uff0c\u4ece\u800c\u53ef\u4ee5\u7b80\u6d01\u5b89\u5168\u5730\u8868\u8fbe\u9762\u5411\u6570\u636e\u7684\u590d\u6742\u67e5\u8be2\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5f15\u5165\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff08API\uff09\uff0c\u4f7f Java \u7a0b\u5e8f\u80fd\u591f\u4e0e Java \u8fd0\u884c\u65f6\u4e4b\u5916\u7684\u4ee3\u7801\u548c\u6570\u636e\u4e92\u64cd\u4f5c\u3002\u901a\u8fc7\u9ad8\u6548\u5730\u8c03\u7528\u5916\u6765\u51fd\u6570\uff08\u5373 JVM \u4e4b\u5916\u7684\u4ee3\u7801\uff09\u548c\u5b89\u5168\u5730\u8bbf\u95ee\u5916\u6765\u5185\u5b58\uff08\u5373 JVM \u7ba1\u7406\u4e4b\u5916\u7684\u5185\u5b58\uff09\uff0c- API \u4f7f Java \u7a0b\u5e8f\u80fd\u591f\u8c03\u7528\u672c\u5730\u5e93\u548c\u5904\u7406\u672c\u5730\u6570\u636e\uff0c\u800c\u4e0d\u4f1a\u51fa\u73b0 JNI \u7684\u8106\u6027\u548c\u5371\u9669\u3002\u8fd9\u662f\u4e00\u4e2a\u9884\u89c8\u7248 API\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u4f7f\u7528\u672a\u547d\u540d\u6a21\u5f0f\u548c\u672a\u547d\u540d\u53d8\u91cf\u6765\u589e\u5f3a Java \u8bed\u8a00\u7684\u529f\u80fd\u3002\u672a\u547d\u540d\u6a21\u5f0f\u7528\u4e8e\u5339\u914d\u8bb0\u5f55\u7ec4\u4ef6\uff0c\u4f46\u4e0d\u8bf4\u660e\u8be5\u7ec4\u4ef6\u7684\u540d\u79f0\u6216\u7c7b\u578b\uff1b\u672a\u547d\u540d\u53d8\u91cf\u7528\u4e8e\u521d\u59cb\u5316\u4f46\u4e0d\u4f7f\u7528\u3002\u4e24\u8005\u90fd\u7528\u4e0b\u5212\u7ebf\u5b57\u7b26 ","_"," \u8868\u793a\u3002\u8fd9\u662f\u4e00\u9879\u9884\u89c8\u8bed\u8a00\u529f\u80fd\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5c06\u865a\u62df\u7ebf\u7a0b\u5f15\u5165 Java \u5e73\u53f0\u3002\u865a\u62df\u7ebf\u7a0b\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7ebf\u7a0b\uff0c\u53ef\u5927\u5927\u51cf\u5c11\u7f16\u5199\u3001\u7ef4\u62a4\u548c\u89c2\u5bdf\u9ad8\u541e\u5410\u91cf\u5e76\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u5de5\u4f5c\u91cf\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u5f15\u5165\u5bc6\u94a5\u5c01\u88c5\u673a\u5236\uff08KEM\uff09\u7684 API \u63a5\u53e3\uff0c\u8fd9\u662f\u4e00\u79cd\u4f7f\u7528\u516c\u94a5\u52a0\u5bc6\u6cd5\u786e\u4fdd\u5bf9\u79f0\u5bc6\u94a5\u5b89\u5168\u7684\u52a0\u5bc6\u6280\u672f\u3002"),(0,r.yg)("li",{parentName:"ul"},"\u901a\u8fc7\u5f15\u5165\u7ed3\u6784\u5316\u5e76\u53d1 API \u6765\u7b80\u5316\u5e76\u53d1\u7f16\u7a0b\u3002\u7ed3\u6784\u5316\u5e76\u53d1\u5c06\u5728\u4e0d\u540c\u7ebf\u7a0b\u4e2d\u8fd0\u884c\u7684\u4e00\u7ec4\u76f8\u5173\u4efb\u52a1\u89c6\u4e3a\u4e00\u4e2a\u5de5\u4f5c\u5355\u5143\uff0c\u4ece\u800c\u7b80\u5316\u4e86\u9519\u8bef\u5904\u7406\u548c\u53d6\u6d88\uff0c\u63d0\u9ad8\u4e86\u53ef\u9760\u6027\u5e76\u589e\u5f3a\u4e86\u53ef\u89c2\u5bdf\u6027\u3002\u8fd9\u662f\u4e00\u4e2a\u9884\u89c8\u7248 API\u3002")))}o.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ed01863f.aafdc1ee.js b/assets/js/ed01863f.2c3d5db8.js similarity index 99% rename from assets/js/ed01863f.aafdc1ee.js rename to assets/js/ed01863f.2c3d5db8.js index 057b60a53..a8f465a26 100644 --- a/assets/js/ed01863f.aafdc1ee.js +++ b/assets/js/ed01863f.2c3d5db8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7144],{15680:(e,t,a)=>{a.d(t,{xA:()=>m,yg:()=>s});var r=a(96540);function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var o=r.createContext({}),u=function(e){var t=r.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},m=function(e){var t=u(e.components);return r.createElement(o.Provider,{value:t},e.children)},c="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var a=e.components,n=e.mdxType,l=e.originalType,o=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),c=u(a),y=n,s=c["".concat(o,".").concat(y)]||c[y]||g[y]||l;return a?r.createElement(s,i(i({ref:t},m),{},{components:a})):r.createElement(s,i({ref:t},m))}));function s(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var l=a.length,i=new Array(l);i[0]=y;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p[c]="string"==typeof e?e:n,i[1]=p;for(var u=2;u{a.r(t),a.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>g,frontMatter:()=>l,metadata:()=>p,toc:()=>u});var r=a(58168),n=(a(96540),a(15680));const l={},i=void 0,p={unversionedId:"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784",id:"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784",title:"\u6e90\u7801\u7ed3\u6784",description:"swagger",source:"@site/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784.md",sourceDirName:"xuanxing/thingsboard",slug:"/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784",permalink:"/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"xuanxingSidebar",previous:{title:"\u5982\u4f55\u4f7f\u7528",permalink:"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528"}},o={},u=[{value:"swagger",id:"swagger",level:3},{value:"\u6e90\u7801\u7ed3\u6784",id:"\u6e90\u7801\u7ed3\u6784",level:3}],m={toc:u},c="wrapper";function g(e){let{components:t,...a}=e;return(0,n.yg)(c,(0,r.A)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"swagger"},"swagger"),(0,n.yg)("p",null,"http://localhost:8080/swagger-ui.html"),(0,n.yg)("h3",{id:"\u6e90\u7801\u7ed3\u6784"},"\u6e90\u7801\u7ed3\u6784"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"application \u4e3b\u7a0b\u5e8f\u5165\u53e3\u6a21\u5757\uff0c\u91cd\u70b9\u5173\u6ce8ThingsboardServerApplication\u542f\u52a8\u7c7b"),(0,n.yg)("li",{parentName:"ul"},"common \u516c\u5171\u6a21\u5757\u7ec4",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"actor actor\u5f00\u53d1\u6a21\u578b\u63a5\u53e3\u6a21\u5757 \u5b9e\u73b0\u5728application\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"cache Redis/Caffeine\u7f13\u5b58\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"cluster-api \u96c6\u7fa4\u529f\u80fd\u63a5\u53e3\u6a21\u5757\uff0c\u961f\u5217\u3001\u6d88\u606f\u901a\u77e5\u7b49"),(0,n.yg)("li",{parentName:"ul"},"coap-server coap\u534f\u8bae\u5b9e\u73b0\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"dao-api dao\u5c42\u63a5\u53e3\u6a21\u5757\uff0c\u5168\u662f\u63a5\u53e3\uff0c\u6ca1\u6709\u5b9e\u73b0"),(0,n.yg)("li",{parentName:"ul"},"data \u5b9e\u4f53\u6a21\u5757\uff0c\u5168\u662f\u4e00\u4e9bDTO\u3001entity\u3001pojo\u7b49\uff0c\u6700\u57fa\u7840\u7684\u6e90\u7801\u5305\uff0c\u4e0d\u4f9d\u8d56\u4efb\u4f55\u5176\u4ed6\u6e90\u7801\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"edge-api \u8fb9\u7f18\u7aefapi\uff0c\u4e3b\u8981\u662f\u8c03\u7528\u7f51\u5173\u7aef\u7684rpc\u8c03\u7528\uff0c\u76ee\u524d\u4ee3\u7801\u6ca1\u6709\u7528\u5230\u6b64\u5305\u7684\u5185\u5bb9"),(0,n.yg)("li",{parentName:"ul"},"message \u6d88\u606f\u901a\u7528\u6a21\u5757\uff0c\u4e2d\u95f4\u4ef6\u6d88\u606f\u3001\u89c4\u5219\u94fe\u6d88\u606f\u7b49\uff0c\u504f\u63a5\u53e3\u3001\u5b9e\u4f53\u3001\u5f02\u5e38\u7c7b"),(0,n.yg)("li",{parentName:"ul"},"queue \u6d88\u606f\u4e2d\u95f4\u4ef6\u3001\u6d88\u606f\u961f\u5217"),(0,n.yg)("li",{parentName:"ul"},"script",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"remote-js-client \u8fdc\u7a0b\u6267\u884cjs\u5ba2\u6237\u7aef\uff0c\u6e90\u7801\u6ca1\u6709\u7528\u5230"),(0,n.yg)("li",{parentName:"ul"},"script-api js\u811a\u672c\u6267\u884c\u6a21\u5757\uff0c\u6e90\u7801\u6ca1\u6709\u7528\u5230"))),(0,n.yg)("li",{parentName:"ul"},"stats \u72b6\u6001\u7edf\u8ba1\u3001\u6d88\u606f\u7edf\u8ba1"),(0,n.yg)("li",{parentName:"ul"},"transport \u4f20\u8f93\u6a21\u5757\u7ec4",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"coap coap\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"http http\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"lwm2m lwm2m\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"mqtt mqtt\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"snmp snmp\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"transport-api \u57fa\u7840\u4f20\u8f93\u6a21\u5757 \u4e0a\u9762\u7684\u4f20\u8f93\u6a21\u5757\u90fd\u9700\u8981\u4f9d\u8d56\u4ed6\uff0c\u4ed6\u7b97\u662f\u6bd4\u8f83\u57fa\u7840\u7684\u6a21\u5757\u4e86"))),(0,n.yg)("li",{parentName:"ul"},"util \u5de5\u5177\u7c7b\u6a21\u5757\uff0c\u53ea\u4f9d\u8d56common/data\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"version-control TODO \u7248\u672c\u63a7\u5236\uff0c\u5177\u4f53\u4e1a\u52a1\u8fd8\u6ca1\u641e\u61c2"))),(0,n.yg)("li",{parentName:"ul"},"dao \u5177\u4f53\u7684dao\u5b9e\u73b0\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"docker \u542f\u7528\u5fae\u670d\u52a1\u7684docker\u914d\u7f6e\u76ee\u5f55\uff0c\u811a\u672c\u3001docker\u914d\u7f6e\u6587\u4ef6\u7b49"),(0,n.yg)("li",{parentName:"ul"},"msa microservices aplication\u5fae\u670d\u52a1\u6a21\u5757\u7ec4",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"black-box-tests"),(0,n.yg)("li",{parentName:"ul"},"js-executor"),(0,n.yg)("li",{parentName:"ul"},"tb \u5355docker\u955c\u50cf"),(0,n.yg)("li",{parentName:"ul"},"tb-node"),(0,n.yg)("li",{parentName:"ul"},"transport \u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757\u7ec4",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"coap coap\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"http http\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"lwm2m lwm2m\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"mqtt mqtt\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"snmp snmp\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"))),(0,n.yg)("li",{parentName:"ul"},"vc-executor TODO \u4f9d\u8d56common/version-control"),(0,n.yg)("li",{parentName:"ul"},"vc-executor-docker vc-executor\u7684docker\u914d\u7f6e\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"web-ui \u524d\u7aef\u7684docker\u914d\u7f6e\u6a21\u5757"))),(0,n.yg)("li",{parentName:"ul"},"netty-mqtt mqtt-broker\u534f\u8bae\u5b9e\u73b0\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"packing \u6253\u5305\u5de5\u5177\u76ee\u5f55\uff0c\u6253rpm\u3001deb\u5305"),(0,n.yg)("li",{parentName:"ul"},"rest-client \u4e8c\u5f00SDK\u6a21\u5757\uff0c\u4e8c\u5f00\u8bf7\u6c42\u5de5\u5177"),(0,n.yg)("li",{parentName:"ul"},"rule-engine \u89c4\u5219\u5f15\u64ce",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"rule-engine-api \u89c4\u5219\u5f15\u64ce\u63a5\u53e3\u6a21\u5757\uff0c\u5168\u662f\u63a5\u53e3\uff0capplication\u4f1a\u5b9e\u73b0"),(0,n.yg)("li",{parentName:"ul"},"rule-engine-components \u89c4\u5219\u5f15\u64ce\u6240\u6709\u5143\u4ef6\u6a21\u5757"))),(0,n.yg)("li",{parentName:"ul"},"tools \u5404\u79cd\u5de5\u5177\u6a21\u5757\uff0c\u6570\u636e\u8fc1\u79fb\u5de5\u5177\u3001Python\u53d1\u9001\u6d88\u606f\u5de5\u5177\u3001shell\u5de5\u5177\u7b49\u7b49"),(0,n.yg)("li",{parentName:"ul"},"transport \u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"coap coap\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"http http\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"lwm2m lwm2m\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"mqtt mqtt\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"snmp snmp\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"))),(0,n.yg)("li",{parentName:"ul"},"ui-ngx \u524d\u7aef\u5de5\u7a0b\u6a21\u5757")))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7144],{15680:(e,t,a)=>{a.d(t,{xA:()=>m,yg:()=>s});var r=a(96540);function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var o=r.createContext({}),u=function(e){var t=r.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},m=function(e){var t=u(e.components);return r.createElement(o.Provider,{value:t},e.children)},c="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var a=e.components,n=e.mdxType,l=e.originalType,o=e.parentName,m=p(e,["components","mdxType","originalType","parentName"]),c=u(a),y=n,s=c["".concat(o,".").concat(y)]||c[y]||g[y]||l;return a?r.createElement(s,i(i({ref:t},m),{},{components:a})):r.createElement(s,i({ref:t},m))}));function s(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var l=a.length,i=new Array(l);i[0]=y;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p[c]="string"==typeof e?e:n,i[1]=p;for(var u=2;u{a.r(t),a.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>g,frontMatter:()=>l,metadata:()=>p,toc:()=>u});var r=a(58168),n=(a(96540),a(15680));const l={},i=void 0,p={unversionedId:"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784",id:"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784",title:"\u6e90\u7801\u7ed3\u6784",description:"swagger",source:"@site/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784.md",sourceDirName:"xuanxing/thingsboard",slug:"/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784",permalink:"/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"xuanxingSidebar",previous:{title:"\u5982\u4f55\u4f7f\u7528",permalink:"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528"}},o={},u=[{value:"swagger",id:"swagger",level:3},{value:"\u6e90\u7801\u7ed3\u6784",id:"\u6e90\u7801\u7ed3\u6784",level:3}],m={toc:u},c="wrapper";function g(e){let{components:t,...a}=e;return(0,n.yg)(c,(0,r.A)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,n.yg)("h3",{id:"swagger"},"swagger"),(0,n.yg)("p",null,"http://localhost:8080/swagger-ui.html"),(0,n.yg)("h3",{id:"\u6e90\u7801\u7ed3\u6784"},"\u6e90\u7801\u7ed3\u6784"),(0,n.yg)("ul",null,(0,n.yg)("li",{parentName:"ul"},"application \u4e3b\u7a0b\u5e8f\u5165\u53e3\u6a21\u5757\uff0c\u91cd\u70b9\u5173\u6ce8ThingsboardServerApplication\u542f\u52a8\u7c7b"),(0,n.yg)("li",{parentName:"ul"},"common \u516c\u5171\u6a21\u5757\u7ec4",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"actor actor\u5f00\u53d1\u6a21\u578b\u63a5\u53e3\u6a21\u5757 \u5b9e\u73b0\u5728application\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"cache Redis/Caffeine\u7f13\u5b58\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"cluster-api \u96c6\u7fa4\u529f\u80fd\u63a5\u53e3\u6a21\u5757\uff0c\u961f\u5217\u3001\u6d88\u606f\u901a\u77e5\u7b49"),(0,n.yg)("li",{parentName:"ul"},"coap-server coap\u534f\u8bae\u5b9e\u73b0\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"dao-api dao\u5c42\u63a5\u53e3\u6a21\u5757\uff0c\u5168\u662f\u63a5\u53e3\uff0c\u6ca1\u6709\u5b9e\u73b0"),(0,n.yg)("li",{parentName:"ul"},"data \u5b9e\u4f53\u6a21\u5757\uff0c\u5168\u662f\u4e00\u4e9bDTO\u3001entity\u3001pojo\u7b49\uff0c\u6700\u57fa\u7840\u7684\u6e90\u7801\u5305\uff0c\u4e0d\u4f9d\u8d56\u4efb\u4f55\u5176\u4ed6\u6e90\u7801\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"edge-api \u8fb9\u7f18\u7aefapi\uff0c\u4e3b\u8981\u662f\u8c03\u7528\u7f51\u5173\u7aef\u7684rpc\u8c03\u7528\uff0c\u76ee\u524d\u4ee3\u7801\u6ca1\u6709\u7528\u5230\u6b64\u5305\u7684\u5185\u5bb9"),(0,n.yg)("li",{parentName:"ul"},"message \u6d88\u606f\u901a\u7528\u6a21\u5757\uff0c\u4e2d\u95f4\u4ef6\u6d88\u606f\u3001\u89c4\u5219\u94fe\u6d88\u606f\u7b49\uff0c\u504f\u63a5\u53e3\u3001\u5b9e\u4f53\u3001\u5f02\u5e38\u7c7b"),(0,n.yg)("li",{parentName:"ul"},"queue \u6d88\u606f\u4e2d\u95f4\u4ef6\u3001\u6d88\u606f\u961f\u5217"),(0,n.yg)("li",{parentName:"ul"},"script",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"remote-js-client \u8fdc\u7a0b\u6267\u884cjs\u5ba2\u6237\u7aef\uff0c\u6e90\u7801\u6ca1\u6709\u7528\u5230"),(0,n.yg)("li",{parentName:"ul"},"script-api js\u811a\u672c\u6267\u884c\u6a21\u5757\uff0c\u6e90\u7801\u6ca1\u6709\u7528\u5230"))),(0,n.yg)("li",{parentName:"ul"},"stats \u72b6\u6001\u7edf\u8ba1\u3001\u6d88\u606f\u7edf\u8ba1"),(0,n.yg)("li",{parentName:"ul"},"transport \u4f20\u8f93\u6a21\u5757\u7ec4",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"coap coap\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"http http\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"lwm2m lwm2m\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"mqtt mqtt\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"snmp snmp\u534f\u8bae\u4f20\u8f93\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"transport-api \u57fa\u7840\u4f20\u8f93\u6a21\u5757 \u4e0a\u9762\u7684\u4f20\u8f93\u6a21\u5757\u90fd\u9700\u8981\u4f9d\u8d56\u4ed6\uff0c\u4ed6\u7b97\u662f\u6bd4\u8f83\u57fa\u7840\u7684\u6a21\u5757\u4e86"))),(0,n.yg)("li",{parentName:"ul"},"util \u5de5\u5177\u7c7b\u6a21\u5757\uff0c\u53ea\u4f9d\u8d56common/data\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"version-control TODO \u7248\u672c\u63a7\u5236\uff0c\u5177\u4f53\u4e1a\u52a1\u8fd8\u6ca1\u641e\u61c2"))),(0,n.yg)("li",{parentName:"ul"},"dao \u5177\u4f53\u7684dao\u5b9e\u73b0\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"docker \u542f\u7528\u5fae\u670d\u52a1\u7684docker\u914d\u7f6e\u76ee\u5f55\uff0c\u811a\u672c\u3001docker\u914d\u7f6e\u6587\u4ef6\u7b49"),(0,n.yg)("li",{parentName:"ul"},"msa microservices aplication\u5fae\u670d\u52a1\u6a21\u5757\u7ec4",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"black-box-tests"),(0,n.yg)("li",{parentName:"ul"},"js-executor"),(0,n.yg)("li",{parentName:"ul"},"tb \u5355docker\u955c\u50cf"),(0,n.yg)("li",{parentName:"ul"},"tb-node"),(0,n.yg)("li",{parentName:"ul"},"transport \u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757\u7ec4",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"coap coap\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"http http\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"lwm2m lwm2m\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"mqtt mqtt\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"snmp snmp\u534f\u8bae\u4f20\u8f93\u914d\u7f6edocker\u5fae\u670d\u52a1\u6a21\u5757"))),(0,n.yg)("li",{parentName:"ul"},"vc-executor TODO \u4f9d\u8d56common/version-control"),(0,n.yg)("li",{parentName:"ul"},"vc-executor-docker vc-executor\u7684docker\u914d\u7f6e\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"web-ui \u524d\u7aef\u7684docker\u914d\u7f6e\u6a21\u5757"))),(0,n.yg)("li",{parentName:"ul"},"netty-mqtt mqtt-broker\u534f\u8bae\u5b9e\u73b0\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"packing \u6253\u5305\u5de5\u5177\u76ee\u5f55\uff0c\u6253rpm\u3001deb\u5305"),(0,n.yg)("li",{parentName:"ul"},"rest-client \u4e8c\u5f00SDK\u6a21\u5757\uff0c\u4e8c\u5f00\u8bf7\u6c42\u5de5\u5177"),(0,n.yg)("li",{parentName:"ul"},"rule-engine \u89c4\u5219\u5f15\u64ce",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"rule-engine-api \u89c4\u5219\u5f15\u64ce\u63a5\u53e3\u6a21\u5757\uff0c\u5168\u662f\u63a5\u53e3\uff0capplication\u4f1a\u5b9e\u73b0"),(0,n.yg)("li",{parentName:"ul"},"rule-engine-components \u89c4\u5219\u5f15\u64ce\u6240\u6709\u5143\u4ef6\u6a21\u5757"))),(0,n.yg)("li",{parentName:"ul"},"tools \u5404\u79cd\u5de5\u5177\u6a21\u5757\uff0c\u6570\u636e\u8fc1\u79fb\u5de5\u5177\u3001Python\u53d1\u9001\u6d88\u606f\u5de5\u5177\u3001shell\u5de5\u5177\u7b49\u7b49"),(0,n.yg)("li",{parentName:"ul"},"transport \u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757",(0,n.yg)("ul",{parentName:"li"},(0,n.yg)("li",{parentName:"ul"},"coap coap\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"http http\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"lwm2m lwm2m\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"mqtt mqtt\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"),(0,n.yg)("li",{parentName:"ul"},"snmp snmp\u534f\u8bae\u4f20\u8f93\u914d\u7f6e\u542f\u52a8\u7c7b\u6a21\u5757"))),(0,n.yg)("li",{parentName:"ul"},"ui-ngx \u524d\u7aef\u5de5\u7a0b\u6a21\u5757")))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ed9ae553.8f6072d2.js b/assets/js/ed9ae553.0b798a0e.js similarity index 99% rename from assets/js/ed9ae553.8f6072d2.js rename to assets/js/ed9ae553.0b798a0e.js index bb012b047..98ced31e8 100644 --- a/assets/js/ed9ae553.8f6072d2.js +++ b/assets/js/ed9ae553.0b798a0e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5476],{15680:(e,l,a)=>{a.d(l,{xA:()=>m,yg:()=>s});var n=a(96540);function t(e,l,a){return l in e?Object.defineProperty(e,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[l]=a,e}function o(e,l){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var l=1;l=0||(t[a]=e[a]);return t}(e,l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}return t}var i=n.createContext({}),p=function(e){var l=n.useContext(i),a=l;return e&&(a="function"==typeof e?e(l):r(r({},l),e)),a},m=function(e){var l=p(e.components);return n.createElement(i.Provider,{value:l},e.children)},y="mdxType",u={inlineCode:"code",wrapper:function(e){var l=e.children;return n.createElement(n.Fragment,{},l)}},d=n.forwardRef((function(e,l){var a=e.components,t=e.mdxType,o=e.originalType,i=e.parentName,m=g(e,["components","mdxType","originalType","parentName"]),y=p(a),d=t,s=y["".concat(i,".").concat(d)]||y[d]||u[d]||o;return a?n.createElement(s,r(r({ref:l},m),{},{components:a})):n.createElement(s,r({ref:l},m))}));function s(e,l){var a=arguments,t=l&&l.mdxType;if("string"==typeof e||t){var o=a.length,r=new Array(o);r[0]=d;var g={};for(var i in l)hasOwnProperty.call(l,i)&&(g[i]=l[i]);g.originalType=e,g[y]="string"==typeof e?e:t,r[1]=g;for(var p=2;p{a.r(l),a.d(l,{assets:()=>i,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>g,toc:()=>p});var n=a(58168),t=(a(96540),a(15680));const o={},r="Golang",g={unversionedId:"study/program/Golang/index",id:"study/program/Golang/index",title:"Golang",description:"Go \u8bed\u8a00\u8bbe\u8ba1\u521d\u8877",source:"@site/docs/study/program/Golang/index.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/",permalink:"/docs/study/program/Golang/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"PR\u548cMR",permalink:"/docs/study/program/GIT/PR\u548cMR"},next:{title:"CGO",permalink:"/docs/study/program/Golang/CGO"}},i={},p=[{value:"Go \u8bed\u8a00\u8bbe\u8ba1\u521d\u8877",id:"go-\u8bed\u8a00\u8bbe\u8ba1\u521d\u8877",level:3},{value:"Go \u8bed\u8a00\u7684\u7279\u8272",id:"go-\u8bed\u8a00\u7684\u7279\u8272",level:3},{value:"Go \u8bed\u8a00\u7684\u4f18\u52bf",id:"go-\u8bed\u8a00\u7684\u4f18\u52bf",level:3},{value:"\u6211\u4eec\u4e3a\u4ec0\u4e48\u9009\u62e9 Go \u8bed\u8a00",id:"\u6211\u4eec\u4e3a\u4ec0\u4e48\u9009\u62e9-go-\u8bed\u8a00",level:3},{value:"Go \u8bed\u8a00\u80fd\u505a\u4ec0\u4e48",id:"go-\u8bed\u8a00\u80fd\u505a\u4ec0\u4e48",level:3},{value:"\u4fe1\u606f",id:"\u4fe1\u606f",level:3},{value:"GC",id:"gc",level:3},{value:"\u5b89\u5168\u7f16\u8bd1",id:"\u5b89\u5168\u7f16\u8bd1",level:3},{value:"\u8de8\u5e73\u53f0\u7f16\u8bd1",id:"\u8de8\u5e73\u53f0\u7f16\u8bd1",level:3},{value:"CGO",id:"cgo",level:3},{value:"go mod \u4f9d\u8d56\u95ee\u9898",id:"go-mod-\u4f9d\u8d56\u95ee\u9898",level:3},{value:"\u4ee3\u7406",id:"\u4ee3\u7406",level:3}],m={toc:p},y="wrapper";function u(e){let{components:l,...a}=e;return(0,t.yg)(y,(0,n.A)({},m,a,{components:l,mdxType:"MDXLayout"}),(0,t.yg)("h1",{id:"golang"},"Golang"),(0,t.yg)("h3",{id:"go-\u8bed\u8a00\u8bbe\u8ba1\u521d\u8877"},"Go \u8bed\u8a00\u8bbe\u8ba1\u521d\u8877"),(0,t.yg)("p",null,"\u4e3a\u4e86\u89e3\u51b3\u5f53\u65f6 Google \u5f00\u53d1\u9047\u5230\u7684\u95ee\u9898\uff1a"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u7f16\u8bd1\u6162\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5927\u91cf\u7684 C++\u4ee3\u7801\uff0c\u540c\u65f6\u53c8\u5f15\u5165\u4e86 Java \u548c Python\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u66f4\u65b0\u7684\u82b1\u8d39\u8d8a\u6765\u8d8a\u957f\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5206\u5e03\u5f0f\u7684\u7f16\u8bd1\u7cfb\u7edf\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u6570\u767e\u4e07\u7684\u670d\u52a1\u5668\uff1b")),(0,t.yg)("h3",{id:"go-\u8bed\u8a00\u7684\u7279\u8272"},"Go \u8bed\u8a00\u7684\u7279\u8272"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u9ad8\u6548\u7684\u5e76\u53d1\u7f16\u7a0b\uff08",(0,t.yg)("a",{parentName:"li",href:"https://zh.wikipedia.org/wiki/%E9%80%9A%E4%BF%A1%E9%A1%BA%E5%BA%8F%E8%BF%9B%E7%A8%8B"},"\u57fa\u4e8e CSP"),"\uff09\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5185\u5b58\u56de\u6536(GC)\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u7f16\u8bd1\u901f\u5ea6\u5feb\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u51fd\u6570\u591a\u8fd4\u56de\u503c\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u8bed\u8a00\u4ea4\u4e92\u6027\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u6ca1\u6709\u5f02\u5e38\u5904\u7406(Error is value)\uff1b")),(0,t.yg)("h3",{id:"go-\u8bed\u8a00\u7684\u4f18\u52bf"},"Go \u8bed\u8a00\u7684\u4f18\u52bf"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u5b66\u4e60\u66f2\u7ebf\u5bb9\u6613\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u6548\u7387\uff1a\u5feb\u901f\u7684\u7f16\u8bd1\u65f6\u95f4\uff0c\u5f00\u53d1\u6548\u7387\u548c\u8fd0\u884c\u6548\u7387\u9ad8\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u51fa\u8eab\u540d\u95e8\uff0c\u8840\u7edf\u7eaf\u6b63\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5e76\u884c\u548c\u5f02\u6b65\u7f16\u7a0b\u51e0\u4e4e\u6ca1\u6709\u75db\u70b9\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u81ea\u7531\u9ad8\u6548\uff1a\u7ec4\u5408\u7684\u601d\u60f3\u3001\u65e0\u4fb5\u5165\u5f0f\u7684\u63a5\u53e3\u3001\u5f3a\u5927\u7684\u6807\u51c6\u5e93\u3001\u90e8\u7f72\u65b9\u4fbf\u3001\u7a33\u5b9a\u6027\uff1b")),(0,t.yg)("h3",{id:"\u6211\u4eec\u4e3a\u4ec0\u4e48\u9009\u62e9-go-\u8bed\u8a00"},"\u6211\u4eec\u4e3a\u4ec0\u4e48\u9009\u62e9 Go \u8bed\u8a00"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u6267\u884c\u6027\u80fd"),(0,t.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u6548\u7387")),(0,t.yg)("h3",{id:"go-\u8bed\u8a00\u80fd\u505a\u4ec0\u4e48"},"Go \u8bed\u8a00\u80fd\u505a\u4ec0\u4e48"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u670d\u52a1\u5668\u7f16\u7a0b\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5206\u5e03\u5f0f\u7cfb\u7edf\u3001\u6570\u636e\u5e93\u4ee3\u7406\u5668\u3001\u4e2d\u95f4\u4ef6\u7b49\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u7f51\u7edc\u7f16\u7a0b\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u6570\u636e\u5e93\u64cd\u4f5c\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u4e91\u5e73\u53f0\uff1b")),(0,t.yg)("h3",{id:"\u4fe1\u606f"},"\u4fe1\u606f"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"\u5b98\u7f51:",(0,t.yg)("a",{parentName:"li",href:"https://golang.google.cn/"},"https://golang.google.cn/")),(0,t.yg)("li",{parentName:"ul"},"API \u6587\u6863:",(0,t.yg)("a",{parentName:"li",href:"https://golang.google.cn/doc/"},"https://golang.google.cn/doc/")),(0,t.yg)("li",{parentName:"ul"},"\u6559\u7a0b:",(0,t.yg)("a",{parentName:"li",href:"http://www.w3cschool.cn/go/go-tutorial.html"},"http://www.w3cschool.cn/go/go-tutorial.html")),(0,t.yg)("li",{parentName:"ul"},"\u4e0b\u8f7d:",(0,t.yg)("a",{parentName:"li",href:"https://golang.google.cn/dl/"},"https://golang.google.cn/dl/")),(0,t.yg)("li",{parentName:"ul"},"\u6807\u51c6\u5e93\uff1a",(0,t.yg)("a",{parentName:"li",href:"https://pkg.go.dev/std"},"https://pkg.go.dev/std")),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://draveness.me/golang/"},"Go \u8bed\u8a00\u8bbe\u8ba1\u4e0e\u5b9e\u73b0"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},"\u91cd\u70b9\u662f\u8bbe\u8ba1\u539f\u7406 \u633a\u5e95\u5c42\u7684"))),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://www.liwenzhou.com/posts/Go/golang-menu/"},"\u674e\u6587\u5468-Go \u8bed\u8a00\u5b66\u4e60\u4e4b\u8def/Go \u8bed\u8a00\u6559\u7a0b"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://www.liwenzhou.com/posts/Go/fmt/"},"fmt \u683c\u5f0f\u5316\u8bed\u6cd5")))),(0,t.yg)("li",{parentName:"ul"},"Go\u8bed\u8a00\u4e2d\u6587\u6587\u6863 \uff1a",(0,t.yg)("a",{parentName:"li",href:"https://www.topgoer.com/"},"https://www.topgoer.com/"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},"\u5fc5\u770b\uff0c\u975e\u5e38\u5168"))),(0,t.yg)("li",{parentName:"ul"},"GO\u8bed\u8a00\u8bbe\u8ba1\u6a21\u5f0f \uff1a",(0,t.yg)("a",{parentName:"li",href:"https://www.topgoer.cn/docs/golang-design-pattern/golang-design-pattern-1cbgha2ltg796"},"https://www.topgoer.cn/docs/golang-design-pattern/golang-design-pattern-1cbgha2ltg796")),(0,t.yg)("li",{parentName:"ul"},"GO\u8bed\u8a00\u6807\u51c6\u5e93\u6587\u6863\uff1a",(0,t.yg)("a",{parentName:"li",href:"https://topgoer.cn/docs/golangstandard/golangstandard-1cmks9a4kaj3c"},"https://topgoer.cn/docs/golangstandard/golangstandard-1cmks9a4kaj3c")),(0,t.yg)("li",{parentName:"ul"},"\u5730\u9f20\u6587\u6863\uff0c\u5b66\u4e60GO\u7684\u597d\u5730\u65b9\uff1a",(0,t.yg)("a",{parentName:"li",href:"https://www.topgoer.cn/"},"https://www.topgoer.cn/"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},"\u5fc5\u770b")))),(0,t.yg)("h3",{id:"gc"},"GC"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/593008674?utm_id=0"},"\u77e5\u4e4e-Golang \u5185\u5b58\u7ba1\u7406\u4e4b GC"))),(0,t.yg)("h3",{id:"\u5b89\u5168\u7f16\u8bd1"},"\u5b89\u5168\u7f16\u8bd1"),(0,t.yg)("p",null,"\u5728Go\u8bed\u8a00\u4e2d\uff0c\u201c\u5b89\u5168\u7f16\u8bd1\u201d\u53ef\u80fd\u6307\u7684\u662f\u4f7f\u7528\u5b89\u5168\u7684\u7f16\u8bd1\u53c2\u6570\uff0c\u4ee5\u786e\u4fdd\u4ee3\u7801\u7684\u5b89\u5168\u6027\u548c\u6027\u80fd\u6700\u4f18\u3002\u8fd9\u901a\u5e38\u6d89\u53ca\u5230\u4f7f\u7528\u7f16\u8bd1\u5668\u7684\u5404\u79cd\u5b89\u5168\u548c\u6027\u80fd\u53c2\u6570\uff0c\u6bd4\u5982\uff1a"),(0,t.yg)("p",null,"\u4f7f\u7528 -s \u6216 -w \u53c2\u6570\u6765\u51cf\u5c11\u7f16\u8bd1\u540e\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u5927\u5c0f\uff0c\u53bb\u6389\u8c03\u8bd5\u4fe1\u606f\u548c\u7b26\u53f7\u4fe1\u606f\u3002"),(0,t.yg)("p",null,"\u4f7f\u7528 -ldflags \u6765\u8bbe\u7f6e\u94fe\u63a5\u5668\u7684\u6807\u5fd7\uff0c\u6bd4\u5982 -s -w \u6765\u8fdb\u4e00\u6b65\u4f18\u5316\u7f16\u8bd1\u7ed3\u679c\u3002"),(0,t.yg)("p",null,"\u4f7f\u7528 -buildmode \u53c2\u6570\u6765\u6307\u5b9a\u7f16\u8bd1\u6a21\u5f0f\uff0c\u6bd4\u5982 pie \u6765\u751f\u6210\u4f4d\u7f6e\u65e0\u5173\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u589e\u52a0\u5b89\u5168\u6027\u3002"),(0,t.yg)("p",null,"\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528 -ldflags \u6765\u4f18\u5316\u7f16\u8bd1\u7ed3\u679c\uff1a"),(0,t.yg)("p",null,'go build -ldflags "-s -w" -o myapp .'),(0,t.yg)("p",null,"\u8fd9\u6761\u547d\u4ee4\u4f1a\u7f16\u8bd1\u5f53\u524d\u76ee\u5f55\u4e0b\u7684Go\u4ee3\u7801\uff0c\u5e76\u8f93\u51fa\u4e00\u4e2a\u6ca1\u6709\u8c03\u8bd5\u4fe1\u606f\u3001\u7b26\u53f7\u548c\u4f18\u5316\u8fc7\u7684\u3001\u4f53\u79ef\u66f4\u5c0f\u7684\u53ef\u6267\u884c\u6587\u4ef6 myapp\u3002"),(0,t.yg)("p",null,"\u5982\u679c\u4f60\u60f3\u8fdb\u4e00\u6b65\u786e\u4fdd\u5b89\u5168\u6027\uff0c\u53ef\u4ee5\u4f7f\u7528Go\u7684\u5b89\u5168\u6027\u6807\u5fd7\uff0c\u6bd4\u5982 -tags safe\uff0c\u8fd9\u53d6\u51b3\u4e8e\u4f60\u4f7f\u7528\u7684\u7b2c\u4e09\u65b9\u5e93\u662f\u5426\u652f\u6301\u8fd9\u4e2atag\u3002"),(0,t.yg)("p",null,"go build -tags safe -o myapp ."),(0,t.yg)("p",null,"\u8bf7\u6ce8\u610f\uff0c\u6bcf\u4e2a\u9879\u76ee\u53ef\u80fd\u6709\u7279\u5b9a\u7684\u5b89\u5168\u548c\u6027\u80fd\u8981\u6c42\uff0c\u56e0\u6b64\u7f16\u8bd1\u53c2\u6570\u5e94\u6839\u636e\u5177\u4f53\u60c5\u51b5\u9009\u62e9\u548c\u8c03\u6574\u3002"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'#\ngo build -ldflags "-s -w -buildmode=pie -linkmode external -extldflags=-Wl,-z,relro,-z,now" -o CcspUtilRemote-`uname -m`\n#\ngo build -tags safe -o myapp .\n# \u4f7f\u7528\u6b64\u547d\u4ee4\u67e5\u770b\ngo tool link --help\n')),(0,t.yg)("p",null,"\u5b9e\u9645\u95ee\u9898\u4f8b\u5b50\uff1a"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'# \u5b89\u5168\u7f16\u8bd1\u68c0\u67e5 \u51fa\u73b0\u4e24\u4e2a\u95ee\u9898 [STACK CANARY/FORTIFY]\nchecksec --file=./xxx-x86_64\n# \u5904\u7406[STACK CANARY/FORTIFY] \u589e\u52a0CGO \u4ee5\u53caCGO\u4ee3\u7801\u6587\u4ef6cgo_safe.go\nCGO_ENABLED=1 CGO_CFLAGS="-fstack-protector-all -D_FORTIFY_SOURCE=2 -O" go build -ldflags "-s -w -buildmode=pie -linkmode external -extldflags=-Wl,-z,relro,-z,now" -o xxx-`uname -m`\n')),(0,t.yg)("p",null,"cgo_safe.go"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-go"},'package main\n\n/*\n\n#include \n#include \n\n*/\n\nimport "C"\nimport "fmt"\n\nfunc init() {\n s := C.CString("hello")\n fmt.Println(s)\n\n // C.puts(s)\n // C.free(unsafe.Pointer(s))\n}\n\n')),(0,t.yg)("h3",{id:"\u8de8\u5e73\u53f0\u7f16\u8bd1"},"\u8de8\u5e73\u53f0\u7f16\u8bd1"),(0,t.yg)("p",null,"\u5177\u4f53\u64cd\u4f5c"),(0,t.yg)("p",null,"\u7f16\u8bd1\u8de8\u5e73\u53f0\u7684\u53ea\u9700\u8981\u4fee\u6539GOOS\u3001GOARCH\u3001CGO_ENABLED\u4e09\u4e2a\u73af\u5883\u53d8\u91cf\u5373\u53ef"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"GOOS\uff1a\u76ee\u6807\u5e73\u53f0\u7684\u64cd\u4f5c\u7cfb\u7edf(darwin\u3001freebsd\u3001linux\u3001windows)"),(0,t.yg)("li",{parentName:"ul"},"GOARCH\uff1a\u76ee\u6807\u5e73\u53f0\u7684\u4f53\u7cfb\u67b6\u678432\u4f4d\u8fd8\u662f64\u4f4d(386\u3001amd64\u3001arm)"),(0,t.yg)("li",{parentName:"ul"},"\u4ea4\u53c9\u7f16\u8bd1\u4e0d\u652f\u6301 CGO \u6240\u4ee5\u8981\u7981\u7528\u5b83")),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("p",{parentName:"li"},"GOARCH\uff08\u76ee\u6807\u5e73\u53f0\u67b6\u6784\uff09\u53ef\u80fd\u7684\u503c\uff1a"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"amd64"),"\uff1a64\u4f4d x86 \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"386"),"\uff1a32\u4f4d x86 \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"arm"),"\uff1aARM \u67b6\u6784\uff0832\u4f4d\uff09"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"arm64"),"\uff1aARM64 \u67b6\u6784\uff0864\u4f4d\uff09"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"ppc64"),"\uff1a64\u4f4d PowerPC \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"ppc64le"),"\uff1a64\u4f4d\u5c0f\u7aef PowerPC \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"mips64"),"\uff1a64\u4f4d MIPS \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"mips64le"),"\uff1a64\u4f4d\u5c0f\u7aef MIPS \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"s390x"),"\uff1a64\u4f4d IBM z/Architecture"))),(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("p",{parentName:"li"},"GOOS\uff08\u76ee\u6807\u5e73\u53f0\u64cd\u4f5c\u7cfb\u7edf\uff09\u53ef\u80fd\u7684\u503c\uff1a"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"linux"),"\uff1aLinux \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"windows"),"\uff1aWindows \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"darwin"),"\uff1amacOS \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"freebsd"),"\uff1aFreeBSD \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"netbsd"),"\uff1aNetBSD \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"openbsd"),"\uff1aOpenBSD \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"dragonfly"),"\uff1aDragonFly BSD \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"solaris"),"\uff1aSolaris \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"plan9"),"\uff1aPlan 9 \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"aix"),"\uff1aIBM AIX \u64cd\u4f5c\u7cfb\u7edf")))),(0,t.yg)("h3",{id:"cgo"},"CGO"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_42538588/article/details/131167683"},"CGO:\u8ba9Go\u7a0b\u5e8f\u8c03\u7528C\u51fd\u6570\u7684\u795e\u5668")),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_43128854/article/details/122956384"},"go\u8bed\u8a00\u8c03\u7528c\u8bed\u8a00\u52a8\u6001\u5e93\u53ca\u4ea4\u53c9\u7f16\u8bd1"))),(0,t.yg)("h3",{id:"go-mod-\u4f9d\u8d56\u95ee\u9898"},"go mod \u4f9d\u8d56\u95ee\u9898"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"go mod init\uff1a\u521d\u59cb\u5316go mod\uff0c \u751f\u6210go.mod\u6587\u4ef6\uff0c\u540e\u53ef\u63a5\u53c2\u6570\u6307\u5b9a module \u540d\uff0c\u4e0a\u9762\u5df2\u7ecf\u6f14\u793a\u8fc7\u3002"),(0,t.yg)("li",{parentName:"ul"},"go mod download\uff1a\u624b\u52a8\u89e6\u53d1\u4e0b\u8f7d\u4f9d\u8d56\u5305\u5230\u672c\u5730cache\uff08\u9ed8\u8ba4\u4e3a$GOPATH/pkg/mod\u76ee\u5f55\uff09"),(0,t.yg)("li",{parentName:"ul"},"go mod graph\uff1a \u6253\u5370\u9879\u76ee\u7684\u6a21\u5757\u4f9d\u8d56\u7ed3\u6784"),(0,t.yg)("li",{parentName:"ul"},"go mod tidy \uff1a\u6dfb\u52a0\u7f3a\u5c11\u7684\u5305\uff0c\u4e14\u5220\u9664\u65e0\u7528\u7684\u5305"),(0,t.yg)("li",{parentName:"ul"},"go mod verify \uff1a\u6821\u9a8c\u6a21\u5757\u662f\u5426\u88ab\u7be1\u6539\u8fc7"),(0,t.yg)("li",{parentName:"ul"},"go mod why\uff1a \u67e5\u770b\u4e3a\u4ec0\u4e48\u9700\u8981\u4f9d\u8d56"),(0,t.yg)("li",{parentName:"ul"},"go mod vendor \uff1a\u5bfc\u51fa\u9879\u76ee\u6240\u6709\u4f9d\u8d56\u5230vendor\u4e0b"),(0,t.yg)("li",{parentName:"ul"},"go mod edit \uff1a\u7f16\u8f91go.mod\u6587\u4ef6\uff0c\u63a5 -fmt \u53c2\u6570\u683c\u5f0f\u5316 go.mod \u6587\u4ef6\uff0c\u63a5 -require=golang.org/x/text \u6dfb\u52a0\u4f9d\u8d56\uff0c\u63a5 -droprequire=golang.org/x/text \u5220\u9664\u4f9d\u8d56\uff0c\u8be6\u60c5\u53ef\u53c2\u8003 go help mod edit"),(0,t.yg)("li",{parentName:"ul"},"go list -m -json all\uff1a\u4ee5 json \u7684\u65b9\u5f0f\u6253\u5370\u4f9d\u8d56\u8be6\u60c5- "),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/kenkao/article/details/124550249"},"Golang\u4e2dGoPath\u548cGoModule\u6a21\u5f0f\u7684\u533a\u522b"))),(0,t.yg)("h3",{id:"\u4ee3\u7406"},"\u4ee3\u7406"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\ngo env\n# \u539f\u4ee3\u7406\n# GOPROXY='https://proxy.golang.org,direct'\n# go\u6a21\u5757\uff08\u4e03\u725b\u4e91\uff09\u4ee3\u7406\ngo env -w GOPROXY=https://goproxy.cn,direct\n")))}u.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5476],{15680:(e,l,a)=>{a.d(l,{xA:()=>m,yg:()=>s});var n=a(96540);function t(e,l,a){return l in e?Object.defineProperty(e,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[l]=a,e}function o(e,l){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);l&&(n=n.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var l=1;l=0||(t[a]=e[a]);return t}(e,l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}return t}var i=n.createContext({}),p=function(e){var l=n.useContext(i),a=l;return e&&(a="function"==typeof e?e(l):r(r({},l),e)),a},m=function(e){var l=p(e.components);return n.createElement(i.Provider,{value:l},e.children)},y="mdxType",u={inlineCode:"code",wrapper:function(e){var l=e.children;return n.createElement(n.Fragment,{},l)}},d=n.forwardRef((function(e,l){var a=e.components,t=e.mdxType,o=e.originalType,i=e.parentName,m=g(e,["components","mdxType","originalType","parentName"]),y=p(a),d=t,s=y["".concat(i,".").concat(d)]||y[d]||u[d]||o;return a?n.createElement(s,r(r({ref:l},m),{},{components:a})):n.createElement(s,r({ref:l},m))}));function s(e,l){var a=arguments,t=l&&l.mdxType;if("string"==typeof e||t){var o=a.length,r=new Array(o);r[0]=d;var g={};for(var i in l)hasOwnProperty.call(l,i)&&(g[i]=l[i]);g.originalType=e,g[y]="string"==typeof e?e:t,r[1]=g;for(var p=2;p{a.r(l),a.d(l,{assets:()=>i,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>g,toc:()=>p});var n=a(58168),t=(a(96540),a(15680));const o={},r="Golang",g={unversionedId:"study/program/Golang/index",id:"study/program/Golang/index",title:"Golang",description:"Go \u8bed\u8a00\u8bbe\u8ba1\u521d\u8877",source:"@site/docs/study/program/Golang/index.md",sourceDirName:"study/program/Golang",slug:"/study/program/Golang/",permalink:"/docs/study/program/Golang/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"PR\u548cMR",permalink:"/docs/study/program/GIT/PR\u548cMR"},next:{title:"CGO",permalink:"/docs/study/program/Golang/CGO"}},i={},p=[{value:"Go \u8bed\u8a00\u8bbe\u8ba1\u521d\u8877",id:"go-\u8bed\u8a00\u8bbe\u8ba1\u521d\u8877",level:3},{value:"Go \u8bed\u8a00\u7684\u7279\u8272",id:"go-\u8bed\u8a00\u7684\u7279\u8272",level:3},{value:"Go \u8bed\u8a00\u7684\u4f18\u52bf",id:"go-\u8bed\u8a00\u7684\u4f18\u52bf",level:3},{value:"\u6211\u4eec\u4e3a\u4ec0\u4e48\u9009\u62e9 Go \u8bed\u8a00",id:"\u6211\u4eec\u4e3a\u4ec0\u4e48\u9009\u62e9-go-\u8bed\u8a00",level:3},{value:"Go \u8bed\u8a00\u80fd\u505a\u4ec0\u4e48",id:"go-\u8bed\u8a00\u80fd\u505a\u4ec0\u4e48",level:3},{value:"\u4fe1\u606f",id:"\u4fe1\u606f",level:3},{value:"GC",id:"gc",level:3},{value:"\u5b89\u5168\u7f16\u8bd1",id:"\u5b89\u5168\u7f16\u8bd1",level:3},{value:"\u8de8\u5e73\u53f0\u7f16\u8bd1",id:"\u8de8\u5e73\u53f0\u7f16\u8bd1",level:3},{value:"CGO",id:"cgo",level:3},{value:"go mod \u4f9d\u8d56\u95ee\u9898",id:"go-mod-\u4f9d\u8d56\u95ee\u9898",level:3},{value:"\u4ee3\u7406",id:"\u4ee3\u7406",level:3}],m={toc:p},y="wrapper";function u(e){let{components:l,...a}=e;return(0,t.yg)(y,(0,n.A)({},m,a,{components:l,mdxType:"MDXLayout"}),(0,t.yg)("h1",{id:"golang"},"Golang"),(0,t.yg)("h3",{id:"go-\u8bed\u8a00\u8bbe\u8ba1\u521d\u8877"},"Go \u8bed\u8a00\u8bbe\u8ba1\u521d\u8877"),(0,t.yg)("p",null,"\u4e3a\u4e86\u89e3\u51b3\u5f53\u65f6 Google \u5f00\u53d1\u9047\u5230\u7684\u95ee\u9898\uff1a"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u7f16\u8bd1\u6162\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5927\u91cf\u7684 C++\u4ee3\u7801\uff0c\u540c\u65f6\u53c8\u5f15\u5165\u4e86 Java \u548c Python\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u66f4\u65b0\u7684\u82b1\u8d39\u8d8a\u6765\u8d8a\u957f\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5206\u5e03\u5f0f\u7684\u7f16\u8bd1\u7cfb\u7edf\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u6570\u767e\u4e07\u7684\u670d\u52a1\u5668\uff1b")),(0,t.yg)("h3",{id:"go-\u8bed\u8a00\u7684\u7279\u8272"},"Go \u8bed\u8a00\u7684\u7279\u8272"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u9ad8\u6548\u7684\u5e76\u53d1\u7f16\u7a0b\uff08",(0,t.yg)("a",{parentName:"li",href:"https://zh.wikipedia.org/wiki/%E9%80%9A%E4%BF%A1%E9%A1%BA%E5%BA%8F%E8%BF%9B%E7%A8%8B"},"\u57fa\u4e8e CSP"),"\uff09\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5185\u5b58\u56de\u6536(GC)\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u7f16\u8bd1\u901f\u5ea6\u5feb\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u51fd\u6570\u591a\u8fd4\u56de\u503c\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u8bed\u8a00\u4ea4\u4e92\u6027\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u6ca1\u6709\u5f02\u5e38\u5904\u7406(Error is value)\uff1b")),(0,t.yg)("h3",{id:"go-\u8bed\u8a00\u7684\u4f18\u52bf"},"Go \u8bed\u8a00\u7684\u4f18\u52bf"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u5b66\u4e60\u66f2\u7ebf\u5bb9\u6613\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u6548\u7387\uff1a\u5feb\u901f\u7684\u7f16\u8bd1\u65f6\u95f4\uff0c\u5f00\u53d1\u6548\u7387\u548c\u8fd0\u884c\u6548\u7387\u9ad8\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u51fa\u8eab\u540d\u95e8\uff0c\u8840\u7edf\u7eaf\u6b63\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5e76\u884c\u548c\u5f02\u6b65\u7f16\u7a0b\u51e0\u4e4e\u6ca1\u6709\u75db\u70b9\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u81ea\u7531\u9ad8\u6548\uff1a\u7ec4\u5408\u7684\u601d\u60f3\u3001\u65e0\u4fb5\u5165\u5f0f\u7684\u63a5\u53e3\u3001\u5f3a\u5927\u7684\u6807\u51c6\u5e93\u3001\u90e8\u7f72\u65b9\u4fbf\u3001\u7a33\u5b9a\u6027\uff1b")),(0,t.yg)("h3",{id:"\u6211\u4eec\u4e3a\u4ec0\u4e48\u9009\u62e9-go-\u8bed\u8a00"},"\u6211\u4eec\u4e3a\u4ec0\u4e48\u9009\u62e9 Go \u8bed\u8a00"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u6267\u884c\u6027\u80fd"),(0,t.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u6548\u7387")),(0,t.yg)("h3",{id:"go-\u8bed\u8a00\u80fd\u505a\u4ec0\u4e48"},"Go \u8bed\u8a00\u80fd\u505a\u4ec0\u4e48"),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},"\u670d\u52a1\u5668\u7f16\u7a0b\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5206\u5e03\u5f0f\u7cfb\u7edf\u3001\u6570\u636e\u5e93\u4ee3\u7406\u5668\u3001\u4e2d\u95f4\u4ef6\u7b49\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u7f51\u7edc\u7f16\u7a0b\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u6570\u636e\u5e93\u64cd\u4f5c\uff1b"),(0,t.yg)("li",{parentName:"ol"},"\u5f00\u53d1\u4e91\u5e73\u53f0\uff1b")),(0,t.yg)("h3",{id:"\u4fe1\u606f"},"\u4fe1\u606f"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"\u5b98\u7f51:",(0,t.yg)("a",{parentName:"li",href:"https://golang.google.cn/"},"https://golang.google.cn/")),(0,t.yg)("li",{parentName:"ul"},"API \u6587\u6863:",(0,t.yg)("a",{parentName:"li",href:"https://golang.google.cn/doc/"},"https://golang.google.cn/doc/")),(0,t.yg)("li",{parentName:"ul"},"\u6559\u7a0b:",(0,t.yg)("a",{parentName:"li",href:"http://www.w3cschool.cn/go/go-tutorial.html"},"http://www.w3cschool.cn/go/go-tutorial.html")),(0,t.yg)("li",{parentName:"ul"},"\u4e0b\u8f7d:",(0,t.yg)("a",{parentName:"li",href:"https://golang.google.cn/dl/"},"https://golang.google.cn/dl/")),(0,t.yg)("li",{parentName:"ul"},"\u6807\u51c6\u5e93\uff1a",(0,t.yg)("a",{parentName:"li",href:"https://pkg.go.dev/std"},"https://pkg.go.dev/std")),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://draveness.me/golang/"},"Go \u8bed\u8a00\u8bbe\u8ba1\u4e0e\u5b9e\u73b0"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},"\u91cd\u70b9\u662f\u8bbe\u8ba1\u539f\u7406 \u633a\u5e95\u5c42\u7684"))),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://www.liwenzhou.com/posts/Go/golang-menu/"},"\u674e\u6587\u5468-Go \u8bed\u8a00\u5b66\u4e60\u4e4b\u8def/Go \u8bed\u8a00\u6559\u7a0b"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://www.liwenzhou.com/posts/Go/fmt/"},"fmt \u683c\u5f0f\u5316\u8bed\u6cd5")))),(0,t.yg)("li",{parentName:"ul"},"Go\u8bed\u8a00\u4e2d\u6587\u6587\u6863 \uff1a",(0,t.yg)("a",{parentName:"li",href:"https://www.topgoer.com/"},"https://www.topgoer.com/"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},"\u5fc5\u770b\uff0c\u975e\u5e38\u5168"))),(0,t.yg)("li",{parentName:"ul"},"GO\u8bed\u8a00\u8bbe\u8ba1\u6a21\u5f0f \uff1a",(0,t.yg)("a",{parentName:"li",href:"https://www.topgoer.cn/docs/golang-design-pattern/golang-design-pattern-1cbgha2ltg796"},"https://www.topgoer.cn/docs/golang-design-pattern/golang-design-pattern-1cbgha2ltg796")),(0,t.yg)("li",{parentName:"ul"},"GO\u8bed\u8a00\u6807\u51c6\u5e93\u6587\u6863\uff1a",(0,t.yg)("a",{parentName:"li",href:"https://topgoer.cn/docs/golangstandard/golangstandard-1cmks9a4kaj3c"},"https://topgoer.cn/docs/golangstandard/golangstandard-1cmks9a4kaj3c")),(0,t.yg)("li",{parentName:"ul"},"\u5730\u9f20\u6587\u6863\uff0c\u5b66\u4e60GO\u7684\u597d\u5730\u65b9\uff1a",(0,t.yg)("a",{parentName:"li",href:"https://www.topgoer.cn/"},"https://www.topgoer.cn/"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},"\u5fc5\u770b")))),(0,t.yg)("h3",{id:"gc"},"GC"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/593008674?utm_id=0"},"\u77e5\u4e4e-Golang \u5185\u5b58\u7ba1\u7406\u4e4b GC"))),(0,t.yg)("h3",{id:"\u5b89\u5168\u7f16\u8bd1"},"\u5b89\u5168\u7f16\u8bd1"),(0,t.yg)("p",null,"\u5728Go\u8bed\u8a00\u4e2d\uff0c\u201c\u5b89\u5168\u7f16\u8bd1\u201d\u53ef\u80fd\u6307\u7684\u662f\u4f7f\u7528\u5b89\u5168\u7684\u7f16\u8bd1\u53c2\u6570\uff0c\u4ee5\u786e\u4fdd\u4ee3\u7801\u7684\u5b89\u5168\u6027\u548c\u6027\u80fd\u6700\u4f18\u3002\u8fd9\u901a\u5e38\u6d89\u53ca\u5230\u4f7f\u7528\u7f16\u8bd1\u5668\u7684\u5404\u79cd\u5b89\u5168\u548c\u6027\u80fd\u53c2\u6570\uff0c\u6bd4\u5982\uff1a"),(0,t.yg)("p",null,"\u4f7f\u7528 -s \u6216 -w \u53c2\u6570\u6765\u51cf\u5c11\u7f16\u8bd1\u540e\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u5927\u5c0f\uff0c\u53bb\u6389\u8c03\u8bd5\u4fe1\u606f\u548c\u7b26\u53f7\u4fe1\u606f\u3002"),(0,t.yg)("p",null,"\u4f7f\u7528 -ldflags \u6765\u8bbe\u7f6e\u94fe\u63a5\u5668\u7684\u6807\u5fd7\uff0c\u6bd4\u5982 -s -w \u6765\u8fdb\u4e00\u6b65\u4f18\u5316\u7f16\u8bd1\u7ed3\u679c\u3002"),(0,t.yg)("p",null,"\u4f7f\u7528 -buildmode \u53c2\u6570\u6765\u6307\u5b9a\u7f16\u8bd1\u6a21\u5f0f\uff0c\u6bd4\u5982 pie \u6765\u751f\u6210\u4f4d\u7f6e\u65e0\u5173\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u589e\u52a0\u5b89\u5168\u6027\u3002"),(0,t.yg)("p",null,"\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528 -ldflags \u6765\u4f18\u5316\u7f16\u8bd1\u7ed3\u679c\uff1a"),(0,t.yg)("p",null,'go build -ldflags "-s -w" -o myapp .'),(0,t.yg)("p",null,"\u8fd9\u6761\u547d\u4ee4\u4f1a\u7f16\u8bd1\u5f53\u524d\u76ee\u5f55\u4e0b\u7684Go\u4ee3\u7801\uff0c\u5e76\u8f93\u51fa\u4e00\u4e2a\u6ca1\u6709\u8c03\u8bd5\u4fe1\u606f\u3001\u7b26\u53f7\u548c\u4f18\u5316\u8fc7\u7684\u3001\u4f53\u79ef\u66f4\u5c0f\u7684\u53ef\u6267\u884c\u6587\u4ef6 myapp\u3002"),(0,t.yg)("p",null,"\u5982\u679c\u4f60\u60f3\u8fdb\u4e00\u6b65\u786e\u4fdd\u5b89\u5168\u6027\uff0c\u53ef\u4ee5\u4f7f\u7528Go\u7684\u5b89\u5168\u6027\u6807\u5fd7\uff0c\u6bd4\u5982 -tags safe\uff0c\u8fd9\u53d6\u51b3\u4e8e\u4f60\u4f7f\u7528\u7684\u7b2c\u4e09\u65b9\u5e93\u662f\u5426\u652f\u6301\u8fd9\u4e2atag\u3002"),(0,t.yg)("p",null,"go build -tags safe -o myapp ."),(0,t.yg)("p",null,"\u8bf7\u6ce8\u610f\uff0c\u6bcf\u4e2a\u9879\u76ee\u53ef\u80fd\u6709\u7279\u5b9a\u7684\u5b89\u5168\u548c\u6027\u80fd\u8981\u6c42\uff0c\u56e0\u6b64\u7f16\u8bd1\u53c2\u6570\u5e94\u6839\u636e\u5177\u4f53\u60c5\u51b5\u9009\u62e9\u548c\u8c03\u6574\u3002"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'#\ngo build -ldflags "-s -w -buildmode=pie -linkmode external -extldflags=-Wl,-z,relro,-z,now" -o CcspUtilRemote-`uname -m`\n#\ngo build -tags safe -o myapp .\n# \u4f7f\u7528\u6b64\u547d\u4ee4\u67e5\u770b\ngo tool link --help\n')),(0,t.yg)("p",null,"\u5b9e\u9645\u95ee\u9898\u4f8b\u5b50\uff1a"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},'# \u5b89\u5168\u7f16\u8bd1\u68c0\u67e5 \u51fa\u73b0\u4e24\u4e2a\u95ee\u9898 [STACK CANARY/FORTIFY]\nchecksec --file=./xxx-x86_64\n# \u5904\u7406[STACK CANARY/FORTIFY] \u589e\u52a0CGO \u4ee5\u53caCGO\u4ee3\u7801\u6587\u4ef6cgo_safe.go\nCGO_ENABLED=1 CGO_CFLAGS="-fstack-protector-all -D_FORTIFY_SOURCE=2 -O" go build -ldflags "-s -w -buildmode=pie -linkmode external -extldflags=-Wl,-z,relro,-z,now" -o xxx-`uname -m`\n')),(0,t.yg)("p",null,"cgo_safe.go"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-go"},'package main\n\n/*\n\n#include \n#include \n\n*/\n\nimport "C"\nimport "fmt"\n\nfunc init() {\n s := C.CString("hello")\n fmt.Println(s)\n\n // C.puts(s)\n // C.free(unsafe.Pointer(s))\n}\n\n')),(0,t.yg)("h3",{id:"\u8de8\u5e73\u53f0\u7f16\u8bd1"},"\u8de8\u5e73\u53f0\u7f16\u8bd1"),(0,t.yg)("p",null,"\u5177\u4f53\u64cd\u4f5c"),(0,t.yg)("p",null,"\u7f16\u8bd1\u8de8\u5e73\u53f0\u7684\u53ea\u9700\u8981\u4fee\u6539GOOS\u3001GOARCH\u3001CGO_ENABLED\u4e09\u4e2a\u73af\u5883\u53d8\u91cf\u5373\u53ef"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"GOOS\uff1a\u76ee\u6807\u5e73\u53f0\u7684\u64cd\u4f5c\u7cfb\u7edf(darwin\u3001freebsd\u3001linux\u3001windows)"),(0,t.yg)("li",{parentName:"ul"},"GOARCH\uff1a\u76ee\u6807\u5e73\u53f0\u7684\u4f53\u7cfb\u67b6\u678432\u4f4d\u8fd8\u662f64\u4f4d(386\u3001amd64\u3001arm)"),(0,t.yg)("li",{parentName:"ul"},"\u4ea4\u53c9\u7f16\u8bd1\u4e0d\u652f\u6301 CGO \u6240\u4ee5\u8981\u7981\u7528\u5b83")),(0,t.yg)("ol",null,(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("p",{parentName:"li"},"GOARCH\uff08\u76ee\u6807\u5e73\u53f0\u67b6\u6784\uff09\u53ef\u80fd\u7684\u503c\uff1a"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"amd64"),"\uff1a64\u4f4d x86 \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"386"),"\uff1a32\u4f4d x86 \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"arm"),"\uff1aARM \u67b6\u6784\uff0832\u4f4d\uff09"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"arm64"),"\uff1aARM64 \u67b6\u6784\uff0864\u4f4d\uff09"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"ppc64"),"\uff1a64\u4f4d PowerPC \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"ppc64le"),"\uff1a64\u4f4d\u5c0f\u7aef PowerPC \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"mips64"),"\uff1a64\u4f4d MIPS \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"mips64le"),"\uff1a64\u4f4d\u5c0f\u7aef MIPS \u67b6\u6784"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"s390x"),"\uff1a64\u4f4d IBM z/Architecture"))),(0,t.yg)("li",{parentName:"ol"},(0,t.yg)("p",{parentName:"li"},"GOOS\uff08\u76ee\u6807\u5e73\u53f0\u64cd\u4f5c\u7cfb\u7edf\uff09\u53ef\u80fd\u7684\u503c\uff1a"),(0,t.yg)("ul",{parentName:"li"},(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"linux"),"\uff1aLinux \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"windows"),"\uff1aWindows \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"darwin"),"\uff1amacOS \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"freebsd"),"\uff1aFreeBSD \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"netbsd"),"\uff1aNetBSD \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"openbsd"),"\uff1aOpenBSD \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"dragonfly"),"\uff1aDragonFly BSD \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"solaris"),"\uff1aSolaris \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"plan9"),"\uff1aPlan 9 \u64cd\u4f5c\u7cfb\u7edf"),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("inlineCode",{parentName:"li"},"aix"),"\uff1aIBM AIX \u64cd\u4f5c\u7cfb\u7edf")))),(0,t.yg)("h3",{id:"cgo"},"CGO"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/qq_42538588/article/details/131167683"},"CGO:\u8ba9Go\u7a0b\u5e8f\u8c03\u7528C\u51fd\u6570\u7684\u795e\u5668")),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_43128854/article/details/122956384"},"go\u8bed\u8a00\u8c03\u7528c\u8bed\u8a00\u52a8\u6001\u5e93\u53ca\u4ea4\u53c9\u7f16\u8bd1"))),(0,t.yg)("h3",{id:"go-mod-\u4f9d\u8d56\u95ee\u9898"},"go mod \u4f9d\u8d56\u95ee\u9898"),(0,t.yg)("ul",null,(0,t.yg)("li",{parentName:"ul"},"go mod init\uff1a\u521d\u59cb\u5316go mod\uff0c \u751f\u6210go.mod\u6587\u4ef6\uff0c\u540e\u53ef\u63a5\u53c2\u6570\u6307\u5b9a module \u540d\uff0c\u4e0a\u9762\u5df2\u7ecf\u6f14\u793a\u8fc7\u3002"),(0,t.yg)("li",{parentName:"ul"},"go mod download\uff1a\u624b\u52a8\u89e6\u53d1\u4e0b\u8f7d\u4f9d\u8d56\u5305\u5230\u672c\u5730cache\uff08\u9ed8\u8ba4\u4e3a$GOPATH/pkg/mod\u76ee\u5f55\uff09"),(0,t.yg)("li",{parentName:"ul"},"go mod graph\uff1a \u6253\u5370\u9879\u76ee\u7684\u6a21\u5757\u4f9d\u8d56\u7ed3\u6784"),(0,t.yg)("li",{parentName:"ul"},"go mod tidy \uff1a\u6dfb\u52a0\u7f3a\u5c11\u7684\u5305\uff0c\u4e14\u5220\u9664\u65e0\u7528\u7684\u5305"),(0,t.yg)("li",{parentName:"ul"},"go mod verify \uff1a\u6821\u9a8c\u6a21\u5757\u662f\u5426\u88ab\u7be1\u6539\u8fc7"),(0,t.yg)("li",{parentName:"ul"},"go mod why\uff1a \u67e5\u770b\u4e3a\u4ec0\u4e48\u9700\u8981\u4f9d\u8d56"),(0,t.yg)("li",{parentName:"ul"},"go mod vendor \uff1a\u5bfc\u51fa\u9879\u76ee\u6240\u6709\u4f9d\u8d56\u5230vendor\u4e0b"),(0,t.yg)("li",{parentName:"ul"},"go mod edit \uff1a\u7f16\u8f91go.mod\u6587\u4ef6\uff0c\u63a5 -fmt \u53c2\u6570\u683c\u5f0f\u5316 go.mod \u6587\u4ef6\uff0c\u63a5 -require=golang.org/x/text \u6dfb\u52a0\u4f9d\u8d56\uff0c\u63a5 -droprequire=golang.org/x/text \u5220\u9664\u4f9d\u8d56\uff0c\u8be6\u60c5\u53ef\u53c2\u8003 go help mod edit"),(0,t.yg)("li",{parentName:"ul"},"go list -m -json all\uff1a\u4ee5 json \u7684\u65b9\u5f0f\u6253\u5370\u4f9d\u8d56\u8be6\u60c5- "),(0,t.yg)("li",{parentName:"ul"},(0,t.yg)("a",{parentName:"li",href:"https://blog.csdn.net/kenkao/article/details/124550249"},"Golang\u4e2dGoPath\u548cGoModule\u6a21\u5f0f\u7684\u533a\u522b"))),(0,t.yg)("h3",{id:"\u4ee3\u7406"},"\u4ee3\u7406"),(0,t.yg)("pre",null,(0,t.yg)("code",{parentName:"pre",className:"language-shell"},"#\ngo env\n# \u539f\u4ee3\u7406\n# GOPROXY='https://proxy.golang.org,direct'\n# go\u6a21\u5757\uff08\u4e03\u725b\u4e91\uff09\u4ee3\u7406\ngo env -w GOPROXY=https://goproxy.cn,direct\n")))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ee028c53.c4891452.js b/assets/js/ee028c53.b3a186d3.js similarity index 98% rename from assets/js/ee028c53.c4891452.js rename to assets/js/ee028c53.b3a186d3.js index 90f196133..07b3261e0 100644 --- a/assets/js/ee028c53.c4891452.js +++ b/assets/js/ee028c53.b3a186d3.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6240],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),d=s(r),y=o,f=d["".concat(l,".").concat(y)]||d[y]||u[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[d]="string"==typeof e?e:o,i[1]=c;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",id:"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",title:"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",description:"\u4ec0\u4e48\u662fDDD",source:"@site/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD.md",sourceDirName:"study/think",slug:"/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",permalink:"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9650\u6d41",permalink:"/docs/study/think/\u9650\u6d41"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/docker/"}},l={},s=[{value:"\u4ec0\u4e48\u662fDDD",id:"\u4ec0\u4e48\u662fddd",level:3},{value:"\u67b6\u6784\u56fe",id:"\u67b6\u6784\u56fe",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:s},d="wrapper";function u(e){let{components:t,...a}=e;return(0,o.yg)(d,(0,n.A)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662fddd"},"\u4ec0\u4e48\u662fDDD"),(0,o.yg)("h3",{id:"\u67b6\u6784\u56fe"},"\u67b6\u6784\u56fe"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(10819).A,width:"750",height:"559"})),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/ityouknow/article/details/81572072"},"\u53ef\u4ee5\u843d\u5730\u7684DDD\u5230\u5e95\u957f\u4ec0\u4e48\u6837\uff1f")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/lesofn/p/15898137.html"},"\u4eceMVC\u5230DDD\u7684\u67b6\u6784\u6f14\u8fdb"))))}u.isMDXComponent=!0},10819:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/image-f553779fb500c890cbd3dd9a0c3024ea.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6240],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),s=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(l.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),d=s(r),y=o,f=d["".concat(l,".").concat(y)]||d[y]||u[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[d]="string"==typeof e?e:o,i[1]=c;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",id:"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",title:"\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",description:"\u4ec0\u4e48\u662fDDD",source:"@site/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD.md",sourceDirName:"study/think",slug:"/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",permalink:"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u9650\u6d41",permalink:"/docs/study/think/\u9650\u6d41"},next:{title:"\u6982\u8ff0",permalink:"/docs/study/docker/"}},l={},s=[{value:"\u4ec0\u4e48\u662fDDD",id:"\u4ec0\u4e48\u662fddd",level:3},{value:"\u67b6\u6784\u56fe",id:"\u67b6\u6784\u56fe",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:s},d="wrapper";function u(e){let{components:t,...a}=e;return(0,o.yg)(d,(0,n.A)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u4ec0\u4e48\u662fddd"},"\u4ec0\u4e48\u662fDDD"),(0,o.yg)("h3",{id:"\u67b6\u6784\u56fe"},"\u67b6\u6784\u56fe"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(10819).A,width:"750",height:"559"})),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/ityouknow/article/details/81572072"},"\u53ef\u4ee5\u843d\u5730\u7684DDD\u5230\u5e95\u957f\u4ec0\u4e48\u6837\uff1f")),(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://www.cnblogs.com/lesofn/p/15898137.html"},"\u4eceMVC\u5230DDD\u7684\u67b6\u6784\u6f14\u8fdb"))))}u.isMDXComponent=!0},10819:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/image-f553779fb500c890cbd3dd9a0c3024ea.png"}}]); \ No newline at end of file diff --git a/assets/js/ee6139c1.6a3cf04b.js b/assets/js/ee6139c1.eaa2b310.js similarity index 98% rename from assets/js/ee6139c1.6a3cf04b.js rename to assets/js/ee6139c1.eaa2b310.js index fd81b5682..979f6a9e7 100644 --- a/assets/js/ee6139c1.6a3cf04b.js +++ b/assets/js/ee6139c1.eaa2b310.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8810],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=a,f=s["".concat(p,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:a,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",id:"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",title:"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",description:"\u53c2\u8003 Spring Security \u9632\u8303\u6f0f\u6d1e\u653b\u51fb",source:"@site/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb.md",sourceDirName:"study/back/\u4fe1\u606f\u5b89\u5168",slug:"/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8ba4\u8bc1",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1"},next:{title:"JPA-MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis"}},p={},u=[],l={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"p",href:"https://springdoc.cn/spring-security/features/exploits/index.html"},"Spring Security \u9632\u8303\u6f0f\u6d1e\u653b\u51fb")),(0,a.yg)("p",null,"\u5305\u62ec\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"CSRF \u8de8\u7ad9\u8bf7\u6c42\u4f2a\u9020"),(0,a.yg)("li",{parentName:"ul"},"HTTP Header : Spring Security \u63d0\u4f9b\u4e86\u4e00\u5957\u9ed8\u8ba4\u7684\u5b89\u5168\u76f8\u5173\u7684 HTTP \u54cd\u5e94\u5934\uff0c\u4ee5\u63d0\u4f9b\u5b89\u5168\u7684\u9ed8\u8ba4\u503c\u3002"),(0,a.yg)("li",{parentName:"ul"},"HTTP : \u6240\u6709\u57fa\u4e8e HTTP \u7684\u901a\u4fe1\uff0c\u5305\u62ec \u9759\u6001\u8d44\u6e90\uff0c\u90fd\u5e94\u8be5\u901a\u8fc7\u4f7f\u7528 TLS \u8fdb\u884c\u4fdd\u62a4\u3002\u4f5c\u4e3a\u4e00\u4e2a\u6846\u67b6\uff0cSpring Security \u5e76\u4e0d\u5904\u7406 HTTP \u8fde\u63a5\uff0c\u56e0\u6b64\u5e76\u4e0d\u76f4\u63a5\u63d0\u4f9b\u5bf9 HTTPS \u7684\u652f\u6301\u3002\u7136\u800c\uff0c\u5b83\u786e\u5b9e\u63d0\u4f9b\u4e86\u4e00\u4e9b\u6709\u52a9\u4e8e HTTPS \u4f7f\u7528\u7684\u529f\u80fd\u3002")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8810],{15680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),s=u(r),d=a,f=s["".concat(p,".").concat(d)]||s[d]||y[d]||o;return r?n.createElement(f,c(c({ref:t},l),{},{components:r})):n.createElement(f,c({ref:t},l))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:a,c[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",id:"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",title:"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",description:"\u53c2\u8003 Spring Security \u9632\u8303\u6f0f\u6d1e\u653b\u51fb",source:"@site/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb.md",sourceDirName:"study/back/\u4fe1\u606f\u5b89\u5168",slug:"/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8ba4\u8bc1",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1"},next:{title:"JPA-MyBatis",permalink:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis"}},p={},u=[],l={toc:u},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"p",href:"https://springdoc.cn/spring-security/features/exploits/index.html"},"Spring Security \u9632\u8303\u6f0f\u6d1e\u653b\u51fb")),(0,a.yg)("p",null,"\u5305\u62ec\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"CSRF \u8de8\u7ad9\u8bf7\u6c42\u4f2a\u9020"),(0,a.yg)("li",{parentName:"ul"},"HTTP Header : Spring Security \u63d0\u4f9b\u4e86\u4e00\u5957\u9ed8\u8ba4\u7684\u5b89\u5168\u76f8\u5173\u7684 HTTP \u54cd\u5e94\u5934\uff0c\u4ee5\u63d0\u4f9b\u5b89\u5168\u7684\u9ed8\u8ba4\u503c\u3002"),(0,a.yg)("li",{parentName:"ul"},"HTTP : \u6240\u6709\u57fa\u4e8e HTTP \u7684\u901a\u4fe1\uff0c\u5305\u62ec \u9759\u6001\u8d44\u6e90\uff0c\u90fd\u5e94\u8be5\u901a\u8fc7\u4f7f\u7528 TLS \u8fdb\u884c\u4fdd\u62a4\u3002\u4f5c\u4e3a\u4e00\u4e2a\u6846\u67b6\uff0cSpring Security \u5e76\u4e0d\u5904\u7406 HTTP \u8fde\u63a5\uff0c\u56e0\u6b64\u5e76\u4e0d\u76f4\u63a5\u63d0\u4f9b\u5bf9 HTTPS \u7684\u652f\u6301\u3002\u7136\u800c\uff0c\u5b83\u786e\u5b9e\u63d0\u4f9b\u4e86\u4e00\u4e9b\u6709\u52a9\u4e8e HTTPS \u4f7f\u7528\u7684\u529f\u80fd\u3002")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/eef634fe.2eaa82d6.js b/assets/js/eef634fe.cc664425.js similarity index 99% rename from assets/js/eef634fe.2eaa82d6.js rename to assets/js/eef634fe.cc664425.js index d4983ce71..c64e5da8b 100644 --- a/assets/js/eef634fe.2eaa82d6.js +++ b/assets/js/eef634fe.cc664425.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7575],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>g});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),y=c(r),s=l,g=y["".concat(p,".").concat(s)]||y[s]||d[s]||a;return r?n.createElement(g,i(i({ref:t},u),{},{components:r})):n.createElement(g,i({ref:t},u))}));function g(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,i=new Array(a);i[0]=s;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[y]="string"==typeof e?e:l,i[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},i=void 0,o={unversionedId:"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",id:"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",title:"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",description:"\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u51e0\u79cd\u5e38\u89c1\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5305\u62ec\u5b83\u4eec\u7684\u5de5\u4f5c\u539f\u7406\u3001\u4f18\u7f3a\u70b9\u548c\u5e94\u7528\u573a\u666f\u3002",source:"@site/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",permalink:"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f"},next:{title:"\u4eba\u5de5\u667a\u80fd",permalink:"/docs/study/ai/"}},p={},c=[{value:"\u4e00\u3001RSA \u7b97\u6cd5",id:"\u4e00rsa-\u7b97\u6cd5",level:3},{value:"\u4e8c\u3001ECC\uff08Elliptic Curve Cryptography\uff09",id:"\u4e8ceccelliptic-curve-cryptography",level:3},{value:"\u4e09\u3001Diffie-Hellman \u7b97\u6cd5",id:"\u4e09diffie-hellman-\u7b97\u6cd5",level:3},{value:"\u56db\u3001ElGamal \u7b97\u6cd5",id:"\u56dbelgamal-\u7b97\u6cd5",level:3},{value:"\u4e94\u3001DSA\uff08Digital Signature Algorithm\uff09",id:"\u4e94dsadigital-signature-algorithm",level:3}],u={toc:c},y="wrapper";function d(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u51e0\u79cd\u5e38\u89c1\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5305\u62ec\u5b83\u4eec\u7684\u5de5\u4f5c\u539f\u7406\u3001\u4f18\u7f3a\u70b9\u548c\u5e94\u7528\u573a\u666f\u3002"),(0,l.yg)("h3",{id:"\u4e00rsa-\u7b97\u6cd5"},"\u4e00\u3001RSA \u7b97\u6cd5"),(0,l.yg)("p",null,"\u7b97\u6cd5\u7684\u540d\u5b57\u4ee5\u53d1\u660e\u8005\u7684\u540d\u5b57\u547d\u540d\uff1aRon Rivest, AdiShamir \u548c Leonard Adleman\u3002"),(0,l.yg)("p",null,"RSA \u7b97\u6cd5\u662f\u6700\u65e9\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u4e4b\u4e00\uff0c\u4e5f\u662f\u76ee\u524d\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u3002"),(0,l.yg)("p",null,"\u5b83\u57fa\u4e8e\u5927\u6570\u56e0\u5b50\u5206\u89e3\u95ee\u9898\uff0c\u63d0\u4f9b\u4e86\u826f\u597d\u7684\u5b89\u5168\u6027\u3002\u4f46\u7531\u4e8e\u5176\u8fd0\u7b97\u590d\u6742\uff0c\u6548\u7387\u76f8\u5bf9\u8f83\u4f4e\u3002"),(0,l.yg)("p",null,"RSA \u7b97\u6cd5\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7f51\u7edc\u901a\u4fe1\u3001\u7535\u5b50\u7b7e\u540d\u3001SSL/TLS \u7b49\u9886\u57df\u3002"),(0,l.yg)("p",null,"RSA \u5bc6\u94a5\u7684\u6a21\u957f\uff08\u4e5f\u79f0\u4e3a\u6a21\u6570\u7684\u957f\u5ea6\uff09\u662f\u6307\u5728 RSA \u7b97\u6cd5\u4e2d\uff0c\u7528\u4e8e\u751f\u6210\u5bc6\u94a5\u5bf9\u7684\u4e24\u4e2a\u5927\u7d20\u6570\u4e4b\u79ef\uff08\u5373\u6a21\u6570 n\uff09\u6240\u5360\u7528\u7684\u4e8c\u8fdb\u5236\u4f4d\u6570\u3002\u5e38\u89c1\u6a21\u957f\u6709512\uff08\u65e9\u671f\uff0c\u5b89\u5168\u6027\u5f88\u4f4e\uff09\uff0c1024\uff08\u8fc7\u53bb\u5e38\u7528\uff0c\u975e\u5173\u952e\u3001\u6216\u6027\u80fd\u4f4e\u7684\u53ef\u4ee5\u7528\uff09\uff0c2048\uff08\u76ee\u524d\u6700\u4e3a\u5e38\u7528\uff0c\u5b89\u5168\u548c\u901f\u5ea6\u6700\u5408\u9002\uff09\uff0c3072\uff08\u66f4\u5b89\u5168\u3001\u901f\u5ea6\u6162\uff09\uff0c4096\uff08\u66f4\u5b89\u5168\u3001\u901f\u5ea6\u6162\uff09"),(0,l.yg)("h3",{id:"\u4e8ceccelliptic-curve-cryptography"},"\u4e8c\u3001ECC\uff08Elliptic Curve Cryptography\uff09"),(0,l.yg)("p",null,"ECC \u662f\u57fa\u4e8e\u692d\u5706\u66f2\u7ebf\u6570\u5b66\u7684\u4e00\u79cd\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u3002\u76f8\u6bd4\u4e8e RSA\uff0cECC \u5728\u63d0\u4f9b\u76f8\u540c\u5b89\u5168\u6027\u7684\u60c5\u51b5\u4e0b\uff0c\u9700\u8981\u7684\u5bc6\u94a5\u957f\u5ea6\u66f4\u77ed\uff0c\u8fd9\u4f7f\u5f97 ECC \u5728\u5904\u7406\u901f\u5ea6\u548c\u5b58\u50a8\u7a7a\u95f4\u4e0a\u90fd\u6bd4 RSA \u66f4\u4f18\u79c0\u3002"),(0,l.yg)("p",null,"ECC \u5e38\u88ab\u7528\u4e8e\u79fb\u52a8\u8bbe\u5907\u3001\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7b49\u8d44\u6e90\u53d7\u9650\u7684\u73af\u5883\uff0c\u4e5f\u88ab\u7528\u4e8e SSL/TLS\u3001IPSec \u7b49\u7f51\u7edc\u5b89\u5168\u534f\u8bae\u3002"),(0,l.yg)("h3",{id:"\u4e09diffie-hellman-\u7b97\u6cd5"},"\u4e09\u3001Diffie-Hellman \u7b97\u6cd5"),(0,l.yg)("p",null,"Diffie-Hellman \u7b97\u6cd5\u662f\u4e00\u79cd\u5bc6\u94a5\u4ea4\u6362\u534f\u8bae\uff0c\u5b83\u5141\u8bb8\u53cc\u65b9\u5728\u516c\u5f00\u901a\u9053\u4e0a\u751f\u6210\u4e00\u4e2a\u5171\u4eab\u7684\u5bc6\u94a5\u3002\u867d\u7136 Diffie-Hellman \u7b97\u6cd5\u672c\u8eab\u4e0d\u662f\u7528\u6765\u52a0\u5bc6\u6216\u7b7e\u540d\u7684\uff0c\u4f46\u5b83\u5728\u8bb8\u591a\u975e\u5bf9\u79f0\u52a0\u5bc6\u548c\u6570\u5b57\u7b7e\u540d\u7b97\u6cd5\u4e2d\u8d77\u5230\u4e86\u5173\u952e\u4f5c\u7528\u3002"),(0,l.yg)("p",null,"Diffie-Hellman \u7b97\u6cd5\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e VPN\u3001\u5b89\u5168\u901a\u4fe1\u7b49\u573a\u666f\u3002"),(0,l.yg)("h3",{id:"\u56dbelgamal-\u7b97\u6cd5"},"\u56db\u3001ElGamal \u7b97\u6cd5"),(0,l.yg)("p",null,"ElGamal \u7b97\u6cd5\u662f\u53e6\u4e00\u79cd\u57fa\u4e8e\u79bb\u6563\u5bf9\u6570\u95ee\u9898\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u52a0\u5bc6\u548c\u6570\u5b57\u7b7e\u540d\u3002"),(0,l.yg)("p",null,"ElGamal \u52a0\u5bc6\u7684\u5b89\u5168\u6027\u5728\u4e8e\u6c42\u89e3\u79bb\u6563\u5bf9\u6570\u95ee\u9898\u7684\u56f0\u96be\u6027\uff0c\u4f46\u662f\u5176\u8fd0\u7b97\u6548\u7387\u76f8\u5bf9\u8f83\u4f4e\u3002"),(0,l.yg)("p",null,"ElGamal \u7b97\u6cd5\u5728\u7535\u5b50\u90ae\u4ef6\u52a0\u5bc6\uff08\u4f8b\u5982 OpenPGP\uff09\u548c\u7535\u5b50\u7b7e\u540d\u7b49\u9886\u57df\u6709\u5e94\u7528\u3002"),(0,l.yg)("h3",{id:"\u4e94dsadigital-signature-algorithm"},"\u4e94\u3001DSA\uff08Digital Signature Algorithm\uff09"),(0,l.yg)("p",null,"DSA \u662f\u4e00\u79cd\u4e3b\u8981\u7528\u4e8e\u6570\u5b57\u7b7e\u540d\u7684\u975e\u5bf9\u79f0\u7b97\u6cd5\uff0c\u5b83\u662f NIST \u5236\u5b9a\u7684 DSS\uff08Digital Signature Standard\uff09\u7684\u4e00\u90e8\u5206\u3002"),(0,l.yg)("p",null,"DSA \u7684\u5b89\u5168\u6027\u57fa\u4e8e\u79bb\u6563\u5bf9\u6570\u95ee\u9898\u3002"),(0,l.yg)("p",null,"DSA \u7b97\u6cd5\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u6570\u5b57\u7b7e\u540d\u3001\u8bc1\u4e66\u8ba4\u8bc1\u7b49\u9886\u57df\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7575],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>g});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},s=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),y=c(r),s=l,g=y["".concat(p,".").concat(s)]||y[s]||d[s]||a;return r?n.createElement(g,i(i({ref:t},u),{},{components:r})):n.createElement(g,i({ref:t},u))}));function g(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,i=new Array(a);i[0]=s;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[y]="string"==typeof e?e:l,i[1]=o;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var n=r(58168),l=(r(96540),r(15680));const a={},i=void 0,o={unversionedId:"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",id:"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",title:"\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",description:"\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u51e0\u79cd\u5e38\u89c1\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5305\u62ec\u5b83\u4eec\u7684\u5de5\u4f5c\u539f\u7406\u3001\u4f18\u7f3a\u70b9\u548c\u5e94\u7528\u573a\u666f\u3002",source:"@site/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3.md",sourceDirName:"study/encryption",slug:"/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",permalink:"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f",permalink:"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f"},next:{title:"\u4eba\u5de5\u667a\u80fd",permalink:"/docs/study/ai/"}},p={},c=[{value:"\u4e00\u3001RSA \u7b97\u6cd5",id:"\u4e00rsa-\u7b97\u6cd5",level:3},{value:"\u4e8c\u3001ECC\uff08Elliptic Curve Cryptography\uff09",id:"\u4e8ceccelliptic-curve-cryptography",level:3},{value:"\u4e09\u3001Diffie-Hellman \u7b97\u6cd5",id:"\u4e09diffie-hellman-\u7b97\u6cd5",level:3},{value:"\u56db\u3001ElGamal \u7b97\u6cd5",id:"\u56dbelgamal-\u7b97\u6cd5",level:3},{value:"\u4e94\u3001DSA\uff08Digital Signature Algorithm\uff09",id:"\u4e94dsadigital-signature-algorithm",level:3}],u={toc:c},y="wrapper";function d(e){let{components:t,...r}=e;return(0,l.yg)(y,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("p",null,"\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u51e0\u79cd\u5e38\u89c1\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5305\u62ec\u5b83\u4eec\u7684\u5de5\u4f5c\u539f\u7406\u3001\u4f18\u7f3a\u70b9\u548c\u5e94\u7528\u573a\u666f\u3002"),(0,l.yg)("h3",{id:"\u4e00rsa-\u7b97\u6cd5"},"\u4e00\u3001RSA \u7b97\u6cd5"),(0,l.yg)("p",null,"\u7b97\u6cd5\u7684\u540d\u5b57\u4ee5\u53d1\u660e\u8005\u7684\u540d\u5b57\u547d\u540d\uff1aRon Rivest, AdiShamir \u548c Leonard Adleman\u3002"),(0,l.yg)("p",null,"RSA \u7b97\u6cd5\u662f\u6700\u65e9\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u4e4b\u4e00\uff0c\u4e5f\u662f\u76ee\u524d\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u3002"),(0,l.yg)("p",null,"\u5b83\u57fa\u4e8e\u5927\u6570\u56e0\u5b50\u5206\u89e3\u95ee\u9898\uff0c\u63d0\u4f9b\u4e86\u826f\u597d\u7684\u5b89\u5168\u6027\u3002\u4f46\u7531\u4e8e\u5176\u8fd0\u7b97\u590d\u6742\uff0c\u6548\u7387\u76f8\u5bf9\u8f83\u4f4e\u3002"),(0,l.yg)("p",null,"RSA \u7b97\u6cd5\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7f51\u7edc\u901a\u4fe1\u3001\u7535\u5b50\u7b7e\u540d\u3001SSL/TLS \u7b49\u9886\u57df\u3002"),(0,l.yg)("p",null,"RSA \u5bc6\u94a5\u7684\u6a21\u957f\uff08\u4e5f\u79f0\u4e3a\u6a21\u6570\u7684\u957f\u5ea6\uff09\u662f\u6307\u5728 RSA \u7b97\u6cd5\u4e2d\uff0c\u7528\u4e8e\u751f\u6210\u5bc6\u94a5\u5bf9\u7684\u4e24\u4e2a\u5927\u7d20\u6570\u4e4b\u79ef\uff08\u5373\u6a21\u6570 n\uff09\u6240\u5360\u7528\u7684\u4e8c\u8fdb\u5236\u4f4d\u6570\u3002\u5e38\u89c1\u6a21\u957f\u6709512\uff08\u65e9\u671f\uff0c\u5b89\u5168\u6027\u5f88\u4f4e\uff09\uff0c1024\uff08\u8fc7\u53bb\u5e38\u7528\uff0c\u975e\u5173\u952e\u3001\u6216\u6027\u80fd\u4f4e\u7684\u53ef\u4ee5\u7528\uff09\uff0c2048\uff08\u76ee\u524d\u6700\u4e3a\u5e38\u7528\uff0c\u5b89\u5168\u548c\u901f\u5ea6\u6700\u5408\u9002\uff09\uff0c3072\uff08\u66f4\u5b89\u5168\u3001\u901f\u5ea6\u6162\uff09\uff0c4096\uff08\u66f4\u5b89\u5168\u3001\u901f\u5ea6\u6162\uff09"),(0,l.yg)("h3",{id:"\u4e8ceccelliptic-curve-cryptography"},"\u4e8c\u3001ECC\uff08Elliptic Curve Cryptography\uff09"),(0,l.yg)("p",null,"ECC \u662f\u57fa\u4e8e\u692d\u5706\u66f2\u7ebf\u6570\u5b66\u7684\u4e00\u79cd\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u3002\u76f8\u6bd4\u4e8e RSA\uff0cECC \u5728\u63d0\u4f9b\u76f8\u540c\u5b89\u5168\u6027\u7684\u60c5\u51b5\u4e0b\uff0c\u9700\u8981\u7684\u5bc6\u94a5\u957f\u5ea6\u66f4\u77ed\uff0c\u8fd9\u4f7f\u5f97 ECC \u5728\u5904\u7406\u901f\u5ea6\u548c\u5b58\u50a8\u7a7a\u95f4\u4e0a\u90fd\u6bd4 RSA \u66f4\u4f18\u79c0\u3002"),(0,l.yg)("p",null,"ECC \u5e38\u88ab\u7528\u4e8e\u79fb\u52a8\u8bbe\u5907\u3001\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7b49\u8d44\u6e90\u53d7\u9650\u7684\u73af\u5883\uff0c\u4e5f\u88ab\u7528\u4e8e SSL/TLS\u3001IPSec \u7b49\u7f51\u7edc\u5b89\u5168\u534f\u8bae\u3002"),(0,l.yg)("h3",{id:"\u4e09diffie-hellman-\u7b97\u6cd5"},"\u4e09\u3001Diffie-Hellman \u7b97\u6cd5"),(0,l.yg)("p",null,"Diffie-Hellman \u7b97\u6cd5\u662f\u4e00\u79cd\u5bc6\u94a5\u4ea4\u6362\u534f\u8bae\uff0c\u5b83\u5141\u8bb8\u53cc\u65b9\u5728\u516c\u5f00\u901a\u9053\u4e0a\u751f\u6210\u4e00\u4e2a\u5171\u4eab\u7684\u5bc6\u94a5\u3002\u867d\u7136 Diffie-Hellman \u7b97\u6cd5\u672c\u8eab\u4e0d\u662f\u7528\u6765\u52a0\u5bc6\u6216\u7b7e\u540d\u7684\uff0c\u4f46\u5b83\u5728\u8bb8\u591a\u975e\u5bf9\u79f0\u52a0\u5bc6\u548c\u6570\u5b57\u7b7e\u540d\u7b97\u6cd5\u4e2d\u8d77\u5230\u4e86\u5173\u952e\u4f5c\u7528\u3002"),(0,l.yg)("p",null,"Diffie-Hellman \u7b97\u6cd5\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e VPN\u3001\u5b89\u5168\u901a\u4fe1\u7b49\u573a\u666f\u3002"),(0,l.yg)("h3",{id:"\u56dbelgamal-\u7b97\u6cd5"},"\u56db\u3001ElGamal \u7b97\u6cd5"),(0,l.yg)("p",null,"ElGamal \u7b97\u6cd5\u662f\u53e6\u4e00\u79cd\u57fa\u4e8e\u79bb\u6563\u5bf9\u6570\u95ee\u9898\u7684\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u52a0\u5bc6\u548c\u6570\u5b57\u7b7e\u540d\u3002"),(0,l.yg)("p",null,"ElGamal \u52a0\u5bc6\u7684\u5b89\u5168\u6027\u5728\u4e8e\u6c42\u89e3\u79bb\u6563\u5bf9\u6570\u95ee\u9898\u7684\u56f0\u96be\u6027\uff0c\u4f46\u662f\u5176\u8fd0\u7b97\u6548\u7387\u76f8\u5bf9\u8f83\u4f4e\u3002"),(0,l.yg)("p",null,"ElGamal \u7b97\u6cd5\u5728\u7535\u5b50\u90ae\u4ef6\u52a0\u5bc6\uff08\u4f8b\u5982 OpenPGP\uff09\u548c\u7535\u5b50\u7b7e\u540d\u7b49\u9886\u57df\u6709\u5e94\u7528\u3002"),(0,l.yg)("h3",{id:"\u4e94dsadigital-signature-algorithm"},"\u4e94\u3001DSA\uff08Digital Signature Algorithm\uff09"),(0,l.yg)("p",null,"DSA \u662f\u4e00\u79cd\u4e3b\u8981\u7528\u4e8e\u6570\u5b57\u7b7e\u540d\u7684\u975e\u5bf9\u79f0\u7b97\u6cd5\uff0c\u5b83\u662f NIST \u5236\u5b9a\u7684 DSS\uff08Digital Signature Standard\uff09\u7684\u4e00\u90e8\u5206\u3002"),(0,l.yg)("p",null,"DSA \u7684\u5b89\u5168\u6027\u57fa\u4e8e\u79bb\u6563\u5bf9\u6570\u95ee\u9898\u3002"),(0,l.yg)("p",null,"DSA \u7b97\u6cd5\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u6570\u5b57\u7b7e\u540d\u3001\u8bc1\u4e66\u8ba4\u8bc1\u7b49\u9886\u57df\u3002"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/efb7dd33.9325a474.js b/assets/js/efb7dd33.e186f26e.js similarity index 98% rename from assets/js/efb7dd33.9325a474.js rename to assets/js/efb7dd33.e186f26e.js index 8a32c1523..d217257b1 100644 --- a/assets/js/efb7dd33.9325a474.js +++ b/assets/js/efb7dd33.e186f26e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4761],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(c[r]=e[r]);return c}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}var a=n.createContext({}),i=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(a.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,c=e.mdxType,o=e.originalType,a=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=i(r),d=c,f=u["".concat(a,".").concat(d)]||u[d]||y[d]||o;return r?n.createElement(f,l(l({ref:t},p),{},{components:r})):n.createElement(f,l({ref:t},p))}));function f(e,t){var r=arguments,c=t&&t.mdxType;if("string"==typeof e||c){var o=r.length,l=new Array(o);l[0]=d;var s={};for(var a in t)hasOwnProperty.call(t,a)&&(s[a]=t[a]);s.originalType=e,s[u]="string"==typeof e?e:c,l[1]=s;for(var i=2;i{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var n=r(58168),c=(r(96540),r(15680));const o={},l=void 0,s={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",id:"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",title:"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",description:"/etc/sysctl.conf",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd"},next:{title:"Linux\u8fd0\u7ef4-\u81ea\u542f",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f"}},a={},i=[{value:"/etc/sysctl.conf",id:"etcsysctlconf",level:3},{value:"/etc/profile /etc/bashrc",id:"etcprofile-etcbashrc",level:3},{value:"~/.bashrc ~/.bash_profile",id:"bashrc-bash_profile",level:3}],p={toc:i},u="wrapper";function y(e){let{components:t,...r}=e;return(0,c.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,c.yg)("h3",{id:"etcsysctlconf"},"/etc/sysctl.conf"),(0,c.yg)("p",null,"/etc/sysctl.conf\u662f\u4e00\u4e2a\u91cd\u8981\u7684 Linux \u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u3002"),(0,c.yg)("p",null,"\u8fd9\u4e2a\u6587\u4ef6\u7528\u4e8e\u8bbe\u7f6e\u548c\u8c03\u6574 Linux \u5185\u6838\u7684\u5404\u79cd\u53c2\u6570\u3002\u8fd9\u4e9b\u53c2\u6570\u63a7\u5236\u7740\u7cfb\u7edf\u7684\u884c\u4e3a\u3001\u6027\u80fd\u548c\u8d44\u6e90\u5206\u914d\u3002"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"# \u4fee\u6539\nvi /etc/sysctl.conf\n# \u4fee\u6539\u5b8c\u6587\u4ef6\u4e4b\u540e\uff0c\u6267\u884c\u6b64\u547d\u4ee4\uff0c\u7acb\u5373\u751f\u6548\nsysctl -p\n# \u67e5\u8be2\nsysctl -a\n# \u4e34\u65f6\u4fee\u6539\uff0c\u5e76\u6ca1\u6709\u843d\u76d8\u5230/etc/sysctl.conf\u6587\u4ef6\uff0c\u91cd\u542f\u540e\u5931\u6548\nsysctl -w xxxxx=yyy\n")),(0,c.yg)("p",null,"\u5e38\u7528\u7684\u5185\u6838\u53c2\u6570 "),(0,c.yg)("h3",{id:"etcprofile-etcbashrc"},"/etc/profile /etc/bashrc"),(0,c.yg)("p",null,"\u7cfb\u7edf\u7ea7\u522b\u7684\u914d\u7f6e\u6587\u4ef6\u3001\u73af\u5883\u53d8\u91cf"),(0,c.yg)("p",null,"\u6240\u6709\u7528\u6237\u90fd\u4ee5\u8fd9\u4e2a\u4e3a\u57fa\u7840"),(0,c.yg)("p",null,"\u4fee\u6539\u540e\uff0c\u9700\u8981\u91cd\u65b0\u767b\u5f55"),(0,c.yg)("h3",{id:"bashrc-bash_profile"},"~/.bashrc ~/.bash_profile"),(0,c.yg)("p",null,"\u7528\u6237\u7ea7\u522b\u7684\u914d\u7f6e\u6587\u4ef6\u3001\u73af\u5883\u53d8\u91cf"),(0,c.yg)("p",null,"\u7528\u6237\u767b\u5f55\u540e\uff0c\u4f1a\u6267\u884c\u8fd9\u4e9b\u6587\u4ef6"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4761],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(c[r]=e[r]);return c}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}var a=n.createContext({}),i=function(e){var t=n.useContext(a),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=i(e.components);return n.createElement(a.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,c=e.mdxType,o=e.originalType,a=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=i(r),d=c,f=u["".concat(a,".").concat(d)]||u[d]||y[d]||o;return r?n.createElement(f,l(l({ref:t},p),{},{components:r})):n.createElement(f,l({ref:t},p))}));function f(e,t){var r=arguments,c=t&&t.mdxType;if("string"==typeof e||c){var o=r.length,l=new Array(o);l[0]=d;var s={};for(var a in t)hasOwnProperty.call(t,a)&&(s[a]=t[a]);s.originalType=e,s[u]="string"==typeof e?e:c,l[1]=s;for(var i=2;i{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>y,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var n=r(58168),c=(r(96540),r(15680));const o={},l=void 0,s={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",id:"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",title:"Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",description:"/etc/sysctl.conf",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd"},next:{title:"Linux\u8fd0\u7ef4-\u81ea\u542f",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f"}},a={},i=[{value:"/etc/sysctl.conf",id:"etcsysctlconf",level:3},{value:"/etc/profile /etc/bashrc",id:"etcprofile-etcbashrc",level:3},{value:"~/.bashrc ~/.bash_profile",id:"bashrc-bash_profile",level:3}],p={toc:i},u="wrapper";function y(e){let{components:t,...r}=e;return(0,c.yg)(u,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,c.yg)("h3",{id:"etcsysctlconf"},"/etc/sysctl.conf"),(0,c.yg)("p",null,"/etc/sysctl.conf\u662f\u4e00\u4e2a\u91cd\u8981\u7684 Linux \u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u3002"),(0,c.yg)("p",null,"\u8fd9\u4e2a\u6587\u4ef6\u7528\u4e8e\u8bbe\u7f6e\u548c\u8c03\u6574 Linux \u5185\u6838\u7684\u5404\u79cd\u53c2\u6570\u3002\u8fd9\u4e9b\u53c2\u6570\u63a7\u5236\u7740\u7cfb\u7edf\u7684\u884c\u4e3a\u3001\u6027\u80fd\u548c\u8d44\u6e90\u5206\u914d\u3002"),(0,c.yg)("pre",null,(0,c.yg)("code",{parentName:"pre",className:"language-shell"},"# \u4fee\u6539\nvi /etc/sysctl.conf\n# \u4fee\u6539\u5b8c\u6587\u4ef6\u4e4b\u540e\uff0c\u6267\u884c\u6b64\u547d\u4ee4\uff0c\u7acb\u5373\u751f\u6548\nsysctl -p\n# \u67e5\u8be2\nsysctl -a\n# \u4e34\u65f6\u4fee\u6539\uff0c\u5e76\u6ca1\u6709\u843d\u76d8\u5230/etc/sysctl.conf\u6587\u4ef6\uff0c\u91cd\u542f\u540e\u5931\u6548\nsysctl -w xxxxx=yyy\n")),(0,c.yg)("p",null,"\u5e38\u7528\u7684\u5185\u6838\u53c2\u6570 "),(0,c.yg)("h3",{id:"etcprofile-etcbashrc"},"/etc/profile /etc/bashrc"),(0,c.yg)("p",null,"\u7cfb\u7edf\u7ea7\u522b\u7684\u914d\u7f6e\u6587\u4ef6\u3001\u73af\u5883\u53d8\u91cf"),(0,c.yg)("p",null,"\u6240\u6709\u7528\u6237\u90fd\u4ee5\u8fd9\u4e2a\u4e3a\u57fa\u7840"),(0,c.yg)("p",null,"\u4fee\u6539\u540e\uff0c\u9700\u8981\u91cd\u65b0\u767b\u5f55"),(0,c.yg)("h3",{id:"bashrc-bash_profile"},"~/.bashrc ~/.bash_profile"),(0,c.yg)("p",null,"\u7528\u6237\u7ea7\u522b\u7684\u914d\u7f6e\u6587\u4ef6\u3001\u73af\u5883\u53d8\u91cf"),(0,c.yg)("p",null,"\u7528\u6237\u767b\u5f55\u540e\uff0c\u4f1a\u6267\u884c\u8fd9\u4e9b\u6587\u4ef6"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f0420ac0.cb20cb2e.js b/assets/js/f0420ac0.fe061752.js similarity index 98% rename from assets/js/f0420ac0.cb20cb2e.js rename to assets/js/f0420ac0.fe061752.js index 8f91a1cf1..9d2d7d840 100644 --- a/assets/js/f0420ac0.cb20cb2e.js +++ b/assets/js/f0420ac0.fe061752.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3451],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241113",id:"study/stock/20241113",title:"20241113",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241113.md",sourceDirName:"study/stock",slug:"/study/stock/20241113",permalink:"/docs/study/stock/20241113",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"--- \u4eca\u5929\u5927\u76d8\u7a84\u5e45\u9707\u8361\uff0c\u6536\u76d8 0.51%"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e09\u6210\uff0c+3%\u5356\u51fa\u4e09\u6210 --- \u4e00\u76f4\u5728\u6c34\u4e0b\uff0c\u6700\u4f4e-2% \uff0c \u6700\u9ad8 0.45%"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e00\u534a --- \u6210\u4ea4\uff0c\u6700\u4f4e-1.92%\uff0c\u6700\u9ad8 1.54%"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e00\u534a --- \u6210\u4ea4\uff0c\u6700\u4f4e-1.18%\uff0c\u6700\u9ad8 1.09%"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e09\u6210\uff0c+3%\u5356\u51fa\u4e09\u6210"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a-\xb7 1%\uff0c\u4e70\u5165\u4e00\u534a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a-1%\uff0c\u4e70\u5165\u4e00\u534a"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3451],{15680:(e,t,r)=>{r.d(t,{xA:()=>i,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},i=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,u=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),s=p(r),f=o,d=s["".concat(u,".").concat(f)]||s[f]||y[f]||c;return r?n.createElement(d,a(a({ref:t},i),{},{components:r})):n.createElement(d,a({ref:t},i))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=f;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:o,a[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>y,frontMatter:()=>c,metadata:()=>l,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,l={unversionedId:"study/stock/20241113",id:"study/stock/20241113",title:"20241113",description:"\u4eca\u5929\u5468\u4e09",source:"@site/docs/study/stock/20241113.md",sourceDirName:"study/stock",slug:"/study/stock/20241113",permalink:"/docs/study/stock/20241113",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},u={},p=[],i={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u4eca\u5929\u5468\u4e09"),(0,o.yg)("p",null,"\u4eca\u65e5\u590d\u76d8\uff1a"),(0,o.yg)("p",null,"--- \u4eca\u5929\u5927\u76d8\u7a84\u5e45\u9707\u8361\uff0c\u6536\u76d8 0.51%"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e09\u6210\uff0c+3%\u5356\u51fa\u4e09\u6210 --- \u4e00\u76f4\u5728\u6c34\u4e0b\uff0c\u6700\u4f4e-2% \uff0c \u6700\u9ad8 0.45%"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e00\u534a --- \u6210\u4ea4\uff0c\u6700\u4f4e-1.92%\uff0c\u6700\u9ad8 1.54%"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e00\u534a --- \u6210\u4ea4\uff0c\u6700\u4f4e-1.18%\uff0c\u6700\u9ad8 1.09%"),(0,o.yg)("p",null,"\u660e\u65e5\u8ba1\u5212\uff1a"),(0,o.yg)("p",null,"\u4e2d\u7cae\u8d44\u672c \u5982\u4f55\u5904\u7406\uff1a+1%\u5356\u51fa\u4e09\u6210\uff0c+3%\u5356\u51fa\u4e09\u6210"),(0,o.yg)("p",null,"\u521b\u4e1a ETF \u5982\u4f55\u5904\u7406\uff1a-\xb7 1%\uff0c\u4e70\u5165\u4e00\u534a"),(0,o.yg)("p",null,"\u79d1\u521b ETF \u5982\u4f55\u5904\u7406\uff1a-1%\uff0c\u4e70\u5165\u4e00\u534a"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f12f9261.e79ac956.js b/assets/js/f12f9261.089c81f8.js similarity index 99% rename from assets/js/f12f9261.e79ac956.js rename to assets/js/f12f9261.089c81f8.js index 1b49783b6..78bb180c2 100644 --- a/assets/js/f12f9261.e79ac956.js +++ b/assets/js/f12f9261.089c81f8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[30],{15680:(e,n,r)=>{r.d(n,{xA:()=>c,yg:()=>g});var t=r(96540);function a(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function o(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function l(e){for(var n=1;n=0||(a[r]=e[r]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=t.createContext({}),p=function(e){var n=t.useContext(s),r=n;return e&&(r="function"==typeof e?e(n):l(l({},n),e)),r},c=function(e){var n=p(e.components);return t.createElement(s.Provider,{value:n},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},d=t.forwardRef((function(e,n){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),u=p(r),d=a,g=u["".concat(s,".").concat(d)]||u[d]||m[d]||o;return r?t.createElement(g,l(l({ref:n},c),{},{components:r})):t.createElement(g,l({ref:n},c))}));function g(e,n){var r=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=d;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[u]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{r.r(n),r.d(n,{assets:()=>s,contentTitle:()=>l,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var t=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/program/JAVA/GC",id:"study/program/JAVA/GC",title:"GC",description:"JVM \u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5",source:"@site/docs/study/program/JAVA/GC.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/GC",permalink:"/docs/study/program/JAVA/GC",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Java",permalink:"/docs/study/program/JAVA/"},next:{title:"GraalVM",permalink:"/docs/study/program/JAVA/GraalVM"}},s={},p=[{value:"JVM \u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5",id:"jvm-\u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5",level:3},{value:"\u67e5\u770b\u5404\u4e2a\u7248\u672c\u7684 GC",id:"\u67e5\u770b\u5404\u4e2a\u7248\u672c\u7684-gc",level:3},{value:"JVM \u5185\u5b58\u95ee\u9898\u6392\u67e5",id:"jvm-\u5185\u5b58\u95ee\u9898\u6392\u67e5",level:3}],c={toc:p},u="wrapper";function m(e){let{components:n,...r}=e;return(0,a.yg)(u,(0,t.A)({},c,r,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"jvm-\u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5"},"JVM \u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6807\u8bb0-\u6e05\u9664\uff08Mark-Sweep\uff09: \u8fd9\u662f\u6700\u57fa\u672c\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5\uff0c\u5b83\u5206\u4e3a\u4e24\u4e2a\u9636\u6bb5\uff0c\u6807\u8bb0\u548c\u6e05\u9664\u3002\u9996\u5148\u6807\u8bb0\u51fa\u6240\u6709\u9700\u8981\u56de\u6536\u7684\u5bf9\u8c61\uff0c\u7136\u540e\u8fdb\u884c\u6e05\u9664\u3002\u7f3a\u70b9\u662f\u6548\u7387\u4e0d\u9ad8\uff0c\u5e76\u4e14\u4f1a\u4ea7\u751f\u5927\u91cf\u4e0d\u8fde\u7eed\u7684\u5185\u5b58\u788e\u7247\u3002"),(0,a.yg)("li",{parentName:"ul"},"\uff08Copying\uff09: \u4e3a\u4e86\u89e3\u51b3\u6807\u8bb0-\u6e05\u9664\u7b97\u6cd5\u7684\u5185\u5b58\u788e\u7247\u95ee\u9898\uff0c\u51fa\u73b0\u4e86\u590d\u5236\u7b97\u6cd5\u3002\u5b83\u5c06\u53ef\u7528\u5185\u5b58\u5206\u4e3a\u4e24\u4e2a\u533a\u57df\uff0c\u6bcf\u6b21\u53ea\u4f7f\u7528\u5176\u4e2d\u4e00\u4e2a\u533a\u57df\u3002\u5f53\u8fd9\u4e2a\u533a\u57df\u6ee1\u65f6\uff0c\u5b83\u4f1a\u628a\u5b58\u6d3b\u7684\u5bf9\u8c61\u590d\u5236\u5230\u53e6\u4e00\u4e2a\u533a\u57df\uff0c\u7136\u540e\u6e05\u9664\u6b63\u5728\u4f7f\u7528\u7684\u90a3\u4e2a\u533a\u57df\u7684\u6240\u6709\u5bf9\u8c61\u3002\u8fd9\u79cd\u7b97\u6cd5\u5b9e\u73b0\u7b80\u5355\uff0c\u8fd0\u884c\u9ad8\u6548\uff0c\u4f46\u662f\u9700\u8981\u4e24\u500d\u7684\u5185\u5b58\u7a7a\u95f4\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6807\u8bb0-\u6574\u7406\uff08Mark-Compact\uff09: \u7ed3\u5408\u4e86\u6807\u8bb0-\u6e05\u9664\u548c\u590d\u5236\u7684\u4f18\u70b9\uff0c\u5b83\u5148\u6807\u8bb0\u9700\u8981\u56de\u6536\u7684\u5bf9\u8c61\uff0c\u7136\u540e\u628a\u6240\u6709\u5b58\u6d3b\u7684\u5bf9\u8c61\u90fd\u5411\u4e00\u7aef\u79fb\u52a8\uff0c\u63a5\u7740\u6e05\u9664\u6389\u7aef\u8fb9\u754c\u4ee5\u5916\u7684\u5185\u5b58\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5206\u4ee3\u6536\u96c6\uff08Generational Collector\uff09: \u57fa\u4e8e\u5bf9\u8c61\u751f\u547d\u5468\u671f\u7684\u4e0d\u540c\uff0c\u5b83\u5c06\u5806\u5206\u4e3a\u65b0\u751f\u4ee3\u548c\u8001\u5e74\u4ee3\u3002\u65b0\u751f\u4ee3\u4e2d\uff0c\u5927\u90e8\u5206\u5bf9\u8c61\u662f\u671d\u751f\u5915\u6b7b\u7684\uff0c\u6240\u4ee5\u53ef\u4ee5\u4f7f\u7528\u590d\u5236\u7b97\u6cd5\uff1b\u8001\u5e74\u4ee3\u4e2d\u5bf9\u8c61\u5b58\u6d3b\u7387\u9ad8\uff0c\u4e00\u822c\u4f7f\u7528\u6807\u8bb0-\u6574\u7406\u6216\u6807\u8bb0-\u6e05\u9664\u7b97\u6cd5\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u589e\u91cf\u6536\u96c6\uff08Incremental Collector\uff09: \u8fd9\u79cd\u7b97\u6cd5\u5141\u8bb8\u5783\u573e\u6536\u96c6\u5728\u5e94\u7528\u8fdb\u884c\u7684\u540c\u65f6\u8fdb\u884c\uff0c\u51cf\u5c11\u5e94\u7528\u7684\u6682\u505c\u65f6\u95f4\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5e76\u53d1\u6807\u8bb0-\u6e05\u9664\uff08Concurrent Mark-Sweep, CMS\uff09: \u4e3a\u4e86\u51cf\u5c11\u5783\u573e\u6536\u96c6\u5bf9\u5e94\u7528\u7684\u5f71\u54cd\uff0c\u51fa\u73b0\u4e86\u5e76\u53d1\u6536\u96c6\u7b97\u6cd5\uff0c\u5b83\u5c1d\u8bd5\u8ba9\u5783\u573e\u6536\u96c6\u7684\u8fc7\u7a0b\u5e76\u53d1\u8fdb\u884c\u3002CMS \u7b97\u6cd5\u5206\u4e3a\u56db\u4e2a\u9636\u6bb5\uff0c\u5e76\u53d1\u6807\u8bb0\u3001\u5e76\u53d1\u9884\u6e05\u7406\u3001\u91cd\u65b0\u6807\u8bb0\u3001\u5e76\u53d1\u6e05\u9664\uff0c\u5c3d\u91cf\u51cf\u5c11\u5bf9\u5e94\u7528\u7684\u5f71\u54cd\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6539\u8fdb\u7684\u5e76\u53d1\u6807\u8bb0-\u6e05\u9664\uff08G1\uff09: \u4e3a\u4e86\u8fdb\u4e00\u6b65\u51cf\u5c11\u6682\u505c\u65f6\u95f4\u548c\u63d0\u9ad8\u541e\u5410\u91cf\uff0cJVM \u5728 Java 7 Update 4 \u4e2d\u5f15\u5165\u4e86 G1 \u5783\u573e\u6536\u96c6\u5668\u3002G1 \u5c1d\u8bd5\u628a\u5806\u7a7a\u95f4\u5212\u5206\u4e3a\u591a\u4e2a\u5927\u5c0f\u76f8\u7b49\u7684\u533a\u57df\uff0c\u5e76\u4e14\u53ef\u4ee5\u5e76\u53d1\u5904\u7406\u8fd9\u4e9b\u533a\u57df\u3002")),(0,a.yg)("h3",{id:"\u67e5\u770b\u5404\u4e2a\u7248\u672c\u7684-gc"},"\u67e5\u770b\u5404\u4e2a\u7248\u672c\u7684 GC"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"java -XX:+PrintCommandLineFlags -version\njava -XX:+PrintGCDetails -version\n")),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'java8 -XX:+PrintCommandLineFlags -version\n-XX:InitialHeapSize=268435456\n-XX:MaxHeapSize=4294967296\n-XX:+PrintCommandLineFlags\n-XX:+UseCompressedClassPointers\n-XX:+UseCompressedOops\n-XX:+UseParallelGC\njava version "1.8.0_181"\nJava(TM) SE Runtime Environment (build 1.8.0_181-b13)\nJava HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)\n')),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'java17 -XX:+PrintCommandLineFlags -version\n-XX:ConcGCThreads=2\n-XX:G1ConcRefinementThreads=8\n-XX:GCDrainStackTargetSize=64\n-XX:InitialHeapSize=268435456\n-XX:MarkStackSize=4194304\n-XX:MaxHeapSize=4294967296\n-XX:MinHeapSize=6815736\n-XX:+PrintCommandLineFlags\n-XX:ReservedCodeCacheSize=251658240\n-XX:+SegmentedCodeCache\n-XX:+UseCompressedClassPointers\n-XX:+UseCompressedOops\n-XX:+UseG1GC\njava version "17.0.6" 2023-01-17 LTS\nJava(TM) SE Runtime Environment (build 17.0.6+9-LTS-190)\nJava HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing)\n')),(0,a.yg)("h3",{id:"jvm-\u5185\u5b58\u95ee\u9898\u6392\u67e5"},"JVM \u5185\u5b58\u95ee\u9898\u6392\u67e5"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/679783776"},"\u77e5\u4e4e-\u4e09\u4e07\u5b57\u957f\u6587\uff1aJVM \u5185\u5b58\u95ee\u9898\u6392\u67e5 Cookbook"))))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[30],{15680:(e,n,r)=>{r.d(n,{xA:()=>c,yg:()=>g});var t=r(96540);function a(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function o(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function l(e){for(var n=1;n=0||(a[r]=e[r]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=t.createContext({}),p=function(e){var n=t.useContext(s),r=n;return e&&(r="function"==typeof e?e(n):l(l({},n),e)),r},c=function(e){var n=p(e.components);return t.createElement(s.Provider,{value:n},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return t.createElement(t.Fragment,{},n)}},d=t.forwardRef((function(e,n){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),u=p(r),d=a,g=u["".concat(s,".").concat(d)]||u[d]||m[d]||o;return r?t.createElement(g,l(l({ref:n},c),{},{components:r})):t.createElement(g,l({ref:n},c))}));function g(e,n){var r=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=r.length,l=new Array(o);l[0]=d;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[u]="string"==typeof e?e:a,l[1]=i;for(var p=2;p{r.r(n),r.d(n,{assets:()=>s,contentTitle:()=>l,default:()=>m,frontMatter:()=>o,metadata:()=>i,toc:()=>p});var t=r(58168),a=(r(96540),r(15680));const o={},l=void 0,i={unversionedId:"study/program/JAVA/GC",id:"study/program/JAVA/GC",title:"GC",description:"JVM \u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5",source:"@site/docs/study/program/JAVA/GC.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/GC",permalink:"/docs/study/program/JAVA/GC",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Java",permalink:"/docs/study/program/JAVA/"},next:{title:"GraalVM",permalink:"/docs/study/program/JAVA/GraalVM"}},s={},p=[{value:"JVM \u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5",id:"jvm-\u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5",level:3},{value:"\u67e5\u770b\u5404\u4e2a\u7248\u672c\u7684 GC",id:"\u67e5\u770b\u5404\u4e2a\u7248\u672c\u7684-gc",level:3},{value:"JVM \u5185\u5b58\u95ee\u9898\u6392\u67e5",id:"jvm-\u5185\u5b58\u95ee\u9898\u6392\u67e5",level:3}],c={toc:p},u="wrapper";function m(e){let{components:n,...r}=e;return(0,a.yg)(u,(0,t.A)({},c,r,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"jvm-\u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5"},"JVM \u4e2d\u5e38\u89c1\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u6807\u8bb0-\u6e05\u9664\uff08Mark-Sweep\uff09: \u8fd9\u662f\u6700\u57fa\u672c\u7684\u5783\u573e\u6536\u96c6\u7b97\u6cd5\uff0c\u5b83\u5206\u4e3a\u4e24\u4e2a\u9636\u6bb5\uff0c\u6807\u8bb0\u548c\u6e05\u9664\u3002\u9996\u5148\u6807\u8bb0\u51fa\u6240\u6709\u9700\u8981\u56de\u6536\u7684\u5bf9\u8c61\uff0c\u7136\u540e\u8fdb\u884c\u6e05\u9664\u3002\u7f3a\u70b9\u662f\u6548\u7387\u4e0d\u9ad8\uff0c\u5e76\u4e14\u4f1a\u4ea7\u751f\u5927\u91cf\u4e0d\u8fde\u7eed\u7684\u5185\u5b58\u788e\u7247\u3002"),(0,a.yg)("li",{parentName:"ul"},"\uff08Copying\uff09: \u4e3a\u4e86\u89e3\u51b3\u6807\u8bb0-\u6e05\u9664\u7b97\u6cd5\u7684\u5185\u5b58\u788e\u7247\u95ee\u9898\uff0c\u51fa\u73b0\u4e86\u590d\u5236\u7b97\u6cd5\u3002\u5b83\u5c06\u53ef\u7528\u5185\u5b58\u5206\u4e3a\u4e24\u4e2a\u533a\u57df\uff0c\u6bcf\u6b21\u53ea\u4f7f\u7528\u5176\u4e2d\u4e00\u4e2a\u533a\u57df\u3002\u5f53\u8fd9\u4e2a\u533a\u57df\u6ee1\u65f6\uff0c\u5b83\u4f1a\u628a\u5b58\u6d3b\u7684\u5bf9\u8c61\u590d\u5236\u5230\u53e6\u4e00\u4e2a\u533a\u57df\uff0c\u7136\u540e\u6e05\u9664\u6b63\u5728\u4f7f\u7528\u7684\u90a3\u4e2a\u533a\u57df\u7684\u6240\u6709\u5bf9\u8c61\u3002\u8fd9\u79cd\u7b97\u6cd5\u5b9e\u73b0\u7b80\u5355\uff0c\u8fd0\u884c\u9ad8\u6548\uff0c\u4f46\u662f\u9700\u8981\u4e24\u500d\u7684\u5185\u5b58\u7a7a\u95f4\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6807\u8bb0-\u6574\u7406\uff08Mark-Compact\uff09: \u7ed3\u5408\u4e86\u6807\u8bb0-\u6e05\u9664\u548c\u590d\u5236\u7684\u4f18\u70b9\uff0c\u5b83\u5148\u6807\u8bb0\u9700\u8981\u56de\u6536\u7684\u5bf9\u8c61\uff0c\u7136\u540e\u628a\u6240\u6709\u5b58\u6d3b\u7684\u5bf9\u8c61\u90fd\u5411\u4e00\u7aef\u79fb\u52a8\uff0c\u63a5\u7740\u6e05\u9664\u6389\u7aef\u8fb9\u754c\u4ee5\u5916\u7684\u5185\u5b58\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5206\u4ee3\u6536\u96c6\uff08Generational Collector\uff09: \u57fa\u4e8e\u5bf9\u8c61\u751f\u547d\u5468\u671f\u7684\u4e0d\u540c\uff0c\u5b83\u5c06\u5806\u5206\u4e3a\u65b0\u751f\u4ee3\u548c\u8001\u5e74\u4ee3\u3002\u65b0\u751f\u4ee3\u4e2d\uff0c\u5927\u90e8\u5206\u5bf9\u8c61\u662f\u671d\u751f\u5915\u6b7b\u7684\uff0c\u6240\u4ee5\u53ef\u4ee5\u4f7f\u7528\u590d\u5236\u7b97\u6cd5\uff1b\u8001\u5e74\u4ee3\u4e2d\u5bf9\u8c61\u5b58\u6d3b\u7387\u9ad8\uff0c\u4e00\u822c\u4f7f\u7528\u6807\u8bb0-\u6574\u7406\u6216\u6807\u8bb0-\u6e05\u9664\u7b97\u6cd5\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u589e\u91cf\u6536\u96c6\uff08Incremental Collector\uff09: \u8fd9\u79cd\u7b97\u6cd5\u5141\u8bb8\u5783\u573e\u6536\u96c6\u5728\u5e94\u7528\u8fdb\u884c\u7684\u540c\u65f6\u8fdb\u884c\uff0c\u51cf\u5c11\u5e94\u7528\u7684\u6682\u505c\u65f6\u95f4\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u5e76\u53d1\u6807\u8bb0-\u6e05\u9664\uff08Concurrent Mark-Sweep, CMS\uff09: \u4e3a\u4e86\u51cf\u5c11\u5783\u573e\u6536\u96c6\u5bf9\u5e94\u7528\u7684\u5f71\u54cd\uff0c\u51fa\u73b0\u4e86\u5e76\u53d1\u6536\u96c6\u7b97\u6cd5\uff0c\u5b83\u5c1d\u8bd5\u8ba9\u5783\u573e\u6536\u96c6\u7684\u8fc7\u7a0b\u5e76\u53d1\u8fdb\u884c\u3002CMS \u7b97\u6cd5\u5206\u4e3a\u56db\u4e2a\u9636\u6bb5\uff0c\u5e76\u53d1\u6807\u8bb0\u3001\u5e76\u53d1\u9884\u6e05\u7406\u3001\u91cd\u65b0\u6807\u8bb0\u3001\u5e76\u53d1\u6e05\u9664\uff0c\u5c3d\u91cf\u51cf\u5c11\u5bf9\u5e94\u7528\u7684\u5f71\u54cd\u3002"),(0,a.yg)("li",{parentName:"ul"},"\u6539\u8fdb\u7684\u5e76\u53d1\u6807\u8bb0-\u6e05\u9664\uff08G1\uff09: \u4e3a\u4e86\u8fdb\u4e00\u6b65\u51cf\u5c11\u6682\u505c\u65f6\u95f4\u548c\u63d0\u9ad8\u541e\u5410\u91cf\uff0cJVM \u5728 Java 7 Update 4 \u4e2d\u5f15\u5165\u4e86 G1 \u5783\u573e\u6536\u96c6\u5668\u3002G1 \u5c1d\u8bd5\u628a\u5806\u7a7a\u95f4\u5212\u5206\u4e3a\u591a\u4e2a\u5927\u5c0f\u76f8\u7b49\u7684\u533a\u57df\uff0c\u5e76\u4e14\u53ef\u4ee5\u5e76\u53d1\u5904\u7406\u8fd9\u4e9b\u533a\u57df\u3002")),(0,a.yg)("h3",{id:"\u67e5\u770b\u5404\u4e2a\u7248\u672c\u7684-gc"},"\u67e5\u770b\u5404\u4e2a\u7248\u672c\u7684 GC"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"java -XX:+PrintCommandLineFlags -version\njava -XX:+PrintGCDetails -version\n")),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'java8 -XX:+PrintCommandLineFlags -version\n-XX:InitialHeapSize=268435456\n-XX:MaxHeapSize=4294967296\n-XX:+PrintCommandLineFlags\n-XX:+UseCompressedClassPointers\n-XX:+UseCompressedOops\n-XX:+UseParallelGC\njava version "1.8.0_181"\nJava(TM) SE Runtime Environment (build 1.8.0_181-b13)\nJava HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)\n')),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'java17 -XX:+PrintCommandLineFlags -version\n-XX:ConcGCThreads=2\n-XX:G1ConcRefinementThreads=8\n-XX:GCDrainStackTargetSize=64\n-XX:InitialHeapSize=268435456\n-XX:MarkStackSize=4194304\n-XX:MaxHeapSize=4294967296\n-XX:MinHeapSize=6815736\n-XX:+PrintCommandLineFlags\n-XX:ReservedCodeCacheSize=251658240\n-XX:+SegmentedCodeCache\n-XX:+UseCompressedClassPointers\n-XX:+UseCompressedOops\n-XX:+UseG1GC\njava version "17.0.6" 2023-01-17 LTS\nJava(TM) SE Runtime Environment (build 17.0.6+9-LTS-190)\nJava HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing)\n')),(0,a.yg)("h3",{id:"jvm-\u5185\u5b58\u95ee\u9898\u6392\u67e5"},"JVM \u5185\u5b58\u95ee\u9898\u6392\u67e5"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/679783776"},"\u77e5\u4e4e-\u4e09\u4e07\u5b57\u957f\u6587\uff1aJVM \u5185\u5b58\u95ee\u9898\u6392\u67e5 Cookbook"))))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f1999a3d.112477cd.js b/assets/js/f1999a3d.ccf30bd3.js similarity index 99% rename from assets/js/f1999a3d.112477cd.js rename to assets/js/f1999a3d.ccf30bd3.js index 034711623..d919c21fd 100644 --- a/assets/js/f1999a3d.112477cd.js +++ b/assets/js/f1999a3d.ccf30bd3.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3329],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>g});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),s=p(r),d=l,g=s["".concat(u,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(g,o(o({ref:t},c),{},{components:r})):n.createElement(g,o({ref:t},c))}));function g(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[s]="string"==typeof e?e:l,o[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,i={unversionedId:"study/program/JAVA/Vert.x",id:"study/program/JAVA/Vert.x",title:"Vert.x",description:"\u7b80\u4ecb",source:"@site/docs/study/program/JAVA/Vert.x.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/Vert.x",permalink:"/docs/study/program/JAVA/Vert.x",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"RxJava",permalink:"/docs/study/program/JAVA/RxJava"},next:{title:"\u4ee3\u7801\u751f\u6210",permalink:"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210"}},u={},p=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"Vert.x Core",id:"vertx-core",level:3},{value:"\u6d41\u5f0f\u4ee3\u7801\u98ce\u683c",id:"\u6d41\u5f0f\u4ee3\u7801\u98ce\u683c",level:3},{value:"Don\u2019t call us, we\u2019ll call you",id:"dont-call-us-well-call-you",level:3},{value:"Verticle",id:"verticle",level:3},{value:"Event Bus",id:"event-bus",level:3}],c={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,l.yg)(s,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://github.com/eclipse-vertx/vert.x"},"GitHub\u5730\u5740"),"\n",(0,l.yg)("a",{parentName:"p",href:"https://vertx.io"},"\u5b98\u7f51"),"\n",(0,l.yg)("a",{parentName:"p",href:"http://vertxchina.github.io/vertx-translation-chinese/"},"Vert.x \u5b98\u65b9\u6587\u6863\u4e2d\u6587\u7ffb\u8bd1")),(0,l.yg)("p",null,"Vert.x is a tool-kit for building reactive applications on the JVM.\nVert.x\u662f\u5efa\u7acb\u5728JVM\u4e0a\u7528\u4e8e\u6784\u5efa\u201c\u5f02\u6b65\u975e\u963b\u585e\u5e94\u7528\u201d\u7684\u4e00\u5957\u5de5\u5177\u96c6\u5408\u3002\n\u6ce8\u610f\uff1a\u4ed6\u4e0d\u662fjava\u6846\u67b6\uff0c\u5b83\u662f\u4e00\u5957\u5de5\u5177\u96c6\uff0c\u6216\u8005\u8bf4\u53eb\u7c7b\u5e93\u3002"),(0,l.yg)("h3",{id:"vertx-core"},"Vert.x Core"),(0,l.yg)("p",null,"Vert.x \u7684\u6838\u5fc3 Java API \u88ab\u6211\u4eec\u79f0\u4e3a Vert.x Core\u3002\nVert.x Core \u63d0\u4f9b\u4e86\u4e0b\u5217\u529f\u80fd:"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u7f16\u5199 TCP \u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef"),(0,l.yg)("li",{parentName:"ul"},"\u7f16\u5199\u652f\u6301 WebSocket \u7684 HTTP \u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef"),(0,l.yg)("li",{parentName:"ul"},"\u4e8b\u4ef6\u603b\u7ebf"),(0,l.yg)("li",{parentName:"ul"},"\u5171\u4eab\u6570\u636e \u2014\u2014 \u672c\u5730\u7684Map\u548c\u5206\u5e03\u5f0f\u96c6\u7fa4Map"),(0,l.yg)("li",{parentName:"ul"},"\u5468\u671f\u6027\u3001\u5ef6\u8fdf\u6027\u52a8\u4f5c"),(0,l.yg)("li",{parentName:"ul"},"\u90e8\u7f72\u548c\u64a4\u9500 Verticle \u5b9e\u4f8b"),(0,l.yg)("li",{parentName:"ul"},"\u6570\u636e\u62a5\u5957\u63a5\u5b57"),(0,l.yg)("li",{parentName:"ul"},"DNS\u5ba2\u6237\u7aef"),(0,l.yg)("li",{parentName:"ul"},"\u6587\u4ef6\u7cfb\u7edf\u8bbf\u95ee"),(0,l.yg)("li",{parentName:"ul"},"\u9ad8\u53ef\u7528\u6027"),(0,l.yg)("li",{parentName:"ul"},"\u96c6\u7fa4")),(0,l.yg)("h3",{id:"\u6d41\u5f0f\u4ee3\u7801\u98ce\u683c"},"\u6d41\u5f0f\u4ee3\u7801\u98ce\u683c"),(0,l.yg)("p",null,"\u4e00\u4e2a\u6d41\u5f0f\u7684API\u8868\u793a\u5c06\u591a\u4e2a\u65b9\u6cd5\u7684\u8c03\u7528\u94fe\u5728\u4e00\u8d77\u3002\u4f8b\u5982\uff1a"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},'request.response().putHeader("Content-Type", "text/plain").write("some text").end();\n')),(0,l.yg)("p",null,"\u8fd9\u662f\u8d2f\u7a7f Vert.x API \u4e2d\u7684\u4e00\u4e2a\u901a\u7528\u6a21\u5f0f\uff0c\u6240\u4ee5\u8bf7\u9002\u5e94\u8fd9\u79cd\u4ee3\u7801\u98ce\u683c\u3002"),(0,l.yg)("h3",{id:"dont-call-us-well-call-you"},"Don\u2019t call us, we\u2019ll call you"),(0,l.yg)("p",null,"Vert.x \u7684 API \u5927\u90e8\u5206\u90fd\u662f\u4e8b\u4ef6\u9a71\u52a8\u7684\u3002\u8fd9\u610f\u5473\u7740\u5f53\u60a8\u611f\u5174\u8da3\u7684\u4e8b\u60c5\u53d1\u751f\u65f6\uff0c\u5b83\u4f1a\u4ee5\u4e8b\u4ef6\u7684\u5f62\u5f0f\u53d1\u9001\u7ed9\u60a8\u3002"),(0,l.yg)("p",null,'\u9664\u4e86\u5f88\u5c11\u7684\u7279\u4f8b\uff08\u5982\u4ee5 "Sync" \u7ed3\u5c3e\u7684\u67d0\u4e9b\u6587\u4ef6\u7cfb\u7edf\u64cd\u4f5c\uff09\uff0cVert.x\u4e2d\u7684\u6240\u6709API\u90fd\u4e0d\u4f1a\u963b\u585e\u8c03\u7528\u7ebf\u7a0b\u3002'),(0,l.yg)("p",null,"\u6211\u4eec\u524d\u8fb9\u63d0\u8fc7 Vert.x \u7684 API \u90fd\u662f\u4e8b\u4ef6\u9a71\u52a8\u7684\uff0c\u5f53\u6709\u4e8b\u4ef6\u65f6 Vert.x \u4f1a\u5c06\u4e8b\u4ef6\u4f20\u7ed9\u5904\u7406\u5668\u6765\u5904\u7406\u3002\u5728\u591a\u6570\u60c5\u51b5\u4e0b\uff0cVert.x\u4f7f\u7528\u88ab\u79f0\u4e3a Event Loop \u7684\u7ebf\u7a0b\u6765\u8c03\u7528\u60a8\u7684\u5904\u7406\u5668\u3002\u6211\u4eec\u79f0\u4e4b\u4e3a Reactor \u6a21\u5f0f\uff08\u8bd1\u8005\u6ce8\uff1aReactor Pattern \u7ffb\u8bd1\u6210\u4e86\u53cd\u5e94\u5668\u6a21\u5f0f\uff09\u3002\u60a8\u4e4b\u524d\u4e5f\u8bb8\u542c\u8bf4\u8fc7\u5b83\uff0c\u4f8b\u5982 Node.js \u5b9e\u73b0\u4e86\u8fd9\u79cd\u6a21\u5f0f\u3002\n\u5728\u4e00\u4e2a\u6807\u51c6\u7684\u53cd\u5e94\u5668\u5b9e\u73b0\u4e2d\uff0c\u6709 \u4e00\u4e2a\u72ec\u7acb\u7684 Event Loop \u4f1a\u5faa\u73af\u6267\u884c\uff0c\u5904\u7406\u6240\u6709\u5230\u8fbe\u7684\u4e8b\u4ef6\u5e76\u4f20\u9012\u7ed9\u5904\u7406\u5668\u5904\u7406\u3002\n\u5355\u4e00\u7ebf\u7a0b\u7684\u95ee\u9898\u5728\u4e8e\u5b83\u5728\u4efb\u610f\u65f6\u523b\u53ea\u80fd\u8fd0\u884c\u5728\u4e00\u4e2a\u6838\u4e0a\u3002\u5982\u679c\u60a8\u5e0c\u671b\u5355\u7ebf\u7a0b\u53cd\u5e94\u5668\u5e94\u7528\uff08\u5982\u60a8\u7684 Node.js \u5e94\u7528\uff09\u6269\u5c55\u5230\u591a\u6838\u670d\u52a1\u5668\u4e0a\uff0c\u5219\u9700\u8981\u542f\u52a8\u5e76\u4e14\u7ba1\u7406\u591a\u4e2a\u4e0d\u540c\u7684\u8fdb\u7a0b\u3002\nVert.x\u7684\u5de5\u4f5c\u65b9\u5f0f\u6709\u6240\u4e0d\u540c\u3002\u6bcf\u4e2a Vertx \u5b9e\u4f8b\u7ef4\u62a4\u7684\u662f \u591a\u4e2aEvent Loop \u7ebf\u7a0b\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u4f1a\u6839\u636e\u673a\u5668\u4e0a\u53ef\u7528\u7684\u6838\u6570\u91cf\u6765\u8bbe\u7f6e Event Loop \u7684\u6570\u91cf\uff0c\u60a8\u4ea6\u53ef\u81ea\u884c\u8bbe\u7f6e\u3002\n\u8fd9\u610f\u5473\u7740 Vertx \u8fdb\u7a0b\u80fd\u591f\u5728\u60a8\u7684\u670d\u52a1\u5668\u4e0a\u6269\u5c55\uff0c\u4e0e Node.js \u4e0d\u540c\u3002\n\u6211\u4eec\u5c06\u8fd9\u79cd\u6a21\u5f0f\u79f0\u4e3a Multi-Reactor \u6a21\u5f0f\uff08\u591a\u53cd\u5e94\u5668\u6a21\u5f0f\uff09\uff0c\u533a\u522b\u4e8e\u5355\u7ebf\u7a0b\u7684 Reactor \u6a21\u5f0f\uff08\u53cd\u5e94\u5668\u6a21\u5f0f\uff09\u3002"),(0,l.yg)("p",null,"Vert.x \u4e2d\u7684 ",(0,l.yg)("a",{parentName:"p",href:"http://vertx.io/docs/apidocs/io/vertx/core/Future.html"},"Future")," \u53ef\u4ee5\u7528\u6765\u534f\u8c03\u591a\u4e2a\u5f02\u6b65\u64cd\u4f5c\u7684\u7ed3\u679c\u3002\u5b83\u652f\u6301\u5e76\u53d1\u7ec4\u5408\uff08\u5e76\u884c\u6267\u884c\u591a\u4e2a\u5f02\u6b65\u8c03\u7528\uff09\u548c\u987a\u5e8f\u7ec4\u5408\uff08\u4f9d\u6b21\u6267\u884c\u5f02\u6b65\u8c03\u7528\uff09\u3002"),(0,l.yg)("h3",{id:"verticle"},"Verticle"),(0,l.yg)("p",null,"Verticle \u662f\u7531 Vert.x \u90e8\u7f72\u548c\u8fd0\u884c\u7684\u4ee3\u7801\u5757\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e00\u4e2a Vert.x \u5b9e\u4f8b\u7ef4\u62a4\u4e86N\uff08\u9ed8\u8ba4\u60c5\u51b5\u4e0bN = CPU\u6838\u6570 x 2\uff09\u4e2a Event Loop \u7ebf\u7a0b\u3002Verticle \u5b9e\u4f8b\u53ef\u4f7f\u7528\u4efb\u610f Vert.x \u652f\u6301\u7684\u7f16\u7a0b\u8bed\u8a00\u7f16\u5199\uff0c\u800c\u4e14\u4e00\u4e2a\u7b80\u5355\u7684\u5e94\u7528\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u5305\u542b\u591a\u79cd\u8bed\u8a00\u7f16\u5199\u7684 Verticle\u3002\u60a8\u53ef\u4ee5\u5c06 Verticle \u60f3\u6210 Actor Model \u4e2d\u7684 Actor\u3002"),(0,l.yg)("p",null,"\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u662f\u7531\u5728\u540c\u4e00\u4e2a Vert.x \u5b9e\u4f8b\u4e2d\u540c\u65f6\u8fd0\u884c\u7684\u8bb8\u591a Verticle \u5b9e\u4f8b\u7ec4\u5408\u800c\u6210\u3002\u4e0d\u540c\u7684 Verticle \u5b9e\u4f8b\u901a\u8fc7\u5411 Event Bus \u4e0a\u53d1\u9001\u6d88\u606f\u6765\u76f8\u4e92\u901a\u4fe1\u3002"),(0,l.yg)("p",null,"\u8fd9\u513f\u6709\u4e09\u79cd\u4e0d\u540c\u7c7b\u578b\u7684 Verticle\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"Stardand Verticle\uff1a\u8fd9\u662f\u6700\u5e38\u7528\u7684\u4e00\u7c7b Verticle \u2014\u2014 \u5b83\u4eec\u6c38\u8fdc\u8fd0\u884c\u5728 Event Loop \u7ebf\u7a0b\u4e0a\u3002\u7a0d\u540e\u7684\u7ae0\u8282\u6211\u4eec\u4f1a\u8ba8\u8bba\u66f4\u591a\u3002"),(0,l.yg)("li",{parentName:"ul"},"Worker Verticle\uff1a\u8fd9\u7c7b Verticle \u4f1a\u8fd0\u884c\u5728 Worker Pool \u4e2d\u7684\u7ebf\u7a0b\u4e0a\u3002\u4e00\u4e2a\u5b9e\u4f8b\u7edd\u5bf9\u4e0d\u4f1a\u88ab\u591a\u4e2a\u7ebf\u7a0b\u540c\u65f6\u6267\u884c\u3002"),(0,l.yg)("li",{parentName:"ul"},"Multi-Threaded Worker Verticle\uff1a\u8fd9\u7c7b Verticle \u4e5f\u4f1a\u8fd0\u884c\u5728 Worker Pool \u4e2d\u7684\u7ebf\u7a0b\u4e0a\u3002\u4e00\u4e2a\u5b9e\u4f8b\u53ef\u4ee5\u7531\u591a\u4e2a\u7ebf\u7a0b\u540c\u65f6\u6267\u884c\uff08\u8bd1\u8005\u6ce8\uff1a\u56e0\u6b64\u9700\u8981\u5f00\u53d1\u8005\u81ea\u5df1\u786e\u4fdd\u7ebf\u7a0b\u5b89\u5168\uff09\u3002")),(0,l.yg)("h3",{id:"event-bus"},"Event Bus"),(0,l.yg)("p",null,"Event Bus \u662f Vert.x \u7684\u795e\u7ecf\u7cfb\u7edf\u3002\n\u6bcf\u4e00\u4e2a Vert.x \u5b9e\u4f8b\u90fd\u6709\u4e00\u4e2a\u5355\u72ec\u7684 Event Bus \u5b9e\u4f8b\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7 Vertx \u5b9e\u4f8b\u7684 ",(0,l.yg)("a",{parentName:"p",href:"http://vertx.io/docs/apidocs/io/vertx/core/Vertx.html#eventBus--"},"eventBus")," \u65b9\u6cd5\u6765\u83b7\u5f97\u5bf9\u5e94\u7684 EventBus \u5b9e\u4f8b\u3002\nVert.x\u4f1a\u5c3d\u5b83\u6700\u5927\u52aa\u529b\u53bb\u4f20\u9012\u6d88\u606f\uff0c\u5e76\u4e14\u4e0d\u4f1a\u4e3b\u52a8\u4e22\u5f03\u6d88\u606f\u3002\u8fd9\u79cd\u65b9\u5f0f\u79f0\u4e3a \u5c3d\u529b\u4f20\u8f93(Best-effort delivery)\u3002\n\u4f46\u662f\uff0c\u5f53 Event Bus \u4e2d\u7684\u5168\u90e8\u6216\u90e8\u5206\u53d1\u751f\u6545\u969c\u65f6\uff0c\u5219\u53ef\u80fd\u4f1a\u4e22\u5931\u6d88\u606f\u3002\n\u82e5\u60a8\u7684\u5e94\u7528\u5173\u5fc3\u4e22\u5931\u7684\u6d88\u606f\uff0c\u60a8\u5e94\u8be5\u7f16\u5199\u5177\u6709\u5e42\u7b49\u6027\u7684\u5904\u7406\u5668\uff0c\u5e76\u4e14\u60a8\u7684\u53d1\u9001\u8005\u53ef\u4ee5\u5728\u6062\u590d\u540e\u91cd\u8bd5\u3002"),(0,l.yg)("p",null,"Event Bus \u4e0d\u4ec5\u4ec5\u5b58\u5728\u4e8e\u5355\u4e2a Vert.x \u5b9e\u4f8b\u4e2d\u3002\u901a\u8fc7\u60a8\u5728\u7f51\u7edc\u4e0a\u5c06\u4e0d\u540c\u7684 Vert.x \u5b9e\u4f8b\u96c6\u7fa4\u5728\u4e00\u8d77\uff0c\u5b83\u53ef\u4ee5\u5f62\u6210\u4e00\u4e2a\u5355\u4e00\u7684\u3001\u5206\u5e03\u5f0f\u7684Event Bus\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3329],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>g});var n=r(96540);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,l=e.mdxType,a=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),s=p(r),d=l,g=s["".concat(u,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(g,o(o({ref:t},c),{},{components:r})):n.createElement(g,o({ref:t},c))}));function g(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[s]="string"==typeof e?e:l,o[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),l=(r(96540),r(15680));const a={},o=void 0,i={unversionedId:"study/program/JAVA/Vert.x",id:"study/program/JAVA/Vert.x",title:"Vert.x",description:"\u7b80\u4ecb",source:"@site/docs/study/program/JAVA/Vert.x.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/Vert.x",permalink:"/docs/study/program/JAVA/Vert.x",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"RxJava",permalink:"/docs/study/program/JAVA/RxJava"},next:{title:"\u4ee3\u7801\u751f\u6210",permalink:"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210"}},u={},p=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"Vert.x Core",id:"vertx-core",level:3},{value:"\u6d41\u5f0f\u4ee3\u7801\u98ce\u683c",id:"\u6d41\u5f0f\u4ee3\u7801\u98ce\u683c",level:3},{value:"Don\u2019t call us, we\u2019ll call you",id:"dont-call-us-well-call-you",level:3},{value:"Verticle",id:"verticle",level:3},{value:"Event Bus",id:"event-bus",level:3}],c={toc:p},s="wrapper";function y(e){let{components:t,...r}=e;return(0,l.yg)(s,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,l.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,l.yg)("p",null,(0,l.yg)("a",{parentName:"p",href:"https://github.com/eclipse-vertx/vert.x"},"GitHub\u5730\u5740"),"\n",(0,l.yg)("a",{parentName:"p",href:"https://vertx.io"},"\u5b98\u7f51"),"\n",(0,l.yg)("a",{parentName:"p",href:"http://vertxchina.github.io/vertx-translation-chinese/"},"Vert.x \u5b98\u65b9\u6587\u6863\u4e2d\u6587\u7ffb\u8bd1")),(0,l.yg)("p",null,"Vert.x is a tool-kit for building reactive applications on the JVM.\nVert.x\u662f\u5efa\u7acb\u5728JVM\u4e0a\u7528\u4e8e\u6784\u5efa\u201c\u5f02\u6b65\u975e\u963b\u585e\u5e94\u7528\u201d\u7684\u4e00\u5957\u5de5\u5177\u96c6\u5408\u3002\n\u6ce8\u610f\uff1a\u4ed6\u4e0d\u662fjava\u6846\u67b6\uff0c\u5b83\u662f\u4e00\u5957\u5de5\u5177\u96c6\uff0c\u6216\u8005\u8bf4\u53eb\u7c7b\u5e93\u3002"),(0,l.yg)("h3",{id:"vertx-core"},"Vert.x Core"),(0,l.yg)("p",null,"Vert.x \u7684\u6838\u5fc3 Java API \u88ab\u6211\u4eec\u79f0\u4e3a Vert.x Core\u3002\nVert.x Core \u63d0\u4f9b\u4e86\u4e0b\u5217\u529f\u80fd:"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"\u7f16\u5199 TCP \u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef"),(0,l.yg)("li",{parentName:"ul"},"\u7f16\u5199\u652f\u6301 WebSocket \u7684 HTTP \u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef"),(0,l.yg)("li",{parentName:"ul"},"\u4e8b\u4ef6\u603b\u7ebf"),(0,l.yg)("li",{parentName:"ul"},"\u5171\u4eab\u6570\u636e \u2014\u2014 \u672c\u5730\u7684Map\u548c\u5206\u5e03\u5f0f\u96c6\u7fa4Map"),(0,l.yg)("li",{parentName:"ul"},"\u5468\u671f\u6027\u3001\u5ef6\u8fdf\u6027\u52a8\u4f5c"),(0,l.yg)("li",{parentName:"ul"},"\u90e8\u7f72\u548c\u64a4\u9500 Verticle \u5b9e\u4f8b"),(0,l.yg)("li",{parentName:"ul"},"\u6570\u636e\u62a5\u5957\u63a5\u5b57"),(0,l.yg)("li",{parentName:"ul"},"DNS\u5ba2\u6237\u7aef"),(0,l.yg)("li",{parentName:"ul"},"\u6587\u4ef6\u7cfb\u7edf\u8bbf\u95ee"),(0,l.yg)("li",{parentName:"ul"},"\u9ad8\u53ef\u7528\u6027"),(0,l.yg)("li",{parentName:"ul"},"\u96c6\u7fa4")),(0,l.yg)("h3",{id:"\u6d41\u5f0f\u4ee3\u7801\u98ce\u683c"},"\u6d41\u5f0f\u4ee3\u7801\u98ce\u683c"),(0,l.yg)("p",null,"\u4e00\u4e2a\u6d41\u5f0f\u7684API\u8868\u793a\u5c06\u591a\u4e2a\u65b9\u6cd5\u7684\u8c03\u7528\u94fe\u5728\u4e00\u8d77\u3002\u4f8b\u5982\uff1a"),(0,l.yg)("pre",null,(0,l.yg)("code",{parentName:"pre",className:"language-shell"},'request.response().putHeader("Content-Type", "text/plain").write("some text").end();\n')),(0,l.yg)("p",null,"\u8fd9\u662f\u8d2f\u7a7f Vert.x API \u4e2d\u7684\u4e00\u4e2a\u901a\u7528\u6a21\u5f0f\uff0c\u6240\u4ee5\u8bf7\u9002\u5e94\u8fd9\u79cd\u4ee3\u7801\u98ce\u683c\u3002"),(0,l.yg)("h3",{id:"dont-call-us-well-call-you"},"Don\u2019t call us, we\u2019ll call you"),(0,l.yg)("p",null,"Vert.x \u7684 API \u5927\u90e8\u5206\u90fd\u662f\u4e8b\u4ef6\u9a71\u52a8\u7684\u3002\u8fd9\u610f\u5473\u7740\u5f53\u60a8\u611f\u5174\u8da3\u7684\u4e8b\u60c5\u53d1\u751f\u65f6\uff0c\u5b83\u4f1a\u4ee5\u4e8b\u4ef6\u7684\u5f62\u5f0f\u53d1\u9001\u7ed9\u60a8\u3002"),(0,l.yg)("p",null,'\u9664\u4e86\u5f88\u5c11\u7684\u7279\u4f8b\uff08\u5982\u4ee5 "Sync" \u7ed3\u5c3e\u7684\u67d0\u4e9b\u6587\u4ef6\u7cfb\u7edf\u64cd\u4f5c\uff09\uff0cVert.x\u4e2d\u7684\u6240\u6709API\u90fd\u4e0d\u4f1a\u963b\u585e\u8c03\u7528\u7ebf\u7a0b\u3002'),(0,l.yg)("p",null,"\u6211\u4eec\u524d\u8fb9\u63d0\u8fc7 Vert.x \u7684 API \u90fd\u662f\u4e8b\u4ef6\u9a71\u52a8\u7684\uff0c\u5f53\u6709\u4e8b\u4ef6\u65f6 Vert.x \u4f1a\u5c06\u4e8b\u4ef6\u4f20\u7ed9\u5904\u7406\u5668\u6765\u5904\u7406\u3002\u5728\u591a\u6570\u60c5\u51b5\u4e0b\uff0cVert.x\u4f7f\u7528\u88ab\u79f0\u4e3a Event Loop \u7684\u7ebf\u7a0b\u6765\u8c03\u7528\u60a8\u7684\u5904\u7406\u5668\u3002\u6211\u4eec\u79f0\u4e4b\u4e3a Reactor \u6a21\u5f0f\uff08\u8bd1\u8005\u6ce8\uff1aReactor Pattern \u7ffb\u8bd1\u6210\u4e86\u53cd\u5e94\u5668\u6a21\u5f0f\uff09\u3002\u60a8\u4e4b\u524d\u4e5f\u8bb8\u542c\u8bf4\u8fc7\u5b83\uff0c\u4f8b\u5982 Node.js \u5b9e\u73b0\u4e86\u8fd9\u79cd\u6a21\u5f0f\u3002\n\u5728\u4e00\u4e2a\u6807\u51c6\u7684\u53cd\u5e94\u5668\u5b9e\u73b0\u4e2d\uff0c\u6709 \u4e00\u4e2a\u72ec\u7acb\u7684 Event Loop \u4f1a\u5faa\u73af\u6267\u884c\uff0c\u5904\u7406\u6240\u6709\u5230\u8fbe\u7684\u4e8b\u4ef6\u5e76\u4f20\u9012\u7ed9\u5904\u7406\u5668\u5904\u7406\u3002\n\u5355\u4e00\u7ebf\u7a0b\u7684\u95ee\u9898\u5728\u4e8e\u5b83\u5728\u4efb\u610f\u65f6\u523b\u53ea\u80fd\u8fd0\u884c\u5728\u4e00\u4e2a\u6838\u4e0a\u3002\u5982\u679c\u60a8\u5e0c\u671b\u5355\u7ebf\u7a0b\u53cd\u5e94\u5668\u5e94\u7528\uff08\u5982\u60a8\u7684 Node.js \u5e94\u7528\uff09\u6269\u5c55\u5230\u591a\u6838\u670d\u52a1\u5668\u4e0a\uff0c\u5219\u9700\u8981\u542f\u52a8\u5e76\u4e14\u7ba1\u7406\u591a\u4e2a\u4e0d\u540c\u7684\u8fdb\u7a0b\u3002\nVert.x\u7684\u5de5\u4f5c\u65b9\u5f0f\u6709\u6240\u4e0d\u540c\u3002\u6bcf\u4e2a Vertx \u5b9e\u4f8b\u7ef4\u62a4\u7684\u662f \u591a\u4e2aEvent Loop \u7ebf\u7a0b\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u4f1a\u6839\u636e\u673a\u5668\u4e0a\u53ef\u7528\u7684\u6838\u6570\u91cf\u6765\u8bbe\u7f6e Event Loop \u7684\u6570\u91cf\uff0c\u60a8\u4ea6\u53ef\u81ea\u884c\u8bbe\u7f6e\u3002\n\u8fd9\u610f\u5473\u7740 Vertx \u8fdb\u7a0b\u80fd\u591f\u5728\u60a8\u7684\u670d\u52a1\u5668\u4e0a\u6269\u5c55\uff0c\u4e0e Node.js \u4e0d\u540c\u3002\n\u6211\u4eec\u5c06\u8fd9\u79cd\u6a21\u5f0f\u79f0\u4e3a Multi-Reactor \u6a21\u5f0f\uff08\u591a\u53cd\u5e94\u5668\u6a21\u5f0f\uff09\uff0c\u533a\u522b\u4e8e\u5355\u7ebf\u7a0b\u7684 Reactor \u6a21\u5f0f\uff08\u53cd\u5e94\u5668\u6a21\u5f0f\uff09\u3002"),(0,l.yg)("p",null,"Vert.x \u4e2d\u7684 ",(0,l.yg)("a",{parentName:"p",href:"http://vertx.io/docs/apidocs/io/vertx/core/Future.html"},"Future")," \u53ef\u4ee5\u7528\u6765\u534f\u8c03\u591a\u4e2a\u5f02\u6b65\u64cd\u4f5c\u7684\u7ed3\u679c\u3002\u5b83\u652f\u6301\u5e76\u53d1\u7ec4\u5408\uff08\u5e76\u884c\u6267\u884c\u591a\u4e2a\u5f02\u6b65\u8c03\u7528\uff09\u548c\u987a\u5e8f\u7ec4\u5408\uff08\u4f9d\u6b21\u6267\u884c\u5f02\u6b65\u8c03\u7528\uff09\u3002"),(0,l.yg)("h3",{id:"verticle"},"Verticle"),(0,l.yg)("p",null,"Verticle \u662f\u7531 Vert.x \u90e8\u7f72\u548c\u8fd0\u884c\u7684\u4ee3\u7801\u5757\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e00\u4e2a Vert.x \u5b9e\u4f8b\u7ef4\u62a4\u4e86N\uff08\u9ed8\u8ba4\u60c5\u51b5\u4e0bN = CPU\u6838\u6570 x 2\uff09\u4e2a Event Loop \u7ebf\u7a0b\u3002Verticle \u5b9e\u4f8b\u53ef\u4f7f\u7528\u4efb\u610f Vert.x \u652f\u6301\u7684\u7f16\u7a0b\u8bed\u8a00\u7f16\u5199\uff0c\u800c\u4e14\u4e00\u4e2a\u7b80\u5355\u7684\u5e94\u7528\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u5305\u542b\u591a\u79cd\u8bed\u8a00\u7f16\u5199\u7684 Verticle\u3002\u60a8\u53ef\u4ee5\u5c06 Verticle \u60f3\u6210 Actor Model \u4e2d\u7684 Actor\u3002"),(0,l.yg)("p",null,"\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u662f\u7531\u5728\u540c\u4e00\u4e2a Vert.x \u5b9e\u4f8b\u4e2d\u540c\u65f6\u8fd0\u884c\u7684\u8bb8\u591a Verticle \u5b9e\u4f8b\u7ec4\u5408\u800c\u6210\u3002\u4e0d\u540c\u7684 Verticle \u5b9e\u4f8b\u901a\u8fc7\u5411 Event Bus \u4e0a\u53d1\u9001\u6d88\u606f\u6765\u76f8\u4e92\u901a\u4fe1\u3002"),(0,l.yg)("p",null,"\u8fd9\u513f\u6709\u4e09\u79cd\u4e0d\u540c\u7c7b\u578b\u7684 Verticle\uff1a"),(0,l.yg)("ul",null,(0,l.yg)("li",{parentName:"ul"},"Stardand Verticle\uff1a\u8fd9\u662f\u6700\u5e38\u7528\u7684\u4e00\u7c7b Verticle \u2014\u2014 \u5b83\u4eec\u6c38\u8fdc\u8fd0\u884c\u5728 Event Loop \u7ebf\u7a0b\u4e0a\u3002\u7a0d\u540e\u7684\u7ae0\u8282\u6211\u4eec\u4f1a\u8ba8\u8bba\u66f4\u591a\u3002"),(0,l.yg)("li",{parentName:"ul"},"Worker Verticle\uff1a\u8fd9\u7c7b Verticle \u4f1a\u8fd0\u884c\u5728 Worker Pool \u4e2d\u7684\u7ebf\u7a0b\u4e0a\u3002\u4e00\u4e2a\u5b9e\u4f8b\u7edd\u5bf9\u4e0d\u4f1a\u88ab\u591a\u4e2a\u7ebf\u7a0b\u540c\u65f6\u6267\u884c\u3002"),(0,l.yg)("li",{parentName:"ul"},"Multi-Threaded Worker Verticle\uff1a\u8fd9\u7c7b Verticle \u4e5f\u4f1a\u8fd0\u884c\u5728 Worker Pool \u4e2d\u7684\u7ebf\u7a0b\u4e0a\u3002\u4e00\u4e2a\u5b9e\u4f8b\u53ef\u4ee5\u7531\u591a\u4e2a\u7ebf\u7a0b\u540c\u65f6\u6267\u884c\uff08\u8bd1\u8005\u6ce8\uff1a\u56e0\u6b64\u9700\u8981\u5f00\u53d1\u8005\u81ea\u5df1\u786e\u4fdd\u7ebf\u7a0b\u5b89\u5168\uff09\u3002")),(0,l.yg)("h3",{id:"event-bus"},"Event Bus"),(0,l.yg)("p",null,"Event Bus \u662f Vert.x \u7684\u795e\u7ecf\u7cfb\u7edf\u3002\n\u6bcf\u4e00\u4e2a Vert.x \u5b9e\u4f8b\u90fd\u6709\u4e00\u4e2a\u5355\u72ec\u7684 Event Bus \u5b9e\u4f8b\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7 Vertx \u5b9e\u4f8b\u7684 ",(0,l.yg)("a",{parentName:"p",href:"http://vertx.io/docs/apidocs/io/vertx/core/Vertx.html#eventBus--"},"eventBus")," \u65b9\u6cd5\u6765\u83b7\u5f97\u5bf9\u5e94\u7684 EventBus \u5b9e\u4f8b\u3002\nVert.x\u4f1a\u5c3d\u5b83\u6700\u5927\u52aa\u529b\u53bb\u4f20\u9012\u6d88\u606f\uff0c\u5e76\u4e14\u4e0d\u4f1a\u4e3b\u52a8\u4e22\u5f03\u6d88\u606f\u3002\u8fd9\u79cd\u65b9\u5f0f\u79f0\u4e3a \u5c3d\u529b\u4f20\u8f93(Best-effort delivery)\u3002\n\u4f46\u662f\uff0c\u5f53 Event Bus \u4e2d\u7684\u5168\u90e8\u6216\u90e8\u5206\u53d1\u751f\u6545\u969c\u65f6\uff0c\u5219\u53ef\u80fd\u4f1a\u4e22\u5931\u6d88\u606f\u3002\n\u82e5\u60a8\u7684\u5e94\u7528\u5173\u5fc3\u4e22\u5931\u7684\u6d88\u606f\uff0c\u60a8\u5e94\u8be5\u7f16\u5199\u5177\u6709\u5e42\u7b49\u6027\u7684\u5904\u7406\u5668\uff0c\u5e76\u4e14\u60a8\u7684\u53d1\u9001\u8005\u53ef\u4ee5\u5728\u6062\u590d\u540e\u91cd\u8bd5\u3002"),(0,l.yg)("p",null,"Event Bus \u4e0d\u4ec5\u4ec5\u5b58\u5728\u4e8e\u5355\u4e2a Vert.x \u5b9e\u4f8b\u4e2d\u3002\u901a\u8fc7\u60a8\u5728\u7f51\u7edc\u4e0a\u5c06\u4e0d\u540c\u7684 Vert.x \u5b9e\u4f8b\u96c6\u7fa4\u5728\u4e00\u8d77\uff0c\u5b83\u53ef\u4ee5\u5f62\u6210\u4e00\u4e2a\u5355\u4e00\u7684\u3001\u5206\u5e03\u5f0f\u7684Event Bus\u3002"))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f1ef9b9d.eacfa4bb.js b/assets/js/f1ef9b9d.0976b022.js similarity index 98% rename from assets/js/f1ef9b9d.eacfa4bb.js rename to assets/js/f1ef9b9d.0976b022.js index 32c38c010..58bffde4c 100644 --- a/assets/js/f1ef9b9d.eacfa4bb.js +++ b/assets/js/f1ef9b9d.0976b022.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4123],{15680:(e,t,n)=>{n.d(t,{xA:()=>s,yg:()=>d});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},s=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=c(n),m=a,d=u["".concat(p,".").concat(m)]||u[m]||y[m]||l;return n?r.createElement(d,o(o({ref:t},s),{},{components:n})):r.createElement(d,o({ref:t},s))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,o=new Array(l);o[0]=m;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[u]="string"==typeof e?e:a,o[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>y,frontMatter:()=>l,metadata:()=>i,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const l={},o=void 0,i={unversionedId:"study/system/Open\u6b27\u62c9",id:"study/system/Open\u6b27\u62c9",title:"Open\u6b27\u62c9",description:"\u5b57\u7b26\u96c6\u95ee\u9898",source:"@site/docs/study/system/Open\u6b27\u62c9.md",sourceDirName:"study/system",slug:"/study/system/Open\u6b27\u62c9",permalink:"/docs/study/system/Open\u6b27\u62c9",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6",permalink:"/docs/study/system/IO"},next:{title:"openWRT",permalink:"/docs/study/system/openWRT"}},p={},c=[{value:"\u5b57\u7b26\u96c6\u95ee\u9898",id:"\u5b57\u7b26\u96c6\u95ee\u9898",level:3},{value:"yum\u6e90\u95ee\u9898",id:"yum\u6e90\u95ee\u9898",level:3},{value:"\u5546\u4e1a\u7248\u672c",id:"\u5546\u4e1a\u7248\u672c",level:3}],s={toc:c},u="wrapper";function y(e){let{components:t,...n}=e;return(0,a.yg)(u,(0,r.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5b57\u7b26\u96c6\u95ee\u9898"},"\u5b57\u7b26\u96c6\u95ee\u9898"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'# \u5b89\u88c5\u5b57\u7b26\u96c6\ndnf install -y glibc-all-langpacks\n# \u67e5\u8be2\u6240\u6709\u5b89\u88c5\u7684\u5b57\u7b26\u96c6\nlocale -a\n# \u8bbe\u7f6e\u5b57\u7b26\u96c6\nexport LANG="en_US.utf8"\n')),(0,a.yg)("h3",{id:"yum\u6e90\u95ee\u9898"},"yum\u6e90\u95ee\u9898"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/lxcw_sir/article/details/140185068"},"https://blog.csdn.net/lxcw_sir/article/details/140185068"))),(0,a.yg)("h3",{id:"\u5546\u4e1a\u7248\u672c"},"\u5546\u4e1a\u7248\u672c"),(0,a.yg)("p",null,"\u76ee\u524d\u6709\u591a\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u4f9b\u5e94\u5546\u57fa\u4e8e OpenEuler \u53d1\u5e03\u5546\u7528\u7248\u672c\uff0c\u5982\u9e92\u9e9f\u8f6f\u4ef6\u3001\u7edf\u4fe1\u8f6f\u4ef6\u3001\u9e92\u9e9f\u4fe1\u5b89\u3001\u51dd\u601d\u3001SUSE\u3001\u8d85\u805a\u53d8\u7b49"),(0,a.yg)("p",null,"\u4ee5\u4e0b\u662f\u9e92\u9e9f\u8f6f\u4ef6\u3001\u7edf\u4fe1\u8f6f\u4ef6\u3001\u9e92\u9e9f\u4fe1\u5b89\u3001\u51dd\u601d\u3001SUSE\u3001\u8d85\u805a\u53d8\u7684\u5b98\u65b9\u7f51\u7ad9\u5730\u5740\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u9e92\u9e9f\u8f6f\u4ef6\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.kylinos.cn"},"http://www.kylinos.cn")),(0,a.yg)("li",{parentName:"ul"},"\u7edf\u4fe1\u8f6f\u4ef6\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.uniontech.com"},"http://www.uniontech.com")),(0,a.yg)("li",{parentName:"ul"},"\u9e92\u9e9f\u4fe1\u5b89\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.kylinsec.com.cn"},"http://www.kylinsec.com.cn")),(0,a.yg)("li",{parentName:"ul"},"\u51dd\u601d\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.linx-info.com"},"http://www.linx-info.com")),(0,a.yg)("li",{parentName:"ul"},"SUSE\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.suse.com"},"http://www.suse.com")),(0,a.yg)("li",{parentName:"ul"},"\u8d85\u805a\u53d8\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.xfusion.com"},"http://www.xfusion.com")),(0,a.yg)("li",{parentName:"ul"},"\u6df1\u5165\u641c\u7d22")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4123],{15680:(e,t,n)=>{n.d(t,{xA:()=>s,yg:()=>d});var r=n(96540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},s=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=c(n),m=a,d=u["".concat(p,".").concat(m)]||u[m]||y[m]||l;return n?r.createElement(d,o(o({ref:t},s),{},{components:n})):r.createElement(d,o({ref:t},s))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,o=new Array(l);o[0]=m;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[u]="string"==typeof e?e:a,o[1]=i;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>y,frontMatter:()=>l,metadata:()=>i,toc:()=>c});var r=n(58168),a=(n(96540),n(15680));const l={},o=void 0,i={unversionedId:"study/system/Open\u6b27\u62c9",id:"study/system/Open\u6b27\u62c9",title:"Open\u6b27\u62c9",description:"\u5b57\u7b26\u96c6\u95ee\u9898",source:"@site/docs/study/system/Open\u6b27\u62c9.md",sourceDirName:"study/system",slug:"/study/system/Open\u6b27\u62c9",permalink:"/docs/study/system/Open\u6b27\u62c9",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u64cd\u4f5c\u7cfb\u7edf IO \u77e5\u8bc6",permalink:"/docs/study/system/IO"},next:{title:"openWRT",permalink:"/docs/study/system/openWRT"}},p={},c=[{value:"\u5b57\u7b26\u96c6\u95ee\u9898",id:"\u5b57\u7b26\u96c6\u95ee\u9898",level:3},{value:"yum\u6e90\u95ee\u9898",id:"yum\u6e90\u95ee\u9898",level:3},{value:"\u5546\u4e1a\u7248\u672c",id:"\u5546\u4e1a\u7248\u672c",level:3}],s={toc:c},u="wrapper";function y(e){let{components:t,...n}=e;return(0,a.yg)(u,(0,r.A)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5b57\u7b26\u96c6\u95ee\u9898"},"\u5b57\u7b26\u96c6\u95ee\u9898"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},'# \u5b89\u88c5\u5b57\u7b26\u96c6\ndnf install -y glibc-all-langpacks\n# \u67e5\u8be2\u6240\u6709\u5b89\u88c5\u7684\u5b57\u7b26\u96c6\nlocale -a\n# \u8bbe\u7f6e\u5b57\u7b26\u96c6\nexport LANG="en_US.utf8"\n')),(0,a.yg)("h3",{id:"yum\u6e90\u95ee\u9898"},"yum\u6e90\u95ee\u9898"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://blog.csdn.net/lxcw_sir/article/details/140185068"},"https://blog.csdn.net/lxcw_sir/article/details/140185068"))),(0,a.yg)("h3",{id:"\u5546\u4e1a\u7248\u672c"},"\u5546\u4e1a\u7248\u672c"),(0,a.yg)("p",null,"\u76ee\u524d\u6709\u591a\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u4f9b\u5e94\u5546\u57fa\u4e8e OpenEuler \u53d1\u5e03\u5546\u7528\u7248\u672c\uff0c\u5982\u9e92\u9e9f\u8f6f\u4ef6\u3001\u7edf\u4fe1\u8f6f\u4ef6\u3001\u9e92\u9e9f\u4fe1\u5b89\u3001\u51dd\u601d\u3001SUSE\u3001\u8d85\u805a\u53d8\u7b49"),(0,a.yg)("p",null,"\u4ee5\u4e0b\u662f\u9e92\u9e9f\u8f6f\u4ef6\u3001\u7edf\u4fe1\u8f6f\u4ef6\u3001\u9e92\u9e9f\u4fe1\u5b89\u3001\u51dd\u601d\u3001SUSE\u3001\u8d85\u805a\u53d8\u7684\u5b98\u65b9\u7f51\u7ad9\u5730\u5740\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u9e92\u9e9f\u8f6f\u4ef6\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.kylinos.cn"},"http://www.kylinos.cn")),(0,a.yg)("li",{parentName:"ul"},"\u7edf\u4fe1\u8f6f\u4ef6\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.uniontech.com"},"http://www.uniontech.com")),(0,a.yg)("li",{parentName:"ul"},"\u9e92\u9e9f\u4fe1\u5b89\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.kylinsec.com.cn"},"http://www.kylinsec.com.cn")),(0,a.yg)("li",{parentName:"ul"},"\u51dd\u601d\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.linx-info.com"},"http://www.linx-info.com")),(0,a.yg)("li",{parentName:"ul"},"SUSE\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.suse.com"},"http://www.suse.com")),(0,a.yg)("li",{parentName:"ul"},"\u8d85\u805a\u53d8\uff1a",(0,a.yg)("a",{parentName:"li",href:"http://www.xfusion.com"},"http://www.xfusion.com")),(0,a.yg)("li",{parentName:"ul"},"\u6df1\u5165\u641c\u7d22")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f1f3474f.e495ac44.js b/assets/js/f1f3474f.0732bc4a.js similarity index 99% rename from assets/js/f1f3474f.e495ac44.js rename to assets/js/f1f3474f.0732bc4a.js index a57fc83d4..aa05d9b64 100644 --- a/assets/js/f1f3474f.e495ac44.js +++ b/assets/js/f1f3474f.0732bc4a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[568],{15680:(e,n,t)=>{t.d(n,{xA:()=>u,yg:()=>d});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=r.createContext({}),s=function(e){var n=r.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},u=function(e){var n=s(e.components);return r.createElement(p.Provider,{value:n},e.children)},c="mdxType",g={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),c=s(t),y=a,d=c["".concat(p,".").concat(y)]||c[y]||g[y]||o;return t?r.createElement(d,l(l({ref:n},u),{},{components:t})):r.createElement(d,l({ref:n},u))}));function d(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var i={};for(var p in n)hasOwnProperty.call(n,p)&&(i[p]=n[p]);i.originalType=e,i[c]="string"==typeof e?e:a,l[1]=i;for(var s=2;s{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>l,default:()=>g,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var r=t(58168),a=(t(96540),t(15680));const o={sidebar_position:2},l="\u5b98\u7f51",i={unversionedId:"xuanxing/fe/\u5b98\u7f51",id:"xuanxing/fe/\u5b98\u7f51",title:"\u5b98\u7f51",description:"\u5b98\u7f51\u6bd4\u8f83\u504f\u7eaf\u5c55\u793a\uff0c\u5bf9SEO\u6709\u8981\u6c42\uff0c\u5bf9CMS\u6709\u8981\u6c42\uff0c\u5bf9\u90e8\u5206\u8fd0\u8425\u6709\u9700\u6c42\uff1b",source:"@site/docs/xuanxing/fe/2-\u5b98\u7f51.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/\u5b98\u7f51",permalink:"/docs/xuanxing/fe/\u5b98\u7f51",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"xuanxingSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/fe/"},next:{title:"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef",permalink:"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef"}},p={},s=[{value:"\u9759\u6001\u9875\u9762\u5c55\u793a",id:"\u9759\u6001\u9875\u9762\u5c55\u793a",level:3},{value:"SEO",id:"seo",level:3},{value:"CMS+\u8fd0\u8425",id:"cms\u8fd0\u8425",level:3},{value:"\u6700\u7ec8",id:"\u6700\u7ec8",level:3},{value:"\u5173\u4e8e\u65b9\u68482\u7684\u540e\u7aefJS\u7684\u6280\u672f\u9009\u578b",id:"\u5173\u4e8e\u65b9\u68482\u7684\u540e\u7aefjs\u7684\u6280\u672f\u9009\u578b",level:4}],u={toc:s},c="wrapper";function g(e){let{components:n,...t}=e;return(0,a.yg)(c,(0,r.A)({},u,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u5b98\u7f51"},"\u5b98\u7f51"),(0,a.yg)("p",null,"\u5b98\u7f51\u6bd4\u8f83\u504f\u7eaf\u5c55\u793a\uff0c\u5bf9SEO\u6709\u8981\u6c42\uff0c\u5bf9CMS\u6709\u8981\u6c42\uff0c\u5bf9\u90e8\u5206\u8fd0\u8425\u6709\u9700\u6c42\uff1b"),(0,a.yg)("h3",{id:"\u9759\u6001\u9875\u9762\u5c55\u793a"},"\u9759\u6001\u9875\u9762\u5c55\u793a"),(0,a.yg)("p",null,"\u5b98\u7f51\u5176\u5b9e\u9664\u4e86\u5927\u6539\u7248\u7684\u65f6\u5019\uff0c\u57fa\u672c\u4e0a60%\u7684\u9875\u9762\u90fd\u662f\u5e38\u5e74\u4e0d\u52a8\u7684\u3002\u800c\u4e14\u90fd\u662f\u4e00\u4e9b\u6587\u6848\u548c\u56fe\u7247\u3002\n\u8fd9\u4e2a\u7279\u70b9\u7b2c\u4e00\u4e2a\u53ef\u4ee5\u60f3\u5230\u7684\u6280\u672f\u9009\u578b\u5c31\u662f ",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"Bootstrap")),"\uff1b"),(0,a.yg)("h3",{id:"seo"},"SEO"),(0,a.yg)("p",null,"\u5b98\u7f51\u80af\u5b9a\u5bf9SEO\u6709\u5f3a\u9700\u6c42\uff0c\u8bf4\u4ee5\uff0c\u6280\u672f\u9009\u578b\u662f\u5305\u62ec\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"SSR"),(0,a.yg)("li",{parentName:"ul"},"\u524d\u540e\u7aef\u4e0d\u5206\u79bb\u7684\u673a\u5236\uff0c\u4f8b\u5982PHP\u3001JSP\u7b49\u52a8\u6001\u7f51\u9875\u6280\u672f")),(0,a.yg)("h3",{id:"cms\u8fd0\u8425"},"CMS+\u8fd0\u8425"),(0,a.yg)("p",null,"\u867d\u7136\u5b98\u7f51\u5347\u7ea7\u6539\u7248\u5f88\u4e0d\u9891\u7e41\uff0c\u4f46\u662f\u5bf9CMS\u8fd8\u662f\u6709\u9700\u6c42\u7684\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\u8f6e\u64ad\u56fe\u7684\u66f4\u6362\uff0c\u6216\u8005\u8bf4\u660e\u6587\u6863\u7684\u65b0\u589e\u4fee\u6539\u7b49\uff0c\n\u6709\u65f6\u5019\u5b98\u7f51\u4e0a\u4e5f\u4f1a\u6709\u4e00\u4e9b\u8fd0\u8425\u6d3b\u52a8\u9875\u9762\uff1b"),(0,a.yg)("p",null,"\u6240\u4ee5\u6280\u672f\u9009\u578b\u4e0a\u4ed6\u662f\u9700\u8981\u540e\u7aef\u7684\uff0c\u5927\u6982\u7387\u4f1a\u5305\u62ecAPI\u3001\u6570\u636e\u5e93\u3001\u7f13\u5b58\u670d\u52a1\u7b49\uff1b"),(0,a.yg)("h3",{id:"\u6700\u7ec8"},"\u6700\u7ec8"),(0,a.yg)("p",null,"\u5907\u9009\u5217\u8868\u4e3a\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u65b9\u68481\uff1aBootstrap + Java + Springboot + SpringMVC + MyBatis + MySQL"),(0,a.yg)("li",{parentName:"ul"},"\u65b9\u68482\uff1aBootstrap + midway.js + MySQL")),(0,a.yg)("p",null,"\u65b9\u68481\u662f\u524d\u540e\u7aef\u7684\u6280\u672f\u6808\u5206\u79bb\uff1b\u65b9\u68482\u662f\u524d\u540e\u7aef\u7684\u6280\u672f\u6808\u4e0d\u5206\u79bb\uff0c\u4f7f\u7528\u7684\u662f\u524d\u7aef\u6280\u672f\u6808JS\uff1b"),(0,a.yg)("p",null,"\u5982\u679c\u524d\u7aef\u56e2\u961f\u76f8\u5bf9\u5f3a\u52bf\u7684\u8bdd\uff0c\u53ef\u4ee5\u9009\u62e9 ",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"\u65b9\u68481"))," \u5426\u5219\uff0c\u76f4\u63a5\u9009\u62e9",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"\u65b9\u68482"))),(0,a.yg)("p",null,"\u8bf4\u660e\u6587\u6863\u5355\u72ec\u8bf4\uff0c\u63a8\u8350",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"docusaurus"))),(0,a.yg)("h4",{id:"\u5173\u4e8e\u65b9\u68482\u7684\u540e\u7aefjs\u7684\u6280\u672f\u9009\u578b"},"\u5173\u4e8e\u65b9\u68482\u7684\u540e\u7aefJS\u7684\u6280\u672f\u9009\u578b"),(0,a.yg)("p",null,"koa.js >> egg.js >> midway.js \u8fd9\u4e48\u4e2a\u6280\u672f\u6f14\u8fdb\u548c\u5c01\u88c5\u5173\u7cfb\uff1b"),(0,a.yg)("p",null,"express.js >> nest.js \u8fd9\u4e48\u4e2a\u6280\u672f\u6f14\u8fdb\u548c\u5c01\u88c5\u5173\u7cfb\uff1b"),(0,a.yg)("p",null,"Koa.js \u662f Express.js \u539f\u73ed\u4eba\u9a6c\u7528\u65b0\u7406\u5ff5\u91cd\u65b0\u521b\u4f5c\u7684\u6846\u67b6\uff1b\n\u800c Express.js \u56e0\u4e3a\u4ea7\u751f\u5386\u53f2\u65e9\uff0c\u800c\u6709\u66f4\u597d\u7684\u751f\u6001\u57fa\u7840\uff0c\u5468\u8fb9\u7684\u63d2\u4ef6\u3001\u4e2d\u95f4\u4ef6\u4ec0\u4e48\u7684\u53ef\u80fd\u66f4\u4e30\u5bcc\uff1b"),(0,a.yg)("p",null,"Midway.js \u80cc\u540e\u662f\u963f\u91cc\u7684\u56e2\u961f\uff0c\u800c Nest.js \u80cc\u540e\u662f\u56fd\u5916\u7684 Trilon \u56e2\u961f\u3002"))}g.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[568],{15680:(e,n,t)=>{t.d(n,{xA:()=>u,yg:()=>d});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=r.createContext({}),s=function(e){var n=r.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},u=function(e){var n=s(e.components);return r.createElement(p.Provider,{value:n},e.children)},c="mdxType",g={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),c=s(t),y=a,d=c["".concat(p,".").concat(y)]||c[y]||g[y]||o;return t?r.createElement(d,l(l({ref:n},u),{},{components:t})):r.createElement(d,l({ref:n},u))}));function d(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var i={};for(var p in n)hasOwnProperty.call(n,p)&&(i[p]=n[p]);i.originalType=e,i[c]="string"==typeof e?e:a,l[1]=i;for(var s=2;s{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>l,default:()=>g,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var r=t(58168),a=(t(96540),t(15680));const o={sidebar_position:2},l="\u5b98\u7f51",i={unversionedId:"xuanxing/fe/\u5b98\u7f51",id:"xuanxing/fe/\u5b98\u7f51",title:"\u5b98\u7f51",description:"\u5b98\u7f51\u6bd4\u8f83\u504f\u7eaf\u5c55\u793a\uff0c\u5bf9SEO\u6709\u8981\u6c42\uff0c\u5bf9CMS\u6709\u8981\u6c42\uff0c\u5bf9\u90e8\u5206\u8fd0\u8425\u6709\u9700\u6c42\uff1b",source:"@site/docs/xuanxing/fe/2-\u5b98\u7f51.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/\u5b98\u7f51",permalink:"/docs/xuanxing/fe/\u5b98\u7f51",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"xuanxingSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/fe/"},next:{title:"\u7528\u6237\u7aef+\u7ba1\u7406\u7aef",permalink:"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef"}},p={},s=[{value:"\u9759\u6001\u9875\u9762\u5c55\u793a",id:"\u9759\u6001\u9875\u9762\u5c55\u793a",level:3},{value:"SEO",id:"seo",level:3},{value:"CMS+\u8fd0\u8425",id:"cms\u8fd0\u8425",level:3},{value:"\u6700\u7ec8",id:"\u6700\u7ec8",level:3},{value:"\u5173\u4e8e\u65b9\u68482\u7684\u540e\u7aefJS\u7684\u6280\u672f\u9009\u578b",id:"\u5173\u4e8e\u65b9\u68482\u7684\u540e\u7aefjs\u7684\u6280\u672f\u9009\u578b",level:4}],u={toc:s},c="wrapper";function g(e){let{components:n,...t}=e;return(0,a.yg)(c,(0,r.A)({},u,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u5b98\u7f51"},"\u5b98\u7f51"),(0,a.yg)("p",null,"\u5b98\u7f51\u6bd4\u8f83\u504f\u7eaf\u5c55\u793a\uff0c\u5bf9SEO\u6709\u8981\u6c42\uff0c\u5bf9CMS\u6709\u8981\u6c42\uff0c\u5bf9\u90e8\u5206\u8fd0\u8425\u6709\u9700\u6c42\uff1b"),(0,a.yg)("h3",{id:"\u9759\u6001\u9875\u9762\u5c55\u793a"},"\u9759\u6001\u9875\u9762\u5c55\u793a"),(0,a.yg)("p",null,"\u5b98\u7f51\u5176\u5b9e\u9664\u4e86\u5927\u6539\u7248\u7684\u65f6\u5019\uff0c\u57fa\u672c\u4e0a60%\u7684\u9875\u9762\u90fd\u662f\u5e38\u5e74\u4e0d\u52a8\u7684\u3002\u800c\u4e14\u90fd\u662f\u4e00\u4e9b\u6587\u6848\u548c\u56fe\u7247\u3002\n\u8fd9\u4e2a\u7279\u70b9\u7b2c\u4e00\u4e2a\u53ef\u4ee5\u60f3\u5230\u7684\u6280\u672f\u9009\u578b\u5c31\u662f ",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"Bootstrap")),"\uff1b"),(0,a.yg)("h3",{id:"seo"},"SEO"),(0,a.yg)("p",null,"\u5b98\u7f51\u80af\u5b9a\u5bf9SEO\u6709\u5f3a\u9700\u6c42\uff0c\u8bf4\u4ee5\uff0c\u6280\u672f\u9009\u578b\u662f\u5305\u62ec\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"SSR"),(0,a.yg)("li",{parentName:"ul"},"\u524d\u540e\u7aef\u4e0d\u5206\u79bb\u7684\u673a\u5236\uff0c\u4f8b\u5982PHP\u3001JSP\u7b49\u52a8\u6001\u7f51\u9875\u6280\u672f")),(0,a.yg)("h3",{id:"cms\u8fd0\u8425"},"CMS+\u8fd0\u8425"),(0,a.yg)("p",null,"\u867d\u7136\u5b98\u7f51\u5347\u7ea7\u6539\u7248\u5f88\u4e0d\u9891\u7e41\uff0c\u4f46\u662f\u5bf9CMS\u8fd8\u662f\u6709\u9700\u6c42\u7684\uff0c\u4e3b\u8981\u4f53\u73b0\u5728\u8f6e\u64ad\u56fe\u7684\u66f4\u6362\uff0c\u6216\u8005\u8bf4\u660e\u6587\u6863\u7684\u65b0\u589e\u4fee\u6539\u7b49\uff0c\n\u6709\u65f6\u5019\u5b98\u7f51\u4e0a\u4e5f\u4f1a\u6709\u4e00\u4e9b\u8fd0\u8425\u6d3b\u52a8\u9875\u9762\uff1b"),(0,a.yg)("p",null,"\u6240\u4ee5\u6280\u672f\u9009\u578b\u4e0a\u4ed6\u662f\u9700\u8981\u540e\u7aef\u7684\uff0c\u5927\u6982\u7387\u4f1a\u5305\u62ecAPI\u3001\u6570\u636e\u5e93\u3001\u7f13\u5b58\u670d\u52a1\u7b49\uff1b"),(0,a.yg)("h3",{id:"\u6700\u7ec8"},"\u6700\u7ec8"),(0,a.yg)("p",null,"\u5907\u9009\u5217\u8868\u4e3a\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u65b9\u68481\uff1aBootstrap + Java + Springboot + SpringMVC + MyBatis + MySQL"),(0,a.yg)("li",{parentName:"ul"},"\u65b9\u68482\uff1aBootstrap + midway.js + MySQL")),(0,a.yg)("p",null,"\u65b9\u68481\u662f\u524d\u540e\u7aef\u7684\u6280\u672f\u6808\u5206\u79bb\uff1b\u65b9\u68482\u662f\u524d\u540e\u7aef\u7684\u6280\u672f\u6808\u4e0d\u5206\u79bb\uff0c\u4f7f\u7528\u7684\u662f\u524d\u7aef\u6280\u672f\u6808JS\uff1b"),(0,a.yg)("p",null,"\u5982\u679c\u524d\u7aef\u56e2\u961f\u76f8\u5bf9\u5f3a\u52bf\u7684\u8bdd\uff0c\u53ef\u4ee5\u9009\u62e9 ",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"\u65b9\u68481"))," \u5426\u5219\uff0c\u76f4\u63a5\u9009\u62e9",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"\u65b9\u68482"))),(0,a.yg)("p",null,"\u8bf4\u660e\u6587\u6863\u5355\u72ec\u8bf4\uff0c\u63a8\u8350",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"docusaurus"))),(0,a.yg)("h4",{id:"\u5173\u4e8e\u65b9\u68482\u7684\u540e\u7aefjs\u7684\u6280\u672f\u9009\u578b"},"\u5173\u4e8e\u65b9\u68482\u7684\u540e\u7aefJS\u7684\u6280\u672f\u9009\u578b"),(0,a.yg)("p",null,"koa.js >> egg.js >> midway.js \u8fd9\u4e48\u4e2a\u6280\u672f\u6f14\u8fdb\u548c\u5c01\u88c5\u5173\u7cfb\uff1b"),(0,a.yg)("p",null,"express.js >> nest.js \u8fd9\u4e48\u4e2a\u6280\u672f\u6f14\u8fdb\u548c\u5c01\u88c5\u5173\u7cfb\uff1b"),(0,a.yg)("p",null,"Koa.js \u662f Express.js \u539f\u73ed\u4eba\u9a6c\u7528\u65b0\u7406\u5ff5\u91cd\u65b0\u521b\u4f5c\u7684\u6846\u67b6\uff1b\n\u800c Express.js \u56e0\u4e3a\u4ea7\u751f\u5386\u53f2\u65e9\uff0c\u800c\u6709\u66f4\u597d\u7684\u751f\u6001\u57fa\u7840\uff0c\u5468\u8fb9\u7684\u63d2\u4ef6\u3001\u4e2d\u95f4\u4ef6\u4ec0\u4e48\u7684\u53ef\u80fd\u66f4\u4e30\u5bcc\uff1b"),(0,a.yg)("p",null,"Midway.js \u80cc\u540e\u662f\u963f\u91cc\u7684\u56e2\u961f\uff0c\u800c Nest.js \u80cc\u540e\u662f\u56fd\u5916\u7684 Trilon \u56e2\u961f\u3002"))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f3a30e95.1aa4d532.js b/assets/js/f3a30e95.a0f5657f.js similarity index 99% rename from assets/js/f3a30e95.1aa4d532.js rename to assets/js/f3a30e95.a0f5657f.js index a9159e85e..d75ae40a9 100644 --- a/assets/js/f3a30e95.1aa4d532.js +++ b/assets/js/f3a30e95.a0f5657f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2373],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>g});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=r.createContext({}),u=function(e){var n=r.useContext(i),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},p=function(e){var n=u(e.components);return r.createElement(i.Provider,{value:n},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(t),y=a,g=s["".concat(i,".").concat(y)]||s[y]||d[y]||o;return t?r.createElement(g,l(l({ref:n},p),{},{components:t})):r.createElement(g,l({ref:n},p))}));function g(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var c={};for(var i in n)hasOwnProperty.call(n,i)&&(c[i]=n[i]);c.originalType=e,c[s]="string"==typeof e?e:a,l[1]=c;for(var u=2;u{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>u});var r=t(58168),a=(t(96540),t(15680));const o={},l="\u9501\uff08\u591a\u7ebf\u7a0b\uff09",c={unversionedId:"study/program/JAVA/\u9501",id:"study/program/JAVA/\u9501",title:"\u9501\uff08\u591a\u7ebf\u7a0b\uff09",description:"\u591a\u7ebf\u7a0b\u7f16\u7a0b\u5728\u73b0\u4ee3\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u5b83\u4f7f\u6211\u4eec\u80fd\u591f\u6709\u6548\u5730\u5229\u7528\u591a\u6838\u5904\u7406\u5668\u548c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u7136\u800c\uff0c\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e5f\u4f34\u968f\u7740\u4e00\u7cfb\u5217\u6311\u6218\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u4e4b\u4e00\u5c31\u662f\u5904\u7406\u5171\u4eab\u8d44\u6e90\u7684\u7ebf\u7a0b\u5b89\u5168\u6027\u3002\u5728\u8fd9\u4e2a\u9886\u57df\uff0c\u9501\uff08Lock\uff09\u662f\u4e00\u4e2a\u5173\u952e\u7684\u6982\u5ff5\uff0c\u7528\u4e8e\u534f\u8c03\u7ebf\u7a0b\u4e4b\u95f4\u5bf9\u5171\u4eab\u8d44\u6e90\u7684\u8bbf\u95ee\u3002",source:"@site/docs/study/program/JAVA/\u9501.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/\u9501",permalink:"/docs/study/program/JAVA/\u9501",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4ee3\u7801\u751f\u6210",permalink:"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210"},next:{title:"ABIAPI",permalink:"/docs/study/program/ABIAPI"}},i={},u=[{value:"\u91cd\u5165\u9501\uff08Reentrant Lock\uff09",id:"\u91cd\u5165\u9501reentrant-lock",level:3},{value:"\u4e92\u65a5\u9501\u548c synchronized \u5173\u952e\u5b57",id:"\u4e92\u65a5\u9501\u548c-synchronized-\u5173\u952e\u5b57",level:3},{value:"\u8bfb\u5199\u9501\uff08ReadWrite Lock\uff09",id:"\u8bfb\u5199\u9501readwrite-lock",level:3},{value:"\u81ea\u65cb\u9501\uff08Spin Lock\uff09",id:"\u81ea\u65cb\u9501spin-lock",level:3},{value:"\u9501\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027",id:"\u9501\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(s,(0,r.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u9501\u591a\u7ebf\u7a0b"},"\u9501\uff08\u591a\u7ebf\u7a0b\uff09"),(0,a.yg)("p",null,"\u591a\u7ebf\u7a0b\u7f16\u7a0b\u5728\u73b0\u4ee3\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u5b83\u4f7f\u6211\u4eec\u80fd\u591f\u6709\u6548\u5730\u5229\u7528\u591a\u6838\u5904\u7406\u5668\u548c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u7136\u800c\uff0c\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e5f\u4f34\u968f\u7740\u4e00\u7cfb\u5217\u6311\u6218\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u4e4b\u4e00\u5c31\u662f\u5904\u7406\u5171\u4eab\u8d44\u6e90\u7684\u7ebf\u7a0b\u5b89\u5168\u6027\u3002\u5728\u8fd9\u4e2a\u9886\u57df\uff0c\u9501\uff08Lock\uff09\u662f\u4e00\u4e2a\u5173\u952e\u7684\u6982\u5ff5\uff0c\u7528\u4e8e\u534f\u8c03\u7ebf\u7a0b\u4e4b\u95f4\u5bf9\u5171\u4eab\u8d44\u6e90\u7684\u8bbf\u95ee\u3002\n\u4f5c\u8005\uff1aflydean\n\u94fe\u63a5\uff1a",(0,a.yg)("a",{parentName:"p",href:"https://www.zhihu.com/question/550510128/answer/3227011144"},"https://www.zhihu.com/question/550510128/answer/3227011144"),"\n\u6765\u6e90\uff1a\u77e5\u4e4e\n\u8457\u4f5c\u6743\u5f52\u4f5c\u8005\u6240\u6709\u3002\u5546\u4e1a\u8f6c\u8f7d\u8bf7\u8054\u7cfb\u4f5c\u8005\u83b7\u5f97\u6388\u6743\uff0c\u975e\u5546\u4e1a\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\u3002"),(0,a.yg)("h3",{id:"\u91cd\u5165\u9501reentrant-lock"},"\u91cd\u5165\u9501\uff08Reentrant Lock\uff09"),(0,a.yg)("p",null,"\u9996\u5148\uff0c\u8ba9\u6211\u4eec\u6df1\u5165\u7814\u7a76\u4e00\u4e0b\u91cd\u5165\u9501\uff0c\u8fd9\u662f Java \u4e2d\u6700\u5e38\u89c1\u7684\u9501\u4e4b\u4e00\u3002\u91cd\u5165\u9501\u662f\u4e00\u79cd\u53ef\u91cd\u5165\u9501\uff0c\u8fd9\u610f\u5473\u7740\u540c\u4e00\u7ebf\u7a0b\u53ef\u4ee5\u591a\u6b21\u83b7\u53d6\u540c\u4e00\u4e2a\u9501\uff0c\u800c\u4e0d\u4f1a\u9020\u6210\u6b7b\u9501\u3002\u8fd9\u79cd\u7279\u6027\u4f7f\u5f97\u91cd\u5165\u9501\u5728\u8bb8\u591a\u590d\u6742\u7684\u591a\u7ebf\u7a0b\u573a\u666f\u4e2d\u975e\u5e38\u6709\u7528\u3002\u91cd\u5165\u9501\u7684\u5b9e\u73b0\u901a\u5e38\u9700\u8981\u663e\u5f0f\u5730\u9501\u5b9a\u548c\u89e3\u9501\uff0c\u8fd9\u4f7f\u5f97\u5b83\u66f4\u52a0\u7075\u6d3b\uff0c\u4f46\u4e5f\u9700\u8981\u5f00\u53d1\u4eba\u5458\u66f4\u5c0f\u5fc3\u5730\u7ba1\u7406\u9501\u7684\u72b6\u6001\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528\u91cd\u5165\u9501\u6765\u5b9e\u73b0\u7ebf\u7a0b\u5b89\u5168\uff1a"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"import java.util.concurrent.locks.ReentrantLock;\n\npublic class Counter {\n private int count = 0;\n private ReentrantLock lock = new ReentrantLock();\n\n public void increment() {\n lock.lock(); // \u83b7\u53d6\u9501\n try {\n count++;\n } finally {\n lock.unlock(); // \u91ca\u653e\u9501\n }\n }\n\n public int getCount() {\n lock.lock(); // \u83b7\u53d6\u9501\n try {\n return count;\n } finally {\n lock.unlock(); // \u91ca\u653e\u9501\n }\n }\n}\n")),(0,a.yg)("p",null,"\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 ReentrantLock \u6765\u4fdd\u62a4 count \u5b57\u6bb5\u7684\u8bbf\u95ee\uff0c\u786e\u4fdd increment \u548c getCount \u65b9\u6cd5\u7684\u7ebf\u7a0b\u5b89\u5168\u6027\u3002\u8bf7\u6ce8\u610f\uff0c\u6211\u4eec\u5728\u83b7\u53d6\u9501\u540e\u4f7f\u7528 try-finally \u5757\u6765\u786e\u4fdd\u5728\u5b8c\u6210\u64cd\u4f5c\u540e\u91ca\u653e\u9501\uff0c\u4ee5\u9632\u6b62\u6b7b\u9501\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://blog.csdn.net/weixin_46121031/article/details/106121238"},"CSDN-ReentrantLock \u9501")),(0,a.yg)("h3",{id:"\u4e92\u65a5\u9501\u548c-synchronized-\u5173\u952e\u5b57"},"\u4e92\u65a5\u9501\u548c synchronized \u5173\u952e\u5b57"),(0,a.yg)("p",null,"\u9664\u4e86\u91cd\u5165\u9501\uff0cJava \u4e2d\u8fd8\u63d0\u4f9b\u4e86\u4e92\u65a5\u9501\u7684\u6982\u5ff5\uff0c\u6700\u5e38\u89c1\u7684\u65b9\u5f0f\u662f\u4f7f\u7528 synchronized \u5173\u952e\u5b57\u3002synchronized \u5173\u952e\u5b57\u53ef\u4ee5\u7528\u4e8e\u65b9\u6cd5\u6216\u4ee3\u7801\u5757\uff0c\u4ee5\u786e\u4fdd\u540c\u4e00\u65f6\u523b\u53ea\u6709\u4e00\u4e2a\u7ebf\u7a0b\u53ef\u4ee5\u8bbf\u95ee\u88ab\u9501\u5b9a\u7684\u8d44\u6e90\u3002"),(0,a.yg)("p",null,"\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 synchronized \u6765\u5b9e\u73b0\u4e0e\u4e0a\u9762\u793a\u4f8b\u76f8\u540c\u7684 Counter \u7c7b\uff1a"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"public class Counter {\n private int count = 0;\n\n public synchronized void increment() {\n count++;\n }\n\n public synchronized int getCount() {\n return count;\n }\n}\n")),(0,a.yg)("p",null,"\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 synchronized \u5173\u952e\u5b57\u6765\u6807\u8bb0 increment \u548c getCount \u65b9\u6cd5\uff0c\u4f7f\u5b83\u4eec\u6210\u4e3a\u540c\u6b65\u65b9\u6cd5\u3002\u8fd9\u610f\u5473\u7740\u540c\u4e00\u65f6\u523b\u53ea\u6709\u4e00\u4e2a\u7ebf\u7a0b\u53ef\u4ee5\u8bbf\u95ee\u8fd9\u4e24\u4e2a\u65b9\u6cd5\uff0c\u4ece\u800c\u786e\u4fdd\u4e86\u7ebf\u7a0b\u5b89\u5168\u6027\u3002"),(0,a.yg)("p",null,"\u4e92\u65a5\u9501\u548c\u91cd\u5165\u9501\u4e4b\u95f4\u7684\u4e3b\u8981\u533a\u522b\u5728\u4e8e\u7075\u6d3b\u6027\u548c\u63a7\u5236\u3002\u4f7f\u7528 synchronized \u5173\u952e\u5b57\u66f4\u7b80\u5355\uff0c\u4f46\u76f8\u5bf9\u4e0d\u591f\u7075\u6d3b\uff0c\u56e0\u4e3a\u5b83\u9690\u5f0f\u5730\u7ba1\u7406\u9501\u3002\u91cd\u5165\u9501\u5219\u9700\u8981\u66f4\u663e\u5f0f\u7684\u9501\u5b9a\u548c\u89e3\u9501\u64cd\u4f5c\uff0c\u4f46\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u63a7\u5236\u9009\u9879\u3002"),(0,a.yg)("h3",{id:"\u8bfb\u5199\u9501readwrite-lock"},"\u8bfb\u5199\u9501\uff08ReadWrite Lock\uff09"),(0,a.yg)("p",null,"\u8bfb\u5199\u9501\u662f\u4e00\u79cd\u7279\u6b8a\u7c7b\u578b\u7684\u9501\uff0c\u5b83\u5728\u67d0\u4e9b\u573a\u666f\u4e0b\u53ef\u4ee5\u63d0\u9ad8\u591a\u7ebf\u7a0b\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u8bfb\u5199\u9501\u5141\u8bb8\u591a\u4e2a\u7ebf\u7a0b\u540c\u65f6\u8bfb\u53d6\u5171\u4eab\u8d44\u6e90\uff0c\u4f46\u53ea\u5141\u8bb8\u4e00\u4e2a\u7ebf\u7a0b\u5199\u5165\u5171\u4eab\u8d44\u6e90\u3002\u8fd9\u79cd\u673a\u5236\u5bf9\u4e8e\u8bfb\u64cd\u4f5c\u8fdc\u8fdc\u591a\u4e8e\u5199\u64cd\u4f5c\u7684\u60c5\u51b5\u975e\u5e38\u6709\u6548\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u63d0\u9ad8\u8bfb\u64cd\u4f5c\u7684\u5e76\u53d1\u6027\u3002\u8ba9\u6211\u4eec\u770b\u4e00\u4e2a\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528 ReadWriteLock \u63a5\u53e3\u53ca\u5176\u5b9e\u73b0\u6765\u7ba1\u7406\u8d44\u6e90\u7684\u8bfb\u5199\u8bbf\u95ee\uff1a"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"import java.util.concurrent.locks.ReadWriteLock;\nimport java.util.concurrent.locks.ReentrantReadWriteLock;\n\npublic class SharedResource {\n private int data = 0;\n private final ReadWriteLock lock = new ReentrantReadWriteLock();\n\n public int readData() {\n lock.readLock().lock(); // \u83b7\u53d6\u8bfb\u9501\n try {\n return data;\n } finally {\n lock.readLock().unlock(); // \u91ca\u653e\u8bfb\u9501\n }\n }\n\n public void writeData(int newValue) {\n lock.writeLock().lock(); // \u83b7\u53d6\u5199\u9501\n try {\n data = newValue;\n } finally {\n lock.writeLock().unlock(); // \u91ca\u653e\u5199\u9501\n }\n }\n}\n")),(0,a.yg)("p",null,"\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 ReentrantReadWriteLock \u5b9e\u73b0\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u5171\u4eab\u8d44\u6e90\u7ba1\u7406\u7c7b\u3002readData \u65b9\u6cd5\u4f7f\u7528\u8bfb\u9501\u6765\u5141\u8bb8\u591a\u4e2a\u7ebf\u7a0b\u5e76\u53d1\u8bfb\u53d6 data \u7684\u503c\uff0c\u800c writeData \u65b9\u6cd5\u4f7f\u7528\u5199\u9501\u6765\u786e\u4fdd\u53ea\u6709\u4e00\u4e2a\u7ebf\u7a0b\u53ef\u4ee5\u4fee\u6539 data \u7684\u503c\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u63d0\u9ad8\u8bfb\u64cd\u4f5c\u7684\u5e76\u53d1\u6027\uff0c\u4ece\u800c\u63d0\u9ad8\u6027\u80fd\u3002"),(0,a.yg)("h3",{id:"\u81ea\u65cb\u9501spin-lock"},"\u81ea\u65cb\u9501\uff08Spin Lock\uff09"),(0,a.yg)("p",null,"\u81ea\u65cb\u9501\u662f\u4e00\u79cd\u9501\u5b9a\u673a\u5236\uff0c\u4e0d\u4f1a\u8ba9\u7ebf\u7a0b\u8fdb\u5165\u4f11\u7720\u72b6\u6001\uff0c\u800c\u662f\u4f1a\u53cd\u590d\u68c0\u67e5\u9501\u662f\u5426\u53ef\u7528\u3002\u8fd9\u79cd\u9501\u9002\u7528\u4e8e\u90a3\u4e9b\u671f\u671b\u9501\u88ab\u6301\u6709\u65f6\u95f4\u975e\u5e38\u77ed\u6682\u7684\u60c5\u51b5\uff0c\u56e0\u4e3a\u5b83\u907f\u514d\u4e86\u7ebf\u7a0b\u8fdb\u5165\u548c\u9000\u51fa\u4f11\u7720\u72b6\u6001\u7684\u5f00\u9500\u3002\u81ea\u65cb\u9501\u901a\u5e38\u5728\u5355\u6838\u6216\u4f4e\u5e76\u53d1\u60c5\u51b5\u4e0b\u66f4\u4e3a\u6709\u6548\uff0c\u56e0\u4e3a\u5728\u9ad8\u5e76\u53d1\u60c5\u51b5\u4e0b\u4f1a\u5bfc\u81f4 CPU \u8d44\u6e90\u7684\u6d6a\u8d39\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u81ea\u65cb\u9501\u793a\u4f8b\uff1a"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"import java.util.concurrent.atomic.AtomicBoolean;\n\npublic class SpinLock {\n private AtomicBoolean locked = new AtomicBoolean(false);\n\n public void lock() {\n while (!locked.compareAndSet(false, true)) {\n // \u81ea\u65cb\u7b49\u5f85\u9501\u7684\u91ca\u653e\n }\n }\n\n public void unlock() {\n locked.set(false);\n }\n}\n")),(0,a.yg)("p",null,"\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86 AtomicBoolean \u6765\u5b9e\u73b0\u81ea\u65cb\u9501\u3002lock \u65b9\u6cd5\u4f7f\u7528\u81ea\u65cb\u7b49\u5f85\u9501\u7684\u91ca\u653e\uff0c\u76f4\u5230\u6210\u529f\u83b7\u53d6\u9501\u3002unlock \u65b9\u6cd5\u7528\u4e8e\u91ca\u653e\u9501\u3002\u81ea\u65cb\u9501\u7684\u6027\u80fd\u548c\u9002\u7528\u6027\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\uff0c\u56e0\u6b64\u5728\u9009\u62e9\u9501\u7684\u7c7b\u578b\u65f6\u9700\u8981\u8c28\u614e\u8003\u8651\u3002"),(0,a.yg)("h3",{id:"\u9501\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027"},"\u9501\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027"),(0,a.yg)("p",null,"\u9009\u62e9\u9002\u5f53\u7c7b\u578b\u7684\u9501\u4ee5\u6ee1\u8db3\u6027\u80fd\u9700\u6c42\u662f\u591a\u7ebf\u7a0b\u7f16\u7a0b\u7684\u91cd\u8981\u65b9\u9762\u3002\u4e0d\u540c\u7c7b\u578b\u7684\u9501\u5728\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027\u65b9\u9762\u5177\u6709\u4e0d\u540c\u7684\u7279\u70b9\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f7f\u7528\u8fc7\u591a\u7684\u9501\u53ef\u80fd\u5bfc\u81f4\u6027\u80fd\u4e0b\u964d\uff0c\u800c\u5728\u5176\u4ed6\u60c5\u51b5\u4e0b\uff0c\u9009\u62e9\u9519\u8bef\u7684\u9501\u7c7b\u578b\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7ade\u4e89\u548c\u74f6\u9888\u3002"),(0,a.yg)("p",null,"\u6027\u80fd\u6d4b\u8bd5\u548c\u6bd4\u8f83\u662f\u8bc4\u4f30\u9501\u6027\u80fd\u7684\u5173\u952e\u6b65\u9aa4\u3002\u901a\u8fc7\u5bf9\u4e0d\u540c\u9501\u7c7b\u578b\u7684\u6027\u80fd\u8fdb\u884c\u57fa\u51c6\u6d4b\u8bd5\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u66f4\u597d\u5730\u4e86\u89e3\u5b83\u4eec\u5728\u7279\u5b9a\u60c5\u51b5\u4e0b\u7684\u8868\u73b0\u3002\u6b64\u5916\uff0c\u6027\u80fd\u6d4b\u8bd5\u8fd8\u53ef\u4ee5\u5e2e\u52a9\u786e\u5b9a\u662f\u5426\u9700\u8981\u8c03\u6574\u9501\u7684\u914d\u7f6e\uff0c\u5982\u5e76\u53d1\u7ea7\u522b\u6216\u7b49\u5f85\u7b56\u7565\u3002"),(0,a.yg)("p",null,"\u9664\u4e86\u6027\u80fd\u5916\uff0c\u53ef\u4f38\u7f29\u6027\u4e5f\u662f\u4e00\u4e2a\u5173\u952e\u8003\u8651\u56e0\u7d20\u3002\u53ef\u4f38\u7f29\u6027\u6307\u7684\u662f\u5728\u589e\u52a0\u6838\u5fc3\u6570\u6216\u7ebf\u7a0b\u6570\u65f6\uff0c\u7cfb\u7edf\u7684\u6027\u80fd\u662f\u5426\u80fd\u591f\u7ebf\u6027\u63d0\u9ad8\u3002\u67d0\u4e9b\u9501\u7c7b\u578b\u5728\u9ad8\u5ea6\u5e76\u53d1\u7684\u60c5\u51b5\u4e0b\u53ef\u80fd\u4f1a\u4ea7\u751f\u4e89\u7528\uff0c\u4ece\u800c\u964d\u4f4e\u53ef\u4f38\u7f29\u6027\u3002"),(0,a.yg)("p",null,"\u56e0\u6b64\uff0c\u5728\u9009\u62e9\u9501\u65f6\uff0c\u9700\u8981\u6839\u636e\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u9700\u6c42\u548c\u5e76\u53d1\u8d1f\u8f7d\u6765\u6743\u8861\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027\u3002\u4e00\u4e9b\u5e38\u89c1\u7684\u9501\u4f18\u5316\u7b56\u7565\u5305\u62ec\u8c03\u6574\u5e76\u53d1\u7ea7\u522b\u3001\u9009\u62e9\u5408\u9002\u7684\u7b49\u5f85\u7b56\u7565\u4ee5\u53ca\u4f7f\u7528\u5206\u79bb\u9501\u6765\u51cf\u5c0f\u7ade\u4e89\u8303\u56f4\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.zhihu.com/question/550510128/answer/3227011144"},"\u77e5\u4e4e-Java \u591a\u7ebf\u7a0b\u9501"))))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2373],{15680:(e,n,t)=>{t.d(n,{xA:()=>p,yg:()=>g});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var i=r.createContext({}),u=function(e){var n=r.useContext(i),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},p=function(e){var n=u(e.components);return r.createElement(i.Provider,{value:n},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},y=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(t),y=a,g=s["".concat(i,".").concat(y)]||s[y]||d[y]||o;return t?r.createElement(g,l(l({ref:n},p),{},{components:t})):r.createElement(g,l({ref:n},p))}));function g(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=y;var c={};for(var i in n)hasOwnProperty.call(n,i)&&(c[i]=n[i]);c.originalType=e,c[s]="string"==typeof e?e:a,l[1]=c;for(var u=2;u{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>u});var r=t(58168),a=(t(96540),t(15680));const o={},l="\u9501\uff08\u591a\u7ebf\u7a0b\uff09",c={unversionedId:"study/program/JAVA/\u9501",id:"study/program/JAVA/\u9501",title:"\u9501\uff08\u591a\u7ebf\u7a0b\uff09",description:"\u591a\u7ebf\u7a0b\u7f16\u7a0b\u5728\u73b0\u4ee3\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u5b83\u4f7f\u6211\u4eec\u80fd\u591f\u6709\u6548\u5730\u5229\u7528\u591a\u6838\u5904\u7406\u5668\u548c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u7136\u800c\uff0c\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e5f\u4f34\u968f\u7740\u4e00\u7cfb\u5217\u6311\u6218\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u4e4b\u4e00\u5c31\u662f\u5904\u7406\u5171\u4eab\u8d44\u6e90\u7684\u7ebf\u7a0b\u5b89\u5168\u6027\u3002\u5728\u8fd9\u4e2a\u9886\u57df\uff0c\u9501\uff08Lock\uff09\u662f\u4e00\u4e2a\u5173\u952e\u7684\u6982\u5ff5\uff0c\u7528\u4e8e\u534f\u8c03\u7ebf\u7a0b\u4e4b\u95f4\u5bf9\u5171\u4eab\u8d44\u6e90\u7684\u8bbf\u95ee\u3002",source:"@site/docs/study/program/JAVA/\u9501.md",sourceDirName:"study/program/JAVA",slug:"/study/program/JAVA/\u9501",permalink:"/docs/study/program/JAVA/\u9501",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u4ee3\u7801\u751f\u6210",permalink:"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210"},next:{title:"ABIAPI",permalink:"/docs/study/program/ABIAPI"}},i={},u=[{value:"\u91cd\u5165\u9501\uff08Reentrant Lock\uff09",id:"\u91cd\u5165\u9501reentrant-lock",level:3},{value:"\u4e92\u65a5\u9501\u548c synchronized \u5173\u952e\u5b57",id:"\u4e92\u65a5\u9501\u548c-synchronized-\u5173\u952e\u5b57",level:3},{value:"\u8bfb\u5199\u9501\uff08ReadWrite Lock\uff09",id:"\u8bfb\u5199\u9501readwrite-lock",level:3},{value:"\u81ea\u65cb\u9501\uff08Spin Lock\uff09",id:"\u81ea\u65cb\u9501spin-lock",level:3},{value:"\u9501\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027",id:"\u9501\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],p={toc:u},s="wrapper";function d(e){let{components:n,...t}=e;return(0,a.yg)(s,(0,r.A)({},p,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u9501\u591a\u7ebf\u7a0b"},"\u9501\uff08\u591a\u7ebf\u7a0b\uff09"),(0,a.yg)("p",null,"\u591a\u7ebf\u7a0b\u7f16\u7a0b\u5728\u73b0\u4ee3\u8f6f\u4ef6\u5f00\u53d1\u4e2d\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u5b83\u4f7f\u6211\u4eec\u80fd\u591f\u6709\u6548\u5730\u5229\u7528\u591a\u6838\u5904\u7406\u5668\u548c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u7136\u800c\uff0c\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e5f\u4f34\u968f\u7740\u4e00\u7cfb\u5217\u6311\u6218\uff0c\u5176\u4e2d\u6700\u91cd\u8981\u7684\u4e4b\u4e00\u5c31\u662f\u5904\u7406\u5171\u4eab\u8d44\u6e90\u7684\u7ebf\u7a0b\u5b89\u5168\u6027\u3002\u5728\u8fd9\u4e2a\u9886\u57df\uff0c\u9501\uff08Lock\uff09\u662f\u4e00\u4e2a\u5173\u952e\u7684\u6982\u5ff5\uff0c\u7528\u4e8e\u534f\u8c03\u7ebf\u7a0b\u4e4b\u95f4\u5bf9\u5171\u4eab\u8d44\u6e90\u7684\u8bbf\u95ee\u3002\n\u4f5c\u8005\uff1aflydean\n\u94fe\u63a5\uff1a",(0,a.yg)("a",{parentName:"p",href:"https://www.zhihu.com/question/550510128/answer/3227011144"},"https://www.zhihu.com/question/550510128/answer/3227011144"),"\n\u6765\u6e90\uff1a\u77e5\u4e4e\n\u8457\u4f5c\u6743\u5f52\u4f5c\u8005\u6240\u6709\u3002\u5546\u4e1a\u8f6c\u8f7d\u8bf7\u8054\u7cfb\u4f5c\u8005\u83b7\u5f97\u6388\u6743\uff0c\u975e\u5546\u4e1a\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\u3002"),(0,a.yg)("h3",{id:"\u91cd\u5165\u9501reentrant-lock"},"\u91cd\u5165\u9501\uff08Reentrant Lock\uff09"),(0,a.yg)("p",null,"\u9996\u5148\uff0c\u8ba9\u6211\u4eec\u6df1\u5165\u7814\u7a76\u4e00\u4e0b\u91cd\u5165\u9501\uff0c\u8fd9\u662f Java \u4e2d\u6700\u5e38\u89c1\u7684\u9501\u4e4b\u4e00\u3002\u91cd\u5165\u9501\u662f\u4e00\u79cd\u53ef\u91cd\u5165\u9501\uff0c\u8fd9\u610f\u5473\u7740\u540c\u4e00\u7ebf\u7a0b\u53ef\u4ee5\u591a\u6b21\u83b7\u53d6\u540c\u4e00\u4e2a\u9501\uff0c\u800c\u4e0d\u4f1a\u9020\u6210\u6b7b\u9501\u3002\u8fd9\u79cd\u7279\u6027\u4f7f\u5f97\u91cd\u5165\u9501\u5728\u8bb8\u591a\u590d\u6742\u7684\u591a\u7ebf\u7a0b\u573a\u666f\u4e2d\u975e\u5e38\u6709\u7528\u3002\u91cd\u5165\u9501\u7684\u5b9e\u73b0\u901a\u5e38\u9700\u8981\u663e\u5f0f\u5730\u9501\u5b9a\u548c\u89e3\u9501\uff0c\u8fd9\u4f7f\u5f97\u5b83\u66f4\u52a0\u7075\u6d3b\uff0c\u4f46\u4e5f\u9700\u8981\u5f00\u53d1\u4eba\u5458\u66f4\u5c0f\u5fc3\u5730\u7ba1\u7406\u9501\u7684\u72b6\u6001\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528\u91cd\u5165\u9501\u6765\u5b9e\u73b0\u7ebf\u7a0b\u5b89\u5168\uff1a"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"import java.util.concurrent.locks.ReentrantLock;\n\npublic class Counter {\n private int count = 0;\n private ReentrantLock lock = new ReentrantLock();\n\n public void increment() {\n lock.lock(); // \u83b7\u53d6\u9501\n try {\n count++;\n } finally {\n lock.unlock(); // \u91ca\u653e\u9501\n }\n }\n\n public int getCount() {\n lock.lock(); // \u83b7\u53d6\u9501\n try {\n return count;\n } finally {\n lock.unlock(); // \u91ca\u653e\u9501\n }\n }\n}\n")),(0,a.yg)("p",null,"\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 ReentrantLock \u6765\u4fdd\u62a4 count \u5b57\u6bb5\u7684\u8bbf\u95ee\uff0c\u786e\u4fdd increment \u548c getCount \u65b9\u6cd5\u7684\u7ebf\u7a0b\u5b89\u5168\u6027\u3002\u8bf7\u6ce8\u610f\uff0c\u6211\u4eec\u5728\u83b7\u53d6\u9501\u540e\u4f7f\u7528 try-finally \u5757\u6765\u786e\u4fdd\u5728\u5b8c\u6210\u64cd\u4f5c\u540e\u91ca\u653e\u9501\uff0c\u4ee5\u9632\u6b62\u6b7b\u9501\u3002"),(0,a.yg)("p",null,(0,a.yg)("a",{parentName:"p",href:"https://blog.csdn.net/weixin_46121031/article/details/106121238"},"CSDN-ReentrantLock \u9501")),(0,a.yg)("h3",{id:"\u4e92\u65a5\u9501\u548c-synchronized-\u5173\u952e\u5b57"},"\u4e92\u65a5\u9501\u548c synchronized \u5173\u952e\u5b57"),(0,a.yg)("p",null,"\u9664\u4e86\u91cd\u5165\u9501\uff0cJava \u4e2d\u8fd8\u63d0\u4f9b\u4e86\u4e92\u65a5\u9501\u7684\u6982\u5ff5\uff0c\u6700\u5e38\u89c1\u7684\u65b9\u5f0f\u662f\u4f7f\u7528 synchronized \u5173\u952e\u5b57\u3002synchronized \u5173\u952e\u5b57\u53ef\u4ee5\u7528\u4e8e\u65b9\u6cd5\u6216\u4ee3\u7801\u5757\uff0c\u4ee5\u786e\u4fdd\u540c\u4e00\u65f6\u523b\u53ea\u6709\u4e00\u4e2a\u7ebf\u7a0b\u53ef\u4ee5\u8bbf\u95ee\u88ab\u9501\u5b9a\u7684\u8d44\u6e90\u3002"),(0,a.yg)("p",null,"\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 synchronized \u6765\u5b9e\u73b0\u4e0e\u4e0a\u9762\u793a\u4f8b\u76f8\u540c\u7684 Counter \u7c7b\uff1a"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"public class Counter {\n private int count = 0;\n\n public synchronized void increment() {\n count++;\n }\n\n public synchronized int getCount() {\n return count;\n }\n}\n")),(0,a.yg)("p",null,"\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 synchronized \u5173\u952e\u5b57\u6765\u6807\u8bb0 increment \u548c getCount \u65b9\u6cd5\uff0c\u4f7f\u5b83\u4eec\u6210\u4e3a\u540c\u6b65\u65b9\u6cd5\u3002\u8fd9\u610f\u5473\u7740\u540c\u4e00\u65f6\u523b\u53ea\u6709\u4e00\u4e2a\u7ebf\u7a0b\u53ef\u4ee5\u8bbf\u95ee\u8fd9\u4e24\u4e2a\u65b9\u6cd5\uff0c\u4ece\u800c\u786e\u4fdd\u4e86\u7ebf\u7a0b\u5b89\u5168\u6027\u3002"),(0,a.yg)("p",null,"\u4e92\u65a5\u9501\u548c\u91cd\u5165\u9501\u4e4b\u95f4\u7684\u4e3b\u8981\u533a\u522b\u5728\u4e8e\u7075\u6d3b\u6027\u548c\u63a7\u5236\u3002\u4f7f\u7528 synchronized \u5173\u952e\u5b57\u66f4\u7b80\u5355\uff0c\u4f46\u76f8\u5bf9\u4e0d\u591f\u7075\u6d3b\uff0c\u56e0\u4e3a\u5b83\u9690\u5f0f\u5730\u7ba1\u7406\u9501\u3002\u91cd\u5165\u9501\u5219\u9700\u8981\u66f4\u663e\u5f0f\u7684\u9501\u5b9a\u548c\u89e3\u9501\u64cd\u4f5c\uff0c\u4f46\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u63a7\u5236\u9009\u9879\u3002"),(0,a.yg)("h3",{id:"\u8bfb\u5199\u9501readwrite-lock"},"\u8bfb\u5199\u9501\uff08ReadWrite Lock\uff09"),(0,a.yg)("p",null,"\u8bfb\u5199\u9501\u662f\u4e00\u79cd\u7279\u6b8a\u7c7b\u578b\u7684\u9501\uff0c\u5b83\u5728\u67d0\u4e9b\u573a\u666f\u4e0b\u53ef\u4ee5\u63d0\u9ad8\u591a\u7ebf\u7a0b\u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u8bfb\u5199\u9501\u5141\u8bb8\u591a\u4e2a\u7ebf\u7a0b\u540c\u65f6\u8bfb\u53d6\u5171\u4eab\u8d44\u6e90\uff0c\u4f46\u53ea\u5141\u8bb8\u4e00\u4e2a\u7ebf\u7a0b\u5199\u5165\u5171\u4eab\u8d44\u6e90\u3002\u8fd9\u79cd\u673a\u5236\u5bf9\u4e8e\u8bfb\u64cd\u4f5c\u8fdc\u8fdc\u591a\u4e8e\u5199\u64cd\u4f5c\u7684\u60c5\u51b5\u975e\u5e38\u6709\u6548\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u63d0\u9ad8\u8bfb\u64cd\u4f5c\u7684\u5e76\u53d1\u6027\u3002\u8ba9\u6211\u4eec\u770b\u4e00\u4e2a\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528 ReadWriteLock \u63a5\u53e3\u53ca\u5176\u5b9e\u73b0\u6765\u7ba1\u7406\u8d44\u6e90\u7684\u8bfb\u5199\u8bbf\u95ee\uff1a"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"import java.util.concurrent.locks.ReadWriteLock;\nimport java.util.concurrent.locks.ReentrantReadWriteLock;\n\npublic class SharedResource {\n private int data = 0;\n private final ReadWriteLock lock = new ReentrantReadWriteLock();\n\n public int readData() {\n lock.readLock().lock(); // \u83b7\u53d6\u8bfb\u9501\n try {\n return data;\n } finally {\n lock.readLock().unlock(); // \u91ca\u653e\u8bfb\u9501\n }\n }\n\n public void writeData(int newValue) {\n lock.writeLock().lock(); // \u83b7\u53d6\u5199\u9501\n try {\n data = newValue;\n } finally {\n lock.writeLock().unlock(); // \u91ca\u653e\u5199\u9501\n }\n }\n}\n")),(0,a.yg)("p",null,"\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528 ReentrantReadWriteLock \u5b9e\u73b0\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u5171\u4eab\u8d44\u6e90\u7ba1\u7406\u7c7b\u3002readData \u65b9\u6cd5\u4f7f\u7528\u8bfb\u9501\u6765\u5141\u8bb8\u591a\u4e2a\u7ebf\u7a0b\u5e76\u53d1\u8bfb\u53d6 data \u7684\u503c\uff0c\u800c writeData \u65b9\u6cd5\u4f7f\u7528\u5199\u9501\u6765\u786e\u4fdd\u53ea\u6709\u4e00\u4e2a\u7ebf\u7a0b\u53ef\u4ee5\u4fee\u6539 data \u7684\u503c\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u63d0\u9ad8\u8bfb\u64cd\u4f5c\u7684\u5e76\u53d1\u6027\uff0c\u4ece\u800c\u63d0\u9ad8\u6027\u80fd\u3002"),(0,a.yg)("h3",{id:"\u81ea\u65cb\u9501spin-lock"},"\u81ea\u65cb\u9501\uff08Spin Lock\uff09"),(0,a.yg)("p",null,"\u81ea\u65cb\u9501\u662f\u4e00\u79cd\u9501\u5b9a\u673a\u5236\uff0c\u4e0d\u4f1a\u8ba9\u7ebf\u7a0b\u8fdb\u5165\u4f11\u7720\u72b6\u6001\uff0c\u800c\u662f\u4f1a\u53cd\u590d\u68c0\u67e5\u9501\u662f\u5426\u53ef\u7528\u3002\u8fd9\u79cd\u9501\u9002\u7528\u4e8e\u90a3\u4e9b\u671f\u671b\u9501\u88ab\u6301\u6709\u65f6\u95f4\u975e\u5e38\u77ed\u6682\u7684\u60c5\u51b5\uff0c\u56e0\u4e3a\u5b83\u907f\u514d\u4e86\u7ebf\u7a0b\u8fdb\u5165\u548c\u9000\u51fa\u4f11\u7720\u72b6\u6001\u7684\u5f00\u9500\u3002\u81ea\u65cb\u9501\u901a\u5e38\u5728\u5355\u6838\u6216\u4f4e\u5e76\u53d1\u60c5\u51b5\u4e0b\u66f4\u4e3a\u6709\u6548\uff0c\u56e0\u4e3a\u5728\u9ad8\u5e76\u53d1\u60c5\u51b5\u4e0b\u4f1a\u5bfc\u81f4 CPU \u8d44\u6e90\u7684\u6d6a\u8d39\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u81ea\u65cb\u9501\u793a\u4f8b\uff1a"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-Java"},"import java.util.concurrent.atomic.AtomicBoolean;\n\npublic class SpinLock {\n private AtomicBoolean locked = new AtomicBoolean(false);\n\n public void lock() {\n while (!locked.compareAndSet(false, true)) {\n // \u81ea\u65cb\u7b49\u5f85\u9501\u7684\u91ca\u653e\n }\n }\n\n public void unlock() {\n locked.set(false);\n }\n}\n")),(0,a.yg)("p",null,"\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86 AtomicBoolean \u6765\u5b9e\u73b0\u81ea\u65cb\u9501\u3002lock \u65b9\u6cd5\u4f7f\u7528\u81ea\u65cb\u7b49\u5f85\u9501\u7684\u91ca\u653e\uff0c\u76f4\u5230\u6210\u529f\u83b7\u53d6\u9501\u3002unlock \u65b9\u6cd5\u7528\u4e8e\u91ca\u653e\u9501\u3002\u81ea\u65cb\u9501\u7684\u6027\u80fd\u548c\u9002\u7528\u6027\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\uff0c\u56e0\u6b64\u5728\u9009\u62e9\u9501\u7684\u7c7b\u578b\u65f6\u9700\u8981\u8c28\u614e\u8003\u8651\u3002"),(0,a.yg)("h3",{id:"\u9501\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027"},"\u9501\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027"),(0,a.yg)("p",null,"\u9009\u62e9\u9002\u5f53\u7c7b\u578b\u7684\u9501\u4ee5\u6ee1\u8db3\u6027\u80fd\u9700\u6c42\u662f\u591a\u7ebf\u7a0b\u7f16\u7a0b\u7684\u91cd\u8981\u65b9\u9762\u3002\u4e0d\u540c\u7c7b\u578b\u7684\u9501\u5728\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027\u65b9\u9762\u5177\u6709\u4e0d\u540c\u7684\u7279\u70b9\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f7f\u7528\u8fc7\u591a\u7684\u9501\u53ef\u80fd\u5bfc\u81f4\u6027\u80fd\u4e0b\u964d\uff0c\u800c\u5728\u5176\u4ed6\u60c5\u51b5\u4e0b\uff0c\u9009\u62e9\u9519\u8bef\u7684\u9501\u7c7b\u578b\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7ade\u4e89\u548c\u74f6\u9888\u3002"),(0,a.yg)("p",null,"\u6027\u80fd\u6d4b\u8bd5\u548c\u6bd4\u8f83\u662f\u8bc4\u4f30\u9501\u6027\u80fd\u7684\u5173\u952e\u6b65\u9aa4\u3002\u901a\u8fc7\u5bf9\u4e0d\u540c\u9501\u7c7b\u578b\u7684\u6027\u80fd\u8fdb\u884c\u57fa\u51c6\u6d4b\u8bd5\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u66f4\u597d\u5730\u4e86\u89e3\u5b83\u4eec\u5728\u7279\u5b9a\u60c5\u51b5\u4e0b\u7684\u8868\u73b0\u3002\u6b64\u5916\uff0c\u6027\u80fd\u6d4b\u8bd5\u8fd8\u53ef\u4ee5\u5e2e\u52a9\u786e\u5b9a\u662f\u5426\u9700\u8981\u8c03\u6574\u9501\u7684\u914d\u7f6e\uff0c\u5982\u5e76\u53d1\u7ea7\u522b\u6216\u7b49\u5f85\u7b56\u7565\u3002"),(0,a.yg)("p",null,"\u9664\u4e86\u6027\u80fd\u5916\uff0c\u53ef\u4f38\u7f29\u6027\u4e5f\u662f\u4e00\u4e2a\u5173\u952e\u8003\u8651\u56e0\u7d20\u3002\u53ef\u4f38\u7f29\u6027\u6307\u7684\u662f\u5728\u589e\u52a0\u6838\u5fc3\u6570\u6216\u7ebf\u7a0b\u6570\u65f6\uff0c\u7cfb\u7edf\u7684\u6027\u80fd\u662f\u5426\u80fd\u591f\u7ebf\u6027\u63d0\u9ad8\u3002\u67d0\u4e9b\u9501\u7c7b\u578b\u5728\u9ad8\u5ea6\u5e76\u53d1\u7684\u60c5\u51b5\u4e0b\u53ef\u80fd\u4f1a\u4ea7\u751f\u4e89\u7528\uff0c\u4ece\u800c\u964d\u4f4e\u53ef\u4f38\u7f29\u6027\u3002"),(0,a.yg)("p",null,"\u56e0\u6b64\uff0c\u5728\u9009\u62e9\u9501\u65f6\uff0c\u9700\u8981\u6839\u636e\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u9700\u6c42\u548c\u5e76\u53d1\u8d1f\u8f7d\u6765\u6743\u8861\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027\u3002\u4e00\u4e9b\u5e38\u89c1\u7684\u9501\u4f18\u5316\u7b56\u7565\u5305\u62ec\u8c03\u6574\u5e76\u53d1\u7ea7\u522b\u3001\u9009\u62e9\u5408\u9002\u7684\u7b49\u5f85\u7b56\u7565\u4ee5\u53ca\u4f7f\u7528\u5206\u79bb\u9501\u6765\u51cf\u5c0f\u7ade\u4e89\u8303\u56f4\u3002"),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("a",{parentName:"li",href:"https://www.zhihu.com/question/550510128/answer/3227011144"},"\u77e5\u4e4e-Java \u591a\u7ebf\u7a0b\u9501"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f5515f41.47aa5819.js b/assets/js/f5515f41.e263a2ef.js similarity index 98% rename from assets/js/f5515f41.47aa5819.js rename to assets/js/f5515f41.e263a2ef.js index 2a5543a55..61954f266 100644 --- a/assets/js/f5515f41.47aa5819.js +++ b/assets/js/f5515f41.e263a2ef.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3034],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=p(r),d=o,f=u["".concat(l,".").concat(d)]||u[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[u]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/db/OLAP/Kylin",id:"study/db/OLAP/Kylin",title:"Kylin",description:"Apache Kylin\u2122\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u5206\u5e03\u5f0f\u7684\u5206\u6790\u578b\u6570\u636e\u4ed3\u5e93\uff0c\u63d0\u4f9bHadoop/Spark \u4e4b\u4e0a\u7684 SQL \u67e5\u8be2\u63a5\u53e3\u53ca\u591a\u7ef4\u5206\u6790\uff08OLAP\uff09\u80fd\u529b\u4ee5\u652f\u6301\u8d85\u5927\u89c4\u6a21\u6570\u636e\uff0c\u6700\u521d\u7531 eBay \u5f00\u53d1\u5e76\u8d21\u732e\u81f3\u5f00\u6e90\u793e\u533a\u3002\u5b83\u80fd\u5728\u4e9a\u79d2\u5185\u67e5\u8be2\u5de8\u5927\u7684\u8868\u3002",source:"@site/docs/study/db/OLAP/Kylin.md",sourceDirName:"study/db/OLAP",slug:"/study/db/OLAP/Kylin",permalink:"/docs/study/db/OLAP/Kylin",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ClickHouse",permalink:"/docs/study/db/OLAP/ClickHouse"},next:{title:"StarRocks",permalink:"/docs/study/db/OLAP/StarRocks"}},l={},p=[],s={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"Apache Kylin\u2122\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u5206\u5e03\u5f0f\u7684\u5206\u6790\u578b\u6570\u636e\u4ed3\u5e93\uff0c\u63d0\u4f9bHadoop/Spark \u4e4b\u4e0a\u7684 SQL \u67e5\u8be2\u63a5\u53e3\u53ca\u591a\u7ef4\u5206\u6790\uff08OLAP\uff09\u80fd\u529b\u4ee5\u652f\u6301\u8d85\u5927\u89c4\u6a21\u6570\u636e\uff0c\u6700\u521d\u7531 eBay \u5f00\u53d1\u5e76\u8d21\u732e\u81f3\u5f00\u6e90\u793e\u533a\u3002\u5b83\u80fd\u5728\u4e9a\u79d2\u5185\u67e5\u8be2\u5de8\u5927\u7684\u8868\u3002"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://kylin.apache.org/cn/"},"\u5b98\u7f51")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3034],{15680:(e,t,r)=>{r.d(t,{xA:()=>s,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),p=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},s=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),u=p(r),d=o,f=u["".concat(l,".").concat(d)]||u[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},s),{},{components:r})):n.createElement(f,c({ref:t},s))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[u]="string"==typeof e?e:o,c[1]=i;for(var p=2;p{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>p});var n=r(58168),o=(r(96540),r(15680));const a={},c=void 0,i={unversionedId:"study/db/OLAP/Kylin",id:"study/db/OLAP/Kylin",title:"Kylin",description:"Apache Kylin\u2122\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u5206\u5e03\u5f0f\u7684\u5206\u6790\u578b\u6570\u636e\u4ed3\u5e93\uff0c\u63d0\u4f9bHadoop/Spark \u4e4b\u4e0a\u7684 SQL \u67e5\u8be2\u63a5\u53e3\u53ca\u591a\u7ef4\u5206\u6790\uff08OLAP\uff09\u80fd\u529b\u4ee5\u652f\u6301\u8d85\u5927\u89c4\u6a21\u6570\u636e\uff0c\u6700\u521d\u7531 eBay \u5f00\u53d1\u5e76\u8d21\u732e\u81f3\u5f00\u6e90\u793e\u533a\u3002\u5b83\u80fd\u5728\u4e9a\u79d2\u5185\u67e5\u8be2\u5de8\u5927\u7684\u8868\u3002",source:"@site/docs/study/db/OLAP/Kylin.md",sourceDirName:"study/db/OLAP",slug:"/study/db/OLAP/Kylin",permalink:"/docs/study/db/OLAP/Kylin",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"ClickHouse",permalink:"/docs/study/db/OLAP/ClickHouse"},next:{title:"StarRocks",permalink:"/docs/study/db/OLAP/StarRocks"}},l={},p=[],s={toc:p},u="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(u,(0,n.A)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"Apache Kylin\u2122\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u3001\u5206\u5e03\u5f0f\u7684\u5206\u6790\u578b\u6570\u636e\u4ed3\u5e93\uff0c\u63d0\u4f9bHadoop/Spark \u4e4b\u4e0a\u7684 SQL \u67e5\u8be2\u63a5\u53e3\u53ca\u591a\u7ef4\u5206\u6790\uff08OLAP\uff09\u80fd\u529b\u4ee5\u652f\u6301\u8d85\u5927\u89c4\u6a21\u6570\u636e\uff0c\u6700\u521d\u7531 eBay \u5f00\u53d1\u5e76\u8d21\u732e\u81f3\u5f00\u6e90\u793e\u533a\u3002\u5b83\u80fd\u5728\u4e9a\u79d2\u5185\u67e5\u8be2\u5de8\u5927\u7684\u8868\u3002"),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://kylin.apache.org/cn/"},"\u5b98\u7f51")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f6ece308.7ecc3134.js b/assets/js/f6ece308.c8216357.js similarity index 98% rename from assets/js/f6ece308.7ecc3134.js rename to assets/js/f6ece308.c8216357.js index a5177c93c..5ad590399 100644 --- a/assets/js/f6ece308.7ecc3134.js +++ b/assets/js/f6ece308.c8216357.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8391],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),s=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=s(r),y=o,f=u["".concat(c,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[u]="string"==typeof e?e:o,i[1]=l;for(var s=2;s{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i=void 0,l={unversionedId:"study/db/OLAP/\u7efc\u5408\u6982\u8ff0",id:"study/db/OLAP/\u7efc\u5408\u6982\u8ff0",title:"\u7efc\u5408\u6982\u8ff0",description:"1. OLAP\u4e0eOLTP\u7684\u533a\u522b\uff1f",source:"@site/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0.md",sourceDirName:"study/db/OLAP",slug:"/study/db/OLAP/\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"Redis",permalink:"/docs/study/db/NoSQL/Redis"},next:{title:"ClickHouse",permalink:"/docs/study/db/OLAP/ClickHouse"}},c={},s=[{value:"1. OLAP\u4e0eOLTP\u7684\u533a\u522b\uff1f",id:"1-olap\u4e0eoltp\u7684\u533a\u522b",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:4}],p={toc:s},u="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(u,(0,n.A)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h4",{id:"1-olap\u4e0eoltp\u7684\u533a\u522b"},"1. OLAP\u4e0eOLTP\u7684\u533a\u522b\uff1f"),(0,o.yg)("p",null,"OLTP(Online transaction processing):\u5728\u7ebf/\u8054\u673a\u4e8b\u52a1\u5904\u7406\u3002\u5178\u578b\u7684OLTP\u7c7b\u64cd\u4f5c\u90fd\u6bd4\u8f83\u7b80\u5355\uff0c\u4e3b\u8981\u662f\u5bf9\u6570\u636e\u5e93\u4e2d\u7684\u6570\u636e\u8fdb\u884c\u589e\u5220\u6539\u67e5\uff0c\u64cd\u4f5c\u4e3b\u4f53\u4e00\u822c\u662f\u4ea7\u54c1\u7684\u7528\u6237\u3002"),(0,o.yg)("p",null,"OLAP(Online analytical processing):\u6307\u8054\u673a\u5206\u6790\u5904\u7406\u3002\u901a\u8fc7\u5206\u6790\u6570\u636e\u5e93\u4e2d\u7684\u6570\u636e\u6765\u5f97\u51fa\u4e00\u4e9b\u7ed3\u8bba\u6027\u7684\u4e1c\u897f\u3002\u6bd4\u5982\u7ed9\u8001\u603b\u4eec\u770b\u7684\u62a5\u8868\uff0c\u7528\u4e8e\u8fdb\u884c\u5e02\u573a\u5f00\u62d3\u7684\u7528\u6237\u884c\u4e3a\u7edf\u8ba1\uff0c\u4e0d\u540c\u7ef4\u5ea6\u7684\u6c47\u603b\u5206\u6790\u7ed3\u679c\u7b49\u7b49\u3002\u64cd\u4f5c\u4e3b\u4f53\u4e00\u822c\u662f\u8fd0\u8425\u3001\u9500\u552e\u548c\u5e02\u573a\u7b49\u56e2\u961f\u4eba\u5458\u3002"),(0,o.yg)("p",null,"\u5355\u6b21OLTP\u5904\u7406\u7684\u6570\u636e\u91cf\u6bd4\u8f83\u5c0f\uff0c\u6240\u6d89\u53ca\u7684\u8868\u975e\u5e38\u6709\u9650\uff0c\u4e00\u822c\u4ec5\u4e00\u4e24\u5f20\u8868\u3002\u800cOLAP\u662f\u4e3a\u4e86\u4ece\u5927\u91cf\u7684\u6570\u636e\u4e2d\u627e\u51fa\u67d0\u79cd\u89c4\u5f8b\u6027\u7684\u4e1c\u897f\uff0c\u7ecf\u5e38\u7528\u5230count()\u3001sum()\u548cavg()\u7b49\u805a\u5408\u65b9\u6cd5\uff0c\u7528\u4e8e\u4e86\u89e3\u73b0\u72b6\u5e76\u4e3a\u5c06\u6765\u7684\u8ba1\u5212/\u51b3\u7b56\u63d0\u4f9b\u6570\u636e\u652f\u6491\uff0c\u6240\u4ee5\u5bf9\u591a\u5f20\u8868\u7684\u6570\u636e\u8fdb\u884c\u8fde\u63a5\u6c47\u603b\u975e\u5e38\u666e\u904d\u3002"),(0,o.yg)("p",null,"\u4e3a\u4e86\u8868\u793a\u8ddfOLTP\u7684\u6570\u636e\u5e93\uff08database\uff09\u5728\u6570\u636e\u91cf\u548c\u590d\u6742\u5ea6\u4e0a\u7684\u4e0d\u540c\uff0c\u4e00\u822c\u79f0OLAP\u7684\u64cd\u4f5c\u5bf9\u8c61\u4e3a\u6570\u636e\u4ed3\u5e93\uff08data warehouse\uff09\uff0c\u7b80\u79f0\u6570\u4ed3\u3002\u6570\u636e\u5e93\u4ed3\u5e93\u4e2d\u7684\u6570\u636e\uff0c\u5f80\u5f80\u6765\u6e90\u4e8e\u591a\u4e2a\u6570\u636e\u5e93\uff0c\u4ee5\u53ca\u76f8\u5e94\u7684\u4e1a\u52a1\u65e5\u5fd7\u3002"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(45978).A,width:"720",height:"504"})),(0,o.yg)("h4",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_44087159/article/details/124477313"},"OLAP\u4e0eOLTP\u7684\u533a\u522b"))))}d.isMDXComponent=!0},45978:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/image-9929ccd934ed6146e051f490f500d91a.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8391],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),s=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=s(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),u=s(r),y=o,f=u["".concat(c,".").concat(y)]||u[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[u]="string"==typeof e?e:o,i[1]=l;for(var s=2;s{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var n=r(58168),o=(r(96540),r(15680));const a={sidebar_position:1},i=void 0,l={unversionedId:"study/db/OLAP/\u7efc\u5408\u6982\u8ff0",id:"study/db/OLAP/\u7efc\u5408\u6982\u8ff0",title:"\u7efc\u5408\u6982\u8ff0",description:"1. OLAP\u4e0eOLTP\u7684\u533a\u522b\uff1f",source:"@site/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0.md",sourceDirName:"study/db/OLAP",slug:"/study/db/OLAP/\u7efc\u5408\u6982\u8ff0",permalink:"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"studySidebar",previous:{title:"Redis",permalink:"/docs/study/db/NoSQL/Redis"},next:{title:"ClickHouse",permalink:"/docs/study/db/OLAP/ClickHouse"}},c={},s=[{value:"1. OLAP\u4e0eOLTP\u7684\u533a\u522b\uff1f",id:"1-olap\u4e0eoltp\u7684\u533a\u522b",level:4},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:4}],p={toc:s},u="wrapper";function d(e){let{components:t,...a}=e;return(0,o.yg)(u,(0,n.A)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h4",{id:"1-olap\u4e0eoltp\u7684\u533a\u522b"},"1. OLAP\u4e0eOLTP\u7684\u533a\u522b\uff1f"),(0,o.yg)("p",null,"OLTP(Online transaction processing):\u5728\u7ebf/\u8054\u673a\u4e8b\u52a1\u5904\u7406\u3002\u5178\u578b\u7684OLTP\u7c7b\u64cd\u4f5c\u90fd\u6bd4\u8f83\u7b80\u5355\uff0c\u4e3b\u8981\u662f\u5bf9\u6570\u636e\u5e93\u4e2d\u7684\u6570\u636e\u8fdb\u884c\u589e\u5220\u6539\u67e5\uff0c\u64cd\u4f5c\u4e3b\u4f53\u4e00\u822c\u662f\u4ea7\u54c1\u7684\u7528\u6237\u3002"),(0,o.yg)("p",null,"OLAP(Online analytical processing):\u6307\u8054\u673a\u5206\u6790\u5904\u7406\u3002\u901a\u8fc7\u5206\u6790\u6570\u636e\u5e93\u4e2d\u7684\u6570\u636e\u6765\u5f97\u51fa\u4e00\u4e9b\u7ed3\u8bba\u6027\u7684\u4e1c\u897f\u3002\u6bd4\u5982\u7ed9\u8001\u603b\u4eec\u770b\u7684\u62a5\u8868\uff0c\u7528\u4e8e\u8fdb\u884c\u5e02\u573a\u5f00\u62d3\u7684\u7528\u6237\u884c\u4e3a\u7edf\u8ba1\uff0c\u4e0d\u540c\u7ef4\u5ea6\u7684\u6c47\u603b\u5206\u6790\u7ed3\u679c\u7b49\u7b49\u3002\u64cd\u4f5c\u4e3b\u4f53\u4e00\u822c\u662f\u8fd0\u8425\u3001\u9500\u552e\u548c\u5e02\u573a\u7b49\u56e2\u961f\u4eba\u5458\u3002"),(0,o.yg)("p",null,"\u5355\u6b21OLTP\u5904\u7406\u7684\u6570\u636e\u91cf\u6bd4\u8f83\u5c0f\uff0c\u6240\u6d89\u53ca\u7684\u8868\u975e\u5e38\u6709\u9650\uff0c\u4e00\u822c\u4ec5\u4e00\u4e24\u5f20\u8868\u3002\u800cOLAP\u662f\u4e3a\u4e86\u4ece\u5927\u91cf\u7684\u6570\u636e\u4e2d\u627e\u51fa\u67d0\u79cd\u89c4\u5f8b\u6027\u7684\u4e1c\u897f\uff0c\u7ecf\u5e38\u7528\u5230count()\u3001sum()\u548cavg()\u7b49\u805a\u5408\u65b9\u6cd5\uff0c\u7528\u4e8e\u4e86\u89e3\u73b0\u72b6\u5e76\u4e3a\u5c06\u6765\u7684\u8ba1\u5212/\u51b3\u7b56\u63d0\u4f9b\u6570\u636e\u652f\u6491\uff0c\u6240\u4ee5\u5bf9\u591a\u5f20\u8868\u7684\u6570\u636e\u8fdb\u884c\u8fde\u63a5\u6c47\u603b\u975e\u5e38\u666e\u904d\u3002"),(0,o.yg)("p",null,"\u4e3a\u4e86\u8868\u793a\u8ddfOLTP\u7684\u6570\u636e\u5e93\uff08database\uff09\u5728\u6570\u636e\u91cf\u548c\u590d\u6742\u5ea6\u4e0a\u7684\u4e0d\u540c\uff0c\u4e00\u822c\u79f0OLAP\u7684\u64cd\u4f5c\u5bf9\u8c61\u4e3a\u6570\u636e\u4ed3\u5e93\uff08data warehouse\uff09\uff0c\u7b80\u79f0\u6570\u4ed3\u3002\u6570\u636e\u5e93\u4ed3\u5e93\u4e2d\u7684\u6570\u636e\uff0c\u5f80\u5f80\u6765\u6e90\u4e8e\u591a\u4e2a\u6570\u636e\u5e93\uff0c\u4ee5\u53ca\u76f8\u5e94\u7684\u4e1a\u52a1\u65e5\u5fd7\u3002"),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"image.png",src:r(45978).A,width:"720",height:"504"})),(0,o.yg)("h4",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("a",{parentName:"li",href:"https://blog.csdn.net/weixin_44087159/article/details/124477313"},"OLAP\u4e0eOLTP\u7684\u533a\u522b"))))}d.isMDXComponent=!0},45978:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/image-9929ccd934ed6146e051f490f500d91a.png"}}]); \ No newline at end of file diff --git a/assets/js/f702ddaf.e38c744a.js b/assets/js/f702ddaf.f46dc3da.js similarity index 99% rename from assets/js/f702ddaf.e38c744a.js rename to assets/js/f702ddaf.f46dc3da.js index 24cbe11f2..ea81551e0 100644 --- a/assets/js/f702ddaf.e38c744a.js +++ b/assets/js/f702ddaf.f46dc3da.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9033],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>y});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=n.createContext({}),c=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):o(o({},r),e)),t},u=function(e){var r=c(e.components);return n.createElement(l.Provider,{value:r},e.children)},s="mdxType",O={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},g=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,i=e.originalType,l=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),s=c(t),g=a,y=s["".concat(l,".").concat(g)]||s[g]||O[g]||i;return t?n.createElement(y,o(o({ref:r},u),{},{components:t})):n.createElement(y,o({ref:r},u))}));function y(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var i=t.length,o=new Array(i);o[0]=g;var p={};for(var l in r)hasOwnProperty.call(r,l)&&(p[l]=r[l]);p.originalType=e,p[s]="string"==typeof e?e:a,o[1]=p;for(var c=2;c{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>o,default:()=>O,frontMatter:()=>i,metadata:()=>p,toc:()=>c});var n=t(58168),a=(t(96540),t(15680));const i={},o="Spring AOP",p={unversionedId:"study/back/spring/SpringAOP",id:"study/back/spring/SpringAOP",title:"Spring AOP",description:"\u7b80\u4ecb",source:"@site/docs/study/back/spring/SpringAOP.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/SpringAOP",permalink:"/docs/study/back/spring/SpringAOP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"@Resource@Autowired",permalink:"/docs/study/back/spring/@Resource@Autowired"},next:{title:"Spring Boot",permalink:"/docs/study/back/spring/SpringBoot"}},l={},c=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"AOP \u7684\u5b58\u5728\u4ef7\u503c",id:"aop-\u7684\u5b58\u5728\u4ef7\u503c",level:3},{value:"AOP \u7684\u5206\u7c7b",id:"aop-\u7684\u5206\u7c7b",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3}],u={toc:c},s="wrapper";function O(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"spring-aop"},"Spring AOP"),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"AOP\uff08Aspect-Oriented Programming\uff0c\u9762\u5411\u5207\u9762\u7f16\u7a0b\uff09\u662f\u4e00\u79cd\u7f16\u7a0b\u8303\u5f0f\uff0c\u65e8\u5728\u5c06\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u5404\u79cd\u529f\u80fd\u5206\u79bb\u51fa\u6765\uff0c\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u91cd\u7528\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002AOP \u901a\u8fc7\u5c06\u4ea4\u53c9\u4e1a\u52a1\u903b\u8f91\u5c01\u88c5\u5230\u5207\u9762\u4e2d\uff0c\u53ef\u4ee5\u5728\u4e0d\u4fee\u6539\u539f\u6709\u4ee3\u7801\u7684\u60c5\u51b5\u4e0b\u5bf9\u5176\u8fdb\u884c\u6269\u5c55\u548c\u7ef4\u62a4\u3002"),(0,a.yg)("h3",{id:"aop-\u7684\u5b58\u5728\u4ef7\u503c"},"AOP \u7684\u5b58\u5728\u4ef7\u503c"),(0,a.yg)("p",null,"\u5728\u4f20\u7edf OOP \u7f16\u7a0b\u91cc\u4ee5\u5bf9\u8c61\u4e3a\u6838\u5fc3\uff0c\u6574\u4e2a\u8f6f\u4ef6\u7cfb\u7edf\u7531\u7cfb\u5217\u76f8\u4e92\u4f9d\u8d56\u7684\u5bf9\u8c61\u6240\u7ec4\u6210\uff0c\u800c\u8fd9\u4e9b\u5bf9\u8c61\u5c06\u88ab\u62bd\u8c61\u6210\u4e00\u4e2a\u4e00\u4e2a\u7684\u7c7b\uff0c\u5e76\u5141\u8bb8\u4f7f\u7528\u7c7b\u7ee7\u627f\u6765\u7ba1\u7406\u7c7b\u4e0e\u7c7b\u4e4b\u95f4\u4e00\u822c\u5230\u7279\u6b8a\u7684\u5173\u7cfb\u3002\u968f\u7740\u8f6f\u4ef6\u89c4\u6a21\u7684\u589e\u5927\uff0c\u5e94\u7528\u7684\u9010\u6e10\u5347\u7ea7\uff0c\u6162\u6162\u51fa\u73b0\u4e86\u4e00\u4e9b OOP \u5f88\u96be\u89e3\u51b3\u7684\u95ee\u9898\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u4ee3\u7801\u590d\u7528\u6027\u5dee"),"\uff1a\u7531\u4e8e\u9762\u5411\u5bf9\u8c61\u7684\u8bbe\u8ba1\u601d\u60f3\uff0c\u5bfc\u81f4\u4ee3\u7801\u590d\u7528\u6027\u5dee\u3002\u6bd4\u5982\uff0c\u5728\u4e24\u4e2a\u7c7b\u4e2d\uff0c\u6709\u5f88\u591a\u76f8\u4f3c\u7684\u4ee3\u7801\uff0c\u5982\u679c\u4f7f\u7528 OOP \u601d\u60f3\uff0c\u9700\u8981\u5c06\u76f8\u4f3c\u7684\u4ee3\u7801\u590d\u5236\u5230\u4e24\u4e2a\u7c7b\u4e2d\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u4ee3\u7801\u7684\u91cd\u590d\u6027\u5f88\u9ad8\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u4ee3\u7801\u53ef\u7ef4\u62a4\u6027\u5dee"),"\uff1a\u7531\u4e8e OOP \u601d\u60f3\u5c06\u4ee3\u7801\u5c01\u88c5\u5230\u7c7b\u4e2d\uff0c\u5bfc\u81f4\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u5dee\u3002\u5982\u679c\u9700\u8981\u4fee\u6539\u67d0\u4e2a\u529f\u80fd\uff0c\u9700\u8981\u4fee\u6539\u6574\u4e2a\u7c7b\u7684\u4ee3\u7801\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u4ee3\u7801\u7684\u7ef4\u62a4\u6027\u5f88\u4f4e\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u4ee3\u7801\u53ef\u6269\u5c55\u6027\u5dee"),"\uff1a\u7531\u4e8e OOP \u601d\u60f3\u5c06\u4ee3\u7801\u5c01\u88c5\u5230\u7c7b\u4e2d\uff0c\u5bfc\u81f4\u4ee3\u7801\u7684\u53ef\u6269\u5c55\u6027\u5dee\u3002\u5982\u679c\u9700\u8981\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u529f\u80fd\uff0c\u9700\u8981\u4fee\u6539\u6574\u4e2a\u7c7b\u7684\u4ee3\u7801\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u4ee3\u7801\u7684\u6269\u5c55\u6027\u5f88\u4f4e\u3002")),(0,a.yg)("p",null,"AOP \u5c31\u662f\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u800c\u51fa\u73b0\u7684\u3002AOP \u53ef\u4ee5\u5c06\u4ea4\u53c9\u4e1a\u52a1\u903b\u8f91\u5c01\u88c5\u5230\u5207\u9762\u4e2d\uff0c\u5728\u8fd0\u884c\u65f6\u5c06\u5207\u9762\u4e0e\u4e1a\u52a1\u903b\u8f91\u7f16\u7ec7\u5728\u4e00\u8d77\uff0c\u4ece\u800c\u5b9e\u73b0\u4ee3\u7801\u7684\u590d\u7528\u3001\u53ef\u7ef4\u62a4\u6027\u548c\u53ef\u6269\u5c55\u6027\u3002"),(0,a.yg)("h3",{id:"aop-\u7684\u5206\u7c7b"},"AOP \u7684\u5206\u7c7b"),(0,a.yg)("p",null,"AOP \u5b9e\u73b0\u7684\u5173\u952e\u5c31\u5728\u4e8e AOP \u6846\u67b6\u81ea\u52a8\u521b\u5efa\u7684 AOP \u4ee3\u7406\uff0cAOP \u4ee3\u7406\u4e3b\u8981\u5206\u4e3a\u9759\u6001\u4ee3\u7406\u548c\u52a8\u6001\u4ee3\u7406\u4e24\u5927\u7c7b\uff0c\u9759\u6001\u4ee3\u7406\u4ee5 AspectJ \u4e3a\u4ee3\u8868\uff1b\u800c\u52a8\u6001\u4ee3\u7406\u5219\u4ee5 Spring AOP \u4e3a\u4ee3\u8868\u3002"),(0,a.yg)("p",null,"\u5176\u4e2d\u9759\u6001\u4ee3\u7406\u662f\u6307\u4f7f\u7528 AOP \u6846\u67b6\u63d0\u4f9b\u7684\u547d\u4ee4\u8fdb\u884c\u7f16\u8bd1\uff0c\u4ece\u800c\u5728\u7f16\u8bd1\u9636\u6bb5\u5c31\u53ef\u751f\u6210 AOP \u4ee3\u7406\u7c7b\uff0c\u56e0\u6b64\u4e5f\u79f0\u4e3a\u7f16\u8bd1\u65f6\u589e\u5f3a\uff1b\u800c\u52a8\u6001\u4ee3\u7406\u5219\u5728\u8fd0\u884c\u65f6\u501f\u52a9\u4e8e JDK \u52a8\u6001\u4ee3\u7406\u3001CGLIB \u7b49\u5728\u5185\u5b58\u4e2d\u201c\u4e34\u65f6\u201d\u751f\u6210 AOP \u52a8\u6001\u4ee3\u7406\u7c7b\uff0c\u56e0\u6b64\u4e5f\u88ab\u79f0\u4e3a\u8fd0\u884c\u65f6\u589e\u5f3a\u3002"),(0,a.yg)("p",null,"Spring AOP \u65e2\u652f\u6301\u9759\u6001\u4ee3\u7406\u4e5f\u652f\u6301\u52a8\u6001\u4ee3\u7406\u3002"),(0,a.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,a.yg)("p",null,"AOP \u5e7f\u6cdb\u5e94\u7528\u4e8e\u5904\u7406\u4e00\u4e9b\u5177\u6709\u6a2a\u5207\u6027\u8d28\u7684\u7cfb\u7edf\u7ea7\u670d\u52a1\uff0cAOP \u7684\u51fa\u73b0\u662f\u5bf9 OOP \u7684\u826f\u597d\u8865\u5145\uff0c\u5b83\u4f7f\u5f97\u5f00\u53d1\u8005\u80fd\u7528\u66f4\u4f18\u96c5\u7684\u65b9\u5f0f\u5904\u7406\u5177\u6709\u6a2a\u5207\u6027\u8d28\u7684\u670d\u52a1\u3002\u4e0d\u7ba1\u662f\u90a3\u79cd AOP \u5b9e\u73b0\uff0c\u4e0d\u8bba\u662f AspectJ\u3001\u8fd8\u662f Spring AOP\uff0c\u5b83\u4eec\u90fd\u9700\u8981\u52a8\u6001\u5730\u751f\u6210\u4e00\u4e2a AOP \u4ee3\u7406\u7c7b\uff0c\u533a\u522b\u53ea\u662f\u751f\u6210 AOP \u4ee3\u7406\u7c7b\u7684\u65f6\u673a\u4e0d\u540c\uff1aAspectJ \u91c7\u7528\u7f16\u8bd1\u65f6\u751f\u6210 AOP \u4ee3\u7406\u7c7b\uff0c\u56e0\u6b64\u5177\u6709\u66f4\u597d\u7684\u6027\u80fd\uff0c\u4f46\u9700\u8981\u4f7f\u7528\u7279\u5b9a\u7684\u7f16\u8bd1\u5668\u8fdb\u884c\u5904\u7406\uff1b\u800c Spring AOP \u5219\u91c7\u7528\u8fd0\u884c\u65f6\u751f\u6210 AOP \u4ee3\u7406\u7c7b\uff0c\u56e0\u6b64\u65e0\u9700\u4f7f\u7528\u7279\u5b9a\u7f16\u8bd1\u5668\u8fdb\u884c\u5904\u7406\u3002\u7531\u4e8e Spring AOP \u9700\u8981\u5728\u6bcf\u6b21\u8fd0\u884c\u65f6\u751f\u6210 AOP \u4ee3\u7406\uff0c\u56e0\u6b64\u6027\u80fd\u7565\u5dee\u4e00\u4e9b\u3002"))}O.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9033],{15680:(e,r,t)=>{t.d(r,{xA:()=>u,yg:()=>y});var n=t(96540);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var r=1;r=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=n.createContext({}),c=function(e){var r=n.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):o(o({},r),e)),t},u=function(e){var r=c(e.components);return n.createElement(l.Provider,{value:r},e.children)},s="mdxType",O={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},g=n.forwardRef((function(e,r){var t=e.components,a=e.mdxType,i=e.originalType,l=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),s=c(t),g=a,y=s["".concat(l,".").concat(g)]||s[g]||O[g]||i;return t?n.createElement(y,o(o({ref:r},u),{},{components:t})):n.createElement(y,o({ref:r},u))}));function y(e,r){var t=arguments,a=r&&r.mdxType;if("string"==typeof e||a){var i=t.length,o=new Array(i);o[0]=g;var p={};for(var l in r)hasOwnProperty.call(r,l)&&(p[l]=r[l]);p.originalType=e,p[s]="string"==typeof e?e:a,o[1]=p;for(var c=2;c{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>o,default:()=>O,frontMatter:()=>i,metadata:()=>p,toc:()=>c});var n=t(58168),a=(t(96540),t(15680));const i={},o="Spring AOP",p={unversionedId:"study/back/spring/SpringAOP",id:"study/back/spring/SpringAOP",title:"Spring AOP",description:"\u7b80\u4ecb",source:"@site/docs/study/back/spring/SpringAOP.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/SpringAOP",permalink:"/docs/study/back/spring/SpringAOP",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"@Resource@Autowired",permalink:"/docs/study/back/spring/@Resource@Autowired"},next:{title:"Spring Boot",permalink:"/docs/study/back/spring/SpringBoot"}},l={},c=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:3},{value:"AOP \u7684\u5b58\u5728\u4ef7\u503c",id:"aop-\u7684\u5b58\u5728\u4ef7\u503c",level:3},{value:"AOP \u7684\u5206\u7c7b",id:"aop-\u7684\u5206\u7c7b",level:3},{value:"\u603b\u7ed3",id:"\u603b\u7ed3",level:3}],u={toc:c},s="wrapper";function O(e){let{components:r,...t}=e;return(0,a.yg)(s,(0,n.A)({},u,t,{components:r,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"spring-aop"},"Spring AOP"),(0,a.yg)("h3",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.yg)("p",null,"AOP\uff08Aspect-Oriented Programming\uff0c\u9762\u5411\u5207\u9762\u7f16\u7a0b\uff09\u662f\u4e00\u79cd\u7f16\u7a0b\u8303\u5f0f\uff0c\u65e8\u5728\u5c06\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u5404\u79cd\u529f\u80fd\u5206\u79bb\u51fa\u6765\uff0c\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u91cd\u7528\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002AOP \u901a\u8fc7\u5c06\u4ea4\u53c9\u4e1a\u52a1\u903b\u8f91\u5c01\u88c5\u5230\u5207\u9762\u4e2d\uff0c\u53ef\u4ee5\u5728\u4e0d\u4fee\u6539\u539f\u6709\u4ee3\u7801\u7684\u60c5\u51b5\u4e0b\u5bf9\u5176\u8fdb\u884c\u6269\u5c55\u548c\u7ef4\u62a4\u3002"),(0,a.yg)("h3",{id:"aop-\u7684\u5b58\u5728\u4ef7\u503c"},"AOP \u7684\u5b58\u5728\u4ef7\u503c"),(0,a.yg)("p",null,"\u5728\u4f20\u7edf OOP \u7f16\u7a0b\u91cc\u4ee5\u5bf9\u8c61\u4e3a\u6838\u5fc3\uff0c\u6574\u4e2a\u8f6f\u4ef6\u7cfb\u7edf\u7531\u7cfb\u5217\u76f8\u4e92\u4f9d\u8d56\u7684\u5bf9\u8c61\u6240\u7ec4\u6210\uff0c\u800c\u8fd9\u4e9b\u5bf9\u8c61\u5c06\u88ab\u62bd\u8c61\u6210\u4e00\u4e2a\u4e00\u4e2a\u7684\u7c7b\uff0c\u5e76\u5141\u8bb8\u4f7f\u7528\u7c7b\u7ee7\u627f\u6765\u7ba1\u7406\u7c7b\u4e0e\u7c7b\u4e4b\u95f4\u4e00\u822c\u5230\u7279\u6b8a\u7684\u5173\u7cfb\u3002\u968f\u7740\u8f6f\u4ef6\u89c4\u6a21\u7684\u589e\u5927\uff0c\u5e94\u7528\u7684\u9010\u6e10\u5347\u7ea7\uff0c\u6162\u6162\u51fa\u73b0\u4e86\u4e00\u4e9b OOP \u5f88\u96be\u89e3\u51b3\u7684\u95ee\u9898\u3002"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u4ee3\u7801\u590d\u7528\u6027\u5dee"),"\uff1a\u7531\u4e8e\u9762\u5411\u5bf9\u8c61\u7684\u8bbe\u8ba1\u601d\u60f3\uff0c\u5bfc\u81f4\u4ee3\u7801\u590d\u7528\u6027\u5dee\u3002\u6bd4\u5982\uff0c\u5728\u4e24\u4e2a\u7c7b\u4e2d\uff0c\u6709\u5f88\u591a\u76f8\u4f3c\u7684\u4ee3\u7801\uff0c\u5982\u679c\u4f7f\u7528 OOP \u601d\u60f3\uff0c\u9700\u8981\u5c06\u76f8\u4f3c\u7684\u4ee3\u7801\u590d\u5236\u5230\u4e24\u4e2a\u7c7b\u4e2d\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u4ee3\u7801\u7684\u91cd\u590d\u6027\u5f88\u9ad8\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u4ee3\u7801\u53ef\u7ef4\u62a4\u6027\u5dee"),"\uff1a\u7531\u4e8e OOP \u601d\u60f3\u5c06\u4ee3\u7801\u5c01\u88c5\u5230\u7c7b\u4e2d\uff0c\u5bfc\u81f4\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u5dee\u3002\u5982\u679c\u9700\u8981\u4fee\u6539\u67d0\u4e2a\u529f\u80fd\uff0c\u9700\u8981\u4fee\u6539\u6574\u4e2a\u7c7b\u7684\u4ee3\u7801\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u4ee3\u7801\u7684\u7ef4\u62a4\u6027\u5f88\u4f4e\u3002"),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("strong",{parentName:"li"},"\u4ee3\u7801\u53ef\u6269\u5c55\u6027\u5dee"),"\uff1a\u7531\u4e8e OOP \u601d\u60f3\u5c06\u4ee3\u7801\u5c01\u88c5\u5230\u7c7b\u4e2d\uff0c\u5bfc\u81f4\u4ee3\u7801\u7684\u53ef\u6269\u5c55\u6027\u5dee\u3002\u5982\u679c\u9700\u8981\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u529f\u80fd\uff0c\u9700\u8981\u4fee\u6539\u6574\u4e2a\u7c7b\u7684\u4ee3\u7801\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u4ee3\u7801\u7684\u6269\u5c55\u6027\u5f88\u4f4e\u3002")),(0,a.yg)("p",null,"AOP \u5c31\u662f\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u800c\u51fa\u73b0\u7684\u3002AOP \u53ef\u4ee5\u5c06\u4ea4\u53c9\u4e1a\u52a1\u903b\u8f91\u5c01\u88c5\u5230\u5207\u9762\u4e2d\uff0c\u5728\u8fd0\u884c\u65f6\u5c06\u5207\u9762\u4e0e\u4e1a\u52a1\u903b\u8f91\u7f16\u7ec7\u5728\u4e00\u8d77\uff0c\u4ece\u800c\u5b9e\u73b0\u4ee3\u7801\u7684\u590d\u7528\u3001\u53ef\u7ef4\u62a4\u6027\u548c\u53ef\u6269\u5c55\u6027\u3002"),(0,a.yg)("h3",{id:"aop-\u7684\u5206\u7c7b"},"AOP \u7684\u5206\u7c7b"),(0,a.yg)("p",null,"AOP \u5b9e\u73b0\u7684\u5173\u952e\u5c31\u5728\u4e8e AOP \u6846\u67b6\u81ea\u52a8\u521b\u5efa\u7684 AOP \u4ee3\u7406\uff0cAOP \u4ee3\u7406\u4e3b\u8981\u5206\u4e3a\u9759\u6001\u4ee3\u7406\u548c\u52a8\u6001\u4ee3\u7406\u4e24\u5927\u7c7b\uff0c\u9759\u6001\u4ee3\u7406\u4ee5 AspectJ \u4e3a\u4ee3\u8868\uff1b\u800c\u52a8\u6001\u4ee3\u7406\u5219\u4ee5 Spring AOP \u4e3a\u4ee3\u8868\u3002"),(0,a.yg)("p",null,"\u5176\u4e2d\u9759\u6001\u4ee3\u7406\u662f\u6307\u4f7f\u7528 AOP \u6846\u67b6\u63d0\u4f9b\u7684\u547d\u4ee4\u8fdb\u884c\u7f16\u8bd1\uff0c\u4ece\u800c\u5728\u7f16\u8bd1\u9636\u6bb5\u5c31\u53ef\u751f\u6210 AOP \u4ee3\u7406\u7c7b\uff0c\u56e0\u6b64\u4e5f\u79f0\u4e3a\u7f16\u8bd1\u65f6\u589e\u5f3a\uff1b\u800c\u52a8\u6001\u4ee3\u7406\u5219\u5728\u8fd0\u884c\u65f6\u501f\u52a9\u4e8e JDK \u52a8\u6001\u4ee3\u7406\u3001CGLIB \u7b49\u5728\u5185\u5b58\u4e2d\u201c\u4e34\u65f6\u201d\u751f\u6210 AOP \u52a8\u6001\u4ee3\u7406\u7c7b\uff0c\u56e0\u6b64\u4e5f\u88ab\u79f0\u4e3a\u8fd0\u884c\u65f6\u589e\u5f3a\u3002"),(0,a.yg)("p",null,"Spring AOP \u65e2\u652f\u6301\u9759\u6001\u4ee3\u7406\u4e5f\u652f\u6301\u52a8\u6001\u4ee3\u7406\u3002"),(0,a.yg)("h3",{id:"\u603b\u7ed3"},"\u603b\u7ed3"),(0,a.yg)("p",null,"AOP \u5e7f\u6cdb\u5e94\u7528\u4e8e\u5904\u7406\u4e00\u4e9b\u5177\u6709\u6a2a\u5207\u6027\u8d28\u7684\u7cfb\u7edf\u7ea7\u670d\u52a1\uff0cAOP \u7684\u51fa\u73b0\u662f\u5bf9 OOP \u7684\u826f\u597d\u8865\u5145\uff0c\u5b83\u4f7f\u5f97\u5f00\u53d1\u8005\u80fd\u7528\u66f4\u4f18\u96c5\u7684\u65b9\u5f0f\u5904\u7406\u5177\u6709\u6a2a\u5207\u6027\u8d28\u7684\u670d\u52a1\u3002\u4e0d\u7ba1\u662f\u90a3\u79cd AOP \u5b9e\u73b0\uff0c\u4e0d\u8bba\u662f AspectJ\u3001\u8fd8\u662f Spring AOP\uff0c\u5b83\u4eec\u90fd\u9700\u8981\u52a8\u6001\u5730\u751f\u6210\u4e00\u4e2a AOP \u4ee3\u7406\u7c7b\uff0c\u533a\u522b\u53ea\u662f\u751f\u6210 AOP \u4ee3\u7406\u7c7b\u7684\u65f6\u673a\u4e0d\u540c\uff1aAspectJ \u91c7\u7528\u7f16\u8bd1\u65f6\u751f\u6210 AOP \u4ee3\u7406\u7c7b\uff0c\u56e0\u6b64\u5177\u6709\u66f4\u597d\u7684\u6027\u80fd\uff0c\u4f46\u9700\u8981\u4f7f\u7528\u7279\u5b9a\u7684\u7f16\u8bd1\u5668\u8fdb\u884c\u5904\u7406\uff1b\u800c Spring AOP \u5219\u91c7\u7528\u8fd0\u884c\u65f6\u751f\u6210 AOP \u4ee3\u7406\u7c7b\uff0c\u56e0\u6b64\u65e0\u9700\u4f7f\u7528\u7279\u5b9a\u7f16\u8bd1\u5668\u8fdb\u884c\u5904\u7406\u3002\u7531\u4e8e Spring AOP \u9700\u8981\u5728\u6bcf\u6b21\u8fd0\u884c\u65f6\u751f\u6210 AOP \u4ee3\u7406\uff0c\u56e0\u6b64\u6027\u80fd\u7565\u5dee\u4e00\u4e9b\u3002"))}O.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f7453080.31879d39.js b/assets/js/f7453080.ae8842b5.js similarity index 99% rename from assets/js/f7453080.31879d39.js rename to assets/js/f7453080.ae8842b5.js index 58fdbc5d2..0c96e3c3c 100644 --- a/assets/js/f7453080.31879d39.js +++ b/assets/js/f7453080.ae8842b5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9314],{15680:(e,n,t)=>{t.d(n,{xA:()=>g,yg:()=>m});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function o(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var s=r.createContext({}),p=function(e){var n=r.useContext(s),t=n;return e&&(t="function"==typeof e?e(n):o(o({},n),e)),t},g=function(e){var n=p(e.components);return r.createElement(s.Provider,{value:n},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,l=e.originalType,s=e.parentName,g=i(e,["components","mdxType","originalType","parentName"]),u=p(t),d=a,m=u["".concat(s,".").concat(d)]||u[d]||c[d]||l;return t?r.createElement(m,o(o({ref:n},g),{},{components:t})):r.createElement(m,o({ref:n},g))}));function m(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var l=t.length,o=new Array(l);o[0]=d;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[u]="string"==typeof e?e:a,o[1]=i;for(var p=2;p{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>o,default:()=>c,frontMatter:()=>l,metadata:()=>i,toc:()=>p});var r=t(58168),a=(t(96540),t(15680));const l={sidebar_position:1},o="\u7efc\u8ff0",i={unversionedId:"xuanxing/thingsboard/index",id:"xuanxing/thingsboard/index",title:"\u7efc\u8ff0",description:"thingsboard \u5e94\u8be5\u7b97\u662f\u9876\u7ea7\u7684\u5f00\u6e90\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e86\u3002\u4f46\u662f\uff0c\u7ecf\u6211\u7814\u7a76\uff0c\u4e0d\u662f\u5f88\u9002\u5408\u56fd\u5185\u7528\u6237\u3002\u4f46\u662f\u5374\u6709\u5f88\u591a\u5b66\u4e60\u548c\u501f\u9274\u7684\u5730\u65b9\uff0c\u4f8b\u5982\u89c4\u5219\u5f15\u64ce\u3002",source:"@site/docs/xuanxing/thingsboard/index.md",sourceDirName:"xuanxing/thingsboard",slug:"/xuanxing/thingsboard/",permalink:"/docs/xuanxing/thingsboard/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/devops/"},next:{title:"\u5982\u4f55\u4f7f\u7528",permalink:"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528"}},s={},p=[{value:"\u73af\u5883\u8981\u6c42",id:"\u73af\u5883\u8981\u6c42",level:3},{value:"Maven \u7248\u672c",id:"maven-\u7248\u672c",level:3},{value:"\u5b89\u88c5 postgres",id:"\u5b89\u88c5-postgres",level:3},{value:"\u521b\u5efa\u6570\u636e\u5e93",id:"\u521b\u5efa\u6570\u636e\u5e93",level:3},{value:"\u6267\u884c mvn package \u6253\u5305\u5e76\u521d\u59cb\u5316\u6570\u636e\u5e93",id:"\u6267\u884c-mvn-package-\u6253\u5305\u5e76\u521d\u59cb\u5316\u6570\u636e\u5e93",level:3},{value:"IDEA \u8fd0\u884c",id:"idea-\u8fd0\u884c",level:3}],g={toc:p},u="wrapper";function c(e){let{components:n,...t}=e;return(0,a.yg)(u,(0,r.A)({},g,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u7efc\u8ff0"},"\u7efc\u8ff0"),(0,a.yg)("p",null,"thingsboard \u5e94\u8be5\u7b97\u662f\u9876\u7ea7\u7684\u5f00\u6e90\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e86\u3002\u4f46\u662f\uff0c\u7ecf\u6211\u7814\u7a76\uff0c\u4e0d\u662f\u5f88\u9002\u5408\u56fd\u5185\u7528\u6237\u3002\u4f46\u662f\u5374\u6709\u5f88\u591a\u5b66\u4e60\u548c\u501f\u9274\u7684\u5730\u65b9\uff0c\u4f8b\u5982\u89c4\u5219\u5f15\u64ce\u3002"),(0,a.yg)("h3",{id:"\u73af\u5883\u8981\u6c42"},"\u73af\u5883\u8981\u6c42"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"JDK 11"),(0,a.yg)("li",{parentName:"ul"},"Maven 3.6.0+")),(0,a.yg)("h3",{id:"maven-\u7248\u672c"},"Maven \u7248\u672c"),(0,a.yg)("p",null,"\u6709\u95ee\u9898\uff0c\u81f3\u5c11\u5f97\u662f 3.6.0\uff0c\u5b98\u7f51\u6587\u6863\u6709\u8bef\uff1b"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:install-node-and-yarn (install node and npm) on project ui-ngx: The plugin com.github.eirslett:frontend-maven-plugin:1.12.0 requires Maven version 3.6.0 -> [Help 1]\n")),(0,a.yg)("h3",{id:"\u5b89\u88c5-postgres"},"\u5b89\u88c5 postgres"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull postgres:11.19-bullseye\n#\ndocker run \\\n--privileged=true \\\n--restart=always \\\n--name postgres \\\n-e POSTGRES_PASSWORD=Aa0123 \\\n-p 5432:5432 \\\n-v /mnt/docker/postgresql/data:/var/lib/postgresql/data \\\n-d postgres:11.19-bullseye\n# \u53d1\u73b0\u4f7f\u7528DBeaver\u8fde\u63a5\u4e0d\u4e0a\uff0c\u9700\u8981\u4fee\u6539/mnt/docker/postgresql/data/pg_hba.conf\n# \u589e\u52a0\u4e00\u884chost all all 192.168.41.69/32 trust\n# 192.168.41.69\u662f\u6211\u81ea\u5df1\u7684ip\n\n")),(0,a.yg)("h1",{id:"\u6267\u884c-mvn-compile-\u62a5\u9519"},"\u6267\u884c mvn compile \u62a5\u9519"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack (extract-web-ui) on project web-ui: Artifact has not been packaged yet. When used on reactor artifact, unpack should be executed after packaging: see MDEP-98. -> [Help 1]\n")),(0,a.yg)("p",null,"\u78b0\u5230\u8fd9\u4e2a\u9519\u8bef\uff0c\u662f\u56e0\u4e3a ui-ngx \u6ca1\u6709 install\uff0cinstall \u4e00\u4e0b\u5373\u53ef"),(0,a.yg)("h3",{id:"\u521b\u5efa\u6570\u636e\u5e93"},"\u521b\u5efa\u6570\u636e\u5e93"),(0,a.yg)("p",null,"\u4f7f\u7528 DBeaver \u8fde\u63a5\u6570\u636e\u5e93 postgresql\uff0c\u5e76\u521b\u5efa\u6570\u636e\u5e93",(0,a.yg)("strong",{parentName:"p"},"thingsboard")),(0,a.yg)("p",null,"\u4fee\u6539",(0,a.yg)("strong",{parentName:"p"},"thingsboard/application/src/main/resources/thingsboard.yml"),"\u6587\u4ef6\u4e2d\u7684\u6570\u636e\u5e93\u914d\u7f6e\uff0c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-yml"},'url: "${SPRING_DATASOURCE_URL:jdbc:postgresql://192.168.0.40:5432/thingsboard}"\npassword: "${SPRING_DATASOURCE_PASSWORD:Aa0123}"\n')),(0,a.yg)("h3",{id:"\u6267\u884c-mvn-package-\u6253\u5305\u5e76\u521d\u59cb\u5316\u6570\u636e\u5e93"},"\u6267\u884c mvn package \u6253\u5305\u5e76\u521d\u59cb\u5316\u6570\u636e\u5e93"),(0,a.yg)("p",null,"mvn package \u547d\u4ee4\u76f4\u63a5\u6210\u529f\u3002"),(0,a.yg)("p",null,"\u7136\u540e\u6267\u884c",(0,a.yg)("strong",{parentName:"p"},"application/target/bin/install/install_dev_db.sh"),"\u6b64\u811a\u672c\uff0c\u4e5f\u6210\u529f\u4e86"),(0,a.yg)("h3",{id:"idea-\u8fd0\u884c"},"IDEA \u8fd0\u884c"),(0,a.yg)("p",null,"\u6267\u884c",(0,a.yg)("strong",{parentName:"p"},"application/src/main/java/org/thingsboard/server/ThingsboardServerApplication.java")," debug \u6b64\u6587\u4ef6\uff0c\n\u5982\u679c\u5b58\u5728 JDK \u7248\u672c\u95ee\u9898\uff0c\u628a\u6240\u6709 JDK \u7684\u914d\u7f6e\u5207\u6362\u6210 JDK11."),(0,a.yg)("p",null,"\u7b49\u7a0b\u5e8f\u8dd1\u8d77\u6765\u6210\u529f\u540e\uff0c\u65b9\u4f4d",(0,a.yg)("strong",{parentName:"p"},"http://localhost:8080"),"\u5373\u53ef\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4e09\u79cd\u7c7b\u578b\u7684\u8d26\u53f7\u767b\u5f55\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u7cfb\u7edf \u7ba1\u7406\u5458: ",(0,a.yg)("a",{parentName:"li",href:"mailto:sysadmin@thingsboard.org"},"sysadmin@thingsboard.org")," / sysadmin"),(0,a.yg)("li",{parentName:"ul"},"\u79df\u6237 \u8d26\u53f7: ",(0,a.yg)("a",{parentName:"li",href:"mailto:tenant@thingsboard.org"},"tenant@thingsboard.org")," / tenant"),(0,a.yg)("li",{parentName:"ul"},"\u5ba2\u6237 \u8d26\u53f7: ",(0,a.yg)("a",{parentName:"li",href:"mailto:customer@thingsboard.org"},"customer@thingsboard.org")," / customer")),(0,a.yg)("p",null,"\u81f3\u6b64\uff0cThingsBoard \u5728\u672c\u5730\u6210\u529f\u8fd0\u884c\u3002"))}c.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9314],{15680:(e,n,t)=>{t.d(n,{xA:()=>g,yg:()=>m});var r=t(96540);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function o(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var s=r.createContext({}),p=function(e){var n=r.useContext(s),t=n;return e&&(t="function"==typeof e?e(n):o(o({},n),e)),t},g=function(e){var n=p(e.components);return r.createElement(s.Provider,{value:n},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,l=e.originalType,s=e.parentName,g=i(e,["components","mdxType","originalType","parentName"]),u=p(t),d=a,m=u["".concat(s,".").concat(d)]||u[d]||c[d]||l;return t?r.createElement(m,o(o({ref:n},g),{},{components:t})):r.createElement(m,o({ref:n},g))}));function m(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var l=t.length,o=new Array(l);o[0]=d;var i={};for(var s in n)hasOwnProperty.call(n,s)&&(i[s]=n[s]);i.originalType=e,i[u]="string"==typeof e?e:a,o[1]=i;for(var p=2;p{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>o,default:()=>c,frontMatter:()=>l,metadata:()=>i,toc:()=>p});var r=t(58168),a=(t(96540),t(15680));const l={sidebar_position:1},o="\u7efc\u8ff0",i={unversionedId:"xuanxing/thingsboard/index",id:"xuanxing/thingsboard/index",title:"\u7efc\u8ff0",description:"thingsboard \u5e94\u8be5\u7b97\u662f\u9876\u7ea7\u7684\u5f00\u6e90\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e86\u3002\u4f46\u662f\uff0c\u7ecf\u6211\u7814\u7a76\uff0c\u4e0d\u662f\u5f88\u9002\u5408\u56fd\u5185\u7528\u6237\u3002\u4f46\u662f\u5374\u6709\u5f88\u591a\u5b66\u4e60\u548c\u501f\u9274\u7684\u5730\u65b9\uff0c\u4f8b\u5982\u89c4\u5219\u5f15\u64ce\u3002",source:"@site/docs/xuanxing/thingsboard/index.md",sourceDirName:"xuanxing/thingsboard",slug:"/xuanxing/thingsboard/",permalink:"/docs/xuanxing/thingsboard/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"xuanxingSidebar",previous:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/devops/"},next:{title:"\u5982\u4f55\u4f7f\u7528",permalink:"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528"}},s={},p=[{value:"\u73af\u5883\u8981\u6c42",id:"\u73af\u5883\u8981\u6c42",level:3},{value:"Maven \u7248\u672c",id:"maven-\u7248\u672c",level:3},{value:"\u5b89\u88c5 postgres",id:"\u5b89\u88c5-postgres",level:3},{value:"\u521b\u5efa\u6570\u636e\u5e93",id:"\u521b\u5efa\u6570\u636e\u5e93",level:3},{value:"\u6267\u884c mvn package \u6253\u5305\u5e76\u521d\u59cb\u5316\u6570\u636e\u5e93",id:"\u6267\u884c-mvn-package-\u6253\u5305\u5e76\u521d\u59cb\u5316\u6570\u636e\u5e93",level:3},{value:"IDEA \u8fd0\u884c",id:"idea-\u8fd0\u884c",level:3}],g={toc:p},u="wrapper";function c(e){let{components:n,...t}=e;return(0,a.yg)(u,(0,r.A)({},g,t,{components:n,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u7efc\u8ff0"},"\u7efc\u8ff0"),(0,a.yg)("p",null,"thingsboard \u5e94\u8be5\u7b97\u662f\u9876\u7ea7\u7684\u5f00\u6e90\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e86\u3002\u4f46\u662f\uff0c\u7ecf\u6211\u7814\u7a76\uff0c\u4e0d\u662f\u5f88\u9002\u5408\u56fd\u5185\u7528\u6237\u3002\u4f46\u662f\u5374\u6709\u5f88\u591a\u5b66\u4e60\u548c\u501f\u9274\u7684\u5730\u65b9\uff0c\u4f8b\u5982\u89c4\u5219\u5f15\u64ce\u3002"),(0,a.yg)("h3",{id:"\u73af\u5883\u8981\u6c42"},"\u73af\u5883\u8981\u6c42"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"JDK 11"),(0,a.yg)("li",{parentName:"ul"},"Maven 3.6.0+")),(0,a.yg)("h3",{id:"maven-\u7248\u672c"},"Maven \u7248\u672c"),(0,a.yg)("p",null,"\u6709\u95ee\u9898\uff0c\u81f3\u5c11\u5f97\u662f 3.6.0\uff0c\u5b98\u7f51\u6587\u6863\u6709\u8bef\uff1b"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:install-node-and-yarn (install node and npm) on project ui-ngx: The plugin com.github.eirslett:frontend-maven-plugin:1.12.0 requires Maven version 3.6.0 -> [Help 1]\n")),(0,a.yg)("h3",{id:"\u5b89\u88c5-postgres"},"\u5b89\u88c5 postgres"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"#\ndocker pull postgres:11.19-bullseye\n#\ndocker run \\\n--privileged=true \\\n--restart=always \\\n--name postgres \\\n-e POSTGRES_PASSWORD=Aa0123 \\\n-p 5432:5432 \\\n-v /mnt/docker/postgresql/data:/var/lib/postgresql/data \\\n-d postgres:11.19-bullseye\n# \u53d1\u73b0\u4f7f\u7528DBeaver\u8fde\u63a5\u4e0d\u4e0a\uff0c\u9700\u8981\u4fee\u6539/mnt/docker/postgresql/data/pg_hba.conf\n# \u589e\u52a0\u4e00\u884chost all all 192.168.41.69/32 trust\n# 192.168.41.69\u662f\u6211\u81ea\u5df1\u7684ip\n\n")),(0,a.yg)("h1",{id:"\u6267\u884c-mvn-compile-\u62a5\u9519"},"\u6267\u884c mvn compile \u62a5\u9519"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-shell"},"[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack (extract-web-ui) on project web-ui: Artifact has not been packaged yet. When used on reactor artifact, unpack should be executed after packaging: see MDEP-98. -> [Help 1]\n")),(0,a.yg)("p",null,"\u78b0\u5230\u8fd9\u4e2a\u9519\u8bef\uff0c\u662f\u56e0\u4e3a ui-ngx \u6ca1\u6709 install\uff0cinstall \u4e00\u4e0b\u5373\u53ef"),(0,a.yg)("h3",{id:"\u521b\u5efa\u6570\u636e\u5e93"},"\u521b\u5efa\u6570\u636e\u5e93"),(0,a.yg)("p",null,"\u4f7f\u7528 DBeaver \u8fde\u63a5\u6570\u636e\u5e93 postgresql\uff0c\u5e76\u521b\u5efa\u6570\u636e\u5e93",(0,a.yg)("strong",{parentName:"p"},"thingsboard")),(0,a.yg)("p",null,"\u4fee\u6539",(0,a.yg)("strong",{parentName:"p"},"thingsboard/application/src/main/resources/thingsboard.yml"),"\u6587\u4ef6\u4e2d\u7684\u6570\u636e\u5e93\u914d\u7f6e\uff0c"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-yml"},'url: "${SPRING_DATASOURCE_URL:jdbc:postgresql://192.168.0.40:5432/thingsboard}"\npassword: "${SPRING_DATASOURCE_PASSWORD:Aa0123}"\n')),(0,a.yg)("h3",{id:"\u6267\u884c-mvn-package-\u6253\u5305\u5e76\u521d\u59cb\u5316\u6570\u636e\u5e93"},"\u6267\u884c mvn package \u6253\u5305\u5e76\u521d\u59cb\u5316\u6570\u636e\u5e93"),(0,a.yg)("p",null,"mvn package \u547d\u4ee4\u76f4\u63a5\u6210\u529f\u3002"),(0,a.yg)("p",null,"\u7136\u540e\u6267\u884c",(0,a.yg)("strong",{parentName:"p"},"application/target/bin/install/install_dev_db.sh"),"\u6b64\u811a\u672c\uff0c\u4e5f\u6210\u529f\u4e86"),(0,a.yg)("h3",{id:"idea-\u8fd0\u884c"},"IDEA \u8fd0\u884c"),(0,a.yg)("p",null,"\u6267\u884c",(0,a.yg)("strong",{parentName:"p"},"application/src/main/java/org/thingsboard/server/ThingsboardServerApplication.java")," debug \u6b64\u6587\u4ef6\uff0c\n\u5982\u679c\u5b58\u5728 JDK \u7248\u672c\u95ee\u9898\uff0c\u628a\u6240\u6709 JDK \u7684\u914d\u7f6e\u5207\u6362\u6210 JDK11."),(0,a.yg)("p",null,"\u7b49\u7a0b\u5e8f\u8dd1\u8d77\u6765\u6210\u529f\u540e\uff0c\u65b9\u4f4d",(0,a.yg)("strong",{parentName:"p"},"http://localhost:8080"),"\u5373\u53ef\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4e09\u79cd\u7c7b\u578b\u7684\u8d26\u53f7\u767b\u5f55\uff1a"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u7cfb\u7edf \u7ba1\u7406\u5458: ",(0,a.yg)("a",{parentName:"li",href:"mailto:sysadmin@thingsboard.org"},"sysadmin@thingsboard.org")," / sysadmin"),(0,a.yg)("li",{parentName:"ul"},"\u79df\u6237 \u8d26\u53f7: ",(0,a.yg)("a",{parentName:"li",href:"mailto:tenant@thingsboard.org"},"tenant@thingsboard.org")," / tenant"),(0,a.yg)("li",{parentName:"ul"},"\u5ba2\u6237 \u8d26\u53f7: ",(0,a.yg)("a",{parentName:"li",href:"mailto:customer@thingsboard.org"},"customer@thingsboard.org")," / customer")),(0,a.yg)("p",null,"\u81f3\u6b64\uff0cThingsBoard \u5728\u672c\u5730\u6210\u529f\u8fd0\u884c\u3002"))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f7a3023e.dd510d41.js b/assets/js/f7a3023e.33b36167.js similarity index 97% rename from assets/js/f7a3023e.dd510d41.js rename to assets/js/f7a3023e.33b36167.js index 5fadfe10c..f05a09397 100644 --- a/assets/js/f7a3023e.dd510d41.js +++ b/assets/js/f7a3023e.33b36167.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[140],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),l=u(r),y=o,d=l["".concat(s,".").concat(y)]||l[y]||f[y]||c;return r?n.createElement(d,a(a({ref:t},p),{},{components:r})):n.createElement(d,a({ref:t},p))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=y;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[l]="string"==typeof e?e:o,a[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>a,default:()=>f,frontMatter:()=>c,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,i={unversionedId:"study/stock/20240711",id:"study/stock/20240711",title:"20240711",description:"",source:"@site/docs/study/stock/20240711.md",sourceDirName:"study/stock",slug:"/study/stock/20240711",permalink:"/docs/study/stock/20240711",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},s={},u=[],p={toc:u},l="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[140],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>d});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},l="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,c=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),l=u(r),y=o,d=l["".concat(s,".").concat(y)]||l[y]||f[y]||c;return r?n.createElement(d,a(a({ref:t},p),{},{components:r})):n.createElement(d,a({ref:t},p))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var c=r.length,a=new Array(c);a[0]=y;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[l]="string"==typeof e?e:o,a[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>a,default:()=>f,frontMatter:()=>c,metadata:()=>i,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const c={},a=void 0,i={unversionedId:"study/stock/20240711",id:"study/stock/20240711",title:"20240711",description:"",source:"@site/docs/study/stock/20240711.md",sourceDirName:"study/stock",slug:"/study/stock/20240711",permalink:"/docs/study/stock/20240711",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{}},s={},u=[],p={toc:u},l="wrapper";function f(e){let{components:t,...r}=e;return(0,o.yg)(l,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f7ec4137.c919e190.js b/assets/js/f7ec4137.bb35d027.js similarity index 98% rename from assets/js/f7ec4137.c919e190.js rename to assets/js/f7ec4137.bb35d027.js index 45951b51d..80879b149 100644 --- a/assets/js/f7ec4137.c919e190.js +++ b/assets/js/f7ec4137.bb35d027.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4793],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,d=s["".concat(u,".").concat(y)]||s[y]||f[y]||i;return r?n.createElement(d,o(o({ref:t},c),{},{components:r})):n.createElement(d,o({ref:t},c))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=y;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:a,o[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>f,frontMatter:()=>i,metadata:()=>l,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const i={sidebar_position:5},o="\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668",l={unversionedId:"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668",id:"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668",title:"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668",description:"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7ec4\u6001\u7f16\u8f91\u5668\u548c\u5927\u5c4f\u7f16\u8f91\u5668\u90fd\u662f\u5c5e\u4e8e\u53ef\u89c6\u5316\u7f16\u8f91\u5668\u7684\u8303\u7574\u3002",source:"@site/docs/xuanxing/fe/5-\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668",permalink:"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"xuanxingSidebar",previous:{title:"\u79fb\u52a8\u7aef",permalink:"/docs/xuanxing/fe/\u79fb\u52a8\u7aef"},next:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/back/"}},u={},p=[{value:"\u7ec4\u6001\u7f16\u8f91\u5668",id:"\u7ec4\u6001\u7f16\u8f91\u5668",level:3},{value:"\u5927\u5c4f\u7f16\u8f91\u5668",id:"\u5927\u5c4f\u7f16\u8f91\u5668",level:3},{value:"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a",id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350",level:3}],c={toc:p},s="wrapper";function f(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u7ec4\u6001\u7f16\u8f91\u5668\u5927\u5c4f\u7f16\u8f91\u5668"},"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7ec4\u6001\u7f16\u8f91\u5668\u548c\u5927\u5c4f\u7f16\u8f91\u5668\u90fd\u662f\u5c5e\u4e8e\u53ef\u89c6\u5316\u7f16\u8f91\u5668\u7684\u8303\u7574\u3002"),(0,a.yg)("p",null,"\u7ec4\u6001\u7f16\u8f91\u5668\u6bd4\u8f83\u6ce8\u91cd\u62d3\u6251\u7ed3\u6784\u56fe\u3001\u73b0\u573a\u7684\u5de5\u827a\u6d41\u7a0b\uff0c\u4e14\u5bf9\u52a8\u753b\u6709\u8981\u6c42\uff0c\u80fd\u591f\u6a21\u62df\u5b9e\u65f6\u7684\u573a\u666f\u52a8\u753b\u3002"),(0,a.yg)("h3",{id:"\u7ec4\u6001\u7f16\u8f91\u5668"},"\u7ec4\u6001\u7f16\u8f91\u5668"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u57fa\u4e8e draw.io \u6539\u9020\uff0cdraw.io \u57fa\u4e8e mxGraph\uff0c\u4f46\u662f mxGraph \u5728 2020 \u5e74 11 \u6708\u5df2\u7ecf\u4f53\u8d28\u7ef4\u62a4\u4e86",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"mxGraph \u63a8\u8350\u7684 fork\uff0cmaxGraph"))),(0,a.yg)("li",{parentName:"ul"},"\u57fa\u4e8e meta2d+vue3 \u81ea\u7814\uff08\u53c2\u8003\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u62d3\u6251\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u7eaf\u81ea\u7814\uff08Canvas\uff09\uff08\u53c2\u8003\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u62d3\u6251\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u91c7\u8d2d\uff08\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u62d3\u6251\uff09")),(0,a.yg)("h3",{id:"\u5927\u5c4f\u7f16\u8f91\u5668"},"\u5927\u5c4f\u7f16\u8f91\u5668"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u81ea\u7814(\u53c2\u8003\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u5927\u5c4f)"),(0,a.yg)("li",{parentName:"ul"},"\u91c7\u8d2d\uff08\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u5927\u5c4f\uff09")),(0,a.yg)("h3",{id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350"},"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a"),(0,a.yg)("p",null,"\u57fa\u4e8e meta2d+vue3 \u81ea\u7814\uff08\u53c2\u8003\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u62d3\u6251\uff09"))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4793],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>d});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),p=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=p(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),s=p(r),y=a,d=s["".concat(u,".").concat(y)]||s[y]||f[y]||i;return r?n.createElement(d,o(o({ref:t},c),{},{components:r})):n.createElement(d,o({ref:t},c))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=y;var l={};for(var u in t)hasOwnProperty.call(t,u)&&(l[u]=t[u]);l.originalType=e,l[s]="string"==typeof e?e:a,o[1]=l;for(var p=2;p{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>f,frontMatter:()=>i,metadata:()=>l,toc:()=>p});var n=r(58168),a=(r(96540),r(15680));const i={sidebar_position:5},o="\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668",l={unversionedId:"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668",id:"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668",title:"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668",description:"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7ec4\u6001\u7f16\u8f91\u5668\u548c\u5927\u5c4f\u7f16\u8f91\u5668\u90fd\u662f\u5c5e\u4e8e\u53ef\u89c6\u5316\u7f16\u8f91\u5668\u7684\u8303\u7574\u3002",source:"@site/docs/xuanxing/fe/5-\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668.md",sourceDirName:"xuanxing/fe",slug:"/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668",permalink:"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"xuanxingSidebar",previous:{title:"\u79fb\u52a8\u7aef",permalink:"/docs/xuanxing/fe/\u79fb\u52a8\u7aef"},next:{title:"\u6982\u8ff0",permalink:"/docs/xuanxing/back/"}},u={},p=[{value:"\u7ec4\u6001\u7f16\u8f91\u5668",id:"\u7ec4\u6001\u7f16\u8f91\u5668",level:3},{value:"\u5927\u5c4f\u7f16\u8f91\u5668",id:"\u5927\u5c4f\u7f16\u8f91\u5668",level:3},{value:"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a",id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350",level:3}],c={toc:p},s="wrapper";function f(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u7ec4\u6001\u7f16\u8f91\u5668\u5927\u5c4f\u7f16\u8f91\u5668"},"\u7ec4\u6001\u7f16\u8f91\u5668/\u5927\u5c4f\u7f16\u8f91\u5668"),(0,a.yg)("p",null,"\u5728\u7269\u8054\u7f51\u4e91\u5e73\u53f0\u4e0a\uff0c\u7ec4\u6001\u7f16\u8f91\u5668\u548c\u5927\u5c4f\u7f16\u8f91\u5668\u90fd\u662f\u5c5e\u4e8e\u53ef\u89c6\u5316\u7f16\u8f91\u5668\u7684\u8303\u7574\u3002"),(0,a.yg)("p",null,"\u7ec4\u6001\u7f16\u8f91\u5668\u6bd4\u8f83\u6ce8\u91cd\u62d3\u6251\u7ed3\u6784\u56fe\u3001\u73b0\u573a\u7684\u5de5\u827a\u6d41\u7a0b\uff0c\u4e14\u5bf9\u52a8\u753b\u6709\u8981\u6c42\uff0c\u80fd\u591f\u6a21\u62df\u5b9e\u65f6\u7684\u573a\u666f\u52a8\u753b\u3002"),(0,a.yg)("h3",{id:"\u7ec4\u6001\u7f16\u8f91\u5668"},"\u7ec4\u6001\u7f16\u8f91\u5668"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u57fa\u4e8e draw.io \u6539\u9020\uff0cdraw.io \u57fa\u4e8e mxGraph\uff0c\u4f46\u662f mxGraph \u5728 2020 \u5e74 11 \u6708\u5df2\u7ecf\u4f53\u8d28\u7ef4\u62a4\u4e86",(0,a.yg)("ul",{parentName:"li"},(0,a.yg)("li",{parentName:"ul"},"mxGraph \u63a8\u8350\u7684 fork\uff0cmaxGraph"))),(0,a.yg)("li",{parentName:"ul"},"\u57fa\u4e8e meta2d+vue3 \u81ea\u7814\uff08\u53c2\u8003\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u62d3\u6251\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u7eaf\u81ea\u7814\uff08Canvas\uff09\uff08\u53c2\u8003\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u62d3\u6251\uff09"),(0,a.yg)("li",{parentName:"ul"},"\u91c7\u8d2d\uff08\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u62d3\u6251\uff09")),(0,a.yg)("h3",{id:"\u5927\u5c4f\u7f16\u8f91\u5668"},"\u5927\u5c4f\u7f16\u8f91\u5668"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"\u81ea\u7814(\u53c2\u8003\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u5927\u5c4f)"),(0,a.yg)("li",{parentName:"ul"},"\u91c7\u8d2d\uff08\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u5927\u5c4f\uff09")),(0,a.yg)("h3",{id:"\u6700\u7ec8\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350"},"\u6700\u7ec8\uff0c\u6280\u672f\u9009\u578b\u4e2a\u4eba\u63a8\u8350\uff1a"),(0,a.yg)("p",null,"\u57fa\u4e8e meta2d+vue3 \u81ea\u7814\uff08\u53c2\u8003\u4f18\u8bfa\u79d1\u6280\u7684\u68ee\u62d3\u6251\uff09"))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f90dc98f.4386a693.js b/assets/js/f90dc98f.cfa4d81a.js similarity index 99% rename from assets/js/f90dc98f.4386a693.js rename to assets/js/f90dc98f.cfa4d81a.js index e5576b889..58766d1c2 100644 --- a/assets/js/f90dc98f.4386a693.js +++ b/assets/js/f90dc98f.cfa4d81a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4586],{15680:(e,t,n)=>{n.d(t,{xA:()=>i,yg:()=>g});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=r.createContext({}),c=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},i=function(e){var t=c(e.components);return r.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),s=c(n),d=o,g=s["".concat(u,".").concat(d)]||s[d]||y[d]||a;return n?r.createElement(g,l(l({ref:t},i),{},{components:n})):r.createElement(g,l({ref:t},i))}));function g(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,l=new Array(a);l[0]=d;var p={};for(var u in t)hasOwnProperty.call(t,u)&&(p[u]=t[u]);p.originalType=e,p[s]="string"==typeof e?e:o,l[1]=p;for(var c=2;c{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var r=n(58168),o=(n(96540),n(15680));const a={},l=void 0,p={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",id:"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",title:"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",description:"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548cCPU\u4f7f\u7528\u7387",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u5e38\u7528",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528"},next:{title:"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd"}},u={},c=[{value:"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548cCPU\u4f7f\u7528\u7387",id:"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548ccpu\u4f7f\u7528\u7387",level:3}],i={toc:c},s="wrapper";function y(e){let{components:t,...n}=e;return(0,o.yg)(s,(0,r.A)({},i,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548ccpu\u4f7f\u7528\u7387"},"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548cCPU\u4f7f\u7528\u7387"),(0,o.yg)("p",null,"\u73b0\u5b9e\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u5bb9\u6613\u628a\u5e73\u5747\u8d1f\u8f7d\u503c\u548cCPU\u4f7f\u7528\u7387\u6df7\u6dc6\uff0c\u6240\u4ee5\u5728\u8fd9\u91cc\uff0c\u6211\u4e5f\u505a\u4e00\u4e2a\u533a\u5206\u3002"),(0,o.yg)("p",null,"\u53ef\u80fd\u4f60\u4f1a\u7591\u60d1\uff0c\u65e2\u7136\u5e73\u5747\u8d1f\u8f7d\u4ee3\u8868\u7684\u662f\u6d3b\u8dc3\u8fdb\u7a0b\u6570\uff0c\u90a3\u5e73\u5747\u8d1f\u8f7d\u9ad8\u4e86\uff0c\u4e0d\u5c31\u610f\u5473\u7740CPU\u4f7f\u7528\u7387\u9ad8\u5417\uff1f"),(0,o.yg)("p",null,"\u6211\u4eec\u8fd8\u662f\u8981\u56de\u5230\u5e73\u5747\u8d1f\u8f7d\u7684\u542b\u4e49\u4e0a\u6765\uff0c\u5e73\u5747\u8d1f\u8f7d\u662f\u6307\u5355\u4f4d\u65f6\u95f4\u5185\uff0c\u5904\u4e8e\u53ef\u8fd0\u884c\u72b6\u6001\u548c\u4e0d\u53ef\u4e2d\u65ad\u72b6\u6001\u7684\u8fdb\u7a0b\u6570\u3002\u6240\u4ee5\uff0c\u5b83\u4e0d\u4ec5\u5305\u62ec\u4e86",(0,o.yg)("strong",{parentName:"p"},"\u6b63\u5728\u4f7f\u7528CPU\u7684\u8fdb\u7a0b"),"\uff0c\u8fd8\u5305\u62ec",(0,o.yg)("strong",{parentName:"p"},"\u7b49\u5f85CPU\u548c\u7b49\u5f85I/O\u7684\u8fdb\u7a0b"),"\u3002"),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},"\u800cCPU\u4f7f\u7528\u7387\uff0c\u662f\u5355\u4f4d\u65f6\u95f4\u5185CPU\u7e41\u5fd9\u60c5\u51b5\u7684\u7edf\u8ba1\uff0c\u8ddf\u5e73\u5747\u8d1f\u8f7d\u5e76\u4e0d\u4e00\u5b9a\u5b8c\u5168\u5bf9\u5e94\u3002\u6bd4\u5982\uff1a"),(0,o.yg)("ul",{parentName:"blockquote"},(0,o.yg)("li",{parentName:"ul"},"CPU\u5bc6\u96c6\u578b\u8fdb\u7a0b\uff0c\u4f7f\u7528\u5927\u91cfCPU\u4f1a\u5bfc\u81f4\u5e73\u5747\u8d1f\u8f7d\u5347\u9ad8\uff0c\u6b64\u65f6\u4e24\u8005\u662f\u4e00\u81f4\u7684\u3002"),(0,o.yg)("li",{parentName:"ul"},"I/O\u5bc6\u96c6\u578b\u8fdb\u7a0b\uff0c\u7b49\u5f85I/O\u4e5f\u4f1a\u5bfc\u81f4\u5e73\u5747\u8d1f\u8f7d\u5347\u9ad8\uff0c\u4f46CPU\u4f7f\u7528\u7387\u4e0d\u4e00\u5b9a\u5f88\u9ad8\u3002"),(0,o.yg)("li",{parentName:"ul"},"\u5927\u91cf\u7b49\u5f85CPU\u7684\u8fdb\u7a0b\u8c03\u5ea6\u4e5f\u4f1a\u5bfc\u81f4\u5e73\u5747\u8d1f\u8f7d\u5347\u9ad8\uff0c\u6b64\u65f6\u7684CPU\u4f7f\u7528\u7387\u4e5f\u4f1a\u6bd4\u8f83\u9ad8\u3002"))),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u90a3\u4e48\uff0c\u5728\u5b9e\u9645\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u5e73\u5747\u8d1f\u8f7d\u591a\u9ad8\u65f6\uff0c\u9700\u8981\u6211\u4eec\u91cd\u70b9\u5173\u6ce8\u5462\uff1f")),(0,o.yg)("p",null,"\u5728\u6211\u770b\u6765\uff0c",(0,o.yg)("strong",{parentName:"p"},"\u5f53\u5e73\u5747\u8d1f\u8f7d\u9ad8\u4e8e\u903b\u8f91CPU\u6570\u91cf\u768470%\u7684\u65f6\u5019"),"\uff0c\u4f60\u5c31\u5e94\u8be5\u5206\u6790\u6392\u67e5\u8d1f\u8f7d\u9ad8\u7684\u95ee\u9898\u4e86\u3002\u4e00\u65e6\u8d1f\u8f7d\u8fc7\u9ad8\uff0c\u5c31\u53ef\u80fd\u5bfc\u81f4\u8fdb\u7a0b\u54cd\u5e94\u53d8\u6162\uff0c\u8fdb\u800c\u5f71\u54cd\u670d\u52a1\u7684\u6b63\u5e38\u529f\u80fd\u3002"),(0,o.yg)("p",null,"\u4f46\u662f\uff0c70%\u8fd9\u4e2a\u6570\u5b57\u5e76\u4e0d\u662f\u7edd\u5bf9\u7684\uff0c\u6700\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u8fd8\u662f\u628a\u7cfb\u7edf\u7684\u5e73\u5747\u8d1f\u8f7d\u76d1\u63a7\u8d77\u6765\uff0c\u7136\u540e\u6839\u636e\u66f4\u591a\u7684\u5386\u53f2\u6570\u636e\uff0c\u5224\u65ad\u8d1f\u8f7d\u7684\u53d8\u5316\u8d8b\u52bf\u3002\u5f53\u53d1\u73b0\u8d1f\u8f7d\u6709\u660e\u663e\u5347\u9ad8\u8d8b\u52bf\u65f6\uff0c\u6bd4\u5982\u8bf4\u8d1f\u8f7d\u7ffb\u500d\u4e86\uff0c\u4f60\u518d\u53bb\u505a\u5206\u6790\u548c\u8c03\u67e5\u3002"),(0,o.yg)("p",null,"\u83b7\u53d6\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"cat /proc/loadavg\n# 0.32 0.29 0.13 1/357 1909\n")),(0,o.yg)("p",null,"\u4e00\u822c\u6765\u8bf4\u6bcf\u4e2aCPU\u7684\u5f53\u524d\u6d3b\u52a8\u8fdb\u7a0b\u6570\u4e0d\u5927\u4e8e3\u90a3\u4e48\u7cfb\u7edf\u7684\u6027\u80fd\u5c31\u662f\u826f\u597d\u7684\u3002\u5982\u679c\u6bcf\u4e2aCPU\u7684\u4efb\u52a1\u6570\u5927\u4e8e5\uff0c\u90a3\u4e48\u5c31\u8868\u660e\u673a\u5668\u7684\u6027\u80fd\u6709\u4e25\u91cd\u95ee\u9898\u3002"),(0,o.yg)("p",null,"\u5bf9\u4e8e\u4e0a\u9762\u7684\u4f8b\u5b50\u6765\u8bf4\uff0c\u5047\u8bbe\u7cfb\u7edf\u67098\u4e2aCPU\uff0c\u90a3\u4e48\u5176\u6bcf\u4e2aCPU\u57281\u5206\u949f\u5185\u7684\u8fdb\u7a0b\u6570\u4e3a\uff1a0.32/8=0.04\u3002"),(0,o.yg)("p",null,"\u5982\u4f55\u83b7\u53d6CPU\u6570\u91cf\u5462\uff1f\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u7684\u53ef\u80fd\u4e0d\u592a\u4e00\u6837\u3002"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'# Euler OS 2.0 SP8\ncat /proc/cpuinfo | grep processor | wc -l\n# Centos 7\n# Ubuntu 22.04.3 LTS\ncat /proc/cpuinfo | grep "model name" | wc -l\n')))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4586],{15680:(e,t,n)=>{n.d(t,{xA:()=>i,yg:()=>g});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var u=r.createContext({}),c=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},i=function(e){var t=c(e.components);return r.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,u=e.parentName,i=p(e,["components","mdxType","originalType","parentName"]),s=c(n),d=o,g=s["".concat(u,".").concat(d)]||s[d]||y[d]||a;return n?r.createElement(g,l(l({ref:t},i),{},{components:n})):r.createElement(g,l({ref:t},i))}));function g(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,l=new Array(a);l[0]=d;var p={};for(var u in t)hasOwnProperty.call(t,u)&&(p[u]=t[u]);p.originalType=e,p[s]="string"==typeof e?e:o,l[1]=p;for(var c=2;c{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>l,default:()=>y,frontMatter:()=>a,metadata:()=>p,toc:()=>c});var r=n(58168),o=(n(96540),n(15680));const a={},l=void 0,p={unversionedId:"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",id:"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",title:"Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",description:"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548cCPU\u4f7f\u7528\u7387",source:"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e.md",sourceDirName:"study/devops",slug:"/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Linux\u8fd0\u7ef4-\u5e38\u7528",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528"},next:{title:"Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd",permalink:"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd"}},u={},c=[{value:"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548cCPU\u4f7f\u7528\u7387",id:"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548ccpu\u4f7f\u7528\u7387",level:3}],i={toc:c},s="wrapper";function y(e){let{components:t,...n}=e;return(0,o.yg)(s,(0,r.A)({},i,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548ccpu\u4f7f\u7528\u7387"},"\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d\u548cCPU\u4f7f\u7528\u7387"),(0,o.yg)("p",null,"\u73b0\u5b9e\u5de5\u4f5c\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u5bb9\u6613\u628a\u5e73\u5747\u8d1f\u8f7d\u503c\u548cCPU\u4f7f\u7528\u7387\u6df7\u6dc6\uff0c\u6240\u4ee5\u5728\u8fd9\u91cc\uff0c\u6211\u4e5f\u505a\u4e00\u4e2a\u533a\u5206\u3002"),(0,o.yg)("p",null,"\u53ef\u80fd\u4f60\u4f1a\u7591\u60d1\uff0c\u65e2\u7136\u5e73\u5747\u8d1f\u8f7d\u4ee3\u8868\u7684\u662f\u6d3b\u8dc3\u8fdb\u7a0b\u6570\uff0c\u90a3\u5e73\u5747\u8d1f\u8f7d\u9ad8\u4e86\uff0c\u4e0d\u5c31\u610f\u5473\u7740CPU\u4f7f\u7528\u7387\u9ad8\u5417\uff1f"),(0,o.yg)("p",null,"\u6211\u4eec\u8fd8\u662f\u8981\u56de\u5230\u5e73\u5747\u8d1f\u8f7d\u7684\u542b\u4e49\u4e0a\u6765\uff0c\u5e73\u5747\u8d1f\u8f7d\u662f\u6307\u5355\u4f4d\u65f6\u95f4\u5185\uff0c\u5904\u4e8e\u53ef\u8fd0\u884c\u72b6\u6001\u548c\u4e0d\u53ef\u4e2d\u65ad\u72b6\u6001\u7684\u8fdb\u7a0b\u6570\u3002\u6240\u4ee5\uff0c\u5b83\u4e0d\u4ec5\u5305\u62ec\u4e86",(0,o.yg)("strong",{parentName:"p"},"\u6b63\u5728\u4f7f\u7528CPU\u7684\u8fdb\u7a0b"),"\uff0c\u8fd8\u5305\u62ec",(0,o.yg)("strong",{parentName:"p"},"\u7b49\u5f85CPU\u548c\u7b49\u5f85I/O\u7684\u8fdb\u7a0b"),"\u3002"),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},"\u800cCPU\u4f7f\u7528\u7387\uff0c\u662f\u5355\u4f4d\u65f6\u95f4\u5185CPU\u7e41\u5fd9\u60c5\u51b5\u7684\u7edf\u8ba1\uff0c\u8ddf\u5e73\u5747\u8d1f\u8f7d\u5e76\u4e0d\u4e00\u5b9a\u5b8c\u5168\u5bf9\u5e94\u3002\u6bd4\u5982\uff1a"),(0,o.yg)("ul",{parentName:"blockquote"},(0,o.yg)("li",{parentName:"ul"},"CPU\u5bc6\u96c6\u578b\u8fdb\u7a0b\uff0c\u4f7f\u7528\u5927\u91cfCPU\u4f1a\u5bfc\u81f4\u5e73\u5747\u8d1f\u8f7d\u5347\u9ad8\uff0c\u6b64\u65f6\u4e24\u8005\u662f\u4e00\u81f4\u7684\u3002"),(0,o.yg)("li",{parentName:"ul"},"I/O\u5bc6\u96c6\u578b\u8fdb\u7a0b\uff0c\u7b49\u5f85I/O\u4e5f\u4f1a\u5bfc\u81f4\u5e73\u5747\u8d1f\u8f7d\u5347\u9ad8\uff0c\u4f46CPU\u4f7f\u7528\u7387\u4e0d\u4e00\u5b9a\u5f88\u9ad8\u3002"),(0,o.yg)("li",{parentName:"ul"},"\u5927\u91cf\u7b49\u5f85CPU\u7684\u8fdb\u7a0b\u8c03\u5ea6\u4e5f\u4f1a\u5bfc\u81f4\u5e73\u5747\u8d1f\u8f7d\u5347\u9ad8\uff0c\u6b64\u65f6\u7684CPU\u4f7f\u7528\u7387\u4e5f\u4f1a\u6bd4\u8f83\u9ad8\u3002"))),(0,o.yg)("p",null,(0,o.yg)("strong",{parentName:"p"},"\u90a3\u4e48\uff0c\u5728\u5b9e\u9645\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u5e73\u5747\u8d1f\u8f7d\u591a\u9ad8\u65f6\uff0c\u9700\u8981\u6211\u4eec\u91cd\u70b9\u5173\u6ce8\u5462\uff1f")),(0,o.yg)("p",null,"\u5728\u6211\u770b\u6765\uff0c",(0,o.yg)("strong",{parentName:"p"},"\u5f53\u5e73\u5747\u8d1f\u8f7d\u9ad8\u4e8e\u903b\u8f91CPU\u6570\u91cf\u768470%\u7684\u65f6\u5019"),"\uff0c\u4f60\u5c31\u5e94\u8be5\u5206\u6790\u6392\u67e5\u8d1f\u8f7d\u9ad8\u7684\u95ee\u9898\u4e86\u3002\u4e00\u65e6\u8d1f\u8f7d\u8fc7\u9ad8\uff0c\u5c31\u53ef\u80fd\u5bfc\u81f4\u8fdb\u7a0b\u54cd\u5e94\u53d8\u6162\uff0c\u8fdb\u800c\u5f71\u54cd\u670d\u52a1\u7684\u6b63\u5e38\u529f\u80fd\u3002"),(0,o.yg)("p",null,"\u4f46\u662f\uff0c70%\u8fd9\u4e2a\u6570\u5b57\u5e76\u4e0d\u662f\u7edd\u5bf9\u7684\uff0c\u6700\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u8fd8\u662f\u628a\u7cfb\u7edf\u7684\u5e73\u5747\u8d1f\u8f7d\u76d1\u63a7\u8d77\u6765\uff0c\u7136\u540e\u6839\u636e\u66f4\u591a\u7684\u5386\u53f2\u6570\u636e\uff0c\u5224\u65ad\u8d1f\u8f7d\u7684\u53d8\u5316\u8d8b\u52bf\u3002\u5f53\u53d1\u73b0\u8d1f\u8f7d\u6709\u660e\u663e\u5347\u9ad8\u8d8b\u52bf\u65f6\uff0c\u6bd4\u5982\u8bf4\u8d1f\u8f7d\u7ffb\u500d\u4e86\uff0c\u4f60\u518d\u53bb\u505a\u5206\u6790\u548c\u8c03\u67e5\u3002"),(0,o.yg)("p",null,"\u83b7\u53d6\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},"cat /proc/loadavg\n# 0.32 0.29 0.13 1/357 1909\n")),(0,o.yg)("p",null,"\u4e00\u822c\u6765\u8bf4\u6bcf\u4e2aCPU\u7684\u5f53\u524d\u6d3b\u52a8\u8fdb\u7a0b\u6570\u4e0d\u5927\u4e8e3\u90a3\u4e48\u7cfb\u7edf\u7684\u6027\u80fd\u5c31\u662f\u826f\u597d\u7684\u3002\u5982\u679c\u6bcf\u4e2aCPU\u7684\u4efb\u52a1\u6570\u5927\u4e8e5\uff0c\u90a3\u4e48\u5c31\u8868\u660e\u673a\u5668\u7684\u6027\u80fd\u6709\u4e25\u91cd\u95ee\u9898\u3002"),(0,o.yg)("p",null,"\u5bf9\u4e8e\u4e0a\u9762\u7684\u4f8b\u5b50\u6765\u8bf4\uff0c\u5047\u8bbe\u7cfb\u7edf\u67098\u4e2aCPU\uff0c\u90a3\u4e48\u5176\u6bcf\u4e2aCPU\u57281\u5206\u949f\u5185\u7684\u8fdb\u7a0b\u6570\u4e3a\uff1a0.32/8=0.04\u3002"),(0,o.yg)("p",null,"\u5982\u4f55\u83b7\u53d6CPU\u6570\u91cf\u5462\uff1f\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u7684\u53ef\u80fd\u4e0d\u592a\u4e00\u6837\u3002"),(0,o.yg)("pre",null,(0,o.yg)("code",{parentName:"pre",className:"language-shell"},'# Euler OS 2.0 SP8\ncat /proc/cpuinfo | grep processor | wc -l\n# Centos 7\n# Ubuntu 22.04.3 LTS\ncat /proc/cpuinfo | grep "model name" | wc -l\n')))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f9b897e3.60b57bda.js b/assets/js/f9b897e3.ecc58334.js similarity index 98% rename from assets/js/f9b897e3.60b57bda.js rename to assets/js/f9b897e3.ecc58334.js index 7decc35e0..8cbeffa74 100644 --- a/assets/js/f9b897e3.60b57bda.js +++ b/assets/js/f9b897e3.ecc58334.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3006],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=l(r),d=a,m=s["".concat(u,".").concat(d)]||s[d]||y[d]||i;return r?n.createElement(m,o(o({ref:t},p),{},{components:r})):n.createElement(m,o({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=d;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c[s]="string"==typeof e?e:a,o[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>y,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const i={},o="\u8ba4\u8bc1",c={unversionedId:"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1",id:"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1",title:"\u8ba4\u8bc1",description:"\u53c2\u8003 Spring Security \u8ba4\u8bc1",source:"@site/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1.md",sourceDirName:"study/back/\u4fe1\u606f\u5b89\u5168",slug:"/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Oauth2",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2"},next:{title:"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb"}},u={},l=[{value:"\u8ba4\u8bc1\u673a\u5236",id:"\u8ba4\u8bc1\u673a\u5236",level:3}],p={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u8ba4\u8bc1"},"\u8ba4\u8bc1"),(0,a.yg)("p",null,"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"p",href:"https://springdoc.cn/spring-security/servlet/authentication/index.html#servlet-authentication-mechanisms"},"Spring Security \u8ba4\u8bc1")),(0,a.yg)("h3",{id:"\u8ba4\u8bc1\u673a\u5236"},"\u8ba4\u8bc1\u673a\u5236"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Username \u548c Password - \u5982\u4f55\u7528\u7528\u6237\u540d/\u5bc6\u7801\u8fdb\u884c\u8ba4\u8bc1"),(0,a.yg)("li",{parentName:"ul"},"OAuth 2.0 Login - \u4f7f\u7528 OpenID Connect \u548c\u975e\u6807\u51c6\u7684 OAuth 2.0 \u767b\u5f55\uff08\u5373 GitHub\uff09\u7684 OAuth 2.0 \u767b\u5f55\u3002"),(0,a.yg)("li",{parentName:"ul"},"SAML 2.0 Login - SAML 2.0 \u767b\u5f55"),(0,a.yg)("li",{parentName:"ul"},"Central Authentication Server (CAS) - \u4e2d\u592e\u8ba4\u8bc1\u670d\u52a1\u5668\uff08CAS\uff09\u652f\u6301\u3002"),(0,a.yg)("li",{parentName:"ul"},"Remember Me - \u5982\u4f55\u8bb0\u4f4f\u4e00\u4e2a\u8fc7\u4e86 session \u6709\u6548\u671f\u7684\u7528\u6237\u3002"),(0,a.yg)("li",{parentName:"ul"},"JAAS Authentication - \u7528 JAAS \u8fdb\u884c\u8ba4\u8bc1"),(0,a.yg)("li",{parentName:"ul"},"Pre-Authentication Scenarios - \u4f7f\u7528\u5916\u90e8\u673a\u5236\uff08\u5982 SiteMinder \u6216 Java EE security\uff09\u8fdb\u884c\u8ba4\u8bc1\uff0c\u4f46\u4ecd\u4f7f\u7528 Spring Security \u8fdb\u884c\u6388\u6743\u5e76\u4fdd\u62a4\u5176\u514d\u53d7\u5e38\u89c1\u6f0f\u6d1e\u7684\u4fb5\u5bb3\u3002"),(0,a.yg)("li",{parentName:"ul"},"X509 Authentication - X509 \u8ba4\u8bc1")))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3006],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=l(r),d=a,m=s["".concat(u,".").concat(d)]||s[d]||y[d]||i;return r?n.createElement(m,o(o({ref:t},p),{},{components:r})):n.createElement(m,o({ref:t},p))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=d;var c={};for(var u in t)hasOwnProperty.call(t,u)&&(c[u]=t[u]);c.originalType=e,c[s]="string"==typeof e?e:a,o[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>y,frontMatter:()=>i,metadata:()=>c,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const i={},o="\u8ba4\u8bc1",c={unversionedId:"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1",id:"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1",title:"\u8ba4\u8bc1",description:"\u53c2\u8003 Spring Security \u8ba4\u8bc1",source:"@site/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1.md",sourceDirName:"study/back/\u4fe1\u606f\u5b89\u5168",slug:"/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Oauth2",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2"},next:{title:"\u9632\u8303\u6f0f\u6d1e\u653b\u51fb",permalink:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb"}},u={},l=[{value:"\u8ba4\u8bc1\u673a\u5236",id:"\u8ba4\u8bc1\u673a\u5236",level:3}],p={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"\u8ba4\u8bc1"},"\u8ba4\u8bc1"),(0,a.yg)("p",null,"\u53c2\u8003 ",(0,a.yg)("a",{parentName:"p",href:"https://springdoc.cn/spring-security/servlet/authentication/index.html#servlet-authentication-mechanisms"},"Spring Security \u8ba4\u8bc1")),(0,a.yg)("h3",{id:"\u8ba4\u8bc1\u673a\u5236"},"\u8ba4\u8bc1\u673a\u5236"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Username \u548c Password - \u5982\u4f55\u7528\u7528\u6237\u540d/\u5bc6\u7801\u8fdb\u884c\u8ba4\u8bc1"),(0,a.yg)("li",{parentName:"ul"},"OAuth 2.0 Login - \u4f7f\u7528 OpenID Connect \u548c\u975e\u6807\u51c6\u7684 OAuth 2.0 \u767b\u5f55\uff08\u5373 GitHub\uff09\u7684 OAuth 2.0 \u767b\u5f55\u3002"),(0,a.yg)("li",{parentName:"ul"},"SAML 2.0 Login - SAML 2.0 \u767b\u5f55"),(0,a.yg)("li",{parentName:"ul"},"Central Authentication Server (CAS) - \u4e2d\u592e\u8ba4\u8bc1\u670d\u52a1\u5668\uff08CAS\uff09\u652f\u6301\u3002"),(0,a.yg)("li",{parentName:"ul"},"Remember Me - \u5982\u4f55\u8bb0\u4f4f\u4e00\u4e2a\u8fc7\u4e86 session \u6709\u6548\u671f\u7684\u7528\u6237\u3002"),(0,a.yg)("li",{parentName:"ul"},"JAAS Authentication - \u7528 JAAS \u8fdb\u884c\u8ba4\u8bc1"),(0,a.yg)("li",{parentName:"ul"},"Pre-Authentication Scenarios - \u4f7f\u7528\u5916\u90e8\u673a\u5236\uff08\u5982 SiteMinder \u6216 Java EE security\uff09\u8fdb\u884c\u8ba4\u8bc1\uff0c\u4f46\u4ecd\u4f7f\u7528 Spring Security \u8fdb\u884c\u6388\u6743\u5e76\u4fdd\u62a4\u5176\u514d\u53d7\u5e38\u89c1\u6f0f\u6d1e\u7684\u4fb5\u5bb3\u3002"),(0,a.yg)("li",{parentName:"ul"},"X509 Authentication - X509 \u8ba4\u8bc1")))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/fa157919.4c3f7871.js b/assets/js/fa157919.13adda72.js similarity index 99% rename from assets/js/fa157919.4c3f7871.js rename to assets/js/fa157919.13adda72.js index b55fa9cc3..790192ec9 100644 --- a/assets/js/fa157919.4c3f7871.js +++ b/assets/js/fa157919.13adda72.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1208],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>g});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),y=u(r),d=a,g=y["".concat(p,".").concat(d)]||y[d]||s[d]||l;return r?n.createElement(g,i(i({ref:t},c),{},{components:r})):n.createElement(g,i({ref:t},c))}));function g(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,i=new Array(l);i[0]=d;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[y]="string"==typeof e?e:a,i[1]=o;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>l,metadata:()=>o,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const l={},i=void 0,o={unversionedId:"study/think/\u67b6\u6784/\u67b6\u6784",id:"study/think/\u67b6\u6784/\u67b6\u6784",title:"\u67b6\u6784",description:"\u5b9a\u4e49",source:"@site/docs/study/think/\u67b6\u6784/\u67b6\u6784.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/",permalink:"/docs/study/think/\u67b6\u6784/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5e76\u53d1\u6a21\u578b",permalink:"/docs/study/think/\u5e76\u53d1\u6a21\u578b"},next:{title:"CAP\u7406\u8bba",permalink:"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba"}},p={},u=[{value:"\u5b9a\u4e49",id:"\u5b9a\u4e49",level:3},{value:"\u5206\u7c7b",id:"\u5206\u7c7b",level:3},{value:"\u4ea7\u54c1\u67b6\u6784",id:"\u4ea7\u54c1\u67b6\u6784",level:4},{value:"\u8f6f\u4ef6\u67b6\u6784",id:"\u8f6f\u4ef6\u67b6\u6784",level:4},{value:"\u67b6\u6784\u5e08\u7684\u80fd\u529b",id:"\u67b6\u6784\u5e08\u7684\u80fd\u529b",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:u},y="wrapper";function s(e){let{components:t,...l}=e;return(0,a.yg)(y,(0,n.A)({},c,l,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5b9a\u4e49"},"\u5b9a\u4e49"),(0,a.yg)("p",null,"\u67b6\u6784\u8fd9\u4e2a\u8bcd\u6700\u65e9\u662f\u8ddf\u968f\u7740\u5efa\u7b51\u51fa\u73b0\u7684\uff0c\u8fdb\u5165\u5230\u8f6f\u4ef6\u884c\u4e1a\u540e\uff0c\u5b83\u7684\u542b\u4e49\u6709\u4e86\u4e00\u4e9b\u53d8\u5316\uff0c\u4f46\u6700\u57fa\u7840\u7684\u542b\u4e49\u8fd8\u662f\u6ca1\u6709\u53d8\u7684\u3002\u672c\u8d28\u4e0a\u6765\u8bf4\uff0c\u67b6\u6784\u662f\u4e00\u4e2a\u8bbe\u8ba1\u52a8\u4f5c\u548c\u5b9e\u73b0\u52a8\u4f5c\uff1b\u8bbe\u8ba1\u52a8\u4f5c\u63cf\u8ff0\u7684\u662f\u52fe\u52d2\u51fa\u6ee1\u8db3\u5ba2\u6237\u6218\u7565\u89c4\u5212\u9700\u6c42\u7684\u4ea7\u54c1\uff1b\u5b9e\u73b0\u52a8\u4f5c\u63cf\u8ff0\u7684\u662f\u5c06\u6784\u4ef6\u7ec4\u5408\u6210\u7ed3\u6784\u7684\u8fc7\u7a0b\u3002"),(0,a.yg)("h3",{id:"\u5206\u7c7b"},"\u5206\u7c7b"),(0,a.yg)("p",null,"\u4f9d\u636e\u67b6\u6784\u7684\u5b9a\u4e49\uff0c\u53ef\u4ee5\u5c06\u67b6\u6784\u5206\u7c7b\u4e3a\u4ea7\u54c1\u67b6\u6784\u548c\u8f6f\u4ef6\u67b6\u6784\u4e24\u4e2a\u5927\u7c7b\u3002\n\u5728\u8fd9\u4e24\u4e2a\u5927\u7c7b\u4e0b\uff0c\u8fd8\u53ef\u4ee5\u7ee7\u7eed\u5212\u5206\u5b50\u7c7b\uff0c\u5982\u4e0b\uff1a"),(0,a.yg)("h4",{id:"\u4ea7\u54c1\u67b6\u6784"},"\u4ea7\u54c1\u67b6\u6784"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u4e1a\u52a1\u67b6\u6784")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u5e94\u7528\u67b6\u6784")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u89e3\u51b3\u65b9\u6848\u67b6\u6784"))),(0,a.yg)("h4",{id:"\u8f6f\u4ef6\u67b6\u6784"},"\u8f6f\u4ef6\u67b6\u6784"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u6570\u636e\u67b6\u6784")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u57fa\u7840\u7ed3\u6784\u67b6\u6784")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u7279\u5b9a\u6280\u672f\u67b6\u6784"))),(0,a.yg)("p",null,"\u4e0a\u9762\u53ea\u662f\u5217\u51fa\u4e86\u4e00\u90e8\u5206\u67b6\u6784\u5b50\u5206\u7c7b\uff0c\u7406\u8bba\u4e0a\u8fd8\u53ef\u4ee5\u7ee7\u7eed\u5212\u5206\uff0c\u4f46\u5728\u5927\u591a\u6570\u7684\u5b9e\u9645\u751f\u4ea7\u4e2d\uff0c\u901a\u5e38\u4e0d\u4f1a\u6709\u8fd9\u4e48\u8be6\u7ec6\u7684\u5206\u7c7b\uff0c\u5e38\u6001\u662f\u8f6f\u4ef6\u67b6\u6784\u4e0e\u4ea7\u54c1\u67b6\u6784\u90fd\u7531\u4e00\u4e2a\u4eba\u8d1f\u8d23\u5b9e\u73b0\u3002"),(0,a.yg)("h3",{id:"\u67b6\u6784\u5e08\u7684\u80fd\u529b"},"\u67b6\u6784\u5e08\u7684\u80fd\u529b"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"1",src:r(56072).A,width:"750",height:"432"})),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://chunsoft.blog.csdn.net/article/details/112793766"},"\u67b6\u6784\u7684\u672c\u8d28"))))}s.isMDXComponent=!0},56072:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/1-13c1c55dd9336f3367f2bd51a8149288.jpg"}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1208],{15680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>g});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),u=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(p.Provider,{value:t},e.children)},y="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),y=u(r),d=a,g=y["".concat(p,".").concat(d)]||y[d]||s[d]||l;return r?n.createElement(g,i(i({ref:t},c),{},{components:r})):n.createElement(g,i({ref:t},c))}));function g(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,i=new Array(l);i[0]=d;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[y]="string"==typeof e?e:a,i[1]=o;for(var u=2;u{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>s,frontMatter:()=>l,metadata:()=>o,toc:()=>u});var n=r(58168),a=(r(96540),r(15680));const l={},i=void 0,o={unversionedId:"study/think/\u67b6\u6784/\u67b6\u6784",id:"study/think/\u67b6\u6784/\u67b6\u6784",title:"\u67b6\u6784",description:"\u5b9a\u4e49",source:"@site/docs/study/think/\u67b6\u6784/\u67b6\u6784.md",sourceDirName:"study/think/\u67b6\u6784",slug:"/study/think/\u67b6\u6784/",permalink:"/docs/study/think/\u67b6\u6784/",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5e76\u53d1\u6a21\u578b",permalink:"/docs/study/think/\u5e76\u53d1\u6a21\u578b"},next:{title:"CAP\u7406\u8bba",permalink:"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba"}},p={},u=[{value:"\u5b9a\u4e49",id:"\u5b9a\u4e49",level:3},{value:"\u5206\u7c7b",id:"\u5206\u7c7b",level:3},{value:"\u4ea7\u54c1\u67b6\u6784",id:"\u4ea7\u54c1\u67b6\u6784",level:4},{value:"\u8f6f\u4ef6\u67b6\u6784",id:"\u8f6f\u4ef6\u67b6\u6784",level:4},{value:"\u67b6\u6784\u5e08\u7684\u80fd\u529b",id:"\u67b6\u6784\u5e08\u7684\u80fd\u529b",level:3},{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],c={toc:u},y="wrapper";function s(e){let{components:t,...l}=e;return(0,a.yg)(y,(0,n.A)({},c,l,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u5b9a\u4e49"},"\u5b9a\u4e49"),(0,a.yg)("p",null,"\u67b6\u6784\u8fd9\u4e2a\u8bcd\u6700\u65e9\u662f\u8ddf\u968f\u7740\u5efa\u7b51\u51fa\u73b0\u7684\uff0c\u8fdb\u5165\u5230\u8f6f\u4ef6\u884c\u4e1a\u540e\uff0c\u5b83\u7684\u542b\u4e49\u6709\u4e86\u4e00\u4e9b\u53d8\u5316\uff0c\u4f46\u6700\u57fa\u7840\u7684\u542b\u4e49\u8fd8\u662f\u6ca1\u6709\u53d8\u7684\u3002\u672c\u8d28\u4e0a\u6765\u8bf4\uff0c\u67b6\u6784\u662f\u4e00\u4e2a\u8bbe\u8ba1\u52a8\u4f5c\u548c\u5b9e\u73b0\u52a8\u4f5c\uff1b\u8bbe\u8ba1\u52a8\u4f5c\u63cf\u8ff0\u7684\u662f\u52fe\u52d2\u51fa\u6ee1\u8db3\u5ba2\u6237\u6218\u7565\u89c4\u5212\u9700\u6c42\u7684\u4ea7\u54c1\uff1b\u5b9e\u73b0\u52a8\u4f5c\u63cf\u8ff0\u7684\u662f\u5c06\u6784\u4ef6\u7ec4\u5408\u6210\u7ed3\u6784\u7684\u8fc7\u7a0b\u3002"),(0,a.yg)("h3",{id:"\u5206\u7c7b"},"\u5206\u7c7b"),(0,a.yg)("p",null,"\u4f9d\u636e\u67b6\u6784\u7684\u5b9a\u4e49\uff0c\u53ef\u4ee5\u5c06\u67b6\u6784\u5206\u7c7b\u4e3a\u4ea7\u54c1\u67b6\u6784\u548c\u8f6f\u4ef6\u67b6\u6784\u4e24\u4e2a\u5927\u7c7b\u3002\n\u5728\u8fd9\u4e24\u4e2a\u5927\u7c7b\u4e0b\uff0c\u8fd8\u53ef\u4ee5\u7ee7\u7eed\u5212\u5206\u5b50\u7c7b\uff0c\u5982\u4e0b\uff1a"),(0,a.yg)("h4",{id:"\u4ea7\u54c1\u67b6\u6784"},"\u4ea7\u54c1\u67b6\u6784"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u4e1a\u52a1\u67b6\u6784")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u5e94\u7528\u67b6\u6784")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u89e3\u51b3\u65b9\u6848\u67b6\u6784"))),(0,a.yg)("h4",{id:"\u8f6f\u4ef6\u67b6\u6784"},"\u8f6f\u4ef6\u67b6\u6784"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u6570\u636e\u67b6\u6784")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u57fa\u7840\u7ed3\u6784\u67b6\u6784")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},"\u7279\u5b9a\u6280\u672f\u67b6\u6784"))),(0,a.yg)("p",null,"\u4e0a\u9762\u53ea\u662f\u5217\u51fa\u4e86\u4e00\u90e8\u5206\u67b6\u6784\u5b50\u5206\u7c7b\uff0c\u7406\u8bba\u4e0a\u8fd8\u53ef\u4ee5\u7ee7\u7eed\u5212\u5206\uff0c\u4f46\u5728\u5927\u591a\u6570\u7684\u5b9e\u9645\u751f\u4ea7\u4e2d\uff0c\u901a\u5e38\u4e0d\u4f1a\u6709\u8fd9\u4e48\u8be6\u7ec6\u7684\u5206\u7c7b\uff0c\u5e38\u6001\u662f\u8f6f\u4ef6\u67b6\u6784\u4e0e\u4ea7\u54c1\u67b6\u6784\u90fd\u7531\u4e00\u4e2a\u4eba\u8d1f\u8d23\u5b9e\u73b0\u3002"),(0,a.yg)("h3",{id:"\u67b6\u6784\u5e08\u7684\u80fd\u529b"},"\u67b6\u6784\u5e08\u7684\u80fd\u529b"),(0,a.yg)("p",null,(0,a.yg)("img",{alt:"1",src:r(56072).A,width:"750",height:"432"})),(0,a.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,a.yg)("ol",null,(0,a.yg)("li",{parentName:"ol"},(0,a.yg)("a",{parentName:"li",href:"https://chunsoft.blog.csdn.net/article/details/112793766"},"\u67b6\u6784\u7684\u672c\u8d28"))))}s.isMDXComponent=!0},56072:(e,t,r)=>{r.d(t,{A:()=>n});const n=r.p+"assets/images/1-13c1c55dd9336f3367f2bd51a8149288.jpg"}}]); \ No newline at end of file diff --git a/assets/js/fb9c91a0.7cce7b22.js b/assets/js/fb9c91a0.668ca5b9.js similarity index 98% rename from assets/js/fb9c91a0.7cce7b22.js rename to assets/js/fb9c91a0.668ca5b9.js index d289f6434..61f296247 100644 --- a/assets/js/fb9c91a0.7cce7b22.js +++ b/assets/js/fb9c91a0.668ca5b9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2702],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=o,f=s["".concat(p,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c="PKI",i={unversionedId:"study/encryption/PKI",id:"study/encryption/PKI",title:"PKI",description:"PKI",source:"@site/docs/study/encryption/PKI.md",sourceDirName:"study/encryption",slug:"/study/encryption/PKI",permalink:"/docs/study/encryption/PKI",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"PKCS",permalink:"/docs/study/encryption/PKCS"},next:{title:"SSL TLS HTTPS",permalink:"/docs/study/encryption/SSL_TLS"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"pki"},"PKI"),(0,o.yg)("p",null,"PKI"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/615409220"},"\u5bc6\u94a5\u7ba1\u7406\u4e0ePKI"))))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2702],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},s="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=l(r),d=o,f=s["".concat(p,".").concat(d)]||s[d]||y[d]||a;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[s]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>y,frontMatter:()=>a,metadata:()=>i,toc:()=>l});var n=r(58168),o=(r(96540),r(15680));const a={},c="PKI",i={unversionedId:"study/encryption/PKI",id:"study/encryption/PKI",title:"PKI",description:"PKI",source:"@site/docs/study/encryption/PKI.md",sourceDirName:"study/encryption",slug:"/study/encryption/PKI",permalink:"/docs/study/encryption/PKI",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"PKCS",permalink:"/docs/study/encryption/PKCS"},next:{title:"SSL TLS HTTPS",permalink:"/docs/study/encryption/SSL_TLS"}},p={},l=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:3}],u={toc:l},s="wrapper";function y(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"pki"},"PKI"),(0,o.yg)("p",null,"PKI"),(0,o.yg)("h3",{id:"\u53c2\u8003"},"\u53c2\u8003"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},(0,o.yg)("a",{parentName:"li",href:"https://zhuanlan.zhihu.com/p/615409220"},"\u5bc6\u94a5\u7ba1\u7406\u4e0ePKI"))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/fbc1a65b.325e533d.js b/assets/js/fbc1a65b.91752681.js similarity index 98% rename from assets/js/fbc1a65b.325e533d.js rename to assets/js/fbc1a65b.91752681.js index ece404ed3..e82c0a571 100644 --- a/assets/js/fbc1a65b.325e533d.js +++ b/assets/js/fbc1a65b.91752681.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6987],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199",id:"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199",title:"\u6807\u51c6\u540d\u79f0\u7f29\u5199",description:"\u56fd\u5185\u6807\u51c6",source:"@site/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199.md",sourceDirName:"study/other",slug:"/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199",permalink:"/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5b57\u8282\u5e8f Big Endian Little Endian",permalink:"/docs/study/other/\u5b57\u8282\u5e8f"}},l={},u=[{value:"\u56fd\u5185\u6807\u51c6",id:"\u56fd\u5185\u6807\u51c6",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u56fd\u5185\u6807\u51c6"},"\u56fd\u5185\u6807\u51c6"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"GB/T\uff1a\u4e2d\u56fd\u7684\u56fd\u5bb6\u7684\u63a8\u8350\u6807\u51c6\uff0c\u56fd\u6807"),(0,o.yg)("li",{parentName:"ul"},"GM/T\uff1a\u4e2d\u56fd\u5bc6\u7801\u884c\u4e1a\u7684\u63a8\u8350\u6807\u51c6\uff0c\u56fd\u5bc6"),(0,o.yg)("li",{parentName:"ul"},"GA/T\uff1a\u4e2d\u56fd\u516c\u5171\u5b89\u5168\u884c\u4e1a\u7684\u63a8\u8350\u6807\u51c6\uff0c\u56fd\u5b89")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://github.com/guanzhi/GM-Standards"},"\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u5bc6\u7801\u884c\u4e1a\u6807\u51c6(GM/T)\u6587\u672c")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6987],{15680:(e,t,r)=>{r.d(t,{xA:()=>p,yg:()=>f});var n=r(96540);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),s=u(r),y=o,f=s["".concat(l,".").concat(y)]||s[y]||d[y]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=y;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c[s]="string"==typeof e?e:o,i[1]=c;for(var u=2;u{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var n=r(58168),o=(r(96540),r(15680));const a={},i=void 0,c={unversionedId:"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199",id:"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199",title:"\u6807\u51c6\u540d\u79f0\u7f29\u5199",description:"\u56fd\u5185\u6807\u51c6",source:"@site/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199.md",sourceDirName:"study/other",slug:"/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199",permalink:"/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"\u5b57\u8282\u5e8f Big Endian Little Endian",permalink:"/docs/study/other/\u5b57\u8282\u5e8f"}},l={},u=[{value:"\u56fd\u5185\u6807\u51c6",id:"\u56fd\u5185\u6807\u51c6",level:3}],p={toc:u},s="wrapper";function d(e){let{components:t,...r}=e;return(0,o.yg)(s,(0,n.A)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h3",{id:"\u56fd\u5185\u6807\u51c6"},"\u56fd\u5185\u6807\u51c6"),(0,o.yg)("ul",null,(0,o.yg)("li",{parentName:"ul"},"GB/T\uff1a\u4e2d\u56fd\u7684\u56fd\u5bb6\u7684\u63a8\u8350\u6807\u51c6\uff0c\u56fd\u6807"),(0,o.yg)("li",{parentName:"ul"},"GM/T\uff1a\u4e2d\u56fd\u5bc6\u7801\u884c\u4e1a\u7684\u63a8\u8350\u6807\u51c6\uff0c\u56fd\u5bc6"),(0,o.yg)("li",{parentName:"ul"},"GA/T\uff1a\u4e2d\u56fd\u516c\u5171\u5b89\u5168\u884c\u4e1a\u7684\u63a8\u8350\u6807\u51c6\uff0c\u56fd\u5b89")),(0,o.yg)("p",null,(0,o.yg)("a",{parentName:"p",href:"https://github.com/guanzhi/GM-Standards"},"\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u5bc6\u7801\u884c\u4e1a\u6807\u51c6(GM/T)\u6587\u672c")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/fd985450.0e98bd9c.js b/assets/js/fd985450.9894b1a5.js similarity index 99% rename from assets/js/fd985450.0e98bd9c.js rename to assets/js/fd985450.9894b1a5.js index 8bf5bea63..75d174307 100644 --- a/assets/js/fd985450.0e98bd9c.js +++ b/assets/js/fd985450.9894b1a5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1734],{15680:(n,d,a)=>{a.d(d,{xA:()=>E,yg:()=>s});var t=a(96540);function e(n,d,a){return d in n?Object.defineProperty(n,d,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[d]=a,n}function _(n,d){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);d&&(t=t.filter((function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable}))),a.push.apply(a,t)}return a}function m(n){for(var d=1;d=0||(e[a]=n[a]);return e}(n,d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(n);for(t=0;t<_.length;t++)a=_[t],d.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(n,a)&&(e[a]=n[a])}return e}var i=t.createContext({}),r=function(n){var d=t.useContext(i),a=d;return n&&(a="function"==typeof n?n(d):m(m({},d),n)),a},E=function(n){var d=r(n.components);return t.createElement(i.Provider,{value:d},n.children)},S="mdxType",T={inlineCode:"code",wrapper:function(n){var d=n.children;return t.createElement(t.Fragment,{},d)}},o=t.forwardRef((function(n,d){var a=n.components,e=n.mdxType,_=n.originalType,i=n.parentName,E=A(n,["components","mdxType","originalType","parentName"]),S=r(a),o=e,s=S["".concat(i,".").concat(o)]||S[o]||T[o]||_;return a?t.createElement(s,m(m({ref:d},E),{},{components:a})):t.createElement(s,m({ref:d},E))}));function s(n,d){var a=arguments,e=d&&d.mdxType;if("string"==typeof n||e){var _=a.length,m=new Array(_);m[0]=o;var A={};for(var i in d)hasOwnProperty.call(d,i)&&(A[i]=d[i]);A.originalType=n,A[S]="string"==typeof n?n:e,m[1]=A;for(var r=2;r<_;r++)m[r]=a[r];return t.createElement.apply(null,m)}return t.createElement.apply(null,a)}o.displayName="MDXCreateElement"},46515:(n,d,a)=>{a.r(d),a.d(d,{assets:()=>i,contentTitle:()=>m,default:()=>T,frontMatter:()=>_,metadata:()=>A,toc:()=>r});var t=a(58168),e=(a(96540),a(15680));const _={},m=void 0,A={unversionedId:"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",id:"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",title:"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",description:"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09",source:"@site/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"PostgreSQL",permalink:"/docs/study/db/SQL/PostgreSQL"},next:{title:"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72"}},i={},r=[{value:"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09",id:"\u5b89\u88c5\u5e26\u6388\u6743\u4e3b\u5907",level:3}],E={toc:r},S="wrapper";function T(n){let{components:d,...a}=n;return(0,e.yg)(S,(0,t.A)({},E,a,{components:d,mdxType:"MDXLayout"}),(0,e.yg)("h3",{id:"\u5b89\u88c5\u5e26\u6388\u6743\u4e3b\u5907"},"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09"),(0,e.yg)("pre",null,(0,e.yg)("code",{parentName:"pre",className:"language-shell"},"#######################################################################################################################################\n######################\u73af\u5883\u51c6\u5907 \u4e3b\u5907\u90fd\u5f97\u6267\u884c\n# \u770b\u4e0b\u65f6\u95f4\u662f\u5426\u6b63\u786e\ndate\nntpdate time.nist.gov\n# \u4fee\u6539\u4e3b\u673a\u540d\u79f0\nhostnamectl\nhostnamectl set-hostname node3\n# \u7528\u6237\u7ec4 \u7528\u6237\nsu root\ngroupadd dinstall -g 2001\nuseradd -G dinstall -m -d /home/dmdba -s /bin/bash -u 2001 dmdba\npasswd dmdba\n#### \u4fee\u6539\u7cfb\u7edf\u53c2\u6570\nvi /etc/security/limits.conf\n# \u5185\u5bb9\u5982\u4e0b\n# dm\ndmdba soft nice 0\ndmdba hard nice 0\ndmdba soft as unlimited\ndmdba hard as unlimited\ndmdba soft fsize unlimited\ndmdba hard fsize unlimited\ndmdba soft nproc 65536\ndmdba hard nproc 65536\ndmdba soft nofile 65536\ndmdba hard nofile 65536\ndmdba soft core unlimited\ndmdba hard core unlimited\ndmdba soft data unlimited\ndmdba hard data unlimited\n# \u91cd\u542f\nreboot\n# \u68c0\u67e5\u53c2\u6570\u4fee\u6539\u662f\u5426OK\nsu - dmdba\nulimit -a\n# \u5982\u679c\u4e0d\u65b9\u4fbf\u91cd\u542f \u4e34\u65f6\u63aa\u65bd\nsu - dmdba\nulimit -n 65536\nulimit -u 65536\n\n\n############## \u76ee\u5f55\u89c4\u5212\nexit\n##\u5b9e\u4f8b\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/data \n##\u5f52\u6863\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/arch\n##\u5907\u4efd\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/dmbak\n# \u76f8\u5173\u76ee\u5f55\u6743\u9650\nchown -R dmdba:dinstall /dmdata/data\nchown -R dmdba:dinstall /dmdata/arch\nchown -R dmdba:dinstall /dmdata/dmbak\nchmod -R 755 /dmdata/data\nchmod -R 755 /dmdata/arch\nchmod -R 755 /dmdata/dmbak\n#\nll /dmdata/\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n################## \u5f00\u59cb\u5b89\u88c5\n#root\n# \u6839\u636e\u81ea\u5df1\u7684\u5b89\u88c5\u5305\u8def\u5f84\u6765\ncd /root/dm8/install\nmount -o loop dm8_20240408_x86_rh6_64.iso /mnt\n# \u6ce8\u610fkey\u6587\u4ef6\u7684\u8def\u5f84\u53ca\u6743\u9650 \u6700\u597d\u653e\u5230/home/dmdba/\u4e0b\ncp /root/dm8/key/dm3001108295.key /home/dmdba/dm.key\nsu - dmdba\ncd /mnt\n./DMInstall.bin -i\n# \u5207\u6362\u5230root\u7528\u6237\uff0c\u521b\u5efa DmAPService\uff0c\u5426\u5219\u4f1a\u5f71\u54cd\u6570\u636e\u5e93\u5907\u4efd\nexit\nsh /home/dmdba/dmdbms/script/root/root_installer.sh\n\n\n####### !!!!!!!!!!!!!!\u521d\u59cb\u5316\u5b9e\u4f8b\nsu - dmdba\ncd /home/dmdba/dmdbms/bin\n./dminit help\n# \u521d\u59cb\u5316\u5b9e\u4f8b \u6ce8\u610f\u76ee\u5f55\n./dminit path=/dmdata/data\n\n######## \u6ce8\u518c\u670d\u52a1\nexit\ncd /home/dmdba/dmdbms/script/root/\n./dm_service_installer.sh -t dmserver -dm_ini /dmdata/data/DAMENG/dm.ini -p DAMENG\ncd /home/dmdba/dmdbms/bin\nls | grep DAMENG\n\n### \u542f\u52a8 \u505c\u6b62 \u6570\u636e\u5e93\nsu - dmdba\ncd /home/dmdba/dmdbms/bin\n./DmServiceDAMENG start\n./DmServiceDAMENG stop\n./DmServiceDAMENG restart\n./DmServiceDAMENG status\n## \u6ce8\u610f\u9632\u706b\u5899\u662f\u5426\u6253\u5f00 \u5426\u5219\u8fde\u63a5\u4e0d\u4e865236\nexit\n# \u4e24\u79cd\u65b9\u5f0f \nsystemctl stop iptables\nsystemctl disable iptables\n# \u4e24\u79cd\u65b9\u5f0f \nsystemctl stop firewalld\nsystemctl disable firewalld\n# \u4fee\u6539ENABLE_ENCRYPT=0 \u5426\u5219\u62a5\u9519SSL\nsu - dmdba\nvi /dmdata/data/DAMENG/dm.ini\nENABLE_ENCRYPT = 0\ncd /home/dmdba/dmdbms/bin && ./DmServiceDAMENG restart\n\n# dm\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\nsu - dmdba\ncd \nvi .bashrc\nexport PATH=/home/dmdba/dmdbms/bin:$PATH\nexport LD_LIBRARY_PATH=/home/dmdba/dmdbms/bin:$LD_LIBRARY_PATH\n#\nsource .bashrc\ndisql\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n##########################\n##########################\u4e3b\u5e93\u914d\u7f6e\n## \nvi /dmdata/data/DAMENG/dmarch.ini\n#\n[ARCHIVE_LOCAL1]\n ARCH_TYPE = LOCAL \n ARCH_DEST = /dmdata/arch \n ARCH_FILE_SIZE = 128 \n ARCH_SPACE_LIMIT = 0 \n ARCH_FLUSH_BUF_SIZE = 0 \n ARCH_HANG_FLAG = 1\n################\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL\u547d\u4ee4\nalter database mount;\nalter database add archivelog 'DEST=/dmdata/arch,TYPE=local, FILE_SIZE=128,space_limit=0';\n-- \u5982\u679c\u6709\u9519\u8bef Archive config not exist. \u5148\u81ea\u5df1\u5efa\u4e00\u4e2a\u6587\u4ef6\uff08\u540e\u9762\u7684\u547d\u4ee4\u4e5f\u4f1a\u81ea\u52a8\u521b\u5efa\uff09\nalter database archivelog;\nalter database open;\nselect arch_mode from v$database;\n############\n# \u4f7f\u7528\u547d\u4ee4\u5907\u4efd\u4e3b\u5e93\uff1a\n# \u9519\u8bef\uff1a[-137]:DM server is running or exist other process which is operating the same database\n# \u9700\u8981\u5173\u95ed\u6570\u636e\u5e93\nDmServiceDAMENG stop\ndmrman CTLSTMT=\"BACKUP DATABASE '/dmdata/data/DAMENG/dm.ini' FULL TO BACKUP_FILE1 BACKUPSET '/dmdata/dmbak/BACKUP_FILE_01'\"\nll /dmdata/dmbak/BACKUP_FILE_01/\n#\u6216\u8005\u53ef\u4ee5\u4f7f\u7528\u8054\u673a\u5907\u4efd\uff1a\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\nSQL> backup database full backupset '/dmdata/dmbak/BACKUP_FILE_01';\n\n####################################\nvi /dmdata/data/DAMENG/dm.ini\n#\nINSTANCE_NAME = DMSERVER_PRI\nALTER_MODE_STATUS = 0\nENABLE_OFFLINE_TS = 2\nMAL_INI = 1 #dmmal.ini\nARCH_INI = 1 #dmarch.ini\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP \u4e3b\u5e93\u548c\u5907\u5e93\u90fd\u662f\u4e00\u6837\nvi /dmdata/data/DAMENG/dmmal.ini\n#\nMAL_CHECK_INTERVAL = 5\nMAL_COMBIN_BUF_SIZE = 0\nMAL_SEND_THRESHOLD = 2048\nMAL_CONN_FAIL_INTERVAL = 5\nMAL_LOGIN_TIMEOUT = 15\nMAL_BUF_SIZE = 100\nMAL_SYS_BUF_SIZE = 0\nMAL_VPOOL_SIZE = 128\nMAL_COMPRESS_LEVEL = 0\nMAL_TEMP_PATH = \n[MAL_INST1]\nMAL_INST_NAME = DMSERVER_PRI #\u4e0edm.ini\u4e2d\u7684INSTANCE_NAME\u4e00\u81f4 \nMAL_HOST = 10.20.35.123 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684 IP \u5730\u5740\nMAL_PORT = 5238 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_INST_HOST = 10.20.35.123 #\u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1 IP \u5730\u5740\nMAL_INST_PORT = 5236 # \u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1\u7aef\u53e3\uff0c \u548cdm.ini \u4e2d\u7684 PORT_NUM \u4e00\u81f4\nMAL_INST_DW_PORT = 5237 #\u5b9e\u4f8b\u76d1\u542c\u5b88\u62a4\u8fdb\u7a0bTCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_DW_PORT = 5239 #\u5b9e\u4f8b\u5bf9\u5e94\u7684\u5b88\u62a4\u8fdb\u7a0b\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\n[MAL_INST2]\nMAL_INST_NAME=DMSERVER_STANDBY # \u5b9e \u4f8b \u540d \uff0c \u548cdm.ini\u4e2d \u7684 INSTANCE_NAME \u4e00\u81f4\nMAL_HOST = 10.20.35.122 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684 IP \u5730\u5740\nMAL_PORT = 5238 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_INST_HOST = 10.20.35.122 #\u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1 IP \u5730\u5740\nMAL_INST_PORT = 5236 # \u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1\u7aef\u53e3\uff0c \u548cdm.ini \u4e2d\u7684 PORT_NUM \u4e00\u81f4\nMAL_INST_DW_PORT = 5237 #\u5b9e\u4f8b\u76d1\u542c\u5b88\u62a4\u8fdb\u7a0bTCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_DW_PORT = 5239 #\u5b9e\u4f8b\u5bf9\u5e94\u7684\u5b88\u62a4\u8fdb\u7a0b\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\n#################################### \u5f52\u6863\u914d\u7f6e \nvi /dmdata/data/DAMENG/dmarch.ini\n# \u5f52\u6863\u914d\u7f6e\u4e2d\u8981\u5305\u62ec\u672c\u5730\u5f52\u6863\u53ca\u5176\u4ed6\u51e0\u4e2a\u8282\u70b9\u7684\u5b9e\u65f6\u5f52\u6863\n ARCH_WAIT_APPLY = 0\n[ARCHIVE_LOCAL1]\n ARCH_TYPE = LOCAL #\u672c\u5730\u5f52\u6863\u7c7b\u578b \n ARCH_DEST = /dmdata/arch #\u672c\u5730\u5f52\u6863\u6587\u4ef6\u5b58\u653e\u8def\u5f84 \n ARCH_FILE_SIZE = 128 #\u5355\u4f4d Mb \uff0c\u672c\u5730\u5355\u4e2a\u5f52\u6863\u6587\u4ef6\u6700\u5927\u503c\n ARCH_SPACE_LIMIT = 0 #\u5355\u4f4d Mb \uff0c0 \u8868\u793a\u65e0\u9650\u5236\uff0c\u8303\u56f4 1024~4294967294M\n ARCH_FLUSH_BUF_SIZE = 0 \n ARCH_HANG_FLAG = 1 \n[ARCHIVE_REALTIME1]\n ARCH_TYPE = REALTIME #\u5b9e\u65f6\u5f52\u6863\u7c7b\u578b\n ARCH_DEST = DMSERVER_STANDBY #\u5b9e\u65f6\u5f52\u6863\u76ee\u6807\u5b9e\u4f8b\u540d\n WAIT_APPLY = 0 \n ARCH_FAILOVER = 0\n##################################\u8bbe\u7f6e OGUID\u5e76\u914d\u7f6e\u4e3b\u5e93\u6a21\u5f0f \n# \u9700\u8981\u542f\u52a8\u6570\u636e\u5e93 mount\u6a21\u5f0f\nDmServiceDAMENG start mount\n#\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n#\n--SQL\u547d\u4ee4\nSP_SET_PARA_VALUE(1, 'ALTER_MODE_STATUS', 1); \nsp_set_oguid(20220607);\nALTER DATABASE PRIMARY;\nsp_set_oguid(20220607);\nSP_SET_PARA_VALUE(1, 'ALTER_MODE_STATUS', 0);\nexit\n# \u5982\u679c\u663e\u793a\u5904\u4e8e\u4e3b\u5e93\u914d\u7f6e\u72b6\u6001 \u8868\u793a\u6210\u529f\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL \u5904\u4e8emount\u72b6\u6001\nselect STATUS$ from v$instance;\nexit\n#\nDmServiceDAMENG stop\nDmServiceDAMENG start\n#################################### \u5b88\u62a4\u8fdb\u7a0b\u914d\u7f6e \nvi /dmdata/data/DAMENG/dmwatcher.ini\n#\n[GRP1] #\u96c6\u7fa4\u7ec4\u7684\u540d\u79f0\nDW_TYPE = GLOBAL #\u5168\u5c40\u5b88\u62a4\u7c7b\u578b\nDW_MODE = MANUAL #\u624b\u52a8\u5207\u6362\u6a21\u5f0f\uff0c\u81ea\u52a8\u5207\u6362\uff1aAUTO\nDW_ERROR_TIME = 10 #\u8fdc\u7a0b\u5b88\u62a4\u8fdb\u7a0b\u6545\u969c\u8ba4\u5b9a\u65f6\u95f4\nINST_RECOVER_TIME = 60 #\u4e3b\u5e93\u5b88\u62a4\u8fdb\u7a0b\u542f\u52a8\u6062\u590d\u7684\u95f4\u9694\u65f6\u95f4\nINST_ERROR_TIME = 10 #\u672c\u5730\u5b9e\u4f8b\u6545\u969c\u8ba4\u5b9a\u65f6\u95f4\nINST_OGUID = 20220607 #\u5b88\u62a4\u7cfb\u7edf\u552f\u4e00OGUID\u503c\nINST_INI = /dmdata/data/DAMENG/dm.ini #dm.ini \u914d\u7f6e\u6587\u4ef6\u8def\u5f84\nINST_AUTO_RESTART = 1 #\u6253\u5f00\u5b9e\u4f8b\u7684\u81ea\u52a8\u542f\u52a8\u529f\u80fd\nINST_STARTUP_CMD = /home/dmdba/dmdbms/bin/dmserver #\u547d\u4ee4\u884c\u65b9\u5f0f\u542f\u52a8\nRLOG_SEND_THRESHOLD = 0 #\u6307\u5b9a\u4e3b\u5e93\u53d1\u9001\u65e5\u5fd7\u5230\u5907\u5e93\u7684\u65f6\u95f4\u9600\u503c\uff0c\u9ed8\u8ba4\u5173\u95ed\nRLOG_APPLY_THRESHOLD = 0 #\u6307\u5b9a\u5907\u5e93\u91cd\u6f14\u65e5\u5fd7\u7684\u65f6\u95f4\u9600\u503c\uff0c\u9ed8\u8ba4\u5173\u95ed\n### \u8f6c\u6362\u63a7\u5236\u6587\u4ef6\u4e3a\u6587\u672c\u6587\u4ef6\uff1a\ndmctlcvt TYPE=1 SRC=/dmdata/data/DAMENG/dm.ctl DEST=/dmdata/data/DAMENG/dmctl.txt\n### \u542f\u52a8\u5b88\u62a4\u8fdb\u7a0b\uff1a\ncd /dmdata/data/DAMENG\nnohup dmwatcher /dmdata/data/DAMENG/dmwatcher.ini > w-nohup.out 2>&1 &\n# \ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL \u5904\u4e8eopen\u72b6\u6001\nselect STATUS$ from v$instance;\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n##########################\n##########################\u5907\u5e93\u914d\u7f6e\n#\u5728\u4e3b\u5e93\u4e0a \nsu - dmdba\nscp -r ./BACKUP_FILE_01 dmdba@10.20.35.122:/dmdata/dmbak/\n# \u5728\u5907\u5e93\u4e0a\nsu - dmdba\nDmServiceDAMENG stop\ndmrman CTLSTMT=\"RESTORE DATABASE '/dmdata/data/DAMENG/dm.ini' FROM BACKUPSET '/dmdata/dmbak/BACKUP_FILE_01'\"\ndmrman CTLSTMT=\"RECOVER DATABASE '/dmdata/data/DAMENG/dm.ini' FROM BACKUPSET '/dmdata/dmbak/BACKUP_FILE_01'\"\ndmrman CTLSTMT=\"RECOVER DATABASE '/dmdata/data/DAMENG/dm.ini' UPDATE DB_MAGIC\"\n####################################\nvi /dmdata/data/DAMENG/dm.ini\n#\nINSTANCE_NAME = DMSERVER_STANDBY\nALTER_MODE_STATUS = 0\nENABLE_OFFLINE_TS = 2\nMAL_INI = 1 #dmmal.ini\nARCH_INI = 1 #dmarch.ini\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP \u4e3b\u5e93\u548c\u5907\u5e93\u90fd\u662f\u4e00\u6837\nvi /dmdata/data/DAMENG/dmmal.ini\n#\nMAL_CHECK_INTERVAL = 5\nMAL_COMBIN_BUF_SIZE = 0\nMAL_SEND_THRESHOLD = 2048\nMAL_CONN_FAIL_INTERVAL = 5\nMAL_LOGIN_TIMEOUT = 15\nMAL_BUF_SIZE = 100\nMAL_SYS_BUF_SIZE = 0\nMAL_VPOOL_SIZE = 128\nMAL_COMPRESS_LEVEL = 0\nMAL_TEMP_PATH = \n[MAL_INST1]\nMAL_INST_NAME = DMSERVER_PRI #\u4e0edm.ini\u4e2d\u7684INSTANCE_NAME\u4e00\u81f4 \nMAL_HOST = 10.20.35.123 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684 IP \u5730\u5740\nMAL_PORT = 5238 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_INST_HOST = 10.20.35.123 #\u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1 IP \u5730\u5740\nMAL_INST_PORT = 5236 # \u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1\u7aef\u53e3\uff0c \u548cdm.ini \u4e2d\u7684 PORT_NUM \u4e00\u81f4\nMAL_INST_DW_PORT = 5237 #\u5b9e\u4f8b\u76d1\u542c\u5b88\u62a4\u8fdb\u7a0bTCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_DW_PORT = 5239 #\u5b9e\u4f8b\u5bf9\u5e94\u7684\u5b88\u62a4\u8fdb\u7a0b\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\n[MAL_INST2]\nMAL_INST_NAME=DMSERVER_STANDBY # \u5b9e \u4f8b \u540d \uff0c \u548cdm.ini\u4e2d \u7684 INSTANCE_NAME \u4e00\u81f4\nMAL_HOST = 10.20.35.122 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684 IP \u5730\u5740\nMAL_PORT = 5238 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_INST_HOST = 10.20.35.122 #\u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1 IP \u5730\u5740\nMAL_INST_PORT = 5236 # \u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1\u7aef\u53e3\uff0c \u548cdm.ini \u4e2d\u7684 PORT_NUM \u4e00\u81f4\nMAL_INST_DW_PORT = 5237 #\u5b9e\u4f8b\u76d1\u542c\u5b88\u62a4\u8fdb\u7a0bTCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_DW_PORT = 5239 #\u5b9e\u4f8b\u5bf9\u5e94\u7684\u5b88\u62a4\u8fdb\u7a0b\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\n\n\n#################################### \u5f52\u6863\u914d\u7f6e \nvi /dmdata/data/DAMENG/dmarch.ini\n# \u5f52\u6863\u914d\u7f6e\u4e2d\u8981\u5305\u62ec\u672c\u5730\u5f52\u6863\u53ca\u5176\u4ed6\u51e0\u4e2a\u8282\u70b9\u7684\u5b9e\u65f6\u5f52\u6863\n ARCH_WAIT_APPLY = 0\n[ARCHIVE_LOCAL1]\n ARCH_TYPE = LOCAL #\u672c\u5730\u5f52\u6863\u7c7b\u578b \n ARCH_DEST = /dmdata/arch #\u672c\u5730\u5f52\u6863\u6587\u4ef6\u5b58\u653e\u8def\u5f84 \n ARCH_FILE_SIZE = 128 #\u5355\u4f4d Mb \uff0c\u672c\u5730\u5355\u4e2a\u5f52\u6863\u6587\u4ef6\u6700\u5927\u503c\n ARCH_SPACE_LIMIT = 0 #\u5355\u4f4d Mb \uff0c0 \u8868\u793a\u65e0\u9650\u5236\uff0c\u8303\u56f4 1024~4294967294M\n ARCH_FLUSH_BUF_SIZE = 0 \n ARCH_HANG_FLAG = 1 \n[ARCHIVE_REALTIME1]\n ARCH_TYPE = REALTIME #\u5b9e\u65f6\u5f52\u6863\u7c7b\u578b\n ARCH_DEST = DMSERVER_PRI #\u5b9e\u65f6\u5f52\u6863\u76ee\u6807\u5b9e\u4f8b\u540d\n WAIT_APPLY = 0 \n ARCH_FAILOVER = 0\n## \u542f\u52a8\u5b9e\u4f8b\u5e76\u914d\u7f6e\u5907\u5e93\u6a21\u5f0f\n# \u9700\u8981\u542f\u52a8\u6570\u636e\u5e93 mount\u6a21\u5f0f\nDmServiceDAMENG start mount\n#\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n#\n--SQL\u547d\u4ee4\nSP_SET_PARA_VALUE(1, 'ALTER_MODE_STATUS', 1); \nsp_set_oguid(20220607);\nALTER DATABASE STANDBY;\nSP_SET_PARA_VALUE(1, 'ALTER_MODE_STATUS', 0);\nexit\n# \u5982\u679c\u663e\u793a\u5904\u4e8e\u4e3b\u5e93\u914d\u7f6e\u72b6\u6001 \u8868\u793a\u6210\u529f\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL \u5907\u5e93 \u5904\u4e8emount\u72b6\u6001\nselect STATUS$ from v$instance;\nexit\n#\nDmServiceDAMENG stop\nDmServiceDAMENG start\n#################################### \u5b88\u62a4\u8fdb\u7a0b\u914d\u7f6e \nvi /dmdata/data/DAMENG/dmwatcher.ini\n#\n[GRP1] #\u96c6\u7fa4\u7ec4\u7684\u540d\u79f0\nDW_TYPE = GLOBAL #\u5168\u5c40\u5b88\u62a4\u7c7b\u578b\nDW_MODE = MANUAL #\u624b\u52a8\u5207\u6362\u6a21\u5f0f\uff0c\u81ea\u52a8\u5207\u6362\uff1aAUTO\nDW_ERROR_TIME = 10 #\u8fdc\u7a0b\u5b88\u62a4\u8fdb\u7a0b\u6545\u969c\u8ba4\u5b9a\u65f6\u95f4\nINST_RECOVER_TIME = 60 #\u4e3b\u5e93\u5b88\u62a4\u8fdb\u7a0b\u542f\u52a8\u6062\u590d\u7684\u95f4\u9694\u65f6\u95f4\nINST_ERROR_TIME = 10 #\u672c\u5730\u5b9e\u4f8b\u6545\u969c\u8ba4\u5b9a\u65f6\u95f4\nINST_OGUID = 20220607 #\u5b88\u62a4\u7cfb\u7edf\u552f\u4e00OGUID\u503c\nINST_INI = /dmdata/data/DAMENG/dm.ini #dm.ini \u914d\u7f6e\u6587\u4ef6\u8def\u5f84\nINST_AUTO_RESTART = 1 #\u6253\u5f00\u5b9e\u4f8b\u7684\u81ea\u52a8\u542f\u52a8\u529f\u80fd\nINST_STARTUP_CMD = /home/dmdba/dmdbms/bin/dmserver #\u547d\u4ee4\u884c\u65b9\u5f0f\u542f\u52a8\nRLOG_SEND_THRESHOLD = 0 #\u6307\u5b9a\u4e3b\u5e93\u53d1\u9001\u65e5\u5fd7\u5230\u5907\u5e93\u7684\u65f6\u95f4\u9600\u503c\uff0c\u9ed8\u8ba4\u5173\u95ed\nRLOG_APPLY_THRESHOLD = 0 #\u6307\u5b9a\u5907\u5e93\u91cd\u6f14\u65e5\u5fd7\u7684\u65f6\u95f4\u9600\u503c\uff0c\u9ed8\u8ba4\u5173\u95ed\n### \u8f6c\u6362\u63a7\u5236\u6587\u4ef6\u4e3a\u6587\u672c\u6587\u4ef6\uff1a\ndmctlcvt TYPE=1 SRC=/dmdata/data/DAMENG/dm.ctl DEST=/dmdata/data/DAMENG/dmctl.txt\n### \u542f\u52a8\u5b88\u62a4\u8fdb\u7a0b\uff1a\ncd /dmdata/data/DAMENG\nnohup dmwatcher /dmdata/data/DAMENG/dmwatcher.ini > w-nohup.out 2>&1 &\n# \ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL \u5904\u4e8eopen\u72b6\u6001\nselect STATUS$ from v$instance;\n#######################################################################################################################################\n\n\n\n#######################################################################################################################################\n####################\u786e\u8ba4\u76d1\u89c6\u5668\u914d\u7f6e\n# \u76d1\u89c6\u5668\u653e\u5728\u5907\u4e0a\nsu - dmdba\nmkdir -p /dmdata/data/monitor-log\nvi /dmdata/data/DAMENG/dmmonitor.ini\n#\nMON_DW_CONFIRM = 1 #\u786e\u8ba4\u76d1\u89c6\u5668\u6a21\u5f0f\nMON_LOG_PATH = /dmdata/data/monitor-log/ #\u76d1\u89c6\u5668\u65e5\u5fd7\u6587\u4ef6\u5b58\u653e\u8def\u5f84\uff0c\u6ca1\u6709\u5219\u9700\u8981\u521b\u5efa\nMON_LOG_INTERVAL = 60 #\u6bcf\u9694 60s \u5b9a\u65f6\u8bb0\u5f55\u7cfb\u7edf\u4fe1\u606f\u5230\u65e5\u5fd7\u6587\u4ef6\nMON_LOG_FILE_SIZE = 32 #\u6bcf\u4e2a\u65e5\u5fd7\u6587\u4ef6\u6700\u5927 32M\nMON_LOG_SPACE_LIMIT = 0 #\u4e0d\u9650\u5b9a\u65e5\u5fd7\u6587\u4ef6\u603b\u5360\u7528\u7a7a\u95f4\n[GRP1]\nMON_INST_OGUID = 20220607 #\u7ec4 GRP1\u7684\u552f\u4e00OGUID\u503c\uff0c\u4e0e\u4e4b\u524d\u5404\u8282\u70b9\u7684sp_set_oguid(20220607)\u4e00\u81f4\nMON_DW_IP = 10.20.35.123:5239\nMON_DW_IP = 10.20.35.122:5239\n\n# \u542f\u52a8\u76d1\u89c6\u5668\n#\u4e3b\u8981\u5173\u6ce8\uff1aWSTATUS\u662f\u5426OPEN\uff0cRSTAT\u662f\u5426VALID\u3002\ncd /dmdata/data/DAMENG\nnohup dmmonitor /dmdata/data/DAMENG/dmmonitor.ini > m-nohup.out 2>&1 &\n#######################################################################################################################################\n\n#######################################################################################################################################\n################## \u4e3b\u5907\u540c\u6b65\u6d4b\u8bd5\n# \u4e3b\u5e93\u4e0a\u6267\u884c\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n#\nCREATE TABLE TAB_FOR_RECOVER(C1 INT,create_time datetime);\nINSERT INTO TAB_FOR_RECOVER VALUES(1,sysdate);\nINSERT INTO TAB_FOR_RECOVER VALUES(2,sysdate);\nINSERT INTO TAB_FOR_RECOVER VALUES(3,sysdate);\ncommit;\n--\u9700\u8981\u63d0\u4ea4\u4e8b\u52a1\u540e\u624d\u4f1a\u540c\u6b65\u5230\u5907\u8282\u70b9\n# \u5907\u5e93\u4e0a\u6267\u884c\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n#\nselect * from TAB_FOR_RECOVER;\n#######################################################################################################################################\n\n#######################################################################################################################################\n####################\u666e\u901a\u76d1\u89c6\u5668\u914d\u7f6e\n# \u76d1\u89c6\u5668\u653e\u5728\u5907\u4e0a\nsu - dmdba\nmkdir -p /dmdata/data/monitor-log-look\nvi /dmdata/data/DAMENG/dmmonitor_look.ini\n#\nMON_DW_CONFIRM = 0 #\u786e\u8ba4\u76d1\u89c6\u5668\u6a21\u5f0f\nMON_LOG_PATH = /dmdata/data/monitor-log/ #\u76d1\u89c6\u5668\u65e5\u5fd7\u6587\u4ef6\u5b58\u653e\u8def\u5f84\uff0c\u6ca1\u6709\u5219\u9700\u8981\u521b\u5efa\nMON_LOG_INTERVAL = 60 #\u6bcf\u9694 60s \u5b9a\u65f6\u8bb0\u5f55\u7cfb\u7edf\u4fe1\u606f\u5230\u65e5\u5fd7\u6587\u4ef6\nMON_LOG_FILE_SIZE = 32 #\u6bcf\u4e2a\u65e5\u5fd7\u6587\u4ef6\u6700\u5927 32M\nMON_LOG_SPACE_LIMIT = 0 #\u4e0d\u9650\u5b9a\u65e5\u5fd7\u6587\u4ef6\u603b\u5360\u7528\u7a7a\u95f4\n[GRP1]\nMON_INST_OGUID = 20220607 #\u7ec4 GRP1\u7684\u552f\u4e00OGUID\u503c\uff0c\u4e0e\u4e4b\u524d\u5404\u8282\u70b9\u7684sp_set_oguid(20220607)\u4e00\u81f4\nMON_DW_IP = 10.20.35.123:5239\nMON_DW_IP = 10.20.35.122:5239\n\n# \u542f\u52a8\u76d1\u89c6\u5668\n#\u4e3b\u8981\u5173\u6ce8\uff1aWSTATUS\u662f\u5426OPEN\uff0cRSTAT\u662f\u5426VALID\u3002\ncd /dmdata/data/DAMENG\ndmmonitor /dmdata/data/DAMENG/dmmonitor_look.ini\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n# \nvi /dmdata/data/DAMENG/dm.ini\n# \u8c03\u6574\u8fd9\u4e2a\u51e0\u4e2a\u53c2\u6570 \u8981\u4e0d\u7136\u62a5\u9519 Out of sort buf space, try to adjust SORT_BUF_GLOBAL_SIZE, SORT_BUF_SIZE, SORT\n# SORT_FLAG\uff1a\u9ed8\u8ba4\u4e3a0\uff0c\u53c2\u6570\u542b\u4e49\uff1a0\uff1a\u539f\u6392\u5e8f\u673a\u5236\uff1b1\uff1a\u65b0\u6392\u5e8f\u673a\u5236\u3002 \u5728\u5185\u5b58\u5927\u4e8e64G\u65f6\u5efa\u8bae\u4f7f\u7528\u65b0\u6392\u5e8f\u673a\u5236\uff0c\u5176\u4ed6\u60c5\u51b5\u4f7f\u7528\u539f\u6392\u5e8f\u673a\u5236\u3002\n# SORT_BUF_SIZE\uff1a\u9ed8\u8ba4\u4e3a2\u3002\u5728\u5185\u5b58\u5c0f\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a10M\uff0c\u5927\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a512M\u3002\n# SORT_BUF_GLOBAL_SIZE\uff0c\u9ed8\u8ba4\u4e3a1000M\u3002\u5f53\u5185\u5b58\u5c0f\u4e8e16G\u65f6\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a500M\uff0c\u5927\u4e8e16G\u5c0f\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a2000\uff0c\u5f53\u5185\u5b58\u5927\u4e8e64G\u65f6\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a5120M\u3002\n# SORT_BLK_SIZE\uff1a\u9ed8\u8ba4\u4e3a 1M\uff0c\u65b0\u6392\u5e8f\u673a\u5236\u4e0b\uff0c\u6bcf\u4e2a\u6392\u5e8f\u5206\u7247\u7a7a\u95f4\u7684\u5927\u5c0f\uff0c\u5fc5\u987b\u5c0f\u4e8e SORT_BUF_GLOBAL_SIZE\u3002\nSORT_BUF_SIZE = 512 #maximum sort buffer size in Megabytes\nSORT_BLK_SIZE = 2 #maximum sort blk size in Megabytes\nSORT_BUF_GLOBAL_SIZE = 5120 #maximum global sort buffer size in Megabytes\n#######################################################################################################################################\n\n\n\n")))}T.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1734],{15680:(n,d,a)=>{a.d(d,{xA:()=>E,yg:()=>s});var t=a(96540);function e(n,d,a){return d in n?Object.defineProperty(n,d,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[d]=a,n}function _(n,d){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);d&&(t=t.filter((function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable}))),a.push.apply(a,t)}return a}function m(n){for(var d=1;d=0||(e[a]=n[a]);return e}(n,d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(n);for(t=0;t<_.length;t++)a=_[t],d.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(n,a)&&(e[a]=n[a])}return e}var i=t.createContext({}),r=function(n){var d=t.useContext(i),a=d;return n&&(a="function"==typeof n?n(d):m(m({},d),n)),a},E=function(n){var d=r(n.components);return t.createElement(i.Provider,{value:d},n.children)},S="mdxType",T={inlineCode:"code",wrapper:function(n){var d=n.children;return t.createElement(t.Fragment,{},d)}},o=t.forwardRef((function(n,d){var a=n.components,e=n.mdxType,_=n.originalType,i=n.parentName,E=A(n,["components","mdxType","originalType","parentName"]),S=r(a),o=e,s=S["".concat(i,".").concat(o)]||S[o]||T[o]||_;return a?t.createElement(s,m(m({ref:d},E),{},{components:a})):t.createElement(s,m({ref:d},E))}));function s(n,d){var a=arguments,e=d&&d.mdxType;if("string"==typeof n||e){var _=a.length,m=new Array(_);m[0]=o;var A={};for(var i in d)hasOwnProperty.call(d,i)&&(A[i]=d[i]);A.originalType=n,A[S]="string"==typeof n?n:e,m[1]=A;for(var r=2;r<_;r++)m[r]=a[r];return t.createElement.apply(null,m)}return t.createElement.apply(null,a)}o.displayName="MDXCreateElement"},46515:(n,d,a)=>{a.r(d),a.d(d,{assets:()=>i,contentTitle:()=>m,default:()=>T,frontMatter:()=>_,metadata:()=>A,toc:()=>r});var t=a(58168),e=(a(96540),a(15680));const _={},m=void 0,A={unversionedId:"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",id:"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",title:"\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",description:"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09",source:"@site/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72.md",sourceDirName:"study/db/SQL",slug:"/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"PostgreSQL",permalink:"/docs/study/db/SQL/PostgreSQL"},next:{title:"\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72",permalink:"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72"}},i={},r=[{value:"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09",id:"\u5b89\u88c5\u5e26\u6388\u6743\u4e3b\u5907",level:3}],E={toc:r},S="wrapper";function T(n){let{components:d,...a}=n;return(0,e.yg)(S,(0,t.A)({},E,a,{components:d,mdxType:"MDXLayout"}),(0,e.yg)("h3",{id:"\u5b89\u88c5\u5e26\u6388\u6743\u4e3b\u5907"},"\u5b89\u88c5\u5e26\u6388\u6743\uff08\u4e3b\u5907\uff09"),(0,e.yg)("pre",null,(0,e.yg)("code",{parentName:"pre",className:"language-shell"},"#######################################################################################################################################\n######################\u73af\u5883\u51c6\u5907 \u4e3b\u5907\u90fd\u5f97\u6267\u884c\n# \u770b\u4e0b\u65f6\u95f4\u662f\u5426\u6b63\u786e\ndate\nntpdate time.nist.gov\n# \u4fee\u6539\u4e3b\u673a\u540d\u79f0\nhostnamectl\nhostnamectl set-hostname node3\n# \u7528\u6237\u7ec4 \u7528\u6237\nsu root\ngroupadd dinstall -g 2001\nuseradd -G dinstall -m -d /home/dmdba -s /bin/bash -u 2001 dmdba\npasswd dmdba\n#### \u4fee\u6539\u7cfb\u7edf\u53c2\u6570\nvi /etc/security/limits.conf\n# \u5185\u5bb9\u5982\u4e0b\n# dm\ndmdba soft nice 0\ndmdba hard nice 0\ndmdba soft as unlimited\ndmdba hard as unlimited\ndmdba soft fsize unlimited\ndmdba hard fsize unlimited\ndmdba soft nproc 65536\ndmdba hard nproc 65536\ndmdba soft nofile 65536\ndmdba hard nofile 65536\ndmdba soft core unlimited\ndmdba hard core unlimited\ndmdba soft data unlimited\ndmdba hard data unlimited\n# \u91cd\u542f\nreboot\n# \u68c0\u67e5\u53c2\u6570\u4fee\u6539\u662f\u5426OK\nsu - dmdba\nulimit -a\n# \u5982\u679c\u4e0d\u65b9\u4fbf\u91cd\u542f \u4e34\u65f6\u63aa\u65bd\nsu - dmdba\nulimit -n 65536\nulimit -u 65536\n\n\n############## \u76ee\u5f55\u89c4\u5212\nexit\n##\u5b9e\u4f8b\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/data \n##\u5f52\u6863\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/arch\n##\u5907\u4efd\u4fdd\u5b58\u76ee\u5f55\nmkdir -p /dmdata/dmbak\n# \u76f8\u5173\u76ee\u5f55\u6743\u9650\nchown -R dmdba:dinstall /dmdata/data\nchown -R dmdba:dinstall /dmdata/arch\nchown -R dmdba:dinstall /dmdata/dmbak\nchmod -R 755 /dmdata/data\nchmod -R 755 /dmdata/arch\nchmod -R 755 /dmdata/dmbak\n#\nll /dmdata/\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n################## \u5f00\u59cb\u5b89\u88c5\n#root\n# \u6839\u636e\u81ea\u5df1\u7684\u5b89\u88c5\u5305\u8def\u5f84\u6765\ncd /root/dm8/install\nmount -o loop dm8_20240408_x86_rh6_64.iso /mnt\n# \u6ce8\u610fkey\u6587\u4ef6\u7684\u8def\u5f84\u53ca\u6743\u9650 \u6700\u597d\u653e\u5230/home/dmdba/\u4e0b\ncp /root/dm8/key/dm3001108295.key /home/dmdba/dm.key\nsu - dmdba\ncd /mnt\n./DMInstall.bin -i\n# \u5207\u6362\u5230root\u7528\u6237\uff0c\u521b\u5efa DmAPService\uff0c\u5426\u5219\u4f1a\u5f71\u54cd\u6570\u636e\u5e93\u5907\u4efd\nexit\nsh /home/dmdba/dmdbms/script/root/root_installer.sh\n\n\n####### !!!!!!!!!!!!!!\u521d\u59cb\u5316\u5b9e\u4f8b\nsu - dmdba\ncd /home/dmdba/dmdbms/bin\n./dminit help\n# \u521d\u59cb\u5316\u5b9e\u4f8b \u6ce8\u610f\u76ee\u5f55\n./dminit path=/dmdata/data\n\n######## \u6ce8\u518c\u670d\u52a1\nexit\ncd /home/dmdba/dmdbms/script/root/\n./dm_service_installer.sh -t dmserver -dm_ini /dmdata/data/DAMENG/dm.ini -p DAMENG\ncd /home/dmdba/dmdbms/bin\nls | grep DAMENG\n\n### \u542f\u52a8 \u505c\u6b62 \u6570\u636e\u5e93\nsu - dmdba\ncd /home/dmdba/dmdbms/bin\n./DmServiceDAMENG start\n./DmServiceDAMENG stop\n./DmServiceDAMENG restart\n./DmServiceDAMENG status\n## \u6ce8\u610f\u9632\u706b\u5899\u662f\u5426\u6253\u5f00 \u5426\u5219\u8fde\u63a5\u4e0d\u4e865236\nexit\n# \u4e24\u79cd\u65b9\u5f0f \nsystemctl stop iptables\nsystemctl disable iptables\n# \u4e24\u79cd\u65b9\u5f0f \nsystemctl stop firewalld\nsystemctl disable firewalld\n# \u4fee\u6539ENABLE_ENCRYPT=0 \u5426\u5219\u62a5\u9519SSL\nsu - dmdba\nvi /dmdata/data/DAMENG/dm.ini\nENABLE_ENCRYPT = 0\ncd /home/dmdba/dmdbms/bin && ./DmServiceDAMENG restart\n\n# dm\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\nsu - dmdba\ncd \nvi .bashrc\nexport PATH=/home/dmdba/dmdbms/bin:$PATH\nexport LD_LIBRARY_PATH=/home/dmdba/dmdbms/bin:$LD_LIBRARY_PATH\n#\nsource .bashrc\ndisql\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n##########################\n##########################\u4e3b\u5e93\u914d\u7f6e\n## \nvi /dmdata/data/DAMENG/dmarch.ini\n#\n[ARCHIVE_LOCAL1]\n ARCH_TYPE = LOCAL \n ARCH_DEST = /dmdata/arch \n ARCH_FILE_SIZE = 128 \n ARCH_SPACE_LIMIT = 0 \n ARCH_FLUSH_BUF_SIZE = 0 \n ARCH_HANG_FLAG = 1\n################\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL\u547d\u4ee4\nalter database mount;\nalter database add archivelog 'DEST=/dmdata/arch,TYPE=local, FILE_SIZE=128,space_limit=0';\n-- \u5982\u679c\u6709\u9519\u8bef Archive config not exist. \u5148\u81ea\u5df1\u5efa\u4e00\u4e2a\u6587\u4ef6\uff08\u540e\u9762\u7684\u547d\u4ee4\u4e5f\u4f1a\u81ea\u52a8\u521b\u5efa\uff09\nalter database archivelog;\nalter database open;\nselect arch_mode from v$database;\n############\n# \u4f7f\u7528\u547d\u4ee4\u5907\u4efd\u4e3b\u5e93\uff1a\n# \u9519\u8bef\uff1a[-137]:DM server is running or exist other process which is operating the same database\n# \u9700\u8981\u5173\u95ed\u6570\u636e\u5e93\nDmServiceDAMENG stop\ndmrman CTLSTMT=\"BACKUP DATABASE '/dmdata/data/DAMENG/dm.ini' FULL TO BACKUP_FILE1 BACKUPSET '/dmdata/dmbak/BACKUP_FILE_01'\"\nll /dmdata/dmbak/BACKUP_FILE_01/\n#\u6216\u8005\u53ef\u4ee5\u4f7f\u7528\u8054\u673a\u5907\u4efd\uff1a\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\nSQL> backup database full backupset '/dmdata/dmbak/BACKUP_FILE_01';\n\n####################################\nvi /dmdata/data/DAMENG/dm.ini\n#\nINSTANCE_NAME = DMSERVER_PRI\nALTER_MODE_STATUS = 0\nENABLE_OFFLINE_TS = 2\nMAL_INI = 1 #dmmal.ini\nARCH_INI = 1 #dmarch.ini\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP \u4e3b\u5e93\u548c\u5907\u5e93\u90fd\u662f\u4e00\u6837\nvi /dmdata/data/DAMENG/dmmal.ini\n#\nMAL_CHECK_INTERVAL = 5\nMAL_COMBIN_BUF_SIZE = 0\nMAL_SEND_THRESHOLD = 2048\nMAL_CONN_FAIL_INTERVAL = 5\nMAL_LOGIN_TIMEOUT = 15\nMAL_BUF_SIZE = 100\nMAL_SYS_BUF_SIZE = 0\nMAL_VPOOL_SIZE = 128\nMAL_COMPRESS_LEVEL = 0\nMAL_TEMP_PATH = \n[MAL_INST1]\nMAL_INST_NAME = DMSERVER_PRI #\u4e0edm.ini\u4e2d\u7684INSTANCE_NAME\u4e00\u81f4 \nMAL_HOST = 10.20.35.123 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684 IP \u5730\u5740\nMAL_PORT = 5238 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_INST_HOST = 10.20.35.123 #\u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1 IP \u5730\u5740\nMAL_INST_PORT = 5236 # \u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1\u7aef\u53e3\uff0c \u548cdm.ini \u4e2d\u7684 PORT_NUM \u4e00\u81f4\nMAL_INST_DW_PORT = 5237 #\u5b9e\u4f8b\u76d1\u542c\u5b88\u62a4\u8fdb\u7a0bTCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_DW_PORT = 5239 #\u5b9e\u4f8b\u5bf9\u5e94\u7684\u5b88\u62a4\u8fdb\u7a0b\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\n[MAL_INST2]\nMAL_INST_NAME=DMSERVER_STANDBY # \u5b9e \u4f8b \u540d \uff0c \u548cdm.ini\u4e2d \u7684 INSTANCE_NAME \u4e00\u81f4\nMAL_HOST = 10.20.35.122 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684 IP \u5730\u5740\nMAL_PORT = 5238 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_INST_HOST = 10.20.35.122 #\u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1 IP \u5730\u5740\nMAL_INST_PORT = 5236 # \u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1\u7aef\u53e3\uff0c \u548cdm.ini \u4e2d\u7684 PORT_NUM \u4e00\u81f4\nMAL_INST_DW_PORT = 5237 #\u5b9e\u4f8b\u76d1\u542c\u5b88\u62a4\u8fdb\u7a0bTCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_DW_PORT = 5239 #\u5b9e\u4f8b\u5bf9\u5e94\u7684\u5b88\u62a4\u8fdb\u7a0b\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\n#################################### \u5f52\u6863\u914d\u7f6e \nvi /dmdata/data/DAMENG/dmarch.ini\n# \u5f52\u6863\u914d\u7f6e\u4e2d\u8981\u5305\u62ec\u672c\u5730\u5f52\u6863\u53ca\u5176\u4ed6\u51e0\u4e2a\u8282\u70b9\u7684\u5b9e\u65f6\u5f52\u6863\n ARCH_WAIT_APPLY = 0\n[ARCHIVE_LOCAL1]\n ARCH_TYPE = LOCAL #\u672c\u5730\u5f52\u6863\u7c7b\u578b \n ARCH_DEST = /dmdata/arch #\u672c\u5730\u5f52\u6863\u6587\u4ef6\u5b58\u653e\u8def\u5f84 \n ARCH_FILE_SIZE = 128 #\u5355\u4f4d Mb \uff0c\u672c\u5730\u5355\u4e2a\u5f52\u6863\u6587\u4ef6\u6700\u5927\u503c\n ARCH_SPACE_LIMIT = 0 #\u5355\u4f4d Mb \uff0c0 \u8868\u793a\u65e0\u9650\u5236\uff0c\u8303\u56f4 1024~4294967294M\n ARCH_FLUSH_BUF_SIZE = 0 \n ARCH_HANG_FLAG = 1 \n[ARCHIVE_REALTIME1]\n ARCH_TYPE = REALTIME #\u5b9e\u65f6\u5f52\u6863\u7c7b\u578b\n ARCH_DEST = DMSERVER_STANDBY #\u5b9e\u65f6\u5f52\u6863\u76ee\u6807\u5b9e\u4f8b\u540d\n WAIT_APPLY = 0 \n ARCH_FAILOVER = 0\n##################################\u8bbe\u7f6e OGUID\u5e76\u914d\u7f6e\u4e3b\u5e93\u6a21\u5f0f \n# \u9700\u8981\u542f\u52a8\u6570\u636e\u5e93 mount\u6a21\u5f0f\nDmServiceDAMENG start mount\n#\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n#\n--SQL\u547d\u4ee4\nSP_SET_PARA_VALUE(1, 'ALTER_MODE_STATUS', 1); \nsp_set_oguid(20220607);\nALTER DATABASE PRIMARY;\nsp_set_oguid(20220607);\nSP_SET_PARA_VALUE(1, 'ALTER_MODE_STATUS', 0);\nexit\n# \u5982\u679c\u663e\u793a\u5904\u4e8e\u4e3b\u5e93\u914d\u7f6e\u72b6\u6001 \u8868\u793a\u6210\u529f\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL \u5904\u4e8emount\u72b6\u6001\nselect STATUS$ from v$instance;\nexit\n#\nDmServiceDAMENG stop\nDmServiceDAMENG start\n#################################### \u5b88\u62a4\u8fdb\u7a0b\u914d\u7f6e \nvi /dmdata/data/DAMENG/dmwatcher.ini\n#\n[GRP1] #\u96c6\u7fa4\u7ec4\u7684\u540d\u79f0\nDW_TYPE = GLOBAL #\u5168\u5c40\u5b88\u62a4\u7c7b\u578b\nDW_MODE = MANUAL #\u624b\u52a8\u5207\u6362\u6a21\u5f0f\uff0c\u81ea\u52a8\u5207\u6362\uff1aAUTO\nDW_ERROR_TIME = 10 #\u8fdc\u7a0b\u5b88\u62a4\u8fdb\u7a0b\u6545\u969c\u8ba4\u5b9a\u65f6\u95f4\nINST_RECOVER_TIME = 60 #\u4e3b\u5e93\u5b88\u62a4\u8fdb\u7a0b\u542f\u52a8\u6062\u590d\u7684\u95f4\u9694\u65f6\u95f4\nINST_ERROR_TIME = 10 #\u672c\u5730\u5b9e\u4f8b\u6545\u969c\u8ba4\u5b9a\u65f6\u95f4\nINST_OGUID = 20220607 #\u5b88\u62a4\u7cfb\u7edf\u552f\u4e00OGUID\u503c\nINST_INI = /dmdata/data/DAMENG/dm.ini #dm.ini \u914d\u7f6e\u6587\u4ef6\u8def\u5f84\nINST_AUTO_RESTART = 1 #\u6253\u5f00\u5b9e\u4f8b\u7684\u81ea\u52a8\u542f\u52a8\u529f\u80fd\nINST_STARTUP_CMD = /home/dmdba/dmdbms/bin/dmserver #\u547d\u4ee4\u884c\u65b9\u5f0f\u542f\u52a8\nRLOG_SEND_THRESHOLD = 0 #\u6307\u5b9a\u4e3b\u5e93\u53d1\u9001\u65e5\u5fd7\u5230\u5907\u5e93\u7684\u65f6\u95f4\u9600\u503c\uff0c\u9ed8\u8ba4\u5173\u95ed\nRLOG_APPLY_THRESHOLD = 0 #\u6307\u5b9a\u5907\u5e93\u91cd\u6f14\u65e5\u5fd7\u7684\u65f6\u95f4\u9600\u503c\uff0c\u9ed8\u8ba4\u5173\u95ed\n### \u8f6c\u6362\u63a7\u5236\u6587\u4ef6\u4e3a\u6587\u672c\u6587\u4ef6\uff1a\ndmctlcvt TYPE=1 SRC=/dmdata/data/DAMENG/dm.ctl DEST=/dmdata/data/DAMENG/dmctl.txt\n### \u542f\u52a8\u5b88\u62a4\u8fdb\u7a0b\uff1a\ncd /dmdata/data/DAMENG\nnohup dmwatcher /dmdata/data/DAMENG/dmwatcher.ini > w-nohup.out 2>&1 &\n# \ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL \u5904\u4e8eopen\u72b6\u6001\nselect STATUS$ from v$instance;\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n##########################\n##########################\u5907\u5e93\u914d\u7f6e\n#\u5728\u4e3b\u5e93\u4e0a \nsu - dmdba\nscp -r ./BACKUP_FILE_01 dmdba@10.20.35.122:/dmdata/dmbak/\n# \u5728\u5907\u5e93\u4e0a\nsu - dmdba\nDmServiceDAMENG stop\ndmrman CTLSTMT=\"RESTORE DATABASE '/dmdata/data/DAMENG/dm.ini' FROM BACKUPSET '/dmdata/dmbak/BACKUP_FILE_01'\"\ndmrman CTLSTMT=\"RECOVER DATABASE '/dmdata/data/DAMENG/dm.ini' FROM BACKUPSET '/dmdata/dmbak/BACKUP_FILE_01'\"\ndmrman CTLSTMT=\"RECOVER DATABASE '/dmdata/data/DAMENG/dm.ini' UPDATE DB_MAGIC\"\n####################################\nvi /dmdata/data/DAMENG/dm.ini\n#\nINSTANCE_NAME = DMSERVER_STANDBY\nALTER_MODE_STATUS = 0\nENABLE_OFFLINE_TS = 2\nMAL_INI = 1 #dmmal.ini\nARCH_INI = 1 #dmarch.ini\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP\n#################################### IP \u9700\u8981\u914d\u7f6e\u56fa\u5b9aIP \u4e3b\u5e93\u548c\u5907\u5e93\u90fd\u662f\u4e00\u6837\nvi /dmdata/data/DAMENG/dmmal.ini\n#\nMAL_CHECK_INTERVAL = 5\nMAL_COMBIN_BUF_SIZE = 0\nMAL_SEND_THRESHOLD = 2048\nMAL_CONN_FAIL_INTERVAL = 5\nMAL_LOGIN_TIMEOUT = 15\nMAL_BUF_SIZE = 100\nMAL_SYS_BUF_SIZE = 0\nMAL_VPOOL_SIZE = 128\nMAL_COMPRESS_LEVEL = 0\nMAL_TEMP_PATH = \n[MAL_INST1]\nMAL_INST_NAME = DMSERVER_PRI #\u4e0edm.ini\u4e2d\u7684INSTANCE_NAME\u4e00\u81f4 \nMAL_HOST = 10.20.35.123 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684 IP \u5730\u5740\nMAL_PORT = 5238 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_INST_HOST = 10.20.35.123 #\u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1 IP \u5730\u5740\nMAL_INST_PORT = 5236 # \u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1\u7aef\u53e3\uff0c \u548cdm.ini \u4e2d\u7684 PORT_NUM \u4e00\u81f4\nMAL_INST_DW_PORT = 5237 #\u5b9e\u4f8b\u76d1\u542c\u5b88\u62a4\u8fdb\u7a0bTCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_DW_PORT = 5239 #\u5b9e\u4f8b\u5bf9\u5e94\u7684\u5b88\u62a4\u8fdb\u7a0b\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\n[MAL_INST2]\nMAL_INST_NAME=DMSERVER_STANDBY # \u5b9e \u4f8b \u540d \uff0c \u548cdm.ini\u4e2d \u7684 INSTANCE_NAME \u4e00\u81f4\nMAL_HOST = 10.20.35.122 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684 IP \u5730\u5740\nMAL_PORT = 5238 #MAL \u7cfb\u7edf\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_INST_HOST = 10.20.35.122 #\u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1 IP \u5730\u5740\nMAL_INST_PORT = 5236 # \u5b9e\u4f8b\u7684\u5bf9\u5916\u670d\u52a1\u7aef\u53e3\uff0c \u548cdm.ini \u4e2d\u7684 PORT_NUM \u4e00\u81f4\nMAL_INST_DW_PORT = 5237 #\u5b9e\u4f8b\u76d1\u542c\u5b88\u62a4\u8fdb\u7a0bTCP \u8fde\u63a5\u7684\u7aef\u53e3\nMAL_DW_PORT = 5239 #\u5b9e\u4f8b\u5bf9\u5e94\u7684\u5b88\u62a4\u8fdb\u7a0b\u76d1\u542c TCP \u8fde\u63a5\u7684\u7aef\u53e3\n\n\n#################################### \u5f52\u6863\u914d\u7f6e \nvi /dmdata/data/DAMENG/dmarch.ini\n# \u5f52\u6863\u914d\u7f6e\u4e2d\u8981\u5305\u62ec\u672c\u5730\u5f52\u6863\u53ca\u5176\u4ed6\u51e0\u4e2a\u8282\u70b9\u7684\u5b9e\u65f6\u5f52\u6863\n ARCH_WAIT_APPLY = 0\n[ARCHIVE_LOCAL1]\n ARCH_TYPE = LOCAL #\u672c\u5730\u5f52\u6863\u7c7b\u578b \n ARCH_DEST = /dmdata/arch #\u672c\u5730\u5f52\u6863\u6587\u4ef6\u5b58\u653e\u8def\u5f84 \n ARCH_FILE_SIZE = 128 #\u5355\u4f4d Mb \uff0c\u672c\u5730\u5355\u4e2a\u5f52\u6863\u6587\u4ef6\u6700\u5927\u503c\n ARCH_SPACE_LIMIT = 0 #\u5355\u4f4d Mb \uff0c0 \u8868\u793a\u65e0\u9650\u5236\uff0c\u8303\u56f4 1024~4294967294M\n ARCH_FLUSH_BUF_SIZE = 0 \n ARCH_HANG_FLAG = 1 \n[ARCHIVE_REALTIME1]\n ARCH_TYPE = REALTIME #\u5b9e\u65f6\u5f52\u6863\u7c7b\u578b\n ARCH_DEST = DMSERVER_PRI #\u5b9e\u65f6\u5f52\u6863\u76ee\u6807\u5b9e\u4f8b\u540d\n WAIT_APPLY = 0 \n ARCH_FAILOVER = 0\n## \u542f\u52a8\u5b9e\u4f8b\u5e76\u914d\u7f6e\u5907\u5e93\u6a21\u5f0f\n# \u9700\u8981\u542f\u52a8\u6570\u636e\u5e93 mount\u6a21\u5f0f\nDmServiceDAMENG start mount\n#\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n#\n--SQL\u547d\u4ee4\nSP_SET_PARA_VALUE(1, 'ALTER_MODE_STATUS', 1); \nsp_set_oguid(20220607);\nALTER DATABASE STANDBY;\nSP_SET_PARA_VALUE(1, 'ALTER_MODE_STATUS', 0);\nexit\n# \u5982\u679c\u663e\u793a\u5904\u4e8e\u4e3b\u5e93\u914d\u7f6e\u72b6\u6001 \u8868\u793a\u6210\u529f\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL \u5907\u5e93 \u5904\u4e8emount\u72b6\u6001\nselect STATUS$ from v$instance;\nexit\n#\nDmServiceDAMENG stop\nDmServiceDAMENG start\n#################################### \u5b88\u62a4\u8fdb\u7a0b\u914d\u7f6e \nvi /dmdata/data/DAMENG/dmwatcher.ini\n#\n[GRP1] #\u96c6\u7fa4\u7ec4\u7684\u540d\u79f0\nDW_TYPE = GLOBAL #\u5168\u5c40\u5b88\u62a4\u7c7b\u578b\nDW_MODE = MANUAL #\u624b\u52a8\u5207\u6362\u6a21\u5f0f\uff0c\u81ea\u52a8\u5207\u6362\uff1aAUTO\nDW_ERROR_TIME = 10 #\u8fdc\u7a0b\u5b88\u62a4\u8fdb\u7a0b\u6545\u969c\u8ba4\u5b9a\u65f6\u95f4\nINST_RECOVER_TIME = 60 #\u4e3b\u5e93\u5b88\u62a4\u8fdb\u7a0b\u542f\u52a8\u6062\u590d\u7684\u95f4\u9694\u65f6\u95f4\nINST_ERROR_TIME = 10 #\u672c\u5730\u5b9e\u4f8b\u6545\u969c\u8ba4\u5b9a\u65f6\u95f4\nINST_OGUID = 20220607 #\u5b88\u62a4\u7cfb\u7edf\u552f\u4e00OGUID\u503c\nINST_INI = /dmdata/data/DAMENG/dm.ini #dm.ini \u914d\u7f6e\u6587\u4ef6\u8def\u5f84\nINST_AUTO_RESTART = 1 #\u6253\u5f00\u5b9e\u4f8b\u7684\u81ea\u52a8\u542f\u52a8\u529f\u80fd\nINST_STARTUP_CMD = /home/dmdba/dmdbms/bin/dmserver #\u547d\u4ee4\u884c\u65b9\u5f0f\u542f\u52a8\nRLOG_SEND_THRESHOLD = 0 #\u6307\u5b9a\u4e3b\u5e93\u53d1\u9001\u65e5\u5fd7\u5230\u5907\u5e93\u7684\u65f6\u95f4\u9600\u503c\uff0c\u9ed8\u8ba4\u5173\u95ed\nRLOG_APPLY_THRESHOLD = 0 #\u6307\u5b9a\u5907\u5e93\u91cd\u6f14\u65e5\u5fd7\u7684\u65f6\u95f4\u9600\u503c\uff0c\u9ed8\u8ba4\u5173\u95ed\n### \u8f6c\u6362\u63a7\u5236\u6587\u4ef6\u4e3a\u6587\u672c\u6587\u4ef6\uff1a\ndmctlcvt TYPE=1 SRC=/dmdata/data/DAMENG/dm.ctl DEST=/dmdata/data/DAMENG/dmctl.txt\n### \u542f\u52a8\u5b88\u62a4\u8fdb\u7a0b\uff1a\ncd /dmdata/data/DAMENG\nnohup dmwatcher /dmdata/data/DAMENG/dmwatcher.ini > w-nohup.out 2>&1 &\n# \ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n-- SQL \u5904\u4e8eopen\u72b6\u6001\nselect STATUS$ from v$instance;\n#######################################################################################################################################\n\n\n\n#######################################################################################################################################\n####################\u786e\u8ba4\u76d1\u89c6\u5668\u914d\u7f6e\n# \u76d1\u89c6\u5668\u653e\u5728\u5907\u4e0a\nsu - dmdba\nmkdir -p /dmdata/data/monitor-log\nvi /dmdata/data/DAMENG/dmmonitor.ini\n#\nMON_DW_CONFIRM = 1 #\u786e\u8ba4\u76d1\u89c6\u5668\u6a21\u5f0f\nMON_LOG_PATH = /dmdata/data/monitor-log/ #\u76d1\u89c6\u5668\u65e5\u5fd7\u6587\u4ef6\u5b58\u653e\u8def\u5f84\uff0c\u6ca1\u6709\u5219\u9700\u8981\u521b\u5efa\nMON_LOG_INTERVAL = 60 #\u6bcf\u9694 60s \u5b9a\u65f6\u8bb0\u5f55\u7cfb\u7edf\u4fe1\u606f\u5230\u65e5\u5fd7\u6587\u4ef6\nMON_LOG_FILE_SIZE = 32 #\u6bcf\u4e2a\u65e5\u5fd7\u6587\u4ef6\u6700\u5927 32M\nMON_LOG_SPACE_LIMIT = 0 #\u4e0d\u9650\u5b9a\u65e5\u5fd7\u6587\u4ef6\u603b\u5360\u7528\u7a7a\u95f4\n[GRP1]\nMON_INST_OGUID = 20220607 #\u7ec4 GRP1\u7684\u552f\u4e00OGUID\u503c\uff0c\u4e0e\u4e4b\u524d\u5404\u8282\u70b9\u7684sp_set_oguid(20220607)\u4e00\u81f4\nMON_DW_IP = 10.20.35.123:5239\nMON_DW_IP = 10.20.35.122:5239\n\n# \u542f\u52a8\u76d1\u89c6\u5668\n#\u4e3b\u8981\u5173\u6ce8\uff1aWSTATUS\u662f\u5426OPEN\uff0cRSTAT\u662f\u5426VALID\u3002\ncd /dmdata/data/DAMENG\nnohup dmmonitor /dmdata/data/DAMENG/dmmonitor.ini > m-nohup.out 2>&1 &\n#######################################################################################################################################\n\n#######################################################################################################################################\n################## \u4e3b\u5907\u540c\u6b65\u6d4b\u8bd5\n# \u4e3b\u5e93\u4e0a\u6267\u884c\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n#\nCREATE TABLE TAB_FOR_RECOVER(C1 INT,create_time datetime);\nINSERT INTO TAB_FOR_RECOVER VALUES(1,sysdate);\nINSERT INTO TAB_FOR_RECOVER VALUES(2,sysdate);\nINSERT INTO TAB_FOR_RECOVER VALUES(3,sysdate);\ncommit;\n--\u9700\u8981\u63d0\u4ea4\u4e8b\u52a1\u540e\u624d\u4f1a\u540c\u6b65\u5230\u5907\u8282\u70b9\n# \u5907\u5e93\u4e0a\u6267\u884c\ndisql SYSDBA/SYSDBA@127.0.0.1:5236\n#\nselect * from TAB_FOR_RECOVER;\n#######################################################################################################################################\n\n#######################################################################################################################################\n####################\u666e\u901a\u76d1\u89c6\u5668\u914d\u7f6e\n# \u76d1\u89c6\u5668\u653e\u5728\u5907\u4e0a\nsu - dmdba\nmkdir -p /dmdata/data/monitor-log-look\nvi /dmdata/data/DAMENG/dmmonitor_look.ini\n#\nMON_DW_CONFIRM = 0 #\u786e\u8ba4\u76d1\u89c6\u5668\u6a21\u5f0f\nMON_LOG_PATH = /dmdata/data/monitor-log/ #\u76d1\u89c6\u5668\u65e5\u5fd7\u6587\u4ef6\u5b58\u653e\u8def\u5f84\uff0c\u6ca1\u6709\u5219\u9700\u8981\u521b\u5efa\nMON_LOG_INTERVAL = 60 #\u6bcf\u9694 60s \u5b9a\u65f6\u8bb0\u5f55\u7cfb\u7edf\u4fe1\u606f\u5230\u65e5\u5fd7\u6587\u4ef6\nMON_LOG_FILE_SIZE = 32 #\u6bcf\u4e2a\u65e5\u5fd7\u6587\u4ef6\u6700\u5927 32M\nMON_LOG_SPACE_LIMIT = 0 #\u4e0d\u9650\u5b9a\u65e5\u5fd7\u6587\u4ef6\u603b\u5360\u7528\u7a7a\u95f4\n[GRP1]\nMON_INST_OGUID = 20220607 #\u7ec4 GRP1\u7684\u552f\u4e00OGUID\u503c\uff0c\u4e0e\u4e4b\u524d\u5404\u8282\u70b9\u7684sp_set_oguid(20220607)\u4e00\u81f4\nMON_DW_IP = 10.20.35.123:5239\nMON_DW_IP = 10.20.35.122:5239\n\n# \u542f\u52a8\u76d1\u89c6\u5668\n#\u4e3b\u8981\u5173\u6ce8\uff1aWSTATUS\u662f\u5426OPEN\uff0cRSTAT\u662f\u5426VALID\u3002\ncd /dmdata/data/DAMENG\ndmmonitor /dmdata/data/DAMENG/dmmonitor_look.ini\n#######################################################################################################################################\n\n\n#######################################################################################################################################\n# \nvi /dmdata/data/DAMENG/dm.ini\n# \u8c03\u6574\u8fd9\u4e2a\u51e0\u4e2a\u53c2\u6570 \u8981\u4e0d\u7136\u62a5\u9519 Out of sort buf space, try to adjust SORT_BUF_GLOBAL_SIZE, SORT_BUF_SIZE, SORT\n# SORT_FLAG\uff1a\u9ed8\u8ba4\u4e3a0\uff0c\u53c2\u6570\u542b\u4e49\uff1a0\uff1a\u539f\u6392\u5e8f\u673a\u5236\uff1b1\uff1a\u65b0\u6392\u5e8f\u673a\u5236\u3002 \u5728\u5185\u5b58\u5927\u4e8e64G\u65f6\u5efa\u8bae\u4f7f\u7528\u65b0\u6392\u5e8f\u673a\u5236\uff0c\u5176\u4ed6\u60c5\u51b5\u4f7f\u7528\u539f\u6392\u5e8f\u673a\u5236\u3002\n# SORT_BUF_SIZE\uff1a\u9ed8\u8ba4\u4e3a2\u3002\u5728\u5185\u5b58\u5c0f\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a10M\uff0c\u5927\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a512M\u3002\n# SORT_BUF_GLOBAL_SIZE\uff0c\u9ed8\u8ba4\u4e3a1000M\u3002\u5f53\u5185\u5b58\u5c0f\u4e8e16G\u65f6\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a500M\uff0c\u5927\u4e8e16G\u5c0f\u4e8e64G\u65f6\u5efa\u8bae\u8bbe\u7f6e\u4e3a2000\uff0c\u5f53\u5185\u5b58\u5927\u4e8e64G\u65f6\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a5120M\u3002\n# SORT_BLK_SIZE\uff1a\u9ed8\u8ba4\u4e3a 1M\uff0c\u65b0\u6392\u5e8f\u673a\u5236\u4e0b\uff0c\u6bcf\u4e2a\u6392\u5e8f\u5206\u7247\u7a7a\u95f4\u7684\u5927\u5c0f\uff0c\u5fc5\u987b\u5c0f\u4e8e SORT_BUF_GLOBAL_SIZE\u3002\nSORT_BUF_SIZE = 512 #maximum sort buffer size in Megabytes\nSORT_BLK_SIZE = 2 #maximum sort blk size in Megabytes\nSORT_BUF_GLOBAL_SIZE = 5120 #maximum global sort buffer size in Megabytes\n#######################################################################################################################################\n\n\n\n")))}T.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/fe084b13.ebd39670.js b/assets/js/fe084b13.0045075f.js similarity index 98% rename from assets/js/fe084b13.ebd39670.js rename to assets/js/fe084b13.0045075f.js index 57a831374..88373a0a4 100644 --- a/assets/js/fe084b13.ebd39670.js +++ b/assets/js/fe084b13.0045075f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2110],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=l(r),y=a,f=d["".concat(p,".").concat(y)]||d[y]||s[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[d]="string"==typeof e?e:a,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316",id:"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316",title:"Undertow\u4f18\u5316",description:"Undertow \u662f\u4e00\u4e2a\u7075\u6d3b\u7684\u3001\u9ad8\u6027\u80fd\u7684 Web \u670d\u52a1\u5668\uff0c\u5b83\u53ef\u4ee5\u4f5c\u4e3a\u72ec\u7acb\u7684\u670d\u52a1\u5668\u8fd0\u884c\uff0c\u4e5f\u80fd\u5f88\u597d\u5730\u5d4c\u5165\u5230 Java \u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982 Spring Boot \u5e94\u7528\u3002\u5b83\u662f\u57fa\u4e8e Java NIO\uff08Non - Blocking I/O\uff09\u5b9e\u73b0\u7684\uff0c\u8fd9\u4f7f\u5f97\u5b83\u80fd\u591f\u9ad8\u6548\u5730\u5904\u7406\u5927\u91cf\u5e76\u53d1\u8fde\u63a5\uff0c\u63d0\u4f9b\u4e86\u51fa\u8272\u7684\u6027\u80fd\u3002",source:"@site/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316.md",sourceDirName:"study/back/JavaWeb\u670d\u52a1\u5668",slug:"/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Tomcat\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316"},next:{title:"Keepalived",permalink:"/docs/study/back/Keepalived"}},p={},l=[],u={toc:l},d="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"Undertow \u662f\u4e00\u4e2a\u7075\u6d3b\u7684\u3001\u9ad8\u6027\u80fd\u7684 Web \u670d\u52a1\u5668\uff0c\u5b83\u53ef\u4ee5\u4f5c\u4e3a\u72ec\u7acb\u7684\u670d\u52a1\u5668\u8fd0\u884c\uff0c\u4e5f\u80fd\u5f88\u597d\u5730\u5d4c\u5165\u5230 Java \u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982 Spring Boot \u5e94\u7528\u3002\u5b83\u662f\u57fa\u4e8e Java NIO\uff08Non - Blocking I/O\uff09\u5b9e\u73b0\u7684\uff0c\u8fd9\u4f7f\u5f97\u5b83\u80fd\u591f\u9ad8\u6548\u5730\u5904\u7406\u5927\u91cf\u5e76\u53d1\u8fde\u63a5\uff0c\u63d0\u4f9b\u4e86\u51fa\u8272\u7684\u6027\u80fd\u3002"),(0,a.yg)("p",null,"\u4e0e\u4f20\u7edf\u7684 Tomcat \u670d\u52a1\u5668\u76f8\u6bd4\uff0cUndertow \u5728\u5904\u7406\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b\u7684\u6027\u80fd\u8868\u73b0\u66f4\u4e3a\u51fa\u8272\u3002Tomcat \u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u91c7\u7528\u963b\u585e\u5f0f I/O \u6a21\u578b\uff0c\u867d\u7136\u4e5f\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u6765\u5b9e\u73b0\u975e\u963b\u585e I/O\uff0c\u4f46\u76f8\u5bf9\u800c\u8a00\uff0cUndertow \u4ece\u8bbe\u8ba1\u4e4b\u521d\u5c31\u4e13\u6ce8\u4e8e\u9ad8\u6027\u80fd\u7684\u975e\u963b\u585e\u5904\u7406\u3002\u4f8b\u5982\uff0c\u5728",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"\u5904\u7406\u5927\u91cf\u7684\u77ed\u8fde\u63a5\u8bf7\u6c42")),"\uff08\u5982 RESTful API \u8bf7\u6c42\uff09\u65f6\uff0cUndertow \u7684\u54cd\u5e94\u901f\u5ea6\u66f4\u5feb\uff0c\u8d44\u6e90\u6d88\u8017\u66f4\u5c11\u3002"),(0,a.yg)("p",null,"\u4e0e Jetty \u670d\u52a1\u5668\u76f8\u6bd4\uff0cUndertow \u5728\u5185\u5b58\u5360\u7528\u548c\u6027\u80fd\u4e0a\u4e5f\u6709\u4e00\u5b9a\u7684\u4f18\u52bf\u3002Jetty \u4e5f\u662f\u4e00\u4e2a\u4f18\u79c0\u7684 Java Web \u670d\u52a1\u5668\uff0c\u4f46 Undertow \u5728\u67d0\u4e9b\u573a\u666f\u4e0b\uff0c\u5982\u5904\u7406\u5927\u91cf\u7684\u9759\u6001\u8d44\u6e90\u8bf7\u6c42\u6216\u8005\u9ad8\u5e76\u53d1\u7684 WebSocket \u8fde\u63a5\u65f6\uff0c\u80fd\u591f\u63d0\u4f9b\u66f4\u597d\u7684\u6027\u80fd\u548c\u66f4\u4f4e\u7684\u5185\u5b58\u5360\u7528\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2110],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>f});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),l=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(p.Provider,{value:t},e.children)},d="mdxType",s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=l(r),y=a,f=d["".concat(p,".").concat(y)]||d[y]||s[y]||o;return r?n.createElement(f,c(c({ref:t},u),{},{components:r})):n.createElement(f,c({ref:t},u))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,c=new Array(o);c[0]=y;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[d]="string"==typeof e?e:a,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},c=void 0,i={unversionedId:"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316",id:"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316",title:"Undertow\u4f18\u5316",description:"Undertow \u662f\u4e00\u4e2a\u7075\u6d3b\u7684\u3001\u9ad8\u6027\u80fd\u7684 Web \u670d\u52a1\u5668\uff0c\u5b83\u53ef\u4ee5\u4f5c\u4e3a\u72ec\u7acb\u7684\u670d\u52a1\u5668\u8fd0\u884c\uff0c\u4e5f\u80fd\u5f88\u597d\u5730\u5d4c\u5165\u5230 Java \u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982 Spring Boot \u5e94\u7528\u3002\u5b83\u662f\u57fa\u4e8e Java NIO\uff08Non - Blocking I/O\uff09\u5b9e\u73b0\u7684\uff0c\u8fd9\u4f7f\u5f97\u5b83\u80fd\u591f\u9ad8\u6548\u5730\u5904\u7406\u5927\u91cf\u5e76\u53d1\u8fde\u63a5\uff0c\u63d0\u4f9b\u4e86\u51fa\u8272\u7684\u6027\u80fd\u3002",source:"@site/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316.md",sourceDirName:"study/back/JavaWeb\u670d\u52a1\u5668",slug:"/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Tomcat\u4f18\u5316",permalink:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316"},next:{title:"Keepalived",permalink:"/docs/study/back/Keepalived"}},p={},l=[],u={toc:l},d="wrapper";function s(e){let{components:t,...r}=e;return(0,a.yg)(d,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("p",null,"Undertow \u662f\u4e00\u4e2a\u7075\u6d3b\u7684\u3001\u9ad8\u6027\u80fd\u7684 Web \u670d\u52a1\u5668\uff0c\u5b83\u53ef\u4ee5\u4f5c\u4e3a\u72ec\u7acb\u7684\u670d\u52a1\u5668\u8fd0\u884c\uff0c\u4e5f\u80fd\u5f88\u597d\u5730\u5d4c\u5165\u5230 Java \u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982 Spring Boot \u5e94\u7528\u3002\u5b83\u662f\u57fa\u4e8e Java NIO\uff08Non - Blocking I/O\uff09\u5b9e\u73b0\u7684\uff0c\u8fd9\u4f7f\u5f97\u5b83\u80fd\u591f\u9ad8\u6548\u5730\u5904\u7406\u5927\u91cf\u5e76\u53d1\u8fde\u63a5\uff0c\u63d0\u4f9b\u4e86\u51fa\u8272\u7684\u6027\u80fd\u3002"),(0,a.yg)("p",null,"\u4e0e\u4f20\u7edf\u7684 Tomcat \u670d\u52a1\u5668\u76f8\u6bd4\uff0cUndertow \u5728\u5904\u7406\u9ad8\u5e76\u53d1\u573a\u666f\u4e0b\u7684\u6027\u80fd\u8868\u73b0\u66f4\u4e3a\u51fa\u8272\u3002Tomcat \u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u91c7\u7528\u963b\u585e\u5f0f I/O \u6a21\u578b\uff0c\u867d\u7136\u4e5f\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u6765\u5b9e\u73b0\u975e\u963b\u585e I/O\uff0c\u4f46\u76f8\u5bf9\u800c\u8a00\uff0cUndertow \u4ece\u8bbe\u8ba1\u4e4b\u521d\u5c31\u4e13\u6ce8\u4e8e\u9ad8\u6027\u80fd\u7684\u975e\u963b\u585e\u5904\u7406\u3002\u4f8b\u5982\uff0c\u5728",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"\u5904\u7406\u5927\u91cf\u7684\u77ed\u8fde\u63a5\u8bf7\u6c42")),"\uff08\u5982 RESTful API \u8bf7\u6c42\uff09\u65f6\uff0cUndertow \u7684\u54cd\u5e94\u901f\u5ea6\u66f4\u5feb\uff0c\u8d44\u6e90\u6d88\u8017\u66f4\u5c11\u3002"),(0,a.yg)("p",null,"\u4e0e Jetty \u670d\u52a1\u5668\u76f8\u6bd4\uff0cUndertow \u5728\u5185\u5b58\u5360\u7528\u548c\u6027\u80fd\u4e0a\u4e5f\u6709\u4e00\u5b9a\u7684\u4f18\u52bf\u3002Jetty \u4e5f\u662f\u4e00\u4e2a\u4f18\u79c0\u7684 Java Web \u670d\u52a1\u5668\uff0c\u4f46 Undertow \u5728\u67d0\u4e9b\u573a\u666f\u4e0b\uff0c\u5982\u5904\u7406\u5927\u91cf\u7684\u9759\u6001\u8d44\u6e90\u8bf7\u6c42\u6216\u8005\u9ad8\u5e76\u53d1\u7684 WebSocket \u8fde\u63a5\u65f6\uff0c\u80fd\u591f\u63d0\u4f9b\u66f4\u597d\u7684\u6027\u80fd\u548c\u66f4\u4f4e\u7684\u5185\u5b58\u5360\u7528\u3002"))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ff928e4a.a0eb0b21.js b/assets/js/ff928e4a.a39a47df.js similarity index 98% rename from assets/js/ff928e4a.a0eb0b21.js rename to assets/js/ff928e4a.a39a47df.js index f8860e80f..8820fcbe2 100644 --- a/assets/js/ff928e4a.a0eb0b21.js +++ b/assets/js/ff928e4a.a39a47df.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1958],{15680:(e,n,t)=>{t.d(n,{xA:()=>l,yg:()=>y});var r=t(96540);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=r.createContext({}),p=function(e){var n=r.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},l=function(e){var n=p(e.components);return r.createElement(c.Provider,{value:n},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,l=u(e,["components","mdxType","originalType","parentName"]),s=p(t),d=o,y=s["".concat(c,".").concat(d)]||s[d]||f[d]||a;return t?r.createElement(y,i(i({ref:n},l),{},{components:t})):r.createElement(y,i({ref:n},l))}));function y(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var a=t.length,i=new Array(a);i[0]=d;var u={};for(var c in n)hasOwnProperty.call(n,c)&&(u[c]=n[c]);u.originalType=e,u[s]="string"==typeof e?e:o,i[1]=u;for(var p=2;p{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>f,frontMatter:()=>a,metadata:()=>u,toc:()=>p});var r=t(58168),o=(t(96540),t(15680));const a={},i=void 0,u={unversionedId:"study/back/spring/@Configuration",id:"study/back/spring/@Configuration",title:"@Configuration",description:"\u5728 Spring \u6846\u67b6\u4e2d\uff0c@Configuration \u6ce8\u89e3\u7528\u4e8e\u58f0\u660e\u4e00\u4e2a Java \u7c7b\u4f5c\u4e3a\u914d\u7f6e\u7c7b\uff0c\u5b83\u66ff\u4ee3\u4e86\u4f20\u7edf\u7684 XML \u914d\u7f6e\u65b9\u5f0f\u3002\u901a\u8fc7@Configuration \u6ce8\u89e3\u6807\u8bb0\u7684\u7c7b\u53ef\u4ee5\u5305\u542b@Bean \u6ce8\u89e3\uff0c\u7528\u4e8e\u5b9a\u4e49 Spring \u5bb9\u5668\u4e2d\u7684 Bean \u5bf9\u8c61\u3002",source:"@site/docs/study/back/spring/@Configuration.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/@Configuration",permalink:"/docs/study/back/spring/@Configuration",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"RocketMQ",permalink:"/docs/study/back/mq/RocketMQ"},next:{title:"@Resource@Autowired",permalink:"/docs/study/back/spring/@Resource@Autowired"}},c={},p=[{value:"proxyBeanMethods",id:"proxybeanmethods",level:3},{value:"@bean",id:"bean",level:3}],l={toc:p},s="wrapper";function f(e){let{components:n,...t}=e;return(0,o.yg)(s,(0,r.A)({},l,t,{components:n,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u5728 Spring \u6846\u67b6\u4e2d\uff0c@Configuration \u6ce8\u89e3\u7528\u4e8e\u58f0\u660e\u4e00\u4e2a Java \u7c7b\u4f5c\u4e3a\u914d\u7f6e\u7c7b\uff0c\u5b83\u66ff\u4ee3\u4e86\u4f20\u7edf\u7684 XML \u914d\u7f6e\u65b9\u5f0f\u3002\u901a\u8fc7@Configuration \u6ce8\u89e3\u6807\u8bb0\u7684\u7c7b\u53ef\u4ee5\u5305\u542b@Bean \u6ce8\u89e3\uff0c\u7528\u4e8e\u5b9a\u4e49 Spring \u5bb9\u5668\u4e2d\u7684 Bean \u5bf9\u8c61\u3002"),(0,o.yg)("h3",{id:"proxybeanmethods"},"proxyBeanMethods"),(0,o.yg)("p",null,"@Configuration \u6ce8\u89e3\u4e2d\uff0c\u6709\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u5c5e\u6027 proxyBeanMethods\uff0c\u5b83\u63a7\u5236\u7740@Configuration \u7c7b\u4e2d@Bean \u65b9\u6cd5\u7684\u4ee3\u7406\u884c\u4e3a\u3002"),(0,o.yg)("p",null,"\u8be5\u5c5e\u6027\u63a5\u53d7\u4e00\u4e2a\u5e03\u5c14\u503c\uff0c\u8bbe\u7f6e\u4e3a true \u8868\u793a\u542f\u7528\u4ee3\u7406\u6a21\u5f0f\uff0c\u8bbe\u7f6e\u4e3a false \u8868\u793a\u7981\u7528\u4ee3\u7406\u6a21\u5f0f\u3002"),(0,o.yg)("p",null,"\u5728@Configuration \u7c7b\u4e2d\uff0c\u5f53 proxyBeanMethods \u5c5e\u6027\u8bbe\u7f6e\u4e3a true \u65f6\uff0cSpring \u4f1a\u5bf9@Configuration \u7c7b\u8fdb\u884c CGLIB \u4ee3\u7406\u3002"),(0,o.yg)("p",null,"\u5bf9@Configuration \u7c7b\u8fdb\u884c\u4ee3\u7406\u540e\uff0c\u8c03\u7528@Bean \u65b9\u6cd5\u65f6\uff0cSpring \u4f1a\u68c0\u67e5\u662f\u5426\u5df2\u7ecf\u5b58\u5728\u8be5 Bean\uff0c\u5982\u679c\u5b58\u5728\uff0c\u5219\u76f4\u63a5\u8fd4\u56de\u5df2\u5b58\u5728\u7684 Bean\uff0c\u5426\u5219\u8c03\u7528\u65b9\u6cd5\u521b\u5efa\u65b0\u7684 Bean \u5e76\u7f13\u5b58\u8d77\u6765\u3002"),(0,o.yg)("p",null,"\u5728\u7981\u7528\u4ee3\u7406\u6a21\u5f0f\u4e0b\uff0cSpring \u5bb9\u5668\u6bcf\u6b21\u8c03\u7528@Bean \u65b9\u6cd5\u65f6\u90fd\u4f1a\u6267\u884c\u4e00\u6b21\u65b9\u6cd5\u4f53\uff0c\u4e0d\u4f1a\u7f13\u5b58 Bean \u5bf9\u8c61\u3002"),(0,o.yg)("h3",{id:"bean"},"@bean"),(0,o.yg)("p",null,"@bean\uff1a\u7ed9\u5bb9\u5668\u4e2d\u6dfb\u52a0\u7ec4\u4ef6\uff0c\u4ee5\u65b9\u6cd5\u540d\u4f5c\u4e3a\u7ec4\u4ef6\u7684 id\uff0c\u8fd4\u56de\u7c7b\u578b\u4e3a\u7ec4\u4ef6\u7c7b\u578b\uff0c\u8fd4\u56de\u7684\u503c\uff0c\u5c31\u662f\u7ec4\u4ef6\u5728\u5bb9\u5668\u4e2d\u7684\u5b9e\u4f8b"))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1958],{15680:(e,n,t)=>{t.d(n,{xA:()=>l,yg:()=>y});var r=t(96540);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=r.createContext({}),p=function(e){var n=r.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},l=function(e){var n=p(e.components);return r.createElement(c.Provider,{value:n},e.children)},s="mdxType",f={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,l=u(e,["components","mdxType","originalType","parentName"]),s=p(t),d=o,y=s["".concat(c,".").concat(d)]||s[d]||f[d]||a;return t?r.createElement(y,i(i({ref:n},l),{},{components:t})):r.createElement(y,i({ref:n},l))}));function y(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var a=t.length,i=new Array(a);i[0]=d;var u={};for(var c in n)hasOwnProperty.call(n,c)&&(u[c]=n[c]);u.originalType=e,u[s]="string"==typeof e?e:o,i[1]=u;for(var p=2;p{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>f,frontMatter:()=>a,metadata:()=>u,toc:()=>p});var r=t(58168),o=(t(96540),t(15680));const a={},i=void 0,u={unversionedId:"study/back/spring/@Configuration",id:"study/back/spring/@Configuration",title:"@Configuration",description:"\u5728 Spring \u6846\u67b6\u4e2d\uff0c@Configuration \u6ce8\u89e3\u7528\u4e8e\u58f0\u660e\u4e00\u4e2a Java \u7c7b\u4f5c\u4e3a\u914d\u7f6e\u7c7b\uff0c\u5b83\u66ff\u4ee3\u4e86\u4f20\u7edf\u7684 XML \u914d\u7f6e\u65b9\u5f0f\u3002\u901a\u8fc7@Configuration \u6ce8\u89e3\u6807\u8bb0\u7684\u7c7b\u53ef\u4ee5\u5305\u542b@Bean \u6ce8\u89e3\uff0c\u7528\u4e8e\u5b9a\u4e49 Spring \u5bb9\u5668\u4e2d\u7684 Bean \u5bf9\u8c61\u3002",source:"@site/docs/study/back/spring/@Configuration.md",sourceDirName:"study/back/spring",slug:"/study/back/spring/@Configuration",permalink:"/docs/study/back/spring/@Configuration",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"RocketMQ",permalink:"/docs/study/back/mq/RocketMQ"},next:{title:"@Resource@Autowired",permalink:"/docs/study/back/spring/@Resource@Autowired"}},c={},p=[{value:"proxyBeanMethods",id:"proxybeanmethods",level:3},{value:"@bean",id:"bean",level:3}],l={toc:p},s="wrapper";function f(e){let{components:n,...t}=e;return(0,o.yg)(s,(0,r.A)({},l,t,{components:n,mdxType:"MDXLayout"}),(0,o.yg)("p",null,"\u5728 Spring \u6846\u67b6\u4e2d\uff0c@Configuration \u6ce8\u89e3\u7528\u4e8e\u58f0\u660e\u4e00\u4e2a Java \u7c7b\u4f5c\u4e3a\u914d\u7f6e\u7c7b\uff0c\u5b83\u66ff\u4ee3\u4e86\u4f20\u7edf\u7684 XML \u914d\u7f6e\u65b9\u5f0f\u3002\u901a\u8fc7@Configuration \u6ce8\u89e3\u6807\u8bb0\u7684\u7c7b\u53ef\u4ee5\u5305\u542b@Bean \u6ce8\u89e3\uff0c\u7528\u4e8e\u5b9a\u4e49 Spring \u5bb9\u5668\u4e2d\u7684 Bean \u5bf9\u8c61\u3002"),(0,o.yg)("h3",{id:"proxybeanmethods"},"proxyBeanMethods"),(0,o.yg)("p",null,"@Configuration \u6ce8\u89e3\u4e2d\uff0c\u6709\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u5c5e\u6027 proxyBeanMethods\uff0c\u5b83\u63a7\u5236\u7740@Configuration \u7c7b\u4e2d@Bean \u65b9\u6cd5\u7684\u4ee3\u7406\u884c\u4e3a\u3002"),(0,o.yg)("p",null,"\u8be5\u5c5e\u6027\u63a5\u53d7\u4e00\u4e2a\u5e03\u5c14\u503c\uff0c\u8bbe\u7f6e\u4e3a true \u8868\u793a\u542f\u7528\u4ee3\u7406\u6a21\u5f0f\uff0c\u8bbe\u7f6e\u4e3a false \u8868\u793a\u7981\u7528\u4ee3\u7406\u6a21\u5f0f\u3002"),(0,o.yg)("p",null,"\u5728@Configuration \u7c7b\u4e2d\uff0c\u5f53 proxyBeanMethods \u5c5e\u6027\u8bbe\u7f6e\u4e3a true \u65f6\uff0cSpring \u4f1a\u5bf9@Configuration \u7c7b\u8fdb\u884c CGLIB \u4ee3\u7406\u3002"),(0,o.yg)("p",null,"\u5bf9@Configuration \u7c7b\u8fdb\u884c\u4ee3\u7406\u540e\uff0c\u8c03\u7528@Bean \u65b9\u6cd5\u65f6\uff0cSpring \u4f1a\u68c0\u67e5\u662f\u5426\u5df2\u7ecf\u5b58\u5728\u8be5 Bean\uff0c\u5982\u679c\u5b58\u5728\uff0c\u5219\u76f4\u63a5\u8fd4\u56de\u5df2\u5b58\u5728\u7684 Bean\uff0c\u5426\u5219\u8c03\u7528\u65b9\u6cd5\u521b\u5efa\u65b0\u7684 Bean \u5e76\u7f13\u5b58\u8d77\u6765\u3002"),(0,o.yg)("p",null,"\u5728\u7981\u7528\u4ee3\u7406\u6a21\u5f0f\u4e0b\uff0cSpring \u5bb9\u5668\u6bcf\u6b21\u8c03\u7528@Bean \u65b9\u6cd5\u65f6\u90fd\u4f1a\u6267\u884c\u4e00\u6b21\u65b9\u6cd5\u4f53\uff0c\u4e0d\u4f1a\u7f13\u5b58 Bean \u5bf9\u8c61\u3002"),(0,o.yg)("h3",{id:"bean"},"@bean"),(0,o.yg)("p",null,"@bean\uff1a\u7ed9\u5bb9\u5668\u4e2d\u6dfb\u52a0\u7ec4\u4ef6\uff0c\u4ee5\u65b9\u6cd5\u540d\u4f5c\u4e3a\u7ec4\u4ef6\u7684 id\uff0c\u8fd4\u56de\u7c7b\u578b\u4e3a\u7ec4\u4ef6\u7c7b\u578b\uff0c\u8fd4\u56de\u7684\u503c\uff0c\u5c31\u662f\u7ec4\u4ef6\u5728\u5bb9\u5668\u4e2d\u7684\u5b9e\u4f8b"))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ffb15ddc.a928ee41.js b/assets/js/ffb15ddc.3f7f7ca9.js similarity index 98% rename from assets/js/ffb15ddc.a928ee41.js rename to assets/js/ffb15ddc.3f7f7ca9.js index 8147b7937..0b4a6b9b6 100644 --- a/assets/js/ffb15ddc.a928ee41.js +++ b/assets/js/ffb15ddc.3f7f7ca9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1120],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),l=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=l(r),y=a,m=s["".concat(i,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(m,p(p({ref:t},u),{},{components:r})):n.createElement(m,p({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:a,p[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},p=void 0,c={unversionedId:"study/program/ETL/dataX",id:"study/program/ETL/dataX",title:"dataX",description:"\u6982\u8ff0",source:"@site/docs/study/program/ETL/dataX.md",sourceDirName:"study/program/ETL",slug:"/study/program/ETL/dataX",permalink:"/docs/study/program/ETL/dataX",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679414,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Dart \u5b66\u4e60\u8d44\u6599",permalink:"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599"},next:{title:"flume",permalink:"/docs/study/program/ETL/flume"}},i={},l=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"DataX \u662f\u963f\u91cc\u5df4\u5df4\u96c6\u56e2\u5185\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684",(0,a.yg)("strong",{parentName:"p"},"\u79bb\u7ebf\u6570\u636e\u540c\u6b65\u5de5\u5177/\u5e73\u53f0"),"\uff0c\u5b9e\u73b0\u5305\u62ec MySQL\u3001Oracle\u3001SqlServer\u3001Postgre\u3001HDFS\u3001Hive\u3001ADS\u3001HBase\u3001TableStore(OTS)\u3001MaxCompute(ODPS)\u3001DRDS \u7b49\u5404\u79cd\u5f02\u6784\u6570\u636e\u6e90\u4e4b\u95f4\u9ad8\u6548\u7684\u6570\u636e\u540c\u6b65\u529f\u80fd\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u5f00\u6e90\u5730\u5740"),"\uff1a",(0,a.yg)("a",{parentName:"p",href:"https://github.com/alibaba/DataX"},"https://github.com/alibaba/DataX")))}d.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1120],{15680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(96540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var i=n.createContext({}),l=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):p(p({},t),e)),r},u=function(e){var t=l(e.components);return n.createElement(i.Provider,{value:t},e.children)},s="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},y=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),s=l(r),y=a,m=s["".concat(i,".").concat(y)]||s[y]||d[y]||o;return r?n.createElement(m,p(p({ref:t},u),{},{components:r})):n.createElement(m,p({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,p=new Array(o);p[0]=y;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c[s]="string"==typeof e?e:a,p[1]=c;for(var l=2;l{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>d,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var n=r(58168),a=(r(96540),r(15680));const o={},p=void 0,c={unversionedId:"study/program/ETL/dataX",id:"study/program/ETL/dataX",title:"dataX",description:"\u6982\u8ff0",source:"@site/docs/study/program/ETL/dataX.md",sourceDirName:"study/program/ETL",slug:"/study/program/ETL/dataX",permalink:"/docs/study/program/ETL/dataX",draft:!1,tags:[],version:"current",lastUpdatedAt:1732679924,formattedLastUpdatedAt:"2024\u5e7411\u670827\u65e5",frontMatter:{},sidebar:"studySidebar",previous:{title:"Dart \u5b66\u4e60\u8d44\u6599",permalink:"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599"},next:{title:"flume",permalink:"/docs/study/program/ETL/flume"}},i={},l=[{value:"\u6982\u8ff0",id:"\u6982\u8ff0",level:3}],u={toc:l},s="wrapper";function d(e){let{components:t,...r}=e;return(0,a.yg)(s,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h3",{id:"\u6982\u8ff0"},"\u6982\u8ff0"),(0,a.yg)("p",null,"DataX \u662f\u963f\u91cc\u5df4\u5df4\u96c6\u56e2\u5185\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684",(0,a.yg)("strong",{parentName:"p"},"\u79bb\u7ebf\u6570\u636e\u540c\u6b65\u5de5\u5177/\u5e73\u53f0"),"\uff0c\u5b9e\u73b0\u5305\u62ec MySQL\u3001Oracle\u3001SqlServer\u3001Postgre\u3001HDFS\u3001Hive\u3001ADS\u3001HBase\u3001TableStore(OTS)\u3001MaxCompute(ODPS)\u3001DRDS \u7b49\u5404\u79cd\u5f02\u6784\u6570\u636e\u6e90\u4e4b\u95f4\u9ad8\u6548\u7684\u6570\u636e\u540c\u6b65\u529f\u80fd\u3002"),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"\u5f00\u6e90\u5730\u5740"),"\uff1a",(0,a.yg)("a",{parentName:"p",href:"https://github.com/alibaba/DataX"},"https://github.com/alibaba/DataX")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/main.a6ca5af7.js b/assets/js/main.a6ca5af7.js new file mode 100644 index 000000000..55cdbf669 --- /dev/null +++ b/assets/js/main.a6ca5af7.js @@ -0,0 +1,2 @@ +/*! For license information please see main.a6ca5af7.js.LICENSE.txt */ +(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8792],{35947:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(96540),o=n(58168),a=n(53259),s=n.n(a),i=n(84054);const d={"009da349":[()=>n.e(5093).then(n.bind(n,89110)),"@site/docs/study/back/index.md",89110],"013f59b8":[()=>n.e(3325).then(n.bind(n,83968)),"@site/docs/iotcloud/connect/tcp.md",83968],"01a85c17":[()=>Promise.all([n.e(1869),n.e(8209)]).then(n.bind(n,69158)),"@theme/BlogTagsListPage",69158],"01c8f07b":[()=>n.e(1570).then(n.bind(n,66535)),"@site/docs/iotcloud/connect/index.md",66535],"01d46eee":[()=>n.e(159).then(n.bind(n,9794)),"@site/docs/study/back/maven/\u5e38\u7528\u53c2\u6570.md",9794],"03101150":[()=>n.e(3310).then(n.bind(n,90808)),"@site/docs/study/program/ETL/kettle.md",90808],"037fbca4":[()=>n.e(9229).then(n.bind(n,39540)),"@site/docs/study/program/ETL/flume.md",39540],"03cd0d32":[()=>n.e(7486).then(n.bind(n,39752)),"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB.md",39752],"0463cd48":[()=>n.e(1187).then(n.bind(n,794)),"@site/docs/study/encryption/OpenSSL.md",794],"04cddcee":[()=>n.e(4003).then(n.bind(n,10735)),"@site/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93.md",10735],"04e0d125":[()=>n.e(2502).then(n.bind(n,52569)),"@site/docs/study/back/IEDA/encoding.md",52569],"04e22f3f":[()=>n.e(2677).then(n.bind(n,98751)),"@site/docs/study/program/index.md",98751],"06a5f76a":[()=>n.e(8985).then(n.bind(n,47843)),"@site/docs/iotcloud/alarmlinkage/index.md",47843],"086f0ef7":[()=>n.e(1999).then(n.bind(n,31716)),"@site/docs/study/db/SQL/PostgreSQL.md",31716],"09c52fbb":[()=>n.e(5074).then(n.bind(n,63970)),"@site/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5.md",63970],"0a1f7513":[()=>n.e(4963).then(n.bind(n,31191)),"@site/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch.md",31191],"0ad179ee":[()=>n.e(9121).then(n.bind(n,99527)),"@site/docs/study/competitive/TP-LINK.md",99527],"0b24b89a":[()=>n.e(855).then(n.t.bind(n,80681,19)),"~blog/default/blog-tags-github-page-4ee-list.json",80681],"0b36e747":[()=>n.e(6493).then(n.bind(n,51535)),"@site/docs/study/back/spring/SpringSecurity.md",51535],"0b7620c8":[()=>n.e(7817).then(n.bind(n,20514)),"@site/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4.md",20514],"0dc7fd42":[()=>n.e(8901).then(n.bind(n,68349)),"@site/docs/study/program/ETL/sqoop.md",68349],"0dfb2733":[()=>n.e(4908).then(n.bind(n,46173)),"@site/docs/study/program/ABIAPI.md",46173],"0e133684":[()=>n.e(8529).then(n.bind(n,18247)),"@site/docs/study/system/openWRT.md",18247],"0eb2e058":[()=>n.e(8486).then(n.bind(n,87829)),"@site/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898.md",87829],"0eefe494":[()=>n.e(4243).then(n.bind(n,70123)),"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB.md",70123],"0f04c4bf":[()=>n.e(6784).then(n.bind(n,22945)),"@site/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e.md",22945],"12d1694e":[()=>n.e(1293).then(n.bind(n,81847)),"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528.md",81847],"1387c807":[()=>n.e(6598).then(n.bind(n,88881)),"@site/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a.md",88881],"15ae2b3f":[()=>n.e(256).then(n.bind(n,12905)),"@site/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6.md",12905],17896441:[()=>Promise.all([n.e(1869),n.e(9717),n.e(8401)]).then(n.bind(n,25022)),"@theme/DocItem",25022],"1830dc74":[()=>n.e(3751).then(n.bind(n,70916)),"@site/docs/study/db/SQL/MariaDB.md",70916],"18536aaa":[()=>n.e(6393).then(n.bind(n,44836)),"@site/docs/study/docker/Docker-compose.md",44836],"185d830e":[()=>n.e(6113).then(n.bind(n,12564)),"@site/docs/study/db/SQL/Kingbase.md",12564],"1aa9ac35":[()=>n.e(6019).then(n.bind(n,8605)),"@site/docs/study/db/SQL/OpenGauss.md",8605],"1ad4833d":[()=>n.e(3783).then(n.bind(n,64074)),"@site/docs/study/devops/SHELL.md",64074],"1b135b54":[()=>n.e(344).then(n.bind(n,68173)),"@site/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7.md",68173],"1b25ada3":[()=>n.e(842).then(n.bind(n,18217)),"@site/docs/iotcloud/connect/mqtt.md",18217],"1be78505":[()=>Promise.all([n.e(1869),n.e(8714)]).then(n.bind(n,50010)),"@theme/DocPage",50010],"1c123384":[()=>n.e(1084).then(n.bind(n,44715)),"@site/docs/study/program/JAVA/Guice.md",44715],"1c2262cb":[()=>n.e(7420).then(n.bind(n,17434)),"@site/docs/iotcloud/usercenter/system-user.md",17434],"1c40b03d":[()=>n.e(3180).then(n.bind(n,37941)),"@site/docs/iotcloud/usercenter/customer.md",37941],"1d6606cd":[()=>n.e(2347).then(n.bind(n,93976)),"@site/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861.md",93976],"1df90d44":[()=>n.e(407).then(n.bind(n,11821)),"@site/docs/study/back/IEDA/fileandcodetemplates.md",11821],"1e8406f2":[()=>n.e(6407).then(n.bind(n,64223)),"@site/docs/study/program/JAVA/Maven.md",64223],"1ea907ab":[()=>n.e(3441).then(n.bind(n,89111)),"@site/docs/study/program/C/extern-c.md",89111],"1f391b9e":[()=>Promise.all([n.e(1869),n.e(9717),n.e(6061)]).then(n.bind(n,67973)),"@theme/MDXPage",67973],"1fa31a57":[()=>n.e(4152).then(n.bind(n,37954)),"@site/docs/study/docker/docker-kafka.md",37954],"2015f8aa":[()=>n.e(2788).then(n.bind(n,79044)),"@site/docs/study/net/netns.md",79044],"2064198b":[()=>n.e(439).then(n.bind(n,28397)),"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60.md",28397],"20ecba9b":[()=>n.e(5779).then(n.bind(n,11820)),"@site/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3.md",11820],"228940c7":[()=>n.e(7152).then(n.bind(n,75377)),"@site/docs/study/program/JS/npx.md",75377],"22d8222a":[()=>n.e(4504).then(n.bind(n,2065)),"@site/docs/study/docker/index.md",2065],"249c18b0":[()=>n.e(9684).then(n.bind(n,36940)),"@site/docs/study/program/JAVA/RxJava.md",36940],25692582:[()=>n.e(7782).then(n.bind(n,90126)),"@site/docs/study/system/shell\u7f16\u7a0b\u667aexpect.md",90126],"26299e01":[()=>n.e(9343).then(n.bind(n,97831)),"@site/docs/study/net/\u5f02\u5730\u7ec4\u7f51.md",97831],26739764:[()=>n.e(6819).then(n.bind(n,43760)),"@site/docs/study/back/maven/mvnw.md",43760],"281494d0":[()=>n.e(7145).then(n.bind(n,15171)),"@site/docs/xuanxing/fe/3-\u7528\u6237\u7aef\u7ba1\u7406\u7aef.md",15171],"28f5562e":[()=>n.e(2228).then(n.bind(n,7591)),"@site/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784.md",7591],"299c9998":[()=>n.e(2433).then(n.bind(n,48013)),"@site/docs/study/stock/20241010.md",48013],"29ac29a0":[()=>n.e(9136).then(n.bind(n,28336)),"@site/docs/study/back/IEDA/save-action.md",28336],"2a0a68ae":[()=>n.e(2613).then(n.bind(n,17476)),"@site/docs/study/program/JS/nrm.md",17476],"2a4fe0d4":[()=>n.e(6021).then(n.bind(n,45519)),"@site/docs/study/encryption/ASN.1.md",45519],"2a714a8e":[()=>n.e(7448).then(n.bind(n,22813)),"@site/docs/study/back/spring/SpringBoot.md",22813],"2b486500":[()=>n.e(1808).then(n.bind(n,61914)),"@site/docs/study/net/tuntap.md",61914],"2b5f2f35":[()=>n.e(5350).then(n.bind(n,36707)),"@site/docs/study/other/\u5b57\u8282\u5e8f.md",36707],"2bc909a9":[()=>n.e(8788).then(n.bind(n,25700)),"@site/docs/study/index.md",25700],"2c29bcc5":[()=>n.e(7748).then(n.bind(n,92945)),"@site/docs/iotcloud/devicemanager/device-info.md",92945],"2d2ef872":[()=>n.e(4283).then(n.bind(n,2212)),"@site/docs/study/encryption/index.md",2212],"2dda2596":[()=>n.e(8906).then(n.bind(n,94966)),"@site/docs/study/net/iptables.md",94966],"2e250d6d":[()=>n.e(5565).then(n.bind(n,5689)),"@site/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1.md",5689],"2e955f05":[()=>n.e(6550).then(n.bind(n,69841)),"@site/docs/xuanxing/devops/index.md",69841],"2f2a38c9":[()=>n.e(8753).then(n.bind(n,42838)),"@site/docs/study/encryption/ECC-RSA.md",42838],"2f91c6b8":[()=>n.e(2472).then(n.bind(n,15411)),"@site/docs/study/stock/20241016.md",15411],"2fa90042":[()=>n.e(5175).then(n.bind(n,95246)),"@site/docs/study/docker/docker-linux.md",95246],"300ef1aa":[()=>n.e(5466).then(n.bind(n,54479)),"@site/docs/study/stock/20241023.md",54479],"319ed101":[()=>n.e(4377).then(n.bind(n,66969)),"@site/docs/iotcloud/usercenter/index.md",66969],"32dcf95e":[()=>n.e(5650).then(n.bind(n,47120)),"@site/docs/study/db/OLAP/StarRocks.md",47120],"32ef234c":[()=>n.e(7055).then(n.bind(n,89346)),"@site/docs/study/back/mq/MQTT broker.md",89346],"33a0b88e":[()=>n.e(2861).then(n.t.bind(n,4061,19)),"/home/runner/work/yirancn.github.io/yirancn.github.io/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",4061],"3474579f":[()=>n.e(7134).then(n.bind(n,98860)),"@site/docs/study/think/\u9650\u6d41.md",98860],"34a694ac":[()=>n.e(6104).then(n.bind(n,46421)),"@site/docs/study/stock/20241021.md",46421],"34be6e6a":[()=>n.e(7005).then(n.bind(n,12998)),"@site/docs/study/devops/centos-jdk17-app.md",12998],"350be966":[()=>n.e(767).then(n.bind(n,36711)),"@site/docs/study/net/tc.md",36711],"356a0ac6":[()=>n.e(2750).then(n.bind(n,98663)),"@site/src/pages/about.md",98663],"359d7f17":[()=>n.e(2855).then(n.bind(n,70062)),"@site/docs/study/stock/20241114.md",70062],"35b5dc5a":[()=>n.e(385).then(n.bind(n,42519)),"@site/docs/study/net/\u4ee3\u7406.md",42519],"35d73bf2":[()=>n.e(2747).then(n.bind(n,97881)),"@site/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177.md",97881],36351059:[()=>n.e(1213).then(n.bind(n,32582)),"@site/docs/iotcloud/devicemanager/device-group.md",32582],"36780c83":[()=>n.e(9105).then(n.bind(n,68125)),"@site/docs/study/devops/Linux\u8fd0\u7ef4-GRUB.md",68125],"3790afcd":[()=>n.e(3114).then(n.bind(n,62257)),"@site/docs/study/back/IEDA/Maven.md",62257],"3815e5ff":[()=>n.e(1366).then(n.bind(n,75440)),"@site/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97.md",75440],"393be207":[()=>n.e(4134).then(n.bind(n,21509)),"@site/src/pages/markdown-page.md",21509],"397e604e":[()=>n.e(9304).then(n.bind(n,88658)),"@site/docs/iotcloud/usercenter/user-settings.md",88658],"398dd9ed":[()=>n.e(7445).then(n.bind(n,91068)),"@site/docs/study/back/Zookeeper.md",91068],"399850d1":[()=>n.e(2042).then(n.bind(n,26370)),"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine.md",26370],"39e40f36":[()=>n.e(9253).then(n.bind(n,77332)),"@site/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599.md",77332],"3b2c25df":[()=>n.e(496).then(n.bind(n,52871)),"@site/docs/study/db/SQL/MySQL-\u7b14\u8bb0.md",52871],"3b47b6b5":[()=>n.e(9688).then(n.bind(n,63036)),"@site/docs/study/hard/index.md",63036],"3bd11cc0":[()=>n.e(4816).then(n.bind(n,6194)),"@site/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526.md",6194],"3c356cd2":[()=>n.e(2582).then(n.bind(n,31302)),"@site/docs/study/net/\u5185\u7f51\u7a7f\u900f.md",31302],"3c4f1597":[()=>n.e(3845).then(n.bind(n,9951)),"@site/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t.md",9951],"3e116dbc":[()=>n.e(822).then(n.bind(n,90226)),"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1.md",90226],"3eef7308":[()=>n.e(1956).then(n.bind(n,25027)),"@site/docs/study/net/UDP.md",25027],"3f06bf29":[()=>n.e(4501).then(n.bind(n,78195)),"@site/docs/study/program/C/\u6784\u5efa\u5de5\u5177.md",78195],"42c9ab86":[()=>n.e(8274).then(n.bind(n,33697)),"@site/docs/study/net/pfctl\u9632\u706b\u5899.md",33697],"42fe7d73":[()=>n.e(2325).then(n.bind(n,8432)),"@site/docs/study/devops/ansible.md",8432],"44c08670":[()=>n.e(9489).then(n.bind(n,76175)),"@site/docs/study/net/ip.md",76175],"455d41bc":[()=>n.e(6097).then(n.bind(n,56204)),"@site/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0.md",56204],"461e82b5":[()=>n.e(3946).then(n.bind(n,583)),"@site/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1.md",583],"46c2ebc5":[()=>n.e(2143).then(n.bind(n,83513)),"@site/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f.md",83513],"477d3230":[()=>n.e(8571).then(n.bind(n,29021)),"@site/docs/study/stock/20241029.md",29021],"47d775f0":[()=>n.e(6093).then(n.bind(n,72841)),"@site/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4.md",72841],"489cc4f4":[()=>n.e(7876).then(n.bind(n,63108)),"@site/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4.md",63108],"48d69a04":[()=>n.e(1715).then(n.bind(n,95190)),"@site/docs/study/docker/docker-network.md",95190],"4a7a0e3b":[()=>n.e(7808).then(n.bind(n,22184)),"@site/docs/study/back/WSL.md",22184],"4ae7651e":[()=>n.e(2539).then(n.bind(n,47490)),"@site/docs/study/stock/20241024.md",47490],"4af85ab8":[()=>n.e(4072).then(n.bind(n,91850)),"@site/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7.md",91850],"4b0ccf38":[()=>n.e(3624).then(n.bind(n,94871)),"@site/docs/xuanxing/index.md",94871],"4cf8b132":[()=>n.e(8998).then(n.t.bind(n,37314,19)),"~blog/default/blog-tags-github-page-4ee.json",37314],"4d36f4bb":[()=>n.e(7686).then(n.bind(n,57525)),"@site/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528.md",57525],"4d7f5141":[()=>n.e(7891).then(n.bind(n,9835)),"@site/docs/study/devops/Linux\u8fd0\u7ef4-proc.md",9835],"4d86c8f8":[()=>n.e(1090).then(n.bind(n,42339)),"@site/docs/study/net/IPV6.md",42339],"4d9c298c":[()=>n.e(3327).then(n.bind(n,46510)),"@site/docs/study/stock/20241011.md",46510],"4ed715ca":[()=>n.e(8451).then(n.bind(n,20835)),"@site/docs/study/back/springcloud/nacos.md",20835],"4f086afd":[()=>n.e(5452).then(n.bind(n,30035)),"@site/docs/study/net/VLAN-VXLAN.md",30035],"4f6149ca":[()=>n.e(6923).then(n.bind(n,30916)),"@site/docs/iotcloud/devicemanager/index.md",30916],"4fb554a1":[()=>n.e(8859).then(n.bind(n,91648)),"@site/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0.md",91648],"50eef34b":[()=>n.e(5861).then(n.bind(n,32072)),"@site/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76.md",32072],51316701:[()=>n.e(3073).then(n.bind(n,20480)),"@site/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e.md",20480],52135254:[()=>n.e(1812).then(n.bind(n,8124)),"@site/docs/study/program/\u6280\u672f\u6587\u6863.md",8124],"52f475a2":[()=>n.e(2829).then(n.bind(n,23623)),"@site/docs/study/stock/20241108.md",23623],"5535d7af":[()=>n.e(5755).then(n.bind(n,56638)),"@site/docs/study/net/SNMP.md",56638],"576ec208":[()=>n.e(15).then(n.bind(n,45892)),"@site/docs/study/program/JAVA/GraalVM.md",45892],"582dea03":[()=>n.e(5979).then(n.bind(n,49280)),"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f.md",49280],"588433b1":[()=>n.e(5537).then(n.bind(n,55489)),"@site/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1.md",55489],"5886a939":[()=>n.e(7840).then(n.bind(n,70344)),"@site/docs/study/system/index.md",70344],59362658:[()=>n.e(9325).then(n.bind(n,94661)),"@site/blog/2021-08-01-mdx-blog-post.mdx",94661],"5ae76acd":[()=>n.e(6427).then(n.bind(n,8624)),"@site/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1.md",8624],"5b169d85":[()=>n.e(8113).then(n.bind(n,89782)),"@site/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316.md",89782],"5b270517":[()=>n.e(5006).then(n.bind(n,45509)),"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB.md",45509],"5b89160d":[()=>n.e(2202).then(n.bind(n,89022)),"@site/docs/study/competitive/ThingsCloud.md",89022],"5ca6a2d2":[()=>n.e(2189).then(n.bind(n,5554)),"@site/docs/study/db/NoSQL/Redis.md",5554],"5d0c646c":[()=>n.e(4080).then(n.bind(n,21056)),"@site/docs/study/system/\u5185\u5b58\u7ba1\u7406.md",21056],"5d4ec3d4":[()=>n.e(8295).then(n.bind(n,90008)),"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc.md",90008],"5d7c8d18":[()=>n.e(4913).then(n.bind(n,80057)),"@site/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316.md",80057],"5e266219":[()=>n.e(5731).then(n.bind(n,61112)),"@site/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4.md",61112],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"5f2eed60":[()=>n.e(2168).then(n.bind(n,35130)),"@site/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177.md",35130],"5f897b5c":[()=>n.e(184).then(n.bind(n,50949)),"@site/docs/study/program/GIT/PR\u548cMR.md",50949],"605a1ee6":[()=>n.e(5336).then(n.bind(n,69748)),"@site/docs/study/stock/20241105.md",69748],"608ae6a4":[()=>n.e(4722).then(n.t.bind(n,21557,19)),"~blog/default/blog-tags-docusaurus-0e0-list.json",21557],"61127ee0":[()=>n.e(5218).then(n.bind(n,95987)),"@site/docs/study/back/\u9ad8\u5e76\u53d1API.md",95987],"62465e63":[()=>n.e(1746).then(n.bind(n,50480)),"@site/docs/study/db/OLAP/ClickHouse.md",50480],"62781bcd":[()=>n.e(3806).then(n.bind(n,19583)),"@site/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0.md",19583],"62b25442":[()=>n.e(310).then(n.bind(n,47001)),"@site/docs/study/program/Golang/CGO.md",47001],"6360ef06":[()=>n.e(5543).then(n.bind(n,88150)),"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis.md",88150],"63beabb4":[()=>n.e(1118).then(n.bind(n,10781)),"@site/docs/study/encryption/PKCS.md",10781],64949222:[()=>n.e(6627).then(n.bind(n,89658)),"@site/docs/study/stock/20241015.md",89658],"64c9ca80":[()=>n.e(7021).then(n.bind(n,5638)),"@site/docs/study/db/SQL/\u8fbe\u68a6.md",5638],"65c56656":[()=>n.e(7269).then(n.bind(n,52176)),"@site/docs/xuanxing/fe/4-\u79fb\u52a8\u7aef.md",52176],"67e91227":[()=>n.e(9376).then(n.bind(n,52271)),"@site/docs/study/program/C/make.md",52271],"68202b49":[()=>n.e(8302).then(n.bind(n,42359)),"@site/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3.md",42359],"68699a4c":[()=>n.e(695).then(n.bind(n,70326)),"@site/docs/study/program/JS/npm.md",70326],"6875c492":[()=>Promise.all([n.e(1869),n.e(9717),n.e(3369),n.e(4813)]).then(n.bind(n,33069)),"@theme/BlogTagsPostsPage",33069],"69ea6d61":[()=>n.e(8075).then(n.bind(n,72415)),"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd.md",72415],"6b91e1af":[()=>n.e(6902).then(n.bind(n,60279)),"@site/docs/study/db/NoSQL/Cassandra.md",60279],"6bfc7002":[()=>n.e(7165).then(n.bind(n,7824)),"@site/docs/study/devops/index.md",7824],"6c0bce26":[()=>n.e(1980).then(n.bind(n,85950)),"@site/docs/study/back/maven/\u6784\u5efaDocker.md",85950],"6c9e9146":[()=>n.e(5464).then(n.bind(n,6239)),"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB.md",6239],"6cce85b2":[()=>n.e(2039).then(n.bind(n,65722)),"@site/docs/study/program/Lua/index.md",65722],"6d57cdd2":[()=>n.e(7466).then(n.bind(n,19321)),"@site/docs/study/stock/20241111.md",19321],"6de29db3":[()=>n.e(3066).then(n.bind(n,48444)),"@site/docs/study/back/spring/@Resource@Autowired.md",48444],"72b2f356":[()=>n.e(2700).then(n.bind(n,54581)),"@site/docs/study/program/Kotlin/index.md",54581],73162314:[()=>n.e(6898).then(n.bind(n,34398)),"@site/docs/study/db/SQL/MySQL.md",34398],"74adc76f":[()=>n.e(1399).then(n.bind(n,78863)),"@site/docs/xuanxing/back/index.md",78863],"74b4aa98":[()=>n.e(3493).then(n.bind(n,74262)),"@site/blog/2023-04-14-about-site/index.md?truncated=true",74262],"75219fff":[()=>n.e(3213).then(n.bind(n,52069)),"@site/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247.md",52069],"7660f772":[()=>n.e(3364).then(n.bind(n,3088)),"@site/docs/study/back/API\u7f51\u5173/OpenResty.md",3088],"795941ce":[()=>n.e(4968).then(n.bind(n,97337)),"@site/docs/study/back/API\u7f51\u5173/APISIX.md",97337],"7a58d7fa":[()=>n.e(7484).then(n.bind(n,39414)),"@site/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49.md",39414],"7bed50c7":[()=>n.e(8342).then(n.bind(n,50917)),"@site/docs/study/stock/20241018.md",50917],"7c0c45cc":[()=>n.e(1521).then(n.bind(n,29147)),"@site/docs/study/back/mq/Kafka.md",29147],"7c66c59a":[()=>n.e(5599).then(n.bind(n,27366)),"@site/docs/study/devops/ssh.md",27366],"7dce8d84":[()=>n.e(3290).then(n.bind(n,97263)),"@site/docs/study/stock/20241009.md",97263],"7f32d532":[()=>n.e(6349).then(n.bind(n,97002)),"@site/docs/study/program/C/cmake.md",97002],"80403a0b":[()=>n.e(1197).then(n.bind(n,7891)),"@site/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f.md",7891],"814f3328":[()=>n.e(7472).then(n.t.bind(n,55513,19)),"~blog/default/blog-post-list-prop-default.json",55513],"817aa27b":[()=>n.e(4632).then(n.bind(n,66015)),"@site/docs/study/db/NoSQL/MongoDB.md",66015],"826108d9":[()=>n.e(7671).then(n.bind(n,35215)),"@site/docs/study/think/index.md",35215],"8303fa10":[()=>n.e(8723).then(n.bind(n,71975)),"@site/docs/study/ai/index.md",71975],"8497e197":[()=>n.e(7441).then(n.bind(n,9830)),"@site/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3.md",9830],"84ea7d53":[()=>n.e(0).then(n.bind(n,4012)),"@site/docs/study/net/vpn.md",4012],88504535:[()=>n.e(6397).then(n.bind(n,82076)),"@site/docs/study/stock/20241112.md",82076],"890e3ca7":[()=>n.e(6533).then(n.bind(n,74696)),"@site/docs/study/stock/20241022.md",74696],"89a98191":[()=>n.e(3991).then(n.bind(n,64792)),"@site/docs/study/net/OpenVPN.md",64792],"8a15073d":[()=>n.e(4002).then(n.bind(n,87324)),"@site/docs/study/stock/20241017.md",87324],"8a1a07c4":[()=>n.e(9726).then(n.bind(n,2028)),"@site/docs/study/encryption/HSM.md",2028],"8a4b28e1":[()=>n.e(5916).then(n.bind(n,34496)),"@site/docs/study/stock/\u672f.md",34496],"8ac6cabb":[()=>n.e(1821).then(n.bind(n,3906)),"@site/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba.md",3906],"8b59d635":[()=>n.e(2041).then(n.bind(n,30716)),"@site/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c.md",30716],"8b70c8d9":[()=>n.e(3108).then(n.bind(n,61177)),"@site/docs/study/program/GIT/GitHubDesktop.md",61177],"8c25001a":[()=>n.e(9269).then(n.bind(n,3462)),"@site/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5.md",3462],"8cc20a8d":[()=>n.e(3338).then(n.bind(n,24073)),"@site/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b.md",24073],"8d7693a3":[()=>n.e(4116).then(n.bind(n,67182)),"@site/docs/study/system/IO.md",67182],"8dc1e402":[()=>n.e(5902).then(n.bind(n,31835)),"@site/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2.md",31835],"8f9566ba":[()=>n.e(1312).then(n.bind(n,72507)),"@site/docs/study/program/JAVA/JDK17-bin.md",72507],"8fdf64da":[()=>n.e(748).then(n.bind(n,26837)),"@site/docs/study/back/API\u7f51\u5173/index.md",26837],"9062da7c":[()=>n.e(9063).then(n.bind(n,58454)),"@site/docs/study/docker/docker-mysql.md",58454],"90f76576":[()=>n.e(1149).then(n.bind(n,29555)),"@site/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3.md",29555],"9112f769":[()=>n.e(8618).then(n.bind(n,69028)),"@site/docs/study/stock/\u9053.md",69028],"916bb7d8":[()=>n.e(4056).then(n.bind(n,25025)),"@site/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3.md",25025],"917fe9d9":[()=>n.e(3353).then(n.bind(n,77452)),"@site/docs/study/system/yum-dnf.md",77452],"935f2afb":[()=>n.e(8581).then(n.t.bind(n,35610,19)),"~docs/default/version-current-metadata-prop-751.json",35610],"94529d15":[()=>n.e(2996).then(n.bind(n,6061)),"@site/docs/study/program/C/index.md",6061],"947d4688":[()=>n.e(9203).then(n.bind(n,32543)),"@site/docs/study/fe/mqtt.js.md",32543],"955edfb7":[()=>n.e(1056).then(n.bind(n,95802)),"@site/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f.md",95802],"96162fed":[()=>n.e(3428).then(n.bind(n,33942)),"@site/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6.md",33942],"9703c56f":[()=>n.e(4680).then(n.bind(n,42905)),"@site/docs/study/fe/WebGL.md",42905],"970d441f":[()=>n.e(1858).then(n.bind(n,8090)),"@site/docs/study/back/Keepalived.md",8090],"97b42080":[()=>n.e(8351).then(n.bind(n,99906)),"@site/docs/study/net/\u6293\u5305\u5de5\u5177.md",99906],"9801fcb7":[()=>n.e(7401).then(n.bind(n,57647)),"@site/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790.md",57647],"9a914db6":[()=>n.e(5631).then(n.bind(n,49606)),"@site/docs/study/think/\u5e76\u53d1\u6a21\u578b.md",49606],"9ad28e53":[()=>n.e(4630).then(n.bind(n,19895)),"@site/docs/study/program/CSharp/index.md",19895],"9b213dcf":[()=>n.e(3299).then(n.bind(n,46006)),"@site/docs/study/db/\u9a71\u52a8/ApacheShardingSphere.md",46006],"9c88f308":[()=>n.e(5034).then(n.bind(n,96503)),"@site/docs/study/program/JAVA/JNI.md",96503],"9d0163be":[()=>n.e(927).then(n.bind(n,75342)),"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid.md",75342],"9e4087bc":[()=>n.e(2711).then(n.bind(n,89331)),"@theme/BlogArchivePage",89331],"9f5c6157":[()=>n.e(3125).then(n.bind(n,55736)),"@site/docs/study/think/\u7f13\u5b58/\u7f13\u5b58.md",55736],a3633e48:[()=>n.e(9878).then(n.bind(n,19060)),"@site/docs/study/fe/index.md",19060],a47a01cb:[()=>n.e(2190).then(n.bind(n,6360)),"@site/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55.md",6360],a4c44b85:[()=>n.e(5878).then(n.bind(n,83192)),"@site/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f.md",83192],a53f992a:[()=>n.e(9583).then(n.bind(n,19812)),"@site/docs/study/db/NoSQL/Hadoop.md",19812],a5cbff69:[()=>n.e(821).then(n.bind(n,30310)),"@site/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177.md",30310],a633caa1:[()=>n.e(1902).then(n.bind(n,8634)),"@site/docs/study/program/JAVA/JDK21.md",8634],a6aa9e1f:[()=>Promise.all([n.e(1869),n.e(9717),n.e(3369),n.e(7643)]).then(n.bind(n,77785)),"@theme/BlogListPage",77785],a6c94d4c:[()=>n.e(7649).then(n.bind(n,46534)),"@site/docs/iotcloud/index.md",46534],a7023ddc:[()=>n.e(9267).then(n.t.bind(n,28289,19)),"~blog/default/blog-tags-tags-4c2.json",28289],a76cbea0:[()=>n.e(3402).then(n.t.bind(n,92634,19)),"~blog/default/blog-tags-\u7269\u8054\u7f51\u5e73\u53f0-91a-list.json",92634],a7f1c1ae:[()=>n.e(8922).then(n.bind(n,40600)),"@site/docs/study/db/NoSQL/Hbase.md",40600],a80da1cf:[()=>n.e(497).then(n.t.bind(n,21550,19)),"~blog/default/blog-tags-docusaurus-0e0.json",21550],aae926f6:[()=>n.e(1995).then(n.bind(n,74260)),"@site/docs/study/encryption/SSL_TLS.md",74260],ac6e53b7:[()=>n.e(2961).then(n.bind(n,36068)),"@site/docs/study/program/\u7f16\u8bd1\u5668.md",36068],adffe501:[()=>n.e(2540).then(n.bind(n,93426)),"@site/docs/study/stock/20241107.md",93426],aef8cf14:[()=>n.e(3971).then(n.bind(n,28339)),"@site/docs/iotcloud/connect/http.md",28339],afde6f8f:[()=>n.e(7133).then(n.bind(n,60850)),"@site/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f.md",60850],b00d0a4a:[()=>n.e(8914).then(n.bind(n,20421)),"@site/docs/study/stock/20241102.md",20421],b14b689b:[()=>n.e(225).then(n.bind(n,24788)),"@site/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790.md",24788],b153ec3c:[()=>n.e(9390).then(n.bind(n,89624)),"@site/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838.md",89624],b2645d4e:[()=>n.e(379).then(n.bind(n,70391)),"@site/docs/study/db/NoSQL/Ignite.md",70391],b2b675dd:[()=>n.e(1991).then(n.t.bind(n,29775,19)),"~blog/default/blog-c06.json",29775],b2f554cd:[()=>n.e(5894).then(n.t.bind(n,76042,19)),"~blog/default/blog-archive-80c.json",76042],b34206f0:[()=>n.e(3228).then(n.bind(n,96256)),"@site/docs/study/program/C/\u865a\u62df\u7f51\u5361.md",96256],b3480cf8:[()=>n.e(6215).then(n.bind(n,79554)),"@site/blog/2023-04-14-about-site/index.md",79554],b38419a7:[()=>n.e(2320).then(n.bind(n,42996)),"@site/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0.md",42996],b39354b4:[()=>n.e(3011).then(n.bind(n,2891)),"@site/docs/study/back/springcloud/\u5fae\u670d\u52a1.md",2891],b4a7dd16:[()=>n.e(720).then(n.bind(n,14451)),"@site/docs/study/program/Erlang/index.md",14451],b6694e92:[()=>n.e(9624).then(n.bind(n,46086)),"@site/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0.md",46086],b748eaf7:[()=>n.e(8073).then(n.bind(n,10392)),"@site/docs/study/stock/20241101.md",10392],b8323c1b:[()=>n.e(1073).then(n.bind(n,2001)),"@site/docs/study/program/C/C\u8bed\u8a00\u7248\u672c.md",2001],b8eb6aba:[()=>n.e(7452).then(n.bind(n,42346)),"@site/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6.md",42346],b9b03f91:[()=>n.e(6447).then(n.bind(n,3505)),"@site/docs/study/stock/20241106.md",3505],ba902cdb:[()=>n.e(1176).then(n.t.bind(n,52945,19)),"/home/runner/work/yirancn.github.io/yirancn.github.io/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",52945],bb29b3f8:[()=>n.e(9967).then(n.bind(n,34557)),"@site/docs/study/program/JAVA/OepnJ9.md",34557],bc4e745a:[()=>n.e(1256).then(n.bind(n,95356)),"@site/docs/study/docker/Docker-swarm.md",95356],bc4fa409:[()=>n.e(850).then(n.bind(n,56714)),"@site/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6.md",56714],be2a55e4:[()=>n.e(9450).then(n.bind(n,70351)),"@site/docs/study/program/Dart/Flutter.md",70351],beb59f52:[()=>n.e(7215).then(n.bind(n,95769)),"@site/docs/study/stock/20241014.md",95769],c06ef779:[()=>n.e(2368).then(n.bind(n,93806)),"@site/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB.md",93806],c2f053b8:[()=>n.e(6316).then(n.bind(n,23892)),"@site/docs/study/stock/20241031.md",23892],c348e262:[()=>n.e(3935).then(n.bind(n,22108)),"@site/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5.md",22108],c3633f34:[()=>n.e(5290).then(n.bind(n,48438)),"@site/docs/study/think/IT_CT_OT.md",48438],c38cd4f0:[()=>n.e(8816).then(n.bind(n,60489)),"@site/docs/study/competitive/CMP-DMP-AEP-BAP.md",60489],c453cefa:[()=>n.e(7317).then(n.bind(n,67699)),"@site/docs/study/program/C/MinGW_CygWin.md",67699],c4f5d8e4:[()=>Promise.all([n.e(1869),n.e(2634)]).then(n.bind(n,57106)),"@site/src/pages/index.js",57106],c50996a1:[()=>n.e(9826).then(n.bind(n,90518)),"@site/docs/study/net/MacOS\u7f16\u8bd1OpenVPN.md",90518],c624ce3c:[()=>n.e(2424).then(n.bind(n,84093)),"@site/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210.md",84093],c7df6888:[()=>n.e(9089).then(n.bind(n,23421)),"@site/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93.md",23421],c7fe4f6d:[()=>n.e(1522).then(n.bind(n,50534)),"@site/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4.md",50534],c86c7bbe:[()=>n.e(2923).then(n.bind(n,88263)),"@site/docs/study/db/\u7efc\u5408.md",88263],c9298fde:[()=>n.e(4423).then(n.bind(n,4166)),"@site/docs/study/back/POST\u7f16\u7801\u683c\u5f0f.md",4166],c99ad496:[()=>n.e(3088).then(n.bind(n,73999)),"@site/docs/study/program/JAVA/JDK17.md",73999],c9e57e8c:[()=>n.e(8194).then(n.bind(n,93105)),"@site/docs/study/db/NewSQL/TiDB.md",93105],cadc4043:[()=>n.e(8399).then(n.bind(n,67878)),"@site/docs/study/program/Rust/index.md",67878],ccc49370:[()=>Promise.all([n.e(1869),n.e(9717),n.e(3369),n.e(3249)]).then(n.bind(n,84029)),"@theme/BlogPostPage",84029],cd56b708:[()=>n.e(590).then(n.bind(n,81021)),"@site/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406.md",81021],ce0c2574:[()=>n.e(2693).then(n.bind(n,84084)),"@site/docs/study/program/CPP/CGI.md",84084],d1731c9c:[()=>n.e(2840).then(n.bind(n,92987)),"@site/docs/study/devops/Linux\u53d1\u884c\u7248.md",92987],d188aee2:[()=>n.e(2709).then(n.bind(n,16473)),"@site/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor.md",16473],d29ac9c5:[()=>n.e(1648).then(n.bind(n,53879)),"@site/docs/study/back/mq/RocketMQ.md",53879],d3208707:[()=>n.e(9942).then(n.bind(n,35934)),"@site/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis.md",35934],d4bb2cb0:[()=>n.e(5552).then(n.bind(n,70491)),"@site/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5.md",70491],d5ca52d0:[()=>n.e(8439).then(n.bind(n,34859)),"@site/docs/study/stock/20241104.md",34859],d864a059:[()=>n.e(6172).then(n.bind(n,62330)),"@site/docs/study/net/p2p.md",62330],d8990390:[()=>n.e(4429).then(n.bind(n,21952)),"@site/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3.md",21952],d8a12065:[()=>n.e(664).then(n.bind(n,40397)),"@site/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe.md",40397],d924bf19:[()=>n.e(1226).then(n.bind(n,79906)),"@site/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316.md",79906],d92575b7:[()=>n.e(700).then(n.bind(n,3743)),"@site/docs/study/db/index.md",3743],da59034b:[()=>n.e(1053).then(n.bind(n,32165)),"@site/docs/study/program/CPP/index.md",32165],dae804dd:[()=>n.e(6501).then(n.bind(n,50139)),"@site/docs/study/program/JAVA/JDK8.md",50139],db9f25d2:[()=>n.e(4837).then(n.bind(n,9640)),"@site/docs/study/stock/20241008.md",9640],dd0f37bd:[()=>n.e(4113).then(n.bind(n,63226)),"@site/docs/study/encryption/\u884c\u4e1a\u5206\u6790.md",63226],de78196c:[()=>n.e(7816).then(n.bind(n,55436)),"@site/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58.md",55436],e0041558:[()=>n.e(6473).then(n.bind(n,22112)),"@site/docs/study/competitive/index.md",22112],e0868071:[()=>n.e(9694).then(n.t.bind(n,61966,19)),"/home/runner/work/yirancn.github.io/yirancn.github.io/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",61966],e17376a0:[()=>n.e(7171).then(n.bind(n,81875)),"@site/docs/study/net/TCP.md",81875],e2835ef4:[()=>n.e(8173).then(n.bind(n,11039)),"@site/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink.md",11039],e2fb9f38:[()=>n.e(2926).then(n.bind(n,97529)),"@site/docs/study/net/route.md",97529],e36fd319:[()=>n.e(5382).then(n.bind(n,84893)),"@site/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b.md",84893],e3905ad3:[()=>n.e(9841).then(n.bind(n,70189)),"@site/docs/iotcloud/devicemanager/device-type.md",70189],e49c089a:[()=>n.e(4766).then(n.bind(n,96597)),"@site/docs/study/back/spring/SpringFramework.md",96597],e4e6cea9:[()=>n.e(2863).then(n.bind(n,16597)),"@site/docs/iotcloud/usercenter/user-log.md",16597],e7da4cec:[()=>n.e(9989).then(n.bind(n,14521)),"@site/docs/study/program/C/pragma.md",14521],e907057a:[()=>n.e(2243).then(n.bind(n,56466)),"@site/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7.md",56466],e92b6e83:[()=>n.e(817).then(n.bind(n,43683)),"@site/docs/study/db/NoSQL/Etcd.md",43683],e983cebe:[()=>n.e(9665).then(n.bind(n,73241)),"@site/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model.md",73241],ea5c6e5f:[()=>n.e(7823).then(n.bind(n,89666)),"@site/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72.md",89666],eb3908da:[()=>n.e(403).then(n.bind(n,52315)),"@site/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66.md",52315],eb43d790:[()=>n.e(7017).then(n.t.bind(n,14907,19)),"~blog/default/blog-tags-\u7269\u8054\u7f51\u5e73\u53f0-91a.json",14907],eb846286:[()=>n.e(7368).then(n.bind(n,94215)),"@site/docs/study/devops/centos-gninx-app.md",94215],ec17f0b1:[()=>n.e(6946).then(n.bind(n,59569)),"@site/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316.md",59569],ecff2ea2:[()=>n.e(2389).then(n.bind(n,38149)),"@site/docs/xuanxing/fe/index.md",38149],ed011da4:[()=>n.e(493).then(n.bind(n,10812)),"@site/docs/study/program/JAVA/index.md",10812],ed01863f:[()=>n.e(7144).then(n.bind(n,68739)),"@site/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784.md",68739],ed9ae553:[()=>n.e(5476).then(n.bind(n,14610)),"@site/docs/study/program/Golang/index.md",14610],ee028c53:[()=>n.e(6240).then(n.bind(n,5746)),"@site/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD.md",5746],ee6139c1:[()=>n.e(8810).then(n.bind(n,98352)),"@site/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb.md",98352],eef634fe:[()=>n.e(7575).then(n.bind(n,3511)),"@site/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3.md",3511],efb7dd33:[()=>n.e(4761).then(n.bind(n,17127)),"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6.md",17127],f0420ac0:[()=>n.e(3451).then(n.bind(n,10163)),"@site/docs/study/stock/20241113.md",10163],f12f9261:[()=>n.e(30).then(n.bind(n,47512)),"@site/docs/study/program/JAVA/GC.md",47512],f1999a3d:[()=>n.e(3329).then(n.bind(n,42835)),"@site/docs/study/program/JAVA/Vert.x.md",42835],f1ef9b9d:[()=>n.e(4123).then(n.bind(n,57862)),"@site/docs/study/system/Open\u6b27\u62c9.md",57862],f1f3474f:[()=>n.e(568).then(n.bind(n,76211)),"@site/docs/xuanxing/fe/2-\u5b98\u7f51.md",76211],f3a30e95:[()=>n.e(2373).then(n.bind(n,68851)),"@site/docs/study/program/JAVA/\u9501.md",68851],f4f34a3a:[()=>n.e(3637).then(n.bind(n,55111)),"@site/blog/2021-08-01-mdx-blog-post.mdx?truncated=true",55111],f5515f41:[()=>n.e(3034).then(n.bind(n,22609)),"@site/docs/study/db/OLAP/Kylin.md",22609],f6ece308:[()=>n.e(8391).then(n.bind(n,99702)),"@site/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0.md",99702],f702ddaf:[()=>n.e(9033).then(n.bind(n,26001)),"@site/docs/study/back/spring/SpringAOP.md",26001],f7453080:[()=>n.e(9314).then(n.bind(n,56423)),"@site/docs/xuanxing/thingsboard/index.md",56423],f7a3023e:[()=>n.e(140).then(n.bind(n,9290)),"@site/docs/study/stock/20240711.md",9290],f7ec4137:[()=>n.e(4793).then(n.bind(n,9738)),"@site/docs/xuanxing/fe/5-\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668.md",9738],f90dc98f:[()=>n.e(4586).then(n.bind(n,23209)),"@site/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e.md",23209],f9b897e3:[()=>n.e(3006).then(n.bind(n,12039)),"@site/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1.md",12039],fa157919:[()=>n.e(1208).then(n.bind(n,56194)),"@site/docs/study/think/\u67b6\u6784/\u67b6\u6784.md",56194],fb9c91a0:[()=>n.e(2702).then(n.bind(n,6704)),"@site/docs/study/encryption/PKI.md",6704],fbc1a65b:[()=>n.e(6987).then(n.bind(n,49719)),"@site/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199.md",49719],fd985450:[()=>n.e(1734).then(n.bind(n,46515)),"@site/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72.md",46515],fe084b13:[()=>n.e(2110).then(n.bind(n,13349)),"@site/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316.md",13349],ff928e4a:[()=>n.e(1958).then(n.bind(n,1118)),"@site/docs/study/back/spring/@Configuration.md",1118],ffb15ddc:[()=>n.e(1120).then(n.bind(n,58035)),"@site/docs/study/program/ETL/dataX.md",58035]};function c(e){let{error:t,retry:n,pastDelay:o}=e;return t?r.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,String(t)),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):o?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var u=n(86921),l=n(53102);function p(e,t){if("*"===e)return s()({loading:c,loader:()=>n.e(1774).then(n.bind(n,81774)),modules:["@theme/NotFound"],webpack:()=>[81774],render(e,t){const n=e.default;return r.createElement(l.W,{value:{plugin:{name:"native",id:"default"}}},r.createElement(n,t))}});const a=i[`${e}-${t}`],p={},f=[],m=[],b=(0,u.A)(a);return Object.entries(b).forEach((e=>{let[t,n]=e;const r=d[n];r&&(p[t]=r[0],f.push(r[1]),m.push(r[2]))})),s().Map({loading:c,loader:p,modules:f,webpack:()=>m,render(t,n){const s=JSON.parse(JSON.stringify(a));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let a=s;const i=n.split(".");i.slice(0,-1).forEach((e=>{a=a[e]})),a[i[i.length-1]]=o}));const i=s.__comp;delete s.__comp;const d=s.__context;return delete s.__context,r.createElement(l.W,{value:d},r.createElement(i,(0,o.A)({},s,n)))}})}const f=[{path:"/about/",component:p("/about/","2ee"),exact:!0},{path:"/blog/",component:p("/blog/","388"),exact:!0},{path:"/blog/about-site/",component:p("/blog/about-site/","733"),exact:!0},{path:"/blog/archive/",component:p("/blog/archive/","e42"),exact:!0},{path:"/blog/mdx-blog-post/",component:p("/blog/mdx-blog-post/","8fc"),exact:!0},{path:"/blog/tags/",component:p("/blog/tags/","084"),exact:!0},{path:"/blog/tags/docusaurus/",component:p("/blog/tags/docusaurus/","927"),exact:!0},{path:"/blog/tags/github-page/",component:p("/blog/tags/github-page/","db4"),exact:!0},{path:"/blog/tags/\u7269\u8054\u7f51\u5e73\u53f0/",component:p("/blog/tags/\u7269\u8054\u7f51\u5e73\u53f0/","a7b"),exact:!0},{path:"/markdown-page/",component:p("/markdown-page/","edd"),exact:!0},{path:"/docs/",component:p("/docs/","728"),routes:[{path:"/docs/iotcloud/",component:p("/docs/iotcloud/","4e2"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/alarmlinkage/",component:p("/docs/iotcloud/alarmlinkage/","ef7"),exact:!0},{path:"/docs/iotcloud/connect/",component:p("/docs/iotcloud/connect/","7f1"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/connect/http/",component:p("/docs/iotcloud/connect/http/","c5a"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/connect/mqtt/",component:p("/docs/iotcloud/connect/mqtt/","aa2"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/connect/tcp/",component:p("/docs/iotcloud/connect/tcp/","be2"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/devicemanager/",component:p("/docs/iotcloud/devicemanager/","28a"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/devicemanager/device-group/",component:p("/docs/iotcloud/devicemanager/device-group/","637"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/devicemanager/device-info/",component:p("/docs/iotcloud/devicemanager/device-info/","d50"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/devicemanager/device-type/",component:p("/docs/iotcloud/devicemanager/device-type/","e62"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/usercenter/",component:p("/docs/iotcloud/usercenter/","04e"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/usercenter/customer/",component:p("/docs/iotcloud/usercenter/customer/","a1d"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/usercenter/system-user/",component:p("/docs/iotcloud/usercenter/system-user/","4c0"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/usercenter/user-log/",component:p("/docs/iotcloud/usercenter/user-log/","9c0"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/iotcloud/usercenter/user-settings/",component:p("/docs/iotcloud/usercenter/user-settings/","981"),exact:!0,sidebar:"iotCloudSidebar"},{path:"/docs/study/",component:p("/docs/study/","8b7"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/ai/",component:p("/docs/study/ai/","9db"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/",component:p("/docs/study/back/","497"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/API\u7f51\u5173/",component:p("/docs/study/back/API\u7f51\u5173/","3f7"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/API\u7f51\u5173/APISIX/",component:p("/docs/study/back/API\u7f51\u5173/APISIX/","fcf"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316/",component:p("/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316/","6f6"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/API\u7f51\u5173/OpenResty/",component:p("/docs/study/back/API\u7f51\u5173/OpenResty/","c13"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/IEDA/encoding/",component:p("/docs/study/back/IEDA/encoding/","ed4"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/IEDA/fileandcodetemplates/",component:p("/docs/study/back/IEDA/fileandcodetemplates/","68b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/IEDA/Maven/",component:p("/docs/study/back/IEDA/Maven/","62f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/IEDA/save-action/",component:p("/docs/study/back/IEDA/save-action/","84b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898/",component:p("/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898/","58f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316/",component:p("/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316/","570"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316/",component:p("/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316/","53d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316/",component:p("/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316/","b66"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/Keepalived/",component:p("/docs/study/back/Keepalived/","385"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/maven/mvnw/",component:p("/docs/study/back/maven/mvnw/","b97"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e/",component:p("/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e/","10f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570/",component:p("/docs/study/back/maven/\u5e38\u7528\u53c2\u6570/","544"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/maven/\u6784\u5efaDocker/",component:p("/docs/study/back/maven/\u6784\u5efaDocker/","15f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/mq/Kafka/",component:p("/docs/study/back/mq/Kafka/","1e3"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/mq/MQTT broker/",component:p("/docs/study/back/mq/MQTT broker/","fac"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4/",component:p("/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4/","7ec"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/mq/RocketMQ/",component:p("/docs/study/back/mq/RocketMQ/","b20"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f/",component:p("/docs/study/back/POST\u7f16\u7801\u683c\u5f0f/","7b5"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/spring/@Configuration/",component:p("/docs/study/back/spring/@Configuration/","f15"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/spring/@Resource@Autowired/",component:p("/docs/study/back/spring/@Resource@Autowired/","a0f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/spring/SpringAOP/",component:p("/docs/study/back/spring/SpringAOP/","29b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/spring/SpringBoot/",component:p("/docs/study/back/spring/SpringBoot/","5aa"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/spring/SpringFramework/",component:p("/docs/study/back/spring/SpringFramework/","402"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/spring/SpringSecurity/",component:p("/docs/study/back/spring/SpringSecurity/","9de"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3/",component:p("/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3/","430"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/springcloud/nacos/",component:p("/docs/study/back/springcloud/nacos/","deb"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6/",component:p("/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6/","9f3"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/springcloud/\u5fae\u670d\u52a1/",component:p("/docs/study/back/springcloud/\u5fae\u670d\u52a1/","518"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/WSL/",component:p("/docs/study/back/WSL/","7e1"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/Zookeeper/",component:p("/docs/study/back/Zookeeper/","fb2"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5/",component:p("/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5/","ed1"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2/",component:p("/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2/","df6"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1/",component:p("/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1/","772"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb/",component:p("/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb/","367"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60/",component:p("/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60/","ba2"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis/",component:p("/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis/","5a3"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc/",component:p("/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc/","6b4"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis/",component:p("/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis/","e25"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526/",component:p("/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526/","6c6"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/back/\u9ad8\u5e76\u53d1API/",component:p("/docs/study/back/\u9ad8\u5e76\u53d1API/","eda"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/competitive/",component:p("/docs/study/competitive/","4d4"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/competitive/CMP-DMP-AEP-BAP/",component:p("/docs/study/competitive/CMP-DMP-AEP-BAP/","a0b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/competitive/ThingsCloud/",component:p("/docs/study/competitive/ThingsCloud/","a6a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/competitive/TP-LINK/",component:p("/docs/study/competitive/TP-LINK/","f47"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76/",component:p("/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76/","23a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0/",component:p("/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0/","e7d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/",component:p("/docs/study/db/","297"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/NewSQL/TiDB/",component:p("/docs/study/db/NewSQL/TiDB/","3cb"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/NoSQL/Cassandra/",component:p("/docs/study/db/NoSQL/Cassandra/","0b3"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/NoSQL/Etcd/",component:p("/docs/study/db/NoSQL/Etcd/","86c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/NoSQL/Hadoop/",component:p("/docs/study/db/NoSQL/Hadoop/","1e2"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/NoSQL/Hbase/",component:p("/docs/study/db/NoSQL/Hbase/","f9b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/NoSQL/Ignite/",component:p("/docs/study/db/NoSQL/Ignite/","a07"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/NoSQL/MongoDB/",component:p("/docs/study/db/NoSQL/MongoDB/","f46"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/NoSQL/Redis/",component:p("/docs/study/db/NoSQL/Redis/","30b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/OLAP/ClickHouse/",component:p("/docs/study/db/OLAP/ClickHouse/","39f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/OLAP/Kylin/",component:p("/docs/study/db/OLAP/Kylin/","2bf"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/OLAP/StarRocks/",component:p("/docs/study/db/OLAP/StarRocks/","f9d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0/",component:p("/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0/","911"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/Kingbase/",component:p("/docs/study/db/SQL/Kingbase/","895"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/MariaDB/",component:p("/docs/study/db/SQL/MariaDB/","a86"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/MySQL-\u7b14\u8bb0/",component:p("/docs/study/db/SQL/MySQL-\u7b14\u8bb0/","b04"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/MySQL/",component:p("/docs/study/db/SQL/MySQL/","72b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/OpenGauss/",component:p("/docs/study/db/SQL/OpenGauss/","023"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/PostgreSQL/",component:p("/docs/study/db/SQL/PostgreSQL/","0c4"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0/",component:p("/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0/","65f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72/",component:p("/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72/","96f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72/",component:p("/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72/","4d3"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/SQL/\u8fbe\u68a6/",component:p("/docs/study/db/SQL/\u8fbe\u68a6/","36c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch/",component:p("/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch/","245"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0/",component:p("/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0/","59f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB/",component:p("/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB/","27b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid/",component:p("/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid/","b5b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB/",component:p("/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB/","14d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB/",component:p("/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB/","fde"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB/",component:p("/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB/","f6e"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine/",component:p("/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine/","532"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB/",component:p("/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB/","529"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u7efc\u5408/",component:p("/docs/study/db/\u7efc\u5408/","76a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere/",component:p("/docs/study/db/\u9a71\u52a8/ApacheShardingSphere/","109"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/",component:p("/docs/study/devops/","a9e"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/ansible/",component:p("/docs/study/devops/ansible/","815"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790/",component:p("/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790/","d9e"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/centos-gninx-app/",component:p("/docs/study/devops/centos-gninx-app/","71b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/centos-jdk17-app/",component:p("/docs/study/devops/centos-jdk17-app/","b65"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7/",component:p("/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7/","d4c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/Linux\u53d1\u884c\u7248/",component:p("/docs/study/devops/Linux\u53d1\u884c\u7248/","b9d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB/",component:p("/docs/study/devops/Linux\u8fd0\u7ef4-GRUB/","b32"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/Linux\u8fd0\u7ef4-proc/",component:p("/docs/study/devops/Linux\u8fd0\u7ef4-proc/","fe8"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528/",component:p("/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528/","b11"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e/",component:p("/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e/","473"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd/",component:p("/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd/","e88"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6/",component:p("/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6/","208"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f/",component:p("/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f/","ba4"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1/",component:p("/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1/","c75"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/SHELL/",component:p("/docs/study/devops/SHELL/","54f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/ssh/",component:p("/docs/study/devops/ssh/","101"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7/",component:p("/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7/","3e3"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/docker/",component:p("/docs/study/docker/","424"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/docker/Docker-compose/",component:p("/docs/study/docker/Docker-compose/","7a9"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/docker/docker-kafka/",component:p("/docs/study/docker/docker-kafka/","e12"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/docker/docker-linux/",component:p("/docs/study/docker/docker-linux/","ae9"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/docker/docker-mysql/",component:p("/docs/study/docker/docker-mysql/","3cf"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/docker/docker-network/",component:p("/docs/study/docker/docker-network/","4af"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/docker/Docker-swarm/",component:p("/docs/study/docker/Docker-swarm/","849"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3/",component:p("/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3/","27e"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3/",component:p("/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3/","a19"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/",component:p("/docs/study/encryption/","b25"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/ASN.1/",component:p("/docs/study/encryption/ASN.1/","50c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/ECC-RSA/",component:p("/docs/study/encryption/ECC-RSA/","371"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/HSM/",component:p("/docs/study/encryption/HSM/","c25"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/OpenSSL/",component:p("/docs/study/encryption/OpenSSL/","d2d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/PKCS/",component:p("/docs/study/encryption/PKCS/","33a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/PKI/",component:p("/docs/study/encryption/PKI/","490"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/SSL_TLS/",component:p("/docs/study/encryption/SSL_TLS/","2e6"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5/",component:p("/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5/","09b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1/",component:p("/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1/","ce7"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3/",component:p("/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3/","1a8"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f/",component:p("/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f/","a44"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3/",component:p("/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3/","094"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66/",component:p("/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66/","7a7"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3/",component:p("/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3/","017"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4/",component:p("/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4/","881"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u884c\u4e1a\u5206\u6790/",component:p("/docs/study/encryption/\u884c\u4e1a\u5206\u6790/","f49"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f/",component:p("/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f/","447"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3/",component:p("/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3/","bb8"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/fe/",component:p("/docs/study/fe/","0ba"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7/",component:p("/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7/","db6"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55/",component:p("/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55/","61f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/fe/mqtt.js/",component:p("/docs/study/fe/mqtt.js/","35a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe/",component:p("/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe/","c56"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/fe/WebGL/",component:p("/docs/study/fe/WebGL/","735"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247/",component:p("/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247/","f9c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0/",component:p("/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0/","2f9"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316/",component:p("/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316/","84c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/hard/",component:p("/docs/study/hard/","a59"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a/",component:p("/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a/","350"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1/",component:p("/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1/","1d4"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b/",component:p("/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b/","99e"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4/",component:p("/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4/","03d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/ip/",component:p("/docs/study/net/ip/","64b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/iptables/",component:p("/docs/study/net/iptables/","2f8"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/IPV6/",component:p("/docs/study/net/IPV6/","e1b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e/",component:p("/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e/","6bf"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN/",component:p("/docs/study/net/MacOS\u7f16\u8bd1OpenVPN/","188"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/netns/",component:p("/docs/study/net/netns/","6ed"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/OpenVPN/",component:p("/docs/study/net/OpenVPN/","6d6"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/p2p/",component:p("/docs/study/net/p2p/","316"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/pfctl\u9632\u706b\u5899/",component:p("/docs/study/net/pfctl\u9632\u706b\u5899/","107"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/route/",component:p("/docs/study/net/route/","b88"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/SNMP/",component:p("/docs/study/net/SNMP/","0cf"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/tc/",component:p("/docs/study/net/tc/","ab9"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/TCP/",component:p("/docs/study/net/TCP/","912"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/tuntap/",component:p("/docs/study/net/tuntap/","771"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/UDP/",component:p("/docs/study/net/UDP/","c98"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/VLAN-VXLAN/",component:p("/docs/study/net/VLAN-VXLAN/","c52"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/vpn/",component:p("/docs/study/net/vpn/","5a2"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/\u4ee3\u7406/",component:p("/docs/study/net/\u4ee3\u7406/","694"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/\u5185\u7f51\u7a7f\u900f/",component:p("/docs/study/net/\u5185\u7f51\u7a7f\u900f/","704"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4/",component:p("/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4/","b08"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/\u5f02\u5730\u7ec4\u7f51/",component:p("/docs/study/net/\u5f02\u5730\u7ec4\u7f51/","173"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/\u6293\u5305\u5de5\u5177/",component:p("/docs/study/net/\u6293\u5305\u5de5\u5177/","5f1"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177/",component:p("/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177/","b5d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/other/\u5b57\u8282\u5e8f/",component:p("/docs/study/other/\u5b57\u8282\u5e8f/","f78"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199/",component:p("/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199/","901"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/",component:p("/docs/study/program/","b28"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/ABIAPI/",component:p("/docs/study/program/ABIAPI/","55e"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/",component:p("/docs/study/program/C/","d18"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/cmake/",component:p("/docs/study/program/C/cmake/","21a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93/",component:p("/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93/","2cc"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c/",component:p("/docs/study/program/C/C\u8bed\u8a00\u7248\u672c/","a90"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/extern-c/",component:p("/docs/study/program/C/extern-c/","40a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/make/",component:p("/docs/study/program/C/make/","6b6"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49/",component:p("/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49/","d69"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/MinGW_CygWin/",component:p("/docs/study/program/C/MinGW_CygWin/","30f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/pragma/",component:p("/docs/study/program/C/pragma/","092"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t/",component:p("/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t/","055"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93/",component:p("/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93/","cee"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/\u6784\u5efa\u5de5\u5177/",component:p("/docs/study/program/C/\u6784\u5efa\u5de5\u5177/","29c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/C/\u865a\u62df\u7f51\u5361/",component:p("/docs/study/program/C/\u865a\u62df\u7f51\u5361/","0b4"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/CPP/",component:p("/docs/study/program/CPP/","014"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/CPP/CGI/",component:p("/docs/study/program/CPP/CGI/","41d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1/",component:p("/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1/","5c2"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/CSharp/",component:p("/docs/study/program/CSharp/","464"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Dart/Flutter/",component:p("/docs/study/program/Dart/Flutter/","d3d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599/",component:p("/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599/","25c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Erlang/",component:p("/docs/study/program/Erlang/","840"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/ETL/dataX/",component:p("/docs/study/program/ETL/dataX/","92e"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/ETL/flume/",component:p("/docs/study/program/ETL/flume/","4de"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/ETL/kettle/",component:p("/docs/study/program/ETL/kettle/","39a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/ETL/sqoop/",component:p("/docs/study/program/ETL/sqoop/","a74"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4/",component:p("/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4/","799"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/GIT/GitHubDesktop/",component:p("/docs/study/program/GIT/GitHubDesktop/","c74"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/GIT/PR\u548cMR/",component:p("/docs/study/program/GIT/PR\u548cMR/","b97"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Golang/",component:p("/docs/study/program/Golang/","37d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Golang/CGO/",component:p("/docs/study/program/Golang/CGO/","448"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406/",component:p("/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406/","f5d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177/",component:p("/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177/","949"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6/",component:p("/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6/","987"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/",component:p("/docs/study/program/JAVA/","a6a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/GC/",component:p("/docs/study/program/JAVA/GC/","8cf"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/GraalVM/",component:p("/docs/study/program/JAVA/GraalVM/","cf7"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/Guice/",component:p("/docs/study/program/JAVA/Guice/","4d7"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/JDK17-bin/",component:p("/docs/study/program/JAVA/JDK17-bin/","cb6"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/JDK17/",component:p("/docs/study/program/JAVA/JDK17/","d01"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/JDK21/",component:p("/docs/study/program/JAVA/JDK21/","3ec"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/JDK8/",component:p("/docs/study/program/JAVA/JDK8/","211"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/JNI/",component:p("/docs/study/program/JAVA/JNI/","47e"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/Maven/",component:p("/docs/study/program/JAVA/Maven/","0cb"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/OepnJ9/",component:p("/docs/study/program/JAVA/OepnJ9/","006"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/RxJava/",component:p("/docs/study/program/JAVA/RxJava/","eb2"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/Vert.x/",component:p("/docs/study/program/JAVA/Vert.x/","2c8"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210/",component:p("/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210/","9df"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JAVA/\u9501/",component:p("/docs/study/program/JAVA/\u9501/","8ef"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JS/npm/",component:p("/docs/study/program/JS/npm/","f7e"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JS/npx/",component:p("/docs/study/program/JS/npx/","340"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/JS/nrm/",component:p("/docs/study/program/JS/nrm/","6a9"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Kotlin/",component:p("/docs/study/program/Kotlin/","f24"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Lua/",component:p("/docs/study/program/Lua/","a26"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/Rust/",component:p("/docs/study/program/Rust/","6e0"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/\u6280\u672f\u6587\u6863/",component:p("/docs/study/program/\u6280\u672f\u6587\u6863/","e03"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/\u7f16\u8bd1\u5668/",component:p("/docs/study/program/\u7f16\u8bd1\u5668/","c0c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6/",component:p("/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6/","441"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/stock/20240711/",component:p("/docs/study/stock/20240711/","d7a"),exact:!0},{path:"/docs/study/stock/20241008/",component:p("/docs/study/stock/20241008/","9b3"),exact:!0},{path:"/docs/study/stock/20241009/",component:p("/docs/study/stock/20241009/","19f"),exact:!0},{path:"/docs/study/stock/20241010/",component:p("/docs/study/stock/20241010/","b4b"),exact:!0},{path:"/docs/study/stock/20241011/",component:p("/docs/study/stock/20241011/","a65"),exact:!0},{path:"/docs/study/stock/20241014/",component:p("/docs/study/stock/20241014/","b18"),exact:!0},{path:"/docs/study/stock/20241015/",component:p("/docs/study/stock/20241015/","ba3"),exact:!0},{path:"/docs/study/stock/20241016/",component:p("/docs/study/stock/20241016/","b9b"),exact:!0},{path:"/docs/study/stock/20241017/",component:p("/docs/study/stock/20241017/","5a5"),exact:!0},{path:"/docs/study/stock/20241018/",component:p("/docs/study/stock/20241018/","05a"),exact:!0},{path:"/docs/study/stock/20241021/",component:p("/docs/study/stock/20241021/","9f8"),exact:!0},{path:"/docs/study/stock/20241022/",component:p("/docs/study/stock/20241022/","77b"),exact:!0},{path:"/docs/study/stock/20241023/",component:p("/docs/study/stock/20241023/","e32"),exact:!0},{path:"/docs/study/stock/20241024/",component:p("/docs/study/stock/20241024/","c1a"),exact:!0},{path:"/docs/study/stock/20241029/",component:p("/docs/study/stock/20241029/","939"),exact:!0},{path:"/docs/study/stock/20241031/",component:p("/docs/study/stock/20241031/","80d"),exact:!0},{path:"/docs/study/stock/20241101/",component:p("/docs/study/stock/20241101/","928"),exact:!0},{path:"/docs/study/stock/20241102/",component:p("/docs/study/stock/20241102/","8e1"),exact:!0},{path:"/docs/study/stock/20241104/",component:p("/docs/study/stock/20241104/","dad"),exact:!0},{path:"/docs/study/stock/20241105/",component:p("/docs/study/stock/20241105/","0e9"),exact:!0},{path:"/docs/study/stock/20241106/",component:p("/docs/study/stock/20241106/","4b2"),exact:!0},{path:"/docs/study/stock/20241107/",component:p("/docs/study/stock/20241107/","996"),exact:!0},{path:"/docs/study/stock/20241108/",component:p("/docs/study/stock/20241108/","689"),exact:!0},{path:"/docs/study/stock/20241111/",component:p("/docs/study/stock/20241111/","a0c"),exact:!0},{path:"/docs/study/stock/20241112/",component:p("/docs/study/stock/20241112/","d3b"),exact:!0},{path:"/docs/study/stock/20241113/",component:p("/docs/study/stock/20241113/","b3b"),exact:!0},{path:"/docs/study/stock/20241114/",component:p("/docs/study/stock/20241114/","e24"),exact:!0},{path:"/docs/study/stock/\u672f/",component:p("/docs/study/stock/\u672f/","f2a"),exact:!0},{path:"/docs/study/stock/\u9053/",component:p("/docs/study/stock/\u9053/","bad"),exact:!0},{path:"/docs/study/system/",component:p("/docs/study/system/","50c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1/",component:p("/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1/","502"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/IO/",component:p("/docs/study/system/IO/","54b"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/openWRT/",component:p("/docs/study/system/openWRT/","360"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/Open\u6b27\u62c9/",component:p("/docs/study/system/Open\u6b27\u62c9/","0be"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/shell\u7f16\u7a0b\u667aexpect/",component:p("/docs/study/system/shell\u7f16\u7a0b\u667aexpect/","dcb"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/yum-dnf/",component:p("/docs/study/system/yum-dnf/","368"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/\u5185\u5b58\u7ba1\u7406/",component:p("/docs/study/system/\u5185\u5b58\u7ba1\u7406/","a64"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790/",component:p("/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790/","991"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838/",component:p("/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838/","dad"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5/",component:p("/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5/","9aa"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6/",component:p("/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6/","a3d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/",component:p("/docs/study/think/","132"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/IT_CT_OT/",component:p("/docs/study/think/IT_CT_OT/","d7c"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177/",component:p("/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177/","3fb"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c/",component:p("/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c/","575"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5/",component:p("/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5/","650"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink/",component:p("/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink/","7b6"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u5e76\u53d1\u6a21\u578b/",component:p("/docs/study/think/\u5e76\u53d1\u6a21\u578b/","a8f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u67b6\u6784/",component:p("/docs/study/think/\u67b6\u6784/","bff"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba/",component:p("/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba/","0c2"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784/",component:p("/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784/","d5f"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0/",component:p("/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0/","f33"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b/",component:p("/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b/","a54"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861/",component:p("/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861/","1b8"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f/",component:p("/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f/","465"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model/",component:p("/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model/","06a"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor/",component:p("/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor/","169"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f/",component:p("/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f/","6b9"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u7f13\u5b58/",component:p("/docs/study/think/\u7f13\u5b58/","58d"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58/",component:p("/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58/","511"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f/",component:p("/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f/","fef"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97/",component:p("/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97/","920"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u9650\u6d41/",component:p("/docs/study/think/\u9650\u6d41/","394"),exact:!0,sidebar:"studySidebar"},{path:"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD/",component:p("/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD/","3bf"),exact:!0,sidebar:"studySidebar"},{path:"/docs/xuanxing/",component:p("/docs/xuanxing/","3c7"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/back/",component:p("/docs/xuanxing/back/","1c2"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/devops/",component:p("/docs/xuanxing/devops/","27f"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/fe/",component:p("/docs/xuanxing/fe/","0f0"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/fe/\u5b98\u7f51/",component:p("/docs/xuanxing/fe/\u5b98\u7f51/","695"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef/",component:p("/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef/","f54"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/fe/\u79fb\u52a8\u7aef/",component:p("/docs/xuanxing/fe/\u79fb\u52a8\u7aef/","d12"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668/",component:p("/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668/","205"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/thingsboard/",component:p("/docs/xuanxing/thingsboard/","eea"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528/",component:p("/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528/","47b"),exact:!0,sidebar:"xuanxingSidebar"},{path:"/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784/",component:p("/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784/","3e8"),exact:!0,sidebar:"xuanxingSidebar"}]},{path:"/",component:p("/","951"),exact:!0},{path:"*",component:p("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>a});var r=n(96540);const o=r.createContext(!1);function a(e){let{children:t}=e;const[n,a]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{a(!0)}),[]),r.createElement(o.Provider,{value:n},t)}},35660:(e,t,n)=>{"use strict";var r=n(96540),o=n(40961),a=n(54625),s=n(80545),i=n(38193);const d=[n(10119),n(26134),n(76294),n(51043)];var c=n(35947),u=n(56347),l=n(22831);function p(e){let{children:t}=e;return r.createElement(r.Fragment,null,t)}var f=n(58168),m=n(5260),b=n(44586),y=n(86025),h=n(6342),g=n(1003),v=n(32131),k=n(14090),S=n(2967),w=n(41463);function x(){const{i18n:{defaultLocale:e,localeConfigs:t}}=(0,b.A)(),n=(0,v.o)();return r.createElement(m.A,null,Object.entries(t).map((e=>{let[t,{htmlLang:o}]=e;return r.createElement("link",{key:t,rel:"alternate",href:n.createUrl({locale:t,fullyQualified:!0}),hrefLang:o})})),r.createElement("link",{rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function _(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,b.A)(),o=function(){const{siteConfig:{url:e}}=(0,b.A)(),{pathname:t}=(0,u.zy)();return e+(0,y.A)(t)}(),a=t?`${n}${t}`:o;return r.createElement(m.A,null,r.createElement("meta",{property:"og:url",content:a}),r.createElement("link",{rel:"canonical",href:a}))}function E(){const{i18n:{currentLocale:e}}=(0,b.A)(),{metadata:t,image:n}=(0,h.p)();return r.createElement(r.Fragment,null,r.createElement(m.A,null,r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("body",{className:k.w})),n&&r.createElement(g.be,{image:n}),r.createElement(_,null),r.createElement(x,null),r.createElement(w.A,{tag:S.Cy,locale:e}),r.createElement(m.A,null,t.map(((e,t)=>r.createElement("meta",(0,f.A)({key:t},e))))))}const A=new Map;function C(e){if(A.has(e.pathname))return{...e,pathname:A.get(e.pathname)};if((0,l.u)(c.A,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return A.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return A.set(e.pathname,t),{...e,pathname:t}}var T=n(6125),L=n(26988);function P(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const N=function(e){let{children:t,location:n,previousLocation:o}=e;return(0,r.useLayoutEffect)((()=>{o!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:s}=t;if(s){const e=decodeURIComponent(s.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:o}),P("onRouteDidUpdate",{previousLocation:o,location:n}))}),[o,n]),t};function D(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,l.u)(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class O extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=i.A.canUseDOM?P("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=P("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),D(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return r.createElement(N,{previousLocation:this.previousLocation,location:t},r.createElement(u.qh,{location:t,render:()=>e}))}}const R=O,I="docusaurus-base-url-issue-banner-container",M="docusaurus-base-url-issue-banner-suggestion-container",B="__DOCUSAURUS_INSERT_BASEURL_BANNER";function F(e){return`\nwindow['${B}'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['${B}'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('${I}');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{window[B]=!1}),[]),r.createElement(r.Fragment,null,!i.A.canUseDOM&&r.createElement(m.A,null,r.createElement("script",null,F(e))),r.createElement("div",{id:I}))}function z(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,b.A)(),{pathname:n}=(0,u.zy)();return t&&n===e?r.createElement(j,null):null}function G(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:o,localeConfigs:a}}=(0,b.A)(),s=(0,y.A)(e),{htmlLang:i,direction:d}=a[o];return r.createElement(m.A,null,r.createElement("html",{lang:i,dir:d}),r.createElement("title",null,t),r.createElement("meta",{property:"og:title",content:t}),r.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&r.createElement("meta",{name:"robots",content:"noindex, nofollow"}),e&&r.createElement("link",{rel:"icon",href:s}))}var U=n(67489);function $(){const e=(0,l.v)(c.A),t=(0,u.zy)();return r.createElement(U.A,null,r.createElement(L.l,null,r.createElement(T.x,null,r.createElement(p,null,r.createElement(G,null),r.createElement(E,null),r.createElement(z,null),r.createElement(R,{location:C(t)},e)))))}var V=n(84054);const q=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var H=n(86921);const J=new Set,W=new Set,Q=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,K={prefetch(e){if(!(e=>!Q()&&!W.has(e)&&!J.has(e))(e))return!1;J.add(e);const t=(0,l.u)(c.A,e).flatMap((e=>{return t=e.route.path,Object.entries(V).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,H.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?q(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Q()&&!W.has(e))(e)&&(W.add(e),D(e))},Y=Object.freeze(K);if(i.A.canUseDOM){window.docusaurus=Y;const e=o.hydrate;D(window.location.pathname).then((()=>{e(r.createElement(s.vd,null,r.createElement(a.Kd,null,r.createElement($,null))),document.getElementById("__docusaurus"))}))}},26988:(e,t,n)=>{"use strict";n.d(t,{o:()=>u,l:()=>l});var r=n(96540),o=n(4784);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"study/index","docs":[{"id":"iotcloud/alarmlinkage/index","path":"/docs/iotcloud/alarmlinkage/"},{"id":"iotcloud/connect/http","path":"/docs/iotcloud/connect/http","sidebar":"iotCloudSidebar"},{"id":"iotcloud/connect/index","path":"/docs/iotcloud/connect/","sidebar":"iotCloudSidebar"},{"id":"iotcloud/connect/mqtt","path":"/docs/iotcloud/connect/mqtt","sidebar":"iotCloudSidebar"},{"id":"iotcloud/connect/tcp","path":"/docs/iotcloud/connect/tcp","sidebar":"iotCloudSidebar"},{"id":"iotcloud/devicemanager/device-group","path":"/docs/iotcloud/devicemanager/device-group","sidebar":"iotCloudSidebar"},{"id":"iotcloud/devicemanager/device-info","path":"/docs/iotcloud/devicemanager/device-info","sidebar":"iotCloudSidebar"},{"id":"iotcloud/devicemanager/device-type","path":"/docs/iotcloud/devicemanager/device-type","sidebar":"iotCloudSidebar"},{"id":"iotcloud/devicemanager/index","path":"/docs/iotcloud/devicemanager/","sidebar":"iotCloudSidebar"},{"id":"iotcloud/index","path":"/docs/iotcloud/","sidebar":"iotCloudSidebar"},{"id":"iotcloud/usercenter/customer","path":"/docs/iotcloud/usercenter/customer","sidebar":"iotCloudSidebar"},{"id":"iotcloud/usercenter/index","path":"/docs/iotcloud/usercenter/","sidebar":"iotCloudSidebar"},{"id":"iotcloud/usercenter/system-user","path":"/docs/iotcloud/usercenter/system-user","sidebar":"iotCloudSidebar"},{"id":"iotcloud/usercenter/user-log","path":"/docs/iotcloud/usercenter/user-log","sidebar":"iotCloudSidebar"},{"id":"iotcloud/usercenter/user-settings","path":"/docs/iotcloud/usercenter/user-settings","sidebar":"iotCloudSidebar"},{"id":"study/ai/index","path":"/docs/study/ai/","sidebar":"studySidebar"},{"id":"study/back/API\u7f51\u5173/APISIX","path":"/docs/study/back/API\u7f51\u5173/APISIX","sidebar":"studySidebar"},{"id":"study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","path":"/docs/study/back/API\u7f51\u5173/APISIX\u9ad8\u5e76\u53d1\u4f18\u5316","sidebar":"studySidebar"},{"id":"study/back/API\u7f51\u5173/index","path":"/docs/study/back/API\u7f51\u5173/","sidebar":"studySidebar"},{"id":"study/back/API\u7f51\u5173/OpenResty","path":"/docs/study/back/API\u7f51\u5173/OpenResty","sidebar":"studySidebar"},{"id":"study/back/IEDA/encoding","path":"/docs/study/back/IEDA/encoding","sidebar":"studySidebar"},{"id":"study/back/IEDA/fileandcodetemplates","path":"/docs/study/back/IEDA/fileandcodetemplates","sidebar":"studySidebar"},{"id":"study/back/IEDA/Maven","path":"/docs/study/back/IEDA/Maven","sidebar":"studySidebar"},{"id":"study/back/IEDA/save-action","path":"/docs/study/back/IEDA/save-action","sidebar":"studySidebar"},{"id":"study/back/IEDA/\u4f7f\u7528\u95ee\u9898","path":"/docs/study/back/IEDA/\u4f7f\u7528\u95ee\u9898","sidebar":"studySidebar"},{"id":"study/back/index","path":"/docs/study/back/","sidebar":"studySidebar"},{"id":"study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316","path":"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Jetty\u4f18\u5316","sidebar":"studySidebar"},{"id":"study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316","path":"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Tomcat\u4f18\u5316","sidebar":"studySidebar"},{"id":"study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316","path":"/docs/study/back/JavaWeb\u670d\u52a1\u5668/Undertow\u4f18\u5316","sidebar":"studySidebar"},{"id":"study/back/Keepalived","path":"/docs/study/back/Keepalived","sidebar":"studySidebar"},{"id":"study/back/maven/mvnw","path":"/docs/study/back/maven/mvnw","sidebar":"studySidebar"},{"id":"study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","path":"/docs/study/back/maven/pom\u6587\u4ef6\u4e2d\u7684scope\u6807\u7b7e","sidebar":"studySidebar"},{"id":"study/back/maven/\u5e38\u7528\u53c2\u6570","path":"/docs/study/back/maven/\u5e38\u7528\u53c2\u6570","sidebar":"studySidebar"},{"id":"study/back/maven/\u6784\u5efaDocker","path":"/docs/study/back/maven/\u6784\u5efaDocker","sidebar":"studySidebar"},{"id":"study/back/mq/Kafka","path":"/docs/study/back/mq/Kafka","sidebar":"studySidebar"},{"id":"study/back/mq/MQTT broker","path":"/docs/study/back/mq/MQTT broker","sidebar":"studySidebar"},{"id":"study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4","path":"/docs/study/back/mq/MQ\u5b9e\u73b0\u5bf9\u6bd4","sidebar":"studySidebar"},{"id":"study/back/mq/RocketMQ","path":"/docs/study/back/mq/RocketMQ","sidebar":"studySidebar"},{"id":"study/back/POST\u7f16\u7801\u683c\u5f0f","path":"/docs/study/back/POST\u7f16\u7801\u683c\u5f0f","sidebar":"studySidebar"},{"id":"study/back/spring/@Configuration","path":"/docs/study/back/spring/@Configuration","sidebar":"studySidebar"},{"id":"study/back/spring/@Resource@Autowired","path":"/docs/study/back/spring/@Resource@Autowired","sidebar":"studySidebar"},{"id":"study/back/spring/SpringAOP","path":"/docs/study/back/spring/SpringAOP","sidebar":"studySidebar"},{"id":"study/back/spring/SpringBoot","path":"/docs/study/back/spring/SpringBoot","sidebar":"studySidebar"},{"id":"study/back/spring/SpringFramework","path":"/docs/study/back/spring/SpringFramework","sidebar":"studySidebar"},{"id":"study/back/spring/SpringSecurity","path":"/docs/study/back/spring/SpringSecurity","sidebar":"studySidebar"},{"id":"study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","path":"/docs/study/back/spring/Spring\u751f\u547d\u5468\u671f\u63a5\u53e3","sidebar":"studySidebar"},{"id":"study/back/springcloud/nacos","path":"/docs/study/back/springcloud/nacos","sidebar":"studySidebar"},{"id":"study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6","path":"/docs/study/back/springcloud/SpringCloud\u4e94\u5927\u7ec4\u4ef6","sidebar":"studySidebar"},{"id":"study/back/springcloud/\u5fae\u670d\u52a1","path":"/docs/study/back/springcloud/\u5fae\u670d\u52a1","sidebar":"studySidebar"},{"id":"study/back/WSL","path":"/docs/study/back/WSL","sidebar":"studySidebar"},{"id":"study/back/Zookeeper","path":"/docs/study/back/Zookeeper","sidebar":"studySidebar"},{"id":"study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","path":"/docs/study/back/\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5","sidebar":"studySidebar"},{"id":"study/back/\u4fe1\u606f\u5b89\u5168/Oauth2","path":"/docs/study/back/\u4fe1\u606f\u5b89\u5168/Oauth2","sidebar":"studySidebar"},{"id":"study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1","path":"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u8ba4\u8bc1","sidebar":"studySidebar"},{"id":"study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","path":"/docs/study/back/\u4fe1\u606f\u5b89\u5168/\u9632\u8303\u6f0f\u6d1e\u653b\u51fb","sidebar":"studySidebar"},{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","path":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/Java\u6570\u636e\u5e93\u8fde\u63a5\u6c60","sidebar":"studySidebar"},{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis","path":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/JPA-MyBatis","sidebar":"studySidebar"},{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc","path":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/log4jdbc","sidebar":"studySidebar"},{"id":"study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis","path":"/docs/study/back/\u6570\u636e\u5e93\u76f8\u5173/MyBatis","sidebar":"studySidebar"},{"id":"study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526","path":"/docs/study/back/\u9519\u8bef\u6392\u9664\u96c6\u9526","sidebar":"studySidebar"},{"id":"study/back/\u9ad8\u5e76\u53d1API","path":"/docs/study/back/\u9ad8\u5e76\u53d1API","sidebar":"studySidebar"},{"id":"study/competitive/CMP-DMP-AEP-BAP","path":"/docs/study/competitive/CMP-DMP-AEP-BAP","sidebar":"studySidebar"},{"id":"study/competitive/index","path":"/docs/study/competitive/","sidebar":"studySidebar"},{"id":"study/competitive/ThingsCloud","path":"/docs/study/competitive/ThingsCloud","sidebar":"studySidebar"},{"id":"study/competitive/TP-LINK","path":"/docs/study/competitive/TP-LINK","sidebar":"studySidebar"},{"id":"study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","path":"/docs/study/competitive/\u5de5\u4e1a\u4e92\u8054\u7f51\u63a2\u7a76","sidebar":"studySidebar"},{"id":"study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","path":"/docs/study/competitive/\u7269\u8054\u7f51\u5e73\u53f0\u5c42\u6982\u8ff0","sidebar":"studySidebar"},{"id":"study/db/index","path":"/docs/study/db/","sidebar":"studySidebar"},{"id":"study/db/NewSQL/TiDB","path":"/docs/study/db/NewSQL/TiDB","sidebar":"studySidebar"},{"id":"study/db/NoSQL/Cassandra","path":"/docs/study/db/NoSQL/Cassandra","sidebar":"studySidebar"},{"id":"study/db/NoSQL/Etcd","path":"/docs/study/db/NoSQL/Etcd","sidebar":"studySidebar"},{"id":"study/db/NoSQL/Hadoop","path":"/docs/study/db/NoSQL/Hadoop","sidebar":"studySidebar"},{"id":"study/db/NoSQL/Hbase","path":"/docs/study/db/NoSQL/Hbase","sidebar":"studySidebar"},{"id":"study/db/NoSQL/Ignite","path":"/docs/study/db/NoSQL/Ignite","sidebar":"studySidebar"},{"id":"study/db/NoSQL/MongoDB","path":"/docs/study/db/NoSQL/MongoDB","sidebar":"studySidebar"},{"id":"study/db/NoSQL/Redis","path":"/docs/study/db/NoSQL/Redis","sidebar":"studySidebar"},{"id":"study/db/OLAP/ClickHouse","path":"/docs/study/db/OLAP/ClickHouse","sidebar":"studySidebar"},{"id":"study/db/OLAP/Kylin","path":"/docs/study/db/OLAP/Kylin","sidebar":"studySidebar"},{"id":"study/db/OLAP/StarRocks","path":"/docs/study/db/OLAP/StarRocks","sidebar":"studySidebar"},{"id":"study/db/OLAP/\u7efc\u5408\u6982\u8ff0","path":"/docs/study/db/OLAP/\u7efc\u5408\u6982\u8ff0","sidebar":"studySidebar"},{"id":"study/db/SQL/Kingbase","path":"/docs/study/db/SQL/Kingbase","sidebar":"studySidebar"},{"id":"study/db/SQL/MariaDB","path":"/docs/study/db/SQL/MariaDB","sidebar":"studySidebar"},{"id":"study/db/SQL/MySQL","path":"/docs/study/db/SQL/MySQL","sidebar":"studySidebar"},{"id":"study/db/SQL/MySQL-\u7b14\u8bb0","path":"/docs/study/db/SQL/MySQL-\u7b14\u8bb0","sidebar":"studySidebar"},{"id":"study/db/SQL/OpenGauss","path":"/docs/study/db/SQL/OpenGauss","sidebar":"studySidebar"},{"id":"study/db/SQL/PostgreSQL","path":"/docs/study/db/SQL/PostgreSQL","sidebar":"studySidebar"},{"id":"study/db/SQL/\u7efc\u5408\u6982\u8ff0","path":"/docs/study/db/SQL/\u7efc\u5408\u6982\u8ff0","sidebar":"studySidebar"},{"id":"study/db/SQL/\u8fbe\u68a6","path":"/docs/study/db/SQL/\u8fbe\u68a6","sidebar":"studySidebar"},{"id":"study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","path":"/docs/study/db/SQL/\u8fbe\u68a6-\u4e3b\u5907\u90e8\u7f72","sidebar":"studySidebar"},{"id":"study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","path":"/docs/study/db/SQL/\u8fbe\u68a6-\u5355\u673a\u90e8\u7f72","sidebar":"studySidebar"},{"id":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch","path":"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/Elasticsearch","sidebar":"studySidebar"},{"id":"study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0","path":"/docs/study/db/\u5168\u6587\u641c\u7d22\u5f15\u64ce/\u7efc\u5408\u6982\u8ff0","sidebar":"studySidebar"},{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB","path":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Apache IoTDB","sidebar":"studySidebar"},{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid","path":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/Druid","sidebar":"studySidebar"},{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB","path":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/InfluxDB","sidebar":"studySidebar"},{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB","path":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/KairosDB","sidebar":"studySidebar"},{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB","path":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/OpenTSDB","sidebar":"studySidebar"},{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine","path":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TDengine","sidebar":"studySidebar"},{"id":"study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB","path":"/docs/study/db/\u65f6\u5e8f\u6570\u636e\u5e93/TimescaleDB","sidebar":"studySidebar"},{"id":"study/db/\u7efc\u5408","path":"/docs/study/db/\u7efc\u5408","sidebar":"studySidebar"},{"id":"study/db/\u9a71\u52a8/ApacheShardingSphere","path":"/docs/study/db/\u9a71\u52a8/ApacheShardingSphere","sidebar":"studySidebar"},{"id":"study/devops/ansible","path":"/docs/study/devops/ansible","sidebar":"studySidebar"},{"id":"study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","path":"/docs/study/devops/API\u7684\u8bf7\u6c42\u91cf\u5206\u6790","sidebar":"studySidebar"},{"id":"study/devops/centos-gninx-app","path":"/docs/study/devops/centos-gninx-app","sidebar":"studySidebar"},{"id":"study/devops/centos-jdk17-app","path":"/docs/study/devops/centos-jdk17-app","sidebar":"studySidebar"},{"id":"study/devops/index","path":"/docs/study/devops/","sidebar":"studySidebar"},{"id":"study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7","path":"/docs/study/devops/jar\u8fd0\u7ef4-\u76d1\u63a7","sidebar":"studySidebar"},{"id":"study/devops/Linux\u53d1\u884c\u7248","path":"/docs/study/devops/Linux\u53d1\u884c\u7248","sidebar":"studySidebar"},{"id":"study/devops/Linux\u8fd0\u7ef4-GRUB","path":"/docs/study/devops/Linux\u8fd0\u7ef4-GRUB","sidebar":"studySidebar"},{"id":"study/devops/Linux\u8fd0\u7ef4-proc","path":"/docs/study/devops/Linux\u8fd0\u7ef4-proc","sidebar":"studySidebar"},{"id":"study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528","path":"/docs/study/devops/Linux\u8fd0\u7ef4-\u5e38\u7528","sidebar":"studySidebar"},{"id":"study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","path":"/docs/study/devops/Linux\u8fd0\u7ef4-\u76d1\u63a7\u6570\u636e","sidebar":"studySidebar"},{"id":"study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","path":"/docs/study/devops/Linux\u8fd0\u7ef4-\u786c\u76d8\u6027\u80fd","sidebar":"studySidebar"},{"id":"study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","path":"/docs/study/devops/Linux\u8fd0\u7ef4-\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6","sidebar":"studySidebar"},{"id":"study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f","path":"/docs/study/devops/Linux\u8fd0\u7ef4-\u81ea\u542f","sidebar":"studySidebar"},{"id":"study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","path":"/docs/study/devops/Linux\u8fd0\u7ef4-\u9ad8\u5e76\u53d1","sidebar":"studySidebar"},{"id":"study/devops/SHELL","path":"/docs/study/devops/SHELL","sidebar":"studySidebar"},{"id":"study/devops/ssh","path":"/docs/study/devops/ssh","sidebar":"studySidebar"},{"id":"study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","path":"/docs/study/devops/\u94fe\u8def\u8ffd\u8e2a\u76d1\u63a7","sidebar":"studySidebar"},{"id":"study/docker/Docker-compose","path":"/docs/study/docker/Docker-compose","sidebar":"studySidebar"},{"id":"study/docker/docker-kafka","path":"/docs/study/docker/docker-kafka","sidebar":"studySidebar"},{"id":"study/docker/docker-linux","path":"/docs/study/docker/docker-linux","sidebar":"studySidebar"},{"id":"study/docker/docker-mysql","path":"/docs/study/docker/docker-mysql","sidebar":"studySidebar"},{"id":"study/docker/docker-network","path":"/docs/study/docker/docker-network","sidebar":"studySidebar"},{"id":"study/docker/Docker-swarm","path":"/docs/study/docker/Docker-swarm","sidebar":"studySidebar"},{"id":"study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3","path":"/docs/study/docker/Dockerfile\u4f7f\u7528\u8be6\u89e3","sidebar":"studySidebar"},{"id":"study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3","path":"/docs/study/docker/Docker\u7684\u4f7f\u7528\u603b\u7ed3","sidebar":"studySidebar"},{"id":"study/docker/index","path":"/docs/study/docker/","sidebar":"studySidebar"},{"id":"study/encryption/ASN.1","path":"/docs/study/encryption/ASN.1","sidebar":"studySidebar"},{"id":"study/encryption/ECC-RSA","path":"/docs/study/encryption/ECC-RSA","sidebar":"studySidebar"},{"id":"study/encryption/HSM","path":"/docs/study/encryption/HSM","sidebar":"studySidebar"},{"id":"study/encryption/index","path":"/docs/study/encryption/","sidebar":"studySidebar"},{"id":"study/encryption/OpenSSL","path":"/docs/study/encryption/OpenSSL","sidebar":"studySidebar"},{"id":"study/encryption/PKCS","path":"/docs/study/encryption/PKCS","sidebar":"studySidebar"},{"id":"study/encryption/PKI","path":"/docs/study/encryption/PKI","sidebar":"studySidebar"},{"id":"study/encryption/SSL_TLS","path":"/docs/study/encryption/SSL_TLS","sidebar":"studySidebar"},{"id":"study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","path":"/docs/study/encryption/\u4e2d\u56fd\u5546\u7528\u5bc6\u7801\u7b97\u6cd5","sidebar":"studySidebar"},{"id":"study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1","path":"/docs/study/encryption/\u52a0\u89e3\u5bc6\u670d\u52a1","sidebar":"studySidebar"},{"id":"study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3","path":"/docs/study/encryption/\u5bc6\u7801\u54c8\u5e0c\u7b97\u6cd5\u603b\u7ed3","sidebar":"studySidebar"},{"id":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","path":"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6-\u5206\u7ec4\u5bc6\u7801\u7684\u6a21\u5f0f","sidebar":"studySidebar"},{"id":"study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","path":"/docs/study/encryption/\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","sidebar":"studySidebar"},{"id":"study/encryption/\u6570\u5b57\u8bc1\u4e66","path":"/docs/study/encryption/\u6570\u5b57\u8bc1\u4e66","sidebar":"studySidebar"},{"id":"study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","path":"/docs/study/encryption/\u6d88\u606f\u6458\u8981\u7b97\u6cd5\u603b\u7ed3","sidebar":"studySidebar"},{"id":"study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4","path":"/docs/study/encryption/\u7b49\u4fdd_\u5bc6\u8bc4","sidebar":"studySidebar"},{"id":"study/encryption/\u884c\u4e1a\u5206\u6790","path":"/docs/study/encryption/\u884c\u4e1a\u5206\u6790","sidebar":"studySidebar"},{"id":"study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","path":"/docs/study/encryption/\u8bfb\u4e66\u7b14\u8bb0-\u56fe\u89e3\u5bc6\u7801\u6280\u672f","sidebar":"studySidebar"},{"id":"study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","path":"/docs/study/encryption/\u975e\u5bf9\u79f0\u52a0\u5bc6\u7b97\u6cd5\u603b\u7ed3","sidebar":"studySidebar"},{"id":"study/fe/ARMS\u524d\u7aef\u76d1\u63a7","path":"/docs/study/fe/ARMS\u524d\u7aef\u76d1\u63a7","sidebar":"studySidebar"},{"id":"study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","path":"/docs/study/fe/Flutter\u5f00\u53d1\u95ee\u9898\u8bb0\u5f55","sidebar":"studySidebar"},{"id":"study/fe/index","path":"/docs/study/fe/","sidebar":"studySidebar"},{"id":"study/fe/mqtt.js","path":"/docs/study/fe/mqtt.js","sidebar":"studySidebar"},{"id":"study/fe/TypeScript\u8bed\u6cd5\u56fe","path":"/docs/study/fe/TypeScript\u8bed\u6cd5\u56fe","sidebar":"studySidebar"},{"id":"study/fe/WebGL","path":"/docs/study/fe/WebGL","sidebar":"studySidebar"},{"id":"study/fe/\u4e0b\u8f7d\u56fe\u7247","path":"/docs/study/fe/\u4e0b\u8f7d\u56fe\u7247","sidebar":"studySidebar"},{"id":"study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","path":"/docs/study/fe/\u4f4e\u4ee3\u7801\u53ef\u89c6\u5316\u5e73\u53f0","sidebar":"studySidebar"},{"id":"study/fe/\u524d\u7aef\u6a21\u5757\u5316","path":"/docs/study/fe/\u524d\u7aef\u6a21\u5757\u5316","sidebar":"studySidebar"},{"id":"study/hard/index","path":"/docs/study/hard/","sidebar":"studySidebar"},{"id":"study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","path":"/docs/study/hard/\u5d4c\u5165\u5f0f_\u5355\u7247\u673a","sidebar":"studySidebar"},{"id":"study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","path":"/docs/study/hard/\u786c\u4ef6\u5f00\u53d1\u548c\u5d4c\u5165\u5f0f\u5f00\u53d1","sidebar":"studySidebar"},{"id":"study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","path":"/docs/study/hard/\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u533a\u522b","sidebar":"studySidebar"},{"id":"study/hard/\u901a\u4fe1\u6a21\u7ec4","path":"/docs/study/hard/\u901a\u4fe1\u6a21\u7ec4","sidebar":"studySidebar"},{"id":"study/index","path":"/docs/study/","sidebar":"studySidebar"},{"id":"study/net/ip","path":"/docs/study/net/ip","sidebar":"studySidebar"},{"id":"study/net/iptables","path":"/docs/study/net/iptables","sidebar":"studySidebar"},{"id":"study/net/IPV6","path":"/docs/study/net/IPV6","sidebar":"studySidebar"},{"id":"study/net/Linux\u7f51\u7edc\u914d\u7f6e","path":"/docs/study/net/Linux\u7f51\u7edc\u914d\u7f6e","sidebar":"studySidebar"},{"id":"study/net/MacOS\u7f16\u8bd1OpenVPN","path":"/docs/study/net/MacOS\u7f16\u8bd1OpenVPN","sidebar":"studySidebar"},{"id":"study/net/netns","path":"/docs/study/net/netns","sidebar":"studySidebar"},{"id":"study/net/OpenVPN","path":"/docs/study/net/OpenVPN","sidebar":"studySidebar"},{"id":"study/net/p2p","path":"/docs/study/net/p2p","sidebar":"studySidebar"},{"id":"study/net/pfctl\u9632\u706b\u5899","path":"/docs/study/net/pfctl\u9632\u706b\u5899","sidebar":"studySidebar"},{"id":"study/net/route","path":"/docs/study/net/route","sidebar":"studySidebar"},{"id":"study/net/SNMP","path":"/docs/study/net/SNMP","sidebar":"studySidebar"},{"id":"study/net/tc","path":"/docs/study/net/tc","sidebar":"studySidebar"},{"id":"study/net/TCP","path":"/docs/study/net/TCP","sidebar":"studySidebar"},{"id":"study/net/tuntap","path":"/docs/study/net/tuntap","sidebar":"studySidebar"},{"id":"study/net/UDP","path":"/docs/study/net/UDP","sidebar":"studySidebar"},{"id":"study/net/VLAN-VXLAN","path":"/docs/study/net/VLAN-VXLAN","sidebar":"studySidebar"},{"id":"study/net/vpn","path":"/docs/study/net/vpn","sidebar":"studySidebar"},{"id":"study/net/\u4ee3\u7406","path":"/docs/study/net/\u4ee3\u7406","sidebar":"studySidebar"},{"id":"study/net/\u5185\u7f51\u7a7f\u900f","path":"/docs/study/net/\u5185\u7f51\u7a7f\u900f","sidebar":"studySidebar"},{"id":"study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","path":"/docs/study/net/\u5c40\u57df\u7f51IP\u5730\u5740\u8303\u56f4","sidebar":"studySidebar"},{"id":"study/net/\u5f02\u5730\u7ec4\u7f51","path":"/docs/study/net/\u5f02\u5730\u7ec4\u7f51","sidebar":"studySidebar"},{"id":"study/net/\u6293\u5305\u5de5\u5177","path":"/docs/study/net/\u6293\u5305\u5de5\u5177","sidebar":"studySidebar"},{"id":"study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","path":"/docs/study/net/\u7f51\u7edc\u541e\u5410\u91cf\u6d4b\u91cf\u5de5\u5177","sidebar":"studySidebar"},{"id":"study/other/\u5b57\u8282\u5e8f","path":"/docs/study/other/\u5b57\u8282\u5e8f","sidebar":"studySidebar"},{"id":"study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199","path":"/docs/study/other/\u6807\u51c6\u540d\u79f0\u7f29\u5199","sidebar":"studySidebar"},{"id":"study/program/ABIAPI","path":"/docs/study/program/ABIAPI","sidebar":"studySidebar"},{"id":"study/program/C/cmake","path":"/docs/study/program/C/cmake","sidebar":"studySidebar"},{"id":"study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93","path":"/docs/study/program/C/C\u8bed\u8a00\u6807\u51c6\u5e93","sidebar":"studySidebar"},{"id":"study/program/C/C\u8bed\u8a00\u7248\u672c","path":"/docs/study/program/C/C\u8bed\u8a00\u7248\u672c","sidebar":"studySidebar"},{"id":"study/program/C/extern-c","path":"/docs/study/program/C/extern-c","sidebar":"studySidebar"},{"id":"study/program/C/index","path":"/docs/study/program/C/","sidebar":"studySidebar"},{"id":"study/program/C/make","path":"/docs/study/program/C/make","sidebar":"studySidebar"},{"id":"study/program/C/MFC-WinForm-WPF-DotNet\u7b49","path":"/docs/study/program/C/MFC-WinForm-WPF-DotNet\u7b49","sidebar":"studySidebar"},{"id":"study/program/C/MinGW_CygWin","path":"/docs/study/program/C/MinGW_CygWin","sidebar":"studySidebar"},{"id":"study/program/C/pragma","path":"/docs/study/program/C/pragma","sidebar":"studySidebar"},{"id":"study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t","path":"/docs/study/program/C/size_t-ptrdiff_t-intptr_t-uintptr_t","sidebar":"studySidebar"},{"id":"study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","path":"/docs/study/program/C/\u65b9\u6cd5\u5e93-\u9759\u6001\u5e93-\u52a8\u6001\u5e93-\u5171\u4eab\u5e93","sidebar":"studySidebar"},{"id":"study/program/C/\u6784\u5efa\u5de5\u5177","path":"/docs/study/program/C/\u6784\u5efa\u5de5\u5177","sidebar":"studySidebar"},{"id":"study/program/C/\u865a\u62df\u7f51\u5361","path":"/docs/study/program/C/\u865a\u62df\u7f51\u5361","sidebar":"studySidebar"},{"id":"study/program/CPP/CGI","path":"/docs/study/program/CPP/CGI","sidebar":"studySidebar"},{"id":"study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1","path":"/docs/study/program/CPP/CPP\u8fdb\u7a0b\u95f4\u901a\u4fe1","sidebar":"studySidebar"},{"id":"study/program/CPP/index","path":"/docs/study/program/CPP/","sidebar":"studySidebar"},{"id":"study/program/CSharp/index","path":"/docs/study/program/CSharp/","sidebar":"studySidebar"},{"id":"study/program/Dart/Flutter","path":"/docs/study/program/Dart/Flutter","sidebar":"studySidebar"},{"id":"study/program/Dart/\u5b66\u4e60\u8d44\u6599","path":"/docs/study/program/Dart/\u5b66\u4e60\u8d44\u6599","sidebar":"studySidebar"},{"id":"study/program/Erlang/index","path":"/docs/study/program/Erlang/","sidebar":"studySidebar"},{"id":"study/program/ETL/dataX","path":"/docs/study/program/ETL/dataX","sidebar":"studySidebar"},{"id":"study/program/ETL/flume","path":"/docs/study/program/ETL/flume","sidebar":"studySidebar"},{"id":"study/program/ETL/kettle","path":"/docs/study/program/ETL/kettle","sidebar":"studySidebar"},{"id":"study/program/ETL/sqoop","path":"/docs/study/program/ETL/sqoop","sidebar":"studySidebar"},{"id":"study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4","path":"/docs/study/program/GIT/GIT-\u5e38\u7528\u547d\u4ee4","sidebar":"studySidebar"},{"id":"study/program/GIT/GitHubDesktop","path":"/docs/study/program/GIT/GitHubDesktop","sidebar":"studySidebar"},{"id":"study/program/GIT/PR\u548cMR","path":"/docs/study/program/GIT/PR\u548cMR","sidebar":"studySidebar"},{"id":"study/program/Golang/CGO","path":"/docs/study/program/Golang/CGO","sidebar":"studySidebar"},{"id":"study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","path":"/docs/study/program/Golang/Golang\u4f9d\u8d56\u5e93\u4ee3\u7406","sidebar":"studySidebar"},{"id":"study/program/Golang/index","path":"/docs/study/program/Golang/","sidebar":"studySidebar"},{"id":"study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177","path":"/docs/study/program/Golang/\u5e38\u7528\u7684\u5de5\u5177","sidebar":"studySidebar"},{"id":"study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6","path":"/docs/study/program/Golang/\u5e38\u7528\u7684\u6846\u67b6","sidebar":"studySidebar"},{"id":"study/program/index","path":"/docs/study/program/","sidebar":"studySidebar"},{"id":"study/program/JAVA/GC","path":"/docs/study/program/JAVA/GC","sidebar":"studySidebar"},{"id":"study/program/JAVA/GraalVM","path":"/docs/study/program/JAVA/GraalVM","sidebar":"studySidebar"},{"id":"study/program/JAVA/Guice","path":"/docs/study/program/JAVA/Guice","sidebar":"studySidebar"},{"id":"study/program/JAVA/index","path":"/docs/study/program/JAVA/","sidebar":"studySidebar"},{"id":"study/program/JAVA/JDK17","path":"/docs/study/program/JAVA/JDK17","sidebar":"studySidebar"},{"id":"study/program/JAVA/JDK17-bin","path":"/docs/study/program/JAVA/JDK17-bin","sidebar":"studySidebar"},{"id":"study/program/JAVA/JDK21","path":"/docs/study/program/JAVA/JDK21","sidebar":"studySidebar"},{"id":"study/program/JAVA/JDK8","path":"/docs/study/program/JAVA/JDK8","sidebar":"studySidebar"},{"id":"study/program/JAVA/JNI","path":"/docs/study/program/JAVA/JNI","sidebar":"studySidebar"},{"id":"study/program/JAVA/Maven","path":"/docs/study/program/JAVA/Maven","sidebar":"studySidebar"},{"id":"study/program/JAVA/OepnJ9","path":"/docs/study/program/JAVA/OepnJ9","sidebar":"studySidebar"},{"id":"study/program/JAVA/RxJava","path":"/docs/study/program/JAVA/RxJava","sidebar":"studySidebar"},{"id":"study/program/JAVA/Vert.x","path":"/docs/study/program/JAVA/Vert.x","sidebar":"studySidebar"},{"id":"study/program/JAVA/\u4ee3\u7801\u751f\u6210","path":"/docs/study/program/JAVA/\u4ee3\u7801\u751f\u6210","sidebar":"studySidebar"},{"id":"study/program/JAVA/\u9501","path":"/docs/study/program/JAVA/\u9501","sidebar":"studySidebar"},{"id":"study/program/JS/npm","path":"/docs/study/program/JS/npm","sidebar":"studySidebar"},{"id":"study/program/JS/npx","path":"/docs/study/program/JS/npx","sidebar":"studySidebar"},{"id":"study/program/JS/nrm","path":"/docs/study/program/JS/nrm","sidebar":"studySidebar"},{"id":"study/program/Kotlin/index","path":"/docs/study/program/Kotlin/","sidebar":"studySidebar"},{"id":"study/program/Lua/index","path":"/docs/study/program/Lua/","sidebar":"studySidebar"},{"id":"study/program/Rust/index","path":"/docs/study/program/Rust/","sidebar":"studySidebar"},{"id":"study/program/\u6280\u672f\u6587\u6863","path":"/docs/study/program/\u6280\u672f\u6587\u6863","sidebar":"studySidebar"},{"id":"study/program/\u7f16\u8bd1\u5668","path":"/docs/study/program/\u7f16\u8bd1\u5668","sidebar":"studySidebar"},{"id":"study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","path":"/docs/study/program/\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6","sidebar":"studySidebar"},{"id":"study/stock/20240711","path":"/docs/study/stock/20240711"},{"id":"study/stock/20241008","path":"/docs/study/stock/20241008"},{"id":"study/stock/20241009","path":"/docs/study/stock/20241009"},{"id":"study/stock/20241010","path":"/docs/study/stock/20241010"},{"id":"study/stock/20241011","path":"/docs/study/stock/20241011"},{"id":"study/stock/20241014","path":"/docs/study/stock/20241014"},{"id":"study/stock/20241015","path":"/docs/study/stock/20241015"},{"id":"study/stock/20241016","path":"/docs/study/stock/20241016"},{"id":"study/stock/20241017","path":"/docs/study/stock/20241017"},{"id":"study/stock/20241018","path":"/docs/study/stock/20241018"},{"id":"study/stock/20241021","path":"/docs/study/stock/20241021"},{"id":"study/stock/20241022","path":"/docs/study/stock/20241022"},{"id":"study/stock/20241023","path":"/docs/study/stock/20241023"},{"id":"study/stock/20241024","path":"/docs/study/stock/20241024"},{"id":"study/stock/20241029","path":"/docs/study/stock/20241029"},{"id":"study/stock/20241031","path":"/docs/study/stock/20241031"},{"id":"study/stock/20241101","path":"/docs/study/stock/20241101"},{"id":"study/stock/20241102","path":"/docs/study/stock/20241102"},{"id":"study/stock/20241104","path":"/docs/study/stock/20241104"},{"id":"study/stock/20241105","path":"/docs/study/stock/20241105"},{"id":"study/stock/20241106","path":"/docs/study/stock/20241106"},{"id":"study/stock/20241107","path":"/docs/study/stock/20241107"},{"id":"study/stock/20241108","path":"/docs/study/stock/20241108"},{"id":"study/stock/20241111","path":"/docs/study/stock/20241111"},{"id":"study/stock/20241112","path":"/docs/study/stock/20241112"},{"id":"study/stock/20241113","path":"/docs/study/stock/20241113"},{"id":"study/stock/20241114","path":"/docs/study/stock/20241114"},{"id":"study/stock/\u672f","path":"/docs/study/stock/\u672f"},{"id":"study/stock/\u9053","path":"/docs/study/stock/\u9053"},{"id":"study/system/CPU\u7ebf\u7a0b\u5e76\u53d1","path":"/docs/study/system/CPU\u7ebf\u7a0b\u5e76\u53d1","sidebar":"studySidebar"},{"id":"study/system/index","path":"/docs/study/system/","sidebar":"studySidebar"},{"id":"study/system/IO","path":"/docs/study/system/IO","sidebar":"studySidebar"},{"id":"study/system/openWRT","path":"/docs/study/system/openWRT","sidebar":"studySidebar"},{"id":"study/system/Open\u6b27\u62c9","path":"/docs/study/system/Open\u6b27\u62c9","sidebar":"studySidebar"},{"id":"study/system/shell\u7f16\u7a0b\u667aexpect","path":"/docs/study/system/shell\u7f16\u7a0b\u667aexpect","sidebar":"studySidebar"},{"id":"study/system/yum-dnf","path":"/docs/study/system/yum-dnf","sidebar":"studySidebar"},{"id":"study/system/\u5185\u5b58\u7ba1\u7406","path":"/docs/study/system/\u5185\u5b58\u7ba1\u7406","sidebar":"studySidebar"},{"id":"study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790","path":"/docs/study/system/\u53ef\u6267\u884c\u7a0b\u5e8f\u8fd0\u884c\u539f\u7406\u5206\u6790","sidebar":"studySidebar"},{"id":"study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","path":"/docs/study/system/\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838","sidebar":"studySidebar"},{"id":"study/system/\u7a0b\u5e8f\u8c03\u8bd5","path":"/docs/study/system/\u7a0b\u5e8f\u8c03\u8bd5","sidebar":"studySidebar"},{"id":"study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","path":"/docs/study/system/\u8fdb\u7a0b\u8c03\u5ea6CPU\u8c03\u5ea6","sidebar":"studySidebar"},{"id":"study/think/index","path":"/docs/study/think/","sidebar":"studySidebar"},{"id":"study/think/IT_CT_OT","path":"/docs/study/think/IT_CT_OT","sidebar":"studySidebar"},{"id":"study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","path":"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/Gerrit\u4ee3\u7801\u8bc4\u5ba1\u5de5\u5177","sidebar":"studySidebar"},{"id":"study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","path":"/docs/study/think/\u4ee3\u7801\u8bc4\u5ba1/\u4ee3\u7801\u5ba1\u67e5\u95ee\u9898\u624b\u518c","sidebar":"studySidebar"},{"id":"study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","path":"/docs/study/think/\u5206\u5e03\u5f0f\u4e00\u81f4\u6027\u7b97\u6cd5","sidebar":"studySidebar"},{"id":"study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","path":"/docs/study/think/\u5b9e\u65f6\u8ba1\u7b97Storm+Flink","sidebar":"studySidebar"},{"id":"study/think/\u5e76\u53d1\u6a21\u578b","path":"/docs/study/think/\u5e76\u53d1\u6a21\u578b","sidebar":"studySidebar"},{"id":"study/think/\u67b6\u6784/CAP\u7406\u8bba","path":"/docs/study/think/\u67b6\u6784/CAP\u7406\u8bba","sidebar":"studySidebar"},{"id":"study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784","path":"/docs/study/think/\u67b6\u6784/\u5f02\u5730\u591a\u6d3b\u67b6\u6784","sidebar":"studySidebar"},{"id":"study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0","path":"/docs/study/think/\u67b6\u6784/\u6280\u672f\u4e2d\u53f0","sidebar":"studySidebar"},{"id":"study/think/\u67b6\u6784/\u67b6\u6784","path":"/docs/study/think/\u67b6\u6784/","sidebar":"studySidebar"},{"id":"study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b","path":"/docs/study/think/\u67b6\u6784/\u67b6\u6784\u56fe\u793a\u4f8b","sidebar":"studySidebar"},{"id":"study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861","path":"/docs/study/think/\u67b6\u6784/\u8d1f\u8f7d\u5747\u8861","sidebar":"studySidebar"},{"id":"study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","path":"/docs/study/think/\u67b6\u6784/\u9ad8\u6027\u80fd\u67b6\u6784\u6a21\u5f0f","sidebar":"studySidebar"},{"id":"study/think/\u6982\u5ff5\u6a21\u578b/Actor Model","path":"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Actor Model","sidebar":"studySidebar"},{"id":"study/think/\u6982\u5ff5\u6a21\u578b/Proactor","path":"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Proactor","sidebar":"studySidebar"},{"id":"study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","path":"/docs/study/think/\u6982\u5ff5\u6a21\u578b/Reactor\u6a21\u5f0f\u53cd\u5e94\u5806\u6a21\u5f0f","sidebar":"studySidebar"},{"id":"study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58","path":"/docs/study/think/\u7f13\u5b58/\u5206\u5e03\u5f0f\u7f13\u5b58","sidebar":"studySidebar"},{"id":"study/think/\u7f13\u5b58/\u7f13\u5b58","path":"/docs/study/think/\u7f13\u5b58/","sidebar":"studySidebar"},{"id":"study/think/\u8bbe\u8ba1\u6a21\u5f0f","path":"/docs/study/think/\u8bbe\u8ba1\u6a21\u5f0f","sidebar":"studySidebar"},{"id":"study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97","path":"/docs/study/think/\u8c08\u5de5\u4f5c\u5fc3\u5f97","sidebar":"studySidebar"},{"id":"study/think/\u9650\u6d41","path":"/docs/study/think/\u9650\u6d41","sidebar":"studySidebar"},{"id":"study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","path":"/docs/study/think/\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1DDD","sidebar":"studySidebar"},{"id":"xuanxing/back/index","path":"/docs/xuanxing/back/","sidebar":"xuanxingSidebar"},{"id":"xuanxing/devops/index","path":"/docs/xuanxing/devops/","sidebar":"xuanxingSidebar"},{"id":"xuanxing/fe/index","path":"/docs/xuanxing/fe/","sidebar":"xuanxingSidebar"},{"id":"xuanxing/fe/\u5b98\u7f51","path":"/docs/xuanxing/fe/\u5b98\u7f51","sidebar":"xuanxingSidebar"},{"id":"xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef","path":"/docs/xuanxing/fe/\u7528\u6237\u7aef\u7ba1\u7406\u7aef","sidebar":"xuanxingSidebar"},{"id":"xuanxing/fe/\u79fb\u52a8\u7aef","path":"/docs/xuanxing/fe/\u79fb\u52a8\u7aef","sidebar":"xuanxingSidebar"},{"id":"xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668","path":"/docs/xuanxing/fe/\u7ec4\u6001+\u5927\u5c4f\u7f16\u8f91\u5668","sidebar":"xuanxingSidebar"},{"id":"xuanxing/index","path":"/docs/xuanxing/","sidebar":"xuanxingSidebar"},{"id":"xuanxing/thingsboard/index","path":"/docs/xuanxing/thingsboard/","sidebar":"xuanxingSidebar"},{"id":"xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528","path":"/docs/xuanxing/thingsboard/\u5982\u4f55\u4f7f\u7528","sidebar":"xuanxingSidebar"},{"id":"xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784","path":"/docs/xuanxing/thingsboard/\u6e90\u7801\u7ed3\u6784","sidebar":"xuanxingSidebar"}],"draftIds":[],"sidebars":{"studySidebar":{"link":{"path":"/docs/study/","label":"study/index"}},"xuanxingSidebar":{"link":{"path":"/docs/xuanxing/","label":"xuanxing/index"}},"iotCloudSidebar":{"link":{"path":"/docs/iotcloud/","label":"iotcloud/index"}}}}],"breadcrumbs":true}}}'),s=JSON.parse('{"defaultLocale":"zh-Hans","locales":["zh-Hans"],"path":"i18n","currentLocale":"zh-Hans","localeConfigs":{"zh-Hans":{"label":"\u7b80\u4f53\u4e2d\u6587","direction":"ltr","htmlLang":"zh-Hans","calendar":"gregory","path":"zh-Hans"}}}');var i=n(22654);const d=JSON.parse('{"docusaurusVersion":"2.4.0","siteVersion":"1.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.4.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"2.4.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.4.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.4.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.4.0"},"docusaurus-booklet":{"type":"package","name":"docusaurus-booklet","version":"0.2.1"}}}'),c={siteConfig:o.default,siteMetadata:d,globalData:a,i18n:s,codeTranslations:i},u=r.createContext(c);function l(e){let{children:t}=e;return r.createElement(u.Provider,{value:c},t)}},67489:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(96540),o=n(38193),a=n(5260),s=n(70440),i=n(19408);function d(e){let{error:t,tryAgain:n}=e;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"}},r.createElement("h1",{style:{fontSize:"3rem"}},"This page crashed"),r.createElement("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"}},"Try again"),r.createElement(c,{error:t}))}function c(e){let{error:t}=e;const n=(0,s.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return r.createElement("p",{style:{whiteSpace:"pre-wrap"}},n)}function u(e){let{error:t,tryAgain:n}=e;return r.createElement(p,{fallback:()=>r.createElement(d,{error:t,tryAgain:n})},r.createElement(a.A,null,r.createElement("title",null,"Page Error")),r.createElement(i.A,null,r.createElement(d,{error:t,tryAgain:n})))}const l=e=>r.createElement(u,e);class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??l)(e)}return e??null}}},38193:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(80545);function a(e){return r.createElement(o.mg,e)}},75489:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(58168),o=n(96540),a=n(54625),s=n(70440),i=n(44586),d=n(16654),c=n(38193);const u=o.createContext({collectLink:()=>{}});var l=n(86025);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:b,"data-noBrokenLinkCheck":y,autoAddBaseUrl:h=!0,...g}=e;const{siteConfig:{trailingSlash:v,baseUrl:k}}=(0,i.A)(),{withBaseUrl:S}=(0,l.h)(),w=(0,o.useContext)(u),x=(0,o.useRef)(null);(0,o.useImperativeHandle)(t,(()=>x.current));const _=p||f;const E=(0,d.A)(_),A=_?.replace("pathname://","");let C=void 0!==A?(T=A,h&&(e=>e.startsWith("/"))(T)?S(T):T):void 0;var T;C&&E&&(C=(0,s.applyTrailingSlash)(C,{trailingSlash:v,baseUrl:k}));const L=(0,o.useRef)(!1),P=n?a.k2:a.N_,N=c.A.canUseIntersectionObserver,D=(0,o.useRef)(),O=()=>{L.current||null==C||(window.docusaurus.preload(C),L.current=!0)};(0,o.useEffect)((()=>(!N&&E&&null!=C&&window.docusaurus.prefetch(C),()=>{N&&D.current&&D.current.disconnect()})),[D,C,N,E]);const R=C?.startsWith("#")??!1,I=!C||!E||R;return I||y||w.collectLink(C),I?o.createElement("a",(0,r.A)({ref:x,href:C},_&&!E&&{target:"_blank",rel:"noopener noreferrer"},g)):o.createElement(P,(0,r.A)({},g,{onMouseEnter:O,onTouchStart:O,innerRef:e=>{x.current=e,N&&e&&E&&(D.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(D.current.unobserve(e),D.current.disconnect(),null!=C&&window.docusaurus.prefetch(C))}))})),D.current.observe(e))},to:C},n&&{isActive:b,activeClassName:m}))}const f=o.forwardRef(p)},20418:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=()=>null},21312:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,T:()=>i});var r=n(96540);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var a=n(22654);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return a[t??n]??n??t}function i(e,t){let{message:n,id:r}=e;return o(s({message:n,id:r}),t)}function d(e){let{children:t,id:n,values:a}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const i=s({message:t,id:n});return r.createElement(r.Fragment,null,o(i,a))}},17065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},16654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>o,z:()=>r})},86025:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,h:()=>s});var r=n(96540),o=n(44586),a=n(16654);function s(){const{siteConfig:{baseUrl:e,url:t}}=(0,o.A)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:s=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.z)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const i=n.startsWith(t)?n:t+n.replace(/^\//,"");return s?e+i:i}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function i(e,t){void 0===t&&(t={});const{withBaseUrl:n}=s();return n(e,t)}},44586:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(26988);function a(){return(0,r.useContext)(o.o)}},92303:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(6125);function a(){return(0,r.useContext)(o.o)}},86921:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,s]=n;const i=o?`${o}.${a}`:a;r(s)?e(s,i):t[i]=s}))}(e),t}},53102:(e,t,n)=>{"use strict";n.d(t,{W:()=>a,o:()=>o});var r=n(96540);const o=r.createContext(null);function a(e){let{children:t,value:n}=e;const a=r.useContext(o),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:a,value:n})),[a,n]);return r.createElement(o.Provider,{value:s},t)}},44070:(e,t,n)=>{"use strict";n.d(t,{zK:()=>b,vT:()=>p,Gy:()=>u,HW:()=>y,ht:()=>l,r7:()=>m,jh:()=>f});var r=n(56347),o=n(44586),a=n(17065);function s(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,o.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const i=e=>e.versions.find((e=>e.isLast));function d(e,t){const n=function(e,t){const n=i(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const c={},u=()=>s("docusaurus-plugin-content-docs")??c,l=e=>function(e,t,n){void 0===t&&(t=a.W),void 0===n&&(n={});const r=s(e),o=r?.[t];if(!o&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return o}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a}(t,n,e)}function f(e){return l(e).versions}function m(e){const t=l(e);return i(t)}function b(e){const t=l(e),{pathname:n}=(0,r.zy)();return d(t,n)}function y(e){const t=l(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=i(e);return{latestDocSuggestion:d(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},76294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(5947),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},26134:(e,t,n)=>{"use strict";var r=n(61258),o=n(4784);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{n(18692)(`./prism-${e}`)})),delete globalThis.Prism}(r.A)},43186:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540);const o={iconExternalLink:"iconExternalLink_nPIU"};function a(e){let{width:t=13.5,height:n=13.5}=e;return r.createElement("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:o.iconExternalLink},r.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},19408:(e,t,n)=>{"use strict";n.d(t,{A:()=>lt});var r=n(96540),o=n(20053),a=n(67489),s=n(1003),i=n(58168),d=n(56347),c=n(21312),u=n(75062);const l="docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,d.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(l);t&&p(t)}),[]);return(0,u.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,c.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function b(e){const t=e.children??m,{containerRef:n,onClick:o}=f();return r.createElement("div",{ref:n,role:"region","aria-label":m},r.createElement("a",(0,i.A)({},e,{href:`#${l}`,onClick:o}),t))}var y=n(17559),h=n(14090);const g={skipToContent:"skipToContent_fXgn"};function v(){return r.createElement(b,{className:g.skipToContent})}var k=n(6342),S=n(65041);function w(e){let{width:t=21,height:n=21,color:o="currentColor",strokeWidth:a=1.2,className:s,...d}=e;return r.createElement("svg",(0,i.A)({viewBox:"0 0 15 15",width:t,height:n},d),r.createElement("g",{stroke:o,strokeWidth:a},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}const x={closeButton:"closeButton_CVFx"};function _(e){return r.createElement("button",(0,i.A)({type:"button","aria-label":(0,c.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,o.A)("clean-btn close",x.closeButton,e.className)}),r.createElement(w,{width:14,height:14,strokeWidth:3.1}))}const E={content:"content_knG7"};function A(e){const{announcementBar:t}=(0,k.p)(),{content:n}=t;return r.createElement("div",(0,i.A)({},e,{className:(0,o.A)(E.content,e.className),dangerouslySetInnerHTML:{__html:n}}))}const C={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){const{announcementBar:e}=(0,k.p)(),{isActive:t,close:n}=(0,S.Mj)();if(!t)return null;const{backgroundColor:o,textColor:a,isCloseable:s}=e;return r.createElement("div",{className:C.announcementBar,style:{backgroundColor:o,color:a},role:"banner"},s&&r.createElement("div",{className:C.announcementBarPlaceholder}),r.createElement(A,{className:C.announcementBarContent}),s&&r.createElement(_,{onClick:n,className:C.announcementBarClose}))}var L=n(89876),P=n(23104);var N=n(89532),D=n(75600);const O=r.createContext(null);function R(e){let{children:t}=e;const n=function(){const e=(0,L.M)(),t=(0,D.YL)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,s=(0,N.ZC)(a);return(0,r.useEffect)((()=>{a&&!s&&o(!0)}),[a,s]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return r.createElement(O.Provider,{value:n},t)}function I(e){if(e.component){const t=e.component;return r.createElement(t,e.props)}}function M(){const e=(0,r.useContext)(O);if(!e)throw new N.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,D.YL)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:I(a)})),[o,a,t])}function B(e){let{header:t,primaryMenu:n,secondaryMenu:a}=e;const{shown:s}=M();return r.createElement("div",{className:"navbar-sidebar"},t,r.createElement("div",{className:(0,o.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":s})},r.createElement("div",{className:"navbar-sidebar__item menu"},n),r.createElement("div",{className:"navbar-sidebar__item menu"},a)))}var F=n(95293),j=n(92303);function z(e){return r.createElement("svg",(0,i.A)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function G(e){return r.createElement("svg",(0,i.A)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function $(e){let{className:t,buttonClassName:n,value:a,onChange:s}=e;const i=(0,j.A)(),d=(0,c.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===a?(0,c.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,c.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return r.createElement("div",{className:(0,o.A)(U.toggle,t)},r.createElement("button",{className:(0,o.A)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>s("dark"===a?"light":"dark"),disabled:!i,title:d,"aria-label":d,"aria-live":"polite"},r.createElement(z,{className:(0,o.A)(U.toggleIcon,U.lightToggleIcon)}),r.createElement(G,{className:(0,o.A)(U.toggleIcon,U.darkToggleIcon)})))}const V=r.memo($),q={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function H(e){let{className:t}=e;const n=(0,k.p)().navbar.style,o=(0,k.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:s}=(0,F.G)();return o?null:r.createElement(V,{className:t,buttonClassName:"dark"===n?q.darkNavbarColorModeToggle:void 0,value:a,onChange:s})}var J=n(23465);function W(){return r.createElement(J.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,L.M)();return r.createElement("button",{type:"button","aria-label":(0,c.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle()},r.createElement(w,{color:"var(--ifm-color-emphasis-600)"}))}function K(){return r.createElement("div",{className:"navbar-sidebar__brand"},r.createElement(W,null),r.createElement(H,{className:"margin-right--md"}),r.createElement(Q,null))}var Y=n(75489),X=n(86025),Z=n(16654);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(43186);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:o,href:a,label:s,html:d,isDropdownLink:c,prependBaseUrlToHref:u,...l}=e;const p=(0,X.A)(o),f=(0,X.A)(t),m=(0,X.A)(a,{forcePrependBaseUrl:!0}),b=s&&a&&!(0,Z.A)(a),y=d?{dangerouslySetInnerHTML:{__html:d}}:{children:r.createElement(r.Fragment,null,s,b&&r.createElement(te.A,c&&{width:12,height:12}))};return a?r.createElement(Y.A,(0,i.A)({href:u?m:a},l,y)):r.createElement(Y.A,(0,i.A)({to:p,isNavLink:!0},(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(f)},l,y))}function re(e){let{className:t,isDropdownItem:n=!1,...a}=e;const s=r.createElement(ne,(0,i.A)({className:(0,o.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n},a));return n?r.createElement("li",null,s):s}function oe(e){let{className:t,isDropdownItem:n,...a}=e;return r.createElement("li",{className:"menu__list-item"},r.createElement(ne,(0,i.A)({className:(0,o.A)("menu__link",t)},a)))}function ae(e){let{mobile:t=!1,position:n,...o}=e;const a=t?oe:re;return r.createElement(a,(0,i.A)({},o,{activeClassName:o.activeClassName??(t?"menu__link--active":"navbar__link--active")}))}var se=n(41422),ie=n(99169),de=n(44586);function ce(e,t){return e.some((e=>function(e,t){return!!(0,ie.ys)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function ue(e){let{items:t,position:n,className:a,onClick:s,...d}=e;const c=(0,r.useRef)(null),[u,l]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{c.current&&!c.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[c]),r.createElement("div",{ref:c,className:(0,o.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u})},r.createElement(ne,(0,i.A)({"aria-haspopup":"true","aria-expanded":u,role:"button",href:d.to?void 0:"#",className:(0,o.A)("navbar__link",a)},d,{onClick:d.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),l(!u))}}),d.children??d.label),r.createElement("ul",{className:"dropdown__menu"},t.map(((e,t)=>r.createElement(_e,(0,i.A)({isDropdownItem:!0,activeClassName:"dropdown__link--active"},e,{key:t}))))))}function le(e){let{items:t,className:n,position:a,onClick:s,...c}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,de.A)(),{pathname:t}=(0,d.zy)();return t.replace(e,"/")}(),l=ce(t,u),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,se.u)({initialState:()=>!l});return(0,r.useEffect)((()=>{l&&m(!l)}),[u,l,m]),r.createElement("li",{className:(0,o.A)("menu__list-item",{"menu__list-item--collapsed":p})},r.createElement(ne,(0,i.A)({role:"button",className:(0,o.A)("menu__link menu__link--sublist menu__link--sublist-caret",n)},c,{onClick:e=>{e.preventDefault(),f()}}),c.children??c.label),r.createElement(se.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p},t.map(((e,t)=>r.createElement(_e,(0,i.A)({mobile:!0,isDropdownItem:!0,onClick:s,activeClassName:"menu__link--active"},e,{key:t}))))))}function pe(e){let{mobile:t=!1,...n}=e;const o=t?le:ue;return r.createElement(o,n)}var fe=n(32131);function me(e){let{width:t=20,height:n=20,...o}=e;return r.createElement("svg",(0,i.A)({viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0},o),r.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}const be="iconLanguage_nlXk";var ye=n(20418);const he={searchBox:"searchBox_ZlJk"};function ge(e){let{children:t,className:n}=e;return r.createElement("div",{className:(0,o.A)(n,he.searchBox)},t)}var ve=n(44070),ke=n(81754);var Se=n(55597);const we=e=>e.docs.find((t=>t.id===e.mainDocId));const xe={default:ae,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:o,...a}=e;const{i18n:{currentLocale:s,locales:u,localeConfigs:l}}=(0,de.A)(),p=(0,fe.o)(),{search:f,hash:m}=(0,d.zy)(),b=[...n,...u.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}`;return{label:l[e].label,lang:l[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===s?t?"menu__link--active":"dropdown__link--active":""}})),...o],y=t?(0,c.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):l[s].label;return r.createElement(pe,(0,i.A)({},a,{mobile:t,label:r.createElement(r.Fragment,null,r.createElement(me,{className:be}),y),items:b}))},search:function(e){let{mobile:t,className:n}=e;return t?null:r.createElement(ge,{className:n},r.createElement(ye.A,null))},dropdown:pe,html:function(e){let{value:t,className:n,mobile:a=!1,isDropdownItem:s=!1}=e;const i=s?"li":"div";return r.createElement(i,{className:(0,o.A)({navbar__item:!a&&!s,"menu__list-item":a},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:o,...a}=e;const{activeDoc:s}=(0,ve.zK)(o),d=(0,ke.QB)(t,o);return null===d?null:r.createElement(ae,(0,i.A)({exact:!0},a,{isActive:()=>s?.path===d.path||!!s?.sidebar&&s.sidebar===d.sidebar,label:n??d.id,to:d.path}))},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:o,...a}=e;const{activeDoc:s}=(0,ve.zK)(o),d=(0,ke.fW)(t,o).link;if(!d)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return r.createElement(ae,(0,i.A)({exact:!0},a,{isActive:()=>s?.sidebar===t,label:n??d.label,to:d.path}))},docsVersion:function(e){let{label:t,to:n,docsPluginId:o,...a}=e;const s=(0,ke.Vd)(o)[0],d=t??s.label,c=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(s).path;return r.createElement(ae,(0,i.A)({},a,{label:d,to:c}))},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:o,dropdownItemsBefore:a,dropdownItemsAfter:s,...u}=e;const{search:l,hash:p}=(0,d.zy)(),f=(0,ve.zK)(n),m=(0,ve.jh)(n),{savePreferredVersionName:b}=(0,Se.g1)(n),y=[...a,...m.map((e=>{const t=f.alternateDocVersions[e.name]??we(e);return{label:e.label,to:`${t.path}${l}${p}`,isActive:()=>e===f.activeVersion,onClick:()=>b(e.name)}})),...s],h=(0,ke.Vd)(n)[0],g=t&&y.length>1?(0,c.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,v=t&&y.length>1?void 0:we(h).path;return y.length<=1?r.createElement(ae,(0,i.A)({},u,{mobile:t,label:g,to:v,isActive:o?()=>!1:void 0})):r.createElement(pe,(0,i.A)({},u,{mobile:t,label:g,to:v,items:y,isActive:o?()=>!1:void 0}))}};function _e(e){let{type:t,...n}=e;const o=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=xe[o];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return r.createElement(a,n)}function Ee(){const e=(0,L.M)(),t=(0,k.p)().navbar.items;return r.createElement("ul",{className:"menu__list"},t.map(((t,n)=>r.createElement(_e,(0,i.A)({mobile:!0},t,{onClick:()=>e.toggle(),key:n})))))}function Ae(e){return r.createElement("button",(0,i.A)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),r.createElement(c.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu"))}function Ce(){const e=0===(0,k.p)().navbar.items.length,t=M();return r.createElement(r.Fragment,null,!e&&r.createElement(Ae,{onClick:()=>t.hide()}),t.content)}function Te(){const e=(0,L.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?r.createElement(B,{header:r.createElement(K,null),primaryMenu:r.createElement(Ee,null),secondaryMenu:r.createElement(Ce,null)}):null}const Le={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Pe(e){return r.createElement("div",(0,i.A)({role:"presentation"},e,{className:(0,o.A)("navbar-sidebar__backdrop",e.className)}))}function Ne(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,k.p)(),s=(0,L.M)(),{navbarRef:i,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),s=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,P.Mq)(((t,r)=>{let{scrollY:s}=t;if(!e)return;if(s=i?n(!1):s+c{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:s,isNavbarVisible:t}}(n);return r.createElement("nav",{ref:i,"aria-label":(0,c.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.A)("navbar","navbar--fixed-top",n&&[Le.navbarHideable,!d&&Le.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":s.shown})},t,r.createElement(Pe,{onClick:s.toggle}),r.createElement(Te,null))}var De=n(70440);const Oe={errorBoundaryError:"errorBoundaryError_a6uf"};function Re(e){return r.createElement("button",(0,i.A)({type:"button"},e),r.createElement(c.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error"},"Try again"))}function Ie(e){let{error:t}=e;const n=(0,De.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return r.createElement("p",{className:Oe.errorBoundaryError},n)}class Me extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Be="right";function Fe(e){let{width:t=30,height:n=30,className:o,...a}=e;return r.createElement("svg",(0,i.A)({className:o,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true"},a),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function je(){const{toggle:e,shown:t}=(0,L.M)();return r.createElement("button",{onClick:e,"aria-label":(0,c.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button"},r.createElement(Fe,null))}const ze={colorModeToggle:"colorModeToggle_DEke"};function Ge(e){let{items:t}=e;return r.createElement(r.Fragment,null,t.map(((e,t)=>r.createElement(Me,{key:t,onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t})},r.createElement(_e,e)))))}function Ue(e){let{left:t,right:n}=e;return r.createElement("div",{className:"navbar__inner"},r.createElement("div",{className:"navbar__items"},t),r.createElement("div",{className:"navbar__items navbar__items--right"},n))}function $e(){const e=(0,L.M)(),t=(0,k.p)().navbar.items,[n,o]=function(e){function t(e){return"left"===(e.position??Be)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return r.createElement(Ue,{left:r.createElement(r.Fragment,null,!e.disabled&&r.createElement(je,null),r.createElement(W,null),r.createElement(Ge,{items:n})),right:r.createElement(r.Fragment,null,r.createElement(Ge,{items:o}),r.createElement(H,{className:ze.colorModeToggle}),!a&&r.createElement(ge,null,r.createElement(ye.A,null)))})}function Ve(){return r.createElement(Ne,null,r.createElement($e,null))}function qe(e){let{item:t}=e;const{to:n,href:o,label:a,prependBaseUrlToHref:s,...d}=t,c=(0,X.A)(n),u=(0,X.A)(o,{forcePrependBaseUrl:!0});return r.createElement(Y.A,(0,i.A)({className:"footer__link-item"},o?{href:s?u:o}:{to:c},d),a,o&&!(0,Z.A)(o)&&r.createElement(te.A,null))}function He(e){let{item:t}=e;return t.html?r.createElement("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement("li",{key:t.href??t.to,className:"footer__item"},r.createElement(qe,{item:t}))}function Je(e){let{column:t}=e;return r.createElement("div",{className:"col footer__col"},r.createElement("div",{className:"footer__title"},t.title),r.createElement("ul",{className:"footer__items clean-list"},t.items.map(((e,t)=>r.createElement(He,{key:t,item:e})))))}function We(e){let{columns:t}=e;return r.createElement("div",{className:"row footer__links"},t.map(((e,t)=>r.createElement(Je,{key:t,column:e}))))}function Qe(){return r.createElement("span",{className:"footer__link-separator"},"\xb7")}function Ke(e){let{item:t}=e;return t.html?r.createElement("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement(qe,{item:t})}function Ye(e){let{links:t}=e;return r.createElement("div",{className:"footer__links text--center"},r.createElement("div",{className:"footer__links"},t.map(((e,n)=>r.createElement(r.Fragment,{key:n},r.createElement(Ke,{item:e}),t.length!==n+1&&r.createElement(Qe,null))))))}function Xe(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?r.createElement(We,{columns:t}):r.createElement(Ye,{links:t})}var Ze=n(41653);const et="footerLogoLink_BH7S";function tt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.h)(),a={light:n(t.src),dark:n(t.srcDark??t.src)};return r.createElement(Ze.A,{className:(0,o.A)("footer__logo",t.className),alt:t.alt,sources:a,width:t.width,height:t.height,style:t.style})}function nt(e){let{logo:t}=e;return t.href?r.createElement(Y.A,{href:t.href,className:et,target:t.target},r.createElement(tt,{logo:t})):r.createElement(tt,{logo:t})}function rt(e){let{copyright:t}=e;return r.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function ot(e){let{style:t,links:n,logo:a,copyright:s}=e;return r.createElement("footer",{className:(0,o.A)("footer",{"footer--dark":"dark"===t})},r.createElement("div",{className:"container container-fluid"},n,(a||s)&&r.createElement("div",{className:"footer__bottom text--center"},a&&r.createElement("div",{className:"margin-bottom--sm"},a),s)))}function at(){const{footer:e}=(0,k.p)();if(!e)return null;const{copyright:t,links:n,logo:o,style:a}=e;return r.createElement(ot,{style:a,links:n&&n.length>0&&r.createElement(Xe,{links:n}),logo:o&&r.createElement(nt,{logo:o}),copyright:t&&r.createElement(rt,{copyright:t})})}const st=r.memo(at),it=(0,N.fM)([F.a,S.oq,P.Tv,Se.VQ,s.Jx,function(e){let{children:t}=e;return r.createElement(D.y_,null,r.createElement(L.e,null,r.createElement(R,null,t)))}]);function dt(e){let{children:t}=e;return r.createElement(it,null,t)}function ct(e){let{error:t,tryAgain:n}=e;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(c.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("div",{className:"margin-vert--lg"},r.createElement(Re,{onClick:n,className:"button button--primary shadow--lw"})),r.createElement("hr",null),r.createElement("div",{className:"margin-vert--md"},r.createElement(Ie,{error:t})))))}const ut={mainWrapper:"mainWrapper_z2l0"};function lt(e){const{children:t,noFooter:n,wrapperClassName:i,title:d,description:c}=e;return(0,h.J)(),r.createElement(dt,null,r.createElement(s.be,{title:d,description:c}),r.createElement(v,null),r.createElement(T,null),r.createElement(Ve,null),r.createElement("div",{id:l,className:(0,o.A)(y.G.wrapper.main,ut.mainWrapper,i)},r.createElement(a.A,{fallback:e=>r.createElement(ct,e)},t)),!n&&r.createElement(st,null))}},23465:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),o=n(96540),a=n(75489),s=n(86025),i=n(44586),d=n(6342),c=n(41653);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,s.A)(t.src),dark:(0,s.A)(t.srcDark||t.src)},i=o.createElement(c.A,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?o.createElement("div",{className:r},i):i}function l(e){const{siteConfig:{title:t}}=(0,i.A)(),{navbar:{title:n,logo:c}}=(0,d.p)(),{imageClassName:l,titleClassName:p,...f}=e,m=(0,s.A)(c?.href||"/"),b=n?"":t,y=c?.alt??b;return o.createElement(a.A,(0,r.A)({to:m},f,c?.target&&{target:c.target}),c&&o.createElement(u,{logo:c,alt:y,imageClassName:l}),null!=n&&o.createElement("b",{className:p},n))}},41463:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(5260);function a(e){let{locale:t,version:n,tag:a}=e;const s=t;return r.createElement(o.A,null,t&&r.createElement("meta",{name:"docusaurus_locale",content:t}),n&&r.createElement("meta",{name:"docusaurus_version",content:n}),a&&r.createElement("meta",{name:"docusaurus_tag",content:a}),s&&r.createElement("meta",{name:"docsearch:language",content:s}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),a&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:a}))}},41653:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(58168),o=n(96540),a=n(20053),s=n(92303),i=n(95293);const d={themedImage:"themedImage_ToTc","themedImage--light":"themedImage--light_HNdA","themedImage--dark":"themedImage--dark_i4oU"};function c(e){const t=(0,s.A)(),{colorMode:n}=(0,i.G)(),{sources:c,className:u,alt:l,...p}=e,f=t?"dark"===n?["dark"]:["light"]:["light","dark"];return o.createElement(o.Fragment,null,f.map((e=>o.createElement("img",(0,r.A)({key:e,src:c[e],alt:l,className:(0,a.A)(d.themedImage,d[`themedImage--${e}`],u)},p)))))}},41422:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>i});var r=n(58168),o=n(96540),a=n(38193);const s="ease-in-out";function i(e){let{initialState:t}=e;const[n,r]=(0,o.useState)(t??!1),a=(0,o.useCallback)((()=>{r((e=>!e))}),[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:a}}const d={display:"none",overflow:"hidden",height:"0px"},c={display:"block",overflow:"visible",height:"auto"};function u(e,t){const n=t?d:c;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function l(e){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function p(e){let{collapsibleRef:t,collapsed:n,animation:r}=e;const a=(0,o.useRef)(!1);(0,o.useEffect)((()=>{const e=t.current;function o(){const t=function(){const t=e.scrollHeight;return{transition:`height ${r?.duration??l(t)}ms ${r?.easing??s}`,height:`${t}px`}}();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return u(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(o(),requestAnimationFrame((()=>{e.style.height=d.height,e.style.overflow=d.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{o()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,r])}function f(e){if(!a.A.canUseDOM)return e?d:c}function m(e){let{as:t="div",collapsed:n,children:r,animation:a,onCollapseTransitionEnd:s,className:i,disableSSRStyle:d}=e;const c=(0,o.useRef)(null);return p({collapsibleRef:c,collapsed:n,animation:a}),o.createElement(t,{ref:c,style:d?void 0:f(n),onTransitionEnd:e=>{"height"===e.propertyName&&(u(c.current,n),s?.(n))},className:i},r)}function b(e){let{collapsed:t,...n}=e;const[a,s]=(0,o.useState)(!t),[i,d]=(0,o.useState)(t);return(0,o.useLayoutEffect)((()=>{t||s(!0)}),[t]),(0,o.useLayoutEffect)((()=>{a&&d(t)}),[a,t]),a?o.createElement(m,(0,r.A)({},n,{collapsed:i})):null}function y(e){let{lazy:t,...n}=e;const r=t?b:m;return o.createElement(r,n)}},65041:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>m,oq:()=>f});var r=n(96540),o=n(92303),a=n(89466),s=n(89532),i=n(6342);const d=(0,a.Wf)("docusaurus.announcement.dismiss"),c=(0,a.Wf)("docusaurus.announcement.id"),u=()=>"true"===d.get(),l=e=>d.set(String(e)),p=r.createContext(null);function f(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,i.p)(),t=(0,o.A)(),[n,a]=(0,r.useState)((()=>!!t&&u()));(0,r.useEffect)((()=>{a(u())}),[]);const s=(0,r.useCallback)((()=>{l(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&l(!1),!r&&u()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:s})),[e,n,s])}();return r.createElement(p.Provider,{value:n},t)}function m(){const e=(0,r.useContext)(p);if(!e)throw new s.dV("AnnouncementBarProvider");return e}},95293:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>b});var r=n(96540),o=n(38193),a=n(89532),s=n(89466),i=n(6342);const d=r.createContext(void 0),c="theme",u=(0,s.Wf)(c),l={light:"light",dark:"dark"},p=e=>e===l.dark?l.dark:l.light,f=e=>o.A.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),m=e=>{u.set(p(e))};function b(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,i.p)(),[o,a]=(0,r.useState)(f(e));(0,r.useEffect)((()=>{t&&u.del()}),[t]);const s=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&m(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?l.dark:l.light:e),u.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=u.get();null!==t&&s(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,s]);const d=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||d.current?d.current=window.matchMedia("print").matches:s(null)};return e.addListener(r),()=>e.removeListener(r)}),[s,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:s,get isDarkTheme(){return o===l.dark},setLightTheme(){s(l.light)},setDarkTheme(){s(l.dark)}})),[o,s])}();return r.createElement(d.Provider,{value:n},t)}function y(){const e=(0,r.useContext)(d);if(null==e)throw new a.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},55597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>y,g1:()=>g});var r=n(96540),o=n(44070),a=n(17065),s=n(6342),i=n(81754),d=n(89532),c=n(89466);const u=e=>`docs-preferred-version-${e}`,l={save:(e,t,n)=>{(0,c.Wf)(u(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.Wf)(u(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.Wf)(u(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const f=r.createContext(null);function m(){const e=(0,o.Gy)(),t=(0,s.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,i]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{i(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=l.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(l.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){l.save(e,t,n),i((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function b(e){let{children:t}=e;const n=m();return r.createElement(f.Provider,{value:n},t)}function y(e){let{children:t}=e;return i.C5?r.createElement(b,null,t):r.createElement(r.Fragment,null,t)}function h(){const e=(0,r.useContext)(f);if(!e)throw new d.dV("DocsPreferredVersionContextProvider");return e}function g(e){void 0===e&&(e=a.W);const t=(0,o.ht)(e),[n,s]=h(),{preferredVersionName:i}=n[e];return{preferredVersion:t.versions.find((e=>e.name===i))??null,savePreferredVersionName:(0,r.useCallback)((t=>{s.savePreferredVersion(e,t)}),[s,e])}}},26588:(e,t,n)=>{"use strict";n.d(t,{V:()=>i,t:()=>d});var r=n(96540),o=n(89532);const a=Symbol("EmptyContext"),s=r.createContext(a);function i(e){let{children:t,name:n,items:o}=e;const a=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return r.createElement(s.Provider,{value:a},t)}function d(){const e=(0,r.useContext)(s);if(e===a)throw new o.dV("DocsSidebarProvider");return e}},89876:(e,t,n)=>{"use strict";n.d(t,{e:()=>p,M:()=>f});var r=n(96540),o=n(75600),a=n(24581),s=n(56347),i=(n(19888),n(89532));function d(e){!function(e){const t=(0,s.W6)(),n=(0,i._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var c=n(6342);const u=r.createContext(void 0);function l(){const e=function(){const e=(0,o.YL)(),{items:t}=(0,c.p)().navbar;return 0===t.length&&!e.component}(),t=(0,a.l)(),n=!e&&"mobile"===t,[s,i]=(0,r.useState)(!1);d((()=>{if(s)return i(!1),!1}));const u=(0,r.useCallback)((()=>{i((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&i(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:s})),[e,n,u,s])}function p(e){let{children:t}=e;const n=l();return r.createElement(u.Provider,{value:n},t)}function f(){const e=r.useContext(u);if(void 0===e)throw new i.dV("NavbarMobileSidebarProvider");return e}},75600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>d,YL:()=>i,y_:()=>s});var r=n(96540),o=n(89532);const a=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return r.createElement(a.Provider,{value:n},t)}function i(){const e=(0,r.useContext)(a);if(!e)throw new o.dV("NavbarSecondaryMenuContentProvider");return e[0]}function d(e){let{component:t,props:n}=e;const s=(0,r.useContext)(a);if(!s)throw new o.dV("NavbarSecondaryMenuContentProvider");const[,i]=s,d=(0,o.Be)(n);return(0,r.useEffect)((()=>{i({component:t,props:d})}),[i,t,d]),(0,r.useEffect)((()=>()=>i({component:null,props:null})),[i]),null}},14090:(e,t,n)=>{"use strict";n.d(t,{w:()=>o,J:()=>a});var r=n(96540);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},24581:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var r=n(96540),o=n(38193);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},s=996;function i(){return o.A.canUseDOM?window.innerWidth>s?a.desktop:a.mobile:a.ssr}const d=!1;function c(){const[e,t]=(0,r.useState)((()=>d?"ssr":i()));return(0,r.useEffect)((()=>{function e(){t(i())}const n=d?window.setTimeout(e,1e3):void 0;return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(n)}}),[]),e}},17559:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},81754:(e,t,n)=>{"use strict";n.d(t,{_o:()=>p,w8:()=>b,C5:()=>l,mz:()=>S,Vd:()=>g,QB:()=>k,fW:()=>v,OF:()=>h});var r=n(96540),o=n(56347),a=n(22831),s=n(44070),i=n(55597),d=n(26588);function c(e){return Array.from(new Set(e))}var u=n(99169);const l=!!s.Gy;function p(e){if(e.href)return e.href;for(const t of e.items){if("link"===t.type)return t.href;if("category"===t.type){const e=p(t);if(e)return e}}}const f=(e,t)=>void 0!==e&&(0,u.ys)(e,t),m=(e,t)=>e.some((e=>b(e,t)));function b(e,t){return"link"===e.type?f(e.href,t):"category"===e.type&&(f(e.href,t)||m(e.items,t))}function y(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,u.ys)(a.href,n)||e(a.items))||"link"===a.type&&(0,u.ys)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function h(){const e=(0,d.t)(),{pathname:t}=(0,o.zy)(),n=(0,s.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?y({sidebarItems:e.items,pathname:t}):null}function g(e){const{activeVersion:t}=(0,s.zK)(e),{preferredVersion:n}=(0,i.g1)(e),o=(0,s.r7)(e);return(0,r.useMemo)((()=>c([t,n,o].filter(Boolean))),[t,n,o])}function v(e,t){const n=g(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${Object.keys(t).join("\n- ")}`);return r[1]}),[e,n])}function k(e,t){const n=g(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${c(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function S(e){let{route:t,versionMetadata:n}=e;const r=(0,o.zy)(),s=t.routes,i=s.find((e=>(0,o.B6)(r.pathname,e)));if(!i)return null;const d=i.sidebar,c=d?n.docsSidebars[d]:void 0;return{docElement:(0,a.v)(s),sidebarName:d,sidebarItems:c}}},1003:(e,t,n)=>{"use strict";n.d(t,{e3:()=>p,be:()=>u,Jx:()=>f});var r=n(96540),o=n(20053),a=n(5260),s=n(53102);function i(){const e=r.useContext(s.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var d=n(86025),c=n(44586);function u(e){let{title:t,description:n,keywords:o,image:s,children:i}=e;const u=function(e){const{siteConfig:t}=(0,c.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:l}=(0,d.h)(),p=s?l(s,{absolute:!0}):void 0;return r.createElement(a.A,null,t&&r.createElement("title",null,u),t&&r.createElement("meta",{property:"og:title",content:u}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),o&&r.createElement("meta",{name:"keywords",content:Array.isArray(o)?o.join(","):o}),p&&r.createElement("meta",{property:"og:image",content:p}),p&&r.createElement("meta",{name:"twitter:image",content:p}),i)}const l=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const s=r.useContext(l),i=(0,o.A)(s,t);return r.createElement(l.Provider,{value:i},r.createElement(a.A,null,r.createElement("html",{className:i})),n)}function f(e){let{children:t}=e;const n=i(),a=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const s=`plugin-id-${n.plugin.id}`;return r.createElement(p,{className:(0,o.A)(a,s)},t)}},89532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>d,ZC:()=>s,_q:()=>a,dV:()=>i,fM:()=>c});var r=n(96540);const o=n(38193).A.canUseDOM?r.useLayoutEffect:r.useEffect;function a(e){const t=(0,r.useRef)(e);return o((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return o((()=>{t.current=e})),t.current}class i extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function d(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return r.createElement(r.Fragment,null,e.reduceRight(((e,t)=>r.createElement(t,null,e)),n))}}},99169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>i,ys:()=>s});var r=n(96540),o=n(35947),a=n(44586);function s(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function i(){const{baseUrl:e}=(0,a.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>e.routes??[])))}(n)}({routes:o.A,baseUrl:e})),[e])}},23104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>l,Tv:()=>d,gk:()=>p});var r=n(96540),o=n(38193),a=n(92303),s=n(89532);const i=r.createContext(void 0);function d(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return r.createElement(i.Provider,{value:n},t)}function c(){const e=(0,r.useContext)(i);if(null==e)throw new s.dV("ScrollControllerProvider");return e}const u=()=>o.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function l(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=c(),o=(0,r.useRef)(u()),a=(0,s._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=u();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function p(){const e=(0,r.useRef)(null),t=(0,a.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&ot&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>r,tU:()=>o});n(44586);const r="default";function o(e,t){return`docs-${e}-${t}`}},89466:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>d});n(96540),n(19888);const r="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,s||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),s=!0),null}var t}let s=!1;const i={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function d(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=a(t?.persistence);return null===n?i:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}},32131:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(44586),o=n(56347);function a(){const{siteConfig:{baseUrl:e,url:t},i18n:{defaultLocale:n,currentLocale:a}}=(0,r.A)(),{pathname:s}=(0,o.zy)(),i=a===n?e:e.replace(`/${a}/`,"/"),d=s.replace(e,"");return{createUrl:function(e){let{locale:r,fullyQualified:o}=e;return`${o?t:""}${function(e){return e===n?`${i}`:`${i}${e}/`}(r)}${d}`}}}},75062:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(96540),o=n(56347),a=n(89532);function s(e){const t=(0,o.zy)(),n=(0,a.ZC)(t),s=(0,a._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&s({location:t,previousLocation:n})}),[s,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(44586);function o(){return(0,r.A)().siteConfig.themeConfig}},12983:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(s=o,n?function(e){return e.endsWith("/")?e:`${e}/`}(s):function(e){return e.endsWith("/")?e.slice(0,-1):e}(s));var s;return e.replace(o,a)}},80253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},70440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="post-content";var o=n(12983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(80253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},20053:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to});const o=function(){for(var e,t,n=0,o="";n{"use strict";n.d(t,{zR:()=>k,TM:()=>A,yJ:()=>f,sC:()=>T,AO:()=>p});var r=n(58168);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r=0;p--){var f=s[p];"."===f?a(s,p):".."===f?(a(s,p),l++):l&&(a(s,p),l--)}if(!c)for(;l--;l)s.unshift("..");!c||""===s[0]||s[0]&&o(s[0])||s.unshift("");var m=s.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var i=n(11561);function d(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function l(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.A)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(i){throw i instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):i}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=s(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,o):n.push(o),l({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,b(),k.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(k.entries[k.index]=o,l({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=k.index+e;return t>=0&&t{"use strict";var r=n(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function d(e){return r.isMemo(e)?s:i[e.$$typeof]||o}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[r.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=f(n);o&&o!==m&&e(t,o,r)}var s=u(n);l&&(s=s.concat(l(n)));for(var i=d(t),b=d(n),y=0;y{"use strict";e.exports=function(e,t,n,r,o,a,s,i){if(!e){var d;if(void 0===t)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,s,i],u=0;(d=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw d.framesToPop=1,d}}},64634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},10119:(e,t,n)=>{"use strict";n.r(t)},51043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function o(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function s(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),c=a.querySelector(r.barSelector),u=r.speed,l=r.easing;return a.offsetWidth,i((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),d(c,s(e,u,l)),1===e?(d(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){d(a,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,s=t.querySelector(r.barSelector),i=e?"-100":a(n.status||0),c=document.querySelector(r.parent);return d(s,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&f(o),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),d=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function l(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},45228:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,o){for(var a,s,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),d=1;d{var r=n(64634);e.exports=m,e.exports.parse=a,e.exports.compile=function(e,t){return d(a(e,t),t)},e.exports.tokensToFunction=d,e.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,d="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var l=n[0],p=n[1],f=n.index;if(d+=e.slice(i,f),i=f+l.length,p)d+=p[1];else{var m=e[i],b=n[2],y=n[3],h=n[4],g=n[5],v=n[6],k=n[7];d&&(r.push(d),d="");var S=null!=b&&null!=m&&m!==b,w="+"===v||"*"===v,x="?"===v||"*"===v,_=b||c,E=h||g,A=b||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:y||a++,prefix:b||"",delimiter:_,optional:x,repeat:w,partial:S,asterisk:!!k,pattern:E?u(E):k?".*":s(_,A)})}}return i-1?"[^"+c(e)+"]+?":c(t)+"|(?:(?!"+c(t)+")[^"+c(e)+"])+?"}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function d(e,t){for(var n=new Array(e.length),o=0;o{"use strict";n.d(t,{A:()=>a});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=l.reach);x+=w.value.length,w=w.next){var _=w.value;if(t.length>e.length)return;if(!(_ instanceof o)){var E,A=1;if(g){if(!(E=a(S,x,e,h))||E.index>=e.length)break;var C=E.index,T=E.index+E[0].length,L=x;for(L+=w.value.length;C>=L;)L+=(w=w.next).value.length;if(x=L-=w.value.length,w.value instanceof o)continue;for(var P=w;P!==t.tail&&(Ll.reach&&(l.reach=R);var I=w.prev;if(D&&(I=d(t,I,D),x+=D.length),c(t,I,A),w=d(t,I,new o(p,y?r.tokenize(N,y):N,v,N)),O&&d(t,w,O),A>1){var M={cause:p+","+m,reach:R};s(e,t,n,w.prev,x,M),l&&M.reach>l.reach&&(l.reach=M.reach)}}}}}}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function d(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o"+a.content+""},r}(),o=r;r.default=r,o.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},o.languages.markup.tag.inside["attr-value"].inside.entity=o.languages.markup.entity,o.languages.markup.doctype.inside["internal-subset"].inside=o.languages.markup,o.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(o.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:o.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:o.languages[t]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},o.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(o.languages.markup.tag,"addAttribute",{value:function(e,t){o.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:o.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),o.languages.html=o.languages.markup,o.languages.mathml=o.languages.markup,o.languages.svg=o.languages.markup,o.languages.xml=o.languages.extend("markup",{}),o.languages.ssml=o.languages.xml,o.languages.atom=o.languages.xml,o.languages.rss=o.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,s=0;s]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},o.languages.c=o.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),o.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),o.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},o.languages.c.string],char:o.languages.c.char,comment:o.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:o.languages.c}}}}),o.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete o.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(o),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(o),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(o),o.languages.javascript=o.languages.extend("clike",{"class-name":[o.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),o.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,o.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:o.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:o.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:o.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:o.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:o.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),o.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:o.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),o.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),o.languages.markup&&(o.languages.markup.tag.addInlined("script","javascript"),o.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),o.languages.js=o.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(o),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function s(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:s(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:s(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:s(a),lookbehind:!0,greedy:!0},number:{pattern:s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(o),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},d=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(o),o.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:o.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},o.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var i=p(/^\{$/,/^\}$/);if(-1===i)continue;for(var d=n;d=0&&f(c,"variable-input")}}}}function u(e){return t[n+e]}function l(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function s(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function i(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function d(t,n,r){var o={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",o),o.tokens=e.tokenize(o.code,o.grammar),e.hooks.run("after-tokenize",o),o.tokens}function c(t){var n={};n["interpolation-punctuation"]=o;var a=e.tokenize(t,n);if(3===a.length){var s=[1,1];s.push.apply(s,d(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,s)}return new e.Token("interpolation",a,r.alias,t)}function u(t,n,r){var o=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),s=0,u={},l=d(o.map((function(e){if("string"==typeof e)return e;for(var n,o=e.content;-1!==t.indexOf(n=i(s++,r)););return u[n]=o,n})).join(""),n,r),p=Object.keys(u);return s=0,function e(t){for(var n=0;n=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var o=p[s],a="string"==typeof r?r:r.content,i=a.indexOf(o);if(-1!==i){++s;var d=a.substring(0,i),l=c(u[o]),f=a.substring(i+o.length),m=[];if(d&&m.push(d),m.push(l),f){var b=[f];e(b),m.push.apply(m,b)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var y=r.content;Array.isArray(y)?e(y):e([y])}}}(l),new e.Token(r,l,"language-"+r,t)}e.languages.javascript["template-string"]=[s("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),s("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),s("svg",/\bsvg/.source),s("markdown",/\b(?:markdown|md)/.source),s("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),s("sql",/\bsql/.source),t].filter(Boolean);var l={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in l&&function t(n){for(var r=0,o=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(o),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return o})),RegExp(e,t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""},i=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===s(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:s(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var d=s(o);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(d=s(t[r-1])+d,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",d,null,d)}o.content&&"string"!=typeof o.content&&i(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(o),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(o),o.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},o.languages.go=o.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),o.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete o.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var s=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,i=s.length;-1!==n.code.indexOf(o=t(r,i));)++i;return s[i]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function s(i){for(var d=0;d=a.length);d++){var c=i[d];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[o],l=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++o;var b=p.substring(0,m),y=new e.Token(r,e.tokenize(l,n.grammar),"language-"+r,l),h=p.substring(m+f.length),g=[];b&&g.push.apply(g,s([b])),g.push(y),h&&g.push.apply(g,s([h])),"string"==typeof c?i.splice.apply(i,[d,1].concat(g)):c.content=g}}else c.content&&s(c.content)}return i}(n.tokens)}}}})}(o),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(o),o.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},o.languages.webmanifest=o.languages.json,o.languages.less=o.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),o.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),o.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},o.languages.objectivec=o.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete o.languages.objectivec["class-name"],o.languages.objc=o.languages.objectivec,o.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},o.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},o.languages.python["string-interpolation"].inside.interpolation.inside.rest=o.languages.python,o.languages.py=o.languages.python,o.languages.reason=o.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),o.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete o.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(o),o.languages.scss=o.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),o.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),o.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),o.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),o.languages.scss.atrule.inside.rest=o.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(o),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(o),o.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const a=o},6969:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722:(e,t,n)=>{const r=n(6969),o=n(98380),a=new Set;function s(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(s.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(63157).resolve(t)],delete Prism.languages[e],n(63157)(t),a.add(e)}))}s.silent=!1,e.exports=s},18692:(e,t,n)=>{var r={"./":8722};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=18692},63157:(e,t,n)=>{var r={"./":8722};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=63157},98380:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var i={},d=e[r];if(d){function c(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in i))for(var s in o(t,a),i[t]=!0,n[t])i[s]=!0}t(d.require,c),t(d.optional,c),t(d.modify,c)}n[r]=i,a.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(a,s,i){var d=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var a=r[o];t[o]="string"==typeof a?{title:a}:a}}return t}(a),c=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var a=e[o];t(a&&a.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(d);s=s.map(c),i=(i||[]).map(c);var u=n(s),l=n(i);s.forEach((function e(n){var r=d[n];t(r&&r.require,(function(t){t in l||(u[t]=!0,e(t))}))}));for(var p,f=r(d),m=u;o(m);){for(var b in p={},m){var y=d[b];t(y&&y.modify,(function(e){e in l&&(p[e]=!0)}))}for(var h in l)if(!(h in u))for(var g in f(h))if(g in u){p[h]=!0;break}for(var v in m=p)u[v]=!0}var k={getIds:function(){var e=[];return k.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var a=o?o.series:void 0,s=o?o.parallel:e,i={},d={};function c(e){if(e in i)return i[e];d[e]=!0;var o,u=[];for(var l in t(e))l in n&&u.push(l);if(0===u.length)o=r(e);else{var p=s(u.map((function(e){var t=c(e);return delete d[e],t})));a?o=a(p,(function(){return r(e)})):r(e)}return i[e]=o}for(var u in n)c(u);var l=[];for(var p in d)l.push(i[p]);return s(l)}(f,u,t,n)}};return k}}();e.exports=t},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,s){if(s!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},22551:(e,t,n)=>{"use strict";var r=n(96540),o=n(45228),a=n(69982);function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n