WackoWiki is a popular wiki engine developed in PHP that allows users to create and edit pages with ease. Installing WackoWiki on Debian is quite simple, and in this tutorial, we will go through the steps of installing WackoWiki on Debian latest.
Before installing WackoWiki, make sure your Debian system is updated:
sudo apt update
sudo apt upgrade
WackoWiki requires an HTTP server to work, and for this tutorial, we will be using Apache.
To install Apache webserver, run the following command:
sudo apt install apache2
Once Apache is installed, it will start automatically. You can check the status of Apache by running:
sudo systemctl status apache2
WackoWiki is written in PHP; hence, we need to install PHP to be able to run it.
To install PHP on Debian, run the following command:
sudo apt install php libapache2-mod-php php-mysql php-curl php-xml php-mbstring php-gd php-zip
Once PHP is installed, run the following command to restart Apache server:
sudo systemctl restart apache2
The next step is to download WackoWiki from the official website using the wget command:
wget https://wackowiki.org/download/wackowiki-6.0.15.tar.gz
Once the download is complete, extract the tar archive by running:
tar -xzvf wackowiki-6.0.15.tar.gz
We need to configure Apache to serve WackoWiki. Create a new Apache configuration file using the following command:
sudo nano /etc/apache2/sites-available/wackowiki.conf
Add the following content inside the configuration file:
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/wackowiki
ServerName example.com
<Directory /var/www/html/wackowiki>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Replace example.com
with your domain name or IP address. Save the configuration file and exit.
Enable the Virtual Host by running the command:
sudo a2ensite wackowiki.conf
Disable the default Virtual Host by running the command:
sudo a2dissite 000-default.conf
Restart Apache by running the following command:
sudo systemctl restart apache2
Copy the WackoWiki files to the document root by running the following command:
sudo cp -R wackowiki-6.0.15/* /var/www/html/wackowiki/
Change the ownership of the WackoWiki files to the Apache user by running the following command:
sudo chown -R www-data.www-data /var/www/html/wackowiki/
Open your web browser and visit the server's domain name or IP address with /install.php to complete the installation:
http://example.com/install.php
Follow the installation wizard, and you're all set.
In this tutorial, we have shown you how to install WackoWiki on Debian latest. You can customize WackoWiki based on your needs, so feel free to explore its capabilities.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!