SlideShare a Scribd company logo
S
Aegir 0.4 Alpha 5
Use Aegir to generate Multiple Drupal websites
Drupal Camp – Toronto
October 2010
@mindtrades , Email: Vin@mindtrades.com
What is Aegir
S Aegir is a set of Drupal modules that helps you
maintain your Drupal sites.
S Provides you with a simple Drupal based hosting front
end for your entire network of sites
S It deployes the new site as a new node. So to create a
site you need to create a new site node.
History of Aegir
S Aegir was Developed initially by rain city studios and now
the development is headed by development seed. It is
head by Adrian Rossouw
S Adrian is a senior developer at Development Seed. He is
the father of Aegir, a set of contributed modules useful for
hosting and managing huge numbers of Drupal sites.A
Great Contribution to the Community.
Requirement for Aegir
S The instructions are mentioned on install.txt file ,we would go into details of
Architecture
S Your Own Linux server or a VPS ( 512 RAM min) as configuration requires you
to have root permissions.
S System requirement is same as to use Drupal as it is based completely on
Drupal.
S Vps Running Apache.We would work here with Apache 2, But the Script is
compatible with apache 1.x too.It also works well with Nginx
S Php 5.2- As Aegir would use drush, we would require php 5.2 and above
S Mysql would be the database server
S Would require MTA(mail Transfer agent) like Sendmail,postfix. This is required
to send emails when you add new sites.
S Other Utilities like : sudo,git and unzip is required because your script would
get installed directly from git. As a jquery library is used Unzip is essential to
extract
Step-1
S Set up wild card dns for your domain , Enter a new A
Record  eg * A 173.xxx.xxx.xxx
S apt-get install apache2 php5 php5-cli php5-mysql mysql-
server postfix
S apt-get install sudo git-core unzip( to install aegir from
git) Install all the packages Required: The Lamp stack
Step-2- Aegir User
S The provision framework would require script to be run as
non-root user for security and would have all file
permissions to be safe, so we need a non root user here
S adduser --system --group --home /var/aegir aegir
S adduser aegir www-data
This ensures that the file permissions on the hosted sites are always safe
Step-3 Apache Config
S The Rewrite module should be enabled and apache must
be configured to include aegir vhost path to read
configurations
S a2enmod rewrite
S echo "Include /var/aegir/config/vhost.d/" >
/etc/apache2/conf.d/aegir
Step 4-Database Configuration
S Login to mysql -p
S CREATE DATABASE aegir;
S GRANT SELECT, INSERT, UPDATE, DELETE, CREATE,
DROP, INDEX, ALTER, 
S CREATE TEMPORARY TABLES, LOCK TABLES ON
aegir.* TO 
S 'aegir'@'localhost' IDENTIFIED BY ’testing';
Step 5-Install Script
S http://git.aegirproject.org/?p=hostmaster.git;a=blob_plain;f=install.
sh.txt;hb=hostmaster-0.4-alpha5 ( Change the URL for your
domain name )
S su -s /bin/sh aegir –c "sh /var/tmp/install.sh.txt"
S apt-get install php-pear ( Drush broken error)
S pear install Console_Table
S cp /usr/share/php/Console/Table.php
/var/aegir/drush/includes/table.inc
S /etc/init.d/apache2 restart
Download from pear is broken; Critical bug has been submitted, Immediate fix
Is
To install pear console table and copy it into your standard install
Towards Aegir
S Now point your browser to
http://aegir.mindtrades.ca/install.php and proceed
Select Install Profile
DataBase Configuration
Site Configuration
Aegir Configuration
Web Server Settings
aegir ALL=NOPASSWD:
/usr/sbin/apache2ctl
Apache should be restarted every time
a new site is created
Creating Super Admin
S Log in to your mysql server as root, and type in the
following command: mysql -uroot -pXXXXXXXXX
mysql mysql> GRANT ALL PRIVILEGES ON *.* TO
'aegir_root'@'localhost'  IDENTIFIED BY
'mypassword' WITH GRANT OPTION;
To create a super admin provide in order to create new databases
Super Admin
Final Steps
S f you are not logged in as aegir user, log in with
command : su -s /bin/sh aegirNow
S execute the following commands :
S cd /var/aegir/hostmaster-0.4-alpha5
S php /var/aegir/drush/drush.php --
uri=http://platform.mindtrades.ca hosting-setup
Final Steps
Success!
Import Site
Installed
Aegir Dashboard
Create Site
Site Creation
Host Master Profile
The File Structure
Easy Install Script: Barracuda(
By omega8 )
Installing Barracuda (main system and core Aegir instance)
S $ cd; wget http://github.com/omega8cc/nginx-for-
drupal/raw/master/BARRACUDA.sh.txt
S $ cd; nano BARRACUDA.sh.txt (edit your e-mail address)
S $ cd; bash BARRACUDA.sh.txt
Thanks
S Questions
S Email : vin@mindtrades.com
S Twitter: @mindtrades

