摘要:
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 阅读全文
摘要:
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 阅读全文