Install MindTouch on CentOS using pre-configured package
After completing this tutorial you will have MindTouch installed on CentOS
Mono is a dependency of MindTouch and needs to be installed first.
Type the following command to install packages that will allow full functionality in MindTouch:
yum install wv links pdftohtml tidy html2ps html2text mysql-server
Note Installation of some dependencies may require interaction. Answer "yes" to all authentication/verification and download questions. If you encounter issues installing any of the dependencies, try adding the RPMforge repo
To enable HTML-to-PDF printing, the static library version of PrinceXML must be installed by entering the following commands:
wget http://www.princexml.com/download/prince-8.0-linux-static.tar.gz tar -xzvf prince-8.0-linux-static.tar.gz cd prince-8.0-linux-static sudo ./install.sh
wget http://www.princexml.com/download/prince-8.0-linux-amd64-static.tar.gz tar -xzvf prince-8.0-linux-amd64-static.tar.gz cd prince-8.0-linux-amd64-static sudo ./install.sh
Hit Enter when asked for the install directory location
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
yum install mindtouch
Install the trusted roots certificates from the Mozilla LXR website into the Mono certificate store by entering the following:
su dekiwiki $ /opt/novell/mono/bin/mozroots --import --sync $ exit
After the install has finished, move /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:
mv deki-apache.conf.disabled deki-apache.conf
This will allow the Apache virtual host to direct traffic to MindTouch.
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
Go 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
When you load the IP address for the MindTouch install it will present you with the following web installer where you can click INSTALL next to the MindTouch product you want to install. In this documentation we will be selecting the MindTouch TCS (MindTouch 2010) installation.

Clicking INSTALL next to MindTouch TCS (MindTouch 2010) will then present you with the following screen where you need to fill out the highlighted fields. Once you have filled out the form then click NEXT at the bottom of the screen.

You will now see the configuration screen where you will need to specify the database settings along with the location of specific programs on the server. Once you have confirmed/changed then click NEXT

You will now see the following page where you can fill out details about your install as follows. Once you have made the appropriate selections please select NEXT to proceed.

This will then present you with an overview of your configuration. If anything needs to be changed you can click Edit next to the section. Otherwise continue by clicking INSTALL MINDTOUCH.

This will then take you to the following page which confirms that a license has been sent to you in an email. When you receive the email, save the .xml file that is attached to a location on your computer that you can easily access for the next step. Run the commands listed in the black box in the server console. Then click CONTINUE TO MINDTOUCH to then apply your license to your installation.

This will then bring you to your Product Activation page in the Control panel where you will select Choose File to upload the xml license file that was emailed you.

Then click Activate License which will then show you the following screen:

You have now successfully installed MindTouch. Continue with our Setup and Configuration guide to get your MindTouch install ready for production.
This is what was achieved and what was omitted in this tutorial.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by
You may want to update this page to point out that the RPMFORGE repository must be installed before you can install
"wv, html2text and html2ps" for the prince-7.1 package.
Here is the link to the instructions for installing the RPM forge repo's on CentOS 5x
"http://wiki.centos.org/AdditionalResources/Repositories/RPMForge"
yum install java
chcon -R -thttpd_sys_content_t /var/www/dekiwiki
And this to open the firewall:
sudo iptables -I INPUT -p tcp --dport 80 -j ACCEPT
sudo service iptables save edited 15:13, 7 May 2012