Upgrading Multiple Debian Machines Quickly With approx
One Download Feeds Them All
![]() |
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 security http://security.debian.org/debian-security non-us http://non-us.debian.org/debian-non-US |
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 deb-src http://approx:9999/debian etch main non-free contrib deb http://approx:9999/security stable/updates main non-free contrib deb-src http://approx:9999/security etch/updates main contrib non-free deb http://approx:9999/non-us 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.
Article courtesy of Serverwatch.com
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.