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

  1. write image to sd card

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

  3. ssh pi@raspberrypi.local, 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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容