树莓派组装

Raspberry Pi 4 Model B
贴散热片
树莓派安装OpenEuler系统
组装完成
树莓派安装OpenEuler系统

树莓派OpenEuler安装

安装准备

获取安装源

登录[openEuler社区](https://www.openeuler.org/zh/) 网站下载链接。
下载最新系统(2021.09)
树莓派安装OpenEuler系统
选择树莓派对应版本镜像和sha校验码
树莓派安装OpenEuler系统

镜像完整性检验

树莓派安装OpenEuler系统
经确认,下载镜像未被篡改

烧写镜像

使用balenaEtcher将镜像烧写入TF卡
树莓派安装OpenEuler系统
烧录完成
树莓派安装OpenEuler系统

远程登录树莓派

由于没有显示器,我在实验时直接使用网线连接树莓派和电脑。
首先需要将无线网络连接设置为可以和以太网共享
树莓派安装OpenEuler系统

查看到笔记本电脑网口的IP地址
树莓派安装OpenEuler系统
为192.168.0.1
树莓派安装OpenEuler系统

arp -a命令查找192.168.0.1对应的IP,找到结果即为树莓派IP
树莓派安装OpenEuler系统

用ssh远程登录
树莓派安装OpenEuler系统

至此,已成功在树莓派中安装好OpenEuler系统

网络配置

发现dnf不能正常update,网络出现问题
树莓派安装OpenEuler系统
为排查问题,对比电脑虚拟机中安装OpenEuler系统中的/etc/yum.repo.d/openEuler.repo文件
树莓派安装OpenEuler系统
发现树莓派上的OpenEuler系统中/etc/yum.repo.d/openEuler.repo文件少了一级目录main
树莓派安装OpenEuler系统
添加上去后网络就正常了
树莓派安装OpenEuler系统
树莓派安装OpenEuler系统

添加用户

使用useradd添加用户tqh,并使用passwd name更改用户密码,并修改配置文件,让tqh用户也能使用sudo进入管理员模式
树莓派安装OpenEuler系统

使用tqh用户登录
树莓派安装OpenEuler系统

磁盘分区

使用fdisk -l命令查看磁盘分区信息
树莓派安装OpenEuler系统
树莓派安装OpenEuler系统
发现我的/dev/mmcblk0p3分区(根目录)已经足够大,不需要额外分区。

连接wifi

查看ip和网卡信息:ip a
树莓派安装OpenEuler系统
扫描查看可用wifi:nmcli dev wifi
树莓派安装OpenEuler系统

使用Xshell远程登录

树莓派安装OpenEuler系统

相关文章:

  • 2021-10-20
  • 2021-12-21
  • 2021-11-02
  • 2021-07-17
  • 2021-12-04
  • 2021-12-04
猜你喜欢
  • 2022-02-23
  • 2021-11-22
  • 2021-12-30
  • 2021-04-20
  • 2021-12-29
  • 2021-08-02
  • 2021-12-04
相关资源
相似解决方案