How to Install WackoWiki on EndeavourOS Latest?

WackoWiki is a free, lightweight, and compact wiki engine that supports PHP and MySQL. This tutorial will guide you step-by-step to successfully install WackoWiki on your EndeavourOS Latest system.

Prerequisites

Make sure you have a LAMP stack installed on your EndeavourOS system before you start installing WackoWiki. If you don't have a LAMP stack yet, check out our tutorial to install LAMP on EndeavourOS before proceeding.

Step 1: Download WackoWiki

First, download the latest stable release of WackoWiki from its official site.

wget https://wackowiki.org/download/wackowiki-5.5.16.zip

Alternatively, you can download the source code of the latest WackoWiki release using the following command:

wget https://wackowiki.org/git/wackowiki.git/snapshot/5.5.16.tar.gz

Step 2: Extract the WackoWiki Package

After downloading WackoWiki, extract the package to your system's web directory. If you followed our tutorial to install LAMP on EndeavourOS, then the web directory should be /var/www/html/.

Extract the WackoWiki package using either of the following commands:

unzip wackowiki-5.5.16.zip -d /var/www/html/
tar -xvf 5.5.16.tar.gz -C /var/www/html/

Step 3: Set Permissions

After extracting the package to the web directory, you need to set the correct permissions for your WackoWiki files.

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

Step 4: Create a WackoWiki Database

Before you can install WackoWiki, you need to create a new database in MySQL for it. You can use the following steps to create a new database:

  1. Open the MySQL console by typing sudo mysql -u root -p in your terminal.

  2. Enter your MySQL root password when prompted and hit Enter.

  3. Run the following command to create a new database named wackowiki:

    > CREATE DATABASE wackowiki;
    
  4. Create a new MySQL user by using the following command:

    > CREATE USER 'wackouser'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
    

    Change password to a strong password of your choice.

  5. Grant all privileges on the wackowiki database to the newly created user:

    > GRANT ALL PRIVILEGES ON wackowiki.* TO 'wackouser'@'localhost';
    
  6. Flush the privileges by running the following command:

    > FLUSH PRIVILEGES;
    

Step 5: Setup WackoWiki

Now that you've created a MySQL database for WackoWiki, you need to configure it by visiting the following URL in your web browser:

http://your-ip-address/wackowiki/

Follow the installation steps and enter the database credentials you created in the previous step.

After the installation is complete, delete the config/config.sample.php file to avoid any security risks.

sudo rm /var/www/html/wackowiki/config/config.sample.php

Conclusion

Congratulations, you've successfully installed WackoWiki on your EndeavourOS system. You can now access your Wiki by visiting http://your-ip-address/wackowiki/ in your web browser.

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!