以下是CentOS上使用FetchLinux的教程:
sudo yum install -y 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。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 fedora。sudo fetchlinux --update。rsync -aAXv --exclude '.git' /path/to/your/fetchlinux/project/ backup/。