[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to replicate debian system on Local Network?



On Mon, Jun 21, 2004 at 04:19:38PM +1000, James Sinnamon wrote:
> I have a Debian system set up on one PC and would like to replicate it 
> onto another (to eventually replace my Redhat 9.0 system.).
> 
> What would be the easist way to accomplish this?
> 
> 	1. use an NFS mount of /var/apt/cache/archives/ frommy first
>             Debian system, and enter into /etc/apt/sources.list :
> 
>              deb file:///<nfs-mount-point>/<path-to-apt-archives>
>              deb-src file:///<nfs-mount-point>/<path-to-apt-archives>
> 	
> 
> 	2. use my first Debian system as an ftp server and specify in 
>              /etc/apt/sources.list :
> 
>              deb ftp:/hostname/<path-to-apt-archives>
>              deb-src ftp:/hostname/<path-to-apt-archives>
> 
> .... would they work? and even if they did, is there an easier way?
> 

Look at the package apt-proxy. It caches the downloads from debian 
repositories in a way that fits with using apt-get on a second or third
machine. 

-- 
Paul E Condon           
pecondon@mesanetworks.net



Reply to: