Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-23-2010, 12:20 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
CentOS release 4.8 yum update query

Server Information:

CentOS release 4.8 (Final)
PHP Version 4.3.9
mysql Ver 14.7 Distrib 4.1.22

Hope the above helps, basically I'm pretty new to linux and took over looking after a CentOS webserver in June with no prior knowledge of using a UNIX based system. As I have been learning more about Linux I have noticed that the updates just haven't been happening since April last year. Upon further investigation I found the boot partition to be full of old kernels dating back to October 2006. The guy who worked here before was supposed to be a Linux guru :s but seems to have left the system for months with no updates.

My question is: Can I use yum to update mysql and php or should I manually update due to the time in which it hasn't been updated? Also will this affect any web sites hosted on the server? I know I can restart apache gracefully to pick up the changes but I don't want the installers to do so.

Any help would be most appreciated.
Old 03-23-2010, 12:50 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
You can and should use yum (or up2date) to update mysql and php. You're running CentOS for stability and security patches which RedHat provides. I believe the installer will restart mysql, so you tell us if any web sites will be affected.
Old 03-23-2010, 08:20 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,699

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
You may find this useful For RHEL/Centos 4.x use the up2date cmds. Keep in mind that since you've done no updates for so long, you'll likely get a new kernel, which will require a reboot.
I'd also recommend some serious backups just in case, before you start.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update on CentOS 5.3 upgraded my system to CentOS 5.4 diskoe Red Hat 1 10-29-2009 05:41 PM
yum update to CentOS 5.4 but... sblantipodi Linux - Server 4 10-22-2009 02:49 PM
centos yum update LinuxLover Linux - Server 2 09-01-2009 05:07 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 01:48 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 03:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration