====== DokuWiki Installation===== **In case an existing installation is to be upgraded, there are separate [[install:upgrade|upgrade instructions]].** Try these instructions first. If you still need help, follow one of the links below: * **Step 0:** Make sure your server meets the [[requirements]]. * **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 3:** Unpack the distribution tarball and upload/copy the files to your webspace. * **Step 4:** Open the install.php file in your browser and follow the instructions. (For additional information, see the [[installer]] page.) * **Step 5:** Enjoy your DokuWiki install and browse through the [[manual]] to discover what you can do with it. [[: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 Wikis, 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]]. ===== Detailed Instructions ===== If you encounter problems following the steps above or need some detailed information for one of the steps check out these pages: * [[install:unpacking|Extracting a .tgz archive]] * [[install:permissions|How to set up permissions]] * [[install:hosted|Installing DokuWiki on Hosted Webspace]] * [[installer|install.php instructions]] * [[install:upgrade|Upgrading from a previous Version]] * [[FAQ|Frequently Asked Questions]] ==== Distribution/OS Specifics ==== * [[https://wiki.alpinelinux.org/wiki/DokuWiki|Alpine Linux]] * [[https://wiki.archlinux.org/index.php/Dokuwiki|Arch Linux]] * [[install:CentOS]] * [[install:Debian]] * [[install:Fedora]] * [[install:FreeBSD]] * [[install:Gentoo]] * [[install:MacOSX]] or [[install:mac_alt]] * [[install:OpenBSD]] * [[install:OpenSolaris]] * [[install:openSUSE]] * [[https://wiki.qnap.com/wiki/Dokuwiki|QNAP NAS]] * [[install:Solaris]] * [[install:Synology]] * [[install:Ubuntu|Ubuntu]] * [[install:Windows]] ==== Webserver Specifics ==== * [[install:Apache]] * [[install:darklight]] * [[install:Hiawatha]] * [[install:httpd|httpd (BSD)]] * [[install:IIS]] * [[install:Lighttpd]] * [[install:Mongoose]] * [[install:Nanoweb]] * [[install:nginx]] * [[install:OpenLiteSpeed]] * [[install:caddy|Caddy(v2)]] ==== Web Host Specifics ==== * [[hosting|Hosting Partners]] provide pre-installed DokuWiki setups * DokuWiki on... * [[install:Amazone EC2|Amazon EC2]] * [[install:civihosting.com|CiviHosting]] * [[install:dreamhost|Dreamhost]] * [[install:free.fr|free.fr]] * [[install:godaddy.com|GoDaddy]] * [[install:hosted|Hosted Webspace]] * [[install:azurewebsites|Microsoft Azure Web App Service]] * [[install:ovh.com|ovh.com]] * [[install:sourceforge|SourceForge]] * [[install:strato|Strato and 1&1]] Some web hosts have DokuWiki included in their list of installable packages making the install almost automatic. ==== Alternative Install Methods ===== * Use the official [[https://github.com/dokuwiki/docker|Docker Image]] to run DokuWiki on Docker or Kubernetes * [[https://github.com/KissConsult/dokuwiki|IBM Cloud]] is a hybrid cloud platform , on which you can install Dokuwiki with a couple of clicks on a kubernetes cluster with bitnami charts * [[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. [[https://my.demo.cloudron.io/|Demo]] (username: cloudron password: cloudron) * [[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]]. * [[install:dokuwiki_on_a_stick|DokuWiki on a Stick]] -- run DokuWiki directly from an USB stick * [[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. * [[devel:git#maintaining_a_stable_version_with_git|Using Git to handle the installation]] * For local desktop wiki (on any OS) install using [[install:php-webserver|PHP builtin web server]]. ===== It Works! What Now? ===== Here is what you may want to do when everything is up and working: * Check the [[security]] page again * Consider enabling [[rewrite|URL rewriting]] * Choose a license for your content---use config [[config:license]] * Enter a few words how and where you use [[DokuWiki]] in the [[dokuinstall|userpage]] * Read: * [[faq|Frequently Asked Questions]] * [[tips:maintenance|day-to-day maintenance needed for DokuWiki]] * [[tips|tips and tricks]], especially [[tips:tailorwikirules|best-practices]] to follow after installing If you've encountered problems installing DokuWiki, and you've carefully checked each of the steps above: * [[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 * Double and triple check [[install:permissions|file and folder permissions]] -- this is a **very** common cause of problems * Be sure to [[https://forum.dokuwiki.org/|search the forum]] before posting your questions to the [[https://forum.dokuwiki.org/t/install-config|installation forum]].