我们有两个办公室,里面装满了Ubuntu台式机.由于我们的网络连接速度很慢,我们希望每台计算机都有自己的内部包服务器,以便每天抓取并安装其更新,而不是让每台计算机单独下载所有相同的文件.
因此,我们希望每天都有一台机器从http://us.archive.ubuntu.com/ubuntu/等处提取任何软件包更新,并充当网络中其他机器的软件包服务器.
看看
Apt-Proxy.
apt-proxy is a program that caches the packages you download from the Internet,to your hard disk. Because apt-proxy behaves as if it were a HTTP server with a full copy of the repositories you select,you can access the packages from other computers on your network. If a package is not in the cache,apt-proxy automatically downloads and caches it. This can significantly decrease download bandwidth and installation time when you have to install the same packages repeatedly (i.e. an upgrade of multiple machines).
更新:发现另一个类似的问题,在Apt-cacher and Apt-proxy,建议使用approx.
有关快速摘要,请参阅Alternatives to Apt-proxy上的eHow文章.