Sunday, May 29, 2011

管理員常用 Path

0. 網站下線 Off-line
Home › Administer › Site configuration › Site Maintenance › Off-line › Save Configuration

1. 啟動或者關閉某些模組 (Enable/Disable modules)
Home › Administer › Site building › Modules › check/uncheck the target modules › Save Configuration

2. Off-line 模式下登入的 url
   http://sitexxx.com/drupaldir?q=user/ 

3. 升級(Upgrade)/更新(Update)

[Upgrade.txt的步驟摘要]
  • Back up "files" and "sites" directories
  • Do not close your browser until the final step is complete.
  • Place the site in "Off-line" mode
  • Switch to a core theme, such as Garland or Bluemarine.
  • Disable all custom and contributed modules.
  • Remove all old files and directories from the Drupal installation directory.
  • Unpack the new files and directories into the Drupal installation directory.
  • Copy the backed up "files" and "sites" directories to the Drupal
        installation directory. 
  • Verify the new configuration file
    e.g. sites/default/settings.php
         sites/example.com/settings.php
  • Run update.php by
    http://sitexxx.com/drupaldir/update.php

No comments: