Sun, 10/27/2019 - 16:43 By admin


Drupal is a powerful content management system (CMS). Due to the requirements and structure it is not so easy to install as other CMS.
The possibility to use modules which do not only add "single features" to the website, but enhance core functionalities as well makes Drupal unique on the market. The Thunder distribution turns drupal in a professional publishing system for free.

In this blog series I will describe how to install, enhance and secure a small website with Thunder. I will do so while creating and setting up 3 projects as described in the following articles


You can use one of the various webhoster, but I would recommend to use a (virtual) server with ssh access. The recommended way to install Drupal8 and components use composer, a command line tool.

A brief documentation of the requirements can be found on the drupal website.

You should consider to fulfill at least the following minimum requirements:

  • Disk space > 100 MB for the D8 core
  • MySQL / MariaDB / Percona > 5.5
  • PostgreSQL > 9.1.2
  • PHP > 7.2 with a minimum memory size of 64MB
  • Apache / nginx / IIS



Required tools

There are tools that help you create websites faster with less effort. Both of them are command line tools and drupal specific:

  • drush
  • composer

You should use them in addition to other tools needed for your workflow like git, vagrant, ansible, terraform, etc

Install composer

Use your package manager (in this case apt) and install required packages. Install composer afterwards

sudo apt install curl php-cli php-mbstring git unzip
cd ~
curl -sS -o composer-setup.php


Verify the SHA sum of the downloaded package before continuing the installation. The hashsum will change with every update of composer. Visit the composer website for verification

php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"

To install composer globally for all users call composer-setup.php with parameters

sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

This will download and install Composer as a system-wide command named composer, under /usr/local/bin

Drush comes bundled with Thunder, we do not need to install it separately

Install Thunder

To setup a thunder project, run:

cd /var/www
composer create-project thunder/thunder-project thunder --no-interaction --no-install
cd thunder
composer install composer drupal:scaffold

in your console to install Thunder.

Open the URL in your browser and walk through the installation.