{"id":1,"date":"2015-12-08T05:50:28","date_gmt":"2015-12-08T05:50:28","guid":{"rendered":"http:\/\/www.onepage.co.kr\/wordpress\/?p=1"},"modified":"2015-12-08T06:04:45","modified_gmt":"2015-12-08T06:04:45","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/2015\/12\/08\/hello-world\/","title":{"rendered":"\u200b\u200b\u200b\u200b\u200b\u200b\u200bCentos \uc124\uce58 \ud6c4 WordPress\uc124\uce58"},"content":{"rendered":"<p><a class=\"null\" data-topotext=\"[{&quot;attributes&quot;:{&quot;tombstoned&quot;:false,&quot;paragraphStyle&quot;:{&quot;style&quot;:3},&quot;uniqueId&quot;:2},&quot;codePoints&quot;:[49,46,32,44592,52488,32,54532,47196,44536,47016,32,49444,52824,32,10,10,35,99,100,32,47,111,112,116,10,35,121,117,109,32,105,110,115,116,97,108,108,32,119,103,101,116,32,117,110,122,105,112,10,35,119,103,101,116,32,104,116,116,112,58,47,47,119,111,114,100,112,114,101,115,115,46,111,114,103,47,108,97,116,101,115,116,46,122,105,112,10,35,121,117,109,32,105,110,115,116,97,108,108,32,112,104,112,45,103,100,10,10,50,46,32,77,97,114,105,97,68,66,32,49444,51221,10,10,49444,52824,44032,32,50504,46104,50612,32,51080,51004,47732,32,49444,52824,47484,32,47676,51200,32,51652,54665,54620,45796,46,32,10,45908,48372,44592,10,10,49444,52824,32,54980,32,45936,51060,53552,32,48288,51060,49828,47484,32,49373,49457,54620,45796,46,32,10,10,35,32,109,121,115,113,108,32,45,117,32,114,111,111,116,32,45,112,13,10,13,10,109,121,115,113,108,62,32,67,82,69,65,84,69,32,68,65,84,65,66,65,83,69,32,119,111,114,100,112,114,101,115,115,59,13,10,109,121,115,113,108,62,32,71,82,65,78,84,32,65,76,76,32,80,82,73,86,73,76,69,71,69,83,32,111,110,32,119,111,114,100,112,114,101,115,115,46,42,32,116,111,32,39,119,112,117,115,101,114,39,64,39,108,111,99,97,108,104,111,115,116,39,32,105,100,101,110,116,105,102,105,101,100,32,98,121,32,39,121,111,117,114,95,112,97,115,115,119,111,114,100,39,59,13,10,109,121,115,113,108,62,32,70,76,85,83,72,32,80,82,73,86,73,76,69,71,69,83,59,13,10,109,121,115,113,108,62,32,101,120,105,116,10,35,32,115,101,114,118,105,99,101,32,109,97,114,105,97,100,98,32,114,101,115,116,97,114,116,10,10,51,46,32,72,84,84,80,68,44,32,80,72,80,32,49444,52824,32,10,10,35,32,115,117,100,111,32,121,117,109,32,105,110,115,116,97,108,108,32,104,116,116,112,100,10,35,32,115,117,100,111,32,115,121,115,116,101,109,99,116,108,32,115,116,97,114,116,32,104,116,116,112,100,46,115,101,114,118,105,99,101,10,35,32,115,117,100,111,32,115,121,115,116,101,109,99,116,108,32,101,110,97,98,108,101,32,104,116,116,112,100,46,115,101,114,118,105,99,101,10,35,32,115,117,100,111,32,121,117,109,32,105,110,115,116,97,108,108,32,112,104,112,32,112,104,112,45,109,121,115,113,108,10,35,32,115,117,100,111,32,115,121,115,116,101,109,99,116,108,32,114,101,115,116,97,114,116,32,104,116,116,112,100,46,115,101,114,118,105,99,101,10,35,32,115,117,100,111,32,121,117,109,32,105,110,115,116,97,108,108,32,112,104,112,45,102,112,109,10,35,32,115,117,100,111,32,118,105,32,47,118,97,114,47,119,119,119,47,104,116,109,108,47,105,110,102,111,46,112,104,112,10,10,60,63,112,104,112,32,112,104,112,105,110,102,111,40,41,59,32,63,62,10,10,35,32,115,117,100,111,32,102,105,114,101,119,97,108,108,45,99,109,100,32,45,45,112,101,114,109,97,110,101,110,116,32,45,45,122,111,110,101,61,112,117,98,108,105,99,32,45,45,97,100,100,45,115,101,114,118,105,99,101,61,104,116,116,112,32,10,35,32,115,117,100,111,32,102,105,114,101,119,97,108,108,45,99,109,100,32,45,45,112,101,114,109,97,110,101,110,116,32,45,45,122,111,110,101,61,112,117,98,108,105,99,32,45,45,97,100,100,45,115,101,114,118,105,99,101,61,104,116,116,112,115,10,35,32,115,117,100,111,32,102,105,114,101,119,97,108,108,45,99,109,100,32,45,45,114,101,108,111,97,100,10,10,49444,51221,51060,32,45796,32,46104,50632,51004,47732,44,32,48652,46972,50864,51200,47484,32,50676,44256,32,54869,51064,54644,32,48389,45768,45796,46,32,10,10,104,116,116,112,58,47,47,105,112,47,105,110,102,111,46,112,104,112,10,10,10,52,46,32,44592,53440,32,44592,52488,32,54028,51068,32,49444,52824,32,10,10,35,117,110,122,105,112,32,45,113,32,108,97,116,101,115,116,46,122,105,112,32,45,100,32,47,118,97,114,47,119,119,119,47,104,116,109,108,10,35,99,104,111,119,110,32,45,82,32,32,97,112,97,99,104,101,58,97,112,97,99,104,101,32,47,118,97,114,47,119,119,119,47,104,116,109,108,47,119,111,114,100,112,114,101,115,115,47,10,35,99,104,111,119,110,32,45,82,32,55,53,53,32,47,118,97,114,47,119,119,119,47,104,116,109,108,47,119,111,114,100,112,114,101,115,115,47,10,35,109,107,100,105,114,32,45,112,32,47,118,97,114,47,119,119,119,47,104,116,109,108,47,119,111,114,100,112,114,101,115,115,47,119,112,45,99,111,110,116,101,110,116,47,117,112,108,111,97,100,115,10,35,99,104,111,119,110,32,45,82,32,58,97,112,97,99,104,101,32,47,118,97,114,47,119,119,119,47,104,116,109,108,47,119,111,114,100,112,114,101,115,115,47,119,112,45,99,111,110,116,101,110,116,47,117,112,108,111,97,100,115,10,35,99,100,32,47,118,97,114,47,119,119,119,47,104,116,109,108,47,119,111,114,100,112,114,101,115,115,47,10,35,109,118,32,119,112,45,99,111,110,102,105,103,45,115,97,109,112,108,101,46,112,104,112,32,119,112,45,99,111,110,102,105,103,46,112,104,112,10,35,118,105,32,119,112,45,99,111,110,102,105,103,46,112,104,112,10,10,47,47,32,42,42,32,77,121,83,81,76,32,115,101,116,116,105,110,103,115,32,45,32,89,111,117,32,99,97,110,32,103,101,116,32,116,104,105,115,32,105,110,102,111,32,102,114,111,109,32,121,111,117,114,32,119,101,98,32,104,111,115,116,32,42,42,32,47,47,13,10,47,42,42,32,84,104,101,32,110,97,109,101,32,111,102,32,116,104,101,32,100,97,116,97,98,97,115,101,32,102,111,114,32,87,111,114,100,80,114,101,115,115,32,42,47,13,10,100,101,102,105,110,101,40,39,68,66,95,78,65,77,69,39,44,32,39,119,111,114,100,112,114,101,115,115,39,41,59,13,10,13,10,47,42,42,32,77,121,83,81,76,32,100,97,116,97,98,97,115,101,32,117,115,101,114,110,97,109,101,32,42,47,13,10,100,101,102,105,110,101,40,39,68,66,95,85,83,69,82,39,44,32,39,119,112,117,115,101,114,39,41,59,13,10,13,10,47,42,42,32,77,121,83,81,76,32,100,97,116,97,98,97,115,101,32,112,97,115,115,119,111,114,100,32,42,47,13,10,100,101,102,105,110,101,40,39,68,66,95,80,65,83,83,87,79,82,68,39,44,32,39,121,111,117,114,95,112,97,115,115,119,111,114,100,39,41,59,13,10,13,10,47,42,42,32,77,121,83,81,76,32,104,111,115,116,110,97,109,101,32,42,47,32,10,100,101,102,105,110,101,40,39,68,66,95,72,79,83,84,39,44,32,39,108,111,99,97,108,104,111,115,116,39,41,59,10,10,52,46,32,45824,47581,51032,32,49444,52824,32,10,10,104,116,116,112,58,47,47,105,112,47,119,111,114,100,112,114,101,115,115,47,119,112,45,97,100,109,105,110,47,105,110,115,116,97,108,108,46,112,104,112]}]\">\u200b<\/a>1. \uae30\ucd08 \ud504\ub85c\uadf8\ub7a8 \uc124\uce58<span class=\"Apple-converted-space\">\u00a0<\/span><\/p>\n<div>\u00a0<\/div>\n<div>#cd \/opt<\/div>\n<div>#yum install wget unzip<\/div>\n<div>#wget http:\/\/wordpress.org\/latest.zip<\/div>\n<div>#yum install php-gd<\/div>\n<div>\u00a0<\/div>\n<div>2. MariaDB \uc124\uc815<\/div>\n<div>\u00a0<\/div>\n<div>\uc124\uce58\uac00 \uc548\ub418\uc5b4 \uc788\uc73c\uba74 \uc124\uce58\ub97c \uba3c\uc800 \uc9c4\ud589\ud55c\ub2e4.<\/div>\n<div>\ub354\ubcf4\uae30<\/div>\n<div>\u00a0<\/div>\n<div>\uc124\uce58 \ud6c4 \ub370\uc774\ud130 \ubca0\uc774\uc2a4\ub97c \uc0dd\uc131\ud55c\ub2e4.<\/div>\n<div>\u00a0<\/div>\n<div># mysql -u root -p<\/div>\n<div>\u00a0<\/div>\n<div>mysql&gt; CREATE DATABASE wordpress;<\/div>\n<div>mysql&gt; GRANT ALL PRIVILEGES on wordpress.* to &#8216;wpuser&#8217;@&#8217;localhost&#8217; identified by &#8216;your_password&#8217;;<\/div>\n<div>mysql&gt; FLUSH PRIVILEGES;<\/div>\n<div>mysql&gt; exit<\/div>\n<div># service mariadb restart<\/div>\n<div>\u00a0<\/div>\n<div>3. HTTPD, PHP \uc124\uce58<span class=\"Apple-converted-space\">\u00a0<\/span><\/div>\n<div>\u00a0<\/div>\n<div># sudo yum install httpd<\/div>\n<div># sudo systemctl start httpd.service<\/div>\n<div># sudo systemctl enable httpd.service<\/div>\n<div># sudo yum install php php-mysql<\/div>\n<div># sudo systemctl restart httpd.service<\/div>\n<div># sudo yum install php-fpm<\/div>\n<div># sudo vi \/var\/www\/html\/info.php<\/div>\n<div>\u00a0<\/div>\n<div>&lt;?php phpinfo(); ?&gt;<\/div>\n<div>\u00a0<\/div>\n<div># sudo firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=http<\/div>\n<div># sudo firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=https<\/div>\n<div># sudo firewall-cmd &#8211;reload<\/div>\n<div>\u00a0<\/div>\n<div>\uc124\uc815\uc774 \ub2e4 \ub418\uc5c8\uc73c\uba74, \ube0c\ub77c\uc6b0\uc800\ub97c \uc5f4\uace0 \ud655\uc778\ud574 \ubd05\ub2c8\ub2e4.<\/div>\n<div>\u00a0<\/div>\n<div>http:\/\/ip\/info.php<\/div>\n<div>\u00a0<\/div>\n<div>\u00a0<\/div>\n<div>4. \uae30\ud0c0 \uae30\ucd08 \ud30c\uc77c \uc124\uce58<span class=\"Apple-converted-space\">\u00a0<\/span><\/div>\n<div>\u00a0<\/div>\n<div>#unzip -q latest.zip -d \/var\/www\/html<\/div>\n<div>#chown -R apache:apache \/var\/www\/html\/wordpress\/<\/div>\n<div>#chown -R 755 \/var\/www\/html\/wordpress\/<\/div>\n<div>#mkdir -p \/var\/www\/html\/wordpress\/wp-content\/uploads<\/div>\n<div>#chown -R :apache \/var\/www\/html\/wordpress\/wp-content\/uploads<\/div>\n<div>#cd \/var\/www\/html\/wordpress\/<\/div>\n<div>#mv wp-config-sample.php wp-config.php<\/div>\n<div>#vi wp-config.php<\/div>\n<div>\u00a0<\/div>\n<div>\/\/ ** MySQL settings &#8211; You can get this info from your web host ** \/\/<\/div>\n<div>\/** The name of the database for WordPress *\/<\/div>\n<div>define(&#8216;DB_NAME&#8217;, &#8216;wordpress&#8217;);<\/div>\n<div>\u00a0<\/div>\n<div>\/** MySQL database username *\/<\/div>\n<div>define(&#8216;DB_USER&#8217;, &#8216;wpuser&#8217;);<\/div>\n<div>\u00a0<\/div>\n<div>\/** MySQL database password *\/<\/div>\n<div>define(&#8216;DB_PASSWORD&#8217;, &#8216;your_password&#8217;);<\/div>\n<div>\u00a0<\/div>\n<div>\/** MySQL hostname *\/<\/div>\n<div>define(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);<\/div>\n<div>\u00a0<\/div>\n<div>4. \ub300\ub9dd\uc758 \uc124\uce58<span class=\"Apple-converted-space\">\u00a0<\/span><\/div>\n<div>\u00a0<\/div>\n<div>http:\/\/ip\/wordpress\/wp-admin\/install.php<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u200b1. \uae30\ucd08 \ud504\ub85c\uadf8\ub7a8 \uc124\uce58\u00a0 \u00a0 #cd \/opt #yum install wget unzip #wget http:\/\/wordpress.org\/latest.zip #yum install php-gd \u00a0 2. MariaDB \uc124\uc815 \u00a0 \uc124\uce58\uac00 \uc548\ub418\uc5b4 \uc788\uc73c\uba74 \uc124\uce58\ub97c \uba3c\uc800 \uc9c4\ud589\ud55c\ub2e4. \ub354\ubcf4\uae30 \u00a0 \uc124\uce58 \ud6c4 \ub370\uc774\ud130 \ubca0\uc774\uc2a4\ub97c \uc0dd\uc131\ud55c\ub2e4. \u00a0 # mysql -u root -p \u00a0 mysql&gt; CREATE DATABASE wordpress; mysql&gt; GRANT ALL PRIVILEGES on wordpress.* to &#8216;wpuser&#8217;@&#8217;localhost&#8217; identified by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-about-linux"],"_links":{"self":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":2,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":9,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions\/9"}],"wp:attachment":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}