Server-tutorials.net
  • Home
  • CentOS
    • All
    • Game Hosting
    • Hosting Control Panel
    How to Install Laravel on CentOS 8 Linux Server

    How to Install Laravel on CentOS 8 Linux Server

    How to Host a Minecraft Server on a CentOS 8 Server

    How to Host a Minecraft Server on a CentOS 8 Server

    How to Install and Configure an Email Server on CentOS 8 (dovecot,postfix,mariadb,roundcube)

    How to Install and Configure an Email Server on CentOS 8 (dovecot,postfix,mariadb,roundcube)

    How To Set Up a Firewall Using FirewallD on CentOS 7

    How To Set Up a Firewall Using FirewallD on CentOS 7

    How to Install VestaCP on CentOS 7: A Comprehensive Guide

    How to Install VestaCP on CentOS 7: A Comprehensive Guide

    engineer holding laptop

    How to Install cPanel on CentOS 8: A Comprehensive Guide

    close up photo of ethernet cables on network switch

    Setup a Firewall Using FirewallD on CentOS 7

    security logo

    Installing and Configuring a Firewall on CentOS 8 Server

    Step-by-Step Guide how to Install Elgg on Debian 12

    Setp-by-Setp Guide how to Install Elgg on CentOS 7

    Step-by-Step Guide: How to Install Elasticsearch 8 on Debian 11

    Installing Elasticsearch on CentOS 7

    Custom installation VestaCP on Debian/Ubuntu (Nginx,Apache2)

    How to install VestaCP on CentOS

    Trending Tags

    • centos
  • Debian
    • All
    • Game Hosting
    • Hosting Control Panel
    How to Install and Configure an Email Server on Debian 11 (Postfix, Dovecot, and Roundcube)

    How to Install and Configure an Email Server on Debian 11 (Postfix, Dovecot, and Roundcube)

    How to Install LEMP Stack on Debian 11 Server

    How to Install LEMP Stack on Debian 11 Server

    How to Identify and Remediate Security Breaches or Malware on Your Debian 12 Server

    How to Identify and Remediate Security Breaches or Malware on Your Debian 12 Server

    Upgrading ISPConfig from Debian 11 to Debian 12

    Upgrading ISPConfig from Debian 11 to Debian 12

    How to Downgrade PHP Version on Debian 11: A Step-by-Step Guide

    How to Downgrade PHP Version on Debian 11: A Step-by-Step Guide

    How to Host an OpenRA Game Server on Debian 12

    How to Host an OpenRA Game Server on Debian 12

    How to Install WireGuard VPN on Debian 12: A Step-by-Step Guide

    How to Install WireGuard VPN on Debian 12: A Step-by-Step Guide

    black headphones on black laptop computer

    How to Host a Counter-Strike: Global Offensive Game Server on Debian 12

    close up photo of ethernet cables on network switch

    How to Create a User for ProFTPD Server on Debian 12

    close up photo of mining rig

    Debian 12 (Bookworm) Setup with Apache, BIND, Dovecot, PureFTPD, and ISPConfig 3.2

    wooden robot

    How to Host a Minecraft Server on Debian 12: A Step-by-Step Guide

    modern computer placed near server racks

    Installing and Configuring a Firewall on Debian 12 Server

    black server racks

    A Comprehensive Guide to Backing Up a Debian 12 Server

    data codes through eyeglasses

    How to Install OpenVPN on Debian 12 Server: A Step-by-Step Guide

    close up photo of plugged cables

    Setting Up a Secure FTP Server on Debian 12

    Installing PostgreSQL 15 on Debian 11 Step-by-Step Tutorial

    Installing PostgreSQL 15 on Debian 11 Step-by-Step Tutorial

    Installing Tomcat 10 on Debian 11: Step-by-Step Guide

    Installing Tomcat 10 on Debian 11: Step-by-Step Guide

    Step-by-Step Guide how to Install Elgg on Debian 12

    Step-by-Step Guide how to Install Elgg on Debian 12

    Step-by-Step Guide: How to Install Elasticsearch 8 on Debian 11

    Step-by-Step Guide: How to Install Elasticsearch 8 on Debian 11

    Installing Laravel on Ubuntu 22.04 / Ubuntu 20.04: A Step-by-Step Guide

    Installing Laravel on Ubuntu 22.04 / Ubuntu 20.04: A Step-by-Step Guide

    Trending Tags

    • debian
    • debian 10
  • Ubuntu
    • All
    • Game Hosting
    • Hosting Control Panel
    • Network Monitoring
    How to Upgrade PHP from 7.2 to 7.4 and 8.0 on VestaCP Ubuntu 18.04

    How to Upgrade PHP from 7.2 to 7.4 and 8.0 on VestaCP Ubuntu 18.04

    Securing Nginx with Let’s Encrypt on Ubuntu 22.04: A Step-by-Step Guide

    Securing Nginx with Let’s Encrypt on Ubuntu 22.04: A Step-by-Step Guide

    How to install Counter-Strike: Global Offensive CSGO on Ubuntu 22.04 Server

    How to install Counter-Strike: Global Offensive CSGO on Ubuntu 22.04 Server

    Step-by-Step Guide: Installing Terraform on Ubuntu Server 22.04

    Step-by-Step Guide: Installing Terraform on Ubuntu Server 22.04

    How to Deploy a Secure CockroachDB Cluster on Ubuntu 22.04

    How to Deploy a Secure CockroachDB Cluster on Ubuntu 22.04

    How to Downgrade PHP Version on Ubuntu 22.04: A Step-by-Step Guide

    How to Downgrade PHP Version on Ubuntu 22.04: A Step-by-Step Guide

    How to Install and Configure an Email Server on Ubuntu 22.04 (Postfix, Dovecot, and Roundcube)

    How to Install and Configure an Email Server on Ubuntu 22.04 (Postfix, Dovecot, and Roundcube)

    How to Install Zabbix Monitoring Tool on Ubuntu 22.04

    How to Install Zabbix Monitoring Tool on Ubuntu 22.04

    How to Install Apache Guacamole via Docker on Ubuntu 22.04

    How to Install Apache Guacamole via Docker on Ubuntu 22.04

    How to Install and Configure a Proxy Server on Ubuntu 22.04 Server

    How to Install and Configure a Proxy Server on Ubuntu 22.04 Server

    close up photo of programming of codes

    How to Setup Zabbix Monitoring Tool on Ubuntu 22.04

    modern computer placed near server racks

    How to Install Plesk on Ubuntu 22.04 Server: A Comprehensive Guide

    Free server network image

    How to Install ClickHouse on Ubuntu 22.04: A Step-by-Step Guide

    man people night dark

    Installing and Configuring a Firewall on Ubuntu 22.04 Server

    ethernet cables plugged in network switch

    Securing Nginx on Ubuntu 22.04: Best Practices and Step-by-Step Guide

    close up photo of ethernet cables on network switch

    Installing FileRun on Ubuntu 22.04

    cables connected to ethernet ports

    How to Install ClickHouse on Ubuntu 22.04

    engineer holding laptop

    Install OpenNMS Network Monitoring System on Ubuntu 22.04

    Step by Step Guide how to install CakePHP on Ubuntu 22.04

    Step by Step Guide how to install CakePHP on Ubuntu 22.04

    Installing MySQL on Ubuntu 22.04: A Step-by-Step Guide

    Installing MySQL on Ubuntu 22.04: A Step-by-Step Guide

    Trending Tags

    • Ubuntu 20.04 LTS
    • Ubuntu 20.04
  • Others
    • All
    • Beginners
    industry internet connection technology

    Understanding the Differences Between Nginx and Apache

    Free server network image

    How to Install ClickHouse on Ubuntu 22.04: A Step-by-Step Guide

    crop hacker typing on laptop with data on screen

    Choosing Between VPS and Dedicated Server: A Comprehensive Comparison

    unrecognizable hacker with smartphone typing on laptop at desk

    Choosing the Best Control Panel for Server Management: A Comprehensive Guide

    close up photo of ethernet cables on network switch

    Installing FileRun on Ubuntu 22.04

    cables connected to ethernet ports

    How to Install ClickHouse on Ubuntu 22.04

    Installing Tomcat 10 on Debian 11: Step-by-Step Guide

    Installing Tomcat 10 on Debian 11: Step-by-Step Guide

    Step-by-Step Guide how to Install Elgg on Debian 12

    Step-by-Step Guide how to Install Elgg on Debian 12

    Step-by-Step Guide: How to Install Elasticsearch 8 on Debian 11

    Step-by-Step Guide: How to Install Elasticsearch 8 on Debian 11

    Trending Tags

    • php
