Page 1 of 1

CentOS 5 Question - Updating System

Posted: Thu Mar 13, 2008 8:03 pm
by Sertac CELiK
Hi,

I'll start to update my box every day by cron task. I'll use "yum upgrade" command. And I wonder that if i have to exclude some packages from upgrade process like perl, apache or something else?

How do you upgrade your box running plesk on it?

Thanks.

Posted: Fri Mar 14, 2008 7:51 am
by scott
I don't exclude any packages on my systems.

Depending on your distro, you might have the yum-cron package available. If its available for your OS it might save you some extra steps.

Posted: Tue May 06, 2008 7:23 pm
by Sertac CELiK
Thanks scott, but i wonder is http://kb.parallels.com/en/234 necessary or not.. Any suggestion?

Posted: Wed May 07, 2008 5:56 am
by breun
It's not really necessary to exclude sendmail, bind-chroot and caching-nameserver as they should not be installed, but it doesn't hurt either. If you don't trust yourself to not install them, then you could add them to your excludes.

If definitely advice against excluding kernel*. Kernel updates also fix security issues, so you better keep up with those. I do suggest being careful with rebooting into new kernels if you don't have a serial console or some other means to access your server besides SSH. In that case you probably want to follow the procedure outlined at http://www.atomicorp.com/wiki/index.php ... stallation to use grub to boot into your kernel only once and only set the new kernel as the default after you've succesfully booted into it.

Posted: Wed May 07, 2008 1:21 pm
by Sertac CELiK
scott & breun thanks a lot, i've updated my box without any problems. Now on i'll set up a daily cron :)