Walkthrough Installation of WackoWiki

Installing WackoWiki on a new Ubuntu 18.04 LTS.


Evaggelos Balaskas
Walkthrough Installation of WackoWiki v5.5.12



1. Ansible Role

Example ansible role for the wackowiki for the Requirements section: WackoWiki Ansible Role

2. Requirements


Ubuntu 18.04.3 LTS

apt -y install
       php
       php-common
       php-bcmath
       php-ctype
       php-gd
       php-iconv
       php-json
       php-mbstring
       php-mysql
       apache2
       libapache2-mod-php
       mariadb-server
       unzip

3. Apache2

We need to enable mod_reqwrite in apache2 but also to add the appropiate configuration in the default conf in VirtualHost

# a2enmod rewrite

# vim /etc/apache2/sites-available/000-default.conf


<VirtualHost *:80>
...
    # enable.htaccess
    <Directory /var/www/html/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require all granted
    </Directory>
...
</VirtualHost>

4. MySQL

wacko.sql

CREATE DATABASE IF NOT EXISTS wacko;
CREATE USER 'wacko'@'localhost' IDENTIFIED BY 'YOURNEWPASSWORD';
GRANT  ALL PRIVILEGES ON wacko.* TO 'wacko'@'localhost';
FLUSH  PRIVILEGES;

# mysql < wacko.sql

5. WackoWiki


curl -sLO https://downloads.sourceforge.net/wackowiki/wacko.r6.0.4.zip
unzip wacko.r6.0.4.zip
mv wacko.r6.0.4/wacko /var/www/html/wacko/
chown -R www-data:www-data /var/www/html/wacko/

6. Web Installation

-> Installation screenshots

7. Post Install

Last, we need to remove write permission for the WackoWiki configuration file and remove setup folder

root@ubuntu:~# chmod -w /var/www/html/wacko/config/config.php
root@ubuntu:~# mv /var/www/html/wacko/setup/ /var/www/html/._setup