Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##### Apt-cacher Server ######
- /etc/apt-cacher/apt-cacher.conf
- cache_dir = /var/cache/apt-cacher
- daemon_port = 3142
- allowed_hosts = *
- /etc/default/apt-cacher
- AUTOSTART=1
- /etc/iptables/up/rules
- -A INBOUND -p tcp -m tcp --dport 3142 -j ACCEPT
- -A INBOUND -p udp -m udp --dport 3142 -j ACCEPT
- sudo /usr/share/apt-cacher/apt-cacher-import.pl -s /var/cache/apt/archives
- sudo /etc/init.d/apt-cacher start
- ##### Apt-cacher Client #####
- /etc/apt/apt.conf.d/01proxy
- Acquire::http::Proxy "http://your-server:3142/apt-cacher/";
Advertisement
Add Comment
Please, Sign In to add comment