I posted that exact same answer on StackOverflow once, when somebody asked about how to "harden a server".
Next question - how to “wipe a server?”.