Setup your Mac for local Drupal development free using the super simple Aegir install script
1 OctBrian Gilbert
Aegir allows you to deploy and manage many Drupal sites, and can scale across multiple server clusters, it makes it easy to install, upgrade, and backup an entire network of Drupal sites. Aegir is also really good as a local development stack!
In 2011 over a period of about 3 months I worked on getting Aegir to install and function on a Mac running Lion. I finally succeded in October of that year which resulted in a blog entry with manual setup steps to do so yourself. Since then I've rewritten subsequent posts on how to upgrade the setup for Mountain Lion and how to do a clean install.
Having watched several people follow the steps I noticed that many people ran into issues by accidentally missing a step, and it was extremely difficult for them to debug this themselves, so over a period of about 2 weeks in July I sat down and scripted this entire process and also upgraded it so that it will work on Mavericks which is soon to be released.
If there is anyone with experience writing scripts using expect, please drop me a line as I would like to get to the point where no manual input is required during the running of the script and need some help. That siad this is fully battle tested on my own laptop which is running Mavericks 10.9 and I set up using the script.
This script will work on 10.8.4, 10.8.5, and 10.9.
Step 1: Go to the project page on Github
Step 2: Read the README
The script is really designed for install on a clean machine, but should work if you've never installed any webserver on port 80 or DB service on port 3306. I'd suggest making a Time Machine Backup before running it on your machine (It's a good idea to make one anyway).
Step 3: Install it
Once you've decided to go ahead follow the steps in the Readme to run the install script, and by all means read the script first, it's heavily commented.
Step 4: Aegir should now be installed
Assuming all went well you can now remove the aegir.sh script by typing the following in your terminal. rm ~/aegir.sh
Step 5: Say thanks
Make me feel good for the hard work I've put in to figuring out how to install Aegir on OSX in the first place (It was approximately 3 months of work after all), and now the time scripting the process (around 2 weeks)
note: If you find any issues or want to improve the script please use the project issue queue on Github, I won't be providing support via the comments here.
drupal planetdrupalos xaegirnginxmariadbphp