{"id":1031,"date":"2019-12-16T12:25:39","date_gmt":"2019-12-16T03:25:39","guid":{"rendered":"https:\/\/ahnbk.com\/?p=1031"},"modified":"2019-12-16T12:25:39","modified_gmt":"2019-12-16T03:25:39","slug":"wordpress-%ec%98%ae%ea%b8%b0%ea%b8%b0-aws-lightsail-%ea%b4%80%eb%a0%a8-%ec%84%a4%ec%a0%95","status":"publish","type":"post","link":"https:\/\/ahnbk.com\/?p=1031","title":{"rendered":"WordPress \uc62e\uae30\uae30 &#038; AWS Lightsail \uad00\ub828 \uc124\uc815"},"content":{"rendered":"\n<p>\uc774\uc804\uc5d4 DigitalOcean\uc758 VPS\uc5d0 LEMP (Nginx, MySQL, PHP)\ub97c \uc124\uce58\ud558\uace0, \uc5ec\uae30\uc5d0 WordPress\ub97c \uc124\uce58\ud574\uc11c \uc0ac\uc6a9\ud558\uace0 \uc788\uc5c8\ub294\ub370, \ub9c9\uc0c1 \uc0ac\uc6a9\ud558\ub2e4\ubcf4\ub2c8 \ud574\uc678\uc11c\ubc84\ub77c\uc11c \uadf8\ub7f0\uc9c0 \uc880 \ub290\ub838\ub2e4.Amazon Lightsail \uc5ed\uc2dc VPS\ub85c \uc544\ub9c8\uc874 \uc11c\ubc84\ub97c \uc0ac\uc6a9\ud558\uace0, \uc11c\uc6b8\uc5d0 \uc788\ub294 \uc11c\ubc84\ub97c \uc0ac\uc6a9\ud558\ub2c8 \uaf64 \ube60\ub974\ub354\ub77c. \uadf8\ub9ac\uace0 \uac19\uc740 \uac00\uaca9\uc5d0 DigitalOcean\uc758 \uac19\uc740 \uac00\uaca9\ub300\uc758 \uc0c1\ud488\ubcf4\ub2e8 \ucabc~~~~\ub054 \ub354 \ub098\uc558\uace0.<\/p>\n\n\n\n<p>\uc4f8\ub370\uc5c6\ub294 \uc0bd\uc9c8\uc784\uc5d0\ub3c4 \ubb50&#8230; \uc5f0\uc2b5 \uacb8 \u314b\u314b\u314b WordPress \uc11c\ubc84 \uc774\uc804!!<\/p>\n\n\n\n<p>Lightsail\uc5d0 \uc778\uc2a4\ud134\uc2a4\ub97c \ud558\ub098 \uc0dd\uc131\ud558\uace0, \uae30\ubcf8\uc801\uc778 LEMP \ud658\uacbd\uc744 \uad6c\ucd95\ud55c\ub2e4.  \ucc38\uace0 \ub9c1\ud06c (<a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04\">https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04<\/a>) <\/p>\n\n\n\n<p>\uadf8\ub7f0 \ub2e4\uc74c\uc5d4<\/p>\n\n\n\n<ol><li>\uae30\uc874 wordpress\uc758 wp-content \ud3f4\ub354\ub97c \ubc31\uc5c5\ud55c\ub2e4. (\uc555\ucd95\ud30c\uc77c, \uaf64 \uc6a9\ub7c9\uc774 \ud06c\ub2e4)<\/li><li>\ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \ubc31\uc5c5\ud55c\ub2e4.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>$ mysqldump -u {your_database_id} -p {your_database_name} > backup_mysql_db.sql<\/code><\/pre>\n\n\n\n<ol start=\"3\"><li>\ubc31\uc5c5\ud55c \ud30c\uc77c\uc744 \uc77c\ub2e8 \ub85c\uceecPC\ub85c \uc62e\uae30\uace0&#8230; (scp\ub97c \uc0ac\uc6a9\ud558\uba74 \ud3b8\ud568)<\/li><li>\uc774\uac83\uc744 Lightsail VPS\ub85c \uc62e\uaca8\uc900\ub2e4.<\/li><\/ol>\n\n\n\n<p>\uc0c8\ub85c\uc6b4 \uc11c\ubc84\uc5d0 WordPress\ub97c \uc124\uce58\ud558\uace0 (\uc0c8\ub85c \uc124\uce58\ud558\ub294 \uac83\ucc98\ub7fc), \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \uc0ac\uc6a9\uc790 \ud658\uacbd\uc740 \uae30\uc874 \uc0ac\uc6a9\uc790\uc640 \uac19\uac8c \ub054 \uc124\uce58\ud55c\ub2e4.<\/p>\n\n\n\n<p>\ub2e4\uc74c\uc73c\ub85c,<\/p>\n\n\n\n<ol start=\"5\"><li>\ubc31\uc5c5\ud55c wp-content \ud30c\uc77c\uc744 \uac19\uc740 \ub514\ub809\ud1a0\ub9ac\uc5d0\uc11c \uc555\ucd95\uc744 \ud480\uc5b4\uc11c \ubcf5\uad6c<\/li><li>\ubc31\uc5c5\ud55c \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \ub2e4\uc2dc \ubcf5\uad6c<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>$ mysql -u {your_database_id} -p {your_database_name} &lt; backup_mysql_db.sql<\/code><\/pre>\n\n\n\n<p>\uc774\ub807\uac8c \ud558\uba74 \uc77c\ub2e8\uc740 \uc644\ub8cc.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Lightsail\uc740 Static IP\ub3c4 \uc77c\ub2e8\uc740 \uacf5\uc9dc\ub85c \uc81c\uacf5.<\/p>\n\n\n\n<p>DNS \uad00\ub828\ud574\uc120 DNS zone\ub97c \uc0dd\uc131\ud574\uc11c \uc124\uc815<\/p>\n\n\n\n<p>\uadf8 \ub2e4\uc74c Firewall\uc740 \uc11c\ubc84 \ub0b4\ubd80\uc5d0\uc11c\ub3c4 \uc124\uc815\uac00\ub2a5\ud558\uc9c0\ub9cc, \uc678\ubd80\ub3c4 \ud574\uc918\uc57c \ud568. (\uc11c\ubc84 \uc778\uc2a4\ud134\uc2a4\uc5d0\uc11c \uc124\uc815) \uc694\uac78\ub85c \uc880 \ub9ce\uc774 \uc0bd\uc9c8\ud568.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-attachment-id=\"1032\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=1032\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/12\/image-4.png?fit=1524%2C544&amp;ssl=1\" data-orig-size=\"1524,544\" 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-4\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/12\/image-4.png?fit=1000%2C357&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/12\/image-4.png?fit=525%2C187&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" width=\"525\" height=\"187\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/12\/image-4.png?resize=525%2C187&#038;ssl=1\" alt=\"\" class=\"wp-image-1032\" srcset=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/12\/image-4.png?w=1524&amp;ssl=1 1524w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/12\/image-4.png?resize=1000%2C357&amp;ssl=1 1000w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/12\/image-4.png?resize=768%2C274&amp;ssl=1 768w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2019\/12\/image-4.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>\uc774\ub807\uac8c \ud558\uba74 \ub05d!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\uc804\uc5d4 DigitalOcean\uc758 VPS\uc5d0 LEMP (Nginx, MySQL, PHP)\ub97c \uc124\uce58\ud558\uace0, \uc5ec\uae30\uc5d0 WordPress\ub97c \uc124\uce58\ud574\uc11c \uc0ac\uc6a9\ud558\uace0 \uc788\uc5c8\ub294\ub370, \ub9c9\uc0c1 \uc0ac\uc6a9\ud558\ub2e4\ubcf4\ub2c8 \ud574\uc678\uc11c\ubc84\ub77c\uc11c \uadf8\ub7f0\uc9c0 \uc880 \ub290\ub838\ub2e4.Amazon Lightsail \uc5ed\uc2dc VPS\ub85c \uc544\ub9c8\uc874 \uc11c\ubc84\ub97c \uc0ac\uc6a9\ud558\uace0, \uc11c\uc6b8\uc5d0 \uc788\ub294 \uc11c\ubc84\ub97c \uc0ac\uc6a9\ud558\ub2c8 \uaf64 \ube60\ub974\ub354\ub77c. \uadf8\ub9ac\uace0 \uac19\uc740 \uac00\uaca9\uc5d0 DigitalOcean\uc758 \uac19\uc740 \uac00\uaca9\ub300\uc758 \uc0c1\ud488\ubcf4\ub2e8 \ucabc~~~~\ub054 \ub354 \ub098\uc558\uace0. \uc4f8\ub370\uc5c6\ub294 \uc0bd\uc9c8\uc784\uc5d0\ub3c4 \ubb50&#8230; \uc5f0\uc2b5 \uacb8 \u314b\u314b\u314b WordPress \uc11c\ubc84 \uc774\uc804!! Lightsail\uc5d0 \uc778\uc2a4\ud134\uc2a4\ub97c \ud558\ub098 \uc0dd\uc131\ud558\uace0, \uae30\ubcf8\uc801\uc778 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/ahnbk.com\/?p=1031\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WordPress \uc62e\uae30\uae30 &#038; AWS Lightsail \uad00\ub828 \uc124\uc815&#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":[105],"tags":[253,4],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2wXSW-gD","jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/1031"}],"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=1031"}],"version-history":[{"count":1,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/1031\/revisions"}],"predecessor-version":[{"id":1033,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/1031\/revisions\/1033"}],"wp:attachment":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}