Sunday, December 25, 2016

Install Drupal 8

Install Drupal 8

# export DRUPAL_VERSION=8.2.4

Note: another way: DRUPAL_VERSION=8.2.4; export DRUPAL_VERSION

# export DRUPAL_MD5=288aa9978b5027e26f20df93b6295f6c

Note: another way: DRUPAL_MD5=288aa9978b5027e26f20df93b6295f6c; export DRUPAL_MD5

# curl -fSL "https://ftp.drupal.org/files/projects/drupal-${DRUPAL_VERSION}.tar.gz" -o drupal.tar.gz \
&& echo "${DRUPAL_MD5} *drupal.tar.gz" | md5sum -c - \
&& tar -xz --strip-components=1 -f drupal.tar.gz \
&& rm drupal.tar.gz \
&& chown -R www-data:www-data sites modules themes

# unset DRUPAL_VERSION
# unset DRUPAL_MD5
# env

No comments: