Creating a log of all actions, installs, etc
Posted: Thu Aug 07, 2008 3:37 am
I know there is a log file or cache of commands executed at the CLI -- although for the life of me I cannot remember the name...
I am going to be re-installing my development server here with the latest stable release of Debian. I am also going to be applying some additional security changes to the default setup, making the system more secure for online use.
While I have compiled a little chaklist of things to double check, etc...I wonder if there is a way I can log the changes I have made *exactly*?
The only problem with relying on that CLI cache file is that it won't tell me changes I have made to config files, such as postfix, etc. Although many daemons have those helper tools to update details via command prompt...so if I learned those properly...I guess each action would be recorded exactly.
You know what is really neat about that? Is that I could effectively use that cache file to playback and entire setup/configuration so when I switch servers or screw and need a re-install...BAM...no more going through my printed list of things to do...
I suppose one could develop a shell script which pretty much prepared and configured a system to my liking automagically as well.
Which would be the prefered approach? I like the idea of using a shell script because of conditionals...there is no point is setting up postfix twice...
Hmmm...any pointers???
I am going to be re-installing my development server here with the latest stable release of Debian. I am also going to be applying some additional security changes to the default setup, making the system more secure for online use.
While I have compiled a little chaklist of things to double check, etc...I wonder if there is a way I can log the changes I have made *exactly*?
The only problem with relying on that CLI cache file is that it won't tell me changes I have made to config files, such as postfix, etc. Although many daemons have those helper tools to update details via command prompt...so if I learned those properly...I guess each action would be recorded exactly.
You know what is really neat about that? Is that I could effectively use that cache file to playback and entire setup/configuration so when I switch servers or screw and need a re-install...BAM...no more going through my printed list of things to do...
I suppose one could develop a shell script which pretty much prepared and configured a system to my liking automagically as well.
Which would be the prefered approach? I like the idea of using a shell script because of conditionals...there is no point is setting up postfix twice...
Hmmm...any pointers???