orangepi zero烧录及SSH联网

下载对应版本的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服务打开,可以使用外部电脑网络访问。

编辑 sudo vim sshd_config

text 复制代码
# 打开
PermitRootLogin yes
PasswordAuthentication yes

orangepi联网

  • 把TF卡插到Orangepi zero上。再用网线将orangepi连接到同网络的路由器上。
  • 在电脑浏览器上登录路由器管理界面,查看有线网络连接的新设备IP地址。
  • 在电脑上ssh登录orange pi。windows上用putty客户端;linux上用ssh命令登录
sh 复制代码
ssh  root@pi_ip

默认密码 1234

  • root管理员正常登录后,设置个常用账户

更换国内源

  • 查看当前linux版本,执行cat /etc/os-release,看到bookworm
bash 复制代码
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添加国内源
text 复制代码
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后执行

sh 复制代码
apt  update
apt  upgrade -y

在orangepi上执行armbian-config

  • 选择software------>desktop------>xfc4
相关推荐
Ronin30516 分钟前
【Linux系统】vim编辑器 | 编译器gcc/g++ | make/Makefile
linux·运维·服务器·ubuntu·编辑器·vim
Bruce_Liuxiaowei38 分钟前
Netstat高级分析工具:Windows与Linux双系统兼容的精准筛查利器
linux·运维·网络·windows·安全
易德研发2 小时前
ubuntu24.04安装NFS网络文件系统/ARM开发板NFS挂载
运维·服务器·网络
生活爱好者!3 小时前
NAS 部署白板工具,实现思维导图/画板/流程图自由
运维·docker·容器
互联网搬砖老肖10 小时前
运维打铁: MongoDB 数据库集群搭建与管理
运维·数据库·mongodb
Antonio91511 小时前
【音视频】HLS简介与服务器搭建
运维·服务器·音视频
輝太くん12 小时前
ssh远程服务器
ssh
艾伦_耶格宇12 小时前
【docker】-1 docker简介
运维·docker·容器
R.X. NLOS12 小时前
VS Code远程开发新方案:使用SFTP扩展解决Remote-SSH连接不稳定问题
运维·服务器·ssh·debug·vs code
cuijiecheng201812 小时前
Ubuntu下布署mediasoup-demo
linux·运维·ubuntu