CiviCRM set up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; | |
* CREATE DATABASE civicrm; | |
* GRANT all ON civicrm.* TO 'civicrm'@'localhost'; | |
* exit | |
* wget https://ftp.drupal.org/files/projects/drupal-7.56.tar.gz | |
* 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 https://download.civicrm.org/civicrm-4.7.20-drupal.tar.gz | |
* 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 | |
TODO: | |
* Fix permissions of http://192.168.1.90/sites/all/modules/civicrm/ | |
* Any other permissions issue? | |
* Visit http://192.168.1.90/index.php?q=civicrm/a/#/status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment