WackoWiki is a free and open-source Wiki software written in PHP. It allows you to create your own Wiki website with ease. In this tutorial, we will explain how to install WackoWiki on the latest version of OpenSUSE.
First, you need to download the latest version of WackoWiki from the official website using the following command:
$ wget https://wackowiki.org/download/wackowiki-6.0.24.zip
Once the download is complete, extract the archive using the following command:
$ unzip wackowiki-6.0.24.zip
WackoWiki requires a database to store its data. You can use either MySQL/MariaDB or PostgreSQL. We will use MySQL for this tutorial.
Log in to your MySQL server and create a new database and user for WackoWiki using the following commands:
$ mysql -u root -p
mysql> CREATE DATABASE wackodb;
mysql> CREATE USER 'wackouser'@'localhost' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON wackodb.* TO 'wackouser'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> EXIT;
Replace "password" with your own password.
WackoWiki requires some PHP extensions to be installed on your server. Install them using the following command:
$ sudo zypper install php7-gd php7-mysql php7-pdo php7-mbstring php7-ctype php7-dom
WackoWiki requires a web server to run. You can use either Apache or NGINX. We will use Apache for this tutorial.
Create a new virtual host for WackoWiki using the following commands:
$ sudo nano /etc/apache2/conf.d/wackowiki.conf
Add the following lines:
<VirtualHost *:80>
ServerAdmin admin@yourdomain.com
DocumentRoot /var/www/wackowiki
ServerName yourdomain.com
ErrorLog /var/log/apache2/wackowiki_error.log
CustomLog /var/log/apache2/wackowiki_access.log common
<Directory /var/www/wackowiki/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Save and close the file.
Copy the extracted files to the document root directory of Apache using the following command:
$ sudo cp -r wackowiki-6.0.24 /var/www/wackowiki
Change the ownership of the WackoWiki directory to the Apache user:
$ sudo chown -R wwwrun:www /var/www/wackowiki
Open your web browser and navigate to your domain name. You will see the WackoWiki setup page. Follow the on-screen instructions to set up WackoWiki.
On the "Database settings" page, enter the database details that you have created earlier.
On the "Administrator data" page, enter the administrator account details like a username, password, and email address.
Once you have completed the setup process, you will be redirected to the WackoWiki login page. Log in using the administrator account that you have created.
Congratulations! You have successfully installed WackoWiki on OpenSUSE latest. You can now start creating your own Wiki pages.
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!