3 of 3 found this page helpful

Installing on CentOS

    Overview

    Install MindTouch on CentOS using pre-configured package

    Goal

    After completing this tutorial you will have MindTouch installed on CentOS

    System Requirements (Click to Expand)

     

    Install Mono

    Mono is a dependency of MindTouch and needs to be installed first. 

    Install/Upgrade Mono (Click to Expand)

     

    Install dependencies packages

    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

    Install PrinceXML

    To enable HTML-to-PDF printing, the static library version of PrinceXML must be installed by entering the following commands:

    32 bit install

      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
    

    64 bit install 

     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

    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

     

    Install MindTouch using the following command : 
     yum install mindtouch
    Note: Installation of some dependencies may require interaction. Answer "yes" to all authentication/verification questions.

    Install Trusted Roots Certificates

    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
    

    Configure Apache

     

    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
     

    Web Installer

    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.

    =media_1284492446307.png

    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.

    =media_1284492518459.png

    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

    =media_1284496027969.png

    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.

    =media_1284493151546.png

    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.

    =media_1284496113475.png

    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.

    =media_1284496325877.png

    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.

    =media_1284491455897.png

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

    =media_1284491533790.png

    You have now successfully installed MindTouch. Continue with our Setup and Configuration guide to get your MindTouch install ready for production.

    What's Next

    This is what was achieved and what was omitted in this tutorial.

    Was this page helpful?
    Tag page
    Viewing 4 of 4 comments: view all
    Just wanted to send you an FYI. The instructions for installing DekiWiki on this page are incorrect.
    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"
    Posted 12:17, 16 Mar 2011
    @rewt Thanks for the links. Note that those packages are actually for the indexer as opposed to prince.
    Posted 12:20, 16 Mar 2011
    you need to install JAVA if you wont XLS files to be indexed by lucene
    yum install java
    Posted 02:24, 1 Aug 2011
    I had to do this before I could complete the browser portion of the installation:

    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
    Posted 13:21, 7 May 2012
    Viewing 4 of 4 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by