安装armbian
1.将下载的镜像包烧录到SD卡中
2.通过路由器查看r2s的ip地址
打开windows cmd:
ssh root@192.168.3.63
按照提示进行设置
3.armbian换源
查看版本号
lsb_release -a
清华大学开源软件镜像站,选择对应版本号
nano /etc/apt/sources.list
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
nano /etc/apt/sources.list.d/armbian.list
将http://apt.armbian.com替换为https://mirrors.tuna.tsinghua.edu.cn/armbian
apt update
安装casaos
1.安装docker
sudo apt update
sudo apt install docker.io
验证安装
docker --version
设置自启动
sudo systemctl enable docker
2.安装casaos
curl -fsSL https://get.casaos.io | sudo bash
访问192.168.3.63