求解
linux吧
全部回复
仅看楼主
level 9
onedu9 楼主
我配置网络YUM源的时候,baseurl=http://127.0.0.1/Packages/ rpm包就在/var/www/html/Packages下
为什么yum install 软件的时候给我干到这个路径了
http://127.0.0.1/Packages/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror
2021年12月02日 02点12分 1
level 9
onedu9 楼主
本机访问http://127.0.0.1/Packages也能正常显示安装包
2021年12月02日 02点12分 2
level 9
onedu9 楼主
也不知道啥原因,在/var/www/html/Packages/目录下敲:
createrepo --update /var/www/html/Packages/就好了
2021年12月02日 03点12分 3
1