FetchLinux是基于SSH协议的文件传输与管理工具,非虚拟化应用。以下是在CentOS上的安装配置步骤:
sudo yum install -y git wget curl openssh-server
git clone https://github.com/fetchlinux/fetchlinux.git /opt/fetchlinux
fetchlinux.conf
,设置仓库URL、镜像名称等参数:sudo cp /opt/fetchlinux/fetchlinux.conf.example /opt/fetchlinux/fetchlinux.conf
sudo nano /opt/fetchlinux/fetchlinux.conf
sudo groupadd fetchlinux
sudo useradd -r -g fetchlinux fetchlinux
sudo chown -R fetchlinux:fetchlinux /opt/fetchlinux
sudo systemctl enable fetchlinux
sudo systemctl start fetchlinux
若需使用SSH密钥认证、指定端口等高级功能,可通过命令行参数配置(如-i
指定私钥路径、-p
指定端口)。
注:部分文档提到通过EPEL仓库安装,但需确认仓库是否包含该软件包。