在2024年给N1刷入Armbian系统

准备固件

刷入固件

  • n1有HDMI和两个USB接口,可以接屏幕键盘进行操作,这里采用ssh

  • 将n1接入局域网、插启动盘、插电源线,在路由器管理界面查看ip地址

  • 如果你懒得进路由器管理页面,也可以直接打开cmd
    ping armbian

  • 你将得到带有armbian地址的回显,接下来就直接ssh吧

    1
    ssh root@{ip地址}
  • 默认用户: root,默认密码: 1234

  • 初次登陆会要求修改root账户密码,选择bash命令行,新建user账户可按Ctrl+C跳过

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    Welcome to Armbian-unofficial!
    Documentation: https://docs.armbian.com/ | Community support: https://community.armbian.com/

    IP address: 192.168.1.xxx

    Create root password: ******
    Repeat root password: ******

    Support status: community support (unsupported userspace)

    Choose default system command shell:

    1) bash
    2) zsh
    1

    Shell: BASH

    Creating a new user account. Press <Ctrl-C> to abort

    Please provide a username (eg. your first name): ^C
    Disabling user account creation procedure
  • 接下来将固件写入eMMC

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    root@armbian:~# armbian-install
    [ STEPS ] Installing Armbian to internal eMMC...
    [ STEPS ] Checking dependencies...
    [ INFO ] Dependency check completed. Proceeding installation...
    [ STEPS ] Initializing the environment...
    [ INFO ] Use mainline u-boot: [ no ]
    [ INFO ] Using ampart tool: [ yes ]
    [ INFO ] Show all lists: [ no ]
    [ INFO ] Internal eMMC : [ /dev/mmcblk2 ]
    [ STEPS ] Start selecting device...
  • 接下来选择设备型号为Phicomm-N1,文件系统选ext4

  • 等待刷写完成,输入poweroff指令关机,拔下启动盘,拔插电源,一台ArmbianLinux服务器就上线了

Armbian配置

  • 先用netmanager设置静态ip,方便后续管理(也可以不设置)

  • 更新一下软件包(已经是root账户登录了)

    1
    apt-get update && apt-get upgrade
  • 绝大多数系统设置都可以在armbian-config中进行

  • 大部分实用软件可以在armbian-software中安装管理,十分方便

Docker和Portainer图形管理界面

  • 两者都可以直接用armbian-config安装
  • 需要注意的是:
    1. 安装Docker选择腾讯源
    2. 安装Portainer时,在Using your own SSL certificate? (y/N)处选择N

结束,但是新的开始

  • 斐讯N1这个盒子堆料很足,绝对没有垃圾盒子的廉价感,2G内存+8G存储,千兆RJ45网口,HDMI支持4k60hz,唯一美中不足两个USB口是2.0协议
  • 很早之前刷过Armbian_20.10_Arm-64_buster_current_5.9.0,装了WordPress作本地博客,还跑着一些小脚本,但不久就闲置了
  • ophub这里看到了许多电视盒子的新生,是众多贡献者共同努力的结果

关于DDNS

  • 我都有Docker了DDNS还不随便搞…
  • ddns-go Docker闭着眼跑

在2024年给N1刷入Armbian系统
https://wingchaos.top/2024/02/n1-armbian/
作者
WingChaos
发布于
2024年2月18日
许可协议