- window: Disk Manager
- linux: dd命令
- 换清华源
# 编辑 `/etc/apt/sources.list` 文件,删除原文件所有内容,用以下内容取代:
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main non-free contrib
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main non-free contrib
# 编辑 `/etc/apt/sources.list.d/raspi.list` 文件,删除原文件所有内容,用以下内容取代:
deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ stretch main
- 卸载预装软件
- 查看安装列表:dpkg-query -l
- 卸载预装
sudo apt-get remove --purge scratch2 wolfram-engine bluej scratch python-pygame python3-pygame libreoffice sudo apt-get remove sonic-pi nodered chromium-browser sudo apt-get autoremove sudo apt-get update && sudo apt-get upgrade -y
- pip3 insall bypy 用来下载百度云
- aria2
- ssh
- VNC
- nmap局域网扫描
- PySerial
- wringpi
- USB摄像头
检查连接:lsusb或者ls /dev/video* 安装sudo apt-get install fswebcam
原版系统和ubuntu mate都可成功安装ROS melodic,但是ubuntu mate支持的库更全。
#修改/etc/dphys-swapfile
CONF_SWAPSIZE=1024
# 保存退出
sudo /etc/init.d/dphys-swapfile stop
sudo /etc/init.d/dphys-swapfile start
lsblk
mkdir /mnt/usb
mount /dev/**** /mnt/usb
umount /mnt/usb
- 关闭wifi
- 编辑
/boot/config.txt
添加dtoverlay=pi3-disable-wifi
- 编辑