installing boa on ubuntu 12.04 lts
DESCRIPTION
How to install BOA on a VPS to manage Drupal sites.TRANSCRIPT
Author: Hector Iribarne @hectoriribarne
Installing BOA 2.0.8 (Barracuda Octopus Aegir) on Ubuntu 12.04 LTS public VPS
April 24, 2013
• We have been discussing different ways of installing and/or managing Drupal since July 2011:• Step-by-step installation guide for Aegir 1.2 on clean Ubuntu 10.04
http://browarddrupal.org/PastMeetings/july-2011• Installing Drupal Commerce Kickstart on Shared Hosting
http://browarddrupal.org/PastMeetings/april-2012
• This is an update to the July 2012 Broward Drupal presentation. This will cover how to install BOA 2.0.8 (Barracuda Octopus Aegir) on a clean Ubuntu 12.04 LTS VPS.
• Don’t forget to checkout Omega8cc’s website for the latest BOA news: http://omega8.cc/
@hectoriribarne
Download and install Acquia Dev Desktop:
@hectoriribarne
Option1) Install Drupal locally using Acquia Dev Desktop
Log into cPanel on your shared host, select Fantastico, and install Drupal:
@hectoriribarne
Option 2) Install Drupal on a Shared Host using cPanel/Fantastico
Type three commands on clean Ubuntu 12.04 LTS VPS:
wget -q -U iCab http://files.aegir.cc/versions/BOA.sh.txtbash BOA.sh.txtboa in-stable public server.example.com [email protected] o1 max
THAT’S IT!!!
Note: Items in green italics should be replaced by your specific server, domain, email address, etc.
@hectoriribarne
Option 3) Install BOA on a VPS to manage Drupal
I choose option 3!!!
@hectoriribarne
Which option do you choose?
BOA stands for Barracuda Octopus Aegir.
Barracuda is a bash script to install and/or upgrade, tuned for high performance, the Aegir master instance (i.e. Aegir).
Octopus is a bash script to install and/or upgrade, tuned for high performance, Aegir Satellite Instances (like Commerce Kickstart, Open Public, etc.).
@hectoriribarne
So, what is BOA?
@hectoriribarne
So, why should I use BOA?
BOA will automatically block IP addresses that repeatedly fail root login attempts
@hectoriribarne
BOA automatically blocks root login hack attempts
• All libraries & tools required to install and run Nginx based Aegir system.
• BOA runs backups for all your files and databases daily. All backups are versioned and rotated, so there is always a copy of all your files from the last 3 days (rotated daily). Checkout the following link for details: http://omega8.cc/aegir-and-r1soft-backups-rotation-policy-119
• Autonomous Maintenance & Auto-Healing scripts
• New Relic Server and Apps Monitor with per Site/Instance/Server reporting.
@hectoriribarne
Other things BOA provides
Login to your NewRelic dashboard for an individual site on your server:
@hectoriribarne
NewRelic.com monitors your server for free(Lite version)
You will get a weekly email with stats on each of your sites:
@hectoriribarne
NewRelic.com sends you weekly emails
Droptor is a Drupal module that monitors a site:
@hectoriribarne
Droptor.com is another option for monitoring sites (first site free)
Droptor can monitor memory usage:
@hectoriribarne
Droptor.com has more Drupal specific anlaysis (first site free)
@hectoriribarne
Detailed Installation Instructions
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.)
Add a wildcard (i.e. *) A Record for your domain name (i.e. the main domain on your VPS account).
Wait for the information to get propagated (this can take up to several hours).
Did I mention to wait for the information to get propagated?
@hectoriribarne
Before you run the Barracuda script
Via SSH, login as root
Determine your server ( on Linode, it is part of your prompt. For example, if your prompt is root@li123-456:~# , then your server is li123-456).
@hectoriribarne
Determine the name of your server
@hectoriribarne
Barracuda and Octopus time!
Type three commands at the prompt logged in as root:
wget -q -U iCab http://files.aegir.cc/versions/BOA.sh.txtbash BOA.sh.txtboa in-stable public server.example.com [email protected] o1 max
Note: Items in green italics should be replaced by your specific server, domain, email address, etc. Also using max in the third line will install all Octopus platforms.
See https://github.com/omega8cc/nginx-for-drupal/blob/master/docs/INSTALL.txt for more options:
@hectoriribarne
Other options for installing BOA (locally, on public VPS, etc.)
@hectoriribarne
Voila!
Reference for simple BOA install: https://gist.github.com/2624110
Further information on learning Omega8cc’s BOA:http://groups.drupal.org/node/163784 (BOA Wiki)http://groups.drupal.org/boa (BOA on GDO)http://drupal.org/project/barracuda http://drupal.org/project/octopus
@hectoriribarne
Questions?
@hectoriribarne
Hector IribarneBrowardDrupal.org Co-organizer
http://Iribarne.com/ Twitter: @hectoriribarne