Data-Intensive Scalable Computing Laboratory (DISCL)

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
upgrade_dokuwiki_version [2020/07/22 17:45]
chenxuniu
upgrade_dokuwiki_version [2020/07/23 13:43] (current)
chenxuniu
Line 5: Line 5:
 1. Log in the server and make sure you are in the sudo group. Then make a backup of our Dokuwiki folder(which is /usr/share/nginx/doku).  1. Log in the server and make sure you are in the sudo group. Then make a backup of our Dokuwiki folder(which is /usr/share/nginx/doku). 
  
-For example, tar -czvf dokuwiki-(the date)-backup.tgz /usr/share/nginx/doku.+<code> 
 +tar -czvf dokuwiki-(the date)-backup.tgz /usr/share/nginx/doku 
 +</code>
  
 2. Download the lastest stable release from the download site: https://download.dokuwiki.org/ 2. Download the lastest stable release from the download site: https://download.dokuwiki.org/
  
 +<code>
 wget http://.../dokuwiki-xxxx-xx-xx.tgz wget http://.../dokuwiki-xxxx-xx-xx.tgz
 +</code>
  
 3.  Read the changelog to see if there are any special things to consider. Then unpack the distribution tarball and upload/copy the files over the previous installation(which is /usr/share/nginx/doku). Make sure to overwrite all files when prompted. 3.  Read the changelog to see if there are any special things to consider. Then unpack the distribution tarball and upload/copy the files over the previous installation(which is /usr/share/nginx/doku). Make sure to overwrite all files when prompted.
  
 +<code>
 tar -zxvf dokuwiki-xxxx-xx-xx.tgz tar -zxvf dokuwiki-xxxx-xx-xx.tgz
  
 cp -af dokuwiki-xxxx-xx-xx/* /usr/share/nginx/doku cp -af dokuwiki-xxxx-xx-xx/* /usr/share/nginx/doku
 +</code>
  
 4. Upgrade the templates and plugins if necessary. 4. Upgrade the templates and plugins if necessary.