Jira Courses, Training and Consulting: Sparxsys Trainings
Thanks for coming here, I hope you are enjoying learning here, I have also written some books in case you want to learn a bit more :)
If you need my help with Drupal, Linux, Jira, Scripting, Automation or want to contact me then raise a ticket for me please :) and I will get back to you, promise. At Sparxsys we provide Atlassian consultancy services, reach out to me at ravi at sparxsys dot com

How to install Drush on Dreamhost


If you use drupal then you should install drush. It is basically a very nice collection of scripts that saves lot of time like downloading, installing and enabling modules. With just single command you can do all that once. Thats not it! It does a lot of things. Just read the the documentation here http://drupal.org/project/drush

How to install drush on dreamhost!

1. Download and Unpack Drush: First, you need to login to the shell of your Dreamhost account. In your home directory, download and unpack Drush. From the command line type:

curl -O http://ftp.drupal.org/files/projects/drush-All-Versions-2.0.tar.gz

(The latest version at the time of writing.)

Now type:

tar -zxf drush-All-Versions-2.0.tar.gz

You should be left with a folder called drush that contains the drush library.
2. Get Drush on the Commandline: Now you need to make drush available to you on the command line. Open the file called .bash_profile by typing

nano .bash_profile

and navigate to the bottom of the screen. Enter the following line:

alias drush='/usr/local/php5/bin/php /home/DREAMHOST_USERNAME/drush/drush.php'

(Don't forget to replace with your Dreamhost username.) Now save the file with the keystroke CTRL + X
3. Logout: Now type exit to logout. This will force the shell to re-read the .bash_profile file.
4. Log Back In: Log back in and you should be ready to drush!

Source: http://brenthardinge.net/blog/howto-install-drush-dreamhost

Have fun! Drupal rocks!!

Similar posts

Subscribe

* indicates required

Please confirm that you would like to from Sparxsys:

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices.

Want to contact me?