wiki:DrupalServer

Version 8 (modified by admin, 4 years ago) (diff)

--

  • apt-get install php5-gd php5-mysql ca-certificates
  • wget http://ftp.drupal.org/files/projects/drupal-8.0.0-rc1.tar.gz

adjust for reverse proxy settings.

may want to change domain name in /var/www/html/drupal8/core/lib/Drupal/Core/DrupalKernel.php :

  • create the directory /var/www/html/drupal8/sites/default/files, with owner www-data.www-data.
    • ensure settings.php and default.settings.php exist, and are owned by www-data.www-data.
    • ensure /var/www/html/drupal8/sites/default is owned by www-data.www-data.
  • enable clean URLs.
    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ drupal8/?q=$1 [L,QSA]
    

CiviCRM

  • mkdir /var/www/html/drupal8/libraries
  • cd /var/www/html/drupal8/libraries
    • wget http://dist.civicrm.org/by-date/latest/master/civicrm-4.7.beta1-drupal-20151103.tar.gz
    • tar -xzf civicrm-4.7.beta1-drupal-20151103.tar.gz
    • rm -rf /var/www/html/drupal8/libraries/civicrm/drupal
  • cd /var/www/html/drupal8/modules/
  • sudo git clone -b 8.x-master http://github.com/civicrm/civicrm-drupal.git civicrm