How to install Wikkawiki in Ubuntu 15.04

To install Wikkawiki in Ubuntu 15.04

Wikkawiki is a free wiki software, which is programmed in PHP and uses MySQL database to store the data. WikkaWiki is the first wiki software that offers the possibility to integrate mind maps into wiki pages. It also integrates Flash, RSS and HTML. It is designed for speed, extensibility, and security. This tutorial explains the installation procedure of Wikkawiki in Ubuntu 15.04.

Installation procedure

Before proceeding with the installation procedure, you need to have LAMP stack installed in your system. Then download the installation package of Wikkawiki by running the wget command followed by the download link.

root@linuxhelp1:/home/user1/Desktop# wget http://wikkawiki.org/downloads/Wikka-1.3.7.zip
--2017-09-05 11:24:32--  http://wikkawiki.org/downloads/Wikka-1.3.7.zip
Resolving wikkawiki.org (wikkawiki.org)... 35.165.238.143
Connecting to wikkawiki.org (wikkawiki.org)|35.165.238.143|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1580146 (1.5M) [application/zip]
Saving to: ‘ Wikka-1.3.7.zip’ 

Wikka-1.3.7.zip                                     100%[==================================================================================================================> ]   1.51M  --.-KB/s   in 0.03s  

2017-09-05 11:24:37 (56.2 MB/s) - ‘ Wikka-1.3.7.zip’  saved [1580146/1580146]

Now extract the downloaded package by using the unzip command.

root@linuxhelp1:/home/user1/Desktop# unzip Wikka-1.3.7.zip
Archive:  Wikka-1.3.7.zip
fe8d127f8775c83a9c24781a416bcb1372c81c98
   creating: WikkaWiki-1.3.7/
  inflating: WikkaWiki-1.3.7/.htaccess  
   creating: WikkaWiki-1.3.7/3rdparty/
...
...
...
 creating: WikkaWiki-1.3.7/templates/light/js/
  inflating: WikkaWiki-1.3.7/templates/light/js/.htaccess  
  inflating: WikkaWiki-1.3.7/version.php  
  inflating: WikkaWiki-1.3.7/wikka.php  

Move the extracted files to /var/www/html/wikkawiki directory.

root@linuxhelp1:/home/user1/Desktop# mv WikkaWiki-1.3.7/ /var/www/html/wikkawiki

Now change the ownership for the wikkawiki directory by executing the following command.

root@linuxhelp1:/home/user1/Desktop# chown -R www-data:www-data /var/www/html/wikkawiki/

Login to the MySQL server to create database for wikkawiki and execute the set of commands to grant permissions for the created database and user.

root@linuxhelp1:/home/user1/Desktop# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with   or g.
Your MySQL connection id is 2
Server version: 5.6.28-0ubuntu0.15.04.1 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.

mysql>  CREATE DATABASE wikkawiki 
Query OK, 1 row affected (0.00 sec)

mysql>  GRANT ALL PRIVILEGES ON wikkawiki.* TO ' wikkauser' @' localhost'  IDENTIFIED BY ' password'  
Query OK, 0 rows affected (0.01 sec)

mysql>  FLUSH PRIVILEGES 
Query OK, 0 rows affected (0.01 sec)

mysql>  exit
Bye

Configure the Apache virtual host for wikkawiki

root@linuxhelp1:/home/user1/Desktop# a2enmod rewrite
Enabling module rewrite.

To activate the new configuration, you need to run the set of following commands.

root@linuxhelp1: service apache2 restart
root@linuxhelp1:/home/user1/Desktop# touch /etc/apache2/sites-available/wikkawiki.conf
root@linuxhelp1:/home/user1/Desktop# ln -s /etc/apache2/sites-available/wikkawiki.conf /etc/apache2/sites-enabled/wikkawiki.conf

Now add the configuration lines to the wikkawiki.conf configuration file. Save and exit the file.

root@linuxhelp1:/home/user1/Desktop# nano /etc/apache2/sites-available/wikkawiki.conf

Restart the apache web server by executing hte following command.

root@linuxhelp1:/home/user1/Desktop# systemctl restart apache2.service

Next open the web browser and navigate to http://192.168.7.201/wikkawiki. The installer page appears on the screen.

Enter the database information and administrative configuration details and click continue.

The list of Testing configuration details will appear on the screen.

The installation of WikkaWiki is completed and click return to your wikka site.

The Wikkawiki homepage is displayed as follows.

The User administration page is shown as follows.

The System information of the target system is shown as below.

The installation procedure of Wikkawiki on Ubuntu 15.04 is done successfully.

FAQ
Q
When I try to log out, I get the message "This page doesn't exist yet. Maybe you want to create it?"
A
Your base_url and rewrite_mode settings in the Wikka config file are probably incorrect.
Q
What is Wikkawiki?
A
Wikka wiki is a free wiki software, which is programmed in PHP and uses MySQL database to store the data. WikkaWiki is the first wiki software that offers the possibility to integrate mind maps into wiki pages. It also integrates Flash, RSS, and HTML. It is designed for speed, extensibility, and security.
Q
What is the official site for Wikkawikki?
A
Refer the following link http://wikkawiki.org/HomePage
Q
How to upgrade Wikkawiki?
A
To upgrade Wikkawiki please refer its official documentation http://docs.wikkawiki.org/UpgradeNotes
Q
what are the requirements need to satisfy before installing Wikkawiki?
A
Requirements for installing Wikkawiki are given in http://docs.wikkawiki.org/SystemRequirements