{"id":81511,"date":"2026-07-25T02:36:47","date_gmt":"2026-07-24T18:36:47","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/81511.html"},"modified":"2026-07-25T02:36:47","modified_gmt":"2026-07-24T18:36:47","slug":"%e7%a8%8b%e5%ba%8f%e5%91%98%e6%9c%80%e5%80%bc%e9%92%b1%e7%9a%84%e4%b8%8d%e6%98%af%e7%94%b5%e8%84%91%ef%bc%8c%e8%80%8c%e6%98%af%e4%bb%a3%e7%a0%81%ef%bc%81%e6%88%91%e6%8a%8a%e4%bb%a3%e7%a0%81%e5%ba%93","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/81511.html","title":{"rendered":"\u7a0b\u5e8f\u5458\u6700\u503c\u94b1\u7684\u4e0d\u662f\u7535\u8111\uff0c\u800c\u662f\u4ee3\u7801\uff01\u6211\u628a\u4ee3\u7801\u5e93\u642c\u56de\u4e86\u81ea\u5df1\u670d\u52a1\u5668"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>\u5199\u4ee3\u7801\u7684\u4eba\u51e0\u4e4e\u90fd\u7528\u8fc7GitHub\u3001Gitee\u6216\u8005\u5176\u4ed6\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\u3002<\/p>\n<p>\u521a\u5f00\u59cb\u505a\u4e2a\u4eba\u9879\u76ee\u7684\u65f6\u5019\u786e\u5b9e\u5f88\u65b9\u4fbf&#xff0c;\u6ce8\u518c\u8d26\u53f7\u3001\u521b\u5efa\u4ed3\u5e93\u3001\u4e0a\u4f20\u4ee3\u7801&#xff0c;\u51e0\u5206\u949f\u5c31\u80fd\u641e\u5b9a\u3002\u5bf9\u4e8e\u5b66\u4e60\u548c\u5f00\u6e90\u9879\u76ee\u6765\u8bf4&#xff0c;\u8fd9\u79cd\u65b9\u5f0f\u5b8c\u5168\u6ca1\u6709\u95ee\u9898\u3002\u4f46\u968f\u7740\u9879\u76ee\u8d8a\u6765\u8d8a\u591a&#xff0c;\u4ee3\u7801\u8d8a\u6765\u8d8a\u91cd\u8981&#xff0c;\u4e0d\u5c11\u5f00\u53d1\u8005\u90fd\u4f1a\u5f00\u59cb\u601d\u8003\u540c\u4e00\u4e2a\u95ee\u9898&#xff1a;\u8fd9\u4e9b\u6838\u5fc3\u8d44\u4ea7\u4e3a\u4ec0\u4e48\u4e00\u5b9a\u8981\u653e\u5728\u522b\u4eba\u7684\u5e73\u53f0\u4e0a&#xff1f;<\/p>\n<p>\u5c24\u5176\u662f\u56e2\u961f\u534f\u4f5c\u573a\u666f\u4e0b&#xff0c;\u8fd9\u79cd\u611f\u53d7\u4f1a\u66f4\u52a0\u660e\u663e\u3002<\/p>\n<p>\u5185\u90e8\u9879\u76ee\u3001\u5ba2\u6237\u9879\u76ee\u3001\u5546\u4e1a\u4ee3\u7801\u3001\u6d4b\u8bd5\u73af\u5883\u914d\u7f6e\u6587\u4ef6&#xff0c;\u8fd9\u4e9b\u5185\u5bb9\u5f88\u591a\u65f6\u5019\u5e76\u4e0d\u9002\u5408\u516c\u5f00\u6258\u7ba1\u3002\u5373\u4fbf\u662f\u79c1\u6709\u4ed3\u5e93&#xff0c;\u4e5f\u59cb\u7ec8\u610f\u5473\u7740\u6570\u636e\u4fdd\u5b58\u5728\u7b2c\u4e09\u65b9\u670d\u52a1\u5668\u4e2d\u3002\u4e00\u65e6\u9047\u5230\u670d\u52a1\u8c03\u6574\u3001\u8d26\u53f7\u9650\u5236\u6216\u8005\u7f51\u7edc\u8bbf\u95ee\u95ee\u9898&#xff0c;\u591a\u5c11\u90fd\u4f1a\u5f71\u54cd\u56e2\u961f\u6b63\u5e38\u5f00\u53d1\u3002\u5bf9\u4e8e\u4f01\u4e1a\u6765\u8bf4&#xff0c;\u4ee3\u7801\u4e0d\u4ec5\u4ec5\u662f\u6587\u4ef6&#xff0c;\u66f4\u662f\u6700\u91cd\u8981\u7684\u6570\u5b57\u8d44\u4ea7\u4e4b\u4e00\u3002<\/p>\n<p>\u5f88\u591a\u56e2\u961f\u56e0\u6b64\u5f00\u59cb\u5c1d\u8bd5\u81ea\u5efa\u4ee3\u7801\u4ed3\u5e93&#xff0c;\u4f46\u65b0\u7684\u95ee\u9898\u53c8\u51fa\u73b0\u4e86\u3002\u90e8\u7f72\u4e0d\u96be&#xff0c;\u8bbf\u95ee\u624d\u662f\u96be\u70b9\u3002\u670d\u52a1\u5668\u653e\u5728\u516c\u53f8\u6216\u8005\u5bb6\u91cc\u4e4b\u540e&#xff0c;\u56e2\u961f\u6210\u5458\u53ea\u80fd\u5728\u5c40\u57df\u7f51\u5185\u8bbf\u95ee\u3002\u8fdc\u7a0b\u529e\u516c\u7684\u65f6\u5019\u62c9\u4e0d\u5230\u4ee3\u7801&#xff0c;\u51fa\u5dee\u7684\u65f6\u5019\u63d0\u4ea4\u4e0d\u4e86\u66f4\u65b0&#xff0c;\u597d\u4e0d\u5bb9\u6613\u642d\u8d77\u6765\u7684\u79c1\u6709\u4ed3\u5e93&#xff0c;\u6700\u540e\u53c8\u53d8\u6210\u4e86\u5c11\u6570\u4eba\u624d\u80fd\u4f7f\u7528\u7684\u5185\u90e8\u5de5\u5177\u3002<\/p>\n<p>GitLab\u4e4b\u6240\u4ee5\u4e00\u76f4\u53d7\u5230\u5f00\u53d1\u56e2\u961f\u6b22\u8fce&#xff0c;\u5e76\u4e0d\u4ec5\u4ec5\u56e0\u4e3a\u5b83\u80fd\u66ff\u4ee3GitHub\u548cGitee&#xff0c;\u800c\u662f\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u4e00\u6574\u5957\u5b8c\u6574\u7684\u8f6f\u4ef6\u7814\u53d1\u5e73\u53f0\u3002\u4ece\u4ee3\u7801\u6258\u7ba1\u3001\u9879\u76ee\u7ba1\u7406\u5230CI\/CD\u81ea\u52a8\u5316\u90e8\u7f72&#xff0c;\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u9700\u8981\u7684\u6838\u5fc3\u80fd\u529b\u51e0\u4e4e\u90fd\u80fd\u5728\u4e00\u4e2a\u5e73\u53f0\u4e2d\u5b8c\u6210\u3002\u518d\u7ed3\u5408cpolar\u5b9e\u73b0\u516c\u7f51\u8bbf\u95ee\u4e4b\u540e&#xff0c;\u8fd9\u5957\u7cfb\u7edf\u65e2\u4fdd\u7559\u4e86\u79c1\u6709\u90e8\u7f72\u7684\u5b89\u5168\u6027&#xff0c;\u53c8\u62e5\u6709\u4e86\u63a5\u8fd1\u516c\u6709\u4e91\u5e73\u53f0\u7684\u4f7f\u7528\u4f53\u9a8c\u3002<\/p>\n<h3>1 \u4e3a\u4ec0\u4e48\u9009\u62e9\u81ea\u5efa GitLab&#xff1f;<\/h3>\n<h4>1.1 GitLab<\/h4>\n<p>GitLab\u662f\u4e00\u4e2a\u57fa\u4e8eWeb\u7684\u5f00\u6e90\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0&#xff0c;\u5b83\u63d0\u4f9b\u4e86\u4ee3\u7801\u6258\u7ba1\u3001\u9879\u76ee\u7ba1\u7406\u3001\u6301\u7eed\u96c6\u6210\u548c\u6301\u7eed\u90e8\u7f72\u7b49\u529f\u80fd\u3002GitLab\u91c7\u7528\u4e86Git\u4f5c\u4e3a\u7248\u672c\u63a7\u5236\u7cfb\u7edf&#xff0c;\u5e76\u63d0\u4f9b\u4e86\u6613\u4e8e\u4f7f\u7528\u7684\u754c\u9762\u548c\u4e30\u5bcc\u7684\u529f\u80fd\u3002<\/p>\n<p>GitLab\u4e0e\u5e02\u573a\u4e0a\u7684Gitee\u548cGitHub\u76f8\u6bd4\u5177\u6709\u4ee5\u4e0b\u4f18\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u5f00\u6e90\u81ea\u6258\u7ba1&#xff1a;GitLab\u662f\u5f00\u6e90\u8f6f\u4ef6&#xff0c;\u4f60\u53ef\u4ee5\u9009\u62e9\u5c06\u5176\u90e8\u7f72\u5728\u81ea\u5df1\u7684\u670d\u52a1\u5668\u4e0a&#xff0c;\u5b8c\u5168\u638c\u63e1\u4ee3\u7801\u6258\u7ba1\u7684\u63a7\u5236\u6743&#xff0c;\u4e0d\u53d7\u7b2c\u4e09\u65b9\u5e73\u53f0\u7684\u9650\u5236\u3002\u800cGitee\u548cGitHub\u5219\u662f\u5546\u4e1a\u5316\u7684\u6258\u7ba1\u670d\u52a1\u3002<\/li>\n<li>\u5b8c\u6574\u7684CI\/CD\u652f\u6301&#xff1a;GitLab\u5185\u7f6e\u4e86\u6301\u7eed\u96c6\u6210\u548c\u6301\u7eed\u90e8\u7f72\u529f\u80fd&#xff0c;\u4f7f\u56e2\u961f\u80fd\u591f\u81ea\u52a8\u6784\u5efa\u3001\u6d4b\u8bd5\u548c\u4ea4\u4ed8\u8f6f\u4ef6\u3002\u8fd9\u6709\u52a9\u4e8e\u63d0\u9ad8\u56e2\u961f\u7684\u5f00\u53d1\u6548\u7387\u548c\u8f6f\u4ef6\u8d28\u91cf\u3002<\/li>\n<li>\u5168\u9762\u7684\u9879\u76ee\u7ba1\u7406\u529f\u80fd&#xff1a;\u9664\u4e86\u4ee3\u7801\u4ed3\u5e93\u7ba1\u7406\u5916&#xff0c;GitLab\u8fd8\u63d0\u4f9b\u4e86\u9879\u76ee\u8ba1\u5212\u3001\u95ee\u9898\u8ddf\u8e2a\u3001\u6587\u6863\u7ba1\u7406\u548c\u534f\u4f5c\u529f\u80fd&#xff0c;\u5e2e\u52a9\u56e2\u961f\u66f4\u597d\u5730\u7ec4\u7ec7\u548c\u7ba1\u7406\u9879\u76ee\u3002<\/li>\n<li>\u4e30\u5bcc\u7684\u793e\u533a\u652f\u6301&#xff1a;GitLab\u62e5\u6709\u5e9e\u5927\u7684\u5168\u7403\u5f00\u53d1\u8005\u793e\u533a&#xff0c;\u4f60\u53ef\u4ee5\u4ece\u793e\u533a\u4e2d\u83b7\u53d6\u5f00\u6e90\u9879\u76ee\u3001\u89e3\u51b3\u95ee\u9898\u4ee5\u53ca\u5206\u4eab\u7ecf\u9a8c\u3002\u540c\u65f6&#xff0c;GitLab\u793e\u533a\u7248\u4e5f\u6709\u8bb8\u591a\u6d3b\u8dc3\u7684\u8d21\u732e\u8005\u4e3a\u5176\u4e0d\u65ad\u589e\u52a0\u65b0\u529f\u80fd\u548c\u4fee\u590dbug\u3002<\/li>\n<\/ul>\n<h4>1.2 Gitee<\/h4>\n<p>Gitee\u662f\u4e2d\u56fd\u7684\u4e00\u5bb6Git\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0&#xff0c;\u4e0eGitHub\u7c7b\u4f3c\u3002\u5b83\u63d0\u4f9b\u4e86\u7c7b\u4f3c\u4e8eGitHub\u7684\u4ee3\u7801\u6258\u7ba1\u548c\u9879\u76ee\u7ba1\u7406\u529f\u80fd&#xff0c;\u4f46\u66f4\u5173\u6ce8\u4e2d\u56fd\u5f00\u53d1\u8005\u7684\u9700\u6c42\u3002Gitee\u5728\u56fd\u5185\u6709\u8f83\u597d\u7684\u7f51\u7edc\u8fde\u63a5\u901f\u5ea6&#xff0c;\u652f\u6301\u4e2d\u6587\u754c\u9762\u548c\u4e2d\u6587\u6587\u6863&#xff0c;\u56e0\u6b64\u5728\u4e2d\u56fd\u7528\u6237\u4e2d\u6bd4\u8f83\u6d41\u884c\u3002<\/p>\n<h4>1.3 GitHub<\/h4>\n<p>GitHub\u662f\u5168\u7403\u6700\u5927\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0&#xff0c;\u4e5f\u662f\u4e00\u4e2a\u5f00\u53d1\u8005\u793e\u4ea4\u7f51\u7edc\u3002\u5b83\u5177\u6709\u6781\u9ad8\u7684\u77e5\u540d\u5ea6\u548c\u5e7f\u6cdb\u7684\u5f00\u53d1\u8005\u793e\u533a&#xff0c;\u6db5\u76d6\u4e86\u5404\u79cd\u6280\u672f\u9886\u57df\u3002GitHub\u63d0\u4f9b\u4e86\u5353\u8d8a\u7684\u534f\u4f5c\u548c\u5206\u4eab\u529f\u80fd&#xff0c;\u4f7f\u5f97\u5f00\u53d1\u8005\u80fd\u591f\u8f7b\u677e\u5730\u4e0e\u5168\u7403\u7684\u5f00\u53d1\u8005\u5171\u540c\u5408\u4f5c\u3002\u5b83\u4e5f\u63d0\u4f9b\u4e86\u5f88\u591a\u4e0e\u7b2c\u4e09\u65b9\u670d\u52a1\u96c6\u6210\u7684\u529f\u80fd&#xff0c;\u4f8b\u5982\u4ee3\u7801\u5ba1\u67e5\u5de5\u5177\u3001\u6301\u7eed\u96c6\u6210\u670d\u52a1\u7b49\u3002<\/p>\n<p>\u603b\u4e4b&#xff0c;GitLab\u3001Gitee\u548cGitHub\u90fd\u662f\u4f18\u79c0\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0&#xff0c;\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u9700\u6c42\u548c\u573a\u666f\u3002\u9009\u62e9\u54ea\u4e2a\u5e73\u53f0\u53d6\u51b3\u4e8e\u4f60\u7684\u56e2\u961f\u89c4\u6a21\u3001\u9879\u76ee\u9700\u6c42\u548c\u4e2a\u4eba\u504f\u597d\u3002<\/p>\n<h3>2 GitLab\u5b89\u88c5&#xff08;CE 13.9.6&#xff09;<\/h3>\n<h4>2.1 \u6dfb\u52a0GitLab\u8f6f\u4ef6\u4ed3\u5e93<\/h4>\n<p><span class=\"token comment\">#\u4eceGitLab\u5b98\u65b9\u7f51\u7ad9\u83b7\u53d6\u4e0e\u6dfb\u52a0\u4ed3\u5e93\u811a\u672c\u7684URL<\/span><br \/>\n<span class=\"token comment\">#sudo bash \u4ee5\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c\u811a\u672c&#xff0c;\u5c06GitLab\u8f6f\u4ef6\u4ed3\u5e93\u6dfb\u52a0\u5230\u7cfb\u7edf\u4e2d\u3002<\/span><br \/>\n<span class=\"token function\">curl<\/span> https:\/\/packages.gitlab.com\/install\/repositories\/gitlab\/gitlab-ce\/script.rpm.sh <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">bash<\/span><\/p>\n<p>curl\u547d\u4ee4\u6267\u884c\u5b8c\u6210\u540e&#xff0c;\u4f1a\u5728\/etc\/yum.repos.d\u76ee\u5f55\u4e0b\u751f\u6210 gitlab_gitlab-ce.repo\u6587\u4ef6\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183638-6a63b0b61882d.png\" alt=\"image-20250801144802444\" \/><\/p>\n<h4>2.2 \u5b89\u88c5GitLab<\/h4>\n<p>\u865a\u62df\u673aIP\u67e5\u770b\u53ef\u4ee5\u4f7f\u7528ifconfig\u547d\u4ee4<\/p>\n<p><span class=\"token comment\"># \u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4<\/span><br \/>\n<span class=\"token comment\"># \u8bbe\u7f6e GitLab \u7684\u5916\u90e8\u8bbf\u95ee\u5730\u5740\u4e3a http:\/\/&lt;\u60a8\u7684\u865a\u62df\u673aIP&gt;:8888<\/span><br \/>\n<span class=\"token comment\"># \u5e76\u901a\u8fc7 yum \u5b89\u88c5 GitLab \u793e\u533a\u7248 13.9.6&#xff0c;\u81ea\u52a8\u786e\u8ba4\u6240\u6709\u63d0\u793a<\/span><\/p>\n<p><span class=\"token comment\">#\u5982&#xff1a;sudo EXTERNAL_URL&#061;&#034;http:\/\/192.168.184.133:8888&#034; yum install -y gitlab-ce-13.9.6<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token assign-left variable\">EXTERNAL_URL<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;http:\/\/&lt;\u60a8\u7684\u865a\u62df\u673aIP&gt;:8888&#034;<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> gitlab-ce-13.9.6<\/p>\n<p>\u5b89\u88c5\u6210\u529f\u63d0\u793a\u5982\u4e0b\u56fe&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183638-6a63b0b670c55.png\" alt=\"image-20250801174740798\" \/><\/p>\n<h4>2.3 \u914d\u7f6eGitLab<\/h4>\n<p>\u6253\u5f00 GitLab \u7684\u4e3b\u914d\u7f6e\u6587\u4ef6 gitlab.rb&#xff0c;\u51c6\u5907\u4fee\u6539\u9ed8\u8ba4\u7684\u8bbf\u95ee\u7aef\u53e3\u3002<\/p>\n<p>\u4e3a\u4ec0\u4e48\u8981\u6539&#xff1a;GitLab \u9ed8\u8ba4\u4f7f\u7528 HTTP 80 \u548c unicorn 8080&#xff0c;\u5982\u679c\u7aef\u53e3\u51b2\u7a81\u6216\u4f60\u60f3\u7528\u5176\u4ed6\u7aef\u53e3&#xff08;\u6bd4\u5982\u8981\u505a\u7aef\u53e3\u6620\u5c04\u6216\u914d\u5408\u5185\u7f51\u7a7f\u900f\u5de5\u5177\u5982 cpolar&#xff09;&#xff0c;\u5c31\u8981\u6539\u6210\u81ea\u5b9a\u4e49\u7684\u7aef\u53e3&#xff0c;\u6bd4\u5982 8888\u30018887\u3002<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">vim<\/span> \/etc\/gitlab\/gitlab.rb<\/p>\n<p>\u6253\u5f00\u540e&#xff0c;\u5728external_url &#039;http:\/\/&lt;\u60a8\u8bbe\u7f6e\u7684IP\u5730\u5740&gt;:8888&#039;\u4e0b\u9762\u6dfb\u52a0&#xff1a;<\/p>\n<p>nginx<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;listen_port&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">8888<\/span><br \/>\nunicorn<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;port&#039;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">8887<\/span><\/p>\n<ul>\n<li>nginx[&#039;listen_port&#039;] &#061; 8888&#xff1a;\u6307\u5b9a GitLab \u4f7f\u7528\u5185\u7f6e nginx \u670d\u52a1\u76d1\u542c 8888 \u7aef\u53e3&#xff08;\u5373\u7f51\u9875\u8bbf\u95ee\u7528\u8fd9\u4e2a\u7aef\u53e3&#xff09;<\/li>\n<li>unicorn[&#039;port&#039;] &#061; 8887&#xff1a;\u6307\u5b9a GitLab \u7684\u5e94\u7528\u670d\u52a1\u5668&#xff08;unicorn&#xff09;\u4f7f\u7528 8887 \u7aef\u53e3<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183638-6a63b0b6ec371.png\" alt=\"image-20250801175614618\" \/><\/p>\n<p>\u63a5\u4e0b\u6765\u9700\u8981\u7ed9\u9632\u706b\u5899\u5f00\u653e\u7aef\u53e3&#xff0c;\u5237\u65b0\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u9632\u706b\u5899\u5f00\u653e\u7aef\u53e3<\/span><br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;zone<\/span><span class=\"token operator\">&#061;<\/span>public &#8211;add-port<span class=\"token operator\">&#061;<\/span><span class=\"token number\">8888<\/span>\/tcp <span class=\"token parameter variable\">&#8211;permanent<\/span><br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;zone<\/span><span class=\"token operator\">&#061;<\/span>public &#8211;add-port<span class=\"token operator\">&#061;<\/span><span class=\"token number\">8887<\/span>\/tcp <span class=\"token parameter variable\">&#8211;permanent<\/span><\/p>\n<p><span class=\"token comment\">#\u5237\u65b0\u914d\u7f6e<\/span><br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;reload<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183639-6a63b0b77a74f.png\" alt=\"image-20250801175841803\" \/><\/p>\n<p>\u5237\u65b0GitLab\u4ee5\u5e94\u7528\u65b0\u7684\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> gitlab-ctl reconfigure<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183639-6a63b0b7b9f08.png\" alt=\"image-20250801180104708\" \/><\/p>\n<h4>2.4 \u542f\u52a8\u53ca\u8bbf\u95eeGitLab<\/h4>\n<p><span class=\"token function\">sudo<\/span> gitlab-ctl start<span class=\"token comment\">#\u542f\u52a8<\/span><br \/>\n<span class=\"token function\">sudo<\/span> gitlab-ctl restart<span class=\"token comment\">#\u91cd\u542f<\/span><br \/>\n<span class=\"token function\">sudo<\/span> gitlab-ctl stop<span class=\"token comment\">#\u505c\u6b62<\/span><br \/>\n<span class=\"token function\">sudo<\/span> gitlab-ctl status<span class=\"token comment\">#\u72b6\u6001<\/span><\/p>\n<p>\u542f\u52a8\u56fe\u793a\u5982\u4e0b&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183640-6a63b0b841f3c.png\" alt=\"image-20250801180315843\" \/><\/p>\n<p>\u8bbf\u95ee\u524d\u9762\u8bbe\u7f6e\u7684 http:\/\/192.168.184.133:8888 ,\u51fa\u73b0\u5982\u4e0b\u56fe\u5373\u6210\u529f&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183640-6a63b0b8a51d9.png\" alt=\"image-20250801180537956\" \/><\/p>\n<p>\u5982\u4e0a\u4e3a\u8bbe\u7f6e\u5bc6\u7801\u9875\u9762&#xff0c;\u8bbe\u7f6e\u597d\u5bc6\u7801\u540e\u4f1a\u8df3\u8f6c\u5982\u4e0b\u767b\u5f55\u754c\u9762&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183641-6a63b0b93573e.png\" alt=\"image-20250801180731512\" \/><\/p>\n<p>\u7ba1\u7406\u5458\u767b\u5f55\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u7528\u6237\u540d<\/span><br \/>\nroot<\/p>\n<p><span class=\"token comment\">#\u5bc6\u7801<\/span><br \/>\n\u60a8\u8bbe\u7f6e\u7684\u5bc6\u7801<\/p>\n<p>\u767b\u5f55\u6210\u529f\u5373\u53ef\u8fdb\u5165\u4e3b\u9875\u9762&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183641-6a63b0b9ab76d.png\" alt=\"image-20250801180934198\" \/><\/p>\n<h3>3 GitLab\u521b\u5efa\u9879\u76ee<\/h3>\n<p>\u524d\u540e\u7aef\u7686\u53ef\u6b64\u65b9\u6cd5&#xff0c;\u8fd9\u91cc\u4ee5\u524d\u7aef\u4e3e\u4f8b<\/p>\n<h4>3.1 \u9879\u76ee\u521b\u5efa<\/h4>\n<p>\u9009\u62e9\u65b0\u9879\u76ee&#xff08;new project&#xff09;&#xff0c;\u7136\u540e\u9009\u62e9\u521b\u5efa\u7a7a\u9879\u76ee&#xff08;create blank project&#xff09;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183642-6a63b0ba320f0.png\" alt=\"image-20250801181332329\" \/><\/p>\n<p>\u70b9\u51fb\u8fdb\u5165\u9879\u76ee\u4fe1\u606f\u9875\u9762&#xff0c;\u586b\u5199\u9879\u76ee\u4fe1\u606f&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183642-6a63b0ba7a898.png\" alt=\"image-20250801181429824\" \/><\/p>\n<p>\u70b9\u51fb\u521b\u5efa\u9879\u76ee\u540e&#xff0c;\u9879\u76ee\u5373\u53ef\u521b\u5efa\u6210\u529f&#xff01;\u968f\u5373\u4f1a\u8df3\u8f6c\u5230\u521b\u5efa\u597d\u7684\u9879\u76ee\u9875\u9762&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183643-6a63b0bb0a333.png\" alt=\"image-20250801181509106\" \/><\/p>\n<h4>3.2 \u4e0b\u62c9\u4ee3\u7801<\/h4>\n<p>\u4f7f\u7528\u524d\u9700\u6709git\u73af\u5883&#xff0c;\u53ef\u53bbgit\u5b98\u7f51\u4e0b\u8f7d&#xff1a;<\/p>\n<p>\u590d\u5236\u9879\u76ee\u7684\u5730\u5740&#xff1a;<\/p>\n<p>http:\/\/192.168.184.133:8888\/root\/myvue3demo.git<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183643-6a63b0bb8edaf.png\" alt=\"image-20250801182242629\" \/><\/p>\n<p>\u5b89\u88c5\u597dgit\u540e&#xff0c;\u5728\u4efb\u610f\u6587\u4ef6\u5939\u4f4d\u7f6e\u9f20\u6807\u53f3\u952e\u53ef\u4ee5\u770b\u5230open Git Bash here\u9009\u62e9&#xff0c;\u70b9\u51fb\u8fdb\u5165&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183644-6a63b0bc07ed3.png\" alt=\"image-20250801182458461\" \/><\/p>\n<p>\u8fdb\u5165git bash\u7ec8\u7aef\u540e&#xff0c;\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\u4e0b\u62c9\u4ee3\u7801&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> clone http:\/\/192.168.184.133:8888\/root\/myvue3demo.git<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183644-6a63b0bc44353.png\" alt=\"image-20250801182737422\" \/>\u53ef\u80fd\u4f1a\u51fa\u73b0\u9700\u8981\u8f93\u5165\u5bc6\u7801\u7684\u60c5\u51b5,\u8f93\u5165gitlab\u7684\u7528\u6237\u540droot\u548c\u60a8\u8bbe\u7f6e\u7684gitlab\u5bc6\u7801\u5373\u53ef<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183644-6a63b0bc8446e.png\" alt=\"image-20250801183005758\" \/><\/p>\n<h4>3.3 \u4e0a\u4f20\u4ee3\u7801<\/h4>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u5feb\u6377&#xff0c;\u6211\u8fd9\u8fb9\u4f7f\u7528cursorAI\u7f16\u8f91\u5668&#xff0c;\u751f\u6210\u4e86\u4e00\u4e2a\u7b80\u5355\u7684Vue3\u9879\u76ee\u6f14\u793a\u7ad9&#xff1a;<\/p>\n<p>\u9879\u76ee\u4f1a\u653e\u5728\u7ed3\u5c3e\u5f00\u6e90&#xff0c;\u4f9b\u5927\u5bb6\u514d\u8d39\u4e0b\u8f7d\u4ee3\u7801&#xff0c;\u8fdb\u884c\u6d4b\u8bd5~<\/p>\n<p>\u751f\u6210\u7684\u9875\u9762\u5c55\u793a\u5982\u4e0b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183644-6a63b0bcb5cb3.png\" alt=\"image-20250804130837678\" \/><\/p>\n<p>\u73b0\u5728&#xff0c;\u76ee\u5f55\u5217\u8868\u91cc\u9762\u5c31\u6709\u9879\u76ee\u6587\u4ef6\u5566&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183645-6a63b0bd4f641.png\" alt=\"image-20250801191157621\" \/><\/p>\n<p>\u63a5\u4e0b\u6765&#xff0c;\u7ee7\u7eed\u5728\u5f53\u524d\u4f4d\u7f6e\u9f20\u6807\u53f3\u952e\u6253\u5f00git bash&#xff0c;\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u6dfb\u52a0\u6682\u5b58\u533a<\/span><br \/>\n<span class=\"token function\">git<\/span> <span class=\"token function\">add<\/span> <span class=\"token builtin class-name\">.<\/span><\/p>\n<p><span class=\"token comment\">#\u63d0\u4ea4\u672c\u5730git\u4ed3\u5e93 \u52a0\u5185\u5bb9<\/span><br \/>\n<span class=\"token function\">git<\/span> commit <span class=\"token parameter variable\">-m<\/span> <span class=\"token string\">&#034;\u5185\u5bb9&#034;<\/span><\/p>\n<p><span class=\"token comment\">#\u63a8\u9001\u5230\u8fdc\u7a0b<\/span><br \/>\n<span class=\"token function\">git<\/span> push<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183645-6a63b0bd7f9bb.png\" alt=\"image-20250801191410794\" \/><\/p>\n<p>\u8fd9\u6837&#xff0c;\u4ee3\u7801\u5c31\u6210\u529f\u63a8\u9001\u6210\u529f\u4e86&#xff0c;\u670d\u52a1\u5668\u5237\u65b0\u4e5f\u53ef\u4ee5\u770b\u5230&#xff0c;\u4ee3\u7801\u5df2\u7ecf\u6210\u529f\u4e0a\u4f20\u5230gitlab\u4ed3\u5e93\u5566&#xff01;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183645-6a63b0bdc1ee0.png\" alt=\"image-20250804134404547\" \/><\/p>\n<h3>4 \u4f7f\u7528 cpolar \u5b9e\u73b0\u516c\u7f51\u8bbf\u95ee<\/h3>\n<h4>4.1 \u5b89\u88c5 cpolar<\/h4>\n<h5>4.1.1 \u4ec0\u4e48\u662fcpolar&#xff1f;<\/h5>\n<ul>\n<li>cpolar \u662f\u4e00\u6b3e\u5185\u7f51\u7a7f\u900f\u5de5\u5177&#xff0c;\u53ef\u4ee5\u5c06\u4f60\u5728\u5c40\u57df\u7f51\u5185\u8fd0\u884c\u7684\u670d\u52a1&#xff08;\u5982\u672c\u5730 Web \u670d\u52a1\u5668\u3001SSH\u3001\u8fdc\u7a0b\u684c\u9762\u7b49&#xff09;\u901a\u8fc7\u4e00\u6761\u5b89\u5168\u52a0\u5bc6\u7684\u4e2d\u95f4\u96a7\u9053\u6620\u5c04\u81f3\u516c\u7f51&#xff0c;\u8ba9\u5916\u90e8\u8bbe\u5907\u65e0\u9700\u914d\u7f6e\u8def\u7531\u5668\u5373\u53ef\u8bbf\u95ee\u3002<\/li>\n<li>\u5e7f\u6cdb\u652f\u6301 Windows\u3001macOS\u3001Linux\u3001\u6811\u8393\u6d3e\u3001\u7fa4\u6656 NAS \u7b49\u5e73\u53f0&#xff0c;\u5e76\u63d0\u4f9b\u4e00\u952e\u5b89\u88c5\u811a\u672c\u65b9\u4fbf\u90e8\u7f72\u3002<\/li>\n<\/ul>\n<h5>4.1.2 \u5b89\u88c5cpolar<\/h5>\n<p>\u9996\u5148&#xff0c;\u6211\u4eec\u9700\u8981\u5148\u5b89\u88c5curl&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> <span class=\"token function\">curl<\/span><\/p>\n<p>\u63a5\u4e0b\u6765\u4e0b\u8f7dcpolar,\u4e00\u6761\u547d\u4ee4\u5b8c\u6210\u5b89\u88c5<\/p>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-L<\/span> https:\/\/www.cpolar.com\/static\/downloads\/install-release-cpolar.sh <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">bash<\/span><\/p>\n<p><img decoding=\"async\" src=\"2026-07-25zy3vuaigyyg.png\" alt=\"image-20250731104103027\" \/><\/p>\n<p>\u6d4b\u8bd5 cpolar\u7248\u672c\u4ee5\u786e\u4fdd\u5b89\u88c5<\/p>\n<p>cploar version<\/p>\n<p><img decoding=\"async\" src=\"2026-07-250pk0oek1dye.png\" alt=\"image-20250731104439284\" \/><\/p>\n<h4>4.2 \u914d\u7f6ecpolar\u7cfb\u7edf\u670d\u52a1<\/h4>\n<p>\u5411\u7cfb\u7edf\u6dfb\u52a0\u53ca\u542f\u52a8cpolar\u670d\u52a1<\/p>\n<p><span class=\"token comment\">#\u6dfb\u52a0cpolar\u670d\u52a1<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> cpolar<\/p>\n<p><span class=\"token comment\">#\u542f\u52a8cpolar\u670d\u52a1<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl start cpolar<\/p>\n<p><img decoding=\"async\" src=\"2026-07-252q4ovknk5d4.png\" alt=\"image-20250731113335779\" \/><\/p>\n<p>\u67e5\u770b\u670d\u52a1\u72b6\u6001<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl status cpolar<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25g21glcj1tev.png\" alt=\"image-20250731113641757\" \/><\/p>\n<h4>4.3 \u6ce8\u518c\u53ca\u767b\u5f55cpolar web ui\u7ba1\u7406\u754c\u9762<\/h4>\n<h5>4.3.1 \u6ce8\u518ccpolar<\/h5>\n<p>\u8bbf\u95eecpolar\u5b98\u7f51&#xff0c;\u70b9\u51fb\u514d\u8d39\u6ce8\u518c\u6309\u94ae&#xff0c;\u8fdb\u884c\u8d26\u53f7\u6ce8\u518c<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25ds1jsa0lv1b.png\" alt=\"image-20250804085039567\" \/><\/p>\n<p>\u6ce8\u518c\u9875\u9762&#xff1a;<br \/>\n<img decoding=\"async\" src=\"2026-07-25renucupqdqp.png\" alt=\"image-20250804085208319\" \/><\/p>\n<h5>4.3.2 \u653e\u884c9200\u7aef\u53e3&#xff08;web ui\u7aef\u53e3&#xff09;<\/h5>\n<p>\u5728\u8bbf\u95eeweb\u9875\u9762\u524d&#xff0c;\u9700\u8981\u5148\u68c0\u67e5\u7cfb\u7edf\u9632\u706b\u5899\u662f\u5426\u653e\u884c9200\u7aef\u53e3&#xff0c;\u907f\u514d\u8bbf\u95ee\u4e0d\u4e86<\/p>\n<p>systemctl status firewalld<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25hbyemhdd1oo.png\" alt=\"image-20250731114230860\" \/><\/p>\n<p>\u6709\u4e24\u79cd\u65b9\u5f0f\u53ef\u4ee5\u5b9e\u73b0\u8bbf\u95ee&#xff0c;\u4e00\u79cd\u662f\u653e\u884c\u8be5\u7aef\u53e3&#xff0c;\u53e6\u4e00\u79cd\u662f\u76f4\u63a5\u5173\u95ed\u9632\u706b\u5899&#xff08;\u4e0d\u5efa\u8bae&#xff09;<\/p>\n<p><span class=\"token comment\">#\u653e\u884c 9200 \u7aef\u53e3  <\/span><br \/>\n<span class=\"token comment\">#&#8211;zone&#061;public&#xff1a;\u4f7f\u7528\u9ed8\u8ba4\u533a\u57df&#xff08;\u901a\u5e38\u662f public&#xff09;<\/span><br \/>\n<span class=\"token comment\">#&#8211;add-port&#061;9200\/tcp&#xff1a;\u6dfb\u52a0 TCP \u534f\u8bae\u7684 9200 \u7aef\u53e3<\/span><br \/>\n<span class=\"token comment\">#&#8211;permanent&#xff1a;\u6c38\u4e45\u751f\u6548&#xff08;\u4e0d\u52a0\u6b64\u53c2\u6570\u5219\u662f\u4e34\u65f6\u89c4\u5219&#xff0c;\u91cd\u542f\u5931\u6548&#xff09;<\/span><br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;zone<\/span><span class=\"token operator\">&#061;<\/span>public &#8211;add-port<span class=\"token operator\">&#061;<\/span><span class=\"token number\">9200<\/span>\/tcp <span class=\"token parameter variable\">&#8211;permanent<\/span><\/p>\n<p><span class=\"token comment\">#\u91cd\u8f7d\u9632\u706b\u5899\u914d\u7f6e(\u53ca\u5237\u65b0\u914d\u7f6e\u4f7f\u5176\u751f\u6548)<\/span><br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;reload<\/span><\/p>\n<p><img decoding=\"async\" src=\"2026-07-254opeurd2f5c.png\" alt=\"image-20250731114753297\" \/><\/p>\n<p>\u9a8c\u8bc1\u7aef\u53e3\u662f\u5426\u5df2\u653e\u884c<\/p>\n<p>firewall-cmd <span class=\"token parameter variable\">&#8211;zone<\/span><span class=\"token operator\">&#061;<\/span>public &#8211;query-port<span class=\"token operator\">&#061;<\/span><span class=\"token number\">9200<\/span>\/tcp<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25uxpf4o5pgfj.png\" alt=\"image-20250731114856489\" \/><\/p>\n<p>\u8f93\u51fa\u5185\u5bb9\u4e3ayes\u5219\u6210\u529f\u653e\u884c<\/p>\n<h5>4.3.3 \u8bbf\u95eecpolar web ui\u7ba1\u7406\u754c\u9762<\/h5>\n<p>\u5728\u8bbf\u95ee\u4e4b\u524d&#xff0c;\u4e0d\u786e\u5b9aip\u5730\u5740\u53ef\u4ee5\u901a\u8fc7ifconfig\u547d\u4ee4\u67e5\u770b\u670d\u52a1\u5668ip<\/p>\n<p><span class=\"token function\">ifconfig<\/span><\/p>\n<p><img decoding=\"async\" src=\"2026-07-253xgj1iv4jpe.png\" alt=\"image-20250731115241198\" \/><\/p>\n<p>\u786e\u5b9a\u597dip\u5730\u5740\u540e&#xff0c;\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee&#xff1a;<\/p>\n<p>http&#xff1a;\/\/<span class=\"token operator\">&lt;<\/span>\u6b64\u5904\u5e94\u4e3a\u60a8\u7684IP<span class=\"token operator\">&gt;<\/span>:9200  <span class=\"token comment\">#\u5982&#xff1a;http:\/\/192.168.184.133:9200<\/span><\/p>\n<p><img decoding=\"async\" src=\"2026-07-25zxfrppozuwg.png\" alt=\"image-20250731115551451\" \/><\/p>\n<p>\u5c06\u524d\u9762\u6b65\u9aa4\u6ce8\u518c\u597d\u7684cpolar\u8d26\u53f7\u767b\u5f55\u5373\u53ef\u8fdb\u5165\u540e\u53f0\u9875\u9762<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25k1024txvtm4.png\" alt=\"image-20250731115828304\" \/><\/p>\n<p>\u767b\u5f55\u6210\u529f\u540c\u65f6&#xff0c;\u670d\u52a1\u5668\u4e5f\u4f1a\u540e\u53f0\u65e0\u611f\u81ea\u52a8\u914d\u7f6etoken,\u65e0\u9700\u624b\u52a8\u914d\u7f6etoken<\/p>\n<p>\u914d\u7f6e\u6587\u4ef6\u4f4d\u7f6e&#xff1a;\/usr\/local\/etc\/cpolar\/cpolar.yml<\/p>\n<p><span class=\"token function\">cat<\/span> \/usr\/local\/etc\/cpolar\/cpolar.yml<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25hpyn103me5z.png\" alt=\"image-20250731120348419\" \/><\/p>\n<h4>4.4 \u914d\u7f6egitlab\u96a7\u9053\u53ca\u8bbf\u95ee\u6d4b\u8bd5<\/h4>\n<h5>4.4.1 \u914d\u7f6e HTTP \u96a7\u9053\u7ed1\u5b9a\u5230 8888 \u7aef\u53e3<\/h5>\n<p>\u70b9\u51fb\u5de6\u4fa7\u83dc\u5355\u680f\u7684\u96a7\u9053\u7ba1\u7406&#xff0c;\u5c55\u5f00\u8fdb\u5165\u96a7\u9053\u5217\u8868\u9875\u9762&#xff0c;\u9875\u9762\u4e0b\u9ed8\u8ba4\u4f1a\u6709 2 \u4e2a\u96a7\u9053&#xff1a;<\/p>\n<ul>\n<li>ssh\u96a7\u9053&#xff0c;\u6307\u541122\u7aef\u53e3&#xff0c;tcp\u534f\u8bae<\/li>\n<li>website\u96a7\u9053&#xff0c;\u6307\u54118080\u7aef\u53e3&#xff0c;http\u534f\u8bae&#xff08;http\u534f\u8bae\u9ed8\u8ba4\u4f1a\u751f\u62102\u4e2a\u516c\u7f51\u5730\u5740&#xff0c;\u4e00\u4e2a\u662fhttp&#xff0c;\u53e6\u4e00\u4e2ahttps&#xff0c;\u514d\u53bb\u914d\u7f6essl\u8bc1\u4e66\u7684\u7e41\u7410\u6b65\u9aa4&#xff09;<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"2026-07-25aigg1fjfehl.png\" alt=\"image-20250731121517683\" \/><\/p>\n<p>\u63a5\u7740\u70b9\u51fb\u521b\u5efa\u96a7\u9053\u83dc\u5355&#xff0c;\u8fdb\u5165\u5230\u521b\u5efa\u9875\u9762&#xff0c;\u5982\u4e0b\u56fe\u914d\u7f6e&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25la1t3qomd2p.png\" alt=\"image-20250804091108504\" \/><\/p>\n<p>\u521b\u5efa\u5b8c\u6210\u540e&#xff0c;\u70b9\u51fb\u5de6\u4fa7\u83dc\u5355\u7684\u72b6\u6001\u83dc\u5355&#xff0c;\u63a5\u7740\u70b9\u51fb\u5728\u7ebf\u96a7\u9053\u5217\u8868\u83dc\u5355\u6309\u94ae&#xff0c;\u53ef\u4ee5\u770b\u5230\u67092\u4e2agitlab\u7684\u96a7\u9053&#xff0c;\u4e00\u4e2a\u4e3ahttp\u534f\u8bae,\u53e6\u4e00\u4e2a\u4e3ahttps\u534f\u8bae<\/p>\n<p><img decoding=\"async\" src=\"2026-07-255s45gvbtxfo.png\" alt=\"image-20250804132534561\" \/><\/p>\n<p>\u6ce8\u610f&#xff1a;\u6bcf\u4e2a\u7528\u6237\u521b\u5efa\u7684\u96a7\u9053\u663e\u793a\u7684\u516c\u7f51\u5730\u5740\u90fd\u4e0d\u4e00\u6837&#xff01;<\/p>\n<h5>4.4.2 \u8bbf\u95ee\u516c\u7f51\u5730\u5740\u9a8c\u8bc1 GitLab \u662f\u5426\u53ef\u8bbf\u95ee<\/h5>\n<p>\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u521b\u5efagitlab\u96a7\u9053\u751f\u6210\u7684\u516c\u7f51\u5730\u5740&#xff08;http\u548chttps\u7686\u53ef&#xff09;<br \/>\n\u8fd9\u91cc\u4ee5https\u4e3a\u4f8b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25cjvjgyhw5o2.png\" alt=\"image-20250804091826770\" \/><\/p>\n<p>\u767b\u5f55gitlab\u8d26\u53f7&#xff0c;\u6210\u529f\u8fdb\u5165gitlab\u9996\u9875&#xff01;<\/p>\n<p><img decoding=\"async\" src=\"2026-07-255nfcd35oeq0.png\" alt=\"image-20250804092308793\" \/><\/p>\n<h4>4.5 \u8bbe\u7f6e\u56fa\u5b9a\u4e8c\u7ea7\u5b50\u57df\u540d&#xff08;Pro\u7528\u6237&#xff09;<\/h4>\n<h5>4.5.1 \u4fdd\u7559\u4e8c\u7ea7\u5b50\u57df\u540d<\/h5>\n<p>\u4f7f\u7528cpolar\u4e3a\u5176\u914d\u7f6e\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u8be5\u57df\u540d\u4e3a\u56fa\u5b9a\u683c\u5f0f\u57df\u540d&#xff0c;\u4e0d\u4f1a\u968f\u673a\u53d8\u5316,\u65b9\u4fbf\u540e\u7eed\u8fdc\u7a0b\u8bbf\u95eegitlab\u4ed3\u5e93\u3002<\/p>\n<p>\u8fdb\u5165\u5b98\u7f51\u7684\u9884\u7559\u9875\u9762&#xff1a;https:\/\/dashboard.cpolar.com\/reserved<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25rra54uex2zx.png\" alt=\"image-20250804093628211\" \/><\/p>\n<p>\u5217\u8868\u4e2d\u663e\u793a\u4e86\u4e00\u6761\u5df2\u4fdd\u7559\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u8bb0\u5f55&#xff1a;<\/p>\n<ul>\n<li>\u5730\u533a&#xff1a;\u663e\u793a\u4e3aChina Top\u3002<\/li>\n<li>\u4e8c\u7ea7\u57df\u540d&#xff1a;\u663e\u793a\u4e3agitlab01\u3002<\/li>\n<\/ul>\n<p>\u6ce8&#xff1a;\u4e8c\u7ea7\u57df\u540d\u662f\u552f\u4e00\u7684&#xff0c;\u6bcf\u4e2a\u8d26\u53f7\u90fd\u4e0d\u76f8\u540c&#xff0c;\u8bf7\u4ee5\u81ea\u5df1\u8bbe\u7f6e\u7684\u4e8c\u7ea7\u57df\u540d\u4fdd\u7559\u7684\u4e3a\u4e3b<\/p>\n<h5>4.5.2 \u4fee\u6539gitlab\u96a7\u9053\u4e3a\u5b50\u57df\u540d\u65b9\u5f0f<\/h5>\n<p>\u8fdb\u5165\u4fa7\u8fb9\u83dc\u5355\u680f\u7684\u96a7\u9053\u7ba1\u7406\u4e0b\u7684\u96a7\u9053\u5217\u8868&#xff0c;\u53ef\u4ee5\u770b\u5230\u524d\u9762\u914d\u7f6e\u540d\u4e3agitlab-8888\u7684\u96a7\u9053<br \/>\n<img decoding=\"async\" src=\"2026-07-25nufn54pfepm.png\" alt=\"image-20250804094022556\" \/><\/p>\n<p>\u70b9\u51fb\u7f16\u8f91\u6309\u94ae\u8fdb\u5165\u7f16\u8f91\u9875\u9762&#xff0c;\u4fee\u6539\u57df\u540d\u7c7b\u578b\u4e3a\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u7136\u540e\u586b\u5199\u524d\u9762\u914d\u7f6e\u597d\u7684\u5b50\u57df\u540d&#xff0c;\u70b9\u51fb\u66f4\u65b0\u6309\u94ae&#xff1a;<br \/>\n<img decoding=\"async\" src=\"2026-07-250xed3o0rcbo.png\" alt=\"image-20250804094307384\" \/><\/p>\n<h5>4.5.3 \u8bbf\u95ee\u5b50\u57df\u540d\u6d4b\u8bd5<\/h5>\n<p>\u6765\u5230\u72b6\u6001\u83dc\u5355\u4e0b\u7684\u5728\u7ebf\u96a7\u9053\u5217\u8868\u53ef\u4ee5\u770b\u5230\u96a7\u9053\u540d\u79f0\u4e3agitlab-8888\u7684\u516c\u7f51\u5730\u5740\u5df2\u7ecf\u53d8\u66f4\u4e3a\u4e8c\u7ea7\u5b50\u57df\u540d&#043;\u56fa\u5b9a\u57df\u540d\u4e3b\u4f53\u53ca\u540e\u7f00\u7684\u5f62\u5f0f\u4e86&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25gcu0c5djx3x.png\" alt=\"image-20250804132410559\" \/><\/p>\n<p>\u8fd9\u91cc\u4ee5https\u534f\u8bae\u505a\u8bbf\u95ee\u6d4b\u8bd5:<\/p>\n<p><img decoding=\"async\" src=\"2026-07-250vr1dk515fc.png\" alt=\"image-20250804100041082\" \/><\/p>\n<p>\u8bbf\u95ee\u6210\u529f&#xff01;<\/p>\n<h3>5 \u4fee\u6539 clone \u5730\u5740\u4e3a\u516c\u7f51\u5730\u5740<\/h3>\n<p>\u90e8\u7f72\u5b8c\u6210\u540e&#xff0c;\u5373\u4f7f\u4f60\u5df2\u7ecf\u4f7f\u7528 cpolar \u6210\u529f\u7a7f\u900f\u5e76\u8bbf\u95ee GitLab \u9875\u9762&#xff0c;GitLab \u663e\u793a\u7684\u9879\u76ee\u514b\u9686\u5730\u5740\u4ecd\u53ef\u80fd\u662f\u5185\u7f51\u5730\u5740&#xff08;\u5982 192.168.x.x&#xff09;&#xff0c;\u5982\u4e0b\u56fe\u6240\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25wxk4bvgwgm1.png\" alt=\"image-20250804100433970\" \/><\/p>\n<p>\u8fd9\u4f1a\u5bfc\u81f4\u4f7f\u7528 git clone \u65f6\u9ed8\u8ba4\u7528\u7684\u662f\u5185\u7f51\u5730\u5740&#xff0c;\u5916\u7f51\u673a\u5668\u65e0\u6cd5\u8bbf\u95ee\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u6211\u4eec\u9700\u8981\u4fee\u6539 GitLab \u7684\u914d\u7f6e&#xff0c;\u4f7f\u5176\u663e\u793a\u4e3a\u516c\u7f51\u5730\u5740\u3002<\/p>\n<h4>5.1 \u4fee\u6539GitLab \u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u7f16\u8f91gitlab\u7684\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">vim<\/span> \/etc\/gitlab\/gitlab.rb<\/p>\n<p>\u627e\u5230\u5982\u56fe\u8fd9\u884c&#xff1a;<\/p>\n<p>external_url <span class=\"token string\">&#039;http:\/\/192.168.184.133:8888&#039;<\/span><\/p>\n<p><img decoding=\"async\" src=\"2026-07-25du2km12dpa0.png\" alt=\"image-20250804100642941\" \/><\/p>\n<p>\u5c06\u5176\u4fee\u6539\u4e3a\u4f60\u7684 Cpolar \u5206\u914d\u7684\u516c\u7f51\u5730\u5740&#xff08;\u6ce8\u610f\u4e0d\u8981\u52a0\u7aef\u53e3\u53f7&#xff09;&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u6ce8\u610f&#xff0c;\u8bf7\u4f7f\u7528http\u7684\u57df\u540d<\/span><br \/>\nexternal_url <span class=\"token string\">&#039;http:\/\/gitlab01.cpolar.top&#039;<\/span><\/p>\n<p>\u4fdd\u5b58\u9000\u51fa\u540e&#xff0c;\u7136\u540e\u91cd\u65b0\u52a0\u8f7dgitlab\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> gitlab-ctl reconfigure<\/p>\n<h4>5.2 \u8bbf\u95ee\u6d4b\u8bd5<\/h4>\n<p>\u8bbf\u95eegitlab\u7a7f\u900f\u7684\u9879\u76ee\u5730\u5740:<\/p>\n<p>https:\/\/gitlab01.cpolar.top\/root\/myvue3demo<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25hfuy0tl3s2i.png\" alt=\"image-20250804102018315\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230&#xff0c;clone\u7684\u5730\u5740\u5df2\u7ecf\u6b63\u786e\u7684\u4ece\u5185\u7f51\u5730\u5740\u53d8\u66f4\u4e3acpolar\u7a7f\u900f\u7684\u4e8c\u7ea7\u57df\u540d\u5730\u5740\u4e86&#xff01;<\/p>\n<h4>5.3 \u4e0b\u62c9\u4ee3\u7801\u6d4b\u8bd5<\/h4>\n<p>\u590d\u5236clone\u5730\u5740&#xff1a;<\/p>\n<p>http:\/\/gitlab01.cpolar.top\/root\/myvue3demo.git<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25cdj0cid5rw2.png\" alt=\"image-20250804133623493\" \/><\/p>\n<p>\u5728\u672c\u5730\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u4efb\u610f\u6587\u4ef6\u5939\u4f4d\u7f6e&#xff0c;\u5355\u673a\u9f20\u6807\u53f3\u952e,\u9009\u62e9Open Git Bash here&#xff0c;\u70b9\u51fb\u8fdb\u5165\u6253\u5f00shell\u7a97\u53e3&#xff0c;\u8f93\u5165\u5982\u4e0b\u547d\u4ee4:<\/p>\n<p><span class=\"token comment\">#\u9879\u76ee\u5730\u5740\u66ff\u6362\u4e3a\u60a8\u9879\u76ee\u7684\u5730\u5740\u94fe\u63a5<\/span><br \/>\n<span class=\"token function\">git<\/span> clone http:\/\/gitlab01.cpolar.top\/root\/myvue3demo.git<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25lxp0dtmz2fh.png\" alt=\"image-20250804102633350\" \/><\/p>\n<p>\u8f93\u5165\u7528\u6237\u4fe1\u606f\u786e\u8ba4\u540e&#xff0c;\u53ef\u4ee5\u53d1\u73b0\u6210\u529f\u4e0b\u62c9\u4ee3\u7801<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25xifyhbgixy4.png\" alt=\"image-20250804102753089\" \/><\/p>\n<h4>5.4 \u4e0a\u4f20\u4ee3\u7801\u6d4b\u8bd5<\/h4>\n<p>\u8fd9\u8fb9\u4f7f\u7528AI\u8f6f\u4ef6cursor\u8fdb\u884c\u4e86\u7b80\u5355\u7684\u5f00\u6e90\u6587\u4ef6\u4fee\u6539&#xff0c;\u8fdb\u884c\u4e0a\u4f20\u4ee3\u7801\u6d4b\u8bd5&#xff0c;\u5982\u56fe&#xff1a;<br \/>\n<img decoding=\"async\" src=\"2026-07-25cskgwdaszol.png\" alt=\"image-20250804134011468\" \/><\/p>\n<p>\u63a7\u5236\u53f0\u5df2\u7ecf\u63d0\u793a\u4e0a\u4f20\u6210\u529f&#xff0c;\u53ef\u4ee5\u770b\u5230\u5982\u4e0b\u63d0\u793a&#xff1a;<br \/>\nTo http:\/\/gitlab01.cpolar.top\/root\/myvue3demo.git<\/p>\n<p>\u6253\u5f00gitlab\u4ed3\u5e93\u67e5\u770b&#xff0c;\u662f\u5426\u6709\u6700\u65b0\u63d0\u4ea4&#xff1a;<br \/>\n<img decoding=\"async\" src=\"2026-07-25wy5syaptnjh.png\" alt=\"image-20250804134119415\" \/><\/p>\n<p>\u53ef\u4ee5\u53d1\u73b0&#xff0c;\u4fee\u6539\u7684\u5f00\u6e90\u6587\u4ef6\u63d0\u4ea4\u4e0a\u4f20\u4e0a\u6765\u4e86&#xff01;<\/p>\n<h3>6 \u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h3>\n<h4>6.1 \u4fee\u6539 GitLab \u7684\u5916\u90e8\u8bbf\u95ee\u5730\u5740\u4e3a\u516c\u7f51\u57df\u540d<\/h4>\n<p>\u5728\u5927\u7eb2\u4e3a5\u5c0f\u8282\u7684\u4fee\u6539 clone \u5730\u5740\u4e3a\u516c\u7f51\u5730\u5740\u65f6&#xff0c;\u5982\u679c\u8bbe\u7f6e\u5916\u90e8\u5730\u5740\u4f7f\u7528\u7684https\u534f\u8bae\u5730\u5740&#xff0c;\u4f1a\u51fa\u73b0\u5982\u4e0b\u95ee\u9898&#xff1a;<\/p>\n<p>letsencrypt_certificate[&#8230;] had an error: RuntimeError: [&#8230;] Validation failed, unable to request certificate<\/p>\n<p>\u8fd9\u662f\u56e0\u4e3a GitLab \u5728\u6267\u884c reconfigure \u65f6\u5c1d\u8bd5\u5411 Let\u2019s Encrypt \u81ea\u52a8\u7533\u8bf7 HTTPS \u8bc1\u4e66\u5931\u8d25&#xff0c;\u7531\u4e8e\u4f60\u7684\u516c\u7f51\u5730\u5740\u662f cpolar \u52a8\u6001\u5206\u914d\u7684\u4e34\u65f6\u57df\u540d&#xff08;\u6216\u6ca1\u6709\u6b63\u786e\u914d\u7f6e DNS&#xff09;&#xff0c;\u5bfc\u81f4\u9a8c\u8bc1\u5931\u8d25\u3002<\/p>\n<p>\u800c Cpolar \u7684\u5730\u5740&#xff08;\u5982 *.cpolar.top&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\u672c\u8d28\u4e0a\u662f \u4e34\u65f6\u516c\u7f51\u7a7f\u900f\u5730\u5740<\/li>\n<li>\u6ca1\u6709\u516c\u7f51 DNS \u53ef\u9a8c\u8bc1\u6240\u6709\u6743<\/li>\n<li>\u4e5f\u65e0\u6cd5\u914d\u5408 Let\u2019s Encrypt \u505a HTTP-01 \u9a8c\u8bc1<\/li>\n<\/ul>\n<p>\u6240\u4ee5\u53ea\u9002\u5408\u7528\u4f5c HTTP \u660e\u6587\u8bbf\u95ee&#xff0c;\u800c\u4e0d\u662f\u81ea\u52a8\u8d70 HTTPS\u3002<\/p>\n<p>\u4e0d\u8981\u7528 https:\/\/ \u5f00\u5934\u7684 external_url,\u6539\u4e3ahttp\u534f\u8bae\u7684\u94fe\u63a5\u586b\u5165\u5373\u53ef&#xff0c;\u7136\u540e\u518d\u6267\u884csudo gitlab-ctl reconfigure\u8fdb\u884c\u914d\u7f6e\u66f4\u65b0&#xff01;<\/p>\n<h3>7 \u603b\u7ed3<\/h3>\n<p>GitLab\u6700\u5927\u7684\u4ef7\u503c&#xff0c;\u5e76\u4e0d\u53ea\u662f\u63d0\u4f9b\u4e00\u4e2a\u4ee3\u7801\u4ed3\u5e93&#xff0c;\u800c\u662f\u5e2e\u52a9\u56e2\u961f\u5efa\u7acb\u81ea\u5df1\u7684\u7814\u53d1\u4e2d\u5fc3\u3002\u4ee3\u7801\u7ba1\u7406\u3001\u9879\u76ee\u534f\u4f5c\u3001\u6743\u9650\u63a7\u5236\u4ee5\u53ca\u540e\u7eed\u7684\u81ea\u52a8\u5316\u90e8\u7f72\u80fd\u529b&#xff0c;\u90fd\u80fd\u591f\u56f4\u7ed5\u540c\u4e00\u5e73\u53f0\u5c55\u5f00&#xff0c;\u8ba9\u5f00\u53d1\u6d41\u7a0b\u66f4\u52a0\u7edf\u4e00\u548c\u89c4\u8303\u3002<\/p>\n<p>\u672c\u6587\u5b8c\u6210\u4e86GitLab CE\u5728CentOS 7\u73af\u5883\u4e2d\u7684\u90e8\u7f72&#xff0c;\u5e76\u901a\u8fc7cpolar\u5b9e\u73b0\u4e86\u516c\u7f51\u8bbf\u95ee\u914d\u7f6e\u3002\u4ece\u9879\u76ee\u521b\u5efa\u3001\u4ee3\u7801\u62c9\u53d6\u3001\u4ee3\u7801\u63d0\u4ea4\u5230\u516c\u7f51\u5730\u5740\u9002\u914d&#xff0c;\u5df2\u7ecf\u5f62\u6210\u4e86\u4e00\u5957\u5b8c\u6574\u7684\u79c1\u6709\u4ee3\u7801\u6258\u7ba1\u65b9\u6848\u3002\u5bf9\u4e8e\u4e2a\u4eba\u5f00\u53d1\u8005\u3001\u5c0f\u578b\u56e2\u961f\u4ee5\u53ca\u4f01\u4e1a\u5185\u90e8\u9879\u76ee\u6765\u8bf4&#xff0c;\u90fd\u5177\u6709\u5f88\u9ad8\u7684\u5b9e\u7528\u4ef7\u503c\u3002<\/p>\n<p>\u7ed3\u5408cpolar\u63d0\u4f9b\u7684\u56fa\u5b9a\u516c\u7f51\u57df\u540d\u80fd\u529b\u4e4b\u540e&#xff0c;\u5373\u4f7f\u670d\u52a1\u5668\u90e8\u7f72\u5728\u516c\u53f8\u673a\u623f\u6216\u8005\u5bb6\u5ead\u73af\u5883\u4e2d&#xff0c;\u56e2\u961f\u6210\u5458\u4f9d\u7136\u80fd\u591f\u50cf\u4f7f\u7528GitHub\u4e00\u6837\u8fdb\u884c\u8fdc\u7a0b\u534f\u4f5c\u3002\u65e0\u8bba\u662f\u5728\u529e\u516c\u5ba4\u3001\u5bb6\u91cc\u8fd8\u662f\u51fa\u5dee\u9014\u4e2d&#xff0c;\u90fd\u80fd\u591f\u968f\u65f6\u8bbf\u95ee\u9879\u76ee\u4ed3\u5e93\u5e76\u5b8c\u6210\u4ee3\u7801\u7ba1\u7406\u5de5\u4f5c\u3002<\/p>\n<p>\u5bf9\u4e8e\u5f88\u591a\u5f00\u53d1\u56e2\u961f\u6765\u8bf4&#xff0c;\u771f\u6b63\u91cd\u8981\u7684\u4ece\u6765\u4e0d\u662f\u628a\u4ee3\u7801\u653e\u5728\u54ea\u91cc&#xff0c;\u800c\u662f\u662f\u5426\u80fd\u591f\u957f\u671f\u7a33\u5b9a\u5730\u638c\u63a7\u81ea\u5df1\u7684\u4ee3\u7801\u8d44\u4ea7\u3002\u5982\u679c\u4f60\u5df2\u7ecf\u5f00\u59cb\u91cd\u89c6\u6570\u636e\u81ea\u4e3b\u6743\u548c\u7814\u53d1\u73af\u5883\u7684\u53ef\u63a7\u6027&#xff0c;\u90a3\u4e48\u642d\u5efa\u4e00\u5957\u5c5e\u4e8e\u81ea\u5df1\u7684GitLab&#xff0c;\u6216\u8bb8\u4f1a\u662f\u4e00\u4e2a\u503c\u5f97\u8003\u8651\u7684\u9009\u62e9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00<br \/>\n\u5199\u4ee3\u7801\u7684\u4eba\u51e0\u4e4e\u90fd\u7528\u8fc7GitHub\u3001Gitee\u6216\u8005\u5176\u4ed6\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\u3002<br \/>\n\u521a\u5f00\u59cb\u505a\u4e2a\u4eba\u9879\u76ee\u7684\u65f6\u5019\u786e\u5b9e\u5f88\u65b9\u4fbf&#xff0c;\u6ce8\u518c\u8d26\u53f7\u3001\u521b\u5efa\u4ed3\u5e93\u3001\u4e0a\u4f20\u4ee3\u7801&#xff0c;\u51e0\u5206\u949f\u5c31\u80fd\u641e\u5b9a\u3002\u5bf9\u4e8e\u5b66\u4e60\u548c\u5f00\u6e90\u9879\u76ee\u6765\u8bf4&#xff0c;\u8fd9\u79cd\u65b9\u5f0f\u5b8c\u5168\u6ca1\u6709\u95ee\u9898\u3002\u4f46\u968f\u7740\u9879\u76ee\u8d8a\u6765\u8d8a\u591a&#xff0c;\u4ee3\u7801\u8d8a\u6765\u8d8a\u91cd\u8981&#xff0c;\u4e0d\u5c11\u5f00\u53d1\u8005\u90fd\u4f1a\u5f00\u59cb\u601d\u8003\u540c\u4e00\u4e2a\u95ee\u9898&#xff1a;\u8fd9\u4e9b\u6838\u5fc3\u8d44\u4ea7\u4e3a\u4ec0\u4e48\u4e00\u5b9a\u8981\u653e\u5728\u522b\u4eba\u7684\u5e73\u53f0\u4e0a&#xff1f;<br \/>\n\u5c24\u5176\u662f\u56e2\u961f\u534f\u4f5c\u573a\u666f\u4e0b&#xff0c;\u8fd9\u79cd\u611f\u53d7\u4f1a\u66f4\u52a0\u660e\u663e\u3002<br \/>\n\u5185\u90e8\u9879\u76ee\u3001<\/p>\n","protected":false},"author":2,"featured_media":81491,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-81511","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7a0b\u5e8f\u5458\u6700\u503c\u94b1\u7684\u4e0d\u662f\u7535\u8111\uff0c\u800c\u662f\u4ee3\u7801\uff01\u6211\u628a\u4ee3\u7801\u5e93\u642c\u56de\u4e86\u81ea\u5df1\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/81511.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7a0b\u5e8f\u5458\u6700\u503c\u94b1\u7684\u4e0d\u662f\u7535\u8111\uff0c\u800c\u662f\u4ee3\u7801\uff01\u6211\u628a\u4ee3\u7801\u5e93\u642c\u56de\u4e86\u81ea\u5df1\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u5199\u4ee3\u7801\u7684\u4eba\u51e0\u4e4e\u90fd\u7528\u8fc7GitHub\u3001Gitee\u6216\u8005\u5176\u4ed6\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\u3002 \u521a\u5f00\u59cb\u505a\u4e2a\u4eba\u9879\u76ee\u7684\u65f6\u5019\u786e\u5b9e\u5f88\u65b9\u4fbf&#xff0c;\u6ce8\u518c\u8d26\u53f7\u3001\u521b\u5efa\u4ed3\u5e93\u3001\u4e0a\u4f20\u4ee3\u7801&#xff0c;\u51e0\u5206\u949f\u5c31\u80fd\u641e\u5b9a\u3002\u5bf9\u4e8e\u5b66\u4e60\u548c\u5f00\u6e90\u9879\u76ee\u6765\u8bf4&#xff0c;\u8fd9\u79cd\u65b9\u5f0f\u5b8c\u5168\u6ca1\u6709\u95ee\u9898\u3002\u4f46\u968f\u7740\u9879\u76ee\u8d8a\u6765\u8d8a\u591a&#xff0c;\u4ee3\u7801\u8d8a\u6765\u8d8a\u91cd\u8981&#xff0c;\u4e0d\u5c11\u5f00\u53d1\u8005\u90fd\u4f1a\u5f00\u59cb\u601d\u8003\u540c\u4e00\u4e2a\u95ee\u9898&#xff1a;\u8fd9\u4e9b\u6838\u5fc3\u8d44\u4ea7\u4e3a\u4ec0\u4e48\u4e00\u5b9a\u8981\u653e\u5728\u522b\u4eba\u7684\u5e73\u53f0\u4e0a&#xff1f; \u5c24\u5176\u662f\u56e2\u961f\u534f\u4f5c\u573a\u666f\u4e0b&#xff0c;\u8fd9\u79cd\u611f\u53d7\u4f1a\u66f4\u52a0\u660e\u663e\u3002 \u5185\u90e8\u9879\u76ee\u3001\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/81511.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T18:36:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183638-6a63b0b61882d.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81511.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/81511.html\",\"name\":\"\u7a0b\u5e8f\u5458\u6700\u503c\u94b1\u7684\u4e0d\u662f\u7535\u8111\uff0c\u800c\u662f\u4ee3\u7801\uff01\u6211\u628a\u4ee3\u7801\u5e93\u642c\u56de\u4e86\u81ea\u5df1\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T18:36:47+00:00\",\"dateModified\":\"2026-07-24T18:36:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/81511.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/81511.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81511.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7a0b\u5e8f\u5458\u6700\u503c\u94b1\u7684\u4e0d\u662f\u7535\u8111\uff0c\u800c\u662f\u4ee3\u7801\uff01\u6211\u628a\u4ee3\u7801\u5e93\u642c\u56de\u4e86\u81ea\u5df1\u670d\u52a1\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u7a0b\u5e8f\u5458\u6700\u503c\u94b1\u7684\u4e0d\u662f\u7535\u8111\uff0c\u800c\u662f\u4ee3\u7801\uff01\u6211\u628a\u4ee3\u7801\u5e93\u642c\u56de\u4e86\u81ea\u5df1\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/81511.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7a0b\u5e8f\u5458\u6700\u503c\u94b1\u7684\u4e0d\u662f\u7535\u8111\uff0c\u800c\u662f\u4ee3\u7801\uff01\u6211\u628a\u4ee3\u7801\u5e93\u642c\u56de\u4e86\u81ea\u5df1\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00 \u5199\u4ee3\u7801\u7684\u4eba\u51e0\u4e4e\u90fd\u7528\u8fc7GitHub\u3001Gitee\u6216\u8005\u5176\u4ed6\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\u3002 \u521a\u5f00\u59cb\u505a\u4e2a\u4eba\u9879\u76ee\u7684\u65f6\u5019\u786e\u5b9e\u5f88\u65b9\u4fbf&#xff0c;\u6ce8\u518c\u8d26\u53f7\u3001\u521b\u5efa\u4ed3\u5e93\u3001\u4e0a\u4f20\u4ee3\u7801&#xff0c;\u51e0\u5206\u949f\u5c31\u80fd\u641e\u5b9a\u3002\u5bf9\u4e8e\u5b66\u4e60\u548c\u5f00\u6e90\u9879\u76ee\u6765\u8bf4&#xff0c;\u8fd9\u79cd\u65b9\u5f0f\u5b8c\u5168\u6ca1\u6709\u95ee\u9898\u3002\u4f46\u968f\u7740\u9879\u76ee\u8d8a\u6765\u8d8a\u591a&#xff0c;\u4ee3\u7801\u8d8a\u6765\u8d8a\u91cd\u8981&#xff0c;\u4e0d\u5c11\u5f00\u53d1\u8005\u90fd\u4f1a\u5f00\u59cb\u601d\u8003\u540c\u4e00\u4e2a\u95ee\u9898&#xff1a;\u8fd9\u4e9b\u6838\u5fc3\u8d44\u4ea7\u4e3a\u4ec0\u4e48\u4e00\u5b9a\u8981\u653e\u5728\u522b\u4eba\u7684\u5e73\u53f0\u4e0a&#xff1f; \u5c24\u5176\u662f\u56e2\u961f\u534f\u4f5c\u573a\u666f\u4e0b&#xff0c;\u8fd9\u79cd\u611f\u53d7\u4f1a\u66f4\u52a0\u660e\u663e\u3002 \u5185\u90e8\u9879\u76ee\u3001","og_url":"https:\/\/www.wsisp.com\/helps\/81511.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T18:36:47+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724183638-6a63b0b61882d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/81511.html","url":"https:\/\/www.wsisp.com\/helps\/81511.html","name":"\u7a0b\u5e8f\u5458\u6700\u503c\u94b1\u7684\u4e0d\u662f\u7535\u8111\uff0c\u800c\u662f\u4ee3\u7801\uff01\u6211\u628a\u4ee3\u7801\u5e93\u642c\u56de\u4e86\u81ea\u5df1\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T18:36:47+00:00","dateModified":"2026-07-24T18:36:47+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/81511.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/81511.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/81511.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7a0b\u5e8f\u5458\u6700\u503c\u94b1\u7684\u4e0d\u662f\u7535\u8111\uff0c\u800c\u662f\u4ee3\u7801\uff01\u6211\u628a\u4ee3\u7801\u5e93\u642c\u56de\u4e86\u81ea\u5df1\u670d\u52a1\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=81511"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81511\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/81491"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=81511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=81511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=81511"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=81511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}