SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Downloaden Sie, um offline zu lesen
Author: Hector Iribarne @hectoriribarne
•What is Aegir?1
•Installing Aegir on
clean Linux Ubuntu
2
•Post install Aegir
Basics
3
Let's get started . . .
What is Aegir?
A hosting platform for deploying, managing and maintaining Drupal sites
(Drupal 6, Drupal 7, etc)
Makes it easy to install Drupal distributions (e.g. Managing News, Open
Publish, Commons, etc.)
Uses Drush for backend functionality
Installs directly on clean Linux install at aegir.example.com
Aegir can manage local and remote servers
Current version is Aegir 1.4, which is Drupal 6 based
Future Aegir 2.0 will be based on Drupal 7
Support on IRC: #drupal-aegir irc://irc.freenode.net/aegir
@hectoriribarne
Step-by-step Installation
Installing Aegir on
Linux Ubuntu
10.04 LTS
Italics means that you will have to use your information in place of the
italics
servername = the name of your server (e.g. linode12345, or
whatever you name it)
IPaddress = the public IP of your server
example.com = your domain name
DomainHost.com = your domain name host (e.g. godaddy.com, etc.)
VPShost.com = the domain of your VPS host (e.g. linode.com,
rackspace.com, etc.)
Linux commands are in blue.
Text inside files is in green.
Pay extra attention to text in red.
@hectoriribarne
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.) Wait about 2 hours for the change to take
effect, although sometimes it can be a little longer.
Add A records for aegir and servername. You may also want to add one
for mail and www, if you don't already have one
After waiting the appropriate time. Do a whois on your domain name to
make sure it is pointing to the name servers you set up. You should not
process with installing aegir unless your name servers are set up for your
domain
Login as root to your server so we can begin typing in the commands in
the continuing slides
@hectoriribarne
Update your linux distribution
apt-get update
apt-get upgrade
Update your FQDN (fully qualified domain name)
/bin/hostname servername.example.com
echo servername.example.com > /etc/hostname
REBOOT YOUR SERVER
Install LAMP server (You will be asked to enter a mysql database password)
sudo apt-get install lamp-server^
Edit your hosts file
sudo nano /etc/hosts
While editing your hosts file, add the following line:
IPaddress servername.example.com servername
@hectoriribarne
Enable ssl (Don't restart apache at this time. Wait until later when you will
be told to do so in the slides)
a2enmod ssl
Enable rewrite, headers and expires modules
a2enmod rewrite
a2enmod headers
a2enmod expires
Enable mod_status
sudo nano /etc/apache2/httpd.conf
While editing your httpd.conf file, add the following lines:
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Location>
@hectoriribarne
Install Apachetop to monitor Apache (More information can be found at
http://packages.ubuntu.com/lucid/apachetop)
sudo apt-get install apachetop
Update the apache2.conf file (don’t forget to change servername below)
sudo nano /etc/apache2/apache2.conf
While editing your httpd.conf file, add the following lines at the end:
# Caching & cache headers
<IfModule mod_headers.c>
ExpiresActive On
ExpiresDefault "access plus 300 seconds"
ExpiresByType text/html "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 day"
</IfModule>
# 6 HOURS
<FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4)$">
Header set Cache-Control "public"
Header set Cache-Control "max-age=21600"
Header unset Last-Modified
</FilesMatch>
# 2 HOURS
<FilesMatch ".(html|htm|xml|txt|xsl|js|css)$">
Header set Cache-Control "max-age=7200, must-revalidate"
</FilesMatch>
ServerName servername
@hectoriribarne
Finally! : Restart Apache
/etc/init.d/apache2 restart
Install mytop for monitoring MySQL databases (More information can be found at
http://packages.ubuntu.com/lucid/mytop)
aptitude install mytop
Install phpmyadmin to administer MySQL databases (1) Choose apache2 webserver,
2) Configure database for phpmyadmin with dbconfig-common = yes, 3) Enter password for database)
sudo apt-get install phpmyadmin
Install PHP command line interface
sudo apt-get install php5-cli
Remove deprecated hash and change it to a semicolon
sudo nano /etc/php5/cli/conf.d/mcrypt.ini
Edit mcrypt.ini file and change # to ;
; configuration for php MCrypt module
@hectoriribarne
Install PHP libraries and scripting capabilities
sudo aptitude update
sudo aptitude install libssh2-1-dev libssh2-php
sudo apt-get install php-pear php5-curl php5-dev php5-gd
Install PECL PHP Extension Community Library (at the cursor, hit enter)
pecl install -f ssh2
Some more PHP configs
echo 'extension=ssh2.so' > /etc/php5/conf.d/ssh2.ini
sudo apt-get update
sudo apt-get install php-apc
echo 'extension=apc.so' > /etc/php5/conf.d/apc.ini
sudo apt-get install rsync
sudo pecl install uploadprogress
echo 'extension=uploadprogress.so' > /etc/php5/conf.d/uploadprogress.ini
@hectoriribarne
Again: Restart Apache
/etc/init.d/apache2 restart
Install Postfix mail transfer agent that routes and delivers mail ( 1)
General type of mail configuration = Internet Site, 2) servername.example.com ).
sudo apt-get install postfix
Configure Postfix ( 1) General type of mail configuration = Internet Site, 2)servername.example.com
, 3) left blank, 4) leave list of defaults, 5) No forced synchronous updates, 6) network blocks leave default,
7) mailbox file limit left at 0, 8) left + default value, 9) ipv4).
For more details on configuring Postfix, see https://help.ubuntu.com/community/Postfix
sudo dpkg-reconfigure postfix
Install build-essential for building debian packages. (More info can be found
at http://packages.ubuntu.com/lucid/build-essential)
sudo aptitude install build-essential
@hectoriribarne
Edit Apache PHP Resource Limits
sudo nano /etc/php5/apache2/php.ini
Update to the following (keep in mind that the memory limit can be set
higher depending on the amount of memory on your server)
max_execution_time = 300
max_input_time = 300
memory_limit = 128M
Edit PHP command line interface Resource Limits
sudo nano /etc/php5/cli/php.ini
Update to the following (keep in mind that the memory limit can be set
higher depending on the amount of memory on your server)
max_execution_time = 300
max_input_time = 300
memory_limit = 192M
@hectoriribarne
Install Git
apt-get update
sudo apt-get install git-core
Create and configure Aegir user
ln -s /var/aegir/config/apache.conf /etc/apache2/conf.d/aegir.conf
useradd -r -U -d /var/aegir -m -G www-data aegir
echo 'aegir ALL=NOPASSWD: /usr/sbin/apache2ctl' >> /etc/sudoers
Obtain Key for installing Aegir
echo "deb http://debian.koumbit.net/debian stable main" > /etc/apt/sources.list.d/koumbit-stable.list
wget http://debian.koumbit.net/debian/key.asc
apt-key add key.asc
apt-get update
Install latest stable version of Drush
wget http://mirror.pnl.gov/ubuntu//pool/universe/d/drush/drush_4.4-1_all.deb
dpkg -i drush_4.4-1_all.deb
@hectoriribarne
@hectoriribarne
Aegir is installed . . .
Now what?
Execute automatic Aegir install (1) domain for aegir - aegir.example.com, 2) enter a database
password. After Aegir installs, it will provide you with a one time login where you will have to change your
password for aegir.example.com )
apt-get install aegir
Login as the Aegir user
su -s /bin/sh aegir
Change to the Aegir directory
cd /var/aegir/platforms
ls –al
Download the latest version of Drupal
drush dl
@hectoriribarne
@hectoriribarne
Community Aegir site:
http://community.aegirproject.org/
http://community.aegirproject.org/installing/debian
Presentation from John Studdard:
http://www.slideshare.net/jpstuddard/aegir-overview-florida-drupal-
camp-2011
Videos from mig5 on installing Aegir
http://vimeo.com/17131725
http://vimeo.com/groups/webdesigntuts/videos/9127281
Blog posts from Victor Kane:
http://awebfactory.com.ar/node/427
http://awebfactory.com.ar/node/444
@hectoriribarne
Questions?
@hectoriribarne
Hector Iribarne
Twitter: @hectoriribarne

Weitere ähnliche Inhalte

Was ist angesagt?

How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMPHow To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMPMatt Dunlap
 
How to Become Cloud Backup Provider
How to Become Cloud Backup ProviderHow to Become Cloud Backup Provider
How to Become Cloud Backup ProviderCloudian
 
Hadoop single cluster installation
Hadoop single cluster installationHadoop single cluster installation
Hadoop single cluster installationMinh Tran
 
Build your own secure mail server on the cloud using Amazon Web Services
Build your own secure mail server on the cloud using Amazon Web ServicesBuild your own secure mail server on the cloud using Amazon Web Services
Build your own secure mail server on the cloud using Amazon Web Servicesponukumatla joel nishanth
 
Installation of Subversion on Ubuntu,...
Installation of Subversion on Ubuntu,...Installation of Subversion on Ubuntu,...
Installation of Subversion on Ubuntu,...wensheng wei
 
How to scheduled jobs in a cloudera cluster without oozie
How to scheduled jobs in a cloudera cluster without oozieHow to scheduled jobs in a cloudera cluster without oozie
How to scheduled jobs in a cloudera cluster without oozieTiago Simões
 
Multinode kubernetes-cluster
Multinode kubernetes-clusterMultinode kubernetes-cluster
Multinode kubernetes-clusterRam Nath
 
