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
相关推荐
optimistic_chen7 分钟前
【Vue3入门】自定义指令与插槽详解
linux·运维·服务器·vue.js·前端框架·指令
牛奶咖啡1316 分钟前
基于Cobbler的系统自动化安装部署——Cobbler的安装部署实践
linux·运维·服务器·cobbler·cobbler的安装配置·cobbler环境检查问题解决·cobbler中导入系统镜像
mounter62518 分钟前
深度解析 RDMA 技术的里程碑:基于 DMA-BUF 的 P2P 直接访问(GPU Direct RDMA 新姿势)
linux·运维·服务器·网络·p2p·kernel
南山十一少25 分钟前
docker的安装及使用
运维·docker·容器
Willliam_william34 分钟前
CentOS 7系统中进行时间/时区设置
linux·运维·centos
李白的天不白34 分钟前
linux安装MongoDB
linux·运维·服务器
BioRunYiXue38 分钟前
从现象到机制:蛋白降解调控研究的系统策略与实验设计
java·linux·运维·服务器·网络·人工智能·eclipse
supersolon43 分钟前
OpenClaw安装碰到的一些问题和解决方法
linux·运维·ai·openclaw·龙虾
sdm0704271 小时前
linux权限
linux·运维·服务器
yuezhilangniao1 小时前
大白话AI运维K8S整体思路和相关名词-结合腾讯云
运维·人工智能·kubernetes