This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
build:wiki [2009/08/14 18:04] SLUUG Administration Add link to doc. |
build:wiki [2011/01/12 16:39] (current) SLUUG Administration Upgrade to DokuWiki 2010-11-07. (CMB) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== DokuWiki ====== | ====== DokuWiki ====== | ||
- | These instructions detail how to install [[http://wiki.splitbrain.org/wiki:dokuwiki | DokuWiki]] on our Debian GNU/Linux system. We're currently running the 2009-02-14 version of DokuWiki. | + | These instructions detail how to install [[http://wiki.splitbrain.org/wiki:dokuwiki | DokuWiki]] on our Debian GNU/Linux system. We're currently running the 2010-11-07 version of DokuWiki. |
===== Requirements ===== | ===== Requirements ===== | ||
Line 121: | Line 121: | ||
===== Upgrading ===== | ===== Upgrading ===== | ||
- | Here are the steps taken to upgrade to version 2009-02-14. | + | Here are the steps taken to upgrade to version 2010-11-07. |
First, read the [[http://www.dokuwiki.org/changes | changes made in the new release]]. Make sure you follow any directions specific to the new release. | First, read the [[http://www.dokuwiki.org/changes | changes made in the new release]]. Make sure you follow any directions specific to the new release. | ||
Line 128: | Line 128: | ||
<code bash> | <code bash> | ||
cd /home/web/wiki.sluug.org | cd /home/web/wiki.sluug.org | ||
- | export OLD_VERSION=2008-05-05 | + | export OLD_VERSION=2009-12-25 |
- | tar cfz /var/backups/web/wiki.sluug.org.BACKUP-`date +%Y%m%d`.tgz dokuwiki-$OLD_VERSION | + | sudo tar cfz /var/backups/web/wiki.sluug.org.BACKUP-`date +%Y%m%d`.tgz dokuwiki-$OLD_VERSION |
</code> | </code> | ||
Line 135: | Line 135: | ||
<code bash> | <code bash> | ||
cd /home/web/wiki.sluug.org | cd /home/web/wiki.sluug.org | ||
- | export VERSION=2009-02-14 | + | export VERSION=2010-11-07 |
wget http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-$VERSION.tgz | wget http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-$VERSION.tgz | ||
tar xfz dokuwiki-$VERSION.tgz | tar xfz dokuwiki-$VERSION.tgz | ||
Line 158: | Line 158: | ||
Delete the old cache and index, since they can be regenerated, and the formats may have changed between versions. We can also use the new help pages (in the wiki namespace), so we can delete them from the old site. | Delete the old cache and index, since they can be regenerated, and the formats may have changed between versions. We can also use the new help pages (in the wiki namespace), so we can delete them from the old site. | ||
<code bash> | <code bash> | ||
- | rm dokuwiki-$OLD_VERSION/data/cache/* -rf | + | sudo rm dokuwiki-$OLD_VERSION/data/cache/* -rf |
- | rm dokuwiki-$OLD_VERSION/data/index/* -rf | + | sudo rm dokuwiki-$OLD_VERSION/data/index/* -rf |
- | rm dokuwiki-$OLD_VERSION/data/pages/wiki -rf | + | sudo rm dokuwiki-$OLD_VERSION/data/pages/wiki -rf |
</code> | </code> | ||
Line 203: | Line 203: | ||
Once you're comfortable that the upgrade went OK, you can delete the directory for the previous version of DokuWiki. | Once you're comfortable that the upgrade went OK, you can delete the directory for the previous version of DokuWiki. | ||
+ | |||
+ | <code bash> | ||
+ | rm -rf dokuwiki-$OLD_VERSION | ||
+ | </code> | ||
+ | |||
===== Enable ACLs and User Accounts ===== | ===== Enable ACLs and User Accounts ===== | ||
==== This is a minimal implementation with a single account ==== | ==== This is a minimal implementation with a single account ==== | ||
Line 296: | Line 301: | ||
===== Credits ===== | ===== Credits ===== | ||
- | Initially installed, configured, and documented by Craig Buchek, 2005-09-10. Updated to newer versions on 2005-11-26, 2007-05-09, 2008-06-11, and 2009-02-19. | + | Initially installed, configured, and documented by Craig Buchek, 2005-09-10. |
+ | |||
+ | Updated to newer versions on 2005-11-26, 2007-05-09, 2008-06-11, 2009-02-19, 2010-01-08. |