1cd /var/www/sites 2drush dl drupal-7 --destination=yoursite.example.com --drupal-project-rename=www -y 3cd yoursite.example.com/www 4drush site-install standard --account-name=admin --account-pass=admin --db-url=mysql://myDBA:myDBPASS@localhost/myDB -y See http://www.coderintherye.com/install-drupal-7-using-drush
Read MoreEnable diff module 1drush en diff -y Show all features 1[root@yoursite.example.com docroot]# drush fd 2BEF Test Content bef_test_content Disabled 7.x-3.5 3Keystone Media News content_keystone_media Enabled 7.x-1.0-alpha10 4Content Set #1 content_set_1 Enabled 7.x-1.0-alpha9m 5Content Set #2 content_set_2 Enabled …
Read More1#install composer and Drush 2curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer 3wget -O drush.phar https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar 4chmod +x drush.phar 5sudo mv drush.phar /usr/local/bin/drush 6cd drupal 7cat > …
Read More1[me@common-dev default]$ drush pm-download stage_file_proxy 2Project stage_file_proxy (7.x-1.8) downloaded to /var/www/sites/project.example.com/www/sites/all/modules/contrib/stage_file_proxy. [success] 3[me@common-dev default]$ drush pm-enable --yes stage_file_proxy 4The following module has moved within the file …
Read More1root@example.com:/var/www/sites/yoursite.example.com/www# git diff .htaccess 2diff --git a/www/.htaccess b/www/.htaccess 3index 440cabc..968f601 100644 4--- a/www/.htaccess 5+++ b/www/.htaccess 6@@ -93,6 +93,12 @@ DirectoryIndex index.php index.html index.htm 7# RewriteCond %{HTTP_HOST} !^www\. [NC] 8# RewriteRule ^ …
Read More1curl -sS https://getcomposer.org/installer | php 2mv composer.phar /usr/local/bin/composer 3ln -s /usr/local/bin/composer /usr/bin/composer
Read More