No Result
View All Result
Server-tutorials.net
Home Others

How to install DokuWiki on Ubuntu 20.04

Chris Thompson by Chris Thompson
April 15, 2022
in Others, Ubuntu
1

We’ll learn how to install DokuWiki on Ubuntu 20.04 in this guide.

DokuWiki is an essential and easy-to-use open-source wiki that doesn’t require a database. It’s great to find something that doesn’t need any storage space. Let’s emphasise it even further.

We require this wiki software because it is simple to install and use, does not require specialised system requirements such as disc space or RAM, supports a large number of languages, is open-source, and is device-independent.

Apart from DokuWiki, there are additional options like confluence, click, idea, XWiki, bloomfire, yext, guru, and many more.

Installing DokuWiki on Ubuntu 20.04

DokuWiki is easy to install on a Debian-based system because it is available in the Debian repository, although it is not the ideal way to do so. The following are the reasons:

The packages discovered may be out of date.

Some of Dokuwiki’s internal libraries are replaced by boxes, leading to conflicts.

Debian has a different directory structure than Ubuntu, which can cause compatibility issues with some plugins.

Prerequisites

  • Apache webserver
  • Ubuntu 20.04
  • basic understanding of the command line

1.Update system repositories

The best method to begin installing any programme is to execute system updates to bring repositories up to date and avoid issues throughout the installation process.

$ sudo apt update && apt upgrade -y

We can now install apache2 after the updates and upgrades are completed.

2.Install Apache2

We need Apache because we need a safe, efficient, and extensible server that can provide HTTP services that comply with current HTTP standards.

To install Apache, check this article: How to Install Apache, MYSQL, PHP on Ubuntu 20.04.

$ sudo apt install apache2 -y

Enable and start Apache service on start.

# start

$ sudo systemctl start apache2

# enable

$ sudo systemctl enable apache2

# status

$ sudo systemctl status apache2
# status

apache2.service - The Apache HTTP Server

     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)

     Active: active (running) since Thu 2022-02-24 17:45:58 UTC; 2min 13s ago

       Docs: https://httpd.apache.org/docs/2.4/

   Main PID: 15564 (apache2)

      Tasks: 55 (limit: 1132)

     Memory: 5.2M

     CGroup: /system.slice/apache2.service

             ├─15564 /usr/sbin/apache2 -k start

             ├─15566 /usr/sbin/apache2 -k start

             └─15567 /usr/sbin/apache2 -k start

The next step is to configure the firewall to accept HTTP and HTTPS traffic. Run the following command to give Apache complete control:

$ sudo ufw allow "Apache Full."

3.Install DokuWiki dependencies.

Some requirements, such as apache-mod-PHP, must be installed before DokuWiki can be installed. Run the following command to install those dependencies.

$ sudo apt install php libapache2-mod-php php-xml

The apache server must then be restarted for the changes to take effect.

$ sudo systemctl restart apache2

4.Download the latest release of DokuWiki.

Dokuwiki will be downloaded and extracted from the archive. Let’s start with the wget command.

# cd into www directory

$ cd /var/www

# download dokuwiki

$ sudo wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz

After the download is complete, extract it from the archives

$ sudo tar xvf DokuWiki-stable.tgz

The extracted archive must then be moved to the DokuWiki directory.

$ sudo mv dokuwiki-*/ dokuwiki

We’ll also need to update the read and write permissions to execute whenever we want.

$ sudo chown -R www-data:www-data /var/www/dokuwiki

The next thing is to change the document root in Apache to point to /var/www/dokuwiki

$ sudo vim /etc/apache2/sites-enabled/000*.conf

We need to replace DocumentRoot /var/www/html with DocumentRoot /var/www/dokuwiki.

NB: If you want to host a DokuWiki server on localhost for testing purposes, do NOT change the content of /etc/apache2/sites-enabled/000*.conf, create a new file in /etc/apache2/sites-available with the following code. Because mine is for testing purposes, I will go this route.

$ sudo touch apache2-DokuWiki.conf

Input the following content onto the file

<VirtualHost 127.0.0.1>

        DocumentRoot /var/www/dokuwiki

            ServerName localhost

</VirtualHost>

Then we need to enable the new project by placing it into  /etc/apache2/sites-enabled

$  sudo a2ensite apache2-DokuWiki

Reload apache2 again

$ sudo systemctl reload apache2

Lastly is to allow overrides settings on Apache 2 to use .htaccess files for security.

$ sudo vim /etc/apache2/apache2.conf

In the directory /var/www/, replace Allowoveride None with Allowoveride All and restart Apache2.

$ sudo systemctl restart apache2

When all those are over, visit HTTP://<your_IP_Address>/install.PHP to run your configurations.

Conclusion

