======Dokuwiki installation on CentOS 7====== =====Installation===== Installation will be done in the document-root of the webserver. This makes reverse-proxying easier. yum install httpd php php-gd Download latest stable release from [[http://download.dokuwiki.org/]] and put the .tgz in /var/tmp cd /var/tmp tar -xvzf /root/dokuwiki-stable.tgz mv /var/tmp/dokuwiki*/* /var/www/html mv /var/tmp/dokuwiki*/.* /var/www/html =====Configuration===== ====Permission and SElinux==== chown -R apache. /var/www/html/conf chown -R apache. /var/www/html/data chown -R apache. /var/www/html/lib/plugins chown -R apache. /var/www/html/lib/tpl semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/conf(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/data(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/lib/plugins(/.*)?" semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/lib/tpl(/.*)?" restorecon -Rv /var/www/html setsebool -P httpd_anon_write 1 setsebool -P httpd_can_connect_ldap 1 setsebool -P httpd_can_sendmail 1 ====When enabling upgrade plugin==== semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html(/.*)?" chown -R apache. /var/www/html restorecon -Rv /var/www/html ====Apache settings==== LocationMatch "/(data|conf|bin|inc)/"> order allow,deny deny from all satisfy all ====Enabled plugins==== * add new page * ldap auth * changes plugin (zoeken op changelog) * pagelist * toc * tag * dokuwiki upgrade * wrap {{tag>centos}}