DokuWiki

It's better when it's simple

User Tools

Site Tools


install

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
Next revisionBoth sides next revision
install [2017-02-04 21:14] 197.135.196.74install [2019-08-04 17:32] – old revision restored (2018-12-24 20:42) Klap-in
Line 1: Line 1:
-====== DokuWiki Installation=====hi +====== DokuWiki Installation=====
  
 **There are separate [[install:upgrade|upgrade instructions]] if you have an existing installation.** **There are separate [[install:upgrade|upgrade instructions]] if you have an existing installation.**
Line 7: Line 6:
  
   * **Step 0:** Make sure your server meets the [[requirements]].   * **Step 0:** Make sure your server meets the [[requirements]].
-  * **Step 1:** Download the newest release from the [[http://download.dokuwiki.org/|Download Page]].+  * **Step 1:** Download the newest release from the [[https://download.dokuwiki.org/|Download Page]].
   * **Step 2:** Read the [[security|security page]] //before// you begin installing. Take it seriously. If in doubt, ask on the [[mailinglist| mailing list]]   * **Step 2:** Read the [[security|security page]] //before// you begin installing. Take it seriously. If in doubt, ask on the [[mailinglist| mailing list]]
   * **Step 3:** Unpack the distribution tarball and upload/copy the files to your webspace.   * **Step 3:** Unpack the distribution tarball and upload/copy the files to your webspace.
Line 15: Line 14:
 [[:install:screencast|A screencast of installing DokuWiki]] shows installation to a shared web hosting provider, but it may be useful for other situations as well. If you don't have a webhoster yet, check our [[hosting|hosting partners]] for a pre-installed DokuWiki. [[:install:screencast|A screencast of installing DokuWiki]] shows installation to a shared web hosting provider, but it may be useful for other situations as well. If you don't have a webhoster yet, check our [[hosting|hosting partners]] for a pre-installed DokuWiki.
  
 +If you are looking to create multiple Wiki's, you can create a DokuWiki farm. This is similar to the idea of multi-sites. Instructions on how to do this manually are provided in the [[farms|Farm page]].
  
-===== Pitfall on suhosin PHP extension ===== 
- 
-(Applicable since version 2015-08-10 "Detritus") 
- 
-If your PHP installation has [[https://suhosin.org/stories/index.html|suhosin php extension]] installed, remember to set ''suhosin.post.disallow_nul'' and ''suhosin.request.disallow_nul'' in ''php.ini'' to 0, otherwise the Edit page and the Plugin page won't work. (For the Edit page it loops back to the Edit page when you save the page, and for the Plugin page the plugin install/update button will not work.) 
- 
-You can confirm your server PHP configuration by putting a file named ''test.php'' on the server with the following content: 
- 
-''<?php phpinfo(); ?>'' 
- 
-and use the web browser to visit the page. 
- 
-If your dokuwiki is installed on a web hosting that you cannot change server configuration, please ask your web hosting to change the required configuration. 
 ===== Detailed Instructions ===== ===== Detailed Instructions =====
  
Line 49: Line 36:
   * [[install:Gentoo]]   * [[install:Gentoo]]
   * [[install:MacOSX]] or [[install:mac_alt]]   * [[install:MacOSX]] or [[install:mac_alt]]
 +  * [[install:OpenBSD]]
   * [[install:OpenSolaris]]   * [[install:OpenSolaris]]
   * [[install:openSUSE]]   * [[install:openSUSE]]
Line 66: Line 54:
     * [[install:Nanoweb]]     * [[install:Nanoweb]]
     * [[install:nginx]]     * [[install:nginx]]
 +    * [[install:OpenLiteSpeed]]
  
 ==== Web Host Specifics ==== ==== Web Host Specifics ====
Line 71: Line 60:
   * [[hosting|Hosting Partners]] provide pre-installed DokuWiki setups   * [[hosting|Hosting Partners]] provide pre-installed DokuWiki setups
   * DokuWiki on...   * DokuWiki on...
 +    * [[install:Amazone EC2|Amazon EC2]]
 +    * [[install:civihosting.com|CiviHosting]]
     * [[install:dreamhost|Dreamhost]]     * [[install:dreamhost|Dreamhost]]
     * [[install:free.fr|free.fr]]     * [[install:free.fr|free.fr]]
Line 79: Line 70:
     * [[install:sourceforge|SourceForge]]     * [[install:sourceforge|SourceForge]]
     * [[install:strato|Strato and 1&1]]     * [[install:strato|Strato and 1&1]]
-    * [[install:Amazone EC2]] 
- 
  
 Some web hosts have DokuWiki included in their list of installable packages making the install almost automatic. Some web hosts have DokuWiki included in their list of installable packages making the install almost automatic.
 +
 ==== Alternative Install Methods ===== ==== Alternative Install Methods =====
-    * [[https://cloudron.io|Cloudron.io]] has  a [[https://cloudron.io/appstore.html#org.dokuwiki.cloudronapp|DokuWiki App]] that can be installed on your Cloudron Smartserver. They actively track DokuWiki releases ([[https://github.com/cloudron-io/dokuwiki-app|source]]) keeping your installation up-to-date.+ 
 +    * [[https://cloudron.io|Cloudron]] is a complete solution for running apps on your server and keeping them up-to-date and secure. There is a [[https://cloudron.io/appstore.html#org.dokuwiki.cloudronapp|DokuWiki App]] for Cloudron. They actively track DokuWiki releases ([[https://git.cloudron.io/cloudron/dokuwiki-app|source]]) and push automatic updates.
     * [[install:downloader|DokuWiki Downloader]] -- a single script that takes care of downloading and installing DokuWiki     * [[install:downloader|DokuWiki Downloader]] -- a single script that takes care of downloading and installing DokuWiki
     * [[http://www.turnkeylinux.org/dokuwiki|TurnKey DokuWiki Appliance]] -- a free open source virtual appliance based on Ubuntu that's easy to use and lightweight. Auto-updated daily with latest security patches. Deploys in minutes to a Virtual Machine, bare metal, or in the cloud. Part of the [[http://www.turnkeylinux.org/|TurnKey Linux Virtual Appliance Library]].     * [[http://www.turnkeylinux.org/dokuwiki|TurnKey DokuWiki Appliance]] -- a free open source virtual appliance based on Ubuntu that's easy to use and lightweight. Auto-updated daily with latest security patches. Deploys in minutes to a Virtual Machine, bare metal, or in the cloud. Part of the [[http://www.turnkeylinux.org/|TurnKey Linux Virtual Appliance Library]].
Line 90: Line 81:
     * [[http://bitnami.org/stack/dokuwiki|DokuWiki Bitnami Stack]] -- an installer which deploys DokuWiki and all that's necessary to run it (Apache, PHP). Available for Windows, Linux, Mac x86, Mac PPC, Solaris x86 and Solaris SPARC.     * [[http://bitnami.org/stack/dokuwiki|DokuWiki Bitnami Stack]] -- an installer which deploys DokuWiki and all that's necessary to run it (Apache, PHP). Available for Windows, Linux, Mac x86, Mac PPC, Solaris x86 and Solaris SPARC.
     * [[http://bitnami.org/stack/dokuwiki|DokuWiki Bitnami Module]] -- an installer which deploys DokuWiki on top of LAMPStack if you are using Linux, or MAMPStack, WAMPStack or SAMPstack if you are using Mac, Windows or Solaris allowing to share database, webserver and language runtime with other applications modules.       * [[http://bitnami.org/stack/dokuwiki|DokuWiki Bitnami Module]] -- an installer which deploys DokuWiki on top of LAMPStack if you are using Linux, or MAMPStack, WAMPStack or SAMPstack if you are using Mac, Windows or Solaris allowing to share database, webserver and language runtime with other applications modules.  
-    * [[http://sourceforge.net/projects/desktopwiki/|Desktop Wiki]] -- another portable DokuWiki+    * [[http://sourceforge.net/projects/desktopwiki/|Desktop Wiki]] -- another portable DokuWiki, but it is seemingly unmaintained (not updated since 2013)
     * [[devel:git#maintaining_a_stable_version_with_git|Using Git to handle the installation]]     * [[devel:git#maintaining_a_stable_version_with_git|Using Git to handle the installation]]
     * [[https://sourceforge.net/projects/dokuwikispatial/files/DokuWiki%20portable/|Portable DokuWiki using Uniform Server PHP MicroServer]]     * [[https://sourceforge.net/projects/dokuwikispatial/files/DokuWiki%20portable/|Portable DokuWiki using Uniform Server PHP MicroServer]]
     * [[https://www.synology.com/|Synology NAS]] operating system "Disk Station Manager" provides DokuWiki package for easy installing     * [[https://www.synology.com/|Synology NAS]] operating system "Disk Station Manager" provides DokuWiki package for easy installing
 +    * For local desktop wiki (on Mac) install using [[php build-in webserver]].
 +
 +===== Pitfall on suhosin PHP extension =====
 +
 +If your PHP installation has [[https://suhosin.org/stories/index.html|suhosin php extension]] installed, remember to set ''suhosin.post.disallow_nul'' and ''suhosin.request.disallow_nul'' in ''php.ini'' to 0, otherwise the Edit page and the Plugin page won't work. (For the Edit page it loops back to the Edit page when you save the page, and for the Plugin page the plugin install/update button will not work.)
 +
 +You can confirm your server PHP configuration by putting a file named ''test.php'' on the server with the following content:
 +
 +''<?php phpinfo(); ?>''
 +
 +and use the web browser to visit the page.
 +
 +If your dokuwiki is installed on a web hosting that you cannot change server configuration, please ask your web hosting to change the required configuration.
  
 ===== It Works! What Now? ===== ===== It Works! What Now? =====
Line 109: Line 113:
     * [[tips|tips and tricks]], especially [[tips:tailorwikirules|best-practices]] to follow after installing     * [[tips|tips and tricks]], especially [[tips:tailorwikirules|best-practices]] to follow after installing
  
-===== It Doesn't Work! Troubleshooting ===== 
  
 If you've encountered problems installing DokuWiki, and you've carefully checked each of the steps above: If you've encountered problems installing DokuWiki, and you've carefully checked each of the steps above:
  
-  * [[http://download.dokuwiki.org/|Download the source package]] again to ensure you do not have a corrupt download+  * [[https://download.dokuwiki.org/|Download the source package]] again to ensure you do not have a corrupt download
   * Upload your files again---FTP corruption is a common cause for problems. Uploading a zip file and extracting on the server may be more reliable than uploading files individually   * Upload your files again---FTP corruption is a common cause for problems. Uploading a zip file and extracting on the server may be more reliable than uploading files individually
   * Double and triple check [[install:permissions|file and folder permissions]] -- this is a **very** common cause of problems   * Double and triple check [[install:permissions|file and folder permissions]] -- this is a **very** common cause of problems
  
-  * Be sure to [[http://forum.dokuwiki.org/search|search the forum]] before posting your questions to the [[https://forum.dokuwiki.org/forum/2/|installation forum]]+  * Be sure to [[https://forum.dokuwiki.org/search|search the forum]] before posting your questions to the [[https://forum.dokuwiki.org/forum/2/|installation forum]]
  
  
install.txt · Last modified: 2023-09-20 21:53 by andi

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