Scripting the Install

After going through many test installs of Wikidot V1 trying to get it right, I learned enough about bash scripting to automate the install process on an Ubuntu server.
It might help others who want to install Wikidot to be less intimidated by the "manual" steps. I'm an admitted novice with this stuff, but thought someone with better scripting skills may be able to take what I've done and get it down to one script (from 3 that I used) and really simplify it.
See The Easier Wikidot Home Network Install on Wikidot.org.
Any takers?
-Ed