摘要: 1、 yum下载rpm包(下载并安装rpm包) sed -i 's/keepcache=0/keepcache=1/' /etc/yum.conf cat /etc/yum.conf [main] cachedir=/var/cache/yum/$basearch/$releasever keepc 阅读全文
posted @ 2019-08-26 17:05 冲冲、冲 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 1、 设置本地yum源(需插入光盘) mkdir /mnt/cdrom mount -t iso9660 /dev/cdrom /mnt/cdrom cd /etc/yum.repos.d/ cp -r CentOS-Base.repo CentOS-Base.repo.bak cat CentOs 阅读全文
posted @ 2019-08-26 16:45 冲冲、冲 阅读(102) 评论(0) 推荐(0) 编辑