Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ntblade on April 25, 2007, 06:26:11 PM

Title: yum cache
Post by: ntblade 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
Title: yum cache
Post by: pelli 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:
Title: yum cache
Post by: ntblade 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
Title: yum cache
Post by: pelli 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