{"id":86,"date":"2023-09-26T06:07:59","date_gmt":"2023-09-25T21:07:59","guid":{"rendered":"http:\/\/blog.takeh.org\/?p=86"},"modified":"2023-09-26T06:08:33","modified_gmt":"2023-09-25T21:08:33","slug":"%e8%a8%ad%e5%ae%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%a7%8b%e6%88%90%e7%ae%a1%e7%90%86","status":"publish","type":"post","link":"https:\/\/blog.takeh.org\/?p=86","title":{"rendered":"\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6210\u7ba1\u7406"},"content":{"rendered":"\n<p>Bodhi Linux\u3092\u5165\u308c\u306a\u304a\u3057\u305f\u6642\u306b\u7d30\u304b\u3044\u8a2d\u5b9a\u306e\u5909\u66f4\u3092\u899a\u3048\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u518d\u5ea6\u691c\u7d22\u3057\u305f\u308a\u8abf\u67fb\u3057\u305f\u308a\u3057\u3066\u3044\u305f\u3002\u3053\u308c\u3067\u306f\u30a4\u30de\u30a4\u30c1\u3068\u3044\u3046\u3053\u3068\u3067GitLab\u3067\u7ba1\u7406\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>GitLab CE\u306e\u5c0e\u5165<\/li>\n\n\n\n<li>\u69cb\u6210\u7ba1\u7406\u7528\u30ec\u30dd\u30b8\u30c8\u30ea\u3068\u30e6\u30fc\u30b6\u306e\u8a2d\u5b9a<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">GitLab CE\u306e\u5c0e\u5165<\/h3>\n\n\n\n<p>\u3068\u3044\u3063\u3066\u3082\u5225\u4ef6\u3067\u3059\u3067\u306b\u5c0e\u5165\u6e08\u3060\u3063\u305f\u306e\u3067\u3001\u7c21\u5358\u306b\u3002\u9069\u5f53\u306a\u30b3\u30f3\u30c6\u30ca\u3092\u7528\u610f\u3057\u3066(\u4eca\u56de\u306fUbuntu)\u3001<a href=\"https:\/\/about.gitlab.com\/ja-jp\/install\/#ubuntu\">\u516c\u5f0f\u624b\u9806<\/a>\u306b\u5f93\u3046\u3060\u3051\u3002gitlab\u7528\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u304c\u8a2d\u5b9a\u3055\u308c\u3066gitlab-ce\u304c\u5c0e\u5165\u53ef\u80fd\u306b\u306a\u308b\u306e\u3067\u3001apt\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u69cb\u6210\u7ba1\u7406\u7528\u30ec\u30dd\u30b8\u30c8\u30ea\u3068\u30e6\u30fc\u30b6\u306e\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u65b0\u898f\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7528\u610f\u3057\u305f\u3002\u307e\u305f\u3001GUI\u306e\u5de6\u30e1\u30cb\u30e5\u30fc\u3067\u3001Settings\u2192Access Tokens\u304b\u3089\u3001\u69cb\u6210\u7ba1\u7406\u7528\u306e\u5c02\u7528\u306e\u65b0\u898fToken\u3092\u767a\u884c\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"198\" src=\"http:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/09\/image-12-1024x198.png\" alt=\"\" class=\"wp-image-104\" srcset=\"https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/09\/image-12-1024x198.png 1024w, https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/09\/image-12-300x58.png 300w, https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/09\/image-12-768x149.png 768w, https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/09\/image-12.png 1275w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u3053\u308c\u3067\u3001git clone\u3059\u308b\u3068\u304d\u306bToken\u4ed8\u304d\u3067\u884c\u3046\u3068\u8a8d\u8a3c\u60c5\u5831\u306e\u5165\u529b\u304c\u4e0d\u8981\u306b\u306a\u308b\u3002(\u4e0b\u8a18\u3067&lt;auth_token&gt;\u306e\u3068\u3053\u308d\u306b\u5b9f\u969b\u306eToken\u3092\u5165\u529b\u3059\u308b)<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ git clone http:\/\/oauth2:&lt;auth_token>@gitlab.takeh.org\/takeh-t\/homelabconf.git<\/pre>\n\n\n\n<p>\u4f7f\u3044\u65b9\u306f\u4ee5\u4e0b\u306e\u901a\u308a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>homelabconf -+- server1 - directory - config file\n             | \n             +- server2 - directory - config file <\/code><\/pre>\n\n\n\n<p>\u4f8b\u3048\u3070server1:\/etc\/crontab\u3067\u3042\u308c\u3070\u3001homelabconf\/server1\/etc\/crontab\u3068\u3044\u3063\u305f\u611f\u3058\u3002\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u307e\u3058\u3081\u306b\u3084\u308b\u3068\u6df1\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u308f\u304b\u308b\u7bc4\u56f2\u3067\u7701\u7565\u3059\u308b\u81ea\u5206\u30eb\u30fc\u30eb\u3067\u904b\u7528\u3057\u59cb\u3081\u305f\u3002<\/p>\n\n\n\n<p>Desktop PC\u306e\u524d\u306b\u3044\u308b\u306a\u3089\u3001Visual Studio Code\u3067\u7de8\u96c6\u3057\u3066\u30b3\u30df\u30c3\u30c8\u3057\u305f\u5f8c\u3001\u4e00\u822c\u30e6\u30fc\u30b6\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u914d\u4e0b\u3067\u4e0a\u8a18\u306egit\u30b3\u30de\u30f3\u30c9\u3092CUT &amp; PASTE\u3057\u3066\u5b9f\u884c\u3057\u3001sudo cp\u3067\u6240\u5b9a\u306e\u5834\u6240\u306b\u5165\u308c\u308b\u3002\u3082\u3057\u304f\u306f\u3001\u8a66\u884c\u932f\u8aa4\u3067terminal\u3067\u7de8\u96c6\u3057\u305f\u5f8c\u3067cp\u3067\u3001git add\/git commit\/git push\u3057\u3066\u53ce\u9332\u3057\u3066\u304a\u304f\u611f\u3058\u3002\u95a2\u4fc2\u306a\u3044\u307b\u304b\u306e\u30b5\u30fc\u30d0\u306e\u60c5\u5831\u3082\u5f15\u3063\u5f35\u3063\u3066\u3057\u307e\u3046\u304c\u3001\u30b3\u30d4\u30fc\u3057\u3066\u7de8\u96c6\u3059\u308b\u3053\u3068\u3082\u3042\u308b\u3057\u3001\u30b5\u30a4\u30ba\u3082\u30d5\u30a1\u30a4\u30eb\u6570\u3082\u307e\u3042\u305d\u3053\u307e\u3067\u5927\u304d\u304f\u306a\u3044\u306e\u3067\u3044\u3063\u305f\u3093\u306f\u3053\u306e\u3084\u308a\u65b9\u3067\u3002<\/p>\n\n\n\n<p>\u304a\u624b\u8efd\u306a\u3084\u308a\u65b9\u3067\u500b\u4eba\u5229\u7528\u306a\u3089\u52b9\u679c\u7684\u3060\u3051\u3069\u3001\u305f\u304f\u3055\u3093\u8a2d\u5b9a\u3092\u3057\u59cb\u3081\u308b\u3068\u69cb\u6210\u7ba1\u7406\u3060\u3051\u3067\u306f\u306a\u304f\u3001Ansible\u7684\u306a\u3082\u306e\u3068\u304bCI\/CD\u307d\u3044\u3082\u306e\u3092\u4f7f\u3044\u305f\u304f\u306a\u3063\u3066\u304d\u305f\u3051\u3069\u305d\u308c\u306f\u307e\u305f\u5f8c\u3067\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bodhi Linux\u3092\u5165\u308c\u306a\u304a\u3057\u305f\u6642\u306b\u7d30\u304b\u3044\u8a2d\u5b9a\u306e\u5909\u66f4\u3092\u899a\u3048\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u518d\u5ea6\u691c\u7d22\u3057\u305f\u308a\u8abf\u67fb\u3057\u305f\u308a\u3057\u3066\u3044\u305f\u3002\u3053\u308c\u3067\u306f\u30a4\u30de\u30a4\u30c1\u3068\u3044\u3046\u3053\u3068\u3067GitLab\u3067\u7ba1\u7406\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002 GitLab CE\u306e\u5c0e\u5165 \u3068\u3044\u3063\u3066\u3082\u5225\u4ef6\u3067 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[21],"class_list":["post-86","post","type-post","status-publish","format-standard","hentry","category-homelab","tag-gitlab"],"_links":{"self":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts\/86","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=86"}],"version-history":[{"count":4,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions\/106"}],"wp:attachment":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}