Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Installing BOA on Ubuntu 12.04 LTS
1. Author: Hector Iribarne @hectoriribarne
Installing BOA 2.0.8 (Barracuda Octopus Aegir)
on Ubuntu 12.04 LTS public VPS
April 24, 2013
2. • 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
3. Download and install Acquia Dev Desktop:
@hectoriribarne
Option1) Install Drupal locally using Acquia Dev Desktop
4. Log into cPanel on your shared host, select Fantastico, and install Drupal:
@hectoriribarne
Option 2) Install Drupal on a Shared Host using
cPanel/Fantastico
5. Type three commands on clean Ubuntu 12.04 LTS VPS:
wget -q -U iCab http://files.aegir.cc/versions/BOA.sh.txt
bash BOA.sh.txt
boa in-stable public server.example.com me@mail.com 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
6. I choose option 3!!!
@hectoriribarne
Which option do you choose?
7. 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?
9. BOA will automatically block IP addresses that repeatedly fail root login attempts
@hectoriribarne
BOA automatically blocks root login hack attempts
10. • 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
11. Login to your NewRelic dashboard for an individual site on your server:
@hectoriribarne
NewRelic.com monitors your server for free(Lite version)
12. You will get a weekly email with stats on each of your sites:
@hectoriribarne
NewRelic.com sends you weekly emails
13. Droptor is a Drupal module that monitors a site:
@hectoriribarne
Droptor.com is another option for monitoring sites (first site
free)
14. Droptor can monitor memory usage:
@hectoriribarne
Droptor.com has more Drupal specific anlaysis (first site
free)
16. 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
17. 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
18. @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.txt
bash BOA.sh.txt
boa in-stable public server.example.com me@mail.com 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.
21. 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