{"id":5761,"date":"2022-11-05T09:38:29","date_gmt":"2022-11-05T00:38:29","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=5761"},"modified":"2022-11-07T07:34:01","modified_gmt":"2022-11-06T22:34:01","slug":"gitlab%e3%82%92alma-linux-8%e3%81%ab%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/5761","title":{"rendered":"GitLab\u3092Alma Linux 8\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01"},"content":{"rendered":"<p>GitLab\u3092Alma Linux 8\u306bGitLab CE\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002GitLab EE\u3092\u30a4\u30f3\u30c8\u30fc\u30eb\u3057\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u30e9\u30a4\u30bb\u30f3\u30b9\u767b\u9332\u3092\u884c\u308f\u306ak\u308c\u3070\u3001GitLab CE\u3068\u540c\u3058\u6a5f\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30e1\u30e2\u30ea\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u4eee\u60f3\u74b0\u5883\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u30e1\u30e2\u30ea\u306e\u8a2d\u5b9a\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002GitLab\u306f\u30e1\u30e2\u30ea\u6d88\u8cbb\u91cf\u304c\u591a\u3044\u306e\u3067\u3001\u5c11\u306a\u304f\u3068\u30824GB\u306e\u30e1\u30e2\u30ea\u3092\u5272\u308a\u5f53\u3066\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>Firewall\u306e\u8a2d\u5b9a\u3092\u884c\u3046\uff01<\/h2>\n<p>\u6700\u521d\u306b\u901a\u4fe1\u8a31\u53ef\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# firewall-cmd --list-all\r\npublic (active)\r\n  target: default\r\n  icmp-block-inversion: no\r\n  interfaces: enp0s3\r\n  sources: \r\n  services: cockpit dhcpv6-client ssh\r\n  ports: \r\n  protocols: \r\n  forward: no\r\n  masquerade: no\r\n  forward-ports: \r\n  source-ports: \r\n  icmp-blocks: \r\n  rich rules: \r\n# firewall-cmd --permanent --add-service=http\r\nsuccess\r\n# firewall-cmd --permanent --add-service=https\r\nsuccess\r\n# systemctl reload firewalld\r\n# firewall-cmd --list-all\r\npublic (active)\r\n  target: default\r\n  icmp-block-inversion: no\r\n  interfaces: enp0s3\r\n  sources: \r\n  services: cockpit dhcpv6-client http https ssh\r\n  ports: \r\n  protocols: \r\n  forward: no\r\n  masquerade: no\r\n  forward-ports: \r\n  source-ports: \r\n  icmp-blocks: \r\n  rich rules: \r\n<\/pre>\n<h2>Postfix\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>\u30e1\u30fc\u30eb\u3067\u306e\u901a\u77e5\u3092\u884c\u3046\u5834\u5408\u306f\u3001Postfix\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# dnf install postfix -y\r\n# systemctl enable postfix\r\n# systemctl start postfix\r\n<\/pre>\n<h2>GitLab\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u8ffd\u52a0\u3092\u884c\u3046\uff01<\/h2>\n<p>GitLab\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u8ffd\u52a0\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# curl -sS https:\/\/packages.gitlab.com\/install\/repositories\/gitlab\/gitlab-ce\/script.rpm.sh | sudo bash\r\n<\/pre>\n<h2>GitLab\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>\u30a2\u30af\u30bb\u30b9\u3059\u308bURL\u3092\u6307\u5b9a\u3057\u3066\u3001GitLab CE\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002https\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d\u306b\u8a3c\u660e\u66f8\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306eDNS\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u30db\u30b9\u30c8\u540d\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u3001\/etc\/hosts\u306b\u30db\u30b9\u30c8\u540d\u3092\u767b\u9332\u3057\u3066\u3001http\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u624b\u3063\u53d6\u308a\u65e9\u3044\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306f\u3001\u5c11\u3057\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# EXTERNAL_URL=&quot;http:\/\/gitlab.lab4ict.local&quot; dnf install -y gitlab-ce\r\n<\/pre>\n<h2>\u521d\u671f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u30ed\u30b0\u30a4\u30f3\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u7528\u306e\u30e6\u30fc\u30b6ID\u306f\u3001\u300croot\u300d\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ncat \/etc\/gitlab\/initial_root_password\r\n<\/pre>\n<h2>GitLab\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u8ffd\u52a0\u3092\u884c\u3046\uff01<\/h2>\n<p>\u30a2\u30af\u30bb\u30b9\u5143\u306ePC\u306e\/etc\/hosts\u306b\u3082\u30db\u30b9\u30c8\u540d\u306e\u767b\u9332\u3092\u884c\u3044\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u6307\u5b9a\u3057\u305fURL\u3067\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nhttp:\/\/gitlab.lab4ict.local\r\n<\/pre>\n<h2>root\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u3092\u884c\u3046\uff01<\/h2>\n<p>\u6700\u521d\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u30e6\u30fc\u30b6\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001Edit Profile\u30e1\u30cb\u30e5\u30fc\u3092\u9078\u629e\u3057\u3001\u5de6\u5074\u306e\u30da\u30a4\u30f3\u304b\u3089Password\u30e1\u30cb\u30e5\u30fc\u3092\u9078\u629e\u3057\u3066\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u753b\u9762\u3092\u8868\u793a\u3057\u3066\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u30ea\u30bb\u30c3\u30c8\u3059\u308b\uff01<\/h2>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u30ea\u30bb\u30c3\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# gitlab-rake &quot;gitlab:password:reset&quot;\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>GitLab\u3092Alma Linux 8\u306b\u3001GitLab\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/about.gitlab.com\/install\/#almalinux-8\" target=\"_blank\" rel=\"noopener\">GitLab - Install self-managed GitLab<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>GitLab\u3092Alma Linux 8\u306bGitLab CE\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002GitLab EE\u3092\u30a4\u30f3\u30c8\u30fc\u30eb\u3057\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u30e9\u30a4\u30bb\u30f3\u30b9\u767b\u9332\u3092\u884c\u308f\u306ak\u308c\u3070\u3001GitLab CE\u3068\u540c\u3058\u6a5f\u80fd\u306b\u306a\u308a\u307e\u3059\u3002 \u30e1\u30e2\u30ea\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\uff01 \u4eee\u60f3\u74b0\u5883\u306b\u30a4\u2026<\/p>\n","protected":false},"author":1,"featured_media":642,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[163],"tags":[],"class_list":["post-5761","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gitlab"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=5761"}],"version-history":[{"count":0,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5761\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=5761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=5761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=5761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}