install:debian
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:debian [2021-10-01 14:53] – [Recommended Setup] Carboleum | install: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. '' |
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 php-xml | + | $> sudo apt install php libapache2-mod-php php-xml |
- | $> sudo service apache2 | + | $> sudo systemctl |
$> wget https:// | $> wget https:// | ||
$> tar xzvf dokuwiki-stable.tgz | $> tar xzvf dokuwiki-stable.tgz | ||
- | $> sudo mv dokuwiki-\d\d\d\d-\d\d-\d\d | + | $> sudo mv dokuwiki-*a /var/www/html/dokuwiki |
- | $> sudo chown -R www-data: | + | $> sudo chown -R www-data: |
- | # continue on http:// | + | |
</ | </ | ||
- | + | - **Optional**\\ If you use a firewall, allow HTTP traffic. For the Uncomplicated Firewall (ufw) the command would be this:< | |
+ | sudo ufw allow ' | ||
+ | </ | ||
+ | - Point your web browser to %%http:// |
install/debian.1633092786.txt.gz · Last modified: 2021-10-01 14:53 by Carboleum