| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| 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. |
|
 |
|
07-18-2011, 06:12 AM
|
#1
|
|
Member
Registered: Apr 2011
Posts: 30
Rep:
|
upgrading from centos 5.6 to 6
how to upgrade from centos 5.6 to 6 ?
|
|
|
|
07-18-2011, 06:32 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,832
|
I would not advise an upgrade. For a server you should really reinstall it.
Ultimately you can just run "yum --releasever=6 distro-sync", but again, I wouldn't recommend it.
Last edited by acid_kewpie; 07-18-2011 at 06:34 AM.
|
|
|
|
07-18-2011, 09:07 AM
|
#3
|
|
Member
Registered: Apr 2011
Posts: 30
Original Poster
Rep:
|
thx;
but my x-centos 5.6 server contains a lot of informations :gate-server;dns-server ;dhcp and others which manage our copany network
|
|
|
|
07-18-2011, 09:13 AM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,832
|
I wouldn't advise against upgrading it then. If it works, leave it.
|
|
|
|
07-18-2011, 09:22 AM
|
#5
|
|
Member
Registered: Apr 2011
Posts: 30
Original Poster
Rep:
|
i tried that command in centos 5.6 but not working?
|
|
|
|
07-18-2011, 09:24 AM
|
#6
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,832
|
well firstly, i advised against upgrading if you can't rebuild. Why do you want to??
secondly if something "doesn't work" you need to give useful information about what happened.
|
|
|
|
07-18-2011, 09:33 AM
|
#7
|
|
Member
Registered: Apr 2011
Posts: 30
Original Poster
Rep:
|
thx;
when i tried the command it tell me :
Command line error:no such option :--releasever but under centos 6 in other host the command run well.
---------- Post added 07-18-11 at 03:34 PM ----------
i want to update all my centos 5.6 packages to el6 centos 6 packages.
|
|
|
|
07-18-2011, 09:38 AM
|
#8
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,832
|
if you can not justify rebuilding a server, then you can not justify upgrading it. what if it doesn't work? upgrading is a BIG thing, just about EVERY package is replaced, and there is a high chance of things failing. Then where would you be?
|
|
|
1 members found this post helpful.
|
07-18-2011, 09:43 AM
|
#9
|
|
Member
Registered: Apr 2011
Posts: 30
Original Poster
Rep:
|
under centos 5.6
yum update -y
no packages marked for update.
|
|
|
|
07-18-2011, 09:45 AM
|
#10
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,832
|
right, because you are still juston the release 5. If you really want to you can install the el6 centos-release package and run it again. Y M M V
|
|
|
1 members found this post helpful.
|
07-18-2011, 09:46 AM
|
#11
|
|
Member
Registered: Apr 2011
Posts: 30
Original Poster
Rep:
|
i want to update my packages for securing my server
|
|
|
|
07-18-2011, 09:48 AM
|
#12
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,832
|
6.0 will be less sure than 5.6. The feature set is older on 5.x therefore had a lot longer to be fully security tested.
|
|
|
1 members found this post helpful.
|
07-18-2011, 09:57 AM
|
#13
|
|
Member
Registered: Apr 2011
Posts: 30
Original Poster
Rep:
|
is it the same problem between redhat 5 and redhat 6?
|
|
|
|
07-18-2011, 09:59 AM
|
#14
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,832
|
it's the same packages, so yes. Each major release introduces new features, new code.... new bugs.
|
|
|
|
07-18-2011, 10:10 AM
|
#15
|
|
Member
Registered: Apr 2011
Posts: 30
Original Poster
Rep:
|
when we need update packages from centos 5.6 to centos 6 ,i need to reinstall my systeme to centos 6 and repeting all my server configuration
|
|
|
|
| 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 06:55 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
|
|