Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:drupal

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
becki:linux:drupal [2011-12-19 17:25]
becki created
becki:linux:drupal [2011-12-20 17:21] (aktuell)
becki
Zeile 97: Zeile 97:
 lynx -source http://​localhost/​drupal/​cron.php lynx -source http://​localhost/​drupal/​cron.php
 </​code>​ </​code>​
 +
 +===== Update modules ==
 +
 +  - Log into your Drupal install with HTTP as Admin
 +  - Check if they are up to date in ''​drupal/​admin/​reports/​updates''​
 +  - Place the site in "​Off-line"​ mode in ''​drupal/​admin/​settings/​site-maintenance''​
 +  - cd drupal/​sites/​all;​ cp -a modules modules.new
 +  - Download new module tarballs into modules.new/​ with wget
 +  - Remove outdated module dirs in modules.new
 +  - Unpack and remove tarballs
 +  - Merge your changed in module config files into the new config files
 +  - mv modules modules.old;​ mv modules.new modules
 +  - Point Browser to %%http://<​mysite>/​drupal/​update.php%% and follow instructions
 +
 +===== Minor Update Drupal Core ==
 +
 +  - Log into your Drupal install with HTTP as Admin an go to %%http://<​mysite>/​drupal/​admin/​reports/​updates%% and copy Link to latest core package into clipboard
 +  - Log into your Drupal server with SSH and download core package with wget
 +  - Extract core package in your web root (near old core package)
 +  - Read drupal.new/​UPGRADE.txt
 +  - Place the site in "​Off-line"​ mode in ''​drupal/​admin/​settings/​site-maintenance''​
 +  - Backup db with ''​mysqldump --default-character-set=utf8 --user=<​user>​ --password=<​pass>​ --opt <​dbname>​ > dbbak.sql''​
 +  - Switch to Garland or Bluemarine core theme ''​drupal/​admin/​build/​themes''​
 +  - Write down all custom and contributed modules ''​drupal/​admin/​build/​modules''​ and save it into drupal.new/​MY_MODULES (to reuse it for later updates)
 +  - Disable all custom and contributed modules (all exept 'Core - required'​)
 +  - Merge your custom changes (ie. database access data) of drupal/​sites/​default/​settings.php into newly created drupal.new/​sites/​default/​settings.php (use eg diff3 -m)
 +  - cd drupal/​sites/​all;​ cp -a modules themes drupal.new/​sites/​all/​
 +  - cd drupal/​sites/​default;​ cp files drupal.new/​sites/​default/​
 +  - cd <​wwwroot>;​ rm drupal; ln -s drupal.new drupal
 +  - Point Browser to %%http://<​mysite>/​drupal/​update.php%% and follow instructions
 +  - Re-enable custom and contributed modules and check if they are up to date in ''​drupal/​admin/​reports/​updates''​
 +  - Update all outdated modules
 +  - Return the site to its original theme
 +  - Return your site to Online
 +
 +=====  Major Upgrade Drupal Core ==
 +
 +  - Minor Update Drupal Core
 +
 +FIXME
  
 ===== Install Drupal Core == ===== Install Drupal Core ==
becki/linux/drupal.1324315526.txt.gz · Zuletzt geändert: 2011-12-19 17:25 von becki

Impressum - Datenschutzerklärung