{"id":1073,"date":"2018-08-16T11:40:05","date_gmt":"2018-08-16T03:40:05","guid":{"rendered":"http:\/\/ukonline2000.com\/?p=1073"},"modified":"2018-08-28T19:16:08","modified_gmt":"2018-08-28T11:16:08","slug":"%e6%9c%ac%e5%ba%97dac-ii%e5%92%8cdigi-pro-%e5%85%a8%e7%b3%bb%e5%a3%b0%e5%8d%a1%e7%9b%ae%e5%89%8d%e5%b7%b2%e6%94%af%e6%8c%81ditepi%e7%b3%bb%e7%bb%9f%ef%bc%88%e9%99%84%e6%8c%89%e7%85%a7%e6%95%99","status":"publish","type":"post","link":"http:\/\/ukonline2000.com\/?p=1073","title":{"rendered":"\u672c\u5e97DAC II\u548cDigi Pro \u5168\u7cfb\u58f0\u5361\u76ee\u524d\u5df2\u652f\u6301DietPi\u7cfb\u7edf\uff08\u9644\u5b89\u88c5\u6559\u7a0b\uff09"},"content":{"rendered":"<p>DietPi\u662f\u56fd\u5916\u4e00\u4e2a\u57fa\u4e8eRaspbian\u7684\u7cbe\u7b80\u7248\u672c\u7cfb\u7edf\uff0c\u540c\u65f6\u505a\u4e86\u4e00\u4e9bRaspbian\u4f18\u5316\u548c\u6539\u9020\uff0c\u5728DietPi\u7cfb\u7edf\u4e2d\uff0c\u9ed8\u8ba4\u53ea\u6709\u4e00\u4e9b\u5fc5\u8981\u7684\u8f6f\u4ef6\uff0c\u5176\u4ed6\u7684\u4efb\u4f55\u4e0d\u9700\u8981\u7684\u8f6f\u4ef6\u5728\u521d\u59cb\u5316\u7684DietPi\u4e0a\u9762\u90fd\u662f\u4e0d\u5b58\u5728\u7684\uff1b\u5728\u5e72\u51c0\u548c\u7b80\u6d01\u7684\u540c\u65f6\uff0c\u5728DietPi\u4e0a\u5b89\u88c5\u9700\u8981\u7684\u8f6f\u4ef6\u4e5f\u6bd4\u5176\u4ed6\u8f6f\u4ef6\u65b9\u4fbf\u548c\u7b80\u5355\u3002\u5f53\u524dDietPi\u7cfb\u7edf\u652f\u6301\u6811\u8393\u6d3e\u6240\u6709\u578b\u53f7\u3002<\/p>\n<ul>\n<li>dietpi\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"http:\/\/dietpi.com\/#download\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">http:\/\/dietpi.com\/#download<\/a><\/li>\n<li>\u4f7f\u7528\u5b98\u65b9\u63a8\u8350\u7684\u5de5\u5177<a href=\"https:\/\/etcher.io\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">etcher<\/a>\u70e7\u5f55dietpi\u955c\u50cf\u5230\u5185\u5b58\u5361<\/li>\n<li>\u7535\u8111\u91cc\u4f1a\u51fa\u73b0\u4e2a\u5185\u5b58\u5361\u7684\u5206\u533a\uff0c\u5728\u91cc\u9762\u627e\u5230dietpi.txt\u5e76\u7f16\u8f91<\/li>\n<li>\u4fee\u6539wifi\u3001\u9759\u6001ip\u3001\u8f6f\u4ef6\u6e90\uff0c\u4fdd\u8bc1\u7b2c\u4e00\u6b21\u6253\u5f00\u6811\u8393\u6d3e\uff0c\u80fd\u591f\u4f7f\u7528ssh\u767b\u5f55\u5e76\u5feb\u901f\u914d\u7f6e<\/li>\n<\/ul>\n<pre class=\"prettyprint\"><code class=\"hljs makefile has-numbering\">\r\n<span class=\"hljs-comment\">#\u914d\u7f6ewifi<\/span>\r\n<span class=\"hljs-constant\">AUTO_SETUP_NET_WIFI_ENABLED<\/span>=1\r\n<span class=\"hljs-constant\">AUTO_SETUP_NET_WIFI_SSID<\/span>=XXXXXXXXXXXXX\r\n<span class=\"hljs-constant\">AUTO_SETUP_NET_WIFI_KEY<\/span>=XXXXXXXXXXXXXX\r\n\r\n<span class=\"hljs-comment\">#\u9759\u6001ip<\/span>\r\n<span class=\"hljs-constant\">AUTO_SETUP_NET_USESTATIC<\/span>=1\r\n<span class=\"hljs-constant\">AUTO_SETUP_NET_STATIC_IP<\/span>=192.168.1.99\r\n<span class=\"hljs-constant\">AUTO_SETUP_NET_STATIC_MASK<\/span>=255.255.255.0\r\n<span class=\"hljs-constant\">AUTO_SETUP_NET_STATIC_GATEWAY<\/span>=192.168.1.1\r\n<span class=\"hljs-constant\">AUTO_SETUP_NET_STATIC_DNS<\/span>=8.8.8.8\r\n\r\n<span class=\"hljs-comment\"># \u8f6f\u4ef6\u6e90<\/span>\r\n<span class=\"hljs-constant\">CONFIG_APT_RASPBIAN_MIRROR<\/span>=http:\/\/mirrors.aliyun.com\/raspbian\/raspbian\r\n<span class=\"hljs-constant\">CONFIG_APT_DEBIAN_MIRROR<\/span>=http:\/\/mirrors.ustc.edu.cn\/archive.raspberrypi.org\/<\/code><\/pre>\n<ul>\n<li>\u672c\u5e97\u58f0\u5361\u5b89\u88c5\u6559\u7a0b<\/li>\n<\/ul>\n<pre class=\"prettyprint\"><code class=\"hljs makefile has-numbering\"><span class=\"hljs-comment\">#Support dac:\u652f\u6301\u672c\u5e97\u58f0\u5361\u5305\u62ec<\/span>\r\n1.aoide-dacii\r\n2.aoide-digipro\r\n3.aoide-zero-digiplus\r\n4.aoide-zero-dacplus\r\n\r\n<span class=\"hljs-comment\">#\u6309\u7167\u6b65\u9aa4<\/span>\r\nStep 1: Add the drives to the system \u4e0b\u8f7d\u5b89\u88c5\u811a\u672c\r\ncurl -L --output .\/dac_install.sh https:\/\/github.com\/howardqiao\/aoide-dac-drivers\/raw\/master\/dac_install.sh &amp;&amp; sudo chmod +x .\/dac_install.sh\r\nStep 2: run the shell \u8fd0\u884c\u5b89\u88c5\u811a\u672c\uff0c\u5e76\u6309\u7167\u63d0\u793a\u9009\u62e9\u6b63\u786e\u7684\u58f0\u5361\u4ea7\u54c1\r\nsudo .\/dac_install.sh<\/code><\/pre>\n<p><a href=\"http:\/\/ukonline2000.com\/?attachment_id=1074\" rel=\"attachment wp-att-1074\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1074\" src=\"http:\/\/ukonline2000.com\/wp-content\/uploads\/2018\/08\/OB55_85DTZ1RIU5W4X0D.jpg\" alt=\"\" width=\"945\" height=\"634\" srcset=\"http:\/\/ukonline2000.com\/wp-content\/uploads\/2018\/08\/OB55_85DTZ1RIU5W4X0D.jpg 945w, http:\/\/ukonline2000.com\/wp-content\/uploads\/2018\/08\/OB55_85DTZ1RIU5W4X0D-300x201.jpg 300w, http:\/\/ukonline2000.com\/wp-content\/uploads\/2018\/08\/OB55_85DTZ1RIU5W4X0D-768x515.jpg 768w, http:\/\/ukonline2000.com\/wp-content\/uploads\/2018\/08\/OB55_85DTZ1RIU5W4X0D-447x300.jpg 447w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1078\" src=\"http:\/\/ukonline2000.com\/wp-content\/uploads\/2018\/08\/VJ3HO2K3K60ZDHEH2.png\" alt=\"\" width=\"712\" height=\"129\" srcset=\"http:\/\/ukonline2000.com\/wp-content\/uploads\/2018\/08\/VJ3HO2K3K60ZDHEH2.png 712w, http:\/\/ukonline2000.com\/wp-content\/uploads\/2018\/08\/VJ3HO2K3K60ZDHEH2-300x54.png 300w, http:\/\/ukonline2000.com\/wp-content\/uploads\/2018\/08\/VJ3HO2K3K60ZDHEH2-500x91.png 500w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/p>\n<p>\u6ce8\uff1aaplay\u547d\u4ee4\u9700\u8981\u5b89\u88c5alsa-utils\uff08\u6267\u884c\u5b89\u88c5\u547d\u4ee4 sudo apt-get install alsa-utils\uff09<\/p>\n<p><strong><em>DietPi\u7279\u70b9\uff1a\uff08\u9009\u62e9\u6700\u5c0f\u5b89\u88c5\u65f6\uff09<\/em><\/strong><\/p>\n<p>&#8211; \u4e3a\u6240\u6709\u578b\u53f7\u6811\u8393\u6d3e\u4f18\u5316\u548c\u7cbe\u7b80\u7684Raspbian\u7cfb\u7edf<\/p>\n<p>&#8211; DietPi-Software\uff1a\u5feb\u901f\u5b89\u88c5\u53ef\u9009\u8f6f\u4ef6\uff0c\u5e76\u4e14\u5df2\u7ecf\u9884\u5148\u914d\u7f6e\u597d<\/p>\n<p>&#8211; DietPi-Config\uff1a\u548cRaspi-config\u6bd4\u5177\u6709\u66f4\u591a\u529f\u80fd\uff0c\u5305\u62ec\u8d85\u9891\u3001\u914d\u7f6e\uff0c\u626b\u63cf\u5e76\u8fde\u63a5\u65e0\u7ebf\u7f51\u4ee5\u53ca\u5176\u4ed6\u4e2a\u6027\u5316\u9009\u9879<\/p>\n<p>&#8211; ARMhf-\u786c\u4ef6\u6d6e\u70b9\u8ba1\u7b97<\/p>\n<p>&#8211; \u4f53\u79ef\u5c0f \u4e0b\u8f7d\u7684\u538b\u7f29\u955c\u50cf\u53ea\u6709120MB<\/p>\n<p>&#8211; \u88c5\u5f97\u4e0b\u00a01GB\u5185\u5b58\u5361\u4e5f\u80fd\u88c5\u5f97\u4e0b\uff0carch4arm\u6b63\u5e38\u8fd0\u884c\u9700\u8981\u5927\u7ea62GB<\/p>\n<p>&#8211; \u8eab\u8f7b\u5982\u71d5 \u542f\u52a8\u4e4b\u540e\u53ea\u670911\u4e2a\u8fdb\u7a0b<\/p>\n<p>&#8211; \u5065\u6b65\u5982\u98de \u53ea\u670916MB\u5185\u5b58\u5360\u7528<\/p>\n<p>&#8211;\u00a0\u9884\u88c5RamLog\u00a0\u53ef\u4ee5\u5c06\u65e5\u5fd7\u6587\u4ef6\u653e\u5165\u5185\u5b58\uff0c\u62d2\u7edd\u5927\u91cf\u8bfb\u5199\uff0c\u6bd4\u4f7f\u7528tmpfs\u7075\u6d3b\u6027\u9ad8\uff0c\u65e0\u9700\u914d\u7f6e\uff0c\u5ef6\u957fSD\u5361\u5bff\u547d<\/p>\n<p>&#8211; \u4f7f\u7528\u8f7b\u91cf\u7ea7SSH\u670d\u52a1\u5668Dropbear\u66ff\u6362OpenSSH<\/p>\n<p>&#8211; \u5305\u542b\u5b8c\u6574\u7684Wifi\u652f\u6301\uff08\u5f88\u591a\u7cbe\u7b80\u7248Raspbian\u4e0d\u5177\u5907\uff09<\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>DietPi-Software\uff1a\uff08\u53ef\u9009\u5feb\u901f\u5b89\u88c5\u8f6f\u4ef6\uff09<\/em><\/strong><\/p>\n<p>Diet-Pi\u53ef\u4ee5\u5feb\u901f\u5b89\u88c5\u5e38\u89c1\u7684\u8f6f\u4ef6\uff0c\u9884\u5148\u914d\u7f6e\u597d\u3001\u5f00\u7bb1\u5373\u7528\u3002\u6ce8\u610f\u9009\u62e9\u6b63\u786e\u7684Pi\u578b\u53f7\u4ee5\u53d1\u6325\u6700\u5927\u6027\u80fd\u3002<\/p>\n<p>&#8211; LXDE\uff08\u8f7b\u91cf\u7ea7\u684c\u9762\uff0c\u4e0d\u5305\u542bRaspbian\u9884\u88c5\u7684\u8f6f\u4ef6\u5982Minecraft\u7b49\uff09<\/p>\n<p>&#8211; Kodi\/Xbmc\uff08\u591a\u5a92\u4f53\u4e2d\u5fc3\uff09<\/p>\n<p>&#8211; Gaming\uff08RetroPie\uff0c\u590d\u53e4\u6e38\u620f\u6a21\u62df\u5668\uff09<\/p>\n<p>&#8211; Bittorrent \u670d\u52a1\uff08Transmission\uff0cBT\u4e0b\u8f7d\uff09<\/p>\n<p>&#8211; OwnCloud \u670d\u52a1\uff08\u79c1\u6709\u4e91\uff09<\/p>\n<p>&#8211; DLNA\/UPnP \u5a92\u4f53\u670d\u52a1 (MiniDLNA\uff0cDLNA\u8f6f\u4ef6)<\/p>\n<p>&#8211; HiFi \/ \u7f51\u7edc\u524d\u7aef\u97f3\u4e50\u64ad\u653e\u5668 (MPD + YMPD)<\/p>\n<p>&#8211; \u8bba\u575b (phpbb3)<\/p>\n<p>&#8211; Web\u670d\u52a1\u5668 (Apache2 + mysql + php5 + phpmyadmin)<\/p>\n<p>&#8211; FTP\u670d\u52a1\u5668<\/p>\n<p>&#8211; Samba\u670d\u52a1<\/p>\n<p>&#8211; \u52a8\u6001DNS (No-Ip\uff0c\u7c7b\u4f3c\u82b1\u751f\u58f3)<\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>DietPi-Config:\uff08\u7cfb\u7edf\u914d\u7f6e\u5de5\u5177\uff09<\/em><\/strong><\/p>\n<p>\u901a\u8fc7\u8be5\u5de5\u5177\u4f60\u53ef\u4ee5\uff1a<\/p>\n<p>&#8211; \u66f4\u6539\u8d85\u9891\u914d\u7f6e<\/p>\n<p>&#8211; \u66f4\u6539\u5206\u8fa8\u7387\uff0c\u8bbe\u7f6e\u97f3\u9891\u8f93\u51fa\uff0c\u6a21\u62df\u97f3\u9891\u8d28\u91cf\u7b49<\/p>\n<p>&#8211; \u8c03\u6574ARM\u6e29\u5ea6\u9650\u5236\uff0c\u66f4\u6539CPU\u8c03\u901f\u5668\u7b49<\/p>\n<p>&#8211; \u5b8c\u6574\u65e0\u7ebf\u7f51\u7edc\u652f\u6301<\/p>\n<p>&#8211; Samba\u5ba2\u6237\u7aef\u5de5\u5177\u53ef\u4ee5\u5e2e\u60a8\u5feb\u901f\u65b9\u4fbf\u8fde\u63a5\u5230Windows\u5171\u4eab<\/p>\n<p>&#8211; No-IP\u5de5\u5177<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DietPi\u662f\u56fd\u5916\u4e00\u4e2a\u57fa\u4e8eRaspbian\u7684\u7cbe\u7b80\u7248\u672c\u7cfb\u7edf\uff0c\u540c\u65f6\u505a\u4e86\u4e00\u4e9bRaspb &hellip; <a href=\"http:\/\/ukonline2000.com\/?p=1073\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1073","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/posts\/1073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1073"}],"version-history":[{"count":6,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/posts\/1073\/revisions"}],"predecessor-version":[{"id":1115,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=\/wp\/v2\/posts\/1073\/revisions\/1115"}],"wp:attachment":[{"href":"http:\/\/ukonline2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1073"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ukonline2000.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}