Setting Up A Debian Packages Proxy With apt-cacher - Page 2
Setting Up The Debian System To Use The apt-cacher ProxyAt InstallationDuring the install of a new Debian from the "netinst" CD, you will be asked if you wish to use a "network mirror". Of course, you have to answer "yes" otherwise you won't be able to do a full installation.
The installer will then need you to indicate your country.
Finally, it will offer you a list of the closest mirrors for your country from which you will be able to download extra packages. Just choose any one you like!
Finally, the installer will ask you if you need to use a proxy to access the Internet. You may or may not depending on the LAN settings but in order to use apt-cacher, you must type the URL http://DebianServer:3142/apt-cacher and then click on the "continue" button.
The rest of the installation will continue as usual but, if this is not the first installation you do using apt-cacher, the all process should be much faster than the first time.
On An Already Installed DebianIf your Debian system is already running, it is not too late! It can still benefit from apt-cacher during your updates or adding new softwares. All you need to do is to edit the configuration file /etc/apt/apt.conf so that looks something like this: Acquire::http::Proxy "http://DebianServer:3142/apt-cacher/"; Remember to update your cache with the command: apt-get update
ConclusionSpeeding up the setup of many Debian servers or workstations may be in various ways – setting a .deb package proxy being only one of them. Many software may be used to revolve this task such as apt-proxy, debmirror, apt-move but they all seemed more complex to set up than apt-cacher.
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com
Red Hat Virtual Experience - a free virtual event. Dec. 9th









print: 
Recent comments
8 hours 58 min ago
14 hours 46 min ago
16 hours 38 min ago
18 hours 23 min ago
22 hours 13 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 14 hours ago
1 day 19 hours ago