Simplified Drupal Sites with Drush
Illustration by John Hersey

Simplified Drupal Sites with Drush

with Jon Peck

Video: Using the exercise files

In this course, I'll be creating a Drupal 7 site

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now
please wait ...
Watch the Online Video Course Simplified Drupal Sites with Drush
1h 22m Intermediate Dec 06, 2012

Viewers: in countries Watching now:

Manage your Drupal sites even more efficiently with Drush, the shell interface for managing and scripting Drupal site development. In this quick course, author Jon Peck describes what Drush is, how to install it, and how to use it effectively for everyday—and exceptional—tasks.

The course describes how to manage users, download and install modules and themes, archive and restore your entire site, and employ site variables for fast, full control over your Drupal sites. Plus, discover how to script an entire Drupal site installation with and without site profiles.

Topics include:
  • What is Drush?
  • Installing the prerequisite files
  • Installing Drush with PEAR, manually, and just for Windows
  • Installing Drupal sites
  • Managing themes
  • Controlling user access
  • Controlling cache and cron
  • Reading logs
  • Updating modules
Developer Web
Drupal Drush
Jon Peck

Using the exercise files

In this course, I'll be creating a Drupal 7 site from the ground up using the Drush command's line utility. Drush typically resides in the same web hosting environment as the sites it manages. The recommended configuration for the host environment is, PHP 5.3 or above, Apache 2 or above, and MySQL 5 or above. Other web servers, such as nginx or IIS, and other databases like postgreSQL, should function, but will not be supported. Setting up an AMP stack is beyond the scope of this course.

If you do not already have a development server, I recommend using a local development server, running on your work station. The, Up and Running with Linux for PHP Developers, course. Here in the Online Training Library will allow you to have an optimized virtual server running like any other program in your existing operating system. Additionally, an overview of how to interact with a Linux command line is provided with many principles that also apply to Mac OS as well. I will be demonstrating using a server created using this technique.

Alternatively, you can use a web server solution stack package in your native operating system. XAMPP, from, has distributions for Lennox, Windows, Mac OS 10, and Solaris. WampServer, from, is explicitly for Windows, and MAMP, from, is for Mac OS 10 only. Each of these packages will allow you to execute the exercises found in this course. Installing additional software within your native operating system is covered in the course Installing Apache, MySQL and PHP with David Gassner here in the online training library.

If local development is not an option, remote and third party hosted servers that have the appropriate versions of PHP, MySQL, and Apache also support Drupal 7. SSH access to a command line shell is also required to be able to use Drush, so verify that the third party provides shell access. You will need access to the Command's line in the location of the Drupal side installation. For Mac and Linux, the Terminal allows you to access the Command's line, which includes access to the ssh command if a site is hosted remotely.

In Windows, the Command prompt will work with Drash, but does not provide SSH access. You can use the free program PuTTY to connect via SSH to remote servers available from the official PuTTY website. The files for this course are contained in a folder named Sandbox that my virtualized Linux server can access. Depending on your web server configuration, you may need to store these files in a different place such as a remote web server or in a folder accessible by a local Apache, MySQL, and PHP stack.

A quick reference to the brush commands covered in this course is provided as a PDF. Feel free to print out and distribute this quick reference. A final note as different web hosts and configurations serve content from different URLs the address you see in my browser may not exactly match what you see on your work station. Additionally, the locations shown in the command prompt demonstrations will differ depending on the location of site files. The commands will still apply in the same way.

There are currently no FAQs about Simplified Drupal Sites with Drush.

Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Simplified Drupal Sites with Drush.

Return to your organization's learning portal to continue training, or close this page.

Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.