
{"id":3604,"date":"2024-02-24T18:31:13","date_gmt":"2024-02-24T10:31:13","guid":{"rendered":"http:\/\/dba.qishuo.xin\/?p=3604"},"modified":"2024-02-24T18:51:40","modified_gmt":"2024-02-24T10:51:40","slug":"linux-%e5%ae%89%e8%a3%85gitlab%e6%9c%8d%e5%8a%a1","status":"publish","type":"post","link":"http:\/\/dba.qishuo.xin\/?p=3604","title":{"rendered":"Linux \u5b89\u88c5GitLab\u670d\u52a1"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-69f23eae705a7\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f23eae705a7\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#1_GitLab%E5%AE%89%E8%A3%85\" >1. GitLab\u5b89\u88c5<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#11_%E6%96%B0%E5%BB%BAYUM%E6%BA%90\" >1.1. \u65b0\u5efaYUM\u6e90<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#12_%E5%AE%89%E8%A3%85gitlab%E7%A4%BE%E5%8C%BA%E7%89%88\" >1.2. \u5b89\u88c5gitlab\u793e\u533a\u7248<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#13_GitLab%E6%97%A5%E5%B8%B8%E5%91%BD%E4%BB%A4\" >1.3. GitLab\u65e5\u5e38\u547d\u4ee4<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#2_GitLab%E9%85%8D%E7%BD%AE\" >2. GitLab\u914d\u7f6e<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#21_%E4%BF%AE%E6%94%B9%E5%9C%B0%E5%9D%80%E4%B8%8E%E7%AB%AF%E5%8F%A3\" >2.1. \u4fee\u6539\u5730\u5740\u4e0e\u7aef\u53e3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#22_%E7%99%BB%E5%BD%95%E9%A1%B5%E9%9D%A2\" >2.2. \u767b\u5f55\u9875\u9762<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#23_%E5%88%87%E6%8D%A2%E4%B8%AD%E6%96%87%E8%AF%AD%E8%A8%80\" >2.3. \u5207\u6362\u4e2d\u6587\u8bed\u8a00<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#24_gitlab_%E5%BF%98%E8%AE%B0%E5%AF%86%E7%A0%81%E3%80%81%E6%95%B0%E6%8D%AE%E5%BA%93%E6%96%B9%E5%BC%8F%E4%BF%AE%E6%94%B9%E5%AF%86%E7%A0%81\" >2.4. gitlab \u5fd8\u8bb0\u5bc6\u7801\u3001\u6570\u636e\u5e93\u65b9\u5f0f\u4fee\u6539\u5bc6\u7801<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#%E9%99%84%E5%BD%95\" >\u9644\u5f55<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#%E9%99%84%E5%BD%95A_%E7%9B%B8%E5%85%B3%E8%81%94%E7%9A%84%E6%96%87%E7%AB%A0\" >\u9644\u5f55A. \u76f8\u5173\u8054\u7684\u6587\u7ae0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"http:\/\/dba.qishuo.xin\/?p=3604\/#%E9%99%84%E5%BD%95B_%E5%8F%82%E8%80%83\" >\u9644\u5f55B. \u53c2\u8003<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<p>\u64cd\u4f5c\u7cfb\u7edf\uff1aCentOS Linux release 7.8.2003 (Core)<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_GitLab%E5%AE%89%E8%A3%85\"><\/span>1. GitLab\u5b89\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"11_%E6%96%B0%E5%BB%BAYUM%E6%BA%90\"><\/span>1.1. \u65b0\u5efaYUM\u6e90<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell\">~]# vim \/etc\/yum.repos.d\/gitlab-ce.repo\n#\u5185\u5bb9\u5982\u4e0b:yum\u6e90\u8bbe\u7f6e\u4e3a\u817e\u8baf\n[gitlab-ce]\nname=Gitlab CE Repository\nbaseurl=https:\/\/mirrors.cloud.tencent.com\/gitlab-ce\/yum\/el$releasever\/\ngpgcheck=0\nenabled=1<\/code><\/pre>\n<p><strong>\u66f4\u65b0\u672c\u5730yum\u7f13\u5b58<\/strong><\/p>\n<pre><code class=\"language-shell\">~]# yum makecache<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708766311927.png\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708766311927.png\" alt=\"file\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"12_%E5%AE%89%E8%A3%85gitlab%E7%A4%BE%E5%8C%BA%E7%89%88\"><\/span>1.2. \u5b89\u88c5gitlab\u793e\u533a\u7248<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell\">yum install gitlab-ce        # \u81ea\u52a8\u5b89\u88c5\u6700\u65b0\u7248\nyum install gitlab-ce-x.x.x  # \u5b89\u88c5\u6307\u5b9a\u7248\u672c<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708767061412.png\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708767061412.png\" alt=\"file\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"13_GitLab%E6%97%A5%E5%B8%B8%E5%91%BD%E4%BB%A4\"><\/span>1.3. GitLab\u65e5\u5e38\u547d\u4ee4<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code>gitlab-ctl start    # \u542f\u52a8\u6240\u6709 gitlab \u7ec4\u4ef6\uff1b\ngitlab-ctl stop     # \u505c\u6b62\u6240\u6709 gitlab \u7ec4\u4ef6\uff1b\ngitlab-ctl restart  # \u91cd\u542f\u6240\u6709 gitlab \u7ec4\u4ef6\uff1b\ngitlab-ctl status   # \u67e5\u770b\u670d\u52a1\u72b6\u6001\uff1b\ngitlab-ctl reconfigure        # \u542f\u52a8\u670d\u52a1\uff1b\nvim \/etc\/gitlab\/gitlab.rb     # \u4fee\u6539\u9ed8\u8ba4\u7684\u914d\u7f6e\u6587\u4ef6\uff1b\ngitlab-rake gitlab:check SANITIZE=true --trace    # \u68c0\u67e5gitlab\uff1b\ngitlab-ctl tail     # \u67e5\u770b\u65e5\u5fd7\uff1b<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"2_GitLab%E9%85%8D%E7%BD%AE\"><\/span>2. GitLab\u914d\u7f6e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"21_%E4%BF%AE%E6%94%B9%E5%9C%B0%E5%9D%80%E4%B8%8E%E7%AB%AF%E5%8F%A3\"><\/span>2.1. \u4fee\u6539\u5730\u5740\u4e0e\u7aef\u53e3<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code class=\"language-shell\">vim \/etc\/gitlab\/gitlab.rb<\/code><\/pre>\n<p>\u627e\u5230\u8fd9\u4e00\u6bb5\uff0c\u4fee\u6539\u7aef\u53e3\u5e76\u4fdd\u5b58\uff1a<\/p>\n<pre><code>## GitLab URL\n##! URL on which GitLab will be reachable.\n##! For more details on configuring external_url see:\n##! https:\/\/docs.gitlab.com\/omnibus\/settings\/configuration.html#configuring-the-external-url-for-gitlab\n##!\n##! Note: During installation\/upgrades, the value of the environment variable\n##! EXTERNAL_URL will be used to populate\/replace this value.\n##! On AWS EC2 instances, we also attempt to fetch the public hostname\/IP\n##! address from AWS. For more details, see:\n##! https:\/\/docs.aws.amazon.com\/AWSEC2\/latest\/UserGuide\/instancedata-data-retrieval.html\nexternal_url &#039;http:\/\/localhost:9999&#039;<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708767997489.png\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708767997489.png\" alt=\"file\" \/><\/a><\/p>\n<p>\u91cd\u65b0\u914d\u7f6egitlab\u5e76\u91cd\u542f\u7ec4\u4ef6<\/p>\n<pre><code class=\"language-shell\">gitlab-ctl reconfigure\ngitlab-ctl restart<\/code><\/pre>\n<p><span style='color:red'>\u6267\u884c<code>gitlab-ctl reconfigure<\/code>\u547d\u4ee4\u65f6\u95f4\u6bd4\u8f83\u957f\uff0c\u5b83\u4f1a\u4fee\u6539<code> \/var\/opt\/gitlab\/gitlab-rails\/etc\/gitlab.yml <\/code>\u3001<code>\/var\/opt\/gitlab\/nginx\/conf\/gitlab-http.conf<\/code>\u7b49\u6587\u4ef6\u4e2d\u7684\u7aef\u53e3\u914d\u7f6e<\/span><\/p>\n<h4><span class=\"ez-toc-section\" id=\"22_%E7%99%BB%E5%BD%95%E9%A1%B5%E9%9D%A2\"><\/span>2.2. \u767b\u5f55\u9875\u9762<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708770861654.png\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708770861654.png\" alt=\"file\" \/><\/a><\/p>\n<p><strong>\u642d\u5efa\u597dGitLab\u670d\u52a1\uff0c\u6253\u5f00\u9875\u9762\u540e\uff0c\u9700\u8981\u8f93\u5165\u7528\u6237\u540d\u5bc6\u7801\u3002\u4f46\u5b83\u4eec\u662f\u4ec0\u4e48\u5462\uff1f\u521d\u59cb\u7ba1\u7406\u5458\u7528\u6237\u4e3aroot\uff0c\u5bc6\u7801\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5df2\u968f\u673a\u751f\u6210\u5e76\u4fdd\u5b58\u5728<code>\/etc\/gitlab\/initial_root_password<\/code>\u4e2d\uff0c\u6709\u6548\u671f24\u5c0f\u65f6\u3002<\/strong><\/p>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708769526328.png\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708769526328.png\" alt=\"file\" \/><\/a><\/p>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708770904595.png\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708770904595.png\" alt=\"file\" \/><\/a><\/p>\n<p>\u63d0\u793a\u7684\u4e2d\u6587\u610f\u601d\u4e3a\uff1a\u60a8\u7684GitLab\u5b9e\u4f8b\u5141\u8bb8\u4efb\u4f55\u4eba\u6ce8\u518c\u5e10\u6237\uff0c\u8fd9\u662f\u9762\u5411\u516c\u4f17\u7684GitLab\u5b9e\u4f8b\u7684\u5b89\u5168\u98ce\u9669\u3002\u5982\u679c\u516c\u4f17\u7528\u6237\u4e0d\u5e0c\u671b\u6ce8\u518c\u5e10\u6237\uff0c\u60a8\u5e94\u8be5\u505c\u7528\u65b0\u7684\u6ce8\u518c\u3002(\u505c\u7528\u3001\u786e\u8ba4)<\/p>\n<h4><span class=\"ez-toc-section\" id=\"23_%E5%88%87%E6%8D%A2%E4%B8%AD%E6%96%87%E8%AF%AD%E8%A8%80\"><\/span>2.3. \u5207\u6362\u4e2d\u6587\u8bed\u8a00<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u8981\u5207\u6362 GitLab Community Edition v16.9.1 \u7684\u8bed\u8a00\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<ol>\n<li>\u767b\u5f55\u5230 GitLab Community Edition\u3002<\/li>\n<li>\u70b9\u51fb\u7528\u6237\u5934\u50cf\uff0c\u7136\u540e\u9009\u62e9 &quot;Settings&quot;\uff08\u8bbe\u7f6e\uff09\u3002<\/li>\n<li>\u5728 &quot;User Settings&quot;\uff08\u7528\u6237\u8bbe\u7f6e\uff09\u9875\u9762\uff0c\u9009\u62e9 &quot;Preferences&quot;\uff08\u9996\u9009\u9879\uff09\u9009\u9879\u5361\u3002<\/li>\n<li>\u6eda\u52a8\u9875\u9762\u4e0b\u65b9\uff0c\u627e\u5230 &quot;Localization&quot;\uff08\u672c\u5730\u5316\uff09\u90e8\u5206\u3002<\/li>\n<li>\u5728 &quot;Language&quot;\uff08\u8bed\u8a00\uff09\u4e0b\u62c9\u83dc\u5355\u4e2d\uff0c\u9009\u62e9\u4f60\u60f3\u8981\u5207\u6362\u7684\u8bed\u8a00\u3002<\/li>\n<li>\u70b9\u51fb\u9875\u9762\u5e95\u90e8\u7684 &quot;Save changes&quot;\uff08\u4fdd\u5b58\u66f4\u6539\uff09\u6309\u94ae\uff0c\u4ee5\u4fdd\u5b58\u8bed\u8a00\u504f\u597d\u8bbe\u7f6e\u3002<\/li>\n<\/ol>\n<p>\u5207\u6362\u8bed\u8a00\u540e\uff0cGitLab Community Edition \u7684\u754c\u9762\u5c06\u4f1a\u663e\u793a\u4e3a\u4f60\u9009\u62e9\u7684\u8bed\u8a00\u3002<\/p>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708770664177.png\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708770664177.png\" alt=\"file\" \/><\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"24_gitlab_%E5%BF%98%E8%AE%B0%E5%AF%86%E7%A0%81%E3%80%81%E6%95%B0%E6%8D%AE%E5%BA%93%E6%96%B9%E5%BC%8F%E4%BF%AE%E6%94%B9%E5%AF%86%E7%A0%81\"><\/span>2.4. gitlab \u5fd8\u8bb0\u5bc6\u7801\u3001\u6570\u636e\u5e93\u65b9\u5f0f\u4fee\u6539\u5bc6\u7801<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u53c2\u89c1\u5b98\u65b9\u6587\u6863\uff1a<a target=\"_blank\" href=\"https:\/\/docs.gitlab.com\/ee\/security\/reset_user_password.html\">https:\/\/docs.gitlab.com\/ee\/security\/reset_user_password.html<\/a><\/p>\n<pre><code>~]# cd \/opt\/gitlab\/bin\/\n~]# gitlab-rails console\nirb(main):001:0&gt; u=User.where(id:1).first   # \u67e5\u627e\u4e0e\u5207\u6362\u8d26\u53f7\uff08User.all \u53ef\u4ee5\u67e5\u770b\u6240\u6709\u7528\u6237\uff09\n=&gt; #&lt;User id:1 @root&gt;\nirb(main):002:0&gt; u.password=&#039;12345678&#039;     # \u8bbe\u7f6e\u5bc6\u7801\u4e3a12345678\n=&gt; &quot;12345678&quot;\nirb(main):003:0&gt; u.password_confirmation=&#039;12345678&#039;        # \u518d\u6b21\u786e\u8ba4\u5bc6\u7801\n=&gt; &quot;12345678&quot;\nirb(main):004:0&gt; u.save!     # \u8fdb\u884c\u4fdd\u5b58\uff08\u5207\u8bb0\u5207\u8bb0 \u540e\u9762\u7684 !\uff09\n=&gt; true\nirb(main):005:0&gt; exit        # \u9000\u51fa<\/code><\/pre>\n<p><a href=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708771897346.png\" data-fancybox=\"images\" data-fancybox=\"images\"><img decoding=\"async\" src=\"http:\/\/dba.qishuo.xin\/wp-content\/uploads\/2024\/02\/image-1708771897346.png\" alt=\"file\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E9%99%84%E5%BD%95\"><\/span>\u9644\u5f55<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"%E9%99%84%E5%BD%95A_%E7%9B%B8%E5%85%B3%E8%81%94%E7%9A%84%E6%96%87%E7%AB%A0\"><\/span>\u9644\u5f55A. \u76f8\u5173\u8054\u7684\u6587\u7ae0<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h4><span class=\"ez-toc-section\" id=\"%E9%99%84%E5%BD%95B_%E5%8F%82%E8%80%83\"><\/span>\u9644\u5f55B. \u53c2\u8003<span class=\"ez-toc-section-end\"><\/span><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>\u64cd\u4f5c\u7cfb\u7edf\uff1aCentOS Linux release&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[257],"tags":[],"class_list":["post-3604","post","type-post","status-publish","format-standard","hentry","category-git"],"_links":{"self":[{"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/posts\/3604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3604"}],"version-history":[{"count":17,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/posts\/3604\/revisions"}],"predecessor-version":[{"id":3632,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=\/wp\/v2\/posts\/3604\/revisions\/3632"}],"wp:attachment":[{"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3604"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dba.qishuo.xin\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}