跳转至

树莓派基础配置

《HomeAssistant智能家居实战篇》视频

操作步骤

  1. 查看系统基础信息
  2. 修改pi用户密码
  3. 使用raspi-config修改时区、打开vnc
  4. 修改APT与PIP的配置
  5. 安装一些常用的基础库

参考

  • /etc/apt/sources.list文件

    deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
    deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
    
  • /etc/pip.conf文件

    [global]
    index-url=https://mirrors.aliyun.com/pypi/simple/
    extra-index-url=https://www.piwheels.org/simple
    
  • 安装一些常用的基础库

    sudo apt-get install libevent-dev libjpeg-dev build-essential libssl-dev libffi-dev python3-dev libavahi-compat-libdnssd-dev libatlas-base-dev autoconf python3-venv

  • VNC Viewer

    https://www.realvnc.com/en/connect/download/viewer/

返回课程目录↩