{"id":19344,"date":"2016-12-21T06:30:09","date_gmt":"2016-12-20T22:30:09","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2016\/12\/21\/%e8%a9%a6%e7%94%a8-banana-pi-m3-centos-linux\/"},"modified":"2021-03-18T17:24:51","modified_gmt":"2021-03-18T09:24:51","slug":"%e8%a9%a6%e7%94%a8-banana-pi-m3-centos-linux","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2016\/12\/21\/%e8%a9%a6%e7%94%a8-banana-pi-m3-centos-linux\/","title":{"rendered":"\u8a66\u7528 Banana Pi M3 &#8211; CentOS Linux"},"content":{"rendered":"<p>\u71d2\u9304\u4e86\u4e09\u6b21\u7684 Image \u624d\u6210\u529f\uff0c\u6709\u4e9b\u8f9b\u82e6\u3002 <br \/>\u9810\u8a2d\u767b\u5165\u7684\u5e33\u865f\u53ca\u5bc6\u78bc\uff1a<span style=\"color: #ff0000\">root<\/span> \/ <span style=\"color: #ff0000\">bananapi<\/span><br \/>\u767b\u5165\u5f8c root \u76ee\u9304\u4e0b\u6709 README \u6a94\u6848\uff0c\u662f\u95dc\u65bc\u64f4\u5c55 \/root \u5206\u5272\u5340\u53ca\u7121\u7dda\u7db2\u8def\u76f8\u95dc\u7684\u8a2d\u5b9a<br \/> # <span style=\"color: #ff0000\">cat \/root\/README<\/span><br \/><span style=\"color: #0000ff\">== CentOS 7 userland ==<\/span><\/p>\n<p><span style=\"color: #0000ff\">If you want to automatically resize your \/ partition, just type the following (as root user):<\/span><br \/><span style=\"color: #ff0000\">touch \/.rootfs-repartition<\/span><br \/><span style=\"color: #ff0000\">systemctl reboot<\/span><\/p>\n<p><span style=\"color: #0000ff\">For wifi on the rpi3, just proceed with those steps :<\/span><\/p>\n<p><span style=\"color: #ff0000\">curl &#8211;location https:\/\/github.com\/RPi-Distro\/firmware-nonfree\/raw\/54bab3d6a6d43239c71d26464e6e10e5067ffea7\/brcm80211\/brcm\/brcmfmac43430-sdio.bin &gt; \/usr\/lib\/firmware\/brcm\/brcmfmac43430-sdio.bin<\/span><\/p>\n<p><span style=\"color: #ff0000\">curl &#8211;location https:\/\/github.com\/RPi-Distro\/firmware-nonfree\/raw\/54bab3d6a6d43239c71d26464e6e10e5067ffea7\/brcm80211\/brcm\/brcmfmac43430-sdio.txt &gt; \/usr\/lib\/firmware\/brcm\/brcmfmac43430-sdio.txt<\/span><\/p>\n<p><span style=\"color: #ff0000\">systemctl reboot<\/span><\/p>\n<p>[@more@]\u4fee\u6539\u5957\u4ef6\u5eab\u4f86\u6e90 <br \/>\u5099\u4efd\u539f\u6a94 <br \/># <span style=\"color: #ff0000\">cp \/etc\/yum.repos.d\/CentOS-Base.repo \/etc\/yum.repos.d\/CentOS-Base.repo.$(date +%F)<\/p>\n<p><\/span>\u4fee\u6539 CentOS-Base.repo <br \/># <span style=\"color: #ff0000\">sed -i &#8216;s|^baseurl=http:\/\/mirror.centos.org\/altarch|baseurl=ftp:\/\/140.111.74.109\/Linux\/CentOS\/altarch|&#8217; \/etc\/yum.repos.d\/CentOS-Base.repo<\/span> <\/p>\n<p>\u6e05\u9664\u820a\u6709\u53ca\u66f4\u65b0 <br \/># <span style=\"color: #ff0000\">yum clean all;yum update<\/span> <br \/> <a id=\"res_3749495\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-3749495.png\"> <img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-3749495.png\" border=\"0\" alt=\"\" \/> <\/a><\/p>\n<p>\u66f4\u65b0\u524d<br \/>#<span style=\"color: #ff0000\"> cat \/etc\/redhat-release<\/span><br \/><span style=\"color: #0000ff\">Derived from Red Hat Enterprise Linux 7.2 (Source)<\/span><\/p>\n<p>\u66f4\u65b0\u5f8c<br \/># <span style=\"color: #ff0000\">cat \/etc\/redhat-release<\/span><br \/><span style=\"color: #0000ff\">CentOS Linux release 7.3.1611 (Core)<\/span><\/p>\n<p>\u7cfb\u7d71\u6709\u4e9b\u7cbe\u7c21\uff0c\u6709\u4e9b\u500b\u4eba\u7fd2\u6163\u4f7f\u7528\u7684\u5de5\u5177\u90fd\u6c92\u6709\uff0c\u5e95\u4e0b\u7279\u5225\u88dc\u4e0a<br \/># <span style=\"color: #ff0000\">yum install which unzip zip bind-utils vim nano mlocate screen lftp wget<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u71d2\u9304\u4e86\u4e09\u6b21\u7684 Image \u624d\u6210\u529f\uff0c\u6709\u4e9b\u8f9b\u82e6\u3002 \u9810\u8a2d\u767b\u5165\u7684\u5e33\u865f\u53ca\u5bc6\u78bc\uff1aroot \/ bananapi\u767b\u5165\u5f8c ro &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2016\/12\/21\/%e8%a9%a6%e7%94%a8-banana-pi-m3-centos-linux\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008\u8a66\u7528 Banana Pi M3 &#8211; CentOS Linux\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,117],"tags":[],"class_list":["post-19344","post","type-post","status-publish","format-standard","hentry","category-c-83744","category-c-78462"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["679984"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19344"}],"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=19344"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19344\/revisions"}],"predecessor-version":[{"id":20889,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19344\/revisions\/20889"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=19344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=19344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=19344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}