{"id":21496,"date":"2025-04-19T04:42:27","date_gmt":"2025-04-18T20:42:27","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/21496.html"},"modified":"2025-04-19T04:42:27","modified_gmt":"2025-04-18T20:42:27","slug":"gitlab%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%81%e7%a7%bb%ef%bc%88%e4%ba%b2%e6%b5%8b%e6%9c%89%e6%95%88%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/21496.html","title":{"rendered":"gitlab\u670d\u52a1\u5668\u8fc1\u79fb\uff08\u4eb2\u6d4b\u6709\u6548\uff09"},"content":{"rendered":"<p>\u63cf\u8ff0&#xff1a;\u6700\u8fd1\u516c\u53f8\u8fc1\u79fbgitlab&#xff0c;\u6211\u6ca1\u6709\u8fc1\u79fb\u8fc7&#xff0c;\u7ecf\u8fc7\u7f51\u4e0a\u67e5\u627e\u8d44\u6599\u6700\u7ec8\u5b8c\u6210\u8fc1\u79fb&#xff0c;\u9014\u4e2d\u4e5f\u9047\u5230\u633a\u591a\u5751\u548c\u4e24\u4e2a\u95ee\u9898&#xff0c;\u5e0c\u671b\u80fd\u5e2e\u5230\u4f60\u3002<\/p>\n<h2>\u65b0\u670d\u52a1\u5668\u5b89\u88c5gitlab<\/h2>\n<p>\u6ce8\u610f&#xff1a;\u65b0\u670d\u52a1\u5668gitlab\u7248\u672c\u4e5f\u9700\u8981\u548c\u65e7\u7248\u672c\u4e00\u81f4\u3002<\/p>\n<p>\u9996\u5148\u67e5\u770b\u539fGitlab\u7248\u672c<\/p>\n<p>cat \/opt\/gitlab\/embedded\/service\/gitlab-rails\/VERSION<\/p>\n<p>\u6211\u7684\u7cfb\u7edf\u662funbuntu&#xff0c;\u7cfb\u7edf\u4e0d\u4e00\u81f4\u5b89\u88c5\u65b9\u6cd5\u53ef\u80fd\u4e0d\u5927\u4e00\u76f4&#xff0c;\u9700\u6ce8\u610f\u4e00\u4e0b\u3002<\/p>\n<h3>\u5b89\u88c5<\/h3>\n<h4>\u66f4\u65b0\u7cfb\u7edf\u5305<\/h4>\n<p>sudo apt-get update<br \/>\nsudo apt-get upgrade<\/p>\n<h4>\u5b89\u88c5\u4f9d\u8d56\u5305<\/h4>\n<p>sudo apt-get install -y curl openssh-server ca-certificates<\/p>\n<h4>\u6dfb\u52a0 GitLab \u4ed3\u5e93<\/h4>\n<p>curl -sS https:\/\/packages.gitlab.com\/install\/repositories\/gitlab\/gitlab-ce\/script.deb.sh | sudo bash<\/p>\n<h4>\u5b89\u88c5 GitLab 13.6.3<\/h4>\n<p>(\u6ce8\u610f&#xff1a;\u6211\u7684\u7248\u672c\u662f13.6.3)<\/p>\n<p>udo EXTERNAL_URL&#061;&#034;http:\/\/gitlab.example.com&#034; apt-get install gitlab-ce&#061;13.6.3-ce.0<\/p>\n<p>\u8bf7\u5c06 http:\/\/gitlab.example.com \u66ff\u6362\u4e3a\u4f60\u7684 GitLab \u57df\u540d\u6216ip&#043;\u7aef\u53e3\u3002<\/p>\n<p>\u51fa\u73b0\u4ee5\u4e0b\u63d0\u793a&#xff0c;\u8868\u793a\u5b89\u88c5\u6210\u529f <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418204225-6802b9310aeee.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u914d\u7f6e<\/h4>\n<p>\u8fdb\u5165\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>sudo vim \/etc\/gitlab\/gitlab.rb<\/p>\n<p>\u914d\u7f6e\u5bf9\u5916IP\u548c\u9ed8\u8ba4\u7aef\u53e3&#xff08;\u5927\u6982\u7b2c33\u884c&#xff09; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418204225-6802b9314761c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4fdd\u5b58\u9000\u51fa\u4f7f\u914d\u7f6e\u751f\u6548<\/p>\n<p>gitlab-ctl reconfigure<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418204225-6802b931815d6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u5907\u4efd\u539fgitlab\u6570\u636e<\/h3>\n<h4>\u5907\u4efd\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u5148\u5907\u4efd\u4e00\u4e0b\u4e00\u4e0b\u4e24\u4e2a\u6587\u4ef6<\/p>\n<p>\/etc\/gitlab\/gitlab.rc<br \/>\n\/etc\/gitlab\/gitlab-secrets.json<\/p>\n<p>\/etc\/gitlab\/gitlab-secrets.json\u6587\u4ef6&#xff0c;\u6b64\u6587\u4ef6\u4e2d\u5305\u542b\u6570\u636e\u5e93\u52a0\u5bc6\u5bc6\u94a5&#xff0c;CI\/CD\u53d8\u91cf\u4ee5\u53ca\u53cc\u56e0\u5b50\u8ba4\u8bc1\u7b49\u53d8\u91cf\u4fe1\u606f&#xff0c;\u5982\u679c\u5728GitLab\u4e2d\u4f7f\u7528\u5230\u6b64\u90e8\u5206\u5185\u5bb9&#xff0c;\u5fc5\u987b\u8fdb\u884c\u6b64\u6587\u4ef6\u7684\u624b\u52a8\u6062\u590d\u3002<\/p>\n<h4>\u6570\u636e\u5907\u4efd<\/h4>\n<p>\u65e7\u670d\u52a1\u5668\u6267\u884c\u8fdb\u884c\u6570\u636e\u5907\u4efd<\/p>\n<p>gitlab-rake gitlab:backup:create<\/p>\n<p>\u5907\u4efd\u5730\u5740\u5728 \/var\/opt\/gitlab\/backups\/\u4e0b<\/p>\n<p>cd \/var\/opt\/gitlab\/backups\/<br \/>\nll<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418204225-6802b931badc6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4e0b\u8f7d\u5e76\u4f20\u8f93\u5230\u65b0\u670d\u52a1\u5668\u7684\/var\/opt\/gitlab\/backups\/\u4e0b&#xff0c;\u6ce8\u610f\u6743\u9650\u95ee\u9898&#xff08;\u4e0b\u8f7d\u524d\u548c\u4e0a\u4f20\u540e\u6700\u597d\u90fd\u5c06\u6743\u9650\u8d4b\u503c\u4e3a777&#xff09;<\/p>\n<p>sudo chmod 777 1716965063_2024_05_29_13.6.3_gitlab_backup.tar<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418204225-6802b931e0363.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u8fd8\u539f<\/h3>\n<p>\u505c\u6b62unicorn\u548csidekiq\u670d\u52a1&#xff0c;puma\u670d\u52a1<\/p>\n<p>gitlab-ctl stop nginx &amp;&amp; gitlab-ctl  stop puma &amp;&amp; gitlab-ctl  stop unicorn &amp;&amp; gitlab-ctl stop sidekiq<\/p>\n<p>\u5e94\u7528\u5907\u4efd\u6570\u636e \u4e2d\u9014\u8f93\u5165\u4e24\u4e2ayes<\/p>\n<p>\u6ce8\u610fBACKUP&#061;\u6253\u5305\u7684\u7f16\u53f7<\/p>\n<p>gitlab-rake gitlab:backup:restore BACKUP&#061;1716978170_2024_05_29_13.6.3<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418204226-6802b93216cc1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418204226-6802b9324fca4.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h5>\u66ff\u6362gitlab-secrets.json\u6587\u4ef6<\/h5>\n<p>\u5c06\u65e7\u670d\u52a1\u5668\/etc\/gitlab\/gitlab-secrets.json\u66ff\u6362\u65b0\u670d\u52a1\u5668\/etc\/gitlab\/gitlab-secrets.json&#xff0c;\u6ce8\u610f\u5148\u63d0\u524d\u5907\u4efd\u4e00\u4e0b\u65b0\u670d\u52a1\u5668\u8be5\u6587\u4ef6&#xff0c;\u4ee5\u514d\u6709\u95ee\u9898\u8fd8\u539f\u3002<\/p>\n<p>\u91cd\u542fgitlab\u670d\u52a1<\/p>\n<p>gitlab-ctl restart<\/p>\n<h3>\u95ee\u9898<\/h3>\n<p>\u5728\u8fd8\u539f\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e24\u4e2a\u95ee\u9898&#xff0c;\u4e0b\u9762\u5217\u51fa\u95ee\u9898\u4ee5\u53ca\u89e3\u51b3\u65b9\u6cd5<\/p>\n<h4>\u95ee\u98981<\/h4>\n<p>PG::ConnectionBad: could not connect to server: No such file or directory<br \/>\nIs the server running locally and accepting<br \/>\nconnections on Unix domain socket &#034;\/var\/opt\/gitlab\/postgresql\/.s.PGSQL.5432&#034;?<br \/>\n\/opt\/gitlab\/embedded\/service\/gitlab-rails\/lib\/tasks\/gitlab\/db.rake:49:in &#096;block (3 levels) in &lt;top (required)&gt;&#039;<br \/>\n\/opt\/gitlab\/embedded\/bin\/bundle:23:in &#096;load&#039;<br \/>\n\/opt\/gitlab\/embedded\/bin\/bundle:23:in &#096;&lt;main&gt;&#039;<br \/>\nTasks: TOP &#061;&gt; gitlab:db:configure<br \/>\n(See full trace by running task with &#8211;trace)<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5&#xff1a; 1\u3001\u6309\u4f4fCTRL&#043;C\u5f3a\u5236\u7ed3\u675f 2\u3001\u5148\u505c\u6b62 gitlab &#xff0c;\u547d\u4ee4&#xff1a; sudo gitlab-ctl stop 3\u3001\u6267\u884c\u547d\u4ee4&#xff1a; sudo chmod 755 \/var\/opt\/gitlab\/postgresql 4\u3001\u6267\u884c\u547d\u4ee4&#xff1a;sudo systemctl restart gitlab-runsvdir 5\u3001\u518d\u6b21\u914d\u7f6e&#xff1a;sudo gitlab-ctl reconfigure 6\u3001\u542f\u52a8\u5373\u53ef&#xff1a;sudo gitlab-ctl restart<\/p>\n<h4>\u95ee\u98982<\/h4>\n<p>Restoring PostgreSQL database gitlabhq_production &#8230; ERROR:  must be owner of extension pg_trgm<br \/>\nERROR:  must be owner of extension btree_gist<br \/>\nERROR:  must be owner of extension btree_gist<br \/>\nERROR:  must be owner of extension pg_trgm<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5&#xff1a; 1\u3001\u4fee\u6539postgresql\u76f8\u5173\u914d\u7f6e<\/p>\n<p># \u4fee\u6539\u4ee5\u4e0b\u914d\u7f6e\u6587\u4ef6&#xff0c;\u4fee\u6539\u7aef\u53e3\u76d1\u542c\u5730\u5740,\u9ed8\u8ba4\u76d1\u63a7localhost&#xff0c;* \u4ee3\u8868all<br \/>\n$ vim \/var\/opt\/gitlab\/postgresql\/data\/postgresql.conf<\/p>\n<p>listen_addresses &#061; &#039;*&#039;<br \/>\n# \u4ee5\u4e0b\u914d\u7f6e\u6587\u4ef6\u65b0\u589e\u4ee5\u4e0b\u4e24\u884c<br \/>\n$ vim \/var\/opt\/gitlab\/postgresql\/data\/pg_hba.conf<\/p>\n<p>local   all         all                               trust<br \/>\nhost    all         all                               127.0.0.1\/32 trust<\/p>\n<p>2\u3001\u91cd\u542fgitlab\u670d\u52a1<\/p>\n<p>gitlab-ctl restart<\/p>\n<p>3\u3001\u4fee\u6539\u6570\u636e<\/p>\n<p>$ su &#8211; gitlab-psql<\/p>\n<p>$ \/opt\/gitlab\/embedded\/bin\/psql -h 127.0.0.1 gitlabhq_production<\/p>\n<p>gitlabhq_production&#061;# ALTER USER gitlab WITH SUPERUSER;<\/p>\n<p>ALTER ROLE<\/p>\n<p>gitlabhq_production&#061;# \\\\q<\/p>\n<p>$ exit<\/p>\n<h3>\u53c3\u8003<\/h3>\n<p>Gitlab\u65e7\u670d\u52a1\u5668\u8fc1\u79fb\u65b0\u670d\u52a1\u5668 Ubuntu\u5b89\u88c5gitlab\u6559\u7a0b GitLab \u62a5\u9519 ConnectionBad: could not connect to server: No such\u2026 gitlab\u5907\u4efd\u6570\u636e gitlab\u9879\u76ee\u5907\u4efd gitlab\u5b89\u88c5\u4ee5\u53ca\u6570\u636e\u8fc1\u79fb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb7.7k\u6b21\uff0c\u70b9\u8d5e33\u6b21\uff0c\u6536\u85cf56\u6b21\u3002gitlab\u8fc1\u79fb\u3001gitlab ubuntu\u5b89\u88c5_gitlab\u8fc1\u79fb<\/p>\n","protected":false},"author":2,"featured_media":21489,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[273,103],"topic":[],"class_list":["post-21496","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-gitlab","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>gitlab\u670d\u52a1\u5668\u8fc1\u79fb\uff08\u4eb2\u6d4b\u6709\u6548\uff09 - \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\/21496.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"gitlab\u670d\u52a1\u5668\u8fc1\u79fb\uff08\u4eb2\u6d4b\u6709\u6548\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb7.7k\u6b21\uff0c\u70b9\u8d5e33\u6b21\uff0c\u6536\u85cf56\u6b21\u3002gitlab\u8fc1\u79fb\u3001gitlab ubuntu\u5b89\u88c5_gitlab\u8fc1\u79fb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/21496.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-18T20:42:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418204225-6802b9310aeee.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/21496.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/21496.html\",\"name\":\"gitlab\u670d\u52a1\u5668\u8fc1\u79fb\uff08\u4eb2\u6d4b\u6709\u6548\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T20:42:27+00:00\",\"dateModified\":\"2025-04-18T20:42:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/21496.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/21496.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/21496.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"gitlab\u670d\u52a1\u5668\u8fc1\u79fb\uff08\u4eb2\u6d4b\u6709\u6548\uff09\"}]},{\"@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":"gitlab\u670d\u52a1\u5668\u8fc1\u79fb\uff08\u4eb2\u6d4b\u6709\u6548\uff09 - \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\/21496.html","og_locale":"zh_CN","og_type":"article","og_title":"gitlab\u670d\u52a1\u5668\u8fc1\u79fb\uff08\u4eb2\u6d4b\u6709\u6548\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb7.7k\u6b21\uff0c\u70b9\u8d5e33\u6b21\uff0c\u6536\u85cf56\u6b21\u3002gitlab\u8fc1\u79fb\u3001gitlab ubuntu\u5b89\u88c5_gitlab\u8fc1\u79fb","og_url":"https:\/\/www.wsisp.com\/helps\/21496.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T20:42:27+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418204225-6802b9310aeee.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/21496.html","url":"https:\/\/www.wsisp.com\/helps\/21496.html","name":"gitlab\u670d\u52a1\u5668\u8fc1\u79fb\uff08\u4eb2\u6d4b\u6709\u6548\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T20:42:27+00:00","dateModified":"2025-04-18T20:42:27+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/21496.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/21496.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/21496.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"gitlab\u670d\u52a1\u5668\u8fc1\u79fb\uff08\u4eb2\u6d4b\u6709\u6548\uff09"}]},{"@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\/21496","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=21496"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/21496\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/21489"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=21496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=21496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=21496"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=21496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}