{"id":642,"date":"2022-12-07T22:14:34","date_gmt":"2022-12-07T14:14:34","guid":{"rendered":"https:\/\/blog.lijiajia.top\/?p=642"},"modified":"2026-06-19T18:04:16","modified_gmt":"2026-06-19T10:04:16","slug":"cm311-1a%e5%88%b7%e6%9c%ba-armbian","status":"publish","type":"post","link":"https:\/\/blog.ttwow.top\/?p=642","title":{"rendered":"cm311-1a\u5237\u673a armbian-\u5f85\u6574\u7406"},"content":{"rendered":"<p>\u53c2\u8003\uff1a<a href=\"https:\/\/github.com\/ophub\/amlogic-s9xxx-armbian\/blob\/main\/README.cn.md\">https:\/\/github.com\/ophub\/amlogic-s9xxx-armbian\/blob\/main\/README.cn.md<\/a><\/p>\n<h2>\u5b89\u88c5 Armbian \u5230 EMMC<\/h2>\n<pre><code class=\"language-shell\">armbian-install\n\n305\next4<\/code><\/pre>\n<h2>\u66f4\u65b0 Armbian \u5185\u6838<\/h2>\n<pre><code class=\"language-shell\"># \u4f7f\u7528 root \u7528\u6237\u8fd0\u884c (sudo -i)\n# \u5982\u679c\u4e0d\u6307\u5b9a\u53c2\u6570\uff0c\u5c06\u66f4\u65b0\u4e3a\u6700\u65b0\u7248\u672c\u3002\narmbian-update<\/code><\/pre>\n<h2>\u4e3a Armbian \u521b\u5efa swap<\/h2>\n<pre><code class=\"language-shell\">#\u5982\u679c\u4f60\u5728\u4f7f\u7528 docker \u7b49\u5185\u5b58\u5360\u7528\u8f83\u5927\u7684\u5e94\u7528\u65f6\uff0c\u89c9\u5f97\u5f53\u524d\u76d2\u5b50\u7684\u5185\u5b58\u4e0d\u591f\u4f7f\u7528\uff0c\u53ef\u4ee5\u521b\u5efa swap \u865a\u62df\u5185\u5b58\u5206\u533a\uff0c\u5c06\u78c1\u76d8\u7a7a\u95f4\u7684\u4e00\u5b9a\u5bb9\u91cf\u865a\u62df\u6210\u5185\u5b58\u6765\u4f7f\u7528\u3002\u4e0b\u9762\u547d\u4ee4\u8f93\u5165\u53c2\u6570\u7684\u5355\u4f4d\u662f GB\uff0c\u9ed8\u8ba4\u4e3a 1\u3002\n#\u767b\u5f55 Armbian \u7cfb\u7edf \u2192 \u8f93\u5165\u547d\u4ee4\uff1a\n\narmbian-swap 1<\/code><\/pre>\n<h2>\u5907\u4efd\/\u8fd8\u539f EMMC \u539f\u7cfb\u7edf<\/h2>\n<pre><code class=\"language-shell\">#\u652f\u6301\u5728 TF\/SD\/USB \u4e2d\u5bf9\u76d2\u5b50\u7684 EMMC \u5206\u533a\u8fdb\u884c\u5907\u4efd\/\u6062\u590d\u3002\u5efa\u8bae\u60a8\u5728\u5168\u65b0\u7684\u76d2\u5b50\u91cc\u5b89\u88c5 Armbian \u7cfb\u7edf\u524d\uff0c\u5148\u5bf9\u5f53\u524d\u76d2\u5b50\u81ea\u5e26\u7684\u5b89\u5353 TV \u7cfb\u7edf\u8fdb\u884c\u5907\u4efd\uff0c\u4ee5\u4fbf\u65e5\u540e\u5728\u6062\u590d\u7535\u89c6\u7cfb\u7edf\u7b49\u60c5\u51b5\u4e0b\u4f7f\u7528\u3002\n#\u8bf7\u4ece TF\/SD\/USB \u542f\u52a8 Armbian \u7cfb\u7edf \u2192 \u8f93\u5165\u547d\u4ee4\uff1a\n\narmbian-ddbr<\/code><\/pre>\n<h2>debian\u6362\u6e90<\/h2>\n<h3>\u5907\u4efd\u8f6f\u4ef6\u6e90\u5217\u8868<\/h3>\n<pre><code class=\"language-shell\">cp \/etc\/apt\/sources.list \/etc\/apt\/sources.list.bak<\/code><\/pre>\n<h3>\u7f16\u8f91sources.list<\/h3>\n<pre><code class=\"language-shell\">vim \/etc\/apt\/sources.list<\/code><\/pre>\n<h3>\u817e\u8baf\u6e90<\/h3>\n<pre><code class=\"language-shell\">deb https:\/\/mirrors.tencent.com\/debian\/ bullseye main non-free contrib\ndeb-src https:\/\/mirrors.tencent.com\/debian\/ bullseye main non-free contrib\ndeb https:\/\/mirrors.tencent.com\/debian-security\/ bullseye-security main\ndeb-src https:\/\/mirrors.tencent.com\/debian-security\/ bullseye-security main\ndeb https:\/\/mirrors.tencent.com\/debian\/ bullseye-updates main non-free contrib\ndeb-src https:\/\/mirrors.tencent.com\/debian\/ bullseye-updates main non-free contrib\ndeb https:\/\/mirrors.tencent.com\/debian\/ bullseye-backports main non-free contrib\ndeb-src https:\/\/mirrors.tencent.com\/debian\/ bullseye-backports main non-free contrib<\/code><\/pre>\n<h3>\u66f4\u65b0\u8f6f\u4ef6\u6e90\uff1a<\/h3>\n<pre><code class=\"language-shell\">apt-get update<\/code><\/pre>\n<h2>\u5b89\u88c5docker<\/h2>\n<pre><code class=\"language-shell\">armbian-software\n\u6216\narmbian-docker<\/code><\/pre>\n<h2>portainer<\/h2>\n<pre><code class=\"language-shell\">docker run -d -p 9000:9000 -v \/var\/run\/docker.sock:\/var\/run\/docker.sock --restart=always --name prtainer portainer\/portainer<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u53c2\u8003\uff1ahttps:\/\/github.com\/ophub\/amlogic-s9xxx-armbian\/blob\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[136],"tags":[150],"class_list":["post-642","post","type-post","status-publish","format-standard","hentry","category-notes-misc","tag-armbian"],"_links":{"self":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts\/642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=642"}],"version-history":[{"count":1,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts\/642\/revisions"}],"predecessor-version":[{"id":2030,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts\/642\/revisions\/2030"}],"wp:attachment":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}