Upon the Subject of Drupal and Drush

Next in IT 566 land was installing Drupal and Drush. I installed Drupal with a few lines in the terminal:

cd /var/www
sudo wget http://ftp.drupal.org/files/projects/drupal-7.0.tar.gz
sudo tar xvf drupal-7.0.tar.gz
sudo mv drupal-7.0/ drupal

Then I made a Drupal database and user with phpmyadmin
and ran the drupal installer by going to localhost/drupal

The result is below.

Drupal installed - Click for larger image

Drush is a command line shell for quickly configuring Drupal. The recommended version of Drush for Drupal 7 is Drush 4.4

To install Drush it’s back to the terminal

cd /usr/local/share/
sudo wget http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz
sudo tar zxvf drush-7.x-4.4.tar.gz
sudo rm drush-7.x-4.4.tar.gz
sudo ln -s /usr/local/share/drush/drush /usr/local/bin/drush
sudo drush

You’ll know if Drush is installed if you see a screen like this after running sudo drush.

Drush installed - Click for larger image

2 Replies to “Upon the Subject of Drupal and Drush”

Comments are closed.