DokuWiki is a simple to use and highly versatile open-source wiki software that allows you to create and maintain your own wiki. This tutorial will guide you through the installation process on Fedora Server Latest.
Before installing DokuWiki, you need to make sure that you have the following:
Before installing any software, it is important to update the system. Update your Fedora Server by running the following command:
sudo dnf update
DokuWiki requires a web server to run. The Apache web server is the most commonly used server for this purpose. Install the Apache server on your machine by running the following command:
sudo dnf install httpd
After installation, start and enable the httpd.service by running the following commands:
sudo systemctl start httpd.service
sudo systemctl enable httpd.service
DokuWiki requires a PHP environment to run. Install PHP on your machine by running the following command:
sudo dnf install php php-mbstring php-xml
Download the latest version of DokuWiki from the official website using wget command.
wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
Extract the downloaded DokuWiki file to the web server's root directory using the tar command.
sudo tar -zxvf dokuwiki-stable.tgz -C /var/www/html/
You can also rename the dokuwiki directory to any other name of your choice.
sudo mv /var/www/html/dokuwiki-xxx /var/www/html/your_wiki_folder
Set the permissions of the DokuWiki directory and its files with the following commands to allow Apache to write files to the directory.
sudo chown -R apache:apache /var/www/html/your_wiki_folder/
sudo chmod -R 755 /var/www/html/your_wiki_folder/
If you're using a firewall or SELinux, allow HTTP and HTTPS traffic by running the following commands:
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --reload
sudo setsebool -P httpd_can_network_connect 1
Open a web browser and browse to the following URL:
http://your_server_IP/your_wiki_folder/install.php
Follow the on-screen instructions to complete the DokuWiki installation process.
That's it! You have successfully installed DokuWiki on your Fedora Server Latest. You can now start creating and managing your own Wiki using DokuWiki.
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!