DokuWiki is a wiki application licensed under GPLv2 and written in the PHP programming language. It works on plain text files and thus does not need a database.

Step1. Install Apache

yum install httpd 

Step2. Start service

systemctl start httpd
systemctl enable httpd
systemctl status httpd

Step3. Enable HTTP port on the firewall

firewall-cmd --zone=public --permanent --add-service=httpĂ‚ 
firewall-cmd --reload

Step4. Install and configure PHP repository

yum install
yum install yum-utils
yum-config-manager --enable remi-php72

Step5. Install PHP packages

yum install php-mysql php-gd php-ldap php-xml php-xmlrpc php-mbstring php-mcrypt curl zlib libtool-ltdl php-pdo

Step6. Download Package and download.

Step7. Rename file

mv dokuwiki-8a269cc015a64b40e4c918699f1e1142

Step8. Unzip file


Step9. Move folder in HTML folder

mv /var/www/html/dokuwiki

Step10. Create a virtual host file

vi /etc/httpd/conf.d/dokuwiki.conf

<VirtualHost *:80>
     ServerAdmin localhost
     DocumentRoot "/var/www/html/dokuwiki/"
     ErrorLog "/var/log/httpd/dokuwiki-error_log"
     CustomLog "/var/log/httpd/dokuwiki-access_log" combined

     <Directory "/var/www/html/dokuwiki/">
         DirectoryIndex index.html index.php install.php
         Options FollowSymLinks
         AllowOverride All
         Require all granted

Step11. Set permission

chown apache: /var/www/html/dokuwiki -R

Step12. Start the service

systemctl start httpd 

Step13. Access via browser

http://<server ip>/install.php


Please enter your comment!
Please enter your name here