BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Reading Linux book
- Subject: [Discuss] Reading Linux book
- From: dbarrett at blazemonger.com (Daniel Barrett)
- Date: Thu, 27 Mar 2014 12:28:50 -0400
- References: <53343FE2.3070307@borg.org>
On March 27, 2014, Kent Borg wrote: >... I always maintain a file called adminlog.txt. It is my notes, an >old fashioned journal with dated entries of what I do to the OS. If I >need to reproduce my config, I can "replay" this journal. Another idea along these lines: I maintain a separate file tree, /usr/local/src, that contains copies of the OS files I have modified. By keeping this sparse tree under subversion control, I can see a complete history of the OS changes I've made at any time and recall/revert changes pretty earily. I've migrated even from one distro to another pretty manageably this way. To make things easier, I also wrote a script "srccopy" that, when run within the /usr/local/src tree, emits "cp" commands to make life easier. $ pwd /usr/local/src/etc/init.d $ srccopy rc.local cp /etc/init.d/rc.local rc.local # echoed to stdout $ srccopy rc.local | bash $ svn st M rc.local $ svn commit -m"updated rc.local" I also wrote a checker script that diffs the contents of /usr/local/src against the installed OS files, and it runs nightly. Works well for me. Or you could use Puppet.... -- Dan Barrett dbarrett at blazemonger.com
- Follow-Ups:
- [Discuss] Reading Linux book
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] Reading Linux book
- References:
- [Discuss] Reading Linux book
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Reading Linux book
- Prev by Date: [Discuss] Linux file systems
- Next by Date: [Discuss] Reading Linux book
- Previous by thread: [Discuss] Reading Linux book
- Next by thread: [Discuss] Reading Linux book
- Index(es):