CentOS 5 MindTouch Deki Enterprise Package Installation

CentOS 5 MindTouch Deki Package Enterprise 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 to allow it to be scanned during the web-based Deki setup :

# yum install wv links pdftohtml tidy html2ps
# 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 (CentOS_5)
type=rpm-md
baseurl=http://repo.mindtouch.com/CentOS_5/
gpgcheck=1
gpgkey=http://repo.mindtouch.com/CentOS_5/repodata/repomd.xml.key
enabled=1

Install MindTouch Deki

Install MindTouch Deki using the command :

# yum install deki-enterprise

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

Install Trusted Roots Certificates
Edit section

Install the trusted roots certificates from the Mozilla LXR website into the Mono certificate store by entering the following:

# su dekiwiki
$ mozroots --import --sync
$ exit

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 hostname 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 "permissive" or "disabled"; if it is set to "enforcing" the API will not be reachable.

Start MySQL by entering the following:

# service mysqld start

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

 

Note that mysqld and httpd are not configured automatically to start; this can be changed by entering:

# chkconfig mysqld on

# chkconfig httpd on

Powered by MindTouch Deki v.8.08.1a