树莓派Ubuntu那些事
OS installation
Download:
Ubuntu for raspberry
If you do not have a monitor for your raspi, please install and set up your ubuntu with Raspberry Pi Imager, and enable the ssh before your installation.
Make sure you have a network connection on your raspi.
First time setting up ubuntu
Set up system time
1 | sudo apt install ntpdate |
(referance)[https://cloud.tencent.com/developer/article/1879686]
Otherwise, you will meet issue when sudo apt update
, (referance)[https://linux.cn/article-12666-1.html]
Set up apt mirror
Update and Upgrade
1 | sudo apt update |
Enable ssh server
1 | systemctl enable ssh --now |
I met some issues when logining in the ssh server, and I uninstall the openssh-server and reinstall it. Then the issue gone.
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.