Re: "cloning" (sort of ) an installation



On Mon, 16 Jun 2008 09:13:14 -0700
"Alan Evans" <ame.fedora@xxxxxxxxx> wrote:

Please excuse my inane question. I'm fairly experienced with
administering RH/Fedora installations, but I've just never tried to do
this before.

I'm setting up a backup server which is to have substancially the same
packages installed as the primary. I can easily enough get the list of
installed packages on the primary with "rpm -qa", but how do I turn
that list into something that will as automatically as possible
download and install/upgrade packages on the secondary? Or is that
completely wrong-headed?

You can generate package lists and feed them into yum, or you might want
to investigate the kickstart facility which lets you script entire
installs. Its normally used for big setups where you need to produce
"desktop pc type 1" to order but it'll work for two.

If you just need to make sure the right packages are present then
something like

rpm -qa > log

(transfer to other box)

yum install $(cat log)

ought to do the trick [ $(foo) substitutes the output of command foo for
the $(foo) ]

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • A whole host of software problems :-)
    ... I've had some problems with CSW packages since I tried to ... first of all cleaned out all of my CSW installations, ... older versions of GIMP and Mozilla from unofficial mirror sites. ... insisted on updating Java, and I think that was when the problems ...
    (comp.unix.solaris)
  • Installer for Delphi Developers
    ... Object Pascal Scripting and Delphi-like Environment with the ... Centralized Packages Storage with Versions Keeping and Updates Build ... Packages Inheritance and Linking to make the complex installations ... Foreign Languages Support ...
    (comp.lang.pascal.delphi.misc)
  • Re: windows to linux relation
    ... installations in linux. ... Alien allows you to convert Debian, ... Packages into PLD packages, which can be installed with rpm. ...
    (comp.os.linux.misc)
  • Re: whats in you /boot/ ?
    ... > needed is a good instructor as to the importance of making backups. ... > packages you have installed. ... > on all packages) for comparison across installations and such. ... of normal maintenance (e.g. editing configuration files), ...
    (comp.os.linux.misc)
  • Re: Evolution
    ... lists, I don't get much mail. ... Bogo isn't necessarily the better trap, in fact in my opinion SA is. ... But for local/personal installations Bogo is plenty good enough, ... They advise you to only enable plugins for Bayes filters you actually ...
    (Ubuntu)