skip to Main Content

Install drupal from command line with drush

 cd /var/www/
 drush dl drupal --drupal-project-rename=new-directory-name
 chown www-data:www-data new-directory-name -R
 chmod 755 new-directory-name -R
 chmod 777 new-directory-name/sites/default -R
 cp new-directory-name/sites/default/default-settings.php new-directory-name/sites/default/settings.php 
 drush site-install standard --db-url=mysql:// --site-name=your_site_name --account-name=admin --account-pass=your_password


start the installation from the browser

after the installation is finished:

 chmod 444 settings.php
 chmod 555 default/
This Post Has 0 Comments

Leave a Reply

Back To Top