ssh
一起用sshwpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=CN network={ ssid="yourssid" psk="yourwifipwd" key_mgmt=WPA-PSK }
# 登录raspberry后修改pi用户密码 passwd # 修改root用户密码 sudo passwd root # 解锁root用户 sudo passwd --unlock root
sudo dpkg-reconfigure tzdata
#更改apt软件源 sudo sed -i 's|raspbian.raspberrypi.org|mirrors.ustc.edu.cn/raspbian|g' /etc/apt/sources.list #更改raspberrypi软件源 sudo sed -i 's|//archive.raspberrypi.org|//mirrors.ustc.edu.cn/archive.raspberrypi.org|g' /etc/apt/sources.list.d/raspi.list #更新源 sudo apt-get update
sudo raspi-config
选择Advancd Options -> Expand Filesystem 然后重启