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/11 18:51] – [Ubuntu Setup Virtual host for domain = wellcreateddomain.name] 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 186: Line 205:
 ==== Ubuntu after copy of Drupal to web location setup setting.php ==== ==== Ubuntu after copy of Drupal to web location setup setting.php ====
  
-From: +From: https://linoxide.com/ubuntu-how-to/install-drupal-7-x-apache-2-x-ubuntu/
    
 <code> <code>
-sudo mkdir /var/www/html/sites/default/files +compose done - sudo mkdir /var/www/html/web/sites/default/files 
-sudo chmod a+w  /var/www/html/sites/default/files +compose done - sudo chmod a+w  /var/www/html/web/sites/default/files 
-sudo cp /var/www/html/sites/default/default.settings.php  /var/www/html/sites/default/settings.php +compose done - sudo cp /var/www/html/web/sites/default/default.settings.php  /var/www/html/sites/default/settings.php 
-sudo chmod a+w /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 rerun install
  
-sudo chmod go-w /var/www/html/sites/default/settings.php +sudo chmod go-w /var/www/html/web/sites/default/settings.php 
-sudo chmod go-w  /var/www/html/sites/default+sudo chmod go-w  /var/www/html/web/sites/default
  
 </code> </code>
software/drupal.1507747919.txt.gz · Last modified: 2017/10/11 18:51 by superwizard