Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
Posts: 9
Joined: Wed Sep 12, 2018 6:25 am


Post by dUCK »

Creates a local .deb cache that can be connected to.

Useful for low bandwidth environments, or those who nuke their system (TINKER!)

My basic setup is:

Separate drive/partition from /

Need to modify:

#store at location
/etc/apt-cacher-ng/acng.conf needs to edit path to storage.

#give permissions to apt-cacher-ng user (default user service)
chmod -R 2755 /storage/location
chown -R apt-cacher-ng:apt-cacher:ng /storage/location

#tell apt to use this proxy
nano -w /etc/apt/apt.conf.d/02proxy

Code: Select all

acquire::http::proxy "http://localhost:3142";
(other machines would point to IP address of apt-cacher-ng server)

Basically, when you enable this proxy setting with this service, whatever machine connects through it, host machine will download update list and when you update programs, will cache it locally so when it is queried, you can achieve LAN speed updates.

Might hack on this later, just wanted to get the idea out for anyone who feels like playing.
Post Reply