当前位置:网站首页>[email protected]树莓派
[email protected]树莓派
2022-07-06 05:35:00 【Ki1381】
前几天跟华为的销售/售前兄弟探讨国产信创替代,话题自然包含了open欧拉操作系统。周末突然又想起这茬儿了,就去官网浏览了一下。本想只是随便再进一步了解下,没想到居然看到了这个:
嗯,这下我可就不困了。先是找到了可用的下载镜像站:镜像列表 (openeuler.org)https://www.openeuler.org/zh/mirror/list/
然后选了上交大的源,下载235M的img.xy文件。:
raspi_img (sjtu.edu.cn)https://mirror.sjtu.edu.cn/openeuler/openEuler-22.03-LTS/raspi_img/
后续就跟刷树莓派官方OS一样。尝试直接刷在一块SSD的USB移动硬盘上,实测能正常启动。顺便吐槽一句,for RPI的Ubuntu 20.04就不支持USB BOOT,但22.04可以。
默认用户root,默认密码 openeuler。
因为只打算用家里的wifi,所以还需要设置无线网络。不同于树莓派官方OS有raspi-config命令可以集中管理,openEuler下设置无线网络需要使用命令行(当然在正式设置前也可以只用命令nmcli dev wifi先预扫下所有可用网络,顺便确认无线网卡工作正常。):
nmcli dev wifi connect 你的wifi的SSID password 你的wifi密码
还挺热闹的。连接成功后,去/etc/sysconfig/network-scripts/下查看,多了一个文件,名称为ifcfg-<SSID>。其中<SSID>就是刚才命令行里指定的相应参数的值。如果要将此树莓派配置为使用固定的WIFI地址,可以修改这个文件。关键点为:
BOOTPROTO=static(默认是dhcp)
并且增加以下几行(具体数值必须根据实际情况):
IPADDR=192.168.1.53
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=114.114.114.114
DNS2=8.8.8.8
重启下网络服务以便使配置生效:
systemctl restart NetworkManager
然后就可以ssh上去继续玩了。如果习惯使用putty作为ssh客户端并且很久很久没更新过的话,建议升级到最新版,不然可能会出现报错加密算法不支持。https://the.earth.li/~sgtatham/putty/latest/w64/putty.exehttps://the.earth.li/~sgtatham/putty/latest/w64/putty.exe
openEuler 包管理使用dnf,所以升级可以用dnf update,安装软件可以用dnf install xxxx。跟apt或yum很类似。测试了下httpd + php和firewalld,成功。
先这样吧,支持一波。
边栏推荐
- flutter 实现一个有加载动画的按钮(loadingButton)
- Codeforces Round #804 (Div. 2) Editorial(A-B)
- Web Security (V) what is a session? Why do I need a session?
- Safe mode on Windows
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
- Pickle and savez_ Compressed compressed volume comparison
- Unity Vector3. Use and calculation principle of reflect
- 自建DNS服务器,客户端打开网页慢,解决办法
- 用StopWatch 统计代码耗时
- 指針經典筆試題
猜你喜欢
Implementing fuzzy query with dataframe
什么是独立IP,独立IP主机怎么样?
01. Project introduction of blog development project
剑指 Offer II 039. 直方图最大矩形面积
Easy to understand IIC protocol explanation
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Can the feelings of Xi'an version of "Coca Cola" and Bingfeng beverage rush for IPO continue?
03. 开发博客项目之登录
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Problems encountered in installing mysql8 on MAC
随机推荐
Web Security (VI) the use of session and the difference between session and cookie
Vulhub vulnerability recurrence 72_ uWSGI
Unity gets the width and height of Sprite
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
[machine learning notes] univariate linear regression principle, formula and code implementation
SQLite queries the maximum value and returns the whole row of data
毕业设计游戏商城
应用安全系列之三十七:日志注入
03. Login of development blog project
Vulhub vulnerability recurrence 69_ Tiki Wiki
无代码六月大事件|2022无代码探索者大会即将召开;AI增强型无代码工具推出...
Pointer classic written test questions
【LeetCode】18、四数之和
[Tang Laoshi] C -- encapsulation: classes and objects
2022半年总结
Huawei equipment is configured with OSPF and BFD linkage
B站刘二大人-线性回归 Pytorch
Review of double pointer problems
LeetCode_ String inversion_ Simple_ 557. Reverse word III in string
Deep learning -yolov5 introduction to actual combat click data set training