Redirected from Official Mindtouch Deki Community Edition Installation Guides/Ubuntu 8.04 MindTouch Deki Community Edition Package Installation
2 of 2 found this page helpful

Installing on Ubuntu

    Overview

    Install MindTouch on Ubuntu using the pre-configured package

    Goal

    After completing this tutorial you will have successfully installed MindTouch on Ubuntu

     

    System Requirements (Click to Expand)

     

     

    Add the MindTouch repository

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

    Edit the "/etc/apt/sources.list" file to add the following line (select the version of Ubuntu you are running): 

    Ubuntu 9.04

    deb http://repo.mindtouch.com xUbuntu_9.04/

    Ubuntu 9.10

    deb http://repo.mindtouch.com xUbuntu_9.10/

    Ubuntu 10.04

    deb http://repo.mindtouch.com xUbuntu_10.04/

     

    Update Repositories

     Type the following command to update your package indexes:

     apt-get update

     

    Install recommended packages

    Type the following command to install packages that will enable MindTouch's full functionality:

     apt-get install html2ps poppler-utils html2text wv gs tidy links msttcorefonts cabextract mysql-server
    

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

     

    Install/Upgrade Mono (Click to Expand)

     

    Install PrinceXML

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

    32 bit install

     wget http://www.princexml.com/download/prince_7.1-1_i386.deb
     dpkg -i prince_7.1-1_i386.deb
    

    64 bit install 

     wget http://www.princexml.com/download/prince-7.1-linux.tar.gz
     tar -xzvf prince-7.1-linux.tar.gz
     cd /prince-7.1-linux
     sudo ./install.sh
    

    Hit Enter when asked for the install directory location

    Install MindTouch

     

    Install MindTouch using the following command : 
     apt-get 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:

    apt-get install mono-devel

    Then run the following

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

    Configure the Apache Virtual Host

    After the install has finished, edit /etc/apache2/sites-available/dekiwiki and change the ServerName 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.

    Enter the following command to enable MindTouch in Apache and disable the initial default site:

     a2ensite dekiwiki
     a2dissite default
    

    Once that has been done, enter the following line to reload Apache:

     /etc/init.d/apache2 reload
    


    Go to "http://your_server/config/index.php" to complete the configuration.

     

    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 2010 installation.

    =media_1284492446307.png

    Clicking INSTALL next to 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

     

    If you encounter issues with MindTouch not starting confirm the version of Mono by running  mono --version    If it doesn't say 2.4.3, run the following:

    mv mono mono.old
    mv gmcs gmcs.old
    ln -s /opt/mono-2.4/bin/mono /usr/bin/mono
    ln -s /opt/mono-2.4/bin/gmcs  /usr/bin/gmcs
     
    Was this page helpful?
    Tag page
    Viewing 15 of 21 comments: view all
    Please add some info on how to fix when "mozroots" is not installed.
    Posted 15:33, 27 Aug 2010
    I was not able to connect to the config link, but by going to http://my.server/dekiwiki I got the configuration page. Something was definitely wrong with the page as what probably should have been pages where you click on next etc. was just a long page. I filled it in and clicked install at the bottom and got success.

    Then did all the commands listed - no errors so far.

    But when I tried to click on the button to continue to the wiki, I got a "page not found"

    And trying to access http://my.server/dekiwiki just throws me back to the root page of the webserver...

    I will add a post in the forum about this.

    Also - one thing to remember is to prefix all commands with sudo.
    Posted 17:26, 27 Aug 2010
    @lamcro if you run apt-get install mono-devel then that will install Mozroots. There was an error in the instructions where it said mono-1.0-devel. That has been corrected now. Sorry about the confusion.
    Posted 17:26, 29 Aug 2010
    I installed Ubuntu 10.04.1 LTS from scratch (with lamp and smb roles) and followed this tutorial. After the last step, when I go to http://mywiki/ I got each time the configuration dialog again (http://mywiki/config/index.php). What is wrong? Where I have done something wrong? Can someoune help me?
    Posted 11:17, 10 Sep 2010
    @WebDucer Make sure you follow the file moves at the end of the web install. Which includes moving LocalSettings.php to the main web directory which will then load the site instead of the config screen
    Posted 11:33, 10 Sep 2010
    for this sentence: "The following commands should be run as "root" (or as a user with root privileges)." please add something like the following:

    under Ubuntu the recommended way to start root is "sudo su", and use your own password when prompted.
    Posted 11:24, 12 Sep 2010
    There are two high priority issues installing on Ubuntu Server 10.04.1 LTS amd64 :

    1) Installing mono fails with mcs.exe not found.

    2) The mindtouch package in the mindtouch repository is not signed with repository key and fails to install. Overriding or ignoring this is wrong from numerous perspectives.

    Lower Priority:

    3) There appear to be dependency conflicts as the mindtouch repo pulls in all dependencies.

    Perhaps better packaging could boil this down to adding a repo and sudo apt-get install mindtouch?

    Since there edited 17:42, 22 Jan 2011
    Posted 17:38, 22 Jan 2011
    @ballard : I was able to install mono 2.6.7 from badgerports
    see http://forums.developer.mindtouch.com/showthread.php?t=7667 to import keys
    everything looks fine since then

    From http://developer.mindtouch.com/en/docs/mindtouch_setup/010Installation/Attachment_contents_aren't_being_searched 'ppthtml' package is missing in the current depency packing
    Posted 08:54, 3 Feb 2011
    This guide doesn't say what the password for the dekiwiki user is ... I thought it might be password but it isn't.
    So, how can one progress past the su dekiwiki
    Posted 16:44, 18 Feb 2011
    Please add some info on how to fix when "mozroots" is not installed.
    Nike air max pas cher air jordan retro
    Posted 00:32, 25 Feb 2011
    Hi,

    Was a bit of a chore but I had to create a symbolic link from the LocalSettings.php file in \etc\dekiwiki to \var\www\dekiwiki like this:

    sudo ln -s \etc\dekiwiki\LocalSettings.php \var\www\dekiwiki\LocalSettings.php

    To stop the install screen loop after way too many attempts. I thought it was a problem with me trying to use a remote mysql server from the install machine.

    There was another error when trying the install on a remote machine in that there was a problem selecting the database after the user and the database was created. Log entry in the dekiwiki log:


    2011-04-08 07:41:22,807 [DispatchThread #12] ERROR DekiWikiService_default - Error initializing instance
    MySql.Data.MySqlClient.MySqlException: Access denied for user 'wikiuser'@'hostmane.com' (using password: YES)

    I had to go into the remote mysql and change the host to the mysql.user table to the host of the connecting machine but then the installer had me start again. I also needed to drop the 'wikidb' database to get it to work as well as the process was going again but of course the database was there already.

    Has ended up being a bit hacky on 10.10 but got there with the setup we need in the end.

    Hope the feedback will help with future development...
    Posted 23:02, 7 Apr 2011
    @dougtargett the LocalSettings shouldn't have been in the /etc/dekiwiki directory, did you accidentally move it there in the last steps? Thanks for the heads up on the MySQL info
    Posted 08:09, 8 Apr 2011
    @coreyg my bad, putting them in the same location as the previous 2 files.

    Teach me to be so keen to get it going and not read it properly!

    Thanks
    Posted 08:25, 8 Apr 2011
    @dougtargett it's all good. I appreciate the feedback. Keep it coming.
    Posted 08:26, 8 Apr 2011
    We have just installed ubuntu 10.04 server and followed above (after installing SSH and Webmin).
    Very helpful instructions - thank you.
    Like some earlier postings, after finishing it took us back to config page, despite following the 'extra' instructions about localsettings etc after web config.

    Turned out dekiwiki was starting and then failing.

    Searching in forums showed the problem was likely in the Mono version - despite installing v2.10, running
    $mono --version
    showed 2.4. A puzzle as immediately after install it showed 2.10.

    Cannot completely rule out us not doing the shortcut linking wrongly but we think it was OK. However redoing that part seemed to solve the problem.
    i.e. redoing the following -
    cd /usr/bin
    mv mono mono.old
    mv gmcs gmcs.old
    ln -s /opt/mono-2.10/bin/mono /usr/bin/mono
    ln -s /opt/mono-2.10/bin/gmcs /usr/bin/gmcs

    (might it be possible the mono-devel install changed something back?)

    Hope this might help someone else.

    PS - Graham - realise it is a long time but if you are logged in as root (having used sudo -i first) then su dekiwiki should work without another password - or it did for us anyway. edited 05:00, 3 Nov 2011
    Posted 05:00, 3 Nov 2011
    Viewing 15 of 21 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by