Tuesday, March 18, 2014

Duplicating linux installation using yum (install the same packages on other server)



Get list of installed RPMs on your box:

yum list installed |tail -n +3|cut -d' ' -f1 > installed_packages.txt

 
Install packages onto new server:
yum -y install $(cat installed_packages.txt)

That`s all

found at: http://unix.stackexchange.com/questions/71/duplicating-a-linux-installation-yum-based

No comments:

Post a Comment

Cybermap

Internet Storm Center Infocon Status

Internet Storm Center Infocon Status
Internet Storm Center Infocon Status