Skip to content

Drupal 7 generic installation

Anatoly Vaitsman edited this page Jan 10, 2018 · 1 revision

Note: You need Drush to execute this installation.

At webserver root (usually /var/www/html):

  1. drush dl
  2. Create db at mysql:
  • myql -u [mysql user] -p [password]
  • CREATE SCHEMA [db name];
  • exit
  1. Install Drupal:
  • cd drupal-[version]
  • drush si --db-url=mysql://[mysql user]:[password]@localhost/[db name]

Example drush si --db-url=mysql://root:root@localhost/drupal

  • DB name = drupal
  • Mysql user = root
  • Password = root