Drupal Server Administration

Опубликовано chesser - чт, 02/11/2021 - 13:16

Drupal Installation

https://www.drupal.org/docs/develop/using-composer/using-composer-to-in…

yum update
yum install php-cli php-common php-fpm php-gd php-json php-mbstring php-mysqlnd php-opcache php-pdo php-xml

Install composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
wget -q  https://composer.github.io/installer.sig
sha384sum composer-setup.php
php composer-setup.php --install-dir=/usr/local/bin --filename=composer
rm composer-setup.php installer.sig

Drupal Update

https://www.drupal.org/docs/updating-drupal/updating-drupal-core-via-co…

composer update drupal/core "drupal/core-*" --with-all-dependencies