无显示器-树莓派初始设定

  1. write image to sd card

  2. enable ssh
    create a file name ssh under the boot folder

  3. ssh [email protected], password: raspberry

  4. use sudo raspi-config to enable vnc and finish setting

  5. setup vnc
    refer to 树莓派4 vnc headless 连接

  6. make the tab character 4 spaces instead of 8 in nano
    reference
    edit file /etc/nanorc

/etc/nanorc
...
set tabsize 4
...
set tabstospaces
...
  1. 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

  1. update
sudo apt update
sudo apt upgrade -y
  1. setup virtualenvwrapper
    refer to virtualenvwrapper on linux

  2. install dependencies for numpy
    sudo apt-get install python-dev libatlas-base-dev

你可能感兴趣的:(无显示器-树莓派初始设定)