User Tools

Site Tools


dokuwiki:install_dokuwiki_with_apache:install_dokuwiki

Differences

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

Link to this comparison view

Next revision
Previous revision
dokuwiki:install_dokuwiki_with_apache:install_dokuwiki [2022/06/30 18:32] – created 45.89.242.195dokuwiki:install_dokuwiki_with_apache:install_dokuwiki [2022/06/30 18:37] (current) – [Move the DokuWiki directory to the right location] 45.89.242.195
Line 1: Line 1:
 ====== DokuWiki - Install DokuWiki with Apache - Install DokuWiki ====== ====== DokuWiki - Install DokuWiki with Apache - Install DokuWiki ======
 +
 +===== Download the latest version of DokuWiki =====
 +
 +For the latest Staple version:
 +
 +<code bash>
 +wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
 +</code>
 +
 +or, for the Release Candidate Version:
 +
 +<code bash>
 +wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-rc.tgz
 +</code>
 +
 +----
 +
 +===== Unpack the compressed tar file =====
 +
 +<code bash>
 +tar xvzf dokuwiki-stable.tgz
 +</code>
 +
 +<WRAP info>
 +**NOTE:** For the Release Candidate version use:
 +
 +<code bash>
 +tar xvzf dokuwiki-rc.tgz
 +</code>
 +
 +</WRAP>
 +
 +----
 +
 +===== Move the DokuWiki directory to the right location =====
 +
 +<code bash>
 +sudo mv dokuwiki-XXX /var/www/html/dokuwiki
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  where **XXX** is the release number.
 +</WRAP>
 +
 +<WRAP info>
 +**NOTE:**  If this is an upgrade to an existing DokuWiki install, then the following will override the previous copy with the latest version:
 +
 +<code bash>
 +'cp' -af dokuwiki-rcXXX/* /var/www/dokuwiki/
 +</code>
 +
 +</WRAP>
 +
 +----
 +
 +===== Setup the .htaccess file =====
 +
 +Copy the sample .htaccess file:
 +
 +<code bash>
 +sudo cp /var/www/html/dokuwiki/.htaccess{.dist,}
 +</code>
 +
 +----
 +
 +===== Change the ownership of the DokuWiki folder =====
 +
 +<code bash>
 +sudo chown -R www-data:www-data /var/www/html/dokuwiki
 +</code>
 +
 +----
  
dokuwiki/install_dokuwiki_with_apache/install_dokuwiki.1656613924.txt.gz · Last modified: 2022/06/30 18:32 by 45.89.242.195

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki