====== Installation DokuWiki ====== [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [ [[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/websites | WebSites]] [[http://www.openhardsoftware.de/mediawiki | MediaWiki]] [[http://www.openhardsoftware.de/nextcloud | NextCloud]] ] ===== Konfiguration DokuWiki ===== ==== Farbiger Text mit 'Color (Syntax) PlugIn' ==== * [[https://www.dokuwiki.org/plugin:color | DokuWiki: Color PlugIn]] * Installation über Extension-Manager * Echte Alternative zu DokuWiki-Inline-Html-Code wegen Sicherheitsrisiko! ==== Einbinden von HTML-Code ==== * Aktuell: conf['htmlok'] = 0; : **html daher ausgeschaltet** wegen Sicherheitsrisiko!!! * [[https://www.dokuwiki.org/config:htmlok | Enable htmlok : "htmlok = 1"]] * Konfigurationsdatei: dokuwiki/conf/dokuwiki.php * Zeile 84: $conf['htmlok'] = 0/1; * Enable html: conf['htmlok'] = 1; * Disable html: conf['htmlok'] = 0; * Inline html: * Block html: ==== Template neue DokuWiki-Seite ==== ====== Titel ====== [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [[[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/websites | WebSites]] [[http://www.openhardsoftware.de/mediawiki | MediaWiki]] [[http://www.openhardsoftware.de/nextcloud | NextCloud]]] ... Inhalt ... ----- [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [[[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/websites | WebSites]] [[http://www.openhardsoftware.de/mediawiki | MediaWiki]] [[http://www.openhardsoftware.de/nextcloud | NextCloud]]] ==== R/W-Attribute Files/Directories ändern ==== * [[https://www.dokuwiki.org/install:permissions|DokuWiki: Setting up file permissions]] * Quelle: [[https://forums.raspberrypi.com/viewtopic.php?t=177135|How are folder permissions changed?]] * [[https://chmodcommand.com/chmod-755/|chmod xxx]] * Not Recursive: console> sudo chown pi:pi /folder console> sudo chmod 755 /folder * Recursive: console> sudo chown -R pi:pi /folder console> sudo chmod -R 755 /folder ==== Upload ==== * mit FileZilla Upload von allen Datei-Typen zum Server möglich * automatische Aktualisierung und DokuWiki, falls alle Dateinamen in LowerCase(!!!) vorhanden sind * ==== Kommentar ==== * nicht sichtbare Zeilen/Texte einfügen: [[https://www.dokuwiki.org/plugin:comment|Kommentar-PlugIn]] ==== Upload-Filesize ändern ==== * [[https://www.dokuwiki.org/faq:uploadsize]] oder * find **php.ini** auf RPi-Apache-Server: **sudo find / -name 'php.ini' 2> /dev/null** * **sudo nano /etc/php/7.3/apache2/php.ini** * Upload-Filesize auf 999MB setzen: **upload_max_filesize = 999M** * und **post_max_size = 999M** * Restart Apache-Server: **sudo service apache2 restart** ==== ToDo / Done ==== === 221105 === * **OOO** Neugruppierung aller Projekte (auf dem Server) in Projektgruppen * X Einrichtung der Gruppe Projekte - MicroController * X Einrichtung des Projekts Projekte - MicroController - HAS_HomeAutomationServer === 220921 === * reinstall "Comment Plugin" (über "admin"): * [[https://www.dokuwiki.org/plugin:comment]] === 220918 === * neuer Entry in **DokuWiki - Programming** * mit **chmod -R 777 ** rekursiv vollen Zugriff auf alte Secure-Ordner ermöglicht * und diese dann nach Downloads verschoben ----- [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [ [[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/websites | WebSites]] [[http://www.openhardsoftware.de/mediawiki | MediaWiki]] [[http://www.openhardsoftware.de/nextcloud | NextCloud]] ]