By Juliet Kemp
![]() |
Install the package on the machine you want to use as a server, via apt-get with sudo apt-get install approx. Once it's installed, edit /etc/approx/approx.conf to set your repository names:
debian http://http.uk.debian.org/debian |
| Recent Tips » lsof Seeks All Open Files » fuser, files, and processes » Files and Attributes: chattr Read All Tips of the Trade |
On your client machine, edit /etc/hosts to set localproxy to the IP address of your server:
10.0.0.3 approxThen edit /etc/apt/sources.list to work via the server:
deb http://approx:9999/debian stable main non-free contrib |
Finally, restart the approx server with /etc/init.d/approx restart, and run apt-get update on the client machine. Note that initially you may get time-out problems: Try again if you need to. After the first run, subsequent runs should be much faster.
