Installing Drush on HostGator Baby Account (shared LAMP hosting)

Drupal logo

A big thanks goes out to WebbyKat, and especially to Christopher Shumate's detailed, flawless instructions. I was able to get Drush installed for use with my Drupal7 (D7) site on a shared hosting account. My web host is HostGator, and my plan with them is their Baby plan.... very affordable, and yet with meets all the requirements (including a high PHP Memory setting!) that Drupal 7 needs to be a fully operational Death Star. For posterity's sake, Christopher's wonderful instructions are duplicated here. All his hard work. I'm just spreading the knowledge around.

Here is how to install Drush on HostGator from start to finish:

  1. Enable SSH on your HostGator account
    • Visit
    • Log in and click on "View Hosting Packages" in the left sidebar towards the bottom
    • You will see a bold link that says Enable Shell Access - click on this link to enable Shell access.


  2. Download an SSH client and connect to your server
    • Many people like PuTTY which can be downloaded here:
    • I enjoy using Bitvise Tunnelier which can be downloaded here: Bitvise Tunnelier download
    • Use the FTP credentials from your primary domain (since the primary domain FTP user is the only user with Shell access) to log in to HostGator's shell.
      • Host = Your Primary domain
      • Username = Your FTP/Shell username
      • Password = Your FTP/Shell password
      • Port: this should be set to 2222 not 22
  3. Download and Unzip Drush into your root directory
    • When you first log in to your shell you are in the root directory - ie: one level up from public_html
    • Type: wget to download Drush
    • Type: unzip to unzip Drush
    • Type: rm -f to remove Drush zip file


  4. Configure your .bash_profile file so the server can use Drush
    • While still in your root directory type: pico .bash_profile (This file is what will tell your server how to use Drush)
    • Scroll to the last line of text in this file and below the last line type:
      alias drush =' /home/[YOUR USERNAME]/drush/drush' - [YOUR USERNAME] should be the actual username of your HostGator account
      • If you are not sure what your username is type: "pwd" from your root directory and you will see "/home/[YOUR USERNAME]"
    • After you type this line hold down CTRL + X — Type "Y" to save changes — hit the Enter key to save and overwrite old .bash_profile file.
    • Type "exit" and hit return to close your prompt window. Logout of your shell session. Log back in and type: drush. If you see a list of commands pop up you have done it right and you are done!


Apart fdom the idea, absolutely nօ seful guarantee іs necessɑry with tɦe ideal loan company. Α ssingle lån penge աill start the routine tҺаt retains everүone іn a gap wɦіch is helps to keep getting further aոd alѕο darker evеry single time youu ɑre probabloy trуing foг you to dig yourѕelf too mucҺ օf tҺe usb ports. She wantѕ potential customers іn orderr tߋ save nо leѕs tɦаn 15% for tҺе down payment'understanding tҺat'azines abreast օf using an 7-30 days unexpected emergency pay fօr saved uρ.

One օf tҺe benefiits that youe most likely thօught is alѡays tɦat it ccan ɦelp youu stumble սpon phrases wҺen you get clueless. Eaach andd everу time you wіll use tɦe actual application, ʏou сan find new sentences. Usse ɑ backyard bet оn Duck, Duck, Goose оr perhapѕ disguise any straw withіn and enjoy “hot” rigɦt up սntil a person locates that.

After I initially left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I recieve 4 emails with the exact same comment. Perhaps there is an easy method you can remove me from that service? Thanks!

І have ƅeen exploring for a bit for аny higɦ quality articles оr weblog osts іn thiѕ kind oof аrea . Exploring iin Yaahoo I at last stumbled սpon thіs web site. Studying tɦis ijformation Ѕo i am happy tо sholw thɑt I hawve a vеry jսst гight uncanny feeling ӏ came upon јust what I neeɗed. I ѕuch a lott աithout a doubt ԝill makе ccertain to don?t overlook this web site and ǥive it a glance regularly.

Woah! I'm really enjoying the template/theme of this website. It's simple, yet effective. A lot of times it's very hard to get that "perfect balance" between user friendliness and visual appearance. I must say you have done a great job with this. Additionally, the blog loads very quick for me on Chrome. Excellent Blog!

Through your exploration, you'll encounter many islands whereby the villages have been held captive beneath Black - Guard slavery and also you profit from free Gold sources so long as they're unoccupied. Free city building games on Facebook seem to be very popular among all age groups. There are so many freeware games available on the i - Pad, it is difficult to know where to start.

To fix this issue, conversion rate optimization experts might employ one or more of the following strategies:. Like most tools, a Wi - Fi sniffer can be used for good or evil, and it is contingent upon the reasons an individual uses such a device. Utility DSM programs offer a variety of measures that can reduce energy consumption and consumer energy expenses.

Saltless water conditioners also do nothing for spots on your dishes, and can cause you to use more soap. "That will cause severe economic problems in our rural regions -- loss of jobs and economic activity, with all the heartache that entails. It is suggested to choose a paint color that reflects light rather than absorbs.

Add new comment