LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-18-2011, 06:12 AM   #1
bilux
Member
 
Registered: Apr 2011
Posts: 30

Rep: Reputation: 0
upgrading from centos 5.6 to 6


how to upgrade from centos 5.6 to 6 ?
 
Old 07-18-2011, 06:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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.
 
Old 07-18-2011, 09:07 AM   #3
bilux
Member
 
Registered: Apr 2011
Posts: 30

Original Poster
Rep: Reputation: 0
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
 
Old 07-18-2011, 09:13 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
I wouldn't advise against upgrading it then. If it works, leave it.
 
Old 07-18-2011, 09:22 AM   #5
bilux
Member
 
Registered: Apr 2011
Posts: 30

Original Poster
Rep: Reputation: 0
i tried that command in centos 5.6 but not working?
 
Old 07-18-2011, 09:24 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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.
 
Old 07-18-2011, 09:33 AM   #7
bilux
Member
 
Registered: Apr 2011
Posts: 30

Original Poster
Rep: Reputation: 0
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.
 
Old 07-18-2011, 09:38 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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.
Old 07-18-2011, 09:43 AM   #9
bilux
Member
 
Registered: Apr 2011
Posts: 30

Original Poster
Rep: Reputation: 0
under centos 5.6
yum update -y
no packages marked for update.
 
Old 07-18-2011, 09:45 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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.
Old 07-18-2011, 09:46 AM   #11
bilux
Member
 
Registered: Apr 2011
Posts: 30

Original Poster
Rep: Reputation: 0
i want to update my packages for securing my server
 
Old 07-18-2011, 09:48 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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.
Old 07-18-2011, 09:57 AM   #13
bilux
Member
 
Registered: Apr 2011
Posts: 30

Original Poster
Rep: Reputation: 0
is it the same problem between redhat 5 and redhat 6?
 
Old 07-18-2011, 09:59 AM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
it's the same packages, so yes. Each major release introduces new features, new code.... new bugs.
 
Old 07-18-2011, 10:10 AM   #15
bilux
Member
 
Registered: Apr 2011
Posts: 30

Original Poster
Rep: Reputation: 0
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
 
  


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
UPgrading gns3 0.6.1 to 0.7 on centos tzer0 Linux - Newbie 1 04-09-2010 05:51 PM
Upgrading from Fedora Core 7 to CentOS 5.4 kaplan71 Linux - General 10 01-21-2010 09:41 AM
Upgrading FC3 to CentOS saleem_ak Linux - Newbie 1 04-07-2009 07:03 AM
Upgrading PHP on CentOS? subnet_rx Linux - Distributions 1 03-15-2008 10:26 AM
Upgrading MySQL to 4.1 with YUM on CentOS 3.6? Xoleum Linux - Software 0 12-07-2005 11:01 PM


All times are GMT -5. The time now is 03:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration