software:drupal
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
software:drupal [2016/05/29 19:39] – [Setup on Ubuntu for personal use] superwizard | software:drupal [2017/10/14 20:11] – [Setup on Ubuntu for personal use] superwizard | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Setup Drupal with Composer ====== | ||
====== Setup on Ubuntu for personal use ====== | ====== Setup on Ubuntu for personal use ====== | ||
Line 25: | Line 26: | ||
sudo apt-get install php-mbstring php7.0-mbstring php-gettext libapache2-mod-php7.0 | sudo apt-get install php-mbstring php7.0-mbstring php-gettext libapache2-mod-php7.0 | ||
sudo service apache2 restart | sudo service apache2 restart | ||
+ | sudo systemctl restart apache2 | ||
http:// | http:// | ||
U: root | U: root | ||
Line 74: | Line 76: | ||
</ | </ | ||
- | === Setup Drupal website === | + | === Setup Drupal website |
From: http:// | From: http:// | ||
Line 101: | Line 103: | ||
sudo service apache2 restart | sudo service apache2 restart | ||
+ | sudo systemctl restart apache2 | ||
+ | |||
+ | |||
+ | sudo chmod a+w / | ||
+ | sudo nano / | ||
+ | |||
+ | |||
+ | $settings[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | |||
+ | sudo chmod go-w / | ||
+ | </ | ||
+ | |||
+ | ==== Download Composer ==== | ||
+ | |||
+ | From: https:// | ||
+ | |||
+ | < | ||
+ | Download Composer | ||
+ | |||
+ | Run this in your terminal to get the latest Composer version: | ||
+ | |||
+ | php -r " | ||
+ | php -r "if (hash_file(' | ||
+ | php composer-setup.php | ||
+ | php -r " | ||
+ | </ | ||
+ | |||
+ | ==== Install Globally ==== | ||
+ | |||
+ | From: https:// | ||
+ | |||
+ | < | ||
+ | mv composer.phar / | ||
+ | </ | ||
+ | |||
+ | ==== create the project ==== | ||
+ | |||
+ | From: https:// | ||
+ | |||
+ | < | ||
+ | composer create-project drupal-composer/ | ||
+ | |||
+ | Composer template for Drupal projects | ||
+ | |||
+ | This project template should provide a kickstart for managing your site dependencies with Composer. | ||
+ | |||
+ | If you want to know how to use it as replacement for Drush Make visit the Documentation on drupal.org. | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Ubuntu 17.04 | ||
+ | composer create-project drupal-composer/ | ||
+ | |||
+ | Results say: | ||
+ | Create a sites/ | ||
+ | Create a sites/ | ||
+ | </ | ||
+ | |||
+ | ==== Ubuntu Setup Virtual host for domain = wellcreateddomain.name ==== | ||
+ | |||
+ | From: https:// | ||
+ | |||
+ | < | ||
+ | Ubuntu 17.04 | ||
+ | |||
+ | sudo cp / | ||
+ | |||
+ | if need add to hosts | ||
+ | |||
+ | 127.0.0.1 wellcreateddomain.name | ||
+ | </ | ||
+ | |||
+ | sudo mkdir / | ||
+ | sudo chmod a+w / | ||
+ | sudo cp / | ||
+ | sudo chmod a+w / | ||
+ | |||
+ | rerun install | ||
+ | |||
+ | sudo chmod go-w / | ||
+ | sudo chmod go-w / | ||
+ | |||
+ | ==== Ubuntu after copy of Drupal to web location setup setting.php ==== | ||
+ | |||
+ | From: https:// | ||
+ | |||
+ | < | ||
+ | compose done - sudo mkdir / | ||
+ | compose done - sudo chmod a+w / | ||
+ | compose done - sudo cp / | ||
+ | compose done - sudo chmod a+w / | ||
+ | |||
+ | sudo chown -R www-data: | ||
+ | |||
+ | rerun install | ||
+ | |||
+ | sudo chmod go-w / | ||
+ | sudo chmod go-w / | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ====== Turnkey Drupal ====== | ||
+ | |||
+ | From: https:// | ||
+ | |||
+ | < | ||
+ | Rapidly explore and deploy 100+ ready-to-use server apps in the Amazon EC2 cloud. Only a browser required. | ||
+ | |||
+ | You asked us to make TurnKey even easier. We did. Deploying TurnKey on-demand in the cloud frees you from having to download of hundreds of MBs per appliance image, setup extra software and hardware for virtualization, | ||
</ | </ | ||
software/drupal.txt · Last modified: 2018/10/18 22:43 by superwizard