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

Re: lenny install through apt-proxy



Hi, Mike:

On Friday 05 June 2009 02:40:09 mike wrote:
> Has anyone installed lenny, with a netinst cd, going to a server running
> apt-proxy  to get packages?

Yes, but I think to remember that you can't completly do it "as is" since even 
on the expert mode you are not allowed to choose repos for security updates 
(nor you can choose to install without security updates).  The net result is 
that security updates always go to the Internet.

But you could pass at boot time a boot param pointing to a D-I template which 
in turn overwrites all repos to point to your apt-proxy.  I do it and go a 
step beyond that: I use a TFTP/DHCP/PXE server which feeds the netinst images 
and the URL to the template so I can automate most of the install process.  
You'll find step-by-step tutorial to achieve that on the Internet.

> or is it better to put in a proxy server and 
> do the initial install that way?

A "generalistic" web proxy server properly configured should do the trick 
since it would happily cache your security updated packages too.  The netinst 
offers you to configure going through a proxy at least when on expert mode.


Reply to: