LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-23-2010, 11:20 AM   #1
snoozin
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, 11:50 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,821

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
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, 07:20 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
You may find this useful http://kbase.redhat.com/faq/docs/DOC-2531. 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.
 
  


Reply


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 04:41 PM
yum update to CentOS 5.4 but... sblantipodi Linux - Server 4 10-22-2009 01:49 PM
centos yum update LinuxLover Linux - Server 2 09-01-2009 04:07 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM


All times are GMT -5. The time now is 12:48 PM.

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