Install ubuntu system on Raspberry Pi
foreword
Software required:
1. Option 1
win32diskimager-1.0.0-install.exe
SDFormatterha
Ubuntu image (can be downloaded from the official website or Tsinghua source)
Option II:
Raspberry Pi Image Writer
Raspberry Pi image burner direct download
Hardware required:
64GB memory card (Sanddisk Ultra recommended)
card reader
Raspberry Pi 4B I bought 8G here
(recommended to have an enclosure)
Installation plan one
Format SD card using Raspberry Pi burner
Select our memory card (D disk is enough)
Then erase format the SD card to FAT32 mode
Finally click this to burn
we choose yes
Let him write a few seconds later
Download the Raspberry Pi image (Option 2 can be used)
Just click the Raspberry Pi directly on the Raspberry Pi official website
I installed the server version here
long wait for download
write system
We use our own download (we need to unzip our file before doing this)
configuration
Installation plan two
Download mirror (domestic source) portal
We choose the latest version
this
The download is still very fast (the above is domestic and the bottom is the official website)
format SD card
Write to the system (the operation process is similar without repeating it here)
ssh connection
Connect with the username and password defined earlier
Solution 2 needs to change the congfig file
change source
backup
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
edit
sudo gedit /etc/apt/sources.list
We use Alisource
# 阿里源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse