https://github.com/drush-ops/drush

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Anonymous's picture

Drushを用いたUpdate実施に関する備忘録

Drushの最新版(git公開のmaster版)を用いた
CLIによるcoreのアップデートを試してみました。

drush-ops / drush
https://github.com/drush-ops/drush

環境としては以下の通りです。

CentOS 6.5
apache 2.2.x
PHP 5.4x
MySQL 5,6x

追加モジュール
drupalが最低限動くphpのモジュール
gd,dom,mbstring,等

Drupal coreのversion
7.23 → 7.24

これらの条件を元に下記の要領で実施しました。

-

●利用方法
シンボリックリンクを「/usr/bin/」に貼る

→ ln -s {drush展開PATH}/drush /usr/bin/drush

●動作確認
→ drush st

version表記が8x...となっていれば正常起動(2013/12時点)

●updateの実行方法
drupalの展開先のルートディレクトリへ移動

→ cd /var/www/html/drupal/

coreのversion指定のアップデートの実施

→ drush pm-update projects drupal-7.24

Read more
Subscribe with RSS Syndicate content