This script is based of 21Andy’s work, and Lowendbox’s work.
Please note that this script has been deprecated in favor of Xeoncross’s updated Lowendscript. This post remains here just for historical purposes.
Link: https://github.com/Xeoncross/lowendscript
The main differences compared to Andy’s and Lowendbox’s work are:
PHP 5.3 vs 5.2
Nginx 0.7 vs 0.6
MySQL 5.1 vs 5.0
Cleaner repos (for those Debian templates with broken repositories)
To run this script, enter in:
wget http://www.putdispenserhere.com/wp-content/uploads/setup-cheap-debian.sh bash setup-cheap-debian.sh
Afterward, run this to setup WordPress:
bash setup-debian.sh wordpress blog.example.com
Make sure you change blog.example.com to match your domain.