Ubuntu System Setup DokuWiki

Source: Internet
Author: User

Description
dokuwiki是一个强大的wiki系统,简单轻量,插件丰富,很合适中小团队作为团队文档管理的工具。
Installation and Deployment
  1. Install Apache2 and PHP on Ubuntu

  2. Launch Apache's rewrite module

    sudo a2enmod rewrite
  3. Download the package and unzip the website

    cd /var/wwwsudo wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgzsudo tar xvf dokuwiki-stable.tgzsudo mv dokuwiki-*/ dokuwiki
  4. Modify permissions for DokuWiki

    sudo chown -R  777 /var/www/dokuwiki
  5. To modify the pointing path to the file root directory in Apache

    sudo nano /etc/apache2/sites-enabled/000*.conf
    Modified /var/www/html to/var/www/dokuwiki
  6. Modify the domain name to point

    <VirtualHost 127.0.0.1>DocumentRoot /var/www/dokuwikiServerName 域名</VirtualHost>
  7. Modify the configuration of the Allowoverrides, modify

    sudo nano /etc/apache2/apache2.conf
    AllowOverride NoneChange the revision toAllowOverride All
  8. Restart Apache2

    sudo service apache2 restart

    Apache2 The default listening port is 80, the following port occupancy prompts appear if other apps are occupied.
    Starting httpd: (98) address already in use:make_sock:could not bind to Address [::]:80
    (98) Address already in use:make_sock:could don't bind to address 0.0.0.0:80
    No listening sockets available, shutting down

    1) Modify the next apache2 configuration file httpd.conf listening port

    2) Share 80 ports with other servers
  9. Accesshttp://域名/dokuwiki/install.php
    If this prompt is present, the permission is not modified or the modification is unsuccessful

    DokuWiki Setup Error
    The DataDir (' pages ') at./data/pages are not found, isn ' t accessible or writable. You should check your config and permission settings. Or maybe want to run the installer?
    You should go back to 4 to re-modify DokuWiki's file permissions.

  10. After the configuration is successful, delete the following files

    sudo rm /var/www/dokuwiki/install.php
  11. Start using.

Reference article:

Https://www.dokuwiki.org/install:ubuntu

Ubuntu System Setup DokuWiki

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.