Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin

Gentoo: How to transfer the world file to a new host

Author:black - Tue Jan 23 17:01:27 2007

This will transfer all the packages installed on the old host to the new host:

cd /var/lib/portage

cp world world.bak

scp .

emaint --check world >> update

cat update | grep "is not installed" | sed "s/'\(.*\)' is not installed/\1/" | xargs emerge -v

(if mail-mta/ssmtp is blocking your MTA, edit the update file and move the line with the mta to the top)
Copyright(c) Unifix.org 2002-2011

Dashboard - News - Search - List - About - Admin
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk