Follow the installation guide.
Assuming that LAMP and other dependencies have been installed. The following code might need to be executed as a superuser.
[code language="bash"] cd /var/www/html wget http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz tar xvf dokuwiki-stable.tgz mv dokuwiki-*/ dokuwiki chmod -R 707 /var/www/html/dokuwiki [/code]
And then access http://localhost/dokuwiki/install.php and specify the wiki settings. After the settings, the install.php must be removed.