Wiki2
JacquesDistlerInstiki

Installation of Jacques Distler’s Instiki

Jacques Distler’s version of Instiki adds MathML, SVG and S5 support to Instiki XHTML complience is also improved in this version.

Install Jacques Distler’s itex2MML with Ruby bindings. It is dependent on SWIG gmake and bison.

Install prerequisities. Version numbers are only valid for OpenBSD 4.1.

pkg_add swig-1.3.24p4
pkg_add bison-2.1p0
pkg_add gmake-3.80p1.tgz

Download and untar source code.

wget http://golem.ph.utexas.edu/~distler/blog/files/itexToMML.tar.gz
tar -xzf itexToMML.tar.gz

Compile and link binary and ruby binding.

cd itexToMML/itex-src
gmake install
itex2MML --help
gmake ruby
gmake test_ruby
gmake install_ruby

Install “Jacques Distler’s SVG Enabled Instiki”:http://golem.ph.utexas.edu/instiki/show/HomePage.

wget http://golem.ph.utexas.edu/~distler/code/instiki-svn.tar.gz
tar -xzf instiki-svn.tar.gz

Create and migrate MySQL database. An working installation of MySQL is assumed.

mysql> create table wiki2_production
mysql> grant all privileges on wiki2_production.* to peter;
rake db:migrate

Install iconv.

pkg_add libiconv-1.9.2p3
pkg_add ruby-iconv-1.8.5p3

After an upgrade of OpenBSD i needed to reinstall ruby-iconv. Make sure it is found in the correct folder /usr/local/lib/ruby/1.8/x86_64-openbsd4.X/.

Test installation

script/server development -e development

Deploy using NGINX

How to secure instiki using NGINX

Equation test

(1) e ax 2dx=πa {\int_{-\infty}^\infty e^{-a x^2} d x} = \sqrt{\frac{\pi}{a}}