User Tools

Site Tools


software:drupal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:drupal [2017/10/08 18:47] superwizardsoftware:drupal [2018/10/18 22:43] (current) superwizard
Line 1: Line 1:
-====== Setup Drupal with Composer ====== +====== change Password of User using PHPMyAdmin ====== 
-====== Setup on Ubuntu for personal use ======+ 
 +From: https://www.wpbeginner.com/beginners-guide/how-to-reset-a-wordpress-password-from-phpmyadmin/ 
 + 
 +<code> 
 +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.  
 + 
 +Your password will be encrypted using the MD5 hash and then it will be stored in the database.  
 + 
 +</code> 
 + 
 +====== Setup Drupal with Composer Setup on Ubuntu for personal use ====== 
 + 
 +NOTE: /var/www/html/web/core has very good install txt files.
  
 === First Setup LAMP === === First Setup LAMP ===
Line 26: 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://localhost/phpmyadmin/ http://localhost/phpmyadmin/
 U: root U: root
Line 102: Line 116:
  
 sudo service apache2 restart sudo service apache2 restart
 +sudo systemctl restart apache2
  
-sudo nano /var/www/html/sites/default/settings.php+ 
 +sudo chmod a+w /var/www/html/web/sites/default/settings.php 
 +sudo nano /var/www/html/web/sites/default/settings.php
  
  
Line 112: Line 129:
 ); );
  
 +
 +sudo chmod go-w /var/www/html/web/sites/default/settings.php
 </code> </code>
  
Line 151: Line 170:
 </code> </code>
  
-From: +<code> 
 +Ubuntu 17.04 
 +composer create-project drupal-composer/drupal-project:8.x-dev  /var/www/html/ --stability dev --no-interaction 
 + 
 +Results say: 
 +Create a sites/default/settings.php file with chmod 0666 
 +Create a sites/default/files directory with chmod 0777 
 +</code> 
 + 
 +==== Ubuntu Setup Virtual host for domain = wellcreateddomain.name ==== 
 + 
 +From: https://help.ubuntu.com/14.04/serverguide/serverguide.pdf 
 +  
 +<code> 
 +Ubuntu 17.04 
 + 
 +sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/wellcreateddomain.conf 
 + 
 +if need add to hosts 
 + 
 +127.0.0.1 wellcreateddomain.name 
 +</code> 
 + 
 +sudo mkdir /var/www/html/sites/default/files 
 +sudo chmod a+w  /var/www/html/sites/default/files 
 +sudo cp /var/www/html/sites/default/default.settings.php  /var/www/html/sites/default/settings.php 
 +sudo chmod a+w /var/www/html/sites/default/settings.php 
 + 
 +rerun install 
 + 
 +sudo chmod go-w /var/www/html/sites/default/settings.php 
 +sudo chmod go-w  /var/www/html/sites/default 
 + 
 +==== Ubuntu after copy of Drupal to web location setup setting.php ==== 
 + 
 +From: https://linoxide.com/ubuntu-how-to/install-drupal-7-x-apache-2-x-ubuntu/ 
 +  
 +<code> 
 +compose done - sudo mkdir /var/www/html/web/sites/default/files 
 +compose done - sudo chmod a+w  /var/www/html/web/sites/default/files 
 +compose done - sudo cp /var/www/html/web/sites/default/default.settings.php  /var/www/html/sites/default/settings.php 
 +compose done - sudo chmod a+w /var/www/html/web/sites/default/settings.php 
 + 
 +sudo chown -R www-data:www-data /var/www/html/web 
 + 
 +rerun install 
 + 
 +sudo chmod go-w /var/www/html/web/sites/default/settings.php 
 +sudo chmod go-w  /var/www/html/web/sites/default 
 + 
 +</code>
  
  
software/drupal.1507488462.txt.gz · Last modified: 2017/10/08 18:47 by superwizard