write image to sd card
enable ssh
create a file namessh
under theboot
folderssh pi@raspberrypi.local
, password:raspberry
use
sudo raspi-config
to enable vnc and finish settingsetup vnc
refer to 树莓派4 vnc headless 连接make the tab character 4 spaces instead of 8 in
nano
reference
edit file/etc/nanorc
/etc/nanorc
...
set tabsize 4
...
set tabstospaces
...
- connect to wifi
refernece
add the following lines to file/etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="tokiwadaiB410"
psk="nD7EaMm8"
}
reconfigure the interface with
wpa_cli -i wlan0 reconfigure
verify the connection with
ifconfig wlan0
- update
sudo apt update
sudo apt upgrade -y
setup virtualenvwrapper
refer to virtualenvwrapper on linuxinstall dependencies for numpy
sudo apt-get install python-dev libatlas-base-dev