Even though this has been covered I don't know how many times I'm going to give you a break because its Christmas. The postgress server is buggy so you need to use sqlite.
Rel1k has made a outstanding tool called fast-track which will do it all for you. Simply run the script, install all the stuff you need for autopwn and then run with it. Merry Christmas