supporting debian machines for friends and family
DESCRIPTION
Hints and tips from an amateur sysadmin. DebConf 10, New York CityTRANSCRIPT
![Page 1: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/1.jpg)
François [email protected]
Supporting Debian machinesfor friends and familyNotes and tricks from an amateur sysadmin
![Page 2: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/2.jpg)
“providing an enjoyablecomputing environmentso that they can fullyexperience the benefitsof Free Software...”
![Page 3: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/3.jpg)
“... without using upall of our preciousspare time”
![Page 4: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/4.jpg)
hardware
![Page 5: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/5.jpg)
package updates
![Page 6: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/6.jpg)
monitoring
![Page 7: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/7.jpg)
safety
![Page 8: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/8.jpg)
security
![Page 9: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/9.jpg)
remote access
![Page 10: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/10.jpg)
backups
![Page 11: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/11.jpg)
example
[ ]
![Page 12: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/12.jpg)
![Page 13: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/13.jpg)
![Page 14: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/14.jpg)
![Page 15: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/15.jpg)
![Page 16: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/16.jpg)
![Page 17: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/17.jpg)
keflavik
![Page 18: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/18.jpg)
![Page 19: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/19.jpg)
![Page 20: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/20.jpg)
akureyri
![Page 21: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/21.jpg)
![Page 22: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/22.jpg)
hardware
[==== ]
![Page 23: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/23.jpg)
![Page 24: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/24.jpg)
![Page 25: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/25.jpg)
package updates
[========= ]
![Page 26: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/26.jpg)
apticron
unattended-upgrades
![Page 27: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/27.jpg)
deborphan
debfoster
![Page 28: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/28.jpg)
monitoring
[============= ]
![Page 29: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/29.jpg)
logcheck
![Page 30: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/30.jpg)
smartmontools
![Page 31: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/31.jpg)
smartmontools mcelog
![Page 32: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/32.jpg)
smartmontools mcelog lm-sensors
![Page 33: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/33.jpg)
$ sar -ALinux 2.6.32-23-generic 2010-07-08 _x86_64_
00:00:01 CPU %usr %nice %sys %iowait %steal %irq %soft %guest %idle00:05:01 0 44,23 1,07 4,20 9,74 0,00 0,19 0,15 0,00 40,4300:15:01 0 40,83 0,18 1,85 0,61 0,00 0,17 0,16 0,00 56,2000:25:01 0 39,14 0,18 2,26 0,68 0,00 0,18 0,15 0,00 57,4100:35:02 0 46,30 4,86 9,16 11,44 0,00 0,22 0,18 0,00 27,8500:45:01 0 43,13 2,19 7,26 6,30 0,00 0,20 0,19 0,00 40,7400:55:01 0 36,73 0,22 2,12 0,75 0,00 0,17 0,17 0,00 59,8301:05:01 0 24,21 9,15 19,56 5,90 0,00 0,25 0,21 0,00 40,7301:15:02 0 1,17 14,03 38,30 11,95 0,00 0,34 0,26 0,00 33,9401:25:02 0 1,22 8,72 22,72 8,75 0,00 0,21 0,20 0,00 58,1901:35:01 0 1,11 0,31 2,19 0,28 0,00 0,05 0,09 0,00 95,9701:45:01 0 1,09 0,25 2,16 0,21 0,00 0,07 0,06 0,00 96,1601:55:01 0 1,03 0,40 2,17 0,23 0,00 0,08 0,05 0,00 96,0402:05:01 0 1,19 1,86 3,28 0,99 0,00 0,07 0,08 0,00 92,5202:15:01 0 1,03 0,28 2,15 0,25 0,00 0,04 0,08 0,00 96,1702:25:01 0 1,13 0,43 2,26 0,27 0,00 0,05 0,08 0,00 95,7802:35:01 0 0,98 0,41 2,09 0,46 0,00 0,05 0,07 0,00 95,9402:45:01 0 1,07 0,25 2,04 0,21 0,00 0,05 0,08 0,00 96,3002:55:01 0 1,01 0,27 2,25 0,24 0,00 0,06 0,06 0,00 96,1103:05:01 0 1,92 2,28 2,76 1,13 0,00 0,07 0,09 0,00 91,7503:15:01 0 1,02 0,26 2,19 0,22 0,00 0,06 0,07 0,00 96,1803:25:01 0 1,12 0,26 2,14 0,27 0,00 0,05 0,10 0,00 96,0503:35:01 0 1,06 0,28 2,34 0,28 0,00 0,06 0,08 0,00 95,9003:45:01 0 1,08 0,26 2,26 0,26 0,00 0,06 0,06 0,00 96,0103:55:01 0 1,06 0,39 2,15 0,22 0,00 0,05 0,08 0,00 96,0504:05:01 0 1,04 1,75 2,70 0,40 0,00 0,07 0,07 0,00 93,9804:15:01 0 1,10 0,30 2,33 0,26 0,00 0,05 0,07 0,00 95,8904:25:01 0 1,09 0,31 2,29 0,21 0,00 0,06 0,07 0,00 95,9804:35:01 0 1,16 9,76 13,21 6,99 0,00 0,19 0,17 0,00 68,5204:45:01 0 1,24 8,53 15,61 8,30 0,00 0,19 0,17 0,00 65,9604:55:01 0 1,01 0,27 2,21 0,21 0,00 0,06 0,07 0,00 96,1605:05:01 0 1,09 1,73 2,61 1,58 0,00 0,06 0,10 0,00 92,8205:15:01 0 1,12 0,25 2,14 0,25 0,00 0,06 0,06 0,00 96,13
systat
![Page 34: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/34.jpg)
safety
[================= ]
![Page 35: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/35.jpg)
molly-guard
![Page 36: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/36.jpg)
safe-rm
$ rm -rf /usr/lib/libfoo.so
![Page 37: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/37.jpg)
safe-rm
$ rm -rf /usr/lib /libfoo.so
![Page 38: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/38.jpg)
safe-rm
$ rm -rf /usr/lib /libfoo.so/bin/rm: cannot remove `/libfoo.so':No such file or directory
![Page 39: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/39.jpg)
safe-rm
$ rm -rf /usr/lib /libfoo.so/bin/rm: cannot remove `/libfoo.so':No such file or directory
$ ls /usr/libls: cannot access /usr/lib: No suchfile or directory
![Page 40: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/40.jpg)
//etc/usr/var/lib...
![Page 41: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/41.jpg)
safe-rm
$ rm -rf /usr/libsafe-rm: skipping /usr/lib
![Page 42: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/42.jpg)
etckeeper
![Page 43: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/43.jpg)
mythtv-status
![Page 44: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/44.jpg)
sl
![Page 45: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/45.jpg)
security
[====================== ]
![Page 46: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/46.jpg)
![Page 47: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/47.jpg)
![Page 48: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/48.jpg)
debsums
![Page 49: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/49.jpg)
fcheck
![Page 50: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/50.jpg)
chkrootkit
checksecurity
![Page 51: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/51.jpg)
rkhunter
tiger
![Page 52: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/52.jpg)
remote access
[========================== ]
![Page 53: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/53.jpg)
iptables
![Page 54: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/54.jpg)
fwknop
![Page 55: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/55.jpg)
fwknop
![Page 56: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/56.jpg)
ipcheck
![Page 57: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/57.jpg)
backups
[============================== ]
![Page 58: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/58.jpg)
1. config files
2. important documents
3. non-critical data
![Page 59: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/59.jpg)
1. config files
duplicity
![Page 60: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/60.jpg)
1. config files
all of /etc
installed packages
Myth TV DB dump
![Page 61: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/61.jpg)
2. important documents
~/documents/safe
emails
bookmarks
![Page 62: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/62.jpg)
3. non-critical data
![Page 63: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/63.jpg)
“giving back”
[================================== ]
![Page 64: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/64.jpg)
popularity-contest
![Page 65: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/65.jpg)
kerneloops
![Page 66: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/66.jpg)
hardware
package updates
monitoring
safety
security
remote access
backups
![Page 67: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/67.jpg)
Photos credits:
blue lagoon: http://www.flickr.com/photos/benhusmann/4467839635/in-flight entertainment: http://www.flickr.com/photos/kalleboo/2473197800/ssd and hdd: http://www.flickr.com/photos/28771658@N03/3377026684/in/photostream/igloo: http://www.flickr.com/photos/zuc123/426508881/canadian flag: http://www.flickr.com/photos/webhamster/2914086018/sheep on road: http://www.flickr.com/photos/flissphil/3600450876/broom: http://www.flickr.com/photos/jrigol/2821450325/intel cpu: http://www.flickr.com/photos/andresrueda/3274875773/thermometer: http://www.flickr.com/photos/andresrueda/3407340937/open harddrive: http://www.flickr.com/photos/uwehermann/2994944961/ram: http://www.flickr.com/photos/detodounpoquito/2481060491/baby hay stack: http://www.flickr.com/photos/nerdcoregirl/2959701240/safe: http://www.flickr.com/photos/pong/288491653/padlock: http://www.flickr.com/photos/shelleygibb/3396463409/tiger: http://www.flickr.com/photos/auburnnewyork/4439937219/old modem: http://www.flickr.com/photos/rexroof/3302978710/red door: http://www.flickr.com/photos/romdos/8846131/dvd on cat: http://www.flickr.com/photos/suzanneandsimon/84038024/uncle sam: http://www.flickr.com/photos/notionscapital/2942067553/new zealand flag: http://www.flickr.com/photos/landed/227929891/
This presentation is © 2010 François Marier and released under theterms of the Creative Commons Attribution Share-Alike 3.0 license
![Page 68: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/68.jpg)
/* TODO */
[===================================]
![Page 69: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/69.jpg)
ECC memory
![Page 70: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/70.jpg)
![Page 71: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/71.jpg)
![Page 72: Supporting Debian machines for friends and family](https://reader034.vdocuments.net/reader034/viewer/2022042521/554be394b4c90556328b48dd/html5/thumbnails/72.jpg)
vnc?
nxproxy?
neatx / freenx?
X over telnet?