Notes on installing dokuwiki

This commit is contained in:
Bob Mottram 2016-11-14 14:36:16 +00:00
parent ecb404b6c1
commit 802ad58a8a
5 changed files with 137 additions and 86 deletions

42
doc/EN/app_dokuwiki.org Normal file
View File

@ -0,0 +1,42 @@
#+TITLE:
#+AUTHOR: Bob Mottram
#+EMAIL: bob@freedombone.net
#+KEYWORDS: freedombone, dokuwiki
#+DESCRIPTION: How to use Dokuwiki
#+OPTIONS: ^:nil toc:nil
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="freedombone.css" />
#+BEGIN_CENTER
[[file:images/logo.png]]
#+END_CENTER
#+BEGIN_EXPORT html
<center>
<h1>Mailpile</h1>
</center>
#+END_EXPORT
Dokuwiki is a wiki which stores its content in text files. Having no database makes maintaining it simpler, and it's not tied to any particular domain name so you can easily copy the files to a different domain if you need to.
* Installation
Log into your system with:
#+begin_src bash
ssh myusername@mydomain -p 2222
#+end_src
Using cursor keys, space bar and Enter key select *Administrator controls* and type in your password.
Select *Add/Remove Apps* then *dokuwiki*. You will then be asked for a domain name and if you are using FreeDNS also the code for the domain which can be found under *Dynamic DNS* on the FreeDNS site (the random string from "/quick cron example/" which appears after /update.php?/ and before />>/). For more details on obtaining a domain and making it accessible via dynamic DNS see the [[./faq.html][FAQ]]. Typically the domain name you use will be a subdomain, such as /wiki.mydomainname.net/. It will need to be a domain which you have bought somewhere and own and not one of the FreeDNS subdomains, otherwise you won't be able to get a SSL/TLS certificate for it.
After the install has completed go to *Security settings* and select *Create a new Let's Encrypt certificate* and enter the domain name that you are using for Dokuwiki. If you're using the "onion only" version of the system then you don't need to do this. If the certificate is obtained successfully then you will see a congratulations message.
* Initial setup
If you have just obtained a Lets Encrypt certificate as above then go to *About* on the administrator control panel and you should see your Dokuwiki domain listed there along with an onion address. You can then navigate to your site in a browser.
If you installed the system using a disk image then you can log in using the username and password which was originally shown when you installed the system. If you didn't install from a disk image then a new random password will be generated for each site and stored within a readme file. If you need to view that file then exit to the user control panel, select *Exit to the command line* and then run:
#+begin_src bash
editor README
#+end_src

View File

@ -27,6 +27,7 @@ Enables you to use the system as a music server which any DLNA compatible device
* Dokuwiki
A databaseless wiki system.
[[./app_dokuwiki.html][How to use it]]
* Emacs
If you use the Mutt client to read your email then this will set it up to use emacs for composing new mail.

View File

