最新消息:

树莓派4B 安装 Raspbian 系统

树莓派 admin 4184浏览 0评论

下载镜像

https://www.raspberrypi.org/downloads/raspbian/

根据自己需求, 我这里安装 Raspbian Buster Lite https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-09-30/2019-09-26-raspbian-buster-lite.zip

解压得到 2019-09-26-raspbian-buster-lite.img 文件

安装 Win32 Disk Imager

下载地址:https://sourceforge.net/projects/win32diskimager/ 安装直接下一步,选择上面解压镜像 2019-09-26-raspbian-buster-lite.img 设备选择 SD卡 设备

千万不要弄错,确认后点击 写入
成功后, 把 SD卡 插入到 树莓派4B 上

连接树莓派

  • 因为树莓派默认没有SSH, 所以需要连接显示器
  • 看到 树莓派4B 已经自动获取的IP: 192.168.199.148
  • 默认用户名: pi
  • 默认密码: raspberry

简单配置树莓派

# apt-get update
# apt-get install openssh-server
# systemctl enable ssh
# cat /etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet static
  address 192.168.199.4
  netmask 255.255.255.0
  broadcast 192.168.199.255
  network 192.168.199.0
  gateway 192.168.199.1
# systemctl disable dhcpcd.service dhcpcd5.service
  1. 安装并启动 sshd 服务

  2. 手动配置 eth0 地址

  3. 关闭dhcp服务

转载请注明:爱开源 » 树莓派4B 安装 Raspbian 系统

您必须 登录 才能发表评论!