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.
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.
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
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/
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/
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:
Open the MySQL console by typing sudo mysql -u root -p
in your terminal.
Enter your MySQL root password when prompted and hit Enter.
Run the following command to create a new database named wackowiki
:
> CREATE DATABASE wackowiki;
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.
Grant all privileges on the wackowiki
database to the newly created user:
> GRANT ALL PRIVILEGES ON wackowiki.* TO 'wackouser'@'localhost';
Flush the privileges by running the following command:
> FLUSH PRIVILEGES;
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
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!