{"id":57,"date":"2014-08-17T16:25:32","date_gmt":"2014-08-17T08:25:32","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/6646\/2014\/08\/17\/bananapi-%e5%ae%89%e8%a3%9d%e7%ad%86%e8%a8%982-lubuntu%e7%af%87\/"},"modified":"2021-03-18T18:06:10","modified_gmt":"2021-03-18T10:06:10","slug":"bananapi-%e5%ae%89%e8%a3%9d%e7%ad%86%e8%a8%982-lubuntu%e7%af%87","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/6646\/2014\/08\/17\/bananapi-%e5%ae%89%e8%a3%9d%e7%ad%86%e8%a8%982-lubuntu%e7%af%87\/","title":{"rendered":"BananaPi \u5b89\u88dd\u7b46\u8a18(2)&mdash;Lubuntu\u7bc7"},"content":{"rendered":"<p>\u88dd\u5b8c Raspbian \u7248\u672c (<a href=\"http:\/\/blog.ilc.edu.tw\/blog\/blog\/6646\/post\/22967\/513774\">BananaPi \u5b89\u88dd\u7b46\u8a18(1)\u2014Raspbian\u7bc7<\/a>)\uff0c\u518d\u4f86\u5b89\u88dd Lubuntu \u7248\u672c\uff0c\u8001\u7239\u4e0b\u8f09\u7684\u662f Lubuntu_For_BananaPi_v3.1.1\uff0c\u8edf\u9ad4\u4e0b\u8f09\u53ca\u524d\u8a00\u8acb\u770b\u4e0a\u4e00\u7bc7\u6587\u7ae0\uff0c\u9019\u500b\u7248\u672c\u66f4\u63a5\u8fd1\u4e00\u822c\u4eba\u4f7f\u7528\u7684\u684c\u9762\u74b0\u5883\uff0c\u800c\u4e14\u4e2d\u6587\u5316\u66f4\u5b8c\u6574\uff0c\u6240\u4ee5\u6539\u70ba\u6b63\u9ad4\u4e2d\u6587\u66f4\u7c21\u55ae\uff0c\u4e0d\u904e\u56e0\u70ba\u5167\u5efa\u5c0d\u5cb8\u7684\u6163\u7528\u8f38\u5165\u6cd5\uff0c\u6240\u4ee5\u8655\u7406\u8d77\u4f86\u6709\u9ede\u9ebb\u7169\u3002<\/p>\n<p>SD \u5361\u5099\u59a5\u5f8c\u958b\u6a5f\u9700\u8981\u5bc6\u78bc\u767b\u5165\uff0c\u5bc6\u78bc\u70ba bananapi\uff0c\u767b\u5165\u5f8c\u9019\u6b21\u5148\u6539\u4e2d\u6587\u74b0\u5883\uff0c\u9032\u5165 LX term \u5148\u8b8a\u66f4\u70ba root \u6b0a\u9650\u4f86\u6539 bananapi \u4f7f\u7528\u8005\u7684\u6b0a\u9650<\/p>\n<p><span style=\"font-size: 1em\">$ su &#8211;<\/span><\/p>\n<p>\u8f38\u5165\u5bc6\u78bc bananapi<\/p>\n<p># visudo<\/p>\n<p>\u627e\u5230<\/p>\n<p>root ALL=(ALL:ALL) ALL<\/p>\n<p>\u628a\u5b83\u8907\u88fd\u4e00\u884c\u5728\u4ed6\u7684\u4e0b\u9762\uff0c\u4e26\u4e14\u6539\u6210<\/p>\n<p>bananapi ALL=(ALL:ALL) ALL<\/p>\n<p>\u76f4\u63a5\u8f38\u5165\u4e5f\u53ef\u4ee5\uff0c\u6539\u5b8c\u5f8c\u5b58\u6a94\u96e2\u958b\uff0c\u63a5\u8457\u8df3\u51fa root<\/p>\n<p># exit<\/p>\n<p>\u518d\u4f86\u8b8a\u66f4\u8a9e\u7cfb<\/p>\n<p>$ sudo locale-gen zh_TW.UTF-8<\/p>\n<p>$ sudo update-locale LANG=zh_TW.UTF-8<\/p>\n<p>$ sudo update-locale LANGUAGE=zh_TW.UTF-8<\/p>\n<p>$ cp \/etc\/default\/locale $HOME\/.pam_environment<\/p>\n<p>\u91cd\u65b0\u958b\u6a5f\u5c31\u5b8c\u6210\u4e2d\u6587\u5316 (\u53ef\u4ee5\u76f4\u63a5 $ sudo reboot)<\/p>\n<p>\u9032\u5165\u7cfb\u7d71\u5f8c\u6703\u8a62\u554f\u8981\u4e0d\u8981\u628a bananapi \u4e0b\u9762\u7684\u5e7e\u500b\u8cc7\u6599\u593e\u6539\u70ba\u4e2d\u6587<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642900.png\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642901.png\" border=\"0\" alt=\"B11\" title=\"B11\" width=\"404\" height=\"312\" \/>[@more@]<\/a><\/p>\n<p>\u5982\u679c\u8981\u6539\uff0c\u9ede\u9078 Update Names\uff0c\u5982\u679c\u4e0d\u6539\uff0c\u5efa\u8b70\u52fe\u9078 Don&#8217;t ask me this again\uff0c\u7136\u5f8c\u6309 Keep Old Names<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642902.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642903.png\" border=\"0\" alt=\"B12\" title=\"B12\" width=\"404\" height=\"294\" \/><\/a><\/p>\n<p>\u770b\u5230\u4e2d\u6587\u74b0\u5883\u723d\u5ea6\u5c31\u5f88\u9ad8<\/p>\n<p>\u63a5\u8457\u9032\u5165 LX\u7d42\u7aef\u6a5f\uff0c\u5148\u66f4\u65b0\u5957\u4ef6\u5eab\u53ca\u5957\u4ef6<\/p>\n<p>$ sudo apt-get update<\/p>\n<p>$ sudo apt-get upgrade<\/p>\n<p>\u5b89\u88dd\u6b63\u9ad4\u4e2d\u6587\u5b57\u5f62 (ttf-wqy-microhe \u5df2\u5167\u5efa)<\/p>\n<p>$ sudo apt-get install ttf-wqy-zenhei<\/p>\n<p>\u9ebb\u7169\u7684\u4f86\u4e86\uff0c\u8981\u5b89\u88dd\u8001\u7239\u7fd2\u6163\u7684\u8f38\u5165\u6cd5\uff0c\u8981\u5148\u79fb\u9664\u5c0d\u5cb8\u6163\u7528\u7684\u539f\u6709\u8f38\u5165\u6cd5\uff0c\u9019\u500b\u7cfb\u7d71\u88dd\u4e86 ibus \u8ddf fcitx\uff0c\u901a\u901a\u90fd\u8981\u79fb\u9664\u4e7e\u6de8<\/p>\n<p>\u53ef\u4ee5\u5148\u5217\u51fa ibus \u5957\u4ef6 (\u4e0d\u540c\u7248\u672c\u4e00\u5b9a\u8981\u770b\u4e00\u4e0b\uff0c\u624d\u77e5\u9053\u88dd\u4e86\u591a\u5c11\u6771\u897f)<\/p>\n<p>$ sudo dpkg -l | grep ibus<\/p>\n<p>\u9084\u597d\u53ea\u6709\u5169\u500b\uff0c\u79fb\u9664 ibus \u5957\u4ef6\u6307\u4ee4<\/p>\n<p>$ sudo apt-get remove &#8211;purge gir1.2-ibus-1.0 libibus-1.0-5<\/p>\n<p>\u518d\u4f86\u5217\u51fa fcitx \u5957\u4ef6<\/p>\n<p>$ sudo dpkg -l | grep fcitx<\/p>\n<p>\u4e00\u5927\u4e32\u90fd\u662f\uff0c\u79fb\u9664\u5427\uff0c\u79fb\u9664 fcitx \u5957\u4ef6\u6307\u4ee4<\/p>\n<p>$ sudo apt-get remove &#8211;purge fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data fcitx-frontend-all fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-libs fcitx-libs-gclient fcitx-libs-qt fcitx-module-dbus fcitx-module-kimpanel fcitx-module-lua fcitx-module-x11 fcitx-modules fcitx-pinyin fcitx-table fcitx-table-cantonese fcitx-table-wubi-large fcitx-ui-classic<\/p>\n<p>\u9019\u6a23\u624d\u53ef\u4ee5\u5b89\u88dd\u6211\u5011\u6163\u7528\u7684\u8f38\u5165\u6cd5\uff0c\u9019\u88e1\u8001\u7239\u5b89\u88dd hime \u8f38\u5165\u6cd5\uff0c\u5982\u679c\u6163\u7528 scim \u8acb\u770b\u4e0a\u4e00\u7bc7<\/p>\n<p>$ sudo apt-get install hime hime-chewing<\/p>\n<p>\u91cd\u65b0\u958b\u6a5f\u5427<\/p>\n<p>$ sudo reboot<\/p>\n<p>\u53f3\u4e0b\u89d2\u5169\u500b\u5c0d\u5cb8\u7684\u62fc\u97f3\u8f38\u5165\u6cd5\u9375\u76e4\u5716\u793a\u5df2\u7d93\u8b8a\u6210 EN\uff0c\u9019\u6642\u53ef\u4ee5\u8a2d\u5b9a\u8f38\u5165\u6cd5\uff0c\u5728 EN \u5716\u793a\u4e0a\u6309\u53f3\u9375\uff0c\u9078\u64c7 \u8a2d\u5b9a\/\u5de5\u5177<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642904.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642905.png\" border=\"0\" alt=\"B13\" title=\"B13\" width=\"175\" height=\"403\" \/><\/a><\/p>\n<p>\u7b2c\u4e00\u9805 \u5167\u5b9a\u8f38\u5165\u6cd5&amp;\u958b\u555f\/\u95dc\u9589\uff0c\u628a\u4e0d\u5e38\u7528\u7684\u8f38\u5165\u6cd5 \u5728Ctrl-Shift \u4e2d\u5faa\u74b0 \u7684\u6253\u52fe\u53d6\u6d88<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642906.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642907.png\" border=\"0\" alt=\"B14\" title=\"B14\" width=\"404\" height=\"314\" \/><\/a><\/p>\n<p>\u8001\u7239\u7fd2\u6163\u628a \u65b0\u9177\u97f3 \u8a2d\u70ba \u9810\u8a2d\uff0c\u56e0\u70ba\u9019\u6a23\u6bd4\u8f03\u597d\u7528<\/p>\n<p><a href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642908.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/2843\/6646\/6646-2642909.png\" border=\"0\" alt=\"B15\" title=\"B15\" width=\"404\" height=\"314\" \/><\/a><\/p>\n<p>Lubuntu \u628a\u4e00\u4e9b\u6771\u897f\u90fd\u5df2\u7d93\u88dd\u597d\uff0c\u5305\u542b Chromium \u90fd\u5df2\u7d93\u5b8c\u6574\u4e2d\u6587\u5316\uff0c\u9023 flash player \u90fd\u5df2\u7d93\u88dd\u597d\uff0c\u5c0d\u8001\u7239\u4f86\u8aaa\uff0c\u53ea\u7f3a java<\/p>\n<p>\u9019\u6642\u5b89\u88dd arduino \u5427\uff0c\u5b83\u6703\u628a java \u74b0\u5883\u4e00\u8d77\u5b89\u88dd (\u8001\u7239\u4f7f\u7528 banana pi \u5c31\u662f\u8981\u7528 arduino)\uff0c\u5728 LX\u7d42\u7aef\u6a5f<\/p>\n<p>$ sudo apt-get install arduino<\/p>\n<p><span style=\"font-size: 1em\">\u6700\u5f8c\u53ea\u5dee Lubuntu \u627e\u4e0d\u5230\u8f03\u597d\u7684\u8a18\u61b6\u5361\u64f4\u5c55\u7a7a\u9593\u65b9\u6cd5\uff0c\u9700\u8981\u7684\u8acb\u81ea\u884c fdisk<\/span><\/p>\n<p>\u5c0d\u8001\u7239\u4f86\u8aaa\u5df2\u7d93\u4e00\u5207\u5927\u529f\u544a\u6210\uff0c\u5e0c\u671b\u7d66\u559c\u6b61\u9019\u985e\u8cc7\u8a0a\u7684\u670b\u53cb\u4e00\u500b\u66f4\u5feb\u5165\u624b\u7684\u6307\u5f15\uff0c\u7db2\u8def\u4e0a banana pi \u7684\u6587\u4ef6\u76ee\u524d\u770b\u8d77\u4f86\u9084\u662f\u4e0d\u5920\uff0c\u7562\u7adf\u8001\u7239\u5728\u570b\u4e2d\u6559\u66f8\uff0c\u9762\u5c0d\u7684\u5b78\u751f\u9084\u662f\u8981\u4e2d\u6587\u74b0\u5883\u8f03\u70ba\u53ef\u884c\u3002<\/p>\n<p>\u6700\u5f8c\u518d\u6b21\u611f\u8b1d\u662d\u540d\u8001\u5e2b\uff0c\u82b1\u4e86\u4ed6\u597d\u591a\u6642\u9593\u624d\u628a\u9019\u4e9b\u8a2d\u5b9a\u5f04\u51fa\u4f86\uff0c\u611f\u6069\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u88dd\u5b8c Raspbian \u7248\u672c (BananaPi \u5b89\u88dd\u7b46\u8a18(1)\u2014Raspbian\u7bc7)\uff0c\u518d\u4f86\u5b89\u88dd Lubunt &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/6646\/2014\/08\/17\/bananapi-%e5%ae%89%e8%a3%9d%e7%ad%86%e8%a8%982-lubuntu%e7%af%87\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008BananaPi \u5b89\u88dd\u7b46\u8a18(2)&mdash;Lubuntu\u7bc7\u3009<\/span><\/a><\/p>\n","protected":false},"author":2960,"featured_media":1034,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-22967","entry"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["513775"],"_thumbnail_id":["1034"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/posts\/57"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/users\/2960"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":1120,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/posts\/57\/revisions\/1120"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/media\/1034"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/6646\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}