{"id":634,"date":"2023-03-23T21:42:05","date_gmt":"2023-03-23T13:42:05","guid":{"rendered":""},"modified":"2023-03-23T21:42:05","modified_gmt":"2023-03-23T13:42:05","slug":"SpringCloud Config Server","status":"publish","type":"post","link":"https:\/\/bianchenghao6.com\/634.html","title":{"rendered":"SpringCloud Config Server"},"content":{"rendered":"
\n
<\/p>\n
<\/p>\n
\r\nmkdir git-localconfig-repo\r\ncd git-localconfig-repo\/\r\n<\/pre>\n<\/code>\n <\/div>\n
\n \u521d\u59cb\u5316\u65b0\u7684Git\u5b58\u50a8\u5e93:\n <\/div>\n\n\r\ngit init\r\n<\/pre>\n<\/code>\n <\/div>\n
\n \u5b83\u521d\u59cb\u5316\u4e00\u4e2a
\n \u7a7a<\/strong> git\u5b58\u50a8\u5e93\u3002\n <\/div>\n\n \u6b65\u9aa43: <\/strong>\u73b0\u5728\u79fb\u5230
\n spring-cloud-config-server <\/strong>\u9879\u76ee\uff0c\u7136\u540e\u6dfb\u52a0\u6307\u5411\u7279\u5b9a\u6587\u4ef6\u5939\u7684\u94fe\u63a5\u3002\n <\/div>\n \u53f3\u952e\u5355\u51fb spring-cloud-config-server <\/strong>\u9879\u76ee\u3002<\/strong> <\/span>
\n \u70b9\u51fb\u6784\u5efa\u8def\u5f84<\/strong>-> \u914d\u7f6e\u6784\u5efa\u8def\u5f84<\/strong>\u2026<\/span>
\n \u9009\u62e9\u6765\u6e90<\/strong>\u6807\u7b7e\u3002<\/span>
\n \u70b9\u51fb\u94fe\u63a5\u6e90<\/strong>\uff0c\u7136\u540e\u6d4f\u89c8\u6587\u4ef6\u5939 git-localconfig-repo <\/strong>\u3002<\/span>
\n \u53f3\u952e\u5355\u51fb\u6587\u4ef6\u5939-> \u65b0\u5efa<\/strong>-> \u5176\u4ed6<\/strong>-> \u6587\u4ef6<\/strong>-> \u4e0b\u4e00\u6b65<\/strong>->\u63d0\u4f9b\u6587\u4ef6\u540d: limits-service-properties <\/strong>-> \u5b8c\u6210<\/strong>\u3002<\/span>
\n \u73b0\u5728\u5728\u5c5e\u6027\u6587\u4ef6\u4e2d\u7f16\u5199\u4ee5\u4e0b\u4ee3\u7801: <\/span> <\/p>\n\n\r\nlimits-service.minimum=8\r\nlimits-service.maximum=888\r\n<\/pre>\n<\/code>\n <\/div>\n
\n \u6b65\u9aa44: <\/strong>\u914d\u7f6e\u7528\u6237\u540d\u548c\u7528\u6237\u7535\u5b50\u90ae\u4ef6:\n <\/div>\n\n\r\ngit config -global user.email abc@example.com\r\ngit config -global user.name \"abc\"<\/span>\r\n<\/pre>\n<\/code>\n <\/div>\n
\n \u8be5\u547d\u4ee4\u63d0\u4ea4\u4f7f\u7528git add\u547d\u4ee4\u6dfb\u52a0\u7684\u4efb\u4f55\u6587\u4ef6\uff0c\u4e5f\u63d0\u4ea4\u6b64\u540e\u66f4\u6539\u7684\u6587\u4ef6\u3002\n <\/div>\n\n\r\ngit add -A\r\n<\/pre>\n<\/code>\n <\/div>\n
\n \u73b0\u5728\u6267\u884c\u547d\u4ee4\u4ee5\u63d0\u4ea4\u5b58\u50a8\u5e93\u4e2d\u7684\u66f4\u6539\u3002\u5b83\u5728\u7248\u672c\u5386\u53f2\u8bb0\u5f55\u4e2d\u6c38\u4e45\u8bb0\u5f55\u6216\u5feb\u7167\u6587\u4ef6\u3002\n <\/div>\n\n\r\ngit commit -m \"first commit\"<\/span>\r\n<\/pre>\n<\/code>\n <\/div>\n
<\/p>\n
\n \u6211\u4eec\u53ef\u4ee5\u770b\u5230\u6587\u4ef6\u662f\u66f4\u6539\u4e86\u4e24\u4e2a\u65b0\u8bf4\u660e\u3002\u8fd9\u4e9b\u8bf4\u660e\u5728\u672c\u5730\u5b58\u50a8\u5e93\u4e2d\u5df2\u66f4\u6539\u3002\n <\/div>\n
\n <\/body>
\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"SpringCloud Config Serverzh-cn","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106],"tags":[],"class_list":["post-634","post","type-post","status-publish","format-standard","hentry","category-bc_springcloud_jc"],"_links":{"self":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/634"}],"collection":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/comments?post=634"}],"version-history":[{"count":0,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/634\/revisions"}],"wp:attachment":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/media?parent=634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/categories?post=634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/tags?post=634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}