Installing on Red Hat

    Table of contents
    You are currently comparing two old versions - only when you are comparing against the latest version can you revert. Return to version archive.

    Combined revision comparison

    Comparing version 15:57, 21 Jun 2012 by jamesv with version 15:57, 21 Jun 2012 by jamesv.

    ...

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

    {{ web.toggle(wiki.page("/en/docs/mindtouch_setup/010Installation/060Installing_on_CentOS/Installing%2F%2FUpgrade_Mono_on_CentOS","Install/Upgrade Mono on CentOS"), "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 links pdftohtml wv tidy html2ps html2text mysql-server
    

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

    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 (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

     

    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/mono-2.10.2/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 either "permissive" or "disabled"; if SELinux is set to "enforcing" the API will be unreachable.

    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
     

    ...

    Version from 15:57, 21 Jun 2012

    This revision modified by jamesv (Ban)

    ...

    Install Mono

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

    {{ web.toggle(wiki.page("/en/docs/mindtouch_setup/010Installation/060Installing_on_CentOS/Installing%2F%2FUpgrade_Mono_on_CentOS","Install/Upgrade Mono on CentOS"), "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 links pdftohtml wv tidy html2ps html2text mysql-server
    

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

    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 (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

     

    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/mono-2.10.2/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 either "permissive" or "disabled"; if SELinux is set to "enforcing" the API will be unreachable.

    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
     

    ...

    Version as of 15:57, 21 Jun 2012

    This revision modified by jamesv (Ban)

    ...

    Copyright © 2011 MindTouch, Inc. Powered by