2020
12-18
12-18
linux 配置本地yum源,配置国内yum源,配置epel源的步骤
一.配置本地yum源1.挂载ISO镜像mount-oloop/mnt/yum-iso/CentOS-7-x86_64-DVD-1611.iso/mnt/cdrom2.配置yum源文件#iso.repo必须以.repo结尾[root@node5~]#cat/etc/yum.repos.d/iso.repo[iso]name=isobaseurl=file:///mnt/cdromenable=1gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7#清除系统所有的yum缓存[root@node5yum.repos.d]#yumcleanall#生成yum缓存[root@node5yum.repos.d]#yummakecache#...
继续阅读 >