[SATLUG] CentOS upgrade

rabie at rabie.net rabie at rabie.net
Mon Jan 6 15:06:33 CST 2014


What I did I installed a new Centos 6 and in 5 I run: 

rpm -qa --qf
"%{NAME}n" > mylist.txt 

copy the text file over to 6 with scp 

in 6 :

as root : 

yum -y install $(cat mylist.txt) 

On 2014-01-06 13:49,
Borries Demeler wrote: 

> Hi, I am wondering what would be the best way
to upgrade an old CentOS (5.2) install
> to 6.5. I have a new disk and
could install on a separate system. The old system needs
> to stay
running until the new one is ready to go. I would like to make sure that
> don't miss any packages installed on the old system, and that the
old system's configs
> are properly migrated to the new system. What
would be the best strategy to accomplish 
> this.
> Thanks!


More information about the SATLUG mailing list