How install Aegir octopus High performance Hostmaster for Drupal

I have tried install BOA-3.0.2 to host my many Drupal sites and I have struggled a lot install it. I am hopping this write up may help someone to have better experience.

This is the description from the smart people who developed this software/script.

BOA is an acronym of high performance Barracuda, Octopus and Aegir LEMP stack.

Includes all-in-one bash scripts (see docs/INSTALL.txt for details) to install
and upgrade high performance Aegir Hosting Systems for Drupal, with Nginx, PHP-FPM, Zend OPcache, MariaDB and Redis.

What is Octopus?

Octopus is the script that installs Aegir that you or a customer will actually use as a hosting platform. It lets you preconfigure it with many Drupal installations

1. start with creating your domain to point to azvox.net and make sure that it propagates. This could take sometime. I found using google public dns (8.8.8.8, 8.8.4.4) may help to do this faster.

Also create these other names into your dns, replace your domain with azvox.net or can create wild dns setup.

master.azvox.net
o1.azvox.net- if don't create it will be called o1.azvox.net
chive.master.azvox.net -MariaDB Manager
cgp.master.azvox.net -Collectd monitering
sqlbuddy.master.azvox.net -SQL Buddy MariaDB Manager

2. Find a supported linux OS and install it on your domain. I used the recommended OS - Debian 8 Jessie

These recommendations came from the doc is here: https://github.com/omega8cc/boa

### SUPPORTED LTS OS {c} please read also: docs/CAVEATS.txt

* Debian 8 Jessie (recommended)
* Debian 7 Wheezy
* Debian 6 Squeeze (easy upgrade to Wheezy with _SQUEEZE_TO_WHEEZY=YES)
* Ubuntu Trusty 14.04 (limited support)
* Ubuntu Precise 12.04 (limited support)

### OTHER REQUIREMENTS

* SSH keys for root are required by newer OpenSSH versions used in BOA.
* Wget must be installed.
* The outgoing TCP connections via ports: 25, 53, 80 and 443 must be open.
* Minimum 1 GB of RAM
* Locales with UTF-8 support, otherwise en_US.UTF-8 (default) is forced.
* Basic sysadmin skills and experience.
* Willingness to accept BOA PI (paranoid idiosyncrasies).

Once finished installation. DO NOT UPDATE PLEASE----------YET

You may have however install wget, mail and nano editor.

$ ssh root@xxx.xx.xx.xxx

For me i run

cd;wget -q -U iCab http://files.aegir.cc/BOA.sh.txt;bash BOA.sh.txt

$ apt-get install wget nano postfix Nano is my favourite editor.

now cd into hosts files make hostname changes in there.

$nano /etc/hosts --you must be root.

ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
xx.xxx.xxx.ip azvox.net azvox master.azvox.net master o1.azvox.net o1
::1 localhost ip6-localhost ip6-loopback

and the rest your domain you have done previously.

At this stage you can create your security keys from your client machine. This is example is for mac or linux but if you're using Windows you do it with putty or whatever shell client that you're using.

cd to your home directory

$ cd ~
$ cd .ssh

then run

$ ssh-keygen -t rsa

$ ls -ll

Your will two files, id_rsa and id_rsa.pub . The RSA.PUB is the one that should open it with nano copy it into its authorized_keys in your server.

$ cat rsa.pub

Than copy the entire content past it into your authorized_keys in your server's .ssh/authorized_keys file.

Note you may have to create these files if they do not exist in your server.

$ mkdir .ssh
$ nano .ssh/authorized_keys
$ cd ~

Test your connection from client- if you cannot connect without a password, you have missed something do it again.

Now download config files Omega8.cc

$ cd;wget -q -U iCab http://files.aegir.cc/BOA.sh.txt;bash BOA.sh.txt
$ BOA.sh.txt

$ wget https://github.com/omega8cc/boa/blob/master/docs/cnf/octopus.cnf
$ wget https://github.com/omega8cc/boa/blob/master/docs/cnf/barracuda.cnf

boa in-stable public yourhost.com youremail@yahoo.co.uk o1

Now make config as desired- please read the docs before configuration

I usually disable dns testing apart from that its straight forward.

Now run this command $ boa in-stable public yourhost.co.uk XXXX@yahoo.co.uk o1

After configuration run download the script from omega8.cc and run it wait till it finished.

Along the way you will be presented with configuration choices answer yes or no depending on your situations.

When finishes successfully it should present you with one time login url.

Running Updates

Do not run apt-get update on your system. There is custom source code and settings. Rather, use the update scripts

barracuda up-stable

and

octopus up-stable all

If Octopus did not install the o1.host.yourhost.com don't panic

Just run again with this command

$ boa in-octopus youremail@yahoo.co.uk o1 stable
You can also install second or third octopus

$ boa in-octopus youremail@yahoo.co.uk o2 stable
$ boa in-octopus youremail@yahoo.co.uk o3 stable and so on so forth

Enjoy. Contact me if you want.

Apache Yahoo News Feed

Drupal Yahoo News

Linux Yahoo News Feed

Mysql Yahoo News Feed