| Red Hat This forum is for the discussion of Red Hat Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-09-2011, 04:45 PM
|
#1
|
|
Member
Registered: Aug 2003
Location: Europe
Distribution: RHEL 6.3, 5.5, Fedora 15, Kubuntu 12.04, Solaris 10,8
Posts: 295
Rep:
|
Update a CentOS 5 virtual server to CentOS 5.6
I would like to update a CentOS 5 virtual server to CentOS 5.6
I've never done this before and I would be greatful for any hints/tips/guides on the process.
I can't format my system as I have software/files that I need on there so I would like to upgrade rather than to install from scratch.
The CentOS documentation seems to come straight from RedHat and suggests that I connect to the RHN network, which is not possible as i'm using the free CentOS release.
Is the procedure the following, sorry but I really don't know. How safe is this procedure, if it works :
Code:
modify yum.conf to point to a 5.6 mirror and then perform the following commands :
yum clean all
yum update
shutdown -r now
Last edited by dazdaz; 04-09-2011 at 05:38 PM.
|
|
|
|
04-09-2011, 06:01 PM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,779
|
Running 'yum update' should do. I just upgraded one guest on VMware server and all went OK. Best read the release notes first though.
|
|
|
1 members found this post helpful.
|
04-09-2011, 06:18 PM
|
#3
|
|
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Debian, FreeBSD, Ubuntu (desktop)
Posts: 3,859
Rep: 
|
Back up your important files and - in particular - make a tarball of your existing /etc, just in case.
Code:
# tar cfz /root/good-etc.tgz /etc
RHEL (and, by extension, CentOS) is very good about not trampling on config files during package updates, but they're not perfect. I ran into a particularly vexing multipathing issue the other day after upgrading across minor versions. Point is: have a good version to compare against, just in case your regression testing turns up trouble.
|
|
|
1 members found this post helpful.
|
04-10-2011, 04:53 AM
|
#4
|
|
Moderator
Registered: May 2001
Posts: 24,779
|
Quote:
Originally Posted by unSpawn
I just upgraded one guest on VMware server and all went OK.
|
3 VM's later all still OK. One physical machine displayed errors after upgrade caused by:
- iscsi and iscsid: disable both if not required,
- haldaemon: reverting back to old startup mantra "/usr/sbin/hald --daemon=yes --verbose=no --use-syslog" works OK for me,
- setroubleshootd showing [avc.WARNING] could not open any audit sockets (/var/run/audispd_events, /var/run/audit_events), retry in 60 seconds error meaning the /var/run/audit_events socket does not exist: commenting out the binary_protocol_socket_path line in /etc/setroubleshoot/setroubleshoot.cfg makes the warning disappear.
|
|
|
|
04-10-2011, 05:02 AM
|
#5
|
|
Member
Registered: Aug 2003
Location: Europe
Distribution: RHEL 6.3, 5.5, Fedora 15, Kubuntu 12.04, Solaris 10,8
Posts: 295
Original Poster
Rep:
|
I also followed this procedure to update my PHP RPM's to 5.2.x.
http://wiki.centos.org/HowTos/PHP_5.1_To_5.2
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:14 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|