Drush
Drush, (doc page) the Drupal shell, is a great time saver for building up and maintaining drupal sites.
It is version independent and it doesn;t need to be associated with a specific site so we will install it in /opt/drush and create a link in /usr/bin
Step 1: check out drush from cvs and link the executable
cd /opt cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r HEAD -d drush contributions/modules/drush ln -s /opt/drush/drush /usr/bin/drush
or download with wget
cd /opt wget http://ftp.drupal.org/files/projects/drush-7.x-4.4.tar.gz
Step 2: install tables
pear install Console_Table-1.1.3
Optional: In the root of the drush directory copy examples/example.drushrc.php to ./drushrc.php and uncomment the line after "Specify CVS for checkouts" so that you don't need to specify --package-handler=cvs every time you run srush.
cd /opt/drush cp examples/example.drushrc.php drushrc.php
To update
# cd /opt/drush # cvs update -dPA
- Login to post comments