{"id":18560,"date":"2014-10-27T06:11:35","date_gmt":"2014-10-26T22:11:35","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/10\/27\/banana-pi-%e6%b8%ac%e8%a9%a6-%e8%a7%a3%e6%b1%ba-lemedia-ssh-%e9%80%a3%e7%b7%9a%e6%9c%83%e5%81%9c%e5%be%88%e4%b9%85%e7%9a%84%e5%95%8f%e9%a1%8c\/"},"modified":"2021-03-18T17:24:08","modified_gmt":"2021-03-18T09:24:08","slug":"banana-pi-%e6%b8%ac%e8%a9%a6-%e8%a7%a3%e6%b1%ba-lemedia-ssh-%e9%80%a3%e7%b7%9a%e6%9c%83%e5%81%9c%e5%be%88%e4%b9%85%e7%9a%84%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/10\/27\/banana-pi-%e6%b8%ac%e8%a9%a6-%e8%a7%a3%e6%b1%ba-lemedia-ssh-%e9%80%a3%e7%b7%9a%e6%9c%83%e5%81%9c%e5%be%88%e4%b9%85%e7%9a%84%e5%95%8f%e9%a1%8c\/","title":{"rendered":"Banana Pi \u6e2c\u8a66 &#8211; \u89e3\u6c7a LeMedia ssh \u9023\u7dda\u6703\u505c\u5f88\u4e45\u7684\u554f\u984c"},"content":{"rendered":"<p>\u4f7f\u7528 ssh\u00a0\u9023\u7dda\u6642\uff0c\u6703\u505c\u5f88\u4e45\uff0c\u4e00\u76f4\u7121\u6cd5\u767b\u5165<br \/><a id=\"res_2724997\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-2724997.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-2724997.png\" border=\"0\" alt=\"\" \/><\/a>[@more@]\u672c\u4f86\u4ee5\u70ba\u662f\u6642\u9593\u4e0d\u5c0d\u6240\u9020\u6210\u7684\uff0c\u5f8c\u4f86\u767c\u73fe\u6642\u9593\u4fee\u6b63\u4e86\u4f9d\u7136\u662f\u5982\u6b64<br \/>\u89e3\u6c7a\u65b9\u5f0f\uff1a<br \/>1.\u00a0\u5148\u4f7f\u7528 Ctrl+C\u00a0\u4e2d\u65b7\u9023\u7dda<br \/>2.\u00a0\u5c07 \/root\u00a0\u76ee\u9304\u4e0b\u7684 .profile\u00a0\u4e2d\u7684 xbmc\u00a0\u79fb\u9664\u6216\u52a0\u4e0a #<br \/># <span style=\"color: #ff0000\">cat \/root\/.profile<\/span><br \/><span style=\"color: #0000ff\"># ~\/.profile: executed by Bourne-compatible login shells.<\/span><\/p>\n<p><span style=\"color: #0000ff\">if [ &#8220;$BASH&#8221; ]; then<\/span><br \/><span style=\"color: #0000ff\">\u00a0 if [ -f ~\/.bashrc ]; then<\/span><br \/><span style=\"color: #0000ff\">\u00a0\u00a0\u00a0 . ~\/.bashrc<\/span><br \/><span style=\"color: #0000ff\">\u00a0 fi<\/span><br \/><span style=\"color: #0000ff\">fi<\/span><\/p>\n<p><span style=\"color: #0000ff\"><span style=\"color: #ff0000\">#<\/span>xbmc<\/span><\/p>\n<p><span style=\"color: #0000ff\">mesg n<\/span><\/p>\n<p>3.\u00a0\u5c07 xbmc\u00a0\u52a0\u5165\u5230<span style=\"color: #0000ff\"> \/etc\/rc.local<\/span>\u00a0\u4e4b\u4e2d<br \/># <span style=\"color: #ff0000\">cat \/etc\/rc.local<\/span><br \/><span style=\"color: #0000ff\">#!\/bin\/sh -e<\/span><br \/><span style=\"color: #0000ff\">#<\/span><br \/><span style=\"color: #0000ff\"># rc.local<\/span><br \/><span style=\"color: #0000ff\">#<\/span><br \/><span style=\"color: #0000ff\"># This script is executed at the end of each multiuser runlevel.<\/span><br \/><span style=\"color: #0000ff\"># Make sure that the script will &#8220;exit 0&#8221; on success or any other<\/span><br \/><span style=\"color: #0000ff\"># value on error.<\/span><br \/><span style=\"color: #0000ff\">#<\/span><br \/><span style=\"color: #0000ff\"># In order to enable or disable this script just change the execution<\/span><br \/><span style=\"color: #0000ff\"># bits.<\/span><br \/><span style=\"color: #0000ff\">#<\/span><br \/><span style=\"color: #0000ff\"># By default this script does nothing.<\/span><\/p>\n<p><span style=\"color: #ff0000\">xbmc<\/span><br \/><span style=\"color: #0000ff\">exit 0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528 ssh\u00a0\u9023\u7dda\u6642\uff0c\u6703\u505c\u5f88\u4e45\uff0c\u4e00\u76f4\u7121\u6cd5\u767b\u5165[@more@]\u672c\u4f86\u4ee5\u70ba\u662f\u6642\u9593\u4e0d\u5c0d\u6240\u9020\u6210\u7684\uff0c\u5f8c\u4f86\u767c\u73fe\u6642\u9593\u4fee\u6b63\u4e86\u4f9d\u7136 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/10\/27\/banana-pi-%e6%b8%ac%e8%a9%a6-%e8%a7%a3%e6%b1%ba-lemedia-ssh-%e9%80%a3%e7%b7%9a%e6%9c%83%e5%81%9c%e5%be%88%e4%b9%85%e7%9a%84%e5%95%8f%e9%a1%8c\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Banana Pi \u6e2c\u8a66 &#8211; \u89e3\u6c7a LeMedia ssh \u9023\u7dda\u6703\u505c\u5f88\u4e45\u7684\u554f\u984c\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[162,172],"tags":[],"class_list":["post-18560","post","type-post","status-publish","format-standard","hentry","category-c-83744","category-c-85669"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["526978"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18560"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=18560"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18560\/revisions"}],"predecessor-version":[{"id":20191,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18560\/revisions\/20191"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=18560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=18560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=18560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}