{"id":18701,"date":"2015-01-08T06:27:37","date_gmt":"2015-01-07T22:27:37","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/01\/08\/banana-pi-%e8%ae%93-debian-%e7%9a%84%e7%b5%82%e7%ab%af%e6%a9%9f%e8%83%bd%e8%89%b2%e5%bd%a9%e7%b9%bd%e7%b4%9b\/"},"modified":"2021-03-18T17:24:16","modified_gmt":"2021-03-18T09:24:16","slug":"banana-pi-%e8%ae%93-debian-%e7%9a%84%e7%b5%82%e7%ab%af%e6%a9%9f%e8%83%bd%e8%89%b2%e5%bd%a9%e7%b9%bd%e7%b4%9b","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/01\/08\/banana-pi-%e8%ae%93-debian-%e7%9a%84%e7%b5%82%e7%ab%af%e6%a9%9f%e8%83%bd%e8%89%b2%e5%bd%a9%e7%b9%bd%e7%b4%9b\/","title":{"rendered":"Banana Pi &#8211; \u8b93 Debian \u7684\u7d42\u7aef\u6a5f\u80fd\u8272\u5f69\u7e7d\u7d1b"},"content":{"rendered":"<p>\u7528\u7fd2\u6163 CentOS \u4e4b\u5f8c\uff0c\u4f7f\u7528 Debian \u6709\u4e9b\u4e0d\u592a\u7fd2\u6163\uff0cDebian \u9810\u8a2d\u7684\u7d42\u7aef\u6a5f\u662f\u6c92\u6709\u6839\u64da\u4e0d\u540c\u985e\u578b\u7684\u6a94\u6848\uff0c\u52a0\u4e0a\u984f\u8272\u4f86\u5340\u5206\u7684\u3002<br \/><a id=\"res_2902446\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-2902446.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-2902446.png\" border=\"0\" alt=\"\" \/><\/a>[@more@]\u53c3\u8003\u7db2\u9801\uff1a<a href=\"http:\/\/wiki.linuxwall.info\/doku.php\/en:ressources:astuces:lscolor\" target=\"_blank\" rel=\"noopener noreferrer\">Change default LS colors on Debian [[[Linuxwall.info::Wiki]]]<\/a><\/p>\n<p>\u4ee5 root \u8eab\u4efd\u70ba\u4f8b<br \/>1. \u57f7\u884c dircolors \u7522\u751f\u76f8\u95dc\u8a2d\u5b9a<br \/># <span style=\"color: #ff0000\">dircolors -p &gt; ~\/.dircolorsrc<\/span><\/p>\n<p>2. \u5c07\u8a2d\u5b9a\u52a0\u5165\u5230 .bashrc \u6216\u662f .profile<br \/># <span style=\"color: #ff0000\">vim ~\/.bashrc<\/span><br \/>\u52a0\u5165\u4e0b\u9762\u9019\u4e8c\u884c<br \/><span style=\"color: #0000ff\">eval &#8220;`dircolors -b ~\/.dircolorsrc`&#8221;<\/span><br \/><span style=\"color: #0000ff\">export LS_OPTIONS=&#8217;&#8211;color=auto&#8217;<\/span><\/p>\n<p>3. \u767b\u5165\u518d\u91cd\u65b0\u767b\u5165\u5f8c\u5373\u53ef\u751f\u6548<br \/><a id=\"res_2902445\" href=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/25793-2902445.png\"><img decoding=\"async\" src=\"https:\/\/2blog.ilc.edu.tw\/wp-content\/uploads\/sites\/985\/25793\/previews-med\/25793-2902445.png\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>4. \u8b93\u65b0\u589e\u7684\u5e33\u865f\u751f\u6548<br \/># <span style=\"color: #ff0000\">dircolors -p &gt; \/etc\/skel\/.dircolorsrc<\/span><br \/># <span style=\"color: #ff0000\">vim \/etc\/skel\/.bashrc<\/span><br \/>\u52a0\u5165\u4e0b\u9762\u9019\u4e8c\u884c<br \/><span style=\"color: #0000ff\">eval &#8220;`dircolors -b ~\/.dircolorsrc`&#8221;<\/span><br \/><span style=\"color: #0000ff\">export LS_OPTIONS=&#8217;&#8211;color=auto&#8217;<\/span><\/p>\n<p>5. \u4e5f\u53ef\u4ee5\u81ea\u884c\u4fee\u6539\u4e0d\u540c\u7684\u984f\u8272 <br \/>#<span style=\"color: #ff0000\"> tail .dircolorsrc<\/span><br \/><span style=\"color: #0000ff\">.mp3 00;36<\/span><br \/><span style=\"color: #0000ff\">.mpc 00;36<\/span><br \/><span style=\"color: #0000ff\">.ogg 00;36<\/span><br \/><span style=\"color: #0000ff\">.ra 00;36<\/span><br \/><span style=\"color: #0000ff\">.wav 00;36<\/span><br \/><span style=\"color: #0000ff\"># http:\/\/wiki.xiph.org\/index.php\/MIME_Types_and_File_Extensions<\/span><br \/><span style=\"color: #0000ff\">.axa 00;36<\/span><br \/><span style=\"color: #0000ff\">.oga 00;36<\/span><br \/><span style=\"color: #0000ff\">.spx 00;36<\/span><br \/><span style=\"color: #0000ff\">.xspf 00;36<\/span><\/p>\n<p>.mp3 \u7b49\u5c31\u662f <span style=\"color: #00ccff\">\u9752\u8272<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u7fd2\u6163 CentOS \u4e4b\u5f8c\uff0c\u4f7f\u7528 Debian \u6709\u4e9b\u4e0d\u592a\u7fd2\u6163\uff0cDebian \u9810\u8a2d\u7684\u7d42\u7aef\u6a5f\u662f\u6c92\u6709\u6839\u64da\u4e0d\u540c\u985e\u578b\u7684\u6a94 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2015\/01\/08\/banana-pi-%e8%ae%93-debian-%e7%9a%84%e7%b5%82%e7%ab%af%e6%a9%9f%e8%83%bd%e8%89%b2%e5%bd%a9%e7%b9%bd%e7%b4%9b\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Banana Pi &#8211; \u8b93 Debian \u7684\u7d42\u7aef\u6a5f\u80fd\u8272\u5f69\u7e7d\u7d1b\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,179],"tags":[],"class_list":["post-18701","post","type-post","status-publish","format-standard","hentry","category-c-83744","category-c-87877"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["551545"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18701"}],"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=18701"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18701\/revisions"}],"predecessor-version":[{"id":20316,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18701\/revisions\/20316"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=18701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=18701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=18701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}