Managing Drupal with Aegir Chris Burge Burge Consulting, LLC 30 June 2013 Dublin, Ireland Drupal Dev Days.

Slides:



Advertisements
Similar presentations
WordPress from Start to Finish Day 1: Installing and Using WordPress Looking at the WordPress database.
Advertisements

Shining A Light on Open Source Software: Going Beyond LAMPP Serving Web Content Using Open Source Software.
Acquia Cloud Drupal Platform-as-a-Service. Market Size [1,00,000+ sites] Innovation [10,000+ modules] Community [500,000+ members] “… is as much a Social.
Drupal Online Tutorial A Product of an ENGL 421 class at Purdue University Page 1.
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
Created by Brendan Ryan1 Apache Server A MySql Database A fully PhP Execution Easy PhP.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
Building Bridges, Connecting Communities Paul Lieberman Non-Profit, Government, and Higher Education. May 21, 2013 How Oregon State University manages.
Drupal Workshop Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology, Drupal technology, directories.
Building Library Web Site Using Drupal
Hosting Control Panels Allows users to manage their various hosted services in single place.  Creating webspaces  Creating FTP accounts  Creating .
By Jeerarat Boonyanit. As you can see I have chosen Cpanel for my server management tool. cPanel is a Linux based web hosting control panel that provides.
TOPIC 1 – SERVER SIDE APPLICATIONS IFS 234 – SERVER SIDE APPLICATION DEVELOPMENT.
Website Administration Information Systems 337 Prof. Harry Plantinga.
The DSpace Course Module – DSpace Installation. Module objectives  By the end of this module you will:  Understand the platforms DSpace can be hosted.
Chapter 2: Installing and Upgrading to Windows Server 2008 R2 BAI617.
Introduction: Drupal is a free and open-source content management system (CMS). A content management system(CMS) is a computer program that allows publishing,
SCHOOL OF INFORMATION UNIVERSITY OF MICHIGAN si.umich.edu Drupal: Configuration and Customization Week 4: Installation, Module Development January 25,
How to extend and configure Drupal without user interaction or database dump By Damien Snoeck for Switzerland Romandy Drupal Group January 27, 2010 Work.
MCDevOps Infrastructure In One Hour. Sponsors Improving Enterprises Software Development.
INFM603 Project Presentation Jenny Wu Prachi Chhokar.
BZUPAGES.COM Presentation on Content Management System (CMS) Presented to. Sir Ahmad Kareem.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
Drupal Jumpstart Information Systems 337 Prof. Harry Plantinga.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Revolutionizing enterprise web development Searching with Solr.
University of Illinois at Urbana-Champaign A Unified Platform for Archival Description and Access Christopher J. Prom, Christopher A. Rishel, Scott W.
Drupal Commerce Better than Uber Andrew Root: druroot.
We Know IT … IT’s What We Do! ® 2 Cyprien Mvuanda & Jonathan Davis Empire 2.0 Services October 1, 2010 Albany, NY Design, Development,Workflow and Implementation.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
Revolutionizing enterprise web development Memcache Optimization.
Proposal for the new group web infrastructure SFT Group meeting 3/7/2009 Yves Perrin.
AEgir Maintain your Drupal sites. The name: AEgir “In Norse mythology, AEgir was the god of the oceans and if Drupal is a drop of water, AEgir is the.
Website s Azure Websites is an enterprise class cloud solution for developing, testing and running web apps. Azure Websites allows you to focus on what.
Centreon Deployment Chris Scicluna
Drush: The Drupal Shell Utility Trevor Mckeown Founder & Owner Sublime Technologies
Bloomer User Notes Installing and Running a Bloomer Installation Jack Park Latest: Project Home:
Module 1: Implementing Active Directory ® Domain Services.
How does Drupal Work? Information Systems 337 Prof. Harry Plantinga.
WAMP Windows Apache MySQL and PHP i.e. “WAMP”. Why WAMP? WampServer is a Windows web development environment. It allows you to create and test web pages.
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
Access Services Introduction & Setup Requirements Kipp Sorensen, Soren Innovations.
Outline of Drupal Gardens setup and site export ENTICE meeting 12 November 2010 Silvia Tomanin DG-CO.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Docker, Containers, and the Future of Application Delivery Ivan Gaas.
Seattle Drupal Clinic Introduction to Drupal Part 2: User/role management, Drupal directory structure, Choosing/installing contributed modules.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
INFM 700 Project 3 (Aqua) - Akashdeep Ray - Arnaud Lawson - Neha AR - Vidisha Vedvyas.
WordPress and Etherpad with BlueMix and Docker. Our aim is to run on BlueMix containers (now in beta) these two famous services In the BlueMix dashboard,
EGI-InSPIRE RI Pakiti Michal Prochazka, (Daniel Kouril)
Web Services College of Life Sciences / College of Medicine, Dentistry and Nursing Andrew Millar, Web Services Manager.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
Drupal Basics May 30, 2012 By Sean Fitzpatrick. Sean Fitzpatrick | Welcome We're going to talk about Drupal We're going to keep it pretty.
Aegir Ecology vs Drupal Gardens Aegir Project ecosystem vs Acquia's Drupal 7 hosted OpenSAAS.
Advanced Drush Scripting Jim Taylor Drupal Developer at Large Principal/Senior Engineer Rooty Hollow LLC.
CERN IT Department CH-1211 Geneva 23 Switzerland t OIS Operating Systems & Information Services CERN IT Department CH-1211 Geneva 23 Switzerland.
XNAT 1.7: Getting Started 6 June, Introduction In this presentation we’ll discuss:  Features and functions in XNAT 1.7  Requirements  Installing.
OIS Progress on Drupal pilot service ENTICE meeting, 30 th September 2010 Jarosław (Jarek) Polok IT-OIS Operating systems and Internet services.
Installing iHRIS Install iHRIS Manage on an Ubuntu System
Introducing Drush: Command line productivity for Drupal.
Turning Open Source On Its Side Drupal From The Top Down
EVENT LOGGING & CONTENT VERSIONING SYSTEM
SCEC Drupal Website Development Overview and Status
Lab 1 introduction, debrief
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Overview Introduction VPS Understanding VPS Architecture
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
A simple way to configure PHP and Apache for Assignment 2
Docker, Drupal and Persistence
Implementation of Drupal: An Effective Content Management System for
Presentation transcript:

Managing Drupal with Aegir Chris Burge Burge Consulting, LLC 30 June 2013 Dublin, Ireland Drupal Dev Days

Creating a New Site Create directory space (& deal with permissions) Deploy codebase (& deal with permissions) Configure Apache Restart Apache Create database Create database user Assign database permissions Enter database credentials into settings.php Run Drupal installer

Enter Aegir

What is Aegir? “The Aegir hosting system allows developers and site administrators to automate many of the common tasks associated with deploying and managing large websites. Aegir makes it easy to install, upgrade, deploy, and backup an entire network of Drupal sites.” Source:

What is Aegir? “The Aegir hosting system allows developers and site administrators to automate many of the common tasks associated with deploying and managing large websites. Aegir makes it easy to install, upgrade, deploy, and backup an entire network of Drupal sites.” Source:

Aegir Basics Server – Web server (Apache) – Database server (MySQL) Platform – Drupal 6.28 – Drupal 7.22 Site – blog.chrisburge.net Client – Somewhat similar to a role – Day Cloud Studios (daycloudstudios) – Two users, lhunt and mvassios, are assigned to ‘daycloudstudios’ client

Aegir Basics

Web Server Platform Site A Site B Site C Site D Web Server Platform Site E Site F Site G Site H

Web Server Platform Site A Site B Site C Site D Database Server Web Server Platform Site E Site F Site G Site H Database Server

Web Server Platform Site A Site B Site C Site D Database Server Web Server Platform Site E Site F Site G Site H Database Server

Servers

Platforms

Sites

Installation 1.Install system requirements # yum install httpd php php-mysql php-cli php-gd php-process sudo rsync git postfix mysql-server 2.Create user ‘aegir’ and add to group ‘apache’ # useradd --home-dir /var/aegir aegir # gpasswd -a aegir apache # chmod -R 755 /var/aegir

Installation 3.Create Apache configuration file symlink # ln -s /var/aegir/config/apache.conf /etc/apache2/conf.d/aegir.conf 4.Grant ‘aegir’ permission to restart Apache – Open ‘sudoers’ file # visudo – Insert configuration below: Defaults:aegir !requiretty aegir ALL=NOPASSWD: /usr/sbin/apachectl

Installation 5.Install Drush # pear channel-discover pear.drush.org # pear install drush/drush Become user ‘aegir’ # sudo –u aegir –i

Installation 7.Install provision – Provision is the backend of Aegir # drush dl --destination=/var/aegir/.drush provision-6.x 8.Install hostmaster – Hostmaster is the frontend of Aegir # drush hostmaster-install (Hostmaster is a Drupal profile and runs on Drupal 6.x)

Aegir Web Interface

Creating a Platform

Make Files ; Drush Make ( api = 2 core = 7.x ; Drupal core projects[drupal][type] = core projects[drupal][version] = 7.22 projects[wysiwyg][subdir] = contrib projects[wysiwyg][version] = 2.2 projects[views][subdir] = contrib projects[views][version] = 3.7 projects[views][patch][ ] =

Make Files projects[views_php][subdir] = contrib projects[views_php][type] = module projects[views_php][download][type] = git projects[views_php][download][url] = ;projects[views_php][download][branch] = 7.x-1.x projects[views_php][download][revision] = 2b5ed ee3c8e8c86be283da957cdfa6f6 ; CKEditor libraries[ckeditor][download][type] = file libraries[ckeditor][download][url] = " libraries[ckeditor][directory_name] = ckeditor libraries[ckeditor][type] = library

Creating a Platform

Viewing Packages on a Platform

Creating a Site

Managing a Site

Migrating a Site

Cloning a Site

Custom Hooks Aegir provides hooks E.g. add MemCache config to settings.php Create file customhook.drush.inc in /var/aegir/.drush function customhook_provision_drupal_config($uri,$data) { if($uri==”aegir.chrisburge.net") { return NULL; } ### Memcache ## Make a unique key for a site (special character not permitted) $unique = str_replace('.','',str_replace('-','',$uri)); $returnArray [] = "### Memcache ### \$conf['cache_backends'][] = 'sites/all/modules/contrib/memcache/memcache.inc'; // the path to the core cache file include_once('./includes/cache.inc'); // the path to the memcache cache file include_once('./sites/all/modules/contrib/memcache/memcache.inc'); // make MemCacheDrupal the default cache class \$conf['cache_default_class'] = 'MemCacheDrupal'; # Key Prefix: edit this for multisite use. \$conf['memcache_key_prefix'] = \"$unique\"; \$conf['memcache_servers'] = array( ' :11211' => 'default', ); \$conf['memcache_bins'] = array( 'cache' => 'default', ); ”; return $returnArray; }

Other Features

Links Aegir – – – – Drush – – –

Questions?