{"id":164,"date":"2017-10-25T17:00:41","date_gmt":"2017-10-25T08:00:41","guid":{"rendered":"http:\/\/dev.e-luda.com\/dev-note\/?p=224"},"modified":"2017-10-25T17:00:41","modified_gmt":"2017-10-25T08:00:41","slug":"git-%ec%84%9c%eb%b2%84-%ec%84%a4%ec%b9%98-%eb%b0%8f-%ec%84%a4%ec%a0%95-ubuntu-sts-%ec%97%b0%eb%8f%99","status":"publish","type":"post","link":"http:\/\/dev.e-luda.com\/dev-note\/?p=164","title":{"rendered":"Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9)"},"content":{"rendered":"<p>[\uc124\uce58\ud658\uacbd]<br \/>\n&#8211; OS : Ubuntu 16.04.2 LTS<br \/>\n&#8211; \ud638\uc2a4\ud305 : cafe24, \uac00\uc0c1 \ud638\uc2a4\ud305<br \/>\n&#8211; Spring Tool Suite 3.9.0<\/p>\n<p>&nbsp;<\/p>\n<p>[Git \uc124\uce58]<br \/>\n\u2013 \uc21c\uc11c<br \/>\n1. <span class=\"crayon-v\">apt-get<\/span> <span class=\"crayon-v\">update<\/span><br \/>\n2. <span class=\"crayon-v\">apt-get<\/span> <span class=\"crayon-e\">install <\/span><span class=\"crayon-v\">git<\/span><br \/>\n\u2013 \uc124\uce58 \ud655\uc778 : git version<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-225\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-\uc124\uce581.jpg\" alt=\"\" width=\"1445\" height=\"603\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-\uc124\uce581.jpg 1445w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-\uc124\uce581-300x125.jpg 300w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-\uc124\uce581-768x320.jpg 768w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-\uc124\uce581-1024x427.jpg 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>[\uacc4\uc815 \uc0dd\uc131]<br \/>\n\u2013 adduser git<br \/>\n&gt; password \uc785\ub825, \uae30\ubcf8\uc815\ubcf4 \ubaa8\ub450 \uc785\ub825 \uc54a\ud574\ub3c4 \ubb34\uad00.<\/p>\n<figure id=\"attachment_226\" aria-describedby=\"caption-attachment-226\" style=\"width: 569px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-226\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-user\uc0dd\uc131.jpg\" alt=\"\" width=\"569\" height=\"278\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-user\uc0dd\uc131.jpg 569w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-user\uc0dd\uc131-300x147.jpg 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><figcaption id=\"caption-attachment-226\" class=\"wp-caption-text\">git-ubuntu-user \uc0dd\uc131<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>[key \uc0dd\uc131]<br \/>\n\u2013 su \u2013 git<br \/>\n\u2013 cd ~<br \/>\n\u2013 ssh-keygen -t rsa<\/p>\n<figure id=\"attachment_226\" aria-describedby=\"caption-attachment-226\" style=\"width: 569px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-226\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-user\uc0dd\uc131.jpg\" alt=\"\" width=\"569\" height=\"278\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-user\uc0dd\uc131.jpg 569w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-user\uc0dd\uc131-300x147.jpg 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><figcaption id=\"caption-attachment-226\" class=\"wp-caption-text\">git-ubuntu-user\uc0dd\uc131<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>[bare repository \uc0dd\uc131]<br \/>\n\u2013 repository\ub85c \uc0ac\uc6a9\ud560 directory \uc0dd\uc131.<br \/>\n&gt; su root<br \/>\n&gt; mkdir &lt;git repository directory name&gt;<br \/>\n&gt; chown git &lt;git repository directory name&gt;<br \/>\n&gt; chmod 755 &lt;git repository directory name&gt;<br \/>\n&gt; su git<br \/>\n&gt; cd &lt;git repository directory name&gt;<br \/>\n&gt; git init \u2013bare &lt;project name&gt;.git<\/p>\n<figure id=\"attachment_228\" aria-describedby=\"caption-attachment-228\" style=\"width: 523px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-228\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-bare-repository-\uc0dd\uc131.jpg\" alt=\"\" width=\"523\" height=\"344\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-bare-repository-\uc0dd\uc131.jpg 523w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-bare-repository-\uc0dd\uc131-300x197.jpg 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><figcaption id=\"caption-attachment-228\" class=\"wp-caption-text\">git-ubuntu-bare repository \uc0dd\uc131<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>[git user \uc0dd\uc131]<br \/>\n\u2013 git config \u2013global user.name \u201c&lt;user name&gt;\u201d<br \/>\n\u2013 git config \u2013global user.email \u201c&lt;email&gt;\u201d<\/p>\n<figure id=\"attachment_230\" aria-describedby=\"caption-attachment-230\" style=\"width: 492px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-230\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-git-user-\uc0dd\uc131.jpg\" alt=\"\" width=\"492\" height=\"61\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-git-user-\uc0dd\uc131.jpg 492w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-git-user-\uc0dd\uc131-300x37.jpg 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><figcaption id=\"caption-attachment-230\" class=\"wp-caption-text\">git-ubuntu-git user \uc0dd\uc131<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>[Spring Tool Suite \uc5f0\uacb0]<br \/>\n&#8211; git repository \ucd94\uac00.<\/p>\n<figure id=\"attachment_243\" aria-describedby=\"caption-attachment-243\" style=\"width: 931px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-243\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1.jpg\" alt=\"\" width=\"931\" height=\"534\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1.jpg 931w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1-300x172.jpg 300w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1-768x441.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption id=\"caption-attachment-243\" class=\"wp-caption-text\">git repository \ucd94\uac00 &#8211; git perspective \ucd94\uac00.<\/figcaption><\/figure>\n<figure id=\"attachment_244\" aria-describedby=\"caption-attachment-244\" style=\"width: 942px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-244\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-2.jpg\" alt=\"\" width=\"942\" height=\"568\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-2.jpg 942w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-2-300x181.jpg 300w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-2-768x463.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption id=\"caption-attachment-244\" class=\"wp-caption-text\">git repository \ucd94\uac00 &#8211; 2<\/figcaption><\/figure>\n<figure id=\"attachment_245\" aria-describedby=\"caption-attachment-245\" style=\"width: 523px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-245\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-3.jpg\" alt=\"\" width=\"523\" height=\"542\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-3.jpg 523w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-3-289x300.jpg 289w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><figcaption id=\"caption-attachment-245\" class=\"wp-caption-text\">git repository \ucd94\uac00 &#8211; 3<\/figcaption><\/figure>\n<figure id=\"attachment_246\" aria-describedby=\"caption-attachment-246\" style=\"width: 527px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-246\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-4.jpg\" alt=\"\" width=\"527\" height=\"541\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-4.jpg 527w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-4-292x300.jpg 292w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><figcaption id=\"caption-attachment-246\" class=\"wp-caption-text\">git repository \ucd94\uac00 &#8211; 4<\/figcaption><\/figure>\n<figure id=\"attachment_247\" aria-describedby=\"caption-attachment-247\" style=\"width: 524px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-247\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-5.jpg\" alt=\"\" width=\"524\" height=\"543\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-5.jpg 524w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-5-290x300.jpg 290w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><figcaption id=\"caption-attachment-247\" class=\"wp-caption-text\">git repository \ucd94\uac00 &#8211; 5<\/figcaption><\/figure>\n<figure id=\"attachment_248\" aria-describedby=\"caption-attachment-248\" style=\"width: 952px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-248\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-6.jpg\" alt=\"\" width=\"952\" height=\"290\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-6.jpg 952w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-6-300x91.jpg 300w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-6-768x234.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption id=\"caption-attachment-248\" class=\"wp-caption-text\">\ucd94\uac00\ub41c git repository \ud655\uc778<\/figcaption><\/figure>\n<p>&#8211; project \uc5f0\uacb0<\/p>\n<figure id=\"attachment_249\" aria-describedby=\"caption-attachment-249\" style=\"width: 518px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-249\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-7.jpg\" alt=\"\" width=\"518\" height=\"700\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-7.jpg 518w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-7-222x300.jpg 222w\" sizes=\"auto, (max-width: 518px) 100vw, 518px\" \/><figcaption id=\"caption-attachment-249\" class=\"wp-caption-text\">project \uc5f0\uacb0 &#8211; 1<\/figcaption><\/figure>\n<figure id=\"attachment_250\" aria-describedby=\"caption-attachment-250\" style=\"width: 753px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-250\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-8.jpg\" alt=\"\" width=\"753\" height=\"433\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-8.jpg 753w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-8-300x173.jpg 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><figcaption id=\"caption-attachment-250\" class=\"wp-caption-text\">project \uc5f0\uacb0 &#8211; 2<\/figcaption><\/figure>\n<figure id=\"attachment_251\" aria-describedby=\"caption-attachment-251\" style=\"width: 582px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-251\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-9.jpg\" alt=\"\" width=\"582\" height=\"695\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-9.jpg 582w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-9-251x300.jpg 251w\" sizes=\"auto, (max-width: 582px) 100vw, 582px\" \/><figcaption id=\"caption-attachment-251\" class=\"wp-caption-text\">project \uc5f0\uacb0 &#8211; 3<\/figcaption><\/figure>\n<figure id=\"attachment_252\" aria-describedby=\"caption-attachment-252\" style=\"width: 915px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-252\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-10.jpg\" alt=\"\" width=\"915\" height=\"327\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-10.jpg 915w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-10-300x107.jpg 300w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-10-768x274.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption id=\"caption-attachment-252\" class=\"wp-caption-text\">project \uc5f0\uacb0 &#8211; 4<\/figcaption><\/figure>\n<figure id=\"attachment_253\" aria-describedby=\"caption-attachment-253\" style=\"width: 525px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-253\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-11.jpg\" alt=\"\" width=\"525\" height=\"455\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-11.jpg 525w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-11-300x260.jpg 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><figcaption id=\"caption-attachment-253\" class=\"wp-caption-text\">project \uc5f0\uacb0 &#8211; 5<\/figcaption><\/figure>\n<figure id=\"attachment_254\" aria-describedby=\"caption-attachment-254\" style=\"width: 521px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-254\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-12.jpg\" alt=\"\" width=\"521\" height=\"455\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-12.jpg 521w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-12-300x262.jpg 300w\" sizes=\"auto, (max-width: 521px) 100vw, 521px\" \/><figcaption id=\"caption-attachment-254\" class=\"wp-caption-text\">project \uc5f0\uacb0 &#8211; 6<\/figcaption><\/figure>\n<figure id=\"attachment_255\" aria-describedby=\"caption-attachment-255\" style=\"width: 664px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-255\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-13.jpg\" alt=\"\" width=\"664\" height=\"456\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-13.jpg 664w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-13-300x206.jpg 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><figcaption id=\"caption-attachment-255\" class=\"wp-caption-text\">project \uc5f0\uacb0 &#8211; 7<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>[ssh \uc811\uc18d &#8211; \uc120\ud0dd \uc0ac\ud56d]<br \/>\n&#8211; local\uc5d0 git\uc774 \uc124\uce58\uac00 \ub418\uc5b4 \uc788\uc5b4\uc57c \ud55c\ub2e4.<br \/>\n&gt; git \uc124\uce58 ( https:\/\/git-scm.com\/downloads )<br \/>\n&#8211; command\ub85c clone\uc2dc password \uc785\ub825\uc744 \ud558\uc9c0 \uc54a\uae30 \uc704\ud574\uc11c\ub294 \uacf5\uac1c\ud0a4\ub97c \uc0dd\uc131\ud558\uc5ec git server\uc5d0 \ub4f1\ub85d \ud574\uc8fc\uc5b4\uc57c \ud55c\ub2e4.<br \/>\n&gt; \ub2e4\uc74c \uba85\ub839\uc5b4\ub85c \uc6d0\uaca9\uc800\uc7a5\uc18c \uc811\uc18d \ud14c\uc2a4\ud2b8\ub97c \uc218\ud589\ud55c\ub2e4.<br \/>\n&gt;&gt; git ls-remote -h &lt;\uc6d0\uaca9\uc800\uc7a5\uc18c url&gt; HEAD<\/p>\n<div id=\"attachment_96\" class=\"wp-caption alignnone\">\n<figure id=\"attachment_256\" aria-describedby=\"caption-attachment-256\" style=\"width: 601px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-256\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-ssh\uc811\uc18d-1-1.jpg\" alt=\"\" width=\"601\" height=\"70\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-ssh\uc811\uc18d-1-1.jpg 601w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-ssh\uc811\uc18d-1-1-300x35.jpg 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><figcaption id=\"caption-attachment-256\" class=\"wp-caption-text\">git-ubuntu-ssh\uc811\uc18d-\uacf5\uac1c\ud0a4 \ub4f1\ub85d\uc804, password \uc785\ub825\uc744 \ud574\uc57c \ud55c\ub2e4.<\/figcaption><\/figure>\n<\/div>\n<p>&#8211;\u00a0 ssh key \uc0dd\uc131.<br \/>\n&gt; git bash \uc2e4\ud589<br \/>\n&gt; ssh-keygen \uc2e4\ud589<br \/>\n&gt;&gt;\uc0ac\uc6a9\uc790\/.ssh folder\uc5d0 \uc0dd\uc131\ub428.( id_rsa, id_rsa.pub )<\/p>\n<div id=\"attachment_97\" class=\"wp-caption alignnone\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-97\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key2.jpg\" sizes=\"auto, (max-width: 953px) 100vw, 953px\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key2.jpg 953w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key2-300x78.jpg 300w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key2-768x200.jpg 768w\" alt=\"\" width=\"953\" height=\"248\" \/><\/p>\n<p class=\"wp-caption-text\">ssh key \uc0dd\uc1311<\/p>\n<\/div>\n<div id=\"attachment_98\" class=\"wp-caption alignnone\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-98\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key3.jpg\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key3.jpg 834w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key3-300x125.jpg 300w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key3-768x320.jpg 768w\" alt=\"\" width=\"834\" height=\"348\" \/><\/p>\n<p class=\"wp-caption-text\">ssk key \uc0dd\uc1312<\/p>\n<\/div>\n<p>\u2013 id_rsa.pub\ub97c \uc11c\ubc84\ub85c \uc804\uc1a1.( \u203bgit user home directory\uc758 .ssh directory\ub85c \uc774\ub3d9\uc2dc\ud0a8\ub2e4.)<br \/>\n(\/home\/git\/.ssh)<\/p>\n<div id=\"attachment_99\" class=\"wp-caption alignnone\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-99\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key4.jpg\" sizes=\"auto, (max-width: 1002px) 100vw, 1002px\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key4.jpg 1002w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key4-300x182.jpg 300w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/09\/git_ssh_key4-768x466.jpg 768w\" alt=\"\" width=\"1002\" height=\"608\" \/><\/p>\n<p class=\"wp-caption-text\">\uacf5\uac1c\ud0a4(id_rsa.pub) file \uc804\uc1a1<\/p>\n<\/div>\n<p>&#8211; authorized_key file \uc0dd\uc131<br \/>\n&gt; cd \/home\/git\/.ssh<br \/>\n&gt; cat id_rsa.pub &gt;&gt; authorized_keys<\/p>\n<p>&#8211; authorized_key file \uad8c\ud55c \ubcc0\uacbd<br \/>\n&gt; su root<br \/>\n&gt; chmod 700 authorized_keys ( \uad8c\ud55c \ubcc0\uacbd\uc744 \ud574\uc8fc\uc9c0 \uc54a\uc73c\uba74 password \uc785\ub825 prompt\uac00 \ubc1c\uc0dd \ud55c\ub2e4. )<\/p>\n<p>&#8211; \ud655\uc778<\/p>\n<figure id=\"attachment_257\" aria-describedby=\"caption-attachment-257\" style=\"width: 595px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-257\" src=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-ssh\uc811\uc18d-2.jpg\" alt=\"\" width=\"595\" height=\"51\" srcset=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-ssh\uc811\uc18d-2.jpg 595w, http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-ssh\uc811\uc18d-2-300x26.jpg 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><figcaption id=\"caption-attachment-257\" class=\"wp-caption-text\">git-ubuntu-ssh\uc811\uc18d-\uacf5\uac1c\ud0a4 \ub4f1\ub85d\ud6c4, password \ud655\uc778 \uc808\ucc28\uac00 \uc5c6\uc5b4\uc9d0.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>[\uc124\uce58\ud658\uacbd] &#8211; OS : Ubuntu 16.04.2 LTS &#8211; \ud638\uc2a4\ud305 : cafe24, \uac00\uc0c1 \ud638\uc2a4\ud305 &#8211; Spring Tool Suite 3.9.0 &nbsp; [Git \uc124\uce58] \u2013 \uc21c\uc11c 1. apt-get update 2. apt-get install git \u2013 \uc124\uce58 \ud655\uc778 : git version &nbsp; [\uacc4\uc815 \uc0dd\uc131] \u2013 adduser git &gt; password \uc785\ub825, \uae30\ubcf8\uc815\ubcf4 \ubaa8\ub450 \uc785\ub825 \uc54a\ud574\ub3c4 \ubb34\uad00. &nbsp; [key \uc0dd\uc131] \u2013 su &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/dev.e-luda.com\/dev-note\/?p=164\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9) - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/dev.e-luda.com\/dev-note\/?p=164\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9) - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8\" \/>\n<meta property=\"og:description\" content=\"[\uc124\uce58\ud658\uacbd] &#8211; OS : Ubuntu 16.04.2 LTS &#8211; \ud638\uc2a4\ud305 : cafe24, \uac00\uc0c1 \ud638\uc2a4\ud305 &#8211; Spring Tool Suite 3.9.0 &nbsp; [Git \uc124\uce58] \u2013 \uc21c\uc11c 1. apt-get update 2. apt-get install git \u2013 \uc124\uce58 \ud655\uc778 : git version &nbsp; [\uacc4\uc815 \uc0dd\uc131] \u2013 adduser git &gt; password \uc785\ub825, \uae30\ubcf8\uc815\ubcf4 \ubaa8\ub450 \uc785\ub825 \uc54a\ud574\ub3c4 \ubb34\uad00. &nbsp; [key \uc0dd\uc131] \u2013 su &hellip; \ub354 \ubcf4\uae30 &quot;Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9)&quot;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/dev.e-luda.com\/dev-note\/?p=164\" \/>\n<meta property=\"og:site_name\" content=\"\ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-25T08:00:41+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"wizardlee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#website\",\"url\":\"http:\/\/dev.e-luda.com\/dev-note\/\",\"name\":\"\ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8\",\"description\":\"\ub2e4\ub978 \uc6cc\ub4dc\ud504\ub808\uc2a4 \uc0ac\uc774\ud2b8\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/dev.e-luda.com\/dev-note\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=164#primaryimage\",\"inLanguage\":\"ko-KR\",\"url\":\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1.jpg\",\"contentUrl\":\"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1.jpg\",\"width\":931,\"height\":534},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=164#webpage\",\"url\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=164\",\"name\":\"Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9) - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8\",\"isPartOf\":{\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=164#primaryimage\"},\"datePublished\":\"2017-10-25T08:00:41+00:00\",\"dateModified\":\"2017-10-25T08:00:41+00:00\",\"author\":{\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#\/schema\/person\/7e381f3b46b7824adbe15ff43b53c42c\"},\"breadcrumb\":{\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=164#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/dev.e-luda.com\/dev-note\/?p=164\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/?p=164#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/dev.e-luda.com\/dev-note\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9)\"}]},{\"@type\":\"Person\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#\/schema\/person\/7e381f3b46b7824adbe15ff43b53c42c\",\"name\":\"wizardlee\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/dev.e-luda.com\/dev-note\/#personlogo\",\"inLanguage\":\"ko-KR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6eaa1dedfb9710f350bbf8ccb317e7cfa2a5a277b535c6558bc57169262ec430?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6eaa1dedfb9710f350bbf8ccb317e7cfa2a5a277b535c6558bc57169262ec430?s=96&d=mm&r=g\",\"caption\":\"wizardlee\"},\"sameAs\":[\"http:\/\/dev.e-luda.com\/dev-note\"],\"url\":\"http:\/\/dev.e-luda.com\/dev-note\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9) - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/dev.e-luda.com\/dev-note\/?p=164","og_locale":"ko_KR","og_type":"article","og_title":"Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9) - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","og_description":"[\uc124\uce58\ud658\uacbd] &#8211; OS : Ubuntu 16.04.2 LTS &#8211; \ud638\uc2a4\ud305 : cafe24, \uac00\uc0c1 \ud638\uc2a4\ud305 &#8211; Spring Tool Suite 3.9.0 &nbsp; [Git \uc124\uce58] \u2013 \uc21c\uc11c 1. apt-get update 2. apt-get install git \u2013 \uc124\uce58 \ud655\uc778 : git version &nbsp; [\uacc4\uc815 \uc0dd\uc131] \u2013 adduser git &gt; password \uc785\ub825, \uae30\ubcf8\uc815\ubcf4 \ubaa8\ub450 \uc785\ub825 \uc54a\ud574\ub3c4 \ubb34\uad00. &nbsp; [key \uc0dd\uc131] \u2013 su &hellip; \ub354 \ubcf4\uae30 \"Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9)\"","og_url":"http:\/\/dev.e-luda.com\/dev-note\/?p=164","og_site_name":"\ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","article_published_time":"2017-10-25T08:00:41+00:00","og_image":[{"url":"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"wizardlee","Est. reading time":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"http:\/\/dev.e-luda.com\/dev-note\/#website","url":"http:\/\/dev.e-luda.com\/dev-note\/","name":"\ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","description":"\ub2e4\ub978 \uc6cc\ub4dc\ud504\ub808\uc2a4 \uc0ac\uc774\ud2b8","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/dev.e-luda.com\/dev-note\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ko-KR"},{"@type":"ImageObject","@id":"http:\/\/dev.e-luda.com\/dev-note\/?p=164#primaryimage","inLanguage":"ko-KR","url":"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1.jpg","contentUrl":"http:\/\/dev.e-luda.com\/dev-note\/wp-content\/uploads\/2017\/10\/git-ubuntu-sts-1.jpg","width":931,"height":534},{"@type":"WebPage","@id":"http:\/\/dev.e-luda.com\/dev-note\/?p=164#webpage","url":"http:\/\/dev.e-luda.com\/dev-note\/?p=164","name":"Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9) - \ub9c8\ubc95\uc0ac\ub9ac\uc758\uac1c\ubc1c\ub178\ud2b8","isPartOf":{"@id":"http:\/\/dev.e-luda.com\/dev-note\/#website"},"primaryImageOfPage":{"@id":"http:\/\/dev.e-luda.com\/dev-note\/?p=164#primaryimage"},"datePublished":"2017-10-25T08:00:41+00:00","dateModified":"2017-10-25T08:00:41+00:00","author":{"@id":"http:\/\/dev.e-luda.com\/dev-note\/#\/schema\/person\/7e381f3b46b7824adbe15ff43b53c42c"},"breadcrumb":{"@id":"http:\/\/dev.e-luda.com\/dev-note\/?p=164#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["http:\/\/dev.e-luda.com\/dev-note\/?p=164"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/dev.e-luda.com\/dev-note\/?p=164#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/dev.e-luda.com\/dev-note"},{"@type":"ListItem","position":2,"name":"Git \uc11c\ubc84 \uc124\uce58 \ubc0f \uc124\uc815( ubuntu, sts \uc5f0\ub3d9)"}]},{"@type":"Person","@id":"http:\/\/dev.e-luda.com\/dev-note\/#\/schema\/person\/7e381f3b46b7824adbe15ff43b53c42c","name":"wizardlee","image":{"@type":"ImageObject","@id":"http:\/\/dev.e-luda.com\/dev-note\/#personlogo","inLanguage":"ko-KR","url":"https:\/\/secure.gravatar.com\/avatar\/6eaa1dedfb9710f350bbf8ccb317e7cfa2a5a277b535c6558bc57169262ec430?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6eaa1dedfb9710f350bbf8ccb317e7cfa2a5a277b535c6558bc57169262ec430?s=96&d=mm&r=g","caption":"wizardlee"},"sameAs":["http:\/\/dev.e-luda.com\/dev-note"],"url":"http:\/\/dev.e-luda.com\/dev-note\/?author=1"}]}},"_links":{"self":[{"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":0,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions"}],"wp:attachment":[{"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dev.e-luda.com\/dev-note\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}