wiki:DrupalServer

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

--

Drupal8

  • apt-get install php5-gd php5-mysql ca-certificates

Nick

From .tar.gz:

  • wget http://ftp.drupal.org/files/projects/drupal-8.0.0-rc1.tar.gz
  • cd /var/www/html/
    • tar -xzf ~/drupal-8.0.0-rc1.tar.gz

Broken

From git:

  • cd /var/www/html
    • git clone https://github.com/drupal/drupal.git

adjust for reverse proxy settings.

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

  • mkdir /var/www/html/drupal8/sites/default/files
  • chown www-data.www-data /var/www/html/drupal8/sites/default/files
    • ensure settings.php and default.settings.php exist, and are owned by www-data.www-data.
  • chown www-data.www-data /var/www/html/drupal8/sites/default
  • 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

From tarball:

  • 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

From git:

  • cd /var/www/html/drupal8/libraries
    • git clone https://github.com/civicrm/civicrm-core

CiviCRM-Drupal

From git:

  • cd /var/www/html/drupal8/modules/
    • sudo git clone -b 8.x-master http://github.com/civicrm/civicrm-drupal.git civicrm