{"id":28143,"date":"2025-04-19T23:16:20","date_gmt":"2025-04-19T15:16:20","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/28143.html"},"modified":"2025-04-19T23:16:20","modified_gmt":"2025-04-19T15:16:20","slug":"linux%e6%90%ad%e5%bb%bagitlab%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/28143.html","title":{"rendered":"Linux\u642d\u5efaGitLab\u670d\u52a1\u5668"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151614-6803be3e9e65e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4e00\u3001\u5b89\u88c5\u5e76\u914d\u7f6e\u5fc5\u8981\u7684\u4f9d\u8d56\u5173\u7cfb<\/h2>\n<h3>1\u3001\u5b89\u88c5SSH\u534f\u8bae<\/h3>\n<p>\u5b89\u88c5\u547d\u4ee4&#xff1a;sudo yum install -y curl policycoreutils-python openssh-server <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151615-6803be3f004c9.png\" alt=\"\u8f93\u5165\u5b89\u88c5\u547d\u4ee4\" \/> \u5b89\u88c5\u6210\u529f\u4f1a\u51fa\u73b0\u5982\u4e0b\u56fe\u6240\u793a&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151615-6803be3f2cd41.png\" alt=\"\u5b89\u88c5\u6210\u529f\u540e\" \/><\/p>\n<h3>2\u3001\u8bbe\u7f6eSSH\u670d\u52a1\u5f00\u673a\u81ea\u542f\u52a8<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;sudo systemctl enable sshd <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151615-6803be3f5f4b5.png\" alt=\"\u8bbe\u7f6eSSH\u670d\u52a1\u5f00\u673a\u81ea\u542f\u52a8\" \/><\/p>\n<h3>3\u3001\u542f\u52a8SSH\u670d\u52a1<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;sudo systemctl start sshd <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151615-6803be3f84eb9.png\" alt=\"\u542f\u52a8SSH\u670d\u52a1\" \/><\/p>\n<h3>4\u3001\u5b89\u88c5\u9632\u706b\u5899<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;sudo yum install firwalld systemd -y <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151615-6803be3faf028.png\" alt=\"\u5b89\u88c5\u9632\u706b\u5899\" \/><\/p>\n<h3>5\u3001\u542f\u52a8\u9632\u706b\u5899<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;service firewalld start![image.png] <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151615-6803be3ff18eb.png\" alt=\"\u542f\u52a8\u9632\u706b\u5899\" \/><\/p>\n<h3>6\u3001\u6dfb\u52a0HTTP\u670d\u52a1\u5230firewalld<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;sudo firewall-cmd &#8211;permanent &#8211;add-service&#061;http \u5176\u4e2dpemmanent\u8868\u793a\u6c38\u4e45\u751f\u6548&#xff0c;\u82e5\u4e0d\u52a0\u2013permanent\u5219\u7cfb\u7edf\u4e0b\u6b21\u542f\u52a8\u540e\u5c31\u4f1a\u5931\u6548! <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151616-6803be401e668.png\" alt=\"\u6dfb\u52a0HTTP\u670d\u52a1\u5230firewalld\" \/><\/p>\n<h3>7\u3001\u91cd\u542f\u9632\u706b\u5899<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;sudo systemctl reload firewalld <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151616-6803be403e6fd.png\" alt=\"\u91cd\u542f\u9632\u706b\u5899\" \/><\/p>\n<h3>8\u3001\u5b89\u88c5Postfix\u4ee5\u53d1\u9001\u90ae\u4ef6<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;sudo yum install postfix ![\u5b89\u88c5Postfix]](https:\/\/i-blog.csdnimg.cn\/direct\/62d5f00165a7474492a7df4201059be3.png#pic_center)<\/p>\n<h3>9\u3001\u914d\u7f6ePostfix\u670d\u52a1\u5f00\u673a\u81ea\u542f\u52a8<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;sudo systemctl enable postfix <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151616-6803be405e8c8.png\" alt=\"\u914d\u7f6ePostfix\u670d\u52a1\" \/><\/p>\n<h3>10\u3001\u5b89\u88c5vim\u7f16\u8f91\u5668\u548cwget\u4e0b\u8f7d\u5668<\/h3>\n<p>\u5b89\u88c5\u547d\u4ee4&#xff1a;sudo yum install -y vim \u5b89\u88c5\u547d\u4ee4&#xff1a;sudo yum install -y wget<\/p>\n<h2>\u4e8c\u3001\u6dfb\u52a0GitLab\u955c\u50cf\u6e90\u5e76\u5b89\u88c5gitlab\u670d\u52a1<\/h2>\n<h3>1\u3001\u6dfb\u52a0gitlab\u955c\u50cf<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;wget https:\/\/mirrors.tuna.tsinghua.edu.cn\/gitlab-ce\/yum\/el7\/https:\/\/mirrors.tuna.tsinghua.edu.cn\/gitlab-ce\/yum\/el7\/gitlab-ce-14.3.2-ce.0.el7.x86_64.rpm \u51fa\u73b0\u5982\u4e0b\u56fe\u6240\u793a\u8868\u793a\u4e0b\u8f7d\u5b8c\u6210&#xff0c;\u63a5\u4e0b\u6765\u5c31\u53ef\u4ee5\u5b89\u88c5Gitlab\u4e86&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151616-6803be407f6e0.png\" alt=\"\u6dfb\u52a0gitlab\u955c\u50cf\" \/><\/p>\n<h3>2\u3001\u5b89\u88c5Gitlab<\/h3>\n<p>\u5b89\u88c5\u547d\u4ee4&#xff1a;rpm -i gitlab-ce-14.3.2-ce.0.el7.x86_64.rpm \u5b89\u88c5\u8fc7\u7a0b\u9700\u8981\u4e00\u4e9b\u65f6\u95f4&#xff0c;\u7b49\u5f85\u5b89\u88c5\u540e&#xff0c;\u5b89\u88c5\u6210\u529f\u754c\u9762\u5982\u4e0b\u56fe\u6240\u793a&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151616-6803be40bc021.png\" alt=\"\u5b89\u88c5gitlab\" \/><\/p>\n<h3>3\u3001\u4fee\u6539gitlab\u914d\u7f6e\u6587\u4ef6\u6307\u5b9a\u670d\u52a1\u5668IP\u548c\u81ea\u5b9a\u4e49\u7aef\u53e3&#xff1a;<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;vim \/etc\/gitlab\/gitlab.rb <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151617-6803be412f4af.png\" alt=\"\u4f7f\u7528vim\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\" \/><\/p>\n<p>\u8fdb\u5165gitlab.rb\u6587\u4ef6\u540e&#xff0c;\u67e5\u627e\u5185\u5bb9&#xff08;\u6b64\u5185\u5bb9\u901a\u5e38\u5728\u6587\u4ef631\u884c&#xff09;external_url \u2018http:\/\/IP:Port\u2019&#xff0c;\u4fdd\u5b58\u5e76\u9000\u51fa <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151617-6803be414f0d0.png\" alt=\"\u4fee\u6539external_url\" \/><\/p>\n<h3>4\u3001\u5c06\u7aef\u53e3\u6dfb\u52a0\u5230\u9632\u706b\u5899\u4e2d<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;firewall-cmd &#8211;zone&#061;public &#8211;add-port&#061;1000\/tcp &#8211;permanent <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151617-6803be41c7ebc.png\" alt=\"\u653e\u884c\u7aef\u53e3\" \/><\/p>\n<h3>5\u3001\u91cd\u542f\u9632\u706b\u5899<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;sudo systemctl reload firewalld <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151617-6803be41ea08b.png\" alt=\"\u91cd\u542f\u9632\u706b\u5899\" \/><\/p>\n<h3>6\u3001\u91cd\u7f6egitlab<\/h3>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;gitlab-ctl reconfigure \u91cd\u7f6e\u8fc7\u7a0b\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\u7b49\u5f85&#xff0c;\u91cd\u7f6e\u6210\u529f\u540e&#xff0c;\u6700\u540e\u51e0\u884c\u7684\u4fe1\u606f\u5982\u4e0b\u56fe\u6240\u793a&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151618-6803be4218b7c.png\" alt=\"\u91cd\u7f6egitlab\" \/><\/p>\n<h3>7\u3001\u542f\u52a8gitlab<\/h3>\n<p>\u542f\u52a8\u547d\u4ee4&#xff1a;gitlab-ctl restart \u51fa\u73b0\u5982\u4e0b\u56fe\u6240\u793a\u5219\u8868\u793a\u542f\u52a8\u6210\u529f&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151618-6803be425934c.png\" alt=\"\u542f\u52a8gitlab\" \/><\/p>\n<h3>8\u3001\u8bbf\u95eeGitLab\u9875\u9762<\/h3>\n<p>\u8bbf\u95ee\u65b9\u5f0f&#xff1a;IP\u5730\u5740&#043;\u7aef\u53e3\u53f7 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151618-6803be428fc1a.png\" alt=\"\u8bbf\u95eegitlab\u9875\u9762\" \/><\/p>\n<h4>8.1 \u51fa\u73b0502\u9875\u9762&#xff0c;\u4fee\u590d\u65b9\u6cd5<\/h4>\n<p>\u65b9\u6cd5&#xff1a;\u6e05\u7406\u7cfb\u7edf\u9632\u706b\u5899&#xff0c;\u91cd\u542f\u7cfb\u7edf\u9632\u706b\u5899&#xff1b;\u5c06\u5185\u5b58\u6269\u5927&#xff08;\u56e0\u4e3agitlab\u975e\u5e38\u5403\u5185\u5b58&#xff09;<\/p>\n<h4>8.2 \u51fa\u73b0422\u9875\u9762&#xff0c;\u4fee\u590d\u65b9\u6cd5<\/h4>\n<p>\u65b9\u6cd5&#xff1a;\u5148\u6000\u7591\u662f\u90ae\u7bb1\u914d\u7f6e\u91cc stmp_domain\u7684\u914d\u7f6e\u95ee\u9898&#xff08;\/etc\/gitlab\/gitlab.rb\u6587\u4ef6&#xff09;&#xff0c;\u6ce8\u91ca\u6389\u5e76\u5237\u65b0gitlab\u914d\u7f6e\u518d\u91cd\u542f&#xff08;gitlab-ctl reconfigure gitlab-ctl restart&#xff09;\u540e&#xff0c;\u95ee\u9898\u5e76\u6ca1\u6709\u89e3\u51b3<\/p>\n<h4>8.3 \u8bbe\u7f6e\u79c1\u7528Gitlab\u5bc6\u7801<\/h4>\n<p>\u914d\u7f6e\u547d\u4ee4&#xff1a;gitlab-rails console -e production&#xff08;\u6839\u636e\u7248\u672c\u7684\u9700\u8981\u5224\u65ad\u662f\u5426\u8981\u52a0\u53c2\u6570 -e&#xff09; \u67e5\u627eroot\u7528\u6237&#xff1a;user&#061;User.where(id:1).first \u4fee\u6539root\u5bc6\u7801&#xff1a;user.password&#061;\u2018\u5bc6\u7801\u2019 \u4fdd\u5b58root\u6570\u636e&#xff1a;user.save! \u9000\u51fa\u8bbe\u7f6e\u754c\u9762&#xff1a;quit <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151618-6803be42df4fa.png\" alt=\"\u8bbe\u7f6e\u79c1\u7528Gitlab\u5bc6\u7801\" \/> \u91cd\u542fGitlab&#xff1a;gitlab-ctl restart <img decoding=\"async\" src=\"2025-04-19ff34g1n21tv.png\" alt=\"\u91cd\u542fgitlab\" \/> \u518d\u4f7f\u7528gitlab reconfigure\u547d\u4ee4\u91cd\u7f6e\u5373\u53ef\u767b\u5f55\u3002 <img decoding=\"async\" src=\"2025-04-19bv1djjchkqw.png\" alt=\"\u91cd\u542fgitlav\" \/> <img decoding=\"async\" src=\"2025-04-19l1az1bb0ng3.png\" alt=\"gitlab reconfigure\u547d\u4ee4\u91cd\u7f6e\u5373\u53ef\u767b\u5f55\" \/><\/p>\n<h4>8.4 gitlab-ctl\u5e38\u7528\u547d\u4ee4\u4ecb\u7ecd<\/h4>\n<p><img decoding=\"async\" src=\"2025-04-19s3hats04d55.png\" alt=\"gitlab-ctl\u5e38\u7528\u547d\u4ee4\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.9k\u6b21\uff0c\u70b9\u8d5e40\u6b21\uff0c\u6536\u85cf38\u6b21\u3002\u5728Linux\u73af\u5883\u4e2d\u642d\u5efaGitlab\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff01_linux\u642d\u5efagitlab\u670d\u52a1\u5668<\/p>\n","protected":false},"author":2,"featured_media":28123,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[273,58,2255,43],"topic":[],"class_list":["post-28143","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-gitlab","tag-linux","tag-2255","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u642d\u5efaGitLab\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\/28143.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u642d\u5efaGitLab\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.9k\u6b21\uff0c\u70b9\u8d5e40\u6b21\uff0c\u6536\u85cf38\u6b21\u3002\u5728Linux\u73af\u5883\u4e2d\u642d\u5efaGitlab\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff01_linux\u642d\u5efagitlab\u670d\u52a1\u5668\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/28143.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T15:16:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151614-6803be3e9e65e.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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/28143.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/28143.html\",\"name\":\"Linux\u642d\u5efaGitLab\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T15:16:20+00:00\",\"dateModified\":\"2025-04-19T15:16:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/28143.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/28143.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/28143.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u642d\u5efaGitLab\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":"Linux\u642d\u5efaGitLab\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\/28143.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u642d\u5efaGitLab\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.9k\u6b21\uff0c\u70b9\u8d5e40\u6b21\uff0c\u6536\u85cf38\u6b21\u3002\u5728Linux\u73af\u5883\u4e2d\u642d\u5efaGitlab\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff01_linux\u642d\u5efagitlab\u670d\u52a1\u5668","og_url":"https:\/\/www.wsisp.com\/helps\/28143.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T15:16:20+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419151614-6803be3e9e65e.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/28143.html","url":"https:\/\/www.wsisp.com\/helps\/28143.html","name":"Linux\u642d\u5efaGitLab\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T15:16:20+00:00","dateModified":"2025-04-19T15:16:20+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/28143.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/28143.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/28143.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u642d\u5efaGitLab\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\/28143","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=28143"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/28143\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/28123"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=28143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=28143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=28143"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=28143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}