[CentOS] 5.0 -> 5.1

Les Mikesell lesmikesell at gmail.com
Wed Mar 5 17:19:46 UTC 2008


Ashley M. Kirchner wrote:
> 
>    Hi folks,
> 
>    I have a production server that's currently running 5.0 with all 
> updates.  What's the easiest, or perhaps best way to upgrade it to 5.1, 
> with minimal down time?  The downtime is critical, so I need to have it 
> be a short as possible.  I can live with an hour or two, but larger is 
> going to be a pain.
> 
>    Suggestions?


As others have mentioned, you are probably already there, but I'd do:
yum install yum-downloadonly
yum -y --downloadonly update
to pull in anything new but not install it.  You can repeat the 2nd 
command if it doesn't complete or if some time passes before you get 
around to doing the
yum install
which will go quickly with all the packages already downloaded.  You 
really only have downtime if you need to reboot and you only need to 
reboot if you pick up a new kernel in the update.

-- 
   Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list