sudo apt update
sudo apt install git wget curl openssh-server
git clone https://github.com/fetchlinux/fetchlinux.git /opt/fetchlinux
cd /opt/fetchlinux
sudo cp fetchlinux.conf.example fetchlinux.conf
sudo nano fetchlinux.conf # 按需修改仓库URL、镜像名称等配置
sudo groupadd fetchlinux
sudo useradd -r -g fetchlinux fetchlinux
sudo chown -R fetchlinux:fetchlinux /opt/fetchlinux
sudo systemctl enable fetchlinux
sudo systemctl start fetchlinux
fetchlinux --help
fetchlinux download <发行版名称> [版本号] # 例:fetchlinux download ubuntu latest
sha256sum
对比官方校验和:sha256sum <镜像文件名>