-
write image to sd card
-
enable ssh
create a file namessh
under theboot
folder -
ssh pi@raspberrypi.local
, password:raspberry
-
use
sudo raspi-config
to enable vnc and finish setting -
setup 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 linux -
install dependencies for numpy
sudo apt-get install python-dev libatlas-base-dev
网友评论