{"id":1454,"date":"2018-02-08T16:48:02","date_gmt":"2018-02-08T07:48:02","guid":{"rendered":"http:\/\/blog.moramcnt.com\/?p=1454"},"modified":"2018-02-08T16:57:51","modified_gmt":"2018-02-08T07:57:51","slug":"raspberry-pi3-%eb%b6%80%ed%8c%85%ec%8b%9c-%ec%9e%90%eb%8f%99%ec%9c%bc%eb%a1%9c-python%ec%9c%bc%eb%a1%9c-%ec%a7%a0-%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%a8-%ec%8b%a4%ed%96%89","status":"publish","type":"post","link":"http:\/\/blog.moramcnt.com\/?p=1454","title":{"rendered":"Raspberry Pi3 \ubd80\ud305\uc2dc \uc790\ub3d9\uc73c\ub85c Python\uc73c\ub85c \uc9e0 \ud504\ub85c\uadf8\ub7a8 \uc2e4\ud589"},"content":{"rendered":"<p>\uc708\ub3c4\uc6b0 \uc11c\ube44\uc2a4\ucc98\ub7fc \ubd80\ud305\uc2dc \ub77c\uc988\ubca0\ub9ac\ud30c\uc774 \ub85c\uadf8\uc778\uc744 \uc548\ud558\uace0 \uc790\ub3d9\uc73c\ub85c \uc62c\ub77c\uc624\uac8c \ud558\ub824\uace0 \ud55c\ub2e4.<\/p>\n<p>1. \ud504\ub85c\uadf8\ub7a8\uc744 \uc2e4\ud589\ud560 \uc258 \uc2a4\ud06c\ub9bd\ud2b8 \uc791\uc131<\/p>\n<pre>\r\nvi mBizOkHub.sh \r\n<\/pre>\n<pre>\r\nsudo \/usr\/bin\/python3.5 \/home\/pi\/mBizOkHub\/mBizOkHub.py \/home\/pi\/mBizOkHub\/config.ini & \r\n<\/pre>\n<p>2. \uad8c\ud55c\ubd80\uc5ec<\/p>\n<pre>\r\nchmod 755 mBizOkHub.sh\r\n<\/pre>\n<p>3. \/etc\/rc.local \ud30c\uc77c\uc758 \ud558\ub2e8\uc5d0 \/home\/pi\/mBizOkHub\/mBizOkHub.sh \ub97c \ucd94\uac00<\/p>\n<pre>\r\nsudo vi \/etc\/rc.local \r\n<\/pre>\n<pre>\r\n\r\n# Print the IP address\r\n_IP=$(hostname -I) || true\r\nif [ \"$_IP\" ]; then\r\n  printf \"My IP address is %s\\n\" \"$_IP\"\r\nfi\r\n\r\n\/home\/pi\/mBizOkHub\/mBizOkHub.sh\r\n\r\nexit 0\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\uc708\ub3c4\uc6b0 \uc11c\ube44\uc2a4\ucc98\ub7fc \ubd80\ud305\uc2dc \ub77c\uc988\ubca0\ub9ac\ud30c\uc774 \ub85c\uadf8\uc778\uc744 \uc548\ud558\uace0 \uc790\ub3d9\uc73c\ub85c \uc62c\ub77c\uc624\uac8c \ud558\ub824\uace0 \ud55c\ub2e4. 1. \ud504\ub85c\uadf8\ub7a8\uc744 \uc2e4\ud589\ud560 \uc258 \uc2a4\ud06c\ub9bd\ud2b8 \uc791\uc131 vi mBizOkHub.sh sudo \/usr\/bin\/python3.5 \/home\/pi\/mBizOkHub\/mBizOkHub.py \/home\/pi\/mBizOkHub\/config.ini &#038; 2. \uad8c\ud55c\ubd80\uc5ec chmod 755 mBizOkHub.sh 3. \/etc\/rc.local \ud30c\uc77c\uc758 \ud558\ub2e8\uc5d0 \/home\/pi\/mBizOkHub\/mBizOkHub.sh \ub97c \ucd94\uac00 sudo vi \/etc\/rc.local # Print the IP address _IP=$(hostname -I) || true if [ &#8220;$_IP&#8221; ]; then printf &#8220;My IP [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1454","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/1454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1454"}],"version-history":[{"count":2,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/1454\/revisions"}],"predecessor-version":[{"id":1716,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/1454\/revisions\/1716"}],"wp:attachment":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1454"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}