skip to Main Content

Install drupal from command line with drush

cd /var/www/domain.com/web/ 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://user:pass@db.host.net/db_name --site-name=your_site_name --account-name=admin --account-pass=your_password --OR-- start the installation from the browser http://domain.com/new-directory-name/ after the installation is…

Read More
Back To Top