software:drupal
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:drupal [2017/10/03 16:49] – superwizard | software:drupal [2018/10/18 22:43] (current) – superwizard | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | From: https://getcomposer.org/download/ | + | From: https://www.wpbeginner.com/ |
< | < | ||
- | Download Composer | + | PhpMyAdmin will show you a form with all the user information fields. |
+ | You will need to delete the value in the user_pass field and replace it with your new password. Under the function column, select MD5 from the drop down menu and click on the Go button. | ||
- | Run this in your terminal to get the latest Composer version: | + | Your password will be encrypted using the MD5 hash and then it will be stored |
- | php -r " | ||
- | php -r "if (hash_file(' | ||
- | php composer-setup.php | ||
- | php -r " | ||
</ | </ | ||
+ | ====== Setup Drupal with Composer Setup on Ubuntu for personal use ====== | ||
- | From: https://github.com/drupal-composer/drupal-project | + | NOTE: /var/www/html/web/core has very good install txt files. |
- | + | ||
- | < | + | |
- | 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. | + | |
- | </code> | + | |
- | + | ||
- | From: | + | |
- | + | ||
- | + | ||
- | ====== Turnkey Drupal ====== | + | |
- | + | ||
- | From: https://hub.turnkeylinux.org/ | + | |
- | + | ||
- | < | + | |
- | 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, | + | |
- | </ | + | |
- | + | ||
- | ====== Setup on Ubuntu for personal use ====== | + | |
=== First Setup LAMP === | === First Setup LAMP === | ||
Line 64: | Line 39: | ||
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 113: | Line 89: | ||
</ | </ | ||
- | === Setup Drupal website === | + | === Setup Drupal website |
From: http:// | From: http:// | ||
Line 140: | Line 116: | ||
sudo service apache2 restart | sudo service apache2 restart | ||
+ | sudo systemctl restart apache2 | ||
- | sudo nano / | + | |
+ | sudo chmod a+w / | ||
+ | sudo nano / | ||
Line 150: | Line 129: | ||
); | ); | ||
+ | |||
+ | 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.1507049392.txt.gz · Last modified: 2017/10/03 16:49 by superwizard