Skip to content

Instantly share code, notes, and snippets.

@h4ck3rm1k3
Created January 2, 2018 00:59
Show Gist options
  • Save h4ck3rm1k3/5804bd79d091f5389cdfa6e812423778 to your computer and use it in GitHub Desktop.
Save h4ck3rm1k3/5804bd79d091f5389cdfa6e812423778 to your computer and use it in GitHub Desktop.

What is ikiwiki

ikiwiki http://ikiwiki.info/ is a wiki compiler written in perl and based on a used selected version control system like git.

Steps

First let's do a standard install of ikiwiki

sudo apt-get install ikiwiki
sudo apt-get install librpc-xml-perl  python-docutils

now lets go into a directory ikiwiki --setup /etc/ikiwiki/auto.setup

start add the user dir

sudo a2enmod userdir
sudo a2enmod cgi
sudo systemctl restart apache2

Now we setup the plugin

git clone https://github.com/sciunto-org/ikiwiki-pandoc.git
cd ikiwiki-pandoc

Create a new wiki ikiwiki --setup /etc/ikiwiki/auto.setup

Edit emacs /etc/apache2/mods-available/userdir.conf

and add ExecCGI to the Options

<IfModule mod_userdir.c>
        UserDir public_html
        UserDir disabled root

        <Directory /home/*/public_html>
                AllowOverride FileInfo AuthConfig Limit Indexes
        	Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
                Require method GET POST OPTIONS
        </Directory>
</IfModule>

Update wiki ikiwiki --setup ~/nt41.setup

See also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment