I have been trying to get away from hosting Drupal on shared hosting, so I have been investigating the best way to setup Drupal on a VPS.
Two months ago, I attended the Palm Beach Drupal meetup ( http://PalmBeachDrupal.org ) and I put this question to John Studdard of http://BigCouchMedia.com and he recommended using Aegir.
John was even nice enough to get us started by sharing the scripts he uses to set up his server. I have now been using those base scripts to set up Aegir 1.2 on a Ubuntu 10.04 LTS 64-bit VPS server. I am using Linode and Mark Stahlbaum has been using the scripts and giving me feedback on his Rackspace server.
I also used the blog posts from Victor Kane http://awebfactory.com.ar
I got help from mig5 on IRC: #drupal-aegir irc://irc.freenode.net/aegir
The slides in this presentation are ‘A’ way to install Aegir 1.2. ‘The’ way is documented in detail at http://community.aegirproject.org/
Also, I want to thank fellow Broward Drupal members Chris Parsons ( http://www.chris-parsons.com/ ) for reviewing the slides and giving feedback, and Jay Epstein ( http://www.jay-epstein.com/ ) for creating the great logo for Broward Drupal, which is on every slide in this presentation.
Go to your domain name host (i.e. DomainHost.com ) and point your main domain name (i.e. example.com ) to the name servers of your host (e.g. ns1.linode.com, ns2.linode.com or dns1.stabletransit.com, dns2.stabletransit.com, etc.) Wait about 2 hours for the change to take effect, although sometimes it can be a little longer.
Add A records for aegir and servername . You may also want to add one for mail and www, if you don't already have one
After waiting the appropriate time. Do a whois on your domain name to make sure it is pointing to the name servers you set up. You should not process with installing aegir unless your name servers are set up for your domain
Login as root to your server so we can begin typing in the commands in the continuing slides
Install Postfix mail transfer agent that routes and delivers mail ( 1) General type of mail configuration = Internet Site, 2) servername.example.com ).
sudo apt-get install postfix
Configure Postfix ( 1) General type of mail configuration = Internet Site, 2) servername.example.com , 3) left blank, 4) leave list of defaults, 5) No forced synchronous updates, 6) network blocks leave default, 7) mailbox file limit left at 0, 8) left + default value, 9) ipv4).
For more details on configuring Postfix, see https://help.ubuntu.com/community/Postfix
sudo dpkg-reconfigure postfix
Install build-essential for building debian packages. (More info can be found at http://packages.ubuntu.com/lucid/build-essential )
Execute automatic Aegir install (1) domain for aegir - aegir. example.com , 2) enter a database password. After Aegir installs, it will provide you with a one time login where you will have to change your password for aegir. example.com . Also, when creating the admin user after you go to the one time login, type in a valid email address. )
http://BrowardDrupal.org/ Twitter: @BrowardDrupal http://www.meetup.com/broward-drupal/ http://groups.drupal.org/broward-drupal Also, checkout other user groups in Florida: http://groups.drupal.org/florida The slides for this presentation are posted on the July 2011 Broward Drupal meetup