1. System Installment
Steps:
- Write Raspberrypi system file into SD card by BalenaEtcher.
- Install bonjour service and internet adapter(USB Ethernet/RNIDS Gadget) in Windows platform.
- Configure Raspberrypi system files.
- Add
dtoverlay=dwc2
inconfig.txt
- Add
modules-load=dwc2,g_ether
behindrootwait
incmdline.txt
- Add new empty file
ssh
- Add
- Link Raspberrypi to pc and wait.
2. Basic Configuration
Steps:
-
Switch timezone
sudo tzselect
or
sudo dpkg-reconfigure tzdata
Internet time sync:
sudo timedatectl set-ntp true
-
Refresh source list
Software update:deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ stretch main contrib non-free deb http://mirrors.aliyun.com/raspbian/raspbian/ stretch main contrib non-free rpi deb-src http://mirrors.aliyun.com/raspbian/raspbian/ stretch main contrib non-free rpi deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi #deb http://mirrors.hustunique.com/raspbian/raspbian/ stretch main contrib non-free rpi #deb-src http://mirrors.hustunique.com/raspbian/raspbian/ stretch main contrib non-free rpi #deb http://mirrors.cqu.edu.cn/Raspbian/raspbian/ stretch main contrib non-free rpi #deb-src http://mirrors.cqu.edu.cn/Raspbian/raspbian/ stretch main contrib non-free rpi deb http://mirrors.zju.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi deb-src http://mirrors.zju.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi
System update:
deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ stretch main ui
sudo apt-get update ; sudo apt-get upgrade ; sudo apt-get dist-upgrade ; sudo rpi-update