Skip to content

通过知识获得解放,通过技术获得自由

Menu
  • 专题目录
  • 液压相关
    • 液压技术
    • 液压相邻技术
    • 液压应用
  • 计算机相关
    • 计算机和软件
    • 网络和网站技术
  • 哲学
  • 关于本站
Menu

树莓派4b安装ubuntu20桌面版并设置[0]

Posted on 2023年11月14日 by

由于之前没树莓派4b的桌面版64位系统,安装过服务器版本的见此。

最近系统有支持,进行测试。

  • 下载和刻录ubuntu20 64位桌面版

下载地址:https://ubuntu.com/download/raspberry-pi

刻录到SD卡,具体参照树莓派4b安装centos8

  • 设置ARGON-ONE风扇

curl https://download.argon40.com/argon1.sh | bash
argonone-config

  • 获取cpu温度

脚本:my-pi-temp.sh

cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "$(date) @ $(hostname)"
echo "-------------------------------------------"
echo "GPU => $(/usr/bin/vcgencmd measure_temp)"
echo "CPU => $((cpu/1000))'C"

或者:

apt install lm-sensors
sensors

 

  • 开启ssh
apt-get install openssh-server
ufw status
systemctl status ssh
systemctl enable ssh
  • 开启bbr
echo net.core.default_qdisc=fq >> /etc/sysctl.conf
echo net.ipv4.tcp_congestion_control=bbr >> /etc/sysctl.conf
sysctl -p #设置生效
sysctl net.ipv4.tcp_available_congestion_control  #检查
  • 开启运维cockpit
apt-get install cockpit
systemctl restart cockpit.service
systemctl status cockpit.service
systemctl enable cockpit
  • 开启samba
apt-get install samba
systemctl start smbd
systemctl enable smbd
  • 开启aarch64

修改/boot/config.txt

追加arm_64bit=1

  • snap安装应用

可用:chrome,keepassxc

不可用:opera,telegram

  • 已知问题

KVM无法使用,SD稳定性差,wifi无法使用5GHZ

参考资料:

  1. https://www.waveshare.net/wiki/PI4-CASE-ARGON-ONE
  2. https://www.cnblogs.com/Serendipity2020/p/13475972.html
  3. https://my.oschina.net/zhenggao/blog/4336898
  4. https://www.cnblogs.com/JiYF/p/11440050.html
  5. https://www.lxx1.com/4220
  6. https://github.com/xinxingli/raspberry
  7. https://www.lxx1.com/1886
  8. https://www.mf8.biz/ubuntu-20-04-bbr/
  9. https://www.cnblogs.com/pingwen/p/13455876.html

欢迎回来

希望本站对你有所帮助!

如有疑问请联系info@fanlog.org
2023 年 11 月
一二三四五六日
 12345
6789101112
13141516171819
20212223242526
27282930 
« 6 月    

AI辅助 (17)

© 2025 | Powered by Superbs Personal Blog theme
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT