Re:How I spend my first 5 minutes on a server
by corin_ on Sunday March 03, 2013 @10:05PM
(#5316336)
A personal script, focuses more on getting a server ready for my preferences than it does on security: http://pastie.org/pastes/6376503/text
Here's something I wrote very quickly (bash script): https://github.com/vahek/vSetup
It does most of the stuff mentioned in the post, however doesn't setup automatic updates or Logwatch.
Re:How I spend my first 5 minutes on a server
by harshreality on Monday March 04, 2013 @12:09AM
(#5316756)
(to both corin and vahe): That kind of shell scripting is the horrorshow that motivated configuration management tools* in the first place. Shell scripts require a lot of added complexity to manage multiple heterogeneous servers, or to be idempotent.
* Puppet, Chef, Ansible, Salt, CFEngine, etc.
Does anyone have good reusable Puppet (or bash scripts) published that they use on all new servers?