通過apache搭建自己的yum服務器。 1.安裝運行httpd。 yum install httpd -y systemctl start httpd systemctl enable httpd systemctl status httpd 2.然後關掉selinux 3.防火牆開放http服務。