View source for Walkthrough Installation of WackoWiki v6.0

Installing WackoWiki on a new Ubuntu 20.04 LTS.

((user:EvaggelosBalaskas Evaggelos Balaskas))

{{toc numerate=1}}

===Ansible Role===
Example ansible role for the wackowiki for the Requirements section: ((https://github.com/ebal/ansible/tree/master/WackoWiki WackoWiki Ansible Role))


===Requirements===

**Ubuntu 20.04 LTS**
%%
apt -y install
      apache2
      libapache2-mod-php
      mariadb-server
      php
      php-bcmath
      php-common
      php-ctype
      php-gd
      php-iconv
      php-intl
      php-json
      php-mbstring
      php-mysql
      unzip
%%

===Apache2===
We need to enable **mod_reqwrite** in apache2 but also to add the appropriate 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>
%%

===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##

===WackoWiki===

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

===Web Installation===

https://balaskas.gr/blog//fp-content/images/01_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/02_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/03_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/04_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/05_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/06_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/07_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/08_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/09_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/10_wackowiki_6017.png

https://balaskas.gr/blog//fp-content/images/11_wackowiki_6017.png

===Post Install===
Last, we need to remove write permission for the WackoWiki configuration file and remove setup folder
%%
# chmod -w /var/www/html/wacko/config/config.php
# mv /var/www/html/wacko/setup/ /var/www/html/._setup
%%