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.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Linux from Scratch, Ubuntu 14.01 Beta and Arch Updates