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
相关推荐
laoma-cloud33 分钟前
数据库高可用全方案:Keepalived 故障切换 + LVS (DR) 模式 + MariaDB 主主同步实战案例
运维·数据库集群
Hi202402171 小时前
基于阿里云部署 RustDesk 自托管服务器
运维·服务器·阿里云·云计算·远程控制·远程桌面
豆是浪个1 小时前
Linux(Centos 7.6)命令详解:sar
linux·运维·centos
fie88891 小时前
CentOS下Bind服务的安装与故障排查
linux·运维·centos
少陽君1 小时前
如何使用自签 CA 签发服务器证书与客户端证书
运维·服务器
東雪蓮☆2 小时前
Linux 网络流量监控 Shell 脚本详解(支持邮件告警)
linux·运维·服务器
三无少女指南3 小时前
WSL2环境下因服务器重装引发的SSH连接问题排查记录
运维·服务器·ssh
東雪蓮☆4 小时前
使用 Shell 脚本监控服务器 IOWait 并发送邮件告警
linux·运维·服务器
我是海飞4 小时前
外置flash提示音打包脚本
运维·服务器·音视频·嵌入式