Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A.Server Setup
- $ sudo apt-get install apt-cacher
- $ sudo gedit /etc/default/apt-cacher
- # set to 1 to start the daemon at boot time
- AUTOSTART=1
- $ sudo /usr/share/apt-cacher/apt-cacher-import.pl -s /var/cache/apt/archives
- $ sudo /etc/init.d/apt-cacher start
- B.Client Setup
- $ sudo gedit /etc/apt/apt.conf.d/01proxy
- Acquire::http::Proxy "http://your-server:3142/apt-cacher/";
Advertisement
Add Comment
Please, Sign In to add comment