There are already sites on the net which will scan an IP & check for exploits. This is a lot less of a hassle. Also I would recommend getting two good books on security Hacker Proof is one "even though this do not exist" & the other is Maximum Security.