Red Hat Enterprise Linux 5 MindTouch Deki Package Installation

Red Hat Enterprise Linux 5 MindTouch Deki Package Installation

Please note:

This installation guide is for package-based 32-bit 8.08.1 new installations ONLY. If you are looking for upgrade guides, please click here: VM / Non-VM 

If you are looking for instructions on how to upgrade from pre-Itasca versions, please click here: Upgrade Guide

Source code installation instructions (which can support 64-bit architecture) can be found here: Source Code Installation Guide

The following commands should be run as "root" (or as a user with root privileges).

Install Mono

Mono (v1.2 or greater) is required to run MindTouch Deki and must be installed first.

Create the file "/etc/yum.repos.d/mono.repo" and add the following lines:

[Mono]
name=Mono Stack (RHEL_5)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/Mono/RHEL_5/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/Mono/RHEL_5/repodata/repomd.xml.key
enabled=1

Enter the following command to install Mono:

# yum install mono-complete 

Install dependencies packages

Type the following command to install packages that will allow full functionality in MindTouch Deki. During the Prince XML installation, change the default file location to /usr/bin/prince to allow it to be scanned during the web-based Deki setup:

# yum install links pdftohtml
# wget http://www.princexml.com/download/prince-6.0r6-linux.tar.gz
# tar xfzv prince-6.0r6-linux.tar.gz 
# cd prince-6.0r6-linux
# ./install.sh

Note: Installation of some dependencies may require interaction. Answer "yes" to all authentication/verification and download questions.

Set up MindTouch's YUM repository

Create the file "/etc/yum.repos.d/mindtouch.repo", and add the following content :

[home_mindtouch]
name=mindtouch's Home Project (RHEL_5)
type=rpm-md
baseurl=http://repo.mindtouch.com/RHEL_5/
gpgcheck=1
gpgkey=http://repo.mindtouch.com/RHEL_5/repodata/repomd.xml.key
enabled=1

Install MindTouch Deki

Install MindTouch Deki using the command :

# yum install dekiwiki

Note: Installation of some dependencies may require interaction. Answer "yes" to all authentication/verification and download questions.

 

To enable PrinceXML to utilize the fonts that Deki ships with, edit /var/www/dekiwiki/skins/prince.content.css and add the following lines:

@font-face {
        font-family: sans-serif;
        src: url("/skins/fonts/gentium-basic/GenBkBasR.ttf");
}
@font-face {
        font-family: serif;
        src: url("/skins/fonts/gentium-basic/GenBkBasR.ttf");
}
@font-face {
        font-family: monospace;
        src: url("/skins/fonts/gentium-basic/GenBkBasR.ttf");
}

Configure Apache

After the install has finished, rename /etc/httpd/conf.d/deki-apache.conf.disabled to deki-apache.conf and change the ServerName in that file to match the URL that you will be entering into the web browser to arrive at your wiki. This will allow the Apache virtual host to direct traffic to MindTouch Deki.

Then, restart Apache by entering the following command:

service httpd restart 

Note: SELinux, if installed, must be set to either "permissive" or "disabled"; if SELinux is set to "enforcing" the API will be unreachable.

 

Congratulations! MindTouch Deki is now installed and you should be able to connect to "http://your_server/config/index.php" to complete the configuration.

Powered by MindTouch Deki v.8.08.1a