I think I'd like to write (for fairly perverse reasons) a script that will setup something like this on a CentOS server:
- Got CentOS?
- Got root?
- Update CentOS
- Set hostname, timezone etc
- Install Apache, MySQL, PHP, ImageMagick, S3cmd, Git etc.
- Setup Git with Apache user and pull from github / bitbucket to /var/www/html/
- Pull MySQL from Amazon S3 (if we can?)
- Setup CRON: MySQL nightlies, File nightlies
- Add system user(s)
- Setup firewall
Probably going to use this lovely gist as an excellent starting point:
https://gist.github.com/2123030
This for adding domains