Join Jon Peck for an in-depth discussion in this video Installing Drush with PEAR, part of Simplified Drupal Sites with Drush.
The preferred method for installing and maintaining the Drush utility is to use PEAR.…PEAR is an acronym that stands for the PHP Extension and Application Repository,…which provides a library of open source PHP code including a code distribution…and package maintenance system.…This method is preferred as it's relatively OS agnostic and makes it easy to…stay up-to-date and manage dependencies.…PEAR is not required to use Drush, if you prefer to manage software installation…more directly use the manual installation instructions in the next segment.…
While there are a number of steps required it is a one-time setup.…I'm going to open a terminal and connect my sandbox environment.……To determine whether or not PEAR is installed type the following command "pear version".…If PEAR is installed the version will be displayed, if the version is not…displayed then PEAR needs to be installed.…More in-depth instructions are available at pear.php.net.…I will demonstrate the most common techniques.…
If you are using a Linux distribution such as Ubuntu or Debian the apt package…
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.
- 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