美文网首页
树莓派环境配置

树莓派环境配置

作者: lmtoo | 来源:发表于2022-03-05 01:16 被阅读0次

1 替换安装源 https://mirror.tuna.tsinghua.edu.cn/help/raspbian/

2 ssh 登陆

    ssh-copy-id pi

3 安装on my zsh (https://mirrors.tuna.tsinghua.edu.cn/help/ohmyzsh.git/)

sudo apt install zsh

sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

4 安装docker

sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

echo "deb [arch=armhf] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list

sudo apt-get update

sudo apt-get install docker-ce docker-ce-cli containerd.io

sudo docker run hello-world

相关文章

网友评论

      本文标题:树莓派环境配置

      本文链接:https://www.haomeiwen.com/subject/szsvrrtx.html