How to Create Your Own WikiPedia Website?

Create Your Own WikiPedia

Have you ever wanted to launch a cool wiki website like WikiPedia? Well, in this tech era you can do it pretty easily. In this tutorial, I will show you how to create wiki website using DokuWiki.

What is DocuWiki?

When we create a blog we use WordPress CMS. Similarly, When we want to create wiki we can use DocuWiki. DocuWiki is a simple to use, open source wiki software. Unlike WordPress, DocuWiki does not require any database. Because of its simplicity and Wikipedia-like feel, DokuWiki is a popular choice and has many advantages over similar software.

How to Install DocuWiki?

DokuWiki doesn’t require a database so you can run it even on the small server. We recommend DigitalOcean VPS for small to medium DocuWiki website.

Let’s get started to install DokuWiki on your VPS. For this tutorial, we’ll use an Ubuntu 16.04 VPS on DigitalOcean.

Connect to Server

If you are on Linux or Mac open terminal and run following command to connect your vps server. Use your username and server ip address.

ssh username@111.222.111.222

If you are on windows use PuTTY SSH Client to connect to your server.

Update everything

Once you’ve logged in, we’ll need to make sure everything is updated to latest version. Run following commands in ssh.

sudo apt-get update
sudo apt-get upgrade

You’ll need to hit Y to proceed each time it asks.

Install Apache and PHP

Run the following command to install apache webserver and PHP5

sudo apt-get install apache2 libapache2-mod-php5

The following command will enable the Apache Rewrite Module

sudo a2enmod rewrite

Now restart apache server

sudo service apache2 restart

Download DokuWiki

Now go to /var/www by typing

cd /var/www

Download DokuWiki uging following command

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

Extract the Files

 sudo tar xvf dokuwiki-stable.tgz

Now move files to /var/www

sudo mv dokuwiki-*/* /var/www

Fix File Ownership Privileges

Change File Ownership Privileges

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

Setup Email Server

To send email from the DokuWiki you must have email server software is installed on your server. PostFix is the best way to do this.

Complete the Installation

Now visit your website url to complete the installation

http://yourdomain.com/install.php

Follow the on-screen instructions to complete the installation.

Remove install.php

Remove install.php file by executing the following command into SSH

sudo rm /var/www/install.php

You’re all set! Open up your web browser again and enjoy your new Wiki app by DokuWiki.

What do you think?

93 points
Upvote Downvote

Total votes: 0

Upvotes: 0

Upvotes percentage: 0.000000%

Downvotes: 0

Downvotes percentage: 0.000000%

Leave a Reply

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

Best Password Manager

5 Best Password Manager For Android, Windows And Mac

AWS Free Tier

Amazon AWS Free Tier To Go With Cloud Computing