基于http构建yum网络源 和‘/mnt/packages/*’: No such file or directory问题?
挂载光盘镜像文件到 /mnt mount /dev/cdrom /mnt/ 复制 /mnt/Packages目录下的所有软件包到 /var/www/html/centos/ mkdir -p /var/www/centos/ cp -R /mnt/Packages/* /var/www/html/centos/ 3.使用createrepo创建本地源 yum install createrepo * -y cd /var/www/html createrepo centos/ 4.用http发布yum源 yum install httpd httpd-devel-y useradd apach
下载地址
用户评论