{"id":345,"date":"2018-05-29T16:33:42","date_gmt":"2018-05-29T07:33:42","guid":{"rendered":"http:\/\/www.bluebee.co.kr\/?p=345"},"modified":"2018-05-30T13:05:22","modified_gmt":"2018-05-30T04:05:22","slug":"ubuntu-16-04-gitlab-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"http:\/\/www.bluebee.co.kr\/?p=345","title":{"rendered":"ubuntu-16.04 GitLab \uc124\uce58"},"content":{"rendered":"<p>\uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\ub97c \ud611\uc5c5\uc73c\ub85c \uc9c4\ud589\ud558\uba74\uc11c,<\/p>\n<p>\uc624\ub79c\ub9cc\uc5d0 git\uc774 \ud544\uc694\ud558\uac8c \ub418\uc5c8\ub2e4.<\/p>\n<p>\uc77c\ub2e8 \uc6b0\ubd84\ud22c \uc11c\ubc84\uc5d0 \uba54\ubaa8\ub9ac\uac00 \ub108\ubb34 \uc801\uc73c\uba74 \uc548\ub41c\ub2e4. 1GB\uc5d0\uc11c \uc124\uce58\ud588\ub2e4\uac00 \ub0ad\ud328..<\/p>\n<p>4GB\uc11c\ubc84\ub97c \uc14b\ud305 \ud6c4, \ub2e4\uc2dc \uc2dc\ub3c4\ud588\ub2e4.<\/p>\n<pre class=\"prettyprint\"># sudo apt-get install ca-certificates curl openssh-server postfix<\/pre>\n<p>postfix\uc124\uc815\ucc3d\uc774 \ub728\uba74 \uadf8\ub0e5 \uae30\ubcf8\uc73c\ub85c \ub450\uace0 \uc9c4\ud589\ud558\uba74 \ub41c\ub2e4.<\/p>\n<p>\uc774\uc81c repository \uc14b\ud305\uc744 \uc704\ud574 curl \ub85c \uc2a4\ud06c\ub9bd\ud2b8\ub97c \ubc1b\uc544\uc628\ub2e4.<\/p>\n<pre class=\"prettyprint\"># cd \/tmp\r\n# curl -LO https:\/\/packages.gitlab.com\/install\/repositories\/gitlab\/gitlab-ce\/script.deb.sh<\/pre>\n<p>\uc2a4\ud06c\ub9bd\ud2b8 \uc2e4\ud589<\/p>\n<pre class=\"prettyprint\"># sudo bash \/tmp\/script.deb.sh<\/pre>\n<p>The repository is setup! \uba54\uc138\uc9c0\uac00 \ud655\uc778\ub41c\ub2e4.<\/p>\n<p>\uc774\uc81c gitlab\uc744 \uc124\uce58\ud558\ub3c4\ub85d \ud55c\ub2e4.<\/p>\n<pre class=\"prettyprint\"># sudo apt-get install gitlab-ce<\/pre>\n<p>\uc74c.. 380MB.. \uc6a9\ub7c9\uc774 \uc0dd\uac01\ubcf4\ub2e4 \ub9ce\ub2e4.<\/p>\n<pre class=\"prettyprint\">Setting up gitlab-ce (10.8.1-ce.0) ...\r\nIt looks like GitLab has not been configured yet; skipping the upgrade script.\r\n\r\n       *.                  *.\r\n      ***                 ***\r\n     *****               *****\r\n    .******             *******\r\n    ********            ********\r\n   ,,,,,,,,,***********,,,,,,,,,\r\n  ,,,,,,,,,,,*********,,,,,,,,,,,\r\n  .,,,,,,,,,,,*******,,,,,,,,,,,,\r\n      ,,,,,,,,,*****,,,,,,,,,.\r\n         ,,,,,,,****,,,,,,\r\n            .,,,***,,,,\r\n                ,*,.\r\n\r\n\r\n\r\n     _______ __  __          __\r\n    \/ ____(_) \/_\/ \/   ____ _\/ \/_\r\n   \/ \/ __\/ \/ __\/ \/   \/ __ `\/ __ \\\r\n  \/ \/_\/ \/ \/ \/_\/ \/___\/ \/_\/ \/ \/_\/ \/\r\n  \\____\/_\/\\__\/_____\/\\__,_\/_.___\/\r\n\r\n\r\nThank you for installing GitLab!\r\nGitLab was unable to detect a valid hostname for your instance.\r\nPlease configure a URL for your GitLab instance by setting `external_url`\r\nconfiguration in \/etc\/gitlab\/gitlab.rb file.\r\nThen, you can start your GitLab instance by running the following command:\r\n  sudo gitlab-ctl reconfigure\r\n\r\nFor a comprehensive list of configuration options please see the Omnibus GitLab readme\r\nhttps:\/\/gitlab.com\/gitlab-org\/omnibus-gitlab\/blob\/master\/README.md<\/pre>\n<p>\uc124\uce58\uac00 \uc644\ub8cc\ub418\uace0 gitlab.rb \ud30c\uc77c\uc744 \uc218\uc815\ud558\ub77c\uace0 \ud55c\ub2e4.<\/p>\n<pre class=\"prettyprint\">#\uc811\uc18d\ud560 \ub3c4\uba54\uc778\uc774\ub098 ip\ub85c \uc218\uc815\r\nexternal_url 'http:\/\/111.222.333.444:9000' \r\n\r\n#\ud0c0\uc784\uc874 \uc218\uc815\r\ngitlab_rails['time_zone'] = 'Asia\/Seoul'\r\n\r\ngitlab_rails['smtp_enable'] = true<\/pre>\n<p>\uc774\uc81c \ucd08\uae30\ud654\ub97c \ud574\uc900\ub2e4.<\/p>\n<pre class=\"prettyprint\"># sudo gitlab-ctl reconfigure<\/pre>\n<p>\ub05d.<\/p>\n<p>\uc11c\ubc84ip\ub85c \uc6f9\uc5d0\uc11c \uc811\uc18d\uc744 \ud558\uace0, \ube44\ubc00\ubc88\ud638\ub97c \uc14b\ud305 \ud6c4 \uc0ac\uc6a9~ \u3131\u3131<\/p>\n<p><a href=\"http:\/\/www.bluebee.co.kr\/wp-content\/uploads\/2018\/05\/gitlab.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-351\" src=\"http:\/\/www.bluebee.co.kr\/wp-content\/uploads\/2018\/05\/gitlab.png\" alt=\"\" width=\"949\" height=\"525\" srcset=\"http:\/\/www.bluebee.co.kr\/wp-content\/uploads\/2018\/05\/gitlab.png 949w, http:\/\/www.bluebee.co.kr\/wp-content\/uploads\/2018\/05\/gitlab-300x166.png 300w, http:\/\/www.bluebee.co.kr\/wp-content\/uploads\/2018\/05\/gitlab-768x425.png 768w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/a><\/p>\n<p>root \ub85c \uc2dc\uc791!~ \ub8f0\ub8e8<\/p>\n<p>\uc74c.. \ubcc0\uc2ec\uc774 \uc0dd\uaca8 \uc0ad\uc81c\ud558\uace0\uc790 \ud560\ub550..<\/p>\n<pre class=\"prettyprint\">#sudo gitlab-ctl stop\r\n#sudo apt-get autoremove gitlab-ce<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\ub97c \ud611\uc5c5\uc73c\ub85c \uc9c4\ud589\ud558\uba74\uc11c, \uc624\ub79c\ub9cc\uc5d0 git\uc774 \ud544\uc694\ud558\uac8c \ub418\uc5c8\ub2e4. \uc77c\ub2e8 \uc6b0\ubd84\ud22c \uc11c\ubc84\uc5d0 \uba54\ubaa8\ub9ac\uac00 \ub108\ubb34 \uc801\uc73c\uba74 \uc548\ub41c\ub2e4. 1GB\uc5d0\uc11c \uc124\uce58\ud588\ub2e4\uac00 \ub0ad\ud328.. 4GB\uc11c\ubc84\ub97c \uc14b\ud305 \ud6c4, \ub2e4\uc2dc \uc2dc\ub3c4\ud588\ub2e4. # sudo apt-get install ca-certificates curl openssh-server postfix postfix\uc124\uc815\ucc3d\uc774 \ub728\uba74 \uadf8\ub0e5 \uae30\ubcf8\uc73c\ub85c \ub450\uace0 \uc9c4\ud589\ud558\uba74 \ub41c\ub2e4. \uc774\uc81c repository \uc14b\ud305\uc744 \uc704\ud574 curl \ub85c \uc2a4\ud06c\ub9bd\ud2b8\ub97c \ubc1b\uc544\uc628\ub2e4. # cd \/tmp # curl -LO https:\/\/packages.gitlab.com\/install\/repositories\/gitlab\/gitlab-ce\/script.deb.sh \uc2a4\ud06c\ub9bd\ud2b8 \uc2e4\ud589 # sudo bash \/tmp\/script.deb.sh The repository is setup! \uba54\uc138\uc9c0\uac00 \ud655\uc778\ub41c\ub2e4. \uc774\uc81c gitlab\uc744 \uc124\uce58\ud558\ub3c4\ub85d \ud55c\ub2e4. # sudo apt-get install gitlab-ce \uc74c.. 380MB.. \uc6a9\ub7c9\uc774 \uc0dd\uac01\ubcf4\ub2e4 \ub9ce\ub2e4. Setting up gitlab-ce (10.8.1-ce.0) &#8230; It looks like GitLab has not been configured yet; skipping the upgrade script. *. *. *** *** ***** ***** .****** ******* ******** ******** ,,,,,,,,,***********,,,,,,,,, ,,,,,,,,,,,*********,,,,,,,,,,, .,,,,,,,,,,,*******,,,,,,,,,,,, ,,,,,,,,,*****,,,,,,,,,. ,,,,,,,****,,,,,, .,,,***,,,, ,*,. _______ __ __ __ \/ ____(_) \/_\/ \/ ____ _\/ \/_ \/ \/ __\/ \/ __\/ \/ \/ __ `\/ __ \\ \/ \/_\/ \/ \/ \/_\/ \/___\/ \/_\/ \/ \/_\/ \/ \\____\/_\/\\__\/_____\/\\__,_\/_.___\/ Thank you for installing GitLab! GitLab was unable to detect a valid hostname for your instance. Please configure a URL for your GitLab instance by setting `external_url` configuration in \/etc\/gitlab\/gitlab.rb file. Then, you can start your GitLab instance by running the following command: sudo gitlab-ctl reconfigure For a comprehensive list of configuration options<a class=\"moretag\" href=\"http:\/\/www.bluebee.co.kr\/?p=345\">\ub354\ubcf4\uae30&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[31],"class_list":["post-345","post","type-post","status-publish","format-standard","hentry","category-dev","tag-git"],"_links":{"self":[{"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=345"}],"version-history":[{"count":6,"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions"}],"predecessor-version":[{"id":352,"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/345\/revisions\/352"}],"wp:attachment":[{"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bluebee.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}