On the development environment you need to have already installed:
- Apache 2.2 or 2.4
- PHP 5.5.x or 5.6.x: for CentOS packages: php55w php55w-cli php55w-common php55w-gd php55w-intl php55w-ldap php55w-mbstring php55w-mcrypt php55w-mysql php55w-opcache php55w-pdo php55w-pear php55w-pecl-imagick php55w-pecl-memcached php55w-xml
- MySQL 5.5 or MariaDB
- Composer - required by Drush
- Development tools like git, gzip etc.
- Clone of this repository in
~/Work/cms
Clone the drush repository to install latest Drush. The projects needs at least Drush 7.x
sudo git clone https://www.github.com/drush-ops/drush /opt/drush cd /opt/drush/ && sudo composer install sudo ln -s /opt/drush/drush /usr/bin/drush
Then copy the drush configuration file to your drush home:
cp ~/Work/cms/conf/drushrc.php ~/.drush/
When you finish the installation you will have the latest drush installed, and in shell PATH.
Create the file ~/Work/cms/drush/aliases/aliases.local.php
and add the following content:
``