admin管理员组

文章数量:1122847

1.树莓派更换国内apt源(可选,中国大陆必须)

sudo su

echo 'deb http://mirrors.tuna.tsinghua.edu/raspbian/raspbian/ stretch main contrib non-free rpi' > /etc/apt/sources.list

echo 'deb-src http://mirrors.tuna.tsinghua.edu/raspbian/raspbian/ stretch main contrib non-free rpi' >> /etc/apt/sources.list

echo 'deb http://mirror.tuna.tsinghua.edu/raspberrypi/ stretch main ui' > /etc/apt/sources.list.d/raspi.list

echo 'deb-src http://mirror.tuna.tsinghua.edu/raspberrypi/ stretch main ui' >> /etc/apt/sources.list.d/raspi.list

apt-get update

exit

斐讯N1 ArmBian换apt源(可选,中国大陆必须)

sudo su

echo 'deb http://mirrors.ustc.edu/debian stretch main contrib non-free' > /etc/apt/sources.list

echo 'deb http://mirrors.ustc.edu/debian stretch-updates main contrib non-free' > /etc/apt/sources.list

本文标签: 树莓派Armbian斐讯Homeassistant