Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CiviCRM set up
Set up on Ubuntu 16.04
* sudo apt-get update && sudo apt-get install mysql-server libapache2-mod-php php-curl php-mbstring php-xml php-gd phpmyadmin
* mysql -u root -p
* CREATE USER 'drupalsite'@'localhost' IDENTIFIED BY 'drupalsite';
* CREATE DATABASE drupalsite;
* GRANT all ON drupalsite.* TO 'drupalsite'@'localhost';
* CREATE USER 'civicrm'@'localhost' IDENTIFIED BY 'civicrm';
* GRANT all ON civicrm.* TO 'civicrm'@'localhost';
* exit
* wget
* tar -xzf drupal-7.56.tar.gz
* sudo mv /var/www/html/index.html /var/www/html/index.html.bak
* sudo mv drupal-7.56/* /var/www/html/
* rm -rf drupal-7.56*
* sudo cp /var/www/html/sites/default/default.settings.php /var/www/html/sites/default/settings.php
* sudo chmod 644 /var/www/html/sites/default/settings.php
* sudo mkdir /var/www/html/sites/default/files
#* sudo chmod 777 /var/www/html/sites/default/files
* sudo chown -R www-data.www-data /var/www/html/sites/default
* sudo service apache2 restart
* Visit http://localhost/install.php
* sudo chmod u=rw,o=r,a=r /var/www/html/sites/default/settings.php
* sudo service apache2 restart
* wget
* tar -xzf civicrm-4.7.20-drupal.tar.gz
* sudo mv civicrm /var/www/html/sites/all/modules
* rm civicrm-4.7.20-drupal.tar.gz
* Visit http://localhost/sites/all/modules/civicrm/install/index.php
* Fix permissions of
* Any other permissions issue?
* Visit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment