yum 保存下载的rpm 包

1 [root@bogon pluginconf.d]# vim /etc/yum.conf

[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

将keepcache=0 改为keepcache=1,保存退出

 

相关文章:

  • 2021-07-27
  • 2021-11-01
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-10-19
相关资源
相似解决方案