Solved

Upgrade CentOS

Posted on 2012-03-13
3
335 Views
Last Modified: 2012-03-26
I am currently running CentOS 5.6 and would like to upgrade to 6.0.  How do I upgrade the operating system and is there anything i should look out for?
0
Comment
Question by:deklinm
3 Comments
 
LVL 5

Accepted Solution

by:
1ly4me earned 167 total points
ID: 37714944
You can't upgrade from CentOS 5.6 to CentOS 6.0.
Rather you would need a fresh installation of CentOS 6 and migrate your data to new server.
0
 
LVL 11

Assisted Solution

by:legolasthehansy
legolasthehansy earned 167 total points
ID: 37715371
It is possible but Red Hat (Centos is a mirror replica of Red Hat) does not recommend doing it.
See here
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/ch-upgrade-x86.html
There are some people who have done it though.
0
 
LVL 30

Assisted Solution

by:Kerem ERSOY
Kerem ERSOY earned 166 total points
ID: 37717864
The best idea is to backup your system and reinstall.
- Backup /etc completely.
- Run this command "chkconfig --list | grep :on" list all the active services.
- Transfer /etc backup to the new system and open it to another location.
- Install the new system then install all the packages required using the list.
- Replace the config files from the /etc backup
- Check the old system fore iptables rules adn SELinux if enabled adn apply same rules to the new system.

Cheers,
K:
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question