1、写仓库文件test.repo,放入client /etc/yum.repos.d/
[test]
name=test
baseurl=ftp://10.10.10.10/pub/
gpgcheck=0
2、自己的rpm包放在server /var/ftp/pub/rpms下
3、server 下执行 createrepo .
4、client 下执行 yum install 包名,如果发现不了,可以先执行yum clean all
1、写仓库文件test.repo,放入client /etc/yum.repos.d/
[test]
name=test
baseurl=ftp://10.10.10.10/pub/
gpgcheck=0
2、自己的rpm包放在server /var/ftp/pub/rpms下
3、server 下执行 createrepo .
4、client 下执行 yum install 包名,如果发现不了,可以先执行yum clean all