More Related Content

What's hot

Running OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech Japan
Running OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech JapanRunning OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech Japan
Running OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech Japan
MidoNet
 
Running OpenStack + MidoNet (Using Orizuru)
Running OpenStack + MidoNet (Using Orizuru)Running OpenStack + MidoNet (Using Orizuru)
Running OpenStack + MidoNet (Using Orizuru)
VirtualTech Japan Inc.
 
Hadoop presentation
Hadoop presentationHadoop presentation
Hadoop presentation
MaggieZhang61
 
Ruby on Rails Kickstart 101 & 102
Ruby on Rails Kickstart 101 & 102Ruby on Rails Kickstart 101 & 102
Ruby on Rails Kickstart 101 & 102
Heng-Yi Wu
 
DevOps Days India 2013: Build Radiator on Raspberry Pi
DevOps Days India 2013: Build Radiator on Raspberry PiDevOps Days India 2013: Build Radiator on Raspberry Pi
DevOps Days India 2013: Build Radiator on Raspberry PiAkshay Karle
 
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data EverywhereApache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
Ganesh Raju
 
Cloudera amazon-ec2
Cloudera amazon-ec2Cloudera amazon-ec2
Cloudera amazon-ec2Randy Zwitch
 
Stacki: Disabling Host Firewalls (Tutorial)
Stacki: Disabling Host Firewalls (Tutorial)Stacki: Disabling Host Firewalls (Tutorial)
Stacki: Disabling Host Firewalls (Tutorial)
StackIQ
 
Getting started with automation using ansible
Getting started with automation using ansibleGetting started with automation using ansible
Getting started with automation using ansible
Kelvin Charles
 
Rstudio in aws 16 9
Rstudio in aws 16 9Rstudio in aws 16 9
Rstudio in aws 16 9
Tal Galili
 
Linux for programmers
Linux for programmersLinux for programmers
Linux for programmers
Md. Al Amin
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
Sahil Davawala
 
Why you should be using Aegir: The Drupal-oriented hosting system
Why you should be using Aegir: The Drupal-oriented hosting systemWhy you should be using Aegir: The Drupal-oriented hosting system
Why you should be using Aegir: The Drupal-oriented hosting system
Seth Viebrock
 
Elastic Beanstalk 이용한 Django 배포
Elastic Beanstalk 이용한 Django 배포 Elastic Beanstalk 이용한 Django 배포
Elastic Beanstalk 이용한 Django 배포
Kim SeokYoung
 
How to launch an aws ec2 instance
How to launch an aws ec2 instanceHow to launch an aws ec2 instance
How to launch an aws ec2 instance
Andrea Cirillo
 
Expert Day 2019 - Introduction
Expert Day 2019 - IntroductionExpert Day 2019 - Introduction
Expert Day 2019 - Introduction
SUSE
 
Install Kubernetes Cluster on Azure Platform using kubespray
Install Kubernetes Cluster on Azure Platform using kubesprayInstall Kubernetes Cluster on Azure Platform using kubespray
Install Kubernetes Cluster on Azure Platform using kubespray
VAIBHAV GUPTA
 

What's hot (20)

Running OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech Japan
Running OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech JapanRunning OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech Japan
Running OpenStack and Midonet - Nobuyuki Tamaoki, Virtual Tech Japan
 
Running OpenStack + MidoNet (Using Orizuru)
Running OpenStack + MidoNet (Using Orizuru)Running OpenStack + MidoNet (Using Orizuru)
Running OpenStack + MidoNet (Using Orizuru)
 
Hadoop presentation
Hadoop presentationHadoop presentation
Hadoop presentation
 
Ruby on Rails Kickstart 101 & 102
Ruby on Rails Kickstart 101 & 102Ruby on Rails Kickstart 101 & 102
Ruby on Rails Kickstart 101 & 102
 
DevOps Days India 2013: Build Radiator on Raspberry Pi
DevOps Days India 2013: Build Radiator on Raspberry PiDevOps Days India 2013: Build Radiator on Raspberry Pi
DevOps Days India 2013: Build Radiator on Raspberry Pi
 
Commands
CommandsCommands
Commands
 
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data EverywhereApache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
Apache Bigtop and ARM64 / AArch64 - Empowering Big Data Everywhere
 
Cloudera amazon-ec2
Cloudera amazon-ec2Cloudera amazon-ec2
Cloudera amazon-ec2
 
Stacki: Disabling Host Firewalls (Tutorial)
Stacki: Disabling Host Firewalls (Tutorial)Stacki: Disabling Host Firewalls (Tutorial)
Stacki: Disabling Host Firewalls (Tutorial)
 
Getting started with automation using ansible
Getting started with automation using ansibleGetting started with automation using ansible
Getting started with automation using ansible
 
Rstudio in aws 16 9
Rstudio in aws 16 9Rstudio in aws 16 9
Rstudio in aws 16 9
 
Linux for programmers
Linux for programmersLinux for programmers
Linux for programmers
 
SoftLayer-demoLabV3
SoftLayer-demoLabV3SoftLayer-demoLabV3
SoftLayer-demoLabV3
 
Como instalar aeroo en open erp 6
Como instalar aeroo en open erp 6Como instalar aeroo en open erp 6
Como instalar aeroo en open erp 6
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
 
Why you should be using Aegir: The Drupal-oriented hosting system
Why you should be using Aegir: The Drupal-oriented hosting systemWhy you should be using Aegir: The Drupal-oriented hosting system
Why you should be using Aegir: The Drupal-oriented hosting system
 
Elastic Beanstalk 이용한 Django 배포
Elastic Beanstalk 이용한 Django 배포 Elastic Beanstalk 이용한 Django 배포
Elastic Beanstalk 이용한 Django 배포
 
How to launch an aws ec2 instance
How to launch an aws ec2 instanceHow to launch an aws ec2 instance
How to launch an aws ec2 instance
 
Expert Day 2019 - Introduction
Expert Day 2019 - IntroductionExpert Day 2019 - Introduction
Expert Day 2019 - Introduction
 
Install Kubernetes Cluster on Azure Platform using kubespray
Install Kubernetes Cluster on Azure Platform using kubesprayInstall Kubernetes Cluster on Azure Platform using kubespray
Install Kubernetes Cluster on Azure Platform using kubespray
 

Similar to Aegir presentation

Aegir. развертывание и управление большой сетью drupal сайтов
Aegir. развертывание и управление большой сетью drupal сайтовAegir. развертывание и управление большой сетью drupal сайтов
Aegir. развертывание и управление большой сетью drupal сайтовDrupalCamp Kyiv Рысь
 
Aegir presentation
Aegir presentation Aegir presentation
Aegir presentation
Aleksey Tkachenko
 
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
Leo Lorieri
 
How To Install GitLab As Your Private GitHub Clone
How To Install GitLab As Your Private GitHub CloneHow To Install GitLab As Your Private GitHub Clone
How To Install GitLab As Your Private GitHub Clone
VEXXHOST Private Cloud
 
Website releases made easy with the PEAR installer, OSCON 2009
Website releases made easy with the PEAR installer, OSCON 2009Website releases made easy with the PEAR installer, OSCON 2009
Website releases made easy with the PEAR installer, OSCON 2009Helgi Þormar Þorbjörnsson
 
Python Deployment with Fabric
Python Deployment with FabricPython Deployment with Fabric
Python Deployment with Fabricandymccurdy
 
How to create a secured cloudera cluster
How to create a secured cloudera clusterHow to create a secured cloudera cluster
How to create a secured cloudera cluster
Tiago Simões
 
Making Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch FixMaking Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch Fix
Diana Tkachenko
 
"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii Shumada"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii Shumada
Fwdays
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorial
Dru Lavigne
 
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and BeyondDrupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
DrupalDay
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
Vicent Selfa
 
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHPHands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
Dana Luther
 
PHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source ProjectPHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source Project
xsist10
 
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuis Rodríguez Castromil
 
Creation of Own Cloud
Creation of Own Cloud Creation of Own Cloud
Creation of Own Cloud
Mohammed Adam
 
Introduction to JumpStart
Introduction to JumpStartIntroduction to JumpStart
Introduction to JumpStart
Scott McDermott
 
Installation Of Odoo 12 On Ubuntu 18.4
Installation Of Odoo 12 On Ubuntu 18.4Installation Of Odoo 12 On Ubuntu 18.4
Installation Of Odoo 12 On Ubuntu 18.4
Varsha Technaureus
 
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web ApplicationNull bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Anant Shrivastava
 

Similar to Aegir presentation (20)

Aegir. развертывание и управление большой сетью drupal сайтов
Aegir. развертывание и управление большой сетью drupal сайтовAegir. развертывание и управление большой сетью drupal сайтов
Aegir. развертывание и управление большой сетью drupal сайтов
 
Aegir presentation
Aegir presentation Aegir presentation
Aegir presentation
 
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
 
How To Install GitLab As Your Private GitHub Clone
How To Install GitLab As Your Private GitHub CloneHow To Install GitLab As Your Private GitHub Clone
How To Install GitLab As Your Private GitHub Clone
 
Website releases made easy with the PEAR installer, OSCON 2009
Website releases made easy with the PEAR installer, OSCON 2009Website releases made easy with the PEAR installer, OSCON 2009
Website releases made easy with the PEAR installer, OSCON 2009
 
Python Deployment with Fabric
Python Deployment with FabricPython Deployment with Fabric
Python Deployment with Fabric
 
How to create a secured cloudera cluster
How to create a secured cloudera clusterHow to create a secured cloudera cluster
How to create a secured cloudera cluster
 
Making Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch FixMaking Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch Fix
 
"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii Shumada"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii Shumada
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorial
 
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and BeyondDrupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
Drupal Day 2012 - Automating Drupal Development: Make!les, Features and Beyond
 
Freeradius edir
Freeradius edirFreeradius edir
Freeradius edir
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
 
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHPHands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
 
PHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source ProjectPHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source Project
 
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
 
Creation of Own Cloud
Creation of Own Cloud Creation of Own Cloud
Creation of Own Cloud
 
Introduction to JumpStart
Introduction to JumpStartIntroduction to JumpStart
Introduction to JumpStart
 
Installation Of Odoo 12 On Ubuntu 18.4
Installation Of Odoo 12 On Ubuntu 18.4Installation Of Odoo 12 On Ubuntu 18.4
Installation Of Odoo 12 On Ubuntu 18.4
 
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web ApplicationNull bhopal Sep 2016: What it Takes to Secure a Web Application
Null bhopal Sep 2016: What it Takes to Secure a Web Application
 

Recently uploaded

National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 

Recently uploaded (20)

National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 

Aegir presentation

  • 1. S Aegir 0.4 Alpha 5 Use Aegir to generate Multiple Drupal websites Drupal Camp – Toronto October 2010 @mindtrades , Email: Vin@mindtrades.com
  • 2. What is Aegir S Aegir is a set of Drupal modules that helps you maintain your Drupal sites. S Provides you with a simple Drupal based hosting front end for your entire network of sites S It deployes the new site as a new node. So to create a site you need to create a new site node.
  • 3. History of Aegir S Aegir was Developed initially by rain city studios and now the development is headed by development seed. It is head by Adrian Rossouw S Adrian is a senior developer at Development Seed. He is the father of Aegir, a set of contributed modules useful for hosting and managing huge numbers of Drupal sites.A Great Contribution to the Community.
  • 4. Requirement for Aegir S The instructions are mentioned on install.txt file ,we would go into details of Architecture S Your Own Linux server or a VPS ( 512 RAM min) as configuration requires you to have root permissions. S System requirement is same as to use Drupal as it is based completely on Drupal. S Vps Running Apache.We would work here with Apache 2, But the Script is compatible with apache 1.x too.It also works well with Nginx S Php 5.2- As Aegir would use drush, we would require php 5.2 and above S Mysql would be the database server S Would require MTA(mail Transfer agent) like Sendmail,postfix. This is required to send emails when you add new sites. S Other Utilities like : sudo,git and unzip is required because your script would get installed directly from git. As a jquery library is used Unzip is essential to extract
  • 5. Step-1 S Set up wild card dns for your domain , Enter a new A Record  eg * A 173.xxx.xxx.xxx S apt-get install apache2 php5 php5-cli php5-mysql mysql- server postfix S apt-get install sudo git-core unzip( to install aegir from git) Install all the packages Required: The Lamp stack
  • 6. Step-2- Aegir User S The provision framework would require script to be run as non-root user for security and would have all file permissions to be safe, so we need a non root user here S adduser --system --group --home /var/aegir aegir S adduser aegir www-data This ensures that the file permissions on the hosted sites are always safe
  • 7. Step-3 Apache Config S The Rewrite module should be enabled and apache must be configured to include aegir vhost path to read configurations S a2enmod rewrite S echo "Include /var/aegir/config/vhost.d/" > /etc/apache2/conf.d/aegir
  • 8. Step 4-Database Configuration S Login to mysql -p S CREATE DATABASE aegir; S GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, S CREATE TEMPORARY TABLES, LOCK TABLES ON aegir.* TO S 'aegir'@'localhost' IDENTIFIED BY ’testing';
  • 9. Step 5-Install Script S http://git.aegirproject.org/?p=hostmaster.git;a=blob_plain;f=install. sh.txt;hb=hostmaster-0.4-alpha5 ( Change the URL for your domain name ) S su -s /bin/sh aegir –c "sh /var/tmp/install.sh.txt" S apt-get install php-pear ( Drush broken error) S pear install Console_Table S cp /usr/share/php/Console/Table.php /var/aegir/drush/includes/table.inc S /etc/init.d/apache2 restart Download from pear is broken; Critical bug has been submitted, Immediate fix Is To install pear console table and copy it into your standard install
  • 10. Towards Aegir S Now point your browser to http://aegir.mindtrades.ca/install.php and proceed
  • 15. Web Server Settings aegir ALL=NOPASSWD: /usr/sbin/apache2ctl Apache should be restarted every time a new site is created
  • 16. Creating Super Admin S Log in to your mysql server as root, and type in the following command: mysql -uroot -pXXXXXXXXX mysql mysql> GRANT ALL PRIVILEGES ON *.* TO 'aegir_root'@'localhost' IDENTIFIED BY 'mypassword' WITH GRANT OPTION; To create a super admin provide in order to create new databases
  • 18. Final Steps S f you are not logged in as aegir user, log in with command : su -s /bin/sh aegirNow S execute the following commands : S cd /var/aegir/hostmaster-0.4-alpha5 S php /var/aegir/drush/drush.php -- uri=http://platform.mindtrades.ca hosting-setup
  • 28. Easy Install Script: Barracuda( By omega8 ) Installing Barracuda (main system and core Aegir instance) S $ cd; wget http://github.com/omega8cc/nginx-for- drupal/raw/master/BARRACUDA.sh.txt S $ cd; nano BARRACUDA.sh.txt (edit your e-mail address) S $ cd; bash BARRACUDA.sh.txt
  • 29. Thanks S Questions S Email : vin@mindtrades.com S Twitter: @mindtrades