下载
https://www.raspberrypi.org/downloads/raspbian/
下载的版本
Raspbian Stretch with desktop and recommended software
Raspbian Stretch with desktop and recommended software
Image with desktop and recommended software based on Debian Stretch
Version:November 2018
Release date:2018-11-13
Kernel version:4.14
Release notes:Link
找到盘 卸载
/dev/disk1s1是分区,/dev/disk1是块设备,/dev/rdisk1是原始字符设备
chenhaohaodeAir:ant-design-pro-master chenhaohao$ df -h
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 113Gi 103Gi 5.3Gi 96% 1401823 9223372036853373984 0% /
devfs 204Ki 204Ki 0Bi 100% 706 0 100% /dev
/dev/disk1s4 113Gi 4.0Gi 5.3Gi 43% 6 9223372036854775801 0% /private/var/vm
map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net
map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home
/dev/disk6s1 40Mi 21Mi 19Mi 52% 0 0 100% /Volumes/boot
卸载
ls /dev/rdisk*
/dev/rdisk6
diskutil unmount /dev/rdisk6
刻录
sudo dd bs=4m if=2018-11-13-raspbian-stretch-full.img of=/dev/rdisk6
连接
屏幕连接 显示ip
192.168.50.236
点击草莓–首选项–respberry pi configuration – interface-- ssh – enable
ssh [email protected]
输入默认密码 raspberry
参考博客
http://shumeipai.nxez.com/2014/05/18/raspberry-pi-under-mac-osx-to-install-raspbian-system.html
扫描端口
nc -z -v -n 192.168.50.236 3000-4000
树莓派
3128 默认开启