User Tools

Site Tools


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:

wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz

or, for the Release Candidate Version:

wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-rc.tgz

Unpack the compressed tar file

tar xvzf dokuwiki-stable.tgz

NOTE: For the Release Candidate version use:

tar xvzf dokuwiki-rc.tgz

Move the DokuWiki directory to the right location

sudo mv dokuwiki-XXX /var/www/html/dokuwiki

NOTE: where XXX is the release number.

NOTE: If this is an upgrade to an existing DokuWiki install, then the following will override the previous copy with the latest version:

'cp' -af dokuwiki-rcXXX/* /var/www/dokuwiki/

Setup the .htaccess file

Copy the sample .htaccess file:

sudo cp /var/www/html/dokuwiki/.htaccess{.dist,}

Change the ownership of the DokuWiki folder

sudo chown -R www-data:www-data /var/www/html/dokuwiki

dokuwiki/install_dokuwiki_with_apache/install_dokuwiki.txt · Last modified: 2022/06/30 18:37 by 45.89.242.195

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki