upgrade from 4 to 5?

General support questions including new installations
Post Reply
qwertyjjj
Posts: 40
Joined: 2009/12/26 14:18:33

upgrade from 4 to 5?

Post by qwertyjjj » 2012/02/16 18:27:37

To upgrade from 4 to 5 can I simply just run this on the command line?
#yum upgrade yum kernel

How do I copy all my old iptables and scripts over to version 5?
Will upgrading affect my partitions and squid cache?

User avatar
TrevorH
Forum Moderator
Posts: 27417
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: upgrade from 4 to 5?

Post by TrevorH » 2012/02/16 19:52:42

If this is the same system as your other thread where uname -r reports a kernel startin 2.6.18-x then you are already running CentOS 5. The CentOS 4 kernel was 2.6.9-X. In which case, both threads will be moved by your friendly neighbourhood moderators to the CentOS 5 forums in due course...

qwertyjjj
Posts: 40
Joined: 2009/12/26 14:18:33

Re: upgrade from 4 to 5?

Post by qwertyjjj » 2012/02/16 21:05:09

[quote]
TrevorH wrote:
If this is the same system as your other thread where uname -r reports a kernel startin 2.6.18-x then you are already running CentOS 5. The CentOS 4 kernel was 2.6.9-X. In which case, both threads will be moved by your friendly neighbourhood moderators to the CentOS 5 forums in due course...[/quote]

But it says: gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

upgrade from 4 to 5?

Post by pschaff » 2012/02/17 11:41:23

That's a GCC version which has [i]nothing[/i] to do with the OS version. Provide the information as requested in your [url=https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=35844&forum=27]other thread[/url].

Post Reply

Return to “CentOS 4 - General Support”