CINXE.COM
install:ubuntu [DokuWiki]
<!DOCTYPE html> <html lang="en" dir="ltr" class="no-js"> <head> <meta charset="utf-8" /> <title>install:ubuntu [DokuWiki]</title> <meta name="generator" content="DokuWiki"/> <meta name="theme-color" content="#008800"/> <meta name="robots" content="noindex,nofollow"/> <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/> <link rel="start" href="/"/> <link rel="contents" href="/install:ubuntu?do=index" title="Sitemap"/> <link rel="manifest" href="/lib/exe/manifest.php"/> <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed.php"/> <link rel="alternate" type="application/rss+xml" title="Current namespace" href="/feed.php?mode=list&ns=install"/> <link rel="alternate" type="text/html" title="Plain HTML" href="/_export/xhtml/install:ubuntu"/> <link rel="alternate" type="text/plain" title="Wiki Markup" href="/_export/raw/install:ubuntu"/> <link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e"/> <script >var NS='install';var JSINFO = {"plugins":{"edittable":{"default columnwidth":""}},"id":"install:ubuntu","namespace":"install","ACT":"diff","useHeadingNavigation":0,"useHeadingContent":0};(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js" defer="defer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js" defer="defer"></script> <script src="/lib/exe/js.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e&lang=en" defer="defer"></script> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="shortcut icon" href="/lib/tpl/dokuwiki/images/favicon.ico" /> <link rel="apple-touch-icon" href="/lib/tpl/dokuwiki/images/apple-touch-icon.png" /> <meta name="verify-v1" content="OVxl3gsCv2MhZqh1cBQyl0JytWXSwXMjyvwc+4w3WtA=" /> <meta name="google-site-verification" content="YhTVK69hW94ZXUtc2zSLPxTkZKbZIn0zK67mz5WQB-E" /> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83791-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-83791-1', { 'anonymize_ip': true }); </script> </head> <body> <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_diff tpl_dokuwiki hasSidebar"> <!-- ********** HEADER ********** --> <header id="dokuwiki__header"><div class="pad group"> <div class="headings group"> <ul class="a11y skip"> <li><a href="#dokuwiki__content">skip to content</a></li> </ul> <h1 class="logo"><a href="/start" accesskey="h" title="Home [h]"><img src="/lib/tpl/dokuwiki/images/logo.png" width="64" height="64" alt="" /><span>DokuWiki</span></a></h1> <p class="claim">It's better when it's simple</p> </div> <div class="tools group"> <!-- USER TOOLS --> <div id="dokuwiki__usertools"> <h3 class="a11y">User Tools</h3> <ul> <li class="action login"><a href="/install:ubuntu?do=login&sectok=" title="Log In" rel="nofollow"><span>Log In</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 17.25V14H3v-4h7V6.75L15.25 12 10 17.25M8 2h9a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4h2v4h9V4H8v4H6V4a2 2 0 0 1 2-2z"/></svg></a></li> </ul> </div> <!-- SITE TOOLS --> <div id="dokuwiki__sitetools"> <h3 class="a11y">Site Tools</h3> <form action="/start" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8"><input type="hidden" name="do" value="search" /><input type="hidden" name="id" value="install:ubuntu" /><div class="no"><input name="q" type="text" class="edit" title="[F]" accesskey="f" placeholder="Search" autocomplete="on" id="qsearch__in" value="" /><button value="1" type="submit" title="Search">Search</button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> <div class="mobileTools"> <form action="/doku.php" method="get" accept-charset="utf-8"><div class="no"><input type="hidden" name="id" value="install:ubuntu" /><input type="hidden" name="rev" value="1514480114" /><select name="do" class="edit quickselect" title="Tools"><option value="">Tools</option><optgroup label="Page Tools"><option value="">Show page</option><option value="revisions">Old revisions</option><option value="backlink">Backlinks</option></optgroup><optgroup label="Site Tools"><option value="recent">Recent Changes</option><option value="media">Media Manager</option><option value="index">Sitemap</option></optgroup><optgroup label="User Tools"><option value="login">Log In</option></optgroup></select><button type="submit">></button></div></form> </div> <ul> <li class="action recent"><a href="/install:ubuntu?do=recent" title="Recent Changes [r]" rel="nofollow" accesskey="r">Recent Changes</a></li><li class="action media"><a href="/install:ubuntu?do=media&ns=install" title="Media Manager" rel="nofollow">Media Manager</a></li><li class="action index"><a href="/install:ubuntu?do=index" title="Sitemap [x]" rel="nofollow" accesskey="x">Sitemap</a></li> </ul> </div> </div> <!-- BREADCRUMBS --> <div class="breadcrumbs"> <div class="trace"><span class="bchead">Trace:</span></div> </div> <hr class="a11y" /> </div></header><!-- /header --> <div class="wrapper group"> <!-- ********** CONTENT ********** --> <main id="dokuwiki__content"><div class="pad group"> <div class="pageId"><span>install:ubuntu</span></div> <div class="page group"> <!-- wikipage start --> <h1 class="sectionedit1" id="differences">Differences</h1> <div class="level1"> <p> This shows you the differences between two versions of the page. </p> </div> <div class="diffoptions group"><form action="/start" method="post" accept-charset="utf-8" class="doku_form"><input type="hidden" name="sectok" value="" /><input type="hidden" name="id" value="install:ubuntu" /><input type="hidden" name="rev2[0]" value="1514480114" /><input type="hidden" name="rev2[1]" value="1705675769" /><input type="hidden" name="do" value="diff" /><label class="quickselect"> <span>View differences:</span> <select name="difftype" class="quickselect"><option selected="selected" value="sidebyside" >Side by Side</option><option value="inline" >Inline</option></select> </label><button name="do[diff]" value="1" type="submit">Go</button></form><p><a class="difflink" href="https://www.dokuwiki.org/install:ubuntu?do=diff&rev2%5B0%5D=1514480114&rev2%5B1%5D=1705675769&difftype=sidebyside" title="Link to this comparison view"><span>Link to this comparison view</span></a></p></div><div class="table"><table class="diff diff_sidebyside"><tr><td colspan="2" class="diffnav"><a class="diffbothprevrev" href="https://www.dokuwiki.org/install:ubuntu?do=diff&rev2%5B0%5D=1509094190&rev2%5B1%5D=1705654988&difftype=sidebyside" title="Both sides previous revision"><span>Both sides previous revision</span></a><a class="diffprevrev" href="https://www.dokuwiki.org/install:ubuntu?do=diff&rev2%5B0%5D=1509094190&rev2%5B1%5D=1705675769&difftype=sidebyside" title="Previous revision"><span>Previous revision</span></a><form action="/install:ubuntu" method="post" accept-charset="utf-8" class="doku_form"><input type="hidden" name="sectok" value="" /><input type="hidden" name="id" value="install:ubuntu" /><input type="hidden" name="do" value="diff" /><input type="hidden" name="difftype" value="sidebyside" /><input type="hidden" name="rev2[1]" value="1705675769" /><select name="rev2[0]" class="quickselect"><option value="1705675769" title="1705675769" disabled="disabled">2024-01-19 15:49 Aleksandr old revision restored (2022-07-08 22:56)</option><option value="1705654988" title="1705654988">2024-01-19 10:03 ff</option><option value="1657313766" title="1657313766">2022-07-08 22:56 Klap-in old revision restored (2021-10-19 16:46)</option><option value="1657299299" title="1657299299">2022-07-08 18:54 removed</option><option value="1634654776" title="1634654776">2021-10-19 16:46 Klap-in </option><option value="1634654184" title="1634654184">2021-10-19 16:36 Klap-in </option><option value="1583271759" title="1583271759">2020-03-03 22:42 kalenpw </option><option value="1583271749" title="1583271749">2020-03-03 22:42 kalenpw </option><option value="1577947437" title="1577947437">2020-01-02 07:43 neoporcupine </option><option value="1577947385" title="1577947385">2020-01-02 07:43 neoporcupine </option><option value="1577947356" title="1577947356">2020-01-02 07:42 neoporcupine </option><option value="1577937289" title="1577937289">2020-01-02 04:54 neoporcupine </option><option value="1577936032" title="1577936032">2020-01-02 04:33 neoporcupine </option><option selected="selected" value="1514480114" title="1514480114">2017-12-28 17:55 Aleksandr </option><option value="1509094190" title="1509094190">2017-10-27 10:49 Link to the debian page for install from DEB package</option><option value="1509024151" title="1509024151">2017-10-26 15:22 Add note about dokuwiki package in Ubuntu repository</option><option value="1507231417" title="1507231417">2017-10-05 21:23 </option><option value="1507231405" title="1507231405">2017-10-05 21:23 </option><option value="1506445250" title="1506445250">2017-09-26 19:00 </option><option value="1506445236" title="1506445236">2017-09-26 19:00 </option><option value="1505741673" title="1505741673">2017-09-18 15:34 </option><option value="1500926352" title="1500926352">2017-07-24 21:59 Ubuntu 12.04 is out of support.</option><option value="1500673834" title="1500673834">2017-07-21 23:50 ajout du paquet php-xml</option><option value="1499261243" title="1499261243">2017-07-05 15:27 werner.flamme old revision restored (2017-04-25 15:16)</option><option value="1499259929" title="1499259929">2017-07-05 15:05 </option><option value="1493126210" title="1493126210">2017-04-25 15:16 </option><option value="1489346626" title="1489346626">2017-03-12 20:23 Include Farm instructions</option><option value="1489346342" title="1489346342">2017-03-12 20:19 [Installation] Whats true for Debian is NOT true for Ubuntu. The Apache directories are totally different. Removed because this is very confusing.</option><option value="1485206004" title="1485206004">2017-01-23 22:13 minor grammar corrections</option><option value="1485205793" title="1485205793">2017-01-23 22:09 added an option to host DokuWiki on localhost for testing purposes. See points 7a-c and 10a</option><option value="1485091390" title="1485091390">2017-01-22 14:23 </option><option value="1483437029" title="1483437029">2017-01-03 10:50 Change Dokuwiki-URL from http to https</option><option value="1474843948" title="1474843948">2016-09-26 00:52 ach rewrote "here" links</option><option value="1474132605" title="1474132605">2016-09-17 19:16 dokuwiki-user [Installation] - Correct mistake I made...</option><option value="1474132521" title="1474132521">2016-09-17 19:15 dokuwiki-user Clarify what "here" means</option><option value="1473868689" title="1473868689">2016-09-14 17:58 [Installation] </option><option value="1470854963" title="1470854963">2016-08-10 20:49 Added "with apt-get" to the disclaimer regarding installing php7.0-xml for Ubuntu 16.04</option><option value="1465573029" title="1465573029">2016-06-10 17:37 [Custom Installation] </option><option value="1463079164" title="1463079164">2016-05-12 20:52 </option></select><button name="do[diff]" value="1" type="submit">Go</button></form><a class="diffnextrev" href="https://www.dokuwiki.org/install:ubuntu?do=diff&rev2%5B0%5D=1577936032&rev2%5B1%5D=1705675769&difftype=sidebyside" title="Next revision"><span>Next revision</span></a></td><td colspan="2" class="diffnav"><a class="diffprevrev" href="https://www.dokuwiki.org/install:ubuntu?do=diff&rev2%5B0%5D=1514480114&rev2%5B1%5D=1705654988&difftype=sidebyside" title="Previous revision"><span>Previous revision</span></a><form action="/install:ubuntu" method="post" accept-charset="utf-8" class="doku_form"><input type="hidden" name="sectok" value="" /><input type="hidden" name="id" value="install:ubuntu" /><input type="hidden" name="do" value="diff" /><input type="hidden" name="difftype" value="sidebyside" /><input type="hidden" name="rev2[0]" value="1514480114" /><select name="rev2[1]" class="quickselect"><option selected="selected" value="1705675769" title="1705675769">2024-01-19 15:49 Aleksandr old revision restored (2022-07-08 22:56)</option><option value="1705654988" title="1705654988">2024-01-19 10:03 ff</option><option value="1657313766" title="1657313766">2022-07-08 22:56 Klap-in old revision restored (2021-10-19 16:46)</option><option value="1657299299" title="1657299299">2022-07-08 18:54 removed</option><option value="1634654776" title="1634654776">2021-10-19 16:46 Klap-in </option><option value="1634654184" title="1634654184">2021-10-19 16:36 Klap-in </option><option value="1583271759" title="1583271759">2020-03-03 22:42 kalenpw </option><option value="1583271749" title="1583271749">2020-03-03 22:42 kalenpw </option><option value="1577947437" title="1577947437">2020-01-02 07:43 neoporcupine </option><option value="1577947385" title="1577947385">2020-01-02 07:43 neoporcupine </option><option value="1577947356" title="1577947356">2020-01-02 07:42 neoporcupine </option><option value="1577937289" title="1577937289">2020-01-02 04:54 neoporcupine </option><option value="1577936032" title="1577936032">2020-01-02 04:33 neoporcupine </option><option value="1514480114" title="1514480114" disabled="disabled">2017-12-28 17:55 Aleksandr </option><option value="1509094190" title="1509094190" disabled="disabled">2017-10-27 10:49 Link to the debian page for install from DEB package</option><option value="1509024151" title="1509024151" disabled="disabled">2017-10-26 15:22 Add note about dokuwiki package in Ubuntu repository</option><option value="1507231417" title="1507231417" disabled="disabled">2017-10-05 21:23 </option><option value="1507231405" title="1507231405" disabled="disabled">2017-10-05 21:23 </option><option value="1506445250" title="1506445250" disabled="disabled">2017-09-26 19:00 </option><option value="1506445236" title="1506445236" disabled="disabled">2017-09-26 19:00 </option><option value="1505741673" title="1505741673" disabled="disabled">2017-09-18 15:34 </option><option value="1500926352" title="1500926352" disabled="disabled">2017-07-24 21:59 Ubuntu 12.04 is out of support.</option><option value="1500673834" title="1500673834" disabled="disabled">2017-07-21 23:50 ajout du paquet php-xml</option><option value="1499261243" title="1499261243" disabled="disabled">2017-07-05 15:27 werner.flamme old revision restored (2017-04-25 15:16)</option><option value="1499259929" title="1499259929" disabled="disabled">2017-07-05 15:05 </option><option value="1493126210" title="1493126210" disabled="disabled">2017-04-25 15:16 </option><option value="1489346626" title="1489346626" disabled="disabled">2017-03-12 20:23 Include Farm instructions</option><option value="1489346342" title="1489346342" disabled="disabled">2017-03-12 20:19 [Installation] Whats true for Debian is NOT true for Ubuntu. The Apache directories are totally different. Removed because this is very confusing.</option><option value="1485206004" title="1485206004" disabled="disabled">2017-01-23 22:13 minor grammar corrections</option><option value="1485205793" title="1485205793" disabled="disabled">2017-01-23 22:09 added an option to host DokuWiki on localhost for testing purposes. See points 7a-c and 10a</option><option value="1485091390" title="1485091390" disabled="disabled">2017-01-22 14:23 </option><option value="1483437029" title="1483437029" disabled="disabled">2017-01-03 10:50 Change Dokuwiki-URL from http to https</option><option value="1474843948" title="1474843948" disabled="disabled">2016-09-26 00:52 ach rewrote "here" links</option><option value="1474132605" title="1474132605" disabled="disabled">2016-09-17 19:16 dokuwiki-user [Installation] - Correct mistake I made...</option><option value="1474132521" title="1474132521" disabled="disabled">2016-09-17 19:15 dokuwiki-user Clarify what "here" means</option><option value="1473868689" title="1473868689" disabled="disabled">2016-09-14 17:58 [Installation] </option><option value="1470854963" title="1470854963" disabled="disabled">2016-08-10 20:49 Added "with apt-get" to the disclaimer regarding installing php7.0-xml for Ubuntu 16.04</option><option value="1465573029" title="1465573029" disabled="disabled">2016-06-10 17:37 [Custom Installation] </option><option value="1463079164" title="1463079164" disabled="disabled">2016-05-12 20:52 </option><option value="1463079129" title="1463079129" disabled="disabled">2016-05-12 20:52 Remove extremely outdated documentation</option><option value="1457091190" title="1457091190" disabled="disabled">2016-03-04 12:33 old revision restored (2016-03-03 06:38)</option><option value="1457089680" title="1457089680" disabled="disabled">2016-03-04 12:08 </option><option value="1456983522" title="1456983522" disabled="disabled">2016-03-03 06:38 </option><option value="1456926664" title="1456926664" disabled="disabled">2016-03-02 14:51 </option><option value="1456926621" title="1456926621" disabled="disabled">2016-03-02 14:50 </option><option value="1455562162" title="1455562162" disabled="disabled">2016-02-15 19:49 old revision restored (2015-04-16 13:49)</option><option value="1455562107" title="1455562107" disabled="disabled">2016-02-15 19:48 [Installation] </option><option value="1455115271" title="1455115271" disabled="disabled">2016-02-10 15:41 </option><option value="1455115248" title="1455115248" disabled="disabled">2016-02-10 15:40 </option><option value="1445529878" title="1445529878" disabled="disabled">2015-10-22 18:04 </option><option value="1445529861" title="1445529861" disabled="disabled">2015-10-22 18:04 </option></select><button name="do[diff]" value="1" type="submit">Go</button></form></td></tr><tr><th colspan="2"><bdi><a class="wikilink1" href="/install:ubuntu?rev=1514480114">install:ubuntu [2017-12-28 17:55]</a></bdi> <span class="sum"> – </span> <span class="user"><bdi>Aleksandr</bdi></span></th><th colspan="2"><bdi><a class="wikilink1" href="/install:ubuntu">install:ubuntu [2024-01-19 15:49]</a></bdi> (current) <span class="sum"> – old revision restored (2022-07-08 22:56)</span> <span class="user"><bdi>Aleksandr</bdi></span></th></tr><tr><td class="diff-blockheader" colspan="2">Line 1:</td> <td class="diff-blockheader" colspan="2">Line 1:</td> </tr> <tr><td class="diff-lineheader"> </td><td class="diff-context">====== Installation DokuWiki under Ubuntu ======</td><td class="diff-lineheader"> </td><td class="diff-context">====== Installation DokuWiki under Ubuntu ======</td></tr> <tr><td class="diff-lineheader"> </td><td class="diff-context"></td><td class="diff-lineheader"> </td><td class="diff-context"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">**Please note**</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">The repository of Ubuntu has still the 2018-04-22 version of DokuWiki. This version is not recommended. Please install the newest version of DokuWiki. The instruction below uses a version downloaded directly from dokuwiki.org.</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">  * [[:<wbr>install:<wbr>ubuntu:<wbr> Ubuntu 18.04 + Nginx | Ubuntu 18.04 + Nginx]] <wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">----</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">=====Ubuntu 14.04, and 16.04?=====</td></tr> <tr><td class="diff-lineheader"> </td><td class="diff-context">These are instructions on how to install a single DokuWiki under Ubuntu 14.04. Other version installations are discussed below. If you want to install a DokuWiki Farm, follow these instructions and then visit the [[:<wbr>farms|Farm Page]].</td><td class="diff-lineheader"> </td><td class="diff-context">These are instructions on how to install a single DokuWiki under Ubuntu 14.04. Other version installations are discussed below. If you want to install a DokuWiki Farm, follow these instructions and then visit the [[:<wbr>farms|Farm Page]].</td></tr> <tr><td class="diff-lineheader"> </td><td class="diff-context"></td><td class="diff-lineheader"> </td><td class="diff-context"></td></tr> <tr><td class="diff-blockheader" colspan="2">Line 78:</td> <td class="diff-blockheader" colspan="2">Line 87:</td> </tr> <tr><td class="diff-lineheader"> </td><td class="diff-context">  - That's it. Enjoy your own DokuWiki server. (Test if it works on your %%http://<wbr>localhost/<wbr>dokuwiki%%)</td><td class="diff-lineheader"> </td><td class="diff-context">  - That's it. Enjoy your own DokuWiki server. (Test if it works on your %%http://<wbr>localhost/<wbr>dokuwiki%%)</td></tr> <tr><td class="diff-lineheader"> </td><td class="diff-context"></td><td class="diff-lineheader"> </td><td class="diff-context"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">===== Installation of DokuWiki using apt-get =====</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"><<wbr>code><wbr>apt list dokuwiki</<wbr>code><wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">Check the date, if the date is over a couple months then I would highly recommend stopping here and trying the above methods for installation.</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"><<wbr>file><wbr>dokuwiki/<wbr>eoan,<wbr>now 0.0.20180422.a-2 all [residual-config]</<wbr>file><wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">If you insist on using the above package then the steps below will assist getting your installation operational.</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">Note:</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">  - As of 2020-01-02 the package is dated **2018-04-22** which is quite out of date.</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">  - I am concerned that:</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">    - more items in /<wbr>var/<wbr>lib/<wbr>dokuwiki/<wbr> might be required in /<wbr>usr/<wbr>share/<wbr>dokuwiki</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">    - more items in /<wbr>etc/<wbr>dokuwiki/<wbr> might be required in /<wbr>usr/<wbr>share/<wbr>dokuwiki</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">  - Initially there are a number of PHP warnings that appear to pop up occasionally when first exploring the wiki, however they seem to go away and not return (often). These issues are documented on the DokuWiki web site, and claim to be fixed, likely the issues will go away after the DokuWiki install package gets updated.</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">Assuming that you have already installed apache and PHP (see above) and they are operating correctly.</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">The following commands will require **sudo** prefix or require you to be **su** (naughty). <wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"><<wbr>code><wbr>sudo apt install dokuwiki</<wbr>code><wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">Folders of interest</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">  * /<wbr>etc/<wbr>dokuwiki/<wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">  * /<wbr>usr/<wbr>share/<wbr>dokuwiki/<wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">  * /<wbr>var/<wbr>lib/<wbr>dokuwiki/<wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">The apt package has number of problems which you will need to address:</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"><<wbr>code><wbr>chown www-data:<wbr>www-data /<wbr>usr/<wbr>share/<wbr>dokuwiki</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">chown www-data:<wbr>www-data /<wbr>usr/<wbr>share/<wbr>dokuwiki/<wbr>* -R</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">chown www-data:<wbr>www-data /<wbr>var/<wbr>lib/<wbr>dokuwiki</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">chown www-data:<wbr>www-data /<wbr>var/<wbr>lib/<wbr>dokuwiki/<wbr>* -R</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">ln -s /<wbr>var/<wbr>lib/<wbr>dokuwiki/<wbr>data /<wbr>usr/<wbr>share/<wbr>dokuwiki/<wbr>data</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">ln -s /<wbr>etc/<wbr>dokuwiki/<wbr>license.php /<wbr>usr/<wbr>share/<wbr>dokuwiki/<wbr>conf/<wbr>license.php</<wbr>code><wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">Create virtual directory for apache</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"><<wbr>code><wbr>nano /<wbr>etc/<wbr>apache2/<wbr>sites-available/<wbr>dokuwiki.conf</<wbr>code><wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"><<wbr>file><wbr>Alias /dokuwiki /<wbr>usr/<wbr>share/<wbr>dokuwiki</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"><<wbr>Directory /<wbr>usr/<wbr>share/<wbr>dokuwiki><wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">        Options +FollowSymLinks</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">        AllowOverride All</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">        DirectoryIndex index.php</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">        Order allow,deny</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">        Allow from all</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></<wbr>Directory><wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">AliasMatch ^/<wbr>dokuwiki/<wbr>sites/<wbr>[^/<wbr>]+$ <wbr>     /<wbr>usr/<wbr>share/<wbr>dokuwiki/<wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">AliasMatch ^/<wbr>dokuwiki/<wbr>sites/<wbr>[^/<wbr>]+/<wbr>(.*)$ /<wbr>usr/<wbr>share/<wbr>dokuwiki/<wbr>$1</<wbr>file><wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">Tell apache to enable the virtual folder (Note: use a2dissite to disable). <wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"><<wbr>code><wbr>a2ensite dokuwiki</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">systemctl reload apache2</<wbr>code><wbr></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"></td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline">Open your web browser and configure DokuWiki (You will likely get warnings if you have PHP 7.x).</td></tr> <tr><td colspan="2"> </td><td class="diff-lineheader">+</td><td class="diff-addedline"><<wbr>code><wbr>http://<wbr>mysite.dyndns.org/<wbr>dokuwiki/<wbr>install.php</<wbr>code><wbr></td></tr> </table></div> <!-- wikipage stop --> </div> <div class="docInfo"><bdi>install/ubuntu.1514480114.txt.gz</bdi> · Last modified: <time datetime="2017-12-28T17:55:14+0100">2017-12-28 17:55</time> by <bdi>Aleksandr</bdi></div> <hr class="a11y" /> </div></main><!-- /content --> <!-- PAGE ACTIONS --> <nav id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools__heading"> <h3 class="a11y" id="dokuwiki__pagetools__heading">Page Tools</h3> <div class="tools"> <ul> <li class="show"><a href="/install:ubuntu?do=" title="Show page [v]" rel="nofollow" accesskey="v"><span>Show page</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13 9h5.5L13 3.5V9M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m9 16v-2H6v2h9m3-4v-2H6v2h12z"/></svg></a></li><li class="revs"><a href="/install:ubuntu?do=revisions" title="Old revisions [o]" rel="nofollow" accesskey="o"><span>Old revisions</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 7v5.11l4.71 2.79.79-1.28-4-2.37V7m0-5C8.97 2 5.91 3.92 4.27 6.77L2 4.5V11h6.5L5.75 8.25C6.96 5.73 9.5 4 12.5 4a7.5 7.5 0 0 1 7.5 7.5 7.5 7.5 0 0 1-7.5 7.5c-3.27 0-6.03-2.09-7.06-5h-2.1c1.1 4.03 4.77 7 9.16 7 5.24 0 9.5-4.25 9.5-9.5A9.5 9.5 0 0 0 12.5 2z"/></svg></a></li><li class="backlink"><a href="/install:ubuntu?do=backlink" title="Backlinks" rel="nofollow"><span>Backlinks</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.59 13.41c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0 5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24 2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0 5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24 2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24.973.973 0 0 1 0-1.42z"/></svg></a></li><li class="top"><a href="#dokuwiki__top" title="Back to top [t]" rel="nofollow" accesskey="t"><span>Back to top</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"/></svg></a></li> </ul> </div> </nav> </div><!-- /wrapper --> <!-- ********** FOOTER ********** --> <footer id="dokuwiki__footer"><div class="pad"> <div class="license">Except where otherwise noted, content on this wiki is licensed under the following license: <bdi><a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license" class="urlextern">CC Attribution-Share Alike 4.0 International</a></bdi></div> <div class="buttons"> <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license"><img src="/lib/images/license/button/cc-by-sa.png" alt="CC Attribution-Share Alike 4.0 International" /></a> <a href="https://www.dokuwiki.org/donate" title="Donate" ><img src="/lib/tpl/dokuwiki/images/button-donate.gif" width="80" height="15" alt="Donate" /></a> <a href="https://php.net" title="Powered by PHP" ><img src="/lib/tpl/dokuwiki/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> <a href="//validator.w3.org/check/referer" title="Valid HTML5" ><img src="/lib/tpl/dokuwiki/images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a> <a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" ><img src="/lib/tpl/dokuwiki/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> <a href="https://dokuwiki.org/" title="Driven by DokuWiki" ><img src="/lib/tpl/dokuwiki/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> </div> <div style="margin-top: 2em; font-size:90%" class="dokuwiki"><div style="float:right"><a href="http://www.splitbrain.org/personal#imprint" style="float:right; text-decoration: none; color:#333">Imprint</a></div></div><!-- Include for DokuWiki site wide top bar --> <style type="text/css"> @media screen { body { padding-top: 30px; } #global__header { position: absolute; top: 0; left: 0; text-align: left; vertical-align: middle; line-height: 1.5; background-color: #333; box-shadow: 0 0 8px rgba(0,0,0,0.5); width: 100%; margin: 0; padding: 5px 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; white-space: nowrap; overflow: hidden; } #global__header h2 { position: absolute; left: -99999em; top: 0; overflow: hidden; display: inline; } #global__header ul, #global__header li { margin: 0; padding: 0; list-style: none; display: inline; line-height: 1.5; } #global__header a { color: #bbb; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: normal; } #global__header a:hover, #global__header a:active, #global__header a:focus { color: #fff; text-decoration: underline; } #global__header form { float: right; margin: 0 0 0 20px; } #global__header input { background-color: #333; background-image: none; border: 1px solid #bbb; color: #fff; box-shadow: none; border-radius: 2px; margin: 0; line-height: normal; padding: 1px 0 1px 0; height: auto; } #global__header input.button { border: none; color: #bbb; } #global__header input.button:hover, #global__header input.button:active, #global__header input.button:focus { color: #fff; text-decoration: underline; } } /* /@media */ @media only screen and (min-width: 601px) { /* changes specific for www.dokuwiki.org */ #dokuwiki__header { padding-top: 3em; } #dokuwiki__usertools { top: 3em; } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } /* /@media */ @media only screen and (max-width: 600px) { body { padding-top: 0; } #global__header { position: static; white-space: normal; overflow: auto; } #global__header form { float: none; display: block; margin: 0 0 .4em; } } /* /@media */ @media print { #global__header { display: none; } } /* /@media */ </style> <div id="global__header"> <h2>Global DokuWiki Links</h2> <form method="get" action="https://search.dokuwiki.org/" target="_top"> <input type="text" name="q" title="Search all DokuWiki sites at once" class="input" /> <input type="submit" title="Search all DokuWiki sites at once" value="Search" class="button" /> </form> <ul> <li><a href="https://download.dokuwiki.org" title="Download the latest release" target="_top">Download</a></li> <li><a href="https://www.dokuwiki.org" title="Read the DokuWiki documentation" target="_top">Wiki</a></li> <li><a href="https://forum.dokuwiki.org" title="Ask questions in the DokuWiki forum" target="_top">Forum</a></li> <li><a href="https://irc.dokuwiki.org" title="Check IRC chat logs or join the chat" target="_top">IRC</a></li> <li><a href="https://github.com/splitbrain/dokuwiki/issues" title="Report and track bugs" target="_top">Bugs</a></li> <li><a href="https://translate.dokuwiki.org/" title="Help translating the DokuWiki interface" target="_top">Translate</a></li> <li><a href="https://github.com/splitbrain/dokuwiki" title="Access the most recent git commits" target="_top">Git</a></li> <li><a href="https://xref.dokuwiki.org/reference/dokuwiki/" title="Cross-Reference of the DokuWiki source code" target="_top">XRef</a></li> <li><a href="https://codesearch.dokuwiki.org/" title="Search through the sources of DokuWiki, plugins and templates" target="_top">Code Search</a></li> </ul> </div> <!-- end of DokuWiki top bar include --> </div></footer><!-- /footer --> </div></div><!-- /site --> <div class="no"><img src="/lib/exe/taskrunner.php?id=install%3Aubuntu&1732983218" width="2" height="1" alt="" /></div> <div id="screen__mode" class="no"></div></body> </html>