Hadoop Cluster - Basic OS Setup Insights
Hadoop Cluster - Basic OS Setup InsightsHadoop Cluster - Basic OS Setup Insights
Hadoop Cluster - Basic OS Setup InsightsSruthi Kumar Annamnidu
 
How to create a multi tenancy for an interactive data analysis with jupyter h...
How to create a multi tenancy for an interactive data analysis with jupyter h...How to create a multi tenancy for an interactive data analysis with jupyter h...
How to create a multi tenancy for an interactive data analysis with jupyter h...Tiago Simões
 
Kubernetes installation
Kubernetes installationKubernetes installation
Kubernetes installationAhmed Mekawy
 
How to configure a hive high availability connection with zeppelin
How to configure a hive high availability connection with zeppelinHow to configure a hive high availability connection with zeppelin
How to configure a hive high availability connection with zeppelinTiago Simões
 
Hadoop single node setup
Hadoop single node setupHadoop single node setup
Hadoop single node setupMohammad_Tariq
 
An example Hadoop Install
An example Hadoop InstallAn example Hadoop Install
An example Hadoop InstallMike Frampton
 
How to become cloud backup provider
How to become cloud backup providerHow to become cloud backup provider
How to become cloud backup providerCLOUDIAN KK
 
Squid proxy-configuration-guide
Squid proxy-configuration-guideSquid proxy-configuration-guide
Squid proxy-configuration-guidejasembo
 
Deployment with Fabric
Deployment with FabricDeployment with Fabric
Deployment with Fabricandymccurdy
 

Was ist angesagt? (19)

How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMPHow To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
 
How to Become Cloud Backup Provider
How to Become Cloud Backup ProviderHow to Become Cloud Backup Provider
How to Become Cloud Backup Provider
 
Hadoop single cluster installation
Hadoop single cluster installationHadoop single cluster installation
Hadoop single cluster installation
 
Build your own secure mail server on the cloud using Amazon Web Services
Build your own secure mail server on the cloud using Amazon Web ServicesBuild your own secure mail server on the cloud using Amazon Web Services
Build your own secure mail server on the cloud using Amazon Web Services
 
Installation of Subversion on Ubuntu,...
Installation of Subversion on Ubuntu,...Installation of Subversion on Ubuntu,...
Installation of Subversion on Ubuntu,...
 
How to scheduled jobs in a cloudera cluster without oozie
How to scheduled jobs in a cloudera cluster without oozieHow to scheduled jobs in a cloudera cluster without oozie
How to scheduled jobs in a cloudera cluster without oozie
 
Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9
 
Multinode kubernetes-cluster
Multinode kubernetes-clusterMultinode kubernetes-cluster
Multinode kubernetes-cluster
 
Hadoop Cluster - Basic OS Setup Insights
Hadoop Cluster - Basic OS Setup InsightsHadoop Cluster - Basic OS Setup Insights
Hadoop Cluster - Basic OS Setup Insights
 
How to create a multi tenancy for an interactive data analysis with jupyter h...
How to create a multi tenancy for an interactive data analysis with jupyter h...How to create a multi tenancy for an interactive data analysis with jupyter h...
How to create a multi tenancy for an interactive data analysis with jupyter h...
 
Kubernetes installation
Kubernetes installationKubernetes installation
Kubernetes installation
 
How to configure a hive high availability connection with zeppelin
How to configure a hive high availability connection with zeppelinHow to configure a hive high availability connection with zeppelin
How to configure a hive high availability connection with zeppelin
 
Hadoop single node setup
Hadoop single node setupHadoop single node setup
Hadoop single node setup
 
An example Hadoop Install
An example Hadoop InstallAn example Hadoop Install
An example Hadoop Install
 
Refcard en-a4
Refcard en-a4Refcard en-a4
Refcard en-a4
 
How to become cloud backup provider
How to become cloud backup providerHow to become cloud backup provider
How to become cloud backup provider
 
Apache1.ppt
Apache1.pptApache1.ppt
Apache1.ppt
 
Squid proxy-configuration-guide
Squid proxy-configuration-guideSquid proxy-configuration-guide
Squid proxy-configuration-guide
 
Deployment with Fabric
Deployment with FabricDeployment with Fabric
Deployment with Fabric
 

Ähnlich wie Aegir Platform Installation Guide

Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linuxVicent Selfa
 
Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2benjaminwootton
 
Wordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccionWordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccionSysdig
 
Aegir presentation
Aegir presentationAegir presentation
Aegir presentationMindtrades
 
Python Deployment with Fabric
Python Deployment with FabricPython Deployment with Fabric
Python Deployment with Fabricandymccurdy
 
AEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAndrew Khoury
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stackRootGate
 
How to manage Microsoft Azure with open source
How to manage Microsoft Azure with open sourceHow to manage Microsoft Azure with open source
How to manage Microsoft Azure with open sourceTaehee Jang
 
WordPress At Scale. WordCamp Dhaka 2019
WordPress At Scale. WordCamp Dhaka 2019WordPress At Scale. WordCamp Dhaka 2019
WordPress At Scale. WordCamp Dhaka 2019Anam Ahmed
 
Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsDrupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsAndrii Lundiak
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentationJohn Lynch
 
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context ConstraintsAlessandro Arrichiello
 

Ähnlich wie Aegir Platform Installation Guide (20)

Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
 
Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2
 
Wordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccionWordpress y Docker, de desarrollo a produccion
Wordpress y Docker, de desarrollo a produccion
 
Aegir presentation
Aegir presentationAegir presentation
Aegir presentation
 
Network Manual
Network ManualNetwork Manual
Network Manual
 
Python Deployment with Fabric
Python Deployment with FabricPython Deployment with Fabric
Python Deployment with Fabric
 
AEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser Caching
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
 
How to manage Azure with open source
How to manage Azure with open sourceHow to manage Azure with open source
How to manage Azure with open source
 
How to manage Microsoft Azure with open source
How to manage Microsoft Azure with open sourceHow to manage Microsoft Azure with open source
How to manage Microsoft Azure with open source
 
Apache
ApacheApache
Apache
 
Apache
ApacheApache
Apache
 
Apache
ApacheApache
Apache
 
WordPress At Scale. WordCamp Dhaka 2019
WordPress At Scale. WordCamp Dhaka 2019WordPress At Scale. WordCamp Dhaka 2019
WordPress At Scale. WordCamp Dhaka 2019
 
Dc kyiv2010 jun_08
Dc kyiv2010 jun_08Dc kyiv2010 jun_08
Dc kyiv2010 jun_08
 
Drupal Deployment Troubles and Problems
Drupal Deployment Troubles and ProblemsDrupal Deployment Troubles and Problems
Drupal Deployment Troubles and Problems
 
Ubuntu vps setup
Ubuntu vps setupUbuntu vps setup
Ubuntu vps setup
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
 
Xen time machine
Xen time machineXen time machine
Xen time machine
 

Mehr von Hector Iribarne

Content migration - CSV to Drupal 8
Content migration -  CSV to Drupal 8Content migration -  CSV to Drupal 8
Content migration - CSV to Drupal 8Hector Iribarne
 
Getting started with Drupal 8
Getting started with Drupal 8Getting started with Drupal 8
Getting started with Drupal 8Hector Iribarne
 
Drupal Camp Atlanta 2015 - No Code Content Migration
Drupal Camp Atlanta 2015 -  No Code Content MigrationDrupal Camp Atlanta 2015 -  No Code Content Migration
Drupal Camp Atlanta 2015 - No Code Content MigrationHector Iribarne
 
Drupalcamp South Florida 2012 - Introduction to Drupal Commerce
Drupalcamp South Florida 2012 - Introduction to Drupal CommerceDrupalcamp South Florida 2012 - Introduction to Drupal Commerce
Drupalcamp South Florida 2012 - Introduction to Drupal CommerceHector Iribarne
 
Building community sites 2014
Building community sites 2014Building community sites 2014
Building community sites 2014Hector Iribarne
 
Drupal 7 - No code content migration
Drupal 7 - No code content migrationDrupal 7 - No code content migration
Drupal 7 - No code content migrationHector Iribarne
 
Drupal content automation with migrate 2.6
Drupal content automation with migrate 2.6Drupal content automation with migrate 2.6
Drupal content automation with migrate 2.6Hector Iribarne
 
Intro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular jsIntro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular jsHector Iribarne
 
Installing BOA on Ubuntu 12.04 LTS
Installing BOA on Ubuntu 12.04 LTSInstalling BOA on Ubuntu 12.04 LTS
Installing BOA on Ubuntu 12.04 LTSHector Iribarne
 
Drupal 8 - a peek under the hood
Drupal 8 - a peek under the hoodDrupal 8 - a peek under the hood
Drupal 8 - a peek under the hoodHector Iribarne
 
DrupalCon chicago 2011 summary
DrupalCon chicago 2011 summaryDrupalCon chicago 2011 summary
DrupalCon chicago 2011 summaryHector Iribarne
 
Drupal con sf 2010 summary
Drupal con sf 2010 summaryDrupal con sf 2010 summary
Drupal con sf 2010 summaryHector Iribarne
 

Mehr von Hector Iribarne (12)

Content migration - CSV to Drupal 8
Content migration -  CSV to Drupal 8Content migration -  CSV to Drupal 8
Content migration - CSV to Drupal 8
 
Getting started with Drupal 8
Getting started with Drupal 8Getting started with Drupal 8
Getting started with Drupal 8
 
Drupal Camp Atlanta 2015 - No Code Content Migration
Drupal Camp Atlanta 2015 -  No Code Content MigrationDrupal Camp Atlanta 2015 -  No Code Content Migration
Drupal Camp Atlanta 2015 - No Code Content Migration
 
Drupalcamp South Florida 2012 - Introduction to Drupal Commerce
Drupalcamp South Florida 2012 - Introduction to Drupal CommerceDrupalcamp South Florida 2012 - Introduction to Drupal Commerce
Drupalcamp South Florida 2012 - Introduction to Drupal Commerce
 
Building community sites 2014
Building community sites 2014Building community sites 2014
Building community sites 2014
 
Drupal 7 - No code content migration
Drupal 7 - No code content migrationDrupal 7 - No code content migration
Drupal 7 - No code content migration
 
Drupal content automation with migrate 2.6
Drupal content automation with migrate 2.6Drupal content automation with migrate 2.6
Drupal content automation with migrate 2.6
 
Intro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular jsIntro to mobile apps with the ionic framework & angular js
Intro to mobile apps with the ionic framework & angular js
 
Installing BOA on Ubuntu 12.04 LTS
Installing BOA on Ubuntu 12.04 LTSInstalling BOA on Ubuntu 12.04 LTS
Installing BOA on Ubuntu 12.04 LTS
 
Drupal 8 - a peek under the hood
Drupal 8 - a peek under the hoodDrupal 8 - a peek under the hood
Drupal 8 - a peek under the hood
 
DrupalCon chicago 2011 summary
DrupalCon chicago 2011 summaryDrupalCon chicago 2011 summary
DrupalCon chicago 2011 summary
 
Drupal con sf 2010 summary
Drupal con sf 2010 summaryDrupal con sf 2010 summary
Drupal con sf 2010 summary
 

Kürzlich hochgeladen

Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 

Kürzlich hochgeladen (20)

Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 

Aegir Platform Installation Guide

  • 1. Author: Hector Iribarne @hectoriribarne
  • 2. •What is Aegir?1 •Installing Aegir on clean Linux Ubuntu 2 •Post install Aegir Basics 3
  • 3. Let's get started . . . What is Aegir?
  • 4. A hosting platform for deploying, managing and maintaining Drupal sites (Drupal 6, Drupal 7, etc) Makes it easy to install Drupal distributions (e.g. Managing News, Open Publish, Commons, etc.) Uses Drush for backend functionality Installs directly on clean Linux install at aegir.example.com Aegir can manage local and remote servers Current version is Aegir 1.4, which is Drupal 6 based Future Aegir 2.0 will be based on Drupal 7 Support on IRC: #drupal-aegir irc://irc.freenode.net/aegir @hectoriribarne
  • 5. Step-by-step Installation Installing Aegir on Linux Ubuntu 10.04 LTS
  • 6. Italics means that you will have to use your information in place of the italics servername = the name of your server (e.g. linode12345, or whatever you name it) IPaddress = the public IP of your server example.com = your domain name DomainHost.com = your domain name host (e.g. godaddy.com, etc.) VPShost.com = the domain of your VPS host (e.g. linode.com, rackspace.com, etc.) Linux commands are in blue. Text inside files is in green. Pay extra attention to text in red. @hectoriribarne
  • 7. 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.) Wait about 2 hours for the change to take effect, although sometimes it can be a little longer. Add A records for aegir and servername. You may also want to add one for mail and www, if you don't already have one After waiting the appropriate time. Do a whois on your domain name to make sure it is pointing to the name servers you set up. You should not process with installing aegir unless your name servers are set up for your domain Login as root to your server so we can begin typing in the commands in the continuing slides @hectoriribarne
  • 8. Update your linux distribution apt-get update apt-get upgrade Update your FQDN (fully qualified domain name) /bin/hostname servername.example.com echo servername.example.com > /etc/hostname REBOOT YOUR SERVER Install LAMP server (You will be asked to enter a mysql database password) sudo apt-get install lamp-server^ Edit your hosts file sudo nano /etc/hosts While editing your hosts file, add the following line: IPaddress servername.example.com servername @hectoriribarne
  • 9. Enable ssl (Don't restart apache at this time. Wait until later when you will be told to do so in the slides) a2enmod ssl Enable rewrite, headers and expires modules a2enmod rewrite a2enmod headers a2enmod expires Enable mod_status sudo nano /etc/apache2/httpd.conf While editing your httpd.conf file, add the following lines: ExtendedStatus On <Location /server-status> SetHandler server-status Order Deny,Allow Deny from all Allow from 127.0.0.1 </Location> @hectoriribarne
  • 10. Install Apachetop to monitor Apache (More information can be found at http://packages.ubuntu.com/lucid/apachetop) sudo apt-get install apachetop Update the apache2.conf file (don’t forget to change servername below) sudo nano /etc/apache2/apache2.conf While editing your httpd.conf file, add the following lines at the end: # Caching & cache headers <IfModule mod_headers.c> ExpiresActive On ExpiresDefault "access plus 300 seconds" ExpiresByType text/html "access plus 1 day" ExpiresByType text/css "access plus 1 day" ExpiresByType text/javascript "access plus 1 day" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType application/x-shockwave-flash "access plus 1 day" </IfModule> # 6 HOURS <FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4)$"> Header set Cache-Control "public" Header set Cache-Control "max-age=21600" Header unset Last-Modified </FilesMatch> # 2 HOURS <FilesMatch ".(html|htm|xml|txt|xsl|js|css)$"> Header set Cache-Control "max-age=7200, must-revalidate" </FilesMatch> ServerName servername @hectoriribarne
  • 11. Finally! : Restart Apache /etc/init.d/apache2 restart Install mytop for monitoring MySQL databases (More information can be found at http://packages.ubuntu.com/lucid/mytop) aptitude install mytop Install phpmyadmin to administer MySQL databases (1) Choose apache2 webserver, 2) Configure database for phpmyadmin with dbconfig-common = yes, 3) Enter password for database) sudo apt-get install phpmyadmin Install PHP command line interface sudo apt-get install php5-cli Remove deprecated hash and change it to a semicolon sudo nano /etc/php5/cli/conf.d/mcrypt.ini Edit mcrypt.ini file and change # to ; ; configuration for php MCrypt module @hectoriribarne
  • 12. Install PHP libraries and scripting capabilities sudo aptitude update sudo aptitude install libssh2-1-dev libssh2-php sudo apt-get install php-pear php5-curl php5-dev php5-gd Install PECL PHP Extension Community Library (at the cursor, hit enter) pecl install -f ssh2 Some more PHP configs echo 'extension=ssh2.so' > /etc/php5/conf.d/ssh2.ini sudo apt-get update sudo apt-get install php-apc echo 'extension=apc.so' > /etc/php5/conf.d/apc.ini sudo apt-get install rsync sudo pecl install uploadprogress echo 'extension=uploadprogress.so' > /etc/php5/conf.d/uploadprogress.ini @hectoriribarne
  • 13. Again: Restart Apache /etc/init.d/apache2 restart Install Postfix mail transfer agent that routes and delivers mail ( 1) General type of mail configuration = Internet Site, 2) servername.example.com ). sudo apt-get install postfix Configure Postfix ( 1) General type of mail configuration = Internet Site, 2)servername.example.com , 3) left blank, 4) leave list of defaults, 5) No forced synchronous updates, 6) network blocks leave default, 7) mailbox file limit left at 0, 8) left + default value, 9) ipv4). For more details on configuring Postfix, see https://help.ubuntu.com/community/Postfix sudo dpkg-reconfigure postfix Install build-essential for building debian packages. (More info can be found at http://packages.ubuntu.com/lucid/build-essential) sudo aptitude install build-essential @hectoriribarne
  • 14. Edit Apache PHP Resource Limits sudo nano /etc/php5/apache2/php.ini Update to the following (keep in mind that the memory limit can be set higher depending on the amount of memory on your server) max_execution_time = 300 max_input_time = 300 memory_limit = 128M Edit PHP command line interface Resource Limits sudo nano /etc/php5/cli/php.ini Update to the following (keep in mind that the memory limit can be set higher depending on the amount of memory on your server) max_execution_time = 300 max_input_time = 300 memory_limit = 192M @hectoriribarne
  • 15. Install Git apt-get update sudo apt-get install git-core Create and configure Aegir user ln -s /var/aegir/config/apache.conf /etc/apache2/conf.d/aegir.conf useradd -r -U -d /var/aegir -m -G www-data aegir echo 'aegir ALL=NOPASSWD: /usr/sbin/apache2ctl' >> /etc/sudoers Obtain Key for installing Aegir echo "deb http://debian.koumbit.net/debian stable main" > /etc/apt/sources.list.d/koumbit-stable.list wget http://debian.koumbit.net/debian/key.asc apt-key add key.asc apt-get update Install latest stable version of Drush wget http://mirror.pnl.gov/ubuntu//pool/universe/d/drush/drush_4.4-1_all.deb dpkg -i drush_4.4-1_all.deb @hectoriribarne
  • 17. Aegir is installed . . . Now what?
  • 18. Execute automatic Aegir install (1) domain for aegir - aegir.example.com, 2) enter a database password. After Aegir installs, it will provide you with a one time login where you will have to change your password for aegir.example.com ) apt-get install aegir Login as the Aegir user su -s /bin/sh aegir Change to the Aegir directory cd /var/aegir/platforms ls –al Download the latest version of Drupal drush dl @hectoriribarne
  • 20. Community Aegir site: http://community.aegirproject.org/ http://community.aegirproject.org/installing/debian Presentation from John Studdard: http://www.slideshare.net/jpstuddard/aegir-overview-florida-drupal- camp-2011 Videos from mig5 on installing Aegir http://vimeo.com/17131725 http://vimeo.com/groups/webdesigntuts/videos/9127281 Blog posts from Victor Kane: http://awebfactory.com.ar/node/427 http://awebfactory.com.ar/node/444 @hectoriribarne