下載對應版本的armbian鏡像
armbian的默認用戶root,默認密碼:1234
下載燒錄工具win32diskimager
https://sourceforge.net/projects/win32diskimager/files/Archive/
插入16G以上TF卡,使用win32diskimager燒錄armbian鏡像
燒錄完畢后用linux環境在TF卡根目錄下建立個空的ssh空文件
armbian默認ssh服務處于關閉狀態,不能直接ssh登錄。建立名為ssh的空文件后,orangepi上的ssh服務打開,可以使用外部電腦網絡訪問。
orangepi聯網
- 把TF卡插到Orangepi zero上。再用網線將orangepi連接到同網絡的路由器上。
- 在電腦瀏覽器上登錄路由器管理界面,查看有線網絡連接的新設備IP地址。
- 在電腦上ssh登錄orange pi。windows上用putty客戶端;linux上用ssh命令登錄
ssh root@pi_ip
默認密碼 1234
- root管理員正常登錄后,設置個常用賬戶
更換國內源
- 查看當前linux版本,執行cat /etc/os-release,看到bookworm
root@orangepizero:~# cat /etc/os-release
PRETTY_NAME="Armbian 25.5.0-trunk.338 bookworm"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.armbian.com"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
ARMBIAN_PRETTY_NAME="Armbian 25.5.0-trunk.338 bookworm"
- 用電腦編輯sources.list添加國內源
deb https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
-
使用rsync sources.list username@xxx.xxx.xxx.ip:/home/username/
-
ssh登錄orangepi后執行
apt update
apt upgrade -y
在orangepi上執行armbian-config
- 選擇software——>desktop——>xfc4