Linux.com

Re:are we in 2005 or 1995?!?!

Posted by: Anonymous Coward on June 11, 2005 10:14 AM
Sorry to doubt your person, but you obviously are no system admin.
I still run Woody on all my servers and am quite happy with that. I plan to upgrade to Sarge next week and here's how:
1. install Sarge on my laptop using netinst with no tasksel or extra packages yielding a minimal sarge system.
2. boot knoppix
3. mount<nobr> <wbr></nobr>/dev/hda1<nobr> <wbr></nobr>/newsarge; cd<nobr> <wbr></nobr>/newsys; tar cvzf<nobr> <wbr></nobr>../sarge-sys.tar.gz *
4. move services from server[i] to server[i+1%N] and make good backups
5. run dpkg --get-selections > dpkg-sel.txt on server[i]
6. boot knoppix on server[i]
7. cfdisk<nobr> <wbr></nobr>/dev/hda; mount<nobr> <wbr></nobr>/dev/hda1<nobr> <wbr></nobr>/newsarge; cd newsys; tar xvzf<nobr> <wbr></nobr>../sarge-sys.tar.gz
8. reboot and run dpkg --set-selections dpkg-sel.txt; apt-get upgrade
9. import<nobr> <wbr></nobr>/etc and data from backups
10. reinstate services
11. put apt-get update; apt-get -s upgrade in cron.daily

Did you notice how I never mentioned anything about clicking with the mouse.
This is quite possibly the easiest install method ever devised and I used it multiple times with my Woody and OpenBSD servers.
This is of course a rough draft, but the gist of it is to use a single system image replicated to all servers, install using apt-get and tweak<nobr> <wbr></nobr>/etc by hand.

Real Admins install once and replicate.<nobr> <wbr></nobr>;)

#

Return to Review: Debian 3.1