@ -25,6 +25,7 @@
| [[./app_dlna.html][Play Music]] |
| [[./app_gnusocial.html][Microblogging (GNU Social)]] |
| [[./app_hubzilla.html][Social Network]] |
| [[./app_dokuwiki.html][Wiki]] |
| [[./app_irc.html][Multi-user chat with IRC]] |
| [[./app_xmpp.html][XMPP/Jabber]] |
| [[./app_tox.html][Tox]] |

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2016-11-13 Sun 16:08 -->
<!-- 2016-11-14 Mon 14:34 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -257,9 +257,9 @@ The base install of the system just contains an email server and Mutt client, bu
</div>
</div>
<div id="outline-container-org53750a1" class="outline-2">
<h2 id="org53750a1">DLNA</h2>
<div class="outline-text-2" id="text-org53750a1">
<div id="outline-container-org6b0cb3c" class="outline-2">
<h2 id="org6b0cb3c">DLNA</h2>
<div class="outline-text-2" id="text-org6b0cb3c">
<p>
Enables you to use the system as a music server which any DLNA compatible devices can connect to within your home network.
</p>
@ -269,45 +269,48 @@ Enables you to use the system as a music server which any DLNA compatible device
</p>
</div>
</div>
<div id="outline-container-orgc37305d" class="outline-2">
<h2 id="orgc37305d">Dokuwiki</h2>
<div class="outline-text-2" id="text-orgc37305d">
<div id="outline-container-org1edaf37" class="outline-2">
<h2 id="org1edaf37">Dokuwiki</h2>
<div class="outline-text-2" id="text-org1edaf37">
<p>
A databaseless wiki system.
</p>
</div>
</div>
<div id="outline-container-org4e065e2" class="outline-2">
<h2 id="org4e065e2">Emacs</h2>
<div class="outline-text-2" id="text-org4e065e2">
<p>
<a href="./app_dokuwiki.html">How to use it</a>
</p>
</div>
</div>
<div id="outline-container-org07e9247" class="outline-2">
<h2 id="org07e9247">Emacs</h2>
<div class="outline-text-2" id="text-org07e9247">
<p>
If you use the Mutt client to read your email then this will set it up to use emacs for composing new mail.
</p>
</div>
</div>
<div id="outline-container-orgf70547e" class="outline-2">
<h2 id="orgf70547e">Etherpad</h2>
<div class="outline-text-2" id="text-orgf70547e">
<div id="outline-container-orgbbbf14d" class="outline-2">
<h2 id="orgbbbf14d">Etherpad</h2>
<div class="outline-text-2" id="text-orgbbbf14d">
<p>
Collaborate on creating documents in real time. Maybe you're planning a holiday with other family members or creating documentation for a Free Software project along with other volunteers. Etherpad is hard to beat for simplicity and speed. Only users of the system will be able to access it.
</p>
</div>
</div>
<div id="outline-container-org042ab63" class="outline-2">
<h2 id="org042ab63">Ghost</h2>
<div class="outline-text-2" id="text-org042ab63">
<div id="outline-container-orga446976" class="outline-2">
<h2 id="orga446976">Ghost</h2>
<div class="outline-text-2" id="text-orga446976">
<p>
Modern looking blogging system.
</p>
</div>
</div>
<div id="outline-container-orgfdec06d" class="outline-2">
<h2 id="orgfdec06d">GNU Social</h2>
<div class="outline-text-2" id="text-orgfdec06d">
<div id="outline-container-org03949bb" class="outline-2">
<h2 id="org03949bb">GNU Social</h2>
<div class="outline-text-2" id="text-org03949bb">
<p>
Federated social network. You can "<i>remote follow</i>" other users within the GNU Social federation.
</p>
@ -317,9 +320,9 @@ Federated social network. You can "<i>remote follow</i>" other users within the
</p>
</div>
</div>
<div id="outline-container-org34c3d73" class="outline-2">
<h2 id="org34c3d73">Gogs</h2>
<div class="outline-text-2" id="text-org34c3d73">
<div id="outline-container-orge3152c7" class="outline-2">
<h2 id="orge3152c7">Gogs</h2>
<div class="outline-text-2" id="text-orge3152c7">
<p>
Lightweight git project hosting system. You can mirror projects from Github, or if Github turns evil then just host your own projects while retaining the familiar <i>fork-and-pull</i> workflow. If you can use Github then you can also use Gogs.
</p>
@ -329,18 +332,18 @@ Lightweight git project hosting system. You can mirror projects from Github, or
</p>
</div>
</div>
<div id="outline-container-org401d328" class="outline-2">
<h2 id="org401d328">HTMLy</h2>
<div class="outline-text-2" id="text-org401d328">
<div id="outline-container-orgf79df97" class="outline-2">
<h2 id="orgf79df97">HTMLy</h2>
<div class="outline-text-2" id="text-orgf79df97">
<p>
Databaseless blogging system. Quite simple and with a markdown-like format.
</p>
</div>
</div>
<div id="outline-container-org76aa025" class="outline-2">
<h2 id="org76aa025">Hubzilla</h2>
<div class="outline-text-2" id="text-org76aa025">
<div id="outline-container-org052cad7" class="outline-2">
<h2 id="org052cad7">Hubzilla</h2>
<div class="outline-text-2" id="text-org052cad7">
<p>
Web publishing platform with social network like features and good privacy controls so that it's possible to specify who can see which content. Includes photo albums, calendar, wiki and file storage.
</p>
@ -350,9 +353,9 @@ Web publishing platform with social network like features and good privacy contr
</p>
</div>
</div>
<div id="outline-container-org419eab7" class="outline-2">
<h2 id="org419eab7">IRC Server (ngirc)</h2>
<div class="outline-text-2" id="text-org419eab7">
<div id="outline-container-orgbf4c5c3" class="outline-2">
<h2 id="orgbf4c5c3">IRC Server (ngirc)</h2>
<div class="outline-text-2" id="text-orgbf4c5c3">
<p>
Run your own IRC chat channel which can be secured with a password and accessible via an onion address. A bouncer is included so that you can receive messages sent while you were offline. Works with Hexchat and other popular clients.
</p>
@ -362,27 +365,27 @@ Run your own IRC chat channel which can be secured with a password and accessibl
</p>
</div>
</div>
<div id="outline-container-orgeeebcd5" class="outline-2">
<h2 id="orgeeebcd5">Jitsi Meet</h2>
<div class="outline-text-2" id="text-orgeeebcd5">
<div id="outline-container-org69c0d7e" class="outline-2">
<h2 id="org69c0d7e">Jitsi Meet</h2>
<div class="outline-text-2" id="text-org69c0d7e">
<p>
Experimental WebRTC video conferencing system, similar to Google Hangouts. This may not be fully functional, but is hoped to be in the near future.
</p>
</div>
</div>
<div id="outline-container-org5c47c0a" class="outline-2">
<h2 id="org5c47c0a">Lychee</h2>
<div class="outline-text-2" id="text-org5c47c0a">
<div id="outline-container-orgdb1664e" class="outline-2">
<h2 id="orgdb1664e">Lychee</h2>
<div class="outline-text-2" id="text-orgdb1664e">
<p>
Make your photo albums available on the web.
</p>
</div>
</div>
<div id="outline-container-org8d6a46b" class="outline-2">
<h2 id="org8d6a46b">Mailpile</h2>
<div class="outline-text-2" id="text-org8d6a46b">
<div id="outline-container-org39c239b" class="outline-2">
<h2 id="org39c239b">Mailpile</h2>
<div class="outline-text-2" id="text-org39c239b">
<p>
Modern email client which supports GPG encryption.
</p>
@ -392,9 +395,9 @@ Modern email client which supports GPG encryption.
</p>
</div>
</div>
<div id="outline-container-orgc5f3f6f" class="outline-2">
<h2 id="orgc5f3f6f">Mumble</h2>
<div class="outline-text-2" id="text-orgc5f3f6f">
<div id="outline-container-org8b10156" class="outline-2">
<h2 id="org8b10156">Mumble</h2>
<div class="outline-text-2" id="text-org8b10156">
<p>
The popular VoIP and text chat system. Say goodbye to old-fashioned telephony conferences with silly dial codes. Also works well on mobile.
</p>
@ -404,9 +407,9 @@ The popular VoIP and text chat system. Say goodbye to old-fashioned telephony co
</p>
</div>
</div>
<div id="outline-container-orgdf8d13c" class="outline-2">
<h2 id="orgdf8d13c">PI-Hole</h2>
<div class="outline-text-2" id="text-orgdf8d13c">
<div id="outline-container-org7d319bc" class="outline-2">
<h2 id="org7d319bc">PI-Hole</h2>
<div class="outline-text-2" id="text-org7d319bc">
<p>
The black hole for web adverts. Block adverts at the domain name level within your local network. It can significantly reduce bandwidth, speed up page load times and protect your systems from being tracked by spyware.
</p>
@ -416,27 +419,27 @@ The black hole for web adverts. Block adverts at the domain name level within yo
</p>
</div>
</div>
<div id="outline-container-orga434447" class="outline-2">
<h2 id="orga434447">PostActiv</h2>
<div class="outline-text-2" id="text-orga434447">
<div id="outline-container-org813cfb0" class="outline-2">
<h2 id="org813cfb0">PostActiv</h2>
<div class="outline-text-2" id="text-org813cfb0">
<p>
An alternative federated social networking system compatible with GNU Social. It includes some optimisations and fixes currently not available within the main GNU Social project.
</p>
</div>
</div>
<div id="outline-container-orgaeb4272" class="outline-2">
<h2 id="orgaeb4272">Radicale</h2>
<div class="outline-text-2" id="text-orgaeb4272">
<div id="outline-container-org57c1ea4" class="outline-2">
<h2 id="org57c1ea4">Radicale</h2>
<div class="outline-text-2" id="text-org57c1ea4">
<p>
Calendar system compatible with CalDAV and CardDAV. Manage your calendar events easily across all your devices.
</p>
</div>
</div>
<div id="outline-container-org5a42817" class="outline-2">
<h2 id="org5a42817">tt-rss</h2>
<div class="outline-text-2" id="text-org5a42817">
<div id="outline-container-org7d960e6" class="outline-2">
<h2 id="org7d960e6">tt-rss</h2>
<div class="outline-text-2" id="text-org7d960e6">
<p>
Private RSS reader. Pulls in RSS/Atom feeds via Tor and is only accessible via an onion address. Have "<i>the right to read</i>" without the Surveillance State knowing what you're reading. Also available with a user interface suitable for viewing on mobile devices via a browser such as OrFox.
</p>
@ -446,9 +449,9 @@ Private RSS reader. Pulls in RSS/Atom feeds via Tor and is only accessible via a
</p>
</div>
</div>
<div id="outline-container-org4c8581b" class="outline-2">
<h2 id="org4c8581b">Syncthing</h2>
<div class="outline-text-2" id="text-org4c8581b">
<div id="outline-container-orgea64faa" class="outline-2">
<h2 id="orgea64faa">Syncthing</h2>
<div class="outline-text-2" id="text-orgea64faa">
<p>
Possibly the best way to synchronise files across all of your devices. Once it has been set up it "just works" with no user intervention needed.
</p>
@ -458,9 +461,9 @@ Possibly the best way to synchronise files across all of your devices. Once it h
</p>
</div>
</div>
<div id="outline-container-org11de152" class="outline-2">
<h2 id="org11de152">Tox</h2>
<div class="outline-text-2" id="text-org11de152">
<div id="outline-container-orgf726393" class="outline-2">
<h2 id="orgf726393">Tox</h2>
<div class="outline-text-2" id="text-orgf726393">
<p>
Client and bootstrap node for the Tox chat/VoIP system.
</p>
@ -470,18 +473,18 @@ Client and bootstrap node for the Tox chat/VoIP system.
</p>
</div>
</div>
<div id="outline-container-org66c8cee" class="outline-2">
<h2 id="org66c8cee">Vim</h2>
<div class="outline-text-2" id="text-org66c8cee">
<div id="outline-container-orgd2cad13" class="outline-2">
<h2 id="orgd2cad13">Vim</h2>
<div class="outline-text-2" id="text-orgd2cad13">
<p>
If you use the Mutt client to read your email then this will set it up to use vim for composing new mail.
</p>
</div>
</div>
<div id="outline-container-org9ef06b6" class="outline-2">
<h2 id="org9ef06b6">XMPP</h2>
<div class="outline-text-2" id="text-org9ef06b6">
<div id="outline-container-org1c1ea0f" class="outline-2">
<h2 id="org1c1ea0f">XMPP</h2>
<div class="outline-text-2" id="text-org1c1ea0f">
<p>
Chat server which can be used together with client such as Gajim or Conversations to provide end-to-end content security and also onion routed metadata security. Includes advanced features such as <i>client state notification</i> to save battery power on your mobile devices, support for seamless roaming between networks and <i>message carbons</i> so that you can receive the same messages while being simultaneously logged in to your account on more than one device.
</p>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2016-11-13 Sun 16:09 -->
<!-- 2016-11-14 Mon 14:35 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -255,15 +255,15 @@ for the JavaScript code in this tag.
</colgroup>
<tbody>
<tr>
<td class="org-left"><a href="#org737a35d">Readme</a></td>
<td class="org-left"><a href="#org08009e1">Readme</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org776090b">Improving ssh security</a></td>
<td class="org-left"><a href="#org1880b3a">Improving ssh security</a></td>
</tr>
<tr>
<td class="org-left"><a href="#org379ce0e">Administrating the system via an onion address (Tor)</a></td>
<td class="org-left"><a href="#org6ba1d5e">Administrating the system via an onion address (Tor)</a></td>
</tr>
<tr>
@ -290,6 +290,10 @@ for the JavaScript code in this tag.
<td class="org-left"><a href="./app_hubzilla.html">Social Network</a></td>
</tr>
<tr>
<td class="org-left"><a href="./app_dokuwiki.html">Wiki</a></td>
</tr>
<tr>
<td class="org-left"><a href="./app_irc.html">Multi-user chat with IRC</a></td>
</tr>
@ -319,7 +323,7 @@ for the JavaScript code in this tag.
</tr>
<tr>
<td class="org-left"><a href="#orgc0b4ffb">Adding or removing users</a></td>
<td class="org-left"><a href="#org2486541">Adding or removing users</a></td>
</tr>
<tr>
@ -328,9 +332,9 @@ for the JavaScript code in this tag.
</tbody>
</table>
<div id="outline-container-org737a35d" class="outline-2">
<h2 id="org737a35d">Readme</h2>
<div class="outline-text-2" id="text-org737a35d">
<div id="outline-container-org08009e1" class="outline-2">
<h2 id="org08009e1">Readme</h2>
<div class="outline-text-2" id="text-org08009e1">
<p>
After the system has installed a README file will be generated which contains passwords and some brief advice on using the installed systems. You can read this with the following commands:
</p>
@ -350,9 +354,9 @@ To exit you can either just close the terminal or use <b>CTRL-x CTRL-c</b> follo
</p>
</div>
</div>
<div id="outline-container-org776090b" class="outline-2">
<h2 id="org776090b">Improving ssh security</h2>
<div class="outline-text-2" id="text-org776090b">
<div id="outline-container-org1880b3a" class="outline-2">
<h2 id="org1880b3a">Improving ssh security</h2>
<div class="outline-text-2" id="text-org1880b3a">
<p>
To improve ssh security you can generate an ssh key pair on your system and then upload the public key to the Freedombone.
</p>
@ -402,9 +406,9 @@ If you wish to only use ssh keys then log in to the Freedombone, become the root
</div>
</div>
<div id="outline-container-org379ce0e" class="outline-2">
<h2 id="org379ce0e">Administrating the system via an onion address (Tor)</h2>
<div class="outline-text-2" id="text-org379ce0e">
<div id="outline-container-org6ba1d5e" class="outline-2">
<h2 id="org6ba1d5e">Administrating the system via an onion address (Tor)</h2>
<div class="outline-text-2" id="text-org6ba1d5e">
<p>
You can also access your system via the Tor system using an onion address. To find out what the onion address for ssh access is you can do the following:
</p>
@ -446,9 +450,9 @@ Subsequently even if dynamic DNS isn't working you may still be able to administ
</p>
</div>
</div>
<div id="outline-container-orgc0b4ffb" class="outline-2">
<h2 id="orgc0b4ffb">Adding or removing users</h2>
<div class="outline-text-2" id="text-orgc0b4ffb">
<div id="outline-container-org2486541" class="outline-2">
<h2 id="org2486541">Adding or removing users</h2>
<div class="outline-text-2" id="text-org2486541">
<p>
Log into the system with:
</p>