Skip to content

Latest commit

 

History

History
90 lines (56 loc) · 1.81 KB

Drupal.md

File metadata and controls

90 lines (56 loc) · 1.81 KB

Drupal setup

http://drushcommands.com/

Prerequisites

Modules

Browse modules

udrush pmi --format=yaml

Enable module

udrush en <MODULE-NAME> -y

Caches

APC cache backend.

udrush en apc -y

settings.php:

$conf['cache_backends'][] = 'sites/all/modules/apc/drupal_apc_cache.inc';
$conf['cache_default_class'] = 'DrupalAPCCache';
//$conf['apc_show_debug'] = TRUE;  // Remove the slashes to use debug mode.

Object cache

udrush en entitycache -y

Entity caching is supported in Drupal 8.

Preload page cache

See: ${D}/webserver/preload-cache.sh

Fail2ban

https://github.com/szepeviktor/wordpress-fail2ban

Mollom

suhosin.get.max_array_index_length = 128
suhosin.post.max_array_index_length = 128
suhosin.request.max_array_index_length = 128

Automatic translation updates

udrush en l10n_update -y

admin/config/regional/translate/update

Sitemap

Enable inclusion per content type.

udrush en xmlsitemap -y

Drupal menus

  • All options: admin/config
  • admin/config/media/file-system
  • JPEG qulite: 90% admin/config/media/image-toolkit
  • admin/config/development/performance
  • admin/config/regional
  • Backup settings.php && database

General website tasks

  • logging/tmp/upload/session + gc
  • mail from
  • root files

Cron