Ruslan Bondar Site : docs/DEBIAN/klonirovanijesistemi

Clone Your Debian System

Setup your system and get all the packages in that you need. Then to setup the same layout on another box you can do these things..

dpkg --get-selections '*' > {some-file-name}
My configuration

You will have a list / status of all Debian packages installed, purged, etc. on your system.

Next time you do an install do a:

dpkg --set-selections < {some-file-name}

Run apt-get dselect-upgrade

This will add and remove packages as needed to bring the packages on your new system exactly like the base system.

Manual on securing a Debian system can be found:
http://www.debian.org/doc/manuals/securing-debian-howto