摘要: Centeros: 准备工作: 将系统镜像放到 /opt 下 脚本: #!/bin/bash mkdir /mnt/cdrom mount -o loop /opt/*.ios;# 此处改为你的系统镜像名称 /mnt/cdrom cp -r /etc/yum.repos.d/ /etc/yum.re 阅读全文
posted @ 2018-09-19 16:27 LEVI_W 阅读(885) 评论(0) 推荐(0) 编辑
摘要: 如何搭建本地yum源见附录① 如何搭建FTP yum源见附录② 脚本正文: #!/bin/sh# CenterOS config yumOSV=`rpm -q --qf %{version} centos-release`echo "您的centeros release 版本:$OSV"echo - 阅读全文
posted @ 2018-09-19 16:14 LEVI_W 阅读(776) 评论(0) 推荐(0) 编辑