Thank you for following along with me during this session; I hope you learned something new. If you run into any problems, please contact us or refer to the DokuWiki wiki for more information.

Tags: DokuWikihowtoUbuntu 20.04
Previous Post

How to upgrade php7.2 to php7.4 in VestaCP on Ubuntu ?

Next Post

How to install VestaCP on CentOS

Chris Thompson

Chris Thompson

Next Post
Custom installation VestaCP on Debian/Ubuntu (Nginx,Apache2)

How to install VestaCP on CentOS

What is the difference between OpenVZ and KVM server ?

What is the difference between OpenVZ and KVM server ?

How to Install LEMP Stack on Debian 10 Server

How to Install LEMP Stack on Debian 10 Server

Comments 1

  1. kumar says:
    1 year ago

    nice man thanks

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categorys

  • AI Server Technology
  • Apache
  • Backup
  • CentOS
    • Game Hosting
    • Hosting Control Panel
  • Crypto
  • Debian
    • Game Hosting
    • Hosting Control Panel
  • Email
  • FTP
  • Laravel
  • MySQL
  • Nginx
  • Others
    • Beginners
  • PHP
  • Security
    • Firewall
  • Tor Hosting
  • Ubuntu
    • Game Hosting
    • Hosting Control Panel
      • Plesk
      • VestaCP
    • Network Monitoring
  • VNC
  • VPN
  • Webhosting

Popular Posts

  • How to install WHM & CPanel on Ubuntu 20.04 LTS Linux

    How to install WHM & CPanel on Ubuntu 20.04 LTS Linux

    664 shares
    Share 266 Tweet 166
  • Ubuntu 20.04 LTS Nginx Performance Optimization

    606 shares
    Share 242 Tweet 152
  • How to host a Tor .onion site on a Debian Server (nginx + tor)

    602 shares
    Share 241 Tweet 151
  • How to upgrade php7.2 to php7.4 in VestaCP on Ubuntu ?

    601 shares
    Share 240 Tweet 150
  • How to use nginx as reverse proxy on ubuntu 20.04

    600 shares
    Share 240 Tweet 150

Recent Posts

How to Upgrade PHP from 7.2 to 7.4 and 8.0 on VestaCP Ubuntu 18.04

How to Upgrade PHP from 7.2 to 7.4 and 8.0 on VestaCP Ubuntu 18.04

September 26, 2023
How to Install Laravel on CentOS 8 Linux Server

How to Install Laravel on CentOS 8 Linux Server

September 26, 2023
Securing Nginx with Let’s Encrypt on Ubuntu 22.04: A Step-by-Step Guide

Securing Nginx with Let’s Encrypt on Ubuntu 22.04: A Step-by-Step Guide

September 14, 2023

About Us

Server-tutorials.net - Linux Debian, Ubuntu, CentOS Server Tutorials.

Popular Tag

7.2 7.4 18.04 22.04 Apache apache2 backup server centos CentOS 7 centos 8 cpanel debian debian 11 Dovecot Elasticsearch firewall centos 8 FTP Server how to howto How to Install ClickHouse on Ubuntu 22.04 install installation kvm lavarel lemp linux mariadb MySQL nginx node openvz php Postfix server setup tutorial ubuntu Ubuntu 20.04 Ubuntu 22.04 update vesta vestacp vnc vserver Wireguard

Recent News

How to Upgrade PHP from 7.2 to 7.4 and 8.0 on VestaCP Ubuntu 18.04

How to Upgrade PHP from 7.2 to 7.4 and 8.0 on VestaCP Ubuntu 18.04

September 26, 2023
How to Install Laravel on CentOS 8 Linux Server

How to Install Laravel on CentOS 8 Linux Server

September 26, 2023
  • Cookie Policy
  • Privacy & Policy
  • Change privacy settings
  • Privacy settings history
  • Revoke consents
  • Contact
  • Imprint

© 2022 Server-tutorials.net - Linux Server Tutorials

No Result
View All Result
  • Home
  • CentOS
    • Hosting Control Panel
  • Debian
    • Backup
    • FTP
    • Hosting Control Panel
    • Laravel
    • Laravel
    • Network Monitoring
    • Security
      • Firewall
    • Tor Hosting
    • VPN
    • Webhosting
  • Ubuntu
    • VestaCP
    • Nginx
  • Others
    • Beginners
  • Contact
  • Privacy Policy
  • Cookie Policy
  • Imprint

© 2022 Server-tutorials.net - Linux Server Tutorials