DokuWiki

It's better when it's simple

User Tools

Site Tools


install:ubuntu

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:ubuntu [2017-10-26 15:22] – Add note about dokuwiki package in Ubuntu repository 134.100.101.1install:ubuntu [2017-12-28 17:55] Aleksandr
Line 1: Line 1:
-===== Installation =====+====== Installation DokuWiki under Ubuntu ======
  
 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 [[:farms|Farm Page]]. 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 [[:farms|Farm Page]].
  
-Please note that there is a dokuwiki package in the Ubuntu repositories. You probably want to install that instead of downloading a tarball. You can then run <code bash>sudo apt-get install dokuwiki +Please note that there is a dokuwiki package in the Ubuntu repositories. If you want to use it, please see the [[install:debian|Debian install page]] instead. This article describes the installation of DokuWiki from a tarball. (The Ubuntu and Debian packages follow the Debian directory conventions and that is why different steps are needed when using the Ubuntu/Debian package).
-sudo cp -r /usr/share/dokuwiki/ $WEB_ROOT +
-</code> +
-Please note that you still need to install and configure a webserver. For Apache the $WEB_ROOT is /var/www by default.+
  
 :!: **For Ubuntu 16.04** you will want to use libapache2-mod-php7.0 and make sure to install php7.0-xml, php7.0 with apt-get :!: **For Ubuntu 16.04** you will want to use libapache2-mod-php7.0 and make sure to install php7.0-xml, php7.0 with apt-get
Line 16: Line 13:
   * apt-get install php7.0-xml   * apt-get install php7.0-xml
  
-This resolved all the issues restoring Dokuwiki back to normal prior to the upgrades.+This resolved all the issues restoring DokuWiki back to normal prior to the upgrades.
  
   - Install Ubuntu Server 14.04 [[http://askubuntu.com/questions/340965/how-do-i-install-ubuntu-server-step-by-step|Step by step instructions with screenshots]]   - Install Ubuntu Server 14.04 [[http://askubuntu.com/questions/340965/how-do-i-install-ubuntu-server-step-by-step|Step by step instructions with screenshots]]
Line 48: Line 45:
  
 ===== Additional Installation Information ===== ===== Additional Installation Information =====
-For more information on installing and configuring Dokuwiki on Ubuntu, see [[debian_ubuntu_extras]]. 
  
-====== Apache configuration for running DokuWiki in ~/public_html ======+For more information on installing and configuring DokuWiki on Ubuntu, see [[debian_ubuntu_extras]]. 
 + 
 +===== Apache configuration for running DokuWiki in ~/public_html =====
  
 This works with Ubuntu 11.04 natty: This works with Ubuntu 11.04 natty:
Line 62: Line 60:
   - Restart //apache// with<code bash>sudo service apache2 restart</code>   - Restart //apache// with<code bash>sudo service apache2 restart</code>
  
- +===== Ubuntu Server 14.04 and lighttpd =====
-======Ubuntu Server 14.04 and lighttpd ======+
  
   - Install lighttpd and php. <code bash>   - Install lighttpd and php. <code bash>
Line 79: Line 76:
 sudo /etc/init.d/lighttpd force-reload sudo /etc/init.d/lighttpd force-reload
 </code> </code>
-  - That's it. Enjoy your own DokuWiki server. (Test if it works on your http://localhost/dokuwiki)+  - That's it. Enjoy your own DokuWiki server. (Test if it works on your %%http://localhost/dokuwiki%%)
  
install/ubuntu.txt · Last modified: 2024-01-19 15:49 by Aleksandr

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