DokuWiki

It's better when it's simple

User Tools

Site Tools


install:debian

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install:debian [2021-08-24 23:29] – [Recommended Setup] Klap-ininstall:debian [2024-02-07 19:37] (current) – [DokuWiki on Debian, Ubuntu and derivative Distributions] 2a02:3100:7425:1e00:2530:6ce7:845e:196a
Line 1: Line 1:
 ====== DokuWiki on Debian, Ubuntu and derivative Distributions ====== ====== DokuWiki on Debian, Ubuntu and derivative Distributions ======
  
-A Debian package for DokuWiki exists in the official Debian repository and can be installed through the usual Debian tools.+A Debian package for DokuWiki exists in the official Debian repository and can be installed through the usual Debian tools (i.e. ''apt'').
  
 However, we generally **do not** recommend installing DokuWiki as a Debian package for several reasons: However, we generally **do not** recommend installing DokuWiki as a Debian package for several reasons:
Line 26: Line 26:
 Instead of relying on the Debian package, it is recommended to simply install the webserver and PHP through the package manager and install DokuWiki from the sources. Instead of relying on the Debian package, it is recommended to simply install the webserver and PHP through the package manager and install DokuWiki from the sources.
  
-This can be as easy the following for a simple Apache mod_php setup:+This can be as easy as the following for a simple Apache mod_php setup:
  
-<code bash>+  - Prepare the system, download and unpack the latest DokuWiki version:<code bash>
 $> sudo apt update $> sudo apt update
-$> sudo apt install php libapache2-mod-php+$> sudo apt install php libapache2-mod-php php-xml php-json php-mbstring php-zip php-intl php-gd 
 +$> sudo systemctl restart apache2.service
 $> wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz $> wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
 $> tar xzvf dokuwiki-stable.tgz $> tar xzvf dokuwiki-stable.tgz
-$> sudo mv dokuwiki-\d\d\d\d-\d\d-\d\d /var/www/dokuwiki +$> sudo mv dokuwiki-*a /var/www/html/dokuwiki 
-$> sudo chown -R www-data:www-data /var/www/dokuwiki +$> sudo chown -R www-data:www-data /var/www/html/dokuwiki
-# continue on http://localhost/dokuwiki+
 </code> </code>
- +  - **Optional**\\ If you use a firewall, allow HTTP traffic. For the Uncomplicated Firewall (ufw) the command would be this:<code bash> 
 +sudo ufw allow 'Full' 
 +</code> 
 +  - Point your web browser to %%http://localhost/dokuwiki/install.php%% to configure your new DokuWiki installation.
install/debian.1629840587.txt.gz · Last modified: 2021-08-24 23:29 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki