在CentOS上配置FetchLinux,可参考以下步骤:
sudo yum update,再执行sudo yum install -y git wget curl openssh-server。git clone https://github.com/fetchlinux/fetchlinux.git /opt/fetchlinux命令。/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服务已设置为开机自启,手动触发更新可使用sudo fetchlinux --update。