{"id":985,"date":"2019-10-02T11:28:43","date_gmt":"2019-10-02T02:28:43","guid":{"rendered":"https:\/\/ahnbk.com\/?p=985"},"modified":"2019-10-02T21:16:13","modified_gmt":"2019-10-02T12:16:13","slug":"install-confluence-server-on-vps","status":"publish","type":"post","link":"https:\/\/ahnbk.com\/?p=985","title":{"rendered":"Install Confluence Server on VPS"},"content":{"rendered":"\n<p>Confluence (<a href=\"https:\/\/www.atlassian.com\/ko\/software\/confluence\">https:\/\/www.atlassian.com\/ko\/software\/confluence<\/a>)\ub294 \ud611\uc5c5 \ubb38\uc11c \uc791\uc131 \ub3c4\uad6c\ub85c \uc798 \uc54c\ub824\uc838 \uc788\ub294 \ud234\uc774\ub2e4. \ub9ce\uc740 \uac1c\ubc1c \ud68c\uc0ac\ub4e4\uc5d0 \uc0ac\uc6a9\ud558\ub294 \uac83\uc73c\ub85c \uc54c\ub824\uc838 \uc788\ub2e4.  \ubb34\ub8cc\ub294 \uc544\ub2c8\uace0,  \ud074\ub77c\uc6b0\ub4dc \uc11c\ube44\uc2a4, \uc124\uce58\ud615 \ub458\ub2e4 \uc81c\uacf5\ud55c\ub2e4.<\/p>\n\n\n\n<p>\ud55c\ubc88 \uc368\ubcf4\uace0\uc790 \uc2dc\ub3c4\ud574 \ubd24\ub294\ub370 (\uadf8\ub0e5 \uc0c8\ub85c\uc6b4 \uac78 \uc88b\uc544\ud558\ub294 \ucde8\uc9c0\uc5d0\uc11c&#8230;) \ud074\ub77c\uc6b0\ub4dc \uc11c\ube44\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub824\uba74, \ud55c\ub2ec\uc5d0 $10\uc744 \ub0b4\uc57c \ud55c\ub2e4.  \ud604\uc7ac \ube14\ub85c\uadf8\ub97c \uc6b4\uc6a9\ud558\ub294 VPS\uac00 \uc57d\uac04\uc740 \uc789\uc5ec\uc778\uc9c0\ub77c, \uac70\uae30\uc5d0 \ucd94\uac00\ud574\ubcf4\uba74 \uc5b4\ub5a8\uae4c \ud574\uc11c  \ub2e4\uc2dc \uc0bd\uc9c8\uc744 \uc2dc\uc791\ud574\ubd24\ub2e4.<\/p>\n\n\n\n<p>\uc124\uce58\ub294 \ub300\ub2e8\ud788 \uac04\ub2e8\ud558\ub2e4. \uc11c\ubc84\uc5d0 \uc124\uce58 \uc2a4\ud06c\ub9bd\ud2b8 \ud30c\uc77c\uc744 \uc800\uc7a5\ud558\uace0, \uc774\ub97c \ub8e8\ud2b8 \uad8c\ud55c\uc73c\ub85c \uc2e4\ud589\ud558\uba74 \ub05d.<\/p>\n\n\n\n<p>\uc124\uce58 \ubc29\ubc95\uc740 <a href=\"https:\/\/confluence.atlassian.com\/doc\/installing-confluence-on-linux-143556824.html\">https:\/\/confluence.atlassian.com\/doc\/installing-confluence-on-linux-143556824.html<\/a>\uc5d0 \ub098\uc640 \uc788\ub294\ub300\ub85c, \uba87\ubc88 \uc5d4\ud130\ud0a4\ub9cc \ud22d\ud0c1\ud558\uba74 \uc124\uce58\ub294 \uc644\ub8cc.<\/p>\n\n\n\n<p>\ud55c\uae00 \uad00\ub828 \ubb38\uc81c\uac00 \uc788\uc5b4, \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \uc0dd\uc131\ud560 \ub54c, utf-8\uc744 \uae30\ubcf8\uac12\uc73c\ub85c \uc124\uc815\ud574\uc57c \ud55c\ub2e4. \uc774 \uc791\uc5c5\uc744 \ud558\uc9c0 \uc54a\uc73c\uba74, \ud55c\uae00 \ubb38\uc11c\ub97c \uc801\uc5b4\ub3c4 \uae68\uc838\ubcf4\uc774\ub294 \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud55c\ub2e4.<\/p>\n\n\n\n<p>mysql \uc124\uc815, \ud30c\uc77c\uc5d0 \ub2e4\uc74c\uc758 \ub450 \ub77c\uc778 \ucd94\uac00<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/mysql\/mysql.conf.d\/mysqld.cnf\n\n&#91;mysqld]\n...\ncharacter_set_server=utf8\ncollation-server=utf8_bin <\/code><\/pre>\n\n\n\n<p>\ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc0dd\uc131<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ mysql -u root -p\n\nmysql> CREATE DATABASE &lt;database-name> CHARACTER SET utf8 COLLATE utf8_bin;\nmysql> GRANT ALL PRIVILEGES ON &lt;database-name>.* TO '&lt;confluenceuser>'@'localhost' IDENTIFIED BY '&lt;password>';<\/code><\/pre>\n\n\n\n<p>\uae30\ubcf8 \uc811\uadfc \uacbd\ub85c\ub294 http:\/\/&lt;your_domain>:8090 \uc774\ub2e4. \ucc98\uc74c \uc811\uc18d \uc2dc \ub77c\uc774\uc13c\uc2a4 \ubc0f \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uad00\ub828 \uc124\uc815\uc744 \ud574\uc57c \ud558\uace0, \uc57d\uac04\uc758 \uc2dc\uac04\uc774 \uac78\ub9ac\uace0 \ub098\uba74 \uc644\ub8cc.<\/p>\n\n\n\n<p>\uc124\uce58\ud615\uc740 $10\ub97c \ud55c\ubc88\ub9cc \uc9c0\ubd88\ud558\uba74 \ub41c\ub2e4. \ubb3c\ub860 \uae30\uc220\uc9c0\uc6d0 (\uba54\uc774\uc800 \uc5c5\ub370\uc774\ud2b8)\uc744 \uc704\ud574\uc120 1\ub144\ub9c8\ub2e4 $10\uc744 \uc9c0\ubd88\ud574\uc57c \ud558\uc9c0\ub9cc, \ub0a9\ub4dd\ud560 \ub9cc\ud55c \uac00\uaca9\uc778\ub4ef.<\/p>\n\n\n\n<p>\ub2e4\uc74c\uc73c\ub85c \ud604\uc7ac \ube14\ub85c\uadf8\uc5d0 \uc0ac\uc6a9\ud558\ub294 SSL\uc744 \uc774\uc6a9\ud574, \ubcf4\uc548\uc811\uc18d\uc774 \uac00\ub2a5\ud558\ub3c4\ub85d \uc124\uc815\ud55c\ub2e4.<\/p>\n\n\n\n<p>\ub0b4\ubd80 \ud504\ub85d\uc2dc\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \uc0ac\uc6a9\ud558\uace0,  \ub610 \ud604\uc7ac \ub3c4\uba54\uc778\uc744 \uc774\uc6a9\ud574 &lt;your-domain&gt;\/confluence \uc640 \uac19\uc774 \uc2dc\uc6a9\ud558\uae30 \uc704\ud574 \uba87\uac00\uc9c0 \uc124\uc815\uc744 \ud55c\ub2e4. \uc774\ub97c \uc704\ud574\uc11c nginx \uc124\uc815 \ud30c\uc77c, confluence\uc758 server.xml \ud30c\uc77c\uc744 \uc218\uc815\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/nginx\/sites-enabled\/default\n\n\ub2e4\uc74c \ub77c\uc778 \ucd94\uac00.\n\n         location \/confluence {\n                client_max_body_size 100m;\n                proxy_set_header X-Forwarded-Host $host;\n                proxy_set_header X-Forwarded-Server $host;\n                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n                proxy_pass http:\/\/localhost:8090;\n        }\n\n        location \/synchrony {\n                proxy_set_header X-Forwarded-Host $host;\n                proxy_set_header X-Forwarded-Server $host;\n                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n                proxy_pass http:\/\/localhost:8091\/synchrony;\n                proxy_http_version 1.1;\n                proxy_set_header Upgrade $http_upgrade;\n                proxy_set_header Connection \"Upgrade\";\n        }\n\n\ub2e4\uc74c \ub77c\uc778 \ucf54\uba58\ud2b8 \ucc98\ub9ac\n\n    #location = \/favicon.ico { log_not_found off; access_log off; }\n    #location = \/robots.txt { log_not_found off; access_log off; allow all; }\n    #location ~* \\.(css|gif|ico|jpeg|jpg|js|png)$ {\n    #    expires max;\n    #    log_not_found off;\n    #}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\/opt\/atlassian\/confluence\/conf\/server.xml\n\n\uc544\ub798\uc640 \uac19\uc774 \uc218\uc815\n\n    &lt;Connector port=\"8090\" connectionTimeout=\"20000\" redirectPort=\"8443\"\n        maxThreads=\"48\" minSpareThreads=\"10\"\n        enableLookups=\"false\" acceptCount=\"10\" debug=\"0\" URIEncoding=\"UTF-8\"\n        protocol=\"org.apache.coyote.http11.Http11NioProtocol\"\n        proxyName=\"ahnbk.com\" proxyPort=\"443\" scheme=\"https\" secure=\"true\" compression=\"on\"\/>\n\n...\n\n    &lt;Context path=\"\/confluence\" docBase=\"..\/confluence\" debug=\"0\" reloadable=\"false\" useHttpOnly=\"true\">\n                    \n...<\/code><\/pre>\n\n\n\n<p>\ud55c\uae00 \ubb38\uc81c \ud574\uacb0\uc744 \uc704\ud574\uc11c, mysql \uc5f0\uacb0\uad00\ub828 \uc124\uc815\uc5d0\uc11c \ub9c1\ud06c\ub97c \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>jdbc:mysql:\/\/localhost:3306\/confluence?useUnicode=true&amp;characterEncoding=utf8<\/code><\/pre>\n\n\n\n<p>\uc704\uc640 \uac19\uc774 \uc218\uc815\ud558\uace0, nginx, confluence \uc7ac\uc2dc\uc791<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo service nginx restart\n$ sudo service confluence restart<\/code><\/pre>\n\n\n\n<p>\uc774\uc81c <a href=\"https:\/\/ahnbk.com\/confluence\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/ahnbk.com\/confluence (opens in a new tab)\">https:\/\/ahnbk.com\/confluence<\/a> \ub85c \uc811\uc18d\ud574\ubcf4\uba74 (\ub3c4\uba54\uc778 \uc774\ub984\uc740 \uac01\uc790 \uc0c1\ud669\uc5d0 \ub9de\uac8c)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-attachment-id=\"986\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=986\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/10\/image.png?fit=1710%2C702&amp;ssl=1\" data-orig-size=\"1710,702\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/10\/image.png?fit=1000%2C411&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/10\/image.png?fit=525%2C216&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" width=\"525\" height=\"216\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/10\/image.png?resize=525%2C216&#038;ssl=1\" alt=\"\" class=\"wp-image-986\" srcset=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/10\/image.png?w=1710&amp;ssl=1 1710w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/10\/image.png?resize=1000%2C411&amp;ssl=1 1000w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/10\/image.png?resize=768%2C315&amp;ssl=1 768w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/10\/image.png?resize=1536%2C631&amp;ssl=1 1536w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/10\/image.png?w=1050&amp;ssl=1 1050w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>\uc640 \uac19\uc774 \uc815\uc0c1\uc801\uc73c\ub85c \ubcf4\uc778\ub2e4. ^^ \uc131\uacf5!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Confluence (https:\/\/www.atlassian.com\/ko\/software\/confluence)\ub294 \ud611\uc5c5 \ubb38\uc11c \uc791\uc131 \ub3c4\uad6c\ub85c \uc798 \uc54c\ub824\uc838 \uc788\ub294 \ud234\uc774\ub2e4. \ub9ce\uc740 \uac1c\ubc1c \ud68c\uc0ac\ub4e4\uc5d0 \uc0ac\uc6a9\ud558\ub294 \uac83\uc73c\ub85c \uc54c\ub824\uc838 \uc788\ub2e4. \ubb34\ub8cc\ub294 \uc544\ub2c8\uace0, \ud074\ub77c\uc6b0\ub4dc \uc11c\ube44\uc2a4, \uc124\uce58\ud615 \ub458\ub2e4 \uc81c\uacf5\ud55c\ub2e4. \ud55c\ubc88 \uc368\ubcf4\uace0\uc790 \uc2dc\ub3c4\ud574 \ubd24\ub294\ub370 (\uadf8\ub0e5 \uc0c8\ub85c\uc6b4 \uac78 \uc88b\uc544\ud558\ub294 \ucde8\uc9c0\uc5d0\uc11c&#8230;) \ud074\ub77c\uc6b0\ub4dc \uc11c\ube44\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub824\uba74, \ud55c\ub2ec\uc5d0 $10\uc744 \ub0b4\uc57c \ud55c\ub2e4. \ud604\uc7ac \ube14\ub85c\uadf8\ub97c \uc6b4\uc6a9\ud558\ub294 VPS\uac00 \uc57d\uac04\uc740 \uc789\uc5ec\uc778\uc9c0\ub77c, \uac70\uae30\uc5d0 \ucd94\uac00\ud574\ubcf4\uba74 \uc5b4\ub5a8\uae4c \ud574\uc11c \ub2e4\uc2dc \uc0bd\uc9c8\uc744 \uc2dc\uc791\ud574\ubd24\ub2e4. \uc124\uce58\ub294 \ub300\ub2e8\ud788 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/ahnbk.com\/?p=985\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Install Confluence Server on VPS&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[21],"tags":[234,235,237,236],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2wXSW-fT","jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/985"}],"collection":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=985"}],"version-history":[{"count":4,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/985\/revisions"}],"predecessor-version":[{"id":990,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/985\/revisions\/990"}],"wp:attachment":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}