Davide Cittaro
2008-Nov-26 10:54 UTC
[CentOS] replicate package installation on multiple machines
Hi all, Is there a way to dump the current packages installed on a machine and use it do install/uninstall packages on other machines? I've configured one at install time but to speed up other installations I would like to install default packages and then install/uninstall some starting from my first machine configuration... thanks d PS Oh, I'm going to RTFM too... but I'm new to CentOS and yum...
Ralph Angenendt
2008-Nov-26 11:10 UTC
[CentOS] replicate package installation on multiple machines
Davide Cittaro wrote:> Hi all, > Is there a way to dump the current packages installed on a machine and > use it do install/uninstall packages on other machines? I've configured > one at install time but to speed up other installations I would like to > install default packages and then install/uninstall some starting from my > first machine configuration...rpm -qa > foobar scp foobar machine2:/var/tmp ssh machine2 sudo yum install $(cat /var/tmp/foobar) Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20081126/6886d764/attachment-0003.sig>
Davide Cittaro
2008-Nov-26 11:16 UTC
[CentOS] replicate package installation on multiple machines
On Nov 26, 2008, at 12:10 PM, Ralph Angenendt wrote:> rpm -qa > foobar > > scp foobar machine2:/var/tmp > > ssh machine2 > > sudo yum install $(cat /var/tmp/foobar)Great! Thanks! d /* Davide Cittaro Cogentech - Consortium for Genomic Technologies via adamello, 16 20139 Milano Italy tel.: +39(02)574303007 e-mail: davide.cittaro at ifom-ieo-campus.it */
Kai Schaetzl
2008-Nov-26 11:49 UTC
[CentOS] replicate package installation on multiple machines
Davide Cittaro wrote on Wed, 26 Nov 2008 11:54:18 +0100:> Oh, I'm going to RTFM too... but I'm new to CentOS and yum...I think you want to look into mirroring the CentOS repo locally and point your machines and new kickstart installations to it. Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com