Koozali.org: home of the SME Server

yum cache

Offline ntblade

  • *
  • 252
  • +0/-0
yum cache
« on: April 25, 2007, 06:26:11 PM »
Hi all,
As I'm doing a lot of experimenting at the moment is there any way that I can speed up the server update process?
Could I copy the /var/cache/yum directory to freshly installed servers?
Is thia sensible?
Does anyone else do this or something similar?

Thanks

N

Offline pelli

  • ***
  • 66
  • +0/-0
yum cache
« Reply #1 on: April 25, 2007, 07:01:23 PM »
hi, is possible and work fine! you can wait the end of yum automatic update of mirror ( ps agx | grep yum) and after copy the new yum cache and execute yum update

bye  :wink:

Offline ntblade

  • *
  • 252
  • +0/-0
yum cache
« Reply #2 on: April 26, 2007, 12:18:33 PM »
Thanks for the reply but I'm not quit sure what you mean.  Do I update a server then copy the cache?
What does:

ps agx | grep yum

Do?

Ta
N

Offline pelli

  • ***
  • 66
  • +0/-0
yum cache
« Reply #3 on: April 26, 2007, 12:36:47 PM »
when you start server, yum is executed automatically for update list of package and mirror. ps agx | grep yum is a command for verify if yum is in execution. after you have copy the new cache you execute yum update for upgrade your system with the new cache.

Sorry for my bad english  :wink:

bye