前期准备

烧录armbian

  1. 下载armbian固件,使用Etcher烧录
  2. 烧录过程:打开Etcher - 选择固件 - 选择TF卡 - 开始烧录
  3. 烧录完成后,先插卡以及网线最后插电;确保Pi能正常引导

设置armbian

  1. 进入路由器查看Pi的ip
  2. ssh连接Pi;初始账号密码:root / 1234
  3. 初次登录会提示更换新密码,以及新建账户/设置时区

更换国内源

  1. root登录sudo -i 输入密码
  2. 更换国内清华源nano /etc/apt/sources.list
  3. 把列表里面的deb开头用#注释掉,然后再添加进去以下的清华源地址
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial main restricted universe multiverse
#deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-security main restricted universe multiverse
#deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-security main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse
#deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-backports main restricted universe multiverse
#deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-backports main restricted universe multiverse


4. Ctrl+O 保存 => Enter 确认 => Ctrl+X 退出
5. 更新:sudo apt-get update => sudo apt-get upgrade

▎设置热点

  1. 进入armbian菜单 armbian-config
  2. 按键盘上下左右设置;选择Network
  3. 再选择Hotspot;初次进入走下载进度条;完成后选择eth0;并非wlan0
  4. 选择Edit - Basic设置热点昵称以及密码;

  5. 开启热点后是每次开机自动开启的,不用设置开启自启了