[{"data":1,"prerenderedAt":320},["ShallowReactive",2],{"$fn4yensbuhjtv":3,"content:\u002Fposts\u002F8c1a5e3":44,"surround:\u002Fposts\u002F8c1a5e3":309},{"total":4,"annual":7,"categories":16,"tags":28},{"posts":5,"words":6},12,7234,{"2024":8,"2025":11,"2026":13},{"posts":9,"words":10},5,1227,{"posts":9,"words":12},3158,{"posts":14,"words":15},2,2849,[17,20,23,26],{"name":18,"posts":19},"未分类",1,{"name":21,"posts":22},"笔记",7,{"name":24,"posts":25},"杂谈",3,{"name":27,"posts":19},"生活",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"hexo","软件","壁纸","图床","音乐","刷机","twikoo","npm","cdn","秒传","近期小记","旁路由","软路由","OpenClash","Git",{"id":45,"title":46,"body":47,"categories":287,"date":288,"description":289,"draft":290,"extension":291,"image":292,"meta":293,"navigation":295,"path":296,"permalink":296,"published":297,"readingTime":298,"recommend":14,"references":297,"seo":303,"sitemap":304,"stem":305,"tags":306,"type":307,"updated":288,"__hash__":308},"content\u002Fposts\u002F2025\u002FN1盒子刷casaos.md","N1 盒子刷入 CasaOS，秒变家庭 NAS",{"type":48,"value":49,"toc":280},"minimark",[50,54,58,65,68,84,87,101,104,107,243,246,253,256,266,272,275],[51,52,53],"h2",{"id":53},"前情提要",[55,56,57],"p",{},"之前在闲鱼上买了几个n1盒子，正好假期有时间就来刷个casaos折腾一下",[55,59,60],{},[61,62],"img",{"alt":63,"src":64},"表情包","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e0e2376d2d9.webp",[51,66,67],{"id":67},"准备环节",[69,70,71,75,78,81],"ol",{},[72,73,74],"li",{},"斐讯N1盒子",[72,76,77],{},"u盘",[72,79,80],{},"电脑",[72,82,83],{},"脑子、眼睛、手",[55,85,86],{},"如果是没有刷过机的n1好像是要先降级再短接，然后adb设置从u盘启动，具体的我也不多说了，b站上都有教程",[88,89,91,92],"div",{"style":90},"position:relative; padding-bottom:75%; width:100%; height:0","\n    ",[93,94],"iframe",{"src":95,"scrolling":96,"border":97,"frameBorder":96,"framespacing":98,"allowFullScreen":99,"style":100},"\u002F\u002Fplayer.bilibili.com\u002Fplayer.html?bvid=BV1mJ411g7fS&page=1&high_quality=1&autoplay=0","no",0,"0","true","position:absolute; height: 100%; width: 100%;",[55,102,103],{},"本文就默认可以从u盘启动了",[51,105,106],{"id":106},"实操",[69,108,109,137,164,200,229],{},[72,110,111,112,119,120,124,125,128,129,132,133],{},"先从github上下载armbian系统镜像\n",[113,114,118],"a",{"href":115,"rel":116},"https:\u002F\u002Fgithub.com\u002Fophub\u002Famlogic-s9xxx-armbian",[117],"nofollow","amlogic-s9xxx-armbian 镜像仓库","\nn1盒子是晶晨s905d芯片，可以 ",[121,122,123],"code",{"code":123},"Ctrl"," + ",[121,126,127],{"code":127},"F"," 搜索一下",[130,131],"br",{},"这四个镜像就是内核版本不同，看需求下载\n",[61,134],{"alt":135,"src":136},"Armbian 镜像下载列表截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e0e366515ac.webp",[72,138,139,140,142,143,148,158,160],{},"把armbian刷入u盘",[130,141],{},"我使用的烧录工具是",[113,144,147],{"href":145,"rel":146},"https:\u002F\u002Frufus.ie\u002Fzh\u002F",[117],"Rufus",[149,150,151],"blockquote",{},[55,152,153,157],{},[154,155,156],"span",{},"!WARNING"," 注意\n注意！先备份u盘内的文件，烧录会格式化u盘！",[130,159],{},[61,161],{"alt":162,"src":163},"Rufus 烧录 U 盘界面截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e0e605116c4.webp",[72,165,166,167,169,170,173,175,176,180,181,185,186,190,194,195,199],{},"把u盘插入n1盒子上靠近hdmi接口的usb接口上，怼上电源，怼上网线\n不出意外的话，我们就可以登录armbian了",[130,168],{},"去路由器后台看一下armbian的ip,然后随便找个终端用ssh登录",[121,171,172],{"code":172},"ssh root@192.168.1.xx",[130,174],{},"armbian的root账户默认密码为1234\n",[61,177],{"alt":178,"src":179},"Armbian 首次 SSH 登录截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e0e79f8bcc5.webp","\n然后按照提示配置一下\n",[61,182],{"alt":183,"src":184},"Armbian 初始配置提示截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e1051371027.webp","\n之后输入armbian-install进行写入到emmc\n",[61,187],{"alt":188,"src":189},"armbian-install 写入 eMMC 菜单截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e1063014658.webp",[61,191],{"alt":192,"src":193},"Armbian 选择 N1 设备编号截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e10676c66a6.webp","\n选择设备这里就输入n1的id也就是",[196,197,198],"strong",{},"101","，然后文件系统我选的是ext4\n安装完成后，断电源拔u盘，然后再接电源",[72,201,202,203,205,206,214,216,220,224,228],{},"因为路由器给n1分配的ip会变动，不方便我们使用，所以接下来配置网络。",[130,204],{},"输入armbian-config命令",[149,207,208],{},[55,209,210,213],{},[154,211,212],{},"!TIP"," 提示\n最好有科学上网环境，否则有概率无法正常运行，文后有设置代理教程",[130,215],{},[61,217],{"alt":218,"src":219},"armbian-config 网络配置入口截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e111aae63ab.webp",[61,221],{"alt":222,"src":223},"选择 eth0 网络接口截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e111b86b38c.webp",[61,225],{"alt":226,"src":227},"设置静态 IP 菜单截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e111c32b6d9.webp","\n依次选择network-->eth0-->static set ip\n之后自定义一个静态ip",[72,230,231,232,234,235,238,242],{},"之后我们就可以安装casaos了",[130,233],{},"输入命令",[121,236,237],{"code":237},"curl -fsSL https:\u002F\u002Fget.casaos.io | sudo bash",[61,239],{"alt":240,"src":241},"CasaOS 安装命令运行截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e1139df0fe0.webp","\n安装后访问刚才设置的静态IP就可以看到casaos的界面了",[51,244,245],{"id":245},"科学上网",[55,247,248,249],{},"因为网络原因，下载文件的时候很容易卡住，我的解决办法是电脑用clash等工具局域网代理n1\n",[61,250],{"alt":251,"src":252},"Clash 局域网代理设置截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e1146bc51b2.webp",[55,254,255],{},"之后在armbian上用以下命令设置代理，注意端口号和你的代理工具要一致",[257,258,263],"pre",{"className":259,"code":261,"language":262},[260],"language-text","export http_proxy=http:\u002F\u002F代理地址:端口\nexport https_proxy=http:\u002F\u002F代理地址:端口\n","text",[121,264,261],{"__ignoreMap":265},"",[55,267,268],{},[61,269],{"alt":270,"src":271},"Armbian 代理环境变量设置截图","https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e114c8c942a.webp",[273,274],"hr",{},[55,276,277],{},[61,278],{"alt":63,"src":279},"https:\u002F\u002Fbu.dusays.com\u002F2025\u002F10\u002F04\u002F68e11f567d732.webp",{"title":265,"searchDepth":281,"depth":281,"links":282},4,[283,284,285,286],{"id":53,"depth":14,"text":53},{"id":67,"depth":14,"text":67},{"id":106,"depth":14,"text":106},{"id":245,"depth":14,"text":245},[21],"2025-10-04 19:28:44","手把手教你给斐讯 N1 盒子刷入 Armbian 与 CasaOS，配置静态 IP 与网络代理，把闲置盒子变身家庭 NAS 服务器。",false,"md","https:\u002F\u002Fbu.dusays.com\u002F2026\u002F02\u002F10\u002F698b00c0e774b.webp",{"slots":294},{},true,"\u002Fposts\u002F8c1a5e3",null,{"text":299,"minutes":300,"time":301,"words":302},"3 min read",2.745,164700,549,{"title":46,"description":289},{"loc":296},"posts\u002F2025\u002FN1盒子刷casaos",[34],"tech","NxCjFf8cc7J_yIxZBkchlTVMC83Sf2KHxO_qusAjJNM",[310,315],{"title":311,"path":312,"stem":313,"date":314,"type":307,"children":-1},"利用 npm 和公共 CDN 加速博客静态资源","\u002Fposts\u002F2d9b4f7","posts\u002F2025\u002F利用 npm 和公共 CDN 托管文件，加速你的博客访问！","2025-07-12 21:02:18",{"title":316,"path":317,"stem":318,"date":319,"type":307,"children":-1},"修复 Twikoo 无法自动获取 QQ 昵称的问题","\u002Fposts\u002F3f7d2b8","posts\u002F2025\u002F修复Twikoo获取QQ昵称的问题","2025-10-06 20:57:09",1785905121222]