Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm spinning up a new CentOS 5 server and to save some time I'd like to use the same repos and packages as installed on another CentOS 5 server. Is anyone aware of a systematic or best practice method to doing so?

I appreciate the help.

share|improve this question
up vote 2 down vote accepted

Check out DevStructure's blueprint. It'll reverse-engineer your server's setup and packages and generate one massive bash script to replay all that on a new server.

share|improve this answer
I've installed it and giving it a try. Looks very useful. I'll have some feedback in an hour, thanks! – crockpotveggies Sep 26 '11 at 21:27
I found blueprint to be a breeze and very helpful and portable. Thanks it's a great find! – crockpotveggies Sep 26 '11 at 21:51

You could examine the original system's kickstart file generated during installation. That should reside in /root/anaconda-ks.cfg and will show some of the basics of the installed system. You could also look at the repo files in /etc/yum.repos.d to get an idea of the enabled repos. Finally, you can get an rpm listing from the original server via rpm -qa | sort -n > rpmlisting.txt and work from there.

share|improve this answer
Interesting I'll examine the kickstart file since blueprint proposed by ceejayoz doesn't seem to go that far. Otherwise blueprint is very systematic. Thanks! – crockpotveggies Sep 26 '11 at 21:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.