User Tools

Site Tools


wiki_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki_notes [2010/01/07 07:41] – created jtkorbwiki_notes [2010/01/07 07:56] (current) jtkorb
Line 13: Line 13:
   $ tar xvf dokuwiki-2009-12-25.tar   $ tar xvf dokuwiki-2009-12-25.tar
  
-Disable the web server and make a snapshot backup of the wiki (step 1):+It would be nice to disable the Dreamhost web server before making a snapshot backup of the wiki (step 1):
  
-  $ apache/bin/apachectl stop +  $ cp -pr dokuwiki dokuwiki-jic
-  $ cp -rp cs4edu cs4edu_2010-01-06+
  
 Copy the new version into the old, double check permissions (steps 3 and 5): Copy the new version into the old, double check permissions (steps 3 and 5):
  
-  $ cp -rf dokuwiki-2009-12-25/cs4edu +  $ cp -rf dokuwiki-2009-12-25/dokuwiki 
-  $ ls -lR cs4edu | less+  $ ls -lR dokuwiki | less
  
 Remove old files and clear the data cache (step 4): Remove old files and clear the data cache (step 4):
  
-  $ egrep -v "^($|#)" removeold.txt | xargs -n 1 rm -rf +  $ egrep -v "^($|#)" removeold.txt | (cd dokuwiki; xargs -n 1 rm -rf) 
-  $ rm -rf data/cache/* +  $ rm -rf dokuwiki/data/cache/*
- +
-Turn the web server back on: +
- +
-  $ apache/bin/apachectl start+
  
 +Turn the web server back on if it was turned off earlier.
wiki_notes.1262878883.txt.gz · Last modified: 2010/01/07 07:41 by jtkorb