How I can create a repository to a local network
Tim Frost
timfrost at xtra.co.nz
Fri Jul 7 23:03:16 UTC 2006
On Fri, 2006-07-07 at 21:44 +0100, José Paulo Matafome Oleiro wrote:
> Hello, I'm a newbie to Linux, and I've changed all my computers in my
> home network to Linux. Since I was using Windows from 1996. And I've
> got installed at my home 5 computers. 3 Have Ubuntu 6.06 Dapper, one
> machine has Kubuntu and another has Edubuntu. How I can create a
> repository to my local network, since I've got limitations in the
> traffic that I can spend all months.
The program apt-proxy might serve. It will store a local copy of all
packages, and the supporting files. Install it on a computer with
plenty of disk space, then:
* configure apt-proxy with the repositories you want
* restart apt-proxy
* configure all the computers to use apt-proxy
By having all of the computers, including the one running apt-proxy, use
apt-proxy, you ensure that a package is downloaded only once. The first
time a package is requested, apt-proxy will retrieve it from the
upstream repository. The subsequent requests (installs from the second
and later PC's) will get the package from the cache.
You will need to configure repositories for ubuntu and ubuntu-security,
pointing to the correct upstream repositories. Once this is done, you
will have access to all the ubuntu releases.
Tim
More information about the ubuntu-users
mailing list