{"id":1602,"date":"2025-08-19T20:20:42","date_gmt":"2025-08-19T12:20:42","guid":{"rendered":"https:\/\/blog.ttwow.top\/?p=1602"},"modified":"2026-06-19T16:49:55","modified_gmt":"2026-06-19T08:49:55","slug":"armbian%e5%ae%89%e8%a3%85-1panel","status":"publish","type":"post","link":"https:\/\/blog.ttwow.top\/?p=1602","title":{"rendered":"armbian\u5b89\u88c5 1panel"},"content":{"rendered":"<p><a href=\"https:\/\/1panel.cn\/\">https:\/\/1panel.cn\/<\/a><\/p>\n<h2>1.\u5b89\u88c5<\/h2>\n<pre><code>bash -c &quot;$(curl -sSL https:\/\/resource.fit2cloud.com\/1panel\/package\/v2\/quick_start.sh)&quot;<\/code><\/pre>\n<h2>\u547d\u4ee4<\/h2>\n<pre><code>1pctl update\n\u4fee\u6539\u9762\u677f\u4fe1\u606f\nUsage:\n  1panel update [command]\nAvailable Commands:\n  password    \u4fee\u6539\u9762\u677f\u5bc6\u7801\n  port        \u4fee\u6539\u9762\u677f\u7aef\u53e3\n  username    \u4fee\u6539\u9762\u677f\u7528\u6237\n<\/code><\/pre>\n<h2>armbian\u6302\u8f7d\u78c1\u76d8<\/h2>\n<p>1.\u521b\u5efa\u4e00\u4e2a\u6302\u8f7d\u7684\u4f4d\u7f6e<br \/>\n2.\u683c\u5f0f\u5316\u786c\u76d8<br \/>\n3.\u83b7\u53d6\u786c\u76d8\u7684uuid<br \/>\n4.\u5199\u5165\/etc\/fstab<\/p>\n<pre><code>mkdir \/mnt\/sda1     #\u6302\u8f7d\u4f4d\u7f6e\nlsblk       #\u67e5\u770b\u8981\u683c\u5f0f\u5316\u7684\u786c\u76d8\nNAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT\nsda            8:0    0  14.9G  0 disk \nmmcblk0      179:0    0   7.3G  0 disk \n\u2514\u2500mmcblk0p1  179:1    0   7.1G  0 part \/\nmmcblk0boot0 179:32   0     4M  1 disk \nmmcblk0boot1 179:64   0     4M  1 disk \nzram0        252:0    0 479.9M  0 disk [SWAP]\nzram1        252:1    0    50M  0 disk \/var\/log\n\nmkfs.ext4 \/dev\/sda #\u683c\u5f0f\u5316\u786c\u76d8EXT4\nmke2fs 1.45.5 (07-Jan-2020)\nFound a dos partition table in \/dev\/sda\nProceed anyway? (y,N) y\n\n file -s \/dev\/sda       \u83b7\u53d6\u786c\u76d8\u7684uuid\n\/dev\/sda: Linux rev 1.0 ext4 filesystem data, UUID=79fae205-4f2e-403c-94a7-a2bb6dd5d394 (extents) (64bit) (large files) (huge files)\nmount \/dev\/sda \/mnt\/sda1  #\u6302\u8f7d\u547d\u4ee4\nblkid \/dev\/sda      \u67e5\u770b\n\/dev\/sda: UUID=&quot;79fae205-4f2e-403c-94a7-a2bb6dd5d394&quot; TYPE=&quot;ext4&quot;<\/code><\/pre>\n<h2>\u589e\u52a0\u4e00\u884c<\/h2>\n<p>nano \/etc\/fstab<\/p>\n<pre><code>UUID=79fae205-4f2e-403c-94a7-a2bb6dd5d394 \/mnt\/sda1 ext4 defaults 0 0<\/code><\/pre>\n<h2>\u4fee\u6539docker\u4fdd\u5b58\u4f4d\u7f6e<\/h2>\n<p>\u5bb9\u5668---\u300b\u914d\u7f6e<\/p>\n<pre><code>{ &quot;data-root&quot;: &quot;\/www\/docker&quot; }\n\n{\n  &quot;registry-mirrors&quot;: [&quot;https:\/\/docker.1panel.live&quot;],\n&quot;data-root&quot;:&quot;\/mnt\/d1\/Docker&quot;\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/1panel.cn\/ 1.\u5b89\u88c5 bash -c &quot;$(curl -sSL https [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[130],"tags":[],"class_list":["post-1602","post","type-post","status-publish","format-standard","hentry","category-linux-ops"],"_links":{"self":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts\/1602","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=1602"}],"version-history":[{"count":9,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts\/1602\/revisions"}],"predecessor-version":[{"id":1611,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts\/1602\/revisions\/1611"}],"wp:attachment":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}