{"id":166,"date":"2014-01-18T22:47:22","date_gmt":"2014-01-18T13:47:22","guid":{"rendered":"http:\/\/lovelinux.mydns.jp\/?p=166"},"modified":"2014-08-25T11:22:46","modified_gmt":"2014-08-25T02:22:46","slug":"gitlab%e3%81%a8redmine%e9%80%a3%e6%90%ba%e3%80%80centos-6-5%e7%b7%a8","status":"publish","type":"post","link":"https:\/\/lovelinux.mydns.jp\/?p=166","title":{"rendered":"GitLab\u3068Redmine\u9023\u643a\u3000CentOS 6.5\u7de8"},"content":{"rendered":"<h3>\u306f\u3058\u3081\u306b<\/h3>\n<p>CentOS 6.5\u4e0a\u306b\u69cb\u7bc9\u3057\u305f GitLab\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068Redmine\u3092\u9023\u643a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>GitLab\u74b0\u5883\u306e\u69cb\u7bc9\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"http:\/\/lovelinux.mydns.jp\/?p=130\">\u524d\u3005\u8a18\u4e8b<\/a>\u3092\u3001Redmine\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f<a href=\"http:\/\/lovelinux.mydns.jp\/?p=161\">\u524d\u306e\u8a18\u4e8b<\/a>\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>GitLab\u306e\u8a2d\u5b9a\u5909\u66f4<\/h3>\n<p>GitLab\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 \/home\/git\/repositories\/ \u30d5\u30a9\u30eb\u30c0\u914d\u4e0b\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002Redmine\u3068\u306e\u9023\u643a\u306b\u304a\u3044\u3066\u3042\u308c\u3053\u308c\u8a66\u884c\u932f\u8aa4\u3057\u307e\u3057\u305f\u304c\u3001\u79c1\u306e\u7d50\u8ad6\u3068\u3057\u3066\u306f\u3001\/home\/git \u914d\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u306fRedmine\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3088\u3046\u306a\u306e\u3067\u3001GitLab\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u914d\u7f6e\u5834\u6240\u3092\u5909\u3048\u3001\u4e21\u8005\u306e\u9023\u643a\u3092\u306f\u304b\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h3>GitLab Shell \u306e\u8abf\u6574<\/h3>\n<p>[bash]<br \/>\n# mkdir \/var\/gitlab<br \/>\n# chown git:git \/var\/gitlab -R<br \/>\n# su &#8211; git<br \/>\n$ cd gitlab-shell<br \/>\n$ nano config.yml<\/p>\n<p>[\/bash]<\/p>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u4f4d\u7f6e\u3092 \/var\/gitlab \u3068\u3057\u307e\u3059\u3002<br \/>\n[diff]<br \/>\n# Repositories path<br \/>\n# Give the canonicalized absolute pathname,<br \/>\n# REPOS_PATH MUST NOT CONTAIN ANY SYMLINK!!!<br \/>\n# Check twice that none of the components is a symlink, including &#8220;\/home&#8221;.<br \/>\n&#8211; repos_path: &#8220;\/home\/git\/repositories&#8221;<br \/>\n+ repos_path: &#8220;\/var\/gitlab\/repositories&#8221;<\/p>\n<p>[\/diff]<\/p>\n<p>gitlab-shell\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n[bash]<br \/>\n$ .\/bin\/install<\/p>\n<p>[\/bash]<\/p>\n<h3>GitLab\u306e\u8abf\u6574<\/h3>\n<p>[bash]<br \/>\ncd \/home\/git\/gitlab<br \/>\nnano config\/gitlab.yml<\/p>\n<p>[\/bash]<\/p>\n<p>[diff]<br \/>\n    # REPOS_PATH MUST NOT BE A SYMLINK!!!<br \/>\n&#8211;    repos_path: \/home\/git\/repositories\/<br \/>\n+    repos_path: \/var\/gitlab\/repositories\/<br \/>\n    hooks_path: \/home\/git\/gitlab-shell\/hooks\/<\/p>\n<p>[\/diff]<\/p>\n<h3>\u30b5\u30fc\u30d3\u30b9\u518d\u8d77\u52d5<\/h3>\n<p>[bash]<br \/>\nservice gitlab restart<br \/>\nservice httpd restart<\/p>\n<p>[\/bash]<\/p>\n<h3>GitLab\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u8ffd\u52a0<\/h3>\n<p>http:\/\/gitlab.myhost.jp \u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001\u65b0\u898f\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\/var\/gitlab\/repositories \u914d\u4e0b\u306b\u6b63\u3057\u304fGit\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u304c\u51fa\u6765\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6b63\u3057\u304f\u4f5c\u6210\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u4eca\u5f8c\u306e\u4f5c\u696d\u306e\u78ba\u8a8d\u306e\u305f\u3081\u306b\u3001\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u63a5\u7d9a\u3057\u3001\u4f55\u3089\u304b\u306e\u30b3\u30df\u30c3\u30c8\u4f5c\u696d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h3>Redmine\u306e\u8a2d\u5b9a<\/h3>\n<p>Redmine\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u5bfe\u8c61\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<br \/>\n\u30bf\u30d6\u3088\u308a\u3001\u8a2d\u5b9a\uff1e\uff1e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p>\u5de6\u4e0b\u306b\u8868\u793a\u3055\u308c\u308b \u300c\u65b0\u3057\u3044\u30ea\u30dd\u30b8\u30c8\u30ea\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30ea\u30f3\u30af\u3059\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-test-Redmine-Chromium.png\"><img decoding=\"async\" src=\"http:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-test-Redmine-Chromium.png\" alt=\"Screenshot-test - Redmine - Chromium\" width=\"650\" class=\"alignnone size-medium wp-image-164\" srcset=\"https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-test-Redmine-Chromium.png 1119w, https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-test-Redmine-Chromium-300x162.png 300w, https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-test-Redmine-Chromium-1024x554.png 1024w\" sizes=\"(max-width: 1119px) 100vw, 1119px\" \/><\/a><\/p>\n<p>\u3067\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30bf\u30d6\u306b\u79fb\u52d5\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u53c2\u7167\u304c\u51fa\u6765\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><a href=\"http:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-\u30ea\u30dd\u30b8\u30c8\u30ea-test-Redmine-Chromium.png\"><img decoding=\"async\" src=\"http:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-\u30ea\u30dd\u30b8\u30c8\u30ea-test-Redmine-Chromium.png\" alt=\"Screenshot-- - \u30ea\u30dd\u30b8\u30c8\u30ea - test - Redmine - Chromium\" width=\"650\"  class=\"alignnone size-medium wp-image-165\" srcset=\"https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-\u30ea\u30dd\u30b8\u30c8\u30ea-test-Redmine-Chromium.png 1272w, https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-\u30ea\u30dd\u30b8\u30c8\u30ea-test-Redmine-Chromium-300x131.png 300w, https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/Screenshot-\u30ea\u30dd\u30b8\u30c8\u30ea-test-Redmine-Chromium-1024x450.png 1024w\" sizes=\"(max-width: 1272px) 100vw, 1272px\" \/><\/a><\/p>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u305f\u3089\u3001GitLab\u3068Redmine\u306e\u9023\u643a\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<p>\u3082\u3057\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u5834\u5408\u306f\u3001redmine\u3092\u5b9f\u884c\u3059\u308b\u30e6\u30fc\u30b6\u306b\/var\/gitlab\/repositories\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u4e0e\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>[bash]<br \/>\n# usermod -aG git apache <\/p>\n<p>[\/bash]<\/p>\n<p>\u4e0a\u8a18\u3092\u5b9f\u884c\u5f8c\u3001\u518d\u5ea6\u3001\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b CentOS 6.5\u4e0a\u306b\u69cb\u7bc9\u3057\u305f GitLab\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068Redmine\u3092\u9023\u643a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 GitLab\u74b0\u5883\u306e\u69cb\u7bc9\u306b\u3064\u3044\u3066\u306f\u3001\u524d\u3005\u8a18\u4e8b\u3092\u3001Redmine\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f\u524d\u306e\u8a18\u4e8b\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002 GitLab\u306e\u8a2d\u5b9a\u5909\u66f4 GitLab\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 \/home\/git\/repositories\/ \u30d5\u30a9\u30eb\u30c0\u914d\u4e0b\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002Redmine\u3068\u306e\u9023\u643a\u306b\u304a\u3044\u3066\u3042\u308c\u3053\u308c\u8a66\u884c\u932f\u8aa4\u3057\u307e\u3057\u305f\u304c\u3001\u79c1\u306e\u7d50\u8ad6\u3068\u3057\u3066\u306f\u3001\/home\/git \u914d\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u306fRedmine\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3088\u3046\u306a\u306e\u3067\u3001GitLab\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u914d\u7f6e\u5834\u6240\u3092\u5909\u3048\u3001\u4e21\u8005\u306e\u9023\u643a\u3092\u306f\u304b\u3063\u3066\u307f\u307e\u3057\u305f\u3002 GitLab Shell \u306e\u8abf\u6574 [bash] # mkdir \/var\/gitlab # chown git:git \/var\/gitlab -R # su &#8211; git $ cd gitlab-shell $ nano config.yml [\/bash] \u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u4f4d\u7f6e\u3092 \/var\/gitlab \u3068\u3057\u307e\u3059\u3002 [diff] # Repositories path # Give the canonicalized absolute pathname, # REPOS_PATH MUST NOT CONTAIN ANY SYMLINK!!! # Check twice that none of the components is a symlink, including &#8220;\/home&#8221;. &#8211; repos_path: &#8220;\/home\/git\/repositories&#8221; + repos_path: &#8220;\/var\/gitlab\/repositories&#8221; [\/diff] gitlab-shell\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb [bash] $ .\/bin\/install [\/bash] GitLab\u306e\u8abf\u6574 [bash] cd \/home\/git\/gitlab nano config\/gitlab.yml [\/bash] [diff] # REPOS_PATH MUST NOT BE A SYMLINK!!! &#8211; repos_path: \/home\/git\/repositories\/ + repos_path: \/var\/gitlab\/repositories\/ hooks_path: \/home\/git\/gitlab-shell\/hooks\/ [\/diff] \u30b5\u30fc\u30d3\u30b9\u518d\u8d77\u52d5 [bash] service gitlab restart service httpd restart [\/bash] GitLab\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u8ffd\u52a0 http:\/\/gitlab.myhost.jp \u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001\u65b0\u898f\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \/var\/gitlab\/repositories \u914d\u4e0b\u306b\u6b63\u3057\u304fGit\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u304c\u51fa\u6765\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002 \u6b63\u3057\u304f\u4f5c\u6210\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u4eca\u5f8c\u306e\u4f5c\u696d\u306e\u78ba\u8a8d\u306e\u305f\u3081\u306b\u3001\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u63a5\u7d9a\u3057\u3001\u4f55\u3089\u304b\u306e\u30b3\u30df\u30c3\u30c8\u4f5c\u696d\u3092\u884c\u3044\u307e\u3059\u3002 Redmine\u306e\u8a2d\u5b9a Redmine\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u5bfe\u8c61\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002 \u30bf\u30d6\u3088\u308a\u3001\u8a2d\u5b9a\uff1e\uff1e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u9078\u629e\u3057\u307e\u3059\u3002 \u5de6\u4e0b\u306b\u8868\u793a\u3055\u308c\u308b \u300c\u65b0\u3057\u3044\u30ea\u30dd\u30b8\u30c8\u30ea\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30ea\u30f3\u30af\u3059\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002 \u3067\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30bf\u30d6\u306b\u79fb\u52d5\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u53c2\u7167\u304c\u51fa\u6765\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u4e0a\u8a18\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u305f\u3089\u3001GitLab\u3068Redmine\u306e\u9023\u643a\u306f\u5b8c\u4e86\u3067\u3059\u3002 \u3082\u3057\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u5834\u5408\u306f\u3001redmine\u3092\u5b9f\u884c\u3059\u308b\u30e6\u30fc\u30b6\u306b\/var\/gitlab\/repositories\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u4e0e\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002 [bash] # usermod -aG git apache [\/bash] \u4e0a\u8a18\u3092\u5b9f\u884c\u5f8c\u3001\u518d\u5ea6\u3001\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"author":1,"featured_media":412,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[4],"tags":[25,12,26],"class_list":{"0":"post-166","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-4","8":"tag-centos","9":"tag-gitlab","10":"tag-redmine"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=166"}],"version-history":[{"count":7,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":606,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/166\/revisions\/606"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/media\/412"}],"wp:attachment":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}