Excellira

  • About Us
    • About Us
    • Technology
    • Our Process
  • Services
    • Agency Solutions
    • Drupal Development
    • WordPress Development
    • Custom Applications
    • PHP/MySQL Development
    • Responsive Design
    • eCommerce Development
    • CMS & Content Migration
    • Website Maintenance
  • Our Work
  • Blog
  • Connect With Us
  • About Us
    • About Us
    • Technology
    • Our Process
  • Services
    • Agency Solutions
    • Drupal Development
    • WordPress Development
    • Custom Applications
    • PHP/MySQL Development
    • Responsive Design
    • eCommerce Development
    • CMS & Content Migration
    • Website Maintenance
  • Our Work
  • Blog
  • Connect With Us
You are here: Home / CentOS / Install Drush 7+ For Drupal 8 on CentOS 6 Multi-Account, CPanel

Install Drush 7+ For Drupal 8 on CentOS 6 Multi-Account, CPanel

June 11, 2015 by Greg Hill

Interested in Drupal 8 and need Drush on your VPS or Server?

If you’re interested in investigating Drupal 8 and wish to use Drush, you’ll find that Drush 7.x+ is a requirement of Drupal 8. If you have an earlier version or are installing Drush for the first time on a CentOS 6/CPanel environment, these simple instructions will get Drush up and running.

Composer is a requirement. Check to see if it’s installed.

SSH into your site’s hosting account.

user@host $composer –version

Install the latest version of Drush:

user@host $ cd ~/

user@host $ composer global require drush/drush:dev-master

Once Composer finishes you’ll need to setup bash to recognize the install by adding an alias to your ~/.bash_profile or ~./bashrc file. You can use vim, nano, or an editor of your choice. The examples below assume .bash_profile. Substitute .bashrc if setting the alias in that file.

user@host $ nano ~/.bash_profile

Add this to your .bash_profile:

alias drush=”~/.composer/vendor/bin/drush”

You may receive a “command not found” error if testing Drush. In that case, register the alias with bash:

user@host $ source ~/.bash_profile

Check to see if Drush is working.

user@host $ drush status

Look for “Drush version” in the results and you’re good to go.

Filed Under: CentOS, Drupal, Drush, Linux

Our Location

Excellira is located in historic Concord, Massachusetts and has served clients in the USA and around the Globe including Boston, Chicago, London, Los Angeles, and Rio de Janeiro.

Start A Project

To paraphrase Lao-tzu: A journey begins with a single step. Our first step is a simple chat.

Call us at +1 978.287.0010 or contact us today and let's see if we should travel together.

Connect With Us

  • LinkedIn
  • Twitter
  • Drupal Development
  • WordPress Development
  • Custom Applications
  • eCommerce Development
  • Agency Solutions

© Copyright 2015 Excellira, LLC