Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
professional services for the web
consultancy design development hosting training support

Monday, November 25, 13
about me
Greg Harvey

Monday, November 25, 13
introduction
Last year we looked at hosting Drupal 8
It almost worked!
But:
No drush!

Monday, November 25, 13
:’-(
Monday, November 25, 13
what’s the stack?

Monday, November 25, 13
what’s the stack?
Debian “Squeeze” (6)
Percona 5.5.33
PHP 5.3.27 (from Dotdeb)
nginx 1.2.3 (from Code Enigma)

Monday, Nov...
installing
If you block install.php:
It has moved!
/core/install.php

Monday, November 25, 13
file system

Monday, November 25, 13
file system
Drupal 7
755 everything
Application only writes to sites/%site

Monday, November 25, 13
file system
Drupal 8
What about CMI?
By default it sits in ‘files’
What about VCS?

Monday, November 25, 13
file system
$config_directories = array(
CONFIG_ACTIVE_DIRECTORY => array(
'path' => '/some/directory/outside/webroot',
'a...
file system
If you alter the path, also make sure the web server can
read and write from/to that path!

Monday, November 2...
file system
And deployment?
Keep ‘staging’ in Git

Monday, November 25, 13
.htaccess
Includes have moved to /core/includes/
New rewrite rules to push update and install requests to
new /core/ paths...
.htaccess
# Uncomment the following two lines to only
# allow PHP files in the webroot and in "/core":
# RewriteCond %{REQ...
.htaccess
Also, TXT files!
All moved to /core/

Monday, November 25, 13
drush
What works?
Pretty much everything!
drush si
drush cc
drush uli

Monday, November 25, 13
drush
What’s new?
CMI
config-edit (cedit)
config-export (cex)
config-get (cget)
config-import (cim)
config-list (cli)

Mon...
drush
And deployment?
These new drush commands for CMI are important!
drush cmi <- importing ‘staging’ config to ‘active’
...
caching
APC
memcache - Drupal 8 version already BUT:
https://drupal.org/node/2056373
Can’t work fully until it support cac...
databases
Nothing much changes
But EVERYTHING changes

Monday, November 25, 13
databases
NoSQL arrives!
http://www.mongodb.com/presentations/webinarmongodb-and-drupal-8-life-without-sql

Monday, Novemb...
PHP version
We’re running PHP 5.3
What about PHP 5.4 and 5.5?

Monday, November 25, 13
PHP version
No question they’re quicker:
http://blog.asmallorange.com/2013/08/php-roadmapperformance/

Monday, November 25...
PHP version

Monday, November 25, 13
PHP version

Monday, November 25, 13
PHP version
So why not?
Breaks Drupal 6.
Probably breaks Drupal 7 contrib too.

Monday, November 25, 13
does it work?!
YES!
Of course it’s not ready, but you can play.

Monday, November 25, 13
performance
A lot to do:
https://drupal.org/node/1744302
But almost there!

Monday, November 25, 13
performance
So please take the next slide with a large pinch of salt:
DRUPAL 8 IS NOT READY FOR
PERFORMANCE TESTING
https:...
performance

Monday, November 25, 13
questions?

Monday, November 25, 13
Upcoming SlideShare
Loading in …5
×
Upcoming SlideShare
Make your cheap VM fly
Next
Download to read offline and view in fullscreen.

3

Share

Download to read offline

Drupal 8 - Hosting, Performance and Drush

Download to read offline

An early look at the devops considerations for hosting Drupal 8.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Drupal 8 - Hosting, Performance and Drush

  1. 1. professional services for the web consultancy design development hosting training support Monday, November 25, 13
  2. 2. about me Greg Harvey Monday, November 25, 13
  3. 3. introduction Last year we looked at hosting Drupal 8 It almost worked! But: No drush! Monday, November 25, 13
  4. 4. :’-( Monday, November 25, 13
  5. 5. what’s the stack? Monday, November 25, 13
  6. 6. what’s the stack? Debian “Squeeze” (6) Percona 5.5.33 PHP 5.3.27 (from Dotdeb) nginx 1.2.3 (from Code Enigma) Monday, November 25, 13
  7. 7. installing If you block install.php: It has moved! /core/install.php Monday, November 25, 13
  8. 8. file system Monday, November 25, 13
  9. 9. file system Drupal 7 755 everything Application only writes to sites/%site Monday, November 25, 13
  10. 10. file system Drupal 8 What about CMI? By default it sits in ‘files’ What about VCS? Monday, November 25, 13
  11. 11. file system $config_directories = array( CONFIG_ACTIVE_DIRECTORY => array( 'path' => '/some/directory/outside/webroot', 'absolute' => TRUE, ), CONFIG_STAGING_DIRECTORY => array( 'path' => '/another/directory/outside/ webroot', 'absolute' => TRUE, ), ); Monday, November 25, 13
  12. 12. file system If you alter the path, also make sure the web server can read and write from/to that path! Monday, November 25, 13
  13. 13. file system And deployment? Keep ‘staging’ in Git Monday, November 25, 13
  14. 14. .htaccess Includes have moved to /core/includes/ New rewrite rules to push update and install requests to new /core/ paths Optional rules for additional security Monday, November 25, 13
  15. 15. .htaccess # Uncomment the following two lines to only # allow PHP files in the webroot and in "/core": # RewriteCond %{REQUEST_URI} !^/core/[^/]*.php$ # RewriteRule "^.+/.*.php$" - [F] Monday, November 25, 13
  16. 16. .htaccess Also, TXT files! All moved to /core/ Monday, November 25, 13
  17. 17. drush What works? Pretty much everything! drush si drush cc drush uli Monday, November 25, 13
  18. 18. drush What’s new? CMI config-edit (cedit) config-export (cex) config-get (cget) config-import (cim) config-list (cli) Monday, November 25, 13
  19. 19. drush And deployment? These new drush commands for CMI are important! drush cmi <- importing ‘staging’ config to ‘active’ Monday, November 25, 13
  20. 20. caching APC memcache - Drupal 8 version already BUT: https://drupal.org/node/2056373 Can’t work fully until it support cache tags No Redis movement to date Monday, November 25, 13
  21. 21. databases Nothing much changes But EVERYTHING changes Monday, November 25, 13
  22. 22. databases NoSQL arrives! http://www.mongodb.com/presentations/webinarmongodb-and-drupal-8-life-without-sql Monday, November 25, 13
  23. 23. PHP version We’re running PHP 5.3 What about PHP 5.4 and 5.5? Monday, November 25, 13
  24. 24. PHP version No question they’re quicker: http://blog.asmallorange.com/2013/08/php-roadmapperformance/ Monday, November 25, 13
  25. 25. PHP version Monday, November 25, 13
  26. 26. PHP version Monday, November 25, 13
  27. 27. PHP version So why not? Breaks Drupal 6. Probably breaks Drupal 7 contrib too. Monday, November 25, 13
  28. 28. does it work?! YES! Of course it’s not ready, but you can play. Monday, November 25, 13
  29. 29. performance A lot to do: https://drupal.org/node/1744302 But almost there! Monday, November 25, 13
  30. 30. performance So please take the next slide with a large pinch of salt: DRUPAL 8 IS NOT READY FOR PERFORMANCE TESTING https://twitter.com/catch56/status/ 392295581583802368 Monday, November 25, 13
  31. 31. performance Monday, November 25, 13
  32. 32. questions? Monday, November 25, 13
  • AlexandraLucescu

    May. 30, 2018
  • lauriieskola

    Feb. 12, 2015
  • everrightchen

    Aug. 13, 2014

An early look at the devops considerations for hosting Drupal 8.

Views

Total views

1,171

On Slideshare

0

From embeds

0

Number of embeds

50

Actions

Downloads

5

Shares

0

Comments

0

Likes

3

×