aegir cpanel for drupal sites
TRANSCRIPT
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]
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 ✔ ✔ ✗
The image cannot be displayed. Your computer may not have enough memory to open the image, or the
Go another way!
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!
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
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
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.
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
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
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
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
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
The image cannot be displayed. Your computer may not have enough memory to open the image, or the
Demo
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
The image cannot be displayed. Your computer may not have enough memory to open the image, or the
Let’s Ride
Q & A