aegir cpanel for drupal sites

17
Cpanel for Drupal sites

Upload: damjan-cvetan

Post on 07-Jul-2015

231 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Aegir Cpanel for Drupal Sites

Cpanel  for  Drupal  sites  

Page 2: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

About @Cvetko The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again. •  Started as PHP developer with

custom CMS •  “You need Linux” they said •  I know Drupal since version 4.x

•  Working as Sys admin, Drupal developer, iOS developer, etc.

Twitter @Cvetko Skype damjan.cvetan Email [email protected]

Page 3: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Common Problems

Only Drupal Ægir

Multi-site NO Multi-site

Duplicated Drupal core files ✗ ✔ ✗

Manual Virtual Host + Database management ✔ ✔ ✗

Duplicated Module files ✔ ✔ ✗

Updates are real pain in the a** ✔ ✔ ✗

Manual file permission control ✔ ✔ ✗

Manual backup and recovery ✔ ✔ ✗

Page 4: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Go another way!

Page 5: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

What is Ægir?

•  Or who? He was god of the oceans in Norse mythology.

•  Powerful hosting system which sits alongside a LAMP server to CREATE, DEPLOY and MANAGE Drupal sites.

•  It’s Drupal + set of modules. •  Drush!

Page 6: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Installing Ægir

•  Primarily developed on Debian GNU/Linux – For manual and automatic installs (apt-get)

•  Supports other Unix/Unix-like OS •  You need Drush (command line shell and

scripting interface for Drupal) •  After install you get new folders: – backups, clients, config, platforms

Page 7: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Basic Components

•  Provision Backend tool for system tasks

•  Hosting Frontend tool for managing and configuring

•  Hostmaster Profile for installing and setting up Ægir

•  Eldir Theme – Default Ægir theme •  Drush

Page 8: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Entities

•  Servers Available files and database servers

•  Platforms Working Drupal file structure with install profiles/modules/themes.

•  Sites One individual web site deployed on a platform with DB server.

Page 9: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

1 or multiple servers

.  

.  

.  

Web servers hosting Files (platforms) and databases.

Ægir master

Page 10: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Platforms

•  Hosted on servers •  Drupal core files •  Created from Drush make file or Drupal

install •  They use Drupal’s multisite functionality •  Located inside “platforms” directory

Page 11: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Sites

•  Single web site published on platform •  Apache configuration file and database

settings are done upon creation. •  You can perform this operations: – Disable/Enable site – Backup/Restore –  Clone – Migrate – Reset password

Page 12: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Alter apache config

•  Create *.drush.inc file inside “.drush” folder in Ægir home folder

•  User function *_provision_apache_vhost_config($uri, $data) –  Return array for each new line in config file

Page 13: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Additional Resources

•  http://aegirproject.org

•  #aegir on irc.feenode.net

•  @aegirproject on Twitter

Page 14: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Demo

Page 15: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Dev + Production

Ægir master +

Development server

Production

RSYNC/DBCommunication

Page 16: Aegir Cpanel for Drupal Sites

The image cannot be displayed. Your computer may not have enough memory to open the image, or the

Let’s Ride

Page 17: Aegir Cpanel for Drupal Sites

Q  &  A