Translations of this page?:

Fedora Package

These instructions are written for Fedora 16, there may be differences for other versions.

DokuWiki is available in the Fedora repositories. So

yum install dokuwiki dokuwiki-selinux

The package dokuwiki-selinux does configure SELinux to allow dokuwiki to write to its configuration. Its necessary for the Configuration Manager of DokuWiki to work.

Package details are available at https://admin.fedoraproject.org/pkgdb/acls/name/dokuwiki

httpd

Apache, named httpd in Fedora, is not enabled by default.

You may start it with

systemctl start httpd.service

And you may enable it for automatic startup at system boot with

systemctl enable httpd.service

To disable or to stop httpd, just use the commands “disable” and “stop”.

DokuWiki should be accessible at http://localhost/dokuwiki now.

Configuration

The basic configuration just lets you create and edit pages, but doesn't allow you to login and use the Configuration Manager.

The configuration resides in /etc/dokuwiki. local.php contains your local configuration, dokuwiki.php contains dokuwikis defaults and should be left alone. The Configuration Manager also writes to local.php.

To enable login, edit local.php an set

$conf['useacl'] = 1;
$conf['superuser'] = '@admin';

This enables ACL (Access Control) and gives all members of the group “admin” superuser rights.

Now add a new user to users.auth.php

admin:21232f297a57a5a743894a0e4a801fc3:Admin:example@example.com:admin

The user is named “admin” with password “admin” and is member of the group “admin”, which has superuser rights.

You can now login as user “admin” and use DokuWikis admin tools to configure it, to add new users and the like.

Paths

DokuWiki /usr/share/dokuwiki
Configuration /etc/dokuwiki
Data directory /var/lib/dokuwiki/data
install/fedora.txt · Last modified: 2011/11/12 11:52 by 78.43.162.114
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate