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
相关推荐
gQ85v10Db29 分钟前
Redis分布式锁进阶第十五篇:全系列终极收官复盘 + 全站锁规范归档 + 生产零故障长期运维兜底总方案
运维·redis·分布式
智能化咨询1 小时前
(112页PPT)德勤制造业企业数据治理平台规划方案(附下载方式)
大数据·运维·人工智能
时光之源1 小时前
安装WSL2后在其中安装Ubuntu24.04.4再安装OpenClaw全流程傻瓜式教学:WSL2 + Ubuntu 24.04 + OpenClaw
linux·运维·ubuntu·openclaw·龙虾
eastyuxiao1 小时前
流程图 + 配置清单 在团队 / 公司项目管理场景的落地应用
大数据·运维·人工智能·流程图
Jinkxs2 小时前
LoadBalancer- 常见负载均衡算法:轮询 / 加权轮询 / 最少连接等基础实现
运维·算法·负载均衡
eastyuxiao2 小时前
流程图 + 配置清单 在团队 / 公司运维场景的落地应用方法
运维·人工智能·流程图
拾光Ծ2 小时前
【Linux系统】进程信号(上)
linux·运维·服务器·面试·信号处理
咖喱o2 小时前
网络-堆叠
linux·运维·服务器·网络
Java面试题总结2 小时前
一文搞定 Linux Nginx 从安装、启动到 nginx.conf 全配置详解(新手也能看懂)
linux·运维·nginx
齐齐大魔王9 小时前
linux-僵死进程处理
linux·运维·服务器