Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Linux cloning packages (for Debian/Ubuntu -type)
- # in server of origin:
- dpkg --get-selections > packages.txt
- # in destination server:
- dpkg --set-selections < packages.txt
- #You may need to do:
- apt-get install dselect
- apt-get dselect-upgrade
- # most packages will work even if destination server is newer distro version
- # After installing packages files can be copied from origin to destination with rsync